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 new_wxColourDatabase() (new wxColourDatabase())
3517 static PyObject
*_wrap_new_wxColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3518 PyObject
* _resultobj
;
3519 wxColourDatabase
* _result
;
3520 char *_kwnames
[] = { NULL
};
3524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxColourDatabase",_kwnames
))
3527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3528 _result
= (wxColourDatabase
*)new_wxColourDatabase();
3530 wxPyEndAllowThreads(__tstate
);
3531 if (PyErr_Occurred()) return NULL
;
3533 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColourDatabase_p");
3534 _resultobj
= Py_BuildValue("s",_ptemp
);
3537 _resultobj
= Py_None
;
3542 #define delete_wxColourDatabase(_swigobj) (delete _swigobj)
3543 static PyObject
*_wrap_delete_wxColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3544 PyObject
* _resultobj
;
3545 wxColourDatabase
* _arg0
;
3546 PyObject
* _argo0
= 0;
3547 char *_kwnames
[] = { "self", NULL
};
3550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxColourDatabase",_kwnames
,&_argo0
))
3553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
3555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxColourDatabase. Expected _wxColourDatabase_p.");
3560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3561 delete_wxColourDatabase(_arg0
);
3563 wxPyEndAllowThreads(__tstate
);
3564 if (PyErr_Occurred()) return NULL
;
3565 } Py_INCREF(Py_None
);
3566 _resultobj
= Py_None
;
3570 #define wxColourDatabase_Find(_swigobj,_swigarg0) (_swigobj->Find(_swigarg0))
3571 static PyObject
*_wrap_wxColourDatabase_Find(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3572 PyObject
* _resultobj
;
3574 wxColourDatabase
* _arg0
;
3576 PyObject
* _argo0
= 0;
3577 PyObject
* _obj1
= 0;
3578 char *_kwnames
[] = { "self","name", NULL
};
3582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxColourDatabase_Find",_kwnames
,&_argo0
,&_obj1
))
3585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
3587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_Find. Expected _wxColourDatabase_p.");
3592 _arg1
= wxString_in_helper(_obj1
);
3597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3598 _result
= new wxColour (wxColourDatabase_Find(_arg0
,*_arg1
));
3600 wxPyEndAllowThreads(__tstate
);
3601 if (PyErr_Occurred()) return NULL
;
3602 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
3603 _resultobj
= Py_BuildValue("s",_ptemp
);
3611 #define wxColourDatabase_FindName(_swigobj,_swigarg0) (_swigobj->FindName(_swigarg0))
3612 static PyObject
*_wrap_wxColourDatabase_FindName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3613 PyObject
* _resultobj
;
3615 wxColourDatabase
* _arg0
;
3617 PyObject
* _argo0
= 0;
3619 PyObject
* _obj1
= 0;
3620 char *_kwnames
[] = { "self","colour", NULL
};
3623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxColourDatabase_FindName",_kwnames
,&_argo0
,&_obj1
))
3626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
3628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_FindName. Expected _wxColourDatabase_p.");
3634 if (! wxColour_helper(_obj1
, &_arg1
))
3638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3639 _result
= new wxString (wxColourDatabase_FindName(_arg0
,*_arg1
));
3641 wxPyEndAllowThreads(__tstate
);
3642 if (PyErr_Occurred()) return NULL
;
3645 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3647 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3656 #define wxColourDatabase_AddColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddColour(_swigarg0,_swigarg1))
3657 static PyObject
*_wrap_wxColourDatabase_AddColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3658 PyObject
* _resultobj
;
3659 wxColourDatabase
* _arg0
;
3662 PyObject
* _argo0
= 0;
3663 PyObject
* _obj1
= 0;
3665 PyObject
* _obj2
= 0;
3666 char *_kwnames
[] = { "self","name","colour", NULL
};
3669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxColourDatabase_AddColour",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
3674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_AddColour. Expected _wxColourDatabase_p.");
3679 _arg1
= wxString_in_helper(_obj1
);
3685 if (! wxColour_helper(_obj2
, &_arg2
))
3689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3690 wxColourDatabase_AddColour(_arg0
,*_arg1
,*_arg2
);
3692 wxPyEndAllowThreads(__tstate
);
3693 if (PyErr_Occurred()) return NULL
;
3694 } Py_INCREF(Py_None
);
3695 _resultobj
= Py_None
;
3703 static void wxColourDatabase_Append(wxColourDatabase
*self
,const wxString
& name
,int red
,int green
,int blue
) {
3704 self
->AddColour(name
, wxColour(red
, green
, blue
));
3706 static PyObject
*_wrap_wxColourDatabase_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3707 PyObject
* _resultobj
;
3708 wxColourDatabase
* _arg0
;
3713 PyObject
* _argo0
= 0;
3714 PyObject
* _obj1
= 0;
3715 char *_kwnames
[] = { "self","name","red","green","blue", NULL
};
3718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiii:wxColourDatabase_Append",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_arg4
))
3721 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3722 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
3723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_Append. Expected _wxColourDatabase_p.");
3728 _arg1
= wxString_in_helper(_obj1
);
3733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3734 wxColourDatabase_Append(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3736 wxPyEndAllowThreads(__tstate
);
3737 if (PyErr_Occurred()) return NULL
;
3738 } Py_INCREF(Py_None
);
3739 _resultobj
= Py_None
;
3747 static void *SwigwxPenTowxGDIObject(void *ptr
) {
3750 src
= (wxPen
*) ptr
;
3751 dest
= (wxGDIObject
*) src
;
3752 return (void *) dest
;
3755 static void *SwigwxPenTowxObject(void *ptr
) {
3758 src
= (wxPen
*) ptr
;
3759 dest
= (wxObject
*) src
;
3760 return (void *) dest
;
3763 #define new_wxPen(_swigarg0,_swigarg1,_swigarg2) (new wxPen(_swigarg0,_swigarg1,_swigarg2))
3764 static PyObject
*_wrap_new_wxPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3765 PyObject
* _resultobj
;
3768 int _arg1
= (int ) 1;
3769 int _arg2
= (int ) wxSOLID
;
3771 PyObject
* _obj0
= 0;
3772 char *_kwnames
[] = { "colour","width","style", NULL
};
3776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:new_wxPen",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
3780 if (! wxColour_helper(_obj0
, &_arg0
))
3784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3785 _result
= (wxPen
*)new_wxPen(*_arg0
,_arg1
,_arg2
);
3787 wxPyEndAllowThreads(__tstate
);
3788 if (PyErr_Occurred()) return NULL
;
3790 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
3791 _resultobj
= Py_BuildValue("s",_ptemp
);
3794 _resultobj
= Py_None
;
3799 #define delete_wxPen(_swigobj) (delete _swigobj)
3800 static PyObject
*_wrap_delete_wxPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3801 PyObject
* _resultobj
;
3803 PyObject
* _argo0
= 0;
3804 char *_kwnames
[] = { "self", NULL
};
3807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPen",_kwnames
,&_argo0
))
3810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPen. Expected _wxPen_p.");
3817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3818 delete_wxPen(_arg0
);
3820 wxPyEndAllowThreads(__tstate
);
3821 if (PyErr_Occurred()) return NULL
;
3822 } Py_INCREF(Py_None
);
3823 _resultobj
= Py_None
;
3827 #define wxPen_GetCap(_swigobj) (_swigobj->GetCap())
3828 static PyObject
*_wrap_wxPen_GetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3829 PyObject
* _resultobj
;
3832 PyObject
* _argo0
= 0;
3833 char *_kwnames
[] = { "self", NULL
};
3836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetCap",_kwnames
,&_argo0
))
3839 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3840 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetCap. Expected _wxPen_p.");
3846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3847 _result
= (int )wxPen_GetCap(_arg0
);
3849 wxPyEndAllowThreads(__tstate
);
3850 if (PyErr_Occurred()) return NULL
;
3851 } _resultobj
= Py_BuildValue("i",_result
);
3855 #define wxPen_GetColour(_swigobj) (_swigobj->GetColour())
3856 static PyObject
*_wrap_wxPen_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3857 PyObject
* _resultobj
;
3860 PyObject
* _argo0
= 0;
3861 char *_kwnames
[] = { "self", NULL
};
3865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetColour",_kwnames
,&_argo0
))
3868 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3869 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetColour. Expected _wxPen_p.");
3875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3876 _result
= new wxColour (wxPen_GetColour(_arg0
));
3878 wxPyEndAllowThreads(__tstate
);
3879 if (PyErr_Occurred()) return NULL
;
3880 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
3881 _resultobj
= Py_BuildValue("s",_ptemp
);
3885 #define wxPen_GetJoin(_swigobj) (_swigobj->GetJoin())
3886 static PyObject
*_wrap_wxPen_GetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3887 PyObject
* _resultobj
;
3890 PyObject
* _argo0
= 0;
3891 char *_kwnames
[] = { "self", NULL
};
3894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetJoin",_kwnames
,&_argo0
))
3897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetJoin. Expected _wxPen_p.");
3904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3905 _result
= (int )wxPen_GetJoin(_arg0
);
3907 wxPyEndAllowThreads(__tstate
);
3908 if (PyErr_Occurred()) return NULL
;
3909 } _resultobj
= Py_BuildValue("i",_result
);
3913 #define wxPen_GetStyle(_swigobj) (_swigobj->GetStyle())
3914 static PyObject
*_wrap_wxPen_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3915 PyObject
* _resultobj
;
3918 PyObject
* _argo0
= 0;
3919 char *_kwnames
[] = { "self", NULL
};
3922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetStyle",_kwnames
,&_argo0
))
3925 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3926 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetStyle. Expected _wxPen_p.");
3932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3933 _result
= (int )wxPen_GetStyle(_arg0
);
3935 wxPyEndAllowThreads(__tstate
);
3936 if (PyErr_Occurred()) return NULL
;
3937 } _resultobj
= Py_BuildValue("i",_result
);
3941 #define wxPen_GetWidth(_swigobj) (_swigobj->GetWidth())
3942 static PyObject
*_wrap_wxPen_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3943 PyObject
* _resultobj
;
3946 PyObject
* _argo0
= 0;
3947 char *_kwnames
[] = { "self", NULL
};
3950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetWidth",_kwnames
,&_argo0
))
3953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetWidth. Expected _wxPen_p.");
3960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3961 _result
= (int )wxPen_GetWidth(_arg0
);
3963 wxPyEndAllowThreads(__tstate
);
3964 if (PyErr_Occurred()) return NULL
;
3965 } _resultobj
= Py_BuildValue("i",_result
);
3969 #define wxPen_Ok(_swigobj) (_swigobj->Ok())
3970 static PyObject
*_wrap_wxPen_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3971 PyObject
* _resultobj
;
3974 PyObject
* _argo0
= 0;
3975 char *_kwnames
[] = { "self", NULL
};
3978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_Ok",_kwnames
,&_argo0
))
3981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_Ok. Expected _wxPen_p.");
3988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3989 _result
= (bool )wxPen_Ok(_arg0
);
3991 wxPyEndAllowThreads(__tstate
);
3992 if (PyErr_Occurred()) return NULL
;
3993 } _resultobj
= Py_BuildValue("i",_result
);
3997 #define wxPen_SetCap(_swigobj,_swigarg0) (_swigobj->SetCap(_swigarg0))
3998 static PyObject
*_wrap_wxPen_SetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3999 PyObject
* _resultobj
;
4002 PyObject
* _argo0
= 0;
4003 char *_kwnames
[] = { "self","cap_style", NULL
};
4006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetCap",_kwnames
,&_argo0
,&_arg1
))
4009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetCap. Expected _wxPen_p.");
4016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4017 wxPen_SetCap(_arg0
,_arg1
);
4019 wxPyEndAllowThreads(__tstate
);
4020 if (PyErr_Occurred()) return NULL
;
4021 } Py_INCREF(Py_None
);
4022 _resultobj
= Py_None
;
4026 #define wxPen_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
4027 static PyObject
*_wrap_wxPen_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4028 PyObject
* _resultobj
;
4031 PyObject
* _argo0
= 0;
4033 PyObject
* _obj1
= 0;
4034 char *_kwnames
[] = { "self","colour", NULL
};
4037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetColour",_kwnames
,&_argo0
,&_obj1
))
4040 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4041 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetColour. Expected _wxPen_p.");
4048 if (! wxColour_helper(_obj1
, &_arg1
))
4052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4053 wxPen_SetColour(_arg0
,*_arg1
);
4055 wxPyEndAllowThreads(__tstate
);
4056 if (PyErr_Occurred()) return NULL
;
4057 } Py_INCREF(Py_None
);
4058 _resultobj
= Py_None
;
4062 #define wxPen_SetJoin(_swigobj,_swigarg0) (_swigobj->SetJoin(_swigarg0))
4063 static PyObject
*_wrap_wxPen_SetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4064 PyObject
* _resultobj
;
4067 PyObject
* _argo0
= 0;
4068 char *_kwnames
[] = { "self","join_style", NULL
};
4071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetJoin",_kwnames
,&_argo0
,&_arg1
))
4074 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4075 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetJoin. Expected _wxPen_p.");
4081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4082 wxPen_SetJoin(_arg0
,_arg1
);
4084 wxPyEndAllowThreads(__tstate
);
4085 if (PyErr_Occurred()) return NULL
;
4086 } Py_INCREF(Py_None
);
4087 _resultobj
= Py_None
;
4091 #define wxPen_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
4092 static PyObject
*_wrap_wxPen_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4093 PyObject
* _resultobj
;
4096 PyObject
* _argo0
= 0;
4097 char *_kwnames
[] = { "self","style", NULL
};
4100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetStyle",_kwnames
,&_argo0
,&_arg1
))
4103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetStyle. Expected _wxPen_p.");
4110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4111 wxPen_SetStyle(_arg0
,_arg1
);
4113 wxPyEndAllowThreads(__tstate
);
4114 if (PyErr_Occurred()) return NULL
;
4115 } Py_INCREF(Py_None
);
4116 _resultobj
= Py_None
;
4120 #define wxPen_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
4121 static PyObject
*_wrap_wxPen_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4122 PyObject
* _resultobj
;
4125 PyObject
* _argo0
= 0;
4126 char *_kwnames
[] = { "self","width", NULL
};
4129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetWidth",_kwnames
,&_argo0
,&_arg1
))
4132 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4133 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetWidth. Expected _wxPen_p.");
4139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4140 wxPen_SetWidth(_arg0
,_arg1
);
4142 wxPyEndAllowThreads(__tstate
);
4143 if (PyErr_Occurred()) return NULL
;
4144 } Py_INCREF(Py_None
);
4145 _resultobj
= Py_None
;
4149 #define wxPen_SetDashes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDashes(_swigarg0,_swigarg1))
4150 static PyObject
*_wrap_wxPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4151 PyObject
* _resultobj
;
4155 PyObject
* _argo0
= 0;
4156 PyObject
* _obj2
= 0;
4157 char *_kwnames
[] = { "self","choices", NULL
};
4160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetDashes",_kwnames
,&_argo0
,&_obj2
))
4163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetDashes. Expected _wxPen_p.");
4171 _arg2
= (wxDash
*)byte_LIST_helper(_obj2
);
4172 if (_arg2
== NULL
) {
4178 _arg1
= PyList_Size(_obj2
);
4185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4186 wxPen_SetDashes(_arg0
,_arg1
,_arg2
);
4188 wxPyEndAllowThreads(__tstate
);
4189 if (PyErr_Occurred()) return NULL
;
4190 } Py_INCREF(Py_None
);
4191 _resultobj
= Py_None
;
4198 static PyObject
* wxPen_GetDashes(wxPen
*self
) {
4200 int count
= self
->GetDashes(&dashes
);
4201 wxPyBeginBlockThreads();
4202 PyObject
* retval
= PyList_New(0);
4203 for (int x
=0; x
<count
; x
++)
4204 PyList_Append(retval
, PyInt_FromLong(dashes
[x
]));
4205 wxPyEndBlockThreads();
4208 static PyObject
*_wrap_wxPen_GetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4209 PyObject
* _resultobj
;
4212 PyObject
* _argo0
= 0;
4213 char *_kwnames
[] = { "self", NULL
};
4216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetDashes",_kwnames
,&_argo0
))
4219 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4220 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetDashes. Expected _wxPen_p.");
4226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4227 _result
= (PyObject
*)wxPen_GetDashes(_arg0
);
4229 wxPyEndAllowThreads(__tstate
);
4230 if (PyErr_Occurred()) return NULL
;
4232 _resultobj
= _result
;
4237 static void *SwigwxPyPenTowxPen(void *ptr
) {
4240 src
= (wxPyPen
*) ptr
;
4241 dest
= (wxPen
*) src
;
4242 return (void *) dest
;
4245 static void *SwigwxPyPenTowxGDIObject(void *ptr
) {
4248 src
= (wxPyPen
*) ptr
;
4249 dest
= (wxGDIObject
*) src
;
4250 return (void *) dest
;
4253 static void *SwigwxPyPenTowxObject(void *ptr
) {
4256 src
= (wxPyPen
*) ptr
;
4257 dest
= (wxObject
*) src
;
4258 return (void *) dest
;
4261 #define new_wxPyPen(_swigarg0,_swigarg1,_swigarg2) (new wxPyPen(_swigarg0,_swigarg1,_swigarg2))
4262 static PyObject
*_wrap_new_wxPyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4263 PyObject
* _resultobj
;
4266 int _arg1
= (int ) 1;
4267 int _arg2
= (int ) wxSOLID
;
4269 PyObject
* _obj0
= 0;
4270 char *_kwnames
[] = { "colour","width","style", NULL
};
4274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:new_wxPyPen",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
4278 if (! wxColour_helper(_obj0
, &_arg0
))
4282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4283 _result
= (wxPyPen
*)new_wxPyPen(*_arg0
,_arg1
,_arg2
);
4285 wxPyEndAllowThreads(__tstate
);
4286 if (PyErr_Occurred()) return NULL
;
4288 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPen_p");
4289 _resultobj
= Py_BuildValue("s",_ptemp
);
4292 _resultobj
= Py_None
;
4297 #define delete_wxPyPen(_swigobj) (delete _swigobj)
4298 static PyObject
*_wrap_delete_wxPyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4299 PyObject
* _resultobj
;
4301 PyObject
* _argo0
= 0;
4302 char *_kwnames
[] = { "self", NULL
};
4305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyPen",_kwnames
,&_argo0
))
4308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPen_p")) {
4310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyPen. Expected _wxPyPen_p.");
4315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4316 delete_wxPyPen(_arg0
);
4318 wxPyEndAllowThreads(__tstate
);
4319 if (PyErr_Occurred()) return NULL
;
4320 } Py_INCREF(Py_None
);
4321 _resultobj
= Py_None
;
4325 #define wxPyPen_SetDashes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDashes(_swigarg0,_swigarg1))
4326 static PyObject
*_wrap_wxPyPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4327 PyObject
* _resultobj
;
4331 PyObject
* _argo0
= 0;
4332 PyObject
* _obj2
= 0;
4333 char *_kwnames
[] = { "self","choices", NULL
};
4336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPen_SetDashes",_kwnames
,&_argo0
,&_obj2
))
4339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPen_p")) {
4341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPen_SetDashes. Expected _wxPyPen_p.");
4347 _arg2
= (wxDash
*)byte_LIST_helper(_obj2
);
4348 if (_arg2
== NULL
) {
4354 _arg1
= PyList_Size(_obj2
);
4361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4362 wxPyPen_SetDashes(_arg0
,_arg1
,_arg2
);
4364 wxPyEndAllowThreads(__tstate
);
4365 if (PyErr_Occurred()) return NULL
;
4366 } Py_INCREF(Py_None
);
4367 _resultobj
= Py_None
;
4374 static void *SwigwxPenListTowxObject(void *ptr
) {
4377 src
= (wxPenList
*) ptr
;
4378 dest
= (wxObject
*) src
;
4379 return (void *) dest
;
4382 #define wxPenList_AddPen(_swigobj,_swigarg0) (_swigobj->AddPen(_swigarg0))
4383 static PyObject
*_wrap_wxPenList_AddPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4384 PyObject
* _resultobj
;
4387 PyObject
* _argo0
= 0;
4388 PyObject
* _argo1
= 0;
4389 char *_kwnames
[] = { "self","pen", NULL
};
4392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPenList_AddPen",_kwnames
,&_argo0
,&_argo1
))
4395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
4397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_AddPen. Expected _wxPenList_p.");
4402 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4403 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
4404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPenList_AddPen. Expected _wxPen_p.");
4409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4410 wxPenList_AddPen(_arg0
,_arg1
);
4412 wxPyEndAllowThreads(__tstate
);
4413 if (PyErr_Occurred()) return NULL
;
4414 } Py_INCREF(Py_None
);
4415 _resultobj
= Py_None
;
4419 #define wxPenList_FindOrCreatePen(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindOrCreatePen(_swigarg0,_swigarg1,_swigarg2))
4420 static PyObject
*_wrap_wxPenList_FindOrCreatePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4421 PyObject
* _resultobj
;
4427 PyObject
* _argo0
= 0;
4429 PyObject
* _obj1
= 0;
4430 char *_kwnames
[] = { "self","colour","width","style", NULL
};
4434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxPenList_FindOrCreatePen",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
))
4437 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4438 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
4439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_FindOrCreatePen. Expected _wxPenList_p.");
4445 if (! wxColour_helper(_obj1
, &_arg1
))
4449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4450 _result
= (wxPen
*)wxPenList_FindOrCreatePen(_arg0
,*_arg1
,_arg2
,_arg3
);
4452 wxPyEndAllowThreads(__tstate
);
4453 if (PyErr_Occurred()) return NULL
;
4455 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
4456 _resultobj
= Py_BuildValue("s",_ptemp
);
4459 _resultobj
= Py_None
;
4464 #define wxPenList_RemovePen(_swigobj,_swigarg0) (_swigobj->RemovePen(_swigarg0))
4465 static PyObject
*_wrap_wxPenList_RemovePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4466 PyObject
* _resultobj
;
4469 PyObject
* _argo0
= 0;
4470 PyObject
* _argo1
= 0;
4471 char *_kwnames
[] = { "self","pen", NULL
};
4474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPenList_RemovePen",_kwnames
,&_argo0
,&_argo1
))
4477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
4479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_RemovePen. Expected _wxPenList_p.");
4484 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4485 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
4486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPenList_RemovePen. Expected _wxPen_p.");
4491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4492 wxPenList_RemovePen(_arg0
,_arg1
);
4494 wxPyEndAllowThreads(__tstate
);
4495 if (PyErr_Occurred()) return NULL
;
4496 } Py_INCREF(Py_None
);
4497 _resultobj
= Py_None
;
4501 #define wxPenList_GetCount(_swigobj) (_swigobj->GetCount())
4502 static PyObject
*_wrap_wxPenList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4503 PyObject
* _resultobj
;
4506 PyObject
* _argo0
= 0;
4507 char *_kwnames
[] = { "self", NULL
};
4510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPenList_GetCount",_kwnames
,&_argo0
))
4513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
4515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_GetCount. Expected _wxPenList_p.");
4520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4521 _result
= (int )wxPenList_GetCount(_arg0
);
4523 wxPyEndAllowThreads(__tstate
);
4524 if (PyErr_Occurred()) return NULL
;
4525 } _resultobj
= Py_BuildValue("i",_result
);
4529 static void *SwigwxBrushTowxGDIObject(void *ptr
) {
4532 src
= (wxBrush
*) ptr
;
4533 dest
= (wxGDIObject
*) src
;
4534 return (void *) dest
;
4537 static void *SwigwxBrushTowxObject(void *ptr
) {
4540 src
= (wxBrush
*) ptr
;
4541 dest
= (wxObject
*) src
;
4542 return (void *) dest
;
4545 #define new_wxBrush(_swigarg0,_swigarg1) (new wxBrush(_swigarg0,_swigarg1))
4546 static PyObject
*_wrap_new_wxBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4547 PyObject
* _resultobj
;
4550 int _arg1
= (int ) wxSOLID
;
4552 PyObject
* _obj0
= 0;
4553 char *_kwnames
[] = { "colour","style", NULL
};
4557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxBrush",_kwnames
,&_obj0
,&_arg1
))
4561 if (! wxColour_helper(_obj0
, &_arg0
))
4565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4566 _result
= (wxBrush
*)new_wxBrush(*_arg0
,_arg1
);
4568 wxPyEndAllowThreads(__tstate
);
4569 if (PyErr_Occurred()) return NULL
;
4571 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
4572 _resultobj
= Py_BuildValue("s",_ptemp
);
4575 _resultobj
= Py_None
;
4580 #define delete_wxBrush(_swigobj) (delete _swigobj)
4581 static PyObject
*_wrap_delete_wxBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4582 PyObject
* _resultobj
;
4584 PyObject
* _argo0
= 0;
4585 char *_kwnames
[] = { "self", NULL
};
4588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBrush",_kwnames
,&_argo0
))
4591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBrush. Expected _wxBrush_p.");
4598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4599 delete_wxBrush(_arg0
);
4601 wxPyEndAllowThreads(__tstate
);
4602 if (PyErr_Occurred()) return NULL
;
4603 } Py_INCREF(Py_None
);
4604 _resultobj
= Py_None
;
4608 #define wxBrush_GetColour(_swigobj) (_swigobj->GetColour())
4609 static PyObject
*_wrap_wxBrush_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4610 PyObject
* _resultobj
;
4613 PyObject
* _argo0
= 0;
4614 char *_kwnames
[] = { "self", NULL
};
4618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetColour",_kwnames
,&_argo0
))
4621 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4622 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetColour. Expected _wxBrush_p.");
4628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4629 _result
= new wxColour (wxBrush_GetColour(_arg0
));
4631 wxPyEndAllowThreads(__tstate
);
4632 if (PyErr_Occurred()) return NULL
;
4633 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
4634 _resultobj
= Py_BuildValue("s",_ptemp
);
4638 #define wxBrush_GetStipple(_swigobj) (_swigobj->GetStipple())
4639 static PyObject
*_wrap_wxBrush_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4640 PyObject
* _resultobj
;
4643 PyObject
* _argo0
= 0;
4644 char *_kwnames
[] = { "self", NULL
};
4648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetStipple",_kwnames
,&_argo0
))
4651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStipple. Expected _wxBrush_p.");
4658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4659 _result
= (wxBitmap
*)wxBrush_GetStipple(_arg0
);
4661 wxPyEndAllowThreads(__tstate
);
4662 if (PyErr_Occurred()) return NULL
;
4664 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
4665 _resultobj
= Py_BuildValue("s",_ptemp
);
4668 _resultobj
= Py_None
;
4673 #define wxBrush_GetStyle(_swigobj) (_swigobj->GetStyle())
4674 static PyObject
*_wrap_wxBrush_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4675 PyObject
* _resultobj
;
4678 PyObject
* _argo0
= 0;
4679 char *_kwnames
[] = { "self", NULL
};
4682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetStyle",_kwnames
,&_argo0
))
4685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStyle. Expected _wxBrush_p.");
4692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4693 _result
= (int )wxBrush_GetStyle(_arg0
);
4695 wxPyEndAllowThreads(__tstate
);
4696 if (PyErr_Occurred()) return NULL
;
4697 } _resultobj
= Py_BuildValue("i",_result
);
4701 #define wxBrush_Ok(_swigobj) (_swigobj->Ok())
4702 static PyObject
*_wrap_wxBrush_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4703 PyObject
* _resultobj
;
4706 PyObject
* _argo0
= 0;
4707 char *_kwnames
[] = { "self", NULL
};
4710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_Ok",_kwnames
,&_argo0
))
4713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_Ok. Expected _wxBrush_p.");
4720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4721 _result
= (bool )wxBrush_Ok(_arg0
);
4723 wxPyEndAllowThreads(__tstate
);
4724 if (PyErr_Occurred()) return NULL
;
4725 } _resultobj
= Py_BuildValue("i",_result
);
4729 #define wxBrush_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
4730 static PyObject
*_wrap_wxBrush_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4731 PyObject
* _resultobj
;
4734 PyObject
* _argo0
= 0;
4736 PyObject
* _obj1
= 0;
4737 char *_kwnames
[] = { "self","colour", NULL
};
4740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrush_SetColour",_kwnames
,&_argo0
,&_obj1
))
4743 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4744 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetColour. Expected _wxBrush_p.");
4751 if (! wxColour_helper(_obj1
, &_arg1
))
4755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4756 wxBrush_SetColour(_arg0
,*_arg1
);
4758 wxPyEndAllowThreads(__tstate
);
4759 if (PyErr_Occurred()) return NULL
;
4760 } Py_INCREF(Py_None
);
4761 _resultobj
= Py_None
;
4765 #define wxBrush_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
4766 static PyObject
*_wrap_wxBrush_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4767 PyObject
* _resultobj
;
4770 PyObject
* _argo0
= 0;
4771 PyObject
* _argo1
= 0;
4772 char *_kwnames
[] = { "self","bitmap", NULL
};
4775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrush_SetStipple",_kwnames
,&_argo0
,&_argo1
))
4778 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4779 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStipple. Expected _wxBrush_p.");
4785 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
4786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrush_SetStipple. Expected _wxBitmap_p.");
4791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4792 wxBrush_SetStipple(_arg0
,*_arg1
);
4794 wxPyEndAllowThreads(__tstate
);
4795 if (PyErr_Occurred()) return NULL
;
4796 } Py_INCREF(Py_None
);
4797 _resultobj
= Py_None
;
4801 #define wxBrush_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
4802 static PyObject
*_wrap_wxBrush_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4803 PyObject
* _resultobj
;
4806 PyObject
* _argo0
= 0;
4807 char *_kwnames
[] = { "self","style", NULL
};
4810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBrush_SetStyle",_kwnames
,&_argo0
,&_arg1
))
4813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStyle. Expected _wxBrush_p.");
4820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4821 wxBrush_SetStyle(_arg0
,_arg1
);
4823 wxPyEndAllowThreads(__tstate
);
4824 if (PyErr_Occurred()) return NULL
;
4825 } Py_INCREF(Py_None
);
4826 _resultobj
= Py_None
;
4830 static void *SwigwxBrushListTowxObject(void *ptr
) {
4833 src
= (wxBrushList
*) ptr
;
4834 dest
= (wxObject
*) src
;
4835 return (void *) dest
;
4838 #define wxBrushList_AddBrush(_swigobj,_swigarg0) (_swigobj->AddBrush(_swigarg0))
4839 static PyObject
*_wrap_wxBrushList_AddBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4840 PyObject
* _resultobj
;
4841 wxBrushList
* _arg0
;
4843 PyObject
* _argo0
= 0;
4844 PyObject
* _argo1
= 0;
4845 char *_kwnames
[] = { "self","brush", NULL
};
4848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrushList_AddBrush",_kwnames
,&_argo0
,&_argo1
))
4851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
4853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_AddBrush. Expected _wxBrushList_p.");
4858 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4859 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
4860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrushList_AddBrush. Expected _wxBrush_p.");
4865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4866 wxBrushList_AddBrush(_arg0
,_arg1
);
4868 wxPyEndAllowThreads(__tstate
);
4869 if (PyErr_Occurred()) return NULL
;
4870 } Py_INCREF(Py_None
);
4871 _resultobj
= Py_None
;
4875 #define wxBrushList_FindOrCreateBrush(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindOrCreateBrush(_swigarg0,_swigarg1))
4876 static PyObject
*_wrap_wxBrushList_FindOrCreateBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4877 PyObject
* _resultobj
;
4879 wxBrushList
* _arg0
;
4882 PyObject
* _argo0
= 0;
4884 PyObject
* _obj1
= 0;
4885 char *_kwnames
[] = { "self","colour","style", NULL
};
4889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxBrushList_FindOrCreateBrush",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
4892 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4893 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
4894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_FindOrCreateBrush. Expected _wxBrushList_p.");
4900 if (! wxColour_helper(_obj1
, &_arg1
))
4904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4905 _result
= (wxBrush
*)wxBrushList_FindOrCreateBrush(_arg0
,*_arg1
,_arg2
);
4907 wxPyEndAllowThreads(__tstate
);
4908 if (PyErr_Occurred()) return NULL
;
4910 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
4911 _resultobj
= Py_BuildValue("s",_ptemp
);
4914 _resultobj
= Py_None
;
4919 #define wxBrushList_RemoveBrush(_swigobj,_swigarg0) (_swigobj->RemoveBrush(_swigarg0))
4920 static PyObject
*_wrap_wxBrushList_RemoveBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4921 PyObject
* _resultobj
;
4922 wxBrushList
* _arg0
;
4924 PyObject
* _argo0
= 0;
4925 PyObject
* _argo1
= 0;
4926 char *_kwnames
[] = { "self","brush", NULL
};
4929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrushList_RemoveBrush",_kwnames
,&_argo0
,&_argo1
))
4932 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4933 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
4934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_RemoveBrush. Expected _wxBrushList_p.");
4939 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4940 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
4941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrushList_RemoveBrush. Expected _wxBrush_p.");
4946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4947 wxBrushList_RemoveBrush(_arg0
,_arg1
);
4949 wxPyEndAllowThreads(__tstate
);
4950 if (PyErr_Occurred()) return NULL
;
4951 } Py_INCREF(Py_None
);
4952 _resultobj
= Py_None
;
4956 #define wxBrushList_GetCount(_swigobj) (_swigobj->GetCount())
4957 static PyObject
*_wrap_wxBrushList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4958 PyObject
* _resultobj
;
4960 wxBrushList
* _arg0
;
4961 PyObject
* _argo0
= 0;
4962 char *_kwnames
[] = { "self", NULL
};
4965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrushList_GetCount",_kwnames
,&_argo0
))
4968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
4970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_GetCount. Expected _wxBrushList_p.");
4975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4976 _result
= (int )wxBrushList_GetCount(_arg0
);
4978 wxPyEndAllowThreads(__tstate
);
4979 if (PyErr_Occurred()) return NULL
;
4980 } _resultobj
= Py_BuildValue("i",_result
);
4984 static void *SwigwxDCTowxObject(void *ptr
) {
4988 dest
= (wxObject
*) src
;
4989 return (void *) dest
;
4992 #define delete_wxDC(_swigobj) (delete _swigobj)
4993 static PyObject
*_wrap_delete_wxDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4994 PyObject
* _resultobj
;
4996 PyObject
* _argo0
= 0;
4997 char *_kwnames
[] = { "self", NULL
};
5000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDC",_kwnames
,&_argo0
))
5003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDC. Expected _wxDC_p.");
5010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5013 wxPyEndAllowThreads(__tstate
);
5014 if (PyErr_Occurred()) return NULL
;
5015 } Py_INCREF(Py_None
);
5016 _resultobj
= Py_None
;
5020 #define wxDC_BeginDrawing(_swigobj) (_swigobj->BeginDrawing())
5021 static PyObject
*_wrap_wxDC_BeginDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5022 PyObject
* _resultobj
;
5024 PyObject
* _argo0
= 0;
5025 char *_kwnames
[] = { "self", NULL
};
5028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_BeginDrawing",_kwnames
,&_argo0
))
5031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_BeginDrawing. Expected _wxDC_p.");
5038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5039 wxDC_BeginDrawing(_arg0
);
5041 wxPyEndAllowThreads(__tstate
);
5042 if (PyErr_Occurred()) return NULL
;
5043 } Py_INCREF(Py_None
);
5044 _resultobj
= Py_None
;
5048 #define wxDC_Blit(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Blit(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5049 static PyObject
*_wrap_wxDC_Blit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5050 PyObject
* _resultobj
;
5060 int _arg8
= (int ) wxCOPY
;
5061 int _arg9
= (int ) FALSE
;
5062 PyObject
* _argo0
= 0;
5063 PyObject
* _argo5
= 0;
5064 char *_kwnames
[] = { "self","xdest","ydest","width","height","source","xsrc","ysrc","logicalFunc","useMask", NULL
};
5067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiiiOii|ii:wxDC_Blit",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_argo5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
))
5070 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5071 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Blit. Expected _wxDC_p.");
5077 if (_argo5
== Py_None
) { _arg5
= NULL
; }
5078 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxDC_p")) {
5079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxDC_Blit. Expected _wxDC_p.");
5084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5085 _result
= (bool )wxDC_Blit(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
5087 wxPyEndAllowThreads(__tstate
);
5088 if (PyErr_Occurred()) return NULL
;
5089 } _resultobj
= Py_BuildValue("i",_result
);
5093 #define wxDC_Clear(_swigobj) (_swigobj->Clear())
5094 static PyObject
*_wrap_wxDC_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5095 PyObject
* _resultobj
;
5097 PyObject
* _argo0
= 0;
5098 char *_kwnames
[] = { "self", NULL
};
5101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_Clear",_kwnames
,&_argo0
))
5104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Clear. Expected _wxDC_p.");
5111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5114 wxPyEndAllowThreads(__tstate
);
5115 if (PyErr_Occurred()) return NULL
;
5116 } Py_INCREF(Py_None
);
5117 _resultobj
= Py_None
;
5121 #define wxDC_CrossHair(_swigobj,_swigarg0,_swigarg1) (_swigobj->CrossHair(_swigarg0,_swigarg1))
5122 static PyObject
*_wrap_wxDC_CrossHair(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5123 PyObject
* _resultobj
;
5127 PyObject
* _argo0
= 0;
5128 char *_kwnames
[] = { "self","x","y", NULL
};
5131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_CrossHair",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CrossHair. Expected _wxDC_p.");
5141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5142 wxDC_CrossHair(_arg0
,_arg1
,_arg2
);
5144 wxPyEndAllowThreads(__tstate
);
5145 if (PyErr_Occurred()) return NULL
;
5146 } Py_INCREF(Py_None
);
5147 _resultobj
= Py_None
;
5151 #define wxDC_DestroyClippingRegion(_swigobj) (_swigobj->DestroyClippingRegion())
5152 static PyObject
*_wrap_wxDC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5153 PyObject
* _resultobj
;
5155 PyObject
* _argo0
= 0;
5156 char *_kwnames
[] = { "self", NULL
};
5159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_DestroyClippingRegion",_kwnames
,&_argo0
))
5162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DestroyClippingRegion. Expected _wxDC_p.");
5169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5170 wxDC_DestroyClippingRegion(_arg0
);
5172 wxPyEndAllowThreads(__tstate
);
5173 if (PyErr_Occurred()) return NULL
;
5174 } Py_INCREF(Py_None
);
5175 _resultobj
= Py_None
;
5179 #define wxDC_DeviceToLogicalX(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalX(_swigarg0))
5180 static PyObject
*_wrap_wxDC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5181 PyObject
* _resultobj
;
5185 PyObject
* _argo0
= 0;
5186 char *_kwnames
[] = { "self","x", NULL
};
5189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_DeviceToLogicalX",_kwnames
,&_argo0
,&_arg1
))
5192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalX. Expected _wxDC_p.");
5199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5200 _result
= (wxCoord
)wxDC_DeviceToLogicalX(_arg0
,_arg1
);
5202 wxPyEndAllowThreads(__tstate
);
5203 if (PyErr_Occurred()) return NULL
;
5204 } _resultobj
= Py_BuildValue("i",_result
);
5208 #define wxDC_DeviceToLogicalXRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalXRel(_swigarg0))
5209 static PyObject
*_wrap_wxDC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5210 PyObject
* _resultobj
;
5214 PyObject
* _argo0
= 0;
5215 char *_kwnames
[] = { "self","x", NULL
};
5218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_DeviceToLogicalXRel",_kwnames
,&_argo0
,&_arg1
))
5221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalXRel. Expected _wxDC_p.");
5228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5229 _result
= (wxCoord
)wxDC_DeviceToLogicalXRel(_arg0
,_arg1
);
5231 wxPyEndAllowThreads(__tstate
);
5232 if (PyErr_Occurred()) return NULL
;
5233 } _resultobj
= Py_BuildValue("i",_result
);
5237 #define wxDC_DeviceToLogicalY(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalY(_swigarg0))
5238 static PyObject
*_wrap_wxDC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5239 PyObject
* _resultobj
;
5243 PyObject
* _argo0
= 0;
5244 char *_kwnames
[] = { "self","y", NULL
};
5247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_DeviceToLogicalY",_kwnames
,&_argo0
,&_arg1
))
5250 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5251 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalY. Expected _wxDC_p.");
5257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5258 _result
= (wxCoord
)wxDC_DeviceToLogicalY(_arg0
,_arg1
);
5260 wxPyEndAllowThreads(__tstate
);
5261 if (PyErr_Occurred()) return NULL
;
5262 } _resultobj
= Py_BuildValue("i",_result
);
5266 #define wxDC_DeviceToLogicalYRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalYRel(_swigarg0))
5267 static PyObject
*_wrap_wxDC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5268 PyObject
* _resultobj
;
5272 PyObject
* _argo0
= 0;
5273 char *_kwnames
[] = { "self","y", NULL
};
5276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_DeviceToLogicalYRel",_kwnames
,&_argo0
,&_arg1
))
5279 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5280 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalYRel. Expected _wxDC_p.");
5286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5287 _result
= (wxCoord
)wxDC_DeviceToLogicalYRel(_arg0
,_arg1
);
5289 wxPyEndAllowThreads(__tstate
);
5290 if (PyErr_Occurred()) return NULL
;
5291 } _resultobj
= Py_BuildValue("i",_result
);
5295 #define wxDC_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5296 static PyObject
*_wrap_wxDC_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5297 PyObject
* _resultobj
;
5305 PyObject
* _argo0
= 0;
5306 char *_kwnames
[] = { "self","x1","y1","x2","y2","xc","yc", NULL
};
5309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiiiii:wxDC_DrawArc",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
5312 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5313 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawArc. Expected _wxDC_p.");
5319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5320 wxDC_DrawArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
5322 wxPyEndAllowThreads(__tstate
);
5323 if (PyErr_Occurred()) return NULL
;
5324 } Py_INCREF(Py_None
);
5325 _resultobj
= Py_None
;
5329 #define wxDC_DrawCircle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawCircle(_swigarg0,_swigarg1,_swigarg2))
5330 static PyObject
*_wrap_wxDC_DrawCircle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5331 PyObject
* _resultobj
;
5336 PyObject
* _argo0
= 0;
5337 char *_kwnames
[] = { "self","x","y","radius", NULL
};
5340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxDC_DrawCircle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
5343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawCircle. Expected _wxDC_p.");
5350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5351 wxDC_DrawCircle(_arg0
,_arg1
,_arg2
,_arg3
);
5353 wxPyEndAllowThreads(__tstate
);
5354 if (PyErr_Occurred()) return NULL
;
5355 } Py_INCREF(Py_None
);
5356 _resultobj
= Py_None
;
5360 #define wxDC_DrawEllipse(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawEllipse(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5361 static PyObject
*_wrap_wxDC_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5362 PyObject
* _resultobj
;
5368 PyObject
* _argo0
= 0;
5369 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
5372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxDC_DrawEllipse",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
5375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipse. Expected _wxDC_p.");
5382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5383 wxDC_DrawEllipse(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5385 wxPyEndAllowThreads(__tstate
);
5386 if (PyErr_Occurred()) return NULL
;
5387 } Py_INCREF(Py_None
);
5388 _resultobj
= Py_None
;
5392 #define wxDC_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5393 static PyObject
*_wrap_wxDC_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5394 PyObject
* _resultobj
;
5402 PyObject
* _argo0
= 0;
5403 char *_kwnames
[] = { "self","x","y","width","height","start","end", NULL
};
5406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiiiii:wxDC_DrawEllipticArc",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
5409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipticArc. Expected _wxDC_p.");
5416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5417 wxDC_DrawEllipticArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
5419 wxPyEndAllowThreads(__tstate
);
5420 if (PyErr_Occurred()) return NULL
;
5421 } Py_INCREF(Py_None
);
5422 _resultobj
= Py_None
;
5426 #define wxDC_DrawIcon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawIcon(_swigarg0,_swigarg1,_swigarg2))
5427 static PyObject
*_wrap_wxDC_DrawIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5428 PyObject
* _resultobj
;
5433 PyObject
* _argo0
= 0;
5434 PyObject
* _argo1
= 0;
5435 char *_kwnames
[] = { "self","icon","x","y", NULL
};
5438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxDC_DrawIcon",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
5441 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5442 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawIcon. Expected _wxDC_p.");
5448 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
5449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawIcon. Expected _wxIcon_p.");
5454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5455 wxDC_DrawIcon(_arg0
,*_arg1
,_arg2
,_arg3
);
5457 wxPyEndAllowThreads(__tstate
);
5458 if (PyErr_Occurred()) return NULL
;
5459 } Py_INCREF(Py_None
);
5460 _resultobj
= Py_None
;
5464 #define wxDC_DrawLabel(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLabel(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5465 static PyObject
*_wrap_wxDC_DrawLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5466 PyObject
* _resultobj
;
5470 int _arg3
= (int ) wxALIGN_LEFT
|wxALIGN_TOP
;
5471 int _arg4
= (int ) -1;
5472 PyObject
* _argo0
= 0;
5473 PyObject
* _obj1
= 0;
5475 PyObject
* _obj2
= 0;
5476 char *_kwnames
[] = { "self","text","rect","alignment","indexAccel", NULL
};
5479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|ii:wxDC_DrawLabel",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
))
5482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLabel. Expected _wxDC_p.");
5489 _arg1
= wxString_in_helper(_obj1
);
5495 if (! wxRect_helper(_obj2
, &_arg2
))
5499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5500 wxDC_DrawLabel(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
5502 wxPyEndAllowThreads(__tstate
);
5503 if (PyErr_Occurred()) return NULL
;
5504 } Py_INCREF(Py_None
);
5505 _resultobj
= Py_None
;
5513 static wxRect
wxDC_DrawImageLabel(wxDC
*self
,const wxString
& text
,const wxBitmap
& image
,const wxRect
& rect
,int alignment
,int indexAccel
) {
5515 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
5518 static PyObject
*_wrap_wxDC_DrawImageLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5519 PyObject
* _resultobj
;
5525 int _arg4
= (int ) wxALIGN_LEFT
|wxALIGN_TOP
;
5526 int _arg5
= (int ) -1;
5527 PyObject
* _argo0
= 0;
5528 PyObject
* _obj1
= 0;
5529 PyObject
* _argo2
= 0;
5531 PyObject
* _obj3
= 0;
5532 char *_kwnames
[] = { "self","text","image","rect","alignment","indexAccel", NULL
};
5536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|ii:wxDC_DrawImageLabel",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_obj3
,&_arg4
,&_arg5
))
5539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawImageLabel. Expected _wxDC_p.");
5546 _arg1
= wxString_in_helper(_obj1
);
5551 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
5552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDC_DrawImageLabel. Expected _wxBitmap_p.");
5558 if (! wxRect_helper(_obj3
, &_arg3
))
5562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5563 _result
= new wxRect (wxDC_DrawImageLabel(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
));
5565 wxPyEndAllowThreads(__tstate
);
5566 if (PyErr_Occurred()) return NULL
;
5567 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
5568 _resultobj
= Py_BuildValue("s",_ptemp
);
5576 #define wxDC_DrawLine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5577 static PyObject
*_wrap_wxDC_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5578 PyObject
* _resultobj
;
5584 PyObject
* _argo0
= 0;
5585 char *_kwnames
[] = { "self","x1","y1","x2","y2", NULL
};
5588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxDC_DrawLine",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
5591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLine. Expected _wxDC_p.");
5598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5599 wxDC_DrawLine(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5601 wxPyEndAllowThreads(__tstate
);
5602 if (PyErr_Occurred()) return NULL
;
5603 } Py_INCREF(Py_None
);
5604 _resultobj
= Py_None
;
5608 #define wxDC_DrawLines(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLines(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5609 static PyObject
*_wrap_wxDC_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5610 PyObject
* _resultobj
;
5614 wxCoord _arg3
= (wxCoord
) 0;
5615 wxCoord _arg4
= (wxCoord
) 0;
5616 PyObject
* _argo0
= 0;
5618 PyObject
* _obj2
= 0;
5619 char *_kwnames
[] = { "self","points","xoffset","yoffset", NULL
};
5622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:wxDC_DrawLines",_kwnames
,&_argo0
,&_obj2
,&_arg3
,&_arg4
))
5625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLines. Expected _wxDC_p.");
5633 _arg2
= wxPoint_LIST_helper(_obj2
, &NPOINTS
);
5634 if (_arg2
== NULL
) {
5642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5643 wxDC_DrawLines(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5645 wxPyEndAllowThreads(__tstate
);
5646 if (PyErr_Occurred()) return NULL
;
5647 } Py_INCREF(Py_None
);
5648 _resultobj
= Py_None
;
5655 #define wxDC_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5656 static PyObject
*_wrap_wxDC_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5657 PyObject
* _resultobj
;
5661 wxCoord _arg3
= (wxCoord
) 0;
5662 wxCoord _arg4
= (wxCoord
) 0;
5663 int _arg5
= (int ) wxODDEVEN_RULE
;
5664 PyObject
* _argo0
= 0;
5666 PyObject
* _obj2
= 0;
5667 char *_kwnames
[] = { "self","points","xoffset","yoffset","fill_style", NULL
};
5670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iii:wxDC_DrawPolygon",_kwnames
,&_argo0
,&_obj2
,&_arg3
,&_arg4
,&_arg5
))
5673 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5674 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPolygon. Expected _wxDC_p.");
5681 _arg2
= wxPoint_LIST_helper(_obj2
, &NPOINTS
);
5682 if (_arg2
== NULL
) {
5690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5691 wxDC_DrawPolygon(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
5693 wxPyEndAllowThreads(__tstate
);
5694 if (PyErr_Occurred()) return NULL
;
5695 } Py_INCREF(Py_None
);
5696 _resultobj
= Py_None
;
5703 #define wxDC_DrawPoint(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawPoint(_swigarg0,_swigarg1))
5704 static PyObject
*_wrap_wxDC_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5705 PyObject
* _resultobj
;
5709 PyObject
* _argo0
= 0;
5710 char *_kwnames
[] = { "self","x","y", NULL
};
5713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_DrawPoint",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5716 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5717 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPoint. Expected _wxDC_p.");
5723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5724 wxDC_DrawPoint(_arg0
,_arg1
,_arg2
);
5726 wxPyEndAllowThreads(__tstate
);
5727 if (PyErr_Occurred()) return NULL
;
5728 } Py_INCREF(Py_None
);
5729 _resultobj
= Py_None
;
5733 #define wxDC_DrawRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5734 static PyObject
*_wrap_wxDC_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5735 PyObject
* _resultobj
;
5741 PyObject
* _argo0
= 0;
5742 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
5745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxDC_DrawRectangle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
5748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRectangle. Expected _wxDC_p.");
5755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5756 wxDC_DrawRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5758 wxPyEndAllowThreads(__tstate
);
5759 if (PyErr_Occurred()) return NULL
;
5760 } Py_INCREF(Py_None
);
5761 _resultobj
= Py_None
;
5765 #define wxDC_DrawRectangleRect(_swigobj,_swigarg0) (_swigobj->DrawRectangle(_swigarg0))
5766 static PyObject
*_wrap_wxDC_DrawRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5767 PyObject
* _resultobj
;
5770 PyObject
* _argo0
= 0;
5772 PyObject
* _obj1
= 0;
5773 char *_kwnames
[] = { "self","rect", NULL
};
5776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_DrawRectangleRect",_kwnames
,&_argo0
,&_obj1
))
5779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRectangleRect. Expected _wxDC_p.");
5787 if (! wxRect_helper(_obj1
, &_arg1
))
5791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5792 wxDC_DrawRectangleRect(_arg0
,*_arg1
);
5794 wxPyEndAllowThreads(__tstate
);
5795 if (PyErr_Occurred()) return NULL
;
5796 } Py_INCREF(Py_None
);
5797 _resultobj
= Py_None
;
5801 #define wxDC_DrawRotatedText(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRotatedText(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5802 static PyObject
*_wrap_wxDC_DrawRotatedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5803 PyObject
* _resultobj
;
5809 PyObject
* _argo0
= 0;
5810 PyObject
* _obj1
= 0;
5811 char *_kwnames
[] = { "self","text","x","y","angle", NULL
};
5814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiid:wxDC_DrawRotatedText",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_arg4
))
5817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRotatedText. Expected _wxDC_p.");
5824 _arg1
= wxString_in_helper(_obj1
);
5829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5830 wxDC_DrawRotatedText(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
5832 wxPyEndAllowThreads(__tstate
);
5833 if (PyErr_Occurred()) return NULL
;
5834 } Py_INCREF(Py_None
);
5835 _resultobj
= Py_None
;
5843 #define wxDC_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5844 static PyObject
*_wrap_wxDC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5845 PyObject
* _resultobj
;
5851 wxCoord _arg5
= (wxCoord
) 20;
5852 PyObject
* _argo0
= 0;
5853 char *_kwnames
[] = { "self","x","y","width","height","radius", NULL
};
5856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxDC_DrawRoundedRectangle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
5859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRoundedRectangle. Expected _wxDC_p.");
5866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5867 wxDC_DrawRoundedRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
5869 wxPyEndAllowThreads(__tstate
);
5870 if (PyErr_Occurred()) return NULL
;
5871 } Py_INCREF(Py_None
);
5872 _resultobj
= Py_None
;
5876 #define wxDC_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1))
5877 static PyObject
*_wrap_wxDC_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5878 PyObject
* _resultobj
;
5882 PyObject
* _argo0
= 0;
5884 PyObject
* _obj2
= 0;
5885 char *_kwnames
[] = { "self","points", NULL
};
5888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_DrawSpline",_kwnames
,&_argo0
,&_obj2
))
5891 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5892 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawSpline. Expected _wxDC_p.");
5899 _arg2
= wxPoint_LIST_helper(_obj2
, &NPOINTS
);
5900 if (_arg2
== NULL
) {
5908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5909 wxDC_DrawSpline(_arg0
,_arg1
,_arg2
);
5911 wxPyEndAllowThreads(__tstate
);
5912 if (PyErr_Occurred()) return NULL
;
5913 } Py_INCREF(Py_None
);
5914 _resultobj
= Py_None
;
5921 #define wxDC_DrawText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawText(_swigarg0,_swigarg1,_swigarg2))
5922 static PyObject
*_wrap_wxDC_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5923 PyObject
* _resultobj
;
5928 PyObject
* _argo0
= 0;
5929 PyObject
* _obj1
= 0;
5930 char *_kwnames
[] = { "self","text","x","y", NULL
};
5933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxDC_DrawText",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
))
5936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawText. Expected _wxDC_p.");
5943 _arg1
= wxString_in_helper(_obj1
);
5948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5949 wxDC_DrawText(_arg0
,*_arg1
,_arg2
,_arg3
);
5951 wxPyEndAllowThreads(__tstate
);
5952 if (PyErr_Occurred()) return NULL
;
5953 } Py_INCREF(Py_None
);
5954 _resultobj
= Py_None
;
5962 #define wxDC_EndDoc(_swigobj) (_swigobj->EndDoc())
5963 static PyObject
*_wrap_wxDC_EndDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5964 PyObject
* _resultobj
;
5966 PyObject
* _argo0
= 0;
5967 char *_kwnames
[] = { "self", NULL
};
5970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndDoc",_kwnames
,&_argo0
))
5973 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5974 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDoc. Expected _wxDC_p.");
5980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5983 wxPyEndAllowThreads(__tstate
);
5984 if (PyErr_Occurred()) return NULL
;
5985 } Py_INCREF(Py_None
);
5986 _resultobj
= Py_None
;
5990 #define wxDC_EndDrawing(_swigobj) (_swigobj->EndDrawing())
5991 static PyObject
*_wrap_wxDC_EndDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5992 PyObject
* _resultobj
;
5994 PyObject
* _argo0
= 0;
5995 char *_kwnames
[] = { "self", NULL
};
5998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndDrawing",_kwnames
,&_argo0
))
6001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDrawing. Expected _wxDC_p.");
6008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6009 wxDC_EndDrawing(_arg0
);
6011 wxPyEndAllowThreads(__tstate
);
6012 if (PyErr_Occurred()) return NULL
;
6013 } Py_INCREF(Py_None
);
6014 _resultobj
= Py_None
;
6018 #define wxDC_EndPage(_swigobj) (_swigobj->EndPage())
6019 static PyObject
*_wrap_wxDC_EndPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6020 PyObject
* _resultobj
;
6022 PyObject
* _argo0
= 0;
6023 char *_kwnames
[] = { "self", NULL
};
6026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndPage",_kwnames
,&_argo0
))
6029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndPage. Expected _wxDC_p.");
6036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6037 wxDC_EndPage(_arg0
);
6039 wxPyEndAllowThreads(__tstate
);
6040 if (PyErr_Occurred()) return NULL
;
6041 } Py_INCREF(Py_None
);
6042 _resultobj
= Py_None
;
6046 #define wxDC_FloodFill(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FloodFill(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6047 static PyObject
*_wrap_wxDC_FloodFill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6048 PyObject
* _resultobj
;
6054 int _arg4
= (int ) wxFLOOD_SURFACE
;
6055 PyObject
* _argo0
= 0;
6057 PyObject
* _obj3
= 0;
6058 char *_kwnames
[] = { "self","x","y","colour","style", NULL
};
6061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO|i:wxDC_FloodFill",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
6064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_FloodFill. Expected _wxDC_p.");
6072 if (! wxColour_helper(_obj3
, &_arg3
))
6076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6077 _result
= (bool )wxDC_FloodFill(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
6079 wxPyEndAllowThreads(__tstate
);
6080 if (PyErr_Occurred()) return NULL
;
6081 } _resultobj
= Py_BuildValue("i",_result
);
6085 #define wxDC_GetBackground(_swigobj) (_swigobj->GetBackground())
6086 static PyObject
*_wrap_wxDC_GetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6087 PyObject
* _resultobj
;
6090 PyObject
* _argo0
= 0;
6091 char *_kwnames
[] = { "self", NULL
};
6095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBackground",_kwnames
,&_argo0
))
6098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBackground. Expected _wxDC_p.");
6105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6106 _result
= new wxBrush (wxDC_GetBackground(_arg0
));
6108 wxPyEndAllowThreads(__tstate
);
6109 if (PyErr_Occurred()) return NULL
;
6110 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBrush_p");
6111 _resultobj
= Py_BuildValue("s",_ptemp
);
6115 #define wxDC_GetBrush(_swigobj) (_swigobj->GetBrush())
6116 static PyObject
*_wrap_wxDC_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6117 PyObject
* _resultobj
;
6120 PyObject
* _argo0
= 0;
6121 char *_kwnames
[] = { "self", NULL
};
6125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBrush",_kwnames
,&_argo0
))
6128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBrush. Expected _wxDC_p.");
6135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6136 _result
= new wxBrush (wxDC_GetBrush(_arg0
));
6138 wxPyEndAllowThreads(__tstate
);
6139 if (PyErr_Occurred()) return NULL
;
6140 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBrush_p");
6141 _resultobj
= Py_BuildValue("s",_ptemp
);
6145 #define wxDC_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
6146 static PyObject
*_wrap_wxDC_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6147 PyObject
* _resultobj
;
6150 PyObject
* _argo0
= 0;
6151 char *_kwnames
[] = { "self", NULL
};
6154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetCharHeight",_kwnames
,&_argo0
))
6157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharHeight. Expected _wxDC_p.");
6164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6165 _result
= (wxCoord
)wxDC_GetCharHeight(_arg0
);
6167 wxPyEndAllowThreads(__tstate
);
6168 if (PyErr_Occurred()) return NULL
;
6169 } _resultobj
= Py_BuildValue("i",_result
);
6173 #define wxDC_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
6174 static PyObject
*_wrap_wxDC_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6175 PyObject
* _resultobj
;
6178 PyObject
* _argo0
= 0;
6179 char *_kwnames
[] = { "self", NULL
};
6182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetCharWidth",_kwnames
,&_argo0
))
6185 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6186 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharWidth. Expected _wxDC_p.");
6192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6193 _result
= (wxCoord
)wxDC_GetCharWidth(_arg0
);
6195 wxPyEndAllowThreads(__tstate
);
6196 if (PyErr_Occurred()) return NULL
;
6197 } _resultobj
= Py_BuildValue("i",_result
);
6201 #define wxDC_GetClippingBox(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetClippingBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6202 static PyObject
*_wrap_wxDC_GetClippingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6203 PyObject
* _resultobj
;
6213 PyObject
* _argo0
= 0;
6214 char *_kwnames
[] = { "self", NULL
};
6229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetClippingBox",_kwnames
,&_argo0
))
6232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetClippingBox. Expected _wxDC_p.");
6239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6240 wxDC_GetClippingBox(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6242 wxPyEndAllowThreads(__tstate
);
6243 if (PyErr_Occurred()) return NULL
;
6244 } Py_INCREF(Py_None
);
6245 _resultobj
= Py_None
;
6248 o
= PyInt_FromLong((long) (*_arg1
));
6249 _resultobj
= t_output_helper(_resultobj
, o
);
6253 o
= PyInt_FromLong((long) (*_arg2
));
6254 _resultobj
= t_output_helper(_resultobj
, o
);
6258 o
= PyInt_FromLong((long) (*_arg3
));
6259 _resultobj
= t_output_helper(_resultobj
, o
);
6263 o
= PyInt_FromLong((long) (*_arg4
));
6264 _resultobj
= t_output_helper(_resultobj
, o
);
6269 #define wxDC_GetFont(_swigobj) (_swigobj->GetFont())
6270 static PyObject
*_wrap_wxDC_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6271 PyObject
* _resultobj
;
6274 PyObject
* _argo0
= 0;
6275 char *_kwnames
[] = { "self", NULL
};
6279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetFont",_kwnames
,&_argo0
))
6282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFont. Expected _wxDC_p.");
6289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6290 _result
= new wxFont (wxDC_GetFont(_arg0
));
6292 wxPyEndAllowThreads(__tstate
);
6293 if (PyErr_Occurred()) return NULL
;
6294 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
6295 _resultobj
= Py_BuildValue("s",_ptemp
);
6299 #define wxDC_GetLogicalFunction(_swigobj) (_swigobj->GetLogicalFunction())
6300 static PyObject
*_wrap_wxDC_GetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6301 PyObject
* _resultobj
;
6304 PyObject
* _argo0
= 0;
6305 char *_kwnames
[] = { "self", NULL
};
6308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalFunction",_kwnames
,&_argo0
))
6311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalFunction. Expected _wxDC_p.");
6318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6319 _result
= (int )wxDC_GetLogicalFunction(_arg0
);
6321 wxPyEndAllowThreads(__tstate
);
6322 if (PyErr_Occurred()) return NULL
;
6323 } _resultobj
= Py_BuildValue("i",_result
);
6327 #define wxDC_GetLogicalScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLogicalScale(_swigarg0,_swigarg1))
6328 static PyObject
*_wrap_wxDC_GetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6329 PyObject
* _resultobj
;
6335 PyObject
* _argo0
= 0;
6336 char *_kwnames
[] = { "self", NULL
};
6345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalScale",_kwnames
,&_argo0
))
6348 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6349 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalScale. Expected _wxDC_p.");
6355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6356 wxDC_GetLogicalScale(_arg0
,_arg1
,_arg2
);
6358 wxPyEndAllowThreads(__tstate
);
6359 if (PyErr_Occurred()) return NULL
;
6360 } Py_INCREF(Py_None
);
6361 _resultobj
= Py_None
;
6364 o
= PyFloat_FromDouble((double) (*_arg1
));
6365 _resultobj
= t_output_helper(_resultobj
, o
);
6369 o
= PyFloat_FromDouble((double) (*_arg2
));
6370 _resultobj
= t_output_helper(_resultobj
, o
);
6375 #define wxDC_GetMapMode(_swigobj) (_swigobj->GetMapMode())
6376 static PyObject
*_wrap_wxDC_GetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6377 PyObject
* _resultobj
;
6380 PyObject
* _argo0
= 0;
6381 char *_kwnames
[] = { "self", NULL
};
6384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetMapMode",_kwnames
,&_argo0
))
6387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetMapMode. Expected _wxDC_p.");
6394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6395 _result
= (int )wxDC_GetMapMode(_arg0
);
6397 wxPyEndAllowThreads(__tstate
);
6398 if (PyErr_Occurred()) return NULL
;
6399 } _resultobj
= Py_BuildValue("i",_result
);
6403 #define wxDC_GetOptimization(_swigobj) (_swigobj->GetOptimization())
6404 static PyObject
*_wrap_wxDC_GetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6405 PyObject
* _resultobj
;
6408 PyObject
* _argo0
= 0;
6409 char *_kwnames
[] = { "self", NULL
};
6412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetOptimization",_kwnames
,&_argo0
))
6415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetOptimization. Expected _wxDC_p.");
6422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6423 _result
= (bool )wxDC_GetOptimization(_arg0
);
6425 wxPyEndAllowThreads(__tstate
);
6426 if (PyErr_Occurred()) return NULL
;
6427 } _resultobj
= Py_BuildValue("i",_result
);
6431 #define wxDC_GetPen(_swigobj) (_swigobj->GetPen())
6432 static PyObject
*_wrap_wxDC_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6433 PyObject
* _resultobj
;
6436 PyObject
* _argo0
= 0;
6437 char *_kwnames
[] = { "self", NULL
};
6441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetPen",_kwnames
,&_argo0
))
6444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPen. Expected _wxDC_p.");
6451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6452 _result
= new wxPen (wxDC_GetPen(_arg0
));
6454 wxPyEndAllowThreads(__tstate
);
6455 if (PyErr_Occurred()) return NULL
;
6456 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPen_p");
6457 _resultobj
= Py_BuildValue("s",_ptemp
);
6461 static wxColour
* wxDC_GetPixel(wxDC
*self
,wxCoord x
,wxCoord y
) {
6462 wxColour
* wc
= new wxColour();
6463 self
->GetPixel(x
, y
, wc
);
6466 static PyObject
*_wrap_wxDC_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6467 PyObject
* _resultobj
;
6472 PyObject
* _argo0
= 0;
6473 char *_kwnames
[] = { "self","x","y", NULL
};
6477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_GetPixel",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPixel. Expected _wxDC_p.");
6487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6488 _result
= (wxColour
*)wxDC_GetPixel(_arg0
,_arg1
,_arg2
);
6490 wxPyEndAllowThreads(__tstate
);
6491 if (PyErr_Occurred()) return NULL
;
6493 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
6494 _resultobj
= Py_BuildValue("s",_ptemp
);
6497 _resultobj
= Py_None
;
6502 #define wxDC_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
6503 static PyObject
*_wrap_wxDC_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6504 PyObject
* _resultobj
;
6510 PyObject
* _argo0
= 0;
6511 char *_kwnames
[] = { "self", NULL
};
6520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSizeTuple",_kwnames
,&_argo0
))
6523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSizeTuple. Expected _wxDC_p.");
6530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6531 wxDC_GetSizeTuple(_arg0
,_arg1
,_arg2
);
6533 wxPyEndAllowThreads(__tstate
);
6534 if (PyErr_Occurred()) return NULL
;
6535 } Py_INCREF(Py_None
);
6536 _resultobj
= Py_None
;
6539 o
= PyInt_FromLong((long) (*_arg1
));
6540 _resultobj
= t_output_helper(_resultobj
, o
);
6544 o
= PyInt_FromLong((long) (*_arg2
));
6545 _resultobj
= t_output_helper(_resultobj
, o
);
6550 #define wxDC_GetSize(_swigobj) (_swigobj->GetSize())
6551 static PyObject
*_wrap_wxDC_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6552 PyObject
* _resultobj
;
6555 PyObject
* _argo0
= 0;
6556 char *_kwnames
[] = { "self", NULL
};
6560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSize",_kwnames
,&_argo0
))
6563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSize. Expected _wxDC_p.");
6570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6571 _result
= new wxSize (wxDC_GetSize(_arg0
));
6573 wxPyEndAllowThreads(__tstate
);
6574 if (PyErr_Occurred()) return NULL
;
6575 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
6576 _resultobj
= Py_BuildValue("s",_ptemp
);
6580 #define wxDC_GetSizeMM(_swigobj) (_swigobj->GetSizeMM())
6581 static PyObject
*_wrap_wxDC_GetSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6582 PyObject
* _resultobj
;
6585 PyObject
* _argo0
= 0;
6586 char *_kwnames
[] = { "self", NULL
};
6590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSizeMM",_kwnames
,&_argo0
))
6593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSizeMM. Expected _wxDC_p.");
6600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6601 _result
= new wxSize (wxDC_GetSizeMM(_arg0
));
6603 wxPyEndAllowThreads(__tstate
);
6604 if (PyErr_Occurred()) return NULL
;
6605 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
6606 _resultobj
= Py_BuildValue("s",_ptemp
);
6610 #define wxDC_GetTextBackground(_swigobj) (_swigobj->GetTextBackground())
6611 static PyObject
*_wrap_wxDC_GetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6612 PyObject
* _resultobj
;
6615 PyObject
* _argo0
= 0;
6616 char *_kwnames
[] = { "self", NULL
};
6620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetTextBackground",_kwnames
,&_argo0
))
6623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextBackground. Expected _wxDC_p.");
6630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6631 _result
= new wxColour (wxDC_GetTextBackground(_arg0
));
6633 wxPyEndAllowThreads(__tstate
);
6634 if (PyErr_Occurred()) return NULL
;
6635 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
6636 _resultobj
= Py_BuildValue("s",_ptemp
);
6640 #define wxDC_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
6641 static PyObject
*_wrap_wxDC_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6642 PyObject
* _resultobj
;
6649 PyObject
* _argo0
= 0;
6650 PyObject
* _obj1
= 0;
6651 char *_kwnames
[] = { "self","string", NULL
};
6660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
6663 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6664 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextExtent. Expected _wxDC_p.");
6670 _arg1
= wxString_in_helper(_obj1
);
6675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6676 wxDC_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
6678 wxPyEndAllowThreads(__tstate
);
6679 if (PyErr_Occurred()) return NULL
;
6680 } Py_INCREF(Py_None
);
6681 _resultobj
= Py_None
;
6684 o
= PyInt_FromLong((long) (*_arg2
));
6685 _resultobj
= t_output_helper(_resultobj
, o
);
6689 o
= PyInt_FromLong((long) (*_arg3
));
6690 _resultobj
= t_output_helper(_resultobj
, o
);
6699 #define wxDC_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6700 static PyObject
*_wrap_wxDC_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6701 PyObject
* _resultobj
;
6712 wxFont
* _arg6
= (wxFont
*) NULL
;
6713 PyObject
* _argo0
= 0;
6714 PyObject
* _obj1
= 0;
6715 PyObject
* _argo6
= 0;
6716 char *_kwnames
[] = { "self","string","font", NULL
};
6731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxDC_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
6734 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6735 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFullTextExtent. Expected _wxDC_p.");
6741 _arg1
= wxString_in_helper(_obj1
);
6746 if (_argo6
== Py_None
) { _arg6
= NULL
; }
6747 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
6748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxDC_GetFullTextExtent. Expected _wxFont_p.");
6753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6754 wxDC_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
6756 wxPyEndAllowThreads(__tstate
);
6757 if (PyErr_Occurred()) return NULL
;
6758 } Py_INCREF(Py_None
);
6759 _resultobj
= Py_None
;
6762 o
= PyInt_FromLong((long) (*_arg2
));
6763 _resultobj
= t_output_helper(_resultobj
, o
);
6767 o
= PyInt_FromLong((long) (*_arg3
));
6768 _resultobj
= t_output_helper(_resultobj
, o
);
6772 o
= PyInt_FromLong((long) (*_arg4
));
6773 _resultobj
= t_output_helper(_resultobj
, o
);
6777 o
= PyInt_FromLong((long) (*_arg5
));
6778 _resultobj
= t_output_helper(_resultobj
, o
);
6787 #define wxDC_GetMultiLineTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->GetMultiLineTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6788 static PyObject
*_wrap_wxDC_GetMultiLineTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6789 PyObject
* _resultobj
;
6798 wxFont
* _arg5
= (wxFont
*) NULL
;
6799 PyObject
* _argo0
= 0;
6800 PyObject
* _obj1
= 0;
6801 PyObject
* _argo5
= 0;
6802 char *_kwnames
[] = { "self","text","font", NULL
};
6814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxDC_GetMultiLineTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo5
))
6817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetMultiLineTextExtent. Expected _wxDC_p.");
6824 _arg1
= wxString_in_helper(_obj1
);
6829 if (_argo5
== Py_None
) { _arg5
= NULL
; }
6830 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxFont_p")) {
6831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxDC_GetMultiLineTextExtent. Expected _wxFont_p.");
6836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6837 wxDC_GetMultiLineTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
6839 wxPyEndAllowThreads(__tstate
);
6840 if (PyErr_Occurred()) return NULL
;
6841 } Py_INCREF(Py_None
);
6842 _resultobj
= Py_None
;
6845 o
= PyInt_FromLong((long) (*_arg2
));
6846 _resultobj
= t_output_helper(_resultobj
, o
);
6850 o
= PyInt_FromLong((long) (*_arg3
));
6851 _resultobj
= t_output_helper(_resultobj
, o
);
6855 o
= PyInt_FromLong((long) (*_arg4
));
6856 _resultobj
= t_output_helper(_resultobj
, o
);
6865 #define wxDC_GetTextForeground(_swigobj) (_swigobj->GetTextForeground())
6866 static PyObject
*_wrap_wxDC_GetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6867 PyObject
* _resultobj
;
6870 PyObject
* _argo0
= 0;
6871 char *_kwnames
[] = { "self", NULL
};
6875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetTextForeground",_kwnames
,&_argo0
))
6878 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6879 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextForeground. Expected _wxDC_p.");
6885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6886 _result
= new wxColour (wxDC_GetTextForeground(_arg0
));
6888 wxPyEndAllowThreads(__tstate
);
6889 if (PyErr_Occurred()) return NULL
;
6890 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
6891 _resultobj
= Py_BuildValue("s",_ptemp
);
6895 #define wxDC_GetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetUserScale(_swigarg0,_swigarg1))
6896 static PyObject
*_wrap_wxDC_GetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6897 PyObject
* _resultobj
;
6903 PyObject
* _argo0
= 0;
6904 char *_kwnames
[] = { "self", NULL
};
6913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetUserScale",_kwnames
,&_argo0
))
6916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetUserScale. Expected _wxDC_p.");
6923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6924 wxDC_GetUserScale(_arg0
,_arg1
,_arg2
);
6926 wxPyEndAllowThreads(__tstate
);
6927 if (PyErr_Occurred()) return NULL
;
6928 } Py_INCREF(Py_None
);
6929 _resultobj
= Py_None
;
6932 o
= PyFloat_FromDouble((double) (*_arg1
));
6933 _resultobj
= t_output_helper(_resultobj
, o
);
6937 o
= PyFloat_FromDouble((double) (*_arg2
));
6938 _resultobj
= t_output_helper(_resultobj
, o
);
6943 #define wxDC_LogicalToDeviceX(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceX(_swigarg0))
6944 static PyObject
*_wrap_wxDC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6945 PyObject
* _resultobj
;
6949 PyObject
* _argo0
= 0;
6950 char *_kwnames
[] = { "self","x", NULL
};
6953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_LogicalToDeviceX",_kwnames
,&_argo0
,&_arg1
))
6956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceX. Expected _wxDC_p.");
6963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6964 _result
= (wxCoord
)wxDC_LogicalToDeviceX(_arg0
,_arg1
);
6966 wxPyEndAllowThreads(__tstate
);
6967 if (PyErr_Occurred()) return NULL
;
6968 } _resultobj
= Py_BuildValue("i",_result
);
6972 #define wxDC_LogicalToDeviceXRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceXRel(_swigarg0))
6973 static PyObject
*_wrap_wxDC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6974 PyObject
* _resultobj
;
6978 PyObject
* _argo0
= 0;
6979 char *_kwnames
[] = { "self","x", NULL
};
6982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_LogicalToDeviceXRel",_kwnames
,&_argo0
,&_arg1
))
6985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceXRel. Expected _wxDC_p.");
6992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6993 _result
= (wxCoord
)wxDC_LogicalToDeviceXRel(_arg0
,_arg1
);
6995 wxPyEndAllowThreads(__tstate
);
6996 if (PyErr_Occurred()) return NULL
;
6997 } _resultobj
= Py_BuildValue("i",_result
);
7001 #define wxDC_LogicalToDeviceY(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceY(_swigarg0))
7002 static PyObject
*_wrap_wxDC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7003 PyObject
* _resultobj
;
7007 PyObject
* _argo0
= 0;
7008 char *_kwnames
[] = { "self","y", NULL
};
7011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_LogicalToDeviceY",_kwnames
,&_argo0
,&_arg1
))
7014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceY. Expected _wxDC_p.");
7021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7022 _result
= (wxCoord
)wxDC_LogicalToDeviceY(_arg0
,_arg1
);
7024 wxPyEndAllowThreads(__tstate
);
7025 if (PyErr_Occurred()) return NULL
;
7026 } _resultobj
= Py_BuildValue("i",_result
);
7030 #define wxDC_LogicalToDeviceYRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceYRel(_swigarg0))
7031 static PyObject
*_wrap_wxDC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7032 PyObject
* _resultobj
;
7036 PyObject
* _argo0
= 0;
7037 char *_kwnames
[] = { "self","y", NULL
};
7040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_LogicalToDeviceYRel",_kwnames
,&_argo0
,&_arg1
))
7043 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7044 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceYRel. Expected _wxDC_p.");
7050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7051 _result
= (wxCoord
)wxDC_LogicalToDeviceYRel(_arg0
,_arg1
);
7053 wxPyEndAllowThreads(__tstate
);
7054 if (PyErr_Occurred()) return NULL
;
7055 } _resultobj
= Py_BuildValue("i",_result
);
7059 #define wxDC_MaxX(_swigobj) (_swigobj->MaxX())
7060 static PyObject
*_wrap_wxDC_MaxX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7061 PyObject
* _resultobj
;
7064 PyObject
* _argo0
= 0;
7065 char *_kwnames
[] = { "self", NULL
};
7068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MaxX",_kwnames
,&_argo0
))
7071 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7072 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxX. Expected _wxDC_p.");
7078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7079 _result
= (wxCoord
)wxDC_MaxX(_arg0
);
7081 wxPyEndAllowThreads(__tstate
);
7082 if (PyErr_Occurred()) return NULL
;
7083 } _resultobj
= Py_BuildValue("i",_result
);
7087 #define wxDC_MaxY(_swigobj) (_swigobj->MaxY())
7088 static PyObject
*_wrap_wxDC_MaxY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7089 PyObject
* _resultobj
;
7092 PyObject
* _argo0
= 0;
7093 char *_kwnames
[] = { "self", NULL
};
7096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MaxY",_kwnames
,&_argo0
))
7099 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7100 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxY. Expected _wxDC_p.");
7106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7107 _result
= (wxCoord
)wxDC_MaxY(_arg0
);
7109 wxPyEndAllowThreads(__tstate
);
7110 if (PyErr_Occurred()) return NULL
;
7111 } _resultobj
= Py_BuildValue("i",_result
);
7115 #define wxDC_MinX(_swigobj) (_swigobj->MinX())
7116 static PyObject
*_wrap_wxDC_MinX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7117 PyObject
* _resultobj
;
7120 PyObject
* _argo0
= 0;
7121 char *_kwnames
[] = { "self", NULL
};
7124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MinX",_kwnames
,&_argo0
))
7127 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7128 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinX. Expected _wxDC_p.");
7134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7135 _result
= (wxCoord
)wxDC_MinX(_arg0
);
7137 wxPyEndAllowThreads(__tstate
);
7138 if (PyErr_Occurred()) return NULL
;
7139 } _resultobj
= Py_BuildValue("i",_result
);
7143 #define wxDC_MinY(_swigobj) (_swigobj->MinY())
7144 static PyObject
*_wrap_wxDC_MinY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7145 PyObject
* _resultobj
;
7148 PyObject
* _argo0
= 0;
7149 char *_kwnames
[] = { "self", NULL
};
7152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MinY",_kwnames
,&_argo0
))
7155 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7156 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinY. Expected _wxDC_p.");
7162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7163 _result
= (wxCoord
)wxDC_MinY(_arg0
);
7165 wxPyEndAllowThreads(__tstate
);
7166 if (PyErr_Occurred()) return NULL
;
7167 } _resultobj
= Py_BuildValue("i",_result
);
7171 #define wxDC_Ok(_swigobj) (_swigobj->Ok())
7172 static PyObject
*_wrap_wxDC_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7173 PyObject
* _resultobj
;
7176 PyObject
* _argo0
= 0;
7177 char *_kwnames
[] = { "self", NULL
};
7180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_Ok",_kwnames
,&_argo0
))
7183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Ok. Expected _wxDC_p.");
7190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7191 _result
= (bool )wxDC_Ok(_arg0
);
7193 wxPyEndAllowThreads(__tstate
);
7194 if (PyErr_Occurred()) return NULL
;
7195 } _resultobj
= Py_BuildValue("i",_result
);
7199 #define wxDC_SetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDeviceOrigin(_swigarg0,_swigarg1))
7200 static PyObject
*_wrap_wxDC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7201 PyObject
* _resultobj
;
7205 PyObject
* _argo0
= 0;
7206 char *_kwnames
[] = { "self","x","y", NULL
};
7209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_SetDeviceOrigin",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetDeviceOrigin. Expected _wxDC_p.");
7219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7220 wxDC_SetDeviceOrigin(_arg0
,_arg1
,_arg2
);
7222 wxPyEndAllowThreads(__tstate
);
7223 if (PyErr_Occurred()) return NULL
;
7224 } Py_INCREF(Py_None
);
7225 _resultobj
= Py_None
;
7229 #define wxDC_SetBackground(_swigobj,_swigarg0) (_swigobj->SetBackground(_swigarg0))
7230 static PyObject
*_wrap_wxDC_SetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7231 PyObject
* _resultobj
;
7234 PyObject
* _argo0
= 0;
7235 PyObject
* _argo1
= 0;
7236 char *_kwnames
[] = { "self","brush", NULL
};
7239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetBackground",_kwnames
,&_argo0
,&_argo1
))
7242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackground. Expected _wxDC_p.");
7249 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
7250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBackground. Expected _wxBrush_p.");
7255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7256 wxDC_SetBackground(_arg0
,*_arg1
);
7258 wxPyEndAllowThreads(__tstate
);
7259 if (PyErr_Occurred()) return NULL
;
7260 } Py_INCREF(Py_None
);
7261 _resultobj
= Py_None
;
7265 #define wxDC_SetBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetBackgroundMode(_swigarg0))
7266 static PyObject
*_wrap_wxDC_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7267 PyObject
* _resultobj
;
7270 PyObject
* _argo0
= 0;
7271 char *_kwnames
[] = { "self","mode", NULL
};
7274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetBackgroundMode",_kwnames
,&_argo0
,&_arg1
))
7277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackgroundMode. Expected _wxDC_p.");
7284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7285 wxDC_SetBackgroundMode(_arg0
,_arg1
);
7287 wxPyEndAllowThreads(__tstate
);
7288 if (PyErr_Occurred()) return NULL
;
7289 } Py_INCREF(Py_None
);
7290 _resultobj
= Py_None
;
7294 #define wxDC_SetClippingRegion(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetClippingRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7295 static PyObject
*_wrap_wxDC_SetClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7296 PyObject
* _resultobj
;
7302 PyObject
* _argo0
= 0;
7303 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
7306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxDC_SetClippingRegion",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetClippingRegion. Expected _wxDC_p.");
7316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7317 wxDC_SetClippingRegion(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7319 wxPyEndAllowThreads(__tstate
);
7320 if (PyErr_Occurred()) return NULL
;
7321 } Py_INCREF(Py_None
);
7322 _resultobj
= Py_None
;
7326 #define wxDC_SetClippingRegionAsRegion(_swigobj,_swigarg0) (_swigobj->SetClippingRegion(_swigarg0))
7327 static PyObject
*_wrap_wxDC_SetClippingRegionAsRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7328 PyObject
* _resultobj
;
7331 PyObject
* _argo0
= 0;
7332 PyObject
* _argo1
= 0;
7333 char *_kwnames
[] = { "self","region", NULL
};
7336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetClippingRegionAsRegion",_kwnames
,&_argo0
,&_argo1
))
7339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetClippingRegionAsRegion. Expected _wxDC_p.");
7346 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
7347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetClippingRegionAsRegion. Expected _wxRegion_p.");
7352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7353 wxDC_SetClippingRegionAsRegion(_arg0
,*_arg1
);
7355 wxPyEndAllowThreads(__tstate
);
7356 if (PyErr_Occurred()) return NULL
;
7357 } Py_INCREF(Py_None
);
7358 _resultobj
= Py_None
;
7362 #define wxDC_SetClippingRect(_swigobj,_swigarg0) (_swigobj->SetClippingRegion(_swigarg0))
7363 static PyObject
*_wrap_wxDC_SetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7364 PyObject
* _resultobj
;
7367 PyObject
* _argo0
= 0;
7369 PyObject
* _obj1
= 0;
7370 char *_kwnames
[] = { "self","rect", NULL
};
7373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetClippingRect",_kwnames
,&_argo0
,&_obj1
))
7376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetClippingRect. Expected _wxDC_p.");
7384 if (! wxRect_helper(_obj1
, &_arg1
))
7388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7389 wxDC_SetClippingRect(_arg0
,*_arg1
);
7391 wxPyEndAllowThreads(__tstate
);
7392 if (PyErr_Occurred()) return NULL
;
7393 } Py_INCREF(Py_None
);
7394 _resultobj
= Py_None
;
7398 #define wxDC_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
7399 static PyObject
*_wrap_wxDC_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7400 PyObject
* _resultobj
;
7403 PyObject
* _argo0
= 0;
7404 PyObject
* _argo1
= 0;
7405 char *_kwnames
[] = { "self","colourMap", NULL
};
7408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetPalette",_kwnames
,&_argo0
,&_argo1
))
7411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPalette. Expected _wxDC_p.");
7418 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPalette_p")) {
7419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPalette. Expected _wxPalette_p.");
7424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7425 wxDC_SetPalette(_arg0
,*_arg1
);
7427 wxPyEndAllowThreads(__tstate
);
7428 if (PyErr_Occurred()) return NULL
;
7429 } Py_INCREF(Py_None
);
7430 _resultobj
= Py_None
;
7434 #define wxDC_SetBrush(_swigobj,_swigarg0) (_swigobj->SetBrush(_swigarg0))
7435 static PyObject
*_wrap_wxDC_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7436 PyObject
* _resultobj
;
7439 PyObject
* _argo0
= 0;
7440 PyObject
* _argo1
= 0;
7441 char *_kwnames
[] = { "self","brush", NULL
};
7444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetBrush",_kwnames
,&_argo0
,&_argo1
))
7447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBrush. Expected _wxDC_p.");
7454 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
7455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBrush. Expected _wxBrush_p.");
7460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7461 wxDC_SetBrush(_arg0
,*_arg1
);
7463 wxPyEndAllowThreads(__tstate
);
7464 if (PyErr_Occurred()) return NULL
;
7465 } Py_INCREF(Py_None
);
7466 _resultobj
= Py_None
;
7470 #define wxDC_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
7471 static PyObject
*_wrap_wxDC_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7472 PyObject
* _resultobj
;
7475 PyObject
* _argo0
= 0;
7476 PyObject
* _argo1
= 0;
7477 char *_kwnames
[] = { "self","font", NULL
};
7480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetFont",_kwnames
,&_argo0
,&_argo1
))
7483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetFont. Expected _wxDC_p.");
7490 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
7491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetFont. Expected _wxFont_p.");
7496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7497 wxDC_SetFont(_arg0
,*_arg1
);
7499 wxPyEndAllowThreads(__tstate
);
7500 if (PyErr_Occurred()) return NULL
;
7501 } Py_INCREF(Py_None
);
7502 _resultobj
= Py_None
;
7506 #define wxDC_SetLogicalFunction(_swigobj,_swigarg0) (_swigobj->SetLogicalFunction(_swigarg0))
7507 static PyObject
*_wrap_wxDC_SetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7508 PyObject
* _resultobj
;
7511 PyObject
* _argo0
= 0;
7512 char *_kwnames
[] = { "self","function", NULL
};
7515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetLogicalFunction",_kwnames
,&_argo0
,&_arg1
))
7518 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7519 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalFunction. Expected _wxDC_p.");
7525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7526 wxDC_SetLogicalFunction(_arg0
,_arg1
);
7528 wxPyEndAllowThreads(__tstate
);
7529 if (PyErr_Occurred()) return NULL
;
7530 } Py_INCREF(Py_None
);
7531 _resultobj
= Py_None
;
7535 #define wxDC_SetLogicalScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLogicalScale(_swigarg0,_swigarg1))
7536 static PyObject
*_wrap_wxDC_SetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7537 PyObject
* _resultobj
;
7541 PyObject
* _argo0
= 0;
7542 char *_kwnames
[] = { "self","x","y", NULL
};
7545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxDC_SetLogicalScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalScale. Expected _wxDC_p.");
7555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7556 wxDC_SetLogicalScale(_arg0
,_arg1
,_arg2
);
7558 wxPyEndAllowThreads(__tstate
);
7559 if (PyErr_Occurred()) return NULL
;
7560 } Py_INCREF(Py_None
);
7561 _resultobj
= Py_None
;
7565 #define wxDC_SetMapMode(_swigobj,_swigarg0) (_swigobj->SetMapMode(_swigarg0))
7566 static PyObject
*_wrap_wxDC_SetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7567 PyObject
* _resultobj
;
7570 PyObject
* _argo0
= 0;
7571 char *_kwnames
[] = { "self","mode", NULL
};
7574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetMapMode",_kwnames
,&_argo0
,&_arg1
))
7577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetMapMode. Expected _wxDC_p.");
7584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7585 wxDC_SetMapMode(_arg0
,_arg1
);
7587 wxPyEndAllowThreads(__tstate
);
7588 if (PyErr_Occurred()) return NULL
;
7589 } Py_INCREF(Py_None
);
7590 _resultobj
= Py_None
;
7594 #define wxDC_SetOptimization(_swigobj,_swigarg0) (_swigobj->SetOptimization(_swigarg0))
7595 static PyObject
*_wrap_wxDC_SetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7596 PyObject
* _resultobj
;
7599 PyObject
* _argo0
= 0;
7601 char *_kwnames
[] = { "self","optimize", NULL
};
7604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetOptimization",_kwnames
,&_argo0
,&tempbool1
))
7607 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7608 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetOptimization. Expected _wxDC_p.");
7613 _arg1
= (bool ) tempbool1
;
7615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7616 wxDC_SetOptimization(_arg0
,_arg1
);
7618 wxPyEndAllowThreads(__tstate
);
7619 if (PyErr_Occurred()) return NULL
;
7620 } Py_INCREF(Py_None
);
7621 _resultobj
= Py_None
;
7625 #define wxDC_SetPen(_swigobj,_swigarg0) (_swigobj->SetPen(_swigarg0))
7626 static PyObject
*_wrap_wxDC_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7627 PyObject
* _resultobj
;
7630 PyObject
* _argo0
= 0;
7631 PyObject
* _argo1
= 0;
7632 char *_kwnames
[] = { "self","pen", NULL
};
7635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetPen",_kwnames
,&_argo0
,&_argo1
))
7638 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7639 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPen. Expected _wxDC_p.");
7645 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
7646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPen. Expected _wxPen_p.");
7651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7652 wxDC_SetPen(_arg0
,*_arg1
);
7654 wxPyEndAllowThreads(__tstate
);
7655 if (PyErr_Occurred()) return NULL
;
7656 } Py_INCREF(Py_None
);
7657 _resultobj
= Py_None
;
7661 #define wxDC_SetTextBackground(_swigobj,_swigarg0) (_swigobj->SetTextBackground(_swigarg0))
7662 static PyObject
*_wrap_wxDC_SetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7663 PyObject
* _resultobj
;
7666 PyObject
* _argo0
= 0;
7668 PyObject
* _obj1
= 0;
7669 char *_kwnames
[] = { "self","colour", NULL
};
7672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetTextBackground",_kwnames
,&_argo0
,&_obj1
))
7675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextBackground. Expected _wxDC_p.");
7683 if (! wxColour_helper(_obj1
, &_arg1
))
7687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7688 wxDC_SetTextBackground(_arg0
,*_arg1
);
7690 wxPyEndAllowThreads(__tstate
);
7691 if (PyErr_Occurred()) return NULL
;
7692 } Py_INCREF(Py_None
);
7693 _resultobj
= Py_None
;
7697 #define wxDC_SetTextForeground(_swigobj,_swigarg0) (_swigobj->SetTextForeground(_swigarg0))
7698 static PyObject
*_wrap_wxDC_SetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7699 PyObject
* _resultobj
;
7702 PyObject
* _argo0
= 0;
7704 PyObject
* _obj1
= 0;
7705 char *_kwnames
[] = { "self","colour", NULL
};
7708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetTextForeground",_kwnames
,&_argo0
,&_obj1
))
7711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextForeground. Expected _wxDC_p.");
7719 if (! wxColour_helper(_obj1
, &_arg1
))
7723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7724 wxDC_SetTextForeground(_arg0
,*_arg1
);
7726 wxPyEndAllowThreads(__tstate
);
7727 if (PyErr_Occurred()) return NULL
;
7728 } Py_INCREF(Py_None
);
7729 _resultobj
= Py_None
;
7733 #define wxDC_SetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetUserScale(_swigarg0,_swigarg1))
7734 static PyObject
*_wrap_wxDC_SetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7735 PyObject
* _resultobj
;
7739 PyObject
* _argo0
= 0;
7740 char *_kwnames
[] = { "self","x_scale","y_scale", NULL
};
7743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxDC_SetUserScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetUserScale. Expected _wxDC_p.");
7753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7754 wxDC_SetUserScale(_arg0
,_arg1
,_arg2
);
7756 wxPyEndAllowThreads(__tstate
);
7757 if (PyErr_Occurred()) return NULL
;
7758 } Py_INCREF(Py_None
);
7759 _resultobj
= Py_None
;
7763 #define wxDC_StartDoc(_swigobj,_swigarg0) (_swigobj->StartDoc(_swigarg0))
7764 static PyObject
*_wrap_wxDC_StartDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7765 PyObject
* _resultobj
;
7769 PyObject
* _argo0
= 0;
7770 PyObject
* _obj1
= 0;
7771 char *_kwnames
[] = { "self","message", NULL
};
7774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_StartDoc",_kwnames
,&_argo0
,&_obj1
))
7777 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7778 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartDoc. Expected _wxDC_p.");
7784 _arg1
= wxString_in_helper(_obj1
);
7789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7790 _result
= (bool )wxDC_StartDoc(_arg0
,*_arg1
);
7792 wxPyEndAllowThreads(__tstate
);
7793 if (PyErr_Occurred()) return NULL
;
7794 } _resultobj
= Py_BuildValue("i",_result
);
7802 #define wxDC_StartPage(_swigobj) (_swigobj->StartPage())
7803 static PyObject
*_wrap_wxDC_StartPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7804 PyObject
* _resultobj
;
7806 PyObject
* _argo0
= 0;
7807 char *_kwnames
[] = { "self", NULL
};
7810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_StartPage",_kwnames
,&_argo0
))
7813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartPage. Expected _wxDC_p.");
7820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7821 wxDC_StartPage(_arg0
);
7823 wxPyEndAllowThreads(__tstate
);
7824 if (PyErr_Occurred()) return NULL
;
7825 } Py_INCREF(Py_None
);
7826 _resultobj
= Py_None
;
7830 #define wxDC_DrawBitmap(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7831 static PyObject
*_wrap_wxDC_DrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7832 PyObject
* _resultobj
;
7837 int _arg4
= (int ) FALSE
;
7838 PyObject
* _argo0
= 0;
7839 PyObject
* _argo1
= 0;
7840 char *_kwnames
[] = { "self","bitmap","x","y","useMask", NULL
};
7843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii|i:wxDC_DrawBitmap",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
))
7846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawBitmap. Expected _wxDC_p.");
7853 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
7854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawBitmap. Expected _wxBitmap_p.");
7859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7860 wxDC_DrawBitmap(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
7862 wxPyEndAllowThreads(__tstate
);
7863 if (PyErr_Occurred()) return NULL
;
7864 } Py_INCREF(Py_None
);
7865 _resultobj
= Py_None
;
7869 #define wxDC_CanDrawBitmap(_swigobj) (_swigobj->CanDrawBitmap())
7870 static PyObject
*_wrap_wxDC_CanDrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7871 PyObject
* _resultobj
;
7874 PyObject
* _argo0
= 0;
7875 char *_kwnames
[] = { "self", NULL
};
7878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_CanDrawBitmap",_kwnames
,&_argo0
))
7881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CanDrawBitmap. Expected _wxDC_p.");
7888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7889 _result
= (bool )wxDC_CanDrawBitmap(_arg0
);
7891 wxPyEndAllowThreads(__tstate
);
7892 if (PyErr_Occurred()) return NULL
;
7893 } _resultobj
= Py_BuildValue("i",_result
);
7897 #define wxDC_CanGetTextExtent(_swigobj) (_swigobj->CanGetTextExtent())
7898 static PyObject
*_wrap_wxDC_CanGetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7899 PyObject
* _resultobj
;
7902 PyObject
* _argo0
= 0;
7903 char *_kwnames
[] = { "self", NULL
};
7906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_CanGetTextExtent",_kwnames
,&_argo0
))
7909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CanGetTextExtent. Expected _wxDC_p.");
7916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7917 _result
= (bool )wxDC_CanGetTextExtent(_arg0
);
7919 wxPyEndAllowThreads(__tstate
);
7920 if (PyErr_Occurred()) return NULL
;
7921 } _resultobj
= Py_BuildValue("i",_result
);
7925 #define wxDC_GetDepth(_swigobj) (_swigobj->GetDepth())
7926 static PyObject
*_wrap_wxDC_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7927 PyObject
* _resultobj
;
7930 PyObject
* _argo0
= 0;
7931 char *_kwnames
[] = { "self", NULL
};
7934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetDepth",_kwnames
,&_argo0
))
7937 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7938 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetDepth. Expected _wxDC_p.");
7944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7945 _result
= (int )wxDC_GetDepth(_arg0
);
7947 wxPyEndAllowThreads(__tstate
);
7948 if (PyErr_Occurred()) return NULL
;
7949 } _resultobj
= Py_BuildValue("i",_result
);
7953 #define wxDC_GetPPI(_swigobj) (_swigobj->GetPPI())
7954 static PyObject
*_wrap_wxDC_GetPPI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7955 PyObject
* _resultobj
;
7958 PyObject
* _argo0
= 0;
7959 char *_kwnames
[] = { "self", NULL
};
7963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetPPI",_kwnames
,&_argo0
))
7966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPPI. Expected _wxDC_p.");
7973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7974 _result
= new wxSize (wxDC_GetPPI(_arg0
));
7976 wxPyEndAllowThreads(__tstate
);
7977 if (PyErr_Occurred()) return NULL
;
7978 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
7979 _resultobj
= Py_BuildValue("s",_ptemp
);
7983 #define wxDC_GetLogicalOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLogicalOrigin(_swigarg0,_swigarg1))
7984 static PyObject
*_wrap_wxDC_GetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7985 PyObject
* _resultobj
;
7991 PyObject
* _argo0
= 0;
7992 char *_kwnames
[] = { "self", NULL
};
8001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalOrigin",_kwnames
,&_argo0
))
8004 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8005 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalOrigin. Expected _wxDC_p.");
8011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8012 wxDC_GetLogicalOrigin(_arg0
,_arg1
,_arg2
);
8014 wxPyEndAllowThreads(__tstate
);
8015 if (PyErr_Occurred()) return NULL
;
8016 } Py_INCREF(Py_None
);
8017 _resultobj
= Py_None
;
8020 o
= PyInt_FromLong((long) (*_arg1
));
8021 _resultobj
= t_output_helper(_resultobj
, o
);
8025 o
= PyInt_FromLong((long) (*_arg2
));
8026 _resultobj
= t_output_helper(_resultobj
, o
);
8031 #define wxDC_SetLogicalOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLogicalOrigin(_swigarg0,_swigarg1))
8032 static PyObject
*_wrap_wxDC_SetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8033 PyObject
* _resultobj
;
8037 PyObject
* _argo0
= 0;
8038 char *_kwnames
[] = { "self","x","y", NULL
};
8041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_SetLogicalOrigin",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalOrigin. Expected _wxDC_p.");
8051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8052 wxDC_SetLogicalOrigin(_arg0
,_arg1
,_arg2
);
8054 wxPyEndAllowThreads(__tstate
);
8055 if (PyErr_Occurred()) return NULL
;
8056 } Py_INCREF(Py_None
);
8057 _resultobj
= Py_None
;
8061 #define wxDC_GetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDeviceOrigin(_swigarg0,_swigarg1))
8062 static PyObject
*_wrap_wxDC_GetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8063 PyObject
* _resultobj
;
8069 PyObject
* _argo0
= 0;
8070 char *_kwnames
[] = { "self", NULL
};
8079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetDeviceOrigin",_kwnames
,&_argo0
))
8082 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8083 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetDeviceOrigin. Expected _wxDC_p.");
8089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8090 wxDC_GetDeviceOrigin(_arg0
,_arg1
,_arg2
);
8092 wxPyEndAllowThreads(__tstate
);
8093 if (PyErr_Occurred()) return NULL
;
8094 } Py_INCREF(Py_None
);
8095 _resultobj
= Py_None
;
8098 o
= PyInt_FromLong((long) (*_arg1
));
8099 _resultobj
= t_output_helper(_resultobj
, o
);
8103 o
= PyInt_FromLong((long) (*_arg2
));
8104 _resultobj
= t_output_helper(_resultobj
, o
);
8109 #define wxDC_SetAxisOrientation(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAxisOrientation(_swigarg0,_swigarg1))
8110 static PyObject
*_wrap_wxDC_SetAxisOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8111 PyObject
* _resultobj
;
8115 PyObject
* _argo0
= 0;
8118 char *_kwnames
[] = { "self","xLeftRight","yBottomUp", NULL
};
8121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_SetAxisOrientation",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
8124 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8125 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetAxisOrientation. Expected _wxDC_p.");
8130 _arg1
= (bool ) tempbool1
;
8131 _arg2
= (bool ) tempbool2
;
8133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8134 wxDC_SetAxisOrientation(_arg0
,_arg1
,_arg2
);
8136 wxPyEndAllowThreads(__tstate
);
8137 if (PyErr_Occurred()) return NULL
;
8138 } Py_INCREF(Py_None
);
8139 _resultobj
= Py_None
;
8143 #define wxDC_CalcBoundingBox(_swigobj,_swigarg0,_swigarg1) (_swigobj->CalcBoundingBox(_swigarg0,_swigarg1))
8144 static PyObject
*_wrap_wxDC_CalcBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8145 PyObject
* _resultobj
;
8149 PyObject
* _argo0
= 0;
8150 char *_kwnames
[] = { "self","x","y", NULL
};
8153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_CalcBoundingBox",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8156 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8157 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CalcBoundingBox. Expected _wxDC_p.");
8163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8164 wxDC_CalcBoundingBox(_arg0
,_arg1
,_arg2
);
8166 wxPyEndAllowThreads(__tstate
);
8167 if (PyErr_Occurred()) return NULL
;
8168 } Py_INCREF(Py_None
);
8169 _resultobj
= Py_None
;
8173 #define wxDC_ResetBoundingBox(_swigobj) (_swigobj->ResetBoundingBox())
8174 static PyObject
*_wrap_wxDC_ResetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8175 PyObject
* _resultobj
;
8177 PyObject
* _argo0
= 0;
8178 char *_kwnames
[] = { "self", NULL
};
8181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_ResetBoundingBox",_kwnames
,&_argo0
))
8184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_ResetBoundingBox. Expected _wxDC_p.");
8191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8192 wxDC_ResetBoundingBox(_arg0
);
8194 wxPyEndAllowThreads(__tstate
);
8195 if (PyErr_Occurred()) return NULL
;
8196 } Py_INCREF(Py_None
);
8197 _resultobj
= Py_None
;
8201 static PyObject
*_wrap_wxDC_GetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8202 PyObject
* _resultobj
;
8212 PyObject
* _argo0
= 0;
8213 char *_kwnames
[] = { "self", NULL
};
8228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBoundingBox",_kwnames
,&_argo0
))
8231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBoundingBox. Expected _wxDC_p.");
8238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8239 wxDC_GetBoundingBox(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
8241 wxPyEndAllowThreads(__tstate
);
8242 if (PyErr_Occurred()) return NULL
;
8243 } Py_INCREF(Py_None
);
8244 _resultobj
= Py_None
;
8247 o
= PyInt_FromLong((long) (*_arg1
));
8248 _resultobj
= t_output_helper(_resultobj
, o
);
8252 o
= PyInt_FromLong((long) (*_arg2
));
8253 _resultobj
= t_output_helper(_resultobj
, o
);
8257 o
= PyInt_FromLong((long) (*_arg3
));
8258 _resultobj
= t_output_helper(_resultobj
, o
);
8262 o
= PyInt_FromLong((long) (*_arg4
));
8263 _resultobj
= t_output_helper(_resultobj
, o
);
8268 static PyObject
* wxDC__DrawPointList(wxDC
*self
,PyObject
* pyCoords
,PyObject
* pyPens
,PyObject
* pyBrushes
) {
8269 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
8271 static PyObject
*_wrap_wxDC__DrawPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8272 PyObject
* _resultobj
;
8278 PyObject
* _argo0
= 0;
8279 PyObject
* _obj1
= 0;
8280 PyObject
* _obj2
= 0;
8281 PyObject
* _obj3
= 0;
8282 char *_kwnames
[] = { "self","pyCoords","pyPens","pyBrushes", NULL
};
8285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDC__DrawPointList",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
))
8288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC__DrawPointList. Expected _wxDC_p.");
8304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8305 _result
= (PyObject
*)wxDC__DrawPointList(_arg0
,_arg1
,_arg2
,_arg3
);
8307 wxPyEndAllowThreads(__tstate
);
8308 if (PyErr_Occurred()) return NULL
;
8310 _resultobj
= _result
;
8315 static PyObject
* wxDC__DrawLineList(wxDC
*self
,PyObject
* pyCoords
,PyObject
* pyPens
,PyObject
* pyBrushes
) {
8316 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
8318 static PyObject
*_wrap_wxDC__DrawLineList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8319 PyObject
* _resultobj
;
8325 PyObject
* _argo0
= 0;
8326 PyObject
* _obj1
= 0;
8327 PyObject
* _obj2
= 0;
8328 PyObject
* _obj3
= 0;
8329 char *_kwnames
[] = { "self","pyCoords","pyPens","pyBrushes", NULL
};
8332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDC__DrawLineList",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
))
8335 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8336 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC__DrawLineList. Expected _wxDC_p.");
8351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8352 _result
= (PyObject
*)wxDC__DrawLineList(_arg0
,_arg1
,_arg2
,_arg3
);
8354 wxPyEndAllowThreads(__tstate
);
8355 if (PyErr_Occurred()) return NULL
;
8357 _resultobj
= _result
;
8362 static PyObject
* wxDC__DrawRectangleList(wxDC
*self
,PyObject
* pyCoords
,PyObject
* pyPens
,PyObject
* pyBrushes
) {
8363 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
8365 static PyObject
*_wrap_wxDC__DrawRectangleList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8366 PyObject
* _resultobj
;
8372 PyObject
* _argo0
= 0;
8373 PyObject
* _obj1
= 0;
8374 PyObject
* _obj2
= 0;
8375 PyObject
* _obj3
= 0;
8376 char *_kwnames
[] = { "self","pyCoords","pyPens","pyBrushes", NULL
};
8379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDC__DrawRectangleList",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
))
8382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC__DrawRectangleList. Expected _wxDC_p.");
8398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8399 _result
= (PyObject
*)wxDC__DrawRectangleList(_arg0
,_arg1
,_arg2
,_arg3
);
8401 wxPyEndAllowThreads(__tstate
);
8402 if (PyErr_Occurred()) return NULL
;
8404 _resultobj
= _result
;
8409 static PyObject
* wxDC__DrawEllipseList(wxDC
*self
,PyObject
* pyCoords
,PyObject
* pyPens
,PyObject
* pyBrushes
) {
8410 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
8412 static PyObject
*_wrap_wxDC__DrawEllipseList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8413 PyObject
* _resultobj
;
8419 PyObject
* _argo0
= 0;
8420 PyObject
* _obj1
= 0;
8421 PyObject
* _obj2
= 0;
8422 PyObject
* _obj3
= 0;
8423 char *_kwnames
[] = { "self","pyCoords","pyPens","pyBrushes", NULL
};
8426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDC__DrawEllipseList",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
))
8429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC__DrawEllipseList. Expected _wxDC_p.");
8445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8446 _result
= (PyObject
*)wxDC__DrawEllipseList(_arg0
,_arg1
,_arg2
,_arg3
);
8448 wxPyEndAllowThreads(__tstate
);
8449 if (PyErr_Occurred()) return NULL
;
8451 _resultobj
= _result
;
8456 static PyObject
* wxDC__DrawPolygonList(wxDC
*self
,PyObject
* pyCoords
,PyObject
* pyPens
,PyObject
* pyBrushes
) {
8457 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
8459 static PyObject
*_wrap_wxDC__DrawPolygonList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8460 PyObject
* _resultobj
;
8466 PyObject
* _argo0
= 0;
8467 PyObject
* _obj1
= 0;
8468 PyObject
* _obj2
= 0;
8469 PyObject
* _obj3
= 0;
8470 char *_kwnames
[] = { "self","pyCoords","pyPens","pyBrushes", NULL
};
8473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDC__DrawPolygonList",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
))
8476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC__DrawPolygonList. Expected _wxDC_p.");
8492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8493 _result
= (PyObject
*)wxDC__DrawPolygonList(_arg0
,_arg1
,_arg2
,_arg3
);
8495 wxPyEndAllowThreads(__tstate
);
8496 if (PyErr_Occurred()) return NULL
;
8498 _resultobj
= _result
;
8503 static PyObject
* wxDC__DrawTextList(wxDC
*self
,PyObject
* textList
,PyObject
* pyPoints
,PyObject
* foregroundList
,PyObject
* backgroundList
) {
8504 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
8506 static PyObject
*_wrap_wxDC__DrawTextList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8507 PyObject
* _resultobj
;
8514 PyObject
* _argo0
= 0;
8515 PyObject
* _obj1
= 0;
8516 PyObject
* _obj2
= 0;
8517 PyObject
* _obj3
= 0;
8518 PyObject
* _obj4
= 0;
8519 char *_kwnames
[] = { "self","textList","pyPoints","foregroundList","backgroundList", NULL
};
8522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOOO:wxDC__DrawTextList",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
,&_obj4
))
8525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC__DrawTextList. Expected _wxDC_p.");
8544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8545 _result
= (PyObject
*)wxDC__DrawTextList(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
8547 wxPyEndAllowThreads(__tstate
);
8548 if (PyErr_Occurred()) return NULL
;
8550 _resultobj
= _result
;
8555 static void *SwigwxMemoryDCTowxDC(void *ptr
) {
8558 src
= (wxMemoryDC
*) ptr
;
8559 dest
= (wxDC
*) src
;
8560 return (void *) dest
;
8563 static void *SwigwxMemoryDCTowxObject(void *ptr
) {
8566 src
= (wxMemoryDC
*) ptr
;
8567 dest
= (wxObject
*) src
;
8568 return (void *) dest
;
8571 #define new_wxMemoryDC() (new wxMemoryDC())
8572 static PyObject
*_wrap_new_wxMemoryDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8573 PyObject
* _resultobj
;
8574 wxMemoryDC
* _result
;
8575 char *_kwnames
[] = { NULL
};
8579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMemoryDC",_kwnames
))
8582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8583 _result
= (wxMemoryDC
*)new_wxMemoryDC();
8585 wxPyEndAllowThreads(__tstate
);
8586 if (PyErr_Occurred()) return NULL
;
8588 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
8589 _resultobj
= Py_BuildValue("s",_ptemp
);
8592 _resultobj
= Py_None
;
8597 #define wxMemoryDC_SelectObject(_swigobj,_swigarg0) (_swigobj->SelectObject(_swigarg0))
8598 static PyObject
*_wrap_wxMemoryDC_SelectObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8599 PyObject
* _resultobj
;
8602 PyObject
* _argo0
= 0;
8603 PyObject
* _argo1
= 0;
8604 char *_kwnames
[] = { "self","bitmap", NULL
};
8607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMemoryDC_SelectObject",_kwnames
,&_argo0
,&_argo1
))
8610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMemoryDC_p")) {
8612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDC_SelectObject. Expected _wxMemoryDC_p.");
8617 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
8618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMemoryDC_SelectObject. Expected _wxBitmap_p.");
8623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8624 wxMemoryDC_SelectObject(_arg0
,*_arg1
);
8626 wxPyEndAllowThreads(__tstate
);
8627 if (PyErr_Occurred()) return NULL
;
8628 } Py_INCREF(Py_None
);
8629 _resultobj
= Py_None
;
8633 static void *SwigwxBufferedDCTowxMemoryDC(void *ptr
) {
8636 src
= (wxBufferedDC
*) ptr
;
8637 dest
= (wxMemoryDC
*) src
;
8638 return (void *) dest
;
8641 static void *SwigwxBufferedDCTowxDC(void *ptr
) {
8644 src
= (wxBufferedDC
*) ptr
;
8645 dest
= (wxDC
*) src
;
8646 return (void *) dest
;
8649 static void *SwigwxBufferedDCTowxObject(void *ptr
) {
8652 src
= (wxBufferedDC
*) ptr
;
8653 dest
= (wxObject
*) src
;
8654 return (void *) dest
;
8657 #define new_wxBufferedDC(_swigarg0,_swigarg1) (new wxBufferedDC(_swigarg0,_swigarg1))
8658 static PyObject
*_wrap_new_wxBufferedDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8659 PyObject
* _resultobj
;
8660 wxBufferedDC
* _result
;
8663 PyObject
* _argo0
= 0;
8664 PyObject
* _argo1
= 0;
8665 char *_kwnames
[] = { "dc","buffer", NULL
};
8669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxBufferedDC",_kwnames
,&_argo0
,&_argo1
))
8672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBufferedDC. Expected _wxDC_p.");
8679 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
8680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxBufferedDC. Expected _wxBitmap_p.");
8685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8686 _result
= (wxBufferedDC
*)new_wxBufferedDC(_arg0
,*_arg1
);
8688 wxPyEndAllowThreads(__tstate
);
8689 if (PyErr_Occurred()) return NULL
;
8691 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBufferedDC_p");
8692 _resultobj
= Py_BuildValue("s",_ptemp
);
8695 _resultobj
= Py_None
;
8700 #define new_wxBufferedDCInternalBuffer(_swigarg0,_swigarg1) (new wxBufferedDC(_swigarg0,_swigarg1))
8701 static PyObject
*_wrap_new_wxBufferedDCInternalBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8702 PyObject
* _resultobj
;
8703 wxBufferedDC
* _result
;
8706 PyObject
* _argo0
= 0;
8708 PyObject
* _obj1
= 0;
8709 char *_kwnames
[] = { "dc","area", NULL
};
8713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxBufferedDCInternalBuffer",_kwnames
,&_argo0
,&_obj1
))
8716 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8717 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBufferedDCInternalBuffer. Expected _wxDC_p.");
8724 if (! wxSize_helper(_obj1
, &_arg1
))
8728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8729 _result
= (wxBufferedDC
*)new_wxBufferedDCInternalBuffer(_arg0
,*_arg1
);
8731 wxPyEndAllowThreads(__tstate
);
8732 if (PyErr_Occurred()) return NULL
;
8734 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBufferedDC_p");
8735 _resultobj
= Py_BuildValue("s",_ptemp
);
8738 _resultobj
= Py_None
;
8743 #define wxBufferedDC_UnMask(_swigobj) (_swigobj->UnMask())
8744 static PyObject
*_wrap_wxBufferedDC_UnMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8745 PyObject
* _resultobj
;
8746 wxBufferedDC
* _arg0
;
8747 PyObject
* _argo0
= 0;
8748 char *_kwnames
[] = { "self", NULL
};
8751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBufferedDC_UnMask",_kwnames
,&_argo0
))
8754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBufferedDC_p")) {
8756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBufferedDC_UnMask. Expected _wxBufferedDC_p.");
8761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8762 wxBufferedDC_UnMask(_arg0
);
8764 wxPyEndAllowThreads(__tstate
);
8765 if (PyErr_Occurred()) return NULL
;
8766 } Py_INCREF(Py_None
);
8767 _resultobj
= Py_None
;
8771 static void *SwigwxBufferedPaintDCTowxBufferedDC(void *ptr
) {
8772 wxBufferedPaintDC
*src
;
8774 src
= (wxBufferedPaintDC
*) ptr
;
8775 dest
= (wxBufferedDC
*) src
;
8776 return (void *) dest
;
8779 static void *SwigwxBufferedPaintDCTowxMemoryDC(void *ptr
) {
8780 wxBufferedPaintDC
*src
;
8782 src
= (wxBufferedPaintDC
*) ptr
;
8783 dest
= (wxMemoryDC
*) src
;
8784 return (void *) dest
;
8787 static void *SwigwxBufferedPaintDCTowxDC(void *ptr
) {
8788 wxBufferedPaintDC
*src
;
8790 src
= (wxBufferedPaintDC
*) ptr
;
8791 dest
= (wxDC
*) src
;
8792 return (void *) dest
;
8795 static void *SwigwxBufferedPaintDCTowxObject(void *ptr
) {
8796 wxBufferedPaintDC
*src
;
8798 src
= (wxBufferedPaintDC
*) ptr
;
8799 dest
= (wxObject
*) src
;
8800 return (void *) dest
;
8803 #define new_wxBufferedPaintDC(_swigarg0,_swigarg1) (new wxBufferedPaintDC(_swigarg0,_swigarg1))
8804 static PyObject
*_wrap_new_wxBufferedPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8805 PyObject
* _resultobj
;
8806 wxBufferedPaintDC
* _result
;
8808 wxBitmap
* _arg1
= (wxBitmap
*) &wxNullBitmap
;
8809 PyObject
* _argo0
= 0;
8810 PyObject
* _argo1
= 0;
8811 char *_kwnames
[] = { "window","buffer", NULL
};
8815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxBufferedPaintDC",_kwnames
,&_argo0
,&_argo1
))
8818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBufferedPaintDC. Expected _wxWindow_p.");
8825 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
8826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxBufferedPaintDC. Expected _wxBitmap_p.");
8831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8832 _result
= (wxBufferedPaintDC
*)new_wxBufferedPaintDC(_arg0
,*_arg1
);
8834 wxPyEndAllowThreads(__tstate
);
8835 if (PyErr_Occurred()) return NULL
;
8837 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBufferedPaintDC_p");
8838 _resultobj
= Py_BuildValue("s",_ptemp
);
8841 _resultobj
= Py_None
;
8846 static void *SwigwxScreenDCTowxDC(void *ptr
) {
8849 src
= (wxScreenDC
*) ptr
;
8850 dest
= (wxDC
*) src
;
8851 return (void *) dest
;
8854 static void *SwigwxScreenDCTowxObject(void *ptr
) {
8857 src
= (wxScreenDC
*) ptr
;
8858 dest
= (wxObject
*) src
;
8859 return (void *) dest
;
8862 #define new_wxScreenDC() (new wxScreenDC())
8863 static PyObject
*_wrap_new_wxScreenDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8864 PyObject
* _resultobj
;
8865 wxScreenDC
* _result
;
8866 char *_kwnames
[] = { NULL
};
8870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxScreenDC",_kwnames
))
8873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8874 _result
= (wxScreenDC
*)new_wxScreenDC();
8876 wxPyEndAllowThreads(__tstate
);
8877 if (PyErr_Occurred()) return NULL
;
8879 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScreenDC_p");
8880 _resultobj
= Py_BuildValue("s",_ptemp
);
8883 _resultobj
= Py_None
;
8888 #define wxScreenDC_StartDrawingOnTopWin(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
8889 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTopWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8890 PyObject
* _resultobj
;
8894 PyObject
* _argo0
= 0;
8895 PyObject
* _argo1
= 0;
8896 char *_kwnames
[] = { "self","window", NULL
};
8899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScreenDC_StartDrawingOnTopWin",_kwnames
,&_argo0
,&_argo1
))
8902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
8904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTopWin. Expected _wxScreenDC_p.");
8909 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8910 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScreenDC_StartDrawingOnTopWin. Expected _wxWindow_p.");
8916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8917 _result
= (bool )wxScreenDC_StartDrawingOnTopWin(_arg0
,_arg1
);
8919 wxPyEndAllowThreads(__tstate
);
8920 if (PyErr_Occurred()) return NULL
;
8921 } _resultobj
= Py_BuildValue("i",_result
);
8925 #define wxScreenDC_StartDrawingOnTop(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
8926 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8927 PyObject
* _resultobj
;
8930 wxRect
* _arg1
= (wxRect
*) NULL
;
8931 PyObject
* _argo0
= 0;
8933 PyObject
* _obj1
= 0;
8934 char *_kwnames
[] = { "self","rect", NULL
};
8937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxScreenDC_StartDrawingOnTop",_kwnames
,&_argo0
,&_obj1
))
8940 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8941 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
8942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTop. Expected _wxScreenDC_p.");
8949 if (! wxRect_helper(_obj1
, &_arg1
))
8953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8954 _result
= (bool )wxScreenDC_StartDrawingOnTop(_arg0
,_arg1
);
8956 wxPyEndAllowThreads(__tstate
);
8957 if (PyErr_Occurred()) return NULL
;
8958 } _resultobj
= Py_BuildValue("i",_result
);
8962 #define wxScreenDC_EndDrawingOnTop(_swigobj) (_swigobj->EndDrawingOnTop())
8963 static PyObject
*_wrap_wxScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8964 PyObject
* _resultobj
;
8967 PyObject
* _argo0
= 0;
8968 char *_kwnames
[] = { "self", NULL
};
8971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScreenDC_EndDrawingOnTop",_kwnames
,&_argo0
))
8974 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8975 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
8976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_EndDrawingOnTop. Expected _wxScreenDC_p.");
8981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8982 _result
= (bool )wxScreenDC_EndDrawingOnTop(_arg0
);
8984 wxPyEndAllowThreads(__tstate
);
8985 if (PyErr_Occurred()) return NULL
;
8986 } _resultobj
= Py_BuildValue("i",_result
);
8990 static void *SwigwxClientDCTowxDC(void *ptr
) {
8993 src
= (wxClientDC
*) ptr
;
8994 dest
= (wxDC
*) src
;
8995 return (void *) dest
;
8998 static void *SwigwxClientDCTowxObject(void *ptr
) {
9001 src
= (wxClientDC
*) ptr
;
9002 dest
= (wxObject
*) src
;
9003 return (void *) dest
;
9006 #define new_wxClientDC(_swigarg0) (new wxClientDC(_swigarg0))
9007 static PyObject
*_wrap_new_wxClientDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9008 PyObject
* _resultobj
;
9009 wxClientDC
* _result
;
9011 PyObject
* _argo0
= 0;
9012 char *_kwnames
[] = { "win", NULL
};
9016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxClientDC",_kwnames
,&_argo0
))
9019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxClientDC. Expected _wxWindow_p.");
9026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9027 _result
= (wxClientDC
*)new_wxClientDC(_arg0
);
9029 wxPyEndAllowThreads(__tstate
);
9030 if (PyErr_Occurred()) return NULL
;
9032 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxClientDC_p");
9033 _resultobj
= Py_BuildValue("s",_ptemp
);
9036 _resultobj
= Py_None
;
9041 static void *SwigwxPaintDCTowxDC(void *ptr
) {
9044 src
= (wxPaintDC
*) ptr
;
9045 dest
= (wxDC
*) src
;
9046 return (void *) dest
;
9049 static void *SwigwxPaintDCTowxObject(void *ptr
) {
9052 src
= (wxPaintDC
*) ptr
;
9053 dest
= (wxObject
*) src
;
9054 return (void *) dest
;
9057 #define new_wxPaintDC(_swigarg0) (new wxPaintDC(_swigarg0))
9058 static PyObject
*_wrap_new_wxPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9059 PyObject
* _resultobj
;
9060 wxPaintDC
* _result
;
9062 PyObject
* _argo0
= 0;
9063 char *_kwnames
[] = { "win", NULL
};
9067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPaintDC",_kwnames
,&_argo0
))
9070 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9071 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPaintDC. Expected _wxWindow_p.");
9077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9078 _result
= (wxPaintDC
*)new_wxPaintDC(_arg0
);
9080 wxPyEndAllowThreads(__tstate
);
9081 if (PyErr_Occurred()) return NULL
;
9083 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPaintDC_p");
9084 _resultobj
= Py_BuildValue("s",_ptemp
);
9087 _resultobj
= Py_None
;
9092 static void *SwigwxWindowDCTowxDC(void *ptr
) {
9095 src
= (wxWindowDC
*) ptr
;
9096 dest
= (wxDC
*) src
;
9097 return (void *) dest
;
9100 static void *SwigwxWindowDCTowxObject(void *ptr
) {
9103 src
= (wxWindowDC
*) ptr
;
9104 dest
= (wxObject
*) src
;
9105 return (void *) dest
;
9108 #define new_wxWindowDC(_swigarg0) (new wxWindowDC(_swigarg0))
9109 static PyObject
*_wrap_new_wxWindowDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9110 PyObject
* _resultobj
;
9111 wxWindowDC
* _result
;
9113 PyObject
* _argo0
= 0;
9114 char *_kwnames
[] = { "win", NULL
};
9118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxWindowDC",_kwnames
,&_argo0
))
9121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDC. Expected _wxWindow_p.");
9128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9129 _result
= (wxWindowDC
*)new_wxWindowDC(_arg0
);
9131 wxPyEndAllowThreads(__tstate
);
9132 if (PyErr_Occurred()) return NULL
;
9134 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDC_p");
9135 _resultobj
= Py_BuildValue("s",_ptemp
);
9138 _resultobj
= Py_None
;
9143 static void *SwigwxMirrorDCTowxDC(void *ptr
) {
9146 src
= (wxMirrorDC
*) ptr
;
9147 dest
= (wxDC
*) src
;
9148 return (void *) dest
;
9151 static void *SwigwxMirrorDCTowxObject(void *ptr
) {
9154 src
= (wxMirrorDC
*) ptr
;
9155 dest
= (wxObject
*) src
;
9156 return (void *) dest
;
9159 #define new_wxMirrorDC(_swigarg0,_swigarg1) (new wxMirrorDC(_swigarg0,_swigarg1))
9160 static PyObject
*_wrap_new_wxMirrorDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9161 PyObject
* _resultobj
;
9162 wxMirrorDC
* _result
;
9165 PyObject
* _argo0
= 0;
9167 char *_kwnames
[] = { "dc","mirror", NULL
};
9171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:new_wxMirrorDC",_kwnames
,&_argo0
,&tempbool1
))
9174 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMirrorDC. Expected _wxDC_p.");
9179 _arg1
= (bool ) tempbool1
;
9181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9182 _result
= (wxMirrorDC
*)new_wxMirrorDC(*_arg0
,_arg1
);
9184 wxPyEndAllowThreads(__tstate
);
9185 if (PyErr_Occurred()) return NULL
;
9187 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMirrorDC_p");
9188 _resultobj
= Py_BuildValue("s",_ptemp
);
9191 _resultobj
= Py_None
;
9196 static void *SwigwxPaletteTowxGDIObject(void *ptr
) {
9199 src
= (wxPalette
*) ptr
;
9200 dest
= (wxGDIObject
*) src
;
9201 return (void *) dest
;
9204 static void *SwigwxPaletteTowxObject(void *ptr
) {
9207 src
= (wxPalette
*) ptr
;
9208 dest
= (wxObject
*) src
;
9209 return (void *) dest
;
9212 #define new_wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9213 static PyObject
*_wrap_new_wxPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9214 PyObject
* _resultobj
;
9215 wxPalette
* _result
;
9220 PyObject
* _obj1
= 0;
9221 PyObject
* _obj2
= 0;
9222 PyObject
* _obj3
= 0;
9223 char *_kwnames
[] = { "choices","choices","choices", NULL
};
9227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:new_wxPalette",_kwnames
,&_obj1
,&_obj2
,&_obj3
))
9230 _arg1
= byte_LIST_helper(_obj1
);
9231 if (_arg1
== NULL
) {
9236 _arg2
= byte_LIST_helper(_obj2
);
9237 if (_arg2
== NULL
) {
9243 _arg3
= byte_LIST_helper(_obj3
);
9244 if (_arg3
== NULL
) {
9250 _arg0
= PyList_Size(_obj1
);
9257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9258 _result
= (wxPalette
*)new_wxPalette(_arg0
,_arg1
,_arg2
,_arg3
);
9260 wxPyEndAllowThreads(__tstate
);
9261 if (PyErr_Occurred()) return NULL
;
9263 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
9264 _resultobj
= Py_BuildValue("s",_ptemp
);
9267 _resultobj
= Py_None
;
9281 #define delete_wxPalette(_swigobj) (delete _swigobj)
9282 static PyObject
*_wrap_delete_wxPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9283 PyObject
* _resultobj
;
9285 PyObject
* _argo0
= 0;
9286 char *_kwnames
[] = { "self", NULL
};
9289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPalette",_kwnames
,&_argo0
))
9292 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9293 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
9294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPalette. Expected _wxPalette_p.");
9299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9300 delete_wxPalette(_arg0
);
9302 wxPyEndAllowThreads(__tstate
);
9303 if (PyErr_Occurred()) return NULL
;
9304 } Py_INCREF(Py_None
);
9305 _resultobj
= Py_None
;
9309 #define wxPalette_GetPixel(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetPixel(_swigarg0,_swigarg1,_swigarg2))
9310 static PyObject
*_wrap_wxPalette_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9311 PyObject
* _resultobj
;
9317 PyObject
* _argo0
= 0;
9318 char *_kwnames
[] = { "self","red","green","blue", NULL
};
9321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Obbb:wxPalette_GetPixel",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
9324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
9326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetPixel. Expected _wxPalette_p.");
9331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9332 _result
= (int )wxPalette_GetPixel(_arg0
,_arg1
,_arg2
,_arg3
);
9334 wxPyEndAllowThreads(__tstate
);
9335 if (PyErr_Occurred()) return NULL
;
9336 } _resultobj
= Py_BuildValue("i",_result
);
9340 #define wxPalette_GetRGB(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetRGB(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9341 static PyObject
*_wrap_wxPalette_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9342 PyObject
* _resultobj
;
9352 PyObject
* _argo0
= 0;
9353 char *_kwnames
[] = { "self","pixel", NULL
};
9357 _arg2
= (byte
*)&temp
;
9360 _arg3
= (byte
*)&temp0
;
9363 _arg4
= (byte
*)&temp1
;
9365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPalette_GetRGB",_kwnames
,&_argo0
,&_arg1
))
9368 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9369 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
9370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetRGB. Expected _wxPalette_p.");
9375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9376 _result
= (bool )wxPalette_GetRGB(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
9378 wxPyEndAllowThreads(__tstate
);
9379 if (PyErr_Occurred()) return NULL
;
9380 } _resultobj
= Py_BuildValue("i",_result
);
9383 o
= PyInt_FromLong((long) (*_arg2
));
9384 _resultobj
= t_output_helper(_resultobj
, o
);
9388 o
= PyInt_FromLong((long) (*_arg3
));
9389 _resultobj
= t_output_helper(_resultobj
, o
);
9393 o
= PyInt_FromLong((long) (*_arg4
));
9394 _resultobj
= t_output_helper(_resultobj
, o
);
9399 #define wxPalette_Ok(_swigobj) (_swigobj->Ok())
9400 static PyObject
*_wrap_wxPalette_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9401 PyObject
* _resultobj
;
9404 PyObject
* _argo0
= 0;
9405 char *_kwnames
[] = { "self", NULL
};
9408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPalette_Ok",_kwnames
,&_argo0
))
9411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
9413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_Ok. Expected _wxPalette_p.");
9418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9419 _result
= (bool )wxPalette_Ok(_arg0
);
9421 wxPyEndAllowThreads(__tstate
);
9422 if (PyErr_Occurred()) return NULL
;
9423 } _resultobj
= Py_BuildValue("i",_result
);
9427 static void *SwigwxImageListTowxObject(void *ptr
) {
9430 src
= (wxImageList
*) ptr
;
9431 dest
= (wxObject
*) src
;
9432 return (void *) dest
;
9435 #define new_wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9436 static PyObject
*_wrap_new_wxImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9437 PyObject
* _resultobj
;
9438 wxImageList
* _result
;
9441 int _arg2
= (int ) TRUE
;
9442 int _arg3
= (int ) 1;
9443 char *_kwnames
[] = { "width","height","mask","initialCount", NULL
};
9447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ii|ii:new_wxImageList",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
9450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9451 _result
= (wxImageList
*)new_wxImageList(_arg0
,_arg1
,_arg2
,_arg3
);
9453 wxPyEndAllowThreads(__tstate
);
9454 if (PyErr_Occurred()) return NULL
;
9456 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
9457 _resultobj
= Py_BuildValue("s",_ptemp
);
9460 _resultobj
= Py_None
;
9465 #define delete_wxImageList(_swigobj) (delete _swigobj)
9466 static PyObject
*_wrap_delete_wxImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9467 PyObject
* _resultobj
;
9468 wxImageList
* _arg0
;
9469 PyObject
* _argo0
= 0;
9470 char *_kwnames
[] = { "self", NULL
};
9473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxImageList",_kwnames
,&_argo0
))
9476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
9478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxImageList. Expected _wxImageList_p.");
9483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9484 delete_wxImageList(_arg0
);
9486 wxPyEndAllowThreads(__tstate
);
9487 if (PyErr_Occurred()) return NULL
;
9488 } Py_INCREF(Py_None
);
9489 _resultobj
= Py_None
;
9493 #define wxImageList_Add(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
9494 static PyObject
*_wrap_wxImageList_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9495 PyObject
* _resultobj
;
9497 wxImageList
* _arg0
;
9499 wxBitmap
* _arg2
= (wxBitmap
*) &wxNullBitmap
;
9500 PyObject
* _argo0
= 0;
9501 PyObject
* _argo1
= 0;
9502 PyObject
* _argo2
= 0;
9503 char *_kwnames
[] = { "self","bitmap","mask", NULL
};
9506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxImageList_Add",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
9509 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9510 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
9511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Add. Expected _wxImageList_p.");
9516 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
9517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_Add. Expected _wxBitmap_p.");
9522 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
9523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Add. Expected _wxBitmap_p.");
9528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9529 _result
= (int )wxImageList_Add(_arg0
,*_arg1
,*_arg2
);
9531 wxPyEndAllowThreads(__tstate
);
9532 if (PyErr_Occurred()) return NULL
;
9533 } _resultobj
= Py_BuildValue("i",_result
);
9537 #define wxImageList_AddWithColourMask(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
9538 static PyObject
*_wrap_wxImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9539 PyObject
* _resultobj
;
9541 wxImageList
* _arg0
;
9544 PyObject
* _argo0
= 0;
9545 PyObject
* _argo1
= 0;
9547 PyObject
* _obj2
= 0;
9548 char *_kwnames
[] = { "self","bitmap","maskColour", NULL
};
9551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxImageList_AddWithColourMask",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
9554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
9556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_AddWithColourMask. Expected _wxImageList_p.");
9561 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
9562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_AddWithColourMask. Expected _wxBitmap_p.");
9568 if (! wxColour_helper(_obj2
, &_arg2
))
9572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9573 _result
= (int )wxImageList_AddWithColourMask(_arg0
,*_arg1
,*_arg2
);
9575 wxPyEndAllowThreads(__tstate
);
9576 if (PyErr_Occurred()) return NULL
;
9577 } _resultobj
= Py_BuildValue("i",_result
);
9581 #define wxImageList_AddIcon(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
9582 static PyObject
*_wrap_wxImageList_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9583 PyObject
* _resultobj
;
9585 wxImageList
* _arg0
;
9587 PyObject
* _argo0
= 0;
9588 PyObject
* _argo1
= 0;
9589 char *_kwnames
[] = { "self","icon", NULL
};
9592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxImageList_AddIcon",_kwnames
,&_argo0
,&_argo1
))
9595 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9596 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
9597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_AddIcon. Expected _wxImageList_p.");
9602 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
9603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_AddIcon. Expected _wxIcon_p.");
9608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9609 _result
= (int )wxImageList_AddIcon(_arg0
,*_arg1
);
9611 wxPyEndAllowThreads(__tstate
);
9612 if (PyErr_Occurred()) return NULL
;
9613 } _resultobj
= Py_BuildValue("i",_result
);
9617 #define wxImageList_Replace(_swigobj,_swigarg0,_swigarg1) (_swigobj->Replace(_swigarg0,_swigarg1))
9618 static PyObject
*_wrap_wxImageList_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9619 PyObject
* _resultobj
;
9621 wxImageList
* _arg0
;
9624 PyObject
* _argo0
= 0;
9625 PyObject
* _argo2
= 0;
9626 char *_kwnames
[] = { "self","index","bitmap", NULL
};
9629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxImageList_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
9632 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9633 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
9634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Replace. Expected _wxImageList_p.");
9639 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
9640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Replace. Expected _wxBitmap_p.");
9645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9646 _result
= (bool )wxImageList_Replace(_arg0
,_arg1
,*_arg2
);
9648 wxPyEndAllowThreads(__tstate
);
9649 if (PyErr_Occurred()) return NULL
;
9650 } _resultobj
= Py_BuildValue("i",_result
);
9654 #define wxImageList_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
9655 static PyObject
*_wrap_wxImageList_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9656 PyObject
* _resultobj
;
9658 wxImageList
* _arg0
;
9663 int _arg5
= (int ) (wxIMAGELIST_DRAW_NORMAL
);
9664 bool _arg6
= (bool ) FALSE
;
9665 PyObject
* _argo0
= 0;
9666 PyObject
* _argo2
= 0;
9667 int tempbool6
= (int) FALSE
;
9668 char *_kwnames
[] = { "self","index","dc","x","x","flags","solidBackground", NULL
};
9671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOii|ii:wxImageList_Draw",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
9674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
9676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Draw. Expected _wxImageList_p.");
9681 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDC_p")) {
9682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Draw. Expected _wxDC_p.");
9686 _arg6
= (bool ) tempbool6
;
9688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9689 _result
= (bool )wxImageList_Draw(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
9691 wxPyEndAllowThreads(__tstate
);
9692 if (PyErr_Occurred()) return NULL
;
9693 } _resultobj
= Py_BuildValue("i",_result
);
9697 #define wxImageList_GetImageCount(_swigobj) (_swigobj->GetImageCount())
9698 static PyObject
*_wrap_wxImageList_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9699 PyObject
* _resultobj
;
9701 wxImageList
* _arg0
;
9702 PyObject
* _argo0
= 0;
9703 char *_kwnames
[] = { "self", NULL
};
9706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImageList_GetImageCount",_kwnames
,&_argo0
))
9709 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9710 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
9711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_GetImageCount. Expected _wxImageList_p.");
9716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9717 _result
= (int )wxImageList_GetImageCount(_arg0
);
9719 wxPyEndAllowThreads(__tstate
);
9720 if (PyErr_Occurred()) return NULL
;
9721 } _resultobj
= Py_BuildValue("i",_result
);
9725 #define wxImageList_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
9726 static PyObject
*_wrap_wxImageList_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9727 PyObject
* _resultobj
;
9729 wxImageList
* _arg0
;
9731 PyObject
* _argo0
= 0;
9732 char *_kwnames
[] = { "self","index", NULL
};
9735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxImageList_Remove",_kwnames
,&_argo0
,&_arg1
))
9738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
9740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Remove. Expected _wxImageList_p.");
9745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9746 _result
= (bool )wxImageList_Remove(_arg0
,_arg1
);
9748 wxPyEndAllowThreads(__tstate
);
9749 if (PyErr_Occurred()) return NULL
;
9750 } _resultobj
= Py_BuildValue("i",_result
);
9754 #define wxImageList_RemoveAll(_swigobj) (_swigobj->RemoveAll())
9755 static PyObject
*_wrap_wxImageList_RemoveAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9756 PyObject
* _resultobj
;
9758 wxImageList
* _arg0
;
9759 PyObject
* _argo0
= 0;
9760 char *_kwnames
[] = { "self", NULL
};
9763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImageList_RemoveAll",_kwnames
,&_argo0
))
9766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
9768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_RemoveAll. Expected _wxImageList_p.");
9773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9774 _result
= (bool )wxImageList_RemoveAll(_arg0
);
9776 wxPyEndAllowThreads(__tstate
);
9777 if (PyErr_Occurred()) return NULL
;
9778 } _resultobj
= Py_BuildValue("i",_result
);
9782 #define wxImageList_GetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetSize(_swigarg0,_swigarg1,_swigarg2))
9783 static PyObject
*_wrap_wxImageList_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9784 PyObject
* _resultobj
;
9785 wxImageList
* _arg0
;
9791 PyObject
* _argo0
= 0;
9792 char *_kwnames
[] = { "self","index", NULL
};
9801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxImageList_GetSize",_kwnames
,&_argo0
,&_arg1
))
9804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
9806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_GetSize. Expected _wxImageList_p.");
9811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9812 wxImageList_GetSize(_arg0
,_arg1
,*_arg2
,*_arg3
);
9814 wxPyEndAllowThreads(__tstate
);
9815 if (PyErr_Occurred()) return NULL
;
9816 } Py_INCREF(Py_None
);
9817 _resultobj
= Py_None
;
9820 o
= PyInt_FromLong((long) (*_arg2
));
9821 _resultobj
= t_output_helper(_resultobj
, o
);
9825 o
= PyInt_FromLong((long) (*_arg3
));
9826 _resultobj
= t_output_helper(_resultobj
, o
);
9831 static void *SwigwxRegionTowxGDIObject(void *ptr
) {
9834 src
= (wxRegion
*) ptr
;
9835 dest
= (wxGDIObject
*) src
;
9836 return (void *) dest
;
9839 static void *SwigwxRegionTowxObject(void *ptr
) {
9842 src
= (wxRegion
*) ptr
;
9843 dest
= (wxObject
*) src
;
9844 return (void *) dest
;
9847 #define new_wxRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9848 static PyObject
*_wrap_new_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9849 PyObject
* _resultobj
;
9851 wxCoord _arg0
= (wxCoord
) 0;
9852 wxCoord _arg1
= (wxCoord
) 0;
9853 wxCoord _arg2
= (wxCoord
) 0;
9854 wxCoord _arg3
= (wxCoord
) 0;
9855 char *_kwnames
[] = { "x","y","width","height", NULL
};
9859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxRegion",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
9862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9863 _result
= (wxRegion
*)new_wxRegion(_arg0
,_arg1
,_arg2
,_arg3
);
9865 wxPyEndAllowThreads(__tstate
);
9866 if (PyErr_Occurred()) return NULL
;
9868 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegion_p");
9869 _resultobj
= Py_BuildValue("s",_ptemp
);
9872 _resultobj
= Py_None
;
9877 #define new_wxRegionFromPoints(_swigarg0,_swigarg1,_swigarg2) (new wxRegion(_swigarg0,_swigarg1,_swigarg2))
9878 static PyObject
*_wrap_new_wxRegionFromPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9879 PyObject
* _resultobj
;
9883 int _arg2
= (int ) wxWINDING_RULE
;
9885 PyObject
* _obj1
= 0;
9886 char *_kwnames
[] = { "points","fillStyle", NULL
};
9890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxRegionFromPoints",_kwnames
,&_obj1
,&_arg2
))
9894 _arg1
= wxPoint_LIST_helper(_obj1
, &NPOINTS
);
9895 if (_arg1
== NULL
) {
9903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9904 _result
= (wxRegion
*)new_wxRegionFromPoints(_arg0
,_arg1
,_arg2
);
9906 wxPyEndAllowThreads(__tstate
);
9907 if (PyErr_Occurred()) return NULL
;
9909 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegion_p");
9910 _resultobj
= Py_BuildValue("s",_ptemp
);
9913 _resultobj
= Py_None
;
9921 #define new_wxRegionFromBitmap(_swigarg0,_swigarg1,_swigarg2) (new wxRegion(_swigarg0,_swigarg1,_swigarg2))
9922 static PyObject
*_wrap_new_wxRegionFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9923 PyObject
* _resultobj
;
9926 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
9927 int _arg2
= (int ) 0;
9928 PyObject
* _argo0
= 0;
9930 PyObject
* _obj1
= 0;
9931 char *_kwnames
[] = { "bmp","transColour","tolerance", NULL
};
9935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|Oi:new_wxRegionFromBitmap",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
9938 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
9939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRegionFromBitmap. Expected _wxBitmap_p.");
9946 if (! wxColour_helper(_obj1
, &_arg1
))
9950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9951 _result
= (wxRegion
*)new_wxRegionFromBitmap(*_arg0
,*_arg1
,_arg2
);
9953 wxPyEndAllowThreads(__tstate
);
9954 if (PyErr_Occurred()) return NULL
;
9956 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegion_p");
9957 _resultobj
= Py_BuildValue("s",_ptemp
);
9960 _resultobj
= Py_None
;
9965 #define delete_wxRegion(_swigobj) (delete _swigobj)
9966 static PyObject
*_wrap_delete_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9967 PyObject
* _resultobj
;
9969 PyObject
* _argo0
= 0;
9970 char *_kwnames
[] = { "self", NULL
};
9973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegion",_kwnames
,&_argo0
))
9976 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9977 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegion. Expected _wxRegion_p.");
9983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9984 delete_wxRegion(_arg0
);
9986 wxPyEndAllowThreads(__tstate
);
9987 if (PyErr_Occurred()) return NULL
;
9988 } Py_INCREF(Py_None
);
9989 _resultobj
= Py_None
;
9993 #define wxRegion_Clear(_swigobj) (_swigobj->Clear())
9994 static PyObject
*_wrap_wxRegion_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9995 PyObject
* _resultobj
;
9997 PyObject
* _argo0
= 0;
9998 char *_kwnames
[] = { "self", NULL
};
10001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_Clear",_kwnames
,&_argo0
))
10004 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10005 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Clear. Expected _wxRegion_p.");
10011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10012 wxRegion_Clear(_arg0
);
10014 wxPyEndAllowThreads(__tstate
);
10015 if (PyErr_Occurred()) return NULL
;
10016 } Py_INCREF(Py_None
);
10017 _resultobj
= Py_None
;
10021 #define wxRegion_Offset(_swigobj,_swigarg0,_swigarg1) (_swigobj->Offset(_swigarg0,_swigarg1))
10022 static PyObject
*_wrap_wxRegion_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10023 PyObject
* _resultobj
;
10028 PyObject
* _argo0
= 0;
10029 char *_kwnames
[] = { "self","x","y", NULL
};
10032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRegion_Offset",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10035 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10036 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Offset. Expected _wxRegion_p.");
10042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10043 _result
= (bool )wxRegion_Offset(_arg0
,_arg1
,_arg2
);
10045 wxPyEndAllowThreads(__tstate
);
10046 if (PyErr_Occurred()) return NULL
;
10047 } _resultobj
= Py_BuildValue("i",_result
);
10051 #define wxRegion_Contains(_swigobj,_swigarg0,_swigarg1) (_swigobj->Contains(_swigarg0,_swigarg1))
10052 static PyObject
*_wrap_wxRegion_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10053 PyObject
* _resultobj
;
10054 wxRegionContain _result
;
10058 PyObject
* _argo0
= 0;
10059 char *_kwnames
[] = { "self","x","y", NULL
};
10062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRegion_Contains",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Contains. Expected _wxRegion_p.");
10072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10073 _result
= (wxRegionContain
)wxRegion_Contains(_arg0
,_arg1
,_arg2
);
10075 wxPyEndAllowThreads(__tstate
);
10076 if (PyErr_Occurred()) return NULL
;
10077 } _resultobj
= Py_BuildValue("i",_result
);
10081 #define wxRegion_ContainsPoint(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
10082 static PyObject
*_wrap_wxRegion_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10083 PyObject
* _resultobj
;
10084 wxRegionContain _result
;
10087 PyObject
* _argo0
= 0;
10089 PyObject
* _obj1
= 0;
10090 char *_kwnames
[] = { "self","pt", NULL
};
10093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsPoint",_kwnames
,&_argo0
,&_obj1
))
10096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsPoint. Expected _wxRegion_p.");
10104 if (! wxPoint_helper(_obj1
, &_arg1
))
10108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10109 _result
= (wxRegionContain
)wxRegion_ContainsPoint(_arg0
,*_arg1
);
10111 wxPyEndAllowThreads(__tstate
);
10112 if (PyErr_Occurred()) return NULL
;
10113 } _resultobj
= Py_BuildValue("i",_result
);
10117 #define wxRegion_ContainsRect(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
10118 static PyObject
*_wrap_wxRegion_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10119 PyObject
* _resultobj
;
10120 wxRegionContain _result
;
10123 PyObject
* _argo0
= 0;
10125 PyObject
* _obj1
= 0;
10126 char *_kwnames
[] = { "self","rect", NULL
};
10129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsRect",_kwnames
,&_argo0
,&_obj1
))
10132 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10133 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRect. Expected _wxRegion_p.");
10140 if (! wxRect_helper(_obj1
, &_arg1
))
10144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10145 _result
= (wxRegionContain
)wxRegion_ContainsRect(_arg0
,*_arg1
);
10147 wxPyEndAllowThreads(__tstate
);
10148 if (PyErr_Occurred()) return NULL
;
10149 } _resultobj
= Py_BuildValue("i",_result
);
10153 #define wxRegion_ContainsRectDim(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Contains(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10154 static PyObject
*_wrap_wxRegion_ContainsRectDim(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10155 PyObject
* _resultobj
;
10156 wxRegionContain _result
;
10162 PyObject
* _argo0
= 0;
10163 char *_kwnames
[] = { "self","x","y","w","h", NULL
};
10166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxRegion_ContainsRectDim",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
10169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRectDim. Expected _wxRegion_p.");
10176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10177 _result
= (wxRegionContain
)wxRegion_ContainsRectDim(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
10179 wxPyEndAllowThreads(__tstate
);
10180 if (PyErr_Occurred()) return NULL
;
10181 } _resultobj
= Py_BuildValue("i",_result
);
10185 #define wxRegion_GetBox(_swigobj) (_swigobj->GetBox())
10186 static PyObject
*_wrap_wxRegion_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10187 PyObject
* _resultobj
;
10190 PyObject
* _argo0
= 0;
10191 char *_kwnames
[] = { "self", NULL
};
10195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_GetBox",_kwnames
,&_argo0
))
10198 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10199 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_GetBox. Expected _wxRegion_p.");
10205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10206 _result
= new wxRect (wxRegion_GetBox(_arg0
));
10208 wxPyEndAllowThreads(__tstate
);
10209 if (PyErr_Occurred()) return NULL
;
10210 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
10211 _resultobj
= Py_BuildValue("s",_ptemp
);
10215 #define wxRegion_Intersect(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Intersect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10216 static PyObject
*_wrap_wxRegion_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10217 PyObject
* _resultobj
;
10224 PyObject
* _argo0
= 0;
10225 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
10228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxRegion_Intersect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
10231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Intersect. Expected _wxRegion_p.");
10238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10239 _result
= (bool )wxRegion_Intersect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
10241 wxPyEndAllowThreads(__tstate
);
10242 if (PyErr_Occurred()) return NULL
;
10243 } _resultobj
= Py_BuildValue("i",_result
);
10247 #define wxRegion_IntersectRect(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
10248 static PyObject
*_wrap_wxRegion_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10249 PyObject
* _resultobj
;
10253 PyObject
* _argo0
= 0;
10255 PyObject
* _obj1
= 0;
10256 char *_kwnames
[] = { "self","rect", NULL
};
10259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_IntersectRect",_kwnames
,&_argo0
,&_obj1
))
10262 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10263 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IntersectRect. Expected _wxRegion_p.");
10270 if (! wxRect_helper(_obj1
, &_arg1
))
10274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10275 _result
= (bool )wxRegion_IntersectRect(_arg0
,*_arg1
);
10277 wxPyEndAllowThreads(__tstate
);
10278 if (PyErr_Occurred()) return NULL
;
10279 } _resultobj
= Py_BuildValue("i",_result
);
10283 #define wxRegion_IntersectRegion(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
10284 static PyObject
*_wrap_wxRegion_IntersectRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10285 PyObject
* _resultobj
;
10289 PyObject
* _argo0
= 0;
10290 PyObject
* _argo1
= 0;
10291 char *_kwnames
[] = { "self","region", NULL
};
10294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_IntersectRegion",_kwnames
,&_argo0
,&_argo1
))
10297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
10304 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
10305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
10310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10311 _result
= (bool )wxRegion_IntersectRegion(_arg0
,*_arg1
);
10313 wxPyEndAllowThreads(__tstate
);
10314 if (PyErr_Occurred()) return NULL
;
10315 } _resultobj
= Py_BuildValue("i",_result
);
10319 #define wxRegion_IsEmpty(_swigobj) (_swigobj->IsEmpty())
10320 static PyObject
*_wrap_wxRegion_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10321 PyObject
* _resultobj
;
10324 PyObject
* _argo0
= 0;
10325 char *_kwnames
[] = { "self", NULL
};
10328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_IsEmpty",_kwnames
,&_argo0
))
10331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IsEmpty. Expected _wxRegion_p.");
10338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10339 _result
= (bool )wxRegion_IsEmpty(_arg0
);
10341 wxPyEndAllowThreads(__tstate
);
10342 if (PyErr_Occurred()) return NULL
;
10343 } _resultobj
= Py_BuildValue("i",_result
);
10347 #define wxRegion_Union(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Union(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10348 static PyObject
*_wrap_wxRegion_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10349 PyObject
* _resultobj
;
10356 PyObject
* _argo0
= 0;
10357 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
10360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxRegion_Union",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
10363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Union. Expected _wxRegion_p.");
10370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10371 _result
= (bool )wxRegion_Union(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
10373 wxPyEndAllowThreads(__tstate
);
10374 if (PyErr_Occurred()) return NULL
;
10375 } _resultobj
= Py_BuildValue("i",_result
);
10379 #define wxRegion_UnionRect(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
10380 static PyObject
*_wrap_wxRegion_UnionRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10381 PyObject
* _resultobj
;
10385 PyObject
* _argo0
= 0;
10387 PyObject
* _obj1
= 0;
10388 char *_kwnames
[] = { "self","rect", NULL
};
10391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_UnionRect",_kwnames
,&_argo0
,&_obj1
))
10394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_UnionRect. Expected _wxRegion_p.");
10402 if (! wxRect_helper(_obj1
, &_arg1
))
10406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10407 _result
= (bool )wxRegion_UnionRect(_arg0
,*_arg1
);
10409 wxPyEndAllowThreads(__tstate
);
10410 if (PyErr_Occurred()) return NULL
;
10411 } _resultobj
= Py_BuildValue("i",_result
);
10415 #define wxRegion_UnionRegion(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
10416 static PyObject
*_wrap_wxRegion_UnionRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10417 PyObject
* _resultobj
;
10421 PyObject
* _argo0
= 0;
10422 PyObject
* _argo1
= 0;
10423 char *_kwnames
[] = { "self","region", NULL
};
10426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_UnionRegion",_kwnames
,&_argo0
,&_argo1
))
10429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_UnionRegion. Expected _wxRegion_p.");
10436 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
10437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_UnionRegion. Expected _wxRegion_p.");
10442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10443 _result
= (bool )wxRegion_UnionRegion(_arg0
,*_arg1
);
10445 wxPyEndAllowThreads(__tstate
);
10446 if (PyErr_Occurred()) return NULL
;
10447 } _resultobj
= Py_BuildValue("i",_result
);
10451 #define wxRegion_Subtract(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Subtract(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10452 static PyObject
*_wrap_wxRegion_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10453 PyObject
* _resultobj
;
10460 PyObject
* _argo0
= 0;
10461 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
10464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxRegion_Subtract",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
10467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Subtract. Expected _wxRegion_p.");
10474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10475 _result
= (bool )wxRegion_Subtract(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
10477 wxPyEndAllowThreads(__tstate
);
10478 if (PyErr_Occurred()) return NULL
;
10479 } _resultobj
= Py_BuildValue("i",_result
);
10483 #define wxRegion_SubtractRect(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
10484 static PyObject
*_wrap_wxRegion_SubtractRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10485 PyObject
* _resultobj
;
10489 PyObject
* _argo0
= 0;
10491 PyObject
* _obj1
= 0;
10492 char *_kwnames
[] = { "self","rect", NULL
};
10495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_SubtractRect",_kwnames
,&_argo0
,&_obj1
))
10498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_SubtractRect. Expected _wxRegion_p.");
10506 if (! wxRect_helper(_obj1
, &_arg1
))
10510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10511 _result
= (bool )wxRegion_SubtractRect(_arg0
,*_arg1
);
10513 wxPyEndAllowThreads(__tstate
);
10514 if (PyErr_Occurred()) return NULL
;
10515 } _resultobj
= Py_BuildValue("i",_result
);
10519 #define wxRegion_SubtractRegion(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
10520 static PyObject
*_wrap_wxRegion_SubtractRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10521 PyObject
* _resultobj
;
10525 PyObject
* _argo0
= 0;
10526 PyObject
* _argo1
= 0;
10527 char *_kwnames
[] = { "self","region", NULL
};
10530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_SubtractRegion",_kwnames
,&_argo0
,&_argo1
))
10533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
10540 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
10541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
10546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10547 _result
= (bool )wxRegion_SubtractRegion(_arg0
,*_arg1
);
10549 wxPyEndAllowThreads(__tstate
);
10550 if (PyErr_Occurred()) return NULL
;
10551 } _resultobj
= Py_BuildValue("i",_result
);
10555 #define wxRegion_Xor(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Xor(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10556 static PyObject
*_wrap_wxRegion_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10557 PyObject
* _resultobj
;
10564 PyObject
* _argo0
= 0;
10565 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
10568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxRegion_Xor",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
10571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Xor. Expected _wxRegion_p.");
10578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10579 _result
= (bool )wxRegion_Xor(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
10581 wxPyEndAllowThreads(__tstate
);
10582 if (PyErr_Occurred()) return NULL
;
10583 } _resultobj
= Py_BuildValue("i",_result
);
10587 #define wxRegion_XorRect(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
10588 static PyObject
*_wrap_wxRegion_XorRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10589 PyObject
* _resultobj
;
10593 PyObject
* _argo0
= 0;
10595 PyObject
* _obj1
= 0;
10596 char *_kwnames
[] = { "self","rect", NULL
};
10599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_XorRect",_kwnames
,&_argo0
,&_obj1
))
10602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_XorRect. Expected _wxRegion_p.");
10610 if (! wxRect_helper(_obj1
, &_arg1
))
10614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10615 _result
= (bool )wxRegion_XorRect(_arg0
,*_arg1
);
10617 wxPyEndAllowThreads(__tstate
);
10618 if (PyErr_Occurred()) return NULL
;
10619 } _resultobj
= Py_BuildValue("i",_result
);
10623 #define wxRegion_XorRegion(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
10624 static PyObject
*_wrap_wxRegion_XorRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10625 PyObject
* _resultobj
;
10629 PyObject
* _argo0
= 0;
10630 PyObject
* _argo1
= 0;
10631 char *_kwnames
[] = { "self","region", NULL
};
10634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_XorRegion",_kwnames
,&_argo0
,&_argo1
))
10637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_XorRegion. Expected _wxRegion_p.");
10644 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
10645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_XorRegion. Expected _wxRegion_p.");
10650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10651 _result
= (bool )wxRegion_XorRegion(_arg0
,*_arg1
);
10653 wxPyEndAllowThreads(__tstate
);
10654 if (PyErr_Occurred()) return NULL
;
10655 } _resultobj
= Py_BuildValue("i",_result
);
10659 #define wxRegion_ConvertToBitmap(_swigobj) (_swigobj->ConvertToBitmap())
10660 static PyObject
*_wrap_wxRegion_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10661 PyObject
* _resultobj
;
10662 wxBitmap
* _result
;
10664 PyObject
* _argo0
= 0;
10665 char *_kwnames
[] = { "self", NULL
};
10669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_ConvertToBitmap",_kwnames
,&_argo0
))
10672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ConvertToBitmap. Expected _wxRegion_p.");
10679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10680 _result
= new wxBitmap (wxRegion_ConvertToBitmap(_arg0
));
10682 wxPyEndAllowThreads(__tstate
);
10683 if (PyErr_Occurred()) return NULL
;
10684 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
10685 _resultobj
= Py_BuildValue("s",_ptemp
);
10689 #define wxRegion_UnionBitmap(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Union(_swigarg0,_swigarg1,_swigarg2))
10690 static PyObject
*_wrap_wxRegion_UnionBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10691 PyObject
* _resultobj
;
10695 wxColour
* _arg2
= (wxColour
*) &wxNullColour
;
10696 int _arg3
= (int ) 0;
10697 PyObject
* _argo0
= 0;
10698 PyObject
* _argo1
= 0;
10700 PyObject
* _obj2
= 0;
10701 char *_kwnames
[] = { "self","bmp","transColour","tolerance", NULL
};
10704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|Oi:wxRegion_UnionBitmap",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
))
10707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_UnionBitmap. Expected _wxRegion_p.");
10714 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
10715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_UnionBitmap. Expected _wxBitmap_p.");
10722 if (! wxColour_helper(_obj2
, &_arg2
))
10726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10727 _result
= (bool )wxRegion_UnionBitmap(_arg0
,*_arg1
,*_arg2
,_arg3
);
10729 wxPyEndAllowThreads(__tstate
);
10730 if (PyErr_Occurred()) return NULL
;
10731 } _resultobj
= Py_BuildValue("i",_result
);
10735 static void *SwigwxRegionIteratorTowxObject(void *ptr
) {
10736 wxRegionIterator
*src
;
10738 src
= (wxRegionIterator
*) ptr
;
10739 dest
= (wxObject
*) src
;
10740 return (void *) dest
;
10743 #define new_wxRegionIterator(_swigarg0) (new wxRegionIterator(_swigarg0))
10744 static PyObject
*_wrap_new_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10745 PyObject
* _resultobj
;
10746 wxRegionIterator
* _result
;
10748 PyObject
* _argo0
= 0;
10749 char *_kwnames
[] = { "region", NULL
};
10753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxRegionIterator",_kwnames
,&_argo0
))
10756 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRegionIterator. Expected _wxRegion_p.");
10762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10763 _result
= (wxRegionIterator
*)new_wxRegionIterator(*_arg0
);
10765 wxPyEndAllowThreads(__tstate
);
10766 if (PyErr_Occurred()) return NULL
;
10768 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegionIterator_p");
10769 _resultobj
= Py_BuildValue("s",_ptemp
);
10771 Py_INCREF(Py_None
);
10772 _resultobj
= Py_None
;
10777 #define delete_wxRegionIterator(_swigobj) (delete _swigobj)
10778 static PyObject
*_wrap_delete_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10779 PyObject
* _resultobj
;
10780 wxRegionIterator
* _arg0
;
10781 PyObject
* _argo0
= 0;
10782 char *_kwnames
[] = { "self", NULL
};
10785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegionIterator",_kwnames
,&_argo0
))
10788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
10790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegionIterator. Expected _wxRegionIterator_p.");
10795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10796 delete_wxRegionIterator(_arg0
);
10798 wxPyEndAllowThreads(__tstate
);
10799 if (PyErr_Occurred()) return NULL
;
10800 } Py_INCREF(Py_None
);
10801 _resultobj
= Py_None
;
10805 #define wxRegionIterator_GetX(_swigobj) (_swigobj->GetX())
10806 static PyObject
*_wrap_wxRegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10807 PyObject
* _resultobj
;
10809 wxRegionIterator
* _arg0
;
10810 PyObject
* _argo0
= 0;
10811 char *_kwnames
[] = { "self", NULL
};
10814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetX",_kwnames
,&_argo0
))
10817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
10819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetX. Expected _wxRegionIterator_p.");
10824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10825 _result
= (wxCoord
)wxRegionIterator_GetX(_arg0
);
10827 wxPyEndAllowThreads(__tstate
);
10828 if (PyErr_Occurred()) return NULL
;
10829 } _resultobj
= Py_BuildValue("i",_result
);
10833 #define wxRegionIterator_GetY(_swigobj) (_swigobj->GetY())
10834 static PyObject
*_wrap_wxRegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10835 PyObject
* _resultobj
;
10837 wxRegionIterator
* _arg0
;
10838 PyObject
* _argo0
= 0;
10839 char *_kwnames
[] = { "self", NULL
};
10842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetY",_kwnames
,&_argo0
))
10845 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10846 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
10847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetY. Expected _wxRegionIterator_p.");
10852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10853 _result
= (wxCoord
)wxRegionIterator_GetY(_arg0
);
10855 wxPyEndAllowThreads(__tstate
);
10856 if (PyErr_Occurred()) return NULL
;
10857 } _resultobj
= Py_BuildValue("i",_result
);
10861 #define wxRegionIterator_GetW(_swigobj) (_swigobj->GetW())
10862 static PyObject
*_wrap_wxRegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10863 PyObject
* _resultobj
;
10865 wxRegionIterator
* _arg0
;
10866 PyObject
* _argo0
= 0;
10867 char *_kwnames
[] = { "self", NULL
};
10870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetW",_kwnames
,&_argo0
))
10873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
10875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetW. Expected _wxRegionIterator_p.");
10880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10881 _result
= (wxCoord
)wxRegionIterator_GetW(_arg0
);
10883 wxPyEndAllowThreads(__tstate
);
10884 if (PyErr_Occurred()) return NULL
;
10885 } _resultobj
= Py_BuildValue("i",_result
);
10889 #define wxRegionIterator_GetWidth(_swigobj) (_swigobj->GetWidth())
10890 static PyObject
*_wrap_wxRegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10891 PyObject
* _resultobj
;
10893 wxRegionIterator
* _arg0
;
10894 PyObject
* _argo0
= 0;
10895 char *_kwnames
[] = { "self", NULL
};
10898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetWidth",_kwnames
,&_argo0
))
10901 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10902 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
10903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetWidth. Expected _wxRegionIterator_p.");
10908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10909 _result
= (wxCoord
)wxRegionIterator_GetWidth(_arg0
);
10911 wxPyEndAllowThreads(__tstate
);
10912 if (PyErr_Occurred()) return NULL
;
10913 } _resultobj
= Py_BuildValue("i",_result
);
10917 #define wxRegionIterator_GetH(_swigobj) (_swigobj->GetH())
10918 static PyObject
*_wrap_wxRegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10919 PyObject
* _resultobj
;
10921 wxRegionIterator
* _arg0
;
10922 PyObject
* _argo0
= 0;
10923 char *_kwnames
[] = { "self", NULL
};
10926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetH",_kwnames
,&_argo0
))
10929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
10931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetH. Expected _wxRegionIterator_p.");
10936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10937 _result
= (wxCoord
)wxRegionIterator_GetH(_arg0
);
10939 wxPyEndAllowThreads(__tstate
);
10940 if (PyErr_Occurred()) return NULL
;
10941 } _resultobj
= Py_BuildValue("i",_result
);
10945 #define wxRegionIterator_GetHeight(_swigobj) (_swigobj->GetHeight())
10946 static PyObject
*_wrap_wxRegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10947 PyObject
* _resultobj
;
10949 wxRegionIterator
* _arg0
;
10950 PyObject
* _argo0
= 0;
10951 char *_kwnames
[] = { "self", NULL
};
10954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetHeight",_kwnames
,&_argo0
))
10957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
10959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetHeight. Expected _wxRegionIterator_p.");
10964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10965 _result
= (wxCoord
)wxRegionIterator_GetHeight(_arg0
);
10967 wxPyEndAllowThreads(__tstate
);
10968 if (PyErr_Occurred()) return NULL
;
10969 } _resultobj
= Py_BuildValue("i",_result
);
10973 #define wxRegionIterator_GetRect(_swigobj) (_swigobj->GetRect())
10974 static PyObject
*_wrap_wxRegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10975 PyObject
* _resultobj
;
10977 wxRegionIterator
* _arg0
;
10978 PyObject
* _argo0
= 0;
10979 char *_kwnames
[] = { "self", NULL
};
10983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetRect",_kwnames
,&_argo0
))
10986 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10987 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
10988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetRect. Expected _wxRegionIterator_p.");
10993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10994 _result
= new wxRect (wxRegionIterator_GetRect(_arg0
));
10996 wxPyEndAllowThreads(__tstate
);
10997 if (PyErr_Occurred()) return NULL
;
10998 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
10999 _resultobj
= Py_BuildValue("s",_ptemp
);
11003 #define wxRegionIterator_HaveRects(_swigobj) (_swigobj->HaveRects())
11004 static PyObject
*_wrap_wxRegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11005 PyObject
* _resultobj
;
11007 wxRegionIterator
* _arg0
;
11008 PyObject
* _argo0
= 0;
11009 char *_kwnames
[] = { "self", NULL
};
11012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_HaveRects",_kwnames
,&_argo0
))
11015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_HaveRects. Expected _wxRegionIterator_p.");
11022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11023 _result
= (bool )wxRegionIterator_HaveRects(_arg0
);
11025 wxPyEndAllowThreads(__tstate
);
11026 if (PyErr_Occurred()) return NULL
;
11027 } _resultobj
= Py_BuildValue("i",_result
);
11031 #define wxRegionIterator_Reset(_swigobj) (_swigobj->Reset())
11032 static PyObject
*_wrap_wxRegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11033 PyObject
* _resultobj
;
11034 wxRegionIterator
* _arg0
;
11035 PyObject
* _argo0
= 0;
11036 char *_kwnames
[] = { "self", NULL
};
11039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Reset",_kwnames
,&_argo0
))
11042 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11043 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Reset. Expected _wxRegionIterator_p.");
11049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11050 wxRegionIterator_Reset(_arg0
);
11052 wxPyEndAllowThreads(__tstate
);
11053 if (PyErr_Occurred()) return NULL
;
11054 } Py_INCREF(Py_None
);
11055 _resultobj
= Py_None
;
11059 static void wxRegionIterator_Next(wxRegionIterator
*self
) {
11062 static PyObject
*_wrap_wxRegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11063 PyObject
* _resultobj
;
11064 wxRegionIterator
* _arg0
;
11065 PyObject
* _argo0
= 0;
11066 char *_kwnames
[] = { "self", NULL
};
11069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Next",_kwnames
,&_argo0
))
11072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Next. Expected _wxRegionIterator_p.");
11079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11080 wxRegionIterator_Next(_arg0
);
11082 wxPyEndAllowThreads(__tstate
);
11083 if (PyErr_Occurred()) return NULL
;
11084 } Py_INCREF(Py_None
);
11085 _resultobj
= Py_None
;
11089 static bool wxRegionIterator___nonzero__(wxRegionIterator
*self
) {
11090 return self
->operator bool();
11092 static PyObject
*_wrap_wxRegionIterator___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11093 PyObject
* _resultobj
;
11095 wxRegionIterator
* _arg0
;
11096 PyObject
* _argo0
= 0;
11097 char *_kwnames
[] = { "self", NULL
};
11100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator___nonzero__",_kwnames
,&_argo0
))
11103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator___nonzero__. Expected _wxRegionIterator_p.");
11110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11111 _result
= (bool )wxRegionIterator___nonzero__(_arg0
);
11113 wxPyEndAllowThreads(__tstate
);
11114 if (PyErr_Occurred()) return NULL
;
11115 } _resultobj
= Py_BuildValue("i",_result
);
11119 static PyMethodDef gdicMethods
[] = {
11120 { "wxRegionIterator___nonzero__", (PyCFunction
) _wrap_wxRegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
11121 { "wxRegionIterator_Next", (PyCFunction
) _wrap_wxRegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
11122 { "wxRegionIterator_Reset", (PyCFunction
) _wrap_wxRegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
11123 { "wxRegionIterator_HaveRects", (PyCFunction
) _wrap_wxRegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
11124 { "wxRegionIterator_GetRect", (PyCFunction
) _wrap_wxRegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
11125 { "wxRegionIterator_GetHeight", (PyCFunction
) _wrap_wxRegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
11126 { "wxRegionIterator_GetH", (PyCFunction
) _wrap_wxRegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
11127 { "wxRegionIterator_GetWidth", (PyCFunction
) _wrap_wxRegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11128 { "wxRegionIterator_GetW", (PyCFunction
) _wrap_wxRegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
11129 { "wxRegionIterator_GetY", (PyCFunction
) _wrap_wxRegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
11130 { "wxRegionIterator_GetX", (PyCFunction
) _wrap_wxRegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
11131 { "delete_wxRegionIterator", (PyCFunction
) _wrap_delete_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
11132 { "new_wxRegionIterator", (PyCFunction
) _wrap_new_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
11133 { "wxRegion_UnionBitmap", (PyCFunction
) _wrap_wxRegion_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11134 { "wxRegion_ConvertToBitmap", (PyCFunction
) _wrap_wxRegion_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11135 { "wxRegion_XorRegion", (PyCFunction
) _wrap_wxRegion_XorRegion
, METH_VARARGS
| METH_KEYWORDS
},
11136 { "wxRegion_XorRect", (PyCFunction
) _wrap_wxRegion_XorRect
, METH_VARARGS
| METH_KEYWORDS
},
11137 { "wxRegion_Xor", (PyCFunction
) _wrap_wxRegion_Xor
, METH_VARARGS
| METH_KEYWORDS
},
11138 { "wxRegion_SubtractRegion", (PyCFunction
) _wrap_wxRegion_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
},
11139 { "wxRegion_SubtractRect", (PyCFunction
) _wrap_wxRegion_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
},
11140 { "wxRegion_Subtract", (PyCFunction
) _wrap_wxRegion_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
11141 { "wxRegion_UnionRegion", (PyCFunction
) _wrap_wxRegion_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
},
11142 { "wxRegion_UnionRect", (PyCFunction
) _wrap_wxRegion_UnionRect
, METH_VARARGS
| METH_KEYWORDS
},
11143 { "wxRegion_Union", (PyCFunction
) _wrap_wxRegion_Union
, METH_VARARGS
| METH_KEYWORDS
},
11144 { "wxRegion_IsEmpty", (PyCFunction
) _wrap_wxRegion_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
11145 { "wxRegion_IntersectRegion", (PyCFunction
) _wrap_wxRegion_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
},
11146 { "wxRegion_IntersectRect", (PyCFunction
) _wrap_wxRegion_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
11147 { "wxRegion_Intersect", (PyCFunction
) _wrap_wxRegion_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
11148 { "wxRegion_GetBox", (PyCFunction
) _wrap_wxRegion_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
11149 { "wxRegion_ContainsRectDim", (PyCFunction
) _wrap_wxRegion_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
},
11150 { "wxRegion_ContainsRect", (PyCFunction
) _wrap_wxRegion_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
11151 { "wxRegion_ContainsPoint", (PyCFunction
) _wrap_wxRegion_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
11152 { "wxRegion_Contains", (PyCFunction
) _wrap_wxRegion_Contains
, METH_VARARGS
| METH_KEYWORDS
},
11153 { "wxRegion_Offset", (PyCFunction
) _wrap_wxRegion_Offset
, METH_VARARGS
| METH_KEYWORDS
},
11154 { "wxRegion_Clear", (PyCFunction
) _wrap_wxRegion_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11155 { "delete_wxRegion", (PyCFunction
) _wrap_delete_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
11156 { "new_wxRegionFromBitmap", (PyCFunction
) _wrap_new_wxRegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11157 { "new_wxRegionFromPoints", (PyCFunction
) _wrap_new_wxRegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
},
11158 { "new_wxRegion", (PyCFunction
) _wrap_new_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
11159 { "wxImageList_GetSize", (PyCFunction
) _wrap_wxImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
11160 { "wxImageList_RemoveAll", (PyCFunction
) _wrap_wxImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
},
11161 { "wxImageList_Remove", (PyCFunction
) _wrap_wxImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
},
11162 { "wxImageList_GetImageCount", (PyCFunction
) _wrap_wxImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
11163 { "wxImageList_Draw", (PyCFunction
) _wrap_wxImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
},
11164 { "wxImageList_Replace", (PyCFunction
) _wrap_wxImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
},
11165 { "wxImageList_AddIcon", (PyCFunction
) _wrap_wxImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
11166 { "wxImageList_AddWithColourMask", (PyCFunction
) _wrap_wxImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
},
11167 { "wxImageList_Add", (PyCFunction
) _wrap_wxImageList_Add
, METH_VARARGS
| METH_KEYWORDS
},
11168 { "delete_wxImageList", (PyCFunction
) _wrap_delete_wxImageList
, METH_VARARGS
| METH_KEYWORDS
},
11169 { "new_wxImageList", (PyCFunction
) _wrap_new_wxImageList
, METH_VARARGS
| METH_KEYWORDS
},
11170 { "wxPalette_Ok", (PyCFunction
) _wrap_wxPalette_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11171 { "wxPalette_GetRGB", (PyCFunction
) _wrap_wxPalette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
11172 { "wxPalette_GetPixel", (PyCFunction
) _wrap_wxPalette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
11173 { "delete_wxPalette", (PyCFunction
) _wrap_delete_wxPalette
, METH_VARARGS
| METH_KEYWORDS
},
11174 { "new_wxPalette", (PyCFunction
) _wrap_new_wxPalette
, METH_VARARGS
| METH_KEYWORDS
},
11175 { "new_wxMirrorDC", (PyCFunction
) _wrap_new_wxMirrorDC
, METH_VARARGS
| METH_KEYWORDS
},
11176 { "new_wxWindowDC", (PyCFunction
) _wrap_new_wxWindowDC
, METH_VARARGS
| METH_KEYWORDS
},
11177 { "new_wxPaintDC", (PyCFunction
) _wrap_new_wxPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
11178 { "new_wxClientDC", (PyCFunction
) _wrap_new_wxClientDC
, METH_VARARGS
| METH_KEYWORDS
},
11179 { "wxScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_wxScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
11180 { "wxScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_wxScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
11181 { "wxScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_wxScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
},
11182 { "new_wxScreenDC", (PyCFunction
) _wrap_new_wxScreenDC
, METH_VARARGS
| METH_KEYWORDS
},
11183 { "new_wxBufferedPaintDC", (PyCFunction
) _wrap_new_wxBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
11184 { "wxBufferedDC_UnMask", (PyCFunction
) _wrap_wxBufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
},
11185 { "new_wxBufferedDCInternalBuffer", (PyCFunction
) _wrap_new_wxBufferedDCInternalBuffer
, METH_VARARGS
| METH_KEYWORDS
},
11186 { "new_wxBufferedDC", (PyCFunction
) _wrap_new_wxBufferedDC
, METH_VARARGS
| METH_KEYWORDS
},
11187 { "wxMemoryDC_SelectObject", (PyCFunction
) _wrap_wxMemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
},
11188 { "new_wxMemoryDC", (PyCFunction
) _wrap_new_wxMemoryDC
, METH_VARARGS
| METH_KEYWORDS
},
11189 { "wxDC__DrawTextList", (PyCFunction
) _wrap_wxDC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
},
11190 { "wxDC__DrawPolygonList", (PyCFunction
) _wrap_wxDC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
},
11191 { "wxDC__DrawEllipseList", (PyCFunction
) _wrap_wxDC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
},
11192 { "wxDC__DrawRectangleList", (PyCFunction
) _wrap_wxDC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
},
11193 { "wxDC__DrawLineList", (PyCFunction
) _wrap_wxDC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
},
11194 { "wxDC__DrawPointList", (PyCFunction
) _wrap_wxDC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
},
11195 { "wxDC_GetBoundingBox", (PyCFunction
) _wrap_wxDC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
11196 { "wxDC_ResetBoundingBox", (PyCFunction
) _wrap_wxDC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
11197 { "wxDC_CalcBoundingBox", (PyCFunction
) _wrap_wxDC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
11198 { "wxDC_SetAxisOrientation", (PyCFunction
) _wrap_wxDC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
},
11199 { "wxDC_GetDeviceOrigin", (PyCFunction
) _wrap_wxDC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
11200 { "wxDC_SetLogicalOrigin", (PyCFunction
) _wrap_wxDC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
11201 { "wxDC_GetLogicalOrigin", (PyCFunction
) _wrap_wxDC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
11202 { "wxDC_GetPPI", (PyCFunction
) _wrap_wxDC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
},
11203 { "wxDC_GetDepth", (PyCFunction
) _wrap_wxDC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
11204 { "wxDC_CanGetTextExtent", (PyCFunction
) _wrap_wxDC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
11205 { "wxDC_CanDrawBitmap", (PyCFunction
) _wrap_wxDC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11206 { "wxDC_DrawBitmap", (PyCFunction
) _wrap_wxDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11207 { "wxDC_StartPage", (PyCFunction
) _wrap_wxDC_StartPage
, METH_VARARGS
| METH_KEYWORDS
},
11208 { "wxDC_StartDoc", (PyCFunction
) _wrap_wxDC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
},
11209 { "wxDC_SetUserScale", (PyCFunction
) _wrap_wxDC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
11210 { "wxDC_SetTextForeground", (PyCFunction
) _wrap_wxDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
11211 { "wxDC_SetTextBackground", (PyCFunction
) _wrap_wxDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
11212 { "wxDC_SetPen", (PyCFunction
) _wrap_wxDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
11213 { "wxDC_SetOptimization", (PyCFunction
) _wrap_wxDC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
11214 { "wxDC_SetMapMode", (PyCFunction
) _wrap_wxDC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
11215 { "wxDC_SetLogicalScale", (PyCFunction
) _wrap_wxDC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
11216 { "wxDC_SetLogicalFunction", (PyCFunction
) _wrap_wxDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
11217 { "wxDC_SetFont", (PyCFunction
) _wrap_wxDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
11218 { "wxDC_SetBrush", (PyCFunction
) _wrap_wxDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
11219 { "wxDC_SetPalette", (PyCFunction
) _wrap_wxDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
11220 { "wxDC_SetClippingRect", (PyCFunction
) _wrap_wxDC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
11221 { "wxDC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_wxDC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
},
11222 { "wxDC_SetClippingRegion", (PyCFunction
) _wrap_wxDC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
11223 { "wxDC_SetBackgroundMode", (PyCFunction
) _wrap_wxDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
11224 { "wxDC_SetBackground", (PyCFunction
) _wrap_wxDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
},
11225 { "wxDC_SetDeviceOrigin", (PyCFunction
) _wrap_wxDC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
11226 { "wxDC_Ok", (PyCFunction
) _wrap_wxDC_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11227 { "wxDC_MinY", (PyCFunction
) _wrap_wxDC_MinY
, METH_VARARGS
| METH_KEYWORDS
},
11228 { "wxDC_MinX", (PyCFunction
) _wrap_wxDC_MinX
, METH_VARARGS
| METH_KEYWORDS
},
11229 { "wxDC_MaxY", (PyCFunction
) _wrap_wxDC_MaxY
, METH_VARARGS
| METH_KEYWORDS
},
11230 { "wxDC_MaxX", (PyCFunction
) _wrap_wxDC_MaxX
, METH_VARARGS
| METH_KEYWORDS
},
11231 { "wxDC_LogicalToDeviceYRel", (PyCFunction
) _wrap_wxDC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
},
11232 { "wxDC_LogicalToDeviceY", (PyCFunction
) _wrap_wxDC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
},
11233 { "wxDC_LogicalToDeviceXRel", (PyCFunction
) _wrap_wxDC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
},
11234 { "wxDC_LogicalToDeviceX", (PyCFunction
) _wrap_wxDC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
},
11235 { "wxDC_GetUserScale", (PyCFunction
) _wrap_wxDC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
11236 { "wxDC_GetTextForeground", (PyCFunction
) _wrap_wxDC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
11237 { "wxDC_GetMultiLineTextExtent", (PyCFunction
) _wrap_wxDC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
11238 { "wxDC_GetFullTextExtent", (PyCFunction
) _wrap_wxDC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
11239 { "wxDC_GetTextExtent", (PyCFunction
) _wrap_wxDC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
11240 { "wxDC_GetTextBackground", (PyCFunction
) _wrap_wxDC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
11241 { "wxDC_GetSizeMM", (PyCFunction
) _wrap_wxDC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
11242 { "wxDC_GetSize", (PyCFunction
) _wrap_wxDC_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
11243 { "wxDC_GetSizeTuple", (PyCFunction
) _wrap_wxDC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
11244 { "wxDC_GetPixel", (PyCFunction
) _wrap_wxDC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
11245 { "wxDC_GetPen", (PyCFunction
) _wrap_wxDC_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
11246 { "wxDC_GetOptimization", (PyCFunction
) _wrap_wxDC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
11247 { "wxDC_GetMapMode", (PyCFunction
) _wrap_wxDC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
11248 { "wxDC_GetLogicalScale", (PyCFunction
) _wrap_wxDC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
11249 { "wxDC_GetLogicalFunction", (PyCFunction
) _wrap_wxDC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
11250 { "wxDC_GetFont", (PyCFunction
) _wrap_wxDC_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11251 { "wxDC_GetClippingBox", (PyCFunction
) _wrap_wxDC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
},
11252 { "wxDC_GetCharWidth", (PyCFunction
) _wrap_wxDC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
11253 { "wxDC_GetCharHeight", (PyCFunction
) _wrap_wxDC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
11254 { "wxDC_GetBrush", (PyCFunction
) _wrap_wxDC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
11255 { "wxDC_GetBackground", (PyCFunction
) _wrap_wxDC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
},
11256 { "wxDC_FloodFill", (PyCFunction
) _wrap_wxDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
},
11257 { "wxDC_EndPage", (PyCFunction
) _wrap_wxDC_EndPage
, METH_VARARGS
| METH_KEYWORDS
},
11258 { "wxDC_EndDrawing", (PyCFunction
) _wrap_wxDC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
},
11259 { "wxDC_EndDoc", (PyCFunction
) _wrap_wxDC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
},
11260 { "wxDC_DrawText", (PyCFunction
) _wrap_wxDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
11261 { "wxDC_DrawSpline", (PyCFunction
) _wrap_wxDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
11262 { "wxDC_DrawRoundedRectangle", (PyCFunction
) _wrap_wxDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
11263 { "wxDC_DrawRotatedText", (PyCFunction
) _wrap_wxDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
},
11264 { "wxDC_DrawRectangleRect", (PyCFunction
) _wrap_wxDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
11265 { "wxDC_DrawRectangle", (PyCFunction
) _wrap_wxDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
11266 { "wxDC_DrawPoint", (PyCFunction
) _wrap_wxDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
11267 { "wxDC_DrawPolygon", (PyCFunction
) _wrap_wxDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
11268 { "wxDC_DrawLines", (PyCFunction
) _wrap_wxDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
11269 { "wxDC_DrawLine", (PyCFunction
) _wrap_wxDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
11270 { "wxDC_DrawImageLabel", (PyCFunction
) _wrap_wxDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
11271 { "wxDC_DrawLabel", (PyCFunction
) _wrap_wxDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
},
11272 { "wxDC_DrawIcon", (PyCFunction
) _wrap_wxDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
},
11273 { "wxDC_DrawEllipticArc", (PyCFunction
) _wrap_wxDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
11274 { "wxDC_DrawEllipse", (PyCFunction
) _wrap_wxDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
11275 { "wxDC_DrawCircle", (PyCFunction
) _wrap_wxDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
},
11276 { "wxDC_DrawArc", (PyCFunction
) _wrap_wxDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
11277 { "wxDC_DeviceToLogicalYRel", (PyCFunction
) _wrap_wxDC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
},
11278 { "wxDC_DeviceToLogicalY", (PyCFunction
) _wrap_wxDC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
},
11279 { "wxDC_DeviceToLogicalXRel", (PyCFunction
) _wrap_wxDC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
},
11280 { "wxDC_DeviceToLogicalX", (PyCFunction
) _wrap_wxDC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
},
11281 { "wxDC_DestroyClippingRegion", (PyCFunction
) _wrap_wxDC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
11282 { "wxDC_CrossHair", (PyCFunction
) _wrap_wxDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
},
11283 { "wxDC_Clear", (PyCFunction
) _wrap_wxDC_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11284 { "wxDC_Blit", (PyCFunction
) _wrap_wxDC_Blit
, METH_VARARGS
| METH_KEYWORDS
},
11285 { "wxDC_BeginDrawing", (PyCFunction
) _wrap_wxDC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
},
11286 { "delete_wxDC", (PyCFunction
) _wrap_delete_wxDC
, METH_VARARGS
| METH_KEYWORDS
},
11287 { "wxBrushList_GetCount", (PyCFunction
) _wrap_wxBrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11288 { "wxBrushList_RemoveBrush", (PyCFunction
) _wrap_wxBrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
},
11289 { "wxBrushList_FindOrCreateBrush", (PyCFunction
) _wrap_wxBrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
},
11290 { "wxBrushList_AddBrush", (PyCFunction
) _wrap_wxBrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
},
11291 { "wxBrush_SetStyle", (PyCFunction
) _wrap_wxBrush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11292 { "wxBrush_SetStipple", (PyCFunction
) _wrap_wxBrush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
11293 { "wxBrush_SetColour", (PyCFunction
) _wrap_wxBrush_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
11294 { "wxBrush_Ok", (PyCFunction
) _wrap_wxBrush_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11295 { "wxBrush_GetStyle", (PyCFunction
) _wrap_wxBrush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11296 { "wxBrush_GetStipple", (PyCFunction
) _wrap_wxBrush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
11297 { "wxBrush_GetColour", (PyCFunction
) _wrap_wxBrush_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
11298 { "delete_wxBrush", (PyCFunction
) _wrap_delete_wxBrush
, METH_VARARGS
| METH_KEYWORDS
},
11299 { "new_wxBrush", (PyCFunction
) _wrap_new_wxBrush
, METH_VARARGS
| METH_KEYWORDS
},
11300 { "wxPenList_GetCount", (PyCFunction
) _wrap_wxPenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11301 { "wxPenList_RemovePen", (PyCFunction
) _wrap_wxPenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
},
11302 { "wxPenList_FindOrCreatePen", (PyCFunction
) _wrap_wxPenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
},
11303 { "wxPenList_AddPen", (PyCFunction
) _wrap_wxPenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
},
11304 { "wxPyPen_SetDashes", (PyCFunction
) _wrap_wxPyPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
11305 { "delete_wxPyPen", (PyCFunction
) _wrap_delete_wxPyPen
, METH_VARARGS
| METH_KEYWORDS
},
11306 { "new_wxPyPen", (PyCFunction
) _wrap_new_wxPyPen
, METH_VARARGS
| METH_KEYWORDS
},
11307 { "wxPen_GetDashes", (PyCFunction
) _wrap_wxPen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
},
11308 { "wxPen_SetDashes", (PyCFunction
) _wrap_wxPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
11309 { "wxPen_SetWidth", (PyCFunction
) _wrap_wxPen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11310 { "wxPen_SetStyle", (PyCFunction
) _wrap_wxPen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11311 { "wxPen_SetJoin", (PyCFunction
) _wrap_wxPen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
},
11312 { "wxPen_SetColour", (PyCFunction
) _wrap_wxPen_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
11313 { "wxPen_SetCap", (PyCFunction
) _wrap_wxPen_SetCap
, METH_VARARGS
| METH_KEYWORDS
},
11314 { "wxPen_Ok", (PyCFunction
) _wrap_wxPen_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11315 { "wxPen_GetWidth", (PyCFunction
) _wrap_wxPen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11316 { "wxPen_GetStyle", (PyCFunction
) _wrap_wxPen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11317 { "wxPen_GetJoin", (PyCFunction
) _wrap_wxPen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
},
11318 { "wxPen_GetColour", (PyCFunction
) _wrap_wxPen_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
11319 { "wxPen_GetCap", (PyCFunction
) _wrap_wxPen_GetCap
, METH_VARARGS
| METH_KEYWORDS
},
11320 { "delete_wxPen", (PyCFunction
) _wrap_delete_wxPen
, METH_VARARGS
| METH_KEYWORDS
},
11321 { "new_wxPen", (PyCFunction
) _wrap_new_wxPen
, METH_VARARGS
| METH_KEYWORDS
},
11322 { "wxColourDatabase_Append", (PyCFunction
) _wrap_wxColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
},
11323 { "wxColourDatabase_AddColour", (PyCFunction
) _wrap_wxColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
},
11324 { "wxColourDatabase_FindName", (PyCFunction
) _wrap_wxColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
},
11325 { "wxColourDatabase_Find", (PyCFunction
) _wrap_wxColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
},
11326 { "delete_wxColourDatabase", (PyCFunction
) _wrap_delete_wxColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
11327 { "new_wxColourDatabase", (PyCFunction
) _wrap_new_wxColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
11328 { "wxColour___ne__", (PyCFunction
) _wrap_wxColour___ne__
, METH_VARARGS
| METH_KEYWORDS
},
11329 { "wxColour___eq__", (PyCFunction
) _wrap_wxColour___eq__
, METH_VARARGS
| METH_KEYWORDS
},
11330 { "wxColour_Get", (PyCFunction
) _wrap_wxColour_Get
, METH_VARARGS
| METH_KEYWORDS
},
11331 { "wxColour_Set", (PyCFunction
) _wrap_wxColour_Set
, METH_VARARGS
| METH_KEYWORDS
},
11332 { "wxColour_Ok", (PyCFunction
) _wrap_wxColour_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11333 { "wxColour_Blue", (PyCFunction
) _wrap_wxColour_Blue
, METH_VARARGS
| METH_KEYWORDS
},
11334 { "wxColour_Green", (PyCFunction
) _wrap_wxColour_Green
, METH_VARARGS
| METH_KEYWORDS
},
11335 { "wxColour_Red", (PyCFunction
) _wrap_wxColour_Red
, METH_VARARGS
| METH_KEYWORDS
},
11336 { "delete_wxColour", (PyCFunction
) _wrap_delete_wxColour
, METH_VARARGS
| METH_KEYWORDS
},
11337 { "new_wxColour", (PyCFunction
) _wrap_new_wxColour
, METH_VARARGS
| METH_KEYWORDS
},
11338 { "wxCursor_Ok", (PyCFunction
) _wrap_wxCursor_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11339 { "delete_wxCursor", (PyCFunction
) _wrap_delete_wxCursor
, METH_VARARGS
| METH_KEYWORDS
},
11340 { "new_wxCursor", (PyCFunction
) _wrap_new_wxCursor
, METH_VARARGS
| METH_KEYWORDS
},
11341 { "wxIconBundle_GetIcon", (PyCFunction
) _wrap_wxIconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
11342 { "wxIconBundle_AddIconFromFile", (PyCFunction
) _wrap_wxIconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
},
11343 { "wxIconBundle_AddIcon", (PyCFunction
) _wrap_wxIconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
11344 { "delete_wxIconBundle", (PyCFunction
) _wrap_delete_wxIconBundle
, METH_VARARGS
| METH_KEYWORDS
},
11345 { "new_wxIconBundleFromIcon", (PyCFunction
) _wrap_new_wxIconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
11346 { "new_wxIconBundleFromFile", (PyCFunction
) _wrap_new_wxIconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
},
11347 { "new_wxIconBundle", (PyCFunction
) _wrap_new_wxIconBundle
, METH_VARARGS
| METH_KEYWORDS
},
11348 { "wxIconLocation_GetIndex", (PyCFunction
) _wrap_wxIconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
11349 { "wxIconLocation_SetIndex", (PyCFunction
) _wrap_wxIconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
},
11350 { "wxIconLocation_GetFileName", (PyCFunction
) _wrap_wxIconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
},
11351 { "wxIconLocation_SetFileName", (PyCFunction
) _wrap_wxIconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
},
11352 { "wxIconLocation_IsOk", (PyCFunction
) _wrap_wxIconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
11353 { "delete_wxIconLocation", (PyCFunction
) _wrap_delete_wxIconLocation
, METH_VARARGS
| METH_KEYWORDS
},
11354 { "new_wxIconLocation", (PyCFunction
) _wrap_new_wxIconLocation
, METH_VARARGS
| METH_KEYWORDS
},
11355 { "wxIcon_CopyFromBitmap", (PyCFunction
) _wrap_wxIcon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11356 { "wxIcon_SetDepth", (PyCFunction
) _wrap_wxIcon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
11357 { "wxIcon_SetHeight", (PyCFunction
) _wrap_wxIcon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
11358 { "wxIcon_SetWidth", (PyCFunction
) _wrap_wxIcon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11359 { "wxIcon_GetDepth", (PyCFunction
) _wrap_wxIcon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
11360 { "wxIcon_GetHeight", (PyCFunction
) _wrap_wxIcon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
11361 { "wxIcon_GetWidth", (PyCFunction
) _wrap_wxIcon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11362 { "wxIcon_Ok", (PyCFunction
) _wrap_wxIcon_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11363 { "wxIcon_LoadFile", (PyCFunction
) _wrap_wxIcon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
11364 { "delete_wxIcon", (PyCFunction
) _wrap_delete_wxIcon
, METH_VARARGS
| METH_KEYWORDS
},
11365 { "new_wxIcon", (PyCFunction
) _wrap_new_wxIcon
, METH_VARARGS
| METH_KEYWORDS
},
11366 { "wxMask_Destroy", (PyCFunction
) _wrap_wxMask_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
11367 { "new_wxMask", (PyCFunction
) _wrap_new_wxMask
, METH_VARARGS
| METH_KEYWORDS
},
11368 { "wxBitmap_CopyFromIcon", (PyCFunction
) _wrap_wxBitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
11369 { "wxBitmap_GetSubBitmap", (PyCFunction
) _wrap_wxBitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11370 { "wxBitmap_SetDepth", (PyCFunction
) _wrap_wxBitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
11371 { "wxBitmap_SetHeight", (PyCFunction
) _wrap_wxBitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
11372 { "wxBitmap_SetWidth", (PyCFunction
) _wrap_wxBitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11373 { "wxBitmap_GetDepth", (PyCFunction
) _wrap_wxBitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
11374 { "wxBitmap_GetHeight", (PyCFunction
) _wrap_wxBitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
11375 { "wxBitmap_GetWidth", (PyCFunction
) _wrap_wxBitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11376 { "wxBitmap_Ok", (PyCFunction
) _wrap_wxBitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11377 { "wxBitmap_SetMask", (PyCFunction
) _wrap_wxBitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
11378 { "wxBitmap_SaveFile", (PyCFunction
) _wrap_wxBitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
11379 { "wxBitmap_LoadFile", (PyCFunction
) _wrap_wxBitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
11380 { "wxBitmap_GetMask", (PyCFunction
) _wrap_wxBitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
11381 { "wxBitmap_GetPalette", (PyCFunction
) _wrap_wxBitmap_GetPalette
, METH_VARARGS
| METH_KEYWORDS
},
11382 { "delete_wxBitmap", (PyCFunction
) _wrap_delete_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11383 { "new_wxBitmap", (PyCFunction
) _wrap_new_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11384 { "wxGDIObject_IsNull", (PyCFunction
) _wrap_wxGDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
11385 { "wxGDIObject_SetVisible", (PyCFunction
) _wrap_wxGDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
},
11386 { "wxGDIObject_GetVisible", (PyCFunction
) _wrap_wxGDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
},
11387 { "delete_wxGDIObject", (PyCFunction
) _wrap_delete_wxGDIObject
, METH_VARARGS
| METH_KEYWORDS
},
11388 { "new_wxGDIObject", (PyCFunction
) _wrap_new_wxGDIObject
, METH_VARARGS
| METH_KEYWORDS
},
11389 { "wxMemoryDCFromDC", (PyCFunction
) _wrap_wxMemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
},
11390 { "wxNamedColour", (PyCFunction
) _wrap_wxNamedColour
, METH_VARARGS
| METH_KEYWORDS
},
11391 { "wxCursorFromBits", (PyCFunction
) _wrap_wxCursorFromBits
, METH_VARARGS
| METH_KEYWORDS
},
11392 { "wxCursorFromImage", (PyCFunction
) _wrap_wxCursorFromImage
, METH_VARARGS
| METH_KEYWORDS
},
11393 { "wxStockCursor", (PyCFunction
) _wrap_wxStockCursor
, METH_VARARGS
| METH_KEYWORDS
},
11394 { "wxIconFromLocation", (PyCFunction
) _wrap_wxIconFromLocation
, METH_VARARGS
| METH_KEYWORDS
},
11395 { "wxIconFromBitmap", (PyCFunction
) _wrap_wxIconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11396 { "wxIconFromXPMData", (PyCFunction
) _wrap_wxIconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
11397 { "wxEmptyIcon", (PyCFunction
) _wrap_wxEmptyIcon
, METH_VARARGS
| METH_KEYWORDS
},
11398 { "wxMaskColour", (PyCFunction
) _wrap_wxMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
11399 { "wxBitmapFromBits", (PyCFunction
) _wrap_wxBitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
},
11400 { "wxBitmapFromIcon", (PyCFunction
) _wrap_wxBitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
11401 { "wxBitmapFromXPMData", (PyCFunction
) _wrap_wxBitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
11402 { "wxEmptyBitmap", (PyCFunction
) _wrap_wxEmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11409 * This table is used by the pointer type-checker
11411 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
11412 { "_signed_long","_long",0},
11413 { "_wxPrintQuality","_wxCoord",0},
11414 { "_wxPrintQuality","_int",0},
11415 { "_wxPrintQuality","_signed_int",0},
11416 { "_wxPrintQuality","_unsigned_int",0},
11417 { "_wxPrintQuality","_wxWindowID",0},
11418 { "_wxPrintQuality","_uint",0},
11419 { "_wxPrintQuality","_EBool",0},
11420 { "_wxPrintQuality","_size_t",0},
11421 { "_wxPrintQuality","_time_t",0},
11422 { "_wxPen","_wxPyPen",SwigwxPyPenTowxPen
},
11423 { "_byte","_unsigned_char",0},
11424 { "_long","_unsigned_long",0},
11425 { "_long","_signed_long",0},
11426 { "_wxGDIObject","_wxRegion",SwigwxRegionTowxGDIObject
},
11427 { "_wxGDIObject","_wxPalette",SwigwxPaletteTowxGDIObject
},
11428 { "_wxGDIObject","_wxBrush",SwigwxBrushTowxGDIObject
},
11429 { "_wxGDIObject","_wxPyPen",SwigwxPyPenTowxGDIObject
},
11430 { "_wxGDIObject","_wxPen",SwigwxPenTowxGDIObject
},
11431 { "_wxGDIObject","_wxCursor",SwigwxCursorTowxGDIObject
},
11432 { "_wxGDIObject","_wxIcon",SwigwxIconTowxGDIObject
},
11433 { "_wxGDIObject","_wxBitmap",SwigwxBitmapTowxGDIObject
},
11434 { "_wxDC","_wxMirrorDC",SwigwxMirrorDCTowxDC
},
11435 { "_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC
},
11436 { "_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
},
11437 { "_wxDC","_wxClientDC",SwigwxClientDCTowxDC
},
11438 { "_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
},
11439 { "_wxDC","_wxBufferedPaintDC",SwigwxBufferedPaintDCTowxDC
},
11440 { "_wxDC","_wxBufferedDC",SwigwxBufferedDCTowxDC
},
11441 { "_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
},
11442 { "_size_t","_wxCoord",0},
11443 { "_size_t","_wxPrintQuality",0},
11444 { "_size_t","_time_t",0},
11445 { "_size_t","_unsigned_int",0},
11446 { "_size_t","_int",0},
11447 { "_size_t","_wxWindowID",0},
11448 { "_size_t","_uint",0},
11449 { "_uint","_wxCoord",0},
11450 { "_uint","_wxPrintQuality",0},
11451 { "_uint","_time_t",0},
11452 { "_uint","_size_t",0},
11453 { "_uint","_unsigned_int",0},
11454 { "_uint","_int",0},
11455 { "_uint","_wxWindowID",0},
11456 { "_wxChar","_char",0},
11457 { "_char","_wxChar",0},
11458 { "_wxBufferedDC","_wxBufferedPaintDC",SwigwxBufferedPaintDCTowxBufferedDC
},
11459 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
11460 { "_EBool","_wxCoord",0},
11461 { "_EBool","_wxPrintQuality",0},
11462 { "_EBool","_signed_int",0},
11463 { "_EBool","_int",0},
11464 { "_EBool","_wxWindowID",0},
11465 { "_unsigned_long","_long",0},
11466 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
11467 { "_signed_int","_wxCoord",0},
11468 { "_signed_int","_wxPrintQuality",0},
11469 { "_signed_int","_EBool",0},
11470 { "_signed_int","_wxWindowID",0},
11471 { "_signed_int","_int",0},
11472 { "_WXTYPE","_short",0},
11473 { "_WXTYPE","_signed_short",0},
11474 { "_WXTYPE","_unsigned_short",0},
11475 { "_unsigned_short","_WXTYPE",0},
11476 { "_unsigned_short","_short",0},
11477 { "_wxObject","_wxRegionIterator",SwigwxRegionIteratorTowxObject
},
11478 { "_wxObject","_wxRegion",SwigwxRegionTowxObject
},
11479 { "_wxObject","_wxImageList",SwigwxImageListTowxObject
},
11480 { "_wxObject","_wxPalette",SwigwxPaletteTowxObject
},
11481 { "_wxObject","_wxMirrorDC",SwigwxMirrorDCTowxObject
},
11482 { "_wxObject","_wxWindowDC",SwigwxWindowDCTowxObject
},
11483 { "_wxObject","_wxPaintDC",SwigwxPaintDCTowxObject
},
11484 { "_wxObject","_wxClientDC",SwigwxClientDCTowxObject
},
11485 { "_wxObject","_wxScreenDC",SwigwxScreenDCTowxObject
},
11486 { "_wxObject","_wxBufferedPaintDC",SwigwxBufferedPaintDCTowxObject
},
11487 { "_wxObject","_wxBufferedDC",SwigwxBufferedDCTowxObject
},
11488 { "_wxObject","_wxMemoryDC",SwigwxMemoryDCTowxObject
},
11489 { "_wxObject","_wxDC",SwigwxDCTowxObject
},
11490 { "_wxObject","_wxBrushList",SwigwxBrushListTowxObject
},
11491 { "_wxObject","_wxBrush",SwigwxBrushTowxObject
},
11492 { "_wxObject","_wxPenList",SwigwxPenListTowxObject
},
11493 { "_wxObject","_wxPyPen",SwigwxPyPenTowxObject
},
11494 { "_wxObject","_wxPen",SwigwxPenTowxObject
},
11495 { "_wxObject","_wxColourDatabase",SwigwxColourDatabaseTowxObject
},
11496 { "_wxObject","_wxColour",SwigwxColourTowxObject
},
11497 { "_wxObject","_wxCursor",SwigwxCursorTowxObject
},
11498 { "_wxObject","_wxIcon",SwigwxIconTowxObject
},
11499 { "_wxObject","_wxMask",SwigwxMaskTowxObject
},
11500 { "_wxObject","_wxBitmap",SwigwxBitmapTowxObject
},
11501 { "_wxObject","_wxGDIObject",SwigwxGDIObjectTowxObject
},
11502 { "_signed_short","_WXTYPE",0},
11503 { "_signed_short","_short",0},
11504 { "_wxMemoryDC","_wxBufferedPaintDC",SwigwxBufferedPaintDCTowxMemoryDC
},
11505 { "_wxMemoryDC","_wxBufferedDC",SwigwxBufferedDCTowxMemoryDC
},
11506 { "_unsigned_char","_byte",0},
11507 { "_unsigned_int","_wxCoord",0},
11508 { "_unsigned_int","_wxPrintQuality",0},
11509 { "_unsigned_int","_time_t",0},
11510 { "_unsigned_int","_size_t",0},
11511 { "_unsigned_int","_uint",0},
11512 { "_unsigned_int","_wxWindowID",0},
11513 { "_unsigned_int","_int",0},
11514 { "_short","_WXTYPE",0},
11515 { "_short","_unsigned_short",0},
11516 { "_short","_signed_short",0},
11517 { "_wxWindowID","_wxCoord",0},
11518 { "_wxWindowID","_wxPrintQuality",0},
11519 { "_wxWindowID","_time_t",0},
11520 { "_wxWindowID","_size_t",0},
11521 { "_wxWindowID","_EBool",0},
11522 { "_wxWindowID","_uint",0},
11523 { "_wxWindowID","_int",0},
11524 { "_wxWindowID","_signed_int",0},
11525 { "_wxWindowID","_unsigned_int",0},
11526 { "_int","_wxCoord",0},
11527 { "_int","_wxPrintQuality",0},
11528 { "_int","_time_t",0},
11529 { "_int","_size_t",0},
11530 { "_int","_EBool",0},
11531 { "_int","_uint",0},
11532 { "_int","_wxWindowID",0},
11533 { "_int","_unsigned_int",0},
11534 { "_int","_signed_int",0},
11535 { "_time_t","_wxCoord",0},
11536 { "_time_t","_wxPrintQuality",0},
11537 { "_time_t","_unsigned_int",0},
11538 { "_time_t","_int",0},
11539 { "_time_t","_wxWindowID",0},
11540 { "_time_t","_uint",0},
11541 { "_time_t","_size_t",0},
11542 { "_wxCoord","_int",0},
11543 { "_wxCoord","_signed_int",0},
11544 { "_wxCoord","_unsigned_int",0},
11545 { "_wxCoord","_wxWindowID",0},
11546 { "_wxCoord","_uint",0},
11547 { "_wxCoord","_EBool",0},
11548 { "_wxCoord","_size_t",0},
11549 { "_wxCoord","_time_t",0},
11550 { "_wxCoord","_wxPrintQuality",0},
11553 static PyObject
*SWIG_globals
;
11557 SWIGEXPORT(void) initgdic() {
11559 SWIG_globals
= SWIG_newvarlink();
11560 m
= Py_InitModule("gdic", gdicMethods
);
11561 d
= PyModule_GetDict(m
);
11562 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_NORMAL", PyInt_FromLong((long) wxIMAGELIST_DRAW_NORMAL
));
11563 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_TRANSPARENT", PyInt_FromLong((long) wxIMAGELIST_DRAW_TRANSPARENT
));
11564 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_SELECTED", PyInt_FromLong((long) wxIMAGELIST_DRAW_SELECTED
));
11565 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_FOCUSED", PyInt_FromLong((long) wxIMAGELIST_DRAW_FOCUSED
));
11566 PyDict_SetItemString(d
,"wxIMAGE_LIST_NORMAL", PyInt_FromLong((long) wxIMAGE_LIST_NORMAL
));
11567 PyDict_SetItemString(d
,"wxIMAGE_LIST_SMALL", PyInt_FromLong((long) wxIMAGE_LIST_SMALL
));
11568 PyDict_SetItemString(d
,"wxIMAGE_LIST_STATE", PyInt_FromLong((long) wxIMAGE_LIST_STATE
));
11569 PyDict_SetItemString(d
,"wxOutRegion", PyInt_FromLong((long) wxOutRegion
));
11570 PyDict_SetItemString(d
,"wxPartRegion", PyInt_FromLong((long) wxPartRegion
));
11571 PyDict_SetItemString(d
,"wxInRegion", PyInt_FromLong((long) wxInRegion
));
11572 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
11573 SWIG_addvarlink(SWIG_globals
,"wxNORMAL_FONT",_wrap_wxNORMAL_FONT_get
, _wrap_wxNORMAL_FONT_set
);
11574 SWIG_addvarlink(SWIG_globals
,"wxSMALL_FONT",_wrap_wxSMALL_FONT_get
, _wrap_wxSMALL_FONT_set
);
11575 SWIG_addvarlink(SWIG_globals
,"wxITALIC_FONT",_wrap_wxITALIC_FONT_get
, _wrap_wxITALIC_FONT_set
);
11576 SWIG_addvarlink(SWIG_globals
,"wxSWISS_FONT",_wrap_wxSWISS_FONT_get
, _wrap_wxSWISS_FONT_set
);
11577 SWIG_addvarlink(SWIG_globals
,"wxRED_PEN",_wrap_wxRED_PEN_get
, _wrap_wxRED_PEN_set
);
11578 SWIG_addvarlink(SWIG_globals
,"wxCYAN_PEN",_wrap_wxCYAN_PEN_get
, _wrap_wxCYAN_PEN_set
);
11579 SWIG_addvarlink(SWIG_globals
,"wxGREEN_PEN",_wrap_wxGREEN_PEN_get
, _wrap_wxGREEN_PEN_set
);
11580 SWIG_addvarlink(SWIG_globals
,"wxBLACK_PEN",_wrap_wxBLACK_PEN_get
, _wrap_wxBLACK_PEN_set
);
11581 SWIG_addvarlink(SWIG_globals
,"wxWHITE_PEN",_wrap_wxWHITE_PEN_get
, _wrap_wxWHITE_PEN_set
);
11582 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_PEN",_wrap_wxTRANSPARENT_PEN_get
, _wrap_wxTRANSPARENT_PEN_set
);
11583 SWIG_addvarlink(SWIG_globals
,"wxBLACK_DASHED_PEN",_wrap_wxBLACK_DASHED_PEN_get
, _wrap_wxBLACK_DASHED_PEN_set
);
11584 SWIG_addvarlink(SWIG_globals
,"wxGREY_PEN",_wrap_wxGREY_PEN_get
, _wrap_wxGREY_PEN_set
);
11585 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_PEN",_wrap_wxMEDIUM_GREY_PEN_get
, _wrap_wxMEDIUM_GREY_PEN_set
);
11586 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_PEN",_wrap_wxLIGHT_GREY_PEN_get
, _wrap_wxLIGHT_GREY_PEN_set
);
11587 SWIG_addvarlink(SWIG_globals
,"wxBLUE_BRUSH",_wrap_wxBLUE_BRUSH_get
, _wrap_wxBLUE_BRUSH_set
);
11588 SWIG_addvarlink(SWIG_globals
,"wxGREEN_BRUSH",_wrap_wxGREEN_BRUSH_get
, _wrap_wxGREEN_BRUSH_set
);
11589 SWIG_addvarlink(SWIG_globals
,"wxWHITE_BRUSH",_wrap_wxWHITE_BRUSH_get
, _wrap_wxWHITE_BRUSH_set
);
11590 SWIG_addvarlink(SWIG_globals
,"wxBLACK_BRUSH",_wrap_wxBLACK_BRUSH_get
, _wrap_wxBLACK_BRUSH_set
);
11591 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_BRUSH",_wrap_wxTRANSPARENT_BRUSH_get
, _wrap_wxTRANSPARENT_BRUSH_set
);
11592 SWIG_addvarlink(SWIG_globals
,"wxCYAN_BRUSH",_wrap_wxCYAN_BRUSH_get
, _wrap_wxCYAN_BRUSH_set
);
11593 SWIG_addvarlink(SWIG_globals
,"wxRED_BRUSH",_wrap_wxRED_BRUSH_get
, _wrap_wxRED_BRUSH_set
);
11594 SWIG_addvarlink(SWIG_globals
,"wxGREY_BRUSH",_wrap_wxGREY_BRUSH_get
, _wrap_wxGREY_BRUSH_set
);
11595 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_BRUSH",_wrap_wxMEDIUM_GREY_BRUSH_get
, _wrap_wxMEDIUM_GREY_BRUSH_set
);
11596 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_BRUSH",_wrap_wxLIGHT_GREY_BRUSH_get
, _wrap_wxLIGHT_GREY_BRUSH_set
);
11597 SWIG_addvarlink(SWIG_globals
,"wxBLACK",_wrap_wxBLACK_get
, _wrap_wxBLACK_set
);
11598 SWIG_addvarlink(SWIG_globals
,"wxWHITE",_wrap_wxWHITE_get
, _wrap_wxWHITE_set
);
11599 SWIG_addvarlink(SWIG_globals
,"wxRED",_wrap_wxRED_get
, _wrap_wxRED_set
);
11600 SWIG_addvarlink(SWIG_globals
,"wxBLUE",_wrap_wxBLUE_get
, _wrap_wxBLUE_set
);
11601 SWIG_addvarlink(SWIG_globals
,"wxGREEN",_wrap_wxGREEN_get
, _wrap_wxGREEN_set
);
11602 SWIG_addvarlink(SWIG_globals
,"wxCYAN",_wrap_wxCYAN_get
, _wrap_wxCYAN_set
);
11603 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY",_wrap_wxLIGHT_GREY_get
, _wrap_wxLIGHT_GREY_set
);
11604 SWIG_addvarlink(SWIG_globals
,"wxSTANDARD_CURSOR",_wrap_wxSTANDARD_CURSOR_get
, _wrap_wxSTANDARD_CURSOR_set
);
11605 SWIG_addvarlink(SWIG_globals
,"wxHOURGLASS_CURSOR",_wrap_wxHOURGLASS_CURSOR_get
, _wrap_wxHOURGLASS_CURSOR_set
);
11606 SWIG_addvarlink(SWIG_globals
,"wxCROSS_CURSOR",_wrap_wxCROSS_CURSOR_get
, _wrap_wxCROSS_CURSOR_set
);
11607 SWIG_addvarlink(SWIG_globals
,"wxNullBitmap",_wrap_wxNullBitmap_get
, _wrap_wxNullBitmap_set
);
11608 SWIG_addvarlink(SWIG_globals
,"wxNullIcon",_wrap_wxNullIcon_get
, _wrap_wxNullIcon_set
);
11609 SWIG_addvarlink(SWIG_globals
,"wxNullCursor",_wrap_wxNullCursor_get
, _wrap_wxNullCursor_set
);
11610 SWIG_addvarlink(SWIG_globals
,"wxNullPen",_wrap_wxNullPen_get
, _wrap_wxNullPen_set
);
11611 SWIG_addvarlink(SWIG_globals
,"wxNullBrush",_wrap_wxNullBrush_get
, _wrap_wxNullBrush_set
);
11612 SWIG_addvarlink(SWIG_globals
,"wxNullPalette",_wrap_wxNullPalette_get
, _wrap_wxNullPalette_set
);
11613 SWIG_addvarlink(SWIG_globals
,"wxNullFont",_wrap_wxNullFont_get
, _wrap_wxNullFont_set
);
11614 SWIG_addvarlink(SWIG_globals
,"wxNullColour",_wrap_wxNullColour_get
, _wrap_wxNullColour_set
);
11615 SWIG_addvarlink(SWIG_globals
,"wxTheFontList",_wrap_wxTheFontList_get
, _wrap_wxTheFontList_set
);
11616 SWIG_addvarlink(SWIG_globals
,"wxThePenList",_wrap_wxThePenList_get
, _wrap_wxThePenList_set
);
11617 SWIG_addvarlink(SWIG_globals
,"wxTheBrushList",_wrap_wxTheBrushList_get
, _wrap_wxTheBrushList_set
);
11618 SWIG_addvarlink(SWIG_globals
,"wxTheColourDatabase",_wrap_wxTheColourDatabase_get
, _wrap_wxTheColourDatabase_set
);
11621 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
11622 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);