2 * FILE : src/gtk/gdi.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
26 /* Definitions for Windows/Unix exporting */
27 #if defined(__WIN32__)
28 # if defined(_MSC_VER)
29 # define SWIGEXPORT(a) __declspec(dllexport) a
31 # if defined(__BORLANDC__)
32 # define SWIGEXPORT(a) a _export
34 # define SWIGEXPORT(a) a
38 # define SWIGEXPORT(a) a
44 extern void SWIG_MakePtr(char *, void *, char *);
45 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46 extern char *SWIG_GetPtr(char *, void **, char *);
47 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
48 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
49 extern PyObject
*SWIG_newvarlink(void);
53 #define SWIG_init initgdic
55 #define SWIG_name "gdic"
58 #include <wx/imaglist.h>
59 #include <wx/fontmap.h>
60 #include <wx/fontenc.h>
61 #include <wx/fontmap.h>
62 #include <wx/fontutil.h>
63 #include <wx/dcbuffer.h>
64 #include <wx/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_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
2300 static PyObject
*_wrap_wxIcon_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2301 PyObject
* _resultobj
;
2306 PyObject
* _argo0
= 0;
2307 PyObject
* _obj1
= 0;
2308 char *_kwnames
[] = { "self","name","flags", NULL
};
2311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOl:wxIcon_LoadFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
2314 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2315 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_LoadFile. Expected _wxIcon_p.");
2321 _arg1
= wxString_in_helper(_obj1
);
2326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2327 _result
= (bool )wxIcon_LoadFile(_arg0
,*_arg1
,_arg2
);
2329 wxPyEndAllowThreads(__tstate
);
2330 if (PyErr_Occurred()) return NULL
;
2331 } _resultobj
= Py_BuildValue("i",_result
);
2339 #define wxIcon_Ok(_swigobj) (_swigobj->Ok())
2340 static PyObject
*_wrap_wxIcon_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2341 PyObject
* _resultobj
;
2344 PyObject
* _argo0
= 0;
2345 char *_kwnames
[] = { "self", NULL
};
2348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_Ok",_kwnames
,&_argo0
))
2351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_Ok. Expected _wxIcon_p.");
2358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2359 _result
= (bool )wxIcon_Ok(_arg0
);
2361 wxPyEndAllowThreads(__tstate
);
2362 if (PyErr_Occurred()) return NULL
;
2363 } _resultobj
= Py_BuildValue("i",_result
);
2367 #define wxIcon_GetWidth(_swigobj) (_swigobj->GetWidth())
2368 static PyObject
*_wrap_wxIcon_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2369 PyObject
* _resultobj
;
2372 PyObject
* _argo0
= 0;
2373 char *_kwnames
[] = { "self", NULL
};
2376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetWidth",_kwnames
,&_argo0
))
2379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetWidth. Expected _wxIcon_p.");
2386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2387 _result
= (int )wxIcon_GetWidth(_arg0
);
2389 wxPyEndAllowThreads(__tstate
);
2390 if (PyErr_Occurred()) return NULL
;
2391 } _resultobj
= Py_BuildValue("i",_result
);
2395 #define wxIcon_GetHeight(_swigobj) (_swigobj->GetHeight())
2396 static PyObject
*_wrap_wxIcon_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2397 PyObject
* _resultobj
;
2400 PyObject
* _argo0
= 0;
2401 char *_kwnames
[] = { "self", NULL
};
2404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetHeight",_kwnames
,&_argo0
))
2407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetHeight. Expected _wxIcon_p.");
2414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2415 _result
= (int )wxIcon_GetHeight(_arg0
);
2417 wxPyEndAllowThreads(__tstate
);
2418 if (PyErr_Occurred()) return NULL
;
2419 } _resultobj
= Py_BuildValue("i",_result
);
2423 #define wxIcon_GetDepth(_swigobj) (_swigobj->GetDepth())
2424 static PyObject
*_wrap_wxIcon_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2425 PyObject
* _resultobj
;
2428 PyObject
* _argo0
= 0;
2429 char *_kwnames
[] = { "self", NULL
};
2432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetDepth",_kwnames
,&_argo0
))
2435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetDepth. Expected _wxIcon_p.");
2442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2443 _result
= (int )wxIcon_GetDepth(_arg0
);
2445 wxPyEndAllowThreads(__tstate
);
2446 if (PyErr_Occurred()) return NULL
;
2447 } _resultobj
= Py_BuildValue("i",_result
);
2451 #define wxIcon_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2452 static PyObject
*_wrap_wxIcon_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2453 PyObject
* _resultobj
;
2456 PyObject
* _argo0
= 0;
2457 char *_kwnames
[] = { "self","w", NULL
};
2460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetWidth",_kwnames
,&_argo0
,&_arg1
))
2463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetWidth. Expected _wxIcon_p.");
2470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2471 wxIcon_SetWidth(_arg0
,_arg1
);
2473 wxPyEndAllowThreads(__tstate
);
2474 if (PyErr_Occurred()) return NULL
;
2475 } Py_INCREF(Py_None
);
2476 _resultobj
= Py_None
;
2480 #define wxIcon_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
2481 static PyObject
*_wrap_wxIcon_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2482 PyObject
* _resultobj
;
2485 PyObject
* _argo0
= 0;
2486 char *_kwnames
[] = { "self","h", NULL
};
2489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetHeight",_kwnames
,&_argo0
,&_arg1
))
2492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetHeight. Expected _wxIcon_p.");
2499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2500 wxIcon_SetHeight(_arg0
,_arg1
);
2502 wxPyEndAllowThreads(__tstate
);
2503 if (PyErr_Occurred()) return NULL
;
2504 } Py_INCREF(Py_None
);
2505 _resultobj
= Py_None
;
2509 #define wxIcon_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
2510 static PyObject
*_wrap_wxIcon_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2511 PyObject
* _resultobj
;
2514 PyObject
* _argo0
= 0;
2515 char *_kwnames
[] = { "self","d", NULL
};
2518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetDepth",_kwnames
,&_argo0
,&_arg1
))
2521 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2522 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetDepth. Expected _wxIcon_p.");
2528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2529 wxIcon_SetDepth(_arg0
,_arg1
);
2531 wxPyEndAllowThreads(__tstate
);
2532 if (PyErr_Occurred()) return NULL
;
2533 } Py_INCREF(Py_None
);
2534 _resultobj
= Py_None
;
2538 #define wxIcon_CopyFromBitmap(_swigobj,_swigarg0) (_swigobj->CopyFromBitmap(_swigarg0))
2539 static PyObject
*_wrap_wxIcon_CopyFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2540 PyObject
* _resultobj
;
2543 PyObject
* _argo0
= 0;
2544 PyObject
* _argo1
= 0;
2545 char *_kwnames
[] = { "self","bmp", NULL
};
2548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIcon_CopyFromBitmap",_kwnames
,&_argo0
,&_argo1
))
2551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_CopyFromBitmap. Expected _wxIcon_p.");
2558 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
2559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIcon_CopyFromBitmap. Expected _wxBitmap_p.");
2564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2565 wxIcon_CopyFromBitmap(_arg0
,*_arg1
);
2567 wxPyEndAllowThreads(__tstate
);
2568 if (PyErr_Occurred()) return NULL
;
2569 } Py_INCREF(Py_None
);
2570 _resultobj
= Py_None
;
2574 static wxIconLocation
*new_wxIconLocation(const wxString
*filename
,int num
) {
2576 return new wxIconLocation(*filename
, num
);
2578 return new wxIconLocation(*filename
);
2582 static PyObject
*_wrap_new_wxIconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2583 PyObject
* _resultobj
;
2584 wxIconLocation
* _result
;
2585 wxString
* _arg0
= (wxString
*) &wxPyEmptyString
;
2586 int _arg1
= (int ) 0;
2587 PyObject
* _obj0
= 0;
2588 char *_kwnames
[] = { "filename","num", NULL
};
2592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxIconLocation",_kwnames
,&_obj0
,&_arg1
))
2596 _arg0
= wxString_in_helper(_obj0
);
2601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2602 _result
= (wxIconLocation
*)new_wxIconLocation(_arg0
,_arg1
);
2604 wxPyEndAllowThreads(__tstate
);
2605 if (PyErr_Occurred()) return NULL
;
2607 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIconLocation_p");
2608 _resultobj
= Py_BuildValue("s",_ptemp
);
2611 _resultobj
= Py_None
;
2620 #define delete_wxIconLocation(_swigobj) (delete _swigobj)
2621 static PyObject
*_wrap_delete_wxIconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2622 PyObject
* _resultobj
;
2623 wxIconLocation
* _arg0
;
2624 PyObject
* _argo0
= 0;
2625 char *_kwnames
[] = { "self", NULL
};
2628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxIconLocation",_kwnames
,&_argo0
))
2631 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2632 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIconLocation_p")) {
2633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxIconLocation. Expected _wxIconLocation_p.");
2638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2639 delete_wxIconLocation(_arg0
);
2641 wxPyEndAllowThreads(__tstate
);
2642 if (PyErr_Occurred()) return NULL
;
2643 } Py_INCREF(Py_None
);
2644 _resultobj
= Py_None
;
2648 #define wxIconLocation_IsOk(_swigobj) (_swigobj->IsOk())
2649 static PyObject
*_wrap_wxIconLocation_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2650 PyObject
* _resultobj
;
2652 wxIconLocation
* _arg0
;
2653 PyObject
* _argo0
= 0;
2654 char *_kwnames
[] = { "self", NULL
};
2657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIconLocation_IsOk",_kwnames
,&_argo0
))
2660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIconLocation_p")) {
2662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIconLocation_IsOk. Expected _wxIconLocation_p.");
2667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2668 _result
= (bool )wxIconLocation_IsOk(_arg0
);
2670 wxPyEndAllowThreads(__tstate
);
2671 if (PyErr_Occurred()) return NULL
;
2672 } _resultobj
= Py_BuildValue("i",_result
);
2676 #define wxIconLocation_SetFileName(_swigobj,_swigarg0) (_swigobj->SetFileName(_swigarg0))
2677 static PyObject
*_wrap_wxIconLocation_SetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2678 PyObject
* _resultobj
;
2679 wxIconLocation
* _arg0
;
2681 PyObject
* _argo0
= 0;
2682 PyObject
* _obj1
= 0;
2683 char *_kwnames
[] = { "self","filename", NULL
};
2686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIconLocation_SetFileName",_kwnames
,&_argo0
,&_obj1
))
2689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIconLocation_p")) {
2691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIconLocation_SetFileName. Expected _wxIconLocation_p.");
2696 _arg1
= wxString_in_helper(_obj1
);
2701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2702 wxIconLocation_SetFileName(_arg0
,*_arg1
);
2704 wxPyEndAllowThreads(__tstate
);
2705 if (PyErr_Occurred()) return NULL
;
2706 } Py_INCREF(Py_None
);
2707 _resultobj
= Py_None
;
2715 #define wxIconLocation_GetFileName(_swigobj) (_swigobj->GetFileName())
2716 static PyObject
*_wrap_wxIconLocation_GetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2717 PyObject
* _resultobj
;
2719 wxIconLocation
* _arg0
;
2720 PyObject
* _argo0
= 0;
2721 char *_kwnames
[] = { "self", NULL
};
2724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIconLocation_GetFileName",_kwnames
,&_argo0
))
2727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIconLocation_p")) {
2729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIconLocation_GetFileName. Expected _wxIconLocation_p.");
2734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2735 const wxString
& _result_ref
= wxIconLocation_GetFileName(_arg0
);
2736 _result
= (wxString
*) &_result_ref
;
2738 wxPyEndAllowThreads(__tstate
);
2739 if (PyErr_Occurred()) return NULL
;
2742 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
2744 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2750 static void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
) {
2752 self
->SetIndex(num
);
2757 static PyObject
*_wrap_wxIconLocation_SetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2758 PyObject
* _resultobj
;
2759 wxIconLocation
* _arg0
;
2761 PyObject
* _argo0
= 0;
2762 char *_kwnames
[] = { "self","num", NULL
};
2765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIconLocation_SetIndex",_kwnames
,&_argo0
,&_arg1
))
2768 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2769 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIconLocation_p")) {
2770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIconLocation_SetIndex. Expected _wxIconLocation_p.");
2775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2776 wxIconLocation_SetIndex(_arg0
,_arg1
);
2778 wxPyEndAllowThreads(__tstate
);
2779 if (PyErr_Occurred()) return NULL
;
2780 } Py_INCREF(Py_None
);
2781 _resultobj
= Py_None
;
2785 static int wxIconLocation_GetIndex(wxIconLocation
*self
) {
2787 return self
->GetIndex();
2792 static PyObject
*_wrap_wxIconLocation_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2793 PyObject
* _resultobj
;
2795 wxIconLocation
* _arg0
;
2796 PyObject
* _argo0
= 0;
2797 char *_kwnames
[] = { "self", NULL
};
2800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIconLocation_GetIndex",_kwnames
,&_argo0
))
2803 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2804 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIconLocation_p")) {
2805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIconLocation_GetIndex. Expected _wxIconLocation_p.");
2810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2811 _result
= (int )wxIconLocation_GetIndex(_arg0
);
2813 wxPyEndAllowThreads(__tstate
);
2814 if (PyErr_Occurred()) return NULL
;
2815 } _resultobj
= Py_BuildValue("i",_result
);
2819 #define new_wxIconBundle() (new wxIconBundle())
2820 static PyObject
*_wrap_new_wxIconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2821 PyObject
* _resultobj
;
2822 wxIconBundle
* _result
;
2823 char *_kwnames
[] = { NULL
};
2827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxIconBundle",_kwnames
))
2830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2831 _result
= (wxIconBundle
*)new_wxIconBundle();
2833 wxPyEndAllowThreads(__tstate
);
2834 if (PyErr_Occurred()) return NULL
;
2836 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIconBundle_p");
2837 _resultobj
= Py_BuildValue("s",_ptemp
);
2840 _resultobj
= Py_None
;
2845 #define new_wxIconBundleFromFile(_swigarg0,_swigarg1) (new wxIconBundle(_swigarg0,_swigarg1))
2846 static PyObject
*_wrap_new_wxIconBundleFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2847 PyObject
* _resultobj
;
2848 wxIconBundle
* _result
;
2851 PyObject
* _obj0
= 0;
2852 char *_kwnames
[] = { "file","type", NULL
};
2856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:new_wxIconBundleFromFile",_kwnames
,&_obj0
,&_arg1
))
2859 _arg0
= wxString_in_helper(_obj0
);
2864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2865 _result
= (wxIconBundle
*)new_wxIconBundleFromFile(*_arg0
,_arg1
);
2867 wxPyEndAllowThreads(__tstate
);
2868 if (PyErr_Occurred()) return NULL
;
2870 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIconBundle_p");
2871 _resultobj
= Py_BuildValue("s",_ptemp
);
2874 _resultobj
= Py_None
;
2883 #define new_wxIconBundleFromIcon(_swigarg0) (new wxIconBundle(_swigarg0))
2884 static PyObject
*_wrap_new_wxIconBundleFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2885 PyObject
* _resultobj
;
2886 wxIconBundle
* _result
;
2888 PyObject
* _argo0
= 0;
2889 char *_kwnames
[] = { "icon", NULL
};
2893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxIconBundleFromIcon",_kwnames
,&_argo0
))
2896 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxIconBundleFromIcon. Expected _wxIcon_p.");
2902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2903 _result
= (wxIconBundle
*)new_wxIconBundleFromIcon(*_arg0
);
2905 wxPyEndAllowThreads(__tstate
);
2906 if (PyErr_Occurred()) return NULL
;
2908 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIconBundle_p");
2909 _resultobj
= Py_BuildValue("s",_ptemp
);
2912 _resultobj
= Py_None
;
2917 #define delete_wxIconBundle(_swigobj) (delete _swigobj)
2918 static PyObject
*_wrap_delete_wxIconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2919 PyObject
* _resultobj
;
2920 wxIconBundle
* _arg0
;
2921 PyObject
* _argo0
= 0;
2922 char *_kwnames
[] = { "self", NULL
};
2925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxIconBundle",_kwnames
,&_argo0
))
2928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIconBundle_p")) {
2930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxIconBundle. Expected _wxIconBundle_p.");
2935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2936 delete_wxIconBundle(_arg0
);
2938 wxPyEndAllowThreads(__tstate
);
2939 if (PyErr_Occurred()) return NULL
;
2940 } Py_INCREF(Py_None
);
2941 _resultobj
= Py_None
;
2945 #define wxIconBundle_AddIcon(_swigobj,_swigarg0) (_swigobj->AddIcon(_swigarg0))
2946 static PyObject
*_wrap_wxIconBundle_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2947 PyObject
* _resultobj
;
2948 wxIconBundle
* _arg0
;
2950 PyObject
* _argo0
= 0;
2951 PyObject
* _argo1
= 0;
2952 char *_kwnames
[] = { "self","icon", NULL
};
2955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIconBundle_AddIcon",_kwnames
,&_argo0
,&_argo1
))
2958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIconBundle_p")) {
2960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIconBundle_AddIcon. Expected _wxIconBundle_p.");
2965 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
2966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIconBundle_AddIcon. Expected _wxIcon_p.");
2971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2972 wxIconBundle_AddIcon(_arg0
,*_arg1
);
2974 wxPyEndAllowThreads(__tstate
);
2975 if (PyErr_Occurred()) return NULL
;
2976 } Py_INCREF(Py_None
);
2977 _resultobj
= Py_None
;
2981 #define wxIconBundle_AddIconFromFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddIcon(_swigarg0,_swigarg1))
2982 static PyObject
*_wrap_wxIconBundle_AddIconFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2983 PyObject
* _resultobj
;
2984 wxIconBundle
* _arg0
;
2987 PyObject
* _argo0
= 0;
2988 PyObject
* _obj1
= 0;
2989 char *_kwnames
[] = { "self","file","type", NULL
};
2992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOl:wxIconBundle_AddIconFromFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
2995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIconBundle_p")) {
2997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIconBundle_AddIconFromFile. Expected _wxIconBundle_p.");
3002 _arg1
= wxString_in_helper(_obj1
);
3007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3008 wxIconBundle_AddIconFromFile(_arg0
,*_arg1
,_arg2
);
3010 wxPyEndAllowThreads(__tstate
);
3011 if (PyErr_Occurred()) return NULL
;
3012 } Py_INCREF(Py_None
);
3013 _resultobj
= Py_None
;
3021 #define wxIconBundle_GetIcon(_swigobj,_swigarg0) (_swigobj->GetIcon(_swigarg0))
3022 static PyObject
*_wrap_wxIconBundle_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3023 PyObject
* _resultobj
;
3025 wxIconBundle
* _arg0
;
3027 PyObject
* _argo0
= 0;
3029 PyObject
* _obj1
= 0;
3030 char *_kwnames
[] = { "self","size", NULL
};
3034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIconBundle_GetIcon",_kwnames
,&_argo0
,&_obj1
))
3037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIconBundle_p")) {
3039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIconBundle_GetIcon. Expected _wxIconBundle_p.");
3045 if (! wxSize_helper(_obj1
, &_arg1
))
3049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3050 const wxIcon
& _result_ref
= wxIconBundle_GetIcon(_arg0
,*_arg1
);
3051 _result
= (wxIcon
*) &_result_ref
;
3053 wxPyEndAllowThreads(__tstate
);
3054 if (PyErr_Occurred()) return NULL
;
3056 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
3057 _resultobj
= Py_BuildValue("s",_ptemp
);
3060 _resultobj
= Py_None
;
3065 static void *SwigwxCursorTowxGDIObject(void *ptr
) {
3068 src
= (wxCursor
*) ptr
;
3069 dest
= (wxGDIObject
*) src
;
3070 return (void *) dest
;
3073 static void *SwigwxCursorTowxObject(void *ptr
) {
3076 src
= (wxCursor
*) ptr
;
3077 dest
= (wxObject
*) src
;
3078 return (void *) dest
;
3081 static wxCursor
*new_wxCursor(const wxString
*cursorName
,long flags
,int hotSpotX
,int hotSpotY
) {
3083 wxCHECK_MSG(FALSE
, NULL
,
3084 wxT("wxCursor constructor not implemented for wxGTK, use wxStockCursor, wxCursorFromImage, or wxCursorFromBits instead."));
3086 return new wxCursor(*cursorName
, flags
, hotSpotX
, hotSpotY
);
3090 static PyObject
*_wrap_new_wxCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3091 PyObject
* _resultobj
;
3095 int _arg2
= (int ) 0;
3096 int _arg3
= (int ) 0;
3097 PyObject
* _obj0
= 0;
3098 char *_kwnames
[] = { "cursorName","flags","hotSpotX","hotSpotY", NULL
};
3102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:new_wxCursor",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
))
3105 _arg0
= wxString_in_helper(_obj0
);
3110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3111 _result
= (wxCursor
*)new_wxCursor(_arg0
,_arg1
,_arg2
,_arg3
);
3113 wxPyEndAllowThreads(__tstate
);
3114 if (PyErr_Occurred()) return NULL
;
3116 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCursor_p");
3117 _resultobj
= Py_BuildValue("s",_ptemp
);
3120 _resultobj
= Py_None
;
3129 #define delete_wxCursor(_swigobj) (delete _swigobj)
3130 static PyObject
*_wrap_delete_wxCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3131 PyObject
* _resultobj
;
3133 PyObject
* _argo0
= 0;
3134 char *_kwnames
[] = { "self", NULL
};
3137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCursor",_kwnames
,&_argo0
))
3140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCursor. Expected _wxCursor_p.");
3147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3148 delete_wxCursor(_arg0
);
3150 wxPyEndAllowThreads(__tstate
);
3151 if (PyErr_Occurred()) return NULL
;
3152 } Py_INCREF(Py_None
);
3153 _resultobj
= Py_None
;
3157 #define wxCursor_Ok(_swigobj) (_swigobj->Ok())
3158 static PyObject
*_wrap_wxCursor_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3159 PyObject
* _resultobj
;
3162 PyObject
* _argo0
= 0;
3163 char *_kwnames
[] = { "self", NULL
};
3166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCursor_Ok",_kwnames
,&_argo0
))
3169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_Ok. Expected _wxCursor_p.");
3176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3177 _result
= (bool )wxCursor_Ok(_arg0
);
3179 wxPyEndAllowThreads(__tstate
);
3180 if (PyErr_Occurred()) return NULL
;
3181 } _resultobj
= Py_BuildValue("i",_result
);
3185 static void *SwigwxColourTowxObject(void *ptr
) {
3188 src
= (wxColour
*) ptr
;
3189 dest
= (wxObject
*) src
;
3190 return (void *) dest
;
3193 #define new_wxColour(_swigarg0,_swigarg1,_swigarg2) (new wxColour(_swigarg0,_swigarg1,_swigarg2))
3194 static PyObject
*_wrap_new_wxColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3195 PyObject
* _resultobj
;
3197 unsigned char _arg0
= (unsigned char ) 0;
3198 unsigned char _arg1
= (unsigned char ) 0;
3199 unsigned char _arg2
= (unsigned char ) 0;
3200 char *_kwnames
[] = { "red","green","blue", NULL
};
3204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|bbb:new_wxColour",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
3207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3208 _result
= (wxColour
*)new_wxColour(_arg0
,_arg1
,_arg2
);
3210 wxPyEndAllowThreads(__tstate
);
3211 if (PyErr_Occurred()) return NULL
;
3213 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3214 _resultobj
= Py_BuildValue("s",_ptemp
);
3217 _resultobj
= Py_None
;
3222 #define delete_wxColour(_swigobj) (delete _swigobj)
3223 static PyObject
*_wrap_delete_wxColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3224 PyObject
* _resultobj
;
3227 PyObject
* _obj0
= 0;
3228 char *_kwnames
[] = { "self", NULL
};
3231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxColour",_kwnames
,&_obj0
))
3235 if (! wxColour_helper(_obj0
, &_arg0
))
3239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3240 delete_wxColour(_arg0
);
3242 wxPyEndAllowThreads(__tstate
);
3243 if (PyErr_Occurred()) return NULL
;
3244 } Py_INCREF(Py_None
);
3245 _resultobj
= Py_None
;
3249 #define wxColour_Red(_swigobj) (_swigobj->Red())
3250 static PyObject
*_wrap_wxColour_Red(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3251 PyObject
* _resultobj
;
3252 unsigned char _result
;
3255 PyObject
* _obj0
= 0;
3256 char *_kwnames
[] = { "self", NULL
};
3259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Red",_kwnames
,&_obj0
))
3263 if (! wxColour_helper(_obj0
, &_arg0
))
3267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3268 _result
= (unsigned char )wxColour_Red(_arg0
);
3270 wxPyEndAllowThreads(__tstate
);
3271 if (PyErr_Occurred()) return NULL
;
3272 } _resultobj
= Py_BuildValue("b",_result
);
3276 #define wxColour_Green(_swigobj) (_swigobj->Green())
3277 static PyObject
*_wrap_wxColour_Green(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3278 PyObject
* _resultobj
;
3279 unsigned char _result
;
3282 PyObject
* _obj0
= 0;
3283 char *_kwnames
[] = { "self", NULL
};
3286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Green",_kwnames
,&_obj0
))
3290 if (! wxColour_helper(_obj0
, &_arg0
))
3294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3295 _result
= (unsigned char )wxColour_Green(_arg0
);
3297 wxPyEndAllowThreads(__tstate
);
3298 if (PyErr_Occurred()) return NULL
;
3299 } _resultobj
= Py_BuildValue("b",_result
);
3303 #define wxColour_Blue(_swigobj) (_swigobj->Blue())
3304 static PyObject
*_wrap_wxColour_Blue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3305 PyObject
* _resultobj
;
3306 unsigned char _result
;
3309 PyObject
* _obj0
= 0;
3310 char *_kwnames
[] = { "self", NULL
};
3313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Blue",_kwnames
,&_obj0
))
3317 if (! wxColour_helper(_obj0
, &_arg0
))
3321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3322 _result
= (unsigned char )wxColour_Blue(_arg0
);
3324 wxPyEndAllowThreads(__tstate
);
3325 if (PyErr_Occurred()) return NULL
;
3326 } _resultobj
= Py_BuildValue("b",_result
);
3330 #define wxColour_Ok(_swigobj) (_swigobj->Ok())
3331 static PyObject
*_wrap_wxColour_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3332 PyObject
* _resultobj
;
3336 PyObject
* _obj0
= 0;
3337 char *_kwnames
[] = { "self", NULL
};
3340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Ok",_kwnames
,&_obj0
))
3344 if (! wxColour_helper(_obj0
, &_arg0
))
3348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3349 _result
= (bool )wxColour_Ok(_arg0
);
3351 wxPyEndAllowThreads(__tstate
);
3352 if (PyErr_Occurred()) return NULL
;
3353 } _resultobj
= Py_BuildValue("i",_result
);
3357 #define wxColour_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
3358 static PyObject
*_wrap_wxColour_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3359 PyObject
* _resultobj
;
3361 unsigned char _arg1
;
3362 unsigned char _arg2
;
3363 unsigned char _arg3
;
3365 PyObject
* _obj0
= 0;
3366 char *_kwnames
[] = { "self","red","green","blue", NULL
};
3369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Obbb:wxColour_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
))
3373 if (! wxColour_helper(_obj0
, &_arg0
))
3377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3378 wxColour_Set(_arg0
,_arg1
,_arg2
,_arg3
);
3380 wxPyEndAllowThreads(__tstate
);
3381 if (PyErr_Occurred()) return NULL
;
3382 } Py_INCREF(Py_None
);
3383 _resultobj
= Py_None
;
3387 static PyObject
* wxColour_Get(wxColour
*self
) {
3388 PyObject
* rv
= PyTuple_New(3);
3394 green
= self
->Green();
3395 blue
= self
->Blue();
3397 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
3398 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
3399 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
3402 static PyObject
*_wrap_wxColour_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3403 PyObject
* _resultobj
;
3407 PyObject
* _obj0
= 0;
3408 char *_kwnames
[] = { "self", NULL
};
3411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Get",_kwnames
,&_obj0
))
3415 if (! wxColour_helper(_obj0
, &_arg0
))
3419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3420 _result
= (PyObject
*)wxColour_Get(_arg0
);
3422 wxPyEndAllowThreads(__tstate
);
3423 if (PyErr_Occurred()) return NULL
;
3425 _resultobj
= _result
;
3430 static bool wxColour___eq__(wxColour
*self
,PyObject
* obj
) {
3432 wxColour
* ptr
= &tmp
;
3433 if (obj
== Py_None
) return FALSE
;
3434 wxPyBLOCK_THREADS(bool success
= wxColour_helper(obj
, &ptr
); PyErr_Clear());
3435 if (! success
) return FALSE
;
3436 return *self
== *ptr
;
3438 static PyObject
*_wrap_wxColour___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3439 PyObject
* _resultobj
;
3444 PyObject
* _obj0
= 0;
3445 PyObject
* _obj1
= 0;
3446 char *_kwnames
[] = { "self","obj", NULL
};
3449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxColour___eq__",_kwnames
,&_obj0
,&_obj1
))
3453 if (! wxColour_helper(_obj0
, &_arg0
))
3460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3461 _result
= (bool )wxColour___eq__(_arg0
,_arg1
);
3463 wxPyEndAllowThreads(__tstate
);
3464 if (PyErr_Occurred()) return NULL
;
3465 } _resultobj
= Py_BuildValue("i",_result
);
3469 static bool wxColour___ne__(wxColour
*self
,PyObject
* obj
) {
3471 wxColour
* ptr
= &tmp
;
3472 if (obj
== Py_None
) return TRUE
;
3473 wxPyBLOCK_THREADS(bool success
= wxColour_helper(obj
, &ptr
); PyErr_Clear());
3474 if (! success
) return TRUE
;
3475 return *self
!= *ptr
;
3477 static PyObject
*_wrap_wxColour___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3478 PyObject
* _resultobj
;
3483 PyObject
* _obj0
= 0;
3484 PyObject
* _obj1
= 0;
3485 char *_kwnames
[] = { "self","obj", NULL
};
3488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxColour___ne__",_kwnames
,&_obj0
,&_obj1
))
3492 if (! wxColour_helper(_obj0
, &_arg0
))
3499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3500 _result
= (bool )wxColour___ne__(_arg0
,_arg1
);
3502 wxPyEndAllowThreads(__tstate
);
3503 if (PyErr_Occurred()) return NULL
;
3504 } _resultobj
= Py_BuildValue("i",_result
);
3508 static void *SwigwxColourDatabaseTowxObject(void *ptr
) {
3509 wxColourDatabase
*src
;
3511 src
= (wxColourDatabase
*) ptr
;
3512 dest
= (wxObject
*) src
;
3513 return (void *) dest
;
3516 #define wxColourDatabase_FindColour(_swigobj,_swigarg0) (_swigobj->FindColour(_swigarg0))
3517 static PyObject
*_wrap_wxColourDatabase_FindColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3518 PyObject
* _resultobj
;
3520 wxColourDatabase
* _arg0
;
3522 PyObject
* _argo0
= 0;
3523 PyObject
* _obj1
= 0;
3524 char *_kwnames
[] = { "self","colour", NULL
};
3528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxColourDatabase_FindColour",_kwnames
,&_argo0
,&_obj1
))
3531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
3533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_FindColour. Expected _wxColourDatabase_p.");
3538 _arg1
= wxString_in_helper(_obj1
);
3543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3544 _result
= (wxColour
*)wxColourDatabase_FindColour(_arg0
,*_arg1
);
3546 wxPyEndAllowThreads(__tstate
);
3547 if (PyErr_Occurred()) return NULL
;
3549 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3550 _resultobj
= Py_BuildValue("s",_ptemp
);
3553 _resultobj
= Py_None
;
3562 #define wxColourDatabase_FindColourNoAdd(_swigobj,_swigarg0) (_swigobj->FindColourNoAdd(_swigarg0))
3563 static PyObject
*_wrap_wxColourDatabase_FindColourNoAdd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3564 PyObject
* _resultobj
;
3566 wxColourDatabase
* _arg0
;
3568 PyObject
* _argo0
= 0;
3569 PyObject
* _obj1
= 0;
3570 char *_kwnames
[] = { "self","colour", NULL
};
3574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxColourDatabase_FindColourNoAdd",_kwnames
,&_argo0
,&_obj1
))
3577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
3579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_FindColourNoAdd. Expected _wxColourDatabase_p.");
3584 _arg1
= wxString_in_helper(_obj1
);
3589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3590 _result
= (wxColour
*)wxColourDatabase_FindColourNoAdd(_arg0
,*_arg1
);
3592 wxPyEndAllowThreads(__tstate
);
3593 if (PyErr_Occurred()) return NULL
;
3595 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3596 _resultobj
= Py_BuildValue("s",_ptemp
);
3599 _resultobj
= Py_None
;
3608 #define wxColourDatabase_FindName(_swigobj,_swigarg0) (_swigobj->FindName(_swigarg0))
3609 static PyObject
*_wrap_wxColourDatabase_FindName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3610 PyObject
* _resultobj
;
3612 wxColourDatabase
* _arg0
;
3614 PyObject
* _argo0
= 0;
3616 PyObject
* _obj1
= 0;
3617 char *_kwnames
[] = { "self","colour", NULL
};
3620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxColourDatabase_FindName",_kwnames
,&_argo0
,&_obj1
))
3623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
3625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_FindName. Expected _wxColourDatabase_p.");
3631 if (! wxColour_helper(_obj1
, &_arg1
))
3635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3636 _result
= new wxString (wxColourDatabase_FindName(_arg0
,*_arg1
));
3638 wxPyEndAllowThreads(__tstate
);
3639 if (PyErr_Occurred()) return NULL
;
3642 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3644 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3653 static void wxColourDatabase_AddColour(wxColourDatabase
*self
,const wxString
& name
,wxColour
* colour
) {
3654 // make a copy since the python one will be GC'd
3655 wxColour
* c
= new wxColour(*colour
);
3656 self
->AddColour(name
, c
);
3658 static PyObject
*_wrap_wxColourDatabase_AddColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3659 PyObject
* _resultobj
;
3660 wxColourDatabase
* _arg0
;
3663 PyObject
* _argo0
= 0;
3664 PyObject
* _obj1
= 0;
3666 PyObject
* _obj2
= 0;
3667 char *_kwnames
[] = { "self","name","colour", NULL
};
3670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxColourDatabase_AddColour",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3673 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3674 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
3675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_AddColour. Expected _wxColourDatabase_p.");
3680 _arg1
= wxString_in_helper(_obj1
);
3686 if (! wxColour_helper(_obj2
, &_arg2
))
3690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3691 wxColourDatabase_AddColour(_arg0
,*_arg1
,_arg2
);
3693 wxPyEndAllowThreads(__tstate
);
3694 if (PyErr_Occurred()) return NULL
;
3695 } Py_INCREF(Py_None
);
3696 _resultobj
= Py_None
;
3704 static void wxColourDatabase_Append(wxColourDatabase
*self
,const wxString
& name
,int red
,int green
,int blue
) {
3705 wxColour
* c
= new wxColour(red
, green
, blue
);
3706 self
->AddColour(name
, c
);
3708 static PyObject
*_wrap_wxColourDatabase_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3709 PyObject
* _resultobj
;
3710 wxColourDatabase
* _arg0
;
3715 PyObject
* _argo0
= 0;
3716 PyObject
* _obj1
= 0;
3717 char *_kwnames
[] = { "self","name","red","green","blue", NULL
};
3720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiii:wxColourDatabase_Append",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_arg4
))
3723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
3725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_Append. Expected _wxColourDatabase_p.");
3730 _arg1
= wxString_in_helper(_obj1
);
3735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3736 wxColourDatabase_Append(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3738 wxPyEndAllowThreads(__tstate
);
3739 if (PyErr_Occurred()) return NULL
;
3740 } Py_INCREF(Py_None
);
3741 _resultobj
= Py_None
;
3749 static void *SwigwxPenTowxGDIObject(void *ptr
) {
3752 src
= (wxPen
*) ptr
;
3753 dest
= (wxGDIObject
*) src
;
3754 return (void *) dest
;
3757 static void *SwigwxPenTowxObject(void *ptr
) {
3760 src
= (wxPen
*) ptr
;
3761 dest
= (wxObject
*) src
;
3762 return (void *) dest
;
3765 #define new_wxPen(_swigarg0,_swigarg1,_swigarg2) (new wxPen(_swigarg0,_swigarg1,_swigarg2))
3766 static PyObject
*_wrap_new_wxPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3767 PyObject
* _resultobj
;
3770 int _arg1
= (int ) 1;
3771 int _arg2
= (int ) wxSOLID
;
3773 PyObject
* _obj0
= 0;
3774 char *_kwnames
[] = { "colour","width","style", NULL
};
3778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:new_wxPen",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
3782 if (! wxColour_helper(_obj0
, &_arg0
))
3786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3787 _result
= (wxPen
*)new_wxPen(*_arg0
,_arg1
,_arg2
);
3789 wxPyEndAllowThreads(__tstate
);
3790 if (PyErr_Occurred()) return NULL
;
3792 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
3793 _resultobj
= Py_BuildValue("s",_ptemp
);
3796 _resultobj
= Py_None
;
3801 #define delete_wxPen(_swigobj) (delete _swigobj)
3802 static PyObject
*_wrap_delete_wxPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3803 PyObject
* _resultobj
;
3805 PyObject
* _argo0
= 0;
3806 char *_kwnames
[] = { "self", NULL
};
3809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPen",_kwnames
,&_argo0
))
3812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPen. Expected _wxPen_p.");
3819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3820 delete_wxPen(_arg0
);
3822 wxPyEndAllowThreads(__tstate
);
3823 if (PyErr_Occurred()) return NULL
;
3824 } Py_INCREF(Py_None
);
3825 _resultobj
= Py_None
;
3829 #define wxPen_GetCap(_swigobj) (_swigobj->GetCap())
3830 static PyObject
*_wrap_wxPen_GetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3831 PyObject
* _resultobj
;
3834 PyObject
* _argo0
= 0;
3835 char *_kwnames
[] = { "self", NULL
};
3838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetCap",_kwnames
,&_argo0
))
3841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetCap. Expected _wxPen_p.");
3848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3849 _result
= (int )wxPen_GetCap(_arg0
);
3851 wxPyEndAllowThreads(__tstate
);
3852 if (PyErr_Occurred()) return NULL
;
3853 } _resultobj
= Py_BuildValue("i",_result
);
3857 #define wxPen_GetColour(_swigobj) (_swigobj->GetColour())
3858 static PyObject
*_wrap_wxPen_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3859 PyObject
* _resultobj
;
3862 PyObject
* _argo0
= 0;
3863 char *_kwnames
[] = { "self", NULL
};
3867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetColour",_kwnames
,&_argo0
))
3870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetColour. Expected _wxPen_p.");
3877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3878 _result
= new wxColour (wxPen_GetColour(_arg0
));
3880 wxPyEndAllowThreads(__tstate
);
3881 if (PyErr_Occurred()) return NULL
;
3882 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
3883 _resultobj
= Py_BuildValue("s",_ptemp
);
3887 #define wxPen_GetJoin(_swigobj) (_swigobj->GetJoin())
3888 static PyObject
*_wrap_wxPen_GetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3889 PyObject
* _resultobj
;
3892 PyObject
* _argo0
= 0;
3893 char *_kwnames
[] = { "self", NULL
};
3896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetJoin",_kwnames
,&_argo0
))
3899 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3900 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetJoin. Expected _wxPen_p.");
3906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3907 _result
= (int )wxPen_GetJoin(_arg0
);
3909 wxPyEndAllowThreads(__tstate
);
3910 if (PyErr_Occurred()) return NULL
;
3911 } _resultobj
= Py_BuildValue("i",_result
);
3915 #define wxPen_GetStyle(_swigobj) (_swigobj->GetStyle())
3916 static PyObject
*_wrap_wxPen_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3917 PyObject
* _resultobj
;
3920 PyObject
* _argo0
= 0;
3921 char *_kwnames
[] = { "self", NULL
};
3924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetStyle",_kwnames
,&_argo0
))
3927 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3928 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetStyle. Expected _wxPen_p.");
3934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3935 _result
= (int )wxPen_GetStyle(_arg0
);
3937 wxPyEndAllowThreads(__tstate
);
3938 if (PyErr_Occurred()) return NULL
;
3939 } _resultobj
= Py_BuildValue("i",_result
);
3943 #define wxPen_GetWidth(_swigobj) (_swigobj->GetWidth())
3944 static PyObject
*_wrap_wxPen_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3945 PyObject
* _resultobj
;
3948 PyObject
* _argo0
= 0;
3949 char *_kwnames
[] = { "self", NULL
};
3952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetWidth",_kwnames
,&_argo0
))
3955 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3956 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetWidth. Expected _wxPen_p.");
3962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3963 _result
= (int )wxPen_GetWidth(_arg0
);
3965 wxPyEndAllowThreads(__tstate
);
3966 if (PyErr_Occurred()) return NULL
;
3967 } _resultobj
= Py_BuildValue("i",_result
);
3971 #define wxPen_Ok(_swigobj) (_swigobj->Ok())
3972 static PyObject
*_wrap_wxPen_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3973 PyObject
* _resultobj
;
3976 PyObject
* _argo0
= 0;
3977 char *_kwnames
[] = { "self", NULL
};
3980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_Ok",_kwnames
,&_argo0
))
3983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_Ok. Expected _wxPen_p.");
3990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3991 _result
= (bool )wxPen_Ok(_arg0
);
3993 wxPyEndAllowThreads(__tstate
);
3994 if (PyErr_Occurred()) return NULL
;
3995 } _resultobj
= Py_BuildValue("i",_result
);
3999 #define wxPen_SetCap(_swigobj,_swigarg0) (_swigobj->SetCap(_swigarg0))
4000 static PyObject
*_wrap_wxPen_SetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4001 PyObject
* _resultobj
;
4004 PyObject
* _argo0
= 0;
4005 char *_kwnames
[] = { "self","cap_style", NULL
};
4008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetCap",_kwnames
,&_argo0
,&_arg1
))
4011 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4012 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetCap. Expected _wxPen_p.");
4018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4019 wxPen_SetCap(_arg0
,_arg1
);
4021 wxPyEndAllowThreads(__tstate
);
4022 if (PyErr_Occurred()) return NULL
;
4023 } Py_INCREF(Py_None
);
4024 _resultobj
= Py_None
;
4028 #define wxPen_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
4029 static PyObject
*_wrap_wxPen_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4030 PyObject
* _resultobj
;
4033 PyObject
* _argo0
= 0;
4035 PyObject
* _obj1
= 0;
4036 char *_kwnames
[] = { "self","colour", NULL
};
4039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetColour",_kwnames
,&_argo0
,&_obj1
))
4042 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4043 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetColour. Expected _wxPen_p.");
4050 if (! wxColour_helper(_obj1
, &_arg1
))
4054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4055 wxPen_SetColour(_arg0
,*_arg1
);
4057 wxPyEndAllowThreads(__tstate
);
4058 if (PyErr_Occurred()) return NULL
;
4059 } Py_INCREF(Py_None
);
4060 _resultobj
= Py_None
;
4064 #define wxPen_SetJoin(_swigobj,_swigarg0) (_swigobj->SetJoin(_swigarg0))
4065 static PyObject
*_wrap_wxPen_SetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4066 PyObject
* _resultobj
;
4069 PyObject
* _argo0
= 0;
4070 char *_kwnames
[] = { "self","join_style", NULL
};
4073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetJoin",_kwnames
,&_argo0
,&_arg1
))
4076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetJoin. Expected _wxPen_p.");
4083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4084 wxPen_SetJoin(_arg0
,_arg1
);
4086 wxPyEndAllowThreads(__tstate
);
4087 if (PyErr_Occurred()) return NULL
;
4088 } Py_INCREF(Py_None
);
4089 _resultobj
= Py_None
;
4093 #define wxPen_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
4094 static PyObject
*_wrap_wxPen_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4095 PyObject
* _resultobj
;
4098 PyObject
* _argo0
= 0;
4099 char *_kwnames
[] = { "self","style", NULL
};
4102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetStyle",_kwnames
,&_argo0
,&_arg1
))
4105 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4106 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetStyle. Expected _wxPen_p.");
4112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4113 wxPen_SetStyle(_arg0
,_arg1
);
4115 wxPyEndAllowThreads(__tstate
);
4116 if (PyErr_Occurred()) return NULL
;
4117 } Py_INCREF(Py_None
);
4118 _resultobj
= Py_None
;
4122 #define wxPen_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
4123 static PyObject
*_wrap_wxPen_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4124 PyObject
* _resultobj
;
4127 PyObject
* _argo0
= 0;
4128 char *_kwnames
[] = { "self","width", NULL
};
4131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetWidth",_kwnames
,&_argo0
,&_arg1
))
4134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetWidth. Expected _wxPen_p.");
4141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4142 wxPen_SetWidth(_arg0
,_arg1
);
4144 wxPyEndAllowThreads(__tstate
);
4145 if (PyErr_Occurred()) return NULL
;
4146 } Py_INCREF(Py_None
);
4147 _resultobj
= Py_None
;
4151 #define wxPen_SetDashes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDashes(_swigarg0,_swigarg1))
4152 static PyObject
*_wrap_wxPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4153 PyObject
* _resultobj
;
4157 PyObject
* _argo0
= 0;
4158 PyObject
* _obj2
= 0;
4159 char *_kwnames
[] = { "self","choices", NULL
};
4162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetDashes",_kwnames
,&_argo0
,&_obj2
))
4165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetDashes. Expected _wxPen_p.");
4173 _arg2
= (wxDash
*)byte_LIST_helper(_obj2
);
4174 if (_arg2
== NULL
) {
4180 _arg1
= PyList_Size(_obj2
);
4187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4188 wxPen_SetDashes(_arg0
,_arg1
,_arg2
);
4190 wxPyEndAllowThreads(__tstate
);
4191 if (PyErr_Occurred()) return NULL
;
4192 } Py_INCREF(Py_None
);
4193 _resultobj
= Py_None
;
4200 static PyObject
* wxPen_GetDashes(wxPen
*self
) {
4202 int count
= self
->GetDashes(&dashes
);
4203 wxPyBeginBlockThreads();
4204 PyObject
* retval
= PyList_New(0);
4205 for (int x
=0; x
<count
; x
++)
4206 PyList_Append(retval
, PyInt_FromLong(dashes
[x
]));
4207 wxPyEndBlockThreads();
4210 static PyObject
*_wrap_wxPen_GetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4211 PyObject
* _resultobj
;
4214 PyObject
* _argo0
= 0;
4215 char *_kwnames
[] = { "self", NULL
};
4218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetDashes",_kwnames
,&_argo0
))
4221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetDashes. Expected _wxPen_p.");
4228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4229 _result
= (PyObject
*)wxPen_GetDashes(_arg0
);
4231 wxPyEndAllowThreads(__tstate
);
4232 if (PyErr_Occurred()) return NULL
;
4234 _resultobj
= _result
;
4239 static void *SwigwxPyPenTowxPen(void *ptr
) {
4242 src
= (wxPyPen
*) ptr
;
4243 dest
= (wxPen
*) src
;
4244 return (void *) dest
;
4247 static void *SwigwxPyPenTowxGDIObject(void *ptr
) {
4250 src
= (wxPyPen
*) ptr
;
4251 dest
= (wxGDIObject
*) src
;
4252 return (void *) dest
;
4255 static void *SwigwxPyPenTowxObject(void *ptr
) {
4258 src
= (wxPyPen
*) ptr
;
4259 dest
= (wxObject
*) src
;
4260 return (void *) dest
;
4263 #define new_wxPyPen(_swigarg0,_swigarg1,_swigarg2) (new wxPyPen(_swigarg0,_swigarg1,_swigarg2))
4264 static PyObject
*_wrap_new_wxPyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4265 PyObject
* _resultobj
;
4268 int _arg1
= (int ) 1;
4269 int _arg2
= (int ) wxSOLID
;
4271 PyObject
* _obj0
= 0;
4272 char *_kwnames
[] = { "colour","width","style", NULL
};
4276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:new_wxPyPen",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
4280 if (! wxColour_helper(_obj0
, &_arg0
))
4284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4285 _result
= (wxPyPen
*)new_wxPyPen(*_arg0
,_arg1
,_arg2
);
4287 wxPyEndAllowThreads(__tstate
);
4288 if (PyErr_Occurred()) return NULL
;
4290 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPen_p");
4291 _resultobj
= Py_BuildValue("s",_ptemp
);
4294 _resultobj
= Py_None
;
4299 #define delete_wxPyPen(_swigobj) (delete _swigobj)
4300 static PyObject
*_wrap_delete_wxPyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4301 PyObject
* _resultobj
;
4303 PyObject
* _argo0
= 0;
4304 char *_kwnames
[] = { "self", NULL
};
4307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyPen",_kwnames
,&_argo0
))
4310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPen_p")) {
4312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyPen. Expected _wxPyPen_p.");
4317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4318 delete_wxPyPen(_arg0
);
4320 wxPyEndAllowThreads(__tstate
);
4321 if (PyErr_Occurred()) return NULL
;
4322 } Py_INCREF(Py_None
);
4323 _resultobj
= Py_None
;
4327 #define wxPyPen_SetDashes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDashes(_swigarg0,_swigarg1))
4328 static PyObject
*_wrap_wxPyPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4329 PyObject
* _resultobj
;
4333 PyObject
* _argo0
= 0;
4334 PyObject
* _obj2
= 0;
4335 char *_kwnames
[] = { "self","choices", NULL
};
4338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPen_SetDashes",_kwnames
,&_argo0
,&_obj2
))
4341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPen_p")) {
4343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPen_SetDashes. Expected _wxPyPen_p.");
4349 _arg2
= (wxDash
*)byte_LIST_helper(_obj2
);
4350 if (_arg2
== NULL
) {
4356 _arg1
= PyList_Size(_obj2
);
4363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4364 wxPyPen_SetDashes(_arg0
,_arg1
,_arg2
);
4366 wxPyEndAllowThreads(__tstate
);
4367 if (PyErr_Occurred()) return NULL
;
4368 } Py_INCREF(Py_None
);
4369 _resultobj
= Py_None
;
4376 static void *SwigwxPenListTowxObject(void *ptr
) {
4379 src
= (wxPenList
*) ptr
;
4380 dest
= (wxObject
*) src
;
4381 return (void *) dest
;
4384 #define wxPenList_AddPen(_swigobj,_swigarg0) (_swigobj->AddPen(_swigarg0))
4385 static PyObject
*_wrap_wxPenList_AddPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4386 PyObject
* _resultobj
;
4389 PyObject
* _argo0
= 0;
4390 PyObject
* _argo1
= 0;
4391 char *_kwnames
[] = { "self","pen", NULL
};
4394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPenList_AddPen",_kwnames
,&_argo0
,&_argo1
))
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_AddPen. Expected _wxPenList_p.");
4404 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4405 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
4406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPenList_AddPen. Expected _wxPen_p.");
4411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4412 wxPenList_AddPen(_arg0
,_arg1
);
4414 wxPyEndAllowThreads(__tstate
);
4415 if (PyErr_Occurred()) return NULL
;
4416 } Py_INCREF(Py_None
);
4417 _resultobj
= Py_None
;
4421 #define wxPenList_FindOrCreatePen(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindOrCreatePen(_swigarg0,_swigarg1,_swigarg2))
4422 static PyObject
*_wrap_wxPenList_FindOrCreatePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4423 PyObject
* _resultobj
;
4429 PyObject
* _argo0
= 0;
4431 PyObject
* _obj1
= 0;
4432 char *_kwnames
[] = { "self","colour","width","style", NULL
};
4436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxPenList_FindOrCreatePen",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
))
4439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
4441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_FindOrCreatePen. Expected _wxPenList_p.");
4447 if (! wxColour_helper(_obj1
, &_arg1
))
4451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4452 _result
= (wxPen
*)wxPenList_FindOrCreatePen(_arg0
,*_arg1
,_arg2
,_arg3
);
4454 wxPyEndAllowThreads(__tstate
);
4455 if (PyErr_Occurred()) return NULL
;
4457 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
4458 _resultobj
= Py_BuildValue("s",_ptemp
);
4461 _resultobj
= Py_None
;
4466 #define wxPenList_RemovePen(_swigobj,_swigarg0) (_swigobj->RemovePen(_swigarg0))
4467 static PyObject
*_wrap_wxPenList_RemovePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4468 PyObject
* _resultobj
;
4471 PyObject
* _argo0
= 0;
4472 PyObject
* _argo1
= 0;
4473 char *_kwnames
[] = { "self","pen", NULL
};
4476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPenList_RemovePen",_kwnames
,&_argo0
,&_argo1
))
4479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
4481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_RemovePen. Expected _wxPenList_p.");
4486 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4487 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
4488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPenList_RemovePen. Expected _wxPen_p.");
4493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4494 wxPenList_RemovePen(_arg0
,_arg1
);
4496 wxPyEndAllowThreads(__tstate
);
4497 if (PyErr_Occurred()) return NULL
;
4498 } Py_INCREF(Py_None
);
4499 _resultobj
= Py_None
;
4503 #define wxPenList_GetCount(_swigobj) (_swigobj->GetCount())
4504 static PyObject
*_wrap_wxPenList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4505 PyObject
* _resultobj
;
4508 PyObject
* _argo0
= 0;
4509 char *_kwnames
[] = { "self", NULL
};
4512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPenList_GetCount",_kwnames
,&_argo0
))
4515 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4516 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
4517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_GetCount. Expected _wxPenList_p.");
4522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4523 _result
= (int )wxPenList_GetCount(_arg0
);
4525 wxPyEndAllowThreads(__tstate
);
4526 if (PyErr_Occurred()) return NULL
;
4527 } _resultobj
= Py_BuildValue("i",_result
);
4531 static void *SwigwxBrushTowxGDIObject(void *ptr
) {
4534 src
= (wxBrush
*) ptr
;
4535 dest
= (wxGDIObject
*) src
;
4536 return (void *) dest
;
4539 static void *SwigwxBrushTowxObject(void *ptr
) {
4542 src
= (wxBrush
*) ptr
;
4543 dest
= (wxObject
*) src
;
4544 return (void *) dest
;
4547 #define new_wxBrush(_swigarg0,_swigarg1) (new wxBrush(_swigarg0,_swigarg1))
4548 static PyObject
*_wrap_new_wxBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4549 PyObject
* _resultobj
;
4552 int _arg1
= (int ) wxSOLID
;
4554 PyObject
* _obj0
= 0;
4555 char *_kwnames
[] = { "colour","style", NULL
};
4559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxBrush",_kwnames
,&_obj0
,&_arg1
))
4563 if (! wxColour_helper(_obj0
, &_arg0
))
4567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4568 _result
= (wxBrush
*)new_wxBrush(*_arg0
,_arg1
);
4570 wxPyEndAllowThreads(__tstate
);
4571 if (PyErr_Occurred()) return NULL
;
4573 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
4574 _resultobj
= Py_BuildValue("s",_ptemp
);
4577 _resultobj
= Py_None
;
4582 #define delete_wxBrush(_swigobj) (delete _swigobj)
4583 static PyObject
*_wrap_delete_wxBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4584 PyObject
* _resultobj
;
4586 PyObject
* _argo0
= 0;
4587 char *_kwnames
[] = { "self", NULL
};
4590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBrush",_kwnames
,&_argo0
))
4593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBrush. Expected _wxBrush_p.");
4600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4601 delete_wxBrush(_arg0
);
4603 wxPyEndAllowThreads(__tstate
);
4604 if (PyErr_Occurred()) return NULL
;
4605 } Py_INCREF(Py_None
);
4606 _resultobj
= Py_None
;
4610 #define wxBrush_GetColour(_swigobj) (_swigobj->GetColour())
4611 static PyObject
*_wrap_wxBrush_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4612 PyObject
* _resultobj
;
4615 PyObject
* _argo0
= 0;
4616 char *_kwnames
[] = { "self", NULL
};
4620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetColour",_kwnames
,&_argo0
))
4623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetColour. Expected _wxBrush_p.");
4630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4631 _result
= new wxColour (wxBrush_GetColour(_arg0
));
4633 wxPyEndAllowThreads(__tstate
);
4634 if (PyErr_Occurred()) return NULL
;
4635 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
4636 _resultobj
= Py_BuildValue("s",_ptemp
);
4640 #define wxBrush_GetStipple(_swigobj) (_swigobj->GetStipple())
4641 static PyObject
*_wrap_wxBrush_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4642 PyObject
* _resultobj
;
4645 PyObject
* _argo0
= 0;
4646 char *_kwnames
[] = { "self", NULL
};
4650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetStipple",_kwnames
,&_argo0
))
4653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStipple. Expected _wxBrush_p.");
4660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4661 _result
= (wxBitmap
*)wxBrush_GetStipple(_arg0
);
4663 wxPyEndAllowThreads(__tstate
);
4664 if (PyErr_Occurred()) return NULL
;
4666 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
4667 _resultobj
= Py_BuildValue("s",_ptemp
);
4670 _resultobj
= Py_None
;
4675 #define wxBrush_GetStyle(_swigobj) (_swigobj->GetStyle())
4676 static PyObject
*_wrap_wxBrush_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4677 PyObject
* _resultobj
;
4680 PyObject
* _argo0
= 0;
4681 char *_kwnames
[] = { "self", NULL
};
4684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetStyle",_kwnames
,&_argo0
))
4687 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4688 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStyle. Expected _wxBrush_p.");
4694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4695 _result
= (int )wxBrush_GetStyle(_arg0
);
4697 wxPyEndAllowThreads(__tstate
);
4698 if (PyErr_Occurred()) return NULL
;
4699 } _resultobj
= Py_BuildValue("i",_result
);
4703 #define wxBrush_Ok(_swigobj) (_swigobj->Ok())
4704 static PyObject
*_wrap_wxBrush_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4705 PyObject
* _resultobj
;
4708 PyObject
* _argo0
= 0;
4709 char *_kwnames
[] = { "self", NULL
};
4712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_Ok",_kwnames
,&_argo0
))
4715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_Ok. Expected _wxBrush_p.");
4722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4723 _result
= (bool )wxBrush_Ok(_arg0
);
4725 wxPyEndAllowThreads(__tstate
);
4726 if (PyErr_Occurred()) return NULL
;
4727 } _resultobj
= Py_BuildValue("i",_result
);
4731 #define wxBrush_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
4732 static PyObject
*_wrap_wxBrush_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4733 PyObject
* _resultobj
;
4736 PyObject
* _argo0
= 0;
4738 PyObject
* _obj1
= 0;
4739 char *_kwnames
[] = { "self","colour", NULL
};
4742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrush_SetColour",_kwnames
,&_argo0
,&_obj1
))
4745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetColour. Expected _wxBrush_p.");
4753 if (! wxColour_helper(_obj1
, &_arg1
))
4757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4758 wxBrush_SetColour(_arg0
,*_arg1
);
4760 wxPyEndAllowThreads(__tstate
);
4761 if (PyErr_Occurred()) return NULL
;
4762 } Py_INCREF(Py_None
);
4763 _resultobj
= Py_None
;
4767 #define wxBrush_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
4768 static PyObject
*_wrap_wxBrush_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4769 PyObject
* _resultobj
;
4772 PyObject
* _argo0
= 0;
4773 PyObject
* _argo1
= 0;
4774 char *_kwnames
[] = { "self","bitmap", NULL
};
4777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrush_SetStipple",_kwnames
,&_argo0
,&_argo1
))
4780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStipple. Expected _wxBrush_p.");
4787 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
4788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrush_SetStipple. Expected _wxBitmap_p.");
4793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4794 wxBrush_SetStipple(_arg0
,*_arg1
);
4796 wxPyEndAllowThreads(__tstate
);
4797 if (PyErr_Occurred()) return NULL
;
4798 } Py_INCREF(Py_None
);
4799 _resultobj
= Py_None
;
4803 #define wxBrush_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
4804 static PyObject
*_wrap_wxBrush_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4805 PyObject
* _resultobj
;
4808 PyObject
* _argo0
= 0;
4809 char *_kwnames
[] = { "self","style", NULL
};
4812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBrush_SetStyle",_kwnames
,&_argo0
,&_arg1
))
4815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStyle. Expected _wxBrush_p.");
4822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4823 wxBrush_SetStyle(_arg0
,_arg1
);
4825 wxPyEndAllowThreads(__tstate
);
4826 if (PyErr_Occurred()) return NULL
;
4827 } Py_INCREF(Py_None
);
4828 _resultobj
= Py_None
;
4832 static void *SwigwxBrushListTowxObject(void *ptr
) {
4835 src
= (wxBrushList
*) ptr
;
4836 dest
= (wxObject
*) src
;
4837 return (void *) dest
;
4840 #define wxBrushList_AddBrush(_swigobj,_swigarg0) (_swigobj->AddBrush(_swigarg0))
4841 static PyObject
*_wrap_wxBrushList_AddBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4842 PyObject
* _resultobj
;
4843 wxBrushList
* _arg0
;
4845 PyObject
* _argo0
= 0;
4846 PyObject
* _argo1
= 0;
4847 char *_kwnames
[] = { "self","brush", NULL
};
4850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrushList_AddBrush",_kwnames
,&_argo0
,&_argo1
))
4853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
4855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_AddBrush. Expected _wxBrushList_p.");
4860 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4861 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
4862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrushList_AddBrush. Expected _wxBrush_p.");
4867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4868 wxBrushList_AddBrush(_arg0
,_arg1
);
4870 wxPyEndAllowThreads(__tstate
);
4871 if (PyErr_Occurred()) return NULL
;
4872 } Py_INCREF(Py_None
);
4873 _resultobj
= Py_None
;
4877 #define wxBrushList_FindOrCreateBrush(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindOrCreateBrush(_swigarg0,_swigarg1))
4878 static PyObject
*_wrap_wxBrushList_FindOrCreateBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4879 PyObject
* _resultobj
;
4881 wxBrushList
* _arg0
;
4884 PyObject
* _argo0
= 0;
4886 PyObject
* _obj1
= 0;
4887 char *_kwnames
[] = { "self","colour","style", NULL
};
4891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxBrushList_FindOrCreateBrush",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
4894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
4896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_FindOrCreateBrush. Expected _wxBrushList_p.");
4902 if (! wxColour_helper(_obj1
, &_arg1
))
4906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4907 _result
= (wxBrush
*)wxBrushList_FindOrCreateBrush(_arg0
,*_arg1
,_arg2
);
4909 wxPyEndAllowThreads(__tstate
);
4910 if (PyErr_Occurred()) return NULL
;
4912 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
4913 _resultobj
= Py_BuildValue("s",_ptemp
);
4916 _resultobj
= Py_None
;
4921 #define wxBrushList_RemoveBrush(_swigobj,_swigarg0) (_swigobj->RemoveBrush(_swigarg0))
4922 static PyObject
*_wrap_wxBrushList_RemoveBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4923 PyObject
* _resultobj
;
4924 wxBrushList
* _arg0
;
4926 PyObject
* _argo0
= 0;
4927 PyObject
* _argo1
= 0;
4928 char *_kwnames
[] = { "self","brush", NULL
};
4931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrushList_RemoveBrush",_kwnames
,&_argo0
,&_argo1
))
4934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
4936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_RemoveBrush. Expected _wxBrushList_p.");
4941 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4942 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
4943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrushList_RemoveBrush. Expected _wxBrush_p.");
4948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4949 wxBrushList_RemoveBrush(_arg0
,_arg1
);
4951 wxPyEndAllowThreads(__tstate
);
4952 if (PyErr_Occurred()) return NULL
;
4953 } Py_INCREF(Py_None
);
4954 _resultobj
= Py_None
;
4958 #define wxBrushList_GetCount(_swigobj) (_swigobj->GetCount())
4959 static PyObject
*_wrap_wxBrushList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4960 PyObject
* _resultobj
;
4962 wxBrushList
* _arg0
;
4963 PyObject
* _argo0
= 0;
4964 char *_kwnames
[] = { "self", NULL
};
4967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrushList_GetCount",_kwnames
,&_argo0
))
4970 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4971 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
4972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_GetCount. Expected _wxBrushList_p.");
4977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4978 _result
= (int )wxBrushList_GetCount(_arg0
);
4980 wxPyEndAllowThreads(__tstate
);
4981 if (PyErr_Occurred()) return NULL
;
4982 } _resultobj
= Py_BuildValue("i",_result
);
4986 static void *SwigwxDCTowxObject(void *ptr
) {
4990 dest
= (wxObject
*) src
;
4991 return (void *) dest
;
4994 #define delete_wxDC(_swigobj) (delete _swigobj)
4995 static PyObject
*_wrap_delete_wxDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4996 PyObject
* _resultobj
;
4998 PyObject
* _argo0
= 0;
4999 char *_kwnames
[] = { "self", NULL
};
5002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDC",_kwnames
,&_argo0
))
5005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDC. Expected _wxDC_p.");
5012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5015 wxPyEndAllowThreads(__tstate
);
5016 if (PyErr_Occurred()) return NULL
;
5017 } Py_INCREF(Py_None
);
5018 _resultobj
= Py_None
;
5022 #define wxDC_BeginDrawing(_swigobj) (_swigobj->BeginDrawing())
5023 static PyObject
*_wrap_wxDC_BeginDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5024 PyObject
* _resultobj
;
5026 PyObject
* _argo0
= 0;
5027 char *_kwnames
[] = { "self", NULL
};
5030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_BeginDrawing",_kwnames
,&_argo0
))
5033 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5034 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_BeginDrawing. Expected _wxDC_p.");
5040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5041 wxDC_BeginDrawing(_arg0
);
5043 wxPyEndAllowThreads(__tstate
);
5044 if (PyErr_Occurred()) return NULL
;
5045 } Py_INCREF(Py_None
);
5046 _resultobj
= Py_None
;
5050 #define wxDC_Blit(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Blit(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5051 static PyObject
*_wrap_wxDC_Blit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5052 PyObject
* _resultobj
;
5062 int _arg8
= (int ) wxCOPY
;
5063 int _arg9
= (int ) FALSE
;
5064 PyObject
* _argo0
= 0;
5065 PyObject
* _argo5
= 0;
5066 char *_kwnames
[] = { "self","xdest","ydest","width","height","source","xsrc","ysrc","logicalFunc","useMask", NULL
};
5069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiiiOii|ii:wxDC_Blit",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_argo5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
))
5072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Blit. Expected _wxDC_p.");
5079 if (_argo5
== Py_None
) { _arg5
= NULL
; }
5080 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxDC_p")) {
5081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxDC_Blit. Expected _wxDC_p.");
5086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5087 _result
= (bool )wxDC_Blit(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
5089 wxPyEndAllowThreads(__tstate
);
5090 if (PyErr_Occurred()) return NULL
;
5091 } _resultobj
= Py_BuildValue("i",_result
);
5095 #define wxDC_Clear(_swigobj) (_swigobj->Clear())
5096 static PyObject
*_wrap_wxDC_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5097 PyObject
* _resultobj
;
5099 PyObject
* _argo0
= 0;
5100 char *_kwnames
[] = { "self", NULL
};
5103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_Clear",_kwnames
,&_argo0
))
5106 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5107 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Clear. Expected _wxDC_p.");
5113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5116 wxPyEndAllowThreads(__tstate
);
5117 if (PyErr_Occurred()) return NULL
;
5118 } Py_INCREF(Py_None
);
5119 _resultobj
= Py_None
;
5123 #define wxDC_CrossHair(_swigobj,_swigarg0,_swigarg1) (_swigobj->CrossHair(_swigarg0,_swigarg1))
5124 static PyObject
*_wrap_wxDC_CrossHair(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5125 PyObject
* _resultobj
;
5129 PyObject
* _argo0
= 0;
5130 char *_kwnames
[] = { "self","x","y", NULL
};
5133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_CrossHair",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CrossHair. Expected _wxDC_p.");
5143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5144 wxDC_CrossHair(_arg0
,_arg1
,_arg2
);
5146 wxPyEndAllowThreads(__tstate
);
5147 if (PyErr_Occurred()) return NULL
;
5148 } Py_INCREF(Py_None
);
5149 _resultobj
= Py_None
;
5153 #define wxDC_DestroyClippingRegion(_swigobj) (_swigobj->DestroyClippingRegion())
5154 static PyObject
*_wrap_wxDC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5155 PyObject
* _resultobj
;
5157 PyObject
* _argo0
= 0;
5158 char *_kwnames
[] = { "self", NULL
};
5161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_DestroyClippingRegion",_kwnames
,&_argo0
))
5164 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5165 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DestroyClippingRegion. Expected _wxDC_p.");
5171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5172 wxDC_DestroyClippingRegion(_arg0
);
5174 wxPyEndAllowThreads(__tstate
);
5175 if (PyErr_Occurred()) return NULL
;
5176 } Py_INCREF(Py_None
);
5177 _resultobj
= Py_None
;
5181 #define wxDC_DeviceToLogicalX(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalX(_swigarg0))
5182 static PyObject
*_wrap_wxDC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5183 PyObject
* _resultobj
;
5187 PyObject
* _argo0
= 0;
5188 char *_kwnames
[] = { "self","x", NULL
};
5191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_DeviceToLogicalX",_kwnames
,&_argo0
,&_arg1
))
5194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalX. Expected _wxDC_p.");
5201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5202 _result
= (wxCoord
)wxDC_DeviceToLogicalX(_arg0
,_arg1
);
5204 wxPyEndAllowThreads(__tstate
);
5205 if (PyErr_Occurred()) return NULL
;
5206 } _resultobj
= Py_BuildValue("i",_result
);
5210 #define wxDC_DeviceToLogicalXRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalXRel(_swigarg0))
5211 static PyObject
*_wrap_wxDC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5212 PyObject
* _resultobj
;
5216 PyObject
* _argo0
= 0;
5217 char *_kwnames
[] = { "self","x", NULL
};
5220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_DeviceToLogicalXRel",_kwnames
,&_argo0
,&_arg1
))
5223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalXRel. Expected _wxDC_p.");
5230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5231 _result
= (wxCoord
)wxDC_DeviceToLogicalXRel(_arg0
,_arg1
);
5233 wxPyEndAllowThreads(__tstate
);
5234 if (PyErr_Occurred()) return NULL
;
5235 } _resultobj
= Py_BuildValue("i",_result
);
5239 #define wxDC_DeviceToLogicalY(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalY(_swigarg0))
5240 static PyObject
*_wrap_wxDC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5241 PyObject
* _resultobj
;
5245 PyObject
* _argo0
= 0;
5246 char *_kwnames
[] = { "self","y", NULL
};
5249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_DeviceToLogicalY",_kwnames
,&_argo0
,&_arg1
))
5252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalY. Expected _wxDC_p.");
5259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5260 _result
= (wxCoord
)wxDC_DeviceToLogicalY(_arg0
,_arg1
);
5262 wxPyEndAllowThreads(__tstate
);
5263 if (PyErr_Occurred()) return NULL
;
5264 } _resultobj
= Py_BuildValue("i",_result
);
5268 #define wxDC_DeviceToLogicalYRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalYRel(_swigarg0))
5269 static PyObject
*_wrap_wxDC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5270 PyObject
* _resultobj
;
5274 PyObject
* _argo0
= 0;
5275 char *_kwnames
[] = { "self","y", NULL
};
5278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_DeviceToLogicalYRel",_kwnames
,&_argo0
,&_arg1
))
5281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalYRel. Expected _wxDC_p.");
5288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5289 _result
= (wxCoord
)wxDC_DeviceToLogicalYRel(_arg0
,_arg1
);
5291 wxPyEndAllowThreads(__tstate
);
5292 if (PyErr_Occurred()) return NULL
;
5293 } _resultobj
= Py_BuildValue("i",_result
);
5297 #define wxDC_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5298 static PyObject
*_wrap_wxDC_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5299 PyObject
* _resultobj
;
5307 PyObject
* _argo0
= 0;
5308 char *_kwnames
[] = { "self","x1","y1","x2","y2","xc","yc", NULL
};
5311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiiiii:wxDC_DrawArc",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
5314 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5315 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawArc. Expected _wxDC_p.");
5321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5322 wxDC_DrawArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
5324 wxPyEndAllowThreads(__tstate
);
5325 if (PyErr_Occurred()) return NULL
;
5326 } Py_INCREF(Py_None
);
5327 _resultobj
= Py_None
;
5331 #define wxDC_DrawCircle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawCircle(_swigarg0,_swigarg1,_swigarg2))
5332 static PyObject
*_wrap_wxDC_DrawCircle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5333 PyObject
* _resultobj
;
5338 PyObject
* _argo0
= 0;
5339 char *_kwnames
[] = { "self","x","y","radius", NULL
};
5342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxDC_DrawCircle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
5345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawCircle. Expected _wxDC_p.");
5352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5353 wxDC_DrawCircle(_arg0
,_arg1
,_arg2
,_arg3
);
5355 wxPyEndAllowThreads(__tstate
);
5356 if (PyErr_Occurred()) return NULL
;
5357 } Py_INCREF(Py_None
);
5358 _resultobj
= Py_None
;
5362 #define wxDC_DrawEllipse(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawEllipse(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5363 static PyObject
*_wrap_wxDC_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5364 PyObject
* _resultobj
;
5370 PyObject
* _argo0
= 0;
5371 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
5374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxDC_DrawEllipse",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
5377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipse. Expected _wxDC_p.");
5384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5385 wxDC_DrawEllipse(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5387 wxPyEndAllowThreads(__tstate
);
5388 if (PyErr_Occurred()) return NULL
;
5389 } Py_INCREF(Py_None
);
5390 _resultobj
= Py_None
;
5394 #define wxDC_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5395 static PyObject
*_wrap_wxDC_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5396 PyObject
* _resultobj
;
5404 PyObject
* _argo0
= 0;
5405 char *_kwnames
[] = { "self","x","y","width","height","start","end", NULL
};
5408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiiiii:wxDC_DrawEllipticArc",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
5411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipticArc. Expected _wxDC_p.");
5418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5419 wxDC_DrawEllipticArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
5421 wxPyEndAllowThreads(__tstate
);
5422 if (PyErr_Occurred()) return NULL
;
5423 } Py_INCREF(Py_None
);
5424 _resultobj
= Py_None
;
5428 #define wxDC_DrawIcon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawIcon(_swigarg0,_swigarg1,_swigarg2))
5429 static PyObject
*_wrap_wxDC_DrawIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5430 PyObject
* _resultobj
;
5435 PyObject
* _argo0
= 0;
5436 PyObject
* _argo1
= 0;
5437 char *_kwnames
[] = { "self","icon","x","y", NULL
};
5440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxDC_DrawIcon",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
5443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawIcon. Expected _wxDC_p.");
5450 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
5451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawIcon. Expected _wxIcon_p.");
5456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5457 wxDC_DrawIcon(_arg0
,*_arg1
,_arg2
,_arg3
);
5459 wxPyEndAllowThreads(__tstate
);
5460 if (PyErr_Occurred()) return NULL
;
5461 } Py_INCREF(Py_None
);
5462 _resultobj
= Py_None
;
5466 #define wxDC_DrawLabel(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLabel(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5467 static PyObject
*_wrap_wxDC_DrawLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5468 PyObject
* _resultobj
;
5472 int _arg3
= (int ) wxALIGN_LEFT
|wxALIGN_TOP
;
5473 int _arg4
= (int ) -1;
5474 PyObject
* _argo0
= 0;
5475 PyObject
* _obj1
= 0;
5477 PyObject
* _obj2
= 0;
5478 char *_kwnames
[] = { "self","text","rect","alignment","indexAccel", NULL
};
5481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|ii:wxDC_DrawLabel",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
))
5484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLabel. Expected _wxDC_p.");
5491 _arg1
= wxString_in_helper(_obj1
);
5497 if (! wxRect_helper(_obj2
, &_arg2
))
5501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5502 wxDC_DrawLabel(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
5504 wxPyEndAllowThreads(__tstate
);
5505 if (PyErr_Occurred()) return NULL
;
5506 } Py_INCREF(Py_None
);
5507 _resultobj
= Py_None
;
5515 static wxRect
wxDC_DrawImageLabel(wxDC
*self
,const wxString
& text
,const wxBitmap
& image
,const wxRect
& rect
,int alignment
,int indexAccel
) {
5517 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
5520 static PyObject
*_wrap_wxDC_DrawImageLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5521 PyObject
* _resultobj
;
5527 int _arg4
= (int ) wxALIGN_LEFT
|wxALIGN_TOP
;
5528 int _arg5
= (int ) -1;
5529 PyObject
* _argo0
= 0;
5530 PyObject
* _obj1
= 0;
5531 PyObject
* _argo2
= 0;
5533 PyObject
* _obj3
= 0;
5534 char *_kwnames
[] = { "self","text","image","rect","alignment","indexAccel", NULL
};
5538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|ii:wxDC_DrawImageLabel",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_obj3
,&_arg4
,&_arg5
))
5541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawImageLabel. Expected _wxDC_p.");
5548 _arg1
= wxString_in_helper(_obj1
);
5553 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
5554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDC_DrawImageLabel. Expected _wxBitmap_p.");
5560 if (! wxRect_helper(_obj3
, &_arg3
))
5564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5565 _result
= new wxRect (wxDC_DrawImageLabel(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
));
5567 wxPyEndAllowThreads(__tstate
);
5568 if (PyErr_Occurred()) return NULL
;
5569 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
5570 _resultobj
= Py_BuildValue("s",_ptemp
);
5578 #define wxDC_DrawLine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5579 static PyObject
*_wrap_wxDC_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5580 PyObject
* _resultobj
;
5586 PyObject
* _argo0
= 0;
5587 char *_kwnames
[] = { "self","x1","y1","x2","y2", NULL
};
5590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxDC_DrawLine",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
5593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLine. Expected _wxDC_p.");
5600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5601 wxDC_DrawLine(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5603 wxPyEndAllowThreads(__tstate
);
5604 if (PyErr_Occurred()) return NULL
;
5605 } Py_INCREF(Py_None
);
5606 _resultobj
= Py_None
;
5610 #define wxDC_DrawLines(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLines(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5611 static PyObject
*_wrap_wxDC_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5612 PyObject
* _resultobj
;
5616 wxCoord _arg3
= (wxCoord
) 0;
5617 wxCoord _arg4
= (wxCoord
) 0;
5618 PyObject
* _argo0
= 0;
5620 PyObject
* _obj2
= 0;
5621 char *_kwnames
[] = { "self","points","xoffset","yoffset", NULL
};
5624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:wxDC_DrawLines",_kwnames
,&_argo0
,&_obj2
,&_arg3
,&_arg4
))
5627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLines. Expected _wxDC_p.");
5635 _arg2
= wxPoint_LIST_helper(_obj2
, &NPOINTS
);
5636 if (_arg2
== NULL
) {
5644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5645 wxDC_DrawLines(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5647 wxPyEndAllowThreads(__tstate
);
5648 if (PyErr_Occurred()) return NULL
;
5649 } Py_INCREF(Py_None
);
5650 _resultobj
= Py_None
;
5657 #define wxDC_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5658 static PyObject
*_wrap_wxDC_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5659 PyObject
* _resultobj
;
5663 wxCoord _arg3
= (wxCoord
) 0;
5664 wxCoord _arg4
= (wxCoord
) 0;
5665 int _arg5
= (int ) wxODDEVEN_RULE
;
5666 PyObject
* _argo0
= 0;
5668 PyObject
* _obj2
= 0;
5669 char *_kwnames
[] = { "self","points","xoffset","yoffset","fill_style", NULL
};
5672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iii:wxDC_DrawPolygon",_kwnames
,&_argo0
,&_obj2
,&_arg3
,&_arg4
,&_arg5
))
5675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPolygon. Expected _wxDC_p.");
5683 _arg2
= wxPoint_LIST_helper(_obj2
, &NPOINTS
);
5684 if (_arg2
== NULL
) {
5692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5693 wxDC_DrawPolygon(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
5695 wxPyEndAllowThreads(__tstate
);
5696 if (PyErr_Occurred()) return NULL
;
5697 } Py_INCREF(Py_None
);
5698 _resultobj
= Py_None
;
5705 #define wxDC_DrawPoint(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawPoint(_swigarg0,_swigarg1))
5706 static PyObject
*_wrap_wxDC_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5707 PyObject
* _resultobj
;
5711 PyObject
* _argo0
= 0;
5712 char *_kwnames
[] = { "self","x","y", NULL
};
5715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_DrawPoint",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPoint. Expected _wxDC_p.");
5725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5726 wxDC_DrawPoint(_arg0
,_arg1
,_arg2
);
5728 wxPyEndAllowThreads(__tstate
);
5729 if (PyErr_Occurred()) return NULL
;
5730 } Py_INCREF(Py_None
);
5731 _resultobj
= Py_None
;
5735 #define wxDC_DrawRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5736 static PyObject
*_wrap_wxDC_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5737 PyObject
* _resultobj
;
5743 PyObject
* _argo0
= 0;
5744 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
5747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxDC_DrawRectangle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
5750 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5751 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRectangle. Expected _wxDC_p.");
5757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5758 wxDC_DrawRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5760 wxPyEndAllowThreads(__tstate
);
5761 if (PyErr_Occurred()) return NULL
;
5762 } Py_INCREF(Py_None
);
5763 _resultobj
= Py_None
;
5767 #define wxDC_DrawRectangleRect(_swigobj,_swigarg0) (_swigobj->DrawRectangle(_swigarg0))
5768 static PyObject
*_wrap_wxDC_DrawRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5769 PyObject
* _resultobj
;
5772 PyObject
* _argo0
= 0;
5774 PyObject
* _obj1
= 0;
5775 char *_kwnames
[] = { "self","rect", NULL
};
5778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_DrawRectangleRect",_kwnames
,&_argo0
,&_obj1
))
5781 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5782 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRectangleRect. Expected _wxDC_p.");
5789 if (! wxRect_helper(_obj1
, &_arg1
))
5793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5794 wxDC_DrawRectangleRect(_arg0
,*_arg1
);
5796 wxPyEndAllowThreads(__tstate
);
5797 if (PyErr_Occurred()) return NULL
;
5798 } Py_INCREF(Py_None
);
5799 _resultobj
= Py_None
;
5803 #define wxDC_DrawRotatedText(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRotatedText(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5804 static PyObject
*_wrap_wxDC_DrawRotatedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5805 PyObject
* _resultobj
;
5811 PyObject
* _argo0
= 0;
5812 PyObject
* _obj1
= 0;
5813 char *_kwnames
[] = { "self","text","x","y","angle", NULL
};
5816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiid:wxDC_DrawRotatedText",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_arg4
))
5819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRotatedText. Expected _wxDC_p.");
5826 _arg1
= wxString_in_helper(_obj1
);
5831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5832 wxDC_DrawRotatedText(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
5834 wxPyEndAllowThreads(__tstate
);
5835 if (PyErr_Occurred()) return NULL
;
5836 } Py_INCREF(Py_None
);
5837 _resultobj
= Py_None
;
5845 #define wxDC_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5846 static PyObject
*_wrap_wxDC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5847 PyObject
* _resultobj
;
5853 wxCoord _arg5
= (wxCoord
) 20;
5854 PyObject
* _argo0
= 0;
5855 char *_kwnames
[] = { "self","x","y","width","height","radius", NULL
};
5858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxDC_DrawRoundedRectangle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
5861 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5862 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRoundedRectangle. Expected _wxDC_p.");
5868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5869 wxDC_DrawRoundedRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
5871 wxPyEndAllowThreads(__tstate
);
5872 if (PyErr_Occurred()) return NULL
;
5873 } Py_INCREF(Py_None
);
5874 _resultobj
= Py_None
;
5878 #define wxDC_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1))
5879 static PyObject
*_wrap_wxDC_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5880 PyObject
* _resultobj
;
5884 PyObject
* _argo0
= 0;
5886 PyObject
* _obj2
= 0;
5887 char *_kwnames
[] = { "self","points", NULL
};
5890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_DrawSpline",_kwnames
,&_argo0
,&_obj2
))
5893 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5894 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawSpline. Expected _wxDC_p.");
5901 _arg2
= wxPoint_LIST_helper(_obj2
, &NPOINTS
);
5902 if (_arg2
== NULL
) {
5910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5911 wxDC_DrawSpline(_arg0
,_arg1
,_arg2
);
5913 wxPyEndAllowThreads(__tstate
);
5914 if (PyErr_Occurred()) return NULL
;
5915 } Py_INCREF(Py_None
);
5916 _resultobj
= Py_None
;
5923 #define wxDC_DrawText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawText(_swigarg0,_swigarg1,_swigarg2))
5924 static PyObject
*_wrap_wxDC_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5925 PyObject
* _resultobj
;
5930 PyObject
* _argo0
= 0;
5931 PyObject
* _obj1
= 0;
5932 char *_kwnames
[] = { "self","text","x","y", NULL
};
5935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxDC_DrawText",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
))
5938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawText. Expected _wxDC_p.");
5945 _arg1
= wxString_in_helper(_obj1
);
5950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5951 wxDC_DrawText(_arg0
,*_arg1
,_arg2
,_arg3
);
5953 wxPyEndAllowThreads(__tstate
);
5954 if (PyErr_Occurred()) return NULL
;
5955 } Py_INCREF(Py_None
);
5956 _resultobj
= Py_None
;
5964 #define wxDC_EndDoc(_swigobj) (_swigobj->EndDoc())
5965 static PyObject
*_wrap_wxDC_EndDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5966 PyObject
* _resultobj
;
5968 PyObject
* _argo0
= 0;
5969 char *_kwnames
[] = { "self", NULL
};
5972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndDoc",_kwnames
,&_argo0
))
5975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDoc. Expected _wxDC_p.");
5982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5985 wxPyEndAllowThreads(__tstate
);
5986 if (PyErr_Occurred()) return NULL
;
5987 } Py_INCREF(Py_None
);
5988 _resultobj
= Py_None
;
5992 #define wxDC_EndDrawing(_swigobj) (_swigobj->EndDrawing())
5993 static PyObject
*_wrap_wxDC_EndDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5994 PyObject
* _resultobj
;
5996 PyObject
* _argo0
= 0;
5997 char *_kwnames
[] = { "self", NULL
};
6000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndDrawing",_kwnames
,&_argo0
))
6003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDrawing. Expected _wxDC_p.");
6010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6011 wxDC_EndDrawing(_arg0
);
6013 wxPyEndAllowThreads(__tstate
);
6014 if (PyErr_Occurred()) return NULL
;
6015 } Py_INCREF(Py_None
);
6016 _resultobj
= Py_None
;
6020 #define wxDC_EndPage(_swigobj) (_swigobj->EndPage())
6021 static PyObject
*_wrap_wxDC_EndPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6022 PyObject
* _resultobj
;
6024 PyObject
* _argo0
= 0;
6025 char *_kwnames
[] = { "self", NULL
};
6028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndPage",_kwnames
,&_argo0
))
6031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndPage. Expected _wxDC_p.");
6038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6039 wxDC_EndPage(_arg0
);
6041 wxPyEndAllowThreads(__tstate
);
6042 if (PyErr_Occurred()) return NULL
;
6043 } Py_INCREF(Py_None
);
6044 _resultobj
= Py_None
;
6048 #define wxDC_FloodFill(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FloodFill(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6049 static PyObject
*_wrap_wxDC_FloodFill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6050 PyObject
* _resultobj
;
6056 int _arg4
= (int ) wxFLOOD_SURFACE
;
6057 PyObject
* _argo0
= 0;
6059 PyObject
* _obj3
= 0;
6060 char *_kwnames
[] = { "self","x","y","colour","style", NULL
};
6063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO|i:wxDC_FloodFill",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
6066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_FloodFill. Expected _wxDC_p.");
6074 if (! wxColour_helper(_obj3
, &_arg3
))
6078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6079 _result
= (bool )wxDC_FloodFill(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
6081 wxPyEndAllowThreads(__tstate
);
6082 if (PyErr_Occurred()) return NULL
;
6083 } _resultobj
= Py_BuildValue("i",_result
);
6087 #define wxDC_GetBackground(_swigobj) (_swigobj->GetBackground())
6088 static PyObject
*_wrap_wxDC_GetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6089 PyObject
* _resultobj
;
6092 PyObject
* _argo0
= 0;
6093 char *_kwnames
[] = { "self", NULL
};
6097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBackground",_kwnames
,&_argo0
))
6100 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6101 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBackground. Expected _wxDC_p.");
6107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6108 _result
= new wxBrush (wxDC_GetBackground(_arg0
));
6110 wxPyEndAllowThreads(__tstate
);
6111 if (PyErr_Occurred()) return NULL
;
6112 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBrush_p");
6113 _resultobj
= Py_BuildValue("s",_ptemp
);
6117 #define wxDC_GetBrush(_swigobj) (_swigobj->GetBrush())
6118 static PyObject
*_wrap_wxDC_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6119 PyObject
* _resultobj
;
6122 PyObject
* _argo0
= 0;
6123 char *_kwnames
[] = { "self", NULL
};
6127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBrush",_kwnames
,&_argo0
))
6130 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6131 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBrush. Expected _wxDC_p.");
6137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6138 _result
= new wxBrush (wxDC_GetBrush(_arg0
));
6140 wxPyEndAllowThreads(__tstate
);
6141 if (PyErr_Occurred()) return NULL
;
6142 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBrush_p");
6143 _resultobj
= Py_BuildValue("s",_ptemp
);
6147 #define wxDC_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
6148 static PyObject
*_wrap_wxDC_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6149 PyObject
* _resultobj
;
6152 PyObject
* _argo0
= 0;
6153 char *_kwnames
[] = { "self", NULL
};
6156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetCharHeight",_kwnames
,&_argo0
))
6159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharHeight. Expected _wxDC_p.");
6166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6167 _result
= (wxCoord
)wxDC_GetCharHeight(_arg0
);
6169 wxPyEndAllowThreads(__tstate
);
6170 if (PyErr_Occurred()) return NULL
;
6171 } _resultobj
= Py_BuildValue("i",_result
);
6175 #define wxDC_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
6176 static PyObject
*_wrap_wxDC_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6177 PyObject
* _resultobj
;
6180 PyObject
* _argo0
= 0;
6181 char *_kwnames
[] = { "self", NULL
};
6184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetCharWidth",_kwnames
,&_argo0
))
6187 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6188 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharWidth. Expected _wxDC_p.");
6194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6195 _result
= (wxCoord
)wxDC_GetCharWidth(_arg0
);
6197 wxPyEndAllowThreads(__tstate
);
6198 if (PyErr_Occurred()) return NULL
;
6199 } _resultobj
= Py_BuildValue("i",_result
);
6203 #define wxDC_GetClippingBox(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetClippingBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6204 static PyObject
*_wrap_wxDC_GetClippingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6205 PyObject
* _resultobj
;
6215 PyObject
* _argo0
= 0;
6216 char *_kwnames
[] = { "self", NULL
};
6231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetClippingBox",_kwnames
,&_argo0
))
6234 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6235 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetClippingBox. Expected _wxDC_p.");
6241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6242 wxDC_GetClippingBox(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6244 wxPyEndAllowThreads(__tstate
);
6245 if (PyErr_Occurred()) return NULL
;
6246 } Py_INCREF(Py_None
);
6247 _resultobj
= Py_None
;
6250 o
= PyInt_FromLong((long) (*_arg1
));
6251 _resultobj
= t_output_helper(_resultobj
, o
);
6255 o
= PyInt_FromLong((long) (*_arg2
));
6256 _resultobj
= t_output_helper(_resultobj
, o
);
6260 o
= PyInt_FromLong((long) (*_arg3
));
6261 _resultobj
= t_output_helper(_resultobj
, o
);
6265 o
= PyInt_FromLong((long) (*_arg4
));
6266 _resultobj
= t_output_helper(_resultobj
, o
);
6271 #define wxDC_GetFont(_swigobj) (_swigobj->GetFont())
6272 static PyObject
*_wrap_wxDC_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6273 PyObject
* _resultobj
;
6276 PyObject
* _argo0
= 0;
6277 char *_kwnames
[] = { "self", NULL
};
6281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetFont",_kwnames
,&_argo0
))
6284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFont. Expected _wxDC_p.");
6291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6292 _result
= new wxFont (wxDC_GetFont(_arg0
));
6294 wxPyEndAllowThreads(__tstate
);
6295 if (PyErr_Occurred()) return NULL
;
6296 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
6297 _resultobj
= Py_BuildValue("s",_ptemp
);
6301 #define wxDC_GetLogicalFunction(_swigobj) (_swigobj->GetLogicalFunction())
6302 static PyObject
*_wrap_wxDC_GetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6303 PyObject
* _resultobj
;
6306 PyObject
* _argo0
= 0;
6307 char *_kwnames
[] = { "self", NULL
};
6310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalFunction",_kwnames
,&_argo0
))
6313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalFunction. Expected _wxDC_p.");
6320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6321 _result
= (int )wxDC_GetLogicalFunction(_arg0
);
6323 wxPyEndAllowThreads(__tstate
);
6324 if (PyErr_Occurred()) return NULL
;
6325 } _resultobj
= Py_BuildValue("i",_result
);
6329 #define wxDC_GetLogicalScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLogicalScale(_swigarg0,_swigarg1))
6330 static PyObject
*_wrap_wxDC_GetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6331 PyObject
* _resultobj
;
6337 PyObject
* _argo0
= 0;
6338 char *_kwnames
[] = { "self", NULL
};
6347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalScale",_kwnames
,&_argo0
))
6350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalScale. Expected _wxDC_p.");
6357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6358 wxDC_GetLogicalScale(_arg0
,_arg1
,_arg2
);
6360 wxPyEndAllowThreads(__tstate
);
6361 if (PyErr_Occurred()) return NULL
;
6362 } Py_INCREF(Py_None
);
6363 _resultobj
= Py_None
;
6366 o
= PyFloat_FromDouble((double) (*_arg1
));
6367 _resultobj
= t_output_helper(_resultobj
, o
);
6371 o
= PyFloat_FromDouble((double) (*_arg2
));
6372 _resultobj
= t_output_helper(_resultobj
, o
);
6377 #define wxDC_GetMapMode(_swigobj) (_swigobj->GetMapMode())
6378 static PyObject
*_wrap_wxDC_GetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6379 PyObject
* _resultobj
;
6382 PyObject
* _argo0
= 0;
6383 char *_kwnames
[] = { "self", NULL
};
6386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetMapMode",_kwnames
,&_argo0
))
6389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetMapMode. Expected _wxDC_p.");
6396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6397 _result
= (int )wxDC_GetMapMode(_arg0
);
6399 wxPyEndAllowThreads(__tstate
);
6400 if (PyErr_Occurred()) return NULL
;
6401 } _resultobj
= Py_BuildValue("i",_result
);
6405 #define wxDC_GetOptimization(_swigobj) (_swigobj->GetOptimization())
6406 static PyObject
*_wrap_wxDC_GetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6407 PyObject
* _resultobj
;
6410 PyObject
* _argo0
= 0;
6411 char *_kwnames
[] = { "self", NULL
};
6414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetOptimization",_kwnames
,&_argo0
))
6417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetOptimization. Expected _wxDC_p.");
6424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6425 _result
= (bool )wxDC_GetOptimization(_arg0
);
6427 wxPyEndAllowThreads(__tstate
);
6428 if (PyErr_Occurred()) return NULL
;
6429 } _resultobj
= Py_BuildValue("i",_result
);
6433 #define wxDC_GetPen(_swigobj) (_swigobj->GetPen())
6434 static PyObject
*_wrap_wxDC_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6435 PyObject
* _resultobj
;
6438 PyObject
* _argo0
= 0;
6439 char *_kwnames
[] = { "self", NULL
};
6443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetPen",_kwnames
,&_argo0
))
6446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPen. Expected _wxDC_p.");
6453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6454 _result
= new wxPen (wxDC_GetPen(_arg0
));
6456 wxPyEndAllowThreads(__tstate
);
6457 if (PyErr_Occurred()) return NULL
;
6458 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPen_p");
6459 _resultobj
= Py_BuildValue("s",_ptemp
);
6463 static wxColour
* wxDC_GetPixel(wxDC
*self
,wxCoord x
,wxCoord y
) {
6464 wxColour
* wc
= new wxColour();
6465 self
->GetPixel(x
, y
, wc
);
6468 static PyObject
*_wrap_wxDC_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6469 PyObject
* _resultobj
;
6474 PyObject
* _argo0
= 0;
6475 char *_kwnames
[] = { "self","x","y", NULL
};
6479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_GetPixel",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPixel. Expected _wxDC_p.");
6489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6490 _result
= (wxColour
*)wxDC_GetPixel(_arg0
,_arg1
,_arg2
);
6492 wxPyEndAllowThreads(__tstate
);
6493 if (PyErr_Occurred()) return NULL
;
6495 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
6496 _resultobj
= Py_BuildValue("s",_ptemp
);
6499 _resultobj
= Py_None
;
6504 #define wxDC_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
6505 static PyObject
*_wrap_wxDC_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6506 PyObject
* _resultobj
;
6512 PyObject
* _argo0
= 0;
6513 char *_kwnames
[] = { "self", NULL
};
6522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSizeTuple",_kwnames
,&_argo0
))
6525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSizeTuple. Expected _wxDC_p.");
6532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6533 wxDC_GetSizeTuple(_arg0
,_arg1
,_arg2
);
6535 wxPyEndAllowThreads(__tstate
);
6536 if (PyErr_Occurred()) return NULL
;
6537 } Py_INCREF(Py_None
);
6538 _resultobj
= Py_None
;
6541 o
= PyInt_FromLong((long) (*_arg1
));
6542 _resultobj
= t_output_helper(_resultobj
, o
);
6546 o
= PyInt_FromLong((long) (*_arg2
));
6547 _resultobj
= t_output_helper(_resultobj
, o
);
6552 #define wxDC_GetSize(_swigobj) (_swigobj->GetSize())
6553 static PyObject
*_wrap_wxDC_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6554 PyObject
* _resultobj
;
6557 PyObject
* _argo0
= 0;
6558 char *_kwnames
[] = { "self", NULL
};
6562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSize",_kwnames
,&_argo0
))
6565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSize. Expected _wxDC_p.");
6572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6573 _result
= new wxSize (wxDC_GetSize(_arg0
));
6575 wxPyEndAllowThreads(__tstate
);
6576 if (PyErr_Occurred()) return NULL
;
6577 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
6578 _resultobj
= Py_BuildValue("s",_ptemp
);
6582 #define wxDC_GetSizeMM(_swigobj) (_swigobj->GetSizeMM())
6583 static PyObject
*_wrap_wxDC_GetSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6584 PyObject
* _resultobj
;
6587 PyObject
* _argo0
= 0;
6588 char *_kwnames
[] = { "self", NULL
};
6592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSizeMM",_kwnames
,&_argo0
))
6595 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6596 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSizeMM. Expected _wxDC_p.");
6602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6603 _result
= new wxSize (wxDC_GetSizeMM(_arg0
));
6605 wxPyEndAllowThreads(__tstate
);
6606 if (PyErr_Occurred()) return NULL
;
6607 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
6608 _resultobj
= Py_BuildValue("s",_ptemp
);
6612 #define wxDC_GetTextBackground(_swigobj) (_swigobj->GetTextBackground())
6613 static PyObject
*_wrap_wxDC_GetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6614 PyObject
* _resultobj
;
6617 PyObject
* _argo0
= 0;
6618 char *_kwnames
[] = { "self", NULL
};
6622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetTextBackground",_kwnames
,&_argo0
))
6625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextBackground. Expected _wxDC_p.");
6632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6633 _result
= new wxColour (wxDC_GetTextBackground(_arg0
));
6635 wxPyEndAllowThreads(__tstate
);
6636 if (PyErr_Occurred()) return NULL
;
6637 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
6638 _resultobj
= Py_BuildValue("s",_ptemp
);
6642 #define wxDC_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
6643 static PyObject
*_wrap_wxDC_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6644 PyObject
* _resultobj
;
6651 PyObject
* _argo0
= 0;
6652 PyObject
* _obj1
= 0;
6653 char *_kwnames
[] = { "self","string", NULL
};
6662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
6665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextExtent. Expected _wxDC_p.");
6672 _arg1
= wxString_in_helper(_obj1
);
6677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6678 wxDC_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
6680 wxPyEndAllowThreads(__tstate
);
6681 if (PyErr_Occurred()) return NULL
;
6682 } Py_INCREF(Py_None
);
6683 _resultobj
= Py_None
;
6686 o
= PyInt_FromLong((long) (*_arg2
));
6687 _resultobj
= t_output_helper(_resultobj
, o
);
6691 o
= PyInt_FromLong((long) (*_arg3
));
6692 _resultobj
= t_output_helper(_resultobj
, o
);
6701 #define wxDC_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6702 static PyObject
*_wrap_wxDC_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6703 PyObject
* _resultobj
;
6714 wxFont
* _arg6
= (wxFont
*) NULL
;
6715 PyObject
* _argo0
= 0;
6716 PyObject
* _obj1
= 0;
6717 PyObject
* _argo6
= 0;
6718 char *_kwnames
[] = { "self","string","font", NULL
};
6733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxDC_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
6736 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6737 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFullTextExtent. Expected _wxDC_p.");
6743 _arg1
= wxString_in_helper(_obj1
);
6748 if (_argo6
== Py_None
) { _arg6
= NULL
; }
6749 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
6750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxDC_GetFullTextExtent. Expected _wxFont_p.");
6755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6756 wxDC_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
6758 wxPyEndAllowThreads(__tstate
);
6759 if (PyErr_Occurred()) return NULL
;
6760 } Py_INCREF(Py_None
);
6761 _resultobj
= Py_None
;
6764 o
= PyInt_FromLong((long) (*_arg2
));
6765 _resultobj
= t_output_helper(_resultobj
, o
);
6769 o
= PyInt_FromLong((long) (*_arg3
));
6770 _resultobj
= t_output_helper(_resultobj
, o
);
6774 o
= PyInt_FromLong((long) (*_arg4
));
6775 _resultobj
= t_output_helper(_resultobj
, o
);
6779 o
= PyInt_FromLong((long) (*_arg5
));
6780 _resultobj
= t_output_helper(_resultobj
, o
);
6789 #define wxDC_GetMultiLineTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->GetMultiLineTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6790 static PyObject
*_wrap_wxDC_GetMultiLineTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6791 PyObject
* _resultobj
;
6800 wxFont
* _arg5
= (wxFont
*) NULL
;
6801 PyObject
* _argo0
= 0;
6802 PyObject
* _obj1
= 0;
6803 PyObject
* _argo5
= 0;
6804 char *_kwnames
[] = { "self","text","font", NULL
};
6816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxDC_GetMultiLineTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo5
))
6819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetMultiLineTextExtent. Expected _wxDC_p.");
6826 _arg1
= wxString_in_helper(_obj1
);
6831 if (_argo5
== Py_None
) { _arg5
= NULL
; }
6832 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxFont_p")) {
6833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxDC_GetMultiLineTextExtent. Expected _wxFont_p.");
6838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6839 wxDC_GetMultiLineTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
6841 wxPyEndAllowThreads(__tstate
);
6842 if (PyErr_Occurred()) return NULL
;
6843 } Py_INCREF(Py_None
);
6844 _resultobj
= Py_None
;
6847 o
= PyInt_FromLong((long) (*_arg2
));
6848 _resultobj
= t_output_helper(_resultobj
, o
);
6852 o
= PyInt_FromLong((long) (*_arg3
));
6853 _resultobj
= t_output_helper(_resultobj
, o
);
6857 o
= PyInt_FromLong((long) (*_arg4
));
6858 _resultobj
= t_output_helper(_resultobj
, o
);
6867 #define wxDC_GetTextForeground(_swigobj) (_swigobj->GetTextForeground())
6868 static PyObject
*_wrap_wxDC_GetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6869 PyObject
* _resultobj
;
6872 PyObject
* _argo0
= 0;
6873 char *_kwnames
[] = { "self", NULL
};
6877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetTextForeground",_kwnames
,&_argo0
))
6880 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6881 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextForeground. Expected _wxDC_p.");
6887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6888 _result
= new wxColour (wxDC_GetTextForeground(_arg0
));
6890 wxPyEndAllowThreads(__tstate
);
6891 if (PyErr_Occurred()) return NULL
;
6892 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
6893 _resultobj
= Py_BuildValue("s",_ptemp
);
6897 #define wxDC_GetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetUserScale(_swigarg0,_swigarg1))
6898 static PyObject
*_wrap_wxDC_GetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6899 PyObject
* _resultobj
;
6905 PyObject
* _argo0
= 0;
6906 char *_kwnames
[] = { "self", NULL
};
6915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetUserScale",_kwnames
,&_argo0
))
6918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetUserScale. Expected _wxDC_p.");
6925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6926 wxDC_GetUserScale(_arg0
,_arg1
,_arg2
);
6928 wxPyEndAllowThreads(__tstate
);
6929 if (PyErr_Occurred()) return NULL
;
6930 } Py_INCREF(Py_None
);
6931 _resultobj
= Py_None
;
6934 o
= PyFloat_FromDouble((double) (*_arg1
));
6935 _resultobj
= t_output_helper(_resultobj
, o
);
6939 o
= PyFloat_FromDouble((double) (*_arg2
));
6940 _resultobj
= t_output_helper(_resultobj
, o
);
6945 #define wxDC_LogicalToDeviceX(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceX(_swigarg0))
6946 static PyObject
*_wrap_wxDC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6947 PyObject
* _resultobj
;
6951 PyObject
* _argo0
= 0;
6952 char *_kwnames
[] = { "self","x", NULL
};
6955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_LogicalToDeviceX",_kwnames
,&_argo0
,&_arg1
))
6958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceX. Expected _wxDC_p.");
6965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6966 _result
= (wxCoord
)wxDC_LogicalToDeviceX(_arg0
,_arg1
);
6968 wxPyEndAllowThreads(__tstate
);
6969 if (PyErr_Occurred()) return NULL
;
6970 } _resultobj
= Py_BuildValue("i",_result
);
6974 #define wxDC_LogicalToDeviceXRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceXRel(_swigarg0))
6975 static PyObject
*_wrap_wxDC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6976 PyObject
* _resultobj
;
6980 PyObject
* _argo0
= 0;
6981 char *_kwnames
[] = { "self","x", NULL
};
6984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_LogicalToDeviceXRel",_kwnames
,&_argo0
,&_arg1
))
6987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceXRel. Expected _wxDC_p.");
6994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6995 _result
= (wxCoord
)wxDC_LogicalToDeviceXRel(_arg0
,_arg1
);
6997 wxPyEndAllowThreads(__tstate
);
6998 if (PyErr_Occurred()) return NULL
;
6999 } _resultobj
= Py_BuildValue("i",_result
);
7003 #define wxDC_LogicalToDeviceY(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceY(_swigarg0))
7004 static PyObject
*_wrap_wxDC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7005 PyObject
* _resultobj
;
7009 PyObject
* _argo0
= 0;
7010 char *_kwnames
[] = { "self","y", NULL
};
7013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_LogicalToDeviceY",_kwnames
,&_argo0
,&_arg1
))
7016 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7017 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceY. Expected _wxDC_p.");
7023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7024 _result
= (wxCoord
)wxDC_LogicalToDeviceY(_arg0
,_arg1
);
7026 wxPyEndAllowThreads(__tstate
);
7027 if (PyErr_Occurred()) return NULL
;
7028 } _resultobj
= Py_BuildValue("i",_result
);
7032 #define wxDC_LogicalToDeviceYRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceYRel(_swigarg0))
7033 static PyObject
*_wrap_wxDC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7034 PyObject
* _resultobj
;
7038 PyObject
* _argo0
= 0;
7039 char *_kwnames
[] = { "self","y", NULL
};
7042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_LogicalToDeviceYRel",_kwnames
,&_argo0
,&_arg1
))
7045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceYRel. Expected _wxDC_p.");
7052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7053 _result
= (wxCoord
)wxDC_LogicalToDeviceYRel(_arg0
,_arg1
);
7055 wxPyEndAllowThreads(__tstate
);
7056 if (PyErr_Occurred()) return NULL
;
7057 } _resultobj
= Py_BuildValue("i",_result
);
7061 #define wxDC_MaxX(_swigobj) (_swigobj->MaxX())
7062 static PyObject
*_wrap_wxDC_MaxX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7063 PyObject
* _resultobj
;
7066 PyObject
* _argo0
= 0;
7067 char *_kwnames
[] = { "self", NULL
};
7070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MaxX",_kwnames
,&_argo0
))
7073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxX. Expected _wxDC_p.");
7080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7081 _result
= (wxCoord
)wxDC_MaxX(_arg0
);
7083 wxPyEndAllowThreads(__tstate
);
7084 if (PyErr_Occurred()) return NULL
;
7085 } _resultobj
= Py_BuildValue("i",_result
);
7089 #define wxDC_MaxY(_swigobj) (_swigobj->MaxY())
7090 static PyObject
*_wrap_wxDC_MaxY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7091 PyObject
* _resultobj
;
7094 PyObject
* _argo0
= 0;
7095 char *_kwnames
[] = { "self", NULL
};
7098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MaxY",_kwnames
,&_argo0
))
7101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxY. Expected _wxDC_p.");
7108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7109 _result
= (wxCoord
)wxDC_MaxY(_arg0
);
7111 wxPyEndAllowThreads(__tstate
);
7112 if (PyErr_Occurred()) return NULL
;
7113 } _resultobj
= Py_BuildValue("i",_result
);
7117 #define wxDC_MinX(_swigobj) (_swigobj->MinX())
7118 static PyObject
*_wrap_wxDC_MinX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7119 PyObject
* _resultobj
;
7122 PyObject
* _argo0
= 0;
7123 char *_kwnames
[] = { "self", NULL
};
7126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MinX",_kwnames
,&_argo0
))
7129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinX. Expected _wxDC_p.");
7136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7137 _result
= (wxCoord
)wxDC_MinX(_arg0
);
7139 wxPyEndAllowThreads(__tstate
);
7140 if (PyErr_Occurred()) return NULL
;
7141 } _resultobj
= Py_BuildValue("i",_result
);
7145 #define wxDC_MinY(_swigobj) (_swigobj->MinY())
7146 static PyObject
*_wrap_wxDC_MinY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7147 PyObject
* _resultobj
;
7150 PyObject
* _argo0
= 0;
7151 char *_kwnames
[] = { "self", NULL
};
7154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MinY",_kwnames
,&_argo0
))
7157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinY. Expected _wxDC_p.");
7164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7165 _result
= (wxCoord
)wxDC_MinY(_arg0
);
7167 wxPyEndAllowThreads(__tstate
);
7168 if (PyErr_Occurred()) return NULL
;
7169 } _resultobj
= Py_BuildValue("i",_result
);
7173 #define wxDC_Ok(_swigobj) (_swigobj->Ok())
7174 static PyObject
*_wrap_wxDC_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7175 PyObject
* _resultobj
;
7178 PyObject
* _argo0
= 0;
7179 char *_kwnames
[] = { "self", NULL
};
7182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_Ok",_kwnames
,&_argo0
))
7185 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7186 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Ok. Expected _wxDC_p.");
7192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7193 _result
= (bool )wxDC_Ok(_arg0
);
7195 wxPyEndAllowThreads(__tstate
);
7196 if (PyErr_Occurred()) return NULL
;
7197 } _resultobj
= Py_BuildValue("i",_result
);
7201 #define wxDC_SetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDeviceOrigin(_swigarg0,_swigarg1))
7202 static PyObject
*_wrap_wxDC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7203 PyObject
* _resultobj
;
7207 PyObject
* _argo0
= 0;
7208 char *_kwnames
[] = { "self","x","y", NULL
};
7211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_SetDeviceOrigin",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetDeviceOrigin. Expected _wxDC_p.");
7221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7222 wxDC_SetDeviceOrigin(_arg0
,_arg1
,_arg2
);
7224 wxPyEndAllowThreads(__tstate
);
7225 if (PyErr_Occurred()) return NULL
;
7226 } Py_INCREF(Py_None
);
7227 _resultobj
= Py_None
;
7231 #define wxDC_SetBackground(_swigobj,_swigarg0) (_swigobj->SetBackground(_swigarg0))
7232 static PyObject
*_wrap_wxDC_SetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7233 PyObject
* _resultobj
;
7236 PyObject
* _argo0
= 0;
7237 PyObject
* _argo1
= 0;
7238 char *_kwnames
[] = { "self","brush", NULL
};
7241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetBackground",_kwnames
,&_argo0
,&_argo1
))
7244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackground. Expected _wxDC_p.");
7251 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
7252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBackground. Expected _wxBrush_p.");
7257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7258 wxDC_SetBackground(_arg0
,*_arg1
);
7260 wxPyEndAllowThreads(__tstate
);
7261 if (PyErr_Occurred()) return NULL
;
7262 } Py_INCREF(Py_None
);
7263 _resultobj
= Py_None
;
7267 #define wxDC_SetBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetBackgroundMode(_swigarg0))
7268 static PyObject
*_wrap_wxDC_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7269 PyObject
* _resultobj
;
7272 PyObject
* _argo0
= 0;
7273 char *_kwnames
[] = { "self","mode", NULL
};
7276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetBackgroundMode",_kwnames
,&_argo0
,&_arg1
))
7279 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7280 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackgroundMode. Expected _wxDC_p.");
7286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7287 wxDC_SetBackgroundMode(_arg0
,_arg1
);
7289 wxPyEndAllowThreads(__tstate
);
7290 if (PyErr_Occurred()) return NULL
;
7291 } Py_INCREF(Py_None
);
7292 _resultobj
= Py_None
;
7296 #define wxDC_SetClippingRegion(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetClippingRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7297 static PyObject
*_wrap_wxDC_SetClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7298 PyObject
* _resultobj
;
7304 PyObject
* _argo0
= 0;
7305 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
7308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxDC_SetClippingRegion",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetClippingRegion. Expected _wxDC_p.");
7318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7319 wxDC_SetClippingRegion(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7321 wxPyEndAllowThreads(__tstate
);
7322 if (PyErr_Occurred()) return NULL
;
7323 } Py_INCREF(Py_None
);
7324 _resultobj
= Py_None
;
7328 #define wxDC_SetClippingRegionAsRegion(_swigobj,_swigarg0) (_swigobj->SetClippingRegion(_swigarg0))
7329 static PyObject
*_wrap_wxDC_SetClippingRegionAsRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7330 PyObject
* _resultobj
;
7333 PyObject
* _argo0
= 0;
7334 PyObject
* _argo1
= 0;
7335 char *_kwnames
[] = { "self","region", NULL
};
7338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetClippingRegionAsRegion",_kwnames
,&_argo0
,&_argo1
))
7341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetClippingRegionAsRegion. Expected _wxDC_p.");
7348 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
7349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetClippingRegionAsRegion. Expected _wxRegion_p.");
7354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7355 wxDC_SetClippingRegionAsRegion(_arg0
,*_arg1
);
7357 wxPyEndAllowThreads(__tstate
);
7358 if (PyErr_Occurred()) return NULL
;
7359 } Py_INCREF(Py_None
);
7360 _resultobj
= Py_None
;
7364 #define wxDC_SetClippingRect(_swigobj,_swigarg0) (_swigobj->SetClippingRegion(_swigarg0))
7365 static PyObject
*_wrap_wxDC_SetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7366 PyObject
* _resultobj
;
7369 PyObject
* _argo0
= 0;
7371 PyObject
* _obj1
= 0;
7372 char *_kwnames
[] = { "self","rect", NULL
};
7375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetClippingRect",_kwnames
,&_argo0
,&_obj1
))
7378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetClippingRect. Expected _wxDC_p.");
7386 if (! wxRect_helper(_obj1
, &_arg1
))
7390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7391 wxDC_SetClippingRect(_arg0
,*_arg1
);
7393 wxPyEndAllowThreads(__tstate
);
7394 if (PyErr_Occurred()) return NULL
;
7395 } Py_INCREF(Py_None
);
7396 _resultobj
= Py_None
;
7400 #define wxDC_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
7401 static PyObject
*_wrap_wxDC_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7402 PyObject
* _resultobj
;
7405 PyObject
* _argo0
= 0;
7406 PyObject
* _argo1
= 0;
7407 char *_kwnames
[] = { "self","colourMap", NULL
};
7410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetPalette",_kwnames
,&_argo0
,&_argo1
))
7413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPalette. Expected _wxDC_p.");
7420 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPalette_p")) {
7421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPalette. Expected _wxPalette_p.");
7426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7427 wxDC_SetPalette(_arg0
,*_arg1
);
7429 wxPyEndAllowThreads(__tstate
);
7430 if (PyErr_Occurred()) return NULL
;
7431 } Py_INCREF(Py_None
);
7432 _resultobj
= Py_None
;
7436 #define wxDC_SetBrush(_swigobj,_swigarg0) (_swigobj->SetBrush(_swigarg0))
7437 static PyObject
*_wrap_wxDC_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7438 PyObject
* _resultobj
;
7441 PyObject
* _argo0
= 0;
7442 PyObject
* _argo1
= 0;
7443 char *_kwnames
[] = { "self","brush", NULL
};
7446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetBrush",_kwnames
,&_argo0
,&_argo1
))
7449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBrush. Expected _wxDC_p.");
7456 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
7457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBrush. Expected _wxBrush_p.");
7462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7463 wxDC_SetBrush(_arg0
,*_arg1
);
7465 wxPyEndAllowThreads(__tstate
);
7466 if (PyErr_Occurred()) return NULL
;
7467 } Py_INCREF(Py_None
);
7468 _resultobj
= Py_None
;
7472 #define wxDC_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
7473 static PyObject
*_wrap_wxDC_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7474 PyObject
* _resultobj
;
7477 PyObject
* _argo0
= 0;
7478 PyObject
* _argo1
= 0;
7479 char *_kwnames
[] = { "self","font", NULL
};
7482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetFont",_kwnames
,&_argo0
,&_argo1
))
7485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetFont. Expected _wxDC_p.");
7492 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
7493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetFont. Expected _wxFont_p.");
7498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7499 wxDC_SetFont(_arg0
,*_arg1
);
7501 wxPyEndAllowThreads(__tstate
);
7502 if (PyErr_Occurred()) return NULL
;
7503 } Py_INCREF(Py_None
);
7504 _resultobj
= Py_None
;
7508 #define wxDC_SetLogicalFunction(_swigobj,_swigarg0) (_swigobj->SetLogicalFunction(_swigarg0))
7509 static PyObject
*_wrap_wxDC_SetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7510 PyObject
* _resultobj
;
7513 PyObject
* _argo0
= 0;
7514 char *_kwnames
[] = { "self","function", NULL
};
7517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetLogicalFunction",_kwnames
,&_argo0
,&_arg1
))
7520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalFunction. Expected _wxDC_p.");
7527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7528 wxDC_SetLogicalFunction(_arg0
,_arg1
);
7530 wxPyEndAllowThreads(__tstate
);
7531 if (PyErr_Occurred()) return NULL
;
7532 } Py_INCREF(Py_None
);
7533 _resultobj
= Py_None
;
7537 #define wxDC_SetLogicalScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLogicalScale(_swigarg0,_swigarg1))
7538 static PyObject
*_wrap_wxDC_SetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7539 PyObject
* _resultobj
;
7543 PyObject
* _argo0
= 0;
7544 char *_kwnames
[] = { "self","x","y", NULL
};
7547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxDC_SetLogicalScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalScale. Expected _wxDC_p.");
7557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7558 wxDC_SetLogicalScale(_arg0
,_arg1
,_arg2
);
7560 wxPyEndAllowThreads(__tstate
);
7561 if (PyErr_Occurred()) return NULL
;
7562 } Py_INCREF(Py_None
);
7563 _resultobj
= Py_None
;
7567 #define wxDC_SetMapMode(_swigobj,_swigarg0) (_swigobj->SetMapMode(_swigarg0))
7568 static PyObject
*_wrap_wxDC_SetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7569 PyObject
* _resultobj
;
7572 PyObject
* _argo0
= 0;
7573 char *_kwnames
[] = { "self","mode", NULL
};
7576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetMapMode",_kwnames
,&_argo0
,&_arg1
))
7579 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7580 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetMapMode. Expected _wxDC_p.");
7586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7587 wxDC_SetMapMode(_arg0
,_arg1
);
7589 wxPyEndAllowThreads(__tstate
);
7590 if (PyErr_Occurred()) return NULL
;
7591 } Py_INCREF(Py_None
);
7592 _resultobj
= Py_None
;
7596 #define wxDC_SetOptimization(_swigobj,_swigarg0) (_swigobj->SetOptimization(_swigarg0))
7597 static PyObject
*_wrap_wxDC_SetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7598 PyObject
* _resultobj
;
7601 PyObject
* _argo0
= 0;
7603 char *_kwnames
[] = { "self","optimize", NULL
};
7606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetOptimization",_kwnames
,&_argo0
,&tempbool1
))
7609 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7610 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetOptimization. Expected _wxDC_p.");
7615 _arg1
= (bool ) tempbool1
;
7617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7618 wxDC_SetOptimization(_arg0
,_arg1
);
7620 wxPyEndAllowThreads(__tstate
);
7621 if (PyErr_Occurred()) return NULL
;
7622 } Py_INCREF(Py_None
);
7623 _resultobj
= Py_None
;
7627 #define wxDC_SetPen(_swigobj,_swigarg0) (_swigobj->SetPen(_swigarg0))
7628 static PyObject
*_wrap_wxDC_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7629 PyObject
* _resultobj
;
7632 PyObject
* _argo0
= 0;
7633 PyObject
* _argo1
= 0;
7634 char *_kwnames
[] = { "self","pen", NULL
};
7637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetPen",_kwnames
,&_argo0
,&_argo1
))
7640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPen. Expected _wxDC_p.");
7647 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
7648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPen. Expected _wxPen_p.");
7653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7654 wxDC_SetPen(_arg0
,*_arg1
);
7656 wxPyEndAllowThreads(__tstate
);
7657 if (PyErr_Occurred()) return NULL
;
7658 } Py_INCREF(Py_None
);
7659 _resultobj
= Py_None
;
7663 #define wxDC_SetTextBackground(_swigobj,_swigarg0) (_swigobj->SetTextBackground(_swigarg0))
7664 static PyObject
*_wrap_wxDC_SetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7665 PyObject
* _resultobj
;
7668 PyObject
* _argo0
= 0;
7670 PyObject
* _obj1
= 0;
7671 char *_kwnames
[] = { "self","colour", NULL
};
7674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetTextBackground",_kwnames
,&_argo0
,&_obj1
))
7677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextBackground. Expected _wxDC_p.");
7685 if (! wxColour_helper(_obj1
, &_arg1
))
7689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7690 wxDC_SetTextBackground(_arg0
,*_arg1
);
7692 wxPyEndAllowThreads(__tstate
);
7693 if (PyErr_Occurred()) return NULL
;
7694 } Py_INCREF(Py_None
);
7695 _resultobj
= Py_None
;
7699 #define wxDC_SetTextForeground(_swigobj,_swigarg0) (_swigobj->SetTextForeground(_swigarg0))
7700 static PyObject
*_wrap_wxDC_SetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7701 PyObject
* _resultobj
;
7704 PyObject
* _argo0
= 0;
7706 PyObject
* _obj1
= 0;
7707 char *_kwnames
[] = { "self","colour", NULL
};
7710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetTextForeground",_kwnames
,&_argo0
,&_obj1
))
7713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextForeground. Expected _wxDC_p.");
7721 if (! wxColour_helper(_obj1
, &_arg1
))
7725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7726 wxDC_SetTextForeground(_arg0
,*_arg1
);
7728 wxPyEndAllowThreads(__tstate
);
7729 if (PyErr_Occurred()) return NULL
;
7730 } Py_INCREF(Py_None
);
7731 _resultobj
= Py_None
;
7735 #define wxDC_SetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetUserScale(_swigarg0,_swigarg1))
7736 static PyObject
*_wrap_wxDC_SetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7737 PyObject
* _resultobj
;
7741 PyObject
* _argo0
= 0;
7742 char *_kwnames
[] = { "self","x_scale","y_scale", NULL
};
7745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxDC_SetUserScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetUserScale. Expected _wxDC_p.");
7755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7756 wxDC_SetUserScale(_arg0
,_arg1
,_arg2
);
7758 wxPyEndAllowThreads(__tstate
);
7759 if (PyErr_Occurred()) return NULL
;
7760 } Py_INCREF(Py_None
);
7761 _resultobj
= Py_None
;
7765 #define wxDC_StartDoc(_swigobj,_swigarg0) (_swigobj->StartDoc(_swigarg0))
7766 static PyObject
*_wrap_wxDC_StartDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7767 PyObject
* _resultobj
;
7771 PyObject
* _argo0
= 0;
7772 PyObject
* _obj1
= 0;
7773 char *_kwnames
[] = { "self","message", NULL
};
7776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_StartDoc",_kwnames
,&_argo0
,&_obj1
))
7779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartDoc. Expected _wxDC_p.");
7786 _arg1
= wxString_in_helper(_obj1
);
7791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7792 _result
= (bool )wxDC_StartDoc(_arg0
,*_arg1
);
7794 wxPyEndAllowThreads(__tstate
);
7795 if (PyErr_Occurred()) return NULL
;
7796 } _resultobj
= Py_BuildValue("i",_result
);
7804 #define wxDC_StartPage(_swigobj) (_swigobj->StartPage())
7805 static PyObject
*_wrap_wxDC_StartPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7806 PyObject
* _resultobj
;
7808 PyObject
* _argo0
= 0;
7809 char *_kwnames
[] = { "self", NULL
};
7812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_StartPage",_kwnames
,&_argo0
))
7815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartPage. Expected _wxDC_p.");
7822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7823 wxDC_StartPage(_arg0
);
7825 wxPyEndAllowThreads(__tstate
);
7826 if (PyErr_Occurred()) return NULL
;
7827 } Py_INCREF(Py_None
);
7828 _resultobj
= Py_None
;
7832 #define wxDC_DrawBitmap(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7833 static PyObject
*_wrap_wxDC_DrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7834 PyObject
* _resultobj
;
7839 int _arg4
= (int ) FALSE
;
7840 PyObject
* _argo0
= 0;
7841 PyObject
* _argo1
= 0;
7842 char *_kwnames
[] = { "self","bitmap","x","y","useMask", NULL
};
7845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii|i:wxDC_DrawBitmap",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
))
7848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawBitmap. Expected _wxDC_p.");
7855 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
7856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawBitmap. Expected _wxBitmap_p.");
7861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7862 wxDC_DrawBitmap(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
7864 wxPyEndAllowThreads(__tstate
);
7865 if (PyErr_Occurred()) return NULL
;
7866 } Py_INCREF(Py_None
);
7867 _resultobj
= Py_None
;
7871 #define wxDC_CanDrawBitmap(_swigobj) (_swigobj->CanDrawBitmap())
7872 static PyObject
*_wrap_wxDC_CanDrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7873 PyObject
* _resultobj
;
7876 PyObject
* _argo0
= 0;
7877 char *_kwnames
[] = { "self", NULL
};
7880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_CanDrawBitmap",_kwnames
,&_argo0
))
7883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CanDrawBitmap. Expected _wxDC_p.");
7890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7891 _result
= (bool )wxDC_CanDrawBitmap(_arg0
);
7893 wxPyEndAllowThreads(__tstate
);
7894 if (PyErr_Occurred()) return NULL
;
7895 } _resultobj
= Py_BuildValue("i",_result
);
7899 #define wxDC_CanGetTextExtent(_swigobj) (_swigobj->CanGetTextExtent())
7900 static PyObject
*_wrap_wxDC_CanGetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7901 PyObject
* _resultobj
;
7904 PyObject
* _argo0
= 0;
7905 char *_kwnames
[] = { "self", NULL
};
7908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_CanGetTextExtent",_kwnames
,&_argo0
))
7911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CanGetTextExtent. Expected _wxDC_p.");
7918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7919 _result
= (bool )wxDC_CanGetTextExtent(_arg0
);
7921 wxPyEndAllowThreads(__tstate
);
7922 if (PyErr_Occurred()) return NULL
;
7923 } _resultobj
= Py_BuildValue("i",_result
);
7927 #define wxDC_GetDepth(_swigobj) (_swigobj->GetDepth())
7928 static PyObject
*_wrap_wxDC_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7929 PyObject
* _resultobj
;
7932 PyObject
* _argo0
= 0;
7933 char *_kwnames
[] = { "self", NULL
};
7936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetDepth",_kwnames
,&_argo0
))
7939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetDepth. Expected _wxDC_p.");
7946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7947 _result
= (int )wxDC_GetDepth(_arg0
);
7949 wxPyEndAllowThreads(__tstate
);
7950 if (PyErr_Occurred()) return NULL
;
7951 } _resultobj
= Py_BuildValue("i",_result
);
7955 #define wxDC_GetPPI(_swigobj) (_swigobj->GetPPI())
7956 static PyObject
*_wrap_wxDC_GetPPI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7957 PyObject
* _resultobj
;
7960 PyObject
* _argo0
= 0;
7961 char *_kwnames
[] = { "self", NULL
};
7965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetPPI",_kwnames
,&_argo0
))
7968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPPI. Expected _wxDC_p.");
7975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7976 _result
= new wxSize (wxDC_GetPPI(_arg0
));
7978 wxPyEndAllowThreads(__tstate
);
7979 if (PyErr_Occurred()) return NULL
;
7980 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
7981 _resultobj
= Py_BuildValue("s",_ptemp
);
7985 #define wxDC_GetLogicalOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLogicalOrigin(_swigarg0,_swigarg1))
7986 static PyObject
*_wrap_wxDC_GetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7987 PyObject
* _resultobj
;
7993 PyObject
* _argo0
= 0;
7994 char *_kwnames
[] = { "self", NULL
};
8003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalOrigin",_kwnames
,&_argo0
))
8006 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8007 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalOrigin. Expected _wxDC_p.");
8013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8014 wxDC_GetLogicalOrigin(_arg0
,_arg1
,_arg2
);
8016 wxPyEndAllowThreads(__tstate
);
8017 if (PyErr_Occurred()) return NULL
;
8018 } Py_INCREF(Py_None
);
8019 _resultobj
= Py_None
;
8022 o
= PyInt_FromLong((long) (*_arg1
));
8023 _resultobj
= t_output_helper(_resultobj
, o
);
8027 o
= PyInt_FromLong((long) (*_arg2
));
8028 _resultobj
= t_output_helper(_resultobj
, o
);
8033 #define wxDC_SetLogicalOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLogicalOrigin(_swigarg0,_swigarg1))
8034 static PyObject
*_wrap_wxDC_SetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8035 PyObject
* _resultobj
;
8039 PyObject
* _argo0
= 0;
8040 char *_kwnames
[] = { "self","x","y", NULL
};
8043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_SetLogicalOrigin",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalOrigin. Expected _wxDC_p.");
8053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8054 wxDC_SetLogicalOrigin(_arg0
,_arg1
,_arg2
);
8056 wxPyEndAllowThreads(__tstate
);
8057 if (PyErr_Occurred()) return NULL
;
8058 } Py_INCREF(Py_None
);
8059 _resultobj
= Py_None
;
8063 #define wxDC_GetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDeviceOrigin(_swigarg0,_swigarg1))
8064 static PyObject
*_wrap_wxDC_GetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8065 PyObject
* _resultobj
;
8071 PyObject
* _argo0
= 0;
8072 char *_kwnames
[] = { "self", NULL
};
8081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetDeviceOrigin",_kwnames
,&_argo0
))
8084 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8085 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetDeviceOrigin. Expected _wxDC_p.");
8091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8092 wxDC_GetDeviceOrigin(_arg0
,_arg1
,_arg2
);
8094 wxPyEndAllowThreads(__tstate
);
8095 if (PyErr_Occurred()) return NULL
;
8096 } Py_INCREF(Py_None
);
8097 _resultobj
= Py_None
;
8100 o
= PyInt_FromLong((long) (*_arg1
));
8101 _resultobj
= t_output_helper(_resultobj
, o
);
8105 o
= PyInt_FromLong((long) (*_arg2
));
8106 _resultobj
= t_output_helper(_resultobj
, o
);
8111 #define wxDC_SetAxisOrientation(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAxisOrientation(_swigarg0,_swigarg1))
8112 static PyObject
*_wrap_wxDC_SetAxisOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8113 PyObject
* _resultobj
;
8117 PyObject
* _argo0
= 0;
8120 char *_kwnames
[] = { "self","xLeftRight","yBottomUp", NULL
};
8123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_SetAxisOrientation",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
8126 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8127 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetAxisOrientation. Expected _wxDC_p.");
8132 _arg1
= (bool ) tempbool1
;
8133 _arg2
= (bool ) tempbool2
;
8135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8136 wxDC_SetAxisOrientation(_arg0
,_arg1
,_arg2
);
8138 wxPyEndAllowThreads(__tstate
);
8139 if (PyErr_Occurred()) return NULL
;
8140 } Py_INCREF(Py_None
);
8141 _resultobj
= Py_None
;
8145 #define wxDC_CalcBoundingBox(_swigobj,_swigarg0,_swigarg1) (_swigobj->CalcBoundingBox(_swigarg0,_swigarg1))
8146 static PyObject
*_wrap_wxDC_CalcBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8147 PyObject
* _resultobj
;
8151 PyObject
* _argo0
= 0;
8152 char *_kwnames
[] = { "self","x","y", NULL
};
8155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_CalcBoundingBox",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8158 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8159 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CalcBoundingBox. Expected _wxDC_p.");
8165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8166 wxDC_CalcBoundingBox(_arg0
,_arg1
,_arg2
);
8168 wxPyEndAllowThreads(__tstate
);
8169 if (PyErr_Occurred()) return NULL
;
8170 } Py_INCREF(Py_None
);
8171 _resultobj
= Py_None
;
8175 #define wxDC_ResetBoundingBox(_swigobj) (_swigobj->ResetBoundingBox())
8176 static PyObject
*_wrap_wxDC_ResetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8177 PyObject
* _resultobj
;
8179 PyObject
* _argo0
= 0;
8180 char *_kwnames
[] = { "self", NULL
};
8183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_ResetBoundingBox",_kwnames
,&_argo0
))
8186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_ResetBoundingBox. Expected _wxDC_p.");
8193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8194 wxDC_ResetBoundingBox(_arg0
);
8196 wxPyEndAllowThreads(__tstate
);
8197 if (PyErr_Occurred()) return NULL
;
8198 } Py_INCREF(Py_None
);
8199 _resultobj
= Py_None
;
8203 static PyObject
*_wrap_wxDC_GetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8204 PyObject
* _resultobj
;
8214 PyObject
* _argo0
= 0;
8215 char *_kwnames
[] = { "self", NULL
};
8230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBoundingBox",_kwnames
,&_argo0
))
8233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBoundingBox. Expected _wxDC_p.");
8240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8241 wxDC_GetBoundingBox(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
8243 wxPyEndAllowThreads(__tstate
);
8244 if (PyErr_Occurred()) return NULL
;
8245 } Py_INCREF(Py_None
);
8246 _resultobj
= Py_None
;
8249 o
= PyInt_FromLong((long) (*_arg1
));
8250 _resultobj
= t_output_helper(_resultobj
, o
);
8254 o
= PyInt_FromLong((long) (*_arg2
));
8255 _resultobj
= t_output_helper(_resultobj
, o
);
8259 o
= PyInt_FromLong((long) (*_arg3
));
8260 _resultobj
= t_output_helper(_resultobj
, o
);
8264 o
= PyInt_FromLong((long) (*_arg4
));
8265 _resultobj
= t_output_helper(_resultobj
, o
);
8270 static PyObject
* wxDC__DrawPointList(wxDC
*self
,PyObject
* pyCoords
,PyObject
* pyPens
,PyObject
* pyBrushes
) {
8271 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
8273 static PyObject
*_wrap_wxDC__DrawPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8274 PyObject
* _resultobj
;
8280 PyObject
* _argo0
= 0;
8281 PyObject
* _obj1
= 0;
8282 PyObject
* _obj2
= 0;
8283 PyObject
* _obj3
= 0;
8284 char *_kwnames
[] = { "self","pyCoords","pyPens","pyBrushes", NULL
};
8287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDC__DrawPointList",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
))
8290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC__DrawPointList. Expected _wxDC_p.");
8306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8307 _result
= (PyObject
*)wxDC__DrawPointList(_arg0
,_arg1
,_arg2
,_arg3
);
8309 wxPyEndAllowThreads(__tstate
);
8310 if (PyErr_Occurred()) return NULL
;
8312 _resultobj
= _result
;
8317 static PyObject
* wxDC__DrawLineList(wxDC
*self
,PyObject
* pyCoords
,PyObject
* pyPens
,PyObject
* pyBrushes
) {
8318 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
8320 static PyObject
*_wrap_wxDC__DrawLineList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8321 PyObject
* _resultobj
;
8327 PyObject
* _argo0
= 0;
8328 PyObject
* _obj1
= 0;
8329 PyObject
* _obj2
= 0;
8330 PyObject
* _obj3
= 0;
8331 char *_kwnames
[] = { "self","pyCoords","pyPens","pyBrushes", NULL
};
8334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDC__DrawLineList",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
))
8337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC__DrawLineList. Expected _wxDC_p.");
8353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8354 _result
= (PyObject
*)wxDC__DrawLineList(_arg0
,_arg1
,_arg2
,_arg3
);
8356 wxPyEndAllowThreads(__tstate
);
8357 if (PyErr_Occurred()) return NULL
;
8359 _resultobj
= _result
;
8364 static PyObject
* wxDC__DrawRectangleList(wxDC
*self
,PyObject
* pyCoords
,PyObject
* pyPens
,PyObject
* pyBrushes
) {
8365 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
8367 static PyObject
*_wrap_wxDC__DrawRectangleList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8368 PyObject
* _resultobj
;
8374 PyObject
* _argo0
= 0;
8375 PyObject
* _obj1
= 0;
8376 PyObject
* _obj2
= 0;
8377 PyObject
* _obj3
= 0;
8378 char *_kwnames
[] = { "self","pyCoords","pyPens","pyBrushes", NULL
};
8381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDC__DrawRectangleList",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
))
8384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC__DrawRectangleList. Expected _wxDC_p.");
8400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8401 _result
= (PyObject
*)wxDC__DrawRectangleList(_arg0
,_arg1
,_arg2
,_arg3
);
8403 wxPyEndAllowThreads(__tstate
);
8404 if (PyErr_Occurred()) return NULL
;
8406 _resultobj
= _result
;
8411 static PyObject
* wxDC__DrawEllipseList(wxDC
*self
,PyObject
* pyCoords
,PyObject
* pyPens
,PyObject
* pyBrushes
) {
8412 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
8414 static PyObject
*_wrap_wxDC__DrawEllipseList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8415 PyObject
* _resultobj
;
8421 PyObject
* _argo0
= 0;
8422 PyObject
* _obj1
= 0;
8423 PyObject
* _obj2
= 0;
8424 PyObject
* _obj3
= 0;
8425 char *_kwnames
[] = { "self","pyCoords","pyPens","pyBrushes", NULL
};
8428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDC__DrawEllipseList",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
))
8431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC__DrawEllipseList. Expected _wxDC_p.");
8447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8448 _result
= (PyObject
*)wxDC__DrawEllipseList(_arg0
,_arg1
,_arg2
,_arg3
);
8450 wxPyEndAllowThreads(__tstate
);
8451 if (PyErr_Occurred()) return NULL
;
8453 _resultobj
= _result
;
8458 static PyObject
* wxDC__DrawPolygonList(wxDC
*self
,PyObject
* pyCoords
,PyObject
* pyPens
,PyObject
* pyBrushes
) {
8459 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
8461 static PyObject
*_wrap_wxDC__DrawPolygonList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8462 PyObject
* _resultobj
;
8468 PyObject
* _argo0
= 0;
8469 PyObject
* _obj1
= 0;
8470 PyObject
* _obj2
= 0;
8471 PyObject
* _obj3
= 0;
8472 char *_kwnames
[] = { "self","pyCoords","pyPens","pyBrushes", NULL
};
8475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDC__DrawPolygonList",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
))
8478 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8479 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC__DrawPolygonList. Expected _wxDC_p.");
8494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8495 _result
= (PyObject
*)wxDC__DrawPolygonList(_arg0
,_arg1
,_arg2
,_arg3
);
8497 wxPyEndAllowThreads(__tstate
);
8498 if (PyErr_Occurred()) return NULL
;
8500 _resultobj
= _result
;
8505 static PyObject
* wxDC__DrawTextList(wxDC
*self
,PyObject
* textList
,PyObject
* pyPoints
,PyObject
* foregroundList
,PyObject
* backgroundList
) {
8506 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
8508 static PyObject
*_wrap_wxDC__DrawTextList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8509 PyObject
* _resultobj
;
8516 PyObject
* _argo0
= 0;
8517 PyObject
* _obj1
= 0;
8518 PyObject
* _obj2
= 0;
8519 PyObject
* _obj3
= 0;
8520 PyObject
* _obj4
= 0;
8521 char *_kwnames
[] = { "self","textList","pyPoints","foregroundList","backgroundList", NULL
};
8524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOOO:wxDC__DrawTextList",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
,&_obj4
))
8527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC__DrawTextList. Expected _wxDC_p.");
8546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8547 _result
= (PyObject
*)wxDC__DrawTextList(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
8549 wxPyEndAllowThreads(__tstate
);
8550 if (PyErr_Occurred()) return NULL
;
8552 _resultobj
= _result
;
8557 static void *SwigwxMemoryDCTowxDC(void *ptr
) {
8560 src
= (wxMemoryDC
*) ptr
;
8561 dest
= (wxDC
*) src
;
8562 return (void *) dest
;
8565 static void *SwigwxMemoryDCTowxObject(void *ptr
) {
8568 src
= (wxMemoryDC
*) ptr
;
8569 dest
= (wxObject
*) src
;
8570 return (void *) dest
;
8573 #define new_wxMemoryDC() (new wxMemoryDC())
8574 static PyObject
*_wrap_new_wxMemoryDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8575 PyObject
* _resultobj
;
8576 wxMemoryDC
* _result
;
8577 char *_kwnames
[] = { NULL
};
8581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMemoryDC",_kwnames
))
8584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8585 _result
= (wxMemoryDC
*)new_wxMemoryDC();
8587 wxPyEndAllowThreads(__tstate
);
8588 if (PyErr_Occurred()) return NULL
;
8590 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
8591 _resultobj
= Py_BuildValue("s",_ptemp
);
8594 _resultobj
= Py_None
;
8599 #define wxMemoryDC_SelectObject(_swigobj,_swigarg0) (_swigobj->SelectObject(_swigarg0))
8600 static PyObject
*_wrap_wxMemoryDC_SelectObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8601 PyObject
* _resultobj
;
8604 PyObject
* _argo0
= 0;
8605 PyObject
* _argo1
= 0;
8606 char *_kwnames
[] = { "self","bitmap", NULL
};
8609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMemoryDC_SelectObject",_kwnames
,&_argo0
,&_argo1
))
8612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMemoryDC_p")) {
8614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDC_SelectObject. Expected _wxMemoryDC_p.");
8619 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
8620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMemoryDC_SelectObject. Expected _wxBitmap_p.");
8625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8626 wxMemoryDC_SelectObject(_arg0
,*_arg1
);
8628 wxPyEndAllowThreads(__tstate
);
8629 if (PyErr_Occurred()) return NULL
;
8630 } Py_INCREF(Py_None
);
8631 _resultobj
= Py_None
;
8635 static void *SwigwxBufferedDCTowxMemoryDC(void *ptr
) {
8638 src
= (wxBufferedDC
*) ptr
;
8639 dest
= (wxMemoryDC
*) src
;
8640 return (void *) dest
;
8643 static void *SwigwxBufferedDCTowxDC(void *ptr
) {
8646 src
= (wxBufferedDC
*) ptr
;
8647 dest
= (wxDC
*) src
;
8648 return (void *) dest
;
8651 static void *SwigwxBufferedDCTowxObject(void *ptr
) {
8654 src
= (wxBufferedDC
*) ptr
;
8655 dest
= (wxObject
*) src
;
8656 return (void *) dest
;
8659 #define new_wxBufferedDC(_swigarg0,_swigarg1) (new wxBufferedDC(_swigarg0,_swigarg1))
8660 static PyObject
*_wrap_new_wxBufferedDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8661 PyObject
* _resultobj
;
8662 wxBufferedDC
* _result
;
8665 PyObject
* _argo0
= 0;
8666 PyObject
* _argo1
= 0;
8667 char *_kwnames
[] = { "dc","buffer", NULL
};
8671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxBufferedDC",_kwnames
,&_argo0
,&_argo1
))
8674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBufferedDC. Expected _wxDC_p.");
8681 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
8682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxBufferedDC. Expected _wxBitmap_p.");
8687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8688 _result
= (wxBufferedDC
*)new_wxBufferedDC(_arg0
,*_arg1
);
8690 wxPyEndAllowThreads(__tstate
);
8691 if (PyErr_Occurred()) return NULL
;
8693 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBufferedDC_p");
8694 _resultobj
= Py_BuildValue("s",_ptemp
);
8697 _resultobj
= Py_None
;
8702 #define new_wxBufferedDCInternalBuffer(_swigarg0,_swigarg1) (new wxBufferedDC(_swigarg0,_swigarg1))
8703 static PyObject
*_wrap_new_wxBufferedDCInternalBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8704 PyObject
* _resultobj
;
8705 wxBufferedDC
* _result
;
8708 PyObject
* _argo0
= 0;
8710 PyObject
* _obj1
= 0;
8711 char *_kwnames
[] = { "dc","area", NULL
};
8715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxBufferedDCInternalBuffer",_kwnames
,&_argo0
,&_obj1
))
8718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBufferedDCInternalBuffer. Expected _wxDC_p.");
8726 if (! wxSize_helper(_obj1
, &_arg1
))
8730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8731 _result
= (wxBufferedDC
*)new_wxBufferedDCInternalBuffer(_arg0
,*_arg1
);
8733 wxPyEndAllowThreads(__tstate
);
8734 if (PyErr_Occurred()) return NULL
;
8736 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBufferedDC_p");
8737 _resultobj
= Py_BuildValue("s",_ptemp
);
8740 _resultobj
= Py_None
;
8745 #define wxBufferedDC_UnMask(_swigobj) (_swigobj->UnMask())
8746 static PyObject
*_wrap_wxBufferedDC_UnMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8747 PyObject
* _resultobj
;
8748 wxBufferedDC
* _arg0
;
8749 PyObject
* _argo0
= 0;
8750 char *_kwnames
[] = { "self", NULL
};
8753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBufferedDC_UnMask",_kwnames
,&_argo0
))
8756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBufferedDC_p")) {
8758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBufferedDC_UnMask. Expected _wxBufferedDC_p.");
8763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8764 wxBufferedDC_UnMask(_arg0
);
8766 wxPyEndAllowThreads(__tstate
);
8767 if (PyErr_Occurred()) return NULL
;
8768 } Py_INCREF(Py_None
);
8769 _resultobj
= Py_None
;
8773 static void *SwigwxBufferedPaintDCTowxBufferedDC(void *ptr
) {
8774 wxBufferedPaintDC
*src
;
8776 src
= (wxBufferedPaintDC
*) ptr
;
8777 dest
= (wxBufferedDC
*) src
;
8778 return (void *) dest
;
8781 static void *SwigwxBufferedPaintDCTowxMemoryDC(void *ptr
) {
8782 wxBufferedPaintDC
*src
;
8784 src
= (wxBufferedPaintDC
*) ptr
;
8785 dest
= (wxMemoryDC
*) src
;
8786 return (void *) dest
;
8789 static void *SwigwxBufferedPaintDCTowxDC(void *ptr
) {
8790 wxBufferedPaintDC
*src
;
8792 src
= (wxBufferedPaintDC
*) ptr
;
8793 dest
= (wxDC
*) src
;
8794 return (void *) dest
;
8797 static void *SwigwxBufferedPaintDCTowxObject(void *ptr
) {
8798 wxBufferedPaintDC
*src
;
8800 src
= (wxBufferedPaintDC
*) ptr
;
8801 dest
= (wxObject
*) src
;
8802 return (void *) dest
;
8805 #define new_wxBufferedPaintDC(_swigarg0,_swigarg1) (new wxBufferedPaintDC(_swigarg0,_swigarg1))
8806 static PyObject
*_wrap_new_wxBufferedPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8807 PyObject
* _resultobj
;
8808 wxBufferedPaintDC
* _result
;
8810 wxBitmap
* _arg1
= (wxBitmap
*) &wxNullBitmap
;
8811 PyObject
* _argo0
= 0;
8812 PyObject
* _argo1
= 0;
8813 char *_kwnames
[] = { "window","buffer", NULL
};
8817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxBufferedPaintDC",_kwnames
,&_argo0
,&_argo1
))
8820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBufferedPaintDC. Expected _wxWindow_p.");
8827 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
8828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxBufferedPaintDC. Expected _wxBitmap_p.");
8833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8834 _result
= (wxBufferedPaintDC
*)new_wxBufferedPaintDC(_arg0
,*_arg1
);
8836 wxPyEndAllowThreads(__tstate
);
8837 if (PyErr_Occurred()) return NULL
;
8839 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBufferedPaintDC_p");
8840 _resultobj
= Py_BuildValue("s",_ptemp
);
8843 _resultobj
= Py_None
;
8848 static void *SwigwxScreenDCTowxDC(void *ptr
) {
8851 src
= (wxScreenDC
*) ptr
;
8852 dest
= (wxDC
*) src
;
8853 return (void *) dest
;
8856 static void *SwigwxScreenDCTowxObject(void *ptr
) {
8859 src
= (wxScreenDC
*) ptr
;
8860 dest
= (wxObject
*) src
;
8861 return (void *) dest
;
8864 #define new_wxScreenDC() (new wxScreenDC())
8865 static PyObject
*_wrap_new_wxScreenDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8866 PyObject
* _resultobj
;
8867 wxScreenDC
* _result
;
8868 char *_kwnames
[] = { NULL
};
8872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxScreenDC",_kwnames
))
8875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8876 _result
= (wxScreenDC
*)new_wxScreenDC();
8878 wxPyEndAllowThreads(__tstate
);
8879 if (PyErr_Occurred()) return NULL
;
8881 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScreenDC_p");
8882 _resultobj
= Py_BuildValue("s",_ptemp
);
8885 _resultobj
= Py_None
;
8890 #define wxScreenDC_StartDrawingOnTopWin(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
8891 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTopWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8892 PyObject
* _resultobj
;
8896 PyObject
* _argo0
= 0;
8897 PyObject
* _argo1
= 0;
8898 char *_kwnames
[] = { "self","window", NULL
};
8901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScreenDC_StartDrawingOnTopWin",_kwnames
,&_argo0
,&_argo1
))
8904 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8905 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
8906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTopWin. Expected _wxScreenDC_p.");
8911 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8912 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScreenDC_StartDrawingOnTopWin. Expected _wxWindow_p.");
8918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8919 _result
= (bool )wxScreenDC_StartDrawingOnTopWin(_arg0
,_arg1
);
8921 wxPyEndAllowThreads(__tstate
);
8922 if (PyErr_Occurred()) return NULL
;
8923 } _resultobj
= Py_BuildValue("i",_result
);
8927 #define wxScreenDC_StartDrawingOnTop(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
8928 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8929 PyObject
* _resultobj
;
8932 wxRect
* _arg1
= (wxRect
*) NULL
;
8933 PyObject
* _argo0
= 0;
8935 PyObject
* _obj1
= 0;
8936 char *_kwnames
[] = { "self","rect", NULL
};
8939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxScreenDC_StartDrawingOnTop",_kwnames
,&_argo0
,&_obj1
))
8942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
8944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTop. Expected _wxScreenDC_p.");
8951 if (! wxRect_helper(_obj1
, &_arg1
))
8955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8956 _result
= (bool )wxScreenDC_StartDrawingOnTop(_arg0
,_arg1
);
8958 wxPyEndAllowThreads(__tstate
);
8959 if (PyErr_Occurred()) return NULL
;
8960 } _resultobj
= Py_BuildValue("i",_result
);
8964 #define wxScreenDC_EndDrawingOnTop(_swigobj) (_swigobj->EndDrawingOnTop())
8965 static PyObject
*_wrap_wxScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8966 PyObject
* _resultobj
;
8969 PyObject
* _argo0
= 0;
8970 char *_kwnames
[] = { "self", NULL
};
8973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScreenDC_EndDrawingOnTop",_kwnames
,&_argo0
))
8976 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8977 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
8978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_EndDrawingOnTop. Expected _wxScreenDC_p.");
8983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8984 _result
= (bool )wxScreenDC_EndDrawingOnTop(_arg0
);
8986 wxPyEndAllowThreads(__tstate
);
8987 if (PyErr_Occurred()) return NULL
;
8988 } _resultobj
= Py_BuildValue("i",_result
);
8992 static void *SwigwxClientDCTowxDC(void *ptr
) {
8995 src
= (wxClientDC
*) ptr
;
8996 dest
= (wxDC
*) src
;
8997 return (void *) dest
;
9000 static void *SwigwxClientDCTowxObject(void *ptr
) {
9003 src
= (wxClientDC
*) ptr
;
9004 dest
= (wxObject
*) src
;
9005 return (void *) dest
;
9008 #define new_wxClientDC(_swigarg0) (new wxClientDC(_swigarg0))
9009 static PyObject
*_wrap_new_wxClientDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9010 PyObject
* _resultobj
;
9011 wxClientDC
* _result
;
9013 PyObject
* _argo0
= 0;
9014 char *_kwnames
[] = { "win", NULL
};
9018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxClientDC",_kwnames
,&_argo0
))
9021 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9022 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxClientDC. Expected _wxWindow_p.");
9028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9029 _result
= (wxClientDC
*)new_wxClientDC(_arg0
);
9031 wxPyEndAllowThreads(__tstate
);
9032 if (PyErr_Occurred()) return NULL
;
9034 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxClientDC_p");
9035 _resultobj
= Py_BuildValue("s",_ptemp
);
9038 _resultobj
= Py_None
;
9043 static void *SwigwxPaintDCTowxDC(void *ptr
) {
9046 src
= (wxPaintDC
*) ptr
;
9047 dest
= (wxDC
*) src
;
9048 return (void *) dest
;
9051 static void *SwigwxPaintDCTowxObject(void *ptr
) {
9054 src
= (wxPaintDC
*) ptr
;
9055 dest
= (wxObject
*) src
;
9056 return (void *) dest
;
9059 #define new_wxPaintDC(_swigarg0) (new wxPaintDC(_swigarg0))
9060 static PyObject
*_wrap_new_wxPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9061 PyObject
* _resultobj
;
9062 wxPaintDC
* _result
;
9064 PyObject
* _argo0
= 0;
9065 char *_kwnames
[] = { "win", NULL
};
9069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPaintDC",_kwnames
,&_argo0
))
9072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPaintDC. Expected _wxWindow_p.");
9079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9080 _result
= (wxPaintDC
*)new_wxPaintDC(_arg0
);
9082 wxPyEndAllowThreads(__tstate
);
9083 if (PyErr_Occurred()) return NULL
;
9085 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPaintDC_p");
9086 _resultobj
= Py_BuildValue("s",_ptemp
);
9089 _resultobj
= Py_None
;
9094 static void *SwigwxWindowDCTowxDC(void *ptr
) {
9097 src
= (wxWindowDC
*) ptr
;
9098 dest
= (wxDC
*) src
;
9099 return (void *) dest
;
9102 static void *SwigwxWindowDCTowxObject(void *ptr
) {
9105 src
= (wxWindowDC
*) ptr
;
9106 dest
= (wxObject
*) src
;
9107 return (void *) dest
;
9110 #define new_wxWindowDC(_swigarg0) (new wxWindowDC(_swigarg0))
9111 static PyObject
*_wrap_new_wxWindowDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9112 PyObject
* _resultobj
;
9113 wxWindowDC
* _result
;
9115 PyObject
* _argo0
= 0;
9116 char *_kwnames
[] = { "win", NULL
};
9120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxWindowDC",_kwnames
,&_argo0
))
9123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDC. Expected _wxWindow_p.");
9130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9131 _result
= (wxWindowDC
*)new_wxWindowDC(_arg0
);
9133 wxPyEndAllowThreads(__tstate
);
9134 if (PyErr_Occurred()) return NULL
;
9136 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDC_p");
9137 _resultobj
= Py_BuildValue("s",_ptemp
);
9140 _resultobj
= Py_None
;
9145 static void *SwigwxMirrorDCTowxDC(void *ptr
) {
9148 src
= (wxMirrorDC
*) ptr
;
9149 dest
= (wxDC
*) src
;
9150 return (void *) dest
;
9153 static void *SwigwxMirrorDCTowxObject(void *ptr
) {
9156 src
= (wxMirrorDC
*) ptr
;
9157 dest
= (wxObject
*) src
;
9158 return (void *) dest
;
9161 #define new_wxMirrorDC(_swigarg0,_swigarg1) (new wxMirrorDC(_swigarg0,_swigarg1))
9162 static PyObject
*_wrap_new_wxMirrorDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9163 PyObject
* _resultobj
;
9164 wxMirrorDC
* _result
;
9167 PyObject
* _argo0
= 0;
9169 char *_kwnames
[] = { "dc","mirror", NULL
};
9173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:new_wxMirrorDC",_kwnames
,&_argo0
,&tempbool1
))
9176 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMirrorDC. Expected _wxDC_p.");
9181 _arg1
= (bool ) tempbool1
;
9183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9184 _result
= (wxMirrorDC
*)new_wxMirrorDC(*_arg0
,_arg1
);
9186 wxPyEndAllowThreads(__tstate
);
9187 if (PyErr_Occurred()) return NULL
;
9189 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMirrorDC_p");
9190 _resultobj
= Py_BuildValue("s",_ptemp
);
9193 _resultobj
= Py_None
;
9198 static void *SwigwxPaletteTowxGDIObject(void *ptr
) {
9201 src
= (wxPalette
*) ptr
;
9202 dest
= (wxGDIObject
*) src
;
9203 return (void *) dest
;
9206 static void *SwigwxPaletteTowxObject(void *ptr
) {
9209 src
= (wxPalette
*) ptr
;
9210 dest
= (wxObject
*) src
;
9211 return (void *) dest
;
9214 #define new_wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9215 static PyObject
*_wrap_new_wxPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9216 PyObject
* _resultobj
;
9217 wxPalette
* _result
;
9222 PyObject
* _obj1
= 0;
9223 PyObject
* _obj2
= 0;
9224 PyObject
* _obj3
= 0;
9225 char *_kwnames
[] = { "choices","choices","choices", NULL
};
9229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:new_wxPalette",_kwnames
,&_obj1
,&_obj2
,&_obj3
))
9232 _arg1
= byte_LIST_helper(_obj1
);
9233 if (_arg1
== NULL
) {
9238 _arg2
= byte_LIST_helper(_obj2
);
9239 if (_arg2
== NULL
) {
9245 _arg3
= byte_LIST_helper(_obj3
);
9246 if (_arg3
== NULL
) {
9252 _arg0
= PyList_Size(_obj1
);
9259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9260 _result
= (wxPalette
*)new_wxPalette(_arg0
,_arg1
,_arg2
,_arg3
);
9262 wxPyEndAllowThreads(__tstate
);
9263 if (PyErr_Occurred()) return NULL
;
9265 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
9266 _resultobj
= Py_BuildValue("s",_ptemp
);
9269 _resultobj
= Py_None
;
9283 #define delete_wxPalette(_swigobj) (delete _swigobj)
9284 static PyObject
*_wrap_delete_wxPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9285 PyObject
* _resultobj
;
9287 PyObject
* _argo0
= 0;
9288 char *_kwnames
[] = { "self", NULL
};
9291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPalette",_kwnames
,&_argo0
))
9294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
9296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPalette. Expected _wxPalette_p.");
9301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9302 delete_wxPalette(_arg0
);
9304 wxPyEndAllowThreads(__tstate
);
9305 if (PyErr_Occurred()) return NULL
;
9306 } Py_INCREF(Py_None
);
9307 _resultobj
= Py_None
;
9311 #define wxPalette_GetPixel(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetPixel(_swigarg0,_swigarg1,_swigarg2))
9312 static PyObject
*_wrap_wxPalette_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9313 PyObject
* _resultobj
;
9319 PyObject
* _argo0
= 0;
9320 char *_kwnames
[] = { "self","red","green","blue", NULL
};
9323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Obbb:wxPalette_GetPixel",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
9326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
9328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetPixel. Expected _wxPalette_p.");
9333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9334 _result
= (int )wxPalette_GetPixel(_arg0
,_arg1
,_arg2
,_arg3
);
9336 wxPyEndAllowThreads(__tstate
);
9337 if (PyErr_Occurred()) return NULL
;
9338 } _resultobj
= Py_BuildValue("i",_result
);
9342 #define wxPalette_GetRGB(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetRGB(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9343 static PyObject
*_wrap_wxPalette_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9344 PyObject
* _resultobj
;
9354 PyObject
* _argo0
= 0;
9355 char *_kwnames
[] = { "self","pixel", NULL
};
9359 _arg2
= (byte
*)&temp
;
9362 _arg3
= (byte
*)&temp0
;
9365 _arg4
= (byte
*)&temp1
;
9367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPalette_GetRGB",_kwnames
,&_argo0
,&_arg1
))
9370 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9371 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
9372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetRGB. Expected _wxPalette_p.");
9377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9378 _result
= (bool )wxPalette_GetRGB(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
9380 wxPyEndAllowThreads(__tstate
);
9381 if (PyErr_Occurred()) return NULL
;
9382 } _resultobj
= Py_BuildValue("i",_result
);
9385 o
= PyInt_FromLong((long) (*_arg2
));
9386 _resultobj
= t_output_helper(_resultobj
, o
);
9390 o
= PyInt_FromLong((long) (*_arg3
));
9391 _resultobj
= t_output_helper(_resultobj
, o
);
9395 o
= PyInt_FromLong((long) (*_arg4
));
9396 _resultobj
= t_output_helper(_resultobj
, o
);
9401 #define wxPalette_Ok(_swigobj) (_swigobj->Ok())
9402 static PyObject
*_wrap_wxPalette_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9403 PyObject
* _resultobj
;
9406 PyObject
* _argo0
= 0;
9407 char *_kwnames
[] = { "self", NULL
};
9410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPalette_Ok",_kwnames
,&_argo0
))
9413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
9415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_Ok. Expected _wxPalette_p.");
9420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9421 _result
= (bool )wxPalette_Ok(_arg0
);
9423 wxPyEndAllowThreads(__tstate
);
9424 if (PyErr_Occurred()) return NULL
;
9425 } _resultobj
= Py_BuildValue("i",_result
);
9429 static void *SwigwxImageListTowxObject(void *ptr
) {
9432 src
= (wxImageList
*) ptr
;
9433 dest
= (wxObject
*) src
;
9434 return (void *) dest
;
9437 #define new_wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9438 static PyObject
*_wrap_new_wxImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9439 PyObject
* _resultobj
;
9440 wxImageList
* _result
;
9443 int _arg2
= (int ) TRUE
;
9444 int _arg3
= (int ) 1;
9445 char *_kwnames
[] = { "width","height","mask","initialCount", NULL
};
9449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ii|ii:new_wxImageList",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
9452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9453 _result
= (wxImageList
*)new_wxImageList(_arg0
,_arg1
,_arg2
,_arg3
);
9455 wxPyEndAllowThreads(__tstate
);
9456 if (PyErr_Occurred()) return NULL
;
9458 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
9459 _resultobj
= Py_BuildValue("s",_ptemp
);
9462 _resultobj
= Py_None
;
9467 #define delete_wxImageList(_swigobj) (delete _swigobj)
9468 static PyObject
*_wrap_delete_wxImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9469 PyObject
* _resultobj
;
9470 wxImageList
* _arg0
;
9471 PyObject
* _argo0
= 0;
9472 char *_kwnames
[] = { "self", NULL
};
9475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxImageList",_kwnames
,&_argo0
))
9478 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9479 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
9480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxImageList. Expected _wxImageList_p.");
9485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9486 delete_wxImageList(_arg0
);
9488 wxPyEndAllowThreads(__tstate
);
9489 if (PyErr_Occurred()) return NULL
;
9490 } Py_INCREF(Py_None
);
9491 _resultobj
= Py_None
;
9495 #define wxImageList_Add(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
9496 static PyObject
*_wrap_wxImageList_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9497 PyObject
* _resultobj
;
9499 wxImageList
* _arg0
;
9501 wxBitmap
* _arg2
= (wxBitmap
*) &wxNullBitmap
;
9502 PyObject
* _argo0
= 0;
9503 PyObject
* _argo1
= 0;
9504 PyObject
* _argo2
= 0;
9505 char *_kwnames
[] = { "self","bitmap","mask", NULL
};
9508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxImageList_Add",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
9511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
9513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Add. Expected _wxImageList_p.");
9518 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
9519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_Add. Expected _wxBitmap_p.");
9524 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
9525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Add. Expected _wxBitmap_p.");
9530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9531 _result
= (int )wxImageList_Add(_arg0
,*_arg1
,*_arg2
);
9533 wxPyEndAllowThreads(__tstate
);
9534 if (PyErr_Occurred()) return NULL
;
9535 } _resultobj
= Py_BuildValue("i",_result
);
9539 #define wxImageList_AddWithColourMask(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
9540 static PyObject
*_wrap_wxImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9541 PyObject
* _resultobj
;
9543 wxImageList
* _arg0
;
9546 PyObject
* _argo0
= 0;
9547 PyObject
* _argo1
= 0;
9549 PyObject
* _obj2
= 0;
9550 char *_kwnames
[] = { "self","bitmap","maskColour", NULL
};
9553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxImageList_AddWithColourMask",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
9556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
9558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_AddWithColourMask. Expected _wxImageList_p.");
9563 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
9564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_AddWithColourMask. Expected _wxBitmap_p.");
9570 if (! wxColour_helper(_obj2
, &_arg2
))
9574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9575 _result
= (int )wxImageList_AddWithColourMask(_arg0
,*_arg1
,*_arg2
);
9577 wxPyEndAllowThreads(__tstate
);
9578 if (PyErr_Occurred()) return NULL
;
9579 } _resultobj
= Py_BuildValue("i",_result
);
9583 #define wxImageList_AddIcon(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
9584 static PyObject
*_wrap_wxImageList_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9585 PyObject
* _resultobj
;
9587 wxImageList
* _arg0
;
9589 PyObject
* _argo0
= 0;
9590 PyObject
* _argo1
= 0;
9591 char *_kwnames
[] = { "self","icon", NULL
};
9594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxImageList_AddIcon",_kwnames
,&_argo0
,&_argo1
))
9597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
9599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_AddIcon. Expected _wxImageList_p.");
9604 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
9605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_AddIcon. Expected _wxIcon_p.");
9610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9611 _result
= (int )wxImageList_AddIcon(_arg0
,*_arg1
);
9613 wxPyEndAllowThreads(__tstate
);
9614 if (PyErr_Occurred()) return NULL
;
9615 } _resultobj
= Py_BuildValue("i",_result
);
9619 #define wxImageList_Replace(_swigobj,_swigarg0,_swigarg1) (_swigobj->Replace(_swigarg0,_swigarg1))
9620 static PyObject
*_wrap_wxImageList_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9621 PyObject
* _resultobj
;
9623 wxImageList
* _arg0
;
9626 PyObject
* _argo0
= 0;
9627 PyObject
* _argo2
= 0;
9628 char *_kwnames
[] = { "self","index","bitmap", NULL
};
9631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxImageList_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
9634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
9636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Replace. Expected _wxImageList_p.");
9641 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
9642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Replace. Expected _wxBitmap_p.");
9647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9648 _result
= (bool )wxImageList_Replace(_arg0
,_arg1
,*_arg2
);
9650 wxPyEndAllowThreads(__tstate
);
9651 if (PyErr_Occurred()) return NULL
;
9652 } _resultobj
= Py_BuildValue("i",_result
);
9656 #define wxImageList_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
9657 static PyObject
*_wrap_wxImageList_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9658 PyObject
* _resultobj
;
9660 wxImageList
* _arg0
;
9665 int _arg5
= (int ) (wxIMAGELIST_DRAW_NORMAL
);
9666 bool _arg6
= (bool ) FALSE
;
9667 PyObject
* _argo0
= 0;
9668 PyObject
* _argo2
= 0;
9669 int tempbool6
= (int) FALSE
;
9670 char *_kwnames
[] = { "self","index","dc","x","x","flags","solidBackground", NULL
};
9673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOii|ii:wxImageList_Draw",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
9676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
9678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Draw. Expected _wxImageList_p.");
9683 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDC_p")) {
9684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Draw. Expected _wxDC_p.");
9688 _arg6
= (bool ) tempbool6
;
9690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9691 _result
= (bool )wxImageList_Draw(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
9693 wxPyEndAllowThreads(__tstate
);
9694 if (PyErr_Occurred()) return NULL
;
9695 } _resultobj
= Py_BuildValue("i",_result
);
9699 #define wxImageList_GetImageCount(_swigobj) (_swigobj->GetImageCount())
9700 static PyObject
*_wrap_wxImageList_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9701 PyObject
* _resultobj
;
9703 wxImageList
* _arg0
;
9704 PyObject
* _argo0
= 0;
9705 char *_kwnames
[] = { "self", NULL
};
9708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImageList_GetImageCount",_kwnames
,&_argo0
))
9711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
9713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_GetImageCount. Expected _wxImageList_p.");
9718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9719 _result
= (int )wxImageList_GetImageCount(_arg0
);
9721 wxPyEndAllowThreads(__tstate
);
9722 if (PyErr_Occurred()) return NULL
;
9723 } _resultobj
= Py_BuildValue("i",_result
);
9727 #define wxImageList_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
9728 static PyObject
*_wrap_wxImageList_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9729 PyObject
* _resultobj
;
9731 wxImageList
* _arg0
;
9733 PyObject
* _argo0
= 0;
9734 char *_kwnames
[] = { "self","index", NULL
};
9737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxImageList_Remove",_kwnames
,&_argo0
,&_arg1
))
9740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
9742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Remove. Expected _wxImageList_p.");
9747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9748 _result
= (bool )wxImageList_Remove(_arg0
,_arg1
);
9750 wxPyEndAllowThreads(__tstate
);
9751 if (PyErr_Occurred()) return NULL
;
9752 } _resultobj
= Py_BuildValue("i",_result
);
9756 #define wxImageList_RemoveAll(_swigobj) (_swigobj->RemoveAll())
9757 static PyObject
*_wrap_wxImageList_RemoveAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9758 PyObject
* _resultobj
;
9760 wxImageList
* _arg0
;
9761 PyObject
* _argo0
= 0;
9762 char *_kwnames
[] = { "self", NULL
};
9765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImageList_RemoveAll",_kwnames
,&_argo0
))
9768 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9769 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
9770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_RemoveAll. Expected _wxImageList_p.");
9775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9776 _result
= (bool )wxImageList_RemoveAll(_arg0
);
9778 wxPyEndAllowThreads(__tstate
);
9779 if (PyErr_Occurred()) return NULL
;
9780 } _resultobj
= Py_BuildValue("i",_result
);
9784 #define wxImageList_GetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetSize(_swigarg0,_swigarg1,_swigarg2))
9785 static PyObject
*_wrap_wxImageList_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9786 PyObject
* _resultobj
;
9787 wxImageList
* _arg0
;
9793 PyObject
* _argo0
= 0;
9794 char *_kwnames
[] = { "self","index", NULL
};
9803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxImageList_GetSize",_kwnames
,&_argo0
,&_arg1
))
9806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
9808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_GetSize. Expected _wxImageList_p.");
9813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9814 wxImageList_GetSize(_arg0
,_arg1
,*_arg2
,*_arg3
);
9816 wxPyEndAllowThreads(__tstate
);
9817 if (PyErr_Occurred()) return NULL
;
9818 } Py_INCREF(Py_None
);
9819 _resultobj
= Py_None
;
9822 o
= PyInt_FromLong((long) (*_arg2
));
9823 _resultobj
= t_output_helper(_resultobj
, o
);
9827 o
= PyInt_FromLong((long) (*_arg3
));
9828 _resultobj
= t_output_helper(_resultobj
, o
);
9833 static void *SwigwxRegionTowxGDIObject(void *ptr
) {
9836 src
= (wxRegion
*) ptr
;
9837 dest
= (wxGDIObject
*) src
;
9838 return (void *) dest
;
9841 static void *SwigwxRegionTowxObject(void *ptr
) {
9844 src
= (wxRegion
*) ptr
;
9845 dest
= (wxObject
*) src
;
9846 return (void *) dest
;
9849 #define new_wxRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9850 static PyObject
*_wrap_new_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9851 PyObject
* _resultobj
;
9853 wxCoord _arg0
= (wxCoord
) 0;
9854 wxCoord _arg1
= (wxCoord
) 0;
9855 wxCoord _arg2
= (wxCoord
) 0;
9856 wxCoord _arg3
= (wxCoord
) 0;
9857 char *_kwnames
[] = { "x","y","width","height", NULL
};
9861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxRegion",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
9864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9865 _result
= (wxRegion
*)new_wxRegion(_arg0
,_arg1
,_arg2
,_arg3
);
9867 wxPyEndAllowThreads(__tstate
);
9868 if (PyErr_Occurred()) return NULL
;
9870 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegion_p");
9871 _resultobj
= Py_BuildValue("s",_ptemp
);
9874 _resultobj
= Py_None
;
9879 #define new_wxRegionFromPoints(_swigarg0,_swigarg1,_swigarg2) (new wxRegion(_swigarg0,_swigarg1,_swigarg2))
9880 static PyObject
*_wrap_new_wxRegionFromPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9881 PyObject
* _resultobj
;
9885 int _arg2
= (int ) wxWINDING_RULE
;
9887 PyObject
* _obj1
= 0;
9888 char *_kwnames
[] = { "points","fillStyle", NULL
};
9892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxRegionFromPoints",_kwnames
,&_obj1
,&_arg2
))
9896 _arg1
= wxPoint_LIST_helper(_obj1
, &NPOINTS
);
9897 if (_arg1
== NULL
) {
9905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9906 _result
= (wxRegion
*)new_wxRegionFromPoints(_arg0
,_arg1
,_arg2
);
9908 wxPyEndAllowThreads(__tstate
);
9909 if (PyErr_Occurred()) return NULL
;
9911 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegion_p");
9912 _resultobj
= Py_BuildValue("s",_ptemp
);
9915 _resultobj
= Py_None
;
9923 #define new_wxRegionFromBitmap(_swigarg0,_swigarg1,_swigarg2) (new wxRegion(_swigarg0,_swigarg1,_swigarg2))
9924 static PyObject
*_wrap_new_wxRegionFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9925 PyObject
* _resultobj
;
9928 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
9929 int _arg2
= (int ) 0;
9930 PyObject
* _argo0
= 0;
9932 PyObject
* _obj1
= 0;
9933 char *_kwnames
[] = { "bmp","transColour","tolerance", NULL
};
9937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|Oi:new_wxRegionFromBitmap",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
9940 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
9941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRegionFromBitmap. Expected _wxBitmap_p.");
9948 if (! wxColour_helper(_obj1
, &_arg1
))
9952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9953 _result
= (wxRegion
*)new_wxRegionFromBitmap(*_arg0
,*_arg1
,_arg2
);
9955 wxPyEndAllowThreads(__tstate
);
9956 if (PyErr_Occurred()) return NULL
;
9958 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegion_p");
9959 _resultobj
= Py_BuildValue("s",_ptemp
);
9962 _resultobj
= Py_None
;
9967 #define delete_wxRegion(_swigobj) (delete _swigobj)
9968 static PyObject
*_wrap_delete_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9969 PyObject
* _resultobj
;
9971 PyObject
* _argo0
= 0;
9972 char *_kwnames
[] = { "self", NULL
};
9975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegion",_kwnames
,&_argo0
))
9978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegion. Expected _wxRegion_p.");
9985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9986 delete_wxRegion(_arg0
);
9988 wxPyEndAllowThreads(__tstate
);
9989 if (PyErr_Occurred()) return NULL
;
9990 } Py_INCREF(Py_None
);
9991 _resultobj
= Py_None
;
9995 #define wxRegion_Clear(_swigobj) (_swigobj->Clear())
9996 static PyObject
*_wrap_wxRegion_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9997 PyObject
* _resultobj
;
9999 PyObject
* _argo0
= 0;
10000 char *_kwnames
[] = { "self", NULL
};
10003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_Clear",_kwnames
,&_argo0
))
10006 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10007 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Clear. Expected _wxRegion_p.");
10013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10014 wxRegion_Clear(_arg0
);
10016 wxPyEndAllowThreads(__tstate
);
10017 if (PyErr_Occurred()) return NULL
;
10018 } Py_INCREF(Py_None
);
10019 _resultobj
= Py_None
;
10023 #define wxRegion_Offset(_swigobj,_swigarg0,_swigarg1) (_swigobj->Offset(_swigarg0,_swigarg1))
10024 static PyObject
*_wrap_wxRegion_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10025 PyObject
* _resultobj
;
10030 PyObject
* _argo0
= 0;
10031 char *_kwnames
[] = { "self","x","y", NULL
};
10034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRegion_Offset",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Offset. Expected _wxRegion_p.");
10044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10045 _result
= (bool )wxRegion_Offset(_arg0
,_arg1
,_arg2
);
10047 wxPyEndAllowThreads(__tstate
);
10048 if (PyErr_Occurred()) return NULL
;
10049 } _resultobj
= Py_BuildValue("i",_result
);
10053 #define wxRegion_Contains(_swigobj,_swigarg0,_swigarg1) (_swigobj->Contains(_swigarg0,_swigarg1))
10054 static PyObject
*_wrap_wxRegion_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10055 PyObject
* _resultobj
;
10056 wxRegionContain _result
;
10060 PyObject
* _argo0
= 0;
10061 char *_kwnames
[] = { "self","x","y", NULL
};
10064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRegion_Contains",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Contains. Expected _wxRegion_p.");
10074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10075 _result
= (wxRegionContain
)wxRegion_Contains(_arg0
,_arg1
,_arg2
);
10077 wxPyEndAllowThreads(__tstate
);
10078 if (PyErr_Occurred()) return NULL
;
10079 } _resultobj
= Py_BuildValue("i",_result
);
10083 #define wxRegion_ContainsPoint(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
10084 static PyObject
*_wrap_wxRegion_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10085 PyObject
* _resultobj
;
10086 wxRegionContain _result
;
10089 PyObject
* _argo0
= 0;
10091 PyObject
* _obj1
= 0;
10092 char *_kwnames
[] = { "self","pt", NULL
};
10095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsPoint",_kwnames
,&_argo0
,&_obj1
))
10098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsPoint. Expected _wxRegion_p.");
10106 if (! wxPoint_helper(_obj1
, &_arg1
))
10110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10111 _result
= (wxRegionContain
)wxRegion_ContainsPoint(_arg0
,*_arg1
);
10113 wxPyEndAllowThreads(__tstate
);
10114 if (PyErr_Occurred()) return NULL
;
10115 } _resultobj
= Py_BuildValue("i",_result
);
10119 #define wxRegion_ContainsRect(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
10120 static PyObject
*_wrap_wxRegion_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10121 PyObject
* _resultobj
;
10122 wxRegionContain _result
;
10125 PyObject
* _argo0
= 0;
10127 PyObject
* _obj1
= 0;
10128 char *_kwnames
[] = { "self","rect", NULL
};
10131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsRect",_kwnames
,&_argo0
,&_obj1
))
10134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRect. Expected _wxRegion_p.");
10142 if (! wxRect_helper(_obj1
, &_arg1
))
10146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10147 _result
= (wxRegionContain
)wxRegion_ContainsRect(_arg0
,*_arg1
);
10149 wxPyEndAllowThreads(__tstate
);
10150 if (PyErr_Occurred()) return NULL
;
10151 } _resultobj
= Py_BuildValue("i",_result
);
10155 #define wxRegion_ContainsRectDim(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Contains(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10156 static PyObject
*_wrap_wxRegion_ContainsRectDim(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10157 PyObject
* _resultobj
;
10158 wxRegionContain _result
;
10164 PyObject
* _argo0
= 0;
10165 char *_kwnames
[] = { "self","x","y","w","h", NULL
};
10168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxRegion_ContainsRectDim",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
10171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRectDim. Expected _wxRegion_p.");
10178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10179 _result
= (wxRegionContain
)wxRegion_ContainsRectDim(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
10181 wxPyEndAllowThreads(__tstate
);
10182 if (PyErr_Occurred()) return NULL
;
10183 } _resultobj
= Py_BuildValue("i",_result
);
10187 #define wxRegion_GetBox(_swigobj) (_swigobj->GetBox())
10188 static PyObject
*_wrap_wxRegion_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10189 PyObject
* _resultobj
;
10192 PyObject
* _argo0
= 0;
10193 char *_kwnames
[] = { "self", NULL
};
10197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_GetBox",_kwnames
,&_argo0
))
10200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_GetBox. Expected _wxRegion_p.");
10207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10208 _result
= new wxRect (wxRegion_GetBox(_arg0
));
10210 wxPyEndAllowThreads(__tstate
);
10211 if (PyErr_Occurred()) return NULL
;
10212 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
10213 _resultobj
= Py_BuildValue("s",_ptemp
);
10217 #define wxRegion_Intersect(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Intersect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10218 static PyObject
*_wrap_wxRegion_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10219 PyObject
* _resultobj
;
10226 PyObject
* _argo0
= 0;
10227 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
10230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxRegion_Intersect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
10233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Intersect. Expected _wxRegion_p.");
10240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10241 _result
= (bool )wxRegion_Intersect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
10243 wxPyEndAllowThreads(__tstate
);
10244 if (PyErr_Occurred()) return NULL
;
10245 } _resultobj
= Py_BuildValue("i",_result
);
10249 #define wxRegion_IntersectRect(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
10250 static PyObject
*_wrap_wxRegion_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10251 PyObject
* _resultobj
;
10255 PyObject
* _argo0
= 0;
10257 PyObject
* _obj1
= 0;
10258 char *_kwnames
[] = { "self","rect", NULL
};
10261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_IntersectRect",_kwnames
,&_argo0
,&_obj1
))
10264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IntersectRect. Expected _wxRegion_p.");
10272 if (! wxRect_helper(_obj1
, &_arg1
))
10276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10277 _result
= (bool )wxRegion_IntersectRect(_arg0
,*_arg1
);
10279 wxPyEndAllowThreads(__tstate
);
10280 if (PyErr_Occurred()) return NULL
;
10281 } _resultobj
= Py_BuildValue("i",_result
);
10285 #define wxRegion_IntersectRegion(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
10286 static PyObject
*_wrap_wxRegion_IntersectRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10287 PyObject
* _resultobj
;
10291 PyObject
* _argo0
= 0;
10292 PyObject
* _argo1
= 0;
10293 char *_kwnames
[] = { "self","region", NULL
};
10296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_IntersectRegion",_kwnames
,&_argo0
,&_argo1
))
10299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
10306 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
10307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
10312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10313 _result
= (bool )wxRegion_IntersectRegion(_arg0
,*_arg1
);
10315 wxPyEndAllowThreads(__tstate
);
10316 if (PyErr_Occurred()) return NULL
;
10317 } _resultobj
= Py_BuildValue("i",_result
);
10321 #define wxRegion_IsEmpty(_swigobj) (_swigobj->IsEmpty())
10322 static PyObject
*_wrap_wxRegion_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10323 PyObject
* _resultobj
;
10326 PyObject
* _argo0
= 0;
10327 char *_kwnames
[] = { "self", NULL
};
10330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_IsEmpty",_kwnames
,&_argo0
))
10333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IsEmpty. Expected _wxRegion_p.");
10340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10341 _result
= (bool )wxRegion_IsEmpty(_arg0
);
10343 wxPyEndAllowThreads(__tstate
);
10344 if (PyErr_Occurred()) return NULL
;
10345 } _resultobj
= Py_BuildValue("i",_result
);
10349 #define wxRegion_Union(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Union(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10350 static PyObject
*_wrap_wxRegion_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10351 PyObject
* _resultobj
;
10358 PyObject
* _argo0
= 0;
10359 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
10362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxRegion_Union",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
10365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Union. Expected _wxRegion_p.");
10372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10373 _result
= (bool )wxRegion_Union(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
10375 wxPyEndAllowThreads(__tstate
);
10376 if (PyErr_Occurred()) return NULL
;
10377 } _resultobj
= Py_BuildValue("i",_result
);
10381 #define wxRegion_UnionRect(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
10382 static PyObject
*_wrap_wxRegion_UnionRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10383 PyObject
* _resultobj
;
10387 PyObject
* _argo0
= 0;
10389 PyObject
* _obj1
= 0;
10390 char *_kwnames
[] = { "self","rect", NULL
};
10393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_UnionRect",_kwnames
,&_argo0
,&_obj1
))
10396 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10397 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_UnionRect. Expected _wxRegion_p.");
10404 if (! wxRect_helper(_obj1
, &_arg1
))
10408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10409 _result
= (bool )wxRegion_UnionRect(_arg0
,*_arg1
);
10411 wxPyEndAllowThreads(__tstate
);
10412 if (PyErr_Occurred()) return NULL
;
10413 } _resultobj
= Py_BuildValue("i",_result
);
10417 #define wxRegion_UnionRegion(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
10418 static PyObject
*_wrap_wxRegion_UnionRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10419 PyObject
* _resultobj
;
10423 PyObject
* _argo0
= 0;
10424 PyObject
* _argo1
= 0;
10425 char *_kwnames
[] = { "self","region", NULL
};
10428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_UnionRegion",_kwnames
,&_argo0
,&_argo1
))
10431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_UnionRegion. Expected _wxRegion_p.");
10438 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
10439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_UnionRegion. Expected _wxRegion_p.");
10444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10445 _result
= (bool )wxRegion_UnionRegion(_arg0
,*_arg1
);
10447 wxPyEndAllowThreads(__tstate
);
10448 if (PyErr_Occurred()) return NULL
;
10449 } _resultobj
= Py_BuildValue("i",_result
);
10453 #define wxRegion_Subtract(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Subtract(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10454 static PyObject
*_wrap_wxRegion_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10455 PyObject
* _resultobj
;
10462 PyObject
* _argo0
= 0;
10463 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
10466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxRegion_Subtract",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
10469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Subtract. Expected _wxRegion_p.");
10476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10477 _result
= (bool )wxRegion_Subtract(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
10479 wxPyEndAllowThreads(__tstate
);
10480 if (PyErr_Occurred()) return NULL
;
10481 } _resultobj
= Py_BuildValue("i",_result
);
10485 #define wxRegion_SubtractRect(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
10486 static PyObject
*_wrap_wxRegion_SubtractRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10487 PyObject
* _resultobj
;
10491 PyObject
* _argo0
= 0;
10493 PyObject
* _obj1
= 0;
10494 char *_kwnames
[] = { "self","rect", NULL
};
10497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_SubtractRect",_kwnames
,&_argo0
,&_obj1
))
10500 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10501 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_SubtractRect. Expected _wxRegion_p.");
10508 if (! wxRect_helper(_obj1
, &_arg1
))
10512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10513 _result
= (bool )wxRegion_SubtractRect(_arg0
,*_arg1
);
10515 wxPyEndAllowThreads(__tstate
);
10516 if (PyErr_Occurred()) return NULL
;
10517 } _resultobj
= Py_BuildValue("i",_result
);
10521 #define wxRegion_SubtractRegion(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
10522 static PyObject
*_wrap_wxRegion_SubtractRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10523 PyObject
* _resultobj
;
10527 PyObject
* _argo0
= 0;
10528 PyObject
* _argo1
= 0;
10529 char *_kwnames
[] = { "self","region", NULL
};
10532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_SubtractRegion",_kwnames
,&_argo0
,&_argo1
))
10535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
10542 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
10543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
10548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10549 _result
= (bool )wxRegion_SubtractRegion(_arg0
,*_arg1
);
10551 wxPyEndAllowThreads(__tstate
);
10552 if (PyErr_Occurred()) return NULL
;
10553 } _resultobj
= Py_BuildValue("i",_result
);
10557 #define wxRegion_Xor(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Xor(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10558 static PyObject
*_wrap_wxRegion_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10559 PyObject
* _resultobj
;
10566 PyObject
* _argo0
= 0;
10567 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
10570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxRegion_Xor",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
10573 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10574 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Xor. Expected _wxRegion_p.");
10580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10581 _result
= (bool )wxRegion_Xor(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
10583 wxPyEndAllowThreads(__tstate
);
10584 if (PyErr_Occurred()) return NULL
;
10585 } _resultobj
= Py_BuildValue("i",_result
);
10589 #define wxRegion_XorRect(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
10590 static PyObject
*_wrap_wxRegion_XorRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10591 PyObject
* _resultobj
;
10595 PyObject
* _argo0
= 0;
10597 PyObject
* _obj1
= 0;
10598 char *_kwnames
[] = { "self","rect", NULL
};
10601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_XorRect",_kwnames
,&_argo0
,&_obj1
))
10604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_XorRect. Expected _wxRegion_p.");
10612 if (! wxRect_helper(_obj1
, &_arg1
))
10616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10617 _result
= (bool )wxRegion_XorRect(_arg0
,*_arg1
);
10619 wxPyEndAllowThreads(__tstate
);
10620 if (PyErr_Occurred()) return NULL
;
10621 } _resultobj
= Py_BuildValue("i",_result
);
10625 #define wxRegion_XorRegion(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
10626 static PyObject
*_wrap_wxRegion_XorRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10627 PyObject
* _resultobj
;
10631 PyObject
* _argo0
= 0;
10632 PyObject
* _argo1
= 0;
10633 char *_kwnames
[] = { "self","region", NULL
};
10636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_XorRegion",_kwnames
,&_argo0
,&_argo1
))
10639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_XorRegion. Expected _wxRegion_p.");
10646 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
10647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_XorRegion. Expected _wxRegion_p.");
10652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10653 _result
= (bool )wxRegion_XorRegion(_arg0
,*_arg1
);
10655 wxPyEndAllowThreads(__tstate
);
10656 if (PyErr_Occurred()) return NULL
;
10657 } _resultobj
= Py_BuildValue("i",_result
);
10661 #define wxRegion_ConvertToBitmap(_swigobj) (_swigobj->ConvertToBitmap())
10662 static PyObject
*_wrap_wxRegion_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10663 PyObject
* _resultobj
;
10664 wxBitmap
* _result
;
10666 PyObject
* _argo0
= 0;
10667 char *_kwnames
[] = { "self", NULL
};
10671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_ConvertToBitmap",_kwnames
,&_argo0
))
10674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ConvertToBitmap. Expected _wxRegion_p.");
10681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10682 _result
= new wxBitmap (wxRegion_ConvertToBitmap(_arg0
));
10684 wxPyEndAllowThreads(__tstate
);
10685 if (PyErr_Occurred()) return NULL
;
10686 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
10687 _resultobj
= Py_BuildValue("s",_ptemp
);
10691 #define wxRegion_UnionBitmap(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Union(_swigarg0,_swigarg1,_swigarg2))
10692 static PyObject
*_wrap_wxRegion_UnionBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10693 PyObject
* _resultobj
;
10697 wxColour
* _arg2
= (wxColour
*) &wxNullColour
;
10698 int _arg3
= (int ) 0;
10699 PyObject
* _argo0
= 0;
10700 PyObject
* _argo1
= 0;
10702 PyObject
* _obj2
= 0;
10703 char *_kwnames
[] = { "self","bmp","transColour","tolerance", NULL
};
10706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|Oi:wxRegion_UnionBitmap",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
))
10709 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10710 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_UnionBitmap. Expected _wxRegion_p.");
10716 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
10717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_UnionBitmap. Expected _wxBitmap_p.");
10724 if (! wxColour_helper(_obj2
, &_arg2
))
10728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10729 _result
= (bool )wxRegion_UnionBitmap(_arg0
,*_arg1
,*_arg2
,_arg3
);
10731 wxPyEndAllowThreads(__tstate
);
10732 if (PyErr_Occurred()) return NULL
;
10733 } _resultobj
= Py_BuildValue("i",_result
);
10737 static void *SwigwxRegionIteratorTowxObject(void *ptr
) {
10738 wxRegionIterator
*src
;
10740 src
= (wxRegionIterator
*) ptr
;
10741 dest
= (wxObject
*) src
;
10742 return (void *) dest
;
10745 #define new_wxRegionIterator(_swigarg0) (new wxRegionIterator(_swigarg0))
10746 static PyObject
*_wrap_new_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10747 PyObject
* _resultobj
;
10748 wxRegionIterator
* _result
;
10750 PyObject
* _argo0
= 0;
10751 char *_kwnames
[] = { "region", NULL
};
10755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxRegionIterator",_kwnames
,&_argo0
))
10758 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRegionIterator. Expected _wxRegion_p.");
10764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10765 _result
= (wxRegionIterator
*)new_wxRegionIterator(*_arg0
);
10767 wxPyEndAllowThreads(__tstate
);
10768 if (PyErr_Occurred()) return NULL
;
10770 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegionIterator_p");
10771 _resultobj
= Py_BuildValue("s",_ptemp
);
10773 Py_INCREF(Py_None
);
10774 _resultobj
= Py_None
;
10779 #define delete_wxRegionIterator(_swigobj) (delete _swigobj)
10780 static PyObject
*_wrap_delete_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10781 PyObject
* _resultobj
;
10782 wxRegionIterator
* _arg0
;
10783 PyObject
* _argo0
= 0;
10784 char *_kwnames
[] = { "self", NULL
};
10787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegionIterator",_kwnames
,&_argo0
))
10790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
10792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegionIterator. Expected _wxRegionIterator_p.");
10797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10798 delete_wxRegionIterator(_arg0
);
10800 wxPyEndAllowThreads(__tstate
);
10801 if (PyErr_Occurred()) return NULL
;
10802 } Py_INCREF(Py_None
);
10803 _resultobj
= Py_None
;
10807 #define wxRegionIterator_GetX(_swigobj) (_swigobj->GetX())
10808 static PyObject
*_wrap_wxRegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10809 PyObject
* _resultobj
;
10811 wxRegionIterator
* _arg0
;
10812 PyObject
* _argo0
= 0;
10813 char *_kwnames
[] = { "self", NULL
};
10816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetX",_kwnames
,&_argo0
))
10819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
10821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetX. Expected _wxRegionIterator_p.");
10826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10827 _result
= (wxCoord
)wxRegionIterator_GetX(_arg0
);
10829 wxPyEndAllowThreads(__tstate
);
10830 if (PyErr_Occurred()) return NULL
;
10831 } _resultobj
= Py_BuildValue("i",_result
);
10835 #define wxRegionIterator_GetY(_swigobj) (_swigobj->GetY())
10836 static PyObject
*_wrap_wxRegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10837 PyObject
* _resultobj
;
10839 wxRegionIterator
* _arg0
;
10840 PyObject
* _argo0
= 0;
10841 char *_kwnames
[] = { "self", NULL
};
10844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetY",_kwnames
,&_argo0
))
10847 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10848 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
10849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetY. Expected _wxRegionIterator_p.");
10854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10855 _result
= (wxCoord
)wxRegionIterator_GetY(_arg0
);
10857 wxPyEndAllowThreads(__tstate
);
10858 if (PyErr_Occurred()) return NULL
;
10859 } _resultobj
= Py_BuildValue("i",_result
);
10863 #define wxRegionIterator_GetW(_swigobj) (_swigobj->GetW())
10864 static PyObject
*_wrap_wxRegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10865 PyObject
* _resultobj
;
10867 wxRegionIterator
* _arg0
;
10868 PyObject
* _argo0
= 0;
10869 char *_kwnames
[] = { "self", NULL
};
10872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetW",_kwnames
,&_argo0
))
10875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
10877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetW. Expected _wxRegionIterator_p.");
10882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10883 _result
= (wxCoord
)wxRegionIterator_GetW(_arg0
);
10885 wxPyEndAllowThreads(__tstate
);
10886 if (PyErr_Occurred()) return NULL
;
10887 } _resultobj
= Py_BuildValue("i",_result
);
10891 #define wxRegionIterator_GetWidth(_swigobj) (_swigobj->GetWidth())
10892 static PyObject
*_wrap_wxRegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10893 PyObject
* _resultobj
;
10895 wxRegionIterator
* _arg0
;
10896 PyObject
* _argo0
= 0;
10897 char *_kwnames
[] = { "self", NULL
};
10900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetWidth",_kwnames
,&_argo0
))
10903 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10904 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
10905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetWidth. Expected _wxRegionIterator_p.");
10910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10911 _result
= (wxCoord
)wxRegionIterator_GetWidth(_arg0
);
10913 wxPyEndAllowThreads(__tstate
);
10914 if (PyErr_Occurred()) return NULL
;
10915 } _resultobj
= Py_BuildValue("i",_result
);
10919 #define wxRegionIterator_GetH(_swigobj) (_swigobj->GetH())
10920 static PyObject
*_wrap_wxRegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10921 PyObject
* _resultobj
;
10923 wxRegionIterator
* _arg0
;
10924 PyObject
* _argo0
= 0;
10925 char *_kwnames
[] = { "self", NULL
};
10928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetH",_kwnames
,&_argo0
))
10931 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10932 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
10933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetH. Expected _wxRegionIterator_p.");
10938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10939 _result
= (wxCoord
)wxRegionIterator_GetH(_arg0
);
10941 wxPyEndAllowThreads(__tstate
);
10942 if (PyErr_Occurred()) return NULL
;
10943 } _resultobj
= Py_BuildValue("i",_result
);
10947 #define wxRegionIterator_GetHeight(_swigobj) (_swigobj->GetHeight())
10948 static PyObject
*_wrap_wxRegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10949 PyObject
* _resultobj
;
10951 wxRegionIterator
* _arg0
;
10952 PyObject
* _argo0
= 0;
10953 char *_kwnames
[] = { "self", NULL
};
10956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetHeight",_kwnames
,&_argo0
))
10959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
10961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetHeight. Expected _wxRegionIterator_p.");
10966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10967 _result
= (wxCoord
)wxRegionIterator_GetHeight(_arg0
);
10969 wxPyEndAllowThreads(__tstate
);
10970 if (PyErr_Occurred()) return NULL
;
10971 } _resultobj
= Py_BuildValue("i",_result
);
10975 #define wxRegionIterator_GetRect(_swigobj) (_swigobj->GetRect())
10976 static PyObject
*_wrap_wxRegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10977 PyObject
* _resultobj
;
10979 wxRegionIterator
* _arg0
;
10980 PyObject
* _argo0
= 0;
10981 char *_kwnames
[] = { "self", NULL
};
10985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetRect",_kwnames
,&_argo0
))
10988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
10990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetRect. Expected _wxRegionIterator_p.");
10995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10996 _result
= new wxRect (wxRegionIterator_GetRect(_arg0
));
10998 wxPyEndAllowThreads(__tstate
);
10999 if (PyErr_Occurred()) return NULL
;
11000 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
11001 _resultobj
= Py_BuildValue("s",_ptemp
);
11005 #define wxRegionIterator_HaveRects(_swigobj) (_swigobj->HaveRects())
11006 static PyObject
*_wrap_wxRegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11007 PyObject
* _resultobj
;
11009 wxRegionIterator
* _arg0
;
11010 PyObject
* _argo0
= 0;
11011 char *_kwnames
[] = { "self", NULL
};
11014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_HaveRects",_kwnames
,&_argo0
))
11017 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11018 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_HaveRects. Expected _wxRegionIterator_p.");
11024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11025 _result
= (bool )wxRegionIterator_HaveRects(_arg0
);
11027 wxPyEndAllowThreads(__tstate
);
11028 if (PyErr_Occurred()) return NULL
;
11029 } _resultobj
= Py_BuildValue("i",_result
);
11033 #define wxRegionIterator_Reset(_swigobj) (_swigobj->Reset())
11034 static PyObject
*_wrap_wxRegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11035 PyObject
* _resultobj
;
11036 wxRegionIterator
* _arg0
;
11037 PyObject
* _argo0
= 0;
11038 char *_kwnames
[] = { "self", NULL
};
11041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Reset",_kwnames
,&_argo0
))
11044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Reset. Expected _wxRegionIterator_p.");
11051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11052 wxRegionIterator_Reset(_arg0
);
11054 wxPyEndAllowThreads(__tstate
);
11055 if (PyErr_Occurred()) return NULL
;
11056 } Py_INCREF(Py_None
);
11057 _resultobj
= Py_None
;
11061 static void wxRegionIterator_Next(wxRegionIterator
*self
) {
11064 static PyObject
*_wrap_wxRegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11065 PyObject
* _resultobj
;
11066 wxRegionIterator
* _arg0
;
11067 PyObject
* _argo0
= 0;
11068 char *_kwnames
[] = { "self", NULL
};
11071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Next",_kwnames
,&_argo0
))
11074 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11075 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Next. Expected _wxRegionIterator_p.");
11081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11082 wxRegionIterator_Next(_arg0
);
11084 wxPyEndAllowThreads(__tstate
);
11085 if (PyErr_Occurred()) return NULL
;
11086 } Py_INCREF(Py_None
);
11087 _resultobj
= Py_None
;
11091 static PyMethodDef gdicMethods
[] = {
11092 { "wxRegionIterator_Next", (PyCFunction
) _wrap_wxRegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
11093 { "wxRegionIterator_Reset", (PyCFunction
) _wrap_wxRegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
11094 { "wxRegionIterator_HaveRects", (PyCFunction
) _wrap_wxRegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
11095 { "wxRegionIterator_GetRect", (PyCFunction
) _wrap_wxRegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
11096 { "wxRegionIterator_GetHeight", (PyCFunction
) _wrap_wxRegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
11097 { "wxRegionIterator_GetH", (PyCFunction
) _wrap_wxRegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
11098 { "wxRegionIterator_GetWidth", (PyCFunction
) _wrap_wxRegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11099 { "wxRegionIterator_GetW", (PyCFunction
) _wrap_wxRegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
11100 { "wxRegionIterator_GetY", (PyCFunction
) _wrap_wxRegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
11101 { "wxRegionIterator_GetX", (PyCFunction
) _wrap_wxRegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
11102 { "delete_wxRegionIterator", (PyCFunction
) _wrap_delete_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
11103 { "new_wxRegionIterator", (PyCFunction
) _wrap_new_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
11104 { "wxRegion_UnionBitmap", (PyCFunction
) _wrap_wxRegion_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11105 { "wxRegion_ConvertToBitmap", (PyCFunction
) _wrap_wxRegion_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11106 { "wxRegion_XorRegion", (PyCFunction
) _wrap_wxRegion_XorRegion
, METH_VARARGS
| METH_KEYWORDS
},
11107 { "wxRegion_XorRect", (PyCFunction
) _wrap_wxRegion_XorRect
, METH_VARARGS
| METH_KEYWORDS
},
11108 { "wxRegion_Xor", (PyCFunction
) _wrap_wxRegion_Xor
, METH_VARARGS
| METH_KEYWORDS
},
11109 { "wxRegion_SubtractRegion", (PyCFunction
) _wrap_wxRegion_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
},
11110 { "wxRegion_SubtractRect", (PyCFunction
) _wrap_wxRegion_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
},
11111 { "wxRegion_Subtract", (PyCFunction
) _wrap_wxRegion_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
11112 { "wxRegion_UnionRegion", (PyCFunction
) _wrap_wxRegion_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
},
11113 { "wxRegion_UnionRect", (PyCFunction
) _wrap_wxRegion_UnionRect
, METH_VARARGS
| METH_KEYWORDS
},
11114 { "wxRegion_Union", (PyCFunction
) _wrap_wxRegion_Union
, METH_VARARGS
| METH_KEYWORDS
},
11115 { "wxRegion_IsEmpty", (PyCFunction
) _wrap_wxRegion_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
11116 { "wxRegion_IntersectRegion", (PyCFunction
) _wrap_wxRegion_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
},
11117 { "wxRegion_IntersectRect", (PyCFunction
) _wrap_wxRegion_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
11118 { "wxRegion_Intersect", (PyCFunction
) _wrap_wxRegion_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
11119 { "wxRegion_GetBox", (PyCFunction
) _wrap_wxRegion_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
11120 { "wxRegion_ContainsRectDim", (PyCFunction
) _wrap_wxRegion_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
},
11121 { "wxRegion_ContainsRect", (PyCFunction
) _wrap_wxRegion_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
11122 { "wxRegion_ContainsPoint", (PyCFunction
) _wrap_wxRegion_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
11123 { "wxRegion_Contains", (PyCFunction
) _wrap_wxRegion_Contains
, METH_VARARGS
| METH_KEYWORDS
},
11124 { "wxRegion_Offset", (PyCFunction
) _wrap_wxRegion_Offset
, METH_VARARGS
| METH_KEYWORDS
},
11125 { "wxRegion_Clear", (PyCFunction
) _wrap_wxRegion_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11126 { "delete_wxRegion", (PyCFunction
) _wrap_delete_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
11127 { "new_wxRegionFromBitmap", (PyCFunction
) _wrap_new_wxRegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11128 { "new_wxRegionFromPoints", (PyCFunction
) _wrap_new_wxRegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
},
11129 { "new_wxRegion", (PyCFunction
) _wrap_new_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
11130 { "wxImageList_GetSize", (PyCFunction
) _wrap_wxImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
11131 { "wxImageList_RemoveAll", (PyCFunction
) _wrap_wxImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
},
11132 { "wxImageList_Remove", (PyCFunction
) _wrap_wxImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
},
11133 { "wxImageList_GetImageCount", (PyCFunction
) _wrap_wxImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
11134 { "wxImageList_Draw", (PyCFunction
) _wrap_wxImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
},
11135 { "wxImageList_Replace", (PyCFunction
) _wrap_wxImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
},
11136 { "wxImageList_AddIcon", (PyCFunction
) _wrap_wxImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
11137 { "wxImageList_AddWithColourMask", (PyCFunction
) _wrap_wxImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
},
11138 { "wxImageList_Add", (PyCFunction
) _wrap_wxImageList_Add
, METH_VARARGS
| METH_KEYWORDS
},
11139 { "delete_wxImageList", (PyCFunction
) _wrap_delete_wxImageList
, METH_VARARGS
| METH_KEYWORDS
},
11140 { "new_wxImageList", (PyCFunction
) _wrap_new_wxImageList
, METH_VARARGS
| METH_KEYWORDS
},
11141 { "wxPalette_Ok", (PyCFunction
) _wrap_wxPalette_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11142 { "wxPalette_GetRGB", (PyCFunction
) _wrap_wxPalette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
11143 { "wxPalette_GetPixel", (PyCFunction
) _wrap_wxPalette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
11144 { "delete_wxPalette", (PyCFunction
) _wrap_delete_wxPalette
, METH_VARARGS
| METH_KEYWORDS
},
11145 { "new_wxPalette", (PyCFunction
) _wrap_new_wxPalette
, METH_VARARGS
| METH_KEYWORDS
},
11146 { "new_wxMirrorDC", (PyCFunction
) _wrap_new_wxMirrorDC
, METH_VARARGS
| METH_KEYWORDS
},
11147 { "new_wxWindowDC", (PyCFunction
) _wrap_new_wxWindowDC
, METH_VARARGS
| METH_KEYWORDS
},
11148 { "new_wxPaintDC", (PyCFunction
) _wrap_new_wxPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
11149 { "new_wxClientDC", (PyCFunction
) _wrap_new_wxClientDC
, METH_VARARGS
| METH_KEYWORDS
},
11150 { "wxScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_wxScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
11151 { "wxScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_wxScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
11152 { "wxScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_wxScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
},
11153 { "new_wxScreenDC", (PyCFunction
) _wrap_new_wxScreenDC
, METH_VARARGS
| METH_KEYWORDS
},
11154 { "new_wxBufferedPaintDC", (PyCFunction
) _wrap_new_wxBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
11155 { "wxBufferedDC_UnMask", (PyCFunction
) _wrap_wxBufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
},
11156 { "new_wxBufferedDCInternalBuffer", (PyCFunction
) _wrap_new_wxBufferedDCInternalBuffer
, METH_VARARGS
| METH_KEYWORDS
},
11157 { "new_wxBufferedDC", (PyCFunction
) _wrap_new_wxBufferedDC
, METH_VARARGS
| METH_KEYWORDS
},
11158 { "wxMemoryDC_SelectObject", (PyCFunction
) _wrap_wxMemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
},
11159 { "new_wxMemoryDC", (PyCFunction
) _wrap_new_wxMemoryDC
, METH_VARARGS
| METH_KEYWORDS
},
11160 { "wxDC__DrawTextList", (PyCFunction
) _wrap_wxDC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
},
11161 { "wxDC__DrawPolygonList", (PyCFunction
) _wrap_wxDC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
},
11162 { "wxDC__DrawEllipseList", (PyCFunction
) _wrap_wxDC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
},
11163 { "wxDC__DrawRectangleList", (PyCFunction
) _wrap_wxDC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
},
11164 { "wxDC__DrawLineList", (PyCFunction
) _wrap_wxDC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
},
11165 { "wxDC__DrawPointList", (PyCFunction
) _wrap_wxDC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
},
11166 { "wxDC_GetBoundingBox", (PyCFunction
) _wrap_wxDC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
11167 { "wxDC_ResetBoundingBox", (PyCFunction
) _wrap_wxDC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
11168 { "wxDC_CalcBoundingBox", (PyCFunction
) _wrap_wxDC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
11169 { "wxDC_SetAxisOrientation", (PyCFunction
) _wrap_wxDC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
},
11170 { "wxDC_GetDeviceOrigin", (PyCFunction
) _wrap_wxDC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
11171 { "wxDC_SetLogicalOrigin", (PyCFunction
) _wrap_wxDC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
11172 { "wxDC_GetLogicalOrigin", (PyCFunction
) _wrap_wxDC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
11173 { "wxDC_GetPPI", (PyCFunction
) _wrap_wxDC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
},
11174 { "wxDC_GetDepth", (PyCFunction
) _wrap_wxDC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
11175 { "wxDC_CanGetTextExtent", (PyCFunction
) _wrap_wxDC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
11176 { "wxDC_CanDrawBitmap", (PyCFunction
) _wrap_wxDC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11177 { "wxDC_DrawBitmap", (PyCFunction
) _wrap_wxDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11178 { "wxDC_StartPage", (PyCFunction
) _wrap_wxDC_StartPage
, METH_VARARGS
| METH_KEYWORDS
},
11179 { "wxDC_StartDoc", (PyCFunction
) _wrap_wxDC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
},
11180 { "wxDC_SetUserScale", (PyCFunction
) _wrap_wxDC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
11181 { "wxDC_SetTextForeground", (PyCFunction
) _wrap_wxDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
11182 { "wxDC_SetTextBackground", (PyCFunction
) _wrap_wxDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
11183 { "wxDC_SetPen", (PyCFunction
) _wrap_wxDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
11184 { "wxDC_SetOptimization", (PyCFunction
) _wrap_wxDC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
11185 { "wxDC_SetMapMode", (PyCFunction
) _wrap_wxDC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
11186 { "wxDC_SetLogicalScale", (PyCFunction
) _wrap_wxDC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
11187 { "wxDC_SetLogicalFunction", (PyCFunction
) _wrap_wxDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
11188 { "wxDC_SetFont", (PyCFunction
) _wrap_wxDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
11189 { "wxDC_SetBrush", (PyCFunction
) _wrap_wxDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
11190 { "wxDC_SetPalette", (PyCFunction
) _wrap_wxDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
11191 { "wxDC_SetClippingRect", (PyCFunction
) _wrap_wxDC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
11192 { "wxDC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_wxDC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
},
11193 { "wxDC_SetClippingRegion", (PyCFunction
) _wrap_wxDC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
11194 { "wxDC_SetBackgroundMode", (PyCFunction
) _wrap_wxDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
11195 { "wxDC_SetBackground", (PyCFunction
) _wrap_wxDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
},
11196 { "wxDC_SetDeviceOrigin", (PyCFunction
) _wrap_wxDC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
11197 { "wxDC_Ok", (PyCFunction
) _wrap_wxDC_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11198 { "wxDC_MinY", (PyCFunction
) _wrap_wxDC_MinY
, METH_VARARGS
| METH_KEYWORDS
},
11199 { "wxDC_MinX", (PyCFunction
) _wrap_wxDC_MinX
, METH_VARARGS
| METH_KEYWORDS
},
11200 { "wxDC_MaxY", (PyCFunction
) _wrap_wxDC_MaxY
, METH_VARARGS
| METH_KEYWORDS
},
11201 { "wxDC_MaxX", (PyCFunction
) _wrap_wxDC_MaxX
, METH_VARARGS
| METH_KEYWORDS
},
11202 { "wxDC_LogicalToDeviceYRel", (PyCFunction
) _wrap_wxDC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
},
11203 { "wxDC_LogicalToDeviceY", (PyCFunction
) _wrap_wxDC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
},
11204 { "wxDC_LogicalToDeviceXRel", (PyCFunction
) _wrap_wxDC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
},
11205 { "wxDC_LogicalToDeviceX", (PyCFunction
) _wrap_wxDC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
},
11206 { "wxDC_GetUserScale", (PyCFunction
) _wrap_wxDC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
11207 { "wxDC_GetTextForeground", (PyCFunction
) _wrap_wxDC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
11208 { "wxDC_GetMultiLineTextExtent", (PyCFunction
) _wrap_wxDC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
11209 { "wxDC_GetFullTextExtent", (PyCFunction
) _wrap_wxDC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
11210 { "wxDC_GetTextExtent", (PyCFunction
) _wrap_wxDC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
11211 { "wxDC_GetTextBackground", (PyCFunction
) _wrap_wxDC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
11212 { "wxDC_GetSizeMM", (PyCFunction
) _wrap_wxDC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
11213 { "wxDC_GetSize", (PyCFunction
) _wrap_wxDC_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
11214 { "wxDC_GetSizeTuple", (PyCFunction
) _wrap_wxDC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
11215 { "wxDC_GetPixel", (PyCFunction
) _wrap_wxDC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
11216 { "wxDC_GetPen", (PyCFunction
) _wrap_wxDC_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
11217 { "wxDC_GetOptimization", (PyCFunction
) _wrap_wxDC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
11218 { "wxDC_GetMapMode", (PyCFunction
) _wrap_wxDC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
11219 { "wxDC_GetLogicalScale", (PyCFunction
) _wrap_wxDC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
11220 { "wxDC_GetLogicalFunction", (PyCFunction
) _wrap_wxDC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
11221 { "wxDC_GetFont", (PyCFunction
) _wrap_wxDC_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11222 { "wxDC_GetClippingBox", (PyCFunction
) _wrap_wxDC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
},
11223 { "wxDC_GetCharWidth", (PyCFunction
) _wrap_wxDC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
11224 { "wxDC_GetCharHeight", (PyCFunction
) _wrap_wxDC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
11225 { "wxDC_GetBrush", (PyCFunction
) _wrap_wxDC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
11226 { "wxDC_GetBackground", (PyCFunction
) _wrap_wxDC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
},
11227 { "wxDC_FloodFill", (PyCFunction
) _wrap_wxDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
},
11228 { "wxDC_EndPage", (PyCFunction
) _wrap_wxDC_EndPage
, METH_VARARGS
| METH_KEYWORDS
},
11229 { "wxDC_EndDrawing", (PyCFunction
) _wrap_wxDC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
},
11230 { "wxDC_EndDoc", (PyCFunction
) _wrap_wxDC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
},
11231 { "wxDC_DrawText", (PyCFunction
) _wrap_wxDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
11232 { "wxDC_DrawSpline", (PyCFunction
) _wrap_wxDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
11233 { "wxDC_DrawRoundedRectangle", (PyCFunction
) _wrap_wxDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
11234 { "wxDC_DrawRotatedText", (PyCFunction
) _wrap_wxDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
},
11235 { "wxDC_DrawRectangleRect", (PyCFunction
) _wrap_wxDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
11236 { "wxDC_DrawRectangle", (PyCFunction
) _wrap_wxDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
11237 { "wxDC_DrawPoint", (PyCFunction
) _wrap_wxDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
11238 { "wxDC_DrawPolygon", (PyCFunction
) _wrap_wxDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
11239 { "wxDC_DrawLines", (PyCFunction
) _wrap_wxDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
11240 { "wxDC_DrawLine", (PyCFunction
) _wrap_wxDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
11241 { "wxDC_DrawImageLabel", (PyCFunction
) _wrap_wxDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
11242 { "wxDC_DrawLabel", (PyCFunction
) _wrap_wxDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
},
11243 { "wxDC_DrawIcon", (PyCFunction
) _wrap_wxDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
},
11244 { "wxDC_DrawEllipticArc", (PyCFunction
) _wrap_wxDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
11245 { "wxDC_DrawEllipse", (PyCFunction
) _wrap_wxDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
11246 { "wxDC_DrawCircle", (PyCFunction
) _wrap_wxDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
},
11247 { "wxDC_DrawArc", (PyCFunction
) _wrap_wxDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
11248 { "wxDC_DeviceToLogicalYRel", (PyCFunction
) _wrap_wxDC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
},
11249 { "wxDC_DeviceToLogicalY", (PyCFunction
) _wrap_wxDC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
},
11250 { "wxDC_DeviceToLogicalXRel", (PyCFunction
) _wrap_wxDC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
},
11251 { "wxDC_DeviceToLogicalX", (PyCFunction
) _wrap_wxDC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
},
11252 { "wxDC_DestroyClippingRegion", (PyCFunction
) _wrap_wxDC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
11253 { "wxDC_CrossHair", (PyCFunction
) _wrap_wxDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
},
11254 { "wxDC_Clear", (PyCFunction
) _wrap_wxDC_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11255 { "wxDC_Blit", (PyCFunction
) _wrap_wxDC_Blit
, METH_VARARGS
| METH_KEYWORDS
},
11256 { "wxDC_BeginDrawing", (PyCFunction
) _wrap_wxDC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
},
11257 { "delete_wxDC", (PyCFunction
) _wrap_delete_wxDC
, METH_VARARGS
| METH_KEYWORDS
},
11258 { "wxBrushList_GetCount", (PyCFunction
) _wrap_wxBrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11259 { "wxBrushList_RemoveBrush", (PyCFunction
) _wrap_wxBrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
},
11260 { "wxBrushList_FindOrCreateBrush", (PyCFunction
) _wrap_wxBrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
},
11261 { "wxBrushList_AddBrush", (PyCFunction
) _wrap_wxBrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
},
11262 { "wxBrush_SetStyle", (PyCFunction
) _wrap_wxBrush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11263 { "wxBrush_SetStipple", (PyCFunction
) _wrap_wxBrush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
11264 { "wxBrush_SetColour", (PyCFunction
) _wrap_wxBrush_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
11265 { "wxBrush_Ok", (PyCFunction
) _wrap_wxBrush_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11266 { "wxBrush_GetStyle", (PyCFunction
) _wrap_wxBrush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11267 { "wxBrush_GetStipple", (PyCFunction
) _wrap_wxBrush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
11268 { "wxBrush_GetColour", (PyCFunction
) _wrap_wxBrush_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
11269 { "delete_wxBrush", (PyCFunction
) _wrap_delete_wxBrush
, METH_VARARGS
| METH_KEYWORDS
},
11270 { "new_wxBrush", (PyCFunction
) _wrap_new_wxBrush
, METH_VARARGS
| METH_KEYWORDS
},
11271 { "wxPenList_GetCount", (PyCFunction
) _wrap_wxPenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11272 { "wxPenList_RemovePen", (PyCFunction
) _wrap_wxPenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
},
11273 { "wxPenList_FindOrCreatePen", (PyCFunction
) _wrap_wxPenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
},
11274 { "wxPenList_AddPen", (PyCFunction
) _wrap_wxPenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
},
11275 { "wxPyPen_SetDashes", (PyCFunction
) _wrap_wxPyPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
11276 { "delete_wxPyPen", (PyCFunction
) _wrap_delete_wxPyPen
, METH_VARARGS
| METH_KEYWORDS
},
11277 { "new_wxPyPen", (PyCFunction
) _wrap_new_wxPyPen
, METH_VARARGS
| METH_KEYWORDS
},
11278 { "wxPen_GetDashes", (PyCFunction
) _wrap_wxPen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
},
11279 { "wxPen_SetDashes", (PyCFunction
) _wrap_wxPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
11280 { "wxPen_SetWidth", (PyCFunction
) _wrap_wxPen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11281 { "wxPen_SetStyle", (PyCFunction
) _wrap_wxPen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11282 { "wxPen_SetJoin", (PyCFunction
) _wrap_wxPen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
},
11283 { "wxPen_SetColour", (PyCFunction
) _wrap_wxPen_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
11284 { "wxPen_SetCap", (PyCFunction
) _wrap_wxPen_SetCap
, METH_VARARGS
| METH_KEYWORDS
},
11285 { "wxPen_Ok", (PyCFunction
) _wrap_wxPen_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11286 { "wxPen_GetWidth", (PyCFunction
) _wrap_wxPen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11287 { "wxPen_GetStyle", (PyCFunction
) _wrap_wxPen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11288 { "wxPen_GetJoin", (PyCFunction
) _wrap_wxPen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
},
11289 { "wxPen_GetColour", (PyCFunction
) _wrap_wxPen_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
11290 { "wxPen_GetCap", (PyCFunction
) _wrap_wxPen_GetCap
, METH_VARARGS
| METH_KEYWORDS
},
11291 { "delete_wxPen", (PyCFunction
) _wrap_delete_wxPen
, METH_VARARGS
| METH_KEYWORDS
},
11292 { "new_wxPen", (PyCFunction
) _wrap_new_wxPen
, METH_VARARGS
| METH_KEYWORDS
},
11293 { "wxColourDatabase_Append", (PyCFunction
) _wrap_wxColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
},
11294 { "wxColourDatabase_AddColour", (PyCFunction
) _wrap_wxColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
},
11295 { "wxColourDatabase_FindName", (PyCFunction
) _wrap_wxColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
},
11296 { "wxColourDatabase_FindColourNoAdd", (PyCFunction
) _wrap_wxColourDatabase_FindColourNoAdd
, METH_VARARGS
| METH_KEYWORDS
},
11297 { "wxColourDatabase_FindColour", (PyCFunction
) _wrap_wxColourDatabase_FindColour
, METH_VARARGS
| METH_KEYWORDS
},
11298 { "wxColour___ne__", (PyCFunction
) _wrap_wxColour___ne__
, METH_VARARGS
| METH_KEYWORDS
},
11299 { "wxColour___eq__", (PyCFunction
) _wrap_wxColour___eq__
, METH_VARARGS
| METH_KEYWORDS
},
11300 { "wxColour_Get", (PyCFunction
) _wrap_wxColour_Get
, METH_VARARGS
| METH_KEYWORDS
},
11301 { "wxColour_Set", (PyCFunction
) _wrap_wxColour_Set
, METH_VARARGS
| METH_KEYWORDS
},
11302 { "wxColour_Ok", (PyCFunction
) _wrap_wxColour_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11303 { "wxColour_Blue", (PyCFunction
) _wrap_wxColour_Blue
, METH_VARARGS
| METH_KEYWORDS
},
11304 { "wxColour_Green", (PyCFunction
) _wrap_wxColour_Green
, METH_VARARGS
| METH_KEYWORDS
},
11305 { "wxColour_Red", (PyCFunction
) _wrap_wxColour_Red
, METH_VARARGS
| METH_KEYWORDS
},
11306 { "delete_wxColour", (PyCFunction
) _wrap_delete_wxColour
, METH_VARARGS
| METH_KEYWORDS
},
11307 { "new_wxColour", (PyCFunction
) _wrap_new_wxColour
, METH_VARARGS
| METH_KEYWORDS
},
11308 { "wxCursor_Ok", (PyCFunction
) _wrap_wxCursor_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11309 { "delete_wxCursor", (PyCFunction
) _wrap_delete_wxCursor
, METH_VARARGS
| METH_KEYWORDS
},
11310 { "new_wxCursor", (PyCFunction
) _wrap_new_wxCursor
, METH_VARARGS
| METH_KEYWORDS
},
11311 { "wxIconBundle_GetIcon", (PyCFunction
) _wrap_wxIconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
11312 { "wxIconBundle_AddIconFromFile", (PyCFunction
) _wrap_wxIconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
},
11313 { "wxIconBundle_AddIcon", (PyCFunction
) _wrap_wxIconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
11314 { "delete_wxIconBundle", (PyCFunction
) _wrap_delete_wxIconBundle
, METH_VARARGS
| METH_KEYWORDS
},
11315 { "new_wxIconBundleFromIcon", (PyCFunction
) _wrap_new_wxIconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
11316 { "new_wxIconBundleFromFile", (PyCFunction
) _wrap_new_wxIconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
},
11317 { "new_wxIconBundle", (PyCFunction
) _wrap_new_wxIconBundle
, METH_VARARGS
| METH_KEYWORDS
},
11318 { "wxIconLocation_GetIndex", (PyCFunction
) _wrap_wxIconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
11319 { "wxIconLocation_SetIndex", (PyCFunction
) _wrap_wxIconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
},
11320 { "wxIconLocation_GetFileName", (PyCFunction
) _wrap_wxIconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
},
11321 { "wxIconLocation_SetFileName", (PyCFunction
) _wrap_wxIconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
},
11322 { "wxIconLocation_IsOk", (PyCFunction
) _wrap_wxIconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
11323 { "delete_wxIconLocation", (PyCFunction
) _wrap_delete_wxIconLocation
, METH_VARARGS
| METH_KEYWORDS
},
11324 { "new_wxIconLocation", (PyCFunction
) _wrap_new_wxIconLocation
, METH_VARARGS
| METH_KEYWORDS
},
11325 { "wxIcon_CopyFromBitmap", (PyCFunction
) _wrap_wxIcon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11326 { "wxIcon_SetDepth", (PyCFunction
) _wrap_wxIcon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
11327 { "wxIcon_SetHeight", (PyCFunction
) _wrap_wxIcon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
11328 { "wxIcon_SetWidth", (PyCFunction
) _wrap_wxIcon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11329 { "wxIcon_GetDepth", (PyCFunction
) _wrap_wxIcon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
11330 { "wxIcon_GetHeight", (PyCFunction
) _wrap_wxIcon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
11331 { "wxIcon_GetWidth", (PyCFunction
) _wrap_wxIcon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11332 { "wxIcon_Ok", (PyCFunction
) _wrap_wxIcon_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11333 { "wxIcon_LoadFile", (PyCFunction
) _wrap_wxIcon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
11334 { "delete_wxIcon", (PyCFunction
) _wrap_delete_wxIcon
, METH_VARARGS
| METH_KEYWORDS
},
11335 { "new_wxIcon", (PyCFunction
) _wrap_new_wxIcon
, METH_VARARGS
| METH_KEYWORDS
},
11336 { "wxMask_Destroy", (PyCFunction
) _wrap_wxMask_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
11337 { "new_wxMask", (PyCFunction
) _wrap_new_wxMask
, METH_VARARGS
| METH_KEYWORDS
},
11338 { "wxBitmap_CopyFromIcon", (PyCFunction
) _wrap_wxBitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
11339 { "wxBitmap_GetSubBitmap", (PyCFunction
) _wrap_wxBitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11340 { "wxBitmap_SetDepth", (PyCFunction
) _wrap_wxBitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
11341 { "wxBitmap_SetHeight", (PyCFunction
) _wrap_wxBitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
11342 { "wxBitmap_SetWidth", (PyCFunction
) _wrap_wxBitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11343 { "wxBitmap_GetDepth", (PyCFunction
) _wrap_wxBitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
11344 { "wxBitmap_GetHeight", (PyCFunction
) _wrap_wxBitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
11345 { "wxBitmap_GetWidth", (PyCFunction
) _wrap_wxBitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11346 { "wxBitmap_Ok", (PyCFunction
) _wrap_wxBitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11347 { "wxBitmap_SetMask", (PyCFunction
) _wrap_wxBitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
11348 { "wxBitmap_SaveFile", (PyCFunction
) _wrap_wxBitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
11349 { "wxBitmap_LoadFile", (PyCFunction
) _wrap_wxBitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
11350 { "wxBitmap_GetMask", (PyCFunction
) _wrap_wxBitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
11351 { "wxBitmap_GetPalette", (PyCFunction
) _wrap_wxBitmap_GetPalette
, METH_VARARGS
| METH_KEYWORDS
},
11352 { "delete_wxBitmap", (PyCFunction
) _wrap_delete_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11353 { "new_wxBitmap", (PyCFunction
) _wrap_new_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11354 { "wxGDIObject_IsNull", (PyCFunction
) _wrap_wxGDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
11355 { "wxGDIObject_SetVisible", (PyCFunction
) _wrap_wxGDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
},
11356 { "wxGDIObject_GetVisible", (PyCFunction
) _wrap_wxGDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
},
11357 { "delete_wxGDIObject", (PyCFunction
) _wrap_delete_wxGDIObject
, METH_VARARGS
| METH_KEYWORDS
},
11358 { "new_wxGDIObject", (PyCFunction
) _wrap_new_wxGDIObject
, METH_VARARGS
| METH_KEYWORDS
},
11359 { "wxMemoryDCFromDC", (PyCFunction
) _wrap_wxMemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
},
11360 { "wxNamedColour", (PyCFunction
) _wrap_wxNamedColour
, METH_VARARGS
| METH_KEYWORDS
},
11361 { "wxCursorFromBits", (PyCFunction
) _wrap_wxCursorFromBits
, METH_VARARGS
| METH_KEYWORDS
},
11362 { "wxCursorFromImage", (PyCFunction
) _wrap_wxCursorFromImage
, METH_VARARGS
| METH_KEYWORDS
},
11363 { "wxStockCursor", (PyCFunction
) _wrap_wxStockCursor
, METH_VARARGS
| METH_KEYWORDS
},
11364 { "wxIconFromLocation", (PyCFunction
) _wrap_wxIconFromLocation
, METH_VARARGS
| METH_KEYWORDS
},
11365 { "wxIconFromBitmap", (PyCFunction
) _wrap_wxIconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11366 { "wxIconFromXPMData", (PyCFunction
) _wrap_wxIconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
11367 { "wxEmptyIcon", (PyCFunction
) _wrap_wxEmptyIcon
, METH_VARARGS
| METH_KEYWORDS
},
11368 { "wxMaskColour", (PyCFunction
) _wrap_wxMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
11369 { "wxBitmapFromBits", (PyCFunction
) _wrap_wxBitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
},
11370 { "wxBitmapFromIcon", (PyCFunction
) _wrap_wxBitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
11371 { "wxBitmapFromXPMData", (PyCFunction
) _wrap_wxBitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
11372 { "wxEmptyBitmap", (PyCFunction
) _wrap_wxEmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11379 * This table is used by the pointer type-checker
11381 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
11382 { "_signed_long","_long",0},
11383 { "_wxPrintQuality","_wxCoord",0},
11384 { "_wxPrintQuality","_int",0},
11385 { "_wxPrintQuality","_signed_int",0},
11386 { "_wxPrintQuality","_unsigned_int",0},
11387 { "_wxPrintQuality","_wxWindowID",0},
11388 { "_wxPrintQuality","_uint",0},
11389 { "_wxPrintQuality","_EBool",0},
11390 { "_wxPrintQuality","_size_t",0},
11391 { "_wxPrintQuality","_time_t",0},
11392 { "_wxPen","_wxPyPen",SwigwxPyPenTowxPen
},
11393 { "_byte","_unsigned_char",0},
11394 { "_long","_unsigned_long",0},
11395 { "_long","_signed_long",0},
11396 { "_wxGDIObject","_wxRegion",SwigwxRegionTowxGDIObject
},
11397 { "_wxGDIObject","_wxPalette",SwigwxPaletteTowxGDIObject
},
11398 { "_wxGDIObject","_wxBrush",SwigwxBrushTowxGDIObject
},
11399 { "_wxGDIObject","_wxPyPen",SwigwxPyPenTowxGDIObject
},
11400 { "_wxGDIObject","_wxPen",SwigwxPenTowxGDIObject
},
11401 { "_wxGDIObject","_wxCursor",SwigwxCursorTowxGDIObject
},
11402 { "_wxGDIObject","_wxIcon",SwigwxIconTowxGDIObject
},
11403 { "_wxGDIObject","_wxBitmap",SwigwxBitmapTowxGDIObject
},
11404 { "_wxDC","_wxMirrorDC",SwigwxMirrorDCTowxDC
},
11405 { "_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC
},
11406 { "_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
},
11407 { "_wxDC","_wxClientDC",SwigwxClientDCTowxDC
},
11408 { "_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
},
11409 { "_wxDC","_wxBufferedPaintDC",SwigwxBufferedPaintDCTowxDC
},
11410 { "_wxDC","_wxBufferedDC",SwigwxBufferedDCTowxDC
},
11411 { "_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
},
11412 { "_size_t","_wxCoord",0},
11413 { "_size_t","_wxPrintQuality",0},
11414 { "_size_t","_time_t",0},
11415 { "_size_t","_unsigned_int",0},
11416 { "_size_t","_int",0},
11417 { "_size_t","_wxWindowID",0},
11418 { "_size_t","_uint",0},
11419 { "_uint","_wxCoord",0},
11420 { "_uint","_wxPrintQuality",0},
11421 { "_uint","_time_t",0},
11422 { "_uint","_size_t",0},
11423 { "_uint","_unsigned_int",0},
11424 { "_uint","_int",0},
11425 { "_uint","_wxWindowID",0},
11426 { "_wxChar","_char",0},
11427 { "_char","_wxChar",0},
11428 { "_wxBufferedDC","_wxBufferedPaintDC",SwigwxBufferedPaintDCTowxBufferedDC
},
11429 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
11430 { "_EBool","_wxCoord",0},
11431 { "_EBool","_wxPrintQuality",0},
11432 { "_EBool","_signed_int",0},
11433 { "_EBool","_int",0},
11434 { "_EBool","_wxWindowID",0},
11435 { "_unsigned_long","_long",0},
11436 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
11437 { "_signed_int","_wxCoord",0},
11438 { "_signed_int","_wxPrintQuality",0},
11439 { "_signed_int","_EBool",0},
11440 { "_signed_int","_wxWindowID",0},
11441 { "_signed_int","_int",0},
11442 { "_WXTYPE","_short",0},
11443 { "_WXTYPE","_signed_short",0},
11444 { "_WXTYPE","_unsigned_short",0},
11445 { "_unsigned_short","_WXTYPE",0},
11446 { "_unsigned_short","_short",0},
11447 { "_wxObject","_wxRegionIterator",SwigwxRegionIteratorTowxObject
},
11448 { "_wxObject","_wxRegion",SwigwxRegionTowxObject
},
11449 { "_wxObject","_wxImageList",SwigwxImageListTowxObject
},
11450 { "_wxObject","_wxPalette",SwigwxPaletteTowxObject
},
11451 { "_wxObject","_wxMirrorDC",SwigwxMirrorDCTowxObject
},
11452 { "_wxObject","_wxWindowDC",SwigwxWindowDCTowxObject
},
11453 { "_wxObject","_wxPaintDC",SwigwxPaintDCTowxObject
},
11454 { "_wxObject","_wxClientDC",SwigwxClientDCTowxObject
},
11455 { "_wxObject","_wxScreenDC",SwigwxScreenDCTowxObject
},
11456 { "_wxObject","_wxBufferedPaintDC",SwigwxBufferedPaintDCTowxObject
},
11457 { "_wxObject","_wxBufferedDC",SwigwxBufferedDCTowxObject
},
11458 { "_wxObject","_wxMemoryDC",SwigwxMemoryDCTowxObject
},
11459 { "_wxObject","_wxDC",SwigwxDCTowxObject
},
11460 { "_wxObject","_wxBrushList",SwigwxBrushListTowxObject
},
11461 { "_wxObject","_wxBrush",SwigwxBrushTowxObject
},
11462 { "_wxObject","_wxPenList",SwigwxPenListTowxObject
},
11463 { "_wxObject","_wxPyPen",SwigwxPyPenTowxObject
},
11464 { "_wxObject","_wxPen",SwigwxPenTowxObject
},
11465 { "_wxObject","_wxColourDatabase",SwigwxColourDatabaseTowxObject
},
11466 { "_wxObject","_wxColour",SwigwxColourTowxObject
},
11467 { "_wxObject","_wxCursor",SwigwxCursorTowxObject
},
11468 { "_wxObject","_wxIcon",SwigwxIconTowxObject
},
11469 { "_wxObject","_wxMask",SwigwxMaskTowxObject
},
11470 { "_wxObject","_wxBitmap",SwigwxBitmapTowxObject
},
11471 { "_wxObject","_wxGDIObject",SwigwxGDIObjectTowxObject
},
11472 { "_signed_short","_WXTYPE",0},
11473 { "_signed_short","_short",0},
11474 { "_wxMemoryDC","_wxBufferedPaintDC",SwigwxBufferedPaintDCTowxMemoryDC
},
11475 { "_wxMemoryDC","_wxBufferedDC",SwigwxBufferedDCTowxMemoryDC
},
11476 { "_unsigned_char","_byte",0},
11477 { "_unsigned_int","_wxCoord",0},
11478 { "_unsigned_int","_wxPrintQuality",0},
11479 { "_unsigned_int","_time_t",0},
11480 { "_unsigned_int","_size_t",0},
11481 { "_unsigned_int","_uint",0},
11482 { "_unsigned_int","_wxWindowID",0},
11483 { "_unsigned_int","_int",0},
11484 { "_short","_WXTYPE",0},
11485 { "_short","_unsigned_short",0},
11486 { "_short","_signed_short",0},
11487 { "_wxWindowID","_wxCoord",0},
11488 { "_wxWindowID","_wxPrintQuality",0},
11489 { "_wxWindowID","_time_t",0},
11490 { "_wxWindowID","_size_t",0},
11491 { "_wxWindowID","_EBool",0},
11492 { "_wxWindowID","_uint",0},
11493 { "_wxWindowID","_int",0},
11494 { "_wxWindowID","_signed_int",0},
11495 { "_wxWindowID","_unsigned_int",0},
11496 { "_int","_wxCoord",0},
11497 { "_int","_wxPrintQuality",0},
11498 { "_int","_time_t",0},
11499 { "_int","_size_t",0},
11500 { "_int","_EBool",0},
11501 { "_int","_uint",0},
11502 { "_int","_wxWindowID",0},
11503 { "_int","_unsigned_int",0},
11504 { "_int","_signed_int",0},
11505 { "_time_t","_wxCoord",0},
11506 { "_time_t","_wxPrintQuality",0},
11507 { "_time_t","_unsigned_int",0},
11508 { "_time_t","_int",0},
11509 { "_time_t","_wxWindowID",0},
11510 { "_time_t","_uint",0},
11511 { "_time_t","_size_t",0},
11512 { "_wxCoord","_int",0},
11513 { "_wxCoord","_signed_int",0},
11514 { "_wxCoord","_unsigned_int",0},
11515 { "_wxCoord","_wxWindowID",0},
11516 { "_wxCoord","_uint",0},
11517 { "_wxCoord","_EBool",0},
11518 { "_wxCoord","_size_t",0},
11519 { "_wxCoord","_time_t",0},
11520 { "_wxCoord","_wxPrintQuality",0},
11523 static PyObject
*SWIG_globals
;
11527 SWIGEXPORT(void) initgdic() {
11529 SWIG_globals
= SWIG_newvarlink();
11530 m
= Py_InitModule("gdic", gdicMethods
);
11531 d
= PyModule_GetDict(m
);
11532 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_NORMAL", PyInt_FromLong((long) wxIMAGELIST_DRAW_NORMAL
));
11533 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_TRANSPARENT", PyInt_FromLong((long) wxIMAGELIST_DRAW_TRANSPARENT
));
11534 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_SELECTED", PyInt_FromLong((long) wxIMAGELIST_DRAW_SELECTED
));
11535 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_FOCUSED", PyInt_FromLong((long) wxIMAGELIST_DRAW_FOCUSED
));
11536 PyDict_SetItemString(d
,"wxIMAGE_LIST_NORMAL", PyInt_FromLong((long) wxIMAGE_LIST_NORMAL
));
11537 PyDict_SetItemString(d
,"wxIMAGE_LIST_SMALL", PyInt_FromLong((long) wxIMAGE_LIST_SMALL
));
11538 PyDict_SetItemString(d
,"wxIMAGE_LIST_STATE", PyInt_FromLong((long) wxIMAGE_LIST_STATE
));
11539 PyDict_SetItemString(d
,"wxOutRegion", PyInt_FromLong((long) wxOutRegion
));
11540 PyDict_SetItemString(d
,"wxPartRegion", PyInt_FromLong((long) wxPartRegion
));
11541 PyDict_SetItemString(d
,"wxInRegion", PyInt_FromLong((long) wxInRegion
));
11542 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
11543 SWIG_addvarlink(SWIG_globals
,"wxNORMAL_FONT",_wrap_wxNORMAL_FONT_get
, _wrap_wxNORMAL_FONT_set
);
11544 SWIG_addvarlink(SWIG_globals
,"wxSMALL_FONT",_wrap_wxSMALL_FONT_get
, _wrap_wxSMALL_FONT_set
);
11545 SWIG_addvarlink(SWIG_globals
,"wxITALIC_FONT",_wrap_wxITALIC_FONT_get
, _wrap_wxITALIC_FONT_set
);
11546 SWIG_addvarlink(SWIG_globals
,"wxSWISS_FONT",_wrap_wxSWISS_FONT_get
, _wrap_wxSWISS_FONT_set
);
11547 SWIG_addvarlink(SWIG_globals
,"wxRED_PEN",_wrap_wxRED_PEN_get
, _wrap_wxRED_PEN_set
);
11548 SWIG_addvarlink(SWIG_globals
,"wxCYAN_PEN",_wrap_wxCYAN_PEN_get
, _wrap_wxCYAN_PEN_set
);
11549 SWIG_addvarlink(SWIG_globals
,"wxGREEN_PEN",_wrap_wxGREEN_PEN_get
, _wrap_wxGREEN_PEN_set
);
11550 SWIG_addvarlink(SWIG_globals
,"wxBLACK_PEN",_wrap_wxBLACK_PEN_get
, _wrap_wxBLACK_PEN_set
);
11551 SWIG_addvarlink(SWIG_globals
,"wxWHITE_PEN",_wrap_wxWHITE_PEN_get
, _wrap_wxWHITE_PEN_set
);
11552 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_PEN",_wrap_wxTRANSPARENT_PEN_get
, _wrap_wxTRANSPARENT_PEN_set
);
11553 SWIG_addvarlink(SWIG_globals
,"wxBLACK_DASHED_PEN",_wrap_wxBLACK_DASHED_PEN_get
, _wrap_wxBLACK_DASHED_PEN_set
);
11554 SWIG_addvarlink(SWIG_globals
,"wxGREY_PEN",_wrap_wxGREY_PEN_get
, _wrap_wxGREY_PEN_set
);
11555 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_PEN",_wrap_wxMEDIUM_GREY_PEN_get
, _wrap_wxMEDIUM_GREY_PEN_set
);
11556 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_PEN",_wrap_wxLIGHT_GREY_PEN_get
, _wrap_wxLIGHT_GREY_PEN_set
);
11557 SWIG_addvarlink(SWIG_globals
,"wxBLUE_BRUSH",_wrap_wxBLUE_BRUSH_get
, _wrap_wxBLUE_BRUSH_set
);
11558 SWIG_addvarlink(SWIG_globals
,"wxGREEN_BRUSH",_wrap_wxGREEN_BRUSH_get
, _wrap_wxGREEN_BRUSH_set
);
11559 SWIG_addvarlink(SWIG_globals
,"wxWHITE_BRUSH",_wrap_wxWHITE_BRUSH_get
, _wrap_wxWHITE_BRUSH_set
);
11560 SWIG_addvarlink(SWIG_globals
,"wxBLACK_BRUSH",_wrap_wxBLACK_BRUSH_get
, _wrap_wxBLACK_BRUSH_set
);
11561 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_BRUSH",_wrap_wxTRANSPARENT_BRUSH_get
, _wrap_wxTRANSPARENT_BRUSH_set
);
11562 SWIG_addvarlink(SWIG_globals
,"wxCYAN_BRUSH",_wrap_wxCYAN_BRUSH_get
, _wrap_wxCYAN_BRUSH_set
);
11563 SWIG_addvarlink(SWIG_globals
,"wxRED_BRUSH",_wrap_wxRED_BRUSH_get
, _wrap_wxRED_BRUSH_set
);
11564 SWIG_addvarlink(SWIG_globals
,"wxGREY_BRUSH",_wrap_wxGREY_BRUSH_get
, _wrap_wxGREY_BRUSH_set
);
11565 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_BRUSH",_wrap_wxMEDIUM_GREY_BRUSH_get
, _wrap_wxMEDIUM_GREY_BRUSH_set
);
11566 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_BRUSH",_wrap_wxLIGHT_GREY_BRUSH_get
, _wrap_wxLIGHT_GREY_BRUSH_set
);
11567 SWIG_addvarlink(SWIG_globals
,"wxBLACK",_wrap_wxBLACK_get
, _wrap_wxBLACK_set
);
11568 SWIG_addvarlink(SWIG_globals
,"wxWHITE",_wrap_wxWHITE_get
, _wrap_wxWHITE_set
);
11569 SWIG_addvarlink(SWIG_globals
,"wxRED",_wrap_wxRED_get
, _wrap_wxRED_set
);
11570 SWIG_addvarlink(SWIG_globals
,"wxBLUE",_wrap_wxBLUE_get
, _wrap_wxBLUE_set
);
11571 SWIG_addvarlink(SWIG_globals
,"wxGREEN",_wrap_wxGREEN_get
, _wrap_wxGREEN_set
);
11572 SWIG_addvarlink(SWIG_globals
,"wxCYAN",_wrap_wxCYAN_get
, _wrap_wxCYAN_set
);
11573 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY",_wrap_wxLIGHT_GREY_get
, _wrap_wxLIGHT_GREY_set
);
11574 SWIG_addvarlink(SWIG_globals
,"wxSTANDARD_CURSOR",_wrap_wxSTANDARD_CURSOR_get
, _wrap_wxSTANDARD_CURSOR_set
);
11575 SWIG_addvarlink(SWIG_globals
,"wxHOURGLASS_CURSOR",_wrap_wxHOURGLASS_CURSOR_get
, _wrap_wxHOURGLASS_CURSOR_set
);
11576 SWIG_addvarlink(SWIG_globals
,"wxCROSS_CURSOR",_wrap_wxCROSS_CURSOR_get
, _wrap_wxCROSS_CURSOR_set
);
11577 SWIG_addvarlink(SWIG_globals
,"wxNullBitmap",_wrap_wxNullBitmap_get
, _wrap_wxNullBitmap_set
);
11578 SWIG_addvarlink(SWIG_globals
,"wxNullIcon",_wrap_wxNullIcon_get
, _wrap_wxNullIcon_set
);
11579 SWIG_addvarlink(SWIG_globals
,"wxNullCursor",_wrap_wxNullCursor_get
, _wrap_wxNullCursor_set
);
11580 SWIG_addvarlink(SWIG_globals
,"wxNullPen",_wrap_wxNullPen_get
, _wrap_wxNullPen_set
);
11581 SWIG_addvarlink(SWIG_globals
,"wxNullBrush",_wrap_wxNullBrush_get
, _wrap_wxNullBrush_set
);
11582 SWIG_addvarlink(SWIG_globals
,"wxNullPalette",_wrap_wxNullPalette_get
, _wrap_wxNullPalette_set
);
11583 SWIG_addvarlink(SWIG_globals
,"wxNullFont",_wrap_wxNullFont_get
, _wrap_wxNullFont_set
);
11584 SWIG_addvarlink(SWIG_globals
,"wxNullColour",_wrap_wxNullColour_get
, _wrap_wxNullColour_set
);
11585 SWIG_addvarlink(SWIG_globals
,"wxTheFontList",_wrap_wxTheFontList_get
, _wrap_wxTheFontList_set
);
11586 SWIG_addvarlink(SWIG_globals
,"wxThePenList",_wrap_wxThePenList_get
, _wrap_wxThePenList_set
);
11587 SWIG_addvarlink(SWIG_globals
,"wxTheBrushList",_wrap_wxTheBrushList_get
, _wrap_wxTheBrushList_set
);
11588 SWIG_addvarlink(SWIG_globals
,"wxTheColourDatabase",_wrap_wxTheColourDatabase_get
, _wrap_wxTheColourDatabase_set
);
11591 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
11592 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);