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 */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initgdic
56 #define SWIG_name "gdic"
59 #include <wx/imaglist.h>
60 #include <wx/fontmap.h>
61 #include <wx/fontenc.h>
62 #include <wx/fontmap.h>
63 #include <wx/fontutil.h>
64 #include <wx/dcbuffer.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(char* bits
, int width
, int height
, int depth
= 1 ) {
140 return new wxBitmap(bits
, width
, height
, depth
);
145 // wxBitmap* wxBitmapFromData(PyObject* data, long type,
146 // int width, int height, int depth = 1) {
147 // if (! PyString_Check(data)) {
148 // PyErr_SetString(PyExc_TypeError, "Expected string object");
151 // return new wxBitmap((void*)PyString_AsString(data), type, width, height, depth);
155 wxMask
* wxMaskColour(const wxBitmap
& bitmap
, const wxColour
& colour
) {
156 return new wxMask(bitmap
, colour
);
158 // Implementations of some alternate "constructors"
159 wxIcon
* wxEmptyIcon() {
163 wxIcon
* wxIconFromXPMData(PyObject
* listOfStrings
) {
164 char** cArray
= NULL
;
167 cArray
= ConvertListOfStrings(listOfStrings
);
170 icon
= new wxIcon(cArray
);
175 wxIcon
* wxIconFromBitmap(const wxBitmap
& bmp
) {
176 wxIcon
* icon
= new wxIcon();
177 icon
->CopyFromBitmap(bmp
);
180 // Alternate 'constructor'
181 wxCursor
* wxPyStockCursor(int id
) {
182 return new wxCursor(id
);
184 // Alternate 'constructor'
185 wxColour
* wxNamedColour(const wxString
& colorName
) {
186 return new wxColour(colorName
);
189 class wxPyPen
: public wxPen
{
191 wxPyPen(wxColour
& colour
, int width
=1, int style
=wxSOLID
)
192 : wxPen(colour
, width
, style
)
199 void SetDashes(int nb_dashes
, const wxDash
*dash
) {
202 m_dash
= new wxDash
[nb_dashes
];
203 for (int i
=0; i
<nb_dashes
; i
++) {
206 wxPen::SetDashes(nb_dashes
, m_dash
);
213 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
219 // Alternate 'constructor'
220 wxMemoryDC
* wxMemoryDCFromDC(wxDC
* oldDC
) {
221 return new wxMemoryDC(oldDC
);
225 extern wxFont
* wxNORMAL_FONT
;
226 extern wxFont
* wxSMALL_FONT
;
227 extern wxFont
* wxITALIC_FONT
;
228 extern wxFont
* wxSWISS_FONT
;
229 extern wxPen
* wxRED_PEN
;
230 extern wxPen
* wxCYAN_PEN
;
231 extern wxPen
* wxGREEN_PEN
;
232 extern wxPen
* wxBLACK_PEN
;
233 extern wxPen
* wxWHITE_PEN
;
234 extern wxPen
* wxTRANSPARENT_PEN
;
235 extern wxPen
* wxBLACK_DASHED_PEN
;
236 extern wxPen
* wxGREY_PEN
;
237 extern wxPen
* wxMEDIUM_GREY_PEN
;
238 extern wxPen
* wxLIGHT_GREY_PEN
;
239 extern wxBrush
* wxBLUE_BRUSH
;
240 extern wxBrush
* wxGREEN_BRUSH
;
241 extern wxBrush
* wxWHITE_BRUSH
;
242 extern wxBrush
* wxBLACK_BRUSH
;
243 extern wxBrush
* wxTRANSPARENT_BRUSH
;
244 extern wxBrush
* wxCYAN_BRUSH
;
245 extern wxBrush
* wxRED_BRUSH
;
246 extern wxBrush
* wxGREY_BRUSH
;
247 extern wxBrush
* wxMEDIUM_GREY_BRUSH
;
248 extern wxBrush
* wxLIGHT_GREY_BRUSH
;
249 extern wxColour
* wxBLACK
;
250 extern wxColour
* wxWHITE
;
251 extern wxColour
* wxRED
;
252 extern wxColour
* wxBLUE
;
253 extern wxColour
* wxGREEN
;
254 extern wxColour
* wxCYAN
;
255 extern wxColour
* wxLIGHT_GREY
;
256 extern wxCursor
* wxSTANDARD_CURSOR
;
257 extern wxCursor
* wxHOURGLASS_CURSOR
;
258 extern wxCursor
* wxCROSS_CURSOR
;
259 extern wxBitmap wxNullBitmap
;
260 extern wxIcon wxNullIcon
;
261 extern wxCursor wxNullCursor
;
262 extern wxPen wxNullPen
;
263 extern wxBrush wxNullBrush
;
264 extern wxPalette wxNullPalette
;
265 extern wxFont wxNullFont
;
266 extern wxColour wxNullColour
;
267 extern wxFontList
* wxTheFontList
;
268 extern wxPenList
* wxThePenList
;
269 extern wxBrushList
* wxTheBrushList
;
270 extern wxColourDatabase
* wxTheColourDatabase
;
276 static PyObject
*_wrap_wxEmptyBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
277 PyObject
* _resultobj
;
281 int _arg2
= (int ) -1;
282 char *_kwnames
[] = { "width","height","depth", NULL
};
286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ii|i:wxEmptyBitmap",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
290 _result
= (wxBitmap
*)wxEmptyBitmap(_arg0
,_arg1
,_arg2
);
292 wxPyEndAllowThreads(__tstate
);
293 if (PyErr_Occurred()) return NULL
;
295 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
296 _resultobj
= Py_BuildValue("s",_ptemp
);
299 _resultobj
= Py_None
;
304 static PyObject
*_wrap_wxBitmapFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
305 PyObject
* _resultobj
;
308 PyObject
* _obj0
= 0;
309 char *_kwnames
[] = { "listOfStrings", NULL
};
313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapFromXPMData",_kwnames
,&_obj0
))
319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
320 _result
= (wxBitmap
*)wxBitmapFromXPMData(_arg0
);
322 wxPyEndAllowThreads(__tstate
);
323 if (PyErr_Occurred()) return NULL
;
325 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
326 _resultobj
= Py_BuildValue("s",_ptemp
);
329 _resultobj
= Py_None
;
334 static PyObject
*_wrap_wxBitmapFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
335 PyObject
* _resultobj
;
338 PyObject
* _argo0
= 0;
339 char *_kwnames
[] = { "icon", NULL
};
343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapFromIcon",_kwnames
,&_argo0
))
346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapFromIcon. Expected _wxIcon_p.");
353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
354 _result
= (wxBitmap
*)wxBitmapFromIcon(*_arg0
);
356 wxPyEndAllowThreads(__tstate
);
357 if (PyErr_Occurred()) return NULL
;
359 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
360 _resultobj
= Py_BuildValue("s",_ptemp
);
363 _resultobj
= Py_None
;
368 static PyObject
*_wrap_wxBitmapFromBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
369 PyObject
* _resultobj
;
374 int _arg3
= (int ) 1;
375 char *_kwnames
[] = { "bits","width","height","depth", NULL
};
379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"sii|i:wxBitmapFromBits",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
383 _result
= (wxBitmap
*)wxBitmapFromBits(_arg0
,_arg1
,_arg2
,_arg3
);
385 wxPyEndAllowThreads(__tstate
);
386 if (PyErr_Occurred()) return NULL
;
388 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
389 _resultobj
= Py_BuildValue("s",_ptemp
);
392 _resultobj
= Py_None
;
397 static PyObject
*_wrap_wxMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
398 PyObject
* _resultobj
;
402 PyObject
* _argo0
= 0;
404 PyObject
* _obj1
= 0;
405 char *_kwnames
[] = { "bitmap","colour", NULL
};
409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMaskColour",_kwnames
,&_argo0
,&_obj1
))
412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMaskColour. Expected _wxBitmap_p.");
420 if (! wxColour_helper(_obj1
, &_arg1
))
424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
425 _result
= (wxMask
*)wxMaskColour(*_arg0
,*_arg1
);
427 wxPyEndAllowThreads(__tstate
);
428 if (PyErr_Occurred()) return NULL
;
430 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
431 _resultobj
= Py_BuildValue("s",_ptemp
);
434 _resultobj
= Py_None
;
439 static PyObject
*_wrap_wxEmptyIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
440 PyObject
* _resultobj
;
442 char *_kwnames
[] = { NULL
};
446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxEmptyIcon",_kwnames
))
449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
450 _result
= (wxIcon
*)wxEmptyIcon();
452 wxPyEndAllowThreads(__tstate
);
453 if (PyErr_Occurred()) return NULL
;
455 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
456 _resultobj
= Py_BuildValue("s",_ptemp
);
459 _resultobj
= Py_None
;
464 static PyObject
*_wrap_wxIconFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
465 PyObject
* _resultobj
;
468 PyObject
* _obj0
= 0;
469 char *_kwnames
[] = { "listOfStrings", NULL
};
473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIconFromXPMData",_kwnames
,&_obj0
))
479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
480 _result
= (wxIcon
*)wxIconFromXPMData(_arg0
);
482 wxPyEndAllowThreads(__tstate
);
483 if (PyErr_Occurred()) return NULL
;
485 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
486 _resultobj
= Py_BuildValue("s",_ptemp
);
489 _resultobj
= Py_None
;
494 static PyObject
*_wrap_wxIconFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
495 PyObject
* _resultobj
;
498 PyObject
* _argo0
= 0;
499 char *_kwnames
[] = { "bmp", NULL
};
503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIconFromBitmap",_kwnames
,&_argo0
))
506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIconFromBitmap. Expected _wxBitmap_p.");
513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
514 _result
= (wxIcon
*)wxIconFromBitmap(*_arg0
);
516 wxPyEndAllowThreads(__tstate
);
517 if (PyErr_Occurred()) return NULL
;
519 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
520 _resultobj
= Py_BuildValue("s",_ptemp
);
523 _resultobj
= Py_None
;
528 static PyObject
*_wrap_wxStockCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
529 PyObject
* _resultobj
;
532 char *_kwnames
[] = { "id", NULL
};
536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxStockCursor",_kwnames
,&_arg0
))
539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
540 _result
= (wxCursor
*)wxPyStockCursor(_arg0
);
542 wxPyEndAllowThreads(__tstate
);
543 if (PyErr_Occurred()) return NULL
;
545 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCursor_p");
546 _resultobj
= Py_BuildValue("s",_ptemp
);
549 _resultobj
= Py_None
;
554 static PyObject
*_wrap_wxNamedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
555 PyObject
* _resultobj
;
558 PyObject
* _obj0
= 0;
559 char *_kwnames
[] = { "colorName", NULL
};
563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNamedColour",_kwnames
,&_obj0
))
566 _arg0
= wxString_in_helper(_obj0
);
571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
572 _result
= (wxColour
*)wxNamedColour(*_arg0
);
574 wxPyEndAllowThreads(__tstate
);
575 if (PyErr_Occurred()) return NULL
;
577 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
578 _resultobj
= Py_BuildValue("s",_ptemp
);
581 _resultobj
= Py_None
;
590 static PyObject
*_wrap_wxMemoryDCFromDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
591 PyObject
* _resultobj
;
592 wxMemoryDC
* _result
;
594 PyObject
* _argo0
= 0;
595 char *_kwnames
[] = { "oldDC", NULL
};
599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMemoryDCFromDC",_kwnames
,&_argo0
))
602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDCFromDC. Expected _wxDC_p.");
609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
610 _result
= (wxMemoryDC
*)wxMemoryDCFromDC(_arg0
);
612 wxPyEndAllowThreads(__tstate
);
613 if (PyErr_Occurred()) return NULL
;
615 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
616 _resultobj
= Py_BuildValue("s",_ptemp
);
619 _resultobj
= Py_None
;
624 static int _wrap_wxNORMAL_FONT_set(PyObject
*val
) {
626 PyErr_SetString(PyExc_TypeError
,"Variable wxNORMAL_FONT is read-only.");
630 static PyObject
*_wrap_wxNORMAL_FONT_get() {
634 SWIG_MakePtr(ptemp
, (char *) wxNORMAL_FONT
,"_wxFont_p");
635 pyobj
= PyString_FromString(ptemp
);
639 static int _wrap_wxSMALL_FONT_set(PyObject
*val
) {
641 PyErr_SetString(PyExc_TypeError
,"Variable wxSMALL_FONT is read-only.");
645 static PyObject
*_wrap_wxSMALL_FONT_get() {
649 SWIG_MakePtr(ptemp
, (char *) wxSMALL_FONT
,"_wxFont_p");
650 pyobj
= PyString_FromString(ptemp
);
654 static int _wrap_wxITALIC_FONT_set(PyObject
*val
) {
656 PyErr_SetString(PyExc_TypeError
,"Variable wxITALIC_FONT is read-only.");
660 static PyObject
*_wrap_wxITALIC_FONT_get() {
664 SWIG_MakePtr(ptemp
, (char *) wxITALIC_FONT
,"_wxFont_p");
665 pyobj
= PyString_FromString(ptemp
);
669 static int _wrap_wxSWISS_FONT_set(PyObject
*val
) {
671 PyErr_SetString(PyExc_TypeError
,"Variable wxSWISS_FONT is read-only.");
675 static PyObject
*_wrap_wxSWISS_FONT_get() {
679 SWIG_MakePtr(ptemp
, (char *) wxSWISS_FONT
,"_wxFont_p");
680 pyobj
= PyString_FromString(ptemp
);
684 static int _wrap_wxRED_PEN_set(PyObject
*val
) {
686 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_PEN is read-only.");
690 static PyObject
*_wrap_wxRED_PEN_get() {
694 SWIG_MakePtr(ptemp
, (char *) wxRED_PEN
,"_wxPen_p");
695 pyobj
= PyString_FromString(ptemp
);
699 static int _wrap_wxCYAN_PEN_set(PyObject
*val
) {
701 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_PEN is read-only.");
705 static PyObject
*_wrap_wxCYAN_PEN_get() {
709 SWIG_MakePtr(ptemp
, (char *) wxCYAN_PEN
,"_wxPen_p");
710 pyobj
= PyString_FromString(ptemp
);
714 static int _wrap_wxGREEN_PEN_set(PyObject
*val
) {
716 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_PEN is read-only.");
720 static PyObject
*_wrap_wxGREEN_PEN_get() {
724 SWIG_MakePtr(ptemp
, (char *) wxGREEN_PEN
,"_wxPen_p");
725 pyobj
= PyString_FromString(ptemp
);
729 static int _wrap_wxBLACK_PEN_set(PyObject
*val
) {
731 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_PEN is read-only.");
735 static PyObject
*_wrap_wxBLACK_PEN_get() {
739 SWIG_MakePtr(ptemp
, (char *) wxBLACK_PEN
,"_wxPen_p");
740 pyobj
= PyString_FromString(ptemp
);
744 static int _wrap_wxWHITE_PEN_set(PyObject
*val
) {
746 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_PEN is read-only.");
750 static PyObject
*_wrap_wxWHITE_PEN_get() {
754 SWIG_MakePtr(ptemp
, (char *) wxWHITE_PEN
,"_wxPen_p");
755 pyobj
= PyString_FromString(ptemp
);
759 static int _wrap_wxTRANSPARENT_PEN_set(PyObject
*val
) {
761 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_PEN is read-only.");
765 static PyObject
*_wrap_wxTRANSPARENT_PEN_get() {
769 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_PEN
,"_wxPen_p");
770 pyobj
= PyString_FromString(ptemp
);
774 static int _wrap_wxBLACK_DASHED_PEN_set(PyObject
*val
) {
776 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_DASHED_PEN is read-only.");
780 static PyObject
*_wrap_wxBLACK_DASHED_PEN_get() {
784 SWIG_MakePtr(ptemp
, (char *) wxBLACK_DASHED_PEN
,"_wxPen_p");
785 pyobj
= PyString_FromString(ptemp
);
789 static int _wrap_wxGREY_PEN_set(PyObject
*val
) {
791 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_PEN is read-only.");
795 static PyObject
*_wrap_wxGREY_PEN_get() {
799 SWIG_MakePtr(ptemp
, (char *) wxGREY_PEN
,"_wxPen_p");
800 pyobj
= PyString_FromString(ptemp
);
804 static int _wrap_wxMEDIUM_GREY_PEN_set(PyObject
*val
) {
806 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_PEN is read-only.");
810 static PyObject
*_wrap_wxMEDIUM_GREY_PEN_get() {
814 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_PEN
,"_wxPen_p");
815 pyobj
= PyString_FromString(ptemp
);
819 static int _wrap_wxLIGHT_GREY_PEN_set(PyObject
*val
) {
821 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_PEN is read-only.");
825 static PyObject
*_wrap_wxLIGHT_GREY_PEN_get() {
829 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_PEN
,"_wxPen_p");
830 pyobj
= PyString_FromString(ptemp
);
834 static int _wrap_wxBLUE_BRUSH_set(PyObject
*val
) {
836 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE_BRUSH is read-only.");
840 static PyObject
*_wrap_wxBLUE_BRUSH_get() {
844 SWIG_MakePtr(ptemp
, (char *) wxBLUE_BRUSH
,"_wxBrush_p");
845 pyobj
= PyString_FromString(ptemp
);
849 static int _wrap_wxGREEN_BRUSH_set(PyObject
*val
) {
851 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_BRUSH is read-only.");
855 static PyObject
*_wrap_wxGREEN_BRUSH_get() {
859 SWIG_MakePtr(ptemp
, (char *) wxGREEN_BRUSH
,"_wxBrush_p");
860 pyobj
= PyString_FromString(ptemp
);
864 static int _wrap_wxWHITE_BRUSH_set(PyObject
*val
) {
866 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_BRUSH is read-only.");
870 static PyObject
*_wrap_wxWHITE_BRUSH_get() {
874 SWIG_MakePtr(ptemp
, (char *) wxWHITE_BRUSH
,"_wxBrush_p");
875 pyobj
= PyString_FromString(ptemp
);
879 static int _wrap_wxBLACK_BRUSH_set(PyObject
*val
) {
881 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_BRUSH is read-only.");
885 static PyObject
*_wrap_wxBLACK_BRUSH_get() {
889 SWIG_MakePtr(ptemp
, (char *) wxBLACK_BRUSH
,"_wxBrush_p");
890 pyobj
= PyString_FromString(ptemp
);
894 static int _wrap_wxTRANSPARENT_BRUSH_set(PyObject
*val
) {
896 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_BRUSH is read-only.");
900 static PyObject
*_wrap_wxTRANSPARENT_BRUSH_get() {
904 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_BRUSH
,"_wxBrush_p");
905 pyobj
= PyString_FromString(ptemp
);
909 static int _wrap_wxCYAN_BRUSH_set(PyObject
*val
) {
911 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_BRUSH is read-only.");
915 static PyObject
*_wrap_wxCYAN_BRUSH_get() {
919 SWIG_MakePtr(ptemp
, (char *) wxCYAN_BRUSH
,"_wxBrush_p");
920 pyobj
= PyString_FromString(ptemp
);
924 static int _wrap_wxRED_BRUSH_set(PyObject
*val
) {
926 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_BRUSH is read-only.");
930 static PyObject
*_wrap_wxRED_BRUSH_get() {
934 SWIG_MakePtr(ptemp
, (char *) wxRED_BRUSH
,"_wxBrush_p");
935 pyobj
= PyString_FromString(ptemp
);
939 static int _wrap_wxGREY_BRUSH_set(PyObject
*val
) {
941 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_BRUSH is read-only.");
945 static PyObject
*_wrap_wxGREY_BRUSH_get() {
949 SWIG_MakePtr(ptemp
, (char *) wxGREY_BRUSH
,"_wxBrush_p");
950 pyobj
= PyString_FromString(ptemp
);
954 static int _wrap_wxMEDIUM_GREY_BRUSH_set(PyObject
*val
) {
956 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_BRUSH is read-only.");
960 static PyObject
*_wrap_wxMEDIUM_GREY_BRUSH_get() {
964 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_BRUSH
,"_wxBrush_p");
965 pyobj
= PyString_FromString(ptemp
);
969 static int _wrap_wxLIGHT_GREY_BRUSH_set(PyObject
*val
) {
971 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_BRUSH is read-only.");
975 static PyObject
*_wrap_wxLIGHT_GREY_BRUSH_get() {
979 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_BRUSH
,"_wxBrush_p");
980 pyobj
= PyString_FromString(ptemp
);
984 static int _wrap_wxBLACK_set(PyObject
*val
) {
986 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK is read-only.");
990 static PyObject
*_wrap_wxBLACK_get() {
994 SWIG_MakePtr(ptemp
, (char *) wxBLACK
,"_wxColour_p");
995 pyobj
= PyString_FromString(ptemp
);
999 static int _wrap_wxWHITE_set(PyObject
*val
) {
1001 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE is read-only.");
1005 static PyObject
*_wrap_wxWHITE_get() {
1009 SWIG_MakePtr(ptemp
, (char *) wxWHITE
,"_wxColour_p");
1010 pyobj
= PyString_FromString(ptemp
);
1014 static int _wrap_wxRED_set(PyObject
*val
) {
1016 PyErr_SetString(PyExc_TypeError
,"Variable wxRED is read-only.");
1020 static PyObject
*_wrap_wxRED_get() {
1024 SWIG_MakePtr(ptemp
, (char *) wxRED
,"_wxColour_p");
1025 pyobj
= PyString_FromString(ptemp
);
1029 static int _wrap_wxBLUE_set(PyObject
*val
) {
1031 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE is read-only.");
1035 static PyObject
*_wrap_wxBLUE_get() {
1039 SWIG_MakePtr(ptemp
, (char *) wxBLUE
,"_wxColour_p");
1040 pyobj
= PyString_FromString(ptemp
);
1044 static int _wrap_wxGREEN_set(PyObject
*val
) {
1046 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN is read-only.");
1050 static PyObject
*_wrap_wxGREEN_get() {
1054 SWIG_MakePtr(ptemp
, (char *) wxGREEN
,"_wxColour_p");
1055 pyobj
= PyString_FromString(ptemp
);
1059 static int _wrap_wxCYAN_set(PyObject
*val
) {
1061 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN is read-only.");
1065 static PyObject
*_wrap_wxCYAN_get() {
1069 SWIG_MakePtr(ptemp
, (char *) wxCYAN
,"_wxColour_p");
1070 pyobj
= PyString_FromString(ptemp
);
1074 static int _wrap_wxLIGHT_GREY_set(PyObject
*val
) {
1076 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY is read-only.");
1080 static PyObject
*_wrap_wxLIGHT_GREY_get() {
1084 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY
,"_wxColour_p");
1085 pyobj
= PyString_FromString(ptemp
);
1089 static int _wrap_wxSTANDARD_CURSOR_set(PyObject
*val
) {
1091 PyErr_SetString(PyExc_TypeError
,"Variable wxSTANDARD_CURSOR is read-only.");
1095 static PyObject
*_wrap_wxSTANDARD_CURSOR_get() {
1099 SWIG_MakePtr(ptemp
, (char *) wxSTANDARD_CURSOR
,"_wxCursor_p");
1100 pyobj
= PyString_FromString(ptemp
);
1104 static int _wrap_wxHOURGLASS_CURSOR_set(PyObject
*val
) {
1106 PyErr_SetString(PyExc_TypeError
,"Variable wxHOURGLASS_CURSOR is read-only.");
1110 static PyObject
*_wrap_wxHOURGLASS_CURSOR_get() {
1114 SWIG_MakePtr(ptemp
, (char *) wxHOURGLASS_CURSOR
,"_wxCursor_p");
1115 pyobj
= PyString_FromString(ptemp
);
1119 static int _wrap_wxCROSS_CURSOR_set(PyObject
*val
) {
1121 PyErr_SetString(PyExc_TypeError
,"Variable wxCROSS_CURSOR is read-only.");
1125 static PyObject
*_wrap_wxCROSS_CURSOR_get() {
1129 SWIG_MakePtr(ptemp
, (char *) wxCROSS_CURSOR
,"_wxCursor_p");
1130 pyobj
= PyString_FromString(ptemp
);
1134 static int _wrap_wxNullBitmap_set(PyObject
*val
) {
1136 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBitmap is read-only.");
1140 static PyObject
*_wrap_wxNullBitmap_get() {
1144 SWIG_MakePtr(ptemp
,(char *) &wxNullBitmap
,"_wxBitmap_p");
1145 pyobj
= PyString_FromString(ptemp
);
1149 static int _wrap_wxNullIcon_set(PyObject
*val
) {
1151 PyErr_SetString(PyExc_TypeError
,"Variable wxNullIcon is read-only.");
1155 static PyObject
*_wrap_wxNullIcon_get() {
1159 SWIG_MakePtr(ptemp
,(char *) &wxNullIcon
,"_wxIcon_p");
1160 pyobj
= PyString_FromString(ptemp
);
1164 static int _wrap_wxNullCursor_set(PyObject
*val
) {
1166 PyErr_SetString(PyExc_TypeError
,"Variable wxNullCursor is read-only.");
1170 static PyObject
*_wrap_wxNullCursor_get() {
1174 SWIG_MakePtr(ptemp
,(char *) &wxNullCursor
,"_wxCursor_p");
1175 pyobj
= PyString_FromString(ptemp
);
1179 static int _wrap_wxNullPen_set(PyObject
*val
) {
1181 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPen is read-only.");
1185 static PyObject
*_wrap_wxNullPen_get() {
1189 SWIG_MakePtr(ptemp
,(char *) &wxNullPen
,"_wxPen_p");
1190 pyobj
= PyString_FromString(ptemp
);
1194 static int _wrap_wxNullBrush_set(PyObject
*val
) {
1196 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBrush is read-only.");
1200 static PyObject
*_wrap_wxNullBrush_get() {
1204 SWIG_MakePtr(ptemp
,(char *) &wxNullBrush
,"_wxBrush_p");
1205 pyobj
= PyString_FromString(ptemp
);
1209 static int _wrap_wxNullPalette_set(PyObject
*val
) {
1211 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPalette is read-only.");
1215 static PyObject
*_wrap_wxNullPalette_get() {
1219 SWIG_MakePtr(ptemp
,(char *) &wxNullPalette
,"_wxPalette_p");
1220 pyobj
= PyString_FromString(ptemp
);
1224 static int _wrap_wxNullFont_set(PyObject
*val
) {
1226 PyErr_SetString(PyExc_TypeError
,"Variable wxNullFont is read-only.");
1230 static PyObject
*_wrap_wxNullFont_get() {
1234 SWIG_MakePtr(ptemp
,(char *) &wxNullFont
,"_wxFont_p");
1235 pyobj
= PyString_FromString(ptemp
);
1239 static int _wrap_wxNullColour_set(PyObject
*val
) {
1241 PyErr_SetString(PyExc_TypeError
,"Variable wxNullColour is read-only.");
1245 static PyObject
*_wrap_wxNullColour_get() {
1249 SWIG_MakePtr(ptemp
,(char *) &wxNullColour
,"_wxColour_p");
1250 pyobj
= PyString_FromString(ptemp
);
1254 static int _wrap_wxTheFontList_set(PyObject
*val
) {
1256 PyErr_SetString(PyExc_TypeError
,"Variable wxTheFontList is read-only.");
1260 static PyObject
*_wrap_wxTheFontList_get() {
1264 SWIG_MakePtr(ptemp
, (char *) wxTheFontList
,"_wxFontList_p");
1265 pyobj
= PyString_FromString(ptemp
);
1269 static int _wrap_wxThePenList_set(PyObject
*val
) {
1271 PyErr_SetString(PyExc_TypeError
,"Variable wxThePenList is read-only.");
1275 static PyObject
*_wrap_wxThePenList_get() {
1279 SWIG_MakePtr(ptemp
, (char *) wxThePenList
,"_wxPenList_p");
1280 pyobj
= PyString_FromString(ptemp
);
1284 static int _wrap_wxTheBrushList_set(PyObject
*val
) {
1286 PyErr_SetString(PyExc_TypeError
,"Variable wxTheBrushList is read-only.");
1290 static PyObject
*_wrap_wxTheBrushList_get() {
1294 SWIG_MakePtr(ptemp
, (char *) wxTheBrushList
,"_wxBrushList_p");
1295 pyobj
= PyString_FromString(ptemp
);
1299 static int _wrap_wxTheColourDatabase_set(PyObject
*val
) {
1301 PyErr_SetString(PyExc_TypeError
,"Variable wxTheColourDatabase is read-only.");
1305 static PyObject
*_wrap_wxTheColourDatabase_get() {
1309 SWIG_MakePtr(ptemp
, (char *) wxTheColourDatabase
,"_wxColourDatabase_p");
1310 pyobj
= PyString_FromString(ptemp
);
1314 static void *SwigwxGDIObjectTowxObject(void *ptr
) {
1317 src
= (wxGDIObject
*) ptr
;
1318 dest
= (wxObject
*) src
;
1319 return (void *) dest
;
1322 #define new_wxGDIObject() (new wxGDIObject())
1323 static PyObject
*_wrap_new_wxGDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1324 PyObject
* _resultobj
;
1325 wxGDIObject
* _result
;
1326 char *_kwnames
[] = { NULL
};
1330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGDIObject",_kwnames
))
1333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1334 _result
= (wxGDIObject
*)new_wxGDIObject();
1336 wxPyEndAllowThreads(__tstate
);
1337 if (PyErr_Occurred()) return NULL
;
1339 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGDIObject_p");
1340 _resultobj
= Py_BuildValue("s",_ptemp
);
1343 _resultobj
= Py_None
;
1348 #define delete_wxGDIObject(_swigobj) (delete _swigobj)
1349 static PyObject
*_wrap_delete_wxGDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1350 PyObject
* _resultobj
;
1351 wxGDIObject
* _arg0
;
1352 PyObject
* _argo0
= 0;
1353 char *_kwnames
[] = { "self", NULL
};
1356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxGDIObject",_kwnames
,&_argo0
))
1359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGDIObject_p")) {
1361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxGDIObject. Expected _wxGDIObject_p.");
1366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1367 delete_wxGDIObject(_arg0
);
1369 wxPyEndAllowThreads(__tstate
);
1370 if (PyErr_Occurred()) return NULL
;
1371 } Py_INCREF(Py_None
);
1372 _resultobj
= Py_None
;
1376 #define wxGDIObject_GetVisible(_swigobj) (_swigobj->GetVisible())
1377 static PyObject
*_wrap_wxGDIObject_GetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1378 PyObject
* _resultobj
;
1380 wxGDIObject
* _arg0
;
1381 PyObject
* _argo0
= 0;
1382 char *_kwnames
[] = { "self", NULL
};
1385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGDIObject_GetVisible",_kwnames
,&_argo0
))
1388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGDIObject_p")) {
1390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGDIObject_GetVisible. Expected _wxGDIObject_p.");
1395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1396 _result
= (bool )wxGDIObject_GetVisible(_arg0
);
1398 wxPyEndAllowThreads(__tstate
);
1399 if (PyErr_Occurred()) return NULL
;
1400 } _resultobj
= Py_BuildValue("i",_result
);
1404 #define wxGDIObject_SetVisible(_swigobj,_swigarg0) (_swigobj->SetVisible(_swigarg0))
1405 static PyObject
*_wrap_wxGDIObject_SetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1406 PyObject
* _resultobj
;
1407 wxGDIObject
* _arg0
;
1409 PyObject
* _argo0
= 0;
1411 char *_kwnames
[] = { "self","visible", NULL
};
1414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGDIObject_SetVisible",_kwnames
,&_argo0
,&tempbool1
))
1417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGDIObject_p")) {
1419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGDIObject_SetVisible. Expected _wxGDIObject_p.");
1423 _arg1
= (bool ) tempbool1
;
1425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1426 wxGDIObject_SetVisible(_arg0
,_arg1
);
1428 wxPyEndAllowThreads(__tstate
);
1429 if (PyErr_Occurred()) return NULL
;
1430 } Py_INCREF(Py_None
);
1431 _resultobj
= Py_None
;
1435 #define wxGDIObject_IsNull(_swigobj) (_swigobj->IsNull())
1436 static PyObject
*_wrap_wxGDIObject_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1437 PyObject
* _resultobj
;
1439 wxGDIObject
* _arg0
;
1440 PyObject
* _argo0
= 0;
1441 char *_kwnames
[] = { "self", NULL
};
1444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGDIObject_IsNull",_kwnames
,&_argo0
))
1447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGDIObject_p")) {
1449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGDIObject_IsNull. Expected _wxGDIObject_p.");
1454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1455 _result
= (bool )wxGDIObject_IsNull(_arg0
);
1457 wxPyEndAllowThreads(__tstate
);
1458 if (PyErr_Occurred()) return NULL
;
1459 } _resultobj
= Py_BuildValue("i",_result
);
1463 static void *SwigwxBitmapTowxGDIObject(void *ptr
) {
1466 src
= (wxBitmap
*) ptr
;
1467 dest
= (wxGDIObject
*) src
;
1468 return (void *) dest
;
1471 static void *SwigwxBitmapTowxObject(void *ptr
) {
1474 src
= (wxBitmap
*) ptr
;
1475 dest
= (wxObject
*) src
;
1476 return (void *) dest
;
1479 #define new_wxBitmap(_swigarg0,_swigarg1) (new wxBitmap(_swigarg0,_swigarg1))
1480 static PyObject
*_wrap_new_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1481 PyObject
* _resultobj
;
1484 wxBitmapType _arg1
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
1485 PyObject
* _obj0
= 0;
1486 char *_kwnames
[] = { "name","type", NULL
};
1490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxBitmap",_kwnames
,&_obj0
,&_arg1
))
1493 _arg0
= wxString_in_helper(_obj0
);
1498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1499 _result
= (wxBitmap
*)new_wxBitmap(*_arg0
,_arg1
);
1501 wxPyEndAllowThreads(__tstate
);
1502 if (PyErr_Occurred()) return NULL
;
1504 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1505 _resultobj
= Py_BuildValue("s",_ptemp
);
1508 _resultobj
= Py_None
;
1517 #define delete_wxBitmap(_swigobj) (delete _swigobj)
1518 static PyObject
*_wrap_delete_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1519 PyObject
* _resultobj
;
1521 PyObject
* _argo0
= 0;
1522 char *_kwnames
[] = { "self", NULL
};
1525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBitmap",_kwnames
,&_argo0
))
1528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBitmap. Expected _wxBitmap_p.");
1535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1536 delete_wxBitmap(_arg0
);
1538 wxPyEndAllowThreads(__tstate
);
1539 if (PyErr_Occurred()) return NULL
;
1540 } Py_INCREF(Py_None
);
1541 _resultobj
= Py_None
;
1545 #define wxBitmap_GetPalette(_swigobj) (_swigobj->GetPalette())
1546 static PyObject
*_wrap_wxBitmap_GetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1547 PyObject
* _resultobj
;
1548 wxPalette
* _result
;
1550 PyObject
* _argo0
= 0;
1551 char *_kwnames
[] = { "self", NULL
};
1555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetPalette",_kwnames
,&_argo0
))
1558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetPalette. Expected _wxBitmap_p.");
1565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1566 _result
= (wxPalette
*)wxBitmap_GetPalette(_arg0
);
1568 wxPyEndAllowThreads(__tstate
);
1569 if (PyErr_Occurred()) return NULL
;
1571 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
1572 _resultobj
= Py_BuildValue("s",_ptemp
);
1575 _resultobj
= Py_None
;
1580 #define wxBitmap_GetMask(_swigobj) (_swigobj->GetMask())
1581 static PyObject
*_wrap_wxBitmap_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1582 PyObject
* _resultobj
;
1585 PyObject
* _argo0
= 0;
1586 char *_kwnames
[] = { "self", NULL
};
1590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetMask",_kwnames
,&_argo0
))
1593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetMask. Expected _wxBitmap_p.");
1600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1601 _result
= (wxMask
*)wxBitmap_GetMask(_arg0
);
1603 wxPyEndAllowThreads(__tstate
);
1604 if (PyErr_Occurred()) return NULL
;
1606 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
1607 _resultobj
= Py_BuildValue("s",_ptemp
);
1610 _resultobj
= Py_None
;
1615 #define wxBitmap_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1616 static PyObject
*_wrap_wxBitmap_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1617 PyObject
* _resultobj
;
1621 wxBitmapType _arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
1622 PyObject
* _argo0
= 0;
1623 PyObject
* _obj1
= 0;
1624 char *_kwnames
[] = { "self","name","type", NULL
};
1627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxBitmap_LoadFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_LoadFile. Expected _wxBitmap_p.");
1637 _arg1
= wxString_in_helper(_obj1
);
1642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1643 _result
= (bool )wxBitmap_LoadFile(_arg0
,*_arg1
,_arg2
);
1645 wxPyEndAllowThreads(__tstate
);
1646 if (PyErr_Occurred()) return NULL
;
1647 } _resultobj
= Py_BuildValue("i",_result
);
1655 #define wxBitmap_SaveFile(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SaveFile(_swigarg0,_swigarg1,_swigarg2))
1656 static PyObject
*_wrap_wxBitmap_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1657 PyObject
* _resultobj
;
1662 wxPalette
* _arg3
= (wxPalette
*) NULL
;
1663 PyObject
* _argo0
= 0;
1664 PyObject
* _obj1
= 0;
1665 PyObject
* _argo3
= 0;
1666 char *_kwnames
[] = { "self","name","type","palette", NULL
};
1669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|O:wxBitmap_SaveFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_argo3
))
1672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SaveFile. Expected _wxBitmap_p.");
1679 _arg1
= wxString_in_helper(_obj1
);
1684 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1685 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxPalette_p")) {
1686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxBitmap_SaveFile. Expected _wxPalette_p.");
1691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1692 _result
= (bool )wxBitmap_SaveFile(_arg0
,*_arg1
,_arg2
,_arg3
);
1694 wxPyEndAllowThreads(__tstate
);
1695 if (PyErr_Occurred()) return NULL
;
1696 } _resultobj
= Py_BuildValue("i",_result
);
1704 #define wxBitmap_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
1705 static PyObject
*_wrap_wxBitmap_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1706 PyObject
* _resultobj
;
1709 PyObject
* _argo0
= 0;
1710 PyObject
* _argo1
= 0;
1711 char *_kwnames
[] = { "self","mask", NULL
};
1714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_SetMask",_kwnames
,&_argo0
,&_argo1
))
1717 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1718 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetMask. Expected _wxBitmap_p.");
1724 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1725 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMask_p")) {
1726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_SetMask. Expected _wxMask_p.");
1731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1732 wxBitmap_SetMask(_arg0
,_arg1
);
1734 wxPyEndAllowThreads(__tstate
);
1735 if (PyErr_Occurred()) return NULL
;
1736 } Py_INCREF(Py_None
);
1737 _resultobj
= Py_None
;
1741 #define wxBitmap_Ok(_swigobj) (_swigobj->Ok())
1742 static PyObject
*_wrap_wxBitmap_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1743 PyObject
* _resultobj
;
1746 PyObject
* _argo0
= 0;
1747 char *_kwnames
[] = { "self", NULL
};
1750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_Ok",_kwnames
,&_argo0
))
1753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_Ok. Expected _wxBitmap_p.");
1760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1761 _result
= (bool )wxBitmap_Ok(_arg0
);
1763 wxPyEndAllowThreads(__tstate
);
1764 if (PyErr_Occurred()) return NULL
;
1765 } _resultobj
= Py_BuildValue("i",_result
);
1769 #define wxBitmap_GetWidth(_swigobj) (_swigobj->GetWidth())
1770 static PyObject
*_wrap_wxBitmap_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1771 PyObject
* _resultobj
;
1774 PyObject
* _argo0
= 0;
1775 char *_kwnames
[] = { "self", NULL
};
1778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetWidth",_kwnames
,&_argo0
))
1781 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1782 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetWidth. Expected _wxBitmap_p.");
1788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1789 _result
= (int )wxBitmap_GetWidth(_arg0
);
1791 wxPyEndAllowThreads(__tstate
);
1792 if (PyErr_Occurred()) return NULL
;
1793 } _resultobj
= Py_BuildValue("i",_result
);
1797 #define wxBitmap_GetHeight(_swigobj) (_swigobj->GetHeight())
1798 static PyObject
*_wrap_wxBitmap_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1799 PyObject
* _resultobj
;
1802 PyObject
* _argo0
= 0;
1803 char *_kwnames
[] = { "self", NULL
};
1806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetHeight",_kwnames
,&_argo0
))
1809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetHeight. Expected _wxBitmap_p.");
1816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1817 _result
= (int )wxBitmap_GetHeight(_arg0
);
1819 wxPyEndAllowThreads(__tstate
);
1820 if (PyErr_Occurred()) return NULL
;
1821 } _resultobj
= Py_BuildValue("i",_result
);
1825 #define wxBitmap_GetDepth(_swigobj) (_swigobj->GetDepth())
1826 static PyObject
*_wrap_wxBitmap_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1827 PyObject
* _resultobj
;
1830 PyObject
* _argo0
= 0;
1831 char *_kwnames
[] = { "self", NULL
};
1834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetDepth",_kwnames
,&_argo0
))
1837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetDepth. Expected _wxBitmap_p.");
1844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1845 _result
= (int )wxBitmap_GetDepth(_arg0
);
1847 wxPyEndAllowThreads(__tstate
);
1848 if (PyErr_Occurred()) return NULL
;
1849 } _resultobj
= Py_BuildValue("i",_result
);
1853 #define wxBitmap_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1854 static PyObject
*_wrap_wxBitmap_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1855 PyObject
* _resultobj
;
1858 PyObject
* _argo0
= 0;
1859 char *_kwnames
[] = { "self","w", NULL
};
1862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetWidth",_kwnames
,&_argo0
,&_arg1
))
1865 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1866 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetWidth. Expected _wxBitmap_p.");
1872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1873 wxBitmap_SetWidth(_arg0
,_arg1
);
1875 wxPyEndAllowThreads(__tstate
);
1876 if (PyErr_Occurred()) return NULL
;
1877 } Py_INCREF(Py_None
);
1878 _resultobj
= Py_None
;
1882 #define wxBitmap_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1883 static PyObject
*_wrap_wxBitmap_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1884 PyObject
* _resultobj
;
1887 PyObject
* _argo0
= 0;
1888 char *_kwnames
[] = { "self","h", NULL
};
1891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetHeight",_kwnames
,&_argo0
,&_arg1
))
1894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetHeight. Expected _wxBitmap_p.");
1901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1902 wxBitmap_SetHeight(_arg0
,_arg1
);
1904 wxPyEndAllowThreads(__tstate
);
1905 if (PyErr_Occurred()) return NULL
;
1906 } Py_INCREF(Py_None
);
1907 _resultobj
= Py_None
;
1911 #define wxBitmap_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
1912 static PyObject
*_wrap_wxBitmap_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1913 PyObject
* _resultobj
;
1916 PyObject
* _argo0
= 0;
1917 char *_kwnames
[] = { "self","d", NULL
};
1920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetDepth",_kwnames
,&_argo0
,&_arg1
))
1923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetDepth. Expected _wxBitmap_p.");
1930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1931 wxBitmap_SetDepth(_arg0
,_arg1
);
1933 wxPyEndAllowThreads(__tstate
);
1934 if (PyErr_Occurred()) return NULL
;
1935 } Py_INCREF(Py_None
);
1936 _resultobj
= Py_None
;
1940 #define wxBitmap_GetSubBitmap(_swigobj,_swigarg0) (_swigobj->GetSubBitmap(_swigarg0))
1941 static PyObject
*_wrap_wxBitmap_GetSubBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1942 PyObject
* _resultobj
;
1946 PyObject
* _argo0
= 0;
1948 PyObject
* _obj1
= 0;
1949 char *_kwnames
[] = { "self","rect", NULL
};
1953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_GetSubBitmap",_kwnames
,&_argo0
,&_obj1
))
1956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetSubBitmap. Expected _wxBitmap_p.");
1964 if (! wxRect_helper(_obj1
, &_arg1
))
1968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1969 _result
= new wxBitmap (wxBitmap_GetSubBitmap(_arg0
,*_arg1
));
1971 wxPyEndAllowThreads(__tstate
);
1972 if (PyErr_Occurred()) return NULL
;
1973 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1974 _resultobj
= Py_BuildValue("s",_ptemp
);
1978 #define wxBitmap_CopyFromIcon(_swigobj,_swigarg0) (_swigobj->CopyFromIcon(_swigarg0))
1979 static PyObject
*_wrap_wxBitmap_CopyFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1980 PyObject
* _resultobj
;
1984 PyObject
* _argo0
= 0;
1985 PyObject
* _argo1
= 0;
1986 char *_kwnames
[] = { "self","icon", NULL
};
1989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_CopyFromIcon",_kwnames
,&_argo0
,&_argo1
))
1992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_CopyFromIcon. Expected _wxBitmap_p.");
1999 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2000 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
2001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_CopyFromIcon. Expected _wxIcon_p.");
2006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2007 _result
= (bool )wxBitmap_CopyFromIcon(_arg0
,*_arg1
);
2009 wxPyEndAllowThreads(__tstate
);
2010 if (PyErr_Occurred()) return NULL
;
2011 } _resultobj
= Py_BuildValue("i",_result
);
2015 static void *SwigwxMaskTowxObject(void *ptr
) {
2018 src
= (wxMask
*) ptr
;
2019 dest
= (wxObject
*) src
;
2020 return (void *) dest
;
2023 #define new_wxMask(_swigarg0) (new wxMask(_swigarg0))
2024 static PyObject
*_wrap_new_wxMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2025 PyObject
* _resultobj
;
2028 PyObject
* _argo0
= 0;
2029 char *_kwnames
[] = { "bitmap", NULL
};
2033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxMask",_kwnames
,&_argo0
))
2036 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2037 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
2038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMask. Expected _wxBitmap_p.");
2043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2044 _result
= (wxMask
*)new_wxMask(*_arg0
);
2046 wxPyEndAllowThreads(__tstate
);
2047 if (PyErr_Occurred()) return NULL
;
2049 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
2050 _resultobj
= Py_BuildValue("s",_ptemp
);
2053 _resultobj
= Py_None
;
2058 static void wxMask_Destroy(wxMask
*self
) { delete self
; }
2059 static PyObject
*_wrap_wxMask_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2060 PyObject
* _resultobj
;
2062 PyObject
* _argo0
= 0;
2063 char *_kwnames
[] = { "self", NULL
};
2066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMask_Destroy",_kwnames
,&_argo0
))
2069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMask_p")) {
2071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMask_Destroy. Expected _wxMask_p.");
2076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2077 wxMask_Destroy(_arg0
);
2079 wxPyEndAllowThreads(__tstate
);
2080 if (PyErr_Occurred()) return NULL
;
2081 } Py_INCREF(Py_None
);
2082 _resultobj
= Py_None
;
2086 static void *SwigwxIconTowxGDIObject(void *ptr
) {
2089 src
= (wxIcon
*) ptr
;
2090 dest
= (wxGDIObject
*) src
;
2091 return (void *) dest
;
2094 static void *SwigwxIconTowxObject(void *ptr
) {
2097 src
= (wxIcon
*) ptr
;
2098 dest
= (wxObject
*) src
;
2099 return (void *) dest
;
2102 #define new_wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2103 static PyObject
*_wrap_new_wxIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2104 PyObject
* _resultobj
;
2108 int _arg2
= (int ) -1;
2109 int _arg3
= (int ) -1;
2110 PyObject
* _obj0
= 0;
2111 char *_kwnames
[] = { "name","flags","desiredWidth","desiredHeight", NULL
};
2115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:new_wxIcon",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
))
2118 _arg0
= wxString_in_helper(_obj0
);
2123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2124 _result
= (wxIcon
*)new_wxIcon(*_arg0
,_arg1
,_arg2
,_arg3
);
2126 wxPyEndAllowThreads(__tstate
);
2127 if (PyErr_Occurred()) return NULL
;
2129 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
2130 _resultobj
= Py_BuildValue("s",_ptemp
);
2133 _resultobj
= Py_None
;
2142 #define delete_wxIcon(_swigobj) (delete _swigobj)
2143 static PyObject
*_wrap_delete_wxIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2144 PyObject
* _resultobj
;
2146 PyObject
* _argo0
= 0;
2147 char *_kwnames
[] = { "self", NULL
};
2150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxIcon",_kwnames
,&_argo0
))
2153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxIcon. Expected _wxIcon_p.");
2160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2161 delete_wxIcon(_arg0
);
2163 wxPyEndAllowThreads(__tstate
);
2164 if (PyErr_Occurred()) return NULL
;
2165 } Py_INCREF(Py_None
);
2166 _resultobj
= Py_None
;
2170 #define wxIcon_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
2171 static PyObject
*_wrap_wxIcon_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2172 PyObject
* _resultobj
;
2177 PyObject
* _argo0
= 0;
2178 PyObject
* _obj1
= 0;
2179 char *_kwnames
[] = { "self","name","flags", NULL
};
2182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOl:wxIcon_LoadFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
2185 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2186 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_LoadFile. Expected _wxIcon_p.");
2192 _arg1
= wxString_in_helper(_obj1
);
2197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2198 _result
= (bool )wxIcon_LoadFile(_arg0
,*_arg1
,_arg2
);
2200 wxPyEndAllowThreads(__tstate
);
2201 if (PyErr_Occurred()) return NULL
;
2202 } _resultobj
= Py_BuildValue("i",_result
);
2210 #define wxIcon_Ok(_swigobj) (_swigobj->Ok())
2211 static PyObject
*_wrap_wxIcon_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2212 PyObject
* _resultobj
;
2215 PyObject
* _argo0
= 0;
2216 char *_kwnames
[] = { "self", NULL
};
2219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_Ok",_kwnames
,&_argo0
))
2222 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2223 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_Ok. Expected _wxIcon_p.");
2229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2230 _result
= (bool )wxIcon_Ok(_arg0
);
2232 wxPyEndAllowThreads(__tstate
);
2233 if (PyErr_Occurred()) return NULL
;
2234 } _resultobj
= Py_BuildValue("i",_result
);
2238 #define wxIcon_GetWidth(_swigobj) (_swigobj->GetWidth())
2239 static PyObject
*_wrap_wxIcon_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2240 PyObject
* _resultobj
;
2243 PyObject
* _argo0
= 0;
2244 char *_kwnames
[] = { "self", NULL
};
2247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetWidth",_kwnames
,&_argo0
))
2250 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2251 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetWidth. Expected _wxIcon_p.");
2257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2258 _result
= (int )wxIcon_GetWidth(_arg0
);
2260 wxPyEndAllowThreads(__tstate
);
2261 if (PyErr_Occurred()) return NULL
;
2262 } _resultobj
= Py_BuildValue("i",_result
);
2266 #define wxIcon_GetHeight(_swigobj) (_swigobj->GetHeight())
2267 static PyObject
*_wrap_wxIcon_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2268 PyObject
* _resultobj
;
2271 PyObject
* _argo0
= 0;
2272 char *_kwnames
[] = { "self", NULL
};
2275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetHeight",_kwnames
,&_argo0
))
2278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetHeight. Expected _wxIcon_p.");
2285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2286 _result
= (int )wxIcon_GetHeight(_arg0
);
2288 wxPyEndAllowThreads(__tstate
);
2289 if (PyErr_Occurred()) return NULL
;
2290 } _resultobj
= Py_BuildValue("i",_result
);
2294 #define wxIcon_GetDepth(_swigobj) (_swigobj->GetDepth())
2295 static PyObject
*_wrap_wxIcon_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2296 PyObject
* _resultobj
;
2299 PyObject
* _argo0
= 0;
2300 char *_kwnames
[] = { "self", NULL
};
2303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetDepth",_kwnames
,&_argo0
))
2306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetDepth. Expected _wxIcon_p.");
2313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2314 _result
= (int )wxIcon_GetDepth(_arg0
);
2316 wxPyEndAllowThreads(__tstate
);
2317 if (PyErr_Occurred()) return NULL
;
2318 } _resultobj
= Py_BuildValue("i",_result
);
2322 #define wxIcon_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2323 static PyObject
*_wrap_wxIcon_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2324 PyObject
* _resultobj
;
2327 PyObject
* _argo0
= 0;
2328 char *_kwnames
[] = { "self","w", NULL
};
2331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetWidth",_kwnames
,&_argo0
,&_arg1
))
2334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetWidth. Expected _wxIcon_p.");
2341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2342 wxIcon_SetWidth(_arg0
,_arg1
);
2344 wxPyEndAllowThreads(__tstate
);
2345 if (PyErr_Occurred()) return NULL
;
2346 } Py_INCREF(Py_None
);
2347 _resultobj
= Py_None
;
2351 #define wxIcon_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
2352 static PyObject
*_wrap_wxIcon_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2353 PyObject
* _resultobj
;
2356 PyObject
* _argo0
= 0;
2357 char *_kwnames
[] = { "self","h", NULL
};
2360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetHeight",_kwnames
,&_argo0
,&_arg1
))
2363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetHeight. Expected _wxIcon_p.");
2370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2371 wxIcon_SetHeight(_arg0
,_arg1
);
2373 wxPyEndAllowThreads(__tstate
);
2374 if (PyErr_Occurred()) return NULL
;
2375 } Py_INCREF(Py_None
);
2376 _resultobj
= Py_None
;
2380 #define wxIcon_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
2381 static PyObject
*_wrap_wxIcon_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2382 PyObject
* _resultobj
;
2385 PyObject
* _argo0
= 0;
2386 char *_kwnames
[] = { "self","d", NULL
};
2389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetDepth",_kwnames
,&_argo0
,&_arg1
))
2392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetDepth. Expected _wxIcon_p.");
2399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2400 wxIcon_SetDepth(_arg0
,_arg1
);
2402 wxPyEndAllowThreads(__tstate
);
2403 if (PyErr_Occurred()) return NULL
;
2404 } Py_INCREF(Py_None
);
2405 _resultobj
= Py_None
;
2409 #define wxIcon_CopyFromBitmap(_swigobj,_swigarg0) (_swigobj->CopyFromBitmap(_swigarg0))
2410 static PyObject
*_wrap_wxIcon_CopyFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2411 PyObject
* _resultobj
;
2414 PyObject
* _argo0
= 0;
2415 PyObject
* _argo1
= 0;
2416 char *_kwnames
[] = { "self","bmp", NULL
};
2419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIcon_CopyFromBitmap",_kwnames
,&_argo0
,&_argo1
))
2422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_CopyFromBitmap. Expected _wxIcon_p.");
2429 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2430 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
2431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIcon_CopyFromBitmap. Expected _wxBitmap_p.");
2436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2437 wxIcon_CopyFromBitmap(_arg0
,*_arg1
);
2439 wxPyEndAllowThreads(__tstate
);
2440 if (PyErr_Occurred()) return NULL
;
2441 } Py_INCREF(Py_None
);
2442 _resultobj
= Py_None
;
2446 #define new_wxIconBundle() (new wxIconBundle())
2447 static PyObject
*_wrap_new_wxIconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2448 PyObject
* _resultobj
;
2449 wxIconBundle
* _result
;
2450 char *_kwnames
[] = { NULL
};
2454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxIconBundle",_kwnames
))
2457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2458 _result
= (wxIconBundle
*)new_wxIconBundle();
2460 wxPyEndAllowThreads(__tstate
);
2461 if (PyErr_Occurred()) return NULL
;
2463 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIconBundle_p");
2464 _resultobj
= Py_BuildValue("s",_ptemp
);
2467 _resultobj
= Py_None
;
2472 #define new_wxIconBundleFromFile(_swigarg0,_swigarg1) (new wxIconBundle(_swigarg0,_swigarg1))
2473 static PyObject
*_wrap_new_wxIconBundleFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2474 PyObject
* _resultobj
;
2475 wxIconBundle
* _result
;
2478 PyObject
* _obj0
= 0;
2479 char *_kwnames
[] = { "file","type", NULL
};
2483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:new_wxIconBundleFromFile",_kwnames
,&_obj0
,&_arg1
))
2486 _arg0
= wxString_in_helper(_obj0
);
2491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2492 _result
= (wxIconBundle
*)new_wxIconBundleFromFile(*_arg0
,_arg1
);
2494 wxPyEndAllowThreads(__tstate
);
2495 if (PyErr_Occurred()) return NULL
;
2497 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIconBundle_p");
2498 _resultobj
= Py_BuildValue("s",_ptemp
);
2501 _resultobj
= Py_None
;
2510 #define new_wxIconBundleFromIcon(_swigarg0) (new wxIconBundle(_swigarg0))
2511 static PyObject
*_wrap_new_wxIconBundleFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2512 PyObject
* _resultobj
;
2513 wxIconBundle
* _result
;
2515 PyObject
* _argo0
= 0;
2516 char *_kwnames
[] = { "icon", NULL
};
2520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxIconBundleFromIcon",_kwnames
,&_argo0
))
2523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxIconBundleFromIcon. Expected _wxIcon_p.");
2530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2531 _result
= (wxIconBundle
*)new_wxIconBundleFromIcon(*_arg0
);
2533 wxPyEndAllowThreads(__tstate
);
2534 if (PyErr_Occurred()) return NULL
;
2536 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIconBundle_p");
2537 _resultobj
= Py_BuildValue("s",_ptemp
);
2540 _resultobj
= Py_None
;
2545 #define delete_wxIconBundle(_swigobj) (delete _swigobj)
2546 static PyObject
*_wrap_delete_wxIconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2547 PyObject
* _resultobj
;
2548 wxIconBundle
* _arg0
;
2549 PyObject
* _argo0
= 0;
2550 char *_kwnames
[] = { "self", NULL
};
2553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxIconBundle",_kwnames
,&_argo0
))
2556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIconBundle_p")) {
2558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxIconBundle. Expected _wxIconBundle_p.");
2563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2564 delete_wxIconBundle(_arg0
);
2566 wxPyEndAllowThreads(__tstate
);
2567 if (PyErr_Occurred()) return NULL
;
2568 } Py_INCREF(Py_None
);
2569 _resultobj
= Py_None
;
2573 #define wxIconBundle_AddIcon(_swigobj,_swigarg0) (_swigobj->AddIcon(_swigarg0))
2574 static PyObject
*_wrap_wxIconBundle_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2575 PyObject
* _resultobj
;
2576 wxIconBundle
* _arg0
;
2578 PyObject
* _argo0
= 0;
2579 PyObject
* _argo1
= 0;
2580 char *_kwnames
[] = { "self","icon", NULL
};
2583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIconBundle_AddIcon",_kwnames
,&_argo0
,&_argo1
))
2586 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2587 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIconBundle_p")) {
2588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIconBundle_AddIcon. Expected _wxIconBundle_p.");
2593 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2594 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
2595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIconBundle_AddIcon. Expected _wxIcon_p.");
2600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2601 wxIconBundle_AddIcon(_arg0
,*_arg1
);
2603 wxPyEndAllowThreads(__tstate
);
2604 if (PyErr_Occurred()) return NULL
;
2605 } Py_INCREF(Py_None
);
2606 _resultobj
= Py_None
;
2610 #define wxIconBundle_AddIconFromFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddIcon(_swigarg0,_swigarg1))
2611 static PyObject
*_wrap_wxIconBundle_AddIconFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2612 PyObject
* _resultobj
;
2613 wxIconBundle
* _arg0
;
2616 PyObject
* _argo0
= 0;
2617 PyObject
* _obj1
= 0;
2618 char *_kwnames
[] = { "self","file","type", NULL
};
2621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOl:wxIconBundle_AddIconFromFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
2624 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2625 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIconBundle_p")) {
2626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIconBundle_AddIconFromFile. Expected _wxIconBundle_p.");
2631 _arg1
= wxString_in_helper(_obj1
);
2636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2637 wxIconBundle_AddIconFromFile(_arg0
,*_arg1
,_arg2
);
2639 wxPyEndAllowThreads(__tstate
);
2640 if (PyErr_Occurred()) return NULL
;
2641 } Py_INCREF(Py_None
);
2642 _resultobj
= Py_None
;
2650 #define wxIconBundle_GetIcon(_swigobj,_swigarg0) (_swigobj->GetIcon(_swigarg0))
2651 static PyObject
*_wrap_wxIconBundle_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2652 PyObject
* _resultobj
;
2654 wxIconBundle
* _arg0
;
2656 PyObject
* _argo0
= 0;
2658 PyObject
* _obj1
= 0;
2659 char *_kwnames
[] = { "self","size", NULL
};
2663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIconBundle_GetIcon",_kwnames
,&_argo0
,&_obj1
))
2666 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2667 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIconBundle_p")) {
2668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIconBundle_GetIcon. Expected _wxIconBundle_p.");
2674 if (! wxSize_helper(_obj1
, &_arg1
))
2678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2679 const wxIcon
& _result_ref
= wxIconBundle_GetIcon(_arg0
,*_arg1
);
2680 _result
= (wxIcon
*) &_result_ref
;
2682 wxPyEndAllowThreads(__tstate
);
2683 if (PyErr_Occurred()) return NULL
;
2685 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
2686 _resultobj
= Py_BuildValue("s",_ptemp
);
2689 _resultobj
= Py_None
;
2694 static void *SwigwxCursorTowxGDIObject(void *ptr
) {
2697 src
= (wxCursor
*) ptr
;
2698 dest
= (wxGDIObject
*) src
;
2699 return (void *) dest
;
2702 static void *SwigwxCursorTowxObject(void *ptr
) {
2705 src
= (wxCursor
*) ptr
;
2706 dest
= (wxObject
*) src
;
2707 return (void *) dest
;
2710 #define delete_wxCursor(_swigobj) (delete _swigobj)
2711 static PyObject
*_wrap_delete_wxCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2712 PyObject
* _resultobj
;
2714 PyObject
* _argo0
= 0;
2715 char *_kwnames
[] = { "self", NULL
};
2718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCursor",_kwnames
,&_argo0
))
2721 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2722 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCursor. Expected _wxCursor_p.");
2728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2729 delete_wxCursor(_arg0
);
2731 wxPyEndAllowThreads(__tstate
);
2732 if (PyErr_Occurred()) return NULL
;
2733 } Py_INCREF(Py_None
);
2734 _resultobj
= Py_None
;
2738 #define wxCursor_Ok(_swigobj) (_swigobj->Ok())
2739 static PyObject
*_wrap_wxCursor_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2740 PyObject
* _resultobj
;
2743 PyObject
* _argo0
= 0;
2744 char *_kwnames
[] = { "self", NULL
};
2747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCursor_Ok",_kwnames
,&_argo0
))
2750 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2751 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_Ok. Expected _wxCursor_p.");
2757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2758 _result
= (bool )wxCursor_Ok(_arg0
);
2760 wxPyEndAllowThreads(__tstate
);
2761 if (PyErr_Occurred()) return NULL
;
2762 } _resultobj
= Py_BuildValue("i",_result
);
2766 static void *SwigwxColourTowxObject(void *ptr
) {
2769 src
= (wxColour
*) ptr
;
2770 dest
= (wxObject
*) src
;
2771 return (void *) dest
;
2774 #define new_wxColour(_swigarg0,_swigarg1,_swigarg2) (new wxColour(_swigarg0,_swigarg1,_swigarg2))
2775 static PyObject
*_wrap_new_wxColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2776 PyObject
* _resultobj
;
2778 unsigned char _arg0
= (unsigned char ) 0;
2779 unsigned char _arg1
= (unsigned char ) 0;
2780 unsigned char _arg2
= (unsigned char ) 0;
2781 char *_kwnames
[] = { "red","green","blue", NULL
};
2785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|bbb:new_wxColour",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
2788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2789 _result
= (wxColour
*)new_wxColour(_arg0
,_arg1
,_arg2
);
2791 wxPyEndAllowThreads(__tstate
);
2792 if (PyErr_Occurred()) return NULL
;
2794 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
2795 _resultobj
= Py_BuildValue("s",_ptemp
);
2798 _resultobj
= Py_None
;
2803 #define delete_wxColour(_swigobj) (delete _swigobj)
2804 static PyObject
*_wrap_delete_wxColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2805 PyObject
* _resultobj
;
2808 PyObject
* _obj0
= 0;
2809 char *_kwnames
[] = { "self", NULL
};
2812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxColour",_kwnames
,&_obj0
))
2816 if (! wxColour_helper(_obj0
, &_arg0
))
2820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2821 delete_wxColour(_arg0
);
2823 wxPyEndAllowThreads(__tstate
);
2824 if (PyErr_Occurred()) return NULL
;
2825 } Py_INCREF(Py_None
);
2826 _resultobj
= Py_None
;
2830 #define wxColour_Red(_swigobj) (_swigobj->Red())
2831 static PyObject
*_wrap_wxColour_Red(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2832 PyObject
* _resultobj
;
2833 unsigned char _result
;
2836 PyObject
* _obj0
= 0;
2837 char *_kwnames
[] = { "self", NULL
};
2840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Red",_kwnames
,&_obj0
))
2844 if (! wxColour_helper(_obj0
, &_arg0
))
2848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2849 _result
= (unsigned char )wxColour_Red(_arg0
);
2851 wxPyEndAllowThreads(__tstate
);
2852 if (PyErr_Occurred()) return NULL
;
2853 } _resultobj
= Py_BuildValue("b",_result
);
2857 #define wxColour_Green(_swigobj) (_swigobj->Green())
2858 static PyObject
*_wrap_wxColour_Green(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2859 PyObject
* _resultobj
;
2860 unsigned char _result
;
2863 PyObject
* _obj0
= 0;
2864 char *_kwnames
[] = { "self", NULL
};
2867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Green",_kwnames
,&_obj0
))
2871 if (! wxColour_helper(_obj0
, &_arg0
))
2875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2876 _result
= (unsigned char )wxColour_Green(_arg0
);
2878 wxPyEndAllowThreads(__tstate
);
2879 if (PyErr_Occurred()) return NULL
;
2880 } _resultobj
= Py_BuildValue("b",_result
);
2884 #define wxColour_Blue(_swigobj) (_swigobj->Blue())
2885 static PyObject
*_wrap_wxColour_Blue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2886 PyObject
* _resultobj
;
2887 unsigned char _result
;
2890 PyObject
* _obj0
= 0;
2891 char *_kwnames
[] = { "self", NULL
};
2894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Blue",_kwnames
,&_obj0
))
2898 if (! wxColour_helper(_obj0
, &_arg0
))
2902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2903 _result
= (unsigned char )wxColour_Blue(_arg0
);
2905 wxPyEndAllowThreads(__tstate
);
2906 if (PyErr_Occurred()) return NULL
;
2907 } _resultobj
= Py_BuildValue("b",_result
);
2911 #define wxColour_Ok(_swigobj) (_swigobj->Ok())
2912 static PyObject
*_wrap_wxColour_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2913 PyObject
* _resultobj
;
2917 PyObject
* _obj0
= 0;
2918 char *_kwnames
[] = { "self", NULL
};
2921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Ok",_kwnames
,&_obj0
))
2925 if (! wxColour_helper(_obj0
, &_arg0
))
2929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2930 _result
= (bool )wxColour_Ok(_arg0
);
2932 wxPyEndAllowThreads(__tstate
);
2933 if (PyErr_Occurred()) return NULL
;
2934 } _resultobj
= Py_BuildValue("i",_result
);
2938 #define wxColour_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
2939 static PyObject
*_wrap_wxColour_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2940 PyObject
* _resultobj
;
2942 unsigned char _arg1
;
2943 unsigned char _arg2
;
2944 unsigned char _arg3
;
2946 PyObject
* _obj0
= 0;
2947 char *_kwnames
[] = { "self","red","green","blue", NULL
};
2950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Obbb:wxColour_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
))
2954 if (! wxColour_helper(_obj0
, &_arg0
))
2958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2959 wxColour_Set(_arg0
,_arg1
,_arg2
,_arg3
);
2961 wxPyEndAllowThreads(__tstate
);
2962 if (PyErr_Occurred()) return NULL
;
2963 } Py_INCREF(Py_None
);
2964 _resultobj
= Py_None
;
2968 static PyObject
* wxColour_Get(wxColour
*self
) {
2969 PyObject
* rv
= PyTuple_New(3);
2970 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
2971 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
2972 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
2975 static PyObject
*_wrap_wxColour_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2976 PyObject
* _resultobj
;
2980 PyObject
* _obj0
= 0;
2981 char *_kwnames
[] = { "self", NULL
};
2984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Get",_kwnames
,&_obj0
))
2988 if (! wxColour_helper(_obj0
, &_arg0
))
2992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2993 _result
= (PyObject
*)wxColour_Get(_arg0
);
2995 wxPyEndAllowThreads(__tstate
);
2996 if (PyErr_Occurred()) return NULL
;
2998 _resultobj
= _result
;
3003 static void *SwigwxColourDatabaseTowxObject(void *ptr
) {
3004 wxColourDatabase
*src
;
3006 src
= (wxColourDatabase
*) ptr
;
3007 dest
= (wxObject
*) src
;
3008 return (void *) dest
;
3011 #define wxColourDatabase_FindColour(_swigobj,_swigarg0) (_swigobj->FindColour(_swigarg0))
3012 static PyObject
*_wrap_wxColourDatabase_FindColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3013 PyObject
* _resultobj
;
3015 wxColourDatabase
* _arg0
;
3017 PyObject
* _argo0
= 0;
3018 PyObject
* _obj1
= 0;
3019 char *_kwnames
[] = { "self","colour", NULL
};
3023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxColourDatabase_FindColour",_kwnames
,&_argo0
,&_obj1
))
3026 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3027 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
3028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_FindColour. Expected _wxColourDatabase_p.");
3033 _arg1
= wxString_in_helper(_obj1
);
3038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3039 _result
= (wxColour
*)wxColourDatabase_FindColour(_arg0
,*_arg1
);
3041 wxPyEndAllowThreads(__tstate
);
3042 if (PyErr_Occurred()) return NULL
;
3044 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3045 _resultobj
= Py_BuildValue("s",_ptemp
);
3048 _resultobj
= Py_None
;
3057 #define wxColourDatabase_FindName(_swigobj,_swigarg0) (_swigobj->FindName(_swigarg0))
3058 static PyObject
*_wrap_wxColourDatabase_FindName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3059 PyObject
* _resultobj
;
3061 wxColourDatabase
* _arg0
;
3063 PyObject
* _argo0
= 0;
3065 PyObject
* _obj1
= 0;
3066 char *_kwnames
[] = { "self","colour", NULL
};
3069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxColourDatabase_FindName",_kwnames
,&_argo0
,&_obj1
))
3072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
3074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_FindName. Expected _wxColourDatabase_p.");
3080 if (! wxColour_helper(_obj1
, &_arg1
))
3084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3085 _result
= new wxString (wxColourDatabase_FindName(_arg0
,*_arg1
));
3087 wxPyEndAllowThreads(__tstate
);
3088 if (PyErr_Occurred()) return NULL
;
3091 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3093 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3102 static void wxColourDatabase_Append(wxColourDatabase
*self
,const wxString
& name
,int red
,int green
,int blue
) {
3103 // first see if the name is already there
3104 wxString cName
= name
;
3106 wxString cName2
= cName
;
3107 if ( !cName2
.Replace(wxT("GRAY"), wxT("GREY")) )
3110 wxNode
*node
= self
->First();
3112 const wxChar
*key
= node
->GetKeyString();
3113 if ( cName
== key
|| cName2
== key
) {
3114 wxColour
* c
= (wxColour
*)node
->Data();
3115 c
->Set(red
, green
, blue
);
3118 node
= node
->Next();
3121 // otherwise append the new colour
3122 self
->Append(name
.c_str(), new wxColour(red
, green
, blue
));
3124 static PyObject
*_wrap_wxColourDatabase_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3125 PyObject
* _resultobj
;
3126 wxColourDatabase
* _arg0
;
3131 PyObject
* _argo0
= 0;
3132 PyObject
* _obj1
= 0;
3133 char *_kwnames
[] = { "self","name","red","green","blue", NULL
};
3136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiii:wxColourDatabase_Append",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_arg4
))
3139 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3140 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
3141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_Append. Expected _wxColourDatabase_p.");
3146 _arg1
= wxString_in_helper(_obj1
);
3151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3152 wxColourDatabase_Append(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3154 wxPyEndAllowThreads(__tstate
);
3155 if (PyErr_Occurred()) return NULL
;
3156 } Py_INCREF(Py_None
);
3157 _resultobj
= Py_None
;
3165 static void *SwigwxPenTowxGDIObject(void *ptr
) {
3168 src
= (wxPen
*) ptr
;
3169 dest
= (wxGDIObject
*) src
;
3170 return (void *) dest
;
3173 static void *SwigwxPenTowxObject(void *ptr
) {
3176 src
= (wxPen
*) ptr
;
3177 dest
= (wxObject
*) src
;
3178 return (void *) dest
;
3181 #define new_wxPen(_swigarg0,_swigarg1,_swigarg2) (new wxPen(_swigarg0,_swigarg1,_swigarg2))
3182 static PyObject
*_wrap_new_wxPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3183 PyObject
* _resultobj
;
3186 int _arg1
= (int ) 1;
3187 int _arg2
= (int ) wxSOLID
;
3189 PyObject
* _obj0
= 0;
3190 char *_kwnames
[] = { "colour","width","style", NULL
};
3194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:new_wxPen",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
3198 if (! wxColour_helper(_obj0
, &_arg0
))
3202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3203 _result
= (wxPen
*)new_wxPen(*_arg0
,_arg1
,_arg2
);
3205 wxPyEndAllowThreads(__tstate
);
3206 if (PyErr_Occurred()) return NULL
;
3208 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
3209 _resultobj
= Py_BuildValue("s",_ptemp
);
3212 _resultobj
= Py_None
;
3217 #define delete_wxPen(_swigobj) (delete _swigobj)
3218 static PyObject
*_wrap_delete_wxPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3219 PyObject
* _resultobj
;
3221 PyObject
* _argo0
= 0;
3222 char *_kwnames
[] = { "self", NULL
};
3225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPen",_kwnames
,&_argo0
))
3228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPen. Expected _wxPen_p.");
3235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3236 delete_wxPen(_arg0
);
3238 wxPyEndAllowThreads(__tstate
);
3239 if (PyErr_Occurred()) return NULL
;
3240 } Py_INCREF(Py_None
);
3241 _resultobj
= Py_None
;
3245 #define wxPen_GetCap(_swigobj) (_swigobj->GetCap())
3246 static PyObject
*_wrap_wxPen_GetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3247 PyObject
* _resultobj
;
3250 PyObject
* _argo0
= 0;
3251 char *_kwnames
[] = { "self", NULL
};
3254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetCap",_kwnames
,&_argo0
))
3257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetCap. Expected _wxPen_p.");
3264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3265 _result
= (int )wxPen_GetCap(_arg0
);
3267 wxPyEndAllowThreads(__tstate
);
3268 if (PyErr_Occurred()) return NULL
;
3269 } _resultobj
= Py_BuildValue("i",_result
);
3273 #define wxPen_GetColour(_swigobj) (_swigobj->GetColour())
3274 static PyObject
*_wrap_wxPen_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3275 PyObject
* _resultobj
;
3278 PyObject
* _argo0
= 0;
3279 char *_kwnames
[] = { "self", NULL
};
3283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetColour",_kwnames
,&_argo0
))
3286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetColour. Expected _wxPen_p.");
3293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3294 _result
= new wxColour (wxPen_GetColour(_arg0
));
3296 wxPyEndAllowThreads(__tstate
);
3297 if (PyErr_Occurred()) return NULL
;
3298 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
3299 _resultobj
= Py_BuildValue("s",_ptemp
);
3303 #define wxPen_GetJoin(_swigobj) (_swigobj->GetJoin())
3304 static PyObject
*_wrap_wxPen_GetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3305 PyObject
* _resultobj
;
3308 PyObject
* _argo0
= 0;
3309 char *_kwnames
[] = { "self", NULL
};
3312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetJoin",_kwnames
,&_argo0
))
3315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetJoin. Expected _wxPen_p.");
3322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3323 _result
= (int )wxPen_GetJoin(_arg0
);
3325 wxPyEndAllowThreads(__tstate
);
3326 if (PyErr_Occurred()) return NULL
;
3327 } _resultobj
= Py_BuildValue("i",_result
);
3331 #define wxPen_GetStyle(_swigobj) (_swigobj->GetStyle())
3332 static PyObject
*_wrap_wxPen_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3333 PyObject
* _resultobj
;
3336 PyObject
* _argo0
= 0;
3337 char *_kwnames
[] = { "self", NULL
};
3340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetStyle",_kwnames
,&_argo0
))
3343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetStyle. Expected _wxPen_p.");
3350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3351 _result
= (int )wxPen_GetStyle(_arg0
);
3353 wxPyEndAllowThreads(__tstate
);
3354 if (PyErr_Occurred()) return NULL
;
3355 } _resultobj
= Py_BuildValue("i",_result
);
3359 #define wxPen_GetWidth(_swigobj) (_swigobj->GetWidth())
3360 static PyObject
*_wrap_wxPen_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3361 PyObject
* _resultobj
;
3364 PyObject
* _argo0
= 0;
3365 char *_kwnames
[] = { "self", NULL
};
3368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetWidth",_kwnames
,&_argo0
))
3371 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3372 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetWidth. Expected _wxPen_p.");
3378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3379 _result
= (int )wxPen_GetWidth(_arg0
);
3381 wxPyEndAllowThreads(__tstate
);
3382 if (PyErr_Occurred()) return NULL
;
3383 } _resultobj
= Py_BuildValue("i",_result
);
3387 #define wxPen_Ok(_swigobj) (_swigobj->Ok())
3388 static PyObject
*_wrap_wxPen_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3389 PyObject
* _resultobj
;
3392 PyObject
* _argo0
= 0;
3393 char *_kwnames
[] = { "self", NULL
};
3396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_Ok",_kwnames
,&_argo0
))
3399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_Ok. Expected _wxPen_p.");
3406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3407 _result
= (bool )wxPen_Ok(_arg0
);
3409 wxPyEndAllowThreads(__tstate
);
3410 if (PyErr_Occurred()) return NULL
;
3411 } _resultobj
= Py_BuildValue("i",_result
);
3415 #define wxPen_SetCap(_swigobj,_swigarg0) (_swigobj->SetCap(_swigarg0))
3416 static PyObject
*_wrap_wxPen_SetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3417 PyObject
* _resultobj
;
3420 PyObject
* _argo0
= 0;
3421 char *_kwnames
[] = { "self","cap_style", NULL
};
3424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetCap",_kwnames
,&_argo0
,&_arg1
))
3427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetCap. Expected _wxPen_p.");
3434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3435 wxPen_SetCap(_arg0
,_arg1
);
3437 wxPyEndAllowThreads(__tstate
);
3438 if (PyErr_Occurred()) return NULL
;
3439 } Py_INCREF(Py_None
);
3440 _resultobj
= Py_None
;
3444 #define wxPen_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
3445 static PyObject
*_wrap_wxPen_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3446 PyObject
* _resultobj
;
3449 PyObject
* _argo0
= 0;
3451 PyObject
* _obj1
= 0;
3452 char *_kwnames
[] = { "self","colour", NULL
};
3455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetColour",_kwnames
,&_argo0
,&_obj1
))
3458 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3459 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetColour. Expected _wxPen_p.");
3466 if (! wxColour_helper(_obj1
, &_arg1
))
3470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3471 wxPen_SetColour(_arg0
,*_arg1
);
3473 wxPyEndAllowThreads(__tstate
);
3474 if (PyErr_Occurred()) return NULL
;
3475 } Py_INCREF(Py_None
);
3476 _resultobj
= Py_None
;
3480 #define wxPen_SetJoin(_swigobj,_swigarg0) (_swigobj->SetJoin(_swigarg0))
3481 static PyObject
*_wrap_wxPen_SetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3482 PyObject
* _resultobj
;
3485 PyObject
* _argo0
= 0;
3486 char *_kwnames
[] = { "self","join_style", NULL
};
3489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetJoin",_kwnames
,&_argo0
,&_arg1
))
3492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetJoin. Expected _wxPen_p.");
3499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3500 wxPen_SetJoin(_arg0
,_arg1
);
3502 wxPyEndAllowThreads(__tstate
);
3503 if (PyErr_Occurred()) return NULL
;
3504 } Py_INCREF(Py_None
);
3505 _resultobj
= Py_None
;
3509 #define wxPen_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
3510 static PyObject
*_wrap_wxPen_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3511 PyObject
* _resultobj
;
3514 PyObject
* _argo0
= 0;
3515 char *_kwnames
[] = { "self","style", NULL
};
3518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetStyle",_kwnames
,&_argo0
,&_arg1
))
3521 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3522 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetStyle. Expected _wxPen_p.");
3528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3529 wxPen_SetStyle(_arg0
,_arg1
);
3531 wxPyEndAllowThreads(__tstate
);
3532 if (PyErr_Occurred()) return NULL
;
3533 } Py_INCREF(Py_None
);
3534 _resultobj
= Py_None
;
3538 #define wxPen_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
3539 static PyObject
*_wrap_wxPen_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3540 PyObject
* _resultobj
;
3543 PyObject
* _argo0
= 0;
3544 char *_kwnames
[] = { "self","width", NULL
};
3547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetWidth",_kwnames
,&_argo0
,&_arg1
))
3550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetWidth. Expected _wxPen_p.");
3557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3558 wxPen_SetWidth(_arg0
,_arg1
);
3560 wxPyEndAllowThreads(__tstate
);
3561 if (PyErr_Occurred()) return NULL
;
3562 } Py_INCREF(Py_None
);
3563 _resultobj
= Py_None
;
3567 #define wxPen_SetDashes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDashes(_swigarg0,_swigarg1))
3568 static PyObject
*_wrap_wxPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3569 PyObject
* _resultobj
;
3573 PyObject
* _argo0
= 0;
3574 PyObject
* _obj2
= 0;
3575 char *_kwnames
[] = { "self","choices", NULL
};
3578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetDashes",_kwnames
,&_argo0
,&_obj2
))
3581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetDashes. Expected _wxPen_p.");
3589 _arg2
= (wxDash
*)byte_LIST_helper(_obj2
);
3590 if (_arg2
== NULL
) {
3596 _arg1
= PyList_Size(_obj2
);
3603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3604 wxPen_SetDashes(_arg0
,_arg1
,_arg2
);
3606 wxPyEndAllowThreads(__tstate
);
3607 if (PyErr_Occurred()) return NULL
;
3608 } Py_INCREF(Py_None
);
3609 _resultobj
= Py_None
;
3616 static void *SwigwxPyPenTowxPen(void *ptr
) {
3619 src
= (wxPyPen
*) ptr
;
3620 dest
= (wxPen
*) src
;
3621 return (void *) dest
;
3624 static void *SwigwxPyPenTowxGDIObject(void *ptr
) {
3627 src
= (wxPyPen
*) ptr
;
3628 dest
= (wxGDIObject
*) src
;
3629 return (void *) dest
;
3632 static void *SwigwxPyPenTowxObject(void *ptr
) {
3635 src
= (wxPyPen
*) ptr
;
3636 dest
= (wxObject
*) src
;
3637 return (void *) dest
;
3640 #define new_wxPyPen(_swigarg0,_swigarg1,_swigarg2) (new wxPyPen(_swigarg0,_swigarg1,_swigarg2))
3641 static PyObject
*_wrap_new_wxPyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3642 PyObject
* _resultobj
;
3645 int _arg1
= (int ) 1;
3646 int _arg2
= (int ) wxSOLID
;
3648 PyObject
* _obj0
= 0;
3649 char *_kwnames
[] = { "colour","width","style", NULL
};
3653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:new_wxPyPen",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
3657 if (! wxColour_helper(_obj0
, &_arg0
))
3661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3662 _result
= (wxPyPen
*)new_wxPyPen(*_arg0
,_arg1
,_arg2
);
3664 wxPyEndAllowThreads(__tstate
);
3665 if (PyErr_Occurred()) return NULL
;
3667 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPen_p");
3668 _resultobj
= Py_BuildValue("s",_ptemp
);
3671 _resultobj
= Py_None
;
3676 #define delete_wxPyPen(_swigobj) (delete _swigobj)
3677 static PyObject
*_wrap_delete_wxPyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3678 PyObject
* _resultobj
;
3680 PyObject
* _argo0
= 0;
3681 char *_kwnames
[] = { "self", NULL
};
3684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyPen",_kwnames
,&_argo0
))
3687 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3688 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPen_p")) {
3689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyPen. Expected _wxPyPen_p.");
3694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3695 delete_wxPyPen(_arg0
);
3697 wxPyEndAllowThreads(__tstate
);
3698 if (PyErr_Occurred()) return NULL
;
3699 } Py_INCREF(Py_None
);
3700 _resultobj
= Py_None
;
3704 #define wxPyPen_SetDashes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDashes(_swigarg0,_swigarg1))
3705 static PyObject
*_wrap_wxPyPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3706 PyObject
* _resultobj
;
3710 PyObject
* _argo0
= 0;
3711 PyObject
* _obj2
= 0;
3712 char *_kwnames
[] = { "self","choices", NULL
};
3715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPen_SetDashes",_kwnames
,&_argo0
,&_obj2
))
3718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPen_p")) {
3720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPen_SetDashes. Expected _wxPyPen_p.");
3726 _arg2
= (wxDash
*)byte_LIST_helper(_obj2
);
3727 if (_arg2
== NULL
) {
3733 _arg1
= PyList_Size(_obj2
);
3740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3741 wxPyPen_SetDashes(_arg0
,_arg1
,_arg2
);
3743 wxPyEndAllowThreads(__tstate
);
3744 if (PyErr_Occurred()) return NULL
;
3745 } Py_INCREF(Py_None
);
3746 _resultobj
= Py_None
;
3753 static void *SwigwxPenListTowxObject(void *ptr
) {
3756 src
= (wxPenList
*) ptr
;
3757 dest
= (wxObject
*) src
;
3758 return (void *) dest
;
3761 #define wxPenList_AddPen(_swigobj,_swigarg0) (_swigobj->AddPen(_swigarg0))
3762 static PyObject
*_wrap_wxPenList_AddPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3763 PyObject
* _resultobj
;
3766 PyObject
* _argo0
= 0;
3767 PyObject
* _argo1
= 0;
3768 char *_kwnames
[] = { "self","pen", NULL
};
3771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPenList_AddPen",_kwnames
,&_argo0
,&_argo1
))
3774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
3776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_AddPen. Expected _wxPenList_p.");
3781 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3782 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
3783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPenList_AddPen. Expected _wxPen_p.");
3788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3789 wxPenList_AddPen(_arg0
,_arg1
);
3791 wxPyEndAllowThreads(__tstate
);
3792 if (PyErr_Occurred()) return NULL
;
3793 } Py_INCREF(Py_None
);
3794 _resultobj
= Py_None
;
3798 #define wxPenList_FindOrCreatePen(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindOrCreatePen(_swigarg0,_swigarg1,_swigarg2))
3799 static PyObject
*_wrap_wxPenList_FindOrCreatePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3800 PyObject
* _resultobj
;
3806 PyObject
* _argo0
= 0;
3808 PyObject
* _obj1
= 0;
3809 char *_kwnames
[] = { "self","colour","width","style", NULL
};
3813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxPenList_FindOrCreatePen",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
))
3816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
3818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_FindOrCreatePen. Expected _wxPenList_p.");
3824 if (! wxColour_helper(_obj1
, &_arg1
))
3828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3829 _result
= (wxPen
*)wxPenList_FindOrCreatePen(_arg0
,*_arg1
,_arg2
,_arg3
);
3831 wxPyEndAllowThreads(__tstate
);
3832 if (PyErr_Occurred()) return NULL
;
3834 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
3835 _resultobj
= Py_BuildValue("s",_ptemp
);
3838 _resultobj
= Py_None
;
3843 #define wxPenList_RemovePen(_swigobj,_swigarg0) (_swigobj->RemovePen(_swigarg0))
3844 static PyObject
*_wrap_wxPenList_RemovePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3845 PyObject
* _resultobj
;
3848 PyObject
* _argo0
= 0;
3849 PyObject
* _argo1
= 0;
3850 char *_kwnames
[] = { "self","pen", NULL
};
3853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPenList_RemovePen",_kwnames
,&_argo0
,&_argo1
))
3856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
3858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_RemovePen. Expected _wxPenList_p.");
3863 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3864 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
3865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPenList_RemovePen. Expected _wxPen_p.");
3870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3871 wxPenList_RemovePen(_arg0
,_arg1
);
3873 wxPyEndAllowThreads(__tstate
);
3874 if (PyErr_Occurred()) return NULL
;
3875 } Py_INCREF(Py_None
);
3876 _resultobj
= Py_None
;
3880 #define wxPenList_GetCount(_swigobj) (_swigobj->GetCount())
3881 static PyObject
*_wrap_wxPenList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3882 PyObject
* _resultobj
;
3885 PyObject
* _argo0
= 0;
3886 char *_kwnames
[] = { "self", NULL
};
3889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPenList_GetCount",_kwnames
,&_argo0
))
3892 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3893 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
3894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_GetCount. Expected _wxPenList_p.");
3899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3900 _result
= (int )wxPenList_GetCount(_arg0
);
3902 wxPyEndAllowThreads(__tstate
);
3903 if (PyErr_Occurred()) return NULL
;
3904 } _resultobj
= Py_BuildValue("i",_result
);
3908 static void *SwigwxBrushTowxGDIObject(void *ptr
) {
3911 src
= (wxBrush
*) ptr
;
3912 dest
= (wxGDIObject
*) src
;
3913 return (void *) dest
;
3916 static void *SwigwxBrushTowxObject(void *ptr
) {
3919 src
= (wxBrush
*) ptr
;
3920 dest
= (wxObject
*) src
;
3921 return (void *) dest
;
3924 #define new_wxBrush(_swigarg0,_swigarg1) (new wxBrush(_swigarg0,_swigarg1))
3925 static PyObject
*_wrap_new_wxBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3926 PyObject
* _resultobj
;
3929 int _arg1
= (int ) wxSOLID
;
3931 PyObject
* _obj0
= 0;
3932 char *_kwnames
[] = { "colour","style", NULL
};
3936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxBrush",_kwnames
,&_obj0
,&_arg1
))
3940 if (! wxColour_helper(_obj0
, &_arg0
))
3944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3945 _result
= (wxBrush
*)new_wxBrush(*_arg0
,_arg1
);
3947 wxPyEndAllowThreads(__tstate
);
3948 if (PyErr_Occurred()) return NULL
;
3950 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
3951 _resultobj
= Py_BuildValue("s",_ptemp
);
3954 _resultobj
= Py_None
;
3959 #define delete_wxBrush(_swigobj) (delete _swigobj)
3960 static PyObject
*_wrap_delete_wxBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3961 PyObject
* _resultobj
;
3963 PyObject
* _argo0
= 0;
3964 char *_kwnames
[] = { "self", NULL
};
3967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBrush",_kwnames
,&_argo0
))
3970 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3971 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBrush. Expected _wxBrush_p.");
3977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3978 delete_wxBrush(_arg0
);
3980 wxPyEndAllowThreads(__tstate
);
3981 if (PyErr_Occurred()) return NULL
;
3982 } Py_INCREF(Py_None
);
3983 _resultobj
= Py_None
;
3987 #define wxBrush_GetColour(_swigobj) (_swigobj->GetColour())
3988 static PyObject
*_wrap_wxBrush_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3989 PyObject
* _resultobj
;
3992 PyObject
* _argo0
= 0;
3993 char *_kwnames
[] = { "self", NULL
};
3997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetColour",_kwnames
,&_argo0
))
4000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetColour. Expected _wxBrush_p.");
4007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4008 _result
= new wxColour (wxBrush_GetColour(_arg0
));
4010 wxPyEndAllowThreads(__tstate
);
4011 if (PyErr_Occurred()) return NULL
;
4012 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
4013 _resultobj
= Py_BuildValue("s",_ptemp
);
4017 #define wxBrush_GetStipple(_swigobj) (_swigobj->GetStipple())
4018 static PyObject
*_wrap_wxBrush_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4019 PyObject
* _resultobj
;
4022 PyObject
* _argo0
= 0;
4023 char *_kwnames
[] = { "self", NULL
};
4027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetStipple",_kwnames
,&_argo0
))
4030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStipple. Expected _wxBrush_p.");
4037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4038 _result
= (wxBitmap
*)wxBrush_GetStipple(_arg0
);
4040 wxPyEndAllowThreads(__tstate
);
4041 if (PyErr_Occurred()) return NULL
;
4043 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
4044 _resultobj
= Py_BuildValue("s",_ptemp
);
4047 _resultobj
= Py_None
;
4052 #define wxBrush_GetStyle(_swigobj) (_swigobj->GetStyle())
4053 static PyObject
*_wrap_wxBrush_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4054 PyObject
* _resultobj
;
4057 PyObject
* _argo0
= 0;
4058 char *_kwnames
[] = { "self", NULL
};
4061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetStyle",_kwnames
,&_argo0
))
4064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStyle. Expected _wxBrush_p.");
4071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4072 _result
= (int )wxBrush_GetStyle(_arg0
);
4074 wxPyEndAllowThreads(__tstate
);
4075 if (PyErr_Occurred()) return NULL
;
4076 } _resultobj
= Py_BuildValue("i",_result
);
4080 #define wxBrush_Ok(_swigobj) (_swigobj->Ok())
4081 static PyObject
*_wrap_wxBrush_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4082 PyObject
* _resultobj
;
4085 PyObject
* _argo0
= 0;
4086 char *_kwnames
[] = { "self", NULL
};
4089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_Ok",_kwnames
,&_argo0
))
4092 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4093 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_Ok. Expected _wxBrush_p.");
4099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4100 _result
= (bool )wxBrush_Ok(_arg0
);
4102 wxPyEndAllowThreads(__tstate
);
4103 if (PyErr_Occurred()) return NULL
;
4104 } _resultobj
= Py_BuildValue("i",_result
);
4108 #define wxBrush_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
4109 static PyObject
*_wrap_wxBrush_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4110 PyObject
* _resultobj
;
4113 PyObject
* _argo0
= 0;
4115 PyObject
* _obj1
= 0;
4116 char *_kwnames
[] = { "self","colour", NULL
};
4119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrush_SetColour",_kwnames
,&_argo0
,&_obj1
))
4122 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4123 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetColour. Expected _wxBrush_p.");
4130 if (! wxColour_helper(_obj1
, &_arg1
))
4134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4135 wxBrush_SetColour(_arg0
,*_arg1
);
4137 wxPyEndAllowThreads(__tstate
);
4138 if (PyErr_Occurred()) return NULL
;
4139 } Py_INCREF(Py_None
);
4140 _resultobj
= Py_None
;
4144 #define wxBrush_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
4145 static PyObject
*_wrap_wxBrush_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4146 PyObject
* _resultobj
;
4149 PyObject
* _argo0
= 0;
4150 PyObject
* _argo1
= 0;
4151 char *_kwnames
[] = { "self","bitmap", NULL
};
4154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrush_SetStipple",_kwnames
,&_argo0
,&_argo1
))
4157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStipple. Expected _wxBrush_p.");
4164 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4165 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
4166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrush_SetStipple. Expected _wxBitmap_p.");
4171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4172 wxBrush_SetStipple(_arg0
,*_arg1
);
4174 wxPyEndAllowThreads(__tstate
);
4175 if (PyErr_Occurred()) return NULL
;
4176 } Py_INCREF(Py_None
);
4177 _resultobj
= Py_None
;
4181 #define wxBrush_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
4182 static PyObject
*_wrap_wxBrush_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4183 PyObject
* _resultobj
;
4186 PyObject
* _argo0
= 0;
4187 char *_kwnames
[] = { "self","style", NULL
};
4190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBrush_SetStyle",_kwnames
,&_argo0
,&_arg1
))
4193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStyle. Expected _wxBrush_p.");
4200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4201 wxBrush_SetStyle(_arg0
,_arg1
);
4203 wxPyEndAllowThreads(__tstate
);
4204 if (PyErr_Occurred()) return NULL
;
4205 } Py_INCREF(Py_None
);
4206 _resultobj
= Py_None
;
4210 static void *SwigwxBrushListTowxObject(void *ptr
) {
4213 src
= (wxBrushList
*) ptr
;
4214 dest
= (wxObject
*) src
;
4215 return (void *) dest
;
4218 #define wxBrushList_AddBrush(_swigobj,_swigarg0) (_swigobj->AddBrush(_swigarg0))
4219 static PyObject
*_wrap_wxBrushList_AddBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4220 PyObject
* _resultobj
;
4221 wxBrushList
* _arg0
;
4223 PyObject
* _argo0
= 0;
4224 PyObject
* _argo1
= 0;
4225 char *_kwnames
[] = { "self","brush", NULL
};
4228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrushList_AddBrush",_kwnames
,&_argo0
,&_argo1
))
4231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
4233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_AddBrush. Expected _wxBrushList_p.");
4238 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4239 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
4240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrushList_AddBrush. Expected _wxBrush_p.");
4245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4246 wxBrushList_AddBrush(_arg0
,_arg1
);
4248 wxPyEndAllowThreads(__tstate
);
4249 if (PyErr_Occurred()) return NULL
;
4250 } Py_INCREF(Py_None
);
4251 _resultobj
= Py_None
;
4255 #define wxBrushList_FindOrCreateBrush(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindOrCreateBrush(_swigarg0,_swigarg1))
4256 static PyObject
*_wrap_wxBrushList_FindOrCreateBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4257 PyObject
* _resultobj
;
4259 wxBrushList
* _arg0
;
4262 PyObject
* _argo0
= 0;
4264 PyObject
* _obj1
= 0;
4265 char *_kwnames
[] = { "self","colour","style", NULL
};
4269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxBrushList_FindOrCreateBrush",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
4272 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4273 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
4274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_FindOrCreateBrush. Expected _wxBrushList_p.");
4280 if (! wxColour_helper(_obj1
, &_arg1
))
4284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4285 _result
= (wxBrush
*)wxBrushList_FindOrCreateBrush(_arg0
,*_arg1
,_arg2
);
4287 wxPyEndAllowThreads(__tstate
);
4288 if (PyErr_Occurred()) return NULL
;
4290 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
4291 _resultobj
= Py_BuildValue("s",_ptemp
);
4294 _resultobj
= Py_None
;
4299 #define wxBrushList_RemoveBrush(_swigobj,_swigarg0) (_swigobj->RemoveBrush(_swigarg0))
4300 static PyObject
*_wrap_wxBrushList_RemoveBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4301 PyObject
* _resultobj
;
4302 wxBrushList
* _arg0
;
4304 PyObject
* _argo0
= 0;
4305 PyObject
* _argo1
= 0;
4306 char *_kwnames
[] = { "self","brush", NULL
};
4309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrushList_RemoveBrush",_kwnames
,&_argo0
,&_argo1
))
4312 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4313 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
4314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_RemoveBrush. Expected _wxBrushList_p.");
4319 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4320 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
4321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrushList_RemoveBrush. Expected _wxBrush_p.");
4326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4327 wxBrushList_RemoveBrush(_arg0
,_arg1
);
4329 wxPyEndAllowThreads(__tstate
);
4330 if (PyErr_Occurred()) return NULL
;
4331 } Py_INCREF(Py_None
);
4332 _resultobj
= Py_None
;
4336 #define wxBrushList_GetCount(_swigobj) (_swigobj->GetCount())
4337 static PyObject
*_wrap_wxBrushList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4338 PyObject
* _resultobj
;
4340 wxBrushList
* _arg0
;
4341 PyObject
* _argo0
= 0;
4342 char *_kwnames
[] = { "self", NULL
};
4345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrushList_GetCount",_kwnames
,&_argo0
))
4348 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4349 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
4350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_GetCount. Expected _wxBrushList_p.");
4355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4356 _result
= (int )wxBrushList_GetCount(_arg0
);
4358 wxPyEndAllowThreads(__tstate
);
4359 if (PyErr_Occurred()) return NULL
;
4360 } _resultobj
= Py_BuildValue("i",_result
);
4364 static void *SwigwxDCTowxObject(void *ptr
) {
4368 dest
= (wxObject
*) src
;
4369 return (void *) dest
;
4372 #define delete_wxDC(_swigobj) (delete _swigobj)
4373 static PyObject
*_wrap_delete_wxDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4374 PyObject
* _resultobj
;
4376 PyObject
* _argo0
= 0;
4377 char *_kwnames
[] = { "self", NULL
};
4380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDC",_kwnames
,&_argo0
))
4383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDC. Expected _wxDC_p.");
4390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4393 wxPyEndAllowThreads(__tstate
);
4394 if (PyErr_Occurred()) return NULL
;
4395 } Py_INCREF(Py_None
);
4396 _resultobj
= Py_None
;
4400 #define wxDC_BeginDrawing(_swigobj) (_swigobj->BeginDrawing())
4401 static PyObject
*_wrap_wxDC_BeginDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4402 PyObject
* _resultobj
;
4404 PyObject
* _argo0
= 0;
4405 char *_kwnames
[] = { "self", NULL
};
4408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_BeginDrawing",_kwnames
,&_argo0
))
4411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_BeginDrawing. Expected _wxDC_p.");
4418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4419 wxDC_BeginDrawing(_arg0
);
4421 wxPyEndAllowThreads(__tstate
);
4422 if (PyErr_Occurred()) return NULL
;
4423 } Py_INCREF(Py_None
);
4424 _resultobj
= Py_None
;
4428 #define wxDC_Blit(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Blit(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4429 static PyObject
*_wrap_wxDC_Blit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4430 PyObject
* _resultobj
;
4440 int _arg8
= (int ) wxCOPY
;
4441 int _arg9
= (int ) FALSE
;
4442 PyObject
* _argo0
= 0;
4443 PyObject
* _argo5
= 0;
4444 char *_kwnames
[] = { "self","xdest","ydest","width","height","source","xsrc","ysrc","logicalFunc","useMask", NULL
};
4447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllllOll|ii:wxDC_Blit",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_argo5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
))
4450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Blit. Expected _wxDC_p.");
4457 if (_argo5
== Py_None
) { _arg5
= NULL
; }
4458 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxDC_p")) {
4459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxDC_Blit. Expected _wxDC_p.");
4464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4465 _result
= (bool )wxDC_Blit(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
4467 wxPyEndAllowThreads(__tstate
);
4468 if (PyErr_Occurred()) return NULL
;
4469 } _resultobj
= Py_BuildValue("i",_result
);
4473 #define wxDC_Clear(_swigobj) (_swigobj->Clear())
4474 static PyObject
*_wrap_wxDC_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4475 PyObject
* _resultobj
;
4477 PyObject
* _argo0
= 0;
4478 char *_kwnames
[] = { "self", NULL
};
4481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_Clear",_kwnames
,&_argo0
))
4484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Clear. Expected _wxDC_p.");
4491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4494 wxPyEndAllowThreads(__tstate
);
4495 if (PyErr_Occurred()) return NULL
;
4496 } Py_INCREF(Py_None
);
4497 _resultobj
= Py_None
;
4501 #define wxDC_CrossHair(_swigobj,_swigarg0,_swigarg1) (_swigobj->CrossHair(_swigarg0,_swigarg1))
4502 static PyObject
*_wrap_wxDC_CrossHair(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4503 PyObject
* _resultobj
;
4507 PyObject
* _argo0
= 0;
4508 char *_kwnames
[] = { "self","x","y", NULL
};
4511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_CrossHair",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CrossHair. Expected _wxDC_p.");
4521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4522 wxDC_CrossHair(_arg0
,_arg1
,_arg2
);
4524 wxPyEndAllowThreads(__tstate
);
4525 if (PyErr_Occurred()) return NULL
;
4526 } Py_INCREF(Py_None
);
4527 _resultobj
= Py_None
;
4531 #define wxDC_DestroyClippingRegion(_swigobj) (_swigobj->DestroyClippingRegion())
4532 static PyObject
*_wrap_wxDC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4533 PyObject
* _resultobj
;
4535 PyObject
* _argo0
= 0;
4536 char *_kwnames
[] = { "self", NULL
};
4539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_DestroyClippingRegion",_kwnames
,&_argo0
))
4542 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4543 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DestroyClippingRegion. Expected _wxDC_p.");
4549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4550 wxDC_DestroyClippingRegion(_arg0
);
4552 wxPyEndAllowThreads(__tstate
);
4553 if (PyErr_Occurred()) return NULL
;
4554 } Py_INCREF(Py_None
);
4555 _resultobj
= Py_None
;
4559 #define wxDC_DeviceToLogicalX(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalX(_swigarg0))
4560 static PyObject
*_wrap_wxDC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4561 PyObject
* _resultobj
;
4565 PyObject
* _argo0
= 0;
4566 char *_kwnames
[] = { "self","x", NULL
};
4569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalX",_kwnames
,&_argo0
,&_arg1
))
4572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalX. Expected _wxDC_p.");
4579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4580 _result
= (long )wxDC_DeviceToLogicalX(_arg0
,_arg1
);
4582 wxPyEndAllowThreads(__tstate
);
4583 if (PyErr_Occurred()) return NULL
;
4584 } _resultobj
= Py_BuildValue("l",_result
);
4588 #define wxDC_DeviceToLogicalXRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalXRel(_swigarg0))
4589 static PyObject
*_wrap_wxDC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4590 PyObject
* _resultobj
;
4594 PyObject
* _argo0
= 0;
4595 char *_kwnames
[] = { "self","x", NULL
};
4598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalXRel",_kwnames
,&_argo0
,&_arg1
))
4601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalXRel. Expected _wxDC_p.");
4608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4609 _result
= (long )wxDC_DeviceToLogicalXRel(_arg0
,_arg1
);
4611 wxPyEndAllowThreads(__tstate
);
4612 if (PyErr_Occurred()) return NULL
;
4613 } _resultobj
= Py_BuildValue("l",_result
);
4617 #define wxDC_DeviceToLogicalY(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalY(_swigarg0))
4618 static PyObject
*_wrap_wxDC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4619 PyObject
* _resultobj
;
4623 PyObject
* _argo0
= 0;
4624 char *_kwnames
[] = { "self","y", NULL
};
4627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalY",_kwnames
,&_argo0
,&_arg1
))
4630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalY. Expected _wxDC_p.");
4637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4638 _result
= (long )wxDC_DeviceToLogicalY(_arg0
,_arg1
);
4640 wxPyEndAllowThreads(__tstate
);
4641 if (PyErr_Occurred()) return NULL
;
4642 } _resultobj
= Py_BuildValue("l",_result
);
4646 #define wxDC_DeviceToLogicalYRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalYRel(_swigarg0))
4647 static PyObject
*_wrap_wxDC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4648 PyObject
* _resultobj
;
4652 PyObject
* _argo0
= 0;
4653 char *_kwnames
[] = { "self","y", NULL
};
4656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalYRel",_kwnames
,&_argo0
,&_arg1
))
4659 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4660 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalYRel. Expected _wxDC_p.");
4666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4667 _result
= (long )wxDC_DeviceToLogicalYRel(_arg0
,_arg1
);
4669 wxPyEndAllowThreads(__tstate
);
4670 if (PyErr_Occurred()) return NULL
;
4671 } _resultobj
= Py_BuildValue("l",_result
);
4675 #define wxDC_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4676 static PyObject
*_wrap_wxDC_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4677 PyObject
* _resultobj
;
4685 PyObject
* _argo0
= 0;
4686 char *_kwnames
[] = { "self","x1","y1","x2","y2","xc","yc", NULL
};
4689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollllll:wxDC_DrawArc",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
4692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawArc. Expected _wxDC_p.");
4699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4700 wxDC_DrawArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4702 wxPyEndAllowThreads(__tstate
);
4703 if (PyErr_Occurred()) return NULL
;
4704 } Py_INCREF(Py_None
);
4705 _resultobj
= Py_None
;
4709 #define wxDC_DrawCircle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawCircle(_swigarg0,_swigarg1,_swigarg2))
4710 static PyObject
*_wrap_wxDC_DrawCircle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4711 PyObject
* _resultobj
;
4716 PyObject
* _argo0
= 0;
4717 char *_kwnames
[] = { "self","x","y","radius", NULL
};
4720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olll:wxDC_DrawCircle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawCircle. Expected _wxDC_p.");
4730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4731 wxDC_DrawCircle(_arg0
,_arg1
,_arg2
,_arg3
);
4733 wxPyEndAllowThreads(__tstate
);
4734 if (PyErr_Occurred()) return NULL
;
4735 } Py_INCREF(Py_None
);
4736 _resultobj
= Py_None
;
4740 #define wxDC_DrawEllipse(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawEllipse(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4741 static PyObject
*_wrap_wxDC_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4742 PyObject
* _resultobj
;
4748 PyObject
* _argo0
= 0;
4749 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
4752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawEllipse",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipse. Expected _wxDC_p.");
4762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4763 wxDC_DrawEllipse(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4765 wxPyEndAllowThreads(__tstate
);
4766 if (PyErr_Occurred()) return NULL
;
4767 } Py_INCREF(Py_None
);
4768 _resultobj
= Py_None
;
4772 #define wxDC_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4773 static PyObject
*_wrap_wxDC_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4774 PyObject
* _resultobj
;
4782 PyObject
* _argo0
= 0;
4783 char *_kwnames
[] = { "self","x","y","width","height","start","end", NULL
};
4786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollllll:wxDC_DrawEllipticArc",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
4789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipticArc. Expected _wxDC_p.");
4796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4797 wxDC_DrawEllipticArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4799 wxPyEndAllowThreads(__tstate
);
4800 if (PyErr_Occurred()) return NULL
;
4801 } Py_INCREF(Py_None
);
4802 _resultobj
= Py_None
;
4806 #define wxDC_DrawIcon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawIcon(_swigarg0,_swigarg1,_swigarg2))
4807 static PyObject
*_wrap_wxDC_DrawIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4808 PyObject
* _resultobj
;
4813 PyObject
* _argo0
= 0;
4814 PyObject
* _argo1
= 0;
4815 char *_kwnames
[] = { "self","icon","x","y", NULL
};
4818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll:wxDC_DrawIcon",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
4821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawIcon. Expected _wxDC_p.");
4828 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4829 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
4830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawIcon. Expected _wxIcon_p.");
4835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4836 wxDC_DrawIcon(_arg0
,*_arg1
,_arg2
,_arg3
);
4838 wxPyEndAllowThreads(__tstate
);
4839 if (PyErr_Occurred()) return NULL
;
4840 } Py_INCREF(Py_None
);
4841 _resultobj
= Py_None
;
4845 #define wxDC_DrawLabel(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLabel(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4846 static PyObject
*_wrap_wxDC_DrawLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4847 PyObject
* _resultobj
;
4851 int _arg3
= (int ) wxALIGN_LEFT
|wxALIGN_TOP
;
4852 int _arg4
= (int ) -1;
4853 PyObject
* _argo0
= 0;
4854 PyObject
* _obj1
= 0;
4856 PyObject
* _obj2
= 0;
4857 char *_kwnames
[] = { "self","text","rect","alignment","indexAccel", NULL
};
4860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|ii:wxDC_DrawLabel",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
))
4863 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4864 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLabel. Expected _wxDC_p.");
4870 _arg1
= wxString_in_helper(_obj1
);
4876 if (! wxRect_helper(_obj2
, &_arg2
))
4880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4881 wxDC_DrawLabel(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
4883 wxPyEndAllowThreads(__tstate
);
4884 if (PyErr_Occurred()) return NULL
;
4885 } Py_INCREF(Py_None
);
4886 _resultobj
= Py_None
;
4894 static wxRect
wxDC_DrawImageLabel(wxDC
*self
,const wxString
& text
,const wxBitmap
& image
,const wxRect
& rect
,int alignment
,int indexAccel
) {
4896 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
4899 static PyObject
*_wrap_wxDC_DrawImageLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4900 PyObject
* _resultobj
;
4906 int _arg4
= (int ) wxALIGN_LEFT
|wxALIGN_TOP
;
4907 int _arg5
= (int ) -1;
4908 PyObject
* _argo0
= 0;
4909 PyObject
* _obj1
= 0;
4910 PyObject
* _argo2
= 0;
4912 PyObject
* _obj3
= 0;
4913 char *_kwnames
[] = { "self","text","image","rect","alignment","indexAccel", NULL
};
4917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|ii:wxDC_DrawImageLabel",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_obj3
,&_arg4
,&_arg5
))
4920 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4921 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawImageLabel. Expected _wxDC_p.");
4927 _arg1
= wxString_in_helper(_obj1
);
4932 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4933 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
4934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDC_DrawImageLabel. Expected _wxBitmap_p.");
4940 if (! wxRect_helper(_obj3
, &_arg3
))
4944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4945 _result
= new wxRect (wxDC_DrawImageLabel(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
));
4947 wxPyEndAllowThreads(__tstate
);
4948 if (PyErr_Occurred()) return NULL
;
4949 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
4950 _resultobj
= Py_BuildValue("s",_ptemp
);
4958 #define wxDC_DrawLine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4959 static PyObject
*_wrap_wxDC_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4960 PyObject
* _resultobj
;
4966 PyObject
* _argo0
= 0;
4967 char *_kwnames
[] = { "self","x1","y1","x2","y2", NULL
};
4970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawLine",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4973 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4974 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLine. Expected _wxDC_p.");
4980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4981 wxDC_DrawLine(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4983 wxPyEndAllowThreads(__tstate
);
4984 if (PyErr_Occurred()) return NULL
;
4985 } Py_INCREF(Py_None
);
4986 _resultobj
= Py_None
;
4990 #define wxDC_DrawLines(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLines(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4991 static PyObject
*_wrap_wxDC_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4992 PyObject
* _resultobj
;
4996 long _arg3
= (long ) 0;
4997 long _arg4
= (long ) 0;
4998 PyObject
* _argo0
= 0;
5000 PyObject
* _obj2
= 0;
5001 char *_kwnames
[] = { "self","points","xoffset","yoffset", NULL
};
5004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ll:wxDC_DrawLines",_kwnames
,&_argo0
,&_obj2
,&_arg3
,&_arg4
))
5007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLines. Expected _wxDC_p.");
5015 _arg2
= wxPoint_LIST_helper(_obj2
, &NPOINTS
);
5016 if (_arg2
== NULL
) {
5024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5025 wxDC_DrawLines(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5027 wxPyEndAllowThreads(__tstate
);
5028 if (PyErr_Occurred()) return NULL
;
5029 } Py_INCREF(Py_None
);
5030 _resultobj
= Py_None
;
5037 #define wxDC_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5038 static PyObject
*_wrap_wxDC_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5039 PyObject
* _resultobj
;
5043 long _arg3
= (long ) 0;
5044 long _arg4
= (long ) 0;
5045 int _arg5
= (int ) wxODDEVEN_RULE
;
5046 PyObject
* _argo0
= 0;
5048 PyObject
* _obj2
= 0;
5049 char *_kwnames
[] = { "self","points","xoffset","yoffset","fill_style", NULL
};
5052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|lli:wxDC_DrawPolygon",_kwnames
,&_argo0
,&_obj2
,&_arg3
,&_arg4
,&_arg5
))
5055 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5056 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPolygon. Expected _wxDC_p.");
5063 _arg2
= wxPoint_LIST_helper(_obj2
, &NPOINTS
);
5064 if (_arg2
== NULL
) {
5072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5073 wxDC_DrawPolygon(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
5075 wxPyEndAllowThreads(__tstate
);
5076 if (PyErr_Occurred()) return NULL
;
5077 } Py_INCREF(Py_None
);
5078 _resultobj
= Py_None
;
5085 #define wxDC_DrawPoint(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawPoint(_swigarg0,_swigarg1))
5086 static PyObject
*_wrap_wxDC_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5087 PyObject
* _resultobj
;
5091 PyObject
* _argo0
= 0;
5092 char *_kwnames
[] = { "self","x","y", NULL
};
5095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_DrawPoint",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPoint. Expected _wxDC_p.");
5105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5106 wxDC_DrawPoint(_arg0
,_arg1
,_arg2
);
5108 wxPyEndAllowThreads(__tstate
);
5109 if (PyErr_Occurred()) return NULL
;
5110 } Py_INCREF(Py_None
);
5111 _resultobj
= Py_None
;
5115 #define wxDC_DrawRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5116 static PyObject
*_wrap_wxDC_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5117 PyObject
* _resultobj
;
5123 PyObject
* _argo0
= 0;
5124 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
5127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawRectangle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
5130 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5131 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRectangle. Expected _wxDC_p.");
5137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5138 wxDC_DrawRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5140 wxPyEndAllowThreads(__tstate
);
5141 if (PyErr_Occurred()) return NULL
;
5142 } Py_INCREF(Py_None
);
5143 _resultobj
= Py_None
;
5147 #define wxDC_DrawRotatedText(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRotatedText(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5148 static PyObject
*_wrap_wxDC_DrawRotatedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5149 PyObject
* _resultobj
;
5155 PyObject
* _argo0
= 0;
5156 PyObject
* _obj1
= 0;
5157 char *_kwnames
[] = { "self","text","x","y","angle", NULL
};
5160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiid:wxDC_DrawRotatedText",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_arg4
))
5163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRotatedText. Expected _wxDC_p.");
5170 _arg1
= wxString_in_helper(_obj1
);
5175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5176 wxDC_DrawRotatedText(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
5178 wxPyEndAllowThreads(__tstate
);
5179 if (PyErr_Occurred()) return NULL
;
5180 } Py_INCREF(Py_None
);
5181 _resultobj
= Py_None
;
5189 #define wxDC_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5190 static PyObject
*_wrap_wxDC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5191 PyObject
* _resultobj
;
5197 long _arg5
= (long ) 20;
5198 PyObject
* _argo0
= 0;
5199 char *_kwnames
[] = { "self","x","y","width","height","radius", NULL
};
5202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll|l:wxDC_DrawRoundedRectangle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
5205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRoundedRectangle. Expected _wxDC_p.");
5212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5213 wxDC_DrawRoundedRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
5215 wxPyEndAllowThreads(__tstate
);
5216 if (PyErr_Occurred()) return NULL
;
5217 } Py_INCREF(Py_None
);
5218 _resultobj
= Py_None
;
5222 #define wxDC_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1))
5223 static PyObject
*_wrap_wxDC_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5224 PyObject
* _resultobj
;
5228 PyObject
* _argo0
= 0;
5230 PyObject
* _obj2
= 0;
5231 char *_kwnames
[] = { "self","points", NULL
};
5234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_DrawSpline",_kwnames
,&_argo0
,&_obj2
))
5237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawSpline. Expected _wxDC_p.");
5245 _arg2
= wxPoint_LIST_helper(_obj2
, &NPOINTS
);
5246 if (_arg2
== NULL
) {
5254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5255 wxDC_DrawSpline(_arg0
,_arg1
,_arg2
);
5257 wxPyEndAllowThreads(__tstate
);
5258 if (PyErr_Occurred()) return NULL
;
5259 } Py_INCREF(Py_None
);
5260 _resultobj
= Py_None
;
5267 #define wxDC_DrawText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawText(_swigarg0,_swigarg1,_swigarg2))
5268 static PyObject
*_wrap_wxDC_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5269 PyObject
* _resultobj
;
5274 PyObject
* _argo0
= 0;
5275 PyObject
* _obj1
= 0;
5276 char *_kwnames
[] = { "self","text","x","y", NULL
};
5279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll:wxDC_DrawText",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
))
5282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawText. Expected _wxDC_p.");
5289 _arg1
= wxString_in_helper(_obj1
);
5294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5295 wxDC_DrawText(_arg0
,*_arg1
,_arg2
,_arg3
);
5297 wxPyEndAllowThreads(__tstate
);
5298 if (PyErr_Occurred()) return NULL
;
5299 } Py_INCREF(Py_None
);
5300 _resultobj
= Py_None
;
5308 #define wxDC_EndDoc(_swigobj) (_swigobj->EndDoc())
5309 static PyObject
*_wrap_wxDC_EndDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5310 PyObject
* _resultobj
;
5312 PyObject
* _argo0
= 0;
5313 char *_kwnames
[] = { "self", NULL
};
5316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndDoc",_kwnames
,&_argo0
))
5319 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5320 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDoc. Expected _wxDC_p.");
5326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5329 wxPyEndAllowThreads(__tstate
);
5330 if (PyErr_Occurred()) return NULL
;
5331 } Py_INCREF(Py_None
);
5332 _resultobj
= Py_None
;
5336 #define wxDC_EndDrawing(_swigobj) (_swigobj->EndDrawing())
5337 static PyObject
*_wrap_wxDC_EndDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5338 PyObject
* _resultobj
;
5340 PyObject
* _argo0
= 0;
5341 char *_kwnames
[] = { "self", NULL
};
5344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndDrawing",_kwnames
,&_argo0
))
5347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDrawing. Expected _wxDC_p.");
5354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5355 wxDC_EndDrawing(_arg0
);
5357 wxPyEndAllowThreads(__tstate
);
5358 if (PyErr_Occurred()) return NULL
;
5359 } Py_INCREF(Py_None
);
5360 _resultobj
= Py_None
;
5364 #define wxDC_EndPage(_swigobj) (_swigobj->EndPage())
5365 static PyObject
*_wrap_wxDC_EndPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5366 PyObject
* _resultobj
;
5368 PyObject
* _argo0
= 0;
5369 char *_kwnames
[] = { "self", NULL
};
5372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndPage",_kwnames
,&_argo0
))
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_EndPage. Expected _wxDC_p.");
5382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5383 wxDC_EndPage(_arg0
);
5385 wxPyEndAllowThreads(__tstate
);
5386 if (PyErr_Occurred()) return NULL
;
5387 } Py_INCREF(Py_None
);
5388 _resultobj
= Py_None
;
5392 #define wxDC_FloodFill(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FloodFill(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5393 static PyObject
*_wrap_wxDC_FloodFill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5394 PyObject
* _resultobj
;
5400 int _arg4
= (int ) wxFLOOD_SURFACE
;
5401 PyObject
* _argo0
= 0;
5403 PyObject
* _obj3
= 0;
5404 char *_kwnames
[] = { "self","x","y","colour","style", NULL
};
5407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO|i:wxDC_FloodFill",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
5410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_FloodFill. Expected _wxDC_p.");
5418 if (! wxColour_helper(_obj3
, &_arg3
))
5422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5423 _result
= (bool )wxDC_FloodFill(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
5425 wxPyEndAllowThreads(__tstate
);
5426 if (PyErr_Occurred()) return NULL
;
5427 } _resultobj
= Py_BuildValue("i",_result
);
5431 #define wxDC_GetBackground(_swigobj) (_swigobj->GetBackground())
5432 static PyObject
*_wrap_wxDC_GetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5433 PyObject
* _resultobj
;
5436 PyObject
* _argo0
= 0;
5437 char *_kwnames
[] = { "self", NULL
};
5441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBackground",_kwnames
,&_argo0
))
5444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBackground. Expected _wxDC_p.");
5451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5452 _result
= new wxBrush (wxDC_GetBackground(_arg0
));
5454 wxPyEndAllowThreads(__tstate
);
5455 if (PyErr_Occurred()) return NULL
;
5456 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBrush_p");
5457 _resultobj
= Py_BuildValue("s",_ptemp
);
5461 #define wxDC_GetBrush(_swigobj) (_swigobj->GetBrush())
5462 static PyObject
*_wrap_wxDC_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5463 PyObject
* _resultobj
;
5466 PyObject
* _argo0
= 0;
5467 char *_kwnames
[] = { "self", NULL
};
5471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBrush",_kwnames
,&_argo0
))
5474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBrush. Expected _wxDC_p.");
5481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5482 _result
= new wxBrush (wxDC_GetBrush(_arg0
));
5484 wxPyEndAllowThreads(__tstate
);
5485 if (PyErr_Occurred()) return NULL
;
5486 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBrush_p");
5487 _resultobj
= Py_BuildValue("s",_ptemp
);
5491 #define wxDC_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
5492 static PyObject
*_wrap_wxDC_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5493 PyObject
* _resultobj
;
5496 PyObject
* _argo0
= 0;
5497 char *_kwnames
[] = { "self", NULL
};
5500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetCharHeight",_kwnames
,&_argo0
))
5503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharHeight. Expected _wxDC_p.");
5510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5511 _result
= (long )wxDC_GetCharHeight(_arg0
);
5513 wxPyEndAllowThreads(__tstate
);
5514 if (PyErr_Occurred()) return NULL
;
5515 } _resultobj
= Py_BuildValue("l",_result
);
5519 #define wxDC_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
5520 static PyObject
*_wrap_wxDC_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5521 PyObject
* _resultobj
;
5524 PyObject
* _argo0
= 0;
5525 char *_kwnames
[] = { "self", NULL
};
5528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetCharWidth",_kwnames
,&_argo0
))
5531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharWidth. Expected _wxDC_p.");
5538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5539 _result
= (long )wxDC_GetCharWidth(_arg0
);
5541 wxPyEndAllowThreads(__tstate
);
5542 if (PyErr_Occurred()) return NULL
;
5543 } _resultobj
= Py_BuildValue("l",_result
);
5547 #define wxDC_GetClippingBox(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetClippingBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5548 static PyObject
*_wrap_wxDC_GetClippingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5549 PyObject
* _resultobj
;
5559 PyObject
* _argo0
= 0;
5560 char *_kwnames
[] = { "self", NULL
};
5575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetClippingBox",_kwnames
,&_argo0
))
5578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetClippingBox. Expected _wxDC_p.");
5585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5586 wxDC_GetClippingBox(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5588 wxPyEndAllowThreads(__tstate
);
5589 if (PyErr_Occurred()) return NULL
;
5590 } Py_INCREF(Py_None
);
5591 _resultobj
= Py_None
;
5594 o
= PyInt_FromLong((long) (*_arg1
));
5595 _resultobj
= t_output_helper(_resultobj
, o
);
5599 o
= PyInt_FromLong((long) (*_arg2
));
5600 _resultobj
= t_output_helper(_resultobj
, o
);
5604 o
= PyInt_FromLong((long) (*_arg3
));
5605 _resultobj
= t_output_helper(_resultobj
, o
);
5609 o
= PyInt_FromLong((long) (*_arg4
));
5610 _resultobj
= t_output_helper(_resultobj
, o
);
5615 #define wxDC_GetFont(_swigobj) (_swigobj->GetFont())
5616 static PyObject
*_wrap_wxDC_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5617 PyObject
* _resultobj
;
5620 PyObject
* _argo0
= 0;
5621 char *_kwnames
[] = { "self", NULL
};
5625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetFont",_kwnames
,&_argo0
))
5628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFont. Expected _wxDC_p.");
5635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5636 _result
= new wxFont (wxDC_GetFont(_arg0
));
5638 wxPyEndAllowThreads(__tstate
);
5639 if (PyErr_Occurred()) return NULL
;
5640 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
5641 _resultobj
= Py_BuildValue("s",_ptemp
);
5645 #define wxDC_GetLogicalFunction(_swigobj) (_swigobj->GetLogicalFunction())
5646 static PyObject
*_wrap_wxDC_GetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5647 PyObject
* _resultobj
;
5650 PyObject
* _argo0
= 0;
5651 char *_kwnames
[] = { "self", NULL
};
5654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalFunction",_kwnames
,&_argo0
))
5657 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5658 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalFunction. Expected _wxDC_p.");
5664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5665 _result
= (int )wxDC_GetLogicalFunction(_arg0
);
5667 wxPyEndAllowThreads(__tstate
);
5668 if (PyErr_Occurred()) return NULL
;
5669 } _resultobj
= Py_BuildValue("i",_result
);
5673 #define wxDC_GetLogicalScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLogicalScale(_swigarg0,_swigarg1))
5674 static PyObject
*_wrap_wxDC_GetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5675 PyObject
* _resultobj
;
5681 PyObject
* _argo0
= 0;
5682 char *_kwnames
[] = { "self", NULL
};
5691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalScale",_kwnames
,&_argo0
))
5694 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5695 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalScale. Expected _wxDC_p.");
5701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5702 wxDC_GetLogicalScale(_arg0
,_arg1
,_arg2
);
5704 wxPyEndAllowThreads(__tstate
);
5705 if (PyErr_Occurred()) return NULL
;
5706 } Py_INCREF(Py_None
);
5707 _resultobj
= Py_None
;
5710 o
= PyFloat_FromDouble((double) (*_arg1
));
5711 _resultobj
= t_output_helper(_resultobj
, o
);
5715 o
= PyFloat_FromDouble((double) (*_arg2
));
5716 _resultobj
= t_output_helper(_resultobj
, o
);
5721 #define wxDC_GetMapMode(_swigobj) (_swigobj->GetMapMode())
5722 static PyObject
*_wrap_wxDC_GetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5723 PyObject
* _resultobj
;
5726 PyObject
* _argo0
= 0;
5727 char *_kwnames
[] = { "self", NULL
};
5730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetMapMode",_kwnames
,&_argo0
))
5733 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5734 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetMapMode. Expected _wxDC_p.");
5740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5741 _result
= (int )wxDC_GetMapMode(_arg0
);
5743 wxPyEndAllowThreads(__tstate
);
5744 if (PyErr_Occurred()) return NULL
;
5745 } _resultobj
= Py_BuildValue("i",_result
);
5749 #define wxDC_GetOptimization(_swigobj) (_swigobj->GetOptimization())
5750 static PyObject
*_wrap_wxDC_GetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5751 PyObject
* _resultobj
;
5754 PyObject
* _argo0
= 0;
5755 char *_kwnames
[] = { "self", NULL
};
5758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetOptimization",_kwnames
,&_argo0
))
5761 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5762 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetOptimization. Expected _wxDC_p.");
5768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5769 _result
= (bool )wxDC_GetOptimization(_arg0
);
5771 wxPyEndAllowThreads(__tstate
);
5772 if (PyErr_Occurred()) return NULL
;
5773 } _resultobj
= Py_BuildValue("i",_result
);
5777 #define wxDC_GetPen(_swigobj) (_swigobj->GetPen())
5778 static PyObject
*_wrap_wxDC_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5779 PyObject
* _resultobj
;
5782 PyObject
* _argo0
= 0;
5783 char *_kwnames
[] = { "self", NULL
};
5787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetPen",_kwnames
,&_argo0
))
5790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPen. Expected _wxDC_p.");
5797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5798 _result
= new wxPen (wxDC_GetPen(_arg0
));
5800 wxPyEndAllowThreads(__tstate
);
5801 if (PyErr_Occurred()) return NULL
;
5802 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPen_p");
5803 _resultobj
= Py_BuildValue("s",_ptemp
);
5807 static wxColour
* wxDC_GetPixel(wxDC
*self
,long x
,long y
) {
5808 wxColour
* wc
= new wxColour();
5809 self
->GetPixel(x
, y
, wc
);
5812 static PyObject
*_wrap_wxDC_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5813 PyObject
* _resultobj
;
5818 PyObject
* _argo0
= 0;
5819 char *_kwnames
[] = { "self","x","y", NULL
};
5823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_GetPixel",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5826 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5827 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPixel. Expected _wxDC_p.");
5833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5834 _result
= (wxColour
*)wxDC_GetPixel(_arg0
,_arg1
,_arg2
);
5836 wxPyEndAllowThreads(__tstate
);
5837 if (PyErr_Occurred()) return NULL
;
5839 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
5840 _resultobj
= Py_BuildValue("s",_ptemp
);
5843 _resultobj
= Py_None
;
5848 #define wxDC_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
5849 static PyObject
*_wrap_wxDC_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5850 PyObject
* _resultobj
;
5856 PyObject
* _argo0
= 0;
5857 char *_kwnames
[] = { "self", NULL
};
5866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSizeTuple",_kwnames
,&_argo0
))
5869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSizeTuple. Expected _wxDC_p.");
5876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5877 wxDC_GetSizeTuple(_arg0
,_arg1
,_arg2
);
5879 wxPyEndAllowThreads(__tstate
);
5880 if (PyErr_Occurred()) return NULL
;
5881 } Py_INCREF(Py_None
);
5882 _resultobj
= Py_None
;
5885 o
= PyInt_FromLong((long) (*_arg1
));
5886 _resultobj
= t_output_helper(_resultobj
, o
);
5890 o
= PyInt_FromLong((long) (*_arg2
));
5891 _resultobj
= t_output_helper(_resultobj
, o
);
5896 #define wxDC_GetSize(_swigobj) (_swigobj->GetSize())
5897 static PyObject
*_wrap_wxDC_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5898 PyObject
* _resultobj
;
5901 PyObject
* _argo0
= 0;
5902 char *_kwnames
[] = { "self", NULL
};
5906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSize",_kwnames
,&_argo0
))
5909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSize. Expected _wxDC_p.");
5916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5917 _result
= new wxSize (wxDC_GetSize(_arg0
));
5919 wxPyEndAllowThreads(__tstate
);
5920 if (PyErr_Occurred()) return NULL
;
5921 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5922 _resultobj
= Py_BuildValue("s",_ptemp
);
5926 #define wxDC_GetSizeMM(_swigobj) (_swigobj->GetSizeMM())
5927 static PyObject
*_wrap_wxDC_GetSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5928 PyObject
* _resultobj
;
5931 PyObject
* _argo0
= 0;
5932 char *_kwnames
[] = { "self", NULL
};
5936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSizeMM",_kwnames
,&_argo0
))
5939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSizeMM. Expected _wxDC_p.");
5946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5947 _result
= new wxSize (wxDC_GetSizeMM(_arg0
));
5949 wxPyEndAllowThreads(__tstate
);
5950 if (PyErr_Occurred()) return NULL
;
5951 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5952 _resultobj
= Py_BuildValue("s",_ptemp
);
5956 #define wxDC_GetTextBackground(_swigobj) (_swigobj->GetTextBackground())
5957 static PyObject
*_wrap_wxDC_GetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5958 PyObject
* _resultobj
;
5961 PyObject
* _argo0
= 0;
5962 char *_kwnames
[] = { "self", NULL
};
5966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetTextBackground",_kwnames
,&_argo0
))
5969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextBackground. Expected _wxDC_p.");
5976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5977 _result
= new wxColour (wxDC_GetTextBackground(_arg0
));
5979 wxPyEndAllowThreads(__tstate
);
5980 if (PyErr_Occurred()) return NULL
;
5981 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
5982 _resultobj
= Py_BuildValue("s",_ptemp
);
5986 #define wxDC_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
5987 static PyObject
*_wrap_wxDC_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5988 PyObject
* _resultobj
;
5995 PyObject
* _argo0
= 0;
5996 PyObject
* _obj1
= 0;
5997 char *_kwnames
[] = { "self","string", NULL
};
6006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
6009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextExtent. Expected _wxDC_p.");
6016 _arg1
= wxString_in_helper(_obj1
);
6021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6022 wxDC_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
6024 wxPyEndAllowThreads(__tstate
);
6025 if (PyErr_Occurred()) return NULL
;
6026 } Py_INCREF(Py_None
);
6027 _resultobj
= Py_None
;
6030 o
= PyInt_FromLong((long) (*_arg2
));
6031 _resultobj
= t_output_helper(_resultobj
, o
);
6035 o
= PyInt_FromLong((long) (*_arg3
));
6036 _resultobj
= t_output_helper(_resultobj
, o
);
6045 #define wxDC_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6046 static PyObject
*_wrap_wxDC_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6047 PyObject
* _resultobj
;
6058 wxFont
* _arg6
= (wxFont
*) NULL
;
6059 PyObject
* _argo0
= 0;
6060 PyObject
* _obj1
= 0;
6061 PyObject
* _argo6
= 0;
6062 char *_kwnames
[] = { "self","string","font", NULL
};
6077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxDC_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
6080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFullTextExtent. Expected _wxDC_p.");
6087 _arg1
= wxString_in_helper(_obj1
);
6092 if (_argo6
== Py_None
) { _arg6
= NULL
; }
6093 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
6094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxDC_GetFullTextExtent. Expected _wxFont_p.");
6099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6100 wxDC_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
6102 wxPyEndAllowThreads(__tstate
);
6103 if (PyErr_Occurred()) return NULL
;
6104 } Py_INCREF(Py_None
);
6105 _resultobj
= Py_None
;
6108 o
= PyInt_FromLong((long) (*_arg2
));
6109 _resultobj
= t_output_helper(_resultobj
, o
);
6113 o
= PyInt_FromLong((long) (*_arg3
));
6114 _resultobj
= t_output_helper(_resultobj
, o
);
6118 o
= PyInt_FromLong((long) (*_arg4
));
6119 _resultobj
= t_output_helper(_resultobj
, o
);
6123 o
= PyInt_FromLong((long) (*_arg5
));
6124 _resultobj
= t_output_helper(_resultobj
, o
);
6133 #define wxDC_GetTextForeground(_swigobj) (_swigobj->GetTextForeground())
6134 static PyObject
*_wrap_wxDC_GetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6135 PyObject
* _resultobj
;
6138 PyObject
* _argo0
= 0;
6139 char *_kwnames
[] = { "self", NULL
};
6143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetTextForeground",_kwnames
,&_argo0
))
6146 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6147 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextForeground. Expected _wxDC_p.");
6153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6154 _result
= new wxColour (wxDC_GetTextForeground(_arg0
));
6156 wxPyEndAllowThreads(__tstate
);
6157 if (PyErr_Occurred()) return NULL
;
6158 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
6159 _resultobj
= Py_BuildValue("s",_ptemp
);
6163 #define wxDC_GetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetUserScale(_swigarg0,_swigarg1))
6164 static PyObject
*_wrap_wxDC_GetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6165 PyObject
* _resultobj
;
6171 PyObject
* _argo0
= 0;
6172 char *_kwnames
[] = { "self", NULL
};
6181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetUserScale",_kwnames
,&_argo0
))
6184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetUserScale. Expected _wxDC_p.");
6191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6192 wxDC_GetUserScale(_arg0
,_arg1
,_arg2
);
6194 wxPyEndAllowThreads(__tstate
);
6195 if (PyErr_Occurred()) return NULL
;
6196 } Py_INCREF(Py_None
);
6197 _resultobj
= Py_None
;
6200 o
= PyFloat_FromDouble((double) (*_arg1
));
6201 _resultobj
= t_output_helper(_resultobj
, o
);
6205 o
= PyFloat_FromDouble((double) (*_arg2
));
6206 _resultobj
= t_output_helper(_resultobj
, o
);
6211 #define wxDC_LogicalToDeviceX(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceX(_swigarg0))
6212 static PyObject
*_wrap_wxDC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6213 PyObject
* _resultobj
;
6217 PyObject
* _argo0
= 0;
6218 char *_kwnames
[] = { "self","x", NULL
};
6221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceX",_kwnames
,&_argo0
,&_arg1
))
6224 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6225 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceX. Expected _wxDC_p.");
6231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6232 _result
= (long )wxDC_LogicalToDeviceX(_arg0
,_arg1
);
6234 wxPyEndAllowThreads(__tstate
);
6235 if (PyErr_Occurred()) return NULL
;
6236 } _resultobj
= Py_BuildValue("l",_result
);
6240 #define wxDC_LogicalToDeviceXRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceXRel(_swigarg0))
6241 static PyObject
*_wrap_wxDC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6242 PyObject
* _resultobj
;
6246 PyObject
* _argo0
= 0;
6247 char *_kwnames
[] = { "self","x", NULL
};
6250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceXRel",_kwnames
,&_argo0
,&_arg1
))
6253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceXRel. Expected _wxDC_p.");
6260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6261 _result
= (long )wxDC_LogicalToDeviceXRel(_arg0
,_arg1
);
6263 wxPyEndAllowThreads(__tstate
);
6264 if (PyErr_Occurred()) return NULL
;
6265 } _resultobj
= Py_BuildValue("l",_result
);
6269 #define wxDC_LogicalToDeviceY(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceY(_swigarg0))
6270 static PyObject
*_wrap_wxDC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6271 PyObject
* _resultobj
;
6275 PyObject
* _argo0
= 0;
6276 char *_kwnames
[] = { "self","y", NULL
};
6279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceY",_kwnames
,&_argo0
,&_arg1
))
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_LogicalToDeviceY. Expected _wxDC_p.");
6289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6290 _result
= (long )wxDC_LogicalToDeviceY(_arg0
,_arg1
);
6292 wxPyEndAllowThreads(__tstate
);
6293 if (PyErr_Occurred()) return NULL
;
6294 } _resultobj
= Py_BuildValue("l",_result
);
6298 #define wxDC_LogicalToDeviceYRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceYRel(_swigarg0))
6299 static PyObject
*_wrap_wxDC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6300 PyObject
* _resultobj
;
6304 PyObject
* _argo0
= 0;
6305 char *_kwnames
[] = { "self","y", NULL
};
6308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceYRel",_kwnames
,&_argo0
,&_arg1
))
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_LogicalToDeviceYRel. Expected _wxDC_p.");
6318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6319 _result
= (long )wxDC_LogicalToDeviceYRel(_arg0
,_arg1
);
6321 wxPyEndAllowThreads(__tstate
);
6322 if (PyErr_Occurred()) return NULL
;
6323 } _resultobj
= Py_BuildValue("l",_result
);
6327 #define wxDC_MaxX(_swigobj) (_swigobj->MaxX())
6328 static PyObject
*_wrap_wxDC_MaxX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6329 PyObject
* _resultobj
;
6332 PyObject
* _argo0
= 0;
6333 char *_kwnames
[] = { "self", NULL
};
6336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MaxX",_kwnames
,&_argo0
))
6339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxX. Expected _wxDC_p.");
6346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6347 _result
= (long )wxDC_MaxX(_arg0
);
6349 wxPyEndAllowThreads(__tstate
);
6350 if (PyErr_Occurred()) return NULL
;
6351 } _resultobj
= Py_BuildValue("l",_result
);
6355 #define wxDC_MaxY(_swigobj) (_swigobj->MaxY())
6356 static PyObject
*_wrap_wxDC_MaxY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6357 PyObject
* _resultobj
;
6360 PyObject
* _argo0
= 0;
6361 char *_kwnames
[] = { "self", NULL
};
6364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MaxY",_kwnames
,&_argo0
))
6367 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6368 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxY. Expected _wxDC_p.");
6374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6375 _result
= (long )wxDC_MaxY(_arg0
);
6377 wxPyEndAllowThreads(__tstate
);
6378 if (PyErr_Occurred()) return NULL
;
6379 } _resultobj
= Py_BuildValue("l",_result
);
6383 #define wxDC_MinX(_swigobj) (_swigobj->MinX())
6384 static PyObject
*_wrap_wxDC_MinX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6385 PyObject
* _resultobj
;
6388 PyObject
* _argo0
= 0;
6389 char *_kwnames
[] = { "self", NULL
};
6392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MinX",_kwnames
,&_argo0
))
6395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinX. Expected _wxDC_p.");
6402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6403 _result
= (long )wxDC_MinX(_arg0
);
6405 wxPyEndAllowThreads(__tstate
);
6406 if (PyErr_Occurred()) return NULL
;
6407 } _resultobj
= Py_BuildValue("l",_result
);
6411 #define wxDC_MinY(_swigobj) (_swigobj->MinY())
6412 static PyObject
*_wrap_wxDC_MinY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6413 PyObject
* _resultobj
;
6416 PyObject
* _argo0
= 0;
6417 char *_kwnames
[] = { "self", NULL
};
6420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MinY",_kwnames
,&_argo0
))
6423 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6424 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinY. Expected _wxDC_p.");
6430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6431 _result
= (long )wxDC_MinY(_arg0
);
6433 wxPyEndAllowThreads(__tstate
);
6434 if (PyErr_Occurred()) return NULL
;
6435 } _resultobj
= Py_BuildValue("l",_result
);
6439 #define wxDC_Ok(_swigobj) (_swigobj->Ok())
6440 static PyObject
*_wrap_wxDC_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6441 PyObject
* _resultobj
;
6444 PyObject
* _argo0
= 0;
6445 char *_kwnames
[] = { "self", NULL
};
6448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_Ok",_kwnames
,&_argo0
))
6451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Ok. Expected _wxDC_p.");
6458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6459 _result
= (bool )wxDC_Ok(_arg0
);
6461 wxPyEndAllowThreads(__tstate
);
6462 if (PyErr_Occurred()) return NULL
;
6463 } _resultobj
= Py_BuildValue("i",_result
);
6467 #define wxDC_SetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDeviceOrigin(_swigarg0,_swigarg1))
6468 static PyObject
*_wrap_wxDC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6469 PyObject
* _resultobj
;
6473 PyObject
* _argo0
= 0;
6474 char *_kwnames
[] = { "self","x","y", NULL
};
6477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_SetDeviceOrigin",_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_SetDeviceOrigin. Expected _wxDC_p.");
6487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6488 wxDC_SetDeviceOrigin(_arg0
,_arg1
,_arg2
);
6490 wxPyEndAllowThreads(__tstate
);
6491 if (PyErr_Occurred()) return NULL
;
6492 } Py_INCREF(Py_None
);
6493 _resultobj
= Py_None
;
6497 #define wxDC_SetBackground(_swigobj,_swigarg0) (_swigobj->SetBackground(_swigarg0))
6498 static PyObject
*_wrap_wxDC_SetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6499 PyObject
* _resultobj
;
6502 PyObject
* _argo0
= 0;
6503 PyObject
* _argo1
= 0;
6504 char *_kwnames
[] = { "self","brush", NULL
};
6507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetBackground",_kwnames
,&_argo0
,&_argo1
))
6510 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6511 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackground. Expected _wxDC_p.");
6517 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6518 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
6519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBackground. Expected _wxBrush_p.");
6524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6525 wxDC_SetBackground(_arg0
,*_arg1
);
6527 wxPyEndAllowThreads(__tstate
);
6528 if (PyErr_Occurred()) return NULL
;
6529 } Py_INCREF(Py_None
);
6530 _resultobj
= Py_None
;
6534 #define wxDC_SetBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetBackgroundMode(_swigarg0))
6535 static PyObject
*_wrap_wxDC_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6536 PyObject
* _resultobj
;
6539 PyObject
* _argo0
= 0;
6540 char *_kwnames
[] = { "self","mode", NULL
};
6543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetBackgroundMode",_kwnames
,&_argo0
,&_arg1
))
6546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackgroundMode. Expected _wxDC_p.");
6553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6554 wxDC_SetBackgroundMode(_arg0
,_arg1
);
6556 wxPyEndAllowThreads(__tstate
);
6557 if (PyErr_Occurred()) return NULL
;
6558 } Py_INCREF(Py_None
);
6559 _resultobj
= Py_None
;
6563 #define wxDC_SetClippingRegion(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetClippingRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6564 static PyObject
*_wrap_wxDC_SetClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6565 PyObject
* _resultobj
;
6571 PyObject
* _argo0
= 0;
6572 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
6575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_SetClippingRegion",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
6578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetClippingRegion. Expected _wxDC_p.");
6585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6586 wxDC_SetClippingRegion(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6588 wxPyEndAllowThreads(__tstate
);
6589 if (PyErr_Occurred()) return NULL
;
6590 } Py_INCREF(Py_None
);
6591 _resultobj
= Py_None
;
6595 #define wxDC_SetClippingRegionAsRegion(_swigobj,_swigarg0) (_swigobj->SetClippingRegion(_swigarg0))
6596 static PyObject
*_wrap_wxDC_SetClippingRegionAsRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6597 PyObject
* _resultobj
;
6600 PyObject
* _argo0
= 0;
6601 PyObject
* _argo1
= 0;
6602 char *_kwnames
[] = { "self","region", NULL
};
6605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetClippingRegionAsRegion",_kwnames
,&_argo0
,&_argo1
))
6608 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6609 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetClippingRegionAsRegion. Expected _wxDC_p.");
6615 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6616 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
6617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetClippingRegionAsRegion. Expected _wxRegion_p.");
6622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6623 wxDC_SetClippingRegionAsRegion(_arg0
,*_arg1
);
6625 wxPyEndAllowThreads(__tstate
);
6626 if (PyErr_Occurred()) return NULL
;
6627 } Py_INCREF(Py_None
);
6628 _resultobj
= Py_None
;
6632 #define wxDC_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
6633 static PyObject
*_wrap_wxDC_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6634 PyObject
* _resultobj
;
6637 PyObject
* _argo0
= 0;
6638 PyObject
* _argo1
= 0;
6639 char *_kwnames
[] = { "self","colourMap", NULL
};
6642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetPalette",_kwnames
,&_argo0
,&_argo1
))
6645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPalette. Expected _wxDC_p.");
6652 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6653 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPalette_p")) {
6654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPalette. Expected _wxPalette_p.");
6659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6660 wxDC_SetPalette(_arg0
,*_arg1
);
6662 wxPyEndAllowThreads(__tstate
);
6663 if (PyErr_Occurred()) return NULL
;
6664 } Py_INCREF(Py_None
);
6665 _resultobj
= Py_None
;
6669 #define wxDC_SetBrush(_swigobj,_swigarg0) (_swigobj->SetBrush(_swigarg0))
6670 static PyObject
*_wrap_wxDC_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6671 PyObject
* _resultobj
;
6674 PyObject
* _argo0
= 0;
6675 PyObject
* _argo1
= 0;
6676 char *_kwnames
[] = { "self","brush", NULL
};
6679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetBrush",_kwnames
,&_argo0
,&_argo1
))
6682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBrush. Expected _wxDC_p.");
6689 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6690 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
6691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBrush. Expected _wxBrush_p.");
6696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6697 wxDC_SetBrush(_arg0
,*_arg1
);
6699 wxPyEndAllowThreads(__tstate
);
6700 if (PyErr_Occurred()) return NULL
;
6701 } Py_INCREF(Py_None
);
6702 _resultobj
= Py_None
;
6706 #define wxDC_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
6707 static PyObject
*_wrap_wxDC_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6708 PyObject
* _resultobj
;
6711 PyObject
* _argo0
= 0;
6712 PyObject
* _argo1
= 0;
6713 char *_kwnames
[] = { "self","font", NULL
};
6716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetFont",_kwnames
,&_argo0
,&_argo1
))
6719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetFont. Expected _wxDC_p.");
6726 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6727 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
6728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetFont. Expected _wxFont_p.");
6733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6734 wxDC_SetFont(_arg0
,*_arg1
);
6736 wxPyEndAllowThreads(__tstate
);
6737 if (PyErr_Occurred()) return NULL
;
6738 } Py_INCREF(Py_None
);
6739 _resultobj
= Py_None
;
6743 #define wxDC_SetLogicalFunction(_swigobj,_swigarg0) (_swigobj->SetLogicalFunction(_swigarg0))
6744 static PyObject
*_wrap_wxDC_SetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6745 PyObject
* _resultobj
;
6748 PyObject
* _argo0
= 0;
6749 char *_kwnames
[] = { "self","function", NULL
};
6752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetLogicalFunction",_kwnames
,&_argo0
,&_arg1
))
6755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalFunction. Expected _wxDC_p.");
6762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6763 wxDC_SetLogicalFunction(_arg0
,_arg1
);
6765 wxPyEndAllowThreads(__tstate
);
6766 if (PyErr_Occurred()) return NULL
;
6767 } Py_INCREF(Py_None
);
6768 _resultobj
= Py_None
;
6772 #define wxDC_SetLogicalScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLogicalScale(_swigarg0,_swigarg1))
6773 static PyObject
*_wrap_wxDC_SetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6774 PyObject
* _resultobj
;
6778 PyObject
* _argo0
= 0;
6779 char *_kwnames
[] = { "self","x","y", NULL
};
6782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxDC_SetLogicalScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalScale. Expected _wxDC_p.");
6792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6793 wxDC_SetLogicalScale(_arg0
,_arg1
,_arg2
);
6795 wxPyEndAllowThreads(__tstate
);
6796 if (PyErr_Occurred()) return NULL
;
6797 } Py_INCREF(Py_None
);
6798 _resultobj
= Py_None
;
6802 #define wxDC_SetMapMode(_swigobj,_swigarg0) (_swigobj->SetMapMode(_swigarg0))
6803 static PyObject
*_wrap_wxDC_SetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6804 PyObject
* _resultobj
;
6807 PyObject
* _argo0
= 0;
6808 char *_kwnames
[] = { "self","mode", NULL
};
6811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetMapMode",_kwnames
,&_argo0
,&_arg1
))
6814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetMapMode. Expected _wxDC_p.");
6821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6822 wxDC_SetMapMode(_arg0
,_arg1
);
6824 wxPyEndAllowThreads(__tstate
);
6825 if (PyErr_Occurred()) return NULL
;
6826 } Py_INCREF(Py_None
);
6827 _resultobj
= Py_None
;
6831 #define wxDC_SetOptimization(_swigobj,_swigarg0) (_swigobj->SetOptimization(_swigarg0))
6832 static PyObject
*_wrap_wxDC_SetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6833 PyObject
* _resultobj
;
6836 PyObject
* _argo0
= 0;
6838 char *_kwnames
[] = { "self","optimize", NULL
};
6841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetOptimization",_kwnames
,&_argo0
,&tempbool1
))
6844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetOptimization. Expected _wxDC_p.");
6850 _arg1
= (bool ) tempbool1
;
6852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6853 wxDC_SetOptimization(_arg0
,_arg1
);
6855 wxPyEndAllowThreads(__tstate
);
6856 if (PyErr_Occurred()) return NULL
;
6857 } Py_INCREF(Py_None
);
6858 _resultobj
= Py_None
;
6862 #define wxDC_SetPen(_swigobj,_swigarg0) (_swigobj->SetPen(_swigarg0))
6863 static PyObject
*_wrap_wxDC_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6864 PyObject
* _resultobj
;
6867 PyObject
* _argo0
= 0;
6868 PyObject
* _argo1
= 0;
6869 char *_kwnames
[] = { "self","pen", NULL
};
6872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetPen",_kwnames
,&_argo0
,&_argo1
))
6875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPen. Expected _wxDC_p.");
6882 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6883 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
6884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPen. Expected _wxPen_p.");
6889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6890 wxDC_SetPen(_arg0
,*_arg1
);
6892 wxPyEndAllowThreads(__tstate
);
6893 if (PyErr_Occurred()) return NULL
;
6894 } Py_INCREF(Py_None
);
6895 _resultobj
= Py_None
;
6899 #define wxDC_SetTextBackground(_swigobj,_swigarg0) (_swigobj->SetTextBackground(_swigarg0))
6900 static PyObject
*_wrap_wxDC_SetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6901 PyObject
* _resultobj
;
6904 PyObject
* _argo0
= 0;
6906 PyObject
* _obj1
= 0;
6907 char *_kwnames
[] = { "self","colour", NULL
};
6910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetTextBackground",_kwnames
,&_argo0
,&_obj1
))
6913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextBackground. Expected _wxDC_p.");
6921 if (! wxColour_helper(_obj1
, &_arg1
))
6925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6926 wxDC_SetTextBackground(_arg0
,*_arg1
);
6928 wxPyEndAllowThreads(__tstate
);
6929 if (PyErr_Occurred()) return NULL
;
6930 } Py_INCREF(Py_None
);
6931 _resultobj
= Py_None
;
6935 #define wxDC_SetTextForeground(_swigobj,_swigarg0) (_swigobj->SetTextForeground(_swigarg0))
6936 static PyObject
*_wrap_wxDC_SetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6937 PyObject
* _resultobj
;
6940 PyObject
* _argo0
= 0;
6942 PyObject
* _obj1
= 0;
6943 char *_kwnames
[] = { "self","colour", NULL
};
6946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetTextForeground",_kwnames
,&_argo0
,&_obj1
))
6949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextForeground. Expected _wxDC_p.");
6957 if (! wxColour_helper(_obj1
, &_arg1
))
6961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6962 wxDC_SetTextForeground(_arg0
,*_arg1
);
6964 wxPyEndAllowThreads(__tstate
);
6965 if (PyErr_Occurred()) return NULL
;
6966 } Py_INCREF(Py_None
);
6967 _resultobj
= Py_None
;
6971 #define wxDC_SetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetUserScale(_swigarg0,_swigarg1))
6972 static PyObject
*_wrap_wxDC_SetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6973 PyObject
* _resultobj
;
6977 PyObject
* _argo0
= 0;
6978 char *_kwnames
[] = { "self","x_scale","y_scale", NULL
};
6981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxDC_SetUserScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetUserScale. Expected _wxDC_p.");
6991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6992 wxDC_SetUserScale(_arg0
,_arg1
,_arg2
);
6994 wxPyEndAllowThreads(__tstate
);
6995 if (PyErr_Occurred()) return NULL
;
6996 } Py_INCREF(Py_None
);
6997 _resultobj
= Py_None
;
7001 #define wxDC_StartDoc(_swigobj,_swigarg0) (_swigobj->StartDoc(_swigarg0))
7002 static PyObject
*_wrap_wxDC_StartDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7003 PyObject
* _resultobj
;
7007 PyObject
* _argo0
= 0;
7008 PyObject
* _obj1
= 0;
7009 char *_kwnames
[] = { "self","message", NULL
};
7012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_StartDoc",_kwnames
,&_argo0
,&_obj1
))
7015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartDoc. Expected _wxDC_p.");
7022 _arg1
= wxString_in_helper(_obj1
);
7027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7028 _result
= (bool )wxDC_StartDoc(_arg0
,*_arg1
);
7030 wxPyEndAllowThreads(__tstate
);
7031 if (PyErr_Occurred()) return NULL
;
7032 } _resultobj
= Py_BuildValue("i",_result
);
7040 #define wxDC_StartPage(_swigobj) (_swigobj->StartPage())
7041 static PyObject
*_wrap_wxDC_StartPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7042 PyObject
* _resultobj
;
7044 PyObject
* _argo0
= 0;
7045 char *_kwnames
[] = { "self", NULL
};
7048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_StartPage",_kwnames
,&_argo0
))
7051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartPage. Expected _wxDC_p.");
7058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7059 wxDC_StartPage(_arg0
);
7061 wxPyEndAllowThreads(__tstate
);
7062 if (PyErr_Occurred()) return NULL
;
7063 } Py_INCREF(Py_None
);
7064 _resultobj
= Py_None
;
7068 #define wxDC_DrawBitmap(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7069 static PyObject
*_wrap_wxDC_DrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7070 PyObject
* _resultobj
;
7075 int _arg4
= (int ) FALSE
;
7076 PyObject
* _argo0
= 0;
7077 PyObject
* _argo1
= 0;
7078 char *_kwnames
[] = { "self","bitmap","x","y","useMask", NULL
};
7081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll|i:wxDC_DrawBitmap",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
))
7084 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7085 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawBitmap. Expected _wxDC_p.");
7091 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7092 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
7093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawBitmap. Expected _wxBitmap_p.");
7098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7099 wxDC_DrawBitmap(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
7101 wxPyEndAllowThreads(__tstate
);
7102 if (PyErr_Occurred()) return NULL
;
7103 } Py_INCREF(Py_None
);
7104 _resultobj
= Py_None
;
7108 #define wxDC_CanDrawBitmap(_swigobj) (_swigobj->CanDrawBitmap())
7109 static PyObject
*_wrap_wxDC_CanDrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7110 PyObject
* _resultobj
;
7113 PyObject
* _argo0
= 0;
7114 char *_kwnames
[] = { "self", NULL
};
7117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_CanDrawBitmap",_kwnames
,&_argo0
))
7120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CanDrawBitmap. Expected _wxDC_p.");
7127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7128 _result
= (bool )wxDC_CanDrawBitmap(_arg0
);
7130 wxPyEndAllowThreads(__tstate
);
7131 if (PyErr_Occurred()) return NULL
;
7132 } _resultobj
= Py_BuildValue("i",_result
);
7136 #define wxDC_CanGetTextExtent(_swigobj) (_swigobj->CanGetTextExtent())
7137 static PyObject
*_wrap_wxDC_CanGetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7138 PyObject
* _resultobj
;
7141 PyObject
* _argo0
= 0;
7142 char *_kwnames
[] = { "self", NULL
};
7145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_CanGetTextExtent",_kwnames
,&_argo0
))
7148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CanGetTextExtent. Expected _wxDC_p.");
7155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7156 _result
= (bool )wxDC_CanGetTextExtent(_arg0
);
7158 wxPyEndAllowThreads(__tstate
);
7159 if (PyErr_Occurred()) return NULL
;
7160 } _resultobj
= Py_BuildValue("i",_result
);
7164 #define wxDC_GetDepth(_swigobj) (_swigobj->GetDepth())
7165 static PyObject
*_wrap_wxDC_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7166 PyObject
* _resultobj
;
7169 PyObject
* _argo0
= 0;
7170 char *_kwnames
[] = { "self", NULL
};
7173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetDepth",_kwnames
,&_argo0
))
7176 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7177 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetDepth. Expected _wxDC_p.");
7183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7184 _result
= (int )wxDC_GetDepth(_arg0
);
7186 wxPyEndAllowThreads(__tstate
);
7187 if (PyErr_Occurred()) return NULL
;
7188 } _resultobj
= Py_BuildValue("i",_result
);
7192 #define wxDC_GetPPI(_swigobj) (_swigobj->GetPPI())
7193 static PyObject
*_wrap_wxDC_GetPPI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7194 PyObject
* _resultobj
;
7197 PyObject
* _argo0
= 0;
7198 char *_kwnames
[] = { "self", NULL
};
7202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetPPI",_kwnames
,&_argo0
))
7205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPPI. Expected _wxDC_p.");
7212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7213 _result
= new wxSize (wxDC_GetPPI(_arg0
));
7215 wxPyEndAllowThreads(__tstate
);
7216 if (PyErr_Occurred()) return NULL
;
7217 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
7218 _resultobj
= Py_BuildValue("s",_ptemp
);
7222 #define wxDC_GetLogicalOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLogicalOrigin(_swigarg0,_swigarg1))
7223 static PyObject
*_wrap_wxDC_GetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7224 PyObject
* _resultobj
;
7230 PyObject
* _argo0
= 0;
7231 char *_kwnames
[] = { "self", NULL
};
7240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalOrigin",_kwnames
,&_argo0
))
7243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalOrigin. Expected _wxDC_p.");
7250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7251 wxDC_GetLogicalOrigin(_arg0
,_arg1
,_arg2
);
7253 wxPyEndAllowThreads(__tstate
);
7254 if (PyErr_Occurred()) return NULL
;
7255 } Py_INCREF(Py_None
);
7256 _resultobj
= Py_None
;
7259 o
= PyInt_FromLong((long) (*_arg1
));
7260 _resultobj
= t_output_helper(_resultobj
, o
);
7264 o
= PyInt_FromLong((long) (*_arg2
));
7265 _resultobj
= t_output_helper(_resultobj
, o
);
7270 #define wxDC_SetLogicalOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLogicalOrigin(_swigarg0,_swigarg1))
7271 static PyObject
*_wrap_wxDC_SetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7272 PyObject
* _resultobj
;
7276 PyObject
* _argo0
= 0;
7277 char *_kwnames
[] = { "self","x","y", NULL
};
7280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_SetLogicalOrigin",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7283 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7284 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalOrigin. Expected _wxDC_p.");
7290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7291 wxDC_SetLogicalOrigin(_arg0
,_arg1
,_arg2
);
7293 wxPyEndAllowThreads(__tstate
);
7294 if (PyErr_Occurred()) return NULL
;
7295 } Py_INCREF(Py_None
);
7296 _resultobj
= Py_None
;
7300 #define wxDC_GetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDeviceOrigin(_swigarg0,_swigarg1))
7301 static PyObject
*_wrap_wxDC_GetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7302 PyObject
* _resultobj
;
7308 PyObject
* _argo0
= 0;
7309 char *_kwnames
[] = { "self", NULL
};
7318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetDeviceOrigin",_kwnames
,&_argo0
))
7321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetDeviceOrigin. Expected _wxDC_p.");
7328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7329 wxDC_GetDeviceOrigin(_arg0
,_arg1
,_arg2
);
7331 wxPyEndAllowThreads(__tstate
);
7332 if (PyErr_Occurred()) return NULL
;
7333 } Py_INCREF(Py_None
);
7334 _resultobj
= Py_None
;
7337 o
= PyInt_FromLong((long) (*_arg1
));
7338 _resultobj
= t_output_helper(_resultobj
, o
);
7342 o
= PyInt_FromLong((long) (*_arg2
));
7343 _resultobj
= t_output_helper(_resultobj
, o
);
7348 #define wxDC_SetAxisOrientation(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAxisOrientation(_swigarg0,_swigarg1))
7349 static PyObject
*_wrap_wxDC_SetAxisOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7350 PyObject
* _resultobj
;
7354 PyObject
* _argo0
= 0;
7357 char *_kwnames
[] = { "self","xLeftRight","yBottomUp", NULL
};
7360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_SetAxisOrientation",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
7363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetAxisOrientation. Expected _wxDC_p.");
7369 _arg1
= (bool ) tempbool1
;
7370 _arg2
= (bool ) tempbool2
;
7372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7373 wxDC_SetAxisOrientation(_arg0
,_arg1
,_arg2
);
7375 wxPyEndAllowThreads(__tstate
);
7376 if (PyErr_Occurred()) return NULL
;
7377 } Py_INCREF(Py_None
);
7378 _resultobj
= Py_None
;
7382 #define wxDC_CalcBoundingBox(_swigobj,_swigarg0,_swigarg1) (_swigobj->CalcBoundingBox(_swigarg0,_swigarg1))
7383 static PyObject
*_wrap_wxDC_CalcBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7384 PyObject
* _resultobj
;
7388 PyObject
* _argo0
= 0;
7389 char *_kwnames
[] = { "self","x","y", NULL
};
7392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_CalcBoundingBox",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CalcBoundingBox. Expected _wxDC_p.");
7402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7403 wxDC_CalcBoundingBox(_arg0
,_arg1
,_arg2
);
7405 wxPyEndAllowThreads(__tstate
);
7406 if (PyErr_Occurred()) return NULL
;
7407 } Py_INCREF(Py_None
);
7408 _resultobj
= Py_None
;
7412 #define wxDC_ResetBoundingBox(_swigobj) (_swigobj->ResetBoundingBox())
7413 static PyObject
*_wrap_wxDC_ResetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7414 PyObject
* _resultobj
;
7416 PyObject
* _argo0
= 0;
7417 char *_kwnames
[] = { "self", NULL
};
7420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_ResetBoundingBox",_kwnames
,&_argo0
))
7423 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7424 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_ResetBoundingBox. Expected _wxDC_p.");
7430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7431 wxDC_ResetBoundingBox(_arg0
);
7433 wxPyEndAllowThreads(__tstate
);
7434 if (PyErr_Occurred()) return NULL
;
7435 } Py_INCREF(Py_None
);
7436 _resultobj
= Py_None
;
7440 static PyObject
*_wrap_wxDC_GetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7441 PyObject
* _resultobj
;
7451 PyObject
* _argo0
= 0;
7452 char *_kwnames
[] = { "self", NULL
};
7467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBoundingBox",_kwnames
,&_argo0
))
7470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBoundingBox. Expected _wxDC_p.");
7477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7478 wxDC_GetBoundingBox(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7480 wxPyEndAllowThreads(__tstate
);
7481 if (PyErr_Occurred()) return NULL
;
7482 } Py_INCREF(Py_None
);
7483 _resultobj
= Py_None
;
7486 o
= PyInt_FromLong((long) (*_arg1
));
7487 _resultobj
= t_output_helper(_resultobj
, o
);
7491 o
= PyInt_FromLong((long) (*_arg2
));
7492 _resultobj
= t_output_helper(_resultobj
, o
);
7496 o
= PyInt_FromLong((long) (*_arg3
));
7497 _resultobj
= t_output_helper(_resultobj
, o
);
7501 o
= PyInt_FromLong((long) (*_arg4
));
7502 _resultobj
= t_output_helper(_resultobj
, o
);
7507 static PyObject
* wxDC__DrawPointList(wxDC
*self
,PyObject
* pyPoints
,PyObject
* pyPens
) {
7508 bool isFastSeq
= PyList_Check(pyPoints
) || PyTuple_Check(pyPoints
);
7509 bool isFastPens
= PyList_Check(pyPens
) || PyTuple_Check(pyPens
);
7517 if (!PySequence_Check(pyPoints
)) {
7520 if (!PySequence_Check(pyPens
)) {
7523 numObjs
= PySequence_Length(pyPoints
);
7524 numPens
= PySequence_Length(pyPens
);
7526 for (i
= 0; i
< numObjs
; i
++) {
7530 obj
= PySequence_Fast_GET_ITEM(pyPens
, i
);
7533 obj
= PySequence_GetItem(pyPens
, i
);
7535 if (SWIG_GetPtrObj(obj
, (void **) &pen
, "_wxPen_p")) {
7546 // Get the point coordinants
7548 obj
= PySequence_Fast_GET_ITEM(pyPoints
, i
);
7551 obj
= PySequence_GetItem(pyPoints
, i
);
7553 if (! _2int_seq_helper(obj
, &x1
, &y1
)) {
7559 // Now draw the point
7560 self
->DrawPoint(x1
, y1
);
7570 PyErr_SetString(PyExc_TypeError
, "Expected a sequence of wxPens");
7573 PyErr_SetString(PyExc_TypeError
, "Expected a sequence of (x,y) sequences.");
7576 static PyObject
*_wrap_wxDC__DrawPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7577 PyObject
* _resultobj
;
7582 PyObject
* _argo0
= 0;
7583 PyObject
* _obj1
= 0;
7584 PyObject
* _obj2
= 0;
7585 char *_kwnames
[] = { "self","pyPoints","pyPens", NULL
};
7588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDC__DrawPointList",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
7591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC__DrawPointList. Expected _wxDC_p.");
7604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7605 _result
= (PyObject
*)wxDC__DrawPointList(_arg0
,_arg1
,_arg2
);
7607 wxPyEndAllowThreads(__tstate
);
7608 if (PyErr_Occurred()) return NULL
;
7610 _resultobj
= _result
;
7615 static PyObject
* wxDC__DrawLineList(wxDC
*self
,PyObject
* pyLines
,PyObject
* pyPens
) {
7616 bool isFastSeq
= PyList_Check(pyLines
) || PyTuple_Check(pyLines
);
7617 bool isFastPens
= PyList_Check(pyPens
) || PyTuple_Check(pyPens
);
7625 if (!PySequence_Check(pyLines
)) {
7628 if (!PySequence_Check(pyPens
)) {
7631 numObjs
= PySequence_Length(pyLines
);
7632 numPens
= PySequence_Length(pyPens
);
7634 for (i
= 0; i
< numObjs
; i
++) {
7638 obj
= PySequence_Fast_GET_ITEM(pyPens
, i
);
7641 obj
= PySequence_GetItem(pyPens
, i
);
7643 if (SWIG_GetPtrObj(obj
, (void **) &pen
, "_wxPen_p")) {
7654 // Get the line coordinants
7656 obj
= PySequence_Fast_GET_ITEM(pyLines
, i
);
7659 obj
= PySequence_GetItem(pyLines
, i
);
7661 if (! _4int_seq_helper(obj
, &x1
, &y1
, &x2
, &y2
)) {
7667 // Now draw the line
7668 self
->DrawLine(x1
, y1
, x2
, y2
);
7678 PyErr_SetString(PyExc_TypeError
, "Expected a sequence of wxPens");
7681 PyErr_SetString(PyExc_TypeError
, "Expected a sequence of (x1,y1, x2,y2) sequences.");
7684 static PyObject
*_wrap_wxDC__DrawLineList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7685 PyObject
* _resultobj
;
7690 PyObject
* _argo0
= 0;
7691 PyObject
* _obj1
= 0;
7692 PyObject
* _obj2
= 0;
7693 char *_kwnames
[] = { "self","pyLines","pyPens", NULL
};
7696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDC__DrawLineList",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
7699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC__DrawLineList. Expected _wxDC_p.");
7712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7713 _result
= (PyObject
*)wxDC__DrawLineList(_arg0
,_arg1
,_arg2
);
7715 wxPyEndAllowThreads(__tstate
);
7716 if (PyErr_Occurred()) return NULL
;
7718 _resultobj
= _result
;
7723 static void *SwigwxMemoryDCTowxDC(void *ptr
) {
7726 src
= (wxMemoryDC
*) ptr
;
7727 dest
= (wxDC
*) src
;
7728 return (void *) dest
;
7731 static void *SwigwxMemoryDCTowxObject(void *ptr
) {
7734 src
= (wxMemoryDC
*) ptr
;
7735 dest
= (wxObject
*) src
;
7736 return (void *) dest
;
7739 #define new_wxMemoryDC() (new wxMemoryDC())
7740 static PyObject
*_wrap_new_wxMemoryDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7741 PyObject
* _resultobj
;
7742 wxMemoryDC
* _result
;
7743 char *_kwnames
[] = { NULL
};
7747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMemoryDC",_kwnames
))
7750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7751 _result
= (wxMemoryDC
*)new_wxMemoryDC();
7753 wxPyEndAllowThreads(__tstate
);
7754 if (PyErr_Occurred()) return NULL
;
7756 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
7757 _resultobj
= Py_BuildValue("s",_ptemp
);
7760 _resultobj
= Py_None
;
7765 #define wxMemoryDC_SelectObject(_swigobj,_swigarg0) (_swigobj->SelectObject(_swigarg0))
7766 static PyObject
*_wrap_wxMemoryDC_SelectObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7767 PyObject
* _resultobj
;
7770 PyObject
* _argo0
= 0;
7771 PyObject
* _argo1
= 0;
7772 char *_kwnames
[] = { "self","bitmap", NULL
};
7775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMemoryDC_SelectObject",_kwnames
,&_argo0
,&_argo1
))
7778 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7779 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMemoryDC_p")) {
7780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDC_SelectObject. Expected _wxMemoryDC_p.");
7785 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7786 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
7787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMemoryDC_SelectObject. Expected _wxBitmap_p.");
7792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7793 wxMemoryDC_SelectObject(_arg0
,*_arg1
);
7795 wxPyEndAllowThreads(__tstate
);
7796 if (PyErr_Occurred()) return NULL
;
7797 } Py_INCREF(Py_None
);
7798 _resultobj
= Py_None
;
7802 static void *SwigwxBufferedDCTowxMemoryDC(void *ptr
) {
7805 src
= (wxBufferedDC
*) ptr
;
7806 dest
= (wxMemoryDC
*) src
;
7807 return (void *) dest
;
7810 static void *SwigwxBufferedDCTowxDC(void *ptr
) {
7813 src
= (wxBufferedDC
*) ptr
;
7814 dest
= (wxDC
*) src
;
7815 return (void *) dest
;
7818 static void *SwigwxBufferedDCTowxObject(void *ptr
) {
7821 src
= (wxBufferedDC
*) ptr
;
7822 dest
= (wxObject
*) src
;
7823 return (void *) dest
;
7826 #define new_wxBufferedDC(_swigarg0,_swigarg1) (new wxBufferedDC(_swigarg0,_swigarg1))
7827 static PyObject
*_wrap_new_wxBufferedDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7828 PyObject
* _resultobj
;
7829 wxBufferedDC
* _result
;
7832 PyObject
* _argo0
= 0;
7833 PyObject
* _argo1
= 0;
7834 char *_kwnames
[] = { "dc","buffer", NULL
};
7838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxBufferedDC",_kwnames
,&_argo0
,&_argo1
))
7841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBufferedDC. Expected _wxDC_p.");
7848 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7849 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
7850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxBufferedDC. Expected _wxBitmap_p.");
7855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7856 _result
= (wxBufferedDC
*)new_wxBufferedDC(_arg0
,*_arg1
);
7858 wxPyEndAllowThreads(__tstate
);
7859 if (PyErr_Occurred()) return NULL
;
7861 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBufferedDC_p");
7862 _resultobj
= Py_BuildValue("s",_ptemp
);
7865 _resultobj
= Py_None
;
7870 #define new_wxBufferedDCInternalBuffer(_swigarg0,_swigarg1) (new wxBufferedDC(_swigarg0,_swigarg1))
7871 static PyObject
*_wrap_new_wxBufferedDCInternalBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7872 PyObject
* _resultobj
;
7873 wxBufferedDC
* _result
;
7876 PyObject
* _argo0
= 0;
7878 PyObject
* _obj1
= 0;
7879 char *_kwnames
[] = { "dc","area", NULL
};
7883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxBufferedDCInternalBuffer",_kwnames
,&_argo0
,&_obj1
))
7886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBufferedDCInternalBuffer. Expected _wxDC_p.");
7894 if (! wxSize_helper(_obj1
, &_arg1
))
7898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7899 _result
= (wxBufferedDC
*)new_wxBufferedDCInternalBuffer(_arg0
,*_arg1
);
7901 wxPyEndAllowThreads(__tstate
);
7902 if (PyErr_Occurred()) return NULL
;
7904 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBufferedDC_p");
7905 _resultobj
= Py_BuildValue("s",_ptemp
);
7908 _resultobj
= Py_None
;
7913 #define wxBufferedDC_UnMask(_swigobj) (_swigobj->UnMask())
7914 static PyObject
*_wrap_wxBufferedDC_UnMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7915 PyObject
* _resultobj
;
7916 wxBufferedDC
* _arg0
;
7917 PyObject
* _argo0
= 0;
7918 char *_kwnames
[] = { "self", NULL
};
7921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBufferedDC_UnMask",_kwnames
,&_argo0
))
7924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBufferedDC_p")) {
7926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBufferedDC_UnMask. Expected _wxBufferedDC_p.");
7931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7932 wxBufferedDC_UnMask(_arg0
);
7934 wxPyEndAllowThreads(__tstate
);
7935 if (PyErr_Occurred()) return NULL
;
7936 } Py_INCREF(Py_None
);
7937 _resultobj
= Py_None
;
7941 static void *SwigwxBufferedPaintDCTowxBufferedDC(void *ptr
) {
7942 wxBufferedPaintDC
*src
;
7944 src
= (wxBufferedPaintDC
*) ptr
;
7945 dest
= (wxBufferedDC
*) src
;
7946 return (void *) dest
;
7949 static void *SwigwxBufferedPaintDCTowxMemoryDC(void *ptr
) {
7950 wxBufferedPaintDC
*src
;
7952 src
= (wxBufferedPaintDC
*) ptr
;
7953 dest
= (wxMemoryDC
*) src
;
7954 return (void *) dest
;
7957 static void *SwigwxBufferedPaintDCTowxDC(void *ptr
) {
7958 wxBufferedPaintDC
*src
;
7960 src
= (wxBufferedPaintDC
*) ptr
;
7961 dest
= (wxDC
*) src
;
7962 return (void *) dest
;
7965 static void *SwigwxBufferedPaintDCTowxObject(void *ptr
) {
7966 wxBufferedPaintDC
*src
;
7968 src
= (wxBufferedPaintDC
*) ptr
;
7969 dest
= (wxObject
*) src
;
7970 return (void *) dest
;
7973 #define new_wxBufferedPaintDC(_swigarg0,_swigarg1) (new wxBufferedPaintDC(_swigarg0,_swigarg1))
7974 static PyObject
*_wrap_new_wxBufferedPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7975 PyObject
* _resultobj
;
7976 wxBufferedPaintDC
* _result
;
7978 wxBitmap
* _arg1
= (wxBitmap
*) &wxNullBitmap
;
7979 PyObject
* _argo0
= 0;
7980 PyObject
* _argo1
= 0;
7981 char *_kwnames
[] = { "window","buffer", NULL
};
7985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxBufferedPaintDC",_kwnames
,&_argo0
,&_argo1
))
7988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
7990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBufferedPaintDC. Expected _wxWindow_p.");
7995 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7996 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
7997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxBufferedPaintDC. Expected _wxBitmap_p.");
8002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8003 _result
= (wxBufferedPaintDC
*)new_wxBufferedPaintDC(_arg0
,*_arg1
);
8005 wxPyEndAllowThreads(__tstate
);
8006 if (PyErr_Occurred()) return NULL
;
8008 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBufferedPaintDC_p");
8009 _resultobj
= Py_BuildValue("s",_ptemp
);
8012 _resultobj
= Py_None
;
8017 static void *SwigwxScreenDCTowxDC(void *ptr
) {
8020 src
= (wxScreenDC
*) ptr
;
8021 dest
= (wxDC
*) src
;
8022 return (void *) dest
;
8025 static void *SwigwxScreenDCTowxObject(void *ptr
) {
8028 src
= (wxScreenDC
*) ptr
;
8029 dest
= (wxObject
*) src
;
8030 return (void *) dest
;
8033 #define new_wxScreenDC() (new wxScreenDC())
8034 static PyObject
*_wrap_new_wxScreenDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8035 PyObject
* _resultobj
;
8036 wxScreenDC
* _result
;
8037 char *_kwnames
[] = { NULL
};
8041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxScreenDC",_kwnames
))
8044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8045 _result
= (wxScreenDC
*)new_wxScreenDC();
8047 wxPyEndAllowThreads(__tstate
);
8048 if (PyErr_Occurred()) return NULL
;
8050 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScreenDC_p");
8051 _resultobj
= Py_BuildValue("s",_ptemp
);
8054 _resultobj
= Py_None
;
8059 #define wxScreenDC_StartDrawingOnTopWin(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
8060 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTopWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8061 PyObject
* _resultobj
;
8065 PyObject
* _argo0
= 0;
8066 PyObject
* _argo1
= 0;
8067 char *_kwnames
[] = { "self","window", NULL
};
8070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScreenDC_StartDrawingOnTopWin",_kwnames
,&_argo0
,&_argo1
))
8073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
8075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTopWin. Expected _wxScreenDC_p.");
8080 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8081 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScreenDC_StartDrawingOnTopWin. Expected _wxWindow_p.");
8087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8088 _result
= (bool )wxScreenDC_StartDrawingOnTopWin(_arg0
,_arg1
);
8090 wxPyEndAllowThreads(__tstate
);
8091 if (PyErr_Occurred()) return NULL
;
8092 } _resultobj
= Py_BuildValue("i",_result
);
8096 #define wxScreenDC_StartDrawingOnTop(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
8097 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8098 PyObject
* _resultobj
;
8101 wxRect
* _arg1
= (wxRect
*) NULL
;
8102 PyObject
* _argo0
= 0;
8104 PyObject
* _obj1
= 0;
8105 char *_kwnames
[] = { "self","rect", NULL
};
8108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxScreenDC_StartDrawingOnTop",_kwnames
,&_argo0
,&_obj1
))
8111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
8113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTop. Expected _wxScreenDC_p.");
8120 if (! wxRect_helper(_obj1
, &_arg1
))
8124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8125 _result
= (bool )wxScreenDC_StartDrawingOnTop(_arg0
,_arg1
);
8127 wxPyEndAllowThreads(__tstate
);
8128 if (PyErr_Occurred()) return NULL
;
8129 } _resultobj
= Py_BuildValue("i",_result
);
8133 #define wxScreenDC_EndDrawingOnTop(_swigobj) (_swigobj->EndDrawingOnTop())
8134 static PyObject
*_wrap_wxScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8135 PyObject
* _resultobj
;
8138 PyObject
* _argo0
= 0;
8139 char *_kwnames
[] = { "self", NULL
};
8142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScreenDC_EndDrawingOnTop",_kwnames
,&_argo0
))
8145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
8147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_EndDrawingOnTop. Expected _wxScreenDC_p.");
8152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8153 _result
= (bool )wxScreenDC_EndDrawingOnTop(_arg0
);
8155 wxPyEndAllowThreads(__tstate
);
8156 if (PyErr_Occurred()) return NULL
;
8157 } _resultobj
= Py_BuildValue("i",_result
);
8161 static void *SwigwxClientDCTowxDC(void *ptr
) {
8164 src
= (wxClientDC
*) ptr
;
8165 dest
= (wxDC
*) src
;
8166 return (void *) dest
;
8169 static void *SwigwxClientDCTowxObject(void *ptr
) {
8172 src
= (wxClientDC
*) ptr
;
8173 dest
= (wxObject
*) src
;
8174 return (void *) dest
;
8177 #define new_wxClientDC(_swigarg0) (new wxClientDC(_swigarg0))
8178 static PyObject
*_wrap_new_wxClientDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8179 PyObject
* _resultobj
;
8180 wxClientDC
* _result
;
8182 PyObject
* _argo0
= 0;
8183 char *_kwnames
[] = { "win", NULL
};
8187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxClientDC",_kwnames
,&_argo0
))
8190 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8191 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxClientDC. Expected _wxWindow_p.");
8197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8198 _result
= (wxClientDC
*)new_wxClientDC(_arg0
);
8200 wxPyEndAllowThreads(__tstate
);
8201 if (PyErr_Occurred()) return NULL
;
8203 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxClientDC_p");
8204 _resultobj
= Py_BuildValue("s",_ptemp
);
8207 _resultobj
= Py_None
;
8212 static void *SwigwxPaintDCTowxDC(void *ptr
) {
8215 src
= (wxPaintDC
*) ptr
;
8216 dest
= (wxDC
*) src
;
8217 return (void *) dest
;
8220 static void *SwigwxPaintDCTowxObject(void *ptr
) {
8223 src
= (wxPaintDC
*) ptr
;
8224 dest
= (wxObject
*) src
;
8225 return (void *) dest
;
8228 #define new_wxPaintDC(_swigarg0) (new wxPaintDC(_swigarg0))
8229 static PyObject
*_wrap_new_wxPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8230 PyObject
* _resultobj
;
8231 wxPaintDC
* _result
;
8233 PyObject
* _argo0
= 0;
8234 char *_kwnames
[] = { "win", NULL
};
8238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPaintDC",_kwnames
,&_argo0
))
8241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPaintDC. Expected _wxWindow_p.");
8248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8249 _result
= (wxPaintDC
*)new_wxPaintDC(_arg0
);
8251 wxPyEndAllowThreads(__tstate
);
8252 if (PyErr_Occurred()) return NULL
;
8254 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPaintDC_p");
8255 _resultobj
= Py_BuildValue("s",_ptemp
);
8258 _resultobj
= Py_None
;
8263 static void *SwigwxWindowDCTowxDC(void *ptr
) {
8266 src
= (wxWindowDC
*) ptr
;
8267 dest
= (wxDC
*) src
;
8268 return (void *) dest
;
8271 static void *SwigwxWindowDCTowxObject(void *ptr
) {
8274 src
= (wxWindowDC
*) ptr
;
8275 dest
= (wxObject
*) src
;
8276 return (void *) dest
;
8279 #define new_wxWindowDC(_swigarg0) (new wxWindowDC(_swigarg0))
8280 static PyObject
*_wrap_new_wxWindowDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8281 PyObject
* _resultobj
;
8282 wxWindowDC
* _result
;
8284 PyObject
* _argo0
= 0;
8285 char *_kwnames
[] = { "win", NULL
};
8289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxWindowDC",_kwnames
,&_argo0
))
8292 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8293 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDC. Expected _wxWindow_p.");
8299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8300 _result
= (wxWindowDC
*)new_wxWindowDC(_arg0
);
8302 wxPyEndAllowThreads(__tstate
);
8303 if (PyErr_Occurred()) return NULL
;
8305 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDC_p");
8306 _resultobj
= Py_BuildValue("s",_ptemp
);
8309 _resultobj
= Py_None
;
8314 static void *SwigwxPaletteTowxGDIObject(void *ptr
) {
8317 src
= (wxPalette
*) ptr
;
8318 dest
= (wxGDIObject
*) src
;
8319 return (void *) dest
;
8322 static void *SwigwxPaletteTowxObject(void *ptr
) {
8325 src
= (wxPalette
*) ptr
;
8326 dest
= (wxObject
*) src
;
8327 return (void *) dest
;
8330 #define new_wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8331 static PyObject
*_wrap_new_wxPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8332 PyObject
* _resultobj
;
8333 wxPalette
* _result
;
8338 PyObject
* _obj1
= 0;
8339 PyObject
* _obj2
= 0;
8340 PyObject
* _obj3
= 0;
8341 char *_kwnames
[] = { "choices","choices","choices", NULL
};
8345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:new_wxPalette",_kwnames
,&_obj1
,&_obj2
,&_obj3
))
8348 _arg1
= byte_LIST_helper(_obj1
);
8349 if (_arg1
== NULL
) {
8354 _arg2
= byte_LIST_helper(_obj2
);
8355 if (_arg2
== NULL
) {
8361 _arg3
= byte_LIST_helper(_obj3
);
8362 if (_arg3
== NULL
) {
8368 _arg0
= PyList_Size(_obj1
);
8375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8376 _result
= (wxPalette
*)new_wxPalette(_arg0
,_arg1
,_arg2
,_arg3
);
8378 wxPyEndAllowThreads(__tstate
);
8379 if (PyErr_Occurred()) return NULL
;
8381 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
8382 _resultobj
= Py_BuildValue("s",_ptemp
);
8385 _resultobj
= Py_None
;
8399 #define delete_wxPalette(_swigobj) (delete _swigobj)
8400 static PyObject
*_wrap_delete_wxPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8401 PyObject
* _resultobj
;
8403 PyObject
* _argo0
= 0;
8404 char *_kwnames
[] = { "self", NULL
};
8407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPalette",_kwnames
,&_argo0
))
8410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
8412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPalette. Expected _wxPalette_p.");
8417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8418 delete_wxPalette(_arg0
);
8420 wxPyEndAllowThreads(__tstate
);
8421 if (PyErr_Occurred()) return NULL
;
8422 } Py_INCREF(Py_None
);
8423 _resultobj
= Py_None
;
8427 #define wxPalette_GetPixel(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetPixel(_swigarg0,_swigarg1,_swigarg2))
8428 static PyObject
*_wrap_wxPalette_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8429 PyObject
* _resultobj
;
8435 PyObject
* _argo0
= 0;
8436 char *_kwnames
[] = { "self","red","green","blue", NULL
};
8439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Obbb:wxPalette_GetPixel",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
8442 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8443 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
8444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetPixel. Expected _wxPalette_p.");
8449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8450 _result
= (int )wxPalette_GetPixel(_arg0
,_arg1
,_arg2
,_arg3
);
8452 wxPyEndAllowThreads(__tstate
);
8453 if (PyErr_Occurred()) return NULL
;
8454 } _resultobj
= Py_BuildValue("i",_result
);
8458 #define wxPalette_GetRGB(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetRGB(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8459 static PyObject
*_wrap_wxPalette_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8460 PyObject
* _resultobj
;
8470 PyObject
* _argo0
= 0;
8471 char *_kwnames
[] = { "self","pixel", NULL
};
8475 _arg2
= (byte
*)&temp
;
8478 _arg3
= (byte
*)&temp0
;
8481 _arg4
= (byte
*)&temp1
;
8483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPalette_GetRGB",_kwnames
,&_argo0
,&_arg1
))
8486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
8488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetRGB. Expected _wxPalette_p.");
8493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8494 _result
= (bool )wxPalette_GetRGB(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
8496 wxPyEndAllowThreads(__tstate
);
8497 if (PyErr_Occurred()) return NULL
;
8498 } _resultobj
= Py_BuildValue("i",_result
);
8501 o
= PyInt_FromLong((long) (*_arg2
));
8502 _resultobj
= t_output_helper(_resultobj
, o
);
8506 o
= PyInt_FromLong((long) (*_arg3
));
8507 _resultobj
= t_output_helper(_resultobj
, o
);
8511 o
= PyInt_FromLong((long) (*_arg4
));
8512 _resultobj
= t_output_helper(_resultobj
, o
);
8517 #define wxPalette_Ok(_swigobj) (_swigobj->Ok())
8518 static PyObject
*_wrap_wxPalette_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8519 PyObject
* _resultobj
;
8522 PyObject
* _argo0
= 0;
8523 char *_kwnames
[] = { "self", NULL
};
8526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPalette_Ok",_kwnames
,&_argo0
))
8529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
8531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_Ok. Expected _wxPalette_p.");
8536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8537 _result
= (bool )wxPalette_Ok(_arg0
);
8539 wxPyEndAllowThreads(__tstate
);
8540 if (PyErr_Occurred()) return NULL
;
8541 } _resultobj
= Py_BuildValue("i",_result
);
8545 static void *SwigwxImageListTowxObject(void *ptr
) {
8548 src
= (wxImageList
*) ptr
;
8549 dest
= (wxObject
*) src
;
8550 return (void *) dest
;
8553 #define new_wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8554 static PyObject
*_wrap_new_wxImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8555 PyObject
* _resultobj
;
8556 wxImageList
* _result
;
8559 int _arg2
= (int ) TRUE
;
8560 int _arg3
= (int ) 1;
8561 char *_kwnames
[] = { "width","height","mask","initialCount", NULL
};
8565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ii|ii:new_wxImageList",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
8568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8569 _result
= (wxImageList
*)new_wxImageList(_arg0
,_arg1
,_arg2
,_arg3
);
8571 wxPyEndAllowThreads(__tstate
);
8572 if (PyErr_Occurred()) return NULL
;
8574 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
8575 _resultobj
= Py_BuildValue("s",_ptemp
);
8578 _resultobj
= Py_None
;
8583 #define delete_wxImageList(_swigobj) (delete _swigobj)
8584 static PyObject
*_wrap_delete_wxImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8585 PyObject
* _resultobj
;
8586 wxImageList
* _arg0
;
8587 PyObject
* _argo0
= 0;
8588 char *_kwnames
[] = { "self", NULL
};
8591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxImageList",_kwnames
,&_argo0
))
8594 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8595 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
8596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxImageList. Expected _wxImageList_p.");
8601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8602 delete_wxImageList(_arg0
);
8604 wxPyEndAllowThreads(__tstate
);
8605 if (PyErr_Occurred()) return NULL
;
8606 } Py_INCREF(Py_None
);
8607 _resultobj
= Py_None
;
8611 #define wxImageList_Add(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
8612 static PyObject
*_wrap_wxImageList_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8613 PyObject
* _resultobj
;
8615 wxImageList
* _arg0
;
8617 wxBitmap
* _arg2
= (wxBitmap
*) &wxNullBitmap
;
8618 PyObject
* _argo0
= 0;
8619 PyObject
* _argo1
= 0;
8620 PyObject
* _argo2
= 0;
8621 char *_kwnames
[] = { "self","bitmap","mask", NULL
};
8624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxImageList_Add",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
8627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
8629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Add. Expected _wxImageList_p.");
8634 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8635 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
8636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_Add. Expected _wxBitmap_p.");
8641 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8642 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
8643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Add. Expected _wxBitmap_p.");
8648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8649 _result
= (int )wxImageList_Add(_arg0
,*_arg1
,*_arg2
);
8651 wxPyEndAllowThreads(__tstate
);
8652 if (PyErr_Occurred()) return NULL
;
8653 } _resultobj
= Py_BuildValue("i",_result
);
8657 #define wxImageList_AddWithColourMask(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
8658 static PyObject
*_wrap_wxImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8659 PyObject
* _resultobj
;
8661 wxImageList
* _arg0
;
8664 PyObject
* _argo0
= 0;
8665 PyObject
* _argo1
= 0;
8667 PyObject
* _obj2
= 0;
8668 char *_kwnames
[] = { "self","bitmap","maskColour", NULL
};
8671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxImageList_AddWithColourMask",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
8674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
8676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_AddWithColourMask. Expected _wxImageList_p.");
8681 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8682 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
8683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_AddWithColourMask. Expected _wxBitmap_p.");
8689 if (! wxColour_helper(_obj2
, &_arg2
))
8693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8694 _result
= (int )wxImageList_AddWithColourMask(_arg0
,*_arg1
,*_arg2
);
8696 wxPyEndAllowThreads(__tstate
);
8697 if (PyErr_Occurred()) return NULL
;
8698 } _resultobj
= Py_BuildValue("i",_result
);
8702 #define wxImageList_AddIcon(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
8703 static PyObject
*_wrap_wxImageList_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8704 PyObject
* _resultobj
;
8706 wxImageList
* _arg0
;
8708 PyObject
* _argo0
= 0;
8709 PyObject
* _argo1
= 0;
8710 char *_kwnames
[] = { "self","icon", NULL
};
8713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxImageList_AddIcon",_kwnames
,&_argo0
,&_argo1
))
8716 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8717 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
8718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_AddIcon. Expected _wxImageList_p.");
8723 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8724 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
8725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_AddIcon. Expected _wxIcon_p.");
8730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8731 _result
= (int )wxImageList_AddIcon(_arg0
,*_arg1
);
8733 wxPyEndAllowThreads(__tstate
);
8734 if (PyErr_Occurred()) return NULL
;
8735 } _resultobj
= Py_BuildValue("i",_result
);
8739 #define wxImageList_Replace(_swigobj,_swigarg0,_swigarg1) (_swigobj->Replace(_swigarg0,_swigarg1))
8740 static PyObject
*_wrap_wxImageList_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8741 PyObject
* _resultobj
;
8743 wxImageList
* _arg0
;
8746 PyObject
* _argo0
= 0;
8747 PyObject
* _argo2
= 0;
8748 char *_kwnames
[] = { "self","index","bitmap", NULL
};
8751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxImageList_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
8754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
8756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Replace. Expected _wxImageList_p.");
8761 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8762 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
8763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Replace. Expected _wxBitmap_p.");
8768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8769 _result
= (bool )wxImageList_Replace(_arg0
,_arg1
,*_arg2
);
8771 wxPyEndAllowThreads(__tstate
);
8772 if (PyErr_Occurred()) return NULL
;
8773 } _resultobj
= Py_BuildValue("i",_result
);
8777 #define wxImageList_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8778 static PyObject
*_wrap_wxImageList_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8779 PyObject
* _resultobj
;
8781 wxImageList
* _arg0
;
8786 int _arg5
= (int ) (wxIMAGELIST_DRAW_NORMAL
);
8787 bool _arg6
= (bool ) FALSE
;
8788 PyObject
* _argo0
= 0;
8789 PyObject
* _argo2
= 0;
8790 int tempbool6
= (int) FALSE
;
8791 char *_kwnames
[] = { "self","index","dc","x","x","flags","solidBackground", NULL
};
8794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOii|ii:wxImageList_Draw",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
8797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
8799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Draw. Expected _wxImageList_p.");
8804 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8805 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDC_p")) {
8806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Draw. Expected _wxDC_p.");
8810 _arg6
= (bool ) tempbool6
;
8812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8813 _result
= (bool )wxImageList_Draw(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
8815 wxPyEndAllowThreads(__tstate
);
8816 if (PyErr_Occurred()) return NULL
;
8817 } _resultobj
= Py_BuildValue("i",_result
);
8821 #define wxImageList_GetImageCount(_swigobj) (_swigobj->GetImageCount())
8822 static PyObject
*_wrap_wxImageList_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8823 PyObject
* _resultobj
;
8825 wxImageList
* _arg0
;
8826 PyObject
* _argo0
= 0;
8827 char *_kwnames
[] = { "self", NULL
};
8830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImageList_GetImageCount",_kwnames
,&_argo0
))
8833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
8835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_GetImageCount. Expected _wxImageList_p.");
8840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8841 _result
= (int )wxImageList_GetImageCount(_arg0
);
8843 wxPyEndAllowThreads(__tstate
);
8844 if (PyErr_Occurred()) return NULL
;
8845 } _resultobj
= Py_BuildValue("i",_result
);
8849 #define wxImageList_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
8850 static PyObject
*_wrap_wxImageList_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8851 PyObject
* _resultobj
;
8853 wxImageList
* _arg0
;
8855 PyObject
* _argo0
= 0;
8856 char *_kwnames
[] = { "self","index", NULL
};
8859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxImageList_Remove",_kwnames
,&_argo0
,&_arg1
))
8862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
8864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Remove. Expected _wxImageList_p.");
8869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8870 _result
= (bool )wxImageList_Remove(_arg0
,_arg1
);
8872 wxPyEndAllowThreads(__tstate
);
8873 if (PyErr_Occurred()) return NULL
;
8874 } _resultobj
= Py_BuildValue("i",_result
);
8878 #define wxImageList_RemoveAll(_swigobj) (_swigobj->RemoveAll())
8879 static PyObject
*_wrap_wxImageList_RemoveAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8880 PyObject
* _resultobj
;
8882 wxImageList
* _arg0
;
8883 PyObject
* _argo0
= 0;
8884 char *_kwnames
[] = { "self", NULL
};
8887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImageList_RemoveAll",_kwnames
,&_argo0
))
8890 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8891 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
8892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_RemoveAll. Expected _wxImageList_p.");
8897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8898 _result
= (bool )wxImageList_RemoveAll(_arg0
);
8900 wxPyEndAllowThreads(__tstate
);
8901 if (PyErr_Occurred()) return NULL
;
8902 } _resultobj
= Py_BuildValue("i",_result
);
8906 #define wxImageList_GetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetSize(_swigarg0,_swigarg1,_swigarg2))
8907 static PyObject
*_wrap_wxImageList_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8908 PyObject
* _resultobj
;
8909 wxImageList
* _arg0
;
8915 PyObject
* _argo0
= 0;
8916 char *_kwnames
[] = { "self","index", NULL
};
8925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxImageList_GetSize",_kwnames
,&_argo0
,&_arg1
))
8928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
8930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_GetSize. Expected _wxImageList_p.");
8935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8936 wxImageList_GetSize(_arg0
,_arg1
,*_arg2
,*_arg3
);
8938 wxPyEndAllowThreads(__tstate
);
8939 if (PyErr_Occurred()) return NULL
;
8940 } Py_INCREF(Py_None
);
8941 _resultobj
= Py_None
;
8944 o
= PyInt_FromLong((long) (*_arg2
));
8945 _resultobj
= t_output_helper(_resultobj
, o
);
8949 o
= PyInt_FromLong((long) (*_arg3
));
8950 _resultobj
= t_output_helper(_resultobj
, o
);
8955 static void *SwigwxRegionTowxGDIObject(void *ptr
) {
8958 src
= (wxRegion
*) ptr
;
8959 dest
= (wxGDIObject
*) src
;
8960 return (void *) dest
;
8963 static void *SwigwxRegionTowxObject(void *ptr
) {
8966 src
= (wxRegion
*) ptr
;
8967 dest
= (wxObject
*) src
;
8968 return (void *) dest
;
8971 #define new_wxRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8972 static PyObject
*_wrap_new_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8973 PyObject
* _resultobj
;
8975 long _arg0
= (long ) 0;
8976 long _arg1
= (long ) 0;
8977 long _arg2
= (long ) 0;
8978 long _arg3
= (long ) 0;
8979 char *_kwnames
[] = { "x","y","width","height", NULL
};
8983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|llll:new_wxRegion",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
8986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8987 _result
= (wxRegion
*)new_wxRegion(_arg0
,_arg1
,_arg2
,_arg3
);
8989 wxPyEndAllowThreads(__tstate
);
8990 if (PyErr_Occurred()) return NULL
;
8992 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegion_p");
8993 _resultobj
= Py_BuildValue("s",_ptemp
);
8996 _resultobj
= Py_None
;
9001 #define delete_wxRegion(_swigobj) (delete _swigobj)
9002 static PyObject
*_wrap_delete_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9003 PyObject
* _resultobj
;
9005 PyObject
* _argo0
= 0;
9006 char *_kwnames
[] = { "self", NULL
};
9009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegion",_kwnames
,&_argo0
))
9012 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9013 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegion. Expected _wxRegion_p.");
9019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9020 delete_wxRegion(_arg0
);
9022 wxPyEndAllowThreads(__tstate
);
9023 if (PyErr_Occurred()) return NULL
;
9024 } Py_INCREF(Py_None
);
9025 _resultobj
= Py_None
;
9029 #define wxRegion_Clear(_swigobj) (_swigobj->Clear())
9030 static PyObject
*_wrap_wxRegion_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9031 PyObject
* _resultobj
;
9033 PyObject
* _argo0
= 0;
9034 char *_kwnames
[] = { "self", NULL
};
9037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_Clear",_kwnames
,&_argo0
))
9040 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9041 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Clear. Expected _wxRegion_p.");
9047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9048 wxRegion_Clear(_arg0
);
9050 wxPyEndAllowThreads(__tstate
);
9051 if (PyErr_Occurred()) return NULL
;
9052 } Py_INCREF(Py_None
);
9053 _resultobj
= Py_None
;
9057 #define wxRegion_Offset(_swigobj,_swigarg0,_swigarg1) (_swigobj->Offset(_swigarg0,_swigarg1))
9058 static PyObject
*_wrap_wxRegion_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9059 PyObject
* _resultobj
;
9064 PyObject
* _argo0
= 0;
9065 char *_kwnames
[] = { "self","x","y", NULL
};
9068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRegion_Offset",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9071 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9072 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Offset. Expected _wxRegion_p.");
9078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9079 _result
= (bool )wxRegion_Offset(_arg0
,_arg1
,_arg2
);
9081 wxPyEndAllowThreads(__tstate
);
9082 if (PyErr_Occurred()) return NULL
;
9083 } _resultobj
= Py_BuildValue("i",_result
);
9087 #define wxRegion_Contains(_swigobj,_swigarg0,_swigarg1) (_swigobj->Contains(_swigarg0,_swigarg1))
9088 static PyObject
*_wrap_wxRegion_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9089 PyObject
* _resultobj
;
9090 wxRegionContain _result
;
9094 PyObject
* _argo0
= 0;
9095 char *_kwnames
[] = { "self","x","y", NULL
};
9098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxRegion_Contains",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Contains. Expected _wxRegion_p.");
9108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9109 _result
= (wxRegionContain
)wxRegion_Contains(_arg0
,_arg1
,_arg2
);
9111 wxPyEndAllowThreads(__tstate
);
9112 if (PyErr_Occurred()) return NULL
;
9113 } _resultobj
= Py_BuildValue("i",_result
);
9117 #define wxRegion_ContainsPoint(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
9118 static PyObject
*_wrap_wxRegion_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9119 PyObject
* _resultobj
;
9120 wxRegionContain _result
;
9123 PyObject
* _argo0
= 0;
9125 PyObject
* _obj1
= 0;
9126 char *_kwnames
[] = { "self","pt", NULL
};
9129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsPoint",_kwnames
,&_argo0
,&_obj1
))
9132 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9133 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsPoint. Expected _wxRegion_p.");
9140 if (! wxPoint_helper(_obj1
, &_arg1
))
9144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9145 _result
= (wxRegionContain
)wxRegion_ContainsPoint(_arg0
,*_arg1
);
9147 wxPyEndAllowThreads(__tstate
);
9148 if (PyErr_Occurred()) return NULL
;
9149 } _resultobj
= Py_BuildValue("i",_result
);
9153 #define wxRegion_ContainsRect(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
9154 static PyObject
*_wrap_wxRegion_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9155 PyObject
* _resultobj
;
9156 wxRegionContain _result
;
9159 PyObject
* _argo0
= 0;
9161 PyObject
* _obj1
= 0;
9162 char *_kwnames
[] = { "self","rect", NULL
};
9165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsRect",_kwnames
,&_argo0
,&_obj1
))
9168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRect. Expected _wxRegion_p.");
9176 if (! wxRect_helper(_obj1
, &_arg1
))
9180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9181 _result
= (wxRegionContain
)wxRegion_ContainsRect(_arg0
,*_arg1
);
9183 wxPyEndAllowThreads(__tstate
);
9184 if (PyErr_Occurred()) return NULL
;
9185 } _resultobj
= Py_BuildValue("i",_result
);
9189 #define wxRegion_ContainsRectDim(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Contains(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9190 static PyObject
*_wrap_wxRegion_ContainsRectDim(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9191 PyObject
* _resultobj
;
9192 wxRegionContain _result
;
9198 PyObject
* _argo0
= 0;
9199 char *_kwnames
[] = { "self","x","y","w","h", NULL
};
9202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_ContainsRectDim",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
9205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRectDim. Expected _wxRegion_p.");
9212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9213 _result
= (wxRegionContain
)wxRegion_ContainsRectDim(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
9215 wxPyEndAllowThreads(__tstate
);
9216 if (PyErr_Occurred()) return NULL
;
9217 } _resultobj
= Py_BuildValue("i",_result
);
9221 #define wxRegion_GetBox(_swigobj) (_swigobj->GetBox())
9222 static PyObject
*_wrap_wxRegion_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9223 PyObject
* _resultobj
;
9226 PyObject
* _argo0
= 0;
9227 char *_kwnames
[] = { "self", NULL
};
9231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_GetBox",_kwnames
,&_argo0
))
9234 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9235 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_GetBox. Expected _wxRegion_p.");
9241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9242 _result
= new wxRect (wxRegion_GetBox(_arg0
));
9244 wxPyEndAllowThreads(__tstate
);
9245 if (PyErr_Occurred()) return NULL
;
9246 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
9247 _resultobj
= Py_BuildValue("s",_ptemp
);
9251 #define wxRegion_Intersect(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Intersect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9252 static PyObject
*_wrap_wxRegion_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9253 PyObject
* _resultobj
;
9260 PyObject
* _argo0
= 0;
9261 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
9264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Intersect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
9267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Intersect. Expected _wxRegion_p.");
9274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9275 _result
= (bool )wxRegion_Intersect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
9277 wxPyEndAllowThreads(__tstate
);
9278 if (PyErr_Occurred()) return NULL
;
9279 } _resultobj
= Py_BuildValue("i",_result
);
9283 #define wxRegion_IntersectRect(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
9284 static PyObject
*_wrap_wxRegion_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9285 PyObject
* _resultobj
;
9289 PyObject
* _argo0
= 0;
9291 PyObject
* _obj1
= 0;
9292 char *_kwnames
[] = { "self","rect", NULL
};
9295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_IntersectRect",_kwnames
,&_argo0
,&_obj1
))
9298 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9299 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IntersectRect. Expected _wxRegion_p.");
9306 if (! wxRect_helper(_obj1
, &_arg1
))
9310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9311 _result
= (bool )wxRegion_IntersectRect(_arg0
,*_arg1
);
9313 wxPyEndAllowThreads(__tstate
);
9314 if (PyErr_Occurred()) return NULL
;
9315 } _resultobj
= Py_BuildValue("i",_result
);
9319 #define wxRegion_IntersectRegion(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
9320 static PyObject
*_wrap_wxRegion_IntersectRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9321 PyObject
* _resultobj
;
9325 PyObject
* _argo0
= 0;
9326 PyObject
* _argo1
= 0;
9327 char *_kwnames
[] = { "self","region", NULL
};
9330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_IntersectRegion",_kwnames
,&_argo0
,&_argo1
))
9333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
9340 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9341 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
9342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
9347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9348 _result
= (bool )wxRegion_IntersectRegion(_arg0
,*_arg1
);
9350 wxPyEndAllowThreads(__tstate
);
9351 if (PyErr_Occurred()) return NULL
;
9352 } _resultobj
= Py_BuildValue("i",_result
);
9356 #define wxRegion_IsEmpty(_swigobj) (_swigobj->IsEmpty())
9357 static PyObject
*_wrap_wxRegion_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9358 PyObject
* _resultobj
;
9361 PyObject
* _argo0
= 0;
9362 char *_kwnames
[] = { "self", NULL
};
9365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_IsEmpty",_kwnames
,&_argo0
))
9368 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9369 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IsEmpty. Expected _wxRegion_p.");
9375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9376 _result
= (bool )wxRegion_IsEmpty(_arg0
);
9378 wxPyEndAllowThreads(__tstate
);
9379 if (PyErr_Occurred()) return NULL
;
9380 } _resultobj
= Py_BuildValue("i",_result
);
9384 #define wxRegion_Union(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Union(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9385 static PyObject
*_wrap_wxRegion_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9386 PyObject
* _resultobj
;
9393 PyObject
* _argo0
= 0;
9394 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
9397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Union",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
9400 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9401 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Union. Expected _wxRegion_p.");
9407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9408 _result
= (bool )wxRegion_Union(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
9410 wxPyEndAllowThreads(__tstate
);
9411 if (PyErr_Occurred()) return NULL
;
9412 } _resultobj
= Py_BuildValue("i",_result
);
9416 #define wxRegion_UnionRect(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
9417 static PyObject
*_wrap_wxRegion_UnionRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9418 PyObject
* _resultobj
;
9422 PyObject
* _argo0
= 0;
9424 PyObject
* _obj1
= 0;
9425 char *_kwnames
[] = { "self","rect", NULL
};
9428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_UnionRect",_kwnames
,&_argo0
,&_obj1
))
9431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_UnionRect. Expected _wxRegion_p.");
9439 if (! wxRect_helper(_obj1
, &_arg1
))
9443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9444 _result
= (bool )wxRegion_UnionRect(_arg0
,*_arg1
);
9446 wxPyEndAllowThreads(__tstate
);
9447 if (PyErr_Occurred()) return NULL
;
9448 } _resultobj
= Py_BuildValue("i",_result
);
9452 #define wxRegion_UnionRegion(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
9453 static PyObject
*_wrap_wxRegion_UnionRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9454 PyObject
* _resultobj
;
9458 PyObject
* _argo0
= 0;
9459 PyObject
* _argo1
= 0;
9460 char *_kwnames
[] = { "self","region", NULL
};
9463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_UnionRegion",_kwnames
,&_argo0
,&_argo1
))
9466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_UnionRegion. Expected _wxRegion_p.");
9473 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9474 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
9475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_UnionRegion. Expected _wxRegion_p.");
9480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9481 _result
= (bool )wxRegion_UnionRegion(_arg0
,*_arg1
);
9483 wxPyEndAllowThreads(__tstate
);
9484 if (PyErr_Occurred()) return NULL
;
9485 } _resultobj
= Py_BuildValue("i",_result
);
9489 #define wxRegion_Subtract(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Subtract(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9490 static PyObject
*_wrap_wxRegion_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9491 PyObject
* _resultobj
;
9498 PyObject
* _argo0
= 0;
9499 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
9502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Subtract",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
9505 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9506 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Subtract. Expected _wxRegion_p.");
9512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9513 _result
= (bool )wxRegion_Subtract(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
9515 wxPyEndAllowThreads(__tstate
);
9516 if (PyErr_Occurred()) return NULL
;
9517 } _resultobj
= Py_BuildValue("i",_result
);
9521 #define wxRegion_SubtractRect(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
9522 static PyObject
*_wrap_wxRegion_SubtractRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9523 PyObject
* _resultobj
;
9527 PyObject
* _argo0
= 0;
9529 PyObject
* _obj1
= 0;
9530 char *_kwnames
[] = { "self","rect", NULL
};
9533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_SubtractRect",_kwnames
,&_argo0
,&_obj1
))
9536 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9537 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_SubtractRect. Expected _wxRegion_p.");
9544 if (! wxRect_helper(_obj1
, &_arg1
))
9548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9549 _result
= (bool )wxRegion_SubtractRect(_arg0
,*_arg1
);
9551 wxPyEndAllowThreads(__tstate
);
9552 if (PyErr_Occurred()) return NULL
;
9553 } _resultobj
= Py_BuildValue("i",_result
);
9557 #define wxRegion_SubtractRegion(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
9558 static PyObject
*_wrap_wxRegion_SubtractRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9559 PyObject
* _resultobj
;
9563 PyObject
* _argo0
= 0;
9564 PyObject
* _argo1
= 0;
9565 char *_kwnames
[] = { "self","region", NULL
};
9568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_SubtractRegion",_kwnames
,&_argo0
,&_argo1
))
9571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
9578 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9579 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
9580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
9585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9586 _result
= (bool )wxRegion_SubtractRegion(_arg0
,*_arg1
);
9588 wxPyEndAllowThreads(__tstate
);
9589 if (PyErr_Occurred()) return NULL
;
9590 } _resultobj
= Py_BuildValue("i",_result
);
9594 #define wxRegion_Xor(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Xor(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9595 static PyObject
*_wrap_wxRegion_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9596 PyObject
* _resultobj
;
9603 PyObject
* _argo0
= 0;
9604 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
9607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Xor",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
9610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Xor. Expected _wxRegion_p.");
9617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9618 _result
= (bool )wxRegion_Xor(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
9620 wxPyEndAllowThreads(__tstate
);
9621 if (PyErr_Occurred()) return NULL
;
9622 } _resultobj
= Py_BuildValue("i",_result
);
9626 #define wxRegion_XorRect(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
9627 static PyObject
*_wrap_wxRegion_XorRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9628 PyObject
* _resultobj
;
9632 PyObject
* _argo0
= 0;
9634 PyObject
* _obj1
= 0;
9635 char *_kwnames
[] = { "self","rect", NULL
};
9638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_XorRect",_kwnames
,&_argo0
,&_obj1
))
9641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_XorRect. Expected _wxRegion_p.");
9649 if (! wxRect_helper(_obj1
, &_arg1
))
9653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9654 _result
= (bool )wxRegion_XorRect(_arg0
,*_arg1
);
9656 wxPyEndAllowThreads(__tstate
);
9657 if (PyErr_Occurred()) return NULL
;
9658 } _resultobj
= Py_BuildValue("i",_result
);
9662 #define wxRegion_XorRegion(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
9663 static PyObject
*_wrap_wxRegion_XorRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9664 PyObject
* _resultobj
;
9668 PyObject
* _argo0
= 0;
9669 PyObject
* _argo1
= 0;
9670 char *_kwnames
[] = { "self","region", NULL
};
9673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_XorRegion",_kwnames
,&_argo0
,&_argo1
))
9676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_XorRegion. Expected _wxRegion_p.");
9683 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9684 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
9685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_XorRegion. Expected _wxRegion_p.");
9690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9691 _result
= (bool )wxRegion_XorRegion(_arg0
,*_arg1
);
9693 wxPyEndAllowThreads(__tstate
);
9694 if (PyErr_Occurred()) return NULL
;
9695 } _resultobj
= Py_BuildValue("i",_result
);
9699 static void *SwigwxRegionIteratorTowxObject(void *ptr
) {
9700 wxRegionIterator
*src
;
9702 src
= (wxRegionIterator
*) ptr
;
9703 dest
= (wxObject
*) src
;
9704 return (void *) dest
;
9707 #define new_wxRegionIterator(_swigarg0) (new wxRegionIterator(_swigarg0))
9708 static PyObject
*_wrap_new_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9709 PyObject
* _resultobj
;
9710 wxRegionIterator
* _result
;
9712 PyObject
* _argo0
= 0;
9713 char *_kwnames
[] = { "region", NULL
};
9717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxRegionIterator",_kwnames
,&_argo0
))
9720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRegionIterator. Expected _wxRegion_p.");
9727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9728 _result
= (wxRegionIterator
*)new_wxRegionIterator(*_arg0
);
9730 wxPyEndAllowThreads(__tstate
);
9731 if (PyErr_Occurred()) return NULL
;
9733 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegionIterator_p");
9734 _resultobj
= Py_BuildValue("s",_ptemp
);
9737 _resultobj
= Py_None
;
9742 #define delete_wxRegionIterator(_swigobj) (delete _swigobj)
9743 static PyObject
*_wrap_delete_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9744 PyObject
* _resultobj
;
9745 wxRegionIterator
* _arg0
;
9746 PyObject
* _argo0
= 0;
9747 char *_kwnames
[] = { "self", NULL
};
9750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegionIterator",_kwnames
,&_argo0
))
9753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
9755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegionIterator. Expected _wxRegionIterator_p.");
9760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9761 delete_wxRegionIterator(_arg0
);
9763 wxPyEndAllowThreads(__tstate
);
9764 if (PyErr_Occurred()) return NULL
;
9765 } Py_INCREF(Py_None
);
9766 _resultobj
= Py_None
;
9770 #define wxRegionIterator_GetX(_swigobj) (_swigobj->GetX())
9771 static PyObject
*_wrap_wxRegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9772 PyObject
* _resultobj
;
9774 wxRegionIterator
* _arg0
;
9775 PyObject
* _argo0
= 0;
9776 char *_kwnames
[] = { "self", NULL
};
9779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetX",_kwnames
,&_argo0
))
9782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
9784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetX. Expected _wxRegionIterator_p.");
9789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9790 _result
= (long )wxRegionIterator_GetX(_arg0
);
9792 wxPyEndAllowThreads(__tstate
);
9793 if (PyErr_Occurred()) return NULL
;
9794 } _resultobj
= Py_BuildValue("l",_result
);
9798 #define wxRegionIterator_GetY(_swigobj) (_swigobj->GetY())
9799 static PyObject
*_wrap_wxRegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9800 PyObject
* _resultobj
;
9802 wxRegionIterator
* _arg0
;
9803 PyObject
* _argo0
= 0;
9804 char *_kwnames
[] = { "self", NULL
};
9807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetY",_kwnames
,&_argo0
))
9810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
9812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetY. Expected _wxRegionIterator_p.");
9817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9818 _result
= (long )wxRegionIterator_GetY(_arg0
);
9820 wxPyEndAllowThreads(__tstate
);
9821 if (PyErr_Occurred()) return NULL
;
9822 } _resultobj
= Py_BuildValue("l",_result
);
9826 #define wxRegionIterator_GetW(_swigobj) (_swigobj->GetW())
9827 static PyObject
*_wrap_wxRegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9828 PyObject
* _resultobj
;
9830 wxRegionIterator
* _arg0
;
9831 PyObject
* _argo0
= 0;
9832 char *_kwnames
[] = { "self", NULL
};
9835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetW",_kwnames
,&_argo0
))
9838 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9839 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
9840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetW. Expected _wxRegionIterator_p.");
9845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9846 _result
= (long )wxRegionIterator_GetW(_arg0
);
9848 wxPyEndAllowThreads(__tstate
);
9849 if (PyErr_Occurred()) return NULL
;
9850 } _resultobj
= Py_BuildValue("l",_result
);
9854 #define wxRegionIterator_GetWidth(_swigobj) (_swigobj->GetWidth())
9855 static PyObject
*_wrap_wxRegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9856 PyObject
* _resultobj
;
9858 wxRegionIterator
* _arg0
;
9859 PyObject
* _argo0
= 0;
9860 char *_kwnames
[] = { "self", NULL
};
9863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetWidth",_kwnames
,&_argo0
))
9866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
9868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetWidth. Expected _wxRegionIterator_p.");
9873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9874 _result
= (long )wxRegionIterator_GetWidth(_arg0
);
9876 wxPyEndAllowThreads(__tstate
);
9877 if (PyErr_Occurred()) return NULL
;
9878 } _resultobj
= Py_BuildValue("l",_result
);
9882 #define wxRegionIterator_GetH(_swigobj) (_swigobj->GetH())
9883 static PyObject
*_wrap_wxRegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9884 PyObject
* _resultobj
;
9886 wxRegionIterator
* _arg0
;
9887 PyObject
* _argo0
= 0;
9888 char *_kwnames
[] = { "self", NULL
};
9891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetH",_kwnames
,&_argo0
))
9894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
9896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetH. Expected _wxRegionIterator_p.");
9901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9902 _result
= (long )wxRegionIterator_GetH(_arg0
);
9904 wxPyEndAllowThreads(__tstate
);
9905 if (PyErr_Occurred()) return NULL
;
9906 } _resultobj
= Py_BuildValue("l",_result
);
9910 #define wxRegionIterator_GetHeight(_swigobj) (_swigobj->GetHeight())
9911 static PyObject
*_wrap_wxRegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9912 PyObject
* _resultobj
;
9914 wxRegionIterator
* _arg0
;
9915 PyObject
* _argo0
= 0;
9916 char *_kwnames
[] = { "self", NULL
};
9919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetHeight",_kwnames
,&_argo0
))
9922 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9923 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
9924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetHeight. Expected _wxRegionIterator_p.");
9929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9930 _result
= (long )wxRegionIterator_GetHeight(_arg0
);
9932 wxPyEndAllowThreads(__tstate
);
9933 if (PyErr_Occurred()) return NULL
;
9934 } _resultobj
= Py_BuildValue("l",_result
);
9938 #define wxRegionIterator_GetRect(_swigobj) (_swigobj->GetRect())
9939 static PyObject
*_wrap_wxRegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9940 PyObject
* _resultobj
;
9942 wxRegionIterator
* _arg0
;
9943 PyObject
* _argo0
= 0;
9944 char *_kwnames
[] = { "self", NULL
};
9948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetRect",_kwnames
,&_argo0
))
9951 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9952 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
9953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetRect. Expected _wxRegionIterator_p.");
9958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9959 _result
= new wxRect (wxRegionIterator_GetRect(_arg0
));
9961 wxPyEndAllowThreads(__tstate
);
9962 if (PyErr_Occurred()) return NULL
;
9963 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
9964 _resultobj
= Py_BuildValue("s",_ptemp
);
9968 #define wxRegionIterator_HaveRects(_swigobj) (_swigobj->HaveRects())
9969 static PyObject
*_wrap_wxRegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9970 PyObject
* _resultobj
;
9972 wxRegionIterator
* _arg0
;
9973 PyObject
* _argo0
= 0;
9974 char *_kwnames
[] = { "self", NULL
};
9977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_HaveRects",_kwnames
,&_argo0
))
9980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
9982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_HaveRects. Expected _wxRegionIterator_p.");
9987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9988 _result
= (bool )wxRegionIterator_HaveRects(_arg0
);
9990 wxPyEndAllowThreads(__tstate
);
9991 if (PyErr_Occurred()) return NULL
;
9992 } _resultobj
= Py_BuildValue("i",_result
);
9996 #define wxRegionIterator_Reset(_swigobj) (_swigobj->Reset())
9997 static PyObject
*_wrap_wxRegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9998 PyObject
* _resultobj
;
9999 wxRegionIterator
* _arg0
;
10000 PyObject
* _argo0
= 0;
10001 char *_kwnames
[] = { "self", NULL
};
10004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Reset",_kwnames
,&_argo0
))
10007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
10009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Reset. Expected _wxRegionIterator_p.");
10014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10015 wxRegionIterator_Reset(_arg0
);
10017 wxPyEndAllowThreads(__tstate
);
10018 if (PyErr_Occurred()) return NULL
;
10019 } Py_INCREF(Py_None
);
10020 _resultobj
= Py_None
;
10024 static void wxRegionIterator_Next(wxRegionIterator
*self
) {
10027 static PyObject
*_wrap_wxRegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10028 PyObject
* _resultobj
;
10029 wxRegionIterator
* _arg0
;
10030 PyObject
* _argo0
= 0;
10031 char *_kwnames
[] = { "self", NULL
};
10034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Next",_kwnames
,&_argo0
))
10037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
10039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Next. Expected _wxRegionIterator_p.");
10044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10045 wxRegionIterator_Next(_arg0
);
10047 wxPyEndAllowThreads(__tstate
);
10048 if (PyErr_Occurred()) return NULL
;
10049 } Py_INCREF(Py_None
);
10050 _resultobj
= Py_None
;
10054 static PyMethodDef gdicMethods
[] = {
10055 { "wxRegionIterator_Next", (PyCFunction
) _wrap_wxRegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
10056 { "wxRegionIterator_Reset", (PyCFunction
) _wrap_wxRegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
10057 { "wxRegionIterator_HaveRects", (PyCFunction
) _wrap_wxRegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
10058 { "wxRegionIterator_GetRect", (PyCFunction
) _wrap_wxRegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
10059 { "wxRegionIterator_GetHeight", (PyCFunction
) _wrap_wxRegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
10060 { "wxRegionIterator_GetH", (PyCFunction
) _wrap_wxRegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
10061 { "wxRegionIterator_GetWidth", (PyCFunction
) _wrap_wxRegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
10062 { "wxRegionIterator_GetW", (PyCFunction
) _wrap_wxRegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
10063 { "wxRegionIterator_GetY", (PyCFunction
) _wrap_wxRegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
10064 { "wxRegionIterator_GetX", (PyCFunction
) _wrap_wxRegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
10065 { "delete_wxRegionIterator", (PyCFunction
) _wrap_delete_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
10066 { "new_wxRegionIterator", (PyCFunction
) _wrap_new_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
10067 { "wxRegion_XorRegion", (PyCFunction
) _wrap_wxRegion_XorRegion
, METH_VARARGS
| METH_KEYWORDS
},
10068 { "wxRegion_XorRect", (PyCFunction
) _wrap_wxRegion_XorRect
, METH_VARARGS
| METH_KEYWORDS
},
10069 { "wxRegion_Xor", (PyCFunction
) _wrap_wxRegion_Xor
, METH_VARARGS
| METH_KEYWORDS
},
10070 { "wxRegion_SubtractRegion", (PyCFunction
) _wrap_wxRegion_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
},
10071 { "wxRegion_SubtractRect", (PyCFunction
) _wrap_wxRegion_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
},
10072 { "wxRegion_Subtract", (PyCFunction
) _wrap_wxRegion_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
10073 { "wxRegion_UnionRegion", (PyCFunction
) _wrap_wxRegion_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
},
10074 { "wxRegion_UnionRect", (PyCFunction
) _wrap_wxRegion_UnionRect
, METH_VARARGS
| METH_KEYWORDS
},
10075 { "wxRegion_Union", (PyCFunction
) _wrap_wxRegion_Union
, METH_VARARGS
| METH_KEYWORDS
},
10076 { "wxRegion_IsEmpty", (PyCFunction
) _wrap_wxRegion_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
10077 { "wxRegion_IntersectRegion", (PyCFunction
) _wrap_wxRegion_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
},
10078 { "wxRegion_IntersectRect", (PyCFunction
) _wrap_wxRegion_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
10079 { "wxRegion_Intersect", (PyCFunction
) _wrap_wxRegion_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
10080 { "wxRegion_GetBox", (PyCFunction
) _wrap_wxRegion_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
10081 { "wxRegion_ContainsRectDim", (PyCFunction
) _wrap_wxRegion_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
},
10082 { "wxRegion_ContainsRect", (PyCFunction
) _wrap_wxRegion_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
10083 { "wxRegion_ContainsPoint", (PyCFunction
) _wrap_wxRegion_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
10084 { "wxRegion_Contains", (PyCFunction
) _wrap_wxRegion_Contains
, METH_VARARGS
| METH_KEYWORDS
},
10085 { "wxRegion_Offset", (PyCFunction
) _wrap_wxRegion_Offset
, METH_VARARGS
| METH_KEYWORDS
},
10086 { "wxRegion_Clear", (PyCFunction
) _wrap_wxRegion_Clear
, METH_VARARGS
| METH_KEYWORDS
},
10087 { "delete_wxRegion", (PyCFunction
) _wrap_delete_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
10088 { "new_wxRegion", (PyCFunction
) _wrap_new_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
10089 { "wxImageList_GetSize", (PyCFunction
) _wrap_wxImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
10090 { "wxImageList_RemoveAll", (PyCFunction
) _wrap_wxImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
},
10091 { "wxImageList_Remove", (PyCFunction
) _wrap_wxImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
},
10092 { "wxImageList_GetImageCount", (PyCFunction
) _wrap_wxImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
10093 { "wxImageList_Draw", (PyCFunction
) _wrap_wxImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
},
10094 { "wxImageList_Replace", (PyCFunction
) _wrap_wxImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
},
10095 { "wxImageList_AddIcon", (PyCFunction
) _wrap_wxImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
10096 { "wxImageList_AddWithColourMask", (PyCFunction
) _wrap_wxImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
},
10097 { "wxImageList_Add", (PyCFunction
) _wrap_wxImageList_Add
, METH_VARARGS
| METH_KEYWORDS
},
10098 { "delete_wxImageList", (PyCFunction
) _wrap_delete_wxImageList
, METH_VARARGS
| METH_KEYWORDS
},
10099 { "new_wxImageList", (PyCFunction
) _wrap_new_wxImageList
, METH_VARARGS
| METH_KEYWORDS
},
10100 { "wxPalette_Ok", (PyCFunction
) _wrap_wxPalette_Ok
, METH_VARARGS
| METH_KEYWORDS
},
10101 { "wxPalette_GetRGB", (PyCFunction
) _wrap_wxPalette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
10102 { "wxPalette_GetPixel", (PyCFunction
) _wrap_wxPalette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
10103 { "delete_wxPalette", (PyCFunction
) _wrap_delete_wxPalette
, METH_VARARGS
| METH_KEYWORDS
},
10104 { "new_wxPalette", (PyCFunction
) _wrap_new_wxPalette
, METH_VARARGS
| METH_KEYWORDS
},
10105 { "new_wxWindowDC", (PyCFunction
) _wrap_new_wxWindowDC
, METH_VARARGS
| METH_KEYWORDS
},
10106 { "new_wxPaintDC", (PyCFunction
) _wrap_new_wxPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
10107 { "new_wxClientDC", (PyCFunction
) _wrap_new_wxClientDC
, METH_VARARGS
| METH_KEYWORDS
},
10108 { "wxScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_wxScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
10109 { "wxScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_wxScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
10110 { "wxScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_wxScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
},
10111 { "new_wxScreenDC", (PyCFunction
) _wrap_new_wxScreenDC
, METH_VARARGS
| METH_KEYWORDS
},
10112 { "new_wxBufferedPaintDC", (PyCFunction
) _wrap_new_wxBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
10113 { "wxBufferedDC_UnMask", (PyCFunction
) _wrap_wxBufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
},
10114 { "new_wxBufferedDCInternalBuffer", (PyCFunction
) _wrap_new_wxBufferedDCInternalBuffer
, METH_VARARGS
| METH_KEYWORDS
},
10115 { "new_wxBufferedDC", (PyCFunction
) _wrap_new_wxBufferedDC
, METH_VARARGS
| METH_KEYWORDS
},
10116 { "wxMemoryDC_SelectObject", (PyCFunction
) _wrap_wxMemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
},
10117 { "new_wxMemoryDC", (PyCFunction
) _wrap_new_wxMemoryDC
, METH_VARARGS
| METH_KEYWORDS
},
10118 { "wxDC__DrawLineList", (PyCFunction
) _wrap_wxDC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
},
10119 { "wxDC__DrawPointList", (PyCFunction
) _wrap_wxDC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
},
10120 { "wxDC_GetBoundingBox", (PyCFunction
) _wrap_wxDC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
10121 { "wxDC_ResetBoundingBox", (PyCFunction
) _wrap_wxDC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
10122 { "wxDC_CalcBoundingBox", (PyCFunction
) _wrap_wxDC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
10123 { "wxDC_SetAxisOrientation", (PyCFunction
) _wrap_wxDC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
},
10124 { "wxDC_GetDeviceOrigin", (PyCFunction
) _wrap_wxDC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
10125 { "wxDC_SetLogicalOrigin", (PyCFunction
) _wrap_wxDC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
10126 { "wxDC_GetLogicalOrigin", (PyCFunction
) _wrap_wxDC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
10127 { "wxDC_GetPPI", (PyCFunction
) _wrap_wxDC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
},
10128 { "wxDC_GetDepth", (PyCFunction
) _wrap_wxDC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
10129 { "wxDC_CanGetTextExtent", (PyCFunction
) _wrap_wxDC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
10130 { "wxDC_CanDrawBitmap", (PyCFunction
) _wrap_wxDC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10131 { "wxDC_DrawBitmap", (PyCFunction
) _wrap_wxDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10132 { "wxDC_StartPage", (PyCFunction
) _wrap_wxDC_StartPage
, METH_VARARGS
| METH_KEYWORDS
},
10133 { "wxDC_StartDoc", (PyCFunction
) _wrap_wxDC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
},
10134 { "wxDC_SetUserScale", (PyCFunction
) _wrap_wxDC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
10135 { "wxDC_SetTextForeground", (PyCFunction
) _wrap_wxDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
10136 { "wxDC_SetTextBackground", (PyCFunction
) _wrap_wxDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
10137 { "wxDC_SetPen", (PyCFunction
) _wrap_wxDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
10138 { "wxDC_SetOptimization", (PyCFunction
) _wrap_wxDC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
10139 { "wxDC_SetMapMode", (PyCFunction
) _wrap_wxDC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
10140 { "wxDC_SetLogicalScale", (PyCFunction
) _wrap_wxDC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
10141 { "wxDC_SetLogicalFunction", (PyCFunction
) _wrap_wxDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
10142 { "wxDC_SetFont", (PyCFunction
) _wrap_wxDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
10143 { "wxDC_SetBrush", (PyCFunction
) _wrap_wxDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
10144 { "wxDC_SetPalette", (PyCFunction
) _wrap_wxDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
10145 { "wxDC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_wxDC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
},
10146 { "wxDC_SetClippingRegion", (PyCFunction
) _wrap_wxDC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
10147 { "wxDC_SetBackgroundMode", (PyCFunction
) _wrap_wxDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
10148 { "wxDC_SetBackground", (PyCFunction
) _wrap_wxDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
},
10149 { "wxDC_SetDeviceOrigin", (PyCFunction
) _wrap_wxDC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
10150 { "wxDC_Ok", (PyCFunction
) _wrap_wxDC_Ok
, METH_VARARGS
| METH_KEYWORDS
},
10151 { "wxDC_MinY", (PyCFunction
) _wrap_wxDC_MinY
, METH_VARARGS
| METH_KEYWORDS
},
10152 { "wxDC_MinX", (PyCFunction
) _wrap_wxDC_MinX
, METH_VARARGS
| METH_KEYWORDS
},
10153 { "wxDC_MaxY", (PyCFunction
) _wrap_wxDC_MaxY
, METH_VARARGS
| METH_KEYWORDS
},
10154 { "wxDC_MaxX", (PyCFunction
) _wrap_wxDC_MaxX
, METH_VARARGS
| METH_KEYWORDS
},
10155 { "wxDC_LogicalToDeviceYRel", (PyCFunction
) _wrap_wxDC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
},
10156 { "wxDC_LogicalToDeviceY", (PyCFunction
) _wrap_wxDC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
},
10157 { "wxDC_LogicalToDeviceXRel", (PyCFunction
) _wrap_wxDC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
},
10158 { "wxDC_LogicalToDeviceX", (PyCFunction
) _wrap_wxDC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
},
10159 { "wxDC_GetUserScale", (PyCFunction
) _wrap_wxDC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
10160 { "wxDC_GetTextForeground", (PyCFunction
) _wrap_wxDC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
10161 { "wxDC_GetFullTextExtent", (PyCFunction
) _wrap_wxDC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
10162 { "wxDC_GetTextExtent", (PyCFunction
) _wrap_wxDC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
10163 { "wxDC_GetTextBackground", (PyCFunction
) _wrap_wxDC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
10164 { "wxDC_GetSizeMM", (PyCFunction
) _wrap_wxDC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
10165 { "wxDC_GetSize", (PyCFunction
) _wrap_wxDC_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
10166 { "wxDC_GetSizeTuple", (PyCFunction
) _wrap_wxDC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
10167 { "wxDC_GetPixel", (PyCFunction
) _wrap_wxDC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
10168 { "wxDC_GetPen", (PyCFunction
) _wrap_wxDC_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
10169 { "wxDC_GetOptimization", (PyCFunction
) _wrap_wxDC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
10170 { "wxDC_GetMapMode", (PyCFunction
) _wrap_wxDC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
10171 { "wxDC_GetLogicalScale", (PyCFunction
) _wrap_wxDC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
10172 { "wxDC_GetLogicalFunction", (PyCFunction
) _wrap_wxDC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
10173 { "wxDC_GetFont", (PyCFunction
) _wrap_wxDC_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
10174 { "wxDC_GetClippingBox", (PyCFunction
) _wrap_wxDC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
},
10175 { "wxDC_GetCharWidth", (PyCFunction
) _wrap_wxDC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
10176 { "wxDC_GetCharHeight", (PyCFunction
) _wrap_wxDC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
10177 { "wxDC_GetBrush", (PyCFunction
) _wrap_wxDC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
10178 { "wxDC_GetBackground", (PyCFunction
) _wrap_wxDC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
},
10179 { "wxDC_FloodFill", (PyCFunction
) _wrap_wxDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
},
10180 { "wxDC_EndPage", (PyCFunction
) _wrap_wxDC_EndPage
, METH_VARARGS
| METH_KEYWORDS
},
10181 { "wxDC_EndDrawing", (PyCFunction
) _wrap_wxDC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
},
10182 { "wxDC_EndDoc", (PyCFunction
) _wrap_wxDC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
},
10183 { "wxDC_DrawText", (PyCFunction
) _wrap_wxDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
10184 { "wxDC_DrawSpline", (PyCFunction
) _wrap_wxDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
10185 { "wxDC_DrawRoundedRectangle", (PyCFunction
) _wrap_wxDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
10186 { "wxDC_DrawRotatedText", (PyCFunction
) _wrap_wxDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
},
10187 { "wxDC_DrawRectangle", (PyCFunction
) _wrap_wxDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
10188 { "wxDC_DrawPoint", (PyCFunction
) _wrap_wxDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
10189 { "wxDC_DrawPolygon", (PyCFunction
) _wrap_wxDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
10190 { "wxDC_DrawLines", (PyCFunction
) _wrap_wxDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
10191 { "wxDC_DrawLine", (PyCFunction
) _wrap_wxDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
10192 { "wxDC_DrawImageLabel", (PyCFunction
) _wrap_wxDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
10193 { "wxDC_DrawLabel", (PyCFunction
) _wrap_wxDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
},
10194 { "wxDC_DrawIcon", (PyCFunction
) _wrap_wxDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
},
10195 { "wxDC_DrawEllipticArc", (PyCFunction
) _wrap_wxDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
10196 { "wxDC_DrawEllipse", (PyCFunction
) _wrap_wxDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
10197 { "wxDC_DrawCircle", (PyCFunction
) _wrap_wxDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
},
10198 { "wxDC_DrawArc", (PyCFunction
) _wrap_wxDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
10199 { "wxDC_DeviceToLogicalYRel", (PyCFunction
) _wrap_wxDC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
},
10200 { "wxDC_DeviceToLogicalY", (PyCFunction
) _wrap_wxDC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
},
10201 { "wxDC_DeviceToLogicalXRel", (PyCFunction
) _wrap_wxDC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
},
10202 { "wxDC_DeviceToLogicalX", (PyCFunction
) _wrap_wxDC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
},
10203 { "wxDC_DestroyClippingRegion", (PyCFunction
) _wrap_wxDC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
10204 { "wxDC_CrossHair", (PyCFunction
) _wrap_wxDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
},
10205 { "wxDC_Clear", (PyCFunction
) _wrap_wxDC_Clear
, METH_VARARGS
| METH_KEYWORDS
},
10206 { "wxDC_Blit", (PyCFunction
) _wrap_wxDC_Blit
, METH_VARARGS
| METH_KEYWORDS
},
10207 { "wxDC_BeginDrawing", (PyCFunction
) _wrap_wxDC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
},
10208 { "delete_wxDC", (PyCFunction
) _wrap_delete_wxDC
, METH_VARARGS
| METH_KEYWORDS
},
10209 { "wxBrushList_GetCount", (PyCFunction
) _wrap_wxBrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
10210 { "wxBrushList_RemoveBrush", (PyCFunction
) _wrap_wxBrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
},
10211 { "wxBrushList_FindOrCreateBrush", (PyCFunction
) _wrap_wxBrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
},
10212 { "wxBrushList_AddBrush", (PyCFunction
) _wrap_wxBrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
},
10213 { "wxBrush_SetStyle", (PyCFunction
) _wrap_wxBrush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
10214 { "wxBrush_SetStipple", (PyCFunction
) _wrap_wxBrush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
10215 { "wxBrush_SetColour", (PyCFunction
) _wrap_wxBrush_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
10216 { "wxBrush_Ok", (PyCFunction
) _wrap_wxBrush_Ok
, METH_VARARGS
| METH_KEYWORDS
},
10217 { "wxBrush_GetStyle", (PyCFunction
) _wrap_wxBrush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
10218 { "wxBrush_GetStipple", (PyCFunction
) _wrap_wxBrush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
10219 { "wxBrush_GetColour", (PyCFunction
) _wrap_wxBrush_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
10220 { "delete_wxBrush", (PyCFunction
) _wrap_delete_wxBrush
, METH_VARARGS
| METH_KEYWORDS
},
10221 { "new_wxBrush", (PyCFunction
) _wrap_new_wxBrush
, METH_VARARGS
| METH_KEYWORDS
},
10222 { "wxPenList_GetCount", (PyCFunction
) _wrap_wxPenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
10223 { "wxPenList_RemovePen", (PyCFunction
) _wrap_wxPenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
},
10224 { "wxPenList_FindOrCreatePen", (PyCFunction
) _wrap_wxPenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
},
10225 { "wxPenList_AddPen", (PyCFunction
) _wrap_wxPenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
},
10226 { "wxPyPen_SetDashes", (PyCFunction
) _wrap_wxPyPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
10227 { "delete_wxPyPen", (PyCFunction
) _wrap_delete_wxPyPen
, METH_VARARGS
| METH_KEYWORDS
},
10228 { "new_wxPyPen", (PyCFunction
) _wrap_new_wxPyPen
, METH_VARARGS
| METH_KEYWORDS
},
10229 { "wxPen_SetDashes", (PyCFunction
) _wrap_wxPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
10230 { "wxPen_SetWidth", (PyCFunction
) _wrap_wxPen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
10231 { "wxPen_SetStyle", (PyCFunction
) _wrap_wxPen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
10232 { "wxPen_SetJoin", (PyCFunction
) _wrap_wxPen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
},
10233 { "wxPen_SetColour", (PyCFunction
) _wrap_wxPen_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
10234 { "wxPen_SetCap", (PyCFunction
) _wrap_wxPen_SetCap
, METH_VARARGS
| METH_KEYWORDS
},
10235 { "wxPen_Ok", (PyCFunction
) _wrap_wxPen_Ok
, METH_VARARGS
| METH_KEYWORDS
},
10236 { "wxPen_GetWidth", (PyCFunction
) _wrap_wxPen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
10237 { "wxPen_GetStyle", (PyCFunction
) _wrap_wxPen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
10238 { "wxPen_GetJoin", (PyCFunction
) _wrap_wxPen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
},
10239 { "wxPen_GetColour", (PyCFunction
) _wrap_wxPen_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
10240 { "wxPen_GetCap", (PyCFunction
) _wrap_wxPen_GetCap
, METH_VARARGS
| METH_KEYWORDS
},
10241 { "delete_wxPen", (PyCFunction
) _wrap_delete_wxPen
, METH_VARARGS
| METH_KEYWORDS
},
10242 { "new_wxPen", (PyCFunction
) _wrap_new_wxPen
, METH_VARARGS
| METH_KEYWORDS
},
10243 { "wxColourDatabase_Append", (PyCFunction
) _wrap_wxColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
},
10244 { "wxColourDatabase_FindName", (PyCFunction
) _wrap_wxColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
},
10245 { "wxColourDatabase_FindColour", (PyCFunction
) _wrap_wxColourDatabase_FindColour
, METH_VARARGS
| METH_KEYWORDS
},
10246 { "wxColour_Get", (PyCFunction
) _wrap_wxColour_Get
, METH_VARARGS
| METH_KEYWORDS
},
10247 { "wxColour_Set", (PyCFunction
) _wrap_wxColour_Set
, METH_VARARGS
| METH_KEYWORDS
},
10248 { "wxColour_Ok", (PyCFunction
) _wrap_wxColour_Ok
, METH_VARARGS
| METH_KEYWORDS
},
10249 { "wxColour_Blue", (PyCFunction
) _wrap_wxColour_Blue
, METH_VARARGS
| METH_KEYWORDS
},
10250 { "wxColour_Green", (PyCFunction
) _wrap_wxColour_Green
, METH_VARARGS
| METH_KEYWORDS
},
10251 { "wxColour_Red", (PyCFunction
) _wrap_wxColour_Red
, METH_VARARGS
| METH_KEYWORDS
},
10252 { "delete_wxColour", (PyCFunction
) _wrap_delete_wxColour
, METH_VARARGS
| METH_KEYWORDS
},
10253 { "new_wxColour", (PyCFunction
) _wrap_new_wxColour
, METH_VARARGS
| METH_KEYWORDS
},
10254 { "wxCursor_Ok", (PyCFunction
) _wrap_wxCursor_Ok
, METH_VARARGS
| METH_KEYWORDS
},
10255 { "delete_wxCursor", (PyCFunction
) _wrap_delete_wxCursor
, METH_VARARGS
| METH_KEYWORDS
},
10256 { "wxIconBundle_GetIcon", (PyCFunction
) _wrap_wxIconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
10257 { "wxIconBundle_AddIconFromFile", (PyCFunction
) _wrap_wxIconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
},
10258 { "wxIconBundle_AddIcon", (PyCFunction
) _wrap_wxIconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
10259 { "delete_wxIconBundle", (PyCFunction
) _wrap_delete_wxIconBundle
, METH_VARARGS
| METH_KEYWORDS
},
10260 { "new_wxIconBundleFromIcon", (PyCFunction
) _wrap_new_wxIconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
10261 { "new_wxIconBundleFromFile", (PyCFunction
) _wrap_new_wxIconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
},
10262 { "new_wxIconBundle", (PyCFunction
) _wrap_new_wxIconBundle
, METH_VARARGS
| METH_KEYWORDS
},
10263 { "wxIcon_CopyFromBitmap", (PyCFunction
) _wrap_wxIcon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10264 { "wxIcon_SetDepth", (PyCFunction
) _wrap_wxIcon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
10265 { "wxIcon_SetHeight", (PyCFunction
) _wrap_wxIcon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
10266 { "wxIcon_SetWidth", (PyCFunction
) _wrap_wxIcon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
10267 { "wxIcon_GetDepth", (PyCFunction
) _wrap_wxIcon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
10268 { "wxIcon_GetHeight", (PyCFunction
) _wrap_wxIcon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
10269 { "wxIcon_GetWidth", (PyCFunction
) _wrap_wxIcon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
10270 { "wxIcon_Ok", (PyCFunction
) _wrap_wxIcon_Ok
, METH_VARARGS
| METH_KEYWORDS
},
10271 { "wxIcon_LoadFile", (PyCFunction
) _wrap_wxIcon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
10272 { "delete_wxIcon", (PyCFunction
) _wrap_delete_wxIcon
, METH_VARARGS
| METH_KEYWORDS
},
10273 { "new_wxIcon", (PyCFunction
) _wrap_new_wxIcon
, METH_VARARGS
| METH_KEYWORDS
},
10274 { "wxMask_Destroy", (PyCFunction
) _wrap_wxMask_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
10275 { "new_wxMask", (PyCFunction
) _wrap_new_wxMask
, METH_VARARGS
| METH_KEYWORDS
},
10276 { "wxBitmap_CopyFromIcon", (PyCFunction
) _wrap_wxBitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
10277 { "wxBitmap_GetSubBitmap", (PyCFunction
) _wrap_wxBitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10278 { "wxBitmap_SetDepth", (PyCFunction
) _wrap_wxBitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
10279 { "wxBitmap_SetHeight", (PyCFunction
) _wrap_wxBitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
10280 { "wxBitmap_SetWidth", (PyCFunction
) _wrap_wxBitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
10281 { "wxBitmap_GetDepth", (PyCFunction
) _wrap_wxBitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
10282 { "wxBitmap_GetHeight", (PyCFunction
) _wrap_wxBitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
10283 { "wxBitmap_GetWidth", (PyCFunction
) _wrap_wxBitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
10284 { "wxBitmap_Ok", (PyCFunction
) _wrap_wxBitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
},
10285 { "wxBitmap_SetMask", (PyCFunction
) _wrap_wxBitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
10286 { "wxBitmap_SaveFile", (PyCFunction
) _wrap_wxBitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
10287 { "wxBitmap_LoadFile", (PyCFunction
) _wrap_wxBitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
10288 { "wxBitmap_GetMask", (PyCFunction
) _wrap_wxBitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
10289 { "wxBitmap_GetPalette", (PyCFunction
) _wrap_wxBitmap_GetPalette
, METH_VARARGS
| METH_KEYWORDS
},
10290 { "delete_wxBitmap", (PyCFunction
) _wrap_delete_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10291 { "new_wxBitmap", (PyCFunction
) _wrap_new_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10292 { "wxGDIObject_IsNull", (PyCFunction
) _wrap_wxGDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
10293 { "wxGDIObject_SetVisible", (PyCFunction
) _wrap_wxGDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
},
10294 { "wxGDIObject_GetVisible", (PyCFunction
) _wrap_wxGDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
},
10295 { "delete_wxGDIObject", (PyCFunction
) _wrap_delete_wxGDIObject
, METH_VARARGS
| METH_KEYWORDS
},
10296 { "new_wxGDIObject", (PyCFunction
) _wrap_new_wxGDIObject
, METH_VARARGS
| METH_KEYWORDS
},
10297 { "wxMemoryDCFromDC", (PyCFunction
) _wrap_wxMemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
},
10298 { "wxNamedColour", (PyCFunction
) _wrap_wxNamedColour
, METH_VARARGS
| METH_KEYWORDS
},
10299 { "wxStockCursor", (PyCFunction
) _wrap_wxStockCursor
, METH_VARARGS
| METH_KEYWORDS
},
10300 { "wxIconFromBitmap", (PyCFunction
) _wrap_wxIconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10301 { "wxIconFromXPMData", (PyCFunction
) _wrap_wxIconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
10302 { "wxEmptyIcon", (PyCFunction
) _wrap_wxEmptyIcon
, METH_VARARGS
| METH_KEYWORDS
},
10303 { "wxMaskColour", (PyCFunction
) _wrap_wxMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
10304 { "wxBitmapFromBits", (PyCFunction
) _wrap_wxBitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
},
10305 { "wxBitmapFromIcon", (PyCFunction
) _wrap_wxBitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
10306 { "wxBitmapFromXPMData", (PyCFunction
) _wrap_wxBitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
10307 { "wxEmptyBitmap", (PyCFunction
) _wrap_wxEmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10314 * This table is used by the pointer type-checker
10316 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
10317 { "_signed_long","_long",0},
10318 { "_wxPrintQuality","_wxCoord",0},
10319 { "_wxPrintQuality","_int",0},
10320 { "_wxPrintQuality","_signed_int",0},
10321 { "_wxPrintQuality","_unsigned_int",0},
10322 { "_wxPrintQuality","_wxWindowID",0},
10323 { "_wxPrintQuality","_uint",0},
10324 { "_wxPrintQuality","_EBool",0},
10325 { "_wxPrintQuality","_size_t",0},
10326 { "_wxPrintQuality","_time_t",0},
10327 { "_wxPen","_wxPyPen",SwigwxPyPenTowxPen
},
10328 { "_byte","_unsigned_char",0},
10329 { "_long","_unsigned_long",0},
10330 { "_long","_signed_long",0},
10331 { "_wxGDIObject","_wxRegion",SwigwxRegionTowxGDIObject
},
10332 { "_wxGDIObject","_wxPalette",SwigwxPaletteTowxGDIObject
},
10333 { "_wxGDIObject","_wxBrush",SwigwxBrushTowxGDIObject
},
10334 { "_wxGDIObject","_wxPyPen",SwigwxPyPenTowxGDIObject
},
10335 { "_wxGDIObject","_wxPen",SwigwxPenTowxGDIObject
},
10336 { "_wxGDIObject","_wxCursor",SwigwxCursorTowxGDIObject
},
10337 { "_wxGDIObject","_wxIcon",SwigwxIconTowxGDIObject
},
10338 { "_wxGDIObject","_wxBitmap",SwigwxBitmapTowxGDIObject
},
10339 { "_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC
},
10340 { "_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
},
10341 { "_wxDC","_wxClientDC",SwigwxClientDCTowxDC
},
10342 { "_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
},
10343 { "_wxDC","_wxBufferedPaintDC",SwigwxBufferedPaintDCTowxDC
},
10344 { "_wxDC","_wxBufferedDC",SwigwxBufferedDCTowxDC
},
10345 { "_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
},
10346 { "_size_t","_wxCoord",0},
10347 { "_size_t","_wxPrintQuality",0},
10348 { "_size_t","_time_t",0},
10349 { "_size_t","_unsigned_int",0},
10350 { "_size_t","_int",0},
10351 { "_size_t","_wxWindowID",0},
10352 { "_size_t","_uint",0},
10353 { "_uint","_wxCoord",0},
10354 { "_uint","_wxPrintQuality",0},
10355 { "_uint","_time_t",0},
10356 { "_uint","_size_t",0},
10357 { "_uint","_unsigned_int",0},
10358 { "_uint","_int",0},
10359 { "_uint","_wxWindowID",0},
10360 { "_wxChar","_char",0},
10361 { "_char","_wxChar",0},
10362 { "_wxBufferedDC","_wxBufferedPaintDC",SwigwxBufferedPaintDCTowxBufferedDC
},
10363 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
10364 { "_EBool","_wxCoord",0},
10365 { "_EBool","_wxPrintQuality",0},
10366 { "_EBool","_signed_int",0},
10367 { "_EBool","_int",0},
10368 { "_EBool","_wxWindowID",0},
10369 { "_unsigned_long","_long",0},
10370 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
10371 { "_signed_int","_wxCoord",0},
10372 { "_signed_int","_wxPrintQuality",0},
10373 { "_signed_int","_EBool",0},
10374 { "_signed_int","_wxWindowID",0},
10375 { "_signed_int","_int",0},
10376 { "_WXTYPE","_short",0},
10377 { "_WXTYPE","_signed_short",0},
10378 { "_WXTYPE","_unsigned_short",0},
10379 { "_unsigned_short","_WXTYPE",0},
10380 { "_unsigned_short","_short",0},
10381 { "_wxObject","_wxRegionIterator",SwigwxRegionIteratorTowxObject
},
10382 { "_wxObject","_wxRegion",SwigwxRegionTowxObject
},
10383 { "_wxObject","_wxImageList",SwigwxImageListTowxObject
},
10384 { "_wxObject","_wxPalette",SwigwxPaletteTowxObject
},
10385 { "_wxObject","_wxWindowDC",SwigwxWindowDCTowxObject
},
10386 { "_wxObject","_wxPaintDC",SwigwxPaintDCTowxObject
},
10387 { "_wxObject","_wxClientDC",SwigwxClientDCTowxObject
},
10388 { "_wxObject","_wxScreenDC",SwigwxScreenDCTowxObject
},
10389 { "_wxObject","_wxBufferedPaintDC",SwigwxBufferedPaintDCTowxObject
},
10390 { "_wxObject","_wxBufferedDC",SwigwxBufferedDCTowxObject
},
10391 { "_wxObject","_wxMemoryDC",SwigwxMemoryDCTowxObject
},
10392 { "_wxObject","_wxDC",SwigwxDCTowxObject
},
10393 { "_wxObject","_wxBrushList",SwigwxBrushListTowxObject
},
10394 { "_wxObject","_wxBrush",SwigwxBrushTowxObject
},
10395 { "_wxObject","_wxPenList",SwigwxPenListTowxObject
},
10396 { "_wxObject","_wxPyPen",SwigwxPyPenTowxObject
},
10397 { "_wxObject","_wxPen",SwigwxPenTowxObject
},
10398 { "_wxObject","_wxColourDatabase",SwigwxColourDatabaseTowxObject
},
10399 { "_wxObject","_wxColour",SwigwxColourTowxObject
},
10400 { "_wxObject","_wxCursor",SwigwxCursorTowxObject
},
10401 { "_wxObject","_wxIcon",SwigwxIconTowxObject
},
10402 { "_wxObject","_wxMask",SwigwxMaskTowxObject
},
10403 { "_wxObject","_wxBitmap",SwigwxBitmapTowxObject
},
10404 { "_wxObject","_wxGDIObject",SwigwxGDIObjectTowxObject
},
10405 { "_signed_short","_WXTYPE",0},
10406 { "_signed_short","_short",0},
10407 { "_wxMemoryDC","_wxBufferedPaintDC",SwigwxBufferedPaintDCTowxMemoryDC
},
10408 { "_wxMemoryDC","_wxBufferedDC",SwigwxBufferedDCTowxMemoryDC
},
10409 { "_unsigned_char","_byte",0},
10410 { "_unsigned_int","_wxCoord",0},
10411 { "_unsigned_int","_wxPrintQuality",0},
10412 { "_unsigned_int","_time_t",0},
10413 { "_unsigned_int","_size_t",0},
10414 { "_unsigned_int","_uint",0},
10415 { "_unsigned_int","_wxWindowID",0},
10416 { "_unsigned_int","_int",0},
10417 { "_short","_WXTYPE",0},
10418 { "_short","_unsigned_short",0},
10419 { "_short","_signed_short",0},
10420 { "_wxWindowID","_wxCoord",0},
10421 { "_wxWindowID","_wxPrintQuality",0},
10422 { "_wxWindowID","_time_t",0},
10423 { "_wxWindowID","_size_t",0},
10424 { "_wxWindowID","_EBool",0},
10425 { "_wxWindowID","_uint",0},
10426 { "_wxWindowID","_int",0},
10427 { "_wxWindowID","_signed_int",0},
10428 { "_wxWindowID","_unsigned_int",0},
10429 { "_int","_wxCoord",0},
10430 { "_int","_wxPrintQuality",0},
10431 { "_int","_time_t",0},
10432 { "_int","_size_t",0},
10433 { "_int","_EBool",0},
10434 { "_int","_uint",0},
10435 { "_int","_wxWindowID",0},
10436 { "_int","_unsigned_int",0},
10437 { "_int","_signed_int",0},
10438 { "_time_t","_wxCoord",0},
10439 { "_time_t","_wxPrintQuality",0},
10440 { "_time_t","_unsigned_int",0},
10441 { "_time_t","_int",0},
10442 { "_time_t","_wxWindowID",0},
10443 { "_time_t","_uint",0},
10444 { "_time_t","_size_t",0},
10445 { "_wxCoord","_int",0},
10446 { "_wxCoord","_signed_int",0},
10447 { "_wxCoord","_unsigned_int",0},
10448 { "_wxCoord","_wxWindowID",0},
10449 { "_wxCoord","_uint",0},
10450 { "_wxCoord","_EBool",0},
10451 { "_wxCoord","_size_t",0},
10452 { "_wxCoord","_time_t",0},
10453 { "_wxCoord","_wxPrintQuality",0},
10456 static PyObject
*SWIG_globals
;
10460 SWIGEXPORT(void) initgdic() {
10462 SWIG_globals
= SWIG_newvarlink();
10463 m
= Py_InitModule("gdic", gdicMethods
);
10464 d
= PyModule_GetDict(m
);
10465 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_NORMAL", PyInt_FromLong((long) wxIMAGELIST_DRAW_NORMAL
));
10466 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_TRANSPARENT", PyInt_FromLong((long) wxIMAGELIST_DRAW_TRANSPARENT
));
10467 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_SELECTED", PyInt_FromLong((long) wxIMAGELIST_DRAW_SELECTED
));
10468 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_FOCUSED", PyInt_FromLong((long) wxIMAGELIST_DRAW_FOCUSED
));
10469 PyDict_SetItemString(d
,"wxIMAGE_LIST_NORMAL", PyInt_FromLong((long) wxIMAGE_LIST_NORMAL
));
10470 PyDict_SetItemString(d
,"wxIMAGE_LIST_SMALL", PyInt_FromLong((long) wxIMAGE_LIST_SMALL
));
10471 PyDict_SetItemString(d
,"wxIMAGE_LIST_STATE", PyInt_FromLong((long) wxIMAGE_LIST_STATE
));
10472 PyDict_SetItemString(d
,"wxOutRegion", PyInt_FromLong((long) wxOutRegion
));
10473 PyDict_SetItemString(d
,"wxPartRegion", PyInt_FromLong((long) wxPartRegion
));
10474 PyDict_SetItemString(d
,"wxInRegion", PyInt_FromLong((long) wxInRegion
));
10475 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
10476 SWIG_addvarlink(SWIG_globals
,"wxNORMAL_FONT",_wrap_wxNORMAL_FONT_get
, _wrap_wxNORMAL_FONT_set
);
10477 SWIG_addvarlink(SWIG_globals
,"wxSMALL_FONT",_wrap_wxSMALL_FONT_get
, _wrap_wxSMALL_FONT_set
);
10478 SWIG_addvarlink(SWIG_globals
,"wxITALIC_FONT",_wrap_wxITALIC_FONT_get
, _wrap_wxITALIC_FONT_set
);
10479 SWIG_addvarlink(SWIG_globals
,"wxSWISS_FONT",_wrap_wxSWISS_FONT_get
, _wrap_wxSWISS_FONT_set
);
10480 SWIG_addvarlink(SWIG_globals
,"wxRED_PEN",_wrap_wxRED_PEN_get
, _wrap_wxRED_PEN_set
);
10481 SWIG_addvarlink(SWIG_globals
,"wxCYAN_PEN",_wrap_wxCYAN_PEN_get
, _wrap_wxCYAN_PEN_set
);
10482 SWIG_addvarlink(SWIG_globals
,"wxGREEN_PEN",_wrap_wxGREEN_PEN_get
, _wrap_wxGREEN_PEN_set
);
10483 SWIG_addvarlink(SWIG_globals
,"wxBLACK_PEN",_wrap_wxBLACK_PEN_get
, _wrap_wxBLACK_PEN_set
);
10484 SWIG_addvarlink(SWIG_globals
,"wxWHITE_PEN",_wrap_wxWHITE_PEN_get
, _wrap_wxWHITE_PEN_set
);
10485 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_PEN",_wrap_wxTRANSPARENT_PEN_get
, _wrap_wxTRANSPARENT_PEN_set
);
10486 SWIG_addvarlink(SWIG_globals
,"wxBLACK_DASHED_PEN",_wrap_wxBLACK_DASHED_PEN_get
, _wrap_wxBLACK_DASHED_PEN_set
);
10487 SWIG_addvarlink(SWIG_globals
,"wxGREY_PEN",_wrap_wxGREY_PEN_get
, _wrap_wxGREY_PEN_set
);
10488 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_PEN",_wrap_wxMEDIUM_GREY_PEN_get
, _wrap_wxMEDIUM_GREY_PEN_set
);
10489 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_PEN",_wrap_wxLIGHT_GREY_PEN_get
, _wrap_wxLIGHT_GREY_PEN_set
);
10490 SWIG_addvarlink(SWIG_globals
,"wxBLUE_BRUSH",_wrap_wxBLUE_BRUSH_get
, _wrap_wxBLUE_BRUSH_set
);
10491 SWIG_addvarlink(SWIG_globals
,"wxGREEN_BRUSH",_wrap_wxGREEN_BRUSH_get
, _wrap_wxGREEN_BRUSH_set
);
10492 SWIG_addvarlink(SWIG_globals
,"wxWHITE_BRUSH",_wrap_wxWHITE_BRUSH_get
, _wrap_wxWHITE_BRUSH_set
);
10493 SWIG_addvarlink(SWIG_globals
,"wxBLACK_BRUSH",_wrap_wxBLACK_BRUSH_get
, _wrap_wxBLACK_BRUSH_set
);
10494 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_BRUSH",_wrap_wxTRANSPARENT_BRUSH_get
, _wrap_wxTRANSPARENT_BRUSH_set
);
10495 SWIG_addvarlink(SWIG_globals
,"wxCYAN_BRUSH",_wrap_wxCYAN_BRUSH_get
, _wrap_wxCYAN_BRUSH_set
);
10496 SWIG_addvarlink(SWIG_globals
,"wxRED_BRUSH",_wrap_wxRED_BRUSH_get
, _wrap_wxRED_BRUSH_set
);
10497 SWIG_addvarlink(SWIG_globals
,"wxGREY_BRUSH",_wrap_wxGREY_BRUSH_get
, _wrap_wxGREY_BRUSH_set
);
10498 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_BRUSH",_wrap_wxMEDIUM_GREY_BRUSH_get
, _wrap_wxMEDIUM_GREY_BRUSH_set
);
10499 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_BRUSH",_wrap_wxLIGHT_GREY_BRUSH_get
, _wrap_wxLIGHT_GREY_BRUSH_set
);
10500 SWIG_addvarlink(SWIG_globals
,"wxBLACK",_wrap_wxBLACK_get
, _wrap_wxBLACK_set
);
10501 SWIG_addvarlink(SWIG_globals
,"wxWHITE",_wrap_wxWHITE_get
, _wrap_wxWHITE_set
);
10502 SWIG_addvarlink(SWIG_globals
,"wxRED",_wrap_wxRED_get
, _wrap_wxRED_set
);
10503 SWIG_addvarlink(SWIG_globals
,"wxBLUE",_wrap_wxBLUE_get
, _wrap_wxBLUE_set
);
10504 SWIG_addvarlink(SWIG_globals
,"wxGREEN",_wrap_wxGREEN_get
, _wrap_wxGREEN_set
);
10505 SWIG_addvarlink(SWIG_globals
,"wxCYAN",_wrap_wxCYAN_get
, _wrap_wxCYAN_set
);
10506 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY",_wrap_wxLIGHT_GREY_get
, _wrap_wxLIGHT_GREY_set
);
10507 SWIG_addvarlink(SWIG_globals
,"wxSTANDARD_CURSOR",_wrap_wxSTANDARD_CURSOR_get
, _wrap_wxSTANDARD_CURSOR_set
);
10508 SWIG_addvarlink(SWIG_globals
,"wxHOURGLASS_CURSOR",_wrap_wxHOURGLASS_CURSOR_get
, _wrap_wxHOURGLASS_CURSOR_set
);
10509 SWIG_addvarlink(SWIG_globals
,"wxCROSS_CURSOR",_wrap_wxCROSS_CURSOR_get
, _wrap_wxCROSS_CURSOR_set
);
10510 SWIG_addvarlink(SWIG_globals
,"wxNullBitmap",_wrap_wxNullBitmap_get
, _wrap_wxNullBitmap_set
);
10511 SWIG_addvarlink(SWIG_globals
,"wxNullIcon",_wrap_wxNullIcon_get
, _wrap_wxNullIcon_set
);
10512 SWIG_addvarlink(SWIG_globals
,"wxNullCursor",_wrap_wxNullCursor_get
, _wrap_wxNullCursor_set
);
10513 SWIG_addvarlink(SWIG_globals
,"wxNullPen",_wrap_wxNullPen_get
, _wrap_wxNullPen_set
);
10514 SWIG_addvarlink(SWIG_globals
,"wxNullBrush",_wrap_wxNullBrush_get
, _wrap_wxNullBrush_set
);
10515 SWIG_addvarlink(SWIG_globals
,"wxNullPalette",_wrap_wxNullPalette_get
, _wrap_wxNullPalette_set
);
10516 SWIG_addvarlink(SWIG_globals
,"wxNullFont",_wrap_wxNullFont_get
, _wrap_wxNullFont_set
);
10517 SWIG_addvarlink(SWIG_globals
,"wxNullColour",_wrap_wxNullColour_get
, _wrap_wxNullColour_set
);
10518 SWIG_addvarlink(SWIG_globals
,"wxTheFontList",_wrap_wxTheFontList_get
, _wrap_wxTheFontList_set
);
10519 SWIG_addvarlink(SWIG_globals
,"wxThePenList",_wrap_wxThePenList_get
, _wrap_wxThePenList_set
);
10520 SWIG_addvarlink(SWIG_globals
,"wxTheBrushList",_wrap_wxTheBrushList_get
, _wrap_wxTheBrushList_set
);
10521 SWIG_addvarlink(SWIG_globals
,"wxTheColourDatabase",_wrap_wxTheColourDatabase_get
, _wrap_wxTheColourDatabase_set
);
10524 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
10525 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);