2 * FILE : src/mac/gdi.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
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_Ok(_swigobj) (_swigobj->Ok())
2171 static PyObject
*_wrap_wxIcon_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2172 PyObject
* _resultobj
;
2175 PyObject
* _argo0
= 0;
2176 char *_kwnames
[] = { "self", NULL
};
2179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_Ok",_kwnames
,&_argo0
))
2182 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2183 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_Ok. Expected _wxIcon_p.");
2189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2190 _result
= (bool )wxIcon_Ok(_arg0
);
2192 wxPyEndAllowThreads(__tstate
);
2193 if (PyErr_Occurred()) return NULL
;
2194 } _resultobj
= Py_BuildValue("i",_result
);
2198 #define wxIcon_GetWidth(_swigobj) (_swigobj->GetWidth())
2199 static PyObject
*_wrap_wxIcon_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2200 PyObject
* _resultobj
;
2203 PyObject
* _argo0
= 0;
2204 char *_kwnames
[] = { "self", NULL
};
2207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetWidth",_kwnames
,&_argo0
))
2210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetWidth. Expected _wxIcon_p.");
2217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2218 _result
= (int )wxIcon_GetWidth(_arg0
);
2220 wxPyEndAllowThreads(__tstate
);
2221 if (PyErr_Occurred()) return NULL
;
2222 } _resultobj
= Py_BuildValue("i",_result
);
2226 #define wxIcon_GetHeight(_swigobj) (_swigobj->GetHeight())
2227 static PyObject
*_wrap_wxIcon_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2228 PyObject
* _resultobj
;
2231 PyObject
* _argo0
= 0;
2232 char *_kwnames
[] = { "self", NULL
};
2235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetHeight",_kwnames
,&_argo0
))
2238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetHeight. Expected _wxIcon_p.");
2245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2246 _result
= (int )wxIcon_GetHeight(_arg0
);
2248 wxPyEndAllowThreads(__tstate
);
2249 if (PyErr_Occurred()) return NULL
;
2250 } _resultobj
= Py_BuildValue("i",_result
);
2254 #define wxIcon_GetDepth(_swigobj) (_swigobj->GetDepth())
2255 static PyObject
*_wrap_wxIcon_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2256 PyObject
* _resultobj
;
2259 PyObject
* _argo0
= 0;
2260 char *_kwnames
[] = { "self", NULL
};
2263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetDepth",_kwnames
,&_argo0
))
2266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetDepth. Expected _wxIcon_p.");
2273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2274 _result
= (int )wxIcon_GetDepth(_arg0
);
2276 wxPyEndAllowThreads(__tstate
);
2277 if (PyErr_Occurred()) return NULL
;
2278 } _resultobj
= Py_BuildValue("i",_result
);
2282 #define wxIcon_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2283 static PyObject
*_wrap_wxIcon_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2284 PyObject
* _resultobj
;
2287 PyObject
* _argo0
= 0;
2288 char *_kwnames
[] = { "self","w", NULL
};
2291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetWidth",_kwnames
,&_argo0
,&_arg1
))
2294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetWidth. Expected _wxIcon_p.");
2301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2302 wxIcon_SetWidth(_arg0
,_arg1
);
2304 wxPyEndAllowThreads(__tstate
);
2305 if (PyErr_Occurred()) return NULL
;
2306 } Py_INCREF(Py_None
);
2307 _resultobj
= Py_None
;
2311 #define wxIcon_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
2312 static PyObject
*_wrap_wxIcon_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2313 PyObject
* _resultobj
;
2316 PyObject
* _argo0
= 0;
2317 char *_kwnames
[] = { "self","h", NULL
};
2320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetHeight",_kwnames
,&_argo0
,&_arg1
))
2323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetHeight. Expected _wxIcon_p.");
2330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2331 wxIcon_SetHeight(_arg0
,_arg1
);
2333 wxPyEndAllowThreads(__tstate
);
2334 if (PyErr_Occurred()) return NULL
;
2335 } Py_INCREF(Py_None
);
2336 _resultobj
= Py_None
;
2340 #define wxIcon_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
2341 static PyObject
*_wrap_wxIcon_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2342 PyObject
* _resultobj
;
2345 PyObject
* _argo0
= 0;
2346 char *_kwnames
[] = { "self","d", NULL
};
2349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetDepth",_kwnames
,&_argo0
,&_arg1
))
2352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetDepth. Expected _wxIcon_p.");
2359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2360 wxIcon_SetDepth(_arg0
,_arg1
);
2362 wxPyEndAllowThreads(__tstate
);
2363 if (PyErr_Occurred()) return NULL
;
2364 } Py_INCREF(Py_None
);
2365 _resultobj
= Py_None
;
2369 #define wxIcon_CopyFromBitmap(_swigobj,_swigarg0) (_swigobj->CopyFromBitmap(_swigarg0))
2370 static PyObject
*_wrap_wxIcon_CopyFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2371 PyObject
* _resultobj
;
2374 PyObject
* _argo0
= 0;
2375 PyObject
* _argo1
= 0;
2376 char *_kwnames
[] = { "self","bmp", NULL
};
2379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIcon_CopyFromBitmap",_kwnames
,&_argo0
,&_argo1
))
2382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_CopyFromBitmap. Expected _wxIcon_p.");
2389 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2390 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
2391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIcon_CopyFromBitmap. Expected _wxBitmap_p.");
2396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2397 wxIcon_CopyFromBitmap(_arg0
,*_arg1
);
2399 wxPyEndAllowThreads(__tstate
);
2400 if (PyErr_Occurred()) return NULL
;
2401 } Py_INCREF(Py_None
);
2402 _resultobj
= Py_None
;
2406 #define new_wxIconBundle() (new wxIconBundle())
2407 static PyObject
*_wrap_new_wxIconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2408 PyObject
* _resultobj
;
2409 wxIconBundle
* _result
;
2410 char *_kwnames
[] = { NULL
};
2414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxIconBundle",_kwnames
))
2417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2418 _result
= (wxIconBundle
*)new_wxIconBundle();
2420 wxPyEndAllowThreads(__tstate
);
2421 if (PyErr_Occurred()) return NULL
;
2423 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIconBundle_p");
2424 _resultobj
= Py_BuildValue("s",_ptemp
);
2427 _resultobj
= Py_None
;
2432 #define new_wxIconBundleFromFile(_swigarg0,_swigarg1) (new wxIconBundle(_swigarg0,_swigarg1))
2433 static PyObject
*_wrap_new_wxIconBundleFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2434 PyObject
* _resultobj
;
2435 wxIconBundle
* _result
;
2438 PyObject
* _obj0
= 0;
2439 char *_kwnames
[] = { "file","type", NULL
};
2443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:new_wxIconBundleFromFile",_kwnames
,&_obj0
,&_arg1
))
2446 _arg0
= wxString_in_helper(_obj0
);
2451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2452 _result
= (wxIconBundle
*)new_wxIconBundleFromFile(*_arg0
,_arg1
);
2454 wxPyEndAllowThreads(__tstate
);
2455 if (PyErr_Occurred()) return NULL
;
2457 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIconBundle_p");
2458 _resultobj
= Py_BuildValue("s",_ptemp
);
2461 _resultobj
= Py_None
;
2470 #define new_wxIconBundleFromIcon(_swigarg0) (new wxIconBundle(_swigarg0))
2471 static PyObject
*_wrap_new_wxIconBundleFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2472 PyObject
* _resultobj
;
2473 wxIconBundle
* _result
;
2475 PyObject
* _argo0
= 0;
2476 char *_kwnames
[] = { "icon", NULL
};
2480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxIconBundleFromIcon",_kwnames
,&_argo0
))
2483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxIconBundleFromIcon. Expected _wxIcon_p.");
2490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2491 _result
= (wxIconBundle
*)new_wxIconBundleFromIcon(*_arg0
);
2493 wxPyEndAllowThreads(__tstate
);
2494 if (PyErr_Occurred()) return NULL
;
2496 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIconBundle_p");
2497 _resultobj
= Py_BuildValue("s",_ptemp
);
2500 _resultobj
= Py_None
;
2505 #define delete_wxIconBundle(_swigobj) (delete _swigobj)
2506 static PyObject
*_wrap_delete_wxIconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2507 PyObject
* _resultobj
;
2508 wxIconBundle
* _arg0
;
2509 PyObject
* _argo0
= 0;
2510 char *_kwnames
[] = { "self", NULL
};
2513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxIconBundle",_kwnames
,&_argo0
))
2516 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2517 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIconBundle_p")) {
2518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxIconBundle. Expected _wxIconBundle_p.");
2523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2524 delete_wxIconBundle(_arg0
);
2526 wxPyEndAllowThreads(__tstate
);
2527 if (PyErr_Occurred()) return NULL
;
2528 } Py_INCREF(Py_None
);
2529 _resultobj
= Py_None
;
2533 #define wxIconBundle_AddIcon(_swigobj,_swigarg0) (_swigobj->AddIcon(_swigarg0))
2534 static PyObject
*_wrap_wxIconBundle_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2535 PyObject
* _resultobj
;
2536 wxIconBundle
* _arg0
;
2538 PyObject
* _argo0
= 0;
2539 PyObject
* _argo1
= 0;
2540 char *_kwnames
[] = { "self","icon", NULL
};
2543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIconBundle_AddIcon",_kwnames
,&_argo0
,&_argo1
))
2546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIconBundle_p")) {
2548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIconBundle_AddIcon. Expected _wxIconBundle_p.");
2553 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2554 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
2555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIconBundle_AddIcon. Expected _wxIcon_p.");
2560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2561 wxIconBundle_AddIcon(_arg0
,*_arg1
);
2563 wxPyEndAllowThreads(__tstate
);
2564 if (PyErr_Occurred()) return NULL
;
2565 } Py_INCREF(Py_None
);
2566 _resultobj
= Py_None
;
2570 #define wxIconBundle_AddIconFromFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddIcon(_swigarg0,_swigarg1))
2571 static PyObject
*_wrap_wxIconBundle_AddIconFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2572 PyObject
* _resultobj
;
2573 wxIconBundle
* _arg0
;
2576 PyObject
* _argo0
= 0;
2577 PyObject
* _obj1
= 0;
2578 char *_kwnames
[] = { "self","file","type", NULL
};
2581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOl:wxIconBundle_AddIconFromFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
2584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIconBundle_p")) {
2586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIconBundle_AddIconFromFile. Expected _wxIconBundle_p.");
2591 _arg1
= wxString_in_helper(_obj1
);
2596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2597 wxIconBundle_AddIconFromFile(_arg0
,*_arg1
,_arg2
);
2599 wxPyEndAllowThreads(__tstate
);
2600 if (PyErr_Occurred()) return NULL
;
2601 } Py_INCREF(Py_None
);
2602 _resultobj
= Py_None
;
2610 #define wxIconBundle_GetIcon(_swigobj,_swigarg0) (_swigobj->GetIcon(_swigarg0))
2611 static PyObject
*_wrap_wxIconBundle_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2612 PyObject
* _resultobj
;
2614 wxIconBundle
* _arg0
;
2616 PyObject
* _argo0
= 0;
2618 PyObject
* _obj1
= 0;
2619 char *_kwnames
[] = { "self","size", NULL
};
2623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIconBundle_GetIcon",_kwnames
,&_argo0
,&_obj1
))
2626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIconBundle_p")) {
2628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIconBundle_GetIcon. Expected _wxIconBundle_p.");
2634 if (! wxSize_helper(_obj1
, &_arg1
))
2638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2639 const wxIcon
& _result_ref
= wxIconBundle_GetIcon(_arg0
,*_arg1
);
2640 _result
= (wxIcon
*) &_result_ref
;
2642 wxPyEndAllowThreads(__tstate
);
2643 if (PyErr_Occurred()) return NULL
;
2645 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
2646 _resultobj
= Py_BuildValue("s",_ptemp
);
2649 _resultobj
= Py_None
;
2654 static void *SwigwxCursorTowxGDIObject(void *ptr
) {
2657 src
= (wxCursor
*) ptr
;
2658 dest
= (wxGDIObject
*) src
;
2659 return (void *) dest
;
2662 static void *SwigwxCursorTowxObject(void *ptr
) {
2665 src
= (wxCursor
*) ptr
;
2666 dest
= (wxObject
*) src
;
2667 return (void *) dest
;
2670 #define delete_wxCursor(_swigobj) (delete _swigobj)
2671 static PyObject
*_wrap_delete_wxCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2672 PyObject
* _resultobj
;
2674 PyObject
* _argo0
= 0;
2675 char *_kwnames
[] = { "self", NULL
};
2678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCursor",_kwnames
,&_argo0
))
2681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCursor. Expected _wxCursor_p.");
2688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2689 delete_wxCursor(_arg0
);
2691 wxPyEndAllowThreads(__tstate
);
2692 if (PyErr_Occurred()) return NULL
;
2693 } Py_INCREF(Py_None
);
2694 _resultobj
= Py_None
;
2698 #define wxCursor_Ok(_swigobj) (_swigobj->Ok())
2699 static PyObject
*_wrap_wxCursor_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2700 PyObject
* _resultobj
;
2703 PyObject
* _argo0
= 0;
2704 char *_kwnames
[] = { "self", NULL
};
2707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCursor_Ok",_kwnames
,&_argo0
))
2710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_Ok. Expected _wxCursor_p.");
2717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2718 _result
= (bool )wxCursor_Ok(_arg0
);
2720 wxPyEndAllowThreads(__tstate
);
2721 if (PyErr_Occurred()) return NULL
;
2722 } _resultobj
= Py_BuildValue("i",_result
);
2726 static void *SwigwxColourTowxObject(void *ptr
) {
2729 src
= (wxColour
*) ptr
;
2730 dest
= (wxObject
*) src
;
2731 return (void *) dest
;
2734 #define new_wxColour(_swigarg0,_swigarg1,_swigarg2) (new wxColour(_swigarg0,_swigarg1,_swigarg2))
2735 static PyObject
*_wrap_new_wxColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2736 PyObject
* _resultobj
;
2738 unsigned char _arg0
= (unsigned char ) 0;
2739 unsigned char _arg1
= (unsigned char ) 0;
2740 unsigned char _arg2
= (unsigned char ) 0;
2741 char *_kwnames
[] = { "red","green","blue", NULL
};
2745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|bbb:new_wxColour",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
2748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2749 _result
= (wxColour
*)new_wxColour(_arg0
,_arg1
,_arg2
);
2751 wxPyEndAllowThreads(__tstate
);
2752 if (PyErr_Occurred()) return NULL
;
2754 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
2755 _resultobj
= Py_BuildValue("s",_ptemp
);
2758 _resultobj
= Py_None
;
2763 #define delete_wxColour(_swigobj) (delete _swigobj)
2764 static PyObject
*_wrap_delete_wxColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2765 PyObject
* _resultobj
;
2768 PyObject
* _obj0
= 0;
2769 char *_kwnames
[] = { "self", NULL
};
2772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxColour",_kwnames
,&_obj0
))
2776 if (! wxColour_helper(_obj0
, &_arg0
))
2780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2781 delete_wxColour(_arg0
);
2783 wxPyEndAllowThreads(__tstate
);
2784 if (PyErr_Occurred()) return NULL
;
2785 } Py_INCREF(Py_None
);
2786 _resultobj
= Py_None
;
2790 #define wxColour_Red(_swigobj) (_swigobj->Red())
2791 static PyObject
*_wrap_wxColour_Red(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2792 PyObject
* _resultobj
;
2793 unsigned char _result
;
2796 PyObject
* _obj0
= 0;
2797 char *_kwnames
[] = { "self", NULL
};
2800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Red",_kwnames
,&_obj0
))
2804 if (! wxColour_helper(_obj0
, &_arg0
))
2808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2809 _result
= (unsigned char )wxColour_Red(_arg0
);
2811 wxPyEndAllowThreads(__tstate
);
2812 if (PyErr_Occurred()) return NULL
;
2813 } _resultobj
= Py_BuildValue("b",_result
);
2817 #define wxColour_Green(_swigobj) (_swigobj->Green())
2818 static PyObject
*_wrap_wxColour_Green(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2819 PyObject
* _resultobj
;
2820 unsigned char _result
;
2823 PyObject
* _obj0
= 0;
2824 char *_kwnames
[] = { "self", NULL
};
2827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Green",_kwnames
,&_obj0
))
2831 if (! wxColour_helper(_obj0
, &_arg0
))
2835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2836 _result
= (unsigned char )wxColour_Green(_arg0
);
2838 wxPyEndAllowThreads(__tstate
);
2839 if (PyErr_Occurred()) return NULL
;
2840 } _resultobj
= Py_BuildValue("b",_result
);
2844 #define wxColour_Blue(_swigobj) (_swigobj->Blue())
2845 static PyObject
*_wrap_wxColour_Blue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2846 PyObject
* _resultobj
;
2847 unsigned char _result
;
2850 PyObject
* _obj0
= 0;
2851 char *_kwnames
[] = { "self", NULL
};
2854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Blue",_kwnames
,&_obj0
))
2858 if (! wxColour_helper(_obj0
, &_arg0
))
2862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2863 _result
= (unsigned char )wxColour_Blue(_arg0
);
2865 wxPyEndAllowThreads(__tstate
);
2866 if (PyErr_Occurred()) return NULL
;
2867 } _resultobj
= Py_BuildValue("b",_result
);
2871 #define wxColour_Ok(_swigobj) (_swigobj->Ok())
2872 static PyObject
*_wrap_wxColour_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2873 PyObject
* _resultobj
;
2877 PyObject
* _obj0
= 0;
2878 char *_kwnames
[] = { "self", NULL
};
2881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Ok",_kwnames
,&_obj0
))
2885 if (! wxColour_helper(_obj0
, &_arg0
))
2889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2890 _result
= (bool )wxColour_Ok(_arg0
);
2892 wxPyEndAllowThreads(__tstate
);
2893 if (PyErr_Occurred()) return NULL
;
2894 } _resultobj
= Py_BuildValue("i",_result
);
2898 #define wxColour_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
2899 static PyObject
*_wrap_wxColour_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2900 PyObject
* _resultobj
;
2902 unsigned char _arg1
;
2903 unsigned char _arg2
;
2904 unsigned char _arg3
;
2906 PyObject
* _obj0
= 0;
2907 char *_kwnames
[] = { "self","red","green","blue", NULL
};
2910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Obbb:wxColour_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
))
2914 if (! wxColour_helper(_obj0
, &_arg0
))
2918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2919 wxColour_Set(_arg0
,_arg1
,_arg2
,_arg3
);
2921 wxPyEndAllowThreads(__tstate
);
2922 if (PyErr_Occurred()) return NULL
;
2923 } Py_INCREF(Py_None
);
2924 _resultobj
= Py_None
;
2928 static PyObject
* wxColour_Get(wxColour
*self
) {
2929 PyObject
* rv
= PyTuple_New(3);
2930 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
2931 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
2932 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
2935 static PyObject
*_wrap_wxColour_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2936 PyObject
* _resultobj
;
2940 PyObject
* _obj0
= 0;
2941 char *_kwnames
[] = { "self", NULL
};
2944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Get",_kwnames
,&_obj0
))
2948 if (! wxColour_helper(_obj0
, &_arg0
))
2952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2953 _result
= (PyObject
*)wxColour_Get(_arg0
);
2955 wxPyEndAllowThreads(__tstate
);
2956 if (PyErr_Occurred()) return NULL
;
2958 _resultobj
= _result
;
2963 static void *SwigwxColourDatabaseTowxObject(void *ptr
) {
2964 wxColourDatabase
*src
;
2966 src
= (wxColourDatabase
*) ptr
;
2967 dest
= (wxObject
*) src
;
2968 return (void *) dest
;
2971 #define wxColourDatabase_FindColour(_swigobj,_swigarg0) (_swigobj->FindColour(_swigarg0))
2972 static PyObject
*_wrap_wxColourDatabase_FindColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2973 PyObject
* _resultobj
;
2975 wxColourDatabase
* _arg0
;
2977 PyObject
* _argo0
= 0;
2978 PyObject
* _obj1
= 0;
2979 char *_kwnames
[] = { "self","colour", NULL
};
2983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxColourDatabase_FindColour",_kwnames
,&_argo0
,&_obj1
))
2986 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2987 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
2988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_FindColour. Expected _wxColourDatabase_p.");
2993 _arg1
= wxString_in_helper(_obj1
);
2998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2999 _result
= (wxColour
*)wxColourDatabase_FindColour(_arg0
,*_arg1
);
3001 wxPyEndAllowThreads(__tstate
);
3002 if (PyErr_Occurred()) return NULL
;
3004 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3005 _resultobj
= Py_BuildValue("s",_ptemp
);
3008 _resultobj
= Py_None
;
3017 #define wxColourDatabase_FindName(_swigobj,_swigarg0) (_swigobj->FindName(_swigarg0))
3018 static PyObject
*_wrap_wxColourDatabase_FindName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3019 PyObject
* _resultobj
;
3021 wxColourDatabase
* _arg0
;
3023 PyObject
* _argo0
= 0;
3025 PyObject
* _obj1
= 0;
3026 char *_kwnames
[] = { "self","colour", NULL
};
3029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxColourDatabase_FindName",_kwnames
,&_argo0
,&_obj1
))
3032 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3033 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
3034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_FindName. Expected _wxColourDatabase_p.");
3040 if (! wxColour_helper(_obj1
, &_arg1
))
3044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3045 _result
= new wxString (wxColourDatabase_FindName(_arg0
,*_arg1
));
3047 wxPyEndAllowThreads(__tstate
);
3048 if (PyErr_Occurred()) return NULL
;
3051 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3053 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3062 static void wxColourDatabase_Append(wxColourDatabase
*self
,const wxString
& name
,int red
,int green
,int blue
) {
3063 // first see if the name is already there
3064 wxString cName
= name
;
3066 wxString cName2
= cName
;
3067 if ( !cName2
.Replace(wxT("GRAY"), wxT("GREY")) )
3070 wxNode
*node
= self
->First();
3072 const wxChar
*key
= node
->GetKeyString();
3073 if ( cName
== key
|| cName2
== key
) {
3074 wxColour
* c
= (wxColour
*)node
->Data();
3075 c
->Set(red
, green
, blue
);
3078 node
= node
->Next();
3081 // otherwise append the new colour
3082 self
->Append(name
.c_str(), new wxColour(red
, green
, blue
));
3084 static PyObject
*_wrap_wxColourDatabase_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3085 PyObject
* _resultobj
;
3086 wxColourDatabase
* _arg0
;
3091 PyObject
* _argo0
= 0;
3092 PyObject
* _obj1
= 0;
3093 char *_kwnames
[] = { "self","name","red","green","blue", NULL
};
3096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiii:wxColourDatabase_Append",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_arg4
))
3099 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3100 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
3101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_Append. Expected _wxColourDatabase_p.");
3106 _arg1
= wxString_in_helper(_obj1
);
3111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3112 wxColourDatabase_Append(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3114 wxPyEndAllowThreads(__tstate
);
3115 if (PyErr_Occurred()) return NULL
;
3116 } Py_INCREF(Py_None
);
3117 _resultobj
= Py_None
;
3125 static void *SwigwxPenTowxGDIObject(void *ptr
) {
3128 src
= (wxPen
*) ptr
;
3129 dest
= (wxGDIObject
*) src
;
3130 return (void *) dest
;
3133 static void *SwigwxPenTowxObject(void *ptr
) {
3136 src
= (wxPen
*) ptr
;
3137 dest
= (wxObject
*) src
;
3138 return (void *) dest
;
3141 #define new_wxPen(_swigarg0,_swigarg1,_swigarg2) (new wxPen(_swigarg0,_swigarg1,_swigarg2))
3142 static PyObject
*_wrap_new_wxPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3143 PyObject
* _resultobj
;
3146 int _arg1
= (int ) 1;
3147 int _arg2
= (int ) wxSOLID
;
3149 PyObject
* _obj0
= 0;
3150 char *_kwnames
[] = { "colour","width","style", NULL
};
3154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:new_wxPen",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
3158 if (! wxColour_helper(_obj0
, &_arg0
))
3162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3163 _result
= (wxPen
*)new_wxPen(*_arg0
,_arg1
,_arg2
);
3165 wxPyEndAllowThreads(__tstate
);
3166 if (PyErr_Occurred()) return NULL
;
3168 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
3169 _resultobj
= Py_BuildValue("s",_ptemp
);
3172 _resultobj
= Py_None
;
3177 #define delete_wxPen(_swigobj) (delete _swigobj)
3178 static PyObject
*_wrap_delete_wxPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3179 PyObject
* _resultobj
;
3181 PyObject
* _argo0
= 0;
3182 char *_kwnames
[] = { "self", NULL
};
3185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPen",_kwnames
,&_argo0
))
3188 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3189 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPen. Expected _wxPen_p.");
3195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3196 delete_wxPen(_arg0
);
3198 wxPyEndAllowThreads(__tstate
);
3199 if (PyErr_Occurred()) return NULL
;
3200 } Py_INCREF(Py_None
);
3201 _resultobj
= Py_None
;
3205 #define wxPen_GetCap(_swigobj) (_swigobj->GetCap())
3206 static PyObject
*_wrap_wxPen_GetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3207 PyObject
* _resultobj
;
3210 PyObject
* _argo0
= 0;
3211 char *_kwnames
[] = { "self", NULL
};
3214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetCap",_kwnames
,&_argo0
))
3217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetCap. Expected _wxPen_p.");
3224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3225 _result
= (int )wxPen_GetCap(_arg0
);
3227 wxPyEndAllowThreads(__tstate
);
3228 if (PyErr_Occurred()) return NULL
;
3229 } _resultobj
= Py_BuildValue("i",_result
);
3233 #define wxPen_GetColour(_swigobj) (_swigobj->GetColour())
3234 static PyObject
*_wrap_wxPen_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3235 PyObject
* _resultobj
;
3238 PyObject
* _argo0
= 0;
3239 char *_kwnames
[] = { "self", NULL
};
3243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetColour",_kwnames
,&_argo0
))
3246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetColour. Expected _wxPen_p.");
3253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3254 _result
= new wxColour (wxPen_GetColour(_arg0
));
3256 wxPyEndAllowThreads(__tstate
);
3257 if (PyErr_Occurred()) return NULL
;
3258 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
3259 _resultobj
= Py_BuildValue("s",_ptemp
);
3263 #define wxPen_GetJoin(_swigobj) (_swigobj->GetJoin())
3264 static PyObject
*_wrap_wxPen_GetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3265 PyObject
* _resultobj
;
3268 PyObject
* _argo0
= 0;
3269 char *_kwnames
[] = { "self", NULL
};
3272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetJoin",_kwnames
,&_argo0
))
3275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetJoin. Expected _wxPen_p.");
3282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3283 _result
= (int )wxPen_GetJoin(_arg0
);
3285 wxPyEndAllowThreads(__tstate
);
3286 if (PyErr_Occurred()) return NULL
;
3287 } _resultobj
= Py_BuildValue("i",_result
);
3291 #define wxPen_GetStyle(_swigobj) (_swigobj->GetStyle())
3292 static PyObject
*_wrap_wxPen_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3293 PyObject
* _resultobj
;
3296 PyObject
* _argo0
= 0;
3297 char *_kwnames
[] = { "self", NULL
};
3300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetStyle",_kwnames
,&_argo0
))
3303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetStyle. Expected _wxPen_p.");
3310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3311 _result
= (int )wxPen_GetStyle(_arg0
);
3313 wxPyEndAllowThreads(__tstate
);
3314 if (PyErr_Occurred()) return NULL
;
3315 } _resultobj
= Py_BuildValue("i",_result
);
3319 #define wxPen_GetWidth(_swigobj) (_swigobj->GetWidth())
3320 static PyObject
*_wrap_wxPen_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3321 PyObject
* _resultobj
;
3324 PyObject
* _argo0
= 0;
3325 char *_kwnames
[] = { "self", NULL
};
3328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetWidth",_kwnames
,&_argo0
))
3331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetWidth. Expected _wxPen_p.");
3338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3339 _result
= (int )wxPen_GetWidth(_arg0
);
3341 wxPyEndAllowThreads(__tstate
);
3342 if (PyErr_Occurred()) return NULL
;
3343 } _resultobj
= Py_BuildValue("i",_result
);
3347 #define wxPen_Ok(_swigobj) (_swigobj->Ok())
3348 static PyObject
*_wrap_wxPen_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3349 PyObject
* _resultobj
;
3352 PyObject
* _argo0
= 0;
3353 char *_kwnames
[] = { "self", NULL
};
3356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_Ok",_kwnames
,&_argo0
))
3359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_Ok. Expected _wxPen_p.");
3366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3367 _result
= (bool )wxPen_Ok(_arg0
);
3369 wxPyEndAllowThreads(__tstate
);
3370 if (PyErr_Occurred()) return NULL
;
3371 } _resultobj
= Py_BuildValue("i",_result
);
3375 #define wxPen_SetCap(_swigobj,_swigarg0) (_swigobj->SetCap(_swigarg0))
3376 static PyObject
*_wrap_wxPen_SetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3377 PyObject
* _resultobj
;
3380 PyObject
* _argo0
= 0;
3381 char *_kwnames
[] = { "self","cap_style", NULL
};
3384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetCap",_kwnames
,&_argo0
,&_arg1
))
3387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetCap. Expected _wxPen_p.");
3394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3395 wxPen_SetCap(_arg0
,_arg1
);
3397 wxPyEndAllowThreads(__tstate
);
3398 if (PyErr_Occurred()) return NULL
;
3399 } Py_INCREF(Py_None
);
3400 _resultobj
= Py_None
;
3404 #define wxPen_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
3405 static PyObject
*_wrap_wxPen_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3406 PyObject
* _resultobj
;
3409 PyObject
* _argo0
= 0;
3411 PyObject
* _obj1
= 0;
3412 char *_kwnames
[] = { "self","colour", NULL
};
3415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetColour",_kwnames
,&_argo0
,&_obj1
))
3418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetColour. Expected _wxPen_p.");
3426 if (! wxColour_helper(_obj1
, &_arg1
))
3430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3431 wxPen_SetColour(_arg0
,*_arg1
);
3433 wxPyEndAllowThreads(__tstate
);
3434 if (PyErr_Occurred()) return NULL
;
3435 } Py_INCREF(Py_None
);
3436 _resultobj
= Py_None
;
3440 #define wxPen_SetJoin(_swigobj,_swigarg0) (_swigobj->SetJoin(_swigarg0))
3441 static PyObject
*_wrap_wxPen_SetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3442 PyObject
* _resultobj
;
3445 PyObject
* _argo0
= 0;
3446 char *_kwnames
[] = { "self","join_style", NULL
};
3449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetJoin",_kwnames
,&_argo0
,&_arg1
))
3452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetJoin. Expected _wxPen_p.");
3459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3460 wxPen_SetJoin(_arg0
,_arg1
);
3462 wxPyEndAllowThreads(__tstate
);
3463 if (PyErr_Occurred()) return NULL
;
3464 } Py_INCREF(Py_None
);
3465 _resultobj
= Py_None
;
3469 #define wxPen_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
3470 static PyObject
*_wrap_wxPen_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3471 PyObject
* _resultobj
;
3474 PyObject
* _argo0
= 0;
3475 char *_kwnames
[] = { "self","style", NULL
};
3478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetStyle",_kwnames
,&_argo0
,&_arg1
))
3481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetStyle. Expected _wxPen_p.");
3488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3489 wxPen_SetStyle(_arg0
,_arg1
);
3491 wxPyEndAllowThreads(__tstate
);
3492 if (PyErr_Occurred()) return NULL
;
3493 } Py_INCREF(Py_None
);
3494 _resultobj
= Py_None
;
3498 #define wxPen_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
3499 static PyObject
*_wrap_wxPen_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3500 PyObject
* _resultobj
;
3503 PyObject
* _argo0
= 0;
3504 char *_kwnames
[] = { "self","width", NULL
};
3507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetWidth",_kwnames
,&_argo0
,&_arg1
))
3510 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3511 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetWidth. Expected _wxPen_p.");
3517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3518 wxPen_SetWidth(_arg0
,_arg1
);
3520 wxPyEndAllowThreads(__tstate
);
3521 if (PyErr_Occurred()) return NULL
;
3522 } Py_INCREF(Py_None
);
3523 _resultobj
= Py_None
;
3527 #define wxPen_SetDashes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDashes(_swigarg0,_swigarg1))
3528 static PyObject
*_wrap_wxPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3529 PyObject
* _resultobj
;
3533 PyObject
* _argo0
= 0;
3534 PyObject
* _obj2
= 0;
3535 char *_kwnames
[] = { "self","choices", NULL
};
3538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetDashes",_kwnames
,&_argo0
,&_obj2
))
3541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetDashes. Expected _wxPen_p.");
3549 _arg2
= (wxDash
*)byte_LIST_helper(_obj2
);
3550 if (_arg2
== NULL
) {
3556 _arg1
= PyList_Size(_obj2
);
3563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3564 wxPen_SetDashes(_arg0
,_arg1
,_arg2
);
3566 wxPyEndAllowThreads(__tstate
);
3567 if (PyErr_Occurred()) return NULL
;
3568 } Py_INCREF(Py_None
);
3569 _resultobj
= Py_None
;
3576 static PyObject
* wxPen_GetDashes(wxPen
*self
) {
3578 int count
= self
->GetDashes(&dashes
);
3579 wxPyBeginBlockThreads();
3580 PyObject
* retval
= PyList_New(0);
3581 for (int x
=0; x
<count
; x
++)
3582 PyList_Append(retval
, PyInt_FromLong(dashes
[x
]));
3583 wxPyEndBlockThreads();
3586 static PyObject
*_wrap_wxPen_GetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3587 PyObject
* _resultobj
;
3590 PyObject
* _argo0
= 0;
3591 char *_kwnames
[] = { "self", NULL
};
3594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetDashes",_kwnames
,&_argo0
))
3597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetDashes. Expected _wxPen_p.");
3604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3605 _result
= (PyObject
*)wxPen_GetDashes(_arg0
);
3607 wxPyEndAllowThreads(__tstate
);
3608 if (PyErr_Occurred()) return NULL
;
3610 _resultobj
= _result
;
3615 static void *SwigwxPyPenTowxPen(void *ptr
) {
3618 src
= (wxPyPen
*) ptr
;
3619 dest
= (wxPen
*) src
;
3620 return (void *) dest
;
3623 static void *SwigwxPyPenTowxGDIObject(void *ptr
) {
3626 src
= (wxPyPen
*) ptr
;
3627 dest
= (wxGDIObject
*) src
;
3628 return (void *) dest
;
3631 static void *SwigwxPyPenTowxObject(void *ptr
) {
3634 src
= (wxPyPen
*) ptr
;
3635 dest
= (wxObject
*) src
;
3636 return (void *) dest
;
3639 #define new_wxPyPen(_swigarg0,_swigarg1,_swigarg2) (new wxPyPen(_swigarg0,_swigarg1,_swigarg2))
3640 static PyObject
*_wrap_new_wxPyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3641 PyObject
* _resultobj
;
3644 int _arg1
= (int ) 1;
3645 int _arg2
= (int ) wxSOLID
;
3647 PyObject
* _obj0
= 0;
3648 char *_kwnames
[] = { "colour","width","style", NULL
};
3652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:new_wxPyPen",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
3656 if (! wxColour_helper(_obj0
, &_arg0
))
3660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3661 _result
= (wxPyPen
*)new_wxPyPen(*_arg0
,_arg1
,_arg2
);
3663 wxPyEndAllowThreads(__tstate
);
3664 if (PyErr_Occurred()) return NULL
;
3666 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPen_p");
3667 _resultobj
= Py_BuildValue("s",_ptemp
);
3670 _resultobj
= Py_None
;
3675 #define delete_wxPyPen(_swigobj) (delete _swigobj)
3676 static PyObject
*_wrap_delete_wxPyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3677 PyObject
* _resultobj
;
3679 PyObject
* _argo0
= 0;
3680 char *_kwnames
[] = { "self", NULL
};
3683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyPen",_kwnames
,&_argo0
))
3686 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3687 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPen_p")) {
3688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyPen. Expected _wxPyPen_p.");
3693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3694 delete_wxPyPen(_arg0
);
3696 wxPyEndAllowThreads(__tstate
);
3697 if (PyErr_Occurred()) return NULL
;
3698 } Py_INCREF(Py_None
);
3699 _resultobj
= Py_None
;
3703 #define wxPyPen_SetDashes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDashes(_swigarg0,_swigarg1))
3704 static PyObject
*_wrap_wxPyPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3705 PyObject
* _resultobj
;
3709 PyObject
* _argo0
= 0;
3710 PyObject
* _obj2
= 0;
3711 char *_kwnames
[] = { "self","choices", NULL
};
3714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPen_SetDashes",_kwnames
,&_argo0
,&_obj2
))
3717 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3718 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPen_p")) {
3719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPen_SetDashes. Expected _wxPyPen_p.");
3725 _arg2
= (wxDash
*)byte_LIST_helper(_obj2
);
3726 if (_arg2
== NULL
) {
3732 _arg1
= PyList_Size(_obj2
);
3739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3740 wxPyPen_SetDashes(_arg0
,_arg1
,_arg2
);
3742 wxPyEndAllowThreads(__tstate
);
3743 if (PyErr_Occurred()) return NULL
;
3744 } Py_INCREF(Py_None
);
3745 _resultobj
= Py_None
;
3752 static void *SwigwxPenListTowxObject(void *ptr
) {
3755 src
= (wxPenList
*) ptr
;
3756 dest
= (wxObject
*) src
;
3757 return (void *) dest
;
3760 #define wxPenList_AddPen(_swigobj,_swigarg0) (_swigobj->AddPen(_swigarg0))
3761 static PyObject
*_wrap_wxPenList_AddPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3762 PyObject
* _resultobj
;
3765 PyObject
* _argo0
= 0;
3766 PyObject
* _argo1
= 0;
3767 char *_kwnames
[] = { "self","pen", NULL
};
3770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPenList_AddPen",_kwnames
,&_argo0
,&_argo1
))
3773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
3775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_AddPen. Expected _wxPenList_p.");
3780 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3781 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
3782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPenList_AddPen. Expected _wxPen_p.");
3787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3788 wxPenList_AddPen(_arg0
,_arg1
);
3790 wxPyEndAllowThreads(__tstate
);
3791 if (PyErr_Occurred()) return NULL
;
3792 } Py_INCREF(Py_None
);
3793 _resultobj
= Py_None
;
3797 #define wxPenList_FindOrCreatePen(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindOrCreatePen(_swigarg0,_swigarg1,_swigarg2))
3798 static PyObject
*_wrap_wxPenList_FindOrCreatePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3799 PyObject
* _resultobj
;
3805 PyObject
* _argo0
= 0;
3807 PyObject
* _obj1
= 0;
3808 char *_kwnames
[] = { "self","colour","width","style", NULL
};
3812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxPenList_FindOrCreatePen",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
))
3815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
3817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_FindOrCreatePen. Expected _wxPenList_p.");
3823 if (! wxColour_helper(_obj1
, &_arg1
))
3827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3828 _result
= (wxPen
*)wxPenList_FindOrCreatePen(_arg0
,*_arg1
,_arg2
,_arg3
);
3830 wxPyEndAllowThreads(__tstate
);
3831 if (PyErr_Occurred()) return NULL
;
3833 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
3834 _resultobj
= Py_BuildValue("s",_ptemp
);
3837 _resultobj
= Py_None
;
3842 #define wxPenList_RemovePen(_swigobj,_swigarg0) (_swigobj->RemovePen(_swigarg0))
3843 static PyObject
*_wrap_wxPenList_RemovePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3844 PyObject
* _resultobj
;
3847 PyObject
* _argo0
= 0;
3848 PyObject
* _argo1
= 0;
3849 char *_kwnames
[] = { "self","pen", NULL
};
3852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPenList_RemovePen",_kwnames
,&_argo0
,&_argo1
))
3855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
3857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_RemovePen. Expected _wxPenList_p.");
3862 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3863 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
3864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPenList_RemovePen. Expected _wxPen_p.");
3869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3870 wxPenList_RemovePen(_arg0
,_arg1
);
3872 wxPyEndAllowThreads(__tstate
);
3873 if (PyErr_Occurred()) return NULL
;
3874 } Py_INCREF(Py_None
);
3875 _resultobj
= Py_None
;
3879 #define wxPenList_GetCount(_swigobj) (_swigobj->GetCount())
3880 static PyObject
*_wrap_wxPenList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3881 PyObject
* _resultobj
;
3884 PyObject
* _argo0
= 0;
3885 char *_kwnames
[] = { "self", NULL
};
3888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPenList_GetCount",_kwnames
,&_argo0
))
3891 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3892 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
3893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_GetCount. Expected _wxPenList_p.");
3898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3899 _result
= (int )wxPenList_GetCount(_arg0
);
3901 wxPyEndAllowThreads(__tstate
);
3902 if (PyErr_Occurred()) return NULL
;
3903 } _resultobj
= Py_BuildValue("i",_result
);
3907 static void *SwigwxBrushTowxGDIObject(void *ptr
) {
3910 src
= (wxBrush
*) ptr
;
3911 dest
= (wxGDIObject
*) src
;
3912 return (void *) dest
;
3915 static void *SwigwxBrushTowxObject(void *ptr
) {
3918 src
= (wxBrush
*) ptr
;
3919 dest
= (wxObject
*) src
;
3920 return (void *) dest
;
3923 #define new_wxBrush(_swigarg0,_swigarg1) (new wxBrush(_swigarg0,_swigarg1))
3924 static PyObject
*_wrap_new_wxBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3925 PyObject
* _resultobj
;
3928 int _arg1
= (int ) wxSOLID
;
3930 PyObject
* _obj0
= 0;
3931 char *_kwnames
[] = { "colour","style", NULL
};
3935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxBrush",_kwnames
,&_obj0
,&_arg1
))
3939 if (! wxColour_helper(_obj0
, &_arg0
))
3943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3944 _result
= (wxBrush
*)new_wxBrush(*_arg0
,_arg1
);
3946 wxPyEndAllowThreads(__tstate
);
3947 if (PyErr_Occurred()) return NULL
;
3949 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
3950 _resultobj
= Py_BuildValue("s",_ptemp
);
3953 _resultobj
= Py_None
;
3958 #define delete_wxBrush(_swigobj) (delete _swigobj)
3959 static PyObject
*_wrap_delete_wxBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3960 PyObject
* _resultobj
;
3962 PyObject
* _argo0
= 0;
3963 char *_kwnames
[] = { "self", NULL
};
3966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBrush",_kwnames
,&_argo0
))
3969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBrush. Expected _wxBrush_p.");
3976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3977 delete_wxBrush(_arg0
);
3979 wxPyEndAllowThreads(__tstate
);
3980 if (PyErr_Occurred()) return NULL
;
3981 } Py_INCREF(Py_None
);
3982 _resultobj
= Py_None
;
3986 #define wxBrush_GetColour(_swigobj) (_swigobj->GetColour())
3987 static PyObject
*_wrap_wxBrush_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3988 PyObject
* _resultobj
;
3991 PyObject
* _argo0
= 0;
3992 char *_kwnames
[] = { "self", NULL
};
3996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetColour",_kwnames
,&_argo0
))
3999 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4000 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetColour. Expected _wxBrush_p.");
4006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4007 _result
= new wxColour (wxBrush_GetColour(_arg0
));
4009 wxPyEndAllowThreads(__tstate
);
4010 if (PyErr_Occurred()) return NULL
;
4011 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
4012 _resultobj
= Py_BuildValue("s",_ptemp
);
4016 #define wxBrush_GetStipple(_swigobj) (_swigobj->GetStipple())
4017 static PyObject
*_wrap_wxBrush_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4018 PyObject
* _resultobj
;
4021 PyObject
* _argo0
= 0;
4022 char *_kwnames
[] = { "self", NULL
};
4026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetStipple",_kwnames
,&_argo0
))
4029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStipple. Expected _wxBrush_p.");
4036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4037 _result
= (wxBitmap
*)wxBrush_GetStipple(_arg0
);
4039 wxPyEndAllowThreads(__tstate
);
4040 if (PyErr_Occurred()) return NULL
;
4042 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
4043 _resultobj
= Py_BuildValue("s",_ptemp
);
4046 _resultobj
= Py_None
;
4051 #define wxBrush_GetStyle(_swigobj) (_swigobj->GetStyle())
4052 static PyObject
*_wrap_wxBrush_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4053 PyObject
* _resultobj
;
4056 PyObject
* _argo0
= 0;
4057 char *_kwnames
[] = { "self", NULL
};
4060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetStyle",_kwnames
,&_argo0
))
4063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStyle. Expected _wxBrush_p.");
4070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4071 _result
= (int )wxBrush_GetStyle(_arg0
);
4073 wxPyEndAllowThreads(__tstate
);
4074 if (PyErr_Occurred()) return NULL
;
4075 } _resultobj
= Py_BuildValue("i",_result
);
4079 #define wxBrush_Ok(_swigobj) (_swigobj->Ok())
4080 static PyObject
*_wrap_wxBrush_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4081 PyObject
* _resultobj
;
4084 PyObject
* _argo0
= 0;
4085 char *_kwnames
[] = { "self", NULL
};
4088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_Ok",_kwnames
,&_argo0
))
4091 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4092 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_Ok. Expected _wxBrush_p.");
4098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4099 _result
= (bool )wxBrush_Ok(_arg0
);
4101 wxPyEndAllowThreads(__tstate
);
4102 if (PyErr_Occurred()) return NULL
;
4103 } _resultobj
= Py_BuildValue("i",_result
);
4107 #define wxBrush_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
4108 static PyObject
*_wrap_wxBrush_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4109 PyObject
* _resultobj
;
4112 PyObject
* _argo0
= 0;
4114 PyObject
* _obj1
= 0;
4115 char *_kwnames
[] = { "self","colour", NULL
};
4118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrush_SetColour",_kwnames
,&_argo0
,&_obj1
))
4121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetColour. Expected _wxBrush_p.");
4129 if (! wxColour_helper(_obj1
, &_arg1
))
4133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4134 wxBrush_SetColour(_arg0
,*_arg1
);
4136 wxPyEndAllowThreads(__tstate
);
4137 if (PyErr_Occurred()) return NULL
;
4138 } Py_INCREF(Py_None
);
4139 _resultobj
= Py_None
;
4143 #define wxBrush_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
4144 static PyObject
*_wrap_wxBrush_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4145 PyObject
* _resultobj
;
4148 PyObject
* _argo0
= 0;
4149 PyObject
* _argo1
= 0;
4150 char *_kwnames
[] = { "self","bitmap", NULL
};
4153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrush_SetStipple",_kwnames
,&_argo0
,&_argo1
))
4156 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4157 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStipple. Expected _wxBrush_p.");
4163 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4164 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
4165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrush_SetStipple. Expected _wxBitmap_p.");
4170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4171 wxBrush_SetStipple(_arg0
,*_arg1
);
4173 wxPyEndAllowThreads(__tstate
);
4174 if (PyErr_Occurred()) return NULL
;
4175 } Py_INCREF(Py_None
);
4176 _resultobj
= Py_None
;
4180 #define wxBrush_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
4181 static PyObject
*_wrap_wxBrush_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4182 PyObject
* _resultobj
;
4185 PyObject
* _argo0
= 0;
4186 char *_kwnames
[] = { "self","style", NULL
};
4189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBrush_SetStyle",_kwnames
,&_argo0
,&_arg1
))
4192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStyle. Expected _wxBrush_p.");
4199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4200 wxBrush_SetStyle(_arg0
,_arg1
);
4202 wxPyEndAllowThreads(__tstate
);
4203 if (PyErr_Occurred()) return NULL
;
4204 } Py_INCREF(Py_None
);
4205 _resultobj
= Py_None
;
4209 static void *SwigwxBrushListTowxObject(void *ptr
) {
4212 src
= (wxBrushList
*) ptr
;
4213 dest
= (wxObject
*) src
;
4214 return (void *) dest
;
4217 #define wxBrushList_AddBrush(_swigobj,_swigarg0) (_swigobj->AddBrush(_swigarg0))
4218 static PyObject
*_wrap_wxBrushList_AddBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4219 PyObject
* _resultobj
;
4220 wxBrushList
* _arg0
;
4222 PyObject
* _argo0
= 0;
4223 PyObject
* _argo1
= 0;
4224 char *_kwnames
[] = { "self","brush", NULL
};
4227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrushList_AddBrush",_kwnames
,&_argo0
,&_argo1
))
4230 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4231 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
4232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_AddBrush. Expected _wxBrushList_p.");
4237 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4238 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
4239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrushList_AddBrush. Expected _wxBrush_p.");
4244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4245 wxBrushList_AddBrush(_arg0
,_arg1
);
4247 wxPyEndAllowThreads(__tstate
);
4248 if (PyErr_Occurred()) return NULL
;
4249 } Py_INCREF(Py_None
);
4250 _resultobj
= Py_None
;
4254 #define wxBrushList_FindOrCreateBrush(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindOrCreateBrush(_swigarg0,_swigarg1))
4255 static PyObject
*_wrap_wxBrushList_FindOrCreateBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4256 PyObject
* _resultobj
;
4258 wxBrushList
* _arg0
;
4261 PyObject
* _argo0
= 0;
4263 PyObject
* _obj1
= 0;
4264 char *_kwnames
[] = { "self","colour","style", NULL
};
4268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxBrushList_FindOrCreateBrush",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
4271 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4272 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
4273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_FindOrCreateBrush. Expected _wxBrushList_p.");
4279 if (! wxColour_helper(_obj1
, &_arg1
))
4283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4284 _result
= (wxBrush
*)wxBrushList_FindOrCreateBrush(_arg0
,*_arg1
,_arg2
);
4286 wxPyEndAllowThreads(__tstate
);
4287 if (PyErr_Occurred()) return NULL
;
4289 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
4290 _resultobj
= Py_BuildValue("s",_ptemp
);
4293 _resultobj
= Py_None
;
4298 #define wxBrushList_RemoveBrush(_swigobj,_swigarg0) (_swigobj->RemoveBrush(_swigarg0))
4299 static PyObject
*_wrap_wxBrushList_RemoveBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4300 PyObject
* _resultobj
;
4301 wxBrushList
* _arg0
;
4303 PyObject
* _argo0
= 0;
4304 PyObject
* _argo1
= 0;
4305 char *_kwnames
[] = { "self","brush", NULL
};
4308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrushList_RemoveBrush",_kwnames
,&_argo0
,&_argo1
))
4311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
4313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_RemoveBrush. Expected _wxBrushList_p.");
4318 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4319 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
4320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrushList_RemoveBrush. Expected _wxBrush_p.");
4325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4326 wxBrushList_RemoveBrush(_arg0
,_arg1
);
4328 wxPyEndAllowThreads(__tstate
);
4329 if (PyErr_Occurred()) return NULL
;
4330 } Py_INCREF(Py_None
);
4331 _resultobj
= Py_None
;
4335 #define wxBrushList_GetCount(_swigobj) (_swigobj->GetCount())
4336 static PyObject
*_wrap_wxBrushList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4337 PyObject
* _resultobj
;
4339 wxBrushList
* _arg0
;
4340 PyObject
* _argo0
= 0;
4341 char *_kwnames
[] = { "self", NULL
};
4344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrushList_GetCount",_kwnames
,&_argo0
))
4347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
4349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_GetCount. Expected _wxBrushList_p.");
4354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4355 _result
= (int )wxBrushList_GetCount(_arg0
);
4357 wxPyEndAllowThreads(__tstate
);
4358 if (PyErr_Occurred()) return NULL
;
4359 } _resultobj
= Py_BuildValue("i",_result
);
4363 static void *SwigwxDCTowxObject(void *ptr
) {
4367 dest
= (wxObject
*) src
;
4368 return (void *) dest
;
4371 #define delete_wxDC(_swigobj) (delete _swigobj)
4372 static PyObject
*_wrap_delete_wxDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4373 PyObject
* _resultobj
;
4375 PyObject
* _argo0
= 0;
4376 char *_kwnames
[] = { "self", NULL
};
4379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDC",_kwnames
,&_argo0
))
4382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDC. Expected _wxDC_p.");
4389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4392 wxPyEndAllowThreads(__tstate
);
4393 if (PyErr_Occurred()) return NULL
;
4394 } Py_INCREF(Py_None
);
4395 _resultobj
= Py_None
;
4399 #define wxDC_BeginDrawing(_swigobj) (_swigobj->BeginDrawing())
4400 static PyObject
*_wrap_wxDC_BeginDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4401 PyObject
* _resultobj
;
4403 PyObject
* _argo0
= 0;
4404 char *_kwnames
[] = { "self", NULL
};
4407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_BeginDrawing",_kwnames
,&_argo0
))
4410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_BeginDrawing. Expected _wxDC_p.");
4417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4418 wxDC_BeginDrawing(_arg0
);
4420 wxPyEndAllowThreads(__tstate
);
4421 if (PyErr_Occurred()) return NULL
;
4422 } Py_INCREF(Py_None
);
4423 _resultobj
= Py_None
;
4427 #define wxDC_Blit(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Blit(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4428 static PyObject
*_wrap_wxDC_Blit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4429 PyObject
* _resultobj
;
4439 int _arg8
= (int ) wxCOPY
;
4440 int _arg9
= (int ) FALSE
;
4441 PyObject
* _argo0
= 0;
4442 PyObject
* _argo5
= 0;
4443 char *_kwnames
[] = { "self","xdest","ydest","width","height","source","xsrc","ysrc","logicalFunc","useMask", NULL
};
4446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllllOll|ii:wxDC_Blit",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_argo5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
))
4449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Blit. Expected _wxDC_p.");
4456 if (_argo5
== Py_None
) { _arg5
= NULL
; }
4457 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxDC_p")) {
4458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxDC_Blit. Expected _wxDC_p.");
4463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4464 _result
= (bool )wxDC_Blit(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
4466 wxPyEndAllowThreads(__tstate
);
4467 if (PyErr_Occurred()) return NULL
;
4468 } _resultobj
= Py_BuildValue("i",_result
);
4472 #define wxDC_Clear(_swigobj) (_swigobj->Clear())
4473 static PyObject
*_wrap_wxDC_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4474 PyObject
* _resultobj
;
4476 PyObject
* _argo0
= 0;
4477 char *_kwnames
[] = { "self", NULL
};
4480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_Clear",_kwnames
,&_argo0
))
4483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Clear. Expected _wxDC_p.");
4490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4493 wxPyEndAllowThreads(__tstate
);
4494 if (PyErr_Occurred()) return NULL
;
4495 } Py_INCREF(Py_None
);
4496 _resultobj
= Py_None
;
4500 #define wxDC_CrossHair(_swigobj,_swigarg0,_swigarg1) (_swigobj->CrossHair(_swigarg0,_swigarg1))
4501 static PyObject
*_wrap_wxDC_CrossHair(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4502 PyObject
* _resultobj
;
4506 PyObject
* _argo0
= 0;
4507 char *_kwnames
[] = { "self","x","y", NULL
};
4510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_CrossHair",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CrossHair. Expected _wxDC_p.");
4520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4521 wxDC_CrossHair(_arg0
,_arg1
,_arg2
);
4523 wxPyEndAllowThreads(__tstate
);
4524 if (PyErr_Occurred()) return NULL
;
4525 } Py_INCREF(Py_None
);
4526 _resultobj
= Py_None
;
4530 #define wxDC_DestroyClippingRegion(_swigobj) (_swigobj->DestroyClippingRegion())
4531 static PyObject
*_wrap_wxDC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4532 PyObject
* _resultobj
;
4534 PyObject
* _argo0
= 0;
4535 char *_kwnames
[] = { "self", NULL
};
4538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_DestroyClippingRegion",_kwnames
,&_argo0
))
4541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DestroyClippingRegion. Expected _wxDC_p.");
4548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4549 wxDC_DestroyClippingRegion(_arg0
);
4551 wxPyEndAllowThreads(__tstate
);
4552 if (PyErr_Occurred()) return NULL
;
4553 } Py_INCREF(Py_None
);
4554 _resultobj
= Py_None
;
4558 #define wxDC_DeviceToLogicalX(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalX(_swigarg0))
4559 static PyObject
*_wrap_wxDC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4560 PyObject
* _resultobj
;
4564 PyObject
* _argo0
= 0;
4565 char *_kwnames
[] = { "self","x", NULL
};
4568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalX",_kwnames
,&_argo0
,&_arg1
))
4571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalX. Expected _wxDC_p.");
4578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4579 _result
= (long )wxDC_DeviceToLogicalX(_arg0
,_arg1
);
4581 wxPyEndAllowThreads(__tstate
);
4582 if (PyErr_Occurred()) return NULL
;
4583 } _resultobj
= Py_BuildValue("l",_result
);
4587 #define wxDC_DeviceToLogicalXRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalXRel(_swigarg0))
4588 static PyObject
*_wrap_wxDC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4589 PyObject
* _resultobj
;
4593 PyObject
* _argo0
= 0;
4594 char *_kwnames
[] = { "self","x", NULL
};
4597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalXRel",_kwnames
,&_argo0
,&_arg1
))
4600 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4601 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalXRel. Expected _wxDC_p.");
4607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4608 _result
= (long )wxDC_DeviceToLogicalXRel(_arg0
,_arg1
);
4610 wxPyEndAllowThreads(__tstate
);
4611 if (PyErr_Occurred()) return NULL
;
4612 } _resultobj
= Py_BuildValue("l",_result
);
4616 #define wxDC_DeviceToLogicalY(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalY(_swigarg0))
4617 static PyObject
*_wrap_wxDC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4618 PyObject
* _resultobj
;
4622 PyObject
* _argo0
= 0;
4623 char *_kwnames
[] = { "self","y", NULL
};
4626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalY",_kwnames
,&_argo0
,&_arg1
))
4629 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4630 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalY. Expected _wxDC_p.");
4636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4637 _result
= (long )wxDC_DeviceToLogicalY(_arg0
,_arg1
);
4639 wxPyEndAllowThreads(__tstate
);
4640 if (PyErr_Occurred()) return NULL
;
4641 } _resultobj
= Py_BuildValue("l",_result
);
4645 #define wxDC_DeviceToLogicalYRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalYRel(_swigarg0))
4646 static PyObject
*_wrap_wxDC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4647 PyObject
* _resultobj
;
4651 PyObject
* _argo0
= 0;
4652 char *_kwnames
[] = { "self","y", NULL
};
4655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalYRel",_kwnames
,&_argo0
,&_arg1
))
4658 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4659 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalYRel. Expected _wxDC_p.");
4665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4666 _result
= (long )wxDC_DeviceToLogicalYRel(_arg0
,_arg1
);
4668 wxPyEndAllowThreads(__tstate
);
4669 if (PyErr_Occurred()) return NULL
;
4670 } _resultobj
= Py_BuildValue("l",_result
);
4674 #define wxDC_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4675 static PyObject
*_wrap_wxDC_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4676 PyObject
* _resultobj
;
4684 PyObject
* _argo0
= 0;
4685 char *_kwnames
[] = { "self","x1","y1","x2","y2","xc","yc", NULL
};
4688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollllll:wxDC_DrawArc",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
4691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawArc. Expected _wxDC_p.");
4698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4699 wxDC_DrawArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4701 wxPyEndAllowThreads(__tstate
);
4702 if (PyErr_Occurred()) return NULL
;
4703 } Py_INCREF(Py_None
);
4704 _resultobj
= Py_None
;
4708 #define wxDC_DrawCircle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawCircle(_swigarg0,_swigarg1,_swigarg2))
4709 static PyObject
*_wrap_wxDC_DrawCircle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4710 PyObject
* _resultobj
;
4715 PyObject
* _argo0
= 0;
4716 char *_kwnames
[] = { "self","x","y","radius", NULL
};
4719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olll:wxDC_DrawCircle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawCircle. Expected _wxDC_p.");
4729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4730 wxDC_DrawCircle(_arg0
,_arg1
,_arg2
,_arg3
);
4732 wxPyEndAllowThreads(__tstate
);
4733 if (PyErr_Occurred()) return NULL
;
4734 } Py_INCREF(Py_None
);
4735 _resultobj
= Py_None
;
4739 #define wxDC_DrawEllipse(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawEllipse(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4740 static PyObject
*_wrap_wxDC_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4741 PyObject
* _resultobj
;
4747 PyObject
* _argo0
= 0;
4748 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
4751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawEllipse",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipse. Expected _wxDC_p.");
4761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4762 wxDC_DrawEllipse(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4764 wxPyEndAllowThreads(__tstate
);
4765 if (PyErr_Occurred()) return NULL
;
4766 } Py_INCREF(Py_None
);
4767 _resultobj
= Py_None
;
4771 #define wxDC_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4772 static PyObject
*_wrap_wxDC_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4773 PyObject
* _resultobj
;
4781 PyObject
* _argo0
= 0;
4782 char *_kwnames
[] = { "self","x","y","width","height","start","end", NULL
};
4785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollllll:wxDC_DrawEllipticArc",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
4788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipticArc. Expected _wxDC_p.");
4795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4796 wxDC_DrawEllipticArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4798 wxPyEndAllowThreads(__tstate
);
4799 if (PyErr_Occurred()) return NULL
;
4800 } Py_INCREF(Py_None
);
4801 _resultobj
= Py_None
;
4805 #define wxDC_DrawIcon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawIcon(_swigarg0,_swigarg1,_swigarg2))
4806 static PyObject
*_wrap_wxDC_DrawIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4807 PyObject
* _resultobj
;
4812 PyObject
* _argo0
= 0;
4813 PyObject
* _argo1
= 0;
4814 char *_kwnames
[] = { "self","icon","x","y", NULL
};
4817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll:wxDC_DrawIcon",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
4820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawIcon. Expected _wxDC_p.");
4827 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4828 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
4829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawIcon. Expected _wxIcon_p.");
4834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4835 wxDC_DrawIcon(_arg0
,*_arg1
,_arg2
,_arg3
);
4837 wxPyEndAllowThreads(__tstate
);
4838 if (PyErr_Occurred()) return NULL
;
4839 } Py_INCREF(Py_None
);
4840 _resultobj
= Py_None
;
4844 #define wxDC_DrawLabel(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLabel(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4845 static PyObject
*_wrap_wxDC_DrawLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4846 PyObject
* _resultobj
;
4850 int _arg3
= (int ) wxALIGN_LEFT
|wxALIGN_TOP
;
4851 int _arg4
= (int ) -1;
4852 PyObject
* _argo0
= 0;
4853 PyObject
* _obj1
= 0;
4855 PyObject
* _obj2
= 0;
4856 char *_kwnames
[] = { "self","text","rect","alignment","indexAccel", NULL
};
4859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|ii:wxDC_DrawLabel",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
))
4862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLabel. Expected _wxDC_p.");
4869 _arg1
= wxString_in_helper(_obj1
);
4875 if (! wxRect_helper(_obj2
, &_arg2
))
4879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4880 wxDC_DrawLabel(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
4882 wxPyEndAllowThreads(__tstate
);
4883 if (PyErr_Occurred()) return NULL
;
4884 } Py_INCREF(Py_None
);
4885 _resultobj
= Py_None
;
4893 static wxRect
wxDC_DrawImageLabel(wxDC
*self
,const wxString
& text
,const wxBitmap
& image
,const wxRect
& rect
,int alignment
,int indexAccel
) {
4895 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
4898 static PyObject
*_wrap_wxDC_DrawImageLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4899 PyObject
* _resultobj
;
4905 int _arg4
= (int ) wxALIGN_LEFT
|wxALIGN_TOP
;
4906 int _arg5
= (int ) -1;
4907 PyObject
* _argo0
= 0;
4908 PyObject
* _obj1
= 0;
4909 PyObject
* _argo2
= 0;
4911 PyObject
* _obj3
= 0;
4912 char *_kwnames
[] = { "self","text","image","rect","alignment","indexAccel", NULL
};
4916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|ii:wxDC_DrawImageLabel",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_obj3
,&_arg4
,&_arg5
))
4919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawImageLabel. Expected _wxDC_p.");
4926 _arg1
= wxString_in_helper(_obj1
);
4931 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4932 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
4933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDC_DrawImageLabel. Expected _wxBitmap_p.");
4939 if (! wxRect_helper(_obj3
, &_arg3
))
4943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4944 _result
= new wxRect (wxDC_DrawImageLabel(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
));
4946 wxPyEndAllowThreads(__tstate
);
4947 if (PyErr_Occurred()) return NULL
;
4948 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
4949 _resultobj
= Py_BuildValue("s",_ptemp
);
4957 #define wxDC_DrawLine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4958 static PyObject
*_wrap_wxDC_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4959 PyObject
* _resultobj
;
4965 PyObject
* _argo0
= 0;
4966 char *_kwnames
[] = { "self","x1","y1","x2","y2", NULL
};
4969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawLine",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4972 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4973 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLine. Expected _wxDC_p.");
4979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4980 wxDC_DrawLine(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4982 wxPyEndAllowThreads(__tstate
);
4983 if (PyErr_Occurred()) return NULL
;
4984 } Py_INCREF(Py_None
);
4985 _resultobj
= Py_None
;
4989 #define wxDC_DrawLines(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLines(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4990 static PyObject
*_wrap_wxDC_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4991 PyObject
* _resultobj
;
4995 long _arg3
= (long ) 0;
4996 long _arg4
= (long ) 0;
4997 PyObject
* _argo0
= 0;
4999 PyObject
* _obj2
= 0;
5000 char *_kwnames
[] = { "self","points","xoffset","yoffset", NULL
};
5003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ll:wxDC_DrawLines",_kwnames
,&_argo0
,&_obj2
,&_arg3
,&_arg4
))
5006 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5007 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLines. Expected _wxDC_p.");
5014 _arg2
= wxPoint_LIST_helper(_obj2
, &NPOINTS
);
5015 if (_arg2
== NULL
) {
5023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5024 wxDC_DrawLines(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5026 wxPyEndAllowThreads(__tstate
);
5027 if (PyErr_Occurred()) return NULL
;
5028 } Py_INCREF(Py_None
);
5029 _resultobj
= Py_None
;
5036 #define wxDC_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5037 static PyObject
*_wrap_wxDC_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5038 PyObject
* _resultobj
;
5042 long _arg3
= (long ) 0;
5043 long _arg4
= (long ) 0;
5044 int _arg5
= (int ) wxODDEVEN_RULE
;
5045 PyObject
* _argo0
= 0;
5047 PyObject
* _obj2
= 0;
5048 char *_kwnames
[] = { "self","points","xoffset","yoffset","fill_style", NULL
};
5051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|lli:wxDC_DrawPolygon",_kwnames
,&_argo0
,&_obj2
,&_arg3
,&_arg4
,&_arg5
))
5054 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5055 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPolygon. Expected _wxDC_p.");
5062 _arg2
= wxPoint_LIST_helper(_obj2
, &NPOINTS
);
5063 if (_arg2
== NULL
) {
5071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5072 wxDC_DrawPolygon(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
5074 wxPyEndAllowThreads(__tstate
);
5075 if (PyErr_Occurred()) return NULL
;
5076 } Py_INCREF(Py_None
);
5077 _resultobj
= Py_None
;
5084 #define wxDC_DrawPoint(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawPoint(_swigarg0,_swigarg1))
5085 static PyObject
*_wrap_wxDC_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5086 PyObject
* _resultobj
;
5090 PyObject
* _argo0
= 0;
5091 char *_kwnames
[] = { "self","x","y", NULL
};
5094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_DrawPoint",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPoint. Expected _wxDC_p.");
5104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5105 wxDC_DrawPoint(_arg0
,_arg1
,_arg2
);
5107 wxPyEndAllowThreads(__tstate
);
5108 if (PyErr_Occurred()) return NULL
;
5109 } Py_INCREF(Py_None
);
5110 _resultobj
= Py_None
;
5114 #define wxDC_DrawRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5115 static PyObject
*_wrap_wxDC_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5116 PyObject
* _resultobj
;
5122 PyObject
* _argo0
= 0;
5123 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
5126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawRectangle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
5129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRectangle. Expected _wxDC_p.");
5136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5137 wxDC_DrawRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5139 wxPyEndAllowThreads(__tstate
);
5140 if (PyErr_Occurred()) return NULL
;
5141 } Py_INCREF(Py_None
);
5142 _resultobj
= Py_None
;
5146 #define wxDC_DrawRotatedText(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRotatedText(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5147 static PyObject
*_wrap_wxDC_DrawRotatedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5148 PyObject
* _resultobj
;
5154 PyObject
* _argo0
= 0;
5155 PyObject
* _obj1
= 0;
5156 char *_kwnames
[] = { "self","text","x","y","angle", NULL
};
5159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiid:wxDC_DrawRotatedText",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_arg4
))
5162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRotatedText. Expected _wxDC_p.");
5169 _arg1
= wxString_in_helper(_obj1
);
5174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5175 wxDC_DrawRotatedText(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
5177 wxPyEndAllowThreads(__tstate
);
5178 if (PyErr_Occurred()) return NULL
;
5179 } Py_INCREF(Py_None
);
5180 _resultobj
= Py_None
;
5188 #define wxDC_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5189 static PyObject
*_wrap_wxDC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5190 PyObject
* _resultobj
;
5196 long _arg5
= (long ) 20;
5197 PyObject
* _argo0
= 0;
5198 char *_kwnames
[] = { "self","x","y","width","height","radius", NULL
};
5201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll|l:wxDC_DrawRoundedRectangle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
5204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRoundedRectangle. Expected _wxDC_p.");
5211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5212 wxDC_DrawRoundedRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
5214 wxPyEndAllowThreads(__tstate
);
5215 if (PyErr_Occurred()) return NULL
;
5216 } Py_INCREF(Py_None
);
5217 _resultobj
= Py_None
;
5221 #define wxDC_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1))
5222 static PyObject
*_wrap_wxDC_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5223 PyObject
* _resultobj
;
5227 PyObject
* _argo0
= 0;
5229 PyObject
* _obj2
= 0;
5230 char *_kwnames
[] = { "self","points", NULL
};
5233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_DrawSpline",_kwnames
,&_argo0
,&_obj2
))
5236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawSpline. Expected _wxDC_p.");
5244 _arg2
= wxPoint_LIST_helper(_obj2
, &NPOINTS
);
5245 if (_arg2
== NULL
) {
5253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5254 wxDC_DrawSpline(_arg0
,_arg1
,_arg2
);
5256 wxPyEndAllowThreads(__tstate
);
5257 if (PyErr_Occurred()) return NULL
;
5258 } Py_INCREF(Py_None
);
5259 _resultobj
= Py_None
;
5266 #define wxDC_DrawText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawText(_swigarg0,_swigarg1,_swigarg2))
5267 static PyObject
*_wrap_wxDC_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5268 PyObject
* _resultobj
;
5273 PyObject
* _argo0
= 0;
5274 PyObject
* _obj1
= 0;
5275 char *_kwnames
[] = { "self","text","x","y", NULL
};
5278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll:wxDC_DrawText",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
))
5281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawText. Expected _wxDC_p.");
5288 _arg1
= wxString_in_helper(_obj1
);
5293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5294 wxDC_DrawText(_arg0
,*_arg1
,_arg2
,_arg3
);
5296 wxPyEndAllowThreads(__tstate
);
5297 if (PyErr_Occurred()) return NULL
;
5298 } Py_INCREF(Py_None
);
5299 _resultobj
= Py_None
;
5307 #define wxDC_EndDoc(_swigobj) (_swigobj->EndDoc())
5308 static PyObject
*_wrap_wxDC_EndDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5309 PyObject
* _resultobj
;
5311 PyObject
* _argo0
= 0;
5312 char *_kwnames
[] = { "self", NULL
};
5315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndDoc",_kwnames
,&_argo0
))
5318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDoc. Expected _wxDC_p.");
5325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5328 wxPyEndAllowThreads(__tstate
);
5329 if (PyErr_Occurred()) return NULL
;
5330 } Py_INCREF(Py_None
);
5331 _resultobj
= Py_None
;
5335 #define wxDC_EndDrawing(_swigobj) (_swigobj->EndDrawing())
5336 static PyObject
*_wrap_wxDC_EndDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5337 PyObject
* _resultobj
;
5339 PyObject
* _argo0
= 0;
5340 char *_kwnames
[] = { "self", NULL
};
5343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndDrawing",_kwnames
,&_argo0
))
5346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDrawing. Expected _wxDC_p.");
5353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5354 wxDC_EndDrawing(_arg0
);
5356 wxPyEndAllowThreads(__tstate
);
5357 if (PyErr_Occurred()) return NULL
;
5358 } Py_INCREF(Py_None
);
5359 _resultobj
= Py_None
;
5363 #define wxDC_EndPage(_swigobj) (_swigobj->EndPage())
5364 static PyObject
*_wrap_wxDC_EndPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5365 PyObject
* _resultobj
;
5367 PyObject
* _argo0
= 0;
5368 char *_kwnames
[] = { "self", NULL
};
5371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndPage",_kwnames
,&_argo0
))
5374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndPage. Expected _wxDC_p.");
5381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5382 wxDC_EndPage(_arg0
);
5384 wxPyEndAllowThreads(__tstate
);
5385 if (PyErr_Occurred()) return NULL
;
5386 } Py_INCREF(Py_None
);
5387 _resultobj
= Py_None
;
5391 #define wxDC_FloodFill(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FloodFill(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5392 static PyObject
*_wrap_wxDC_FloodFill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5393 PyObject
* _resultobj
;
5399 int _arg4
= (int ) wxFLOOD_SURFACE
;
5400 PyObject
* _argo0
= 0;
5402 PyObject
* _obj3
= 0;
5403 char *_kwnames
[] = { "self","x","y","colour","style", NULL
};
5406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO|i:wxDC_FloodFill",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
5409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_FloodFill. Expected _wxDC_p.");
5417 if (! wxColour_helper(_obj3
, &_arg3
))
5421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5422 _result
= (bool )wxDC_FloodFill(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
5424 wxPyEndAllowThreads(__tstate
);
5425 if (PyErr_Occurred()) return NULL
;
5426 } _resultobj
= Py_BuildValue("i",_result
);
5430 #define wxDC_GetBackground(_swigobj) (_swigobj->GetBackground())
5431 static PyObject
*_wrap_wxDC_GetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5432 PyObject
* _resultobj
;
5435 PyObject
* _argo0
= 0;
5436 char *_kwnames
[] = { "self", NULL
};
5440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBackground",_kwnames
,&_argo0
))
5443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBackground. Expected _wxDC_p.");
5450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5451 _result
= new wxBrush (wxDC_GetBackground(_arg0
));
5453 wxPyEndAllowThreads(__tstate
);
5454 if (PyErr_Occurred()) return NULL
;
5455 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBrush_p");
5456 _resultobj
= Py_BuildValue("s",_ptemp
);
5460 #define wxDC_GetBrush(_swigobj) (_swigobj->GetBrush())
5461 static PyObject
*_wrap_wxDC_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5462 PyObject
* _resultobj
;
5465 PyObject
* _argo0
= 0;
5466 char *_kwnames
[] = { "self", NULL
};
5470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBrush",_kwnames
,&_argo0
))
5473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBrush. Expected _wxDC_p.");
5480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5481 _result
= new wxBrush (wxDC_GetBrush(_arg0
));
5483 wxPyEndAllowThreads(__tstate
);
5484 if (PyErr_Occurred()) return NULL
;
5485 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBrush_p");
5486 _resultobj
= Py_BuildValue("s",_ptemp
);
5490 #define wxDC_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
5491 static PyObject
*_wrap_wxDC_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5492 PyObject
* _resultobj
;
5495 PyObject
* _argo0
= 0;
5496 char *_kwnames
[] = { "self", NULL
};
5499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetCharHeight",_kwnames
,&_argo0
))
5502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharHeight. Expected _wxDC_p.");
5509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5510 _result
= (long )wxDC_GetCharHeight(_arg0
);
5512 wxPyEndAllowThreads(__tstate
);
5513 if (PyErr_Occurred()) return NULL
;
5514 } _resultobj
= Py_BuildValue("l",_result
);
5518 #define wxDC_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
5519 static PyObject
*_wrap_wxDC_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5520 PyObject
* _resultobj
;
5523 PyObject
* _argo0
= 0;
5524 char *_kwnames
[] = { "self", NULL
};
5527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetCharWidth",_kwnames
,&_argo0
))
5530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharWidth. Expected _wxDC_p.");
5537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5538 _result
= (long )wxDC_GetCharWidth(_arg0
);
5540 wxPyEndAllowThreads(__tstate
);
5541 if (PyErr_Occurred()) return NULL
;
5542 } _resultobj
= Py_BuildValue("l",_result
);
5546 #define wxDC_GetClippingBox(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetClippingBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5547 static PyObject
*_wrap_wxDC_GetClippingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5548 PyObject
* _resultobj
;
5558 PyObject
* _argo0
= 0;
5559 char *_kwnames
[] = { "self", NULL
};
5574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetClippingBox",_kwnames
,&_argo0
))
5577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetClippingBox. Expected _wxDC_p.");
5584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5585 wxDC_GetClippingBox(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5587 wxPyEndAllowThreads(__tstate
);
5588 if (PyErr_Occurred()) return NULL
;
5589 } Py_INCREF(Py_None
);
5590 _resultobj
= Py_None
;
5593 o
= PyInt_FromLong((long) (*_arg1
));
5594 _resultobj
= t_output_helper(_resultobj
, o
);
5598 o
= PyInt_FromLong((long) (*_arg2
));
5599 _resultobj
= t_output_helper(_resultobj
, o
);
5603 o
= PyInt_FromLong((long) (*_arg3
));
5604 _resultobj
= t_output_helper(_resultobj
, o
);
5608 o
= PyInt_FromLong((long) (*_arg4
));
5609 _resultobj
= t_output_helper(_resultobj
, o
);
5614 #define wxDC_GetFont(_swigobj) (_swigobj->GetFont())
5615 static PyObject
*_wrap_wxDC_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5616 PyObject
* _resultobj
;
5619 PyObject
* _argo0
= 0;
5620 char *_kwnames
[] = { "self", NULL
};
5624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetFont",_kwnames
,&_argo0
))
5627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFont. Expected _wxDC_p.");
5634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5635 _result
= new wxFont (wxDC_GetFont(_arg0
));
5637 wxPyEndAllowThreads(__tstate
);
5638 if (PyErr_Occurred()) return NULL
;
5639 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
5640 _resultobj
= Py_BuildValue("s",_ptemp
);
5644 #define wxDC_GetLogicalFunction(_swigobj) (_swigobj->GetLogicalFunction())
5645 static PyObject
*_wrap_wxDC_GetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5646 PyObject
* _resultobj
;
5649 PyObject
* _argo0
= 0;
5650 char *_kwnames
[] = { "self", NULL
};
5653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalFunction",_kwnames
,&_argo0
))
5656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalFunction. Expected _wxDC_p.");
5663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5664 _result
= (int )wxDC_GetLogicalFunction(_arg0
);
5666 wxPyEndAllowThreads(__tstate
);
5667 if (PyErr_Occurred()) return NULL
;
5668 } _resultobj
= Py_BuildValue("i",_result
);
5672 #define wxDC_GetLogicalScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLogicalScale(_swigarg0,_swigarg1))
5673 static PyObject
*_wrap_wxDC_GetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5674 PyObject
* _resultobj
;
5680 PyObject
* _argo0
= 0;
5681 char *_kwnames
[] = { "self", NULL
};
5690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalScale",_kwnames
,&_argo0
))
5693 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5694 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalScale. Expected _wxDC_p.");
5700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5701 wxDC_GetLogicalScale(_arg0
,_arg1
,_arg2
);
5703 wxPyEndAllowThreads(__tstate
);
5704 if (PyErr_Occurred()) return NULL
;
5705 } Py_INCREF(Py_None
);
5706 _resultobj
= Py_None
;
5709 o
= PyFloat_FromDouble((double) (*_arg1
));
5710 _resultobj
= t_output_helper(_resultobj
, o
);
5714 o
= PyFloat_FromDouble((double) (*_arg2
));
5715 _resultobj
= t_output_helper(_resultobj
, o
);
5720 #define wxDC_GetMapMode(_swigobj) (_swigobj->GetMapMode())
5721 static PyObject
*_wrap_wxDC_GetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5722 PyObject
* _resultobj
;
5725 PyObject
* _argo0
= 0;
5726 char *_kwnames
[] = { "self", NULL
};
5729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetMapMode",_kwnames
,&_argo0
))
5732 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5733 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetMapMode. Expected _wxDC_p.");
5739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5740 _result
= (int )wxDC_GetMapMode(_arg0
);
5742 wxPyEndAllowThreads(__tstate
);
5743 if (PyErr_Occurred()) return NULL
;
5744 } _resultobj
= Py_BuildValue("i",_result
);
5748 #define wxDC_GetOptimization(_swigobj) (_swigobj->GetOptimization())
5749 static PyObject
*_wrap_wxDC_GetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5750 PyObject
* _resultobj
;
5753 PyObject
* _argo0
= 0;
5754 char *_kwnames
[] = { "self", NULL
};
5757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetOptimization",_kwnames
,&_argo0
))
5760 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5761 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetOptimization. Expected _wxDC_p.");
5767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5768 _result
= (bool )wxDC_GetOptimization(_arg0
);
5770 wxPyEndAllowThreads(__tstate
);
5771 if (PyErr_Occurred()) return NULL
;
5772 } _resultobj
= Py_BuildValue("i",_result
);
5776 #define wxDC_GetPen(_swigobj) (_swigobj->GetPen())
5777 static PyObject
*_wrap_wxDC_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5778 PyObject
* _resultobj
;
5781 PyObject
* _argo0
= 0;
5782 char *_kwnames
[] = { "self", NULL
};
5786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetPen",_kwnames
,&_argo0
))
5789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPen. Expected _wxDC_p.");
5796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5797 _result
= new wxPen (wxDC_GetPen(_arg0
));
5799 wxPyEndAllowThreads(__tstate
);
5800 if (PyErr_Occurred()) return NULL
;
5801 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPen_p");
5802 _resultobj
= Py_BuildValue("s",_ptemp
);
5806 static wxColour
* wxDC_GetPixel(wxDC
*self
,long x
,long y
) {
5807 wxColour
* wc
= new wxColour();
5808 self
->GetPixel(x
, y
, wc
);
5811 static PyObject
*_wrap_wxDC_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5812 PyObject
* _resultobj
;
5817 PyObject
* _argo0
= 0;
5818 char *_kwnames
[] = { "self","x","y", NULL
};
5822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_GetPixel",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5825 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5826 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPixel. Expected _wxDC_p.");
5832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5833 _result
= (wxColour
*)wxDC_GetPixel(_arg0
,_arg1
,_arg2
);
5835 wxPyEndAllowThreads(__tstate
);
5836 if (PyErr_Occurred()) return NULL
;
5838 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
5839 _resultobj
= Py_BuildValue("s",_ptemp
);
5842 _resultobj
= Py_None
;
5847 #define wxDC_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
5848 static PyObject
*_wrap_wxDC_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5849 PyObject
* _resultobj
;
5855 PyObject
* _argo0
= 0;
5856 char *_kwnames
[] = { "self", NULL
};
5865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSizeTuple",_kwnames
,&_argo0
))
5868 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5869 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSizeTuple. Expected _wxDC_p.");
5875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5876 wxDC_GetSizeTuple(_arg0
,_arg1
,_arg2
);
5878 wxPyEndAllowThreads(__tstate
);
5879 if (PyErr_Occurred()) return NULL
;
5880 } Py_INCREF(Py_None
);
5881 _resultobj
= Py_None
;
5884 o
= PyInt_FromLong((long) (*_arg1
));
5885 _resultobj
= t_output_helper(_resultobj
, o
);
5889 o
= PyInt_FromLong((long) (*_arg2
));
5890 _resultobj
= t_output_helper(_resultobj
, o
);
5895 #define wxDC_GetSize(_swigobj) (_swigobj->GetSize())
5896 static PyObject
*_wrap_wxDC_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5897 PyObject
* _resultobj
;
5900 PyObject
* _argo0
= 0;
5901 char *_kwnames
[] = { "self", NULL
};
5905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSize",_kwnames
,&_argo0
))
5908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSize. Expected _wxDC_p.");
5915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5916 _result
= new wxSize (wxDC_GetSize(_arg0
));
5918 wxPyEndAllowThreads(__tstate
);
5919 if (PyErr_Occurred()) return NULL
;
5920 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5921 _resultobj
= Py_BuildValue("s",_ptemp
);
5925 #define wxDC_GetSizeMM(_swigobj) (_swigobj->GetSizeMM())
5926 static PyObject
*_wrap_wxDC_GetSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5927 PyObject
* _resultobj
;
5930 PyObject
* _argo0
= 0;
5931 char *_kwnames
[] = { "self", NULL
};
5935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSizeMM",_kwnames
,&_argo0
))
5938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSizeMM. Expected _wxDC_p.");
5945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5946 _result
= new wxSize (wxDC_GetSizeMM(_arg0
));
5948 wxPyEndAllowThreads(__tstate
);
5949 if (PyErr_Occurred()) return NULL
;
5950 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5951 _resultobj
= Py_BuildValue("s",_ptemp
);
5955 #define wxDC_GetTextBackground(_swigobj) (_swigobj->GetTextBackground())
5956 static PyObject
*_wrap_wxDC_GetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5957 PyObject
* _resultobj
;
5960 PyObject
* _argo0
= 0;
5961 char *_kwnames
[] = { "self", NULL
};
5965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetTextBackground",_kwnames
,&_argo0
))
5968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextBackground. Expected _wxDC_p.");
5975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5976 _result
= new wxColour (wxDC_GetTextBackground(_arg0
));
5978 wxPyEndAllowThreads(__tstate
);
5979 if (PyErr_Occurred()) return NULL
;
5980 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
5981 _resultobj
= Py_BuildValue("s",_ptemp
);
5985 #define wxDC_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
5986 static PyObject
*_wrap_wxDC_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5987 PyObject
* _resultobj
;
5994 PyObject
* _argo0
= 0;
5995 PyObject
* _obj1
= 0;
5996 char *_kwnames
[] = { "self","string", NULL
};
6005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
6008 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6009 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextExtent. Expected _wxDC_p.");
6015 _arg1
= wxString_in_helper(_obj1
);
6020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6021 wxDC_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
6023 wxPyEndAllowThreads(__tstate
);
6024 if (PyErr_Occurred()) return NULL
;
6025 } Py_INCREF(Py_None
);
6026 _resultobj
= Py_None
;
6029 o
= PyInt_FromLong((long) (*_arg2
));
6030 _resultobj
= t_output_helper(_resultobj
, o
);
6034 o
= PyInt_FromLong((long) (*_arg3
));
6035 _resultobj
= t_output_helper(_resultobj
, o
);
6044 #define wxDC_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6045 static PyObject
*_wrap_wxDC_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6046 PyObject
* _resultobj
;
6057 wxFont
* _arg6
= (wxFont
*) NULL
;
6058 PyObject
* _argo0
= 0;
6059 PyObject
* _obj1
= 0;
6060 PyObject
* _argo6
= 0;
6061 char *_kwnames
[] = { "self","string","font", NULL
};
6076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxDC_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
6079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFullTextExtent. Expected _wxDC_p.");
6086 _arg1
= wxString_in_helper(_obj1
);
6091 if (_argo6
== Py_None
) { _arg6
= NULL
; }
6092 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
6093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxDC_GetFullTextExtent. Expected _wxFont_p.");
6098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6099 wxDC_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
6101 wxPyEndAllowThreads(__tstate
);
6102 if (PyErr_Occurred()) return NULL
;
6103 } Py_INCREF(Py_None
);
6104 _resultobj
= Py_None
;
6107 o
= PyInt_FromLong((long) (*_arg2
));
6108 _resultobj
= t_output_helper(_resultobj
, o
);
6112 o
= PyInt_FromLong((long) (*_arg3
));
6113 _resultobj
= t_output_helper(_resultobj
, o
);
6117 o
= PyInt_FromLong((long) (*_arg4
));
6118 _resultobj
= t_output_helper(_resultobj
, o
);
6122 o
= PyInt_FromLong((long) (*_arg5
));
6123 _resultobj
= t_output_helper(_resultobj
, o
);
6132 #define wxDC_GetTextForeground(_swigobj) (_swigobj->GetTextForeground())
6133 static PyObject
*_wrap_wxDC_GetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6134 PyObject
* _resultobj
;
6137 PyObject
* _argo0
= 0;
6138 char *_kwnames
[] = { "self", NULL
};
6142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetTextForeground",_kwnames
,&_argo0
))
6145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextForeground. Expected _wxDC_p.");
6152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6153 _result
= new wxColour (wxDC_GetTextForeground(_arg0
));
6155 wxPyEndAllowThreads(__tstate
);
6156 if (PyErr_Occurred()) return NULL
;
6157 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
6158 _resultobj
= Py_BuildValue("s",_ptemp
);
6162 #define wxDC_GetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetUserScale(_swigarg0,_swigarg1))
6163 static PyObject
*_wrap_wxDC_GetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6164 PyObject
* _resultobj
;
6170 PyObject
* _argo0
= 0;
6171 char *_kwnames
[] = { "self", NULL
};
6180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetUserScale",_kwnames
,&_argo0
))
6183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetUserScale. Expected _wxDC_p.");
6190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6191 wxDC_GetUserScale(_arg0
,_arg1
,_arg2
);
6193 wxPyEndAllowThreads(__tstate
);
6194 if (PyErr_Occurred()) return NULL
;
6195 } Py_INCREF(Py_None
);
6196 _resultobj
= Py_None
;
6199 o
= PyFloat_FromDouble((double) (*_arg1
));
6200 _resultobj
= t_output_helper(_resultobj
, o
);
6204 o
= PyFloat_FromDouble((double) (*_arg2
));
6205 _resultobj
= t_output_helper(_resultobj
, o
);
6210 #define wxDC_LogicalToDeviceX(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceX(_swigarg0))
6211 static PyObject
*_wrap_wxDC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6212 PyObject
* _resultobj
;
6216 PyObject
* _argo0
= 0;
6217 char *_kwnames
[] = { "self","x", NULL
};
6220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceX",_kwnames
,&_argo0
,&_arg1
))
6223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceX. Expected _wxDC_p.");
6230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6231 _result
= (long )wxDC_LogicalToDeviceX(_arg0
,_arg1
);
6233 wxPyEndAllowThreads(__tstate
);
6234 if (PyErr_Occurred()) return NULL
;
6235 } _resultobj
= Py_BuildValue("l",_result
);
6239 #define wxDC_LogicalToDeviceXRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceXRel(_swigarg0))
6240 static PyObject
*_wrap_wxDC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6241 PyObject
* _resultobj
;
6245 PyObject
* _argo0
= 0;
6246 char *_kwnames
[] = { "self","x", NULL
};
6249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceXRel",_kwnames
,&_argo0
,&_arg1
))
6252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceXRel. Expected _wxDC_p.");
6259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6260 _result
= (long )wxDC_LogicalToDeviceXRel(_arg0
,_arg1
);
6262 wxPyEndAllowThreads(__tstate
);
6263 if (PyErr_Occurred()) return NULL
;
6264 } _resultobj
= Py_BuildValue("l",_result
);
6268 #define wxDC_LogicalToDeviceY(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceY(_swigarg0))
6269 static PyObject
*_wrap_wxDC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6270 PyObject
* _resultobj
;
6274 PyObject
* _argo0
= 0;
6275 char *_kwnames
[] = { "self","y", NULL
};
6278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceY",_kwnames
,&_argo0
,&_arg1
))
6281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceY. Expected _wxDC_p.");
6288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6289 _result
= (long )wxDC_LogicalToDeviceY(_arg0
,_arg1
);
6291 wxPyEndAllowThreads(__tstate
);
6292 if (PyErr_Occurred()) return NULL
;
6293 } _resultobj
= Py_BuildValue("l",_result
);
6297 #define wxDC_LogicalToDeviceYRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceYRel(_swigarg0))
6298 static PyObject
*_wrap_wxDC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6299 PyObject
* _resultobj
;
6303 PyObject
* _argo0
= 0;
6304 char *_kwnames
[] = { "self","y", NULL
};
6307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceYRel",_kwnames
,&_argo0
,&_arg1
))
6310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceYRel. Expected _wxDC_p.");
6317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6318 _result
= (long )wxDC_LogicalToDeviceYRel(_arg0
,_arg1
);
6320 wxPyEndAllowThreads(__tstate
);
6321 if (PyErr_Occurred()) return NULL
;
6322 } _resultobj
= Py_BuildValue("l",_result
);
6326 #define wxDC_MaxX(_swigobj) (_swigobj->MaxX())
6327 static PyObject
*_wrap_wxDC_MaxX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6328 PyObject
* _resultobj
;
6331 PyObject
* _argo0
= 0;
6332 char *_kwnames
[] = { "self", NULL
};
6335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MaxX",_kwnames
,&_argo0
))
6338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxX. Expected _wxDC_p.");
6345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6346 _result
= (long )wxDC_MaxX(_arg0
);
6348 wxPyEndAllowThreads(__tstate
);
6349 if (PyErr_Occurred()) return NULL
;
6350 } _resultobj
= Py_BuildValue("l",_result
);
6354 #define wxDC_MaxY(_swigobj) (_swigobj->MaxY())
6355 static PyObject
*_wrap_wxDC_MaxY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6356 PyObject
* _resultobj
;
6359 PyObject
* _argo0
= 0;
6360 char *_kwnames
[] = { "self", NULL
};
6363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MaxY",_kwnames
,&_argo0
))
6366 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6367 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxY. Expected _wxDC_p.");
6373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6374 _result
= (long )wxDC_MaxY(_arg0
);
6376 wxPyEndAllowThreads(__tstate
);
6377 if (PyErr_Occurred()) return NULL
;
6378 } _resultobj
= Py_BuildValue("l",_result
);
6382 #define wxDC_MinX(_swigobj) (_swigobj->MinX())
6383 static PyObject
*_wrap_wxDC_MinX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6384 PyObject
* _resultobj
;
6387 PyObject
* _argo0
= 0;
6388 char *_kwnames
[] = { "self", NULL
};
6391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MinX",_kwnames
,&_argo0
))
6394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinX. Expected _wxDC_p.");
6401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6402 _result
= (long )wxDC_MinX(_arg0
);
6404 wxPyEndAllowThreads(__tstate
);
6405 if (PyErr_Occurred()) return NULL
;
6406 } _resultobj
= Py_BuildValue("l",_result
);
6410 #define wxDC_MinY(_swigobj) (_swigobj->MinY())
6411 static PyObject
*_wrap_wxDC_MinY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6412 PyObject
* _resultobj
;
6415 PyObject
* _argo0
= 0;
6416 char *_kwnames
[] = { "self", NULL
};
6419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MinY",_kwnames
,&_argo0
))
6422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinY. Expected _wxDC_p.");
6429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6430 _result
= (long )wxDC_MinY(_arg0
);
6432 wxPyEndAllowThreads(__tstate
);
6433 if (PyErr_Occurred()) return NULL
;
6434 } _resultobj
= Py_BuildValue("l",_result
);
6438 #define wxDC_Ok(_swigobj) (_swigobj->Ok())
6439 static PyObject
*_wrap_wxDC_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6440 PyObject
* _resultobj
;
6443 PyObject
* _argo0
= 0;
6444 char *_kwnames
[] = { "self", NULL
};
6447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_Ok",_kwnames
,&_argo0
))
6450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Ok. Expected _wxDC_p.");
6457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6458 _result
= (bool )wxDC_Ok(_arg0
);
6460 wxPyEndAllowThreads(__tstate
);
6461 if (PyErr_Occurred()) return NULL
;
6462 } _resultobj
= Py_BuildValue("i",_result
);
6466 #define wxDC_SetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDeviceOrigin(_swigarg0,_swigarg1))
6467 static PyObject
*_wrap_wxDC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6468 PyObject
* _resultobj
;
6472 PyObject
* _argo0
= 0;
6473 char *_kwnames
[] = { "self","x","y", NULL
};
6476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_SetDeviceOrigin",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetDeviceOrigin. Expected _wxDC_p.");
6486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6487 wxDC_SetDeviceOrigin(_arg0
,_arg1
,_arg2
);
6489 wxPyEndAllowThreads(__tstate
);
6490 if (PyErr_Occurred()) return NULL
;
6491 } Py_INCREF(Py_None
);
6492 _resultobj
= Py_None
;
6496 #define wxDC_SetBackground(_swigobj,_swigarg0) (_swigobj->SetBackground(_swigarg0))
6497 static PyObject
*_wrap_wxDC_SetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6498 PyObject
* _resultobj
;
6501 PyObject
* _argo0
= 0;
6502 PyObject
* _argo1
= 0;
6503 char *_kwnames
[] = { "self","brush", NULL
};
6506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetBackground",_kwnames
,&_argo0
,&_argo1
))
6509 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6510 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackground. Expected _wxDC_p.");
6516 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6517 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
6518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBackground. Expected _wxBrush_p.");
6523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6524 wxDC_SetBackground(_arg0
,*_arg1
);
6526 wxPyEndAllowThreads(__tstate
);
6527 if (PyErr_Occurred()) return NULL
;
6528 } Py_INCREF(Py_None
);
6529 _resultobj
= Py_None
;
6533 #define wxDC_SetBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetBackgroundMode(_swigarg0))
6534 static PyObject
*_wrap_wxDC_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6535 PyObject
* _resultobj
;
6538 PyObject
* _argo0
= 0;
6539 char *_kwnames
[] = { "self","mode", NULL
};
6542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetBackgroundMode",_kwnames
,&_argo0
,&_arg1
))
6545 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6546 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackgroundMode. Expected _wxDC_p.");
6552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6553 wxDC_SetBackgroundMode(_arg0
,_arg1
);
6555 wxPyEndAllowThreads(__tstate
);
6556 if (PyErr_Occurred()) return NULL
;
6557 } Py_INCREF(Py_None
);
6558 _resultobj
= Py_None
;
6562 #define wxDC_SetClippingRegion(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetClippingRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6563 static PyObject
*_wrap_wxDC_SetClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6564 PyObject
* _resultobj
;
6570 PyObject
* _argo0
= 0;
6571 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
6574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_SetClippingRegion",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
6577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetClippingRegion. Expected _wxDC_p.");
6584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6585 wxDC_SetClippingRegion(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6587 wxPyEndAllowThreads(__tstate
);
6588 if (PyErr_Occurred()) return NULL
;
6589 } Py_INCREF(Py_None
);
6590 _resultobj
= Py_None
;
6594 #define wxDC_SetClippingRegionAsRegion(_swigobj,_swigarg0) (_swigobj->SetClippingRegion(_swigarg0))
6595 static PyObject
*_wrap_wxDC_SetClippingRegionAsRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6596 PyObject
* _resultobj
;
6599 PyObject
* _argo0
= 0;
6600 PyObject
* _argo1
= 0;
6601 char *_kwnames
[] = { "self","region", NULL
};
6604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetClippingRegionAsRegion",_kwnames
,&_argo0
,&_argo1
))
6607 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6608 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetClippingRegionAsRegion. Expected _wxDC_p.");
6614 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6615 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
6616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetClippingRegionAsRegion. Expected _wxRegion_p.");
6621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6622 wxDC_SetClippingRegionAsRegion(_arg0
,*_arg1
);
6624 wxPyEndAllowThreads(__tstate
);
6625 if (PyErr_Occurred()) return NULL
;
6626 } Py_INCREF(Py_None
);
6627 _resultobj
= Py_None
;
6631 #define wxDC_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
6632 static PyObject
*_wrap_wxDC_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6633 PyObject
* _resultobj
;
6636 PyObject
* _argo0
= 0;
6637 PyObject
* _argo1
= 0;
6638 char *_kwnames
[] = { "self","colourMap", NULL
};
6641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetPalette",_kwnames
,&_argo0
,&_argo1
))
6644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPalette. Expected _wxDC_p.");
6651 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6652 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPalette_p")) {
6653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPalette. Expected _wxPalette_p.");
6658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6659 wxDC_SetPalette(_arg0
,*_arg1
);
6661 wxPyEndAllowThreads(__tstate
);
6662 if (PyErr_Occurred()) return NULL
;
6663 } Py_INCREF(Py_None
);
6664 _resultobj
= Py_None
;
6668 #define wxDC_SetBrush(_swigobj,_swigarg0) (_swigobj->SetBrush(_swigarg0))
6669 static PyObject
*_wrap_wxDC_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6670 PyObject
* _resultobj
;
6673 PyObject
* _argo0
= 0;
6674 PyObject
* _argo1
= 0;
6675 char *_kwnames
[] = { "self","brush", NULL
};
6678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetBrush",_kwnames
,&_argo0
,&_argo1
))
6681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBrush. Expected _wxDC_p.");
6688 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6689 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
6690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBrush. Expected _wxBrush_p.");
6695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6696 wxDC_SetBrush(_arg0
,*_arg1
);
6698 wxPyEndAllowThreads(__tstate
);
6699 if (PyErr_Occurred()) return NULL
;
6700 } Py_INCREF(Py_None
);
6701 _resultobj
= Py_None
;
6705 #define wxDC_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
6706 static PyObject
*_wrap_wxDC_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6707 PyObject
* _resultobj
;
6710 PyObject
* _argo0
= 0;
6711 PyObject
* _argo1
= 0;
6712 char *_kwnames
[] = { "self","font", NULL
};
6715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetFont",_kwnames
,&_argo0
,&_argo1
))
6718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetFont. Expected _wxDC_p.");
6725 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6726 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
6727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetFont. Expected _wxFont_p.");
6732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6733 wxDC_SetFont(_arg0
,*_arg1
);
6735 wxPyEndAllowThreads(__tstate
);
6736 if (PyErr_Occurred()) return NULL
;
6737 } Py_INCREF(Py_None
);
6738 _resultobj
= Py_None
;
6742 #define wxDC_SetLogicalFunction(_swigobj,_swigarg0) (_swigobj->SetLogicalFunction(_swigarg0))
6743 static PyObject
*_wrap_wxDC_SetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6744 PyObject
* _resultobj
;
6747 PyObject
* _argo0
= 0;
6748 char *_kwnames
[] = { "self","function", NULL
};
6751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetLogicalFunction",_kwnames
,&_argo0
,&_arg1
))
6754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalFunction. Expected _wxDC_p.");
6761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6762 wxDC_SetLogicalFunction(_arg0
,_arg1
);
6764 wxPyEndAllowThreads(__tstate
);
6765 if (PyErr_Occurred()) return NULL
;
6766 } Py_INCREF(Py_None
);
6767 _resultobj
= Py_None
;
6771 #define wxDC_SetLogicalScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLogicalScale(_swigarg0,_swigarg1))
6772 static PyObject
*_wrap_wxDC_SetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6773 PyObject
* _resultobj
;
6777 PyObject
* _argo0
= 0;
6778 char *_kwnames
[] = { "self","x","y", NULL
};
6781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxDC_SetLogicalScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6784 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6785 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalScale. Expected _wxDC_p.");
6791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6792 wxDC_SetLogicalScale(_arg0
,_arg1
,_arg2
);
6794 wxPyEndAllowThreads(__tstate
);
6795 if (PyErr_Occurred()) return NULL
;
6796 } Py_INCREF(Py_None
);
6797 _resultobj
= Py_None
;
6801 #define wxDC_SetMapMode(_swigobj,_swigarg0) (_swigobj->SetMapMode(_swigarg0))
6802 static PyObject
*_wrap_wxDC_SetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6803 PyObject
* _resultobj
;
6806 PyObject
* _argo0
= 0;
6807 char *_kwnames
[] = { "self","mode", NULL
};
6810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetMapMode",_kwnames
,&_argo0
,&_arg1
))
6813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetMapMode. Expected _wxDC_p.");
6820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6821 wxDC_SetMapMode(_arg0
,_arg1
);
6823 wxPyEndAllowThreads(__tstate
);
6824 if (PyErr_Occurred()) return NULL
;
6825 } Py_INCREF(Py_None
);
6826 _resultobj
= Py_None
;
6830 #define wxDC_SetOptimization(_swigobj,_swigarg0) (_swigobj->SetOptimization(_swigarg0))
6831 static PyObject
*_wrap_wxDC_SetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6832 PyObject
* _resultobj
;
6835 PyObject
* _argo0
= 0;
6837 char *_kwnames
[] = { "self","optimize", NULL
};
6840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetOptimization",_kwnames
,&_argo0
,&tempbool1
))
6843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetOptimization. Expected _wxDC_p.");
6849 _arg1
= (bool ) tempbool1
;
6851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6852 wxDC_SetOptimization(_arg0
,_arg1
);
6854 wxPyEndAllowThreads(__tstate
);
6855 if (PyErr_Occurred()) return NULL
;
6856 } Py_INCREF(Py_None
);
6857 _resultobj
= Py_None
;
6861 #define wxDC_SetPen(_swigobj,_swigarg0) (_swigobj->SetPen(_swigarg0))
6862 static PyObject
*_wrap_wxDC_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6863 PyObject
* _resultobj
;
6866 PyObject
* _argo0
= 0;
6867 PyObject
* _argo1
= 0;
6868 char *_kwnames
[] = { "self","pen", NULL
};
6871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetPen",_kwnames
,&_argo0
,&_argo1
))
6874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPen. Expected _wxDC_p.");
6881 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6882 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
6883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPen. Expected _wxPen_p.");
6888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6889 wxDC_SetPen(_arg0
,*_arg1
);
6891 wxPyEndAllowThreads(__tstate
);
6892 if (PyErr_Occurred()) return NULL
;
6893 } Py_INCREF(Py_None
);
6894 _resultobj
= Py_None
;
6898 #define wxDC_SetTextBackground(_swigobj,_swigarg0) (_swigobj->SetTextBackground(_swigarg0))
6899 static PyObject
*_wrap_wxDC_SetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6900 PyObject
* _resultobj
;
6903 PyObject
* _argo0
= 0;
6905 PyObject
* _obj1
= 0;
6906 char *_kwnames
[] = { "self","colour", NULL
};
6909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetTextBackground",_kwnames
,&_argo0
,&_obj1
))
6912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextBackground. Expected _wxDC_p.");
6920 if (! wxColour_helper(_obj1
, &_arg1
))
6924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6925 wxDC_SetTextBackground(_arg0
,*_arg1
);
6927 wxPyEndAllowThreads(__tstate
);
6928 if (PyErr_Occurred()) return NULL
;
6929 } Py_INCREF(Py_None
);
6930 _resultobj
= Py_None
;
6934 #define wxDC_SetTextForeground(_swigobj,_swigarg0) (_swigobj->SetTextForeground(_swigarg0))
6935 static PyObject
*_wrap_wxDC_SetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6936 PyObject
* _resultobj
;
6939 PyObject
* _argo0
= 0;
6941 PyObject
* _obj1
= 0;
6942 char *_kwnames
[] = { "self","colour", NULL
};
6945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetTextForeground",_kwnames
,&_argo0
,&_obj1
))
6948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextForeground. Expected _wxDC_p.");
6956 if (! wxColour_helper(_obj1
, &_arg1
))
6960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6961 wxDC_SetTextForeground(_arg0
,*_arg1
);
6963 wxPyEndAllowThreads(__tstate
);
6964 if (PyErr_Occurred()) return NULL
;
6965 } Py_INCREF(Py_None
);
6966 _resultobj
= Py_None
;
6970 #define wxDC_SetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetUserScale(_swigarg0,_swigarg1))
6971 static PyObject
*_wrap_wxDC_SetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6972 PyObject
* _resultobj
;
6976 PyObject
* _argo0
= 0;
6977 char *_kwnames
[] = { "self","x_scale","y_scale", NULL
};
6980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxDC_SetUserScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetUserScale. Expected _wxDC_p.");
6990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6991 wxDC_SetUserScale(_arg0
,_arg1
,_arg2
);
6993 wxPyEndAllowThreads(__tstate
);
6994 if (PyErr_Occurred()) return NULL
;
6995 } Py_INCREF(Py_None
);
6996 _resultobj
= Py_None
;
7000 #define wxDC_StartDoc(_swigobj,_swigarg0) (_swigobj->StartDoc(_swigarg0))
7001 static PyObject
*_wrap_wxDC_StartDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7002 PyObject
* _resultobj
;
7006 PyObject
* _argo0
= 0;
7007 PyObject
* _obj1
= 0;
7008 char *_kwnames
[] = { "self","message", NULL
};
7011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_StartDoc",_kwnames
,&_argo0
,&_obj1
))
7014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartDoc. Expected _wxDC_p.");
7021 _arg1
= wxString_in_helper(_obj1
);
7026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7027 _result
= (bool )wxDC_StartDoc(_arg0
,*_arg1
);
7029 wxPyEndAllowThreads(__tstate
);
7030 if (PyErr_Occurred()) return NULL
;
7031 } _resultobj
= Py_BuildValue("i",_result
);
7039 #define wxDC_StartPage(_swigobj) (_swigobj->StartPage())
7040 static PyObject
*_wrap_wxDC_StartPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7041 PyObject
* _resultobj
;
7043 PyObject
* _argo0
= 0;
7044 char *_kwnames
[] = { "self", NULL
};
7047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_StartPage",_kwnames
,&_argo0
))
7050 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7051 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartPage. Expected _wxDC_p.");
7057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7058 wxDC_StartPage(_arg0
);
7060 wxPyEndAllowThreads(__tstate
);
7061 if (PyErr_Occurred()) return NULL
;
7062 } Py_INCREF(Py_None
);
7063 _resultobj
= Py_None
;
7067 #define wxDC_DrawBitmap(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7068 static PyObject
*_wrap_wxDC_DrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7069 PyObject
* _resultobj
;
7074 int _arg4
= (int ) FALSE
;
7075 PyObject
* _argo0
= 0;
7076 PyObject
* _argo1
= 0;
7077 char *_kwnames
[] = { "self","bitmap","x","y","useMask", NULL
};
7080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll|i:wxDC_DrawBitmap",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
))
7083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawBitmap. Expected _wxDC_p.");
7090 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7091 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
7092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawBitmap. Expected _wxBitmap_p.");
7097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7098 wxDC_DrawBitmap(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
7100 wxPyEndAllowThreads(__tstate
);
7101 if (PyErr_Occurred()) return NULL
;
7102 } Py_INCREF(Py_None
);
7103 _resultobj
= Py_None
;
7107 #define wxDC_CanDrawBitmap(_swigobj) (_swigobj->CanDrawBitmap())
7108 static PyObject
*_wrap_wxDC_CanDrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7109 PyObject
* _resultobj
;
7112 PyObject
* _argo0
= 0;
7113 char *_kwnames
[] = { "self", NULL
};
7116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_CanDrawBitmap",_kwnames
,&_argo0
))
7119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CanDrawBitmap. Expected _wxDC_p.");
7126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7127 _result
= (bool )wxDC_CanDrawBitmap(_arg0
);
7129 wxPyEndAllowThreads(__tstate
);
7130 if (PyErr_Occurred()) return NULL
;
7131 } _resultobj
= Py_BuildValue("i",_result
);
7135 #define wxDC_CanGetTextExtent(_swigobj) (_swigobj->CanGetTextExtent())
7136 static PyObject
*_wrap_wxDC_CanGetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7137 PyObject
* _resultobj
;
7140 PyObject
* _argo0
= 0;
7141 char *_kwnames
[] = { "self", NULL
};
7144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_CanGetTextExtent",_kwnames
,&_argo0
))
7147 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7148 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CanGetTextExtent. Expected _wxDC_p.");
7154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7155 _result
= (bool )wxDC_CanGetTextExtent(_arg0
);
7157 wxPyEndAllowThreads(__tstate
);
7158 if (PyErr_Occurred()) return NULL
;
7159 } _resultobj
= Py_BuildValue("i",_result
);
7163 #define wxDC_GetDepth(_swigobj) (_swigobj->GetDepth())
7164 static PyObject
*_wrap_wxDC_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7165 PyObject
* _resultobj
;
7168 PyObject
* _argo0
= 0;
7169 char *_kwnames
[] = { "self", NULL
};
7172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetDepth",_kwnames
,&_argo0
))
7175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetDepth. Expected _wxDC_p.");
7182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7183 _result
= (int )wxDC_GetDepth(_arg0
);
7185 wxPyEndAllowThreads(__tstate
);
7186 if (PyErr_Occurred()) return NULL
;
7187 } _resultobj
= Py_BuildValue("i",_result
);
7191 #define wxDC_GetPPI(_swigobj) (_swigobj->GetPPI())
7192 static PyObject
*_wrap_wxDC_GetPPI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7193 PyObject
* _resultobj
;
7196 PyObject
* _argo0
= 0;
7197 char *_kwnames
[] = { "self", NULL
};
7201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetPPI",_kwnames
,&_argo0
))
7204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPPI. Expected _wxDC_p.");
7211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7212 _result
= new wxSize (wxDC_GetPPI(_arg0
));
7214 wxPyEndAllowThreads(__tstate
);
7215 if (PyErr_Occurred()) return NULL
;
7216 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
7217 _resultobj
= Py_BuildValue("s",_ptemp
);
7221 #define wxDC_GetLogicalOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLogicalOrigin(_swigarg0,_swigarg1))
7222 static PyObject
*_wrap_wxDC_GetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7223 PyObject
* _resultobj
;
7229 PyObject
* _argo0
= 0;
7230 char *_kwnames
[] = { "self", NULL
};
7239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalOrigin",_kwnames
,&_argo0
))
7242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalOrigin. Expected _wxDC_p.");
7249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7250 wxDC_GetLogicalOrigin(_arg0
,_arg1
,_arg2
);
7252 wxPyEndAllowThreads(__tstate
);
7253 if (PyErr_Occurred()) return NULL
;
7254 } Py_INCREF(Py_None
);
7255 _resultobj
= Py_None
;
7258 o
= PyInt_FromLong((long) (*_arg1
));
7259 _resultobj
= t_output_helper(_resultobj
, o
);
7263 o
= PyInt_FromLong((long) (*_arg2
));
7264 _resultobj
= t_output_helper(_resultobj
, o
);
7269 #define wxDC_SetLogicalOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLogicalOrigin(_swigarg0,_swigarg1))
7270 static PyObject
*_wrap_wxDC_SetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7271 PyObject
* _resultobj
;
7275 PyObject
* _argo0
= 0;
7276 char *_kwnames
[] = { "self","x","y", NULL
};
7279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_SetLogicalOrigin",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalOrigin. Expected _wxDC_p.");
7289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7290 wxDC_SetLogicalOrigin(_arg0
,_arg1
,_arg2
);
7292 wxPyEndAllowThreads(__tstate
);
7293 if (PyErr_Occurred()) return NULL
;
7294 } Py_INCREF(Py_None
);
7295 _resultobj
= Py_None
;
7299 #define wxDC_GetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDeviceOrigin(_swigarg0,_swigarg1))
7300 static PyObject
*_wrap_wxDC_GetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7301 PyObject
* _resultobj
;
7307 PyObject
* _argo0
= 0;
7308 char *_kwnames
[] = { "self", NULL
};
7317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetDeviceOrigin",_kwnames
,&_argo0
))
7320 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7321 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetDeviceOrigin. Expected _wxDC_p.");
7327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7328 wxDC_GetDeviceOrigin(_arg0
,_arg1
,_arg2
);
7330 wxPyEndAllowThreads(__tstate
);
7331 if (PyErr_Occurred()) return NULL
;
7332 } Py_INCREF(Py_None
);
7333 _resultobj
= Py_None
;
7336 o
= PyInt_FromLong((long) (*_arg1
));
7337 _resultobj
= t_output_helper(_resultobj
, o
);
7341 o
= PyInt_FromLong((long) (*_arg2
));
7342 _resultobj
= t_output_helper(_resultobj
, o
);
7347 #define wxDC_SetAxisOrientation(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAxisOrientation(_swigarg0,_swigarg1))
7348 static PyObject
*_wrap_wxDC_SetAxisOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7349 PyObject
* _resultobj
;
7353 PyObject
* _argo0
= 0;
7356 char *_kwnames
[] = { "self","xLeftRight","yBottomUp", NULL
};
7359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_SetAxisOrientation",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
7362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetAxisOrientation. Expected _wxDC_p.");
7368 _arg1
= (bool ) tempbool1
;
7369 _arg2
= (bool ) tempbool2
;
7371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7372 wxDC_SetAxisOrientation(_arg0
,_arg1
,_arg2
);
7374 wxPyEndAllowThreads(__tstate
);
7375 if (PyErr_Occurred()) return NULL
;
7376 } Py_INCREF(Py_None
);
7377 _resultobj
= Py_None
;
7381 #define wxDC_CalcBoundingBox(_swigobj,_swigarg0,_swigarg1) (_swigobj->CalcBoundingBox(_swigarg0,_swigarg1))
7382 static PyObject
*_wrap_wxDC_CalcBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7383 PyObject
* _resultobj
;
7387 PyObject
* _argo0
= 0;
7388 char *_kwnames
[] = { "self","x","y", NULL
};
7391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_CalcBoundingBox",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CalcBoundingBox. Expected _wxDC_p.");
7401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7402 wxDC_CalcBoundingBox(_arg0
,_arg1
,_arg2
);
7404 wxPyEndAllowThreads(__tstate
);
7405 if (PyErr_Occurred()) return NULL
;
7406 } Py_INCREF(Py_None
);
7407 _resultobj
= Py_None
;
7411 #define wxDC_ResetBoundingBox(_swigobj) (_swigobj->ResetBoundingBox())
7412 static PyObject
*_wrap_wxDC_ResetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7413 PyObject
* _resultobj
;
7415 PyObject
* _argo0
= 0;
7416 char *_kwnames
[] = { "self", NULL
};
7419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_ResetBoundingBox",_kwnames
,&_argo0
))
7422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_ResetBoundingBox. Expected _wxDC_p.");
7429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7430 wxDC_ResetBoundingBox(_arg0
);
7432 wxPyEndAllowThreads(__tstate
);
7433 if (PyErr_Occurred()) return NULL
;
7434 } Py_INCREF(Py_None
);
7435 _resultobj
= Py_None
;
7439 static PyObject
*_wrap_wxDC_GetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7440 PyObject
* _resultobj
;
7450 PyObject
* _argo0
= 0;
7451 char *_kwnames
[] = { "self", NULL
};
7466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBoundingBox",_kwnames
,&_argo0
))
7469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBoundingBox. Expected _wxDC_p.");
7476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7477 wxDC_GetBoundingBox(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7479 wxPyEndAllowThreads(__tstate
);
7480 if (PyErr_Occurred()) return NULL
;
7481 } Py_INCREF(Py_None
);
7482 _resultobj
= Py_None
;
7485 o
= PyInt_FromLong((long) (*_arg1
));
7486 _resultobj
= t_output_helper(_resultobj
, o
);
7490 o
= PyInt_FromLong((long) (*_arg2
));
7491 _resultobj
= t_output_helper(_resultobj
, o
);
7495 o
= PyInt_FromLong((long) (*_arg3
));
7496 _resultobj
= t_output_helper(_resultobj
, o
);
7500 o
= PyInt_FromLong((long) (*_arg4
));
7501 _resultobj
= t_output_helper(_resultobj
, o
);
7506 static PyObject
* wxDC__DrawPointList(wxDC
*self
,PyObject
* pyPoints
,PyObject
* pyPens
) {
7507 bool isFastSeq
= PyList_Check(pyPoints
) || PyTuple_Check(pyPoints
);
7508 bool isFastPens
= PyList_Check(pyPens
) || PyTuple_Check(pyPens
);
7516 if (!PySequence_Check(pyPoints
)) {
7519 if (!PySequence_Check(pyPens
)) {
7522 numObjs
= PySequence_Length(pyPoints
);
7523 numPens
= PySequence_Length(pyPens
);
7525 for (i
= 0; i
< numObjs
; i
++) {
7529 obj
= PySequence_Fast_GET_ITEM(pyPens
, i
);
7532 obj
= PySequence_GetItem(pyPens
, i
);
7534 if (SWIG_GetPtrObj(obj
, (void **) &pen
, "_wxPen_p")) {
7545 // Get the point coordinants
7547 obj
= PySequence_Fast_GET_ITEM(pyPoints
, i
);
7550 obj
= PySequence_GetItem(pyPoints
, i
);
7552 if (! _2int_seq_helper(obj
, &x1
, &y1
)) {
7558 // Now draw the point
7559 self
->DrawPoint(x1
, y1
);
7569 PyErr_SetString(PyExc_TypeError
, "Expected a sequence of wxPens");
7572 PyErr_SetString(PyExc_TypeError
, "Expected a sequence of (x,y) sequences.");
7575 static PyObject
*_wrap_wxDC__DrawPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7576 PyObject
* _resultobj
;
7581 PyObject
* _argo0
= 0;
7582 PyObject
* _obj1
= 0;
7583 PyObject
* _obj2
= 0;
7584 char *_kwnames
[] = { "self","pyPoints","pyPens", NULL
};
7587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDC__DrawPointList",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
7590 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7591 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC__DrawPointList. Expected _wxDC_p.");
7603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7604 _result
= (PyObject
*)wxDC__DrawPointList(_arg0
,_arg1
,_arg2
);
7606 wxPyEndAllowThreads(__tstate
);
7607 if (PyErr_Occurred()) return NULL
;
7609 _resultobj
= _result
;
7614 static PyObject
* wxDC__DrawLineList(wxDC
*self
,PyObject
* pyLines
,PyObject
* pyPens
) {
7615 bool isFastSeq
= PyList_Check(pyLines
) || PyTuple_Check(pyLines
);
7616 bool isFastPens
= PyList_Check(pyPens
) || PyTuple_Check(pyPens
);
7624 if (!PySequence_Check(pyLines
)) {
7627 if (!PySequence_Check(pyPens
)) {
7630 numObjs
= PySequence_Length(pyLines
);
7631 numPens
= PySequence_Length(pyPens
);
7633 for (i
= 0; i
< numObjs
; i
++) {
7637 obj
= PySequence_Fast_GET_ITEM(pyPens
, i
);
7640 obj
= PySequence_GetItem(pyPens
, i
);
7642 if (SWIG_GetPtrObj(obj
, (void **) &pen
, "_wxPen_p")) {
7653 // Get the line coordinants
7655 obj
= PySequence_Fast_GET_ITEM(pyLines
, i
);
7658 obj
= PySequence_GetItem(pyLines
, i
);
7660 if (! _4int_seq_helper(obj
, &x1
, &y1
, &x2
, &y2
)) {
7666 // Now draw the line
7667 self
->DrawLine(x1
, y1
, x2
, y2
);
7677 PyErr_SetString(PyExc_TypeError
, "Expected a sequence of wxPens");
7680 PyErr_SetString(PyExc_TypeError
, "Expected a sequence of (x1,y1, x2,y2) sequences.");
7683 static PyObject
*_wrap_wxDC__DrawLineList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7684 PyObject
* _resultobj
;
7689 PyObject
* _argo0
= 0;
7690 PyObject
* _obj1
= 0;
7691 PyObject
* _obj2
= 0;
7692 char *_kwnames
[] = { "self","pyLines","pyPens", NULL
};
7695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDC__DrawLineList",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
7698 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7699 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC__DrawLineList. Expected _wxDC_p.");
7711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7712 _result
= (PyObject
*)wxDC__DrawLineList(_arg0
,_arg1
,_arg2
);
7714 wxPyEndAllowThreads(__tstate
);
7715 if (PyErr_Occurred()) return NULL
;
7717 _resultobj
= _result
;
7722 static void *SwigwxMemoryDCTowxDC(void *ptr
) {
7725 src
= (wxMemoryDC
*) ptr
;
7726 dest
= (wxDC
*) src
;
7727 return (void *) dest
;
7730 static void *SwigwxMemoryDCTowxObject(void *ptr
) {
7733 src
= (wxMemoryDC
*) ptr
;
7734 dest
= (wxObject
*) src
;
7735 return (void *) dest
;
7738 #define new_wxMemoryDC() (new wxMemoryDC())
7739 static PyObject
*_wrap_new_wxMemoryDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7740 PyObject
* _resultobj
;
7741 wxMemoryDC
* _result
;
7742 char *_kwnames
[] = { NULL
};
7746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMemoryDC",_kwnames
))
7749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7750 _result
= (wxMemoryDC
*)new_wxMemoryDC();
7752 wxPyEndAllowThreads(__tstate
);
7753 if (PyErr_Occurred()) return NULL
;
7755 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
7756 _resultobj
= Py_BuildValue("s",_ptemp
);
7759 _resultobj
= Py_None
;
7764 #define wxMemoryDC_SelectObject(_swigobj,_swigarg0) (_swigobj->SelectObject(_swigarg0))
7765 static PyObject
*_wrap_wxMemoryDC_SelectObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7766 PyObject
* _resultobj
;
7769 PyObject
* _argo0
= 0;
7770 PyObject
* _argo1
= 0;
7771 char *_kwnames
[] = { "self","bitmap", NULL
};
7774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMemoryDC_SelectObject",_kwnames
,&_argo0
,&_argo1
))
7777 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7778 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMemoryDC_p")) {
7779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDC_SelectObject. Expected _wxMemoryDC_p.");
7784 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7785 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
7786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMemoryDC_SelectObject. Expected _wxBitmap_p.");
7791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7792 wxMemoryDC_SelectObject(_arg0
,*_arg1
);
7794 wxPyEndAllowThreads(__tstate
);
7795 if (PyErr_Occurred()) return NULL
;
7796 } Py_INCREF(Py_None
);
7797 _resultobj
= Py_None
;
7801 static void *SwigwxBufferedDCTowxMemoryDC(void *ptr
) {
7804 src
= (wxBufferedDC
*) ptr
;
7805 dest
= (wxMemoryDC
*) src
;
7806 return (void *) dest
;
7809 static void *SwigwxBufferedDCTowxDC(void *ptr
) {
7812 src
= (wxBufferedDC
*) ptr
;
7813 dest
= (wxDC
*) src
;
7814 return (void *) dest
;
7817 static void *SwigwxBufferedDCTowxObject(void *ptr
) {
7820 src
= (wxBufferedDC
*) ptr
;
7821 dest
= (wxObject
*) src
;
7822 return (void *) dest
;
7825 #define new_wxBufferedDC(_swigarg0,_swigarg1) (new wxBufferedDC(_swigarg0,_swigarg1))
7826 static PyObject
*_wrap_new_wxBufferedDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7827 PyObject
* _resultobj
;
7828 wxBufferedDC
* _result
;
7831 PyObject
* _argo0
= 0;
7832 PyObject
* _argo1
= 0;
7833 char *_kwnames
[] = { "dc","buffer", NULL
};
7837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxBufferedDC",_kwnames
,&_argo0
,&_argo1
))
7840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBufferedDC. Expected _wxDC_p.");
7847 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7848 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
7849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxBufferedDC. Expected _wxBitmap_p.");
7854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7855 _result
= (wxBufferedDC
*)new_wxBufferedDC(_arg0
,*_arg1
);
7857 wxPyEndAllowThreads(__tstate
);
7858 if (PyErr_Occurred()) return NULL
;
7860 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBufferedDC_p");
7861 _resultobj
= Py_BuildValue("s",_ptemp
);
7864 _resultobj
= Py_None
;
7869 #define new_wxBufferedDCInternalBuffer(_swigarg0,_swigarg1) (new wxBufferedDC(_swigarg0,_swigarg1))
7870 static PyObject
*_wrap_new_wxBufferedDCInternalBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7871 PyObject
* _resultobj
;
7872 wxBufferedDC
* _result
;
7875 PyObject
* _argo0
= 0;
7877 PyObject
* _obj1
= 0;
7878 char *_kwnames
[] = { "dc","area", NULL
};
7882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxBufferedDCInternalBuffer",_kwnames
,&_argo0
,&_obj1
))
7885 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7886 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBufferedDCInternalBuffer. Expected _wxDC_p.");
7893 if (! wxSize_helper(_obj1
, &_arg1
))
7897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7898 _result
= (wxBufferedDC
*)new_wxBufferedDCInternalBuffer(_arg0
,*_arg1
);
7900 wxPyEndAllowThreads(__tstate
);
7901 if (PyErr_Occurred()) return NULL
;
7903 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBufferedDC_p");
7904 _resultobj
= Py_BuildValue("s",_ptemp
);
7907 _resultobj
= Py_None
;
7912 #define wxBufferedDC_UnMask(_swigobj) (_swigobj->UnMask())
7913 static PyObject
*_wrap_wxBufferedDC_UnMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7914 PyObject
* _resultobj
;
7915 wxBufferedDC
* _arg0
;
7916 PyObject
* _argo0
= 0;
7917 char *_kwnames
[] = { "self", NULL
};
7920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBufferedDC_UnMask",_kwnames
,&_argo0
))
7923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBufferedDC_p")) {
7925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBufferedDC_UnMask. Expected _wxBufferedDC_p.");
7930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7931 wxBufferedDC_UnMask(_arg0
);
7933 wxPyEndAllowThreads(__tstate
);
7934 if (PyErr_Occurred()) return NULL
;
7935 } Py_INCREF(Py_None
);
7936 _resultobj
= Py_None
;
7940 static void *SwigwxBufferedPaintDCTowxBufferedDC(void *ptr
) {
7941 wxBufferedPaintDC
*src
;
7943 src
= (wxBufferedPaintDC
*) ptr
;
7944 dest
= (wxBufferedDC
*) src
;
7945 return (void *) dest
;
7948 static void *SwigwxBufferedPaintDCTowxMemoryDC(void *ptr
) {
7949 wxBufferedPaintDC
*src
;
7951 src
= (wxBufferedPaintDC
*) ptr
;
7952 dest
= (wxMemoryDC
*) src
;
7953 return (void *) dest
;
7956 static void *SwigwxBufferedPaintDCTowxDC(void *ptr
) {
7957 wxBufferedPaintDC
*src
;
7959 src
= (wxBufferedPaintDC
*) ptr
;
7960 dest
= (wxDC
*) src
;
7961 return (void *) dest
;
7964 static void *SwigwxBufferedPaintDCTowxObject(void *ptr
) {
7965 wxBufferedPaintDC
*src
;
7967 src
= (wxBufferedPaintDC
*) ptr
;
7968 dest
= (wxObject
*) src
;
7969 return (void *) dest
;
7972 #define new_wxBufferedPaintDC(_swigarg0,_swigarg1) (new wxBufferedPaintDC(_swigarg0,_swigarg1))
7973 static PyObject
*_wrap_new_wxBufferedPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7974 PyObject
* _resultobj
;
7975 wxBufferedPaintDC
* _result
;
7977 wxBitmap
* _arg1
= (wxBitmap
*) &wxNullBitmap
;
7978 PyObject
* _argo0
= 0;
7979 PyObject
* _argo1
= 0;
7980 char *_kwnames
[] = { "window","buffer", NULL
};
7984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxBufferedPaintDC",_kwnames
,&_argo0
,&_argo1
))
7987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
7989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBufferedPaintDC. Expected _wxWindow_p.");
7994 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7995 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
7996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxBufferedPaintDC. Expected _wxBitmap_p.");
8001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8002 _result
= (wxBufferedPaintDC
*)new_wxBufferedPaintDC(_arg0
,*_arg1
);
8004 wxPyEndAllowThreads(__tstate
);
8005 if (PyErr_Occurred()) return NULL
;
8007 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBufferedPaintDC_p");
8008 _resultobj
= Py_BuildValue("s",_ptemp
);
8011 _resultobj
= Py_None
;
8016 static void *SwigwxScreenDCTowxDC(void *ptr
) {
8019 src
= (wxScreenDC
*) ptr
;
8020 dest
= (wxDC
*) src
;
8021 return (void *) dest
;
8024 static void *SwigwxScreenDCTowxObject(void *ptr
) {
8027 src
= (wxScreenDC
*) ptr
;
8028 dest
= (wxObject
*) src
;
8029 return (void *) dest
;
8032 #define new_wxScreenDC() (new wxScreenDC())
8033 static PyObject
*_wrap_new_wxScreenDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8034 PyObject
* _resultobj
;
8035 wxScreenDC
* _result
;
8036 char *_kwnames
[] = { NULL
};
8040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxScreenDC",_kwnames
))
8043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8044 _result
= (wxScreenDC
*)new_wxScreenDC();
8046 wxPyEndAllowThreads(__tstate
);
8047 if (PyErr_Occurred()) return NULL
;
8049 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScreenDC_p");
8050 _resultobj
= Py_BuildValue("s",_ptemp
);
8053 _resultobj
= Py_None
;
8058 #define wxScreenDC_StartDrawingOnTopWin(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
8059 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTopWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8060 PyObject
* _resultobj
;
8064 PyObject
* _argo0
= 0;
8065 PyObject
* _argo1
= 0;
8066 char *_kwnames
[] = { "self","window", NULL
};
8069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScreenDC_StartDrawingOnTopWin",_kwnames
,&_argo0
,&_argo1
))
8072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
8074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTopWin. Expected _wxScreenDC_p.");
8079 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8080 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScreenDC_StartDrawingOnTopWin. Expected _wxWindow_p.");
8086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8087 _result
= (bool )wxScreenDC_StartDrawingOnTopWin(_arg0
,_arg1
);
8089 wxPyEndAllowThreads(__tstate
);
8090 if (PyErr_Occurred()) return NULL
;
8091 } _resultobj
= Py_BuildValue("i",_result
);
8095 #define wxScreenDC_StartDrawingOnTop(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
8096 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8097 PyObject
* _resultobj
;
8100 wxRect
* _arg1
= (wxRect
*) NULL
;
8101 PyObject
* _argo0
= 0;
8103 PyObject
* _obj1
= 0;
8104 char *_kwnames
[] = { "self","rect", NULL
};
8107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxScreenDC_StartDrawingOnTop",_kwnames
,&_argo0
,&_obj1
))
8110 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8111 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
8112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTop. Expected _wxScreenDC_p.");
8119 if (! wxRect_helper(_obj1
, &_arg1
))
8123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8124 _result
= (bool )wxScreenDC_StartDrawingOnTop(_arg0
,_arg1
);
8126 wxPyEndAllowThreads(__tstate
);
8127 if (PyErr_Occurred()) return NULL
;
8128 } _resultobj
= Py_BuildValue("i",_result
);
8132 #define wxScreenDC_EndDrawingOnTop(_swigobj) (_swigobj->EndDrawingOnTop())
8133 static PyObject
*_wrap_wxScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8134 PyObject
* _resultobj
;
8137 PyObject
* _argo0
= 0;
8138 char *_kwnames
[] = { "self", NULL
};
8141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScreenDC_EndDrawingOnTop",_kwnames
,&_argo0
))
8144 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8145 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
8146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_EndDrawingOnTop. Expected _wxScreenDC_p.");
8151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8152 _result
= (bool )wxScreenDC_EndDrawingOnTop(_arg0
);
8154 wxPyEndAllowThreads(__tstate
);
8155 if (PyErr_Occurred()) return NULL
;
8156 } _resultobj
= Py_BuildValue("i",_result
);
8160 static void *SwigwxClientDCTowxDC(void *ptr
) {
8163 src
= (wxClientDC
*) ptr
;
8164 dest
= (wxDC
*) src
;
8165 return (void *) dest
;
8168 static void *SwigwxClientDCTowxObject(void *ptr
) {
8171 src
= (wxClientDC
*) ptr
;
8172 dest
= (wxObject
*) src
;
8173 return (void *) dest
;
8176 #define new_wxClientDC(_swigarg0) (new wxClientDC(_swigarg0))
8177 static PyObject
*_wrap_new_wxClientDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8178 PyObject
* _resultobj
;
8179 wxClientDC
* _result
;
8181 PyObject
* _argo0
= 0;
8182 char *_kwnames
[] = { "win", NULL
};
8186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxClientDC",_kwnames
,&_argo0
))
8189 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8190 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxClientDC. Expected _wxWindow_p.");
8196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8197 _result
= (wxClientDC
*)new_wxClientDC(_arg0
);
8199 wxPyEndAllowThreads(__tstate
);
8200 if (PyErr_Occurred()) return NULL
;
8202 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxClientDC_p");
8203 _resultobj
= Py_BuildValue("s",_ptemp
);
8206 _resultobj
= Py_None
;
8211 static void *SwigwxPaintDCTowxDC(void *ptr
) {
8214 src
= (wxPaintDC
*) ptr
;
8215 dest
= (wxDC
*) src
;
8216 return (void *) dest
;
8219 static void *SwigwxPaintDCTowxObject(void *ptr
) {
8222 src
= (wxPaintDC
*) ptr
;
8223 dest
= (wxObject
*) src
;
8224 return (void *) dest
;
8227 #define new_wxPaintDC(_swigarg0) (new wxPaintDC(_swigarg0))
8228 static PyObject
*_wrap_new_wxPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8229 PyObject
* _resultobj
;
8230 wxPaintDC
* _result
;
8232 PyObject
* _argo0
= 0;
8233 char *_kwnames
[] = { "win", NULL
};
8237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPaintDC",_kwnames
,&_argo0
))
8240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPaintDC. Expected _wxWindow_p.");
8247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8248 _result
= (wxPaintDC
*)new_wxPaintDC(_arg0
);
8250 wxPyEndAllowThreads(__tstate
);
8251 if (PyErr_Occurred()) return NULL
;
8253 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPaintDC_p");
8254 _resultobj
= Py_BuildValue("s",_ptemp
);
8257 _resultobj
= Py_None
;
8262 static void *SwigwxWindowDCTowxDC(void *ptr
) {
8265 src
= (wxWindowDC
*) ptr
;
8266 dest
= (wxDC
*) src
;
8267 return (void *) dest
;
8270 static void *SwigwxWindowDCTowxObject(void *ptr
) {
8273 src
= (wxWindowDC
*) ptr
;
8274 dest
= (wxObject
*) src
;
8275 return (void *) dest
;
8278 #define new_wxWindowDC(_swigarg0) (new wxWindowDC(_swigarg0))
8279 static PyObject
*_wrap_new_wxWindowDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8280 PyObject
* _resultobj
;
8281 wxWindowDC
* _result
;
8283 PyObject
* _argo0
= 0;
8284 char *_kwnames
[] = { "win", NULL
};
8288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxWindowDC",_kwnames
,&_argo0
))
8291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDC. Expected _wxWindow_p.");
8298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8299 _result
= (wxWindowDC
*)new_wxWindowDC(_arg0
);
8301 wxPyEndAllowThreads(__tstate
);
8302 if (PyErr_Occurred()) return NULL
;
8304 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDC_p");
8305 _resultobj
= Py_BuildValue("s",_ptemp
);
8308 _resultobj
= Py_None
;
8313 static void *SwigwxPaletteTowxGDIObject(void *ptr
) {
8316 src
= (wxPalette
*) ptr
;
8317 dest
= (wxGDIObject
*) src
;
8318 return (void *) dest
;
8321 static void *SwigwxPaletteTowxObject(void *ptr
) {
8324 src
= (wxPalette
*) ptr
;
8325 dest
= (wxObject
*) src
;
8326 return (void *) dest
;
8329 #define new_wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8330 static PyObject
*_wrap_new_wxPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8331 PyObject
* _resultobj
;
8332 wxPalette
* _result
;
8337 PyObject
* _obj1
= 0;
8338 PyObject
* _obj2
= 0;
8339 PyObject
* _obj3
= 0;
8340 char *_kwnames
[] = { "choices","choices","choices", NULL
};
8344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:new_wxPalette",_kwnames
,&_obj1
,&_obj2
,&_obj3
))
8347 _arg1
= byte_LIST_helper(_obj1
);
8348 if (_arg1
== NULL
) {
8353 _arg2
= byte_LIST_helper(_obj2
);
8354 if (_arg2
== NULL
) {
8360 _arg3
= byte_LIST_helper(_obj3
);
8361 if (_arg3
== NULL
) {
8367 _arg0
= PyList_Size(_obj1
);
8374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8375 _result
= (wxPalette
*)new_wxPalette(_arg0
,_arg1
,_arg2
,_arg3
);
8377 wxPyEndAllowThreads(__tstate
);
8378 if (PyErr_Occurred()) return NULL
;
8380 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
8381 _resultobj
= Py_BuildValue("s",_ptemp
);
8384 _resultobj
= Py_None
;
8398 #define delete_wxPalette(_swigobj) (delete _swigobj)
8399 static PyObject
*_wrap_delete_wxPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8400 PyObject
* _resultobj
;
8402 PyObject
* _argo0
= 0;
8403 char *_kwnames
[] = { "self", NULL
};
8406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPalette",_kwnames
,&_argo0
))
8409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
8411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPalette. Expected _wxPalette_p.");
8416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8417 delete_wxPalette(_arg0
);
8419 wxPyEndAllowThreads(__tstate
);
8420 if (PyErr_Occurred()) return NULL
;
8421 } Py_INCREF(Py_None
);
8422 _resultobj
= Py_None
;
8426 #define wxPalette_GetPixel(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetPixel(_swigarg0,_swigarg1,_swigarg2))
8427 static PyObject
*_wrap_wxPalette_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8428 PyObject
* _resultobj
;
8434 PyObject
* _argo0
= 0;
8435 char *_kwnames
[] = { "self","red","green","blue", NULL
};
8438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Obbb:wxPalette_GetPixel",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
8441 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8442 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
8443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetPixel. Expected _wxPalette_p.");
8448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8449 _result
= (int )wxPalette_GetPixel(_arg0
,_arg1
,_arg2
,_arg3
);
8451 wxPyEndAllowThreads(__tstate
);
8452 if (PyErr_Occurred()) return NULL
;
8453 } _resultobj
= Py_BuildValue("i",_result
);
8457 #define wxPalette_GetRGB(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetRGB(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8458 static PyObject
*_wrap_wxPalette_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8459 PyObject
* _resultobj
;
8469 PyObject
* _argo0
= 0;
8470 char *_kwnames
[] = { "self","pixel", NULL
};
8474 _arg2
= (byte
*)&temp
;
8477 _arg3
= (byte
*)&temp0
;
8480 _arg4
= (byte
*)&temp1
;
8482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPalette_GetRGB",_kwnames
,&_argo0
,&_arg1
))
8485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
8487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetRGB. Expected _wxPalette_p.");
8492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8493 _result
= (bool )wxPalette_GetRGB(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
8495 wxPyEndAllowThreads(__tstate
);
8496 if (PyErr_Occurred()) return NULL
;
8497 } _resultobj
= Py_BuildValue("i",_result
);
8500 o
= PyInt_FromLong((long) (*_arg2
));
8501 _resultobj
= t_output_helper(_resultobj
, o
);
8505 o
= PyInt_FromLong((long) (*_arg3
));
8506 _resultobj
= t_output_helper(_resultobj
, o
);
8510 o
= PyInt_FromLong((long) (*_arg4
));
8511 _resultobj
= t_output_helper(_resultobj
, o
);
8516 #define wxPalette_Ok(_swigobj) (_swigobj->Ok())
8517 static PyObject
*_wrap_wxPalette_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8518 PyObject
* _resultobj
;
8521 PyObject
* _argo0
= 0;
8522 char *_kwnames
[] = { "self", NULL
};
8525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPalette_Ok",_kwnames
,&_argo0
))
8528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
8530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_Ok. Expected _wxPalette_p.");
8535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8536 _result
= (bool )wxPalette_Ok(_arg0
);
8538 wxPyEndAllowThreads(__tstate
);
8539 if (PyErr_Occurred()) return NULL
;
8540 } _resultobj
= Py_BuildValue("i",_result
);
8544 static void *SwigwxImageListTowxObject(void *ptr
) {
8547 src
= (wxImageList
*) ptr
;
8548 dest
= (wxObject
*) src
;
8549 return (void *) dest
;
8552 #define new_wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8553 static PyObject
*_wrap_new_wxImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8554 PyObject
* _resultobj
;
8555 wxImageList
* _result
;
8558 int _arg2
= (int ) TRUE
;
8559 int _arg3
= (int ) 1;
8560 char *_kwnames
[] = { "width","height","mask","initialCount", NULL
};
8564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ii|ii:new_wxImageList",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
8567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8568 _result
= (wxImageList
*)new_wxImageList(_arg0
,_arg1
,_arg2
,_arg3
);
8570 wxPyEndAllowThreads(__tstate
);
8571 if (PyErr_Occurred()) return NULL
;
8573 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
8574 _resultobj
= Py_BuildValue("s",_ptemp
);
8577 _resultobj
= Py_None
;
8582 #define delete_wxImageList(_swigobj) (delete _swigobj)
8583 static PyObject
*_wrap_delete_wxImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8584 PyObject
* _resultobj
;
8585 wxImageList
* _arg0
;
8586 PyObject
* _argo0
= 0;
8587 char *_kwnames
[] = { "self", NULL
};
8590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxImageList",_kwnames
,&_argo0
))
8593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
8595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxImageList. Expected _wxImageList_p.");
8600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8601 delete_wxImageList(_arg0
);
8603 wxPyEndAllowThreads(__tstate
);
8604 if (PyErr_Occurred()) return NULL
;
8605 } Py_INCREF(Py_None
);
8606 _resultobj
= Py_None
;
8610 #define wxImageList_Add(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
8611 static PyObject
*_wrap_wxImageList_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8612 PyObject
* _resultobj
;
8614 wxImageList
* _arg0
;
8616 wxBitmap
* _arg2
= (wxBitmap
*) &wxNullBitmap
;
8617 PyObject
* _argo0
= 0;
8618 PyObject
* _argo1
= 0;
8619 PyObject
* _argo2
= 0;
8620 char *_kwnames
[] = { "self","bitmap","mask", NULL
};
8623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxImageList_Add",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
8626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
8628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Add. Expected _wxImageList_p.");
8633 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8634 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
8635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_Add. Expected _wxBitmap_p.");
8640 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8641 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
8642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Add. Expected _wxBitmap_p.");
8647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8648 _result
= (int )wxImageList_Add(_arg0
,*_arg1
,*_arg2
);
8650 wxPyEndAllowThreads(__tstate
);
8651 if (PyErr_Occurred()) return NULL
;
8652 } _resultobj
= Py_BuildValue("i",_result
);
8656 #define wxImageList_AddWithColourMask(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
8657 static PyObject
*_wrap_wxImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8658 PyObject
* _resultobj
;
8660 wxImageList
* _arg0
;
8663 PyObject
* _argo0
= 0;
8664 PyObject
* _argo1
= 0;
8666 PyObject
* _obj2
= 0;
8667 char *_kwnames
[] = { "self","bitmap","maskColour", NULL
};
8670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxImageList_AddWithColourMask",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
8673 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8674 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
8675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_AddWithColourMask. Expected _wxImageList_p.");
8680 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8681 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
8682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_AddWithColourMask. Expected _wxBitmap_p.");
8688 if (! wxColour_helper(_obj2
, &_arg2
))
8692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8693 _result
= (int )wxImageList_AddWithColourMask(_arg0
,*_arg1
,*_arg2
);
8695 wxPyEndAllowThreads(__tstate
);
8696 if (PyErr_Occurred()) return NULL
;
8697 } _resultobj
= Py_BuildValue("i",_result
);
8701 #define wxImageList_AddIcon(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
8702 static PyObject
*_wrap_wxImageList_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8703 PyObject
* _resultobj
;
8705 wxImageList
* _arg0
;
8707 PyObject
* _argo0
= 0;
8708 PyObject
* _argo1
= 0;
8709 char *_kwnames
[] = { "self","icon", NULL
};
8712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxImageList_AddIcon",_kwnames
,&_argo0
,&_argo1
))
8715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
8717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_AddIcon. Expected _wxImageList_p.");
8722 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8723 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
8724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_AddIcon. Expected _wxIcon_p.");
8729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8730 _result
= (int )wxImageList_AddIcon(_arg0
,*_arg1
);
8732 wxPyEndAllowThreads(__tstate
);
8733 if (PyErr_Occurred()) return NULL
;
8734 } _resultobj
= Py_BuildValue("i",_result
);
8738 #define wxImageList_Replace(_swigobj,_swigarg0,_swigarg1) (_swigobj->Replace(_swigarg0,_swigarg1))
8739 static PyObject
*_wrap_wxImageList_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8740 PyObject
* _resultobj
;
8742 wxImageList
* _arg0
;
8745 PyObject
* _argo0
= 0;
8746 PyObject
* _argo2
= 0;
8747 char *_kwnames
[] = { "self","index","bitmap", NULL
};
8750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxImageList_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
8753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
8755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Replace. Expected _wxImageList_p.");
8760 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8761 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
8762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Replace. Expected _wxBitmap_p.");
8767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8768 _result
= (bool )wxImageList_Replace(_arg0
,_arg1
,*_arg2
);
8770 wxPyEndAllowThreads(__tstate
);
8771 if (PyErr_Occurred()) return NULL
;
8772 } _resultobj
= Py_BuildValue("i",_result
);
8776 #define wxImageList_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8777 static PyObject
*_wrap_wxImageList_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8778 PyObject
* _resultobj
;
8780 wxImageList
* _arg0
;
8785 int _arg5
= (int ) (wxIMAGELIST_DRAW_NORMAL
);
8786 bool _arg6
= (bool ) FALSE
;
8787 PyObject
* _argo0
= 0;
8788 PyObject
* _argo2
= 0;
8789 int tempbool6
= (int) FALSE
;
8790 char *_kwnames
[] = { "self","index","dc","x","x","flags","solidBackground", NULL
};
8793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOii|ii:wxImageList_Draw",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
8796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
8798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Draw. Expected _wxImageList_p.");
8803 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8804 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDC_p")) {
8805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Draw. Expected _wxDC_p.");
8809 _arg6
= (bool ) tempbool6
;
8811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8812 _result
= (bool )wxImageList_Draw(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
8814 wxPyEndAllowThreads(__tstate
);
8815 if (PyErr_Occurred()) return NULL
;
8816 } _resultobj
= Py_BuildValue("i",_result
);
8820 #define wxImageList_GetImageCount(_swigobj) (_swigobj->GetImageCount())
8821 static PyObject
*_wrap_wxImageList_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8822 PyObject
* _resultobj
;
8824 wxImageList
* _arg0
;
8825 PyObject
* _argo0
= 0;
8826 char *_kwnames
[] = { "self", NULL
};
8829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImageList_GetImageCount",_kwnames
,&_argo0
))
8832 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8833 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
8834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_GetImageCount. Expected _wxImageList_p.");
8839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8840 _result
= (int )wxImageList_GetImageCount(_arg0
);
8842 wxPyEndAllowThreads(__tstate
);
8843 if (PyErr_Occurred()) return NULL
;
8844 } _resultobj
= Py_BuildValue("i",_result
);
8848 #define wxImageList_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
8849 static PyObject
*_wrap_wxImageList_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8850 PyObject
* _resultobj
;
8852 wxImageList
* _arg0
;
8854 PyObject
* _argo0
= 0;
8855 char *_kwnames
[] = { "self","index", NULL
};
8858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxImageList_Remove",_kwnames
,&_argo0
,&_arg1
))
8861 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8862 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
8863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Remove. Expected _wxImageList_p.");
8868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8869 _result
= (bool )wxImageList_Remove(_arg0
,_arg1
);
8871 wxPyEndAllowThreads(__tstate
);
8872 if (PyErr_Occurred()) return NULL
;
8873 } _resultobj
= Py_BuildValue("i",_result
);
8877 #define wxImageList_RemoveAll(_swigobj) (_swigobj->RemoveAll())
8878 static PyObject
*_wrap_wxImageList_RemoveAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8879 PyObject
* _resultobj
;
8881 wxImageList
* _arg0
;
8882 PyObject
* _argo0
= 0;
8883 char *_kwnames
[] = { "self", NULL
};
8886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImageList_RemoveAll",_kwnames
,&_argo0
))
8889 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8890 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
8891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_RemoveAll. Expected _wxImageList_p.");
8896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8897 _result
= (bool )wxImageList_RemoveAll(_arg0
);
8899 wxPyEndAllowThreads(__tstate
);
8900 if (PyErr_Occurred()) return NULL
;
8901 } _resultobj
= Py_BuildValue("i",_result
);
8905 #define wxImageList_GetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetSize(_swigarg0,_swigarg1,_swigarg2))
8906 static PyObject
*_wrap_wxImageList_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8907 PyObject
* _resultobj
;
8908 wxImageList
* _arg0
;
8914 PyObject
* _argo0
= 0;
8915 char *_kwnames
[] = { "self","index", NULL
};
8924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxImageList_GetSize",_kwnames
,&_argo0
,&_arg1
))
8927 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8928 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
8929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_GetSize. Expected _wxImageList_p.");
8934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8935 wxImageList_GetSize(_arg0
,_arg1
,*_arg2
,*_arg3
);
8937 wxPyEndAllowThreads(__tstate
);
8938 if (PyErr_Occurred()) return NULL
;
8939 } Py_INCREF(Py_None
);
8940 _resultobj
= Py_None
;
8943 o
= PyInt_FromLong((long) (*_arg2
));
8944 _resultobj
= t_output_helper(_resultobj
, o
);
8948 o
= PyInt_FromLong((long) (*_arg3
));
8949 _resultobj
= t_output_helper(_resultobj
, o
);
8954 static void *SwigwxRegionTowxGDIObject(void *ptr
) {
8957 src
= (wxRegion
*) ptr
;
8958 dest
= (wxGDIObject
*) src
;
8959 return (void *) dest
;
8962 static void *SwigwxRegionTowxObject(void *ptr
) {
8965 src
= (wxRegion
*) ptr
;
8966 dest
= (wxObject
*) src
;
8967 return (void *) dest
;
8970 #define new_wxRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8971 static PyObject
*_wrap_new_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8972 PyObject
* _resultobj
;
8974 long _arg0
= (long ) 0;
8975 long _arg1
= (long ) 0;
8976 long _arg2
= (long ) 0;
8977 long _arg3
= (long ) 0;
8978 char *_kwnames
[] = { "x","y","width","height", NULL
};
8982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|llll:new_wxRegion",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
8985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8986 _result
= (wxRegion
*)new_wxRegion(_arg0
,_arg1
,_arg2
,_arg3
);
8988 wxPyEndAllowThreads(__tstate
);
8989 if (PyErr_Occurred()) return NULL
;
8991 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegion_p");
8992 _resultobj
= Py_BuildValue("s",_ptemp
);
8995 _resultobj
= Py_None
;
9000 #define delete_wxRegion(_swigobj) (delete _swigobj)
9001 static PyObject
*_wrap_delete_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9002 PyObject
* _resultobj
;
9004 PyObject
* _argo0
= 0;
9005 char *_kwnames
[] = { "self", NULL
};
9008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegion",_kwnames
,&_argo0
))
9011 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9012 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegion. Expected _wxRegion_p.");
9018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9019 delete_wxRegion(_arg0
);
9021 wxPyEndAllowThreads(__tstate
);
9022 if (PyErr_Occurred()) return NULL
;
9023 } Py_INCREF(Py_None
);
9024 _resultobj
= Py_None
;
9028 #define wxRegion_Clear(_swigobj) (_swigobj->Clear())
9029 static PyObject
*_wrap_wxRegion_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9030 PyObject
* _resultobj
;
9032 PyObject
* _argo0
= 0;
9033 char *_kwnames
[] = { "self", NULL
};
9036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_Clear",_kwnames
,&_argo0
))
9039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Clear. Expected _wxRegion_p.");
9046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9047 wxRegion_Clear(_arg0
);
9049 wxPyEndAllowThreads(__tstate
);
9050 if (PyErr_Occurred()) return NULL
;
9051 } Py_INCREF(Py_None
);
9052 _resultobj
= Py_None
;
9056 #define wxRegion_Contains(_swigobj,_swigarg0,_swigarg1) (_swigobj->Contains(_swigarg0,_swigarg1))
9057 static PyObject
*_wrap_wxRegion_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9058 PyObject
* _resultobj
;
9059 wxRegionContain _result
;
9063 PyObject
* _argo0
= 0;
9064 char *_kwnames
[] = { "self","x","y", NULL
};
9067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxRegion_Contains",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9070 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9071 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Contains. Expected _wxRegion_p.");
9077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9078 _result
= (wxRegionContain
)wxRegion_Contains(_arg0
,_arg1
,_arg2
);
9080 wxPyEndAllowThreads(__tstate
);
9081 if (PyErr_Occurred()) return NULL
;
9082 } _resultobj
= Py_BuildValue("i",_result
);
9086 #define wxRegion_ContainsPoint(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
9087 static PyObject
*_wrap_wxRegion_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9088 PyObject
* _resultobj
;
9089 wxRegionContain _result
;
9092 PyObject
* _argo0
= 0;
9094 PyObject
* _obj1
= 0;
9095 char *_kwnames
[] = { "self","pt", NULL
};
9098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsPoint",_kwnames
,&_argo0
,&_obj1
))
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_ContainsPoint. Expected _wxRegion_p.");
9109 if (! wxPoint_helper(_obj1
, &_arg1
))
9113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9114 _result
= (wxRegionContain
)wxRegion_ContainsPoint(_arg0
,*_arg1
);
9116 wxPyEndAllowThreads(__tstate
);
9117 if (PyErr_Occurred()) return NULL
;
9118 } _resultobj
= Py_BuildValue("i",_result
);
9122 #define wxRegion_ContainsRect(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
9123 static PyObject
*_wrap_wxRegion_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9124 PyObject
* _resultobj
;
9125 wxRegionContain _result
;
9128 PyObject
* _argo0
= 0;
9130 PyObject
* _obj1
= 0;
9131 char *_kwnames
[] = { "self","rect", NULL
};
9134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsRect",_kwnames
,&_argo0
,&_obj1
))
9137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRect. Expected _wxRegion_p.");
9145 if (! wxRect_helper(_obj1
, &_arg1
))
9149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9150 _result
= (wxRegionContain
)wxRegion_ContainsRect(_arg0
,*_arg1
);
9152 wxPyEndAllowThreads(__tstate
);
9153 if (PyErr_Occurred()) return NULL
;
9154 } _resultobj
= Py_BuildValue("i",_result
);
9158 #define wxRegion_ContainsRectDim(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Contains(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9159 static PyObject
*_wrap_wxRegion_ContainsRectDim(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9160 PyObject
* _resultobj
;
9161 wxRegionContain _result
;
9167 PyObject
* _argo0
= 0;
9168 char *_kwnames
[] = { "self","x","y","w","h", NULL
};
9171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_ContainsRectDim",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
9174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRectDim. Expected _wxRegion_p.");
9181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9182 _result
= (wxRegionContain
)wxRegion_ContainsRectDim(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
9184 wxPyEndAllowThreads(__tstate
);
9185 if (PyErr_Occurred()) return NULL
;
9186 } _resultobj
= Py_BuildValue("i",_result
);
9190 #define wxRegion_GetBox(_swigobj) (_swigobj->GetBox())
9191 static PyObject
*_wrap_wxRegion_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9192 PyObject
* _resultobj
;
9195 PyObject
* _argo0
= 0;
9196 char *_kwnames
[] = { "self", NULL
};
9200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_GetBox",_kwnames
,&_argo0
))
9203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_GetBox. Expected _wxRegion_p.");
9210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9211 _result
= new wxRect (wxRegion_GetBox(_arg0
));
9213 wxPyEndAllowThreads(__tstate
);
9214 if (PyErr_Occurred()) return NULL
;
9215 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
9216 _resultobj
= Py_BuildValue("s",_ptemp
);
9220 #define wxRegion_Intersect(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Intersect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9221 static PyObject
*_wrap_wxRegion_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9222 PyObject
* _resultobj
;
9229 PyObject
* _argo0
= 0;
9230 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
9233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Intersect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
9236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Intersect. Expected _wxRegion_p.");
9243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9244 _result
= (bool )wxRegion_Intersect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
9246 wxPyEndAllowThreads(__tstate
);
9247 if (PyErr_Occurred()) return NULL
;
9248 } _resultobj
= Py_BuildValue("i",_result
);
9252 #define wxRegion_IntersectRect(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
9253 static PyObject
*_wrap_wxRegion_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9254 PyObject
* _resultobj
;
9258 PyObject
* _argo0
= 0;
9260 PyObject
* _obj1
= 0;
9261 char *_kwnames
[] = { "self","rect", NULL
};
9264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_IntersectRect",_kwnames
,&_argo0
,&_obj1
))
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_IntersectRect. Expected _wxRegion_p.");
9275 if (! wxRect_helper(_obj1
, &_arg1
))
9279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9280 _result
= (bool )wxRegion_IntersectRect(_arg0
,*_arg1
);
9282 wxPyEndAllowThreads(__tstate
);
9283 if (PyErr_Occurred()) return NULL
;
9284 } _resultobj
= Py_BuildValue("i",_result
);
9288 #define wxRegion_IntersectRegion(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
9289 static PyObject
*_wrap_wxRegion_IntersectRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9290 PyObject
* _resultobj
;
9294 PyObject
* _argo0
= 0;
9295 PyObject
* _argo1
= 0;
9296 char *_kwnames
[] = { "self","region", NULL
};
9299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_IntersectRegion",_kwnames
,&_argo0
,&_argo1
))
9302 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9303 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
9309 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9310 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
9311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
9316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9317 _result
= (bool )wxRegion_IntersectRegion(_arg0
,*_arg1
);
9319 wxPyEndAllowThreads(__tstate
);
9320 if (PyErr_Occurred()) return NULL
;
9321 } _resultobj
= Py_BuildValue("i",_result
);
9325 #define wxRegion_IsEmpty(_swigobj) (_swigobj->IsEmpty())
9326 static PyObject
*_wrap_wxRegion_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9327 PyObject
* _resultobj
;
9330 PyObject
* _argo0
= 0;
9331 char *_kwnames
[] = { "self", NULL
};
9334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_IsEmpty",_kwnames
,&_argo0
))
9337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IsEmpty. Expected _wxRegion_p.");
9344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9345 _result
= (bool )wxRegion_IsEmpty(_arg0
);
9347 wxPyEndAllowThreads(__tstate
);
9348 if (PyErr_Occurred()) return NULL
;
9349 } _resultobj
= Py_BuildValue("i",_result
);
9353 #define wxRegion_Union(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Union(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9354 static PyObject
*_wrap_wxRegion_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9355 PyObject
* _resultobj
;
9362 PyObject
* _argo0
= 0;
9363 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
9366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Union",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
9369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Union. Expected _wxRegion_p.");
9376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9377 _result
= (bool )wxRegion_Union(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
9379 wxPyEndAllowThreads(__tstate
);
9380 if (PyErr_Occurred()) return NULL
;
9381 } _resultobj
= Py_BuildValue("i",_result
);
9385 #define wxRegion_UnionRect(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
9386 static PyObject
*_wrap_wxRegion_UnionRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9387 PyObject
* _resultobj
;
9391 PyObject
* _argo0
= 0;
9393 PyObject
* _obj1
= 0;
9394 char *_kwnames
[] = { "self","rect", NULL
};
9397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_UnionRect",_kwnames
,&_argo0
,&_obj1
))
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_UnionRect. Expected _wxRegion_p.");
9408 if (! wxRect_helper(_obj1
, &_arg1
))
9412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9413 _result
= (bool )wxRegion_UnionRect(_arg0
,*_arg1
);
9415 wxPyEndAllowThreads(__tstate
);
9416 if (PyErr_Occurred()) return NULL
;
9417 } _resultobj
= Py_BuildValue("i",_result
);
9421 #define wxRegion_UnionRegion(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
9422 static PyObject
*_wrap_wxRegion_UnionRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9423 PyObject
* _resultobj
;
9427 PyObject
* _argo0
= 0;
9428 PyObject
* _argo1
= 0;
9429 char *_kwnames
[] = { "self","region", NULL
};
9432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_UnionRegion",_kwnames
,&_argo0
,&_argo1
))
9435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_UnionRegion. Expected _wxRegion_p.");
9442 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9443 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
9444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_UnionRegion. Expected _wxRegion_p.");
9449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9450 _result
= (bool )wxRegion_UnionRegion(_arg0
,*_arg1
);
9452 wxPyEndAllowThreads(__tstate
);
9453 if (PyErr_Occurred()) return NULL
;
9454 } _resultobj
= Py_BuildValue("i",_result
);
9458 #define wxRegion_Subtract(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Subtract(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9459 static PyObject
*_wrap_wxRegion_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9460 PyObject
* _resultobj
;
9467 PyObject
* _argo0
= 0;
9468 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
9471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Subtract",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
9474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Subtract. Expected _wxRegion_p.");
9481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9482 _result
= (bool )wxRegion_Subtract(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
9484 wxPyEndAllowThreads(__tstate
);
9485 if (PyErr_Occurred()) return NULL
;
9486 } _resultobj
= Py_BuildValue("i",_result
);
9490 #define wxRegion_SubtractRect(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
9491 static PyObject
*_wrap_wxRegion_SubtractRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9492 PyObject
* _resultobj
;
9496 PyObject
* _argo0
= 0;
9498 PyObject
* _obj1
= 0;
9499 char *_kwnames
[] = { "self","rect", NULL
};
9502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_SubtractRect",_kwnames
,&_argo0
,&_obj1
))
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_SubtractRect. Expected _wxRegion_p.");
9513 if (! wxRect_helper(_obj1
, &_arg1
))
9517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9518 _result
= (bool )wxRegion_SubtractRect(_arg0
,*_arg1
);
9520 wxPyEndAllowThreads(__tstate
);
9521 if (PyErr_Occurred()) return NULL
;
9522 } _resultobj
= Py_BuildValue("i",_result
);
9526 #define wxRegion_SubtractRegion(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
9527 static PyObject
*_wrap_wxRegion_SubtractRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9528 PyObject
* _resultobj
;
9532 PyObject
* _argo0
= 0;
9533 PyObject
* _argo1
= 0;
9534 char *_kwnames
[] = { "self","region", NULL
};
9537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_SubtractRegion",_kwnames
,&_argo0
,&_argo1
))
9540 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9541 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
9547 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9548 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
9549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
9554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9555 _result
= (bool )wxRegion_SubtractRegion(_arg0
,*_arg1
);
9557 wxPyEndAllowThreads(__tstate
);
9558 if (PyErr_Occurred()) return NULL
;
9559 } _resultobj
= Py_BuildValue("i",_result
);
9563 #define wxRegion_Xor(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Xor(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9564 static PyObject
*_wrap_wxRegion_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9565 PyObject
* _resultobj
;
9572 PyObject
* _argo0
= 0;
9573 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
9576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Xor",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
9579 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9580 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Xor. Expected _wxRegion_p.");
9586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9587 _result
= (bool )wxRegion_Xor(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
9589 wxPyEndAllowThreads(__tstate
);
9590 if (PyErr_Occurred()) return NULL
;
9591 } _resultobj
= Py_BuildValue("i",_result
);
9595 #define wxRegion_XorRect(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
9596 static PyObject
*_wrap_wxRegion_XorRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9597 PyObject
* _resultobj
;
9601 PyObject
* _argo0
= 0;
9603 PyObject
* _obj1
= 0;
9604 char *_kwnames
[] = { "self","rect", NULL
};
9607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_XorRect",_kwnames
,&_argo0
,&_obj1
))
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_XorRect. Expected _wxRegion_p.");
9618 if (! wxRect_helper(_obj1
, &_arg1
))
9622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9623 _result
= (bool )wxRegion_XorRect(_arg0
,*_arg1
);
9625 wxPyEndAllowThreads(__tstate
);
9626 if (PyErr_Occurred()) return NULL
;
9627 } _resultobj
= Py_BuildValue("i",_result
);
9631 #define wxRegion_XorRegion(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
9632 static PyObject
*_wrap_wxRegion_XorRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9633 PyObject
* _resultobj
;
9637 PyObject
* _argo0
= 0;
9638 PyObject
* _argo1
= 0;
9639 char *_kwnames
[] = { "self","region", NULL
};
9642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_XorRegion",_kwnames
,&_argo0
,&_argo1
))
9645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_XorRegion. Expected _wxRegion_p.");
9652 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9653 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
9654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_XorRegion. Expected _wxRegion_p.");
9659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9660 _result
= (bool )wxRegion_XorRegion(_arg0
,*_arg1
);
9662 wxPyEndAllowThreads(__tstate
);
9663 if (PyErr_Occurred()) return NULL
;
9664 } _resultobj
= Py_BuildValue("i",_result
);
9668 static void *SwigwxRegionIteratorTowxObject(void *ptr
) {
9669 wxRegionIterator
*src
;
9671 src
= (wxRegionIterator
*) ptr
;
9672 dest
= (wxObject
*) src
;
9673 return (void *) dest
;
9676 #define new_wxRegionIterator(_swigarg0) (new wxRegionIterator(_swigarg0))
9677 static PyObject
*_wrap_new_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9678 PyObject
* _resultobj
;
9679 wxRegionIterator
* _result
;
9681 PyObject
* _argo0
= 0;
9682 char *_kwnames
[] = { "region", NULL
};
9686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxRegionIterator",_kwnames
,&_argo0
))
9689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRegionIterator. Expected _wxRegion_p.");
9696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9697 _result
= (wxRegionIterator
*)new_wxRegionIterator(*_arg0
);
9699 wxPyEndAllowThreads(__tstate
);
9700 if (PyErr_Occurred()) return NULL
;
9702 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegionIterator_p");
9703 _resultobj
= Py_BuildValue("s",_ptemp
);
9706 _resultobj
= Py_None
;
9711 #define delete_wxRegionIterator(_swigobj) (delete _swigobj)
9712 static PyObject
*_wrap_delete_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9713 PyObject
* _resultobj
;
9714 wxRegionIterator
* _arg0
;
9715 PyObject
* _argo0
= 0;
9716 char *_kwnames
[] = { "self", NULL
};
9719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegionIterator",_kwnames
,&_argo0
))
9722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
9724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegionIterator. Expected _wxRegionIterator_p.");
9729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9730 delete_wxRegionIterator(_arg0
);
9732 wxPyEndAllowThreads(__tstate
);
9733 if (PyErr_Occurred()) return NULL
;
9734 } Py_INCREF(Py_None
);
9735 _resultobj
= Py_None
;
9739 #define wxRegionIterator_GetX(_swigobj) (_swigobj->GetX())
9740 static PyObject
*_wrap_wxRegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9741 PyObject
* _resultobj
;
9743 wxRegionIterator
* _arg0
;
9744 PyObject
* _argo0
= 0;
9745 char *_kwnames
[] = { "self", NULL
};
9748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetX",_kwnames
,&_argo0
))
9751 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9752 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
9753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetX. Expected _wxRegionIterator_p.");
9758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9759 _result
= (long )wxRegionIterator_GetX(_arg0
);
9761 wxPyEndAllowThreads(__tstate
);
9762 if (PyErr_Occurred()) return NULL
;
9763 } _resultobj
= Py_BuildValue("l",_result
);
9767 #define wxRegionIterator_GetY(_swigobj) (_swigobj->GetY())
9768 static PyObject
*_wrap_wxRegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9769 PyObject
* _resultobj
;
9771 wxRegionIterator
* _arg0
;
9772 PyObject
* _argo0
= 0;
9773 char *_kwnames
[] = { "self", NULL
};
9776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetY",_kwnames
,&_argo0
))
9779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
9781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetY. Expected _wxRegionIterator_p.");
9786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9787 _result
= (long )wxRegionIterator_GetY(_arg0
);
9789 wxPyEndAllowThreads(__tstate
);
9790 if (PyErr_Occurred()) return NULL
;
9791 } _resultobj
= Py_BuildValue("l",_result
);
9795 #define wxRegionIterator_GetW(_swigobj) (_swigobj->GetW())
9796 static PyObject
*_wrap_wxRegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9797 PyObject
* _resultobj
;
9799 wxRegionIterator
* _arg0
;
9800 PyObject
* _argo0
= 0;
9801 char *_kwnames
[] = { "self", NULL
};
9804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetW",_kwnames
,&_argo0
))
9807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
9809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetW. Expected _wxRegionIterator_p.");
9814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9815 _result
= (long )wxRegionIterator_GetW(_arg0
);
9817 wxPyEndAllowThreads(__tstate
);
9818 if (PyErr_Occurred()) return NULL
;
9819 } _resultobj
= Py_BuildValue("l",_result
);
9823 #define wxRegionIterator_GetWidth(_swigobj) (_swigobj->GetWidth())
9824 static PyObject
*_wrap_wxRegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9825 PyObject
* _resultobj
;
9827 wxRegionIterator
* _arg0
;
9828 PyObject
* _argo0
= 0;
9829 char *_kwnames
[] = { "self", NULL
};
9832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetWidth",_kwnames
,&_argo0
))
9835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
9837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetWidth. Expected _wxRegionIterator_p.");
9842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9843 _result
= (long )wxRegionIterator_GetWidth(_arg0
);
9845 wxPyEndAllowThreads(__tstate
);
9846 if (PyErr_Occurred()) return NULL
;
9847 } _resultobj
= Py_BuildValue("l",_result
);
9851 #define wxRegionIterator_GetH(_swigobj) (_swigobj->GetH())
9852 static PyObject
*_wrap_wxRegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9853 PyObject
* _resultobj
;
9855 wxRegionIterator
* _arg0
;
9856 PyObject
* _argo0
= 0;
9857 char *_kwnames
[] = { "self", NULL
};
9860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetH",_kwnames
,&_argo0
))
9863 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9864 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
9865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetH. Expected _wxRegionIterator_p.");
9870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9871 _result
= (long )wxRegionIterator_GetH(_arg0
);
9873 wxPyEndAllowThreads(__tstate
);
9874 if (PyErr_Occurred()) return NULL
;
9875 } _resultobj
= Py_BuildValue("l",_result
);
9879 #define wxRegionIterator_GetHeight(_swigobj) (_swigobj->GetHeight())
9880 static PyObject
*_wrap_wxRegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9881 PyObject
* _resultobj
;
9883 wxRegionIterator
* _arg0
;
9884 PyObject
* _argo0
= 0;
9885 char *_kwnames
[] = { "self", NULL
};
9888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetHeight",_kwnames
,&_argo0
))
9891 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9892 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
9893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetHeight. Expected _wxRegionIterator_p.");
9898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9899 _result
= (long )wxRegionIterator_GetHeight(_arg0
);
9901 wxPyEndAllowThreads(__tstate
);
9902 if (PyErr_Occurred()) return NULL
;
9903 } _resultobj
= Py_BuildValue("l",_result
);
9907 #define wxRegionIterator_GetRect(_swigobj) (_swigobj->GetRect())
9908 static PyObject
*_wrap_wxRegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9909 PyObject
* _resultobj
;
9911 wxRegionIterator
* _arg0
;
9912 PyObject
* _argo0
= 0;
9913 char *_kwnames
[] = { "self", NULL
};
9917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetRect",_kwnames
,&_argo0
))
9920 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9921 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
9922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetRect. Expected _wxRegionIterator_p.");
9927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9928 _result
= new wxRect (wxRegionIterator_GetRect(_arg0
));
9930 wxPyEndAllowThreads(__tstate
);
9931 if (PyErr_Occurred()) return NULL
;
9932 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
9933 _resultobj
= Py_BuildValue("s",_ptemp
);
9937 #define wxRegionIterator_HaveRects(_swigobj) (_swigobj->HaveRects())
9938 static PyObject
*_wrap_wxRegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9939 PyObject
* _resultobj
;
9941 wxRegionIterator
* _arg0
;
9942 PyObject
* _argo0
= 0;
9943 char *_kwnames
[] = { "self", NULL
};
9946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_HaveRects",_kwnames
,&_argo0
))
9949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
9951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_HaveRects. Expected _wxRegionIterator_p.");
9956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9957 _result
= (bool )wxRegionIterator_HaveRects(_arg0
);
9959 wxPyEndAllowThreads(__tstate
);
9960 if (PyErr_Occurred()) return NULL
;
9961 } _resultobj
= Py_BuildValue("i",_result
);
9965 #define wxRegionIterator_Reset(_swigobj) (_swigobj->Reset())
9966 static PyObject
*_wrap_wxRegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9967 PyObject
* _resultobj
;
9968 wxRegionIterator
* _arg0
;
9969 PyObject
* _argo0
= 0;
9970 char *_kwnames
[] = { "self", NULL
};
9973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Reset",_kwnames
,&_argo0
))
9976 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9977 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
9978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Reset. Expected _wxRegionIterator_p.");
9983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9984 wxRegionIterator_Reset(_arg0
);
9986 wxPyEndAllowThreads(__tstate
);
9987 if (PyErr_Occurred()) return NULL
;
9988 } Py_INCREF(Py_None
);
9989 _resultobj
= Py_None
;
9993 static void wxRegionIterator_Next(wxRegionIterator
*self
) {
9996 static PyObject
*_wrap_wxRegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9997 PyObject
* _resultobj
;
9998 wxRegionIterator
* _arg0
;
9999 PyObject
* _argo0
= 0;
10000 char *_kwnames
[] = { "self", NULL
};
10003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Next",_kwnames
,&_argo0
))
10006 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10007 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
10008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Next. Expected _wxRegionIterator_p.");
10013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10014 wxRegionIterator_Next(_arg0
);
10016 wxPyEndAllowThreads(__tstate
);
10017 if (PyErr_Occurred()) return NULL
;
10018 } Py_INCREF(Py_None
);
10019 _resultobj
= Py_None
;
10023 static PyMethodDef gdicMethods
[] = {
10024 { "wxRegionIterator_Next", (PyCFunction
) _wrap_wxRegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
10025 { "wxRegionIterator_Reset", (PyCFunction
) _wrap_wxRegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
10026 { "wxRegionIterator_HaveRects", (PyCFunction
) _wrap_wxRegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
10027 { "wxRegionIterator_GetRect", (PyCFunction
) _wrap_wxRegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
10028 { "wxRegionIterator_GetHeight", (PyCFunction
) _wrap_wxRegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
10029 { "wxRegionIterator_GetH", (PyCFunction
) _wrap_wxRegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
10030 { "wxRegionIterator_GetWidth", (PyCFunction
) _wrap_wxRegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
10031 { "wxRegionIterator_GetW", (PyCFunction
) _wrap_wxRegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
10032 { "wxRegionIterator_GetY", (PyCFunction
) _wrap_wxRegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
10033 { "wxRegionIterator_GetX", (PyCFunction
) _wrap_wxRegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
10034 { "delete_wxRegionIterator", (PyCFunction
) _wrap_delete_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
10035 { "new_wxRegionIterator", (PyCFunction
) _wrap_new_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
10036 { "wxRegion_XorRegion", (PyCFunction
) _wrap_wxRegion_XorRegion
, METH_VARARGS
| METH_KEYWORDS
},
10037 { "wxRegion_XorRect", (PyCFunction
) _wrap_wxRegion_XorRect
, METH_VARARGS
| METH_KEYWORDS
},
10038 { "wxRegion_Xor", (PyCFunction
) _wrap_wxRegion_Xor
, METH_VARARGS
| METH_KEYWORDS
},
10039 { "wxRegion_SubtractRegion", (PyCFunction
) _wrap_wxRegion_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
},
10040 { "wxRegion_SubtractRect", (PyCFunction
) _wrap_wxRegion_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
},
10041 { "wxRegion_Subtract", (PyCFunction
) _wrap_wxRegion_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
10042 { "wxRegion_UnionRegion", (PyCFunction
) _wrap_wxRegion_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
},
10043 { "wxRegion_UnionRect", (PyCFunction
) _wrap_wxRegion_UnionRect
, METH_VARARGS
| METH_KEYWORDS
},
10044 { "wxRegion_Union", (PyCFunction
) _wrap_wxRegion_Union
, METH_VARARGS
| METH_KEYWORDS
},
10045 { "wxRegion_IsEmpty", (PyCFunction
) _wrap_wxRegion_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
10046 { "wxRegion_IntersectRegion", (PyCFunction
) _wrap_wxRegion_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
},
10047 { "wxRegion_IntersectRect", (PyCFunction
) _wrap_wxRegion_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
10048 { "wxRegion_Intersect", (PyCFunction
) _wrap_wxRegion_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
10049 { "wxRegion_GetBox", (PyCFunction
) _wrap_wxRegion_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
10050 { "wxRegion_ContainsRectDim", (PyCFunction
) _wrap_wxRegion_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
},
10051 { "wxRegion_ContainsRect", (PyCFunction
) _wrap_wxRegion_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
10052 { "wxRegion_ContainsPoint", (PyCFunction
) _wrap_wxRegion_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
10053 { "wxRegion_Contains", (PyCFunction
) _wrap_wxRegion_Contains
, METH_VARARGS
| METH_KEYWORDS
},
10054 { "wxRegion_Clear", (PyCFunction
) _wrap_wxRegion_Clear
, METH_VARARGS
| METH_KEYWORDS
},
10055 { "delete_wxRegion", (PyCFunction
) _wrap_delete_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
10056 { "new_wxRegion", (PyCFunction
) _wrap_new_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
10057 { "wxImageList_GetSize", (PyCFunction
) _wrap_wxImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
10058 { "wxImageList_RemoveAll", (PyCFunction
) _wrap_wxImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
},
10059 { "wxImageList_Remove", (PyCFunction
) _wrap_wxImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
},
10060 { "wxImageList_GetImageCount", (PyCFunction
) _wrap_wxImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
10061 { "wxImageList_Draw", (PyCFunction
) _wrap_wxImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
},
10062 { "wxImageList_Replace", (PyCFunction
) _wrap_wxImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
},
10063 { "wxImageList_AddIcon", (PyCFunction
) _wrap_wxImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
10064 { "wxImageList_AddWithColourMask", (PyCFunction
) _wrap_wxImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
},
10065 { "wxImageList_Add", (PyCFunction
) _wrap_wxImageList_Add
, METH_VARARGS
| METH_KEYWORDS
},
10066 { "delete_wxImageList", (PyCFunction
) _wrap_delete_wxImageList
, METH_VARARGS
| METH_KEYWORDS
},
10067 { "new_wxImageList", (PyCFunction
) _wrap_new_wxImageList
, METH_VARARGS
| METH_KEYWORDS
},
10068 { "wxPalette_Ok", (PyCFunction
) _wrap_wxPalette_Ok
, METH_VARARGS
| METH_KEYWORDS
},
10069 { "wxPalette_GetRGB", (PyCFunction
) _wrap_wxPalette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
10070 { "wxPalette_GetPixel", (PyCFunction
) _wrap_wxPalette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
10071 { "delete_wxPalette", (PyCFunction
) _wrap_delete_wxPalette
, METH_VARARGS
| METH_KEYWORDS
},
10072 { "new_wxPalette", (PyCFunction
) _wrap_new_wxPalette
, METH_VARARGS
| METH_KEYWORDS
},
10073 { "new_wxWindowDC", (PyCFunction
) _wrap_new_wxWindowDC
, METH_VARARGS
| METH_KEYWORDS
},
10074 { "new_wxPaintDC", (PyCFunction
) _wrap_new_wxPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
10075 { "new_wxClientDC", (PyCFunction
) _wrap_new_wxClientDC
, METH_VARARGS
| METH_KEYWORDS
},
10076 { "wxScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_wxScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
10077 { "wxScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_wxScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
10078 { "wxScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_wxScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
},
10079 { "new_wxScreenDC", (PyCFunction
) _wrap_new_wxScreenDC
, METH_VARARGS
| METH_KEYWORDS
},
10080 { "new_wxBufferedPaintDC", (PyCFunction
) _wrap_new_wxBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
10081 { "wxBufferedDC_UnMask", (PyCFunction
) _wrap_wxBufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
},
10082 { "new_wxBufferedDCInternalBuffer", (PyCFunction
) _wrap_new_wxBufferedDCInternalBuffer
, METH_VARARGS
| METH_KEYWORDS
},
10083 { "new_wxBufferedDC", (PyCFunction
) _wrap_new_wxBufferedDC
, METH_VARARGS
| METH_KEYWORDS
},
10084 { "wxMemoryDC_SelectObject", (PyCFunction
) _wrap_wxMemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
},
10085 { "new_wxMemoryDC", (PyCFunction
) _wrap_new_wxMemoryDC
, METH_VARARGS
| METH_KEYWORDS
},
10086 { "wxDC__DrawLineList", (PyCFunction
) _wrap_wxDC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
},
10087 { "wxDC__DrawPointList", (PyCFunction
) _wrap_wxDC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
},
10088 { "wxDC_GetBoundingBox", (PyCFunction
) _wrap_wxDC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
10089 { "wxDC_ResetBoundingBox", (PyCFunction
) _wrap_wxDC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
10090 { "wxDC_CalcBoundingBox", (PyCFunction
) _wrap_wxDC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
10091 { "wxDC_SetAxisOrientation", (PyCFunction
) _wrap_wxDC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
},
10092 { "wxDC_GetDeviceOrigin", (PyCFunction
) _wrap_wxDC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
10093 { "wxDC_SetLogicalOrigin", (PyCFunction
) _wrap_wxDC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
10094 { "wxDC_GetLogicalOrigin", (PyCFunction
) _wrap_wxDC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
10095 { "wxDC_GetPPI", (PyCFunction
) _wrap_wxDC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
},
10096 { "wxDC_GetDepth", (PyCFunction
) _wrap_wxDC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
10097 { "wxDC_CanGetTextExtent", (PyCFunction
) _wrap_wxDC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
10098 { "wxDC_CanDrawBitmap", (PyCFunction
) _wrap_wxDC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10099 { "wxDC_DrawBitmap", (PyCFunction
) _wrap_wxDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10100 { "wxDC_StartPage", (PyCFunction
) _wrap_wxDC_StartPage
, METH_VARARGS
| METH_KEYWORDS
},
10101 { "wxDC_StartDoc", (PyCFunction
) _wrap_wxDC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
},
10102 { "wxDC_SetUserScale", (PyCFunction
) _wrap_wxDC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
10103 { "wxDC_SetTextForeground", (PyCFunction
) _wrap_wxDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
10104 { "wxDC_SetTextBackground", (PyCFunction
) _wrap_wxDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
10105 { "wxDC_SetPen", (PyCFunction
) _wrap_wxDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
10106 { "wxDC_SetOptimization", (PyCFunction
) _wrap_wxDC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
10107 { "wxDC_SetMapMode", (PyCFunction
) _wrap_wxDC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
10108 { "wxDC_SetLogicalScale", (PyCFunction
) _wrap_wxDC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
10109 { "wxDC_SetLogicalFunction", (PyCFunction
) _wrap_wxDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
10110 { "wxDC_SetFont", (PyCFunction
) _wrap_wxDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
10111 { "wxDC_SetBrush", (PyCFunction
) _wrap_wxDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
10112 { "wxDC_SetPalette", (PyCFunction
) _wrap_wxDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
10113 { "wxDC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_wxDC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
},
10114 { "wxDC_SetClippingRegion", (PyCFunction
) _wrap_wxDC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
10115 { "wxDC_SetBackgroundMode", (PyCFunction
) _wrap_wxDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
10116 { "wxDC_SetBackground", (PyCFunction
) _wrap_wxDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
},
10117 { "wxDC_SetDeviceOrigin", (PyCFunction
) _wrap_wxDC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
10118 { "wxDC_Ok", (PyCFunction
) _wrap_wxDC_Ok
, METH_VARARGS
| METH_KEYWORDS
},
10119 { "wxDC_MinY", (PyCFunction
) _wrap_wxDC_MinY
, METH_VARARGS
| METH_KEYWORDS
},
10120 { "wxDC_MinX", (PyCFunction
) _wrap_wxDC_MinX
, METH_VARARGS
| METH_KEYWORDS
},
10121 { "wxDC_MaxY", (PyCFunction
) _wrap_wxDC_MaxY
, METH_VARARGS
| METH_KEYWORDS
},
10122 { "wxDC_MaxX", (PyCFunction
) _wrap_wxDC_MaxX
, METH_VARARGS
| METH_KEYWORDS
},
10123 { "wxDC_LogicalToDeviceYRel", (PyCFunction
) _wrap_wxDC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
},
10124 { "wxDC_LogicalToDeviceY", (PyCFunction
) _wrap_wxDC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
},
10125 { "wxDC_LogicalToDeviceXRel", (PyCFunction
) _wrap_wxDC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
},
10126 { "wxDC_LogicalToDeviceX", (PyCFunction
) _wrap_wxDC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
},
10127 { "wxDC_GetUserScale", (PyCFunction
) _wrap_wxDC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
10128 { "wxDC_GetTextForeground", (PyCFunction
) _wrap_wxDC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
10129 { "wxDC_GetFullTextExtent", (PyCFunction
) _wrap_wxDC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
10130 { "wxDC_GetTextExtent", (PyCFunction
) _wrap_wxDC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
10131 { "wxDC_GetTextBackground", (PyCFunction
) _wrap_wxDC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
10132 { "wxDC_GetSizeMM", (PyCFunction
) _wrap_wxDC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
10133 { "wxDC_GetSize", (PyCFunction
) _wrap_wxDC_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
10134 { "wxDC_GetSizeTuple", (PyCFunction
) _wrap_wxDC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
10135 { "wxDC_GetPixel", (PyCFunction
) _wrap_wxDC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
10136 { "wxDC_GetPen", (PyCFunction
) _wrap_wxDC_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
10137 { "wxDC_GetOptimization", (PyCFunction
) _wrap_wxDC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
10138 { "wxDC_GetMapMode", (PyCFunction
) _wrap_wxDC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
10139 { "wxDC_GetLogicalScale", (PyCFunction
) _wrap_wxDC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
10140 { "wxDC_GetLogicalFunction", (PyCFunction
) _wrap_wxDC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
10141 { "wxDC_GetFont", (PyCFunction
) _wrap_wxDC_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
10142 { "wxDC_GetClippingBox", (PyCFunction
) _wrap_wxDC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
},
10143 { "wxDC_GetCharWidth", (PyCFunction
) _wrap_wxDC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
10144 { "wxDC_GetCharHeight", (PyCFunction
) _wrap_wxDC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
10145 { "wxDC_GetBrush", (PyCFunction
) _wrap_wxDC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
10146 { "wxDC_GetBackground", (PyCFunction
) _wrap_wxDC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
},
10147 { "wxDC_FloodFill", (PyCFunction
) _wrap_wxDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
},
10148 { "wxDC_EndPage", (PyCFunction
) _wrap_wxDC_EndPage
, METH_VARARGS
| METH_KEYWORDS
},
10149 { "wxDC_EndDrawing", (PyCFunction
) _wrap_wxDC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
},
10150 { "wxDC_EndDoc", (PyCFunction
) _wrap_wxDC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
},
10151 { "wxDC_DrawText", (PyCFunction
) _wrap_wxDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
10152 { "wxDC_DrawSpline", (PyCFunction
) _wrap_wxDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
10153 { "wxDC_DrawRoundedRectangle", (PyCFunction
) _wrap_wxDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
10154 { "wxDC_DrawRotatedText", (PyCFunction
) _wrap_wxDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
},
10155 { "wxDC_DrawRectangle", (PyCFunction
) _wrap_wxDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
10156 { "wxDC_DrawPoint", (PyCFunction
) _wrap_wxDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
10157 { "wxDC_DrawPolygon", (PyCFunction
) _wrap_wxDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
10158 { "wxDC_DrawLines", (PyCFunction
) _wrap_wxDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
10159 { "wxDC_DrawLine", (PyCFunction
) _wrap_wxDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
10160 { "wxDC_DrawImageLabel", (PyCFunction
) _wrap_wxDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
10161 { "wxDC_DrawLabel", (PyCFunction
) _wrap_wxDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
},
10162 { "wxDC_DrawIcon", (PyCFunction
) _wrap_wxDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
},
10163 { "wxDC_DrawEllipticArc", (PyCFunction
) _wrap_wxDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
10164 { "wxDC_DrawEllipse", (PyCFunction
) _wrap_wxDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
10165 { "wxDC_DrawCircle", (PyCFunction
) _wrap_wxDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
},
10166 { "wxDC_DrawArc", (PyCFunction
) _wrap_wxDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
10167 { "wxDC_DeviceToLogicalYRel", (PyCFunction
) _wrap_wxDC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
},
10168 { "wxDC_DeviceToLogicalY", (PyCFunction
) _wrap_wxDC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
},
10169 { "wxDC_DeviceToLogicalXRel", (PyCFunction
) _wrap_wxDC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
},
10170 { "wxDC_DeviceToLogicalX", (PyCFunction
) _wrap_wxDC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
},
10171 { "wxDC_DestroyClippingRegion", (PyCFunction
) _wrap_wxDC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
10172 { "wxDC_CrossHair", (PyCFunction
) _wrap_wxDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
},
10173 { "wxDC_Clear", (PyCFunction
) _wrap_wxDC_Clear
, METH_VARARGS
| METH_KEYWORDS
},
10174 { "wxDC_Blit", (PyCFunction
) _wrap_wxDC_Blit
, METH_VARARGS
| METH_KEYWORDS
},
10175 { "wxDC_BeginDrawing", (PyCFunction
) _wrap_wxDC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
},
10176 { "delete_wxDC", (PyCFunction
) _wrap_delete_wxDC
, METH_VARARGS
| METH_KEYWORDS
},
10177 { "wxBrushList_GetCount", (PyCFunction
) _wrap_wxBrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
10178 { "wxBrushList_RemoveBrush", (PyCFunction
) _wrap_wxBrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
},
10179 { "wxBrushList_FindOrCreateBrush", (PyCFunction
) _wrap_wxBrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
},
10180 { "wxBrushList_AddBrush", (PyCFunction
) _wrap_wxBrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
},
10181 { "wxBrush_SetStyle", (PyCFunction
) _wrap_wxBrush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
10182 { "wxBrush_SetStipple", (PyCFunction
) _wrap_wxBrush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
10183 { "wxBrush_SetColour", (PyCFunction
) _wrap_wxBrush_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
10184 { "wxBrush_Ok", (PyCFunction
) _wrap_wxBrush_Ok
, METH_VARARGS
| METH_KEYWORDS
},
10185 { "wxBrush_GetStyle", (PyCFunction
) _wrap_wxBrush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
10186 { "wxBrush_GetStipple", (PyCFunction
) _wrap_wxBrush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
10187 { "wxBrush_GetColour", (PyCFunction
) _wrap_wxBrush_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
10188 { "delete_wxBrush", (PyCFunction
) _wrap_delete_wxBrush
, METH_VARARGS
| METH_KEYWORDS
},
10189 { "new_wxBrush", (PyCFunction
) _wrap_new_wxBrush
, METH_VARARGS
| METH_KEYWORDS
},
10190 { "wxPenList_GetCount", (PyCFunction
) _wrap_wxPenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
10191 { "wxPenList_RemovePen", (PyCFunction
) _wrap_wxPenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
},
10192 { "wxPenList_FindOrCreatePen", (PyCFunction
) _wrap_wxPenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
},
10193 { "wxPenList_AddPen", (PyCFunction
) _wrap_wxPenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
},
10194 { "wxPyPen_SetDashes", (PyCFunction
) _wrap_wxPyPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
10195 { "delete_wxPyPen", (PyCFunction
) _wrap_delete_wxPyPen
, METH_VARARGS
| METH_KEYWORDS
},
10196 { "new_wxPyPen", (PyCFunction
) _wrap_new_wxPyPen
, METH_VARARGS
| METH_KEYWORDS
},
10197 { "wxPen_GetDashes", (PyCFunction
) _wrap_wxPen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
},
10198 { "wxPen_SetDashes", (PyCFunction
) _wrap_wxPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
10199 { "wxPen_SetWidth", (PyCFunction
) _wrap_wxPen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
10200 { "wxPen_SetStyle", (PyCFunction
) _wrap_wxPen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
10201 { "wxPen_SetJoin", (PyCFunction
) _wrap_wxPen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
},
10202 { "wxPen_SetColour", (PyCFunction
) _wrap_wxPen_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
10203 { "wxPen_SetCap", (PyCFunction
) _wrap_wxPen_SetCap
, METH_VARARGS
| METH_KEYWORDS
},
10204 { "wxPen_Ok", (PyCFunction
) _wrap_wxPen_Ok
, METH_VARARGS
| METH_KEYWORDS
},
10205 { "wxPen_GetWidth", (PyCFunction
) _wrap_wxPen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
10206 { "wxPen_GetStyle", (PyCFunction
) _wrap_wxPen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
10207 { "wxPen_GetJoin", (PyCFunction
) _wrap_wxPen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
},
10208 { "wxPen_GetColour", (PyCFunction
) _wrap_wxPen_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
10209 { "wxPen_GetCap", (PyCFunction
) _wrap_wxPen_GetCap
, METH_VARARGS
| METH_KEYWORDS
},
10210 { "delete_wxPen", (PyCFunction
) _wrap_delete_wxPen
, METH_VARARGS
| METH_KEYWORDS
},
10211 { "new_wxPen", (PyCFunction
) _wrap_new_wxPen
, METH_VARARGS
| METH_KEYWORDS
},
10212 { "wxColourDatabase_Append", (PyCFunction
) _wrap_wxColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
},
10213 { "wxColourDatabase_FindName", (PyCFunction
) _wrap_wxColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
},
10214 { "wxColourDatabase_FindColour", (PyCFunction
) _wrap_wxColourDatabase_FindColour
, METH_VARARGS
| METH_KEYWORDS
},
10215 { "wxColour_Get", (PyCFunction
) _wrap_wxColour_Get
, METH_VARARGS
| METH_KEYWORDS
},
10216 { "wxColour_Set", (PyCFunction
) _wrap_wxColour_Set
, METH_VARARGS
| METH_KEYWORDS
},
10217 { "wxColour_Ok", (PyCFunction
) _wrap_wxColour_Ok
, METH_VARARGS
| METH_KEYWORDS
},
10218 { "wxColour_Blue", (PyCFunction
) _wrap_wxColour_Blue
, METH_VARARGS
| METH_KEYWORDS
},
10219 { "wxColour_Green", (PyCFunction
) _wrap_wxColour_Green
, METH_VARARGS
| METH_KEYWORDS
},
10220 { "wxColour_Red", (PyCFunction
) _wrap_wxColour_Red
, METH_VARARGS
| METH_KEYWORDS
},
10221 { "delete_wxColour", (PyCFunction
) _wrap_delete_wxColour
, METH_VARARGS
| METH_KEYWORDS
},
10222 { "new_wxColour", (PyCFunction
) _wrap_new_wxColour
, METH_VARARGS
| METH_KEYWORDS
},
10223 { "wxCursor_Ok", (PyCFunction
) _wrap_wxCursor_Ok
, METH_VARARGS
| METH_KEYWORDS
},
10224 { "delete_wxCursor", (PyCFunction
) _wrap_delete_wxCursor
, METH_VARARGS
| METH_KEYWORDS
},
10225 { "wxIconBundle_GetIcon", (PyCFunction
) _wrap_wxIconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
10226 { "wxIconBundle_AddIconFromFile", (PyCFunction
) _wrap_wxIconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
},
10227 { "wxIconBundle_AddIcon", (PyCFunction
) _wrap_wxIconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
10228 { "delete_wxIconBundle", (PyCFunction
) _wrap_delete_wxIconBundle
, METH_VARARGS
| METH_KEYWORDS
},
10229 { "new_wxIconBundleFromIcon", (PyCFunction
) _wrap_new_wxIconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
10230 { "new_wxIconBundleFromFile", (PyCFunction
) _wrap_new_wxIconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
},
10231 { "new_wxIconBundle", (PyCFunction
) _wrap_new_wxIconBundle
, METH_VARARGS
| METH_KEYWORDS
},
10232 { "wxIcon_CopyFromBitmap", (PyCFunction
) _wrap_wxIcon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10233 { "wxIcon_SetDepth", (PyCFunction
) _wrap_wxIcon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
10234 { "wxIcon_SetHeight", (PyCFunction
) _wrap_wxIcon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
10235 { "wxIcon_SetWidth", (PyCFunction
) _wrap_wxIcon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
10236 { "wxIcon_GetDepth", (PyCFunction
) _wrap_wxIcon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
10237 { "wxIcon_GetHeight", (PyCFunction
) _wrap_wxIcon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
10238 { "wxIcon_GetWidth", (PyCFunction
) _wrap_wxIcon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
10239 { "wxIcon_Ok", (PyCFunction
) _wrap_wxIcon_Ok
, METH_VARARGS
| METH_KEYWORDS
},
10240 { "delete_wxIcon", (PyCFunction
) _wrap_delete_wxIcon
, METH_VARARGS
| METH_KEYWORDS
},
10241 { "new_wxIcon", (PyCFunction
) _wrap_new_wxIcon
, METH_VARARGS
| METH_KEYWORDS
},
10242 { "wxMask_Destroy", (PyCFunction
) _wrap_wxMask_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
10243 { "new_wxMask", (PyCFunction
) _wrap_new_wxMask
, METH_VARARGS
| METH_KEYWORDS
},
10244 { "wxBitmap_CopyFromIcon", (PyCFunction
) _wrap_wxBitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
10245 { "wxBitmap_GetSubBitmap", (PyCFunction
) _wrap_wxBitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10246 { "wxBitmap_SetDepth", (PyCFunction
) _wrap_wxBitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
10247 { "wxBitmap_SetHeight", (PyCFunction
) _wrap_wxBitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
10248 { "wxBitmap_SetWidth", (PyCFunction
) _wrap_wxBitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
10249 { "wxBitmap_GetDepth", (PyCFunction
) _wrap_wxBitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
10250 { "wxBitmap_GetHeight", (PyCFunction
) _wrap_wxBitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
10251 { "wxBitmap_GetWidth", (PyCFunction
) _wrap_wxBitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
10252 { "wxBitmap_Ok", (PyCFunction
) _wrap_wxBitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
},
10253 { "wxBitmap_SetMask", (PyCFunction
) _wrap_wxBitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
10254 { "wxBitmap_SaveFile", (PyCFunction
) _wrap_wxBitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
10255 { "wxBitmap_LoadFile", (PyCFunction
) _wrap_wxBitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
10256 { "wxBitmap_GetMask", (PyCFunction
) _wrap_wxBitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
10257 { "wxBitmap_GetPalette", (PyCFunction
) _wrap_wxBitmap_GetPalette
, METH_VARARGS
| METH_KEYWORDS
},
10258 { "delete_wxBitmap", (PyCFunction
) _wrap_delete_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10259 { "new_wxBitmap", (PyCFunction
) _wrap_new_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10260 { "wxGDIObject_IsNull", (PyCFunction
) _wrap_wxGDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
10261 { "wxGDIObject_SetVisible", (PyCFunction
) _wrap_wxGDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
},
10262 { "wxGDIObject_GetVisible", (PyCFunction
) _wrap_wxGDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
},
10263 { "delete_wxGDIObject", (PyCFunction
) _wrap_delete_wxGDIObject
, METH_VARARGS
| METH_KEYWORDS
},
10264 { "new_wxGDIObject", (PyCFunction
) _wrap_new_wxGDIObject
, METH_VARARGS
| METH_KEYWORDS
},
10265 { "wxMemoryDCFromDC", (PyCFunction
) _wrap_wxMemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
},
10266 { "wxNamedColour", (PyCFunction
) _wrap_wxNamedColour
, METH_VARARGS
| METH_KEYWORDS
},
10267 { "wxStockCursor", (PyCFunction
) _wrap_wxStockCursor
, METH_VARARGS
| METH_KEYWORDS
},
10268 { "wxIconFromBitmap", (PyCFunction
) _wrap_wxIconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10269 { "wxIconFromXPMData", (PyCFunction
) _wrap_wxIconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
10270 { "wxEmptyIcon", (PyCFunction
) _wrap_wxEmptyIcon
, METH_VARARGS
| METH_KEYWORDS
},
10271 { "wxMaskColour", (PyCFunction
) _wrap_wxMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
10272 { "wxBitmapFromBits", (PyCFunction
) _wrap_wxBitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
},
10273 { "wxBitmapFromIcon", (PyCFunction
) _wrap_wxBitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
10274 { "wxBitmapFromXPMData", (PyCFunction
) _wrap_wxBitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
10275 { "wxEmptyBitmap", (PyCFunction
) _wrap_wxEmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10282 * This table is used by the pointer type-checker
10284 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
10285 { "_signed_long","_long",0},
10286 { "_wxPrintQuality","_wxCoord",0},
10287 { "_wxPrintQuality","_int",0},
10288 { "_wxPrintQuality","_signed_int",0},
10289 { "_wxPrintQuality","_unsigned_int",0},
10290 { "_wxPrintQuality","_wxWindowID",0},
10291 { "_wxPrintQuality","_uint",0},
10292 { "_wxPrintQuality","_EBool",0},
10293 { "_wxPrintQuality","_size_t",0},
10294 { "_wxPrintQuality","_time_t",0},
10295 { "_wxPen","_wxPyPen",SwigwxPyPenTowxPen
},
10296 { "_byte","_unsigned_char",0},
10297 { "_long","_unsigned_long",0},
10298 { "_long","_signed_long",0},
10299 { "_wxGDIObject","_wxRegion",SwigwxRegionTowxGDIObject
},
10300 { "_wxGDIObject","_wxPalette",SwigwxPaletteTowxGDIObject
},
10301 { "_wxGDIObject","_wxBrush",SwigwxBrushTowxGDIObject
},
10302 { "_wxGDIObject","_wxPyPen",SwigwxPyPenTowxGDIObject
},
10303 { "_wxGDIObject","_wxPen",SwigwxPenTowxGDIObject
},
10304 { "_wxGDIObject","_wxCursor",SwigwxCursorTowxGDIObject
},
10305 { "_wxGDIObject","_wxIcon",SwigwxIconTowxGDIObject
},
10306 { "_wxGDIObject","_wxBitmap",SwigwxBitmapTowxGDIObject
},
10307 { "_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC
},
10308 { "_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
},
10309 { "_wxDC","_wxClientDC",SwigwxClientDCTowxDC
},
10310 { "_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
},
10311 { "_wxDC","_wxBufferedPaintDC",SwigwxBufferedPaintDCTowxDC
},
10312 { "_wxDC","_wxBufferedDC",SwigwxBufferedDCTowxDC
},
10313 { "_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
},
10314 { "_size_t","_wxCoord",0},
10315 { "_size_t","_wxPrintQuality",0},
10316 { "_size_t","_time_t",0},
10317 { "_size_t","_unsigned_int",0},
10318 { "_size_t","_int",0},
10319 { "_size_t","_wxWindowID",0},
10320 { "_size_t","_uint",0},
10321 { "_uint","_wxCoord",0},
10322 { "_uint","_wxPrintQuality",0},
10323 { "_uint","_time_t",0},
10324 { "_uint","_size_t",0},
10325 { "_uint","_unsigned_int",0},
10326 { "_uint","_int",0},
10327 { "_uint","_wxWindowID",0},
10328 { "_wxChar","_char",0},
10329 { "_char","_wxChar",0},
10330 { "_wxBufferedDC","_wxBufferedPaintDC",SwigwxBufferedPaintDCTowxBufferedDC
},
10331 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
10332 { "_EBool","_wxCoord",0},
10333 { "_EBool","_wxPrintQuality",0},
10334 { "_EBool","_signed_int",0},
10335 { "_EBool","_int",0},
10336 { "_EBool","_wxWindowID",0},
10337 { "_unsigned_long","_long",0},
10338 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
10339 { "_signed_int","_wxCoord",0},
10340 { "_signed_int","_wxPrintQuality",0},
10341 { "_signed_int","_EBool",0},
10342 { "_signed_int","_wxWindowID",0},
10343 { "_signed_int","_int",0},
10344 { "_WXTYPE","_short",0},
10345 { "_WXTYPE","_signed_short",0},
10346 { "_WXTYPE","_unsigned_short",0},
10347 { "_unsigned_short","_WXTYPE",0},
10348 { "_unsigned_short","_short",0},
10349 { "_wxObject","_wxRegionIterator",SwigwxRegionIteratorTowxObject
},
10350 { "_wxObject","_wxRegion",SwigwxRegionTowxObject
},
10351 { "_wxObject","_wxImageList",SwigwxImageListTowxObject
},
10352 { "_wxObject","_wxPalette",SwigwxPaletteTowxObject
},
10353 { "_wxObject","_wxWindowDC",SwigwxWindowDCTowxObject
},
10354 { "_wxObject","_wxPaintDC",SwigwxPaintDCTowxObject
},
10355 { "_wxObject","_wxClientDC",SwigwxClientDCTowxObject
},
10356 { "_wxObject","_wxScreenDC",SwigwxScreenDCTowxObject
},
10357 { "_wxObject","_wxBufferedPaintDC",SwigwxBufferedPaintDCTowxObject
},
10358 { "_wxObject","_wxBufferedDC",SwigwxBufferedDCTowxObject
},
10359 { "_wxObject","_wxMemoryDC",SwigwxMemoryDCTowxObject
},
10360 { "_wxObject","_wxDC",SwigwxDCTowxObject
},
10361 { "_wxObject","_wxBrushList",SwigwxBrushListTowxObject
},
10362 { "_wxObject","_wxBrush",SwigwxBrushTowxObject
},
10363 { "_wxObject","_wxPenList",SwigwxPenListTowxObject
},
10364 { "_wxObject","_wxPyPen",SwigwxPyPenTowxObject
},
10365 { "_wxObject","_wxPen",SwigwxPenTowxObject
},
10366 { "_wxObject","_wxColourDatabase",SwigwxColourDatabaseTowxObject
},
10367 { "_wxObject","_wxColour",SwigwxColourTowxObject
},
10368 { "_wxObject","_wxCursor",SwigwxCursorTowxObject
},
10369 { "_wxObject","_wxIcon",SwigwxIconTowxObject
},
10370 { "_wxObject","_wxMask",SwigwxMaskTowxObject
},
10371 { "_wxObject","_wxBitmap",SwigwxBitmapTowxObject
},
10372 { "_wxObject","_wxGDIObject",SwigwxGDIObjectTowxObject
},
10373 { "_signed_short","_WXTYPE",0},
10374 { "_signed_short","_short",0},
10375 { "_wxMemoryDC","_wxBufferedPaintDC",SwigwxBufferedPaintDCTowxMemoryDC
},
10376 { "_wxMemoryDC","_wxBufferedDC",SwigwxBufferedDCTowxMemoryDC
},
10377 { "_unsigned_char","_byte",0},
10378 { "_unsigned_int","_wxCoord",0},
10379 { "_unsigned_int","_wxPrintQuality",0},
10380 { "_unsigned_int","_time_t",0},
10381 { "_unsigned_int","_size_t",0},
10382 { "_unsigned_int","_uint",0},
10383 { "_unsigned_int","_wxWindowID",0},
10384 { "_unsigned_int","_int",0},
10385 { "_short","_WXTYPE",0},
10386 { "_short","_unsigned_short",0},
10387 { "_short","_signed_short",0},
10388 { "_wxWindowID","_wxCoord",0},
10389 { "_wxWindowID","_wxPrintQuality",0},
10390 { "_wxWindowID","_time_t",0},
10391 { "_wxWindowID","_size_t",0},
10392 { "_wxWindowID","_EBool",0},
10393 { "_wxWindowID","_uint",0},
10394 { "_wxWindowID","_int",0},
10395 { "_wxWindowID","_signed_int",0},
10396 { "_wxWindowID","_unsigned_int",0},
10397 { "_int","_wxCoord",0},
10398 { "_int","_wxPrintQuality",0},
10399 { "_int","_time_t",0},
10400 { "_int","_size_t",0},
10401 { "_int","_EBool",0},
10402 { "_int","_uint",0},
10403 { "_int","_wxWindowID",0},
10404 { "_int","_unsigned_int",0},
10405 { "_int","_signed_int",0},
10406 { "_time_t","_wxCoord",0},
10407 { "_time_t","_wxPrintQuality",0},
10408 { "_time_t","_unsigned_int",0},
10409 { "_time_t","_int",0},
10410 { "_time_t","_wxWindowID",0},
10411 { "_time_t","_uint",0},
10412 { "_time_t","_size_t",0},
10413 { "_wxCoord","_int",0},
10414 { "_wxCoord","_signed_int",0},
10415 { "_wxCoord","_unsigned_int",0},
10416 { "_wxCoord","_wxWindowID",0},
10417 { "_wxCoord","_uint",0},
10418 { "_wxCoord","_EBool",0},
10419 { "_wxCoord","_size_t",0},
10420 { "_wxCoord","_time_t",0},
10421 { "_wxCoord","_wxPrintQuality",0},
10424 static PyObject
*SWIG_globals
;
10428 SWIGEXPORT(void) initgdic() {
10430 SWIG_globals
= SWIG_newvarlink();
10431 m
= Py_InitModule("gdic", gdicMethods
);
10432 d
= PyModule_GetDict(m
);
10433 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_NORMAL", PyInt_FromLong((long) wxIMAGELIST_DRAW_NORMAL
));
10434 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_TRANSPARENT", PyInt_FromLong((long) wxIMAGELIST_DRAW_TRANSPARENT
));
10435 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_SELECTED", PyInt_FromLong((long) wxIMAGELIST_DRAW_SELECTED
));
10436 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_FOCUSED", PyInt_FromLong((long) wxIMAGELIST_DRAW_FOCUSED
));
10437 PyDict_SetItemString(d
,"wxIMAGE_LIST_NORMAL", PyInt_FromLong((long) wxIMAGE_LIST_NORMAL
));
10438 PyDict_SetItemString(d
,"wxIMAGE_LIST_SMALL", PyInt_FromLong((long) wxIMAGE_LIST_SMALL
));
10439 PyDict_SetItemString(d
,"wxIMAGE_LIST_STATE", PyInt_FromLong((long) wxIMAGE_LIST_STATE
));
10440 PyDict_SetItemString(d
,"wxOutRegion", PyInt_FromLong((long) wxOutRegion
));
10441 PyDict_SetItemString(d
,"wxPartRegion", PyInt_FromLong((long) wxPartRegion
));
10442 PyDict_SetItemString(d
,"wxInRegion", PyInt_FromLong((long) wxInRegion
));
10443 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
10444 SWIG_addvarlink(SWIG_globals
,"wxNORMAL_FONT",_wrap_wxNORMAL_FONT_get
, _wrap_wxNORMAL_FONT_set
);
10445 SWIG_addvarlink(SWIG_globals
,"wxSMALL_FONT",_wrap_wxSMALL_FONT_get
, _wrap_wxSMALL_FONT_set
);
10446 SWIG_addvarlink(SWIG_globals
,"wxITALIC_FONT",_wrap_wxITALIC_FONT_get
, _wrap_wxITALIC_FONT_set
);
10447 SWIG_addvarlink(SWIG_globals
,"wxSWISS_FONT",_wrap_wxSWISS_FONT_get
, _wrap_wxSWISS_FONT_set
);
10448 SWIG_addvarlink(SWIG_globals
,"wxRED_PEN",_wrap_wxRED_PEN_get
, _wrap_wxRED_PEN_set
);
10449 SWIG_addvarlink(SWIG_globals
,"wxCYAN_PEN",_wrap_wxCYAN_PEN_get
, _wrap_wxCYAN_PEN_set
);
10450 SWIG_addvarlink(SWIG_globals
,"wxGREEN_PEN",_wrap_wxGREEN_PEN_get
, _wrap_wxGREEN_PEN_set
);
10451 SWIG_addvarlink(SWIG_globals
,"wxBLACK_PEN",_wrap_wxBLACK_PEN_get
, _wrap_wxBLACK_PEN_set
);
10452 SWIG_addvarlink(SWIG_globals
,"wxWHITE_PEN",_wrap_wxWHITE_PEN_get
, _wrap_wxWHITE_PEN_set
);
10453 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_PEN",_wrap_wxTRANSPARENT_PEN_get
, _wrap_wxTRANSPARENT_PEN_set
);
10454 SWIG_addvarlink(SWIG_globals
,"wxBLACK_DASHED_PEN",_wrap_wxBLACK_DASHED_PEN_get
, _wrap_wxBLACK_DASHED_PEN_set
);
10455 SWIG_addvarlink(SWIG_globals
,"wxGREY_PEN",_wrap_wxGREY_PEN_get
, _wrap_wxGREY_PEN_set
);
10456 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_PEN",_wrap_wxMEDIUM_GREY_PEN_get
, _wrap_wxMEDIUM_GREY_PEN_set
);
10457 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_PEN",_wrap_wxLIGHT_GREY_PEN_get
, _wrap_wxLIGHT_GREY_PEN_set
);
10458 SWIG_addvarlink(SWIG_globals
,"wxBLUE_BRUSH",_wrap_wxBLUE_BRUSH_get
, _wrap_wxBLUE_BRUSH_set
);
10459 SWIG_addvarlink(SWIG_globals
,"wxGREEN_BRUSH",_wrap_wxGREEN_BRUSH_get
, _wrap_wxGREEN_BRUSH_set
);
10460 SWIG_addvarlink(SWIG_globals
,"wxWHITE_BRUSH",_wrap_wxWHITE_BRUSH_get
, _wrap_wxWHITE_BRUSH_set
);
10461 SWIG_addvarlink(SWIG_globals
,"wxBLACK_BRUSH",_wrap_wxBLACK_BRUSH_get
, _wrap_wxBLACK_BRUSH_set
);
10462 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_BRUSH",_wrap_wxTRANSPARENT_BRUSH_get
, _wrap_wxTRANSPARENT_BRUSH_set
);
10463 SWIG_addvarlink(SWIG_globals
,"wxCYAN_BRUSH",_wrap_wxCYAN_BRUSH_get
, _wrap_wxCYAN_BRUSH_set
);
10464 SWIG_addvarlink(SWIG_globals
,"wxRED_BRUSH",_wrap_wxRED_BRUSH_get
, _wrap_wxRED_BRUSH_set
);
10465 SWIG_addvarlink(SWIG_globals
,"wxGREY_BRUSH",_wrap_wxGREY_BRUSH_get
, _wrap_wxGREY_BRUSH_set
);
10466 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_BRUSH",_wrap_wxMEDIUM_GREY_BRUSH_get
, _wrap_wxMEDIUM_GREY_BRUSH_set
);
10467 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_BRUSH",_wrap_wxLIGHT_GREY_BRUSH_get
, _wrap_wxLIGHT_GREY_BRUSH_set
);
10468 SWIG_addvarlink(SWIG_globals
,"wxBLACK",_wrap_wxBLACK_get
, _wrap_wxBLACK_set
);
10469 SWIG_addvarlink(SWIG_globals
,"wxWHITE",_wrap_wxWHITE_get
, _wrap_wxWHITE_set
);
10470 SWIG_addvarlink(SWIG_globals
,"wxRED",_wrap_wxRED_get
, _wrap_wxRED_set
);
10471 SWIG_addvarlink(SWIG_globals
,"wxBLUE",_wrap_wxBLUE_get
, _wrap_wxBLUE_set
);
10472 SWIG_addvarlink(SWIG_globals
,"wxGREEN",_wrap_wxGREEN_get
, _wrap_wxGREEN_set
);
10473 SWIG_addvarlink(SWIG_globals
,"wxCYAN",_wrap_wxCYAN_get
, _wrap_wxCYAN_set
);
10474 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY",_wrap_wxLIGHT_GREY_get
, _wrap_wxLIGHT_GREY_set
);
10475 SWIG_addvarlink(SWIG_globals
,"wxSTANDARD_CURSOR",_wrap_wxSTANDARD_CURSOR_get
, _wrap_wxSTANDARD_CURSOR_set
);
10476 SWIG_addvarlink(SWIG_globals
,"wxHOURGLASS_CURSOR",_wrap_wxHOURGLASS_CURSOR_get
, _wrap_wxHOURGLASS_CURSOR_set
);
10477 SWIG_addvarlink(SWIG_globals
,"wxCROSS_CURSOR",_wrap_wxCROSS_CURSOR_get
, _wrap_wxCROSS_CURSOR_set
);
10478 SWIG_addvarlink(SWIG_globals
,"wxNullBitmap",_wrap_wxNullBitmap_get
, _wrap_wxNullBitmap_set
);
10479 SWIG_addvarlink(SWIG_globals
,"wxNullIcon",_wrap_wxNullIcon_get
, _wrap_wxNullIcon_set
);
10480 SWIG_addvarlink(SWIG_globals
,"wxNullCursor",_wrap_wxNullCursor_get
, _wrap_wxNullCursor_set
);
10481 SWIG_addvarlink(SWIG_globals
,"wxNullPen",_wrap_wxNullPen_get
, _wrap_wxNullPen_set
);
10482 SWIG_addvarlink(SWIG_globals
,"wxNullBrush",_wrap_wxNullBrush_get
, _wrap_wxNullBrush_set
);
10483 SWIG_addvarlink(SWIG_globals
,"wxNullPalette",_wrap_wxNullPalette_get
, _wrap_wxNullPalette_set
);
10484 SWIG_addvarlink(SWIG_globals
,"wxNullFont",_wrap_wxNullFont_get
, _wrap_wxNullFont_set
);
10485 SWIG_addvarlink(SWIG_globals
,"wxNullColour",_wrap_wxNullColour_get
, _wrap_wxNullColour_set
);
10486 SWIG_addvarlink(SWIG_globals
,"wxTheFontList",_wrap_wxTheFontList_get
, _wrap_wxTheFontList_set
);
10487 SWIG_addvarlink(SWIG_globals
,"wxThePenList",_wrap_wxThePenList_get
, _wrap_wxThePenList_set
);
10488 SWIG_addvarlink(SWIG_globals
,"wxTheBrushList",_wrap_wxTheBrushList_get
, _wrap_wxTheBrushList_set
);
10489 SWIG_addvarlink(SWIG_globals
,"wxTheColourDatabase",_wrap_wxTheColourDatabase_get
, _wrap_wxTheColourDatabase_set
);
10492 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
10493 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);