4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 810)
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
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
47 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
48 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initgdic
54 #define SWIG_name "gdic"
57 #include <wx/metafile.h>
58 #include <wx/imaglist.h>
63 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
68 } else if (target
== Py_None
) {
72 if (!PyList_Check(target
)) {
74 target
= PyList_New(0);
75 PyList_Append(target
, o2
);
78 PyList_Append(target
,o
);
84 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
90 } else if (target
== Py_None
) {
94 if (!PyTuple_Check(target
)) {
96 target
= PyTuple_New(1);
97 PyTuple_SetItem(target
, 0, o2
);
100 PyTuple_SetItem(o3
, 0, o
);
103 target
= PySequence_Concat(o2
, o3
);
111 HELPEREXPORT byte
* byte_LIST_helper(PyObject
* source
);
112 HELPEREXPORT
int* int_LIST_helper(PyObject
* source
);
113 HELPEREXPORT
long* long_LIST_helper(PyObject
* source
);
114 HELPEREXPORT
char** string_LIST_helper(PyObject
* source
);
115 HELPEREXPORT wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
116 HELPEREXPORT wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
117 HELPEREXPORT wxString
* wxString_LIST_helper(PyObject
* source
);
118 HELPEREXPORT wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
121 static char* wxStringErrorMsg
= "string type is required for parameter";
122 // Alternate 'constructor'
123 wxBitmap
* wxEmptyBitmap(int width
, int height
, int depth
=-1) {
124 return new wxBitmap(width
, height
, depth
);
127 // This one won't own the reference, so Python
128 // won't call the dtor, this is good for
129 // toolbars and such where the parent will
130 // manage the bitmap.
131 wxBitmap
* wxNoRefBitmap(char* name
, long flags
) {
132 return new wxBitmap(name
, flags
);
136 wxBitmap
* wxBitmapFromData(char* data
, long type
,
137 int width
, int height
, int depth
= 1) {
138 return new wxBitmap((void*)data
, type
, width
, height
, depth
);
142 wxMask
* wxMaskColour(const wxBitmap
& bitmap
, const wxColour
& colour
) {
143 return new wxMask(bitmap
, colour
);
145 // Alternate 'constructor'
146 wxCursor
* wxPyStockCursor(int id
) {
147 return new wxCursor(id
);
149 // Alternate 'constructor'
150 wxColour
* wxNamedColour(const wxString
& colorName
) {
151 return new wxColour(colorName
);
153 // Alternate 'constructor'
154 wxMemoryDC
* wxMemoryDCFromDC(wxDC
* oldDC
) {
155 return new wxMemoryDC(oldDC
);
159 extern wxFont
* wxNORMAL_FONT
;
160 extern wxFont
* wxSMALL_FONT
;
161 extern wxFont
* wxITALIC_FONT
;
162 extern wxFont
* wxSWISS_FONT
;
163 extern wxPen
* wxRED_PEN
;
164 extern wxPen
* wxCYAN_PEN
;
165 extern wxPen
* wxGREEN_PEN
;
166 extern wxPen
* wxBLACK_PEN
;
167 extern wxPen
* wxWHITE_PEN
;
168 extern wxPen
* wxTRANSPARENT_PEN
;
169 extern wxPen
* wxBLACK_DASHED_PEN
;
170 extern wxPen
* wxGREY_PEN
;
171 extern wxPen
* wxMEDIUM_GREY_PEN
;
172 extern wxPen
* wxLIGHT_GREY_PEN
;
173 extern wxBrush
* wxBLUE_BRUSH
;
174 extern wxBrush
* wxGREEN_BRUSH
;
175 extern wxBrush
* wxWHITE_BRUSH
;
176 extern wxBrush
* wxBLACK_BRUSH
;
177 extern wxBrush
* wxTRANSPARENT_BRUSH
;
178 extern wxBrush
* wxCYAN_BRUSH
;
179 extern wxBrush
* wxRED_BRUSH
;
180 extern wxBrush
* wxGREY_BRUSH
;
181 extern wxBrush
* wxMEDIUM_GREY_BRUSH
;
182 extern wxBrush
* wxLIGHT_GREY_BRUSH
;
183 extern wxColour
* wxBLACK
;
184 extern wxColour
* wxWHITE
;
185 extern wxColour
* wxRED
;
186 extern wxColour
* wxBLUE
;
187 extern wxColour
* wxGREEN
;
188 extern wxColour
* wxCYAN
;
189 extern wxColour
* wxLIGHT_GREY
;
190 extern wxCursor
* wxSTANDARD_CURSOR
;
191 extern wxCursor
* wxHOURGLASS_CURSOR
;
192 extern wxCursor
* wxCROSS_CURSOR
;
193 extern wxBitmap wxNullBitmap
;
194 extern wxIcon wxNullIcon
;
195 extern wxCursor wxNullCursor
;
196 extern wxPen wxNullPen
;
197 extern wxBrush wxNullBrush
;
198 extern wxPalette wxNullPalette
;
199 extern wxFont wxNullFont
;
200 extern wxColour wxNullColour
;
206 static PyObject
*_wrap_wxEmptyBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
207 PyObject
* _resultobj
;
211 int _arg2
= (int ) -1;
212 char *_kwnames
[] = { "width","height","depth", NULL
};
216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ii|i:wxEmptyBitmap",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
219 wxPy_BEGIN_ALLOW_THREADS
;
220 _result
= (wxBitmap
*)wxEmptyBitmap(_arg0
,_arg1
,_arg2
);
222 wxPy_END_ALLOW_THREADS
;
224 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
225 _resultobj
= Py_BuildValue("s",_ptemp
);
228 _resultobj
= Py_None
;
233 static PyObject
*_wrap_wxNoRefBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
234 PyObject
* _resultobj
;
238 char *_kwnames
[] = { "name","flags", NULL
};
242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"sl:wxNoRefBitmap",_kwnames
,&_arg0
,&_arg1
))
245 wxPy_BEGIN_ALLOW_THREADS
;
246 _result
= (wxBitmap
*)wxNoRefBitmap(_arg0
,_arg1
);
248 wxPy_END_ALLOW_THREADS
;
250 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
251 _resultobj
= Py_BuildValue("s",_ptemp
);
254 _resultobj
= Py_None
;
259 static PyObject
*_wrap_wxBitmapFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
260 PyObject
* _resultobj
;
266 int _arg4
= (int ) 1;
267 char *_kwnames
[] = { "data","type","width","height","depth", NULL
};
271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"slii|i:wxBitmapFromData",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
274 wxPy_BEGIN_ALLOW_THREADS
;
275 _result
= (wxBitmap
*)wxBitmapFromData(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
277 wxPy_END_ALLOW_THREADS
;
279 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
280 _resultobj
= Py_BuildValue("s",_ptemp
);
283 _resultobj
= Py_None
;
288 static PyObject
*_wrap_wxMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
289 PyObject
* _resultobj
;
293 PyObject
* _argo0
= 0;
294 PyObject
* _argo1
= 0;
295 char *_kwnames
[] = { "bitmap","colour", NULL
};
299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMaskColour",_kwnames
,&_argo0
,&_argo1
))
302 if (_argo0
== Py_None
) { _arg0
= NULL
; }
303 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMaskColour. Expected _wxBitmap_p.");
309 if (_argo1
== Py_None
) { _arg1
= NULL
; }
310 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMaskColour. Expected _wxColour_p.");
316 wxPy_BEGIN_ALLOW_THREADS
;
317 _result
= (wxMask
*)wxMaskColour(*_arg0
,*_arg1
);
319 wxPy_END_ALLOW_THREADS
;
321 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
322 _resultobj
= Py_BuildValue("s",_ptemp
);
325 _resultobj
= Py_None
;
330 static PyObject
*_wrap_wxStockCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
331 PyObject
* _resultobj
;
334 char *_kwnames
[] = { "id", NULL
};
338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxStockCursor",_kwnames
,&_arg0
))
341 wxPy_BEGIN_ALLOW_THREADS
;
342 _result
= (wxCursor
*)wxPyStockCursor(_arg0
);
344 wxPy_END_ALLOW_THREADS
;
346 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCursor_p");
347 _resultobj
= Py_BuildValue("s",_ptemp
);
350 _resultobj
= Py_None
;
355 static PyObject
*_wrap_wxNamedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
356 PyObject
* _resultobj
;
359 PyObject
* _obj0
= 0;
360 char *_kwnames
[] = { "colorName", NULL
};
364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNamedColour",_kwnames
,&_obj0
))
367 if (!PyString_Check(_obj0
)) {
368 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
371 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
374 wxPy_BEGIN_ALLOW_THREADS
;
375 _result
= (wxColour
*)wxNamedColour(*_arg0
);
377 wxPy_END_ALLOW_THREADS
;
379 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
380 _resultobj
= Py_BuildValue("s",_ptemp
);
383 _resultobj
= Py_None
;
392 static PyObject
*_wrap_wxMemoryDCFromDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
393 PyObject
* _resultobj
;
394 wxMemoryDC
* _result
;
396 PyObject
* _argo0
= 0;
397 char *_kwnames
[] = { "oldDC", NULL
};
401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMemoryDCFromDC",_kwnames
,&_argo0
))
404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDCFromDC. Expected _wxDC_p.");
411 wxPy_BEGIN_ALLOW_THREADS
;
412 _result
= (wxMemoryDC
*)wxMemoryDCFromDC(_arg0
);
414 wxPy_END_ALLOW_THREADS
;
416 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
417 _resultobj
= Py_BuildValue("s",_ptemp
);
420 _resultobj
= Py_None
;
425 static int _wrap_wxNORMAL_FONT_set(PyObject
*val
) {
427 PyErr_SetString(PyExc_TypeError
,"Variable wxNORMAL_FONT is read-only.");
431 static PyObject
*_wrap_wxNORMAL_FONT_get() {
435 SWIG_MakePtr(ptemp
, (char *) wxNORMAL_FONT
,"_wxFont_p");
436 pyobj
= PyString_FromString(ptemp
);
440 static int _wrap_wxSMALL_FONT_set(PyObject
*val
) {
442 PyErr_SetString(PyExc_TypeError
,"Variable wxSMALL_FONT is read-only.");
446 static PyObject
*_wrap_wxSMALL_FONT_get() {
450 SWIG_MakePtr(ptemp
, (char *) wxSMALL_FONT
,"_wxFont_p");
451 pyobj
= PyString_FromString(ptemp
);
455 static int _wrap_wxITALIC_FONT_set(PyObject
*val
) {
457 PyErr_SetString(PyExc_TypeError
,"Variable wxITALIC_FONT is read-only.");
461 static PyObject
*_wrap_wxITALIC_FONT_get() {
465 SWIG_MakePtr(ptemp
, (char *) wxITALIC_FONT
,"_wxFont_p");
466 pyobj
= PyString_FromString(ptemp
);
470 static int _wrap_wxSWISS_FONT_set(PyObject
*val
) {
472 PyErr_SetString(PyExc_TypeError
,"Variable wxSWISS_FONT is read-only.");
476 static PyObject
*_wrap_wxSWISS_FONT_get() {
480 SWIG_MakePtr(ptemp
, (char *) wxSWISS_FONT
,"_wxFont_p");
481 pyobj
= PyString_FromString(ptemp
);
485 static int _wrap_wxRED_PEN_set(PyObject
*val
) {
487 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_PEN is read-only.");
491 static PyObject
*_wrap_wxRED_PEN_get() {
495 SWIG_MakePtr(ptemp
, (char *) wxRED_PEN
,"_wxPen_p");
496 pyobj
= PyString_FromString(ptemp
);
500 static int _wrap_wxCYAN_PEN_set(PyObject
*val
) {
502 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_PEN is read-only.");
506 static PyObject
*_wrap_wxCYAN_PEN_get() {
510 SWIG_MakePtr(ptemp
, (char *) wxCYAN_PEN
,"_wxPen_p");
511 pyobj
= PyString_FromString(ptemp
);
515 static int _wrap_wxGREEN_PEN_set(PyObject
*val
) {
517 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_PEN is read-only.");
521 static PyObject
*_wrap_wxGREEN_PEN_get() {
525 SWIG_MakePtr(ptemp
, (char *) wxGREEN_PEN
,"_wxPen_p");
526 pyobj
= PyString_FromString(ptemp
);
530 static int _wrap_wxBLACK_PEN_set(PyObject
*val
) {
532 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_PEN is read-only.");
536 static PyObject
*_wrap_wxBLACK_PEN_get() {
540 SWIG_MakePtr(ptemp
, (char *) wxBLACK_PEN
,"_wxPen_p");
541 pyobj
= PyString_FromString(ptemp
);
545 static int _wrap_wxWHITE_PEN_set(PyObject
*val
) {
547 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_PEN is read-only.");
551 static PyObject
*_wrap_wxWHITE_PEN_get() {
555 SWIG_MakePtr(ptemp
, (char *) wxWHITE_PEN
,"_wxPen_p");
556 pyobj
= PyString_FromString(ptemp
);
560 static int _wrap_wxTRANSPARENT_PEN_set(PyObject
*val
) {
562 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_PEN is read-only.");
566 static PyObject
*_wrap_wxTRANSPARENT_PEN_get() {
570 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_PEN
,"_wxPen_p");
571 pyobj
= PyString_FromString(ptemp
);
575 static int _wrap_wxBLACK_DASHED_PEN_set(PyObject
*val
) {
577 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_DASHED_PEN is read-only.");
581 static PyObject
*_wrap_wxBLACK_DASHED_PEN_get() {
585 SWIG_MakePtr(ptemp
, (char *) wxBLACK_DASHED_PEN
,"_wxPen_p");
586 pyobj
= PyString_FromString(ptemp
);
590 static int _wrap_wxGREY_PEN_set(PyObject
*val
) {
592 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_PEN is read-only.");
596 static PyObject
*_wrap_wxGREY_PEN_get() {
600 SWIG_MakePtr(ptemp
, (char *) wxGREY_PEN
,"_wxPen_p");
601 pyobj
= PyString_FromString(ptemp
);
605 static int _wrap_wxMEDIUM_GREY_PEN_set(PyObject
*val
) {
607 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_PEN is read-only.");
611 static PyObject
*_wrap_wxMEDIUM_GREY_PEN_get() {
615 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_PEN
,"_wxPen_p");
616 pyobj
= PyString_FromString(ptemp
);
620 static int _wrap_wxLIGHT_GREY_PEN_set(PyObject
*val
) {
622 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_PEN is read-only.");
626 static PyObject
*_wrap_wxLIGHT_GREY_PEN_get() {
630 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_PEN
,"_wxPen_p");
631 pyobj
= PyString_FromString(ptemp
);
635 static int _wrap_wxBLUE_BRUSH_set(PyObject
*val
) {
637 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE_BRUSH is read-only.");
641 static PyObject
*_wrap_wxBLUE_BRUSH_get() {
645 SWIG_MakePtr(ptemp
, (char *) wxBLUE_BRUSH
,"_wxBrush_p");
646 pyobj
= PyString_FromString(ptemp
);
650 static int _wrap_wxGREEN_BRUSH_set(PyObject
*val
) {
652 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_BRUSH is read-only.");
656 static PyObject
*_wrap_wxGREEN_BRUSH_get() {
660 SWIG_MakePtr(ptemp
, (char *) wxGREEN_BRUSH
,"_wxBrush_p");
661 pyobj
= PyString_FromString(ptemp
);
665 static int _wrap_wxWHITE_BRUSH_set(PyObject
*val
) {
667 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_BRUSH is read-only.");
671 static PyObject
*_wrap_wxWHITE_BRUSH_get() {
675 SWIG_MakePtr(ptemp
, (char *) wxWHITE_BRUSH
,"_wxBrush_p");
676 pyobj
= PyString_FromString(ptemp
);
680 static int _wrap_wxBLACK_BRUSH_set(PyObject
*val
) {
682 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_BRUSH is read-only.");
686 static PyObject
*_wrap_wxBLACK_BRUSH_get() {
690 SWIG_MakePtr(ptemp
, (char *) wxBLACK_BRUSH
,"_wxBrush_p");
691 pyobj
= PyString_FromString(ptemp
);
695 static int _wrap_wxTRANSPARENT_BRUSH_set(PyObject
*val
) {
697 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_BRUSH is read-only.");
701 static PyObject
*_wrap_wxTRANSPARENT_BRUSH_get() {
705 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_BRUSH
,"_wxBrush_p");
706 pyobj
= PyString_FromString(ptemp
);
710 static int _wrap_wxCYAN_BRUSH_set(PyObject
*val
) {
712 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_BRUSH is read-only.");
716 static PyObject
*_wrap_wxCYAN_BRUSH_get() {
720 SWIG_MakePtr(ptemp
, (char *) wxCYAN_BRUSH
,"_wxBrush_p");
721 pyobj
= PyString_FromString(ptemp
);
725 static int _wrap_wxRED_BRUSH_set(PyObject
*val
) {
727 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_BRUSH is read-only.");
731 static PyObject
*_wrap_wxRED_BRUSH_get() {
735 SWIG_MakePtr(ptemp
, (char *) wxRED_BRUSH
,"_wxBrush_p");
736 pyobj
= PyString_FromString(ptemp
);
740 static int _wrap_wxGREY_BRUSH_set(PyObject
*val
) {
742 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_BRUSH is read-only.");
746 static PyObject
*_wrap_wxGREY_BRUSH_get() {
750 SWIG_MakePtr(ptemp
, (char *) wxGREY_BRUSH
,"_wxBrush_p");
751 pyobj
= PyString_FromString(ptemp
);
755 static int _wrap_wxMEDIUM_GREY_BRUSH_set(PyObject
*val
) {
757 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_BRUSH is read-only.");
761 static PyObject
*_wrap_wxMEDIUM_GREY_BRUSH_get() {
765 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_BRUSH
,"_wxBrush_p");
766 pyobj
= PyString_FromString(ptemp
);
770 static int _wrap_wxLIGHT_GREY_BRUSH_set(PyObject
*val
) {
772 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_BRUSH is read-only.");
776 static PyObject
*_wrap_wxLIGHT_GREY_BRUSH_get() {
780 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_BRUSH
,"_wxBrush_p");
781 pyobj
= PyString_FromString(ptemp
);
785 static int _wrap_wxBLACK_set(PyObject
*val
) {
787 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK is read-only.");
791 static PyObject
*_wrap_wxBLACK_get() {
795 SWIG_MakePtr(ptemp
, (char *) wxBLACK
,"_wxColour_p");
796 pyobj
= PyString_FromString(ptemp
);
800 static int _wrap_wxWHITE_set(PyObject
*val
) {
802 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE is read-only.");
806 static PyObject
*_wrap_wxWHITE_get() {
810 SWIG_MakePtr(ptemp
, (char *) wxWHITE
,"_wxColour_p");
811 pyobj
= PyString_FromString(ptemp
);
815 static int _wrap_wxRED_set(PyObject
*val
) {
817 PyErr_SetString(PyExc_TypeError
,"Variable wxRED is read-only.");
821 static PyObject
*_wrap_wxRED_get() {
825 SWIG_MakePtr(ptemp
, (char *) wxRED
,"_wxColour_p");
826 pyobj
= PyString_FromString(ptemp
);
830 static int _wrap_wxBLUE_set(PyObject
*val
) {
832 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE is read-only.");
836 static PyObject
*_wrap_wxBLUE_get() {
840 SWIG_MakePtr(ptemp
, (char *) wxBLUE
,"_wxColour_p");
841 pyobj
= PyString_FromString(ptemp
);
845 static int _wrap_wxGREEN_set(PyObject
*val
) {
847 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN is read-only.");
851 static PyObject
*_wrap_wxGREEN_get() {
855 SWIG_MakePtr(ptemp
, (char *) wxGREEN
,"_wxColour_p");
856 pyobj
= PyString_FromString(ptemp
);
860 static int _wrap_wxCYAN_set(PyObject
*val
) {
862 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN is read-only.");
866 static PyObject
*_wrap_wxCYAN_get() {
870 SWIG_MakePtr(ptemp
, (char *) wxCYAN
,"_wxColour_p");
871 pyobj
= PyString_FromString(ptemp
);
875 static int _wrap_wxLIGHT_GREY_set(PyObject
*val
) {
877 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY is read-only.");
881 static PyObject
*_wrap_wxLIGHT_GREY_get() {
885 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY
,"_wxColour_p");
886 pyobj
= PyString_FromString(ptemp
);
890 static int _wrap_wxSTANDARD_CURSOR_set(PyObject
*val
) {
892 PyErr_SetString(PyExc_TypeError
,"Variable wxSTANDARD_CURSOR is read-only.");
896 static PyObject
*_wrap_wxSTANDARD_CURSOR_get() {
900 SWIG_MakePtr(ptemp
, (char *) wxSTANDARD_CURSOR
,"_wxCursor_p");
901 pyobj
= PyString_FromString(ptemp
);
905 static int _wrap_wxHOURGLASS_CURSOR_set(PyObject
*val
) {
907 PyErr_SetString(PyExc_TypeError
,"Variable wxHOURGLASS_CURSOR is read-only.");
911 static PyObject
*_wrap_wxHOURGLASS_CURSOR_get() {
915 SWIG_MakePtr(ptemp
, (char *) wxHOURGLASS_CURSOR
,"_wxCursor_p");
916 pyobj
= PyString_FromString(ptemp
);
920 static int _wrap_wxCROSS_CURSOR_set(PyObject
*val
) {
922 PyErr_SetString(PyExc_TypeError
,"Variable wxCROSS_CURSOR is read-only.");
926 static PyObject
*_wrap_wxCROSS_CURSOR_get() {
930 SWIG_MakePtr(ptemp
, (char *) wxCROSS_CURSOR
,"_wxCursor_p");
931 pyobj
= PyString_FromString(ptemp
);
935 static int _wrap_wxNullBitmap_set(PyObject
*val
) {
937 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBitmap is read-only.");
941 static PyObject
*_wrap_wxNullBitmap_get() {
945 SWIG_MakePtr(ptemp
,(char *) &wxNullBitmap
,"_wxBitmap_p");
946 pyobj
= PyString_FromString(ptemp
);
950 static int _wrap_wxNullIcon_set(PyObject
*val
) {
952 PyErr_SetString(PyExc_TypeError
,"Variable wxNullIcon is read-only.");
956 static PyObject
*_wrap_wxNullIcon_get() {
960 SWIG_MakePtr(ptemp
,(char *) &wxNullIcon
,"_wxIcon_p");
961 pyobj
= PyString_FromString(ptemp
);
965 static int _wrap_wxNullCursor_set(PyObject
*val
) {
967 PyErr_SetString(PyExc_TypeError
,"Variable wxNullCursor is read-only.");
971 static PyObject
*_wrap_wxNullCursor_get() {
975 SWIG_MakePtr(ptemp
,(char *) &wxNullCursor
,"_wxCursor_p");
976 pyobj
= PyString_FromString(ptemp
);
980 static int _wrap_wxNullPen_set(PyObject
*val
) {
982 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPen is read-only.");
986 static PyObject
*_wrap_wxNullPen_get() {
990 SWIG_MakePtr(ptemp
,(char *) &wxNullPen
,"_wxPen_p");
991 pyobj
= PyString_FromString(ptemp
);
995 static int _wrap_wxNullBrush_set(PyObject
*val
) {
997 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBrush is read-only.");
1001 static PyObject
*_wrap_wxNullBrush_get() {
1005 SWIG_MakePtr(ptemp
,(char *) &wxNullBrush
,"_wxBrush_p");
1006 pyobj
= PyString_FromString(ptemp
);
1010 static int _wrap_wxNullPalette_set(PyObject
*val
) {
1012 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPalette is read-only.");
1016 static PyObject
*_wrap_wxNullPalette_get() {
1020 SWIG_MakePtr(ptemp
,(char *) &wxNullPalette
,"_wxPalette_p");
1021 pyobj
= PyString_FromString(ptemp
);
1025 static int _wrap_wxNullFont_set(PyObject
*val
) {
1027 PyErr_SetString(PyExc_TypeError
,"Variable wxNullFont is read-only.");
1031 static PyObject
*_wrap_wxNullFont_get() {
1035 SWIG_MakePtr(ptemp
,(char *) &wxNullFont
,"_wxFont_p");
1036 pyobj
= PyString_FromString(ptemp
);
1040 static int _wrap_wxNullColour_set(PyObject
*val
) {
1042 PyErr_SetString(PyExc_TypeError
,"Variable wxNullColour is read-only.");
1046 static PyObject
*_wrap_wxNullColour_get() {
1050 SWIG_MakePtr(ptemp
,(char *) &wxNullColour
,"_wxColour_p");
1051 pyobj
= PyString_FromString(ptemp
);
1055 #define new_wxBitmap(_swigarg0,_swigarg1) (new wxBitmap(_swigarg0,_swigarg1))
1056 static PyObject
*_wrap_new_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1057 PyObject
* _resultobj
;
1061 PyObject
* _obj0
= 0;
1062 char *_kwnames
[] = { "name","type", NULL
};
1066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:new_wxBitmap",_kwnames
,&_obj0
,&_arg1
))
1069 if (!PyString_Check(_obj0
)) {
1070 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1073 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
1076 wxPy_BEGIN_ALLOW_THREADS
;
1077 _result
= (wxBitmap
*)new_wxBitmap(*_arg0
,_arg1
);
1079 wxPy_END_ALLOW_THREADS
;
1081 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1082 _resultobj
= Py_BuildValue("s",_ptemp
);
1085 _resultobj
= Py_None
;
1094 #define delete_wxBitmap(_swigobj) (delete _swigobj)
1095 static PyObject
*_wrap_delete_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1096 PyObject
* _resultobj
;
1098 PyObject
* _argo0
= 0;
1099 char *_kwnames
[] = { "self", NULL
};
1102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBitmap",_kwnames
,&_argo0
))
1105 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1106 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBitmap. Expected _wxBitmap_p.");
1112 wxPy_BEGIN_ALLOW_THREADS
;
1113 delete_wxBitmap(_arg0
);
1115 wxPy_END_ALLOW_THREADS
;
1116 } Py_INCREF(Py_None
);
1117 _resultobj
= Py_None
;
1121 #define wxBitmap_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2))
1122 static PyObject
*_wrap_wxBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1123 PyObject
* _resultobj
;
1127 int _arg3
= (int ) -1;
1128 PyObject
* _argo0
= 0;
1129 char *_kwnames
[] = { "self","width","height","depth", NULL
};
1132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxBitmap_Create",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
1135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_Create. Expected _wxBitmap_p.");
1142 wxPy_BEGIN_ALLOW_THREADS
;
1143 wxBitmap_Create(_arg0
,_arg1
,_arg2
,_arg3
);
1145 wxPy_END_ALLOW_THREADS
;
1146 } Py_INCREF(Py_None
);
1147 _resultobj
= Py_None
;
1151 #define wxBitmap_GetDepth(_swigobj) (_swigobj->GetDepth())
1152 static PyObject
*_wrap_wxBitmap_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1153 PyObject
* _resultobj
;
1156 PyObject
* _argo0
= 0;
1157 char *_kwnames
[] = { "self", NULL
};
1160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetDepth",_kwnames
,&_argo0
))
1163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetDepth. Expected _wxBitmap_p.");
1170 wxPy_BEGIN_ALLOW_THREADS
;
1171 _result
= (int )wxBitmap_GetDepth(_arg0
);
1173 wxPy_END_ALLOW_THREADS
;
1174 } _resultobj
= Py_BuildValue("i",_result
);
1178 #define wxBitmap_GetHeight(_swigobj) (_swigobj->GetHeight())
1179 static PyObject
*_wrap_wxBitmap_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1180 PyObject
* _resultobj
;
1183 PyObject
* _argo0
= 0;
1184 char *_kwnames
[] = { "self", NULL
};
1187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetHeight",_kwnames
,&_argo0
))
1190 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1191 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetHeight. Expected _wxBitmap_p.");
1197 wxPy_BEGIN_ALLOW_THREADS
;
1198 _result
= (int )wxBitmap_GetHeight(_arg0
);
1200 wxPy_END_ALLOW_THREADS
;
1201 } _resultobj
= Py_BuildValue("i",_result
);
1205 #define wxBitmap_GetPalette(_swigobj) (_swigobj->GetPalette())
1206 static PyObject
*_wrap_wxBitmap_GetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1207 PyObject
* _resultobj
;
1208 wxPalette
* _result
;
1210 PyObject
* _argo0
= 0;
1211 char *_kwnames
[] = { "self", NULL
};
1215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetPalette",_kwnames
,&_argo0
))
1218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetPalette. Expected _wxBitmap_p.");
1225 wxPy_BEGIN_ALLOW_THREADS
;
1226 _result
= (wxPalette
*)wxBitmap_GetPalette(_arg0
);
1228 wxPy_END_ALLOW_THREADS
;
1230 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
1231 _resultobj
= Py_BuildValue("s",_ptemp
);
1234 _resultobj
= Py_None
;
1239 #define wxBitmap_GetMask(_swigobj) (_swigobj->GetMask())
1240 static PyObject
*_wrap_wxBitmap_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1241 PyObject
* _resultobj
;
1244 PyObject
* _argo0
= 0;
1245 char *_kwnames
[] = { "self", NULL
};
1249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetMask",_kwnames
,&_argo0
))
1252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetMask. Expected _wxBitmap_p.");
1259 wxPy_BEGIN_ALLOW_THREADS
;
1260 _result
= (wxMask
*)wxBitmap_GetMask(_arg0
);
1262 wxPy_END_ALLOW_THREADS
;
1264 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
1265 _resultobj
= Py_BuildValue("s",_ptemp
);
1268 _resultobj
= Py_None
;
1273 #define wxBitmap_GetWidth(_swigobj) (_swigobj->GetWidth())
1274 static PyObject
*_wrap_wxBitmap_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1275 PyObject
* _resultobj
;
1278 PyObject
* _argo0
= 0;
1279 char *_kwnames
[] = { "self", NULL
};
1282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetWidth",_kwnames
,&_argo0
))
1285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetWidth. Expected _wxBitmap_p.");
1292 wxPy_BEGIN_ALLOW_THREADS
;
1293 _result
= (int )wxBitmap_GetWidth(_arg0
);
1295 wxPy_END_ALLOW_THREADS
;
1296 } _resultobj
= Py_BuildValue("i",_result
);
1300 #define wxBitmap_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1301 static PyObject
*_wrap_wxBitmap_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1302 PyObject
* _resultobj
;
1307 PyObject
* _argo0
= 0;
1308 PyObject
* _obj1
= 0;
1309 char *_kwnames
[] = { "self","name","flags", NULL
};
1312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOl:wxBitmap_LoadFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_LoadFile. Expected _wxBitmap_p.");
1322 if (!PyString_Check(_obj1
)) {
1323 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1326 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1329 wxPy_BEGIN_ALLOW_THREADS
;
1330 _result
= (bool )wxBitmap_LoadFile(_arg0
,*_arg1
,_arg2
);
1332 wxPy_END_ALLOW_THREADS
;
1333 } _resultobj
= Py_BuildValue("i",_result
);
1341 #define wxBitmap_Ok(_swigobj) (_swigobj->Ok())
1342 static PyObject
*_wrap_wxBitmap_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1343 PyObject
* _resultobj
;
1346 PyObject
* _argo0
= 0;
1347 char *_kwnames
[] = { "self", NULL
};
1350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_Ok",_kwnames
,&_argo0
))
1353 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1354 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_Ok. Expected _wxBitmap_p.");
1360 wxPy_BEGIN_ALLOW_THREADS
;
1361 _result
= (bool )wxBitmap_Ok(_arg0
);
1363 wxPy_END_ALLOW_THREADS
;
1364 } _resultobj
= Py_BuildValue("i",_result
);
1368 #define wxBitmap_SaveFile(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SaveFile(_swigarg0,_swigarg1,_swigarg2))
1369 static PyObject
*_wrap_wxBitmap_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1370 PyObject
* _resultobj
;
1375 wxPalette
* _arg3
= (wxPalette
*) NULL
;
1376 PyObject
* _argo0
= 0;
1377 PyObject
* _obj1
= 0;
1378 PyObject
* _argo3
= 0;
1379 char *_kwnames
[] = { "self","name","type","palette", NULL
};
1382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|O:wxBitmap_SaveFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_argo3
))
1385 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1386 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SaveFile. Expected _wxBitmap_p.");
1392 if (!PyString_Check(_obj1
)) {
1393 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1396 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1399 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1400 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxPalette_p")) {
1401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxBitmap_SaveFile. Expected _wxPalette_p.");
1406 wxPy_BEGIN_ALLOW_THREADS
;
1407 _result
= (bool )wxBitmap_SaveFile(_arg0
,*_arg1
,_arg2
,_arg3
);
1409 wxPy_END_ALLOW_THREADS
;
1410 } _resultobj
= Py_BuildValue("i",_result
);
1418 #define wxBitmap_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
1419 static PyObject
*_wrap_wxBitmap_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1420 PyObject
* _resultobj
;
1423 PyObject
* _argo0
= 0;
1424 char *_kwnames
[] = { "self","depth", NULL
};
1427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetDepth",_kwnames
,&_argo0
,&_arg1
))
1430 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1431 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetDepth. Expected _wxBitmap_p.");
1437 wxPy_BEGIN_ALLOW_THREADS
;
1438 wxBitmap_SetDepth(_arg0
,_arg1
);
1440 wxPy_END_ALLOW_THREADS
;
1441 } Py_INCREF(Py_None
);
1442 _resultobj
= Py_None
;
1446 #define wxBitmap_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1447 static PyObject
*_wrap_wxBitmap_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1448 PyObject
* _resultobj
;
1451 PyObject
* _argo0
= 0;
1452 char *_kwnames
[] = { "self","height", NULL
};
1455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetHeight",_kwnames
,&_argo0
,&_arg1
))
1458 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1459 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetHeight. Expected _wxBitmap_p.");
1465 wxPy_BEGIN_ALLOW_THREADS
;
1466 wxBitmap_SetHeight(_arg0
,_arg1
);
1468 wxPy_END_ALLOW_THREADS
;
1469 } Py_INCREF(Py_None
);
1470 _resultobj
= Py_None
;
1474 #define wxBitmap_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
1475 static PyObject
*_wrap_wxBitmap_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1476 PyObject
* _resultobj
;
1479 PyObject
* _argo0
= 0;
1480 PyObject
* _argo1
= 0;
1481 char *_kwnames
[] = { "self","mask", NULL
};
1484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_SetMask",_kwnames
,&_argo0
,&_argo1
))
1487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetMask. Expected _wxBitmap_p.");
1494 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1495 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMask_p")) {
1496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_SetMask. Expected _wxMask_p.");
1501 wxPy_BEGIN_ALLOW_THREADS
;
1502 wxBitmap_SetMask(_arg0
,_arg1
);
1504 wxPy_END_ALLOW_THREADS
;
1505 } Py_INCREF(Py_None
);
1506 _resultobj
= Py_None
;
1510 #define wxBitmap_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
1511 static PyObject
*_wrap_wxBitmap_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1512 PyObject
* _resultobj
;
1515 PyObject
* _argo0
= 0;
1516 PyObject
* _argo1
= 0;
1517 char *_kwnames
[] = { "self","palette", NULL
};
1520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_SetPalette",_kwnames
,&_argo0
,&_argo1
))
1523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetPalette. Expected _wxBitmap_p.");
1530 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1531 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPalette_p")) {
1532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_SetPalette. Expected _wxPalette_p.");
1537 wxPy_BEGIN_ALLOW_THREADS
;
1538 wxBitmap_SetPalette(_arg0
,*_arg1
);
1540 wxPy_END_ALLOW_THREADS
;
1541 } Py_INCREF(Py_None
);
1542 _resultobj
= Py_None
;
1546 #define wxBitmap_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1547 static PyObject
*_wrap_wxBitmap_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1548 PyObject
* _resultobj
;
1551 PyObject
* _argo0
= 0;
1552 char *_kwnames
[] = { "self","width", NULL
};
1555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetWidth",_kwnames
,&_argo0
,&_arg1
))
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_SetWidth. Expected _wxBitmap_p.");
1565 wxPy_BEGIN_ALLOW_THREADS
;
1566 wxBitmap_SetWidth(_arg0
,_arg1
);
1568 wxPy_END_ALLOW_THREADS
;
1569 } Py_INCREF(Py_None
);
1570 _resultobj
= Py_None
;
1574 #define new_wxMask(_swigarg0) (new wxMask(_swigarg0))
1575 static PyObject
*_wrap_new_wxMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1576 PyObject
* _resultobj
;
1579 PyObject
* _argo0
= 0;
1580 char *_kwnames
[] = { "bitmap", NULL
};
1584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxMask",_kwnames
,&_argo0
))
1587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMask. Expected _wxBitmap_p.");
1594 wxPy_BEGIN_ALLOW_THREADS
;
1595 _result
= (wxMask
*)new_wxMask(*_arg0
);
1597 wxPy_END_ALLOW_THREADS
;
1599 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
1600 _resultobj
= Py_BuildValue("s",_ptemp
);
1603 _resultobj
= Py_None
;
1608 #define delete_wxMask(_swigobj) (delete _swigobj)
1609 static PyObject
*_wrap_delete_wxMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1610 PyObject
* _resultobj
;
1612 PyObject
* _argo0
= 0;
1613 char *_kwnames
[] = { "self", NULL
};
1616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMask",_kwnames
,&_argo0
))
1619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMask_p")) {
1621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMask. Expected _wxMask_p.");
1626 wxPy_BEGIN_ALLOW_THREADS
;
1627 delete_wxMask(_arg0
);
1629 wxPy_END_ALLOW_THREADS
;
1630 } Py_INCREF(Py_None
);
1631 _resultobj
= Py_None
;
1635 static void *SwigwxIconTowxBitmap(void *ptr
) {
1638 src
= (wxIcon
*) ptr
;
1639 dest
= (wxBitmap
*) src
;
1640 return (void *) dest
;
1643 #define new_wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1644 static PyObject
*_wrap_new_wxIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1645 PyObject
* _resultobj
;
1649 int _arg2
= (int ) -1;
1650 int _arg3
= (int ) -1;
1651 PyObject
* _obj0
= 0;
1652 char *_kwnames
[] = { "name","flags","desiredWidth","desiredHeight", NULL
};
1656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:new_wxIcon",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
))
1659 if (!PyString_Check(_obj0
)) {
1660 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1663 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
1666 wxPy_BEGIN_ALLOW_THREADS
;
1667 _result
= (wxIcon
*)new_wxIcon(*_arg0
,_arg1
,_arg2
,_arg3
);
1669 wxPy_END_ALLOW_THREADS
;
1671 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
1672 _resultobj
= Py_BuildValue("s",_ptemp
);
1675 _resultobj
= Py_None
;
1684 #define delete_wxIcon(_swigobj) (delete _swigobj)
1685 static PyObject
*_wrap_delete_wxIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1686 PyObject
* _resultobj
;
1688 PyObject
* _argo0
= 0;
1689 char *_kwnames
[] = { "self", NULL
};
1692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxIcon",_kwnames
,&_argo0
))
1695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxIcon. Expected _wxIcon_p.");
1702 wxPy_BEGIN_ALLOW_THREADS
;
1703 delete_wxIcon(_arg0
);
1705 wxPy_END_ALLOW_THREADS
;
1706 } Py_INCREF(Py_None
);
1707 _resultobj
= Py_None
;
1711 #define wxIcon_GetDepth(_swigobj) (_swigobj->GetDepth())
1712 static PyObject
*_wrap_wxIcon_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1713 PyObject
* _resultobj
;
1716 PyObject
* _argo0
= 0;
1717 char *_kwnames
[] = { "self", NULL
};
1720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetDepth",_kwnames
,&_argo0
))
1723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetDepth. Expected _wxIcon_p.");
1730 wxPy_BEGIN_ALLOW_THREADS
;
1731 _result
= (int )wxIcon_GetDepth(_arg0
);
1733 wxPy_END_ALLOW_THREADS
;
1734 } _resultobj
= Py_BuildValue("i",_result
);
1738 #define wxIcon_GetHeight(_swigobj) (_swigobj->GetHeight())
1739 static PyObject
*_wrap_wxIcon_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1740 PyObject
* _resultobj
;
1743 PyObject
* _argo0
= 0;
1744 char *_kwnames
[] = { "self", NULL
};
1747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetHeight",_kwnames
,&_argo0
))
1750 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1751 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetHeight. Expected _wxIcon_p.");
1757 wxPy_BEGIN_ALLOW_THREADS
;
1758 _result
= (int )wxIcon_GetHeight(_arg0
);
1760 wxPy_END_ALLOW_THREADS
;
1761 } _resultobj
= Py_BuildValue("i",_result
);
1765 #define wxIcon_GetWidth(_swigobj) (_swigobj->GetWidth())
1766 static PyObject
*_wrap_wxIcon_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1767 PyObject
* _resultobj
;
1770 PyObject
* _argo0
= 0;
1771 char *_kwnames
[] = { "self", NULL
};
1774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetWidth",_kwnames
,&_argo0
))
1777 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1778 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetWidth. Expected _wxIcon_p.");
1784 wxPy_BEGIN_ALLOW_THREADS
;
1785 _result
= (int )wxIcon_GetWidth(_arg0
);
1787 wxPy_END_ALLOW_THREADS
;
1788 } _resultobj
= Py_BuildValue("i",_result
);
1792 #define wxIcon_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1793 static PyObject
*_wrap_wxIcon_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1794 PyObject
* _resultobj
;
1799 PyObject
* _argo0
= 0;
1800 PyObject
* _obj1
= 0;
1801 char *_kwnames
[] = { "self","name","flags", NULL
};
1804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOl:wxIcon_LoadFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_LoadFile. Expected _wxIcon_p.");
1814 if (!PyString_Check(_obj1
)) {
1815 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1818 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1821 wxPy_BEGIN_ALLOW_THREADS
;
1822 _result
= (bool )wxIcon_LoadFile(_arg0
,*_arg1
,_arg2
);
1824 wxPy_END_ALLOW_THREADS
;
1825 } _resultobj
= Py_BuildValue("i",_result
);
1833 #define wxIcon_Ok(_swigobj) (_swigobj->Ok())
1834 static PyObject
*_wrap_wxIcon_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1835 PyObject
* _resultobj
;
1838 PyObject
* _argo0
= 0;
1839 char *_kwnames
[] = { "self", NULL
};
1842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_Ok",_kwnames
,&_argo0
))
1845 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1846 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_Ok. Expected _wxIcon_p.");
1852 wxPy_BEGIN_ALLOW_THREADS
;
1853 _result
= (bool )wxIcon_Ok(_arg0
);
1855 wxPy_END_ALLOW_THREADS
;
1856 } _resultobj
= Py_BuildValue("i",_result
);
1860 #define wxIcon_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
1861 static PyObject
*_wrap_wxIcon_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1862 PyObject
* _resultobj
;
1865 PyObject
* _argo0
= 0;
1866 char *_kwnames
[] = { "self","depth", NULL
};
1869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetDepth",_kwnames
,&_argo0
,&_arg1
))
1872 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1873 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetDepth. Expected _wxIcon_p.");
1879 wxPy_BEGIN_ALLOW_THREADS
;
1880 wxIcon_SetDepth(_arg0
,_arg1
);
1882 wxPy_END_ALLOW_THREADS
;
1883 } Py_INCREF(Py_None
);
1884 _resultobj
= Py_None
;
1888 #define wxIcon_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1889 static PyObject
*_wrap_wxIcon_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1890 PyObject
* _resultobj
;
1893 PyObject
* _argo0
= 0;
1894 char *_kwnames
[] = { "self","height", NULL
};
1897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetHeight",_kwnames
,&_argo0
,&_arg1
))
1900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetHeight. Expected _wxIcon_p.");
1907 wxPy_BEGIN_ALLOW_THREADS
;
1908 wxIcon_SetHeight(_arg0
,_arg1
);
1910 wxPy_END_ALLOW_THREADS
;
1911 } Py_INCREF(Py_None
);
1912 _resultobj
= Py_None
;
1916 #define wxIcon_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1917 static PyObject
*_wrap_wxIcon_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1918 PyObject
* _resultobj
;
1921 PyObject
* _argo0
= 0;
1922 char *_kwnames
[] = { "self","width", NULL
};
1925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetWidth",_kwnames
,&_argo0
,&_arg1
))
1928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetWidth. Expected _wxIcon_p.");
1935 wxPy_BEGIN_ALLOW_THREADS
;
1936 wxIcon_SetWidth(_arg0
,_arg1
);
1938 wxPy_END_ALLOW_THREADS
;
1939 } Py_INCREF(Py_None
);
1940 _resultobj
= Py_None
;
1944 static void *SwigwxCursorTowxBitmap(void *ptr
) {
1947 src
= (wxCursor
*) ptr
;
1948 dest
= (wxBitmap
*) src
;
1949 return (void *) dest
;
1952 #define new_wxCursor(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxCursor(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1953 static PyObject
*_wrap_new_wxCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1954 PyObject
* _resultobj
;
1958 int _arg2
= (int ) 0;
1959 int _arg3
= (int ) 0;
1960 PyObject
* _obj0
= 0;
1961 char *_kwnames
[] = { "cursorName","flags","hotSpotX","hotSpotY", NULL
};
1965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:new_wxCursor",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
))
1968 if (!PyString_Check(_obj0
)) {
1969 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1972 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
1975 wxPy_BEGIN_ALLOW_THREADS
;
1976 _result
= (wxCursor
*)new_wxCursor(*_arg0
,_arg1
,_arg2
,_arg3
);
1978 wxPy_END_ALLOW_THREADS
;
1980 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCursor_p");
1981 _resultobj
= Py_BuildValue("s",_ptemp
);
1984 _resultobj
= Py_None
;
1993 #define delete_wxCursor(_swigobj) (delete _swigobj)
1994 static PyObject
*_wrap_delete_wxCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1995 PyObject
* _resultobj
;
1997 PyObject
* _argo0
= 0;
1998 char *_kwnames
[] = { "self", NULL
};
2001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCursor",_kwnames
,&_argo0
))
2004 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2005 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCursor. Expected _wxCursor_p.");
2011 wxPy_BEGIN_ALLOW_THREADS
;
2012 delete_wxCursor(_arg0
);
2014 wxPy_END_ALLOW_THREADS
;
2015 } Py_INCREF(Py_None
);
2016 _resultobj
= Py_None
;
2020 #define wxCursor_Ok(_swigobj) (_swigobj->Ok())
2021 static PyObject
*_wrap_wxCursor_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2022 PyObject
* _resultobj
;
2025 PyObject
* _argo0
= 0;
2026 char *_kwnames
[] = { "self", NULL
};
2029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCursor_Ok",_kwnames
,&_argo0
))
2032 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2033 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_Ok. Expected _wxCursor_p.");
2039 wxPy_BEGIN_ALLOW_THREADS
;
2040 _result
= (bool )wxCursor_Ok(_arg0
);
2042 wxPy_END_ALLOW_THREADS
;
2043 } _resultobj
= Py_BuildValue("i",_result
);
2047 static wxFont
*new_wxFont(int pointSize
,int family
,int style
,int weight
,int underline
,char *faceName
) {
2049 return wxTheFontList
->FindOrCreateFont(pointSize
, family
, style
, weight
,
2050 underline
, faceName
);
2053 static PyObject
*_wrap_new_wxFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2054 PyObject
* _resultobj
;
2060 int _arg4
= (int ) FALSE
;
2061 char * _arg5
= (char *) "";
2062 char *_kwnames
[] = { "pointSize","family","style","weight","underline","faceName", NULL
};
2066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiii|is:new_wxFont",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2069 wxPy_BEGIN_ALLOW_THREADS
;
2070 _result
= (wxFont
*)new_wxFont(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2072 wxPy_END_ALLOW_THREADS
;
2074 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
2075 _resultobj
= Py_BuildValue("s",_ptemp
);
2078 _resultobj
= Py_None
;
2083 #define wxFont_GetFaceName(_swigobj) (_swigobj->GetFaceName())
2084 static PyObject
*_wrap_wxFont_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2085 PyObject
* _resultobj
;
2088 PyObject
* _argo0
= 0;
2089 char *_kwnames
[] = { "self", NULL
};
2092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFaceName",_kwnames
,&_argo0
))
2095 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2096 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFaceName. Expected _wxFont_p.");
2102 wxPy_BEGIN_ALLOW_THREADS
;
2103 _result
= new wxString (wxFont_GetFaceName(_arg0
));
2105 wxPy_END_ALLOW_THREADS
;
2107 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
2115 #define wxFont_GetFamily(_swigobj) (_swigobj->GetFamily())
2116 static PyObject
*_wrap_wxFont_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2117 PyObject
* _resultobj
;
2120 PyObject
* _argo0
= 0;
2121 char *_kwnames
[] = { "self", NULL
};
2124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFamily",_kwnames
,&_argo0
))
2127 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2128 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFamily. Expected _wxFont_p.");
2134 wxPy_BEGIN_ALLOW_THREADS
;
2135 _result
= (int )wxFont_GetFamily(_arg0
);
2137 wxPy_END_ALLOW_THREADS
;
2138 } _resultobj
= Py_BuildValue("i",_result
);
2142 #define wxFont_GetFontId(_swigobj) (_swigobj->GetFontId())
2143 static PyObject
*_wrap_wxFont_GetFontId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2144 PyObject
* _resultobj
;
2147 PyObject
* _argo0
= 0;
2148 char *_kwnames
[] = { "self", NULL
};
2151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFontId",_kwnames
,&_argo0
))
2154 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2155 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFontId. Expected _wxFont_p.");
2161 wxPy_BEGIN_ALLOW_THREADS
;
2162 _result
= (int )wxFont_GetFontId(_arg0
);
2164 wxPy_END_ALLOW_THREADS
;
2165 } _resultobj
= Py_BuildValue("i",_result
);
2169 #define wxFont_GetPointSize(_swigobj) (_swigobj->GetPointSize())
2170 static PyObject
*_wrap_wxFont_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2171 PyObject
* _resultobj
;
2174 PyObject
* _argo0
= 0;
2175 char *_kwnames
[] = { "self", NULL
};
2178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetPointSize",_kwnames
,&_argo0
))
2181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetPointSize. Expected _wxFont_p.");
2188 wxPy_BEGIN_ALLOW_THREADS
;
2189 _result
= (int )wxFont_GetPointSize(_arg0
);
2191 wxPy_END_ALLOW_THREADS
;
2192 } _resultobj
= Py_BuildValue("i",_result
);
2196 #define wxFont_GetStyle(_swigobj) (_swigobj->GetStyle())
2197 static PyObject
*_wrap_wxFont_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2198 PyObject
* _resultobj
;
2201 PyObject
* _argo0
= 0;
2202 char *_kwnames
[] = { "self", NULL
};
2205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetStyle",_kwnames
,&_argo0
))
2208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetStyle. Expected _wxFont_p.");
2215 wxPy_BEGIN_ALLOW_THREADS
;
2216 _result
= (int )wxFont_GetStyle(_arg0
);
2218 wxPy_END_ALLOW_THREADS
;
2219 } _resultobj
= Py_BuildValue("i",_result
);
2223 #define wxFont_GetUnderlined(_swigobj) (_swigobj->GetUnderlined())
2224 static PyObject
*_wrap_wxFont_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2225 PyObject
* _resultobj
;
2228 PyObject
* _argo0
= 0;
2229 char *_kwnames
[] = { "self", NULL
};
2232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetUnderlined",_kwnames
,&_argo0
))
2235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetUnderlined. Expected _wxFont_p.");
2242 wxPy_BEGIN_ALLOW_THREADS
;
2243 _result
= (bool )wxFont_GetUnderlined(_arg0
);
2245 wxPy_END_ALLOW_THREADS
;
2246 } _resultobj
= Py_BuildValue("i",_result
);
2250 #define wxFont_GetWeight(_swigobj) (_swigobj->GetWeight())
2251 static PyObject
*_wrap_wxFont_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2252 PyObject
* _resultobj
;
2255 PyObject
* _argo0
= 0;
2256 char *_kwnames
[] = { "self", NULL
};
2259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetWeight",_kwnames
,&_argo0
))
2262 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2263 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetWeight. Expected _wxFont_p.");
2269 wxPy_BEGIN_ALLOW_THREADS
;
2270 _result
= (int )wxFont_GetWeight(_arg0
);
2272 wxPy_END_ALLOW_THREADS
;
2273 } _resultobj
= Py_BuildValue("i",_result
);
2277 #define wxFont_SetFaceName(_swigobj,_swigarg0) (_swigobj->SetFaceName(_swigarg0))
2278 static PyObject
*_wrap_wxFont_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2279 PyObject
* _resultobj
;
2282 PyObject
* _argo0
= 0;
2283 PyObject
* _obj1
= 0;
2284 char *_kwnames
[] = { "self","faceName", NULL
};
2287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFont_SetFaceName",_kwnames
,&_argo0
,&_obj1
))
2290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFaceName. Expected _wxFont_p.");
2297 if (!PyString_Check(_obj1
)) {
2298 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2301 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2304 wxPy_BEGIN_ALLOW_THREADS
;
2305 wxFont_SetFaceName(_arg0
,*_arg1
);
2307 wxPy_END_ALLOW_THREADS
;
2308 } Py_INCREF(Py_None
);
2309 _resultobj
= Py_None
;
2317 #define wxFont_SetFamily(_swigobj,_swigarg0) (_swigobj->SetFamily(_swigarg0))
2318 static PyObject
*_wrap_wxFont_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2319 PyObject
* _resultobj
;
2322 PyObject
* _argo0
= 0;
2323 char *_kwnames
[] = { "self","family", NULL
};
2326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetFamily",_kwnames
,&_argo0
,&_arg1
))
2329 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2330 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFamily. Expected _wxFont_p.");
2336 wxPy_BEGIN_ALLOW_THREADS
;
2337 wxFont_SetFamily(_arg0
,_arg1
);
2339 wxPy_END_ALLOW_THREADS
;
2340 } Py_INCREF(Py_None
);
2341 _resultobj
= Py_None
;
2345 #define wxFont_SetPointSize(_swigobj,_swigarg0) (_swigobj->SetPointSize(_swigarg0))
2346 static PyObject
*_wrap_wxFont_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2347 PyObject
* _resultobj
;
2350 PyObject
* _argo0
= 0;
2351 char *_kwnames
[] = { "self","pointSize", NULL
};
2354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetPointSize",_kwnames
,&_argo0
,&_arg1
))
2357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetPointSize. Expected _wxFont_p.");
2364 wxPy_BEGIN_ALLOW_THREADS
;
2365 wxFont_SetPointSize(_arg0
,_arg1
);
2367 wxPy_END_ALLOW_THREADS
;
2368 } Py_INCREF(Py_None
);
2369 _resultobj
= Py_None
;
2373 #define wxFont_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
2374 static PyObject
*_wrap_wxFont_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2375 PyObject
* _resultobj
;
2378 PyObject
* _argo0
= 0;
2379 char *_kwnames
[] = { "self","style", NULL
};
2382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetStyle",_kwnames
,&_argo0
,&_arg1
))
2385 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2386 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetStyle. Expected _wxFont_p.");
2392 wxPy_BEGIN_ALLOW_THREADS
;
2393 wxFont_SetStyle(_arg0
,_arg1
);
2395 wxPy_END_ALLOW_THREADS
;
2396 } Py_INCREF(Py_None
);
2397 _resultobj
= Py_None
;
2401 #define wxFont_SetUnderlined(_swigobj,_swigarg0) (_swigobj->SetUnderlined(_swigarg0))
2402 static PyObject
*_wrap_wxFont_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2403 PyObject
* _resultobj
;
2406 PyObject
* _argo0
= 0;
2408 char *_kwnames
[] = { "self","underlined", NULL
};
2411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetUnderlined",_kwnames
,&_argo0
,&tempbool1
))
2414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetUnderlined. Expected _wxFont_p.");
2420 _arg1
= (bool ) tempbool1
;
2422 wxPy_BEGIN_ALLOW_THREADS
;
2423 wxFont_SetUnderlined(_arg0
,_arg1
);
2425 wxPy_END_ALLOW_THREADS
;
2426 } Py_INCREF(Py_None
);
2427 _resultobj
= Py_None
;
2431 #define wxFont_SetWeight(_swigobj,_swigarg0) (_swigobj->SetWeight(_swigarg0))
2432 static PyObject
*_wrap_wxFont_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2433 PyObject
* _resultobj
;
2436 PyObject
* _argo0
= 0;
2437 char *_kwnames
[] = { "self","weight", NULL
};
2440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetWeight",_kwnames
,&_argo0
,&_arg1
))
2443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetWeight. Expected _wxFont_p.");
2450 wxPy_BEGIN_ALLOW_THREADS
;
2451 wxFont_SetWeight(_arg0
,_arg1
);
2453 wxPy_END_ALLOW_THREADS
;
2454 } Py_INCREF(Py_None
);
2455 _resultobj
= Py_None
;
2459 #define new_wxColour(_swigarg0,_swigarg1,_swigarg2) (new wxColour(_swigarg0,_swigarg1,_swigarg2))
2460 static PyObject
*_wrap_new_wxColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2461 PyObject
* _resultobj
;
2463 unsigned char _arg0
= (unsigned char ) 0;
2464 unsigned char _arg1
= (unsigned char ) 0;
2465 unsigned char _arg2
= (unsigned char ) 0;
2466 char *_kwnames
[] = { "red","green","blue", NULL
};
2470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|bbb:new_wxColour",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
2473 wxPy_BEGIN_ALLOW_THREADS
;
2474 _result
= (wxColour
*)new_wxColour(_arg0
,_arg1
,_arg2
);
2476 wxPy_END_ALLOW_THREADS
;
2478 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
2479 _resultobj
= Py_BuildValue("s",_ptemp
);
2482 _resultobj
= Py_None
;
2487 #define delete_wxColour(_swigobj) (delete _swigobj)
2488 static PyObject
*_wrap_delete_wxColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2489 PyObject
* _resultobj
;
2491 PyObject
* _argo0
= 0;
2492 char *_kwnames
[] = { "self", NULL
};
2495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxColour",_kwnames
,&_argo0
))
2498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
2500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxColour. Expected _wxColour_p.");
2505 wxPy_BEGIN_ALLOW_THREADS
;
2506 delete_wxColour(_arg0
);
2508 wxPy_END_ALLOW_THREADS
;
2509 } Py_INCREF(Py_None
);
2510 _resultobj
= Py_None
;
2514 #define wxColour_Red(_swigobj) (_swigobj->Red())
2515 static PyObject
*_wrap_wxColour_Red(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2516 PyObject
* _resultobj
;
2517 unsigned char _result
;
2519 PyObject
* _argo0
= 0;
2520 char *_kwnames
[] = { "self", NULL
};
2523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Red",_kwnames
,&_argo0
))
2526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
2528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Red. Expected _wxColour_p.");
2533 wxPy_BEGIN_ALLOW_THREADS
;
2534 _result
= (unsigned char )wxColour_Red(_arg0
);
2536 wxPy_END_ALLOW_THREADS
;
2537 } _resultobj
= Py_BuildValue("b",_result
);
2541 #define wxColour_Green(_swigobj) (_swigobj->Green())
2542 static PyObject
*_wrap_wxColour_Green(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2543 PyObject
* _resultobj
;
2544 unsigned char _result
;
2546 PyObject
* _argo0
= 0;
2547 char *_kwnames
[] = { "self", NULL
};
2550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Green",_kwnames
,&_argo0
))
2553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
2555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Green. Expected _wxColour_p.");
2560 wxPy_BEGIN_ALLOW_THREADS
;
2561 _result
= (unsigned char )wxColour_Green(_arg0
);
2563 wxPy_END_ALLOW_THREADS
;
2564 } _resultobj
= Py_BuildValue("b",_result
);
2568 #define wxColour_Blue(_swigobj) (_swigobj->Blue())
2569 static PyObject
*_wrap_wxColour_Blue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2570 PyObject
* _resultobj
;
2571 unsigned char _result
;
2573 PyObject
* _argo0
= 0;
2574 char *_kwnames
[] = { "self", NULL
};
2577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Blue",_kwnames
,&_argo0
))
2580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
2582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Blue. Expected _wxColour_p.");
2587 wxPy_BEGIN_ALLOW_THREADS
;
2588 _result
= (unsigned char )wxColour_Blue(_arg0
);
2590 wxPy_END_ALLOW_THREADS
;
2591 } _resultobj
= Py_BuildValue("b",_result
);
2595 #define wxColour_Ok(_swigobj) (_swigobj->Ok())
2596 static PyObject
*_wrap_wxColour_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2597 PyObject
* _resultobj
;
2600 PyObject
* _argo0
= 0;
2601 char *_kwnames
[] = { "self", NULL
};
2604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Ok",_kwnames
,&_argo0
))
2607 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2608 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
2609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Ok. Expected _wxColour_p.");
2614 wxPy_BEGIN_ALLOW_THREADS
;
2615 _result
= (bool )wxColour_Ok(_arg0
);
2617 wxPy_END_ALLOW_THREADS
;
2618 } _resultobj
= Py_BuildValue("i",_result
);
2622 #define wxColour_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
2623 static PyObject
*_wrap_wxColour_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2624 PyObject
* _resultobj
;
2626 unsigned char _arg1
;
2627 unsigned char _arg2
;
2628 unsigned char _arg3
;
2629 PyObject
* _argo0
= 0;
2630 char *_kwnames
[] = { "self","red","green","blue", NULL
};
2633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Obbb:wxColour_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2636 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2637 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
2638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Set. Expected _wxColour_p.");
2643 wxPy_BEGIN_ALLOW_THREADS
;
2644 wxColour_Set(_arg0
,_arg1
,_arg2
,_arg3
);
2646 wxPy_END_ALLOW_THREADS
;
2647 } Py_INCREF(Py_None
);
2648 _resultobj
= Py_None
;
2652 static PyObject
* wxColour_Get(wxColour
*self
) {
2653 PyObject
* rv
= PyTuple_New(3);
2654 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
2655 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
2656 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
2659 static PyObject
*_wrap_wxColour_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2660 PyObject
* _resultobj
;
2663 PyObject
* _argo0
= 0;
2664 char *_kwnames
[] = { "self", NULL
};
2667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Get",_kwnames
,&_argo0
))
2670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
2672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Get. Expected _wxColour_p.");
2677 wxPy_BEGIN_ALLOW_THREADS
;
2678 _result
= (PyObject
*)wxColour_Get(_arg0
);
2680 wxPy_END_ALLOW_THREADS
;
2682 _resultobj
= _result
;
2687 static wxPen
*new_wxPen(wxColour
*colour
,int width
,int style
) {
2688 return wxThePenList
->FindOrCreatePen(*colour
, width
, style
);
2691 static PyObject
*_wrap_new_wxPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2692 PyObject
* _resultobj
;
2695 int _arg1
= (int ) 1;
2696 int _arg2
= (int ) wxSOLID
;
2697 PyObject
* _argo0
= 0;
2698 char *_kwnames
[] = { "colour","width","style", NULL
};
2702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:new_wxPen",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
2707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPen. Expected _wxColour_p.");
2712 wxPy_BEGIN_ALLOW_THREADS
;
2713 _result
= (wxPen
*)new_wxPen(_arg0
,_arg1
,_arg2
);
2715 wxPy_END_ALLOW_THREADS
;
2717 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
2718 _resultobj
= Py_BuildValue("s",_ptemp
);
2721 _resultobj
= Py_None
;
2726 #define wxPen_GetCap(_swigobj) (_swigobj->GetCap())
2727 static PyObject
*_wrap_wxPen_GetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2728 PyObject
* _resultobj
;
2731 PyObject
* _argo0
= 0;
2732 char *_kwnames
[] = { "self", NULL
};
2735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetCap",_kwnames
,&_argo0
))
2738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetCap. Expected _wxPen_p.");
2745 wxPy_BEGIN_ALLOW_THREADS
;
2746 _result
= (int )wxPen_GetCap(_arg0
);
2748 wxPy_END_ALLOW_THREADS
;
2749 } _resultobj
= Py_BuildValue("i",_result
);
2753 #define wxPen_GetColour(_swigobj) (_swigobj->GetColour())
2754 static PyObject
*_wrap_wxPen_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2755 PyObject
* _resultobj
;
2758 PyObject
* _argo0
= 0;
2759 char *_kwnames
[] = { "self", NULL
};
2763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetColour",_kwnames
,&_argo0
))
2766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetColour. Expected _wxPen_p.");
2773 wxPy_BEGIN_ALLOW_THREADS
;
2774 wxColour
& _result_ref
= wxPen_GetColour(_arg0
);
2775 _result
= (wxColour
*) &_result_ref
;
2777 wxPy_END_ALLOW_THREADS
;
2779 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
2780 _resultobj
= Py_BuildValue("s",_ptemp
);
2783 _resultobj
= Py_None
;
2788 #define wxPen_GetJoin(_swigobj) (_swigobj->GetJoin())
2789 static PyObject
*_wrap_wxPen_GetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2790 PyObject
* _resultobj
;
2793 PyObject
* _argo0
= 0;
2794 char *_kwnames
[] = { "self", NULL
};
2797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetJoin",_kwnames
,&_argo0
))
2800 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2801 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetJoin. Expected _wxPen_p.");
2807 wxPy_BEGIN_ALLOW_THREADS
;
2808 _result
= (int )wxPen_GetJoin(_arg0
);
2810 wxPy_END_ALLOW_THREADS
;
2811 } _resultobj
= Py_BuildValue("i",_result
);
2815 #define wxPen_GetStyle(_swigobj) (_swigobj->GetStyle())
2816 static PyObject
*_wrap_wxPen_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2817 PyObject
* _resultobj
;
2820 PyObject
* _argo0
= 0;
2821 char *_kwnames
[] = { "self", NULL
};
2824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetStyle",_kwnames
,&_argo0
))
2827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetStyle. Expected _wxPen_p.");
2834 wxPy_BEGIN_ALLOW_THREADS
;
2835 _result
= (int )wxPen_GetStyle(_arg0
);
2837 wxPy_END_ALLOW_THREADS
;
2838 } _resultobj
= Py_BuildValue("i",_result
);
2842 #define wxPen_GetWidth(_swigobj) (_swigobj->GetWidth())
2843 static PyObject
*_wrap_wxPen_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2844 PyObject
* _resultobj
;
2847 PyObject
* _argo0
= 0;
2848 char *_kwnames
[] = { "self", NULL
};
2851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetWidth",_kwnames
,&_argo0
))
2854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetWidth. Expected _wxPen_p.");
2861 wxPy_BEGIN_ALLOW_THREADS
;
2862 _result
= (int )wxPen_GetWidth(_arg0
);
2864 wxPy_END_ALLOW_THREADS
;
2865 } _resultobj
= Py_BuildValue("i",_result
);
2869 #define wxPen_Ok(_swigobj) (_swigobj->Ok())
2870 static PyObject
*_wrap_wxPen_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2871 PyObject
* _resultobj
;
2874 PyObject
* _argo0
= 0;
2875 char *_kwnames
[] = { "self", NULL
};
2878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_Ok",_kwnames
,&_argo0
))
2881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_Ok. Expected _wxPen_p.");
2888 wxPy_BEGIN_ALLOW_THREADS
;
2889 _result
= (bool )wxPen_Ok(_arg0
);
2891 wxPy_END_ALLOW_THREADS
;
2892 } _resultobj
= Py_BuildValue("i",_result
);
2896 #define wxPen_SetCap(_swigobj,_swigarg0) (_swigobj->SetCap(_swigarg0))
2897 static PyObject
*_wrap_wxPen_SetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2898 PyObject
* _resultobj
;
2901 PyObject
* _argo0
= 0;
2902 char *_kwnames
[] = { "self","cap_style", NULL
};
2905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetCap",_kwnames
,&_argo0
,&_arg1
))
2908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetCap. Expected _wxPen_p.");
2915 wxPy_BEGIN_ALLOW_THREADS
;
2916 wxPen_SetCap(_arg0
,_arg1
);
2918 wxPy_END_ALLOW_THREADS
;
2919 } Py_INCREF(Py_None
);
2920 _resultobj
= Py_None
;
2924 #define wxPen_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
2925 static PyObject
*_wrap_wxPen_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2926 PyObject
* _resultobj
;
2929 PyObject
* _argo0
= 0;
2930 PyObject
* _argo1
= 0;
2931 char *_kwnames
[] = { "self","colour", NULL
};
2934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetColour",_kwnames
,&_argo0
,&_argo1
))
2937 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2938 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetColour. Expected _wxPen_p.");
2944 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2945 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPen_SetColour. Expected _wxColour_p.");
2951 wxPy_BEGIN_ALLOW_THREADS
;
2952 wxPen_SetColour(_arg0
,*_arg1
);
2954 wxPy_END_ALLOW_THREADS
;
2955 } Py_INCREF(Py_None
);
2956 _resultobj
= Py_None
;
2960 #define wxPen_SetJoin(_swigobj,_swigarg0) (_swigobj->SetJoin(_swigarg0))
2961 static PyObject
*_wrap_wxPen_SetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2962 PyObject
* _resultobj
;
2965 PyObject
* _argo0
= 0;
2966 char *_kwnames
[] = { "self","join_style", NULL
};
2969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetJoin",_kwnames
,&_argo0
,&_arg1
))
2972 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2973 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetJoin. Expected _wxPen_p.");
2979 wxPy_BEGIN_ALLOW_THREADS
;
2980 wxPen_SetJoin(_arg0
,_arg1
);
2982 wxPy_END_ALLOW_THREADS
;
2983 } Py_INCREF(Py_None
);
2984 _resultobj
= Py_None
;
2988 #define wxPen_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
2989 static PyObject
*_wrap_wxPen_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2990 PyObject
* _resultobj
;
2993 PyObject
* _argo0
= 0;
2994 char *_kwnames
[] = { "self","style", NULL
};
2997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetStyle",_kwnames
,&_argo0
,&_arg1
))
3000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetStyle. Expected _wxPen_p.");
3007 wxPy_BEGIN_ALLOW_THREADS
;
3008 wxPen_SetStyle(_arg0
,_arg1
);
3010 wxPy_END_ALLOW_THREADS
;
3011 } Py_INCREF(Py_None
);
3012 _resultobj
= Py_None
;
3016 #define wxPen_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
3017 static PyObject
*_wrap_wxPen_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3018 PyObject
* _resultobj
;
3021 PyObject
* _argo0
= 0;
3022 char *_kwnames
[] = { "self","width", NULL
};
3025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetWidth",_kwnames
,&_argo0
,&_arg1
))
3028 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3029 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetWidth. Expected _wxPen_p.");
3035 wxPy_BEGIN_ALLOW_THREADS
;
3036 wxPen_SetWidth(_arg0
,_arg1
);
3038 wxPy_END_ALLOW_THREADS
;
3039 } Py_INCREF(Py_None
);
3040 _resultobj
= Py_None
;
3044 #define wxPen_GetDashes(_swigobj,_swigarg0) (_swigobj->GetDashes(_swigarg0))
3045 static PyObject
*_wrap_wxPen_GetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3046 PyObject
* _resultobj
;
3050 PyObject
* _argo0
= 0;
3051 PyObject
* _argo1
= 0;
3052 char *_kwnames
[] = { "self","dashes", NULL
};
3055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_GetDashes",_kwnames
,&_argo0
,&_argo1
))
3058 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3059 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetDashes. Expected _wxPen_p.");
3065 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3066 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDash_pp")) {
3067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPen_GetDashes. Expected _wxDash_pp.");
3072 wxPy_BEGIN_ALLOW_THREADS
;
3073 _result
= (int )wxPen_GetDashes(_arg0
,_arg1
);
3075 wxPy_END_ALLOW_THREADS
;
3076 } _resultobj
= Py_BuildValue("i",_result
);
3080 #define wxPen_GetStipple(_swigobj) (_swigobj->GetStipple())
3081 static PyObject
*_wrap_wxPen_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3082 PyObject
* _resultobj
;
3085 PyObject
* _argo0
= 0;
3086 char *_kwnames
[] = { "self", NULL
};
3090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetStipple",_kwnames
,&_argo0
))
3093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetStipple. Expected _wxPen_p.");
3100 wxPy_BEGIN_ALLOW_THREADS
;
3101 _result
= (wxBitmap
*)wxPen_GetStipple(_arg0
);
3103 wxPy_END_ALLOW_THREADS
;
3105 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
3106 _resultobj
= Py_BuildValue("s",_ptemp
);
3109 _resultobj
= Py_None
;
3114 #define wxPen_SetDashes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDashes(_swigarg0,_swigarg1))
3115 static PyObject
*_wrap_wxPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3116 PyObject
* _resultobj
;
3120 PyObject
* _argo0
= 0;
3121 PyObject
* _obj2
= 0;
3122 char *_kwnames
[] = { "self","LIST", NULL
};
3125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetDashes",_kwnames
,&_argo0
,&_obj2
))
3128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetDashes. Expected _wxPen_p.");
3136 _arg2
= (unsigned long*)long_LIST_helper(_obj2
);
3137 if (_arg2
== NULL
) {
3143 _arg1
= PyList_Size(_obj2
);
3150 wxPy_BEGIN_ALLOW_THREADS
;
3151 wxPen_SetDashes(_arg0
,_arg1
,_arg2
);
3153 wxPy_END_ALLOW_THREADS
;
3154 } Py_INCREF(Py_None
);
3155 _resultobj
= Py_None
;
3162 #define wxPen_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
3163 static PyObject
*_wrap_wxPen_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3164 PyObject
* _resultobj
;
3167 PyObject
* _argo0
= 0;
3168 PyObject
* _argo1
= 0;
3169 char *_kwnames
[] = { "self","stipple", NULL
};
3172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetStipple",_kwnames
,&_argo0
,&_argo1
))
3175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetStipple. Expected _wxPen_p.");
3182 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3183 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
3184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPen_SetStipple. Expected _wxBitmap_p.");
3189 wxPy_BEGIN_ALLOW_THREADS
;
3190 wxPen_SetStipple(_arg0
,*_arg1
);
3192 wxPy_END_ALLOW_THREADS
;
3193 } Py_INCREF(Py_None
);
3194 _resultobj
= Py_None
;
3198 static wxBrush
*new_wxBrush(wxColour
*colour
,int style
) {
3199 return wxTheBrushList
->FindOrCreateBrush(*colour
, style
);
3202 static PyObject
*_wrap_new_wxBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3203 PyObject
* _resultobj
;
3206 int _arg1
= (int ) wxSOLID
;
3207 PyObject
* _argo0
= 0;
3208 char *_kwnames
[] = { "colour","style", NULL
};
3212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxBrush",_kwnames
,&_argo0
,&_arg1
))
3215 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3216 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
3217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBrush. Expected _wxColour_p.");
3222 wxPy_BEGIN_ALLOW_THREADS
;
3223 _result
= (wxBrush
*)new_wxBrush(_arg0
,_arg1
);
3225 wxPy_END_ALLOW_THREADS
;
3227 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
3228 _resultobj
= Py_BuildValue("s",_ptemp
);
3231 _resultobj
= Py_None
;
3236 #define wxBrush_GetColour(_swigobj) (_swigobj->GetColour())
3237 static PyObject
*_wrap_wxBrush_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3238 PyObject
* _resultobj
;
3241 PyObject
* _argo0
= 0;
3242 char *_kwnames
[] = { "self", NULL
};
3246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetColour",_kwnames
,&_argo0
))
3249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetColour. Expected _wxBrush_p.");
3256 wxPy_BEGIN_ALLOW_THREADS
;
3257 wxColour
& _result_ref
= wxBrush_GetColour(_arg0
);
3258 _result
= (wxColour
*) &_result_ref
;
3260 wxPy_END_ALLOW_THREADS
;
3262 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3263 _resultobj
= Py_BuildValue("s",_ptemp
);
3266 _resultobj
= Py_None
;
3271 #define wxBrush_GetStipple(_swigobj) (_swigobj->GetStipple())
3272 static PyObject
*_wrap_wxBrush_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3273 PyObject
* _resultobj
;
3276 PyObject
* _argo0
= 0;
3277 char *_kwnames
[] = { "self", NULL
};
3281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetStipple",_kwnames
,&_argo0
))
3284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStipple. Expected _wxBrush_p.");
3291 wxPy_BEGIN_ALLOW_THREADS
;
3292 _result
= (wxBitmap
*)wxBrush_GetStipple(_arg0
);
3294 wxPy_END_ALLOW_THREADS
;
3296 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
3297 _resultobj
= Py_BuildValue("s",_ptemp
);
3300 _resultobj
= Py_None
;
3305 #define wxBrush_GetStyle(_swigobj) (_swigobj->GetStyle())
3306 static PyObject
*_wrap_wxBrush_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3307 PyObject
* _resultobj
;
3310 PyObject
* _argo0
= 0;
3311 char *_kwnames
[] = { "self", NULL
};
3314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetStyle",_kwnames
,&_argo0
))
3317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStyle. Expected _wxBrush_p.");
3324 wxPy_BEGIN_ALLOW_THREADS
;
3325 _result
= (int )wxBrush_GetStyle(_arg0
);
3327 wxPy_END_ALLOW_THREADS
;
3328 } _resultobj
= Py_BuildValue("i",_result
);
3332 #define wxBrush_Ok(_swigobj) (_swigobj->Ok())
3333 static PyObject
*_wrap_wxBrush_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3334 PyObject
* _resultobj
;
3337 PyObject
* _argo0
= 0;
3338 char *_kwnames
[] = { "self", NULL
};
3341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_Ok",_kwnames
,&_argo0
))
3344 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3345 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_Ok. Expected _wxBrush_p.");
3351 wxPy_BEGIN_ALLOW_THREADS
;
3352 _result
= (bool )wxBrush_Ok(_arg0
);
3354 wxPy_END_ALLOW_THREADS
;
3355 } _resultobj
= Py_BuildValue("i",_result
);
3359 #define wxBrush_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
3360 static PyObject
*_wrap_wxBrush_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3361 PyObject
* _resultobj
;
3364 PyObject
* _argo0
= 0;
3365 PyObject
* _argo1
= 0;
3366 char *_kwnames
[] = { "self","colour", NULL
};
3369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrush_SetColour",_kwnames
,&_argo0
,&_argo1
))
3372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetColour. Expected _wxBrush_p.");
3379 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3380 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
3381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrush_SetColour. Expected _wxColour_p.");
3386 wxPy_BEGIN_ALLOW_THREADS
;
3387 wxBrush_SetColour(_arg0
,*_arg1
);
3389 wxPy_END_ALLOW_THREADS
;
3390 } Py_INCREF(Py_None
);
3391 _resultobj
= Py_None
;
3395 #define wxBrush_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
3396 static PyObject
*_wrap_wxBrush_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3397 PyObject
* _resultobj
;
3400 PyObject
* _argo0
= 0;
3401 PyObject
* _argo1
= 0;
3402 char *_kwnames
[] = { "self","bitmap", NULL
};
3405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrush_SetStipple",_kwnames
,&_argo0
,&_argo1
))
3408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStipple. Expected _wxBrush_p.");
3415 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3416 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
3417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrush_SetStipple. Expected _wxBitmap_p.");
3422 wxPy_BEGIN_ALLOW_THREADS
;
3423 wxBrush_SetStipple(_arg0
,*_arg1
);
3425 wxPy_END_ALLOW_THREADS
;
3426 } Py_INCREF(Py_None
);
3427 _resultobj
= Py_None
;
3431 #define wxBrush_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
3432 static PyObject
*_wrap_wxBrush_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3433 PyObject
* _resultobj
;
3436 PyObject
* _argo0
= 0;
3437 char *_kwnames
[] = { "self","style", NULL
};
3440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBrush_SetStyle",_kwnames
,&_argo0
,&_arg1
))
3443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStyle. Expected _wxBrush_p.");
3450 wxPy_BEGIN_ALLOW_THREADS
;
3451 wxBrush_SetStyle(_arg0
,_arg1
);
3453 wxPy_END_ALLOW_THREADS
;
3454 } Py_INCREF(Py_None
);
3455 _resultobj
= Py_None
;
3459 #define delete_wxDC(_swigobj) (delete _swigobj)
3460 static PyObject
*_wrap_delete_wxDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3461 PyObject
* _resultobj
;
3463 PyObject
* _argo0
= 0;
3464 char *_kwnames
[] = { "self", NULL
};
3467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDC",_kwnames
,&_argo0
))
3470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDC. Expected _wxDC_p.");
3477 wxPy_BEGIN_ALLOW_THREADS
;
3480 wxPy_END_ALLOW_THREADS
;
3481 } Py_INCREF(Py_None
);
3482 _resultobj
= Py_None
;
3486 #define wxDC_BeginDrawing(_swigobj) (_swigobj->BeginDrawing())
3487 static PyObject
*_wrap_wxDC_BeginDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3488 PyObject
* _resultobj
;
3490 PyObject
* _argo0
= 0;
3491 char *_kwnames
[] = { "self", NULL
};
3494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_BeginDrawing",_kwnames
,&_argo0
))
3497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_BeginDrawing. Expected _wxDC_p.");
3504 wxPy_BEGIN_ALLOW_THREADS
;
3505 wxDC_BeginDrawing(_arg0
);
3507 wxPy_END_ALLOW_THREADS
;
3508 } Py_INCREF(Py_None
);
3509 _resultobj
= Py_None
;
3513 #define wxDC_Blit(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Blit(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
3514 static PyObject
*_wrap_wxDC_Blit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3515 PyObject
* _resultobj
;
3525 int _arg8
= (int ) wxCOPY
;
3526 int _arg9
= (int ) FALSE
;
3527 PyObject
* _argo0
= 0;
3528 PyObject
* _argo5
= 0;
3529 char *_kwnames
[] = { "self","xdest","ydest","width","height","source","xsrc","ysrc","logicalFunc","useMask", NULL
};
3532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllllOll|ii:wxDC_Blit",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_argo5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
))
3535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Blit. Expected _wxDC_p.");
3542 if (_argo5
== Py_None
) { _arg5
= NULL
; }
3543 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxDC_p")) {
3544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxDC_Blit. Expected _wxDC_p.");
3549 wxPy_BEGIN_ALLOW_THREADS
;
3550 _result
= (bool )wxDC_Blit(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
3552 wxPy_END_ALLOW_THREADS
;
3553 } _resultobj
= Py_BuildValue("i",_result
);
3557 #define wxDC_Clear(_swigobj) (_swigobj->Clear())
3558 static PyObject
*_wrap_wxDC_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3559 PyObject
* _resultobj
;
3561 PyObject
* _argo0
= 0;
3562 char *_kwnames
[] = { "self", NULL
};
3565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_Clear",_kwnames
,&_argo0
))
3568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Clear. Expected _wxDC_p.");
3575 wxPy_BEGIN_ALLOW_THREADS
;
3578 wxPy_END_ALLOW_THREADS
;
3579 } Py_INCREF(Py_None
);
3580 _resultobj
= Py_None
;
3584 #define wxDC_CrossHair(_swigobj,_swigarg0,_swigarg1) (_swigobj->CrossHair(_swigarg0,_swigarg1))
3585 static PyObject
*_wrap_wxDC_CrossHair(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3586 PyObject
* _resultobj
;
3590 PyObject
* _argo0
= 0;
3591 char *_kwnames
[] = { "self","x","y", NULL
};
3594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_CrossHair",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CrossHair. Expected _wxDC_p.");
3604 wxPy_BEGIN_ALLOW_THREADS
;
3605 wxDC_CrossHair(_arg0
,_arg1
,_arg2
);
3607 wxPy_END_ALLOW_THREADS
;
3608 } Py_INCREF(Py_None
);
3609 _resultobj
= Py_None
;
3613 #define wxDC_DestroyClippingRegion(_swigobj) (_swigobj->DestroyClippingRegion())
3614 static PyObject
*_wrap_wxDC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3615 PyObject
* _resultobj
;
3617 PyObject
* _argo0
= 0;
3618 char *_kwnames
[] = { "self", NULL
};
3621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_DestroyClippingRegion",_kwnames
,&_argo0
))
3624 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3625 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DestroyClippingRegion. Expected _wxDC_p.");
3631 wxPy_BEGIN_ALLOW_THREADS
;
3632 wxDC_DestroyClippingRegion(_arg0
);
3634 wxPy_END_ALLOW_THREADS
;
3635 } Py_INCREF(Py_None
);
3636 _resultobj
= Py_None
;
3640 #define wxDC_DeviceToLogicalX(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalX(_swigarg0))
3641 static PyObject
*_wrap_wxDC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3642 PyObject
* _resultobj
;
3646 PyObject
* _argo0
= 0;
3647 char *_kwnames
[] = { "self","x", NULL
};
3650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalX",_kwnames
,&_argo0
,&_arg1
))
3653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalX. Expected _wxDC_p.");
3660 wxPy_BEGIN_ALLOW_THREADS
;
3661 _result
= (long )wxDC_DeviceToLogicalX(_arg0
,_arg1
);
3663 wxPy_END_ALLOW_THREADS
;
3664 } _resultobj
= Py_BuildValue("l",_result
);
3668 #define wxDC_DeviceToLogicalXRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalXRel(_swigarg0))
3669 static PyObject
*_wrap_wxDC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3670 PyObject
* _resultobj
;
3674 PyObject
* _argo0
= 0;
3675 char *_kwnames
[] = { "self","x", NULL
};
3678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalXRel",_kwnames
,&_argo0
,&_arg1
))
3681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalXRel. Expected _wxDC_p.");
3688 wxPy_BEGIN_ALLOW_THREADS
;
3689 _result
= (long )wxDC_DeviceToLogicalXRel(_arg0
,_arg1
);
3691 wxPy_END_ALLOW_THREADS
;
3692 } _resultobj
= Py_BuildValue("l",_result
);
3696 #define wxDC_DeviceToLogicalY(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalY(_swigarg0))
3697 static PyObject
*_wrap_wxDC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3698 PyObject
* _resultobj
;
3702 PyObject
* _argo0
= 0;
3703 char *_kwnames
[] = { "self","y", NULL
};
3706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalY",_kwnames
,&_argo0
,&_arg1
))
3709 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3710 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalY. Expected _wxDC_p.");
3716 wxPy_BEGIN_ALLOW_THREADS
;
3717 _result
= (long )wxDC_DeviceToLogicalY(_arg0
,_arg1
);
3719 wxPy_END_ALLOW_THREADS
;
3720 } _resultobj
= Py_BuildValue("l",_result
);
3724 #define wxDC_DeviceToLogicalYRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalYRel(_swigarg0))
3725 static PyObject
*_wrap_wxDC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3726 PyObject
* _resultobj
;
3730 PyObject
* _argo0
= 0;
3731 char *_kwnames
[] = { "self","y", NULL
};
3734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalYRel",_kwnames
,&_argo0
,&_arg1
))
3737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalYRel. Expected _wxDC_p.");
3744 wxPy_BEGIN_ALLOW_THREADS
;
3745 _result
= (long )wxDC_DeviceToLogicalYRel(_arg0
,_arg1
);
3747 wxPy_END_ALLOW_THREADS
;
3748 } _resultobj
= Py_BuildValue("l",_result
);
3752 #define wxDC_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3753 static PyObject
*_wrap_wxDC_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3754 PyObject
* _resultobj
;
3762 PyObject
* _argo0
= 0;
3763 char *_kwnames
[] = { "self","x1","y1","x2","y2","xc","yc", NULL
};
3766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollllll:wxDC_DrawArc",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
3769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawArc. Expected _wxDC_p.");
3776 wxPy_BEGIN_ALLOW_THREADS
;
3777 wxDC_DrawArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
3779 wxPy_END_ALLOW_THREADS
;
3780 } Py_INCREF(Py_None
);
3781 _resultobj
= Py_None
;
3785 #define wxDC_DrawCircle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawCircle(_swigarg0,_swigarg1,_swigarg2))
3786 static PyObject
*_wrap_wxDC_DrawCircle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3787 PyObject
* _resultobj
;
3792 PyObject
* _argo0
= 0;
3793 char *_kwnames
[] = { "self","x","y","radius", NULL
};
3796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olll:wxDC_DrawCircle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawCircle. Expected _wxDC_p.");
3806 wxPy_BEGIN_ALLOW_THREADS
;
3807 wxDC_DrawCircle(_arg0
,_arg1
,_arg2
,_arg3
);
3809 wxPy_END_ALLOW_THREADS
;
3810 } Py_INCREF(Py_None
);
3811 _resultobj
= Py_None
;
3815 #define wxDC_DrawEllipse(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawEllipse(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3816 static PyObject
*_wrap_wxDC_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3817 PyObject
* _resultobj
;
3823 PyObject
* _argo0
= 0;
3824 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
3827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawEllipse",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3830 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3831 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipse. Expected _wxDC_p.");
3837 wxPy_BEGIN_ALLOW_THREADS
;
3838 wxDC_DrawEllipse(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3840 wxPy_END_ALLOW_THREADS
;
3841 } Py_INCREF(Py_None
);
3842 _resultobj
= Py_None
;
3846 #define wxDC_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3847 static PyObject
*_wrap_wxDC_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3848 PyObject
* _resultobj
;
3856 PyObject
* _argo0
= 0;
3857 char *_kwnames
[] = { "self","x","y","width","height","start","end", NULL
};
3860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollllll:wxDC_DrawEllipticArc",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
3863 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3864 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipticArc. Expected _wxDC_p.");
3870 wxPy_BEGIN_ALLOW_THREADS
;
3871 wxDC_DrawEllipticArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
3873 wxPy_END_ALLOW_THREADS
;
3874 } Py_INCREF(Py_None
);
3875 _resultobj
= Py_None
;
3879 #define wxDC_DrawIcon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawIcon(_swigarg0,_swigarg1,_swigarg2))
3880 static PyObject
*_wrap_wxDC_DrawIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3881 PyObject
* _resultobj
;
3886 PyObject
* _argo0
= 0;
3887 PyObject
* _argo1
= 0;
3888 char *_kwnames
[] = { "self","icon","x","y", NULL
};
3891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll:wxDC_DrawIcon",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawIcon. Expected _wxDC_p.");
3901 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3902 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
3903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawIcon. Expected _wxIcon_p.");
3908 wxPy_BEGIN_ALLOW_THREADS
;
3909 wxDC_DrawIcon(_arg0
,*_arg1
,_arg2
,_arg3
);
3911 wxPy_END_ALLOW_THREADS
;
3912 } Py_INCREF(Py_None
);
3913 _resultobj
= Py_None
;
3917 #define wxDC_DrawLine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3918 static PyObject
*_wrap_wxDC_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3919 PyObject
* _resultobj
;
3925 PyObject
* _argo0
= 0;
3926 char *_kwnames
[] = { "self","x1","y1","x2","y2", NULL
};
3929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawLine",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3932 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3933 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLine. Expected _wxDC_p.");
3939 wxPy_BEGIN_ALLOW_THREADS
;
3940 wxDC_DrawLine(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3942 wxPy_END_ALLOW_THREADS
;
3943 } Py_INCREF(Py_None
);
3944 _resultobj
= Py_None
;
3948 #define wxDC_DrawLines(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLines(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3949 static PyObject
*_wrap_wxDC_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3950 PyObject
* _resultobj
;
3954 long _arg3
= (long ) 0;
3955 long _arg4
= (long ) 0;
3956 PyObject
* _argo0
= 0;
3957 PyObject
* _obj2
= 0;
3958 char *_kwnames
[] = { "self","LIST","xoffset","yoffset", NULL
};
3961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ll:wxDC_DrawLines",_kwnames
,&_argo0
,&_obj2
,&_arg3
,&_arg4
))
3964 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3965 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLines. Expected _wxDC_p.");
3972 _arg2
= wxPoint_LIST_helper(_obj2
);
3973 if (_arg2
== NULL
) {
3979 _arg1
= PyList_Size(_obj2
);
3986 wxPy_BEGIN_ALLOW_THREADS
;
3987 wxDC_DrawLines(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3989 wxPy_END_ALLOW_THREADS
;
3990 } Py_INCREF(Py_None
);
3991 _resultobj
= Py_None
;
3998 #define wxDC_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3999 static PyObject
*_wrap_wxDC_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4000 PyObject
* _resultobj
;
4004 long _arg3
= (long ) 0;
4005 long _arg4
= (long ) 0;
4006 int _arg5
= (int ) wxODDEVEN_RULE
;
4007 PyObject
* _argo0
= 0;
4008 PyObject
* _obj2
= 0;
4009 char *_kwnames
[] = { "self","LIST","xoffset","yoffset","fill_style", NULL
};
4012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|lli:wxDC_DrawPolygon",_kwnames
,&_argo0
,&_obj2
,&_arg3
,&_arg4
,&_arg5
))
4015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPolygon. Expected _wxDC_p.");
4023 _arg2
= wxPoint_LIST_helper(_obj2
);
4024 if (_arg2
== NULL
) {
4030 _arg1
= PyList_Size(_obj2
);
4037 wxPy_BEGIN_ALLOW_THREADS
;
4038 wxDC_DrawPolygon(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4040 wxPy_END_ALLOW_THREADS
;
4041 } Py_INCREF(Py_None
);
4042 _resultobj
= Py_None
;
4049 #define wxDC_DrawPoint(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawPoint(_swigarg0,_swigarg1))
4050 static PyObject
*_wrap_wxDC_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4051 PyObject
* _resultobj
;
4055 PyObject
* _argo0
= 0;
4056 char *_kwnames
[] = { "self","x","y", NULL
};
4059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_DrawPoint",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPoint. Expected _wxDC_p.");
4069 wxPy_BEGIN_ALLOW_THREADS
;
4070 wxDC_DrawPoint(_arg0
,_arg1
,_arg2
);
4072 wxPy_END_ALLOW_THREADS
;
4073 } Py_INCREF(Py_None
);
4074 _resultobj
= Py_None
;
4078 #define wxDC_DrawRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4079 static PyObject
*_wrap_wxDC_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4080 PyObject
* _resultobj
;
4086 PyObject
* _argo0
= 0;
4087 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
4090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawRectangle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRectangle. Expected _wxDC_p.");
4100 wxPy_BEGIN_ALLOW_THREADS
;
4101 wxDC_DrawRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4103 wxPy_END_ALLOW_THREADS
;
4104 } Py_INCREF(Py_None
);
4105 _resultobj
= Py_None
;
4109 #define wxDC_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4110 static PyObject
*_wrap_wxDC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4111 PyObject
* _resultobj
;
4117 long _arg5
= (long ) 20;
4118 PyObject
* _argo0
= 0;
4119 char *_kwnames
[] = { "self","x","y","width","height","radius", NULL
};
4122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll|l:wxDC_DrawRoundedRectangle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
4125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRoundedRectangle. Expected _wxDC_p.");
4132 wxPy_BEGIN_ALLOW_THREADS
;
4133 wxDC_DrawRoundedRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4135 wxPy_END_ALLOW_THREADS
;
4136 } Py_INCREF(Py_None
);
4137 _resultobj
= Py_None
;
4141 #define wxDC_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1))
4142 static PyObject
*_wrap_wxDC_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4143 PyObject
* _resultobj
;
4147 PyObject
* _argo0
= 0;
4148 PyObject
* _obj2
= 0;
4149 char *_kwnames
[] = { "self","LIST", NULL
};
4152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_DrawSpline",_kwnames
,&_argo0
,&_obj2
))
4155 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4156 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawSpline. Expected _wxDC_p.");
4163 _arg2
= wxPoint_LIST_helper(_obj2
);
4164 if (_arg2
== NULL
) {
4170 _arg1
= PyList_Size(_obj2
);
4177 wxPy_BEGIN_ALLOW_THREADS
;
4178 wxDC_DrawSpline(_arg0
,_arg1
,_arg2
);
4180 wxPy_END_ALLOW_THREADS
;
4181 } Py_INCREF(Py_None
);
4182 _resultobj
= Py_None
;
4189 #define wxDC_DrawText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawText(_swigarg0,_swigarg1,_swigarg2))
4190 static PyObject
*_wrap_wxDC_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4191 PyObject
* _resultobj
;
4196 PyObject
* _argo0
= 0;
4197 PyObject
* _obj1
= 0;
4198 char *_kwnames
[] = { "self","text","x","y", NULL
};
4201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll:wxDC_DrawText",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
))
4204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawText. Expected _wxDC_p.");
4211 if (!PyString_Check(_obj1
)) {
4212 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4215 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4218 wxPy_BEGIN_ALLOW_THREADS
;
4219 wxDC_DrawText(_arg0
,*_arg1
,_arg2
,_arg3
);
4221 wxPy_END_ALLOW_THREADS
;
4222 } Py_INCREF(Py_None
);
4223 _resultobj
= Py_None
;
4231 #define wxDC_EndDoc(_swigobj) (_swigobj->EndDoc())
4232 static PyObject
*_wrap_wxDC_EndDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4233 PyObject
* _resultobj
;
4235 PyObject
* _argo0
= 0;
4236 char *_kwnames
[] = { "self", NULL
};
4239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndDoc",_kwnames
,&_argo0
))
4242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDoc. Expected _wxDC_p.");
4249 wxPy_BEGIN_ALLOW_THREADS
;
4252 wxPy_END_ALLOW_THREADS
;
4253 } Py_INCREF(Py_None
);
4254 _resultobj
= Py_None
;
4258 #define wxDC_EndDrawing(_swigobj) (_swigobj->EndDrawing())
4259 static PyObject
*_wrap_wxDC_EndDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4260 PyObject
* _resultobj
;
4262 PyObject
* _argo0
= 0;
4263 char *_kwnames
[] = { "self", NULL
};
4266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndDrawing",_kwnames
,&_argo0
))
4269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDrawing. Expected _wxDC_p.");
4276 wxPy_BEGIN_ALLOW_THREADS
;
4277 wxDC_EndDrawing(_arg0
);
4279 wxPy_END_ALLOW_THREADS
;
4280 } Py_INCREF(Py_None
);
4281 _resultobj
= Py_None
;
4285 #define wxDC_EndPage(_swigobj) (_swigobj->EndPage())
4286 static PyObject
*_wrap_wxDC_EndPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4287 PyObject
* _resultobj
;
4289 PyObject
* _argo0
= 0;
4290 char *_kwnames
[] = { "self", NULL
};
4293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndPage",_kwnames
,&_argo0
))
4296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndPage. Expected _wxDC_p.");
4303 wxPy_BEGIN_ALLOW_THREADS
;
4304 wxDC_EndPage(_arg0
);
4306 wxPy_END_ALLOW_THREADS
;
4307 } Py_INCREF(Py_None
);
4308 _resultobj
= Py_None
;
4312 #define wxDC_FloodFill(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FloodFill(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4313 static PyObject
*_wrap_wxDC_FloodFill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4314 PyObject
* _resultobj
;
4319 int _arg4
= (int ) wxFLOOD_SURFACE
;
4320 PyObject
* _argo0
= 0;
4321 PyObject
* _argo3
= 0;
4322 char *_kwnames
[] = { "self","x","y","colour","style", NULL
};
4325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO|i:wxDC_FloodFill",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
,&_arg4
))
4328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_FloodFill. Expected _wxDC_p.");
4335 if (_argo3
== Py_None
) { _arg3
= NULL
; }
4336 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxColour_p")) {
4337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDC_FloodFill. Expected _wxColour_p.");
4342 wxPy_BEGIN_ALLOW_THREADS
;
4343 wxDC_FloodFill(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
4345 wxPy_END_ALLOW_THREADS
;
4346 } Py_INCREF(Py_None
);
4347 _resultobj
= Py_None
;
4351 #define wxDC_GetBackground(_swigobj) (_swigobj->GetBackground())
4352 static PyObject
*_wrap_wxDC_GetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4353 PyObject
* _resultobj
;
4356 PyObject
* _argo0
= 0;
4357 char *_kwnames
[] = { "self", NULL
};
4361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBackground",_kwnames
,&_argo0
))
4364 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4365 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBackground. Expected _wxDC_p.");
4371 wxPy_BEGIN_ALLOW_THREADS
;
4372 wxBrush
& _result_ref
= wxDC_GetBackground(_arg0
);
4373 _result
= (wxBrush
*) &_result_ref
;
4375 wxPy_END_ALLOW_THREADS
;
4377 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
4378 _resultobj
= Py_BuildValue("s",_ptemp
);
4381 _resultobj
= Py_None
;
4386 #define wxDC_GetBrush(_swigobj) (_swigobj->GetBrush())
4387 static PyObject
*_wrap_wxDC_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4388 PyObject
* _resultobj
;
4391 PyObject
* _argo0
= 0;
4392 char *_kwnames
[] = { "self", NULL
};
4396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBrush",_kwnames
,&_argo0
))
4399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBrush. Expected _wxDC_p.");
4406 wxPy_BEGIN_ALLOW_THREADS
;
4407 wxBrush
& _result_ref
= wxDC_GetBrush(_arg0
);
4408 _result
= (wxBrush
*) &_result_ref
;
4410 wxPy_END_ALLOW_THREADS
;
4412 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
4413 _resultobj
= Py_BuildValue("s",_ptemp
);
4416 _resultobj
= Py_None
;
4421 #define wxDC_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
4422 static PyObject
*_wrap_wxDC_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4423 PyObject
* _resultobj
;
4426 PyObject
* _argo0
= 0;
4427 char *_kwnames
[] = { "self", NULL
};
4430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetCharHeight",_kwnames
,&_argo0
))
4433 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4434 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharHeight. Expected _wxDC_p.");
4440 wxPy_BEGIN_ALLOW_THREADS
;
4441 _result
= (long )wxDC_GetCharHeight(_arg0
);
4443 wxPy_END_ALLOW_THREADS
;
4444 } _resultobj
= Py_BuildValue("l",_result
);
4448 #define wxDC_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
4449 static PyObject
*_wrap_wxDC_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4450 PyObject
* _resultobj
;
4453 PyObject
* _argo0
= 0;
4454 char *_kwnames
[] = { "self", NULL
};
4457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetCharWidth",_kwnames
,&_argo0
))
4460 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4461 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharWidth. Expected _wxDC_p.");
4467 wxPy_BEGIN_ALLOW_THREADS
;
4468 _result
= (long )wxDC_GetCharWidth(_arg0
);
4470 wxPy_END_ALLOW_THREADS
;
4471 } _resultobj
= Py_BuildValue("l",_result
);
4475 #define wxDC_GetClippingBox(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetClippingBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4476 static PyObject
*_wrap_wxDC_GetClippingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4477 PyObject
* _resultobj
;
4487 PyObject
* _argo0
= 0;
4488 char *_kwnames
[] = { "self", NULL
};
4503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetClippingBox",_kwnames
,&_argo0
))
4506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetClippingBox. Expected _wxDC_p.");
4513 wxPy_BEGIN_ALLOW_THREADS
;
4514 wxDC_GetClippingBox(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4516 wxPy_END_ALLOW_THREADS
;
4517 } Py_INCREF(Py_None
);
4518 _resultobj
= Py_None
;
4521 o
= PyInt_FromLong((long) (*_arg1
));
4522 _resultobj
= t_output_helper(_resultobj
, o
);
4526 o
= PyInt_FromLong((long) (*_arg2
));
4527 _resultobj
= t_output_helper(_resultobj
, o
);
4531 o
= PyInt_FromLong((long) (*_arg3
));
4532 _resultobj
= t_output_helper(_resultobj
, o
);
4536 o
= PyInt_FromLong((long) (*_arg4
));
4537 _resultobj
= t_output_helper(_resultobj
, o
);
4542 #define wxDC_GetFont(_swigobj) (_swigobj->GetFont())
4543 static PyObject
*_wrap_wxDC_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4544 PyObject
* _resultobj
;
4547 PyObject
* _argo0
= 0;
4548 char *_kwnames
[] = { "self", NULL
};
4552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetFont",_kwnames
,&_argo0
))
4555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFont. Expected _wxDC_p.");
4562 wxPy_BEGIN_ALLOW_THREADS
;
4563 wxFont
& _result_ref
= wxDC_GetFont(_arg0
);
4564 _result
= (wxFont
*) &_result_ref
;
4566 wxPy_END_ALLOW_THREADS
;
4568 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
4569 _resultobj
= Py_BuildValue("s",_ptemp
);
4572 _resultobj
= Py_None
;
4577 #define wxDC_GetLogicalFunction(_swigobj) (_swigobj->GetLogicalFunction())
4578 static PyObject
*_wrap_wxDC_GetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4579 PyObject
* _resultobj
;
4582 PyObject
* _argo0
= 0;
4583 char *_kwnames
[] = { "self", NULL
};
4586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalFunction",_kwnames
,&_argo0
))
4589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalFunction. Expected _wxDC_p.");
4596 wxPy_BEGIN_ALLOW_THREADS
;
4597 _result
= (int )wxDC_GetLogicalFunction(_arg0
);
4599 wxPy_END_ALLOW_THREADS
;
4600 } _resultobj
= Py_BuildValue("i",_result
);
4604 #define wxDC_GetMapMode(_swigobj) (_swigobj->GetMapMode())
4605 static PyObject
*_wrap_wxDC_GetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4606 PyObject
* _resultobj
;
4609 PyObject
* _argo0
= 0;
4610 char *_kwnames
[] = { "self", NULL
};
4613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetMapMode",_kwnames
,&_argo0
))
4616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetMapMode. Expected _wxDC_p.");
4623 wxPy_BEGIN_ALLOW_THREADS
;
4624 _result
= (int )wxDC_GetMapMode(_arg0
);
4626 wxPy_END_ALLOW_THREADS
;
4627 } _resultobj
= Py_BuildValue("i",_result
);
4631 #define wxDC_GetOptimization(_swigobj) (_swigobj->GetOptimization())
4632 static PyObject
*_wrap_wxDC_GetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4633 PyObject
* _resultobj
;
4636 PyObject
* _argo0
= 0;
4637 char *_kwnames
[] = { "self", NULL
};
4640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetOptimization",_kwnames
,&_argo0
))
4643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetOptimization. Expected _wxDC_p.");
4650 wxPy_BEGIN_ALLOW_THREADS
;
4651 _result
= (bool )wxDC_GetOptimization(_arg0
);
4653 wxPy_END_ALLOW_THREADS
;
4654 } _resultobj
= Py_BuildValue("i",_result
);
4658 #define wxDC_GetPen(_swigobj) (_swigobj->GetPen())
4659 static PyObject
*_wrap_wxDC_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4660 PyObject
* _resultobj
;
4663 PyObject
* _argo0
= 0;
4664 char *_kwnames
[] = { "self", NULL
};
4668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetPen",_kwnames
,&_argo0
))
4671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPen. Expected _wxDC_p.");
4678 wxPy_BEGIN_ALLOW_THREADS
;
4679 wxPen
& _result_ref
= wxDC_GetPen(_arg0
);
4680 _result
= (wxPen
*) &_result_ref
;
4682 wxPy_END_ALLOW_THREADS
;
4684 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
4685 _resultobj
= Py_BuildValue("s",_ptemp
);
4688 _resultobj
= Py_None
;
4693 static wxColour
* wxDC_GetPixel(wxDC
*self
,long x
,long y
) {
4694 wxColour
* wc
= new wxColour();
4695 self
->GetPixel(x
, y
, wc
);
4698 static PyObject
*_wrap_wxDC_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4699 PyObject
* _resultobj
;
4704 PyObject
* _argo0
= 0;
4705 char *_kwnames
[] = { "self","x","y", NULL
};
4709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_GetPixel",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPixel. Expected _wxDC_p.");
4719 wxPy_BEGIN_ALLOW_THREADS
;
4720 _result
= (wxColour
*)wxDC_GetPixel(_arg0
,_arg1
,_arg2
);
4722 wxPy_END_ALLOW_THREADS
;
4724 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
4725 _resultobj
= Py_BuildValue("s",_ptemp
);
4728 _resultobj
= Py_None
;
4733 #define wxDC_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
4734 static PyObject
*_wrap_wxDC_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4735 PyObject
* _resultobj
;
4741 PyObject
* _argo0
= 0;
4742 char *_kwnames
[] = { "self", NULL
};
4751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSizeTuple",_kwnames
,&_argo0
))
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_GetSizeTuple. Expected _wxDC_p.");
4761 wxPy_BEGIN_ALLOW_THREADS
;
4762 wxDC_GetSizeTuple(_arg0
,_arg1
,_arg2
);
4764 wxPy_END_ALLOW_THREADS
;
4765 } Py_INCREF(Py_None
);
4766 _resultobj
= Py_None
;
4769 o
= PyInt_FromLong((long) (*_arg1
));
4770 _resultobj
= t_output_helper(_resultobj
, o
);
4774 o
= PyInt_FromLong((long) (*_arg2
));
4775 _resultobj
= t_output_helper(_resultobj
, o
);
4780 #define wxDC_GetSize(_swigobj) (_swigobj->GetSize())
4781 static PyObject
*_wrap_wxDC_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4782 PyObject
* _resultobj
;
4785 PyObject
* _argo0
= 0;
4786 char *_kwnames
[] = { "self", NULL
};
4790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSize",_kwnames
,&_argo0
))
4793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSize. Expected _wxDC_p.");
4800 wxPy_BEGIN_ALLOW_THREADS
;
4801 _result
= new wxSize (wxDC_GetSize(_arg0
));
4803 wxPy_END_ALLOW_THREADS
;
4804 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4805 _resultobj
= Py_BuildValue("s",_ptemp
);
4809 #define wxDC_GetTextBackground(_swigobj) (_swigobj->GetTextBackground())
4810 static PyObject
*_wrap_wxDC_GetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4811 PyObject
* _resultobj
;
4814 PyObject
* _argo0
= 0;
4815 char *_kwnames
[] = { "self", NULL
};
4819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetTextBackground",_kwnames
,&_argo0
))
4822 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4823 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextBackground. Expected _wxDC_p.");
4829 wxPy_BEGIN_ALLOW_THREADS
;
4830 wxColour
& _result_ref
= wxDC_GetTextBackground(_arg0
);
4831 _result
= (wxColour
*) &_result_ref
;
4833 wxPy_END_ALLOW_THREADS
;
4835 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
4836 _resultobj
= Py_BuildValue("s",_ptemp
);
4839 _resultobj
= Py_None
;
4844 #define wxDC_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
4845 static PyObject
*_wrap_wxDC_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4846 PyObject
* _resultobj
;
4853 PyObject
* _argo0
= 0;
4854 PyObject
* _obj1
= 0;
4855 char *_kwnames
[] = { "self","string", NULL
};
4864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
4867 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4868 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextExtent. Expected _wxDC_p.");
4874 if (!PyString_Check(_obj1
)) {
4875 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4878 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4881 wxPy_BEGIN_ALLOW_THREADS
;
4882 wxDC_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
4884 wxPy_END_ALLOW_THREADS
;
4885 } Py_INCREF(Py_None
);
4886 _resultobj
= Py_None
;
4889 o
= PyInt_FromLong((long) (*_arg2
));
4890 _resultobj
= t_output_helper(_resultobj
, o
);
4894 o
= PyInt_FromLong((long) (*_arg3
));
4895 _resultobj
= t_output_helper(_resultobj
, o
);
4904 #define wxDC_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4905 static PyObject
*_wrap_wxDC_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4906 PyObject
* _resultobj
;
4917 wxFont
* _arg6
= (wxFont
*) NULL
;
4918 PyObject
* _argo0
= 0;
4919 PyObject
* _obj1
= 0;
4920 PyObject
* _argo6
= 0;
4921 char *_kwnames
[] = { "self","string","font", NULL
};
4936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxDC_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
4939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFullTextExtent. Expected _wxDC_p.");
4946 if (!PyString_Check(_obj1
)) {
4947 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4950 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4953 if (_argo6
== Py_None
) { _arg6
= NULL
; }
4954 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
4955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxDC_GetFullTextExtent. Expected _wxFont_p.");
4960 wxPy_BEGIN_ALLOW_THREADS
;
4961 wxDC_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4963 wxPy_END_ALLOW_THREADS
;
4964 } Py_INCREF(Py_None
);
4965 _resultobj
= Py_None
;
4968 o
= PyInt_FromLong((long) (*_arg2
));
4969 _resultobj
= t_output_helper(_resultobj
, o
);
4973 o
= PyInt_FromLong((long) (*_arg3
));
4974 _resultobj
= t_output_helper(_resultobj
, o
);
4978 o
= PyInt_FromLong((long) (*_arg4
));
4979 _resultobj
= t_output_helper(_resultobj
, o
);
4983 o
= PyInt_FromLong((long) (*_arg5
));
4984 _resultobj
= t_output_helper(_resultobj
, o
);
4993 #define wxDC_GetTextForeground(_swigobj) (_swigobj->GetTextForeground())
4994 static PyObject
*_wrap_wxDC_GetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4995 PyObject
* _resultobj
;
4998 PyObject
* _argo0
= 0;
4999 char *_kwnames
[] = { "self", NULL
};
5003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetTextForeground",_kwnames
,&_argo0
))
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_GetTextForeground. Expected _wxDC_p.");
5013 wxPy_BEGIN_ALLOW_THREADS
;
5014 wxColour
& _result_ref
= wxDC_GetTextForeground(_arg0
);
5015 _result
= (wxColour
*) &_result_ref
;
5017 wxPy_END_ALLOW_THREADS
;
5019 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
5020 _resultobj
= Py_BuildValue("s",_ptemp
);
5023 _resultobj
= Py_None
;
5028 #define wxDC_LogicalToDeviceX(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceX(_swigarg0))
5029 static PyObject
*_wrap_wxDC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5030 PyObject
* _resultobj
;
5034 PyObject
* _argo0
= 0;
5035 char *_kwnames
[] = { "self","x", NULL
};
5038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceX",_kwnames
,&_argo0
,&_arg1
))
5041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceX. Expected _wxDC_p.");
5048 wxPy_BEGIN_ALLOW_THREADS
;
5049 _result
= (long )wxDC_LogicalToDeviceX(_arg0
,_arg1
);
5051 wxPy_END_ALLOW_THREADS
;
5052 } _resultobj
= Py_BuildValue("l",_result
);
5056 #define wxDC_LogicalToDeviceXRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceXRel(_swigarg0))
5057 static PyObject
*_wrap_wxDC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5058 PyObject
* _resultobj
;
5062 PyObject
* _argo0
= 0;
5063 char *_kwnames
[] = { "self","x", NULL
};
5066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceXRel",_kwnames
,&_argo0
,&_arg1
))
5069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceXRel. Expected _wxDC_p.");
5076 wxPy_BEGIN_ALLOW_THREADS
;
5077 _result
= (long )wxDC_LogicalToDeviceXRel(_arg0
,_arg1
);
5079 wxPy_END_ALLOW_THREADS
;
5080 } _resultobj
= Py_BuildValue("l",_result
);
5084 #define wxDC_LogicalToDeviceY(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceY(_swigarg0))
5085 static PyObject
*_wrap_wxDC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5086 PyObject
* _resultobj
;
5090 PyObject
* _argo0
= 0;
5091 char *_kwnames
[] = { "self","y", NULL
};
5094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceY",_kwnames
,&_argo0
,&_arg1
))
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_LogicalToDeviceY. Expected _wxDC_p.");
5104 wxPy_BEGIN_ALLOW_THREADS
;
5105 _result
= (long )wxDC_LogicalToDeviceY(_arg0
,_arg1
);
5107 wxPy_END_ALLOW_THREADS
;
5108 } _resultobj
= Py_BuildValue("l",_result
);
5112 #define wxDC_LogicalToDeviceYRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceYRel(_swigarg0))
5113 static PyObject
*_wrap_wxDC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5114 PyObject
* _resultobj
;
5118 PyObject
* _argo0
= 0;
5119 char *_kwnames
[] = { "self","y", NULL
};
5122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceYRel",_kwnames
,&_argo0
,&_arg1
))
5125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceYRel. Expected _wxDC_p.");
5132 wxPy_BEGIN_ALLOW_THREADS
;
5133 _result
= (long )wxDC_LogicalToDeviceYRel(_arg0
,_arg1
);
5135 wxPy_END_ALLOW_THREADS
;
5136 } _resultobj
= Py_BuildValue("l",_result
);
5140 #define wxDC_MaxX(_swigobj) (_swigobj->MaxX())
5141 static PyObject
*_wrap_wxDC_MaxX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5142 PyObject
* _resultobj
;
5145 PyObject
* _argo0
= 0;
5146 char *_kwnames
[] = { "self", NULL
};
5149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MaxX",_kwnames
,&_argo0
))
5152 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5153 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxX. Expected _wxDC_p.");
5159 wxPy_BEGIN_ALLOW_THREADS
;
5160 _result
= (long )wxDC_MaxX(_arg0
);
5162 wxPy_END_ALLOW_THREADS
;
5163 } _resultobj
= Py_BuildValue("l",_result
);
5167 #define wxDC_MaxY(_swigobj) (_swigobj->MaxY())
5168 static PyObject
*_wrap_wxDC_MaxY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5169 PyObject
* _resultobj
;
5172 PyObject
* _argo0
= 0;
5173 char *_kwnames
[] = { "self", NULL
};
5176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MaxY",_kwnames
,&_argo0
))
5179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxY. Expected _wxDC_p.");
5186 wxPy_BEGIN_ALLOW_THREADS
;
5187 _result
= (long )wxDC_MaxY(_arg0
);
5189 wxPy_END_ALLOW_THREADS
;
5190 } _resultobj
= Py_BuildValue("l",_result
);
5194 #define wxDC_MinX(_swigobj) (_swigobj->MinX())
5195 static PyObject
*_wrap_wxDC_MinX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5196 PyObject
* _resultobj
;
5199 PyObject
* _argo0
= 0;
5200 char *_kwnames
[] = { "self", NULL
};
5203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MinX",_kwnames
,&_argo0
))
5206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinX. Expected _wxDC_p.");
5213 wxPy_BEGIN_ALLOW_THREADS
;
5214 _result
= (long )wxDC_MinX(_arg0
);
5216 wxPy_END_ALLOW_THREADS
;
5217 } _resultobj
= Py_BuildValue("l",_result
);
5221 #define wxDC_MinY(_swigobj) (_swigobj->MinY())
5222 static PyObject
*_wrap_wxDC_MinY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5223 PyObject
* _resultobj
;
5226 PyObject
* _argo0
= 0;
5227 char *_kwnames
[] = { "self", NULL
};
5230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MinY",_kwnames
,&_argo0
))
5233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinY. Expected _wxDC_p.");
5240 wxPy_BEGIN_ALLOW_THREADS
;
5241 _result
= (long )wxDC_MinY(_arg0
);
5243 wxPy_END_ALLOW_THREADS
;
5244 } _resultobj
= Py_BuildValue("l",_result
);
5248 #define wxDC_Ok(_swigobj) (_swigobj->Ok())
5249 static PyObject
*_wrap_wxDC_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5250 PyObject
* _resultobj
;
5253 PyObject
* _argo0
= 0;
5254 char *_kwnames
[] = { "self", NULL
};
5257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_Ok",_kwnames
,&_argo0
))
5260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Ok. Expected _wxDC_p.");
5267 wxPy_BEGIN_ALLOW_THREADS
;
5268 _result
= (bool )wxDC_Ok(_arg0
);
5270 wxPy_END_ALLOW_THREADS
;
5271 } _resultobj
= Py_BuildValue("i",_result
);
5275 #define wxDC_SetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDeviceOrigin(_swigarg0,_swigarg1))
5276 static PyObject
*_wrap_wxDC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5277 PyObject
* _resultobj
;
5281 PyObject
* _argo0
= 0;
5282 char *_kwnames
[] = { "self","x","y", NULL
};
5285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_SetDeviceOrigin",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetDeviceOrigin. Expected _wxDC_p.");
5295 wxPy_BEGIN_ALLOW_THREADS
;
5296 wxDC_SetDeviceOrigin(_arg0
,_arg1
,_arg2
);
5298 wxPy_END_ALLOW_THREADS
;
5299 } Py_INCREF(Py_None
);
5300 _resultobj
= Py_None
;
5304 #define wxDC_SetBackground(_swigobj,_swigarg0) (_swigobj->SetBackground(_swigarg0))
5305 static PyObject
*_wrap_wxDC_SetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5306 PyObject
* _resultobj
;
5309 PyObject
* _argo0
= 0;
5310 PyObject
* _argo1
= 0;
5311 char *_kwnames
[] = { "self","brush", NULL
};
5314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetBackground",_kwnames
,&_argo0
,&_argo1
))
5317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackground. Expected _wxDC_p.");
5324 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5325 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
5326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBackground. Expected _wxBrush_p.");
5331 wxPy_BEGIN_ALLOW_THREADS
;
5332 wxDC_SetBackground(_arg0
,*_arg1
);
5334 wxPy_END_ALLOW_THREADS
;
5335 } Py_INCREF(Py_None
);
5336 _resultobj
= Py_None
;
5340 #define wxDC_SetBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetBackgroundMode(_swigarg0))
5341 static PyObject
*_wrap_wxDC_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5342 PyObject
* _resultobj
;
5345 PyObject
* _argo0
= 0;
5346 char *_kwnames
[] = { "self","mode", NULL
};
5349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetBackgroundMode",_kwnames
,&_argo0
,&_arg1
))
5352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackgroundMode. Expected _wxDC_p.");
5359 wxPy_BEGIN_ALLOW_THREADS
;
5360 wxDC_SetBackgroundMode(_arg0
,_arg1
);
5362 wxPy_END_ALLOW_THREADS
;
5363 } Py_INCREF(Py_None
);
5364 _resultobj
= Py_None
;
5368 #define wxDC_SetClippingRegion(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetClippingRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5369 static PyObject
*_wrap_wxDC_SetClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5370 PyObject
* _resultobj
;
5376 PyObject
* _argo0
= 0;
5377 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
5380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_SetClippingRegion",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
5383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetClippingRegion. Expected _wxDC_p.");
5390 wxPy_BEGIN_ALLOW_THREADS
;
5391 wxDC_SetClippingRegion(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5393 wxPy_END_ALLOW_THREADS
;
5394 } Py_INCREF(Py_None
);
5395 _resultobj
= Py_None
;
5399 #define wxDC_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
5400 static PyObject
*_wrap_wxDC_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5401 PyObject
* _resultobj
;
5404 PyObject
* _argo0
= 0;
5405 PyObject
* _argo1
= 0;
5406 char *_kwnames
[] = { "self","colourMap", NULL
};
5409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetPalette",_kwnames
,&_argo0
,&_argo1
))
5412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPalette. Expected _wxDC_p.");
5419 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5420 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPalette_p")) {
5421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPalette. Expected _wxPalette_p.");
5426 wxPy_BEGIN_ALLOW_THREADS
;
5427 wxDC_SetPalette(_arg0
,*_arg1
);
5429 wxPy_END_ALLOW_THREADS
;
5430 } Py_INCREF(Py_None
);
5431 _resultobj
= Py_None
;
5435 #define wxDC_SetBrush(_swigobj,_swigarg0) (_swigobj->SetBrush(_swigarg0))
5436 static PyObject
*_wrap_wxDC_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5437 PyObject
* _resultobj
;
5440 PyObject
* _argo0
= 0;
5441 PyObject
* _argo1
= 0;
5442 char *_kwnames
[] = { "self","brush", NULL
};
5445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetBrush",_kwnames
,&_argo0
,&_argo1
))
5448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBrush. Expected _wxDC_p.");
5455 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5456 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
5457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBrush. Expected _wxBrush_p.");
5462 wxPy_BEGIN_ALLOW_THREADS
;
5463 wxDC_SetBrush(_arg0
,*_arg1
);
5465 wxPy_END_ALLOW_THREADS
;
5466 } Py_INCREF(Py_None
);
5467 _resultobj
= Py_None
;
5471 #define wxDC_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
5472 static PyObject
*_wrap_wxDC_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5473 PyObject
* _resultobj
;
5476 PyObject
* _argo0
= 0;
5477 PyObject
* _argo1
= 0;
5478 char *_kwnames
[] = { "self","font", NULL
};
5481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetFont",_kwnames
,&_argo0
,&_argo1
))
5484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetFont. Expected _wxDC_p.");
5491 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5492 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
5493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetFont. Expected _wxFont_p.");
5498 wxPy_BEGIN_ALLOW_THREADS
;
5499 wxDC_SetFont(_arg0
,*_arg1
);
5501 wxPy_END_ALLOW_THREADS
;
5502 } Py_INCREF(Py_None
);
5503 _resultobj
= Py_None
;
5507 #define wxDC_SetLogicalFunction(_swigobj,_swigarg0) (_swigobj->SetLogicalFunction(_swigarg0))
5508 static PyObject
*_wrap_wxDC_SetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5509 PyObject
* _resultobj
;
5512 PyObject
* _argo0
= 0;
5513 char *_kwnames
[] = { "self","function", NULL
};
5516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetLogicalFunction",_kwnames
,&_argo0
,&_arg1
))
5519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalFunction. Expected _wxDC_p.");
5526 wxPy_BEGIN_ALLOW_THREADS
;
5527 wxDC_SetLogicalFunction(_arg0
,_arg1
);
5529 wxPy_END_ALLOW_THREADS
;
5530 } Py_INCREF(Py_None
);
5531 _resultobj
= Py_None
;
5535 #define wxDC_SetMapMode(_swigobj,_swigarg0) (_swigobj->SetMapMode(_swigarg0))
5536 static PyObject
*_wrap_wxDC_SetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5537 PyObject
* _resultobj
;
5540 PyObject
* _argo0
= 0;
5541 char *_kwnames
[] = { "self","mode", NULL
};
5544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetMapMode",_kwnames
,&_argo0
,&_arg1
))
5547 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5548 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetMapMode. Expected _wxDC_p.");
5554 wxPy_BEGIN_ALLOW_THREADS
;
5555 wxDC_SetMapMode(_arg0
,_arg1
);
5557 wxPy_END_ALLOW_THREADS
;
5558 } Py_INCREF(Py_None
);
5559 _resultobj
= Py_None
;
5563 #define wxDC_SetOptimization(_swigobj,_swigarg0) (_swigobj->SetOptimization(_swigarg0))
5564 static PyObject
*_wrap_wxDC_SetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5565 PyObject
* _resultobj
;
5568 PyObject
* _argo0
= 0;
5570 char *_kwnames
[] = { "self","optimize", NULL
};
5573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetOptimization",_kwnames
,&_argo0
,&tempbool1
))
5576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetOptimization. Expected _wxDC_p.");
5582 _arg1
= (bool ) tempbool1
;
5584 wxPy_BEGIN_ALLOW_THREADS
;
5585 wxDC_SetOptimization(_arg0
,_arg1
);
5587 wxPy_END_ALLOW_THREADS
;
5588 } Py_INCREF(Py_None
);
5589 _resultobj
= Py_None
;
5593 #define wxDC_SetPen(_swigobj,_swigarg0) (_swigobj->SetPen(_swigarg0))
5594 static PyObject
*_wrap_wxDC_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5595 PyObject
* _resultobj
;
5598 PyObject
* _argo0
= 0;
5599 PyObject
* _argo1
= 0;
5600 char *_kwnames
[] = { "self","pen", NULL
};
5603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetPen",_kwnames
,&_argo0
,&_argo1
))
5606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPen. Expected _wxDC_p.");
5613 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5614 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
5615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPen. Expected _wxPen_p.");
5620 wxPy_BEGIN_ALLOW_THREADS
;
5621 wxDC_SetPen(_arg0
,*_arg1
);
5623 wxPy_END_ALLOW_THREADS
;
5624 } Py_INCREF(Py_None
);
5625 _resultobj
= Py_None
;
5629 #define wxDC_SetTextBackground(_swigobj,_swigarg0) (_swigobj->SetTextBackground(_swigarg0))
5630 static PyObject
*_wrap_wxDC_SetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5631 PyObject
* _resultobj
;
5634 PyObject
* _argo0
= 0;
5635 PyObject
* _argo1
= 0;
5636 char *_kwnames
[] = { "self","colour", NULL
};
5639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetTextBackground",_kwnames
,&_argo0
,&_argo1
))
5642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextBackground. Expected _wxDC_p.");
5649 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5650 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
5651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetTextBackground. Expected _wxColour_p.");
5656 wxPy_BEGIN_ALLOW_THREADS
;
5657 wxDC_SetTextBackground(_arg0
,*_arg1
);
5659 wxPy_END_ALLOW_THREADS
;
5660 } Py_INCREF(Py_None
);
5661 _resultobj
= Py_None
;
5665 #define wxDC_SetTextForeground(_swigobj,_swigarg0) (_swigobj->SetTextForeground(_swigarg0))
5666 static PyObject
*_wrap_wxDC_SetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5667 PyObject
* _resultobj
;
5670 PyObject
* _argo0
= 0;
5671 PyObject
* _argo1
= 0;
5672 char *_kwnames
[] = { "self","colour", NULL
};
5675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetTextForeground",_kwnames
,&_argo0
,&_argo1
))
5678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextForeground. Expected _wxDC_p.");
5685 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5686 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
5687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetTextForeground. Expected _wxColour_p.");
5692 wxPy_BEGIN_ALLOW_THREADS
;
5693 wxDC_SetTextForeground(_arg0
,*_arg1
);
5695 wxPy_END_ALLOW_THREADS
;
5696 } Py_INCREF(Py_None
);
5697 _resultobj
= Py_None
;
5701 #define wxDC_SetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetUserScale(_swigarg0,_swigarg1))
5702 static PyObject
*_wrap_wxDC_SetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5703 PyObject
* _resultobj
;
5707 PyObject
* _argo0
= 0;
5708 char *_kwnames
[] = { "self","x_scale","y_scale", NULL
};
5711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxDC_SetUserScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetUserScale. Expected _wxDC_p.");
5721 wxPy_BEGIN_ALLOW_THREADS
;
5722 wxDC_SetUserScale(_arg0
,_arg1
,_arg2
);
5724 wxPy_END_ALLOW_THREADS
;
5725 } Py_INCREF(Py_None
);
5726 _resultobj
= Py_None
;
5730 #define wxDC_StartDoc(_swigobj,_swigarg0) (_swigobj->StartDoc(_swigarg0))
5731 static PyObject
*_wrap_wxDC_StartDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5732 PyObject
* _resultobj
;
5736 PyObject
* _argo0
= 0;
5737 PyObject
* _obj1
= 0;
5738 char *_kwnames
[] = { "self","message", NULL
};
5741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_StartDoc",_kwnames
,&_argo0
,&_obj1
))
5744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartDoc. Expected _wxDC_p.");
5751 if (!PyString_Check(_obj1
)) {
5752 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5755 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5758 wxPy_BEGIN_ALLOW_THREADS
;
5759 _result
= (bool )wxDC_StartDoc(_arg0
,*_arg1
);
5761 wxPy_END_ALLOW_THREADS
;
5762 } _resultobj
= Py_BuildValue("i",_result
);
5770 #define wxDC_StartPage(_swigobj) (_swigobj->StartPage())
5771 static PyObject
*_wrap_wxDC_StartPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5772 PyObject
* _resultobj
;
5774 PyObject
* _argo0
= 0;
5775 char *_kwnames
[] = { "self", NULL
};
5778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_StartPage",_kwnames
,&_argo0
))
5781 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5782 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartPage. Expected _wxDC_p.");
5788 wxPy_BEGIN_ALLOW_THREADS
;
5789 wxDC_StartPage(_arg0
);
5791 wxPy_END_ALLOW_THREADS
;
5792 } Py_INCREF(Py_None
);
5793 _resultobj
= Py_None
;
5797 #define wxDC_DrawBitmap(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5798 static PyObject
*_wrap_wxDC_DrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5799 PyObject
* _resultobj
;
5804 int _arg4
= (int ) FALSE
;
5805 PyObject
* _argo0
= 0;
5806 PyObject
* _argo1
= 0;
5807 char *_kwnames
[] = { "self","bitmap","x","y","useMask", NULL
};
5810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll|i:wxDC_DrawBitmap",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
))
5813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawBitmap. Expected _wxDC_p.");
5820 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5821 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
5822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawBitmap. Expected _wxBitmap_p.");
5827 wxPy_BEGIN_ALLOW_THREADS
;
5828 wxDC_DrawBitmap(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
5830 wxPy_END_ALLOW_THREADS
;
5831 } Py_INCREF(Py_None
);
5832 _resultobj
= Py_None
;
5836 static void *SwigwxMemoryDCTowxDC(void *ptr
) {
5839 src
= (wxMemoryDC
*) ptr
;
5840 dest
= (wxDC
*) src
;
5841 return (void *) dest
;
5844 #define new_wxMemoryDC() (new wxMemoryDC())
5845 static PyObject
*_wrap_new_wxMemoryDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5846 PyObject
* _resultobj
;
5847 wxMemoryDC
* _result
;
5848 char *_kwnames
[] = { NULL
};
5852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMemoryDC",_kwnames
))
5855 wxPy_BEGIN_ALLOW_THREADS
;
5856 _result
= (wxMemoryDC
*)new_wxMemoryDC();
5858 wxPy_END_ALLOW_THREADS
;
5860 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
5861 _resultobj
= Py_BuildValue("s",_ptemp
);
5864 _resultobj
= Py_None
;
5869 #define wxMemoryDC_SelectObject(_swigobj,_swigarg0) (_swigobj->SelectObject(_swigarg0))
5870 static PyObject
*_wrap_wxMemoryDC_SelectObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5871 PyObject
* _resultobj
;
5874 PyObject
* _argo0
= 0;
5875 PyObject
* _argo1
= 0;
5876 char *_kwnames
[] = { "self","bitmap", NULL
};
5879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMemoryDC_SelectObject",_kwnames
,&_argo0
,&_argo1
))
5882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMemoryDC_p")) {
5884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDC_SelectObject. Expected _wxMemoryDC_p.");
5889 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5890 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
5891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMemoryDC_SelectObject. Expected _wxBitmap_p.");
5896 wxPy_BEGIN_ALLOW_THREADS
;
5897 wxMemoryDC_SelectObject(_arg0
,*_arg1
);
5899 wxPy_END_ALLOW_THREADS
;
5900 } Py_INCREF(Py_None
);
5901 _resultobj
= Py_None
;
5905 static void *SwigwxScreenDCTowxDC(void *ptr
) {
5908 src
= (wxScreenDC
*) ptr
;
5909 dest
= (wxDC
*) src
;
5910 return (void *) dest
;
5913 #define new_wxScreenDC() (new wxScreenDC())
5914 static PyObject
*_wrap_new_wxScreenDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5915 PyObject
* _resultobj
;
5916 wxScreenDC
* _result
;
5917 char *_kwnames
[] = { NULL
};
5921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxScreenDC",_kwnames
))
5924 wxPy_BEGIN_ALLOW_THREADS
;
5925 _result
= (wxScreenDC
*)new_wxScreenDC();
5927 wxPy_END_ALLOW_THREADS
;
5929 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScreenDC_p");
5930 _resultobj
= Py_BuildValue("s",_ptemp
);
5933 _resultobj
= Py_None
;
5938 #define wxScreenDC_StartDrawingOnTop(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
5939 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5940 PyObject
* _resultobj
;
5944 PyObject
* _argo0
= 0;
5945 PyObject
* _argo1
= 0;
5946 char *_kwnames
[] = { "self","window", NULL
};
5949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScreenDC_StartDrawingOnTop",_kwnames
,&_argo0
,&_argo1
))
5952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
5954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTop. Expected _wxScreenDC_p.");
5959 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5960 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScreenDC_StartDrawingOnTop. Expected _wxWindow_p.");
5966 wxPy_BEGIN_ALLOW_THREADS
;
5967 _result
= (bool )wxScreenDC_StartDrawingOnTop(_arg0
,_arg1
);
5969 wxPy_END_ALLOW_THREADS
;
5970 } _resultobj
= Py_BuildValue("i",_result
);
5974 #define wxScreenDC_StartDrawingOnTopRect(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
5975 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTopRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5976 PyObject
* _resultobj
;
5979 wxRect
* _arg1
= (wxRect
*) NULL
;
5980 PyObject
* _argo0
= 0;
5981 PyObject
* _argo1
= 0;
5982 char *_kwnames
[] = { "self","rect", NULL
};
5985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxScreenDC_StartDrawingOnTopRect",_kwnames
,&_argo0
,&_argo1
))
5988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
5990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTopRect. Expected _wxScreenDC_p.");
5995 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5996 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRect_p")) {
5997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScreenDC_StartDrawingOnTopRect. Expected _wxRect_p.");
6002 wxPy_BEGIN_ALLOW_THREADS
;
6003 _result
= (bool )wxScreenDC_StartDrawingOnTopRect(_arg0
,_arg1
);
6005 wxPy_END_ALLOW_THREADS
;
6006 } _resultobj
= Py_BuildValue("i",_result
);
6010 #define wxScreenDC_EndDrawingOnTop(_swigobj) (_swigobj->EndDrawingOnTop())
6011 static PyObject
*_wrap_wxScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6012 PyObject
* _resultobj
;
6015 PyObject
* _argo0
= 0;
6016 char *_kwnames
[] = { "self", NULL
};
6019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScreenDC_EndDrawingOnTop",_kwnames
,&_argo0
))
6022 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6023 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
6024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_EndDrawingOnTop. Expected _wxScreenDC_p.");
6029 wxPy_BEGIN_ALLOW_THREADS
;
6030 _result
= (bool )wxScreenDC_EndDrawingOnTop(_arg0
);
6032 wxPy_END_ALLOW_THREADS
;
6033 } _resultobj
= Py_BuildValue("i",_result
);
6037 static void *SwigwxClientDCTowxDC(void *ptr
) {
6040 src
= (wxClientDC
*) ptr
;
6041 dest
= (wxDC
*) src
;
6042 return (void *) dest
;
6045 #define new_wxClientDC(_swigarg0) (new wxClientDC(_swigarg0))
6046 static PyObject
*_wrap_new_wxClientDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6047 PyObject
* _resultobj
;
6048 wxClientDC
* _result
;
6050 PyObject
* _argo0
= 0;
6051 char *_kwnames
[] = { "win", NULL
};
6055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxClientDC",_kwnames
,&_argo0
))
6058 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6059 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxClientDC. Expected _wxWindow_p.");
6065 wxPy_BEGIN_ALLOW_THREADS
;
6066 _result
= (wxClientDC
*)new_wxClientDC(_arg0
);
6068 wxPy_END_ALLOW_THREADS
;
6070 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxClientDC_p");
6071 _resultobj
= Py_BuildValue("s",_ptemp
);
6074 _resultobj
= Py_None
;
6079 static void *SwigwxPaintDCTowxDC(void *ptr
) {
6082 src
= (wxPaintDC
*) ptr
;
6083 dest
= (wxDC
*) src
;
6084 return (void *) dest
;
6087 #define new_wxPaintDC(_swigarg0) (new wxPaintDC(_swigarg0))
6088 static PyObject
*_wrap_new_wxPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6089 PyObject
* _resultobj
;
6090 wxPaintDC
* _result
;
6092 PyObject
* _argo0
= 0;
6093 char *_kwnames
[] = { "win", NULL
};
6097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPaintDC",_kwnames
,&_argo0
))
6100 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6101 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPaintDC. Expected _wxWindow_p.");
6107 wxPy_BEGIN_ALLOW_THREADS
;
6108 _result
= (wxPaintDC
*)new_wxPaintDC(_arg0
);
6110 wxPy_END_ALLOW_THREADS
;
6112 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPaintDC_p");
6113 _resultobj
= Py_BuildValue("s",_ptemp
);
6116 _resultobj
= Py_None
;
6121 static void *SwigwxWindowDCTowxDC(void *ptr
) {
6124 src
= (wxWindowDC
*) ptr
;
6125 dest
= (wxDC
*) src
;
6126 return (void *) dest
;
6129 #define new_wxWindowDC(_swigarg0) (new wxWindowDC(_swigarg0))
6130 static PyObject
*_wrap_new_wxWindowDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6131 PyObject
* _resultobj
;
6132 wxWindowDC
* _result
;
6134 PyObject
* _argo0
= 0;
6135 char *_kwnames
[] = { "win", NULL
};
6139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxWindowDC",_kwnames
,&_argo0
))
6142 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6143 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDC. Expected _wxWindow_p.");
6149 wxPy_BEGIN_ALLOW_THREADS
;
6150 _result
= (wxWindowDC
*)new_wxWindowDC(_arg0
);
6152 wxPy_END_ALLOW_THREADS
;
6154 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDC_p");
6155 _resultobj
= Py_BuildValue("s",_ptemp
);
6158 _resultobj
= Py_None
;
6163 static void *SwigwxPrinterDCTowxDC(void *ptr
) {
6166 src
= (wxPrinterDC
*) ptr
;
6167 dest
= (wxDC
*) src
;
6168 return (void *) dest
;
6171 #define new_wxPrinterDC(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxPrinterDC(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6172 static PyObject
*_wrap_new_wxPrinterDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6173 PyObject
* _resultobj
;
6174 wxPrinterDC
* _result
;
6178 bool _arg3
= (bool ) TRUE
;
6179 int _arg4
= (int ) wxPORTRAIT
;
6180 PyObject
* _obj0
= 0;
6181 PyObject
* _obj1
= 0;
6182 PyObject
* _obj2
= 0;
6183 int tempbool3
= (int) TRUE
;
6184 char *_kwnames
[] = { "driver","device","output","interactive","orientation", NULL
};
6188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|ii:new_wxPrinterDC",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&tempbool3
,&_arg4
))
6191 if (!PyString_Check(_obj0
)) {
6192 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6195 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
6198 if (!PyString_Check(_obj1
)) {
6199 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6202 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
6205 if (!PyString_Check(_obj2
)) {
6206 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6209 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6211 _arg3
= (bool ) tempbool3
;
6213 wxPy_BEGIN_ALLOW_THREADS
;
6214 _result
= (wxPrinterDC
*)new_wxPrinterDC(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
6216 wxPy_END_ALLOW_THREADS
;
6218 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrinterDC_p");
6219 _resultobj
= Py_BuildValue("s",_ptemp
);
6222 _resultobj
= Py_None
;
6239 static void *SwigwxMetaFileDCTowxDC(void *ptr
) {
6242 src
= (wxMetaFileDC
*) ptr
;
6243 dest
= (wxDC
*) src
;
6244 return (void *) dest
;
6247 #define new_wxMetaFileDC(_swigarg0) (new wxMetaFileDC(_swigarg0))
6248 static PyObject
*_wrap_new_wxMetaFileDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6249 PyObject
* _resultobj
;
6250 wxMetaFileDC
* _result
;
6251 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
6252 PyObject
* _obj0
= 0;
6253 char *_kwnames
[] = { "filename", NULL
};
6257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxMetaFileDC",_kwnames
,&_obj0
))
6261 if (!PyString_Check(_obj0
)) {
6262 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6265 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
6268 wxPy_BEGIN_ALLOW_THREADS
;
6269 _result
= (wxMetaFileDC
*)new_wxMetaFileDC(*_arg0
);
6271 wxPy_END_ALLOW_THREADS
;
6273 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMetaFileDC_p");
6274 _resultobj
= Py_BuildValue("s",_ptemp
);
6277 _resultobj
= Py_None
;
6286 #define wxMetaFileDC_Close(_swigobj) (_swigobj->Close())
6287 static PyObject
*_wrap_wxMetaFileDC_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6288 PyObject
* _resultobj
;
6289 wxMetaFile
* _result
;
6290 wxMetaFileDC
* _arg0
;
6291 PyObject
* _argo0
= 0;
6292 char *_kwnames
[] = { "self", NULL
};
6296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMetaFileDC_Close",_kwnames
,&_argo0
))
6299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMetaFileDC_p")) {
6301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMetaFileDC_Close. Expected _wxMetaFileDC_p.");
6306 wxPy_BEGIN_ALLOW_THREADS
;
6307 _result
= (wxMetaFile
*)wxMetaFileDC_Close(_arg0
);
6309 wxPy_END_ALLOW_THREADS
;
6311 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMetaFile_p");
6312 _resultobj
= Py_BuildValue("s",_ptemp
);
6315 _resultobj
= Py_None
;
6320 #define new_wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6321 static PyObject
*_wrap_new_wxPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6322 PyObject
* _resultobj
;
6323 wxPalette
* _result
;
6328 PyObject
* _obj1
= 0;
6329 PyObject
* _obj2
= 0;
6330 PyObject
* _obj3
= 0;
6331 char *_kwnames
[] = { "LIST","LIST","LIST", NULL
};
6335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:new_wxPalette",_kwnames
,&_obj1
,&_obj2
,&_obj3
))
6338 _arg1
= byte_LIST_helper(_obj1
);
6339 if (_arg1
== NULL
) {
6344 _arg2
= byte_LIST_helper(_obj2
);
6345 if (_arg2
== NULL
) {
6351 _arg3
= byte_LIST_helper(_obj3
);
6352 if (_arg3
== NULL
) {
6358 _arg0
= PyList_Size(_obj1
);
6365 wxPy_BEGIN_ALLOW_THREADS
;
6366 _result
= (wxPalette
*)new_wxPalette(_arg0
,_arg1
,_arg2
,_arg3
);
6368 wxPy_END_ALLOW_THREADS
;
6370 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
6371 _resultobj
= Py_BuildValue("s",_ptemp
);
6374 _resultobj
= Py_None
;
6388 #define delete_wxPalette(_swigobj) (delete _swigobj)
6389 static PyObject
*_wrap_delete_wxPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6390 PyObject
* _resultobj
;
6392 PyObject
* _argo0
= 0;
6393 char *_kwnames
[] = { "self", NULL
};
6396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPalette",_kwnames
,&_argo0
))
6399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
6401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPalette. Expected _wxPalette_p.");
6406 wxPy_BEGIN_ALLOW_THREADS
;
6407 delete_wxPalette(_arg0
);
6409 wxPy_END_ALLOW_THREADS
;
6410 } Py_INCREF(Py_None
);
6411 _resultobj
= Py_None
;
6415 #define wxPalette_GetPixel(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetPixel(_swigarg0,_swigarg1,_swigarg2))
6416 static PyObject
*_wrap_wxPalette_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6417 PyObject
* _resultobj
;
6423 PyObject
* _argo0
= 0;
6424 char *_kwnames
[] = { "self","red","green","blue", NULL
};
6427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Obbb:wxPalette_GetPixel",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
6430 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6431 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
6432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetPixel. Expected _wxPalette_p.");
6437 wxPy_BEGIN_ALLOW_THREADS
;
6438 _result
= (int )wxPalette_GetPixel(_arg0
,_arg1
,_arg2
,_arg3
);
6440 wxPy_END_ALLOW_THREADS
;
6441 } _resultobj
= Py_BuildValue("i",_result
);
6445 #define wxPalette_GetRGB(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetRGB(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6446 static PyObject
*_wrap_wxPalette_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6447 PyObject
* _resultobj
;
6454 PyObject
* _argo0
= 0;
6455 PyObject
* _argo2
= 0;
6456 PyObject
* _argo3
= 0;
6457 PyObject
* _argo4
= 0;
6458 char *_kwnames
[] = { "self","pixel","OUTPUT","OUTPUT","OUTPUT", NULL
};
6461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOOO:wxPalette_GetRGB",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_argo4
))
6464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
6466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetRGB. Expected _wxPalette_p.");
6471 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6472 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_byte_p")) {
6473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPalette_GetRGB. Expected _byte_p.");
6478 if (_argo3
== Py_None
) { _arg3
= NULL
; }
6479 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_byte_p")) {
6480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxPalette_GetRGB. Expected _byte_p.");
6485 if (_argo4
== Py_None
) { _arg4
= NULL
; }
6486 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_byte_p")) {
6487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxPalette_GetRGB. Expected _byte_p.");
6492 wxPy_BEGIN_ALLOW_THREADS
;
6493 _result
= (bool )wxPalette_GetRGB(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6495 wxPy_END_ALLOW_THREADS
;
6496 } _resultobj
= Py_BuildValue("i",_result
);
6500 #define wxPalette_Ok(_swigobj) (_swigobj->Ok())
6501 static PyObject
*_wrap_wxPalette_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6502 PyObject
* _resultobj
;
6505 PyObject
* _argo0
= 0;
6506 char *_kwnames
[] = { "self", NULL
};
6509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPalette_Ok",_kwnames
,&_argo0
))
6512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
6514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_Ok. Expected _wxPalette_p.");
6519 wxPy_BEGIN_ALLOW_THREADS
;
6520 _result
= (bool )wxPalette_Ok(_arg0
);
6522 wxPy_END_ALLOW_THREADS
;
6523 } _resultobj
= Py_BuildValue("i",_result
);
6527 #define new_wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6528 static PyObject
*_wrap_new_wxImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6529 PyObject
* _resultobj
;
6530 wxImageList
* _result
;
6533 bool _arg2
= (bool ) TRUE
;
6534 int _arg3
= (int ) 1;
6535 int tempbool2
= (int) TRUE
;
6536 char *_kwnames
[] = { "width","height","mask","initialCount", NULL
};
6540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ii|ii:new_wxImageList",_kwnames
,&_arg0
,&_arg1
,&tempbool2
,&_arg3
))
6542 _arg2
= (bool ) tempbool2
;
6544 wxPy_BEGIN_ALLOW_THREADS
;
6545 _result
= (wxImageList
*)new_wxImageList(_arg0
,_arg1
,_arg2
,_arg3
);
6547 wxPy_END_ALLOW_THREADS
;
6549 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
6550 _resultobj
= Py_BuildValue("s",_ptemp
);
6553 _resultobj
= Py_None
;
6558 #define delete_wxImageList(_swigobj) (delete _swigobj)
6559 static PyObject
*_wrap_delete_wxImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6560 PyObject
* _resultobj
;
6561 wxImageList
* _arg0
;
6562 PyObject
* _argo0
= 0;
6563 char *_kwnames
[] = { "self", NULL
};
6566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxImageList",_kwnames
,&_argo0
))
6569 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6570 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxImageList. Expected _wxImageList_p.");
6576 wxPy_BEGIN_ALLOW_THREADS
;
6577 delete_wxImageList(_arg0
);
6579 wxPy_END_ALLOW_THREADS
;
6580 } Py_INCREF(Py_None
);
6581 _resultobj
= Py_None
;
6585 #define wxImageList_Add(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
6586 static PyObject
*_wrap_wxImageList_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6587 PyObject
* _resultobj
;
6589 wxImageList
* _arg0
;
6591 wxBitmap
* _arg2
= (wxBitmap
*) &wxNullBitmap
;
6592 PyObject
* _argo0
= 0;
6593 PyObject
* _argo1
= 0;
6594 PyObject
* _argo2
= 0;
6595 char *_kwnames
[] = { "self","bitmap","mask", NULL
};
6598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxImageList_Add",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
6601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Add. Expected _wxImageList_p.");
6608 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6609 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
6610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_Add. Expected _wxBitmap_p.");
6615 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6616 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
6617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Add. Expected _wxBitmap_p.");
6622 wxPy_BEGIN_ALLOW_THREADS
;
6623 _result
= (int )wxImageList_Add(_arg0
,*_arg1
,*_arg2
);
6625 wxPy_END_ALLOW_THREADS
;
6626 } _resultobj
= Py_BuildValue("i",_result
);
6630 #define wxImageList_AddWithColourMask(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
6631 static PyObject
*_wrap_wxImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6632 PyObject
* _resultobj
;
6634 wxImageList
* _arg0
;
6637 PyObject
* _argo0
= 0;
6638 PyObject
* _argo1
= 0;
6639 PyObject
* _argo2
= 0;
6640 char *_kwnames
[] = { "self","bitmap","maskColour", NULL
};
6643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxImageList_AddWithColourMask",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
6646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_AddWithColourMask. Expected _wxImageList_p.");
6653 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6654 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
6655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_AddWithColourMask. Expected _wxBitmap_p.");
6660 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6661 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxColour_p")) {
6662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_AddWithColourMask. Expected _wxColour_p.");
6667 wxPy_BEGIN_ALLOW_THREADS
;
6668 _result
= (int )wxImageList_AddWithColourMask(_arg0
,*_arg1
,*_arg2
);
6670 wxPy_END_ALLOW_THREADS
;
6671 } _resultobj
= Py_BuildValue("i",_result
);
6675 #define wxImageList_AddIcon(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
6676 static PyObject
*_wrap_wxImageList_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6677 PyObject
* _resultobj
;
6679 wxImageList
* _arg0
;
6681 PyObject
* _argo0
= 0;
6682 PyObject
* _argo1
= 0;
6683 char *_kwnames
[] = { "self","icon", NULL
};
6686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxImageList_AddIcon",_kwnames
,&_argo0
,&_argo1
))
6689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_AddIcon. Expected _wxImageList_p.");
6696 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6697 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
6698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_AddIcon. Expected _wxIcon_p.");
6703 wxPy_BEGIN_ALLOW_THREADS
;
6704 _result
= (int )wxImageList_AddIcon(_arg0
,*_arg1
);
6706 wxPy_END_ALLOW_THREADS
;
6707 } _resultobj
= Py_BuildValue("i",_result
);
6711 #define wxImageList_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
6712 static PyObject
*_wrap_wxImageList_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6713 PyObject
* _resultobj
;
6715 wxImageList
* _arg0
;
6718 wxBitmap
* _arg3
= (wxBitmap
*) &wxNullBitmap
;
6719 PyObject
* _argo0
= 0;
6720 PyObject
* _argo2
= 0;
6721 PyObject
* _argo3
= 0;
6722 char *_kwnames
[] = { "self","index","bitmap","mask", NULL
};
6725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxImageList_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
))
6728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Replace. Expected _wxImageList_p.");
6735 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6736 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
6737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Replace. Expected _wxBitmap_p.");
6742 if (_argo3
== Py_None
) { _arg3
= NULL
; }
6743 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
6744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxImageList_Replace. Expected _wxBitmap_p.");
6749 wxPy_BEGIN_ALLOW_THREADS
;
6750 _result
= (bool )wxImageList_Replace(_arg0
,_arg1
,*_arg2
,*_arg3
);
6752 wxPy_END_ALLOW_THREADS
;
6753 } _resultobj
= Py_BuildValue("i",_result
);
6757 #define wxImageList_ReplaceIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->Replace(_swigarg0,_swigarg1))
6758 static PyObject
*_wrap_wxImageList_ReplaceIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6759 PyObject
* _resultobj
;
6761 wxImageList
* _arg0
;
6764 PyObject
* _argo0
= 0;
6765 PyObject
* _argo2
= 0;
6766 char *_kwnames
[] = { "self","index","icon", NULL
};
6769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxImageList_ReplaceIcon",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
6772 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6773 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_ReplaceIcon. Expected _wxImageList_p.");
6779 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6780 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxIcon_p")) {
6781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_ReplaceIcon. Expected _wxIcon_p.");
6786 wxPy_BEGIN_ALLOW_THREADS
;
6787 _result
= (bool )wxImageList_ReplaceIcon(_arg0
,_arg1
,*_arg2
);
6789 wxPy_END_ALLOW_THREADS
;
6790 } _resultobj
= Py_BuildValue("i",_result
);
6794 #define wxImageList_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6795 static PyObject
*_wrap_wxImageList_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6796 PyObject
* _resultobj
;
6798 wxImageList
* _arg0
;
6803 int _arg5
= (int ) (wxIMAGELIST_DRAW_NORMAL
);
6804 bool _arg6
= (bool ) FALSE
;
6805 PyObject
* _argo0
= 0;
6806 PyObject
* _argo2
= 0;
6807 int tempbool6
= (int) FALSE
;
6808 char *_kwnames
[] = { "self","index","dc","x","x","flags","solidBackground", NULL
};
6811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOii|ii:wxImageList_Draw",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
6814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Draw. Expected _wxImageList_p.");
6821 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6822 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDC_p")) {
6823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Draw. Expected _wxDC_p.");
6827 _arg6
= (bool ) tempbool6
;
6829 wxPy_BEGIN_ALLOW_THREADS
;
6830 _result
= (bool )wxImageList_Draw(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
6832 wxPy_END_ALLOW_THREADS
;
6833 } _resultobj
= Py_BuildValue("i",_result
);
6837 #define wxImageList_GetImageCount(_swigobj) (_swigobj->GetImageCount())
6838 static PyObject
*_wrap_wxImageList_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6839 PyObject
* _resultobj
;
6841 wxImageList
* _arg0
;
6842 PyObject
* _argo0
= 0;
6843 char *_kwnames
[] = { "self", NULL
};
6846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImageList_GetImageCount",_kwnames
,&_argo0
))
6849 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6850 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_GetImageCount. Expected _wxImageList_p.");
6856 wxPy_BEGIN_ALLOW_THREADS
;
6857 _result
= (int )wxImageList_GetImageCount(_arg0
);
6859 wxPy_END_ALLOW_THREADS
;
6860 } _resultobj
= Py_BuildValue("i",_result
);
6864 #define wxImageList_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
6865 static PyObject
*_wrap_wxImageList_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6866 PyObject
* _resultobj
;
6868 wxImageList
* _arg0
;
6870 PyObject
* _argo0
= 0;
6871 char *_kwnames
[] = { "self","index", NULL
};
6874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxImageList_Remove",_kwnames
,&_argo0
,&_arg1
))
6877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Remove. Expected _wxImageList_p.");
6884 wxPy_BEGIN_ALLOW_THREADS
;
6885 _result
= (bool )wxImageList_Remove(_arg0
,_arg1
);
6887 wxPy_END_ALLOW_THREADS
;
6888 } _resultobj
= Py_BuildValue("i",_result
);
6892 #define wxImageList_RemoveAll(_swigobj) (_swigobj->RemoveAll())
6893 static PyObject
*_wrap_wxImageList_RemoveAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6894 PyObject
* _resultobj
;
6896 wxImageList
* _arg0
;
6897 PyObject
* _argo0
= 0;
6898 char *_kwnames
[] = { "self", NULL
};
6901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImageList_RemoveAll",_kwnames
,&_argo0
))
6904 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6905 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_RemoveAll. Expected _wxImageList_p.");
6911 wxPy_BEGIN_ALLOW_THREADS
;
6912 _result
= (bool )wxImageList_RemoveAll(_arg0
);
6914 wxPy_END_ALLOW_THREADS
;
6915 } _resultobj
= Py_BuildValue("i",_result
);
6919 static PyMethodDef gdicMethods
[] = {
6920 { "wxImageList_RemoveAll", (PyCFunction
) _wrap_wxImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
},
6921 { "wxImageList_Remove", (PyCFunction
) _wrap_wxImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
},
6922 { "wxImageList_GetImageCount", (PyCFunction
) _wrap_wxImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
6923 { "wxImageList_Draw", (PyCFunction
) _wrap_wxImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
},
6924 { "wxImageList_ReplaceIcon", (PyCFunction
) _wrap_wxImageList_ReplaceIcon
, METH_VARARGS
| METH_KEYWORDS
},
6925 { "wxImageList_Replace", (PyCFunction
) _wrap_wxImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
},
6926 { "wxImageList_AddIcon", (PyCFunction
) _wrap_wxImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
6927 { "wxImageList_AddWithColourMask", (PyCFunction
) _wrap_wxImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
},
6928 { "wxImageList_Add", (PyCFunction
) _wrap_wxImageList_Add
, METH_VARARGS
| METH_KEYWORDS
},
6929 { "delete_wxImageList", (PyCFunction
) _wrap_delete_wxImageList
, METH_VARARGS
| METH_KEYWORDS
},
6930 { "new_wxImageList", (PyCFunction
) _wrap_new_wxImageList
, METH_VARARGS
| METH_KEYWORDS
},
6931 { "wxPalette_Ok", (PyCFunction
) _wrap_wxPalette_Ok
, METH_VARARGS
| METH_KEYWORDS
},
6932 { "wxPalette_GetRGB", (PyCFunction
) _wrap_wxPalette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
6933 { "wxPalette_GetPixel", (PyCFunction
) _wrap_wxPalette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
6934 { "delete_wxPalette", (PyCFunction
) _wrap_delete_wxPalette
, METH_VARARGS
| METH_KEYWORDS
},
6935 { "new_wxPalette", (PyCFunction
) _wrap_new_wxPalette
, METH_VARARGS
| METH_KEYWORDS
},
6936 { "wxMetaFileDC_Close", (PyCFunction
) _wrap_wxMetaFileDC_Close
, METH_VARARGS
| METH_KEYWORDS
},
6937 { "new_wxMetaFileDC", (PyCFunction
) _wrap_new_wxMetaFileDC
, METH_VARARGS
| METH_KEYWORDS
},
6938 { "new_wxPrinterDC", (PyCFunction
) _wrap_new_wxPrinterDC
, METH_VARARGS
| METH_KEYWORDS
},
6939 { "new_wxWindowDC", (PyCFunction
) _wrap_new_wxWindowDC
, METH_VARARGS
| METH_KEYWORDS
},
6940 { "new_wxPaintDC", (PyCFunction
) _wrap_new_wxPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
6941 { "new_wxClientDC", (PyCFunction
) _wrap_new_wxClientDC
, METH_VARARGS
| METH_KEYWORDS
},
6942 { "wxScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_wxScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
6943 { "wxScreenDC_StartDrawingOnTopRect", (PyCFunction
) _wrap_wxScreenDC_StartDrawingOnTopRect
, METH_VARARGS
| METH_KEYWORDS
},
6944 { "wxScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_wxScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
6945 { "new_wxScreenDC", (PyCFunction
) _wrap_new_wxScreenDC
, METH_VARARGS
| METH_KEYWORDS
},
6946 { "wxMemoryDC_SelectObject", (PyCFunction
) _wrap_wxMemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
},
6947 { "new_wxMemoryDC", (PyCFunction
) _wrap_new_wxMemoryDC
, METH_VARARGS
| METH_KEYWORDS
},
6948 { "wxDC_DrawBitmap", (PyCFunction
) _wrap_wxDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
6949 { "wxDC_StartPage", (PyCFunction
) _wrap_wxDC_StartPage
, METH_VARARGS
| METH_KEYWORDS
},
6950 { "wxDC_StartDoc", (PyCFunction
) _wrap_wxDC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
},
6951 { "wxDC_SetUserScale", (PyCFunction
) _wrap_wxDC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
6952 { "wxDC_SetTextForeground", (PyCFunction
) _wrap_wxDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
6953 { "wxDC_SetTextBackground", (PyCFunction
) _wrap_wxDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
6954 { "wxDC_SetPen", (PyCFunction
) _wrap_wxDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
6955 { "wxDC_SetOptimization", (PyCFunction
) _wrap_wxDC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
6956 { "wxDC_SetMapMode", (PyCFunction
) _wrap_wxDC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
6957 { "wxDC_SetLogicalFunction", (PyCFunction
) _wrap_wxDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
6958 { "wxDC_SetFont", (PyCFunction
) _wrap_wxDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
6959 { "wxDC_SetBrush", (PyCFunction
) _wrap_wxDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
6960 { "wxDC_SetPalette", (PyCFunction
) _wrap_wxDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
6961 { "wxDC_SetClippingRegion", (PyCFunction
) _wrap_wxDC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
6962 { "wxDC_SetBackgroundMode", (PyCFunction
) _wrap_wxDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
6963 { "wxDC_SetBackground", (PyCFunction
) _wrap_wxDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
},
6964 { "wxDC_SetDeviceOrigin", (PyCFunction
) _wrap_wxDC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
6965 { "wxDC_Ok", (PyCFunction
) _wrap_wxDC_Ok
, METH_VARARGS
| METH_KEYWORDS
},
6966 { "wxDC_MinY", (PyCFunction
) _wrap_wxDC_MinY
, METH_VARARGS
| METH_KEYWORDS
},
6967 { "wxDC_MinX", (PyCFunction
) _wrap_wxDC_MinX
, METH_VARARGS
| METH_KEYWORDS
},
6968 { "wxDC_MaxY", (PyCFunction
) _wrap_wxDC_MaxY
, METH_VARARGS
| METH_KEYWORDS
},
6969 { "wxDC_MaxX", (PyCFunction
) _wrap_wxDC_MaxX
, METH_VARARGS
| METH_KEYWORDS
},
6970 { "wxDC_LogicalToDeviceYRel", (PyCFunction
) _wrap_wxDC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
},
6971 { "wxDC_LogicalToDeviceY", (PyCFunction
) _wrap_wxDC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
},
6972 { "wxDC_LogicalToDeviceXRel", (PyCFunction
) _wrap_wxDC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
},
6973 { "wxDC_LogicalToDeviceX", (PyCFunction
) _wrap_wxDC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
},
6974 { "wxDC_GetTextForeground", (PyCFunction
) _wrap_wxDC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
6975 { "wxDC_GetFullTextExtent", (PyCFunction
) _wrap_wxDC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
6976 { "wxDC_GetTextExtent", (PyCFunction
) _wrap_wxDC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
6977 { "wxDC_GetTextBackground", (PyCFunction
) _wrap_wxDC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
6978 { "wxDC_GetSize", (PyCFunction
) _wrap_wxDC_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
6979 { "wxDC_GetSizeTuple", (PyCFunction
) _wrap_wxDC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
6980 { "wxDC_GetPixel", (PyCFunction
) _wrap_wxDC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
6981 { "wxDC_GetPen", (PyCFunction
) _wrap_wxDC_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
6982 { "wxDC_GetOptimization", (PyCFunction
) _wrap_wxDC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
6983 { "wxDC_GetMapMode", (PyCFunction
) _wrap_wxDC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
6984 { "wxDC_GetLogicalFunction", (PyCFunction
) _wrap_wxDC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
6985 { "wxDC_GetFont", (PyCFunction
) _wrap_wxDC_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
6986 { "wxDC_GetClippingBox", (PyCFunction
) _wrap_wxDC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
},
6987 { "wxDC_GetCharWidth", (PyCFunction
) _wrap_wxDC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
6988 { "wxDC_GetCharHeight", (PyCFunction
) _wrap_wxDC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
6989 { "wxDC_GetBrush", (PyCFunction
) _wrap_wxDC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
6990 { "wxDC_GetBackground", (PyCFunction
) _wrap_wxDC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
},
6991 { "wxDC_FloodFill", (PyCFunction
) _wrap_wxDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
},
6992 { "wxDC_EndPage", (PyCFunction
) _wrap_wxDC_EndPage
, METH_VARARGS
| METH_KEYWORDS
},
6993 { "wxDC_EndDrawing", (PyCFunction
) _wrap_wxDC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
},
6994 { "wxDC_EndDoc", (PyCFunction
) _wrap_wxDC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
},
6995 { "wxDC_DrawText", (PyCFunction
) _wrap_wxDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
6996 { "wxDC_DrawSpline", (PyCFunction
) _wrap_wxDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
6997 { "wxDC_DrawRoundedRectangle", (PyCFunction
) _wrap_wxDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
6998 { "wxDC_DrawRectangle", (PyCFunction
) _wrap_wxDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
6999 { "wxDC_DrawPoint", (PyCFunction
) _wrap_wxDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
7000 { "wxDC_DrawPolygon", (PyCFunction
) _wrap_wxDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
7001 { "wxDC_DrawLines", (PyCFunction
) _wrap_wxDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
7002 { "wxDC_DrawLine", (PyCFunction
) _wrap_wxDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
7003 { "wxDC_DrawIcon", (PyCFunction
) _wrap_wxDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
},
7004 { "wxDC_DrawEllipticArc", (PyCFunction
) _wrap_wxDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
7005 { "wxDC_DrawEllipse", (PyCFunction
) _wrap_wxDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
7006 { "wxDC_DrawCircle", (PyCFunction
) _wrap_wxDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
},
7007 { "wxDC_DrawArc", (PyCFunction
) _wrap_wxDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
7008 { "wxDC_DeviceToLogicalYRel", (PyCFunction
) _wrap_wxDC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
},
7009 { "wxDC_DeviceToLogicalY", (PyCFunction
) _wrap_wxDC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
},
7010 { "wxDC_DeviceToLogicalXRel", (PyCFunction
) _wrap_wxDC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
},
7011 { "wxDC_DeviceToLogicalX", (PyCFunction
) _wrap_wxDC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
},
7012 { "wxDC_DestroyClippingRegion", (PyCFunction
) _wrap_wxDC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
7013 { "wxDC_CrossHair", (PyCFunction
) _wrap_wxDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
},
7014 { "wxDC_Clear", (PyCFunction
) _wrap_wxDC_Clear
, METH_VARARGS
| METH_KEYWORDS
},
7015 { "wxDC_Blit", (PyCFunction
) _wrap_wxDC_Blit
, METH_VARARGS
| METH_KEYWORDS
},
7016 { "wxDC_BeginDrawing", (PyCFunction
) _wrap_wxDC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
},
7017 { "delete_wxDC", (PyCFunction
) _wrap_delete_wxDC
, METH_VARARGS
| METH_KEYWORDS
},
7018 { "wxBrush_SetStyle", (PyCFunction
) _wrap_wxBrush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
7019 { "wxBrush_SetStipple", (PyCFunction
) _wrap_wxBrush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
7020 { "wxBrush_SetColour", (PyCFunction
) _wrap_wxBrush_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
7021 { "wxBrush_Ok", (PyCFunction
) _wrap_wxBrush_Ok
, METH_VARARGS
| METH_KEYWORDS
},
7022 { "wxBrush_GetStyle", (PyCFunction
) _wrap_wxBrush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
7023 { "wxBrush_GetStipple", (PyCFunction
) _wrap_wxBrush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
7024 { "wxBrush_GetColour", (PyCFunction
) _wrap_wxBrush_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
7025 { "new_wxBrush", (PyCFunction
) _wrap_new_wxBrush
, METH_VARARGS
| METH_KEYWORDS
},
7026 { "wxPen_SetStipple", (PyCFunction
) _wrap_wxPen_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
7027 { "wxPen_SetDashes", (PyCFunction
) _wrap_wxPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
7028 { "wxPen_GetStipple", (PyCFunction
) _wrap_wxPen_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
7029 { "wxPen_GetDashes", (PyCFunction
) _wrap_wxPen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
},
7030 { "wxPen_SetWidth", (PyCFunction
) _wrap_wxPen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
7031 { "wxPen_SetStyle", (PyCFunction
) _wrap_wxPen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
7032 { "wxPen_SetJoin", (PyCFunction
) _wrap_wxPen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
},
7033 { "wxPen_SetColour", (PyCFunction
) _wrap_wxPen_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
7034 { "wxPen_SetCap", (PyCFunction
) _wrap_wxPen_SetCap
, METH_VARARGS
| METH_KEYWORDS
},
7035 { "wxPen_Ok", (PyCFunction
) _wrap_wxPen_Ok
, METH_VARARGS
| METH_KEYWORDS
},
7036 { "wxPen_GetWidth", (PyCFunction
) _wrap_wxPen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
7037 { "wxPen_GetStyle", (PyCFunction
) _wrap_wxPen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
7038 { "wxPen_GetJoin", (PyCFunction
) _wrap_wxPen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
},
7039 { "wxPen_GetColour", (PyCFunction
) _wrap_wxPen_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
7040 { "wxPen_GetCap", (PyCFunction
) _wrap_wxPen_GetCap
, METH_VARARGS
| METH_KEYWORDS
},
7041 { "new_wxPen", (PyCFunction
) _wrap_new_wxPen
, METH_VARARGS
| METH_KEYWORDS
},
7042 { "wxColour_Get", (PyCFunction
) _wrap_wxColour_Get
, METH_VARARGS
| METH_KEYWORDS
},
7043 { "wxColour_Set", (PyCFunction
) _wrap_wxColour_Set
, METH_VARARGS
| METH_KEYWORDS
},
7044 { "wxColour_Ok", (PyCFunction
) _wrap_wxColour_Ok
, METH_VARARGS
| METH_KEYWORDS
},
7045 { "wxColour_Blue", (PyCFunction
) _wrap_wxColour_Blue
, METH_VARARGS
| METH_KEYWORDS
},
7046 { "wxColour_Green", (PyCFunction
) _wrap_wxColour_Green
, METH_VARARGS
| METH_KEYWORDS
},
7047 { "wxColour_Red", (PyCFunction
) _wrap_wxColour_Red
, METH_VARARGS
| METH_KEYWORDS
},
7048 { "delete_wxColour", (PyCFunction
) _wrap_delete_wxColour
, METH_VARARGS
| METH_KEYWORDS
},
7049 { "new_wxColour", (PyCFunction
) _wrap_new_wxColour
, METH_VARARGS
| METH_KEYWORDS
},
7050 { "wxFont_SetWeight", (PyCFunction
) _wrap_wxFont_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
7051 { "wxFont_SetUnderlined", (PyCFunction
) _wrap_wxFont_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
7052 { "wxFont_SetStyle", (PyCFunction
) _wrap_wxFont_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
7053 { "wxFont_SetPointSize", (PyCFunction
) _wrap_wxFont_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
7054 { "wxFont_SetFamily", (PyCFunction
) _wrap_wxFont_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
7055 { "wxFont_SetFaceName", (PyCFunction
) _wrap_wxFont_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
7056 { "wxFont_GetWeight", (PyCFunction
) _wrap_wxFont_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
7057 { "wxFont_GetUnderlined", (PyCFunction
) _wrap_wxFont_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
7058 { "wxFont_GetStyle", (PyCFunction
) _wrap_wxFont_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
7059 { "wxFont_GetPointSize", (PyCFunction
) _wrap_wxFont_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
7060 { "wxFont_GetFontId", (PyCFunction
) _wrap_wxFont_GetFontId
, METH_VARARGS
| METH_KEYWORDS
},
7061 { "wxFont_GetFamily", (PyCFunction
) _wrap_wxFont_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
7062 { "wxFont_GetFaceName", (PyCFunction
) _wrap_wxFont_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
7063 { "new_wxFont", (PyCFunction
) _wrap_new_wxFont
, METH_VARARGS
| METH_KEYWORDS
},
7064 { "wxCursor_Ok", (PyCFunction
) _wrap_wxCursor_Ok
, METH_VARARGS
| METH_KEYWORDS
},
7065 { "delete_wxCursor", (PyCFunction
) _wrap_delete_wxCursor
, METH_VARARGS
| METH_KEYWORDS
},
7066 { "new_wxCursor", (PyCFunction
) _wrap_new_wxCursor
, METH_VARARGS
| METH_KEYWORDS
},
7067 { "wxIcon_SetWidth", (PyCFunction
) _wrap_wxIcon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
7068 { "wxIcon_SetHeight", (PyCFunction
) _wrap_wxIcon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
7069 { "wxIcon_SetDepth", (PyCFunction
) _wrap_wxIcon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
7070 { "wxIcon_Ok", (PyCFunction
) _wrap_wxIcon_Ok
, METH_VARARGS
| METH_KEYWORDS
},
7071 { "wxIcon_LoadFile", (PyCFunction
) _wrap_wxIcon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
7072 { "wxIcon_GetWidth", (PyCFunction
) _wrap_wxIcon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
7073 { "wxIcon_GetHeight", (PyCFunction
) _wrap_wxIcon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
7074 { "wxIcon_GetDepth", (PyCFunction
) _wrap_wxIcon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
7075 { "delete_wxIcon", (PyCFunction
) _wrap_delete_wxIcon
, METH_VARARGS
| METH_KEYWORDS
},
7076 { "new_wxIcon", (PyCFunction
) _wrap_new_wxIcon
, METH_VARARGS
| METH_KEYWORDS
},
7077 { "delete_wxMask", (PyCFunction
) _wrap_delete_wxMask
, METH_VARARGS
| METH_KEYWORDS
},
7078 { "new_wxMask", (PyCFunction
) _wrap_new_wxMask
, METH_VARARGS
| METH_KEYWORDS
},
7079 { "wxBitmap_SetWidth", (PyCFunction
) _wrap_wxBitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
7080 { "wxBitmap_SetPalette", (PyCFunction
) _wrap_wxBitmap_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
7081 { "wxBitmap_SetMask", (PyCFunction
) _wrap_wxBitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
7082 { "wxBitmap_SetHeight", (PyCFunction
) _wrap_wxBitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
7083 { "wxBitmap_SetDepth", (PyCFunction
) _wrap_wxBitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
7084 { "wxBitmap_SaveFile", (PyCFunction
) _wrap_wxBitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
7085 { "wxBitmap_Ok", (PyCFunction
) _wrap_wxBitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
},
7086 { "wxBitmap_LoadFile", (PyCFunction
) _wrap_wxBitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
7087 { "wxBitmap_GetWidth", (PyCFunction
) _wrap_wxBitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
7088 { "wxBitmap_GetMask", (PyCFunction
) _wrap_wxBitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
7089 { "wxBitmap_GetPalette", (PyCFunction
) _wrap_wxBitmap_GetPalette
, METH_VARARGS
| METH_KEYWORDS
},
7090 { "wxBitmap_GetHeight", (PyCFunction
) _wrap_wxBitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
7091 { "wxBitmap_GetDepth", (PyCFunction
) _wrap_wxBitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
7092 { "wxBitmap_Create", (PyCFunction
) _wrap_wxBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
7093 { "delete_wxBitmap", (PyCFunction
) _wrap_delete_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
7094 { "new_wxBitmap", (PyCFunction
) _wrap_new_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
7095 { "wxMemoryDCFromDC", (PyCFunction
) _wrap_wxMemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
},
7096 { "wxNamedColour", (PyCFunction
) _wrap_wxNamedColour
, METH_VARARGS
| METH_KEYWORDS
},
7097 { "wxStockCursor", (PyCFunction
) _wrap_wxStockCursor
, METH_VARARGS
| METH_KEYWORDS
},
7098 { "wxMaskColour", (PyCFunction
) _wrap_wxMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
7099 { "wxBitmapFromData", (PyCFunction
) _wrap_wxBitmapFromData
, METH_VARARGS
| METH_KEYWORDS
},
7100 { "wxNoRefBitmap", (PyCFunction
) _wrap_wxNoRefBitmap
, METH_VARARGS
| METH_KEYWORDS
},
7101 { "wxEmptyBitmap", (PyCFunction
) _wrap_wxEmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
},
7108 * This table is used by the pointer type-checker
7110 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
7111 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
7112 { "_signed_long","_long",0},
7113 { "_wxPrintQuality","_int",0},
7114 { "_wxPrintQuality","_signed_int",0},
7115 { "_wxPrintQuality","_unsigned_int",0},
7116 { "_wxPrintQuality","_wxWindowID",0},
7117 { "_wxPrintQuality","_uint",0},
7118 { "_wxPrintQuality","_EBool",0},
7119 { "_wxPrintQuality","_size_t",0},
7120 { "_class_wxRegionIterator","_wxRegionIterator",0},
7121 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
7122 { "_wxCursor","_class_wxCursor",0},
7123 { "_wxMask","_class_wxMask",0},
7124 { "_wxPen","_class_wxPen",0},
7125 { "_byte","_unsigned_char",0},
7126 { "_long","_wxDash",0},
7127 { "_long","_unsigned_long",0},
7128 { "_long","_signed_long",0},
7129 { "_wxImageList","_class_wxImageList",0},
7130 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
7131 { "_wxDC","_class_wxMetaFileDC",SwigwxMetaFileDCTowxDC
},
7132 { "_wxDC","_wxMetaFileDC",SwigwxMetaFileDCTowxDC
},
7133 { "_wxDC","_class_wxPrinterDC",SwigwxPrinterDCTowxDC
},
7134 { "_wxDC","_wxPrinterDC",SwigwxPrinterDCTowxDC
},
7135 { "_wxDC","_class_wxWindowDC",SwigwxWindowDCTowxDC
},
7136 { "_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC
},
7137 { "_wxDC","_class_wxPaintDC",SwigwxPaintDCTowxDC
},
7138 { "_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
},
7139 { "_wxDC","_class_wxClientDC",SwigwxClientDCTowxDC
},
7140 { "_wxDC","_wxClientDC",SwigwxClientDCTowxDC
},
7141 { "_wxDC","_class_wxScreenDC",SwigwxScreenDCTowxDC
},
7142 { "_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
},
7143 { "_wxDC","_class_wxMemoryDC",SwigwxMemoryDCTowxDC
},
7144 { "_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
},
7145 { "_wxDC","_class_wxDC",0},
7146 { "_size_t","_wxPrintQuality",0},
7147 { "_size_t","_unsigned_int",0},
7148 { "_size_t","_int",0},
7149 { "_size_t","_wxWindowID",0},
7150 { "_size_t","_uint",0},
7151 { "_class_wxRealPoint","_wxRealPoint",0},
7152 { "_wxPrinterDC","_class_wxPrinterDC",0},
7153 { "_class_wxMask","_wxMask",0},
7154 { "_wxColour","_class_wxColour",0},
7155 { "_wxBrush","_class_wxBrush",0},
7156 { "_uint","_wxPrintQuality",0},
7157 { "_uint","_size_t",0},
7158 { "_uint","_unsigned_int",0},
7159 { "_uint","_int",0},
7160 { "_uint","_wxWindowID",0},
7161 { "_wxRect","_class_wxRect",0},
7162 { "_wxPoint","_class_wxPoint",0},
7163 { "_wxBitmap","_class_wxCursor",SwigwxCursorTowxBitmap
},
7164 { "_wxBitmap","_wxCursor",SwigwxCursorTowxBitmap
},
7165 { "_wxBitmap","_class_wxIcon",SwigwxIconTowxBitmap
},
7166 { "_wxBitmap","_wxIcon",SwigwxIconTowxBitmap
},
7167 { "_wxBitmap","_class_wxBitmap",0},
7168 { "_wxPyTimer","_class_wxPyTimer",0},
7169 { "_wxWindowDC","_class_wxWindowDC",0},
7170 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
7171 { "_EBool","_wxPrintQuality",0},
7172 { "_EBool","_signed_int",0},
7173 { "_EBool","_int",0},
7174 { "_EBool","_wxWindowID",0},
7175 { "_class_wxRegion","_wxRegion",0},
7176 { "_wxFont","_class_wxFont",0},
7177 { "_unsigned_long","_wxDash",0},
7178 { "_unsigned_long","_long",0},
7179 { "_class_wxRect","_wxRect",0},
7180 { "_class_wxDC","_class_wxMetaFileDC",SwigwxMetaFileDCTowxDC
},
7181 { "_class_wxDC","_wxMetaFileDC",SwigwxMetaFileDCTowxDC
},
7182 { "_class_wxDC","_class_wxPrinterDC",SwigwxPrinterDCTowxDC
},
7183 { "_class_wxDC","_wxPrinterDC",SwigwxPrinterDCTowxDC
},
7184 { "_class_wxDC","_class_wxWindowDC",SwigwxWindowDCTowxDC
},
7185 { "_class_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC
},
7186 { "_class_wxDC","_class_wxPaintDC",SwigwxPaintDCTowxDC
},
7187 { "_class_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
},
7188 { "_class_wxDC","_class_wxClientDC",SwigwxClientDCTowxDC
},
7189 { "_class_wxDC","_wxClientDC",SwigwxClientDCTowxDC
},
7190 { "_class_wxDC","_class_wxScreenDC",SwigwxScreenDCTowxDC
},
7191 { "_class_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
},
7192 { "_class_wxDC","_class_wxMemoryDC",SwigwxMemoryDCTowxDC
},
7193 { "_class_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
},
7194 { "_class_wxDC","_wxDC",0},
7195 { "_class_wxPyTimer","_wxPyTimer",0},
7196 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
7197 { "_signed_int","_wxPrintQuality",0},
7198 { "_signed_int","_EBool",0},
7199 { "_signed_int","_wxWindowID",0},
7200 { "_signed_int","_int",0},
7201 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
7202 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
7203 { "_wxScreenDC","_class_wxScreenDC",0},
7204 { "_WXTYPE","_short",0},
7205 { "_WXTYPE","_signed_short",0},
7206 { "_WXTYPE","_unsigned_short",0},
7207 { "_class_wxBrush","_wxBrush",0},
7208 { "_unsigned_short","_WXTYPE",0},
7209 { "_unsigned_short","_short",0},
7210 { "_class_wxFont","_wxFont",0},
7211 { "_wxClientDC","_class_wxClientDC",0},
7212 { "_class_wxPoint","_wxPoint",0},
7213 { "_wxRealPoint","_class_wxRealPoint",0},
7214 { "_signed_short","_WXTYPE",0},
7215 { "_signed_short","_short",0},
7216 { "_wxMemoryDC","_class_wxMemoryDC",0},
7217 { "_wxPaintDC","_class_wxPaintDC",0},
7218 { "_class_wxWindowDC","_wxWindowDC",0},
7219 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
7220 { "_class_wxCursor","_wxCursor",0},
7221 { "_unsigned_char","_byte",0},
7222 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
7223 { "_unsigned_int","_wxPrintQuality",0},
7224 { "_unsigned_int","_size_t",0},
7225 { "_unsigned_int","_uint",0},
7226 { "_unsigned_int","_wxWindowID",0},
7227 { "_unsigned_int","_int",0},
7228 { "_wxIcon","_class_wxIcon",0},
7229 { "_class_wxPen","_wxPen",0},
7230 { "_short","_WXTYPE",0},
7231 { "_short","_unsigned_short",0},
7232 { "_short","_signed_short",0},
7233 { "_class_wxImageList","_wxImageList",0},
7234 { "_wxWindowID","_wxPrintQuality",0},
7235 { "_wxWindowID","_size_t",0},
7236 { "_wxWindowID","_EBool",0},
7237 { "_wxWindowID","_uint",0},
7238 { "_wxWindowID","_int",0},
7239 { "_wxWindowID","_signed_int",0},
7240 { "_wxWindowID","_unsigned_int",0},
7241 { "_int","_wxPrintQuality",0},
7242 { "_int","_size_t",0},
7243 { "_int","_EBool",0},
7244 { "_int","_uint",0},
7245 { "_int","_wxWindowID",0},
7246 { "_int","_unsigned_int",0},
7247 { "_int","_signed_int",0},
7248 { "_wxSize","_class_wxSize",0},
7249 { "_wxRegionIterator","_class_wxRegionIterator",0},
7250 { "_class_wxPrinterDC","_wxPrinterDC",0},
7251 { "_class_wxPaintDC","_wxPaintDC",0},
7252 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
7253 { "_class_wxIcon","_wxIcon",0},
7254 { "_class_wxColour","_wxColour",0},
7255 { "_class_wxScreenDC","_wxScreenDC",0},
7256 { "_wxPalette","_class_wxPalette",0},
7257 { "_wxRegion","_class_wxRegion",0},
7258 { "_class_wxClientDC","_wxClientDC",0},
7259 { "_class_wxSize","_wxSize",0},
7260 { "_class_wxBitmap","_class_wxCursor",SwigwxCursorTowxBitmap
},
7261 { "_class_wxBitmap","_wxCursor",SwigwxCursorTowxBitmap
},
7262 { "_class_wxBitmap","_class_wxIcon",SwigwxIconTowxBitmap
},
7263 { "_class_wxBitmap","_wxIcon",SwigwxIconTowxBitmap
},
7264 { "_class_wxBitmap","_wxBitmap",0},
7265 { "_class_wxMemoryDC","_wxMemoryDC",0},
7266 { "_wxDash","_unsigned_long",0},
7267 { "_wxDash","_long",0},
7268 { "_class_wxPalette","_wxPalette",0},
7271 static PyObject
*SWIG_globals
;
7275 SWIGEXPORT(void) initgdic() {
7277 SWIG_globals
= SWIG_newvarlink();
7278 m
= Py_InitModule("gdic", gdicMethods
);
7279 d
= PyModule_GetDict(m
);
7280 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
7281 SWIG_addvarlink(SWIG_globals
,"wxNORMAL_FONT",_wrap_wxNORMAL_FONT_get
, _wrap_wxNORMAL_FONT_set
);
7282 SWIG_addvarlink(SWIG_globals
,"wxSMALL_FONT",_wrap_wxSMALL_FONT_get
, _wrap_wxSMALL_FONT_set
);
7283 SWIG_addvarlink(SWIG_globals
,"wxITALIC_FONT",_wrap_wxITALIC_FONT_get
, _wrap_wxITALIC_FONT_set
);
7284 SWIG_addvarlink(SWIG_globals
,"wxSWISS_FONT",_wrap_wxSWISS_FONT_get
, _wrap_wxSWISS_FONT_set
);
7285 SWIG_addvarlink(SWIG_globals
,"wxRED_PEN",_wrap_wxRED_PEN_get
, _wrap_wxRED_PEN_set
);
7286 SWIG_addvarlink(SWIG_globals
,"wxCYAN_PEN",_wrap_wxCYAN_PEN_get
, _wrap_wxCYAN_PEN_set
);
7287 SWIG_addvarlink(SWIG_globals
,"wxGREEN_PEN",_wrap_wxGREEN_PEN_get
, _wrap_wxGREEN_PEN_set
);
7288 SWIG_addvarlink(SWIG_globals
,"wxBLACK_PEN",_wrap_wxBLACK_PEN_get
, _wrap_wxBLACK_PEN_set
);
7289 SWIG_addvarlink(SWIG_globals
,"wxWHITE_PEN",_wrap_wxWHITE_PEN_get
, _wrap_wxWHITE_PEN_set
);
7290 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_PEN",_wrap_wxTRANSPARENT_PEN_get
, _wrap_wxTRANSPARENT_PEN_set
);
7291 SWIG_addvarlink(SWIG_globals
,"wxBLACK_DASHED_PEN",_wrap_wxBLACK_DASHED_PEN_get
, _wrap_wxBLACK_DASHED_PEN_set
);
7292 SWIG_addvarlink(SWIG_globals
,"wxGREY_PEN",_wrap_wxGREY_PEN_get
, _wrap_wxGREY_PEN_set
);
7293 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_PEN",_wrap_wxMEDIUM_GREY_PEN_get
, _wrap_wxMEDIUM_GREY_PEN_set
);
7294 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_PEN",_wrap_wxLIGHT_GREY_PEN_get
, _wrap_wxLIGHT_GREY_PEN_set
);
7295 SWIG_addvarlink(SWIG_globals
,"wxBLUE_BRUSH",_wrap_wxBLUE_BRUSH_get
, _wrap_wxBLUE_BRUSH_set
);
7296 SWIG_addvarlink(SWIG_globals
,"wxGREEN_BRUSH",_wrap_wxGREEN_BRUSH_get
, _wrap_wxGREEN_BRUSH_set
);
7297 SWIG_addvarlink(SWIG_globals
,"wxWHITE_BRUSH",_wrap_wxWHITE_BRUSH_get
, _wrap_wxWHITE_BRUSH_set
);
7298 SWIG_addvarlink(SWIG_globals
,"wxBLACK_BRUSH",_wrap_wxBLACK_BRUSH_get
, _wrap_wxBLACK_BRUSH_set
);
7299 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_BRUSH",_wrap_wxTRANSPARENT_BRUSH_get
, _wrap_wxTRANSPARENT_BRUSH_set
);
7300 SWIG_addvarlink(SWIG_globals
,"wxCYAN_BRUSH",_wrap_wxCYAN_BRUSH_get
, _wrap_wxCYAN_BRUSH_set
);
7301 SWIG_addvarlink(SWIG_globals
,"wxRED_BRUSH",_wrap_wxRED_BRUSH_get
, _wrap_wxRED_BRUSH_set
);
7302 SWIG_addvarlink(SWIG_globals
,"wxGREY_BRUSH",_wrap_wxGREY_BRUSH_get
, _wrap_wxGREY_BRUSH_set
);
7303 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_BRUSH",_wrap_wxMEDIUM_GREY_BRUSH_get
, _wrap_wxMEDIUM_GREY_BRUSH_set
);
7304 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_BRUSH",_wrap_wxLIGHT_GREY_BRUSH_get
, _wrap_wxLIGHT_GREY_BRUSH_set
);
7305 SWIG_addvarlink(SWIG_globals
,"wxBLACK",_wrap_wxBLACK_get
, _wrap_wxBLACK_set
);
7306 SWIG_addvarlink(SWIG_globals
,"wxWHITE",_wrap_wxWHITE_get
, _wrap_wxWHITE_set
);
7307 SWIG_addvarlink(SWIG_globals
,"wxRED",_wrap_wxRED_get
, _wrap_wxRED_set
);
7308 SWIG_addvarlink(SWIG_globals
,"wxBLUE",_wrap_wxBLUE_get
, _wrap_wxBLUE_set
);
7309 SWIG_addvarlink(SWIG_globals
,"wxGREEN",_wrap_wxGREEN_get
, _wrap_wxGREEN_set
);
7310 SWIG_addvarlink(SWIG_globals
,"wxCYAN",_wrap_wxCYAN_get
, _wrap_wxCYAN_set
);
7311 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY",_wrap_wxLIGHT_GREY_get
, _wrap_wxLIGHT_GREY_set
);
7312 SWIG_addvarlink(SWIG_globals
,"wxSTANDARD_CURSOR",_wrap_wxSTANDARD_CURSOR_get
, _wrap_wxSTANDARD_CURSOR_set
);
7313 SWIG_addvarlink(SWIG_globals
,"wxHOURGLASS_CURSOR",_wrap_wxHOURGLASS_CURSOR_get
, _wrap_wxHOURGLASS_CURSOR_set
);
7314 SWIG_addvarlink(SWIG_globals
,"wxCROSS_CURSOR",_wrap_wxCROSS_CURSOR_get
, _wrap_wxCROSS_CURSOR_set
);
7315 SWIG_addvarlink(SWIG_globals
,"wxNullBitmap",_wrap_wxNullBitmap_get
, _wrap_wxNullBitmap_set
);
7316 SWIG_addvarlink(SWIG_globals
,"wxNullIcon",_wrap_wxNullIcon_get
, _wrap_wxNullIcon_set
);
7317 SWIG_addvarlink(SWIG_globals
,"wxNullCursor",_wrap_wxNullCursor_get
, _wrap_wxNullCursor_set
);
7318 SWIG_addvarlink(SWIG_globals
,"wxNullPen",_wrap_wxNullPen_get
, _wrap_wxNullPen_set
);
7319 SWIG_addvarlink(SWIG_globals
,"wxNullBrush",_wrap_wxNullBrush_get
, _wrap_wxNullBrush_set
);
7320 SWIG_addvarlink(SWIG_globals
,"wxNullPalette",_wrap_wxNullPalette_get
, _wrap_wxNullPalette_set
);
7321 SWIG_addvarlink(SWIG_globals
,"wxNullFont",_wrap_wxNullFont_get
, _wrap_wxNullFont_set
);
7322 SWIG_addvarlink(SWIG_globals
,"wxNullColour",_wrap_wxNullColour_get
, _wrap_wxNullColour_set
);
7323 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_NORMAL", PyInt_FromLong((long) wxIMAGELIST_DRAW_NORMAL
));
7324 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_TRANSPARENT", PyInt_FromLong((long) wxIMAGELIST_DRAW_TRANSPARENT
));
7325 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_SELECTED", PyInt_FromLong((long) wxIMAGELIST_DRAW_SELECTED
));
7326 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_FOCUSED", PyInt_FromLong((long) wxIMAGELIST_DRAW_FOCUSED
));
7327 PyDict_SetItemString(d
,"wxIMAGE_LIST_NORMAL", PyInt_FromLong((long) wxIMAGE_LIST_NORMAL
));
7328 PyDict_SetItemString(d
,"wxIMAGE_LIST_SMALL", PyInt_FromLong((long) wxIMAGE_LIST_SMALL
));
7329 PyDict_SetItemString(d
,"wxIMAGE_LIST_STATE", PyInt_FromLong((long) wxIMAGE_LIST_STATE
));
7332 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
7333 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);