2 * FILE : src/gtk/gdi.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initgdic
56 #define SWIG_name "gdic"
59 #include <wx/metafile.h>
60 #include <wx/imaglist.h>
65 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
69 } else if (target
== Py_None
) {
73 if (!PyList_Check(target
)) {
75 target
= PyList_New(0);
76 PyList_Append(target
, o2
);
79 PyList_Append(target
,o
);
85 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
91 } else if (target
== Py_None
) {
95 if (!PyTuple_Check(target
)) {
97 target
= PyTuple_New(1);
98 PyTuple_SetItem(target
, 0, o2
);
101 PyTuple_SetItem(o3
, 0, o
);
104 target
= PySequence_Concat(o2
, o3
);
111 static char* wxStringErrorMsg
= "string type is required for parameter";
113 static wxString
wxPyEmptyStr("");
114 // Alternate 'constructor'
115 wxBitmap
* wxEmptyBitmap(int width
, int height
, int depth
=-1) {
116 return new wxBitmap(width
, height
, depth
);
120 wxBitmap
* wxBitmapFromData(PyObject
* data
, long type
,
121 int width
, int height
, int depth
= 1) {
122 if (! PyString_Check(data
)) {
123 PyErr_SetString(PyExc_TypeError
, "Expected string object");
127 return new wxBitmap((void*)PyString_AsString(data
), type
, width
, height
, depth
);
131 wxMask
* wxMaskColour(const wxBitmap
& bitmap
, const wxColour
& colour
) {
132 return new wxMask(bitmap
, colour
);
134 // Alternate 'constructor'
135 wxCursor
* wxPyStockCursor(int id
) {
136 return new wxCursor(id
);
139 wxFontEncoding
wxFont_GetDefaultEncoding() {
140 return wxFont::GetDefaultEncoding();
143 void wxFont_SetDefaultEncoding(wxFontEncoding encoding
) {
144 wxFont::SetDefaultEncoding(encoding
);
146 // Alternate 'constructor'
147 wxColour
* wxNamedColour(const wxString
& colorName
) {
148 return new wxColour(colorName
);
150 // Alternate 'constructor'
151 wxMemoryDC
* wxMemoryDCFromDC(wxDC
* oldDC
) {
152 return new wxMemoryDC(oldDC
);
156 extern wxFont
* wxNORMAL_FONT
;
157 extern wxFont
* wxSMALL_FONT
;
158 extern wxFont
* wxITALIC_FONT
;
159 extern wxFont
* wxSWISS_FONT
;
160 extern wxPen
* wxRED_PEN
;
161 extern wxPen
* wxCYAN_PEN
;
162 extern wxPen
* wxGREEN_PEN
;
163 extern wxPen
* wxBLACK_PEN
;
164 extern wxPen
* wxWHITE_PEN
;
165 extern wxPen
* wxTRANSPARENT_PEN
;
166 extern wxPen
* wxBLACK_DASHED_PEN
;
167 extern wxPen
* wxGREY_PEN
;
168 extern wxPen
* wxMEDIUM_GREY_PEN
;
169 extern wxPen
* wxLIGHT_GREY_PEN
;
170 extern wxBrush
* wxBLUE_BRUSH
;
171 extern wxBrush
* wxGREEN_BRUSH
;
172 extern wxBrush
* wxWHITE_BRUSH
;
173 extern wxBrush
* wxBLACK_BRUSH
;
174 extern wxBrush
* wxTRANSPARENT_BRUSH
;
175 extern wxBrush
* wxCYAN_BRUSH
;
176 extern wxBrush
* wxRED_BRUSH
;
177 extern wxBrush
* wxGREY_BRUSH
;
178 extern wxBrush
* wxMEDIUM_GREY_BRUSH
;
179 extern wxBrush
* wxLIGHT_GREY_BRUSH
;
180 extern wxColour
* wxBLACK
;
181 extern wxColour
* wxWHITE
;
182 extern wxColour
* wxRED
;
183 extern wxColour
* wxBLUE
;
184 extern wxColour
* wxGREEN
;
185 extern wxColour
* wxCYAN
;
186 extern wxColour
* wxLIGHT_GREY
;
187 extern wxCursor
* wxSTANDARD_CURSOR
;
188 extern wxCursor
* wxHOURGLASS_CURSOR
;
189 extern wxCursor
* wxCROSS_CURSOR
;
190 extern wxBitmap wxNullBitmap
;
191 extern wxIcon wxNullIcon
;
192 extern wxCursor wxNullCursor
;
193 extern wxPen wxNullPen
;
194 extern wxBrush wxNullBrush
;
195 extern wxPalette wxNullPalette
;
196 extern wxFont wxNullFont
;
197 extern wxColour wxNullColour
;
198 extern wxFontList
* wxTheFontList
;
199 extern wxPenList
* wxThePenList
;
200 extern wxBrushlist
* wxTheBrushList
;
201 extern wxColourDatabase
* wxTheColourDatabase
;
207 static PyObject
*_wrap_wxEmptyBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
208 PyObject
* _resultobj
;
212 int _arg2
= (int ) -1;
213 char *_kwnames
[] = { "width","height","depth", NULL
};
217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ii|i:wxEmptyBitmap",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
220 wxPy_BEGIN_ALLOW_THREADS
;
221 _result
= (wxBitmap
*)wxEmptyBitmap(_arg0
,_arg1
,_arg2
);
223 wxPy_END_ALLOW_THREADS
;
225 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
226 _resultobj
= Py_BuildValue("s",_ptemp
);
229 _resultobj
= Py_None
;
234 static PyObject
*_wrap_wxMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
235 PyObject
* _resultobj
;
239 PyObject
* _argo0
= 0;
241 PyObject
* _obj1
= 0;
242 char *_kwnames
[] = { "bitmap","colour", NULL
};
246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMaskColour",_kwnames
,&_argo0
,&_obj1
))
249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMaskColour. Expected _wxBitmap_p.");
257 if (! wxColour_helper(_obj1
, &_arg1
))
261 wxPy_BEGIN_ALLOW_THREADS
;
262 _result
= (wxMask
*)wxMaskColour(*_arg0
,*_arg1
);
264 wxPy_END_ALLOW_THREADS
;
266 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
267 _resultobj
= Py_BuildValue("s",_ptemp
);
270 _resultobj
= Py_None
;
275 static PyObject
*_wrap_wxStockCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
276 PyObject
* _resultobj
;
279 char *_kwnames
[] = { "id", NULL
};
283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxStockCursor",_kwnames
,&_arg0
))
286 wxPy_BEGIN_ALLOW_THREADS
;
287 _result
= (wxCursor
*)wxPyStockCursor(_arg0
);
289 wxPy_END_ALLOW_THREADS
;
291 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCursor_p");
292 _resultobj
= Py_BuildValue("s",_ptemp
);
295 _resultobj
= Py_None
;
300 static PyObject
*_wrap_wxFont_GetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
301 PyObject
* _resultobj
;
302 wxFontEncoding _result
;
303 char *_kwnames
[] = { NULL
};
306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFont_GetDefaultEncoding",_kwnames
))
309 wxPy_BEGIN_ALLOW_THREADS
;
310 _result
= (wxFontEncoding
)wxFont_GetDefaultEncoding();
312 wxPy_END_ALLOW_THREADS
;
313 } _resultobj
= Py_BuildValue("i",_result
);
317 static PyObject
*_wrap_wxFont_SetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
318 PyObject
* _resultobj
;
319 wxFontEncoding _arg0
;
320 char *_kwnames
[] = { "encoding", NULL
};
323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxFont_SetDefaultEncoding",_kwnames
,&_arg0
))
326 wxPy_BEGIN_ALLOW_THREADS
;
327 wxFont_SetDefaultEncoding(_arg0
);
329 wxPy_END_ALLOW_THREADS
;
330 } Py_INCREF(Py_None
);
331 _resultobj
= Py_None
;
335 static PyObject
*_wrap_wxNamedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
336 PyObject
* _resultobj
;
339 PyObject
* _obj0
= 0;
340 char *_kwnames
[] = { "colorName", NULL
};
344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNamedColour",_kwnames
,&_obj0
))
347 #if PYTHON_API_VERSION >= 1009
348 char* tmpPtr
; int tmpSize
;
349 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
350 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
353 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
355 _arg0
= new wxString(tmpPtr
, tmpSize
);
357 if (!PyString_Check(_obj0
)) {
358 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
361 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
365 wxPy_BEGIN_ALLOW_THREADS
;
366 _result
= (wxColour
*)wxNamedColour(*_arg0
);
368 wxPy_END_ALLOW_THREADS
;
370 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
371 _resultobj
= Py_BuildValue("s",_ptemp
);
374 _resultobj
= Py_None
;
383 static PyObject
*_wrap_wxMemoryDCFromDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
384 PyObject
* _resultobj
;
385 wxMemoryDC
* _result
;
387 PyObject
* _argo0
= 0;
388 char *_kwnames
[] = { "oldDC", NULL
};
392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMemoryDCFromDC",_kwnames
,&_argo0
))
395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDCFromDC. Expected _wxDC_p.");
402 wxPy_BEGIN_ALLOW_THREADS
;
403 _result
= (wxMemoryDC
*)wxMemoryDCFromDC(_arg0
);
405 wxPy_END_ALLOW_THREADS
;
407 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
408 _resultobj
= Py_BuildValue("s",_ptemp
);
411 _resultobj
= Py_None
;
416 static int _wrap_wxNORMAL_FONT_set(PyObject
*val
) {
418 PyErr_SetString(PyExc_TypeError
,"Variable wxNORMAL_FONT is read-only.");
422 static PyObject
*_wrap_wxNORMAL_FONT_get() {
426 SWIG_MakePtr(ptemp
, (char *) wxNORMAL_FONT
,"_wxFont_p");
427 pyobj
= PyString_FromString(ptemp
);
431 static int _wrap_wxSMALL_FONT_set(PyObject
*val
) {
433 PyErr_SetString(PyExc_TypeError
,"Variable wxSMALL_FONT is read-only.");
437 static PyObject
*_wrap_wxSMALL_FONT_get() {
441 SWIG_MakePtr(ptemp
, (char *) wxSMALL_FONT
,"_wxFont_p");
442 pyobj
= PyString_FromString(ptemp
);
446 static int _wrap_wxITALIC_FONT_set(PyObject
*val
) {
448 PyErr_SetString(PyExc_TypeError
,"Variable wxITALIC_FONT is read-only.");
452 static PyObject
*_wrap_wxITALIC_FONT_get() {
456 SWIG_MakePtr(ptemp
, (char *) wxITALIC_FONT
,"_wxFont_p");
457 pyobj
= PyString_FromString(ptemp
);
461 static int _wrap_wxSWISS_FONT_set(PyObject
*val
) {
463 PyErr_SetString(PyExc_TypeError
,"Variable wxSWISS_FONT is read-only.");
467 static PyObject
*_wrap_wxSWISS_FONT_get() {
471 SWIG_MakePtr(ptemp
, (char *) wxSWISS_FONT
,"_wxFont_p");
472 pyobj
= PyString_FromString(ptemp
);
476 static int _wrap_wxRED_PEN_set(PyObject
*val
) {
478 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_PEN is read-only.");
482 static PyObject
*_wrap_wxRED_PEN_get() {
486 SWIG_MakePtr(ptemp
, (char *) wxRED_PEN
,"_wxPen_p");
487 pyobj
= PyString_FromString(ptemp
);
491 static int _wrap_wxCYAN_PEN_set(PyObject
*val
) {
493 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_PEN is read-only.");
497 static PyObject
*_wrap_wxCYAN_PEN_get() {
501 SWIG_MakePtr(ptemp
, (char *) wxCYAN_PEN
,"_wxPen_p");
502 pyobj
= PyString_FromString(ptemp
);
506 static int _wrap_wxGREEN_PEN_set(PyObject
*val
) {
508 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_PEN is read-only.");
512 static PyObject
*_wrap_wxGREEN_PEN_get() {
516 SWIG_MakePtr(ptemp
, (char *) wxGREEN_PEN
,"_wxPen_p");
517 pyobj
= PyString_FromString(ptemp
);
521 static int _wrap_wxBLACK_PEN_set(PyObject
*val
) {
523 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_PEN is read-only.");
527 static PyObject
*_wrap_wxBLACK_PEN_get() {
531 SWIG_MakePtr(ptemp
, (char *) wxBLACK_PEN
,"_wxPen_p");
532 pyobj
= PyString_FromString(ptemp
);
536 static int _wrap_wxWHITE_PEN_set(PyObject
*val
) {
538 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_PEN is read-only.");
542 static PyObject
*_wrap_wxWHITE_PEN_get() {
546 SWIG_MakePtr(ptemp
, (char *) wxWHITE_PEN
,"_wxPen_p");
547 pyobj
= PyString_FromString(ptemp
);
551 static int _wrap_wxTRANSPARENT_PEN_set(PyObject
*val
) {
553 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_PEN is read-only.");
557 static PyObject
*_wrap_wxTRANSPARENT_PEN_get() {
561 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_PEN
,"_wxPen_p");
562 pyobj
= PyString_FromString(ptemp
);
566 static int _wrap_wxBLACK_DASHED_PEN_set(PyObject
*val
) {
568 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_DASHED_PEN is read-only.");
572 static PyObject
*_wrap_wxBLACK_DASHED_PEN_get() {
576 SWIG_MakePtr(ptemp
, (char *) wxBLACK_DASHED_PEN
,"_wxPen_p");
577 pyobj
= PyString_FromString(ptemp
);
581 static int _wrap_wxGREY_PEN_set(PyObject
*val
) {
583 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_PEN is read-only.");
587 static PyObject
*_wrap_wxGREY_PEN_get() {
591 SWIG_MakePtr(ptemp
, (char *) wxGREY_PEN
,"_wxPen_p");
592 pyobj
= PyString_FromString(ptemp
);
596 static int _wrap_wxMEDIUM_GREY_PEN_set(PyObject
*val
) {
598 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_PEN is read-only.");
602 static PyObject
*_wrap_wxMEDIUM_GREY_PEN_get() {
606 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_PEN
,"_wxPen_p");
607 pyobj
= PyString_FromString(ptemp
);
611 static int _wrap_wxLIGHT_GREY_PEN_set(PyObject
*val
) {
613 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_PEN is read-only.");
617 static PyObject
*_wrap_wxLIGHT_GREY_PEN_get() {
621 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_PEN
,"_wxPen_p");
622 pyobj
= PyString_FromString(ptemp
);
626 static int _wrap_wxBLUE_BRUSH_set(PyObject
*val
) {
628 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE_BRUSH is read-only.");
632 static PyObject
*_wrap_wxBLUE_BRUSH_get() {
636 SWIG_MakePtr(ptemp
, (char *) wxBLUE_BRUSH
,"_wxBrush_p");
637 pyobj
= PyString_FromString(ptemp
);
641 static int _wrap_wxGREEN_BRUSH_set(PyObject
*val
) {
643 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_BRUSH is read-only.");
647 static PyObject
*_wrap_wxGREEN_BRUSH_get() {
651 SWIG_MakePtr(ptemp
, (char *) wxGREEN_BRUSH
,"_wxBrush_p");
652 pyobj
= PyString_FromString(ptemp
);
656 static int _wrap_wxWHITE_BRUSH_set(PyObject
*val
) {
658 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_BRUSH is read-only.");
662 static PyObject
*_wrap_wxWHITE_BRUSH_get() {
666 SWIG_MakePtr(ptemp
, (char *) wxWHITE_BRUSH
,"_wxBrush_p");
667 pyobj
= PyString_FromString(ptemp
);
671 static int _wrap_wxBLACK_BRUSH_set(PyObject
*val
) {
673 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_BRUSH is read-only.");
677 static PyObject
*_wrap_wxBLACK_BRUSH_get() {
681 SWIG_MakePtr(ptemp
, (char *) wxBLACK_BRUSH
,"_wxBrush_p");
682 pyobj
= PyString_FromString(ptemp
);
686 static int _wrap_wxTRANSPARENT_BRUSH_set(PyObject
*val
) {
688 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_BRUSH is read-only.");
692 static PyObject
*_wrap_wxTRANSPARENT_BRUSH_get() {
696 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_BRUSH
,"_wxBrush_p");
697 pyobj
= PyString_FromString(ptemp
);
701 static int _wrap_wxCYAN_BRUSH_set(PyObject
*val
) {
703 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_BRUSH is read-only.");
707 static PyObject
*_wrap_wxCYAN_BRUSH_get() {
711 SWIG_MakePtr(ptemp
, (char *) wxCYAN_BRUSH
,"_wxBrush_p");
712 pyobj
= PyString_FromString(ptemp
);
716 static int _wrap_wxRED_BRUSH_set(PyObject
*val
) {
718 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_BRUSH is read-only.");
722 static PyObject
*_wrap_wxRED_BRUSH_get() {
726 SWIG_MakePtr(ptemp
, (char *) wxRED_BRUSH
,"_wxBrush_p");
727 pyobj
= PyString_FromString(ptemp
);
731 static int _wrap_wxGREY_BRUSH_set(PyObject
*val
) {
733 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_BRUSH is read-only.");
737 static PyObject
*_wrap_wxGREY_BRUSH_get() {
741 SWIG_MakePtr(ptemp
, (char *) wxGREY_BRUSH
,"_wxBrush_p");
742 pyobj
= PyString_FromString(ptemp
);
746 static int _wrap_wxMEDIUM_GREY_BRUSH_set(PyObject
*val
) {
748 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_BRUSH is read-only.");
752 static PyObject
*_wrap_wxMEDIUM_GREY_BRUSH_get() {
756 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_BRUSH
,"_wxBrush_p");
757 pyobj
= PyString_FromString(ptemp
);
761 static int _wrap_wxLIGHT_GREY_BRUSH_set(PyObject
*val
) {
763 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_BRUSH is read-only.");
767 static PyObject
*_wrap_wxLIGHT_GREY_BRUSH_get() {
771 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_BRUSH
,"_wxBrush_p");
772 pyobj
= PyString_FromString(ptemp
);
776 static int _wrap_wxBLACK_set(PyObject
*val
) {
778 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK is read-only.");
782 static PyObject
*_wrap_wxBLACK_get() {
786 SWIG_MakePtr(ptemp
, (char *) wxBLACK
,"_wxColour_p");
787 pyobj
= PyString_FromString(ptemp
);
791 static int _wrap_wxWHITE_set(PyObject
*val
) {
793 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE is read-only.");
797 static PyObject
*_wrap_wxWHITE_get() {
801 SWIG_MakePtr(ptemp
, (char *) wxWHITE
,"_wxColour_p");
802 pyobj
= PyString_FromString(ptemp
);
806 static int _wrap_wxRED_set(PyObject
*val
) {
808 PyErr_SetString(PyExc_TypeError
,"Variable wxRED is read-only.");
812 static PyObject
*_wrap_wxRED_get() {
816 SWIG_MakePtr(ptemp
, (char *) wxRED
,"_wxColour_p");
817 pyobj
= PyString_FromString(ptemp
);
821 static int _wrap_wxBLUE_set(PyObject
*val
) {
823 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE is read-only.");
827 static PyObject
*_wrap_wxBLUE_get() {
831 SWIG_MakePtr(ptemp
, (char *) wxBLUE
,"_wxColour_p");
832 pyobj
= PyString_FromString(ptemp
);
836 static int _wrap_wxGREEN_set(PyObject
*val
) {
838 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN is read-only.");
842 static PyObject
*_wrap_wxGREEN_get() {
846 SWIG_MakePtr(ptemp
, (char *) wxGREEN
,"_wxColour_p");
847 pyobj
= PyString_FromString(ptemp
);
851 static int _wrap_wxCYAN_set(PyObject
*val
) {
853 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN is read-only.");
857 static PyObject
*_wrap_wxCYAN_get() {
861 SWIG_MakePtr(ptemp
, (char *) wxCYAN
,"_wxColour_p");
862 pyobj
= PyString_FromString(ptemp
);
866 static int _wrap_wxLIGHT_GREY_set(PyObject
*val
) {
868 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY is read-only.");
872 static PyObject
*_wrap_wxLIGHT_GREY_get() {
876 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY
,"_wxColour_p");
877 pyobj
= PyString_FromString(ptemp
);
881 static int _wrap_wxSTANDARD_CURSOR_set(PyObject
*val
) {
883 PyErr_SetString(PyExc_TypeError
,"Variable wxSTANDARD_CURSOR is read-only.");
887 static PyObject
*_wrap_wxSTANDARD_CURSOR_get() {
891 SWIG_MakePtr(ptemp
, (char *) wxSTANDARD_CURSOR
,"_wxCursor_p");
892 pyobj
= PyString_FromString(ptemp
);
896 static int _wrap_wxHOURGLASS_CURSOR_set(PyObject
*val
) {
898 PyErr_SetString(PyExc_TypeError
,"Variable wxHOURGLASS_CURSOR is read-only.");
902 static PyObject
*_wrap_wxHOURGLASS_CURSOR_get() {
906 SWIG_MakePtr(ptemp
, (char *) wxHOURGLASS_CURSOR
,"_wxCursor_p");
907 pyobj
= PyString_FromString(ptemp
);
911 static int _wrap_wxCROSS_CURSOR_set(PyObject
*val
) {
913 PyErr_SetString(PyExc_TypeError
,"Variable wxCROSS_CURSOR is read-only.");
917 static PyObject
*_wrap_wxCROSS_CURSOR_get() {
921 SWIG_MakePtr(ptemp
, (char *) wxCROSS_CURSOR
,"_wxCursor_p");
922 pyobj
= PyString_FromString(ptemp
);
926 static int _wrap_wxNullBitmap_set(PyObject
*val
) {
928 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBitmap is read-only.");
932 static PyObject
*_wrap_wxNullBitmap_get() {
936 SWIG_MakePtr(ptemp
,(char *) &wxNullBitmap
,"_wxBitmap_p");
937 pyobj
= PyString_FromString(ptemp
);
941 static int _wrap_wxNullIcon_set(PyObject
*val
) {
943 PyErr_SetString(PyExc_TypeError
,"Variable wxNullIcon is read-only.");
947 static PyObject
*_wrap_wxNullIcon_get() {
951 SWIG_MakePtr(ptemp
,(char *) &wxNullIcon
,"_wxIcon_p");
952 pyobj
= PyString_FromString(ptemp
);
956 static int _wrap_wxNullCursor_set(PyObject
*val
) {
958 PyErr_SetString(PyExc_TypeError
,"Variable wxNullCursor is read-only.");
962 static PyObject
*_wrap_wxNullCursor_get() {
966 SWIG_MakePtr(ptemp
,(char *) &wxNullCursor
,"_wxCursor_p");
967 pyobj
= PyString_FromString(ptemp
);
971 static int _wrap_wxNullPen_set(PyObject
*val
) {
973 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPen is read-only.");
977 static PyObject
*_wrap_wxNullPen_get() {
981 SWIG_MakePtr(ptemp
,(char *) &wxNullPen
,"_wxPen_p");
982 pyobj
= PyString_FromString(ptemp
);
986 static int _wrap_wxNullBrush_set(PyObject
*val
) {
988 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBrush is read-only.");
992 static PyObject
*_wrap_wxNullBrush_get() {
996 SWIG_MakePtr(ptemp
,(char *) &wxNullBrush
,"_wxBrush_p");
997 pyobj
= PyString_FromString(ptemp
);
1001 static int _wrap_wxNullPalette_set(PyObject
*val
) {
1003 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPalette is read-only.");
1007 static PyObject
*_wrap_wxNullPalette_get() {
1011 SWIG_MakePtr(ptemp
,(char *) &wxNullPalette
,"_wxPalette_p");
1012 pyobj
= PyString_FromString(ptemp
);
1016 static int _wrap_wxNullFont_set(PyObject
*val
) {
1018 PyErr_SetString(PyExc_TypeError
,"Variable wxNullFont is read-only.");
1022 static PyObject
*_wrap_wxNullFont_get() {
1026 SWIG_MakePtr(ptemp
,(char *) &wxNullFont
,"_wxFont_p");
1027 pyobj
= PyString_FromString(ptemp
);
1031 static int _wrap_wxNullColour_set(PyObject
*val
) {
1033 PyErr_SetString(PyExc_TypeError
,"Variable wxNullColour is read-only.");
1037 static PyObject
*_wrap_wxNullColour_get() {
1041 SWIG_MakePtr(ptemp
,(char *) &wxNullColour
,"_wxColour_p");
1042 pyobj
= PyString_FromString(ptemp
);
1046 static int _wrap_wxTheFontList_set(PyObject
*val
) {
1048 PyErr_SetString(PyExc_TypeError
,"Variable wxTheFontList is read-only.");
1052 static PyObject
*_wrap_wxTheFontList_get() {
1056 SWIG_MakePtr(ptemp
, (char *) wxTheFontList
,"_wxFontList_p");
1057 pyobj
= PyString_FromString(ptemp
);
1061 static int _wrap_wxThePenList_set(PyObject
*val
) {
1063 PyErr_SetString(PyExc_TypeError
,"Variable wxThePenList is read-only.");
1067 static PyObject
*_wrap_wxThePenList_get() {
1071 SWIG_MakePtr(ptemp
, (char *) wxThePenList
,"_wxPenList_p");
1072 pyobj
= PyString_FromString(ptemp
);
1076 static int _wrap_wxTheBrushList_set(PyObject
*val
) {
1078 PyErr_SetString(PyExc_TypeError
,"Variable wxTheBrushList is read-only.");
1082 static PyObject
*_wrap_wxTheBrushList_get() {
1086 SWIG_MakePtr(ptemp
, (char *) wxTheBrushList
,"_wxBrushlist_p");
1087 pyobj
= PyString_FromString(ptemp
);
1091 static int _wrap_wxTheColourDatabase_set(PyObject
*val
) {
1093 PyErr_SetString(PyExc_TypeError
,"Variable wxTheColourDatabase is read-only.");
1097 static PyObject
*_wrap_wxTheColourDatabase_get() {
1101 SWIG_MakePtr(ptemp
, (char *) wxTheColourDatabase
,"_wxColourDatabase_p");
1102 pyobj
= PyString_FromString(ptemp
);
1106 #define new_wxBitmap(_swigarg0,_swigarg1) (new wxBitmap(_swigarg0,_swigarg1))
1107 static PyObject
*_wrap_new_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1108 PyObject
* _resultobj
;
1112 PyObject
* _obj0
= 0;
1113 char *_kwnames
[] = { "name","type", NULL
};
1117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:new_wxBitmap",_kwnames
,&_obj0
,&_arg1
))
1120 #if PYTHON_API_VERSION >= 1009
1121 char* tmpPtr
; int tmpSize
;
1122 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1123 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1126 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1128 _arg0
= new wxString(tmpPtr
, tmpSize
);
1130 if (!PyString_Check(_obj0
)) {
1131 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1134 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1138 wxPy_BEGIN_ALLOW_THREADS
;
1139 _result
= (wxBitmap
*)new_wxBitmap(*_arg0
,_arg1
);
1141 wxPy_END_ALLOW_THREADS
;
1143 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1144 _resultobj
= Py_BuildValue("s",_ptemp
);
1147 _resultobj
= Py_None
;
1156 #define delete_wxBitmap(_swigobj) (delete _swigobj)
1157 static PyObject
*_wrap_delete_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1158 PyObject
* _resultobj
;
1160 PyObject
* _argo0
= 0;
1161 char *_kwnames
[] = { "self", NULL
};
1164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBitmap",_kwnames
,&_argo0
))
1167 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1168 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBitmap. Expected _wxBitmap_p.");
1174 wxPy_BEGIN_ALLOW_THREADS
;
1175 delete_wxBitmap(_arg0
);
1177 wxPy_END_ALLOW_THREADS
;
1178 } Py_INCREF(Py_None
);
1179 _resultobj
= Py_None
;
1183 #define wxBitmap_GetPalette(_swigobj) (_swigobj->GetPalette())
1184 static PyObject
*_wrap_wxBitmap_GetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1185 PyObject
* _resultobj
;
1186 wxPalette
* _result
;
1188 PyObject
* _argo0
= 0;
1189 char *_kwnames
[] = { "self", NULL
};
1193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetPalette",_kwnames
,&_argo0
))
1196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetPalette. Expected _wxBitmap_p.");
1203 wxPy_BEGIN_ALLOW_THREADS
;
1204 _result
= (wxPalette
*)wxBitmap_GetPalette(_arg0
);
1206 wxPy_END_ALLOW_THREADS
;
1208 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
1209 _resultobj
= Py_BuildValue("s",_ptemp
);
1212 _resultobj
= Py_None
;
1217 #define wxBitmap_GetMask(_swigobj) (_swigobj->GetMask())
1218 static PyObject
*_wrap_wxBitmap_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1219 PyObject
* _resultobj
;
1222 PyObject
* _argo0
= 0;
1223 char *_kwnames
[] = { "self", NULL
};
1227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetMask",_kwnames
,&_argo0
))
1230 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1231 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetMask. Expected _wxBitmap_p.");
1237 wxPy_BEGIN_ALLOW_THREADS
;
1238 _result
= (wxMask
*)wxBitmap_GetMask(_arg0
);
1240 wxPy_END_ALLOW_THREADS
;
1242 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
1243 _resultobj
= Py_BuildValue("s",_ptemp
);
1246 _resultobj
= Py_None
;
1251 #define wxBitmap_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1252 static PyObject
*_wrap_wxBitmap_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1253 PyObject
* _resultobj
;
1258 PyObject
* _argo0
= 0;
1259 PyObject
* _obj1
= 0;
1260 char *_kwnames
[] = { "self","name","flags", NULL
};
1263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOl:wxBitmap_LoadFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_LoadFile. Expected _wxBitmap_p.");
1273 #if PYTHON_API_VERSION >= 1009
1274 char* tmpPtr
; int tmpSize
;
1275 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1276 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1279 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1281 _arg1
= new wxString(tmpPtr
, tmpSize
);
1283 if (!PyString_Check(_obj1
)) {
1284 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1287 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1291 wxPy_BEGIN_ALLOW_THREADS
;
1292 _result
= (bool )wxBitmap_LoadFile(_arg0
,*_arg1
,_arg2
);
1294 wxPy_END_ALLOW_THREADS
;
1295 } _resultobj
= Py_BuildValue("i",_result
);
1303 #define wxBitmap_SaveFile(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SaveFile(_swigarg0,_swigarg1,_swigarg2))
1304 static PyObject
*_wrap_wxBitmap_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1305 PyObject
* _resultobj
;
1310 wxPalette
* _arg3
= (wxPalette
*) NULL
;
1311 PyObject
* _argo0
= 0;
1312 PyObject
* _obj1
= 0;
1313 PyObject
* _argo3
= 0;
1314 char *_kwnames
[] = { "self","name","type","palette", NULL
};
1317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|O:wxBitmap_SaveFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_argo3
))
1320 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1321 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SaveFile. Expected _wxBitmap_p.");
1327 #if PYTHON_API_VERSION >= 1009
1328 char* tmpPtr
; int tmpSize
;
1329 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1330 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1333 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1335 _arg1
= new wxString(tmpPtr
, tmpSize
);
1337 if (!PyString_Check(_obj1
)) {
1338 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1341 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1345 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1346 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxPalette_p")) {
1347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxBitmap_SaveFile. Expected _wxPalette_p.");
1352 wxPy_BEGIN_ALLOW_THREADS
;
1353 _result
= (bool )wxBitmap_SaveFile(_arg0
,*_arg1
,_arg2
,_arg3
);
1355 wxPy_END_ALLOW_THREADS
;
1356 } _resultobj
= Py_BuildValue("i",_result
);
1364 #define wxBitmap_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
1365 static PyObject
*_wrap_wxBitmap_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1366 PyObject
* _resultobj
;
1369 PyObject
* _argo0
= 0;
1370 PyObject
* _argo1
= 0;
1371 char *_kwnames
[] = { "self","mask", NULL
};
1374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_SetMask",_kwnames
,&_argo0
,&_argo1
))
1377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetMask. Expected _wxBitmap_p.");
1384 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1385 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMask_p")) {
1386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_SetMask. Expected _wxMask_p.");
1391 wxPy_BEGIN_ALLOW_THREADS
;
1392 wxBitmap_SetMask(_arg0
,_arg1
);
1394 wxPy_END_ALLOW_THREADS
;
1395 } Py_INCREF(Py_None
);
1396 _resultobj
= Py_None
;
1400 #define wxBitmap_Ok(_swigobj) (_swigobj->Ok())
1401 static PyObject
*_wrap_wxBitmap_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1402 PyObject
* _resultobj
;
1405 PyObject
* _argo0
= 0;
1406 char *_kwnames
[] = { "self", NULL
};
1409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_Ok",_kwnames
,&_argo0
))
1412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_Ok. Expected _wxBitmap_p.");
1419 wxPy_BEGIN_ALLOW_THREADS
;
1420 _result
= (bool )wxBitmap_Ok(_arg0
);
1422 wxPy_END_ALLOW_THREADS
;
1423 } _resultobj
= Py_BuildValue("i",_result
);
1427 #define wxBitmap_GetWidth(_swigobj) (_swigobj->GetWidth())
1428 static PyObject
*_wrap_wxBitmap_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1429 PyObject
* _resultobj
;
1432 PyObject
* _argo0
= 0;
1433 char *_kwnames
[] = { "self", NULL
};
1436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetWidth",_kwnames
,&_argo0
))
1439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetWidth. Expected _wxBitmap_p.");
1446 wxPy_BEGIN_ALLOW_THREADS
;
1447 _result
= (int )wxBitmap_GetWidth(_arg0
);
1449 wxPy_END_ALLOW_THREADS
;
1450 } _resultobj
= Py_BuildValue("i",_result
);
1454 #define wxBitmap_GetHeight(_swigobj) (_swigobj->GetHeight())
1455 static PyObject
*_wrap_wxBitmap_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1456 PyObject
* _resultobj
;
1459 PyObject
* _argo0
= 0;
1460 char *_kwnames
[] = { "self", NULL
};
1463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetHeight",_kwnames
,&_argo0
))
1466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetHeight. Expected _wxBitmap_p.");
1473 wxPy_BEGIN_ALLOW_THREADS
;
1474 _result
= (int )wxBitmap_GetHeight(_arg0
);
1476 wxPy_END_ALLOW_THREADS
;
1477 } _resultobj
= Py_BuildValue("i",_result
);
1481 #define wxBitmap_GetDepth(_swigobj) (_swigobj->GetDepth())
1482 static PyObject
*_wrap_wxBitmap_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1483 PyObject
* _resultobj
;
1486 PyObject
* _argo0
= 0;
1487 char *_kwnames
[] = { "self", NULL
};
1490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetDepth",_kwnames
,&_argo0
))
1493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetDepth. Expected _wxBitmap_p.");
1500 wxPy_BEGIN_ALLOW_THREADS
;
1501 _result
= (int )wxBitmap_GetDepth(_arg0
);
1503 wxPy_END_ALLOW_THREADS
;
1504 } _resultobj
= Py_BuildValue("i",_result
);
1508 #define wxBitmap_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1509 static PyObject
*_wrap_wxBitmap_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1510 PyObject
* _resultobj
;
1513 PyObject
* _argo0
= 0;
1514 char *_kwnames
[] = { "self","w", NULL
};
1517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetWidth",_kwnames
,&_argo0
,&_arg1
))
1520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetWidth. Expected _wxBitmap_p.");
1527 wxPy_BEGIN_ALLOW_THREADS
;
1528 wxBitmap_SetWidth(_arg0
,_arg1
);
1530 wxPy_END_ALLOW_THREADS
;
1531 } Py_INCREF(Py_None
);
1532 _resultobj
= Py_None
;
1536 #define wxBitmap_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1537 static PyObject
*_wrap_wxBitmap_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1538 PyObject
* _resultobj
;
1541 PyObject
* _argo0
= 0;
1542 char *_kwnames
[] = { "self","h", NULL
};
1545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetHeight",_kwnames
,&_argo0
,&_arg1
))
1548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetHeight. Expected _wxBitmap_p.");
1555 wxPy_BEGIN_ALLOW_THREADS
;
1556 wxBitmap_SetHeight(_arg0
,_arg1
);
1558 wxPy_END_ALLOW_THREADS
;
1559 } Py_INCREF(Py_None
);
1560 _resultobj
= Py_None
;
1564 #define wxBitmap_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
1565 static PyObject
*_wrap_wxBitmap_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1566 PyObject
* _resultobj
;
1569 PyObject
* _argo0
= 0;
1570 char *_kwnames
[] = { "self","d", NULL
};
1573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetDepth",_kwnames
,&_argo0
,&_arg1
))
1576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetDepth. Expected _wxBitmap_p.");
1583 wxPy_BEGIN_ALLOW_THREADS
;
1584 wxBitmap_SetDepth(_arg0
,_arg1
);
1586 wxPy_END_ALLOW_THREADS
;
1587 } Py_INCREF(Py_None
);
1588 _resultobj
= Py_None
;
1592 #define wxBitmap_GetSubBitmap(_swigobj,_swigarg0) (_swigobj->GetSubBitmap(_swigarg0))
1593 static PyObject
*_wrap_wxBitmap_GetSubBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1594 PyObject
* _resultobj
;
1598 PyObject
* _argo0
= 0;
1600 PyObject
* _obj1
= 0;
1601 char *_kwnames
[] = { "self","rect", NULL
};
1605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_GetSubBitmap",_kwnames
,&_argo0
,&_obj1
))
1608 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1609 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetSubBitmap. Expected _wxBitmap_p.");
1616 if (! wxRect_helper(_obj1
, &_arg1
))
1620 wxPy_BEGIN_ALLOW_THREADS
;
1621 _result
= new wxBitmap (wxBitmap_GetSubBitmap(_arg0
,*_arg1
));
1623 wxPy_END_ALLOW_THREADS
;
1624 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1625 _resultobj
= Py_BuildValue("s",_ptemp
);
1629 #define new_wxMask(_swigarg0) (new wxMask(_swigarg0))
1630 static PyObject
*_wrap_new_wxMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1631 PyObject
* _resultobj
;
1634 PyObject
* _argo0
= 0;
1635 char *_kwnames
[] = { "bitmap", NULL
};
1639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxMask",_kwnames
,&_argo0
))
1642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMask. Expected _wxBitmap_p.");
1649 wxPy_BEGIN_ALLOW_THREADS
;
1650 _result
= (wxMask
*)new_wxMask(*_arg0
);
1652 wxPy_END_ALLOW_THREADS
;
1654 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
1655 _resultobj
= Py_BuildValue("s",_ptemp
);
1658 _resultobj
= Py_None
;
1663 #define new_wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1664 static PyObject
*_wrap_new_wxIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1665 PyObject
* _resultobj
;
1669 int _arg2
= (int ) -1;
1670 int _arg3
= (int ) -1;
1671 PyObject
* _obj0
= 0;
1672 char *_kwnames
[] = { "name","flags","desiredWidth","desiredHeight", NULL
};
1676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:new_wxIcon",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
))
1679 #if PYTHON_API_VERSION >= 1009
1680 char* tmpPtr
; int tmpSize
;
1681 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1682 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1685 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1687 _arg0
= new wxString(tmpPtr
, tmpSize
);
1689 if (!PyString_Check(_obj0
)) {
1690 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1693 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1697 wxPy_BEGIN_ALLOW_THREADS
;
1698 _result
= (wxIcon
*)new_wxIcon(*_arg0
,_arg1
,_arg2
,_arg3
);
1700 wxPy_END_ALLOW_THREADS
;
1702 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
1703 _resultobj
= Py_BuildValue("s",_ptemp
);
1706 _resultobj
= Py_None
;
1715 #define delete_wxIcon(_swigobj) (delete _swigobj)
1716 static PyObject
*_wrap_delete_wxIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1717 PyObject
* _resultobj
;
1719 PyObject
* _argo0
= 0;
1720 char *_kwnames
[] = { "self", NULL
};
1723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxIcon",_kwnames
,&_argo0
))
1726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxIcon. Expected _wxIcon_p.");
1733 wxPy_BEGIN_ALLOW_THREADS
;
1734 delete_wxIcon(_arg0
);
1736 wxPy_END_ALLOW_THREADS
;
1737 } Py_INCREF(Py_None
);
1738 _resultobj
= Py_None
;
1742 #define wxIcon_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1743 static PyObject
*_wrap_wxIcon_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1744 PyObject
* _resultobj
;
1749 PyObject
* _argo0
= 0;
1750 PyObject
* _obj1
= 0;
1751 char *_kwnames
[] = { "self","name","flags", NULL
};
1754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOl:wxIcon_LoadFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1757 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1758 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_LoadFile. Expected _wxIcon_p.");
1764 #if PYTHON_API_VERSION >= 1009
1765 char* tmpPtr
; int tmpSize
;
1766 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1767 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1770 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1772 _arg1
= new wxString(tmpPtr
, tmpSize
);
1774 if (!PyString_Check(_obj1
)) {
1775 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1778 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1782 wxPy_BEGIN_ALLOW_THREADS
;
1783 _result
= (bool )wxIcon_LoadFile(_arg0
,*_arg1
,_arg2
);
1785 wxPy_END_ALLOW_THREADS
;
1786 } _resultobj
= Py_BuildValue("i",_result
);
1794 #define wxIcon_Ok(_swigobj) (_swigobj->Ok())
1795 static PyObject
*_wrap_wxIcon_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1796 PyObject
* _resultobj
;
1799 PyObject
* _argo0
= 0;
1800 char *_kwnames
[] = { "self", NULL
};
1803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_Ok",_kwnames
,&_argo0
))
1806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_Ok. Expected _wxIcon_p.");
1813 wxPy_BEGIN_ALLOW_THREADS
;
1814 _result
= (bool )wxIcon_Ok(_arg0
);
1816 wxPy_END_ALLOW_THREADS
;
1817 } _resultobj
= Py_BuildValue("i",_result
);
1821 #define wxIcon_GetWidth(_swigobj) (_swigobj->GetWidth())
1822 static PyObject
*_wrap_wxIcon_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1823 PyObject
* _resultobj
;
1826 PyObject
* _argo0
= 0;
1827 char *_kwnames
[] = { "self", NULL
};
1830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetWidth",_kwnames
,&_argo0
))
1833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetWidth. Expected _wxIcon_p.");
1840 wxPy_BEGIN_ALLOW_THREADS
;
1841 _result
= (int )wxIcon_GetWidth(_arg0
);
1843 wxPy_END_ALLOW_THREADS
;
1844 } _resultobj
= Py_BuildValue("i",_result
);
1848 #define wxIcon_GetHeight(_swigobj) (_swigobj->GetHeight())
1849 static PyObject
*_wrap_wxIcon_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1850 PyObject
* _resultobj
;
1853 PyObject
* _argo0
= 0;
1854 char *_kwnames
[] = { "self", NULL
};
1857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetHeight",_kwnames
,&_argo0
))
1860 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1861 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetHeight. Expected _wxIcon_p.");
1867 wxPy_BEGIN_ALLOW_THREADS
;
1868 _result
= (int )wxIcon_GetHeight(_arg0
);
1870 wxPy_END_ALLOW_THREADS
;
1871 } _resultobj
= Py_BuildValue("i",_result
);
1875 #define wxIcon_GetDepth(_swigobj) (_swigobj->GetDepth())
1876 static PyObject
*_wrap_wxIcon_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1877 PyObject
* _resultobj
;
1880 PyObject
* _argo0
= 0;
1881 char *_kwnames
[] = { "self", NULL
};
1884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetDepth",_kwnames
,&_argo0
))
1887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetDepth. Expected _wxIcon_p.");
1894 wxPy_BEGIN_ALLOW_THREADS
;
1895 _result
= (int )wxIcon_GetDepth(_arg0
);
1897 wxPy_END_ALLOW_THREADS
;
1898 } _resultobj
= Py_BuildValue("i",_result
);
1902 #define wxIcon_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1903 static PyObject
*_wrap_wxIcon_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1904 PyObject
* _resultobj
;
1907 PyObject
* _argo0
= 0;
1908 char *_kwnames
[] = { "self","w", NULL
};
1911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetWidth",_kwnames
,&_argo0
,&_arg1
))
1914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetWidth. Expected _wxIcon_p.");
1921 wxPy_BEGIN_ALLOW_THREADS
;
1922 wxIcon_SetWidth(_arg0
,_arg1
);
1924 wxPy_END_ALLOW_THREADS
;
1925 } Py_INCREF(Py_None
);
1926 _resultobj
= Py_None
;
1930 #define wxIcon_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1931 static PyObject
*_wrap_wxIcon_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1932 PyObject
* _resultobj
;
1935 PyObject
* _argo0
= 0;
1936 char *_kwnames
[] = { "self","h", NULL
};
1939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetHeight",_kwnames
,&_argo0
,&_arg1
))
1942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetHeight. Expected _wxIcon_p.");
1949 wxPy_BEGIN_ALLOW_THREADS
;
1950 wxIcon_SetHeight(_arg0
,_arg1
);
1952 wxPy_END_ALLOW_THREADS
;
1953 } Py_INCREF(Py_None
);
1954 _resultobj
= Py_None
;
1958 #define wxIcon_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
1959 static PyObject
*_wrap_wxIcon_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1960 PyObject
* _resultobj
;
1963 PyObject
* _argo0
= 0;
1964 char *_kwnames
[] = { "self","d", NULL
};
1967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetDepth",_kwnames
,&_argo0
,&_arg1
))
1970 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1971 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetDepth. Expected _wxIcon_p.");
1977 wxPy_BEGIN_ALLOW_THREADS
;
1978 wxIcon_SetDepth(_arg0
,_arg1
);
1980 wxPy_END_ALLOW_THREADS
;
1981 } Py_INCREF(Py_None
);
1982 _resultobj
= Py_None
;
1986 #define delete_wxCursor(_swigobj) (delete _swigobj)
1987 static PyObject
*_wrap_delete_wxCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1988 PyObject
* _resultobj
;
1990 PyObject
* _argo0
= 0;
1991 char *_kwnames
[] = { "self", NULL
};
1994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCursor",_kwnames
,&_argo0
))
1997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCursor. Expected _wxCursor_p.");
2004 wxPy_BEGIN_ALLOW_THREADS
;
2005 delete_wxCursor(_arg0
);
2007 wxPy_END_ALLOW_THREADS
;
2008 } Py_INCREF(Py_None
);
2009 _resultobj
= Py_None
;
2013 #define wxCursor_Ok(_swigobj) (_swigobj->Ok())
2014 static PyObject
*_wrap_wxCursor_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2015 PyObject
* _resultobj
;
2018 PyObject
* _argo0
= 0;
2019 char *_kwnames
[] = { "self", NULL
};
2022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCursor_Ok",_kwnames
,&_argo0
))
2025 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2026 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_Ok. Expected _wxCursor_p.");
2032 wxPy_BEGIN_ALLOW_THREADS
;
2033 _result
= (bool )wxCursor_Ok(_arg0
);
2035 wxPy_END_ALLOW_THREADS
;
2036 } _resultobj
= Py_BuildValue("i",_result
);
2040 #define new_wxFont(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFont(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2041 static PyObject
*_wrap_new_wxFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2042 PyObject
* _resultobj
;
2048 int _arg4
= (int ) FALSE
;
2049 char * _arg5
= (char *) "";
2050 wxFontEncoding _arg6
= (wxFontEncoding
) (wxFONTENCODING_DEFAULT
);
2051 char *_kwnames
[] = { "pointSize","family","style","weight","underline","faceName","encoding", NULL
};
2055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiii|isi:new_wxFont",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
2058 wxPy_BEGIN_ALLOW_THREADS
;
2059 _result
= (wxFont
*)new_wxFont(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2061 wxPy_END_ALLOW_THREADS
;
2063 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
2064 _resultobj
= Py_BuildValue("s",_ptemp
);
2067 _resultobj
= Py_None
;
2072 #define delete_wxFont(_swigobj) (delete _swigobj)
2073 static PyObject
*_wrap_delete_wxFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2074 PyObject
* _resultobj
;
2076 PyObject
* _argo0
= 0;
2077 char *_kwnames
[] = { "self", NULL
};
2080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFont",_kwnames
,&_argo0
))
2083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFont. Expected _wxFont_p.");
2090 wxPy_BEGIN_ALLOW_THREADS
;
2091 delete_wxFont(_arg0
);
2093 wxPy_END_ALLOW_THREADS
;
2094 } Py_INCREF(Py_None
);
2095 _resultobj
= Py_None
;
2099 #define wxFont_Ok(_swigobj) (_swigobj->Ok())
2100 static PyObject
*_wrap_wxFont_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2101 PyObject
* _resultobj
;
2104 PyObject
* _argo0
= 0;
2105 char *_kwnames
[] = { "self", NULL
};
2108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_Ok",_kwnames
,&_argo0
))
2111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_Ok. Expected _wxFont_p.");
2118 wxPy_BEGIN_ALLOW_THREADS
;
2119 _result
= (bool )wxFont_Ok(_arg0
);
2121 wxPy_END_ALLOW_THREADS
;
2122 } _resultobj
= Py_BuildValue("i",_result
);
2126 #define wxFont_GetFaceName(_swigobj) (_swigobj->GetFaceName())
2127 static PyObject
*_wrap_wxFont_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2128 PyObject
* _resultobj
;
2131 PyObject
* _argo0
= 0;
2132 char *_kwnames
[] = { "self", NULL
};
2135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFaceName",_kwnames
,&_argo0
))
2138 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2139 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFaceName. Expected _wxFont_p.");
2145 wxPy_BEGIN_ALLOW_THREADS
;
2146 _result
= new wxString (wxFont_GetFaceName(_arg0
));
2148 wxPy_END_ALLOW_THREADS
;
2150 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2158 #define wxFont_GetFamily(_swigobj) (_swigobj->GetFamily())
2159 static PyObject
*_wrap_wxFont_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2160 PyObject
* _resultobj
;
2163 PyObject
* _argo0
= 0;
2164 char *_kwnames
[] = { "self", NULL
};
2167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFamily",_kwnames
,&_argo0
))
2170 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2171 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFamily. Expected _wxFont_p.");
2177 wxPy_BEGIN_ALLOW_THREADS
;
2178 _result
= (int )wxFont_GetFamily(_arg0
);
2180 wxPy_END_ALLOW_THREADS
;
2181 } _resultobj
= Py_BuildValue("i",_result
);
2185 #define wxFont_GetPointSize(_swigobj) (_swigobj->GetPointSize())
2186 static PyObject
*_wrap_wxFont_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2187 PyObject
* _resultobj
;
2190 PyObject
* _argo0
= 0;
2191 char *_kwnames
[] = { "self", NULL
};
2194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetPointSize",_kwnames
,&_argo0
))
2197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetPointSize. Expected _wxFont_p.");
2204 wxPy_BEGIN_ALLOW_THREADS
;
2205 _result
= (int )wxFont_GetPointSize(_arg0
);
2207 wxPy_END_ALLOW_THREADS
;
2208 } _resultobj
= Py_BuildValue("i",_result
);
2212 #define wxFont_GetStyle(_swigobj) (_swigobj->GetStyle())
2213 static PyObject
*_wrap_wxFont_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2214 PyObject
* _resultobj
;
2217 PyObject
* _argo0
= 0;
2218 char *_kwnames
[] = { "self", NULL
};
2221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetStyle",_kwnames
,&_argo0
))
2224 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2225 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetStyle. Expected _wxFont_p.");
2231 wxPy_BEGIN_ALLOW_THREADS
;
2232 _result
= (int )wxFont_GetStyle(_arg0
);
2234 wxPy_END_ALLOW_THREADS
;
2235 } _resultobj
= Py_BuildValue("i",_result
);
2239 #define wxFont_GetUnderlined(_swigobj) (_swigobj->GetUnderlined())
2240 static PyObject
*_wrap_wxFont_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2241 PyObject
* _resultobj
;
2244 PyObject
* _argo0
= 0;
2245 char *_kwnames
[] = { "self", NULL
};
2248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetUnderlined",_kwnames
,&_argo0
))
2251 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2252 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetUnderlined. Expected _wxFont_p.");
2258 wxPy_BEGIN_ALLOW_THREADS
;
2259 _result
= (bool )wxFont_GetUnderlined(_arg0
);
2261 wxPy_END_ALLOW_THREADS
;
2262 } _resultobj
= Py_BuildValue("i",_result
);
2266 #define wxFont_GetWeight(_swigobj) (_swigobj->GetWeight())
2267 static PyObject
*_wrap_wxFont_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2268 PyObject
* _resultobj
;
2271 PyObject
* _argo0
= 0;
2272 char *_kwnames
[] = { "self", NULL
};
2275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetWeight",_kwnames
,&_argo0
))
2278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetWeight. Expected _wxFont_p.");
2285 wxPy_BEGIN_ALLOW_THREADS
;
2286 _result
= (int )wxFont_GetWeight(_arg0
);
2288 wxPy_END_ALLOW_THREADS
;
2289 } _resultobj
= Py_BuildValue("i",_result
);
2293 #define wxFont_GetEncoding(_swigobj) (_swigobj->GetEncoding())
2294 static PyObject
*_wrap_wxFont_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2295 PyObject
* _resultobj
;
2296 wxFontEncoding _result
;
2298 PyObject
* _argo0
= 0;
2299 char *_kwnames
[] = { "self", NULL
};
2302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetEncoding",_kwnames
,&_argo0
))
2305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetEncoding. Expected _wxFont_p.");
2312 wxPy_BEGIN_ALLOW_THREADS
;
2313 _result
= (wxFontEncoding
)wxFont_GetEncoding(_arg0
);
2315 wxPy_END_ALLOW_THREADS
;
2316 } _resultobj
= Py_BuildValue("i",_result
);
2320 #define wxFont_SetFaceName(_swigobj,_swigarg0) (_swigobj->SetFaceName(_swigarg0))
2321 static PyObject
*_wrap_wxFont_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2322 PyObject
* _resultobj
;
2325 PyObject
* _argo0
= 0;
2326 PyObject
* _obj1
= 0;
2327 char *_kwnames
[] = { "self","faceName", NULL
};
2330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFont_SetFaceName",_kwnames
,&_argo0
,&_obj1
))
2333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFaceName. Expected _wxFont_p.");
2340 #if PYTHON_API_VERSION >= 1009
2341 char* tmpPtr
; int tmpSize
;
2342 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2343 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
2346 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2348 _arg1
= new wxString(tmpPtr
, tmpSize
);
2350 if (!PyString_Check(_obj1
)) {
2351 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2354 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2358 wxPy_BEGIN_ALLOW_THREADS
;
2359 wxFont_SetFaceName(_arg0
,*_arg1
);
2361 wxPy_END_ALLOW_THREADS
;
2362 } Py_INCREF(Py_None
);
2363 _resultobj
= Py_None
;
2371 #define wxFont_SetFamily(_swigobj,_swigarg0) (_swigobj->SetFamily(_swigarg0))
2372 static PyObject
*_wrap_wxFont_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2373 PyObject
* _resultobj
;
2376 PyObject
* _argo0
= 0;
2377 char *_kwnames
[] = { "self","family", NULL
};
2380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetFamily",_kwnames
,&_argo0
,&_arg1
))
2383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFamily. Expected _wxFont_p.");
2390 wxPy_BEGIN_ALLOW_THREADS
;
2391 wxFont_SetFamily(_arg0
,_arg1
);
2393 wxPy_END_ALLOW_THREADS
;
2394 } Py_INCREF(Py_None
);
2395 _resultobj
= Py_None
;
2399 #define wxFont_SetPointSize(_swigobj,_swigarg0) (_swigobj->SetPointSize(_swigarg0))
2400 static PyObject
*_wrap_wxFont_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2401 PyObject
* _resultobj
;
2404 PyObject
* _argo0
= 0;
2405 char *_kwnames
[] = { "self","pointSize", NULL
};
2408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetPointSize",_kwnames
,&_argo0
,&_arg1
))
2411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetPointSize. Expected _wxFont_p.");
2418 wxPy_BEGIN_ALLOW_THREADS
;
2419 wxFont_SetPointSize(_arg0
,_arg1
);
2421 wxPy_END_ALLOW_THREADS
;
2422 } Py_INCREF(Py_None
);
2423 _resultobj
= Py_None
;
2427 #define wxFont_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
2428 static PyObject
*_wrap_wxFont_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2429 PyObject
* _resultobj
;
2432 PyObject
* _argo0
= 0;
2433 char *_kwnames
[] = { "self","style", NULL
};
2436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetStyle",_kwnames
,&_argo0
,&_arg1
))
2439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetStyle. Expected _wxFont_p.");
2446 wxPy_BEGIN_ALLOW_THREADS
;
2447 wxFont_SetStyle(_arg0
,_arg1
);
2449 wxPy_END_ALLOW_THREADS
;
2450 } Py_INCREF(Py_None
);
2451 _resultobj
= Py_None
;
2455 #define wxFont_SetUnderlined(_swigobj,_swigarg0) (_swigobj->SetUnderlined(_swigarg0))
2456 static PyObject
*_wrap_wxFont_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2457 PyObject
* _resultobj
;
2460 PyObject
* _argo0
= 0;
2462 char *_kwnames
[] = { "self","underlined", NULL
};
2465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetUnderlined",_kwnames
,&_argo0
,&tempbool1
))
2468 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2469 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetUnderlined. Expected _wxFont_p.");
2474 _arg1
= (bool ) tempbool1
;
2476 wxPy_BEGIN_ALLOW_THREADS
;
2477 wxFont_SetUnderlined(_arg0
,_arg1
);
2479 wxPy_END_ALLOW_THREADS
;
2480 } Py_INCREF(Py_None
);
2481 _resultobj
= Py_None
;
2485 #define wxFont_SetWeight(_swigobj,_swigarg0) (_swigobj->SetWeight(_swigarg0))
2486 static PyObject
*_wrap_wxFont_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2487 PyObject
* _resultobj
;
2490 PyObject
* _argo0
= 0;
2491 char *_kwnames
[] = { "self","weight", NULL
};
2494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetWeight",_kwnames
,&_argo0
,&_arg1
))
2497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetWeight. Expected _wxFont_p.");
2504 wxPy_BEGIN_ALLOW_THREADS
;
2505 wxFont_SetWeight(_arg0
,_arg1
);
2507 wxPy_END_ALLOW_THREADS
;
2508 } Py_INCREF(Py_None
);
2509 _resultobj
= Py_None
;
2513 #define wxFont_SetEncoding(_swigobj,_swigarg0) (_swigobj->SetEncoding(_swigarg0))
2514 static PyObject
*_wrap_wxFont_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2515 PyObject
* _resultobj
;
2517 wxFontEncoding _arg1
;
2518 PyObject
* _argo0
= 0;
2519 char *_kwnames
[] = { "self","encoding", NULL
};
2522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetEncoding",_kwnames
,&_argo0
,&_arg1
))
2525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetEncoding. Expected _wxFont_p.");
2532 wxPy_BEGIN_ALLOW_THREADS
;
2533 wxFont_SetEncoding(_arg0
,_arg1
);
2535 wxPy_END_ALLOW_THREADS
;
2536 } Py_INCREF(Py_None
);
2537 _resultobj
= Py_None
;
2541 #define wxFont_GetFamilyString(_swigobj) (_swigobj->GetFamilyString())
2542 static PyObject
*_wrap_wxFont_GetFamilyString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2543 PyObject
* _resultobj
;
2546 PyObject
* _argo0
= 0;
2547 char *_kwnames
[] = { "self", NULL
};
2550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFamilyString",_kwnames
,&_argo0
))
2553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFamilyString. Expected _wxFont_p.");
2560 wxPy_BEGIN_ALLOW_THREADS
;
2561 _result
= new wxString (wxFont_GetFamilyString(_arg0
));
2563 wxPy_END_ALLOW_THREADS
;
2565 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2573 #define wxFont_GetStyleString(_swigobj) (_swigobj->GetStyleString())
2574 static PyObject
*_wrap_wxFont_GetStyleString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2575 PyObject
* _resultobj
;
2578 PyObject
* _argo0
= 0;
2579 char *_kwnames
[] = { "self", NULL
};
2582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetStyleString",_kwnames
,&_argo0
))
2585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetStyleString. Expected _wxFont_p.");
2592 wxPy_BEGIN_ALLOW_THREADS
;
2593 _result
= new wxString (wxFont_GetStyleString(_arg0
));
2595 wxPy_END_ALLOW_THREADS
;
2597 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2605 #define wxFont_GetWeightString(_swigobj) (_swigobj->GetWeightString())
2606 static PyObject
*_wrap_wxFont_GetWeightString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2607 PyObject
* _resultobj
;
2610 PyObject
* _argo0
= 0;
2611 char *_kwnames
[] = { "self", NULL
};
2614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetWeightString",_kwnames
,&_argo0
))
2617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetWeightString. Expected _wxFont_p.");
2624 wxPy_BEGIN_ALLOW_THREADS
;
2625 _result
= new wxString (wxFont_GetWeightString(_arg0
));
2627 wxPy_END_ALLOW_THREADS
;
2629 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2637 #define wxFontList_AddFont(_swigobj,_swigarg0) (_swigobj->AddFont(_swigarg0))
2638 static PyObject
*_wrap_wxFontList_AddFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2639 PyObject
* _resultobj
;
2642 PyObject
* _argo0
= 0;
2643 PyObject
* _argo1
= 0;
2644 char *_kwnames
[] = { "self","font", NULL
};
2647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontList_AddFont",_kwnames
,&_argo0
,&_argo1
))
2650 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2651 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) {
2652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_AddFont. Expected _wxFontList_p.");
2657 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2658 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
2659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontList_AddFont. Expected _wxFont_p.");
2664 wxPy_BEGIN_ALLOW_THREADS
;
2665 wxFontList_AddFont(_arg0
,_arg1
);
2667 wxPy_END_ALLOW_THREADS
;
2668 } Py_INCREF(Py_None
);
2669 _resultobj
= Py_None
;
2673 #define wxFontList_FindOrCreateFont(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->FindOrCreateFont(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2674 static PyObject
*_wrap_wxFontList_FindOrCreateFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2675 PyObject
* _resultobj
;
2682 bool _arg5
= (bool ) FALSE
;
2683 char * _arg6
= (char *) NULL
;
2684 wxFontEncoding _arg7
= (wxFontEncoding
) (wxFONTENCODING_DEFAULT
);
2685 PyObject
* _argo0
= 0;
2686 int tempbool5
= (int) FALSE
;
2687 char *_kwnames
[] = { "self","point_size","family","style","weight","underline","facename","encoding", NULL
};
2691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|isi:wxFontList_FindOrCreateFont",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
,&_arg6
,&_arg7
))
2694 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2695 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) {
2696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_FindOrCreateFont. Expected _wxFontList_p.");
2700 _arg5
= (bool ) tempbool5
;
2702 wxPy_BEGIN_ALLOW_THREADS
;
2703 _result
= (wxFont
*)wxFontList_FindOrCreateFont(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
);
2705 wxPy_END_ALLOW_THREADS
;
2707 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
2708 _resultobj
= Py_BuildValue("s",_ptemp
);
2711 _resultobj
= Py_None
;
2716 #define wxFontList_RemoveFont(_swigobj,_swigarg0) (_swigobj->RemoveFont(_swigarg0))
2717 static PyObject
*_wrap_wxFontList_RemoveFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2718 PyObject
* _resultobj
;
2721 PyObject
* _argo0
= 0;
2722 PyObject
* _argo1
= 0;
2723 char *_kwnames
[] = { "self","font", NULL
};
2726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontList_RemoveFont",_kwnames
,&_argo0
,&_argo1
))
2729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) {
2731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_RemoveFont. Expected _wxFontList_p.");
2736 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2737 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
2738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontList_RemoveFont. Expected _wxFont_p.");
2743 wxPy_BEGIN_ALLOW_THREADS
;
2744 wxFontList_RemoveFont(_arg0
,_arg1
);
2746 wxPy_END_ALLOW_THREADS
;
2747 } Py_INCREF(Py_None
);
2748 _resultobj
= Py_None
;
2752 #define new_wxColour(_swigarg0,_swigarg1,_swigarg2) (new wxColour(_swigarg0,_swigarg1,_swigarg2))
2753 static PyObject
*_wrap_new_wxColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2754 PyObject
* _resultobj
;
2756 unsigned char _arg0
= (unsigned char ) 0;
2757 unsigned char _arg1
= (unsigned char ) 0;
2758 unsigned char _arg2
= (unsigned char ) 0;
2759 char *_kwnames
[] = { "red","green","blue", NULL
};
2763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|bbb:new_wxColour",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
2766 wxPy_BEGIN_ALLOW_THREADS
;
2767 _result
= (wxColour
*)new_wxColour(_arg0
,_arg1
,_arg2
);
2769 wxPy_END_ALLOW_THREADS
;
2771 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
2772 _resultobj
= Py_BuildValue("s",_ptemp
);
2775 _resultobj
= Py_None
;
2780 #define delete_wxColour(_swigobj) (delete _swigobj)
2781 static PyObject
*_wrap_delete_wxColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2782 PyObject
* _resultobj
;
2785 PyObject
* _obj0
= 0;
2786 char *_kwnames
[] = { "self", NULL
};
2789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxColour",_kwnames
,&_obj0
))
2793 if (! wxColour_helper(_obj0
, &_arg0
))
2797 wxPy_BEGIN_ALLOW_THREADS
;
2798 delete_wxColour(_arg0
);
2800 wxPy_END_ALLOW_THREADS
;
2801 } Py_INCREF(Py_None
);
2802 _resultobj
= Py_None
;
2806 #define wxColour_Red(_swigobj) (_swigobj->Red())
2807 static PyObject
*_wrap_wxColour_Red(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2808 PyObject
* _resultobj
;
2809 unsigned char _result
;
2812 PyObject
* _obj0
= 0;
2813 char *_kwnames
[] = { "self", NULL
};
2816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Red",_kwnames
,&_obj0
))
2820 if (! wxColour_helper(_obj0
, &_arg0
))
2824 wxPy_BEGIN_ALLOW_THREADS
;
2825 _result
= (unsigned char )wxColour_Red(_arg0
);
2827 wxPy_END_ALLOW_THREADS
;
2828 } _resultobj
= Py_BuildValue("b",_result
);
2832 #define wxColour_Green(_swigobj) (_swigobj->Green())
2833 static PyObject
*_wrap_wxColour_Green(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2834 PyObject
* _resultobj
;
2835 unsigned char _result
;
2838 PyObject
* _obj0
= 0;
2839 char *_kwnames
[] = { "self", NULL
};
2842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Green",_kwnames
,&_obj0
))
2846 if (! wxColour_helper(_obj0
, &_arg0
))
2850 wxPy_BEGIN_ALLOW_THREADS
;
2851 _result
= (unsigned char )wxColour_Green(_arg0
);
2853 wxPy_END_ALLOW_THREADS
;
2854 } _resultobj
= Py_BuildValue("b",_result
);
2858 #define wxColour_Blue(_swigobj) (_swigobj->Blue())
2859 static PyObject
*_wrap_wxColour_Blue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2860 PyObject
* _resultobj
;
2861 unsigned char _result
;
2864 PyObject
* _obj0
= 0;
2865 char *_kwnames
[] = { "self", NULL
};
2868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Blue",_kwnames
,&_obj0
))
2872 if (! wxColour_helper(_obj0
, &_arg0
))
2876 wxPy_BEGIN_ALLOW_THREADS
;
2877 _result
= (unsigned char )wxColour_Blue(_arg0
);
2879 wxPy_END_ALLOW_THREADS
;
2880 } _resultobj
= Py_BuildValue("b",_result
);
2884 #define wxColour_Ok(_swigobj) (_swigobj->Ok())
2885 static PyObject
*_wrap_wxColour_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2886 PyObject
* _resultobj
;
2890 PyObject
* _obj0
= 0;
2891 char *_kwnames
[] = { "self", NULL
};
2894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Ok",_kwnames
,&_obj0
))
2898 if (! wxColour_helper(_obj0
, &_arg0
))
2902 wxPy_BEGIN_ALLOW_THREADS
;
2903 _result
= (bool )wxColour_Ok(_arg0
);
2905 wxPy_END_ALLOW_THREADS
;
2906 } _resultobj
= Py_BuildValue("i",_result
);
2910 #define wxColour_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
2911 static PyObject
*_wrap_wxColour_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2912 PyObject
* _resultobj
;
2914 unsigned char _arg1
;
2915 unsigned char _arg2
;
2916 unsigned char _arg3
;
2918 PyObject
* _obj0
= 0;
2919 char *_kwnames
[] = { "self","red","green","blue", NULL
};
2922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Obbb:wxColour_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
))
2926 if (! wxColour_helper(_obj0
, &_arg0
))
2930 wxPy_BEGIN_ALLOW_THREADS
;
2931 wxColour_Set(_arg0
,_arg1
,_arg2
,_arg3
);
2933 wxPy_END_ALLOW_THREADS
;
2934 } Py_INCREF(Py_None
);
2935 _resultobj
= Py_None
;
2939 static PyObject
* wxColour_Get(wxColour
*self
) {
2940 PyObject
* rv
= PyTuple_New(3);
2941 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
2942 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
2943 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
2946 static PyObject
*_wrap_wxColour_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2947 PyObject
* _resultobj
;
2951 PyObject
* _obj0
= 0;
2952 char *_kwnames
[] = { "self", NULL
};
2955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Get",_kwnames
,&_obj0
))
2959 if (! wxColour_helper(_obj0
, &_arg0
))
2963 wxPy_BEGIN_ALLOW_THREADS
;
2964 _result
= (PyObject
*)wxColour_Get(_arg0
);
2966 wxPy_END_ALLOW_THREADS
;
2968 _resultobj
= _result
;
2973 #define wxColourDatabase_FindColour(_swigobj,_swigarg0) (_swigobj->FindColour(_swigarg0))
2974 static PyObject
*_wrap_wxColourDatabase_FindColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2975 PyObject
* _resultobj
;
2977 wxColourDatabase
* _arg0
;
2979 PyObject
* _argo0
= 0;
2980 PyObject
* _obj1
= 0;
2981 char *_kwnames
[] = { "self","colour", NULL
};
2985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxColourDatabase_FindColour",_kwnames
,&_argo0
,&_obj1
))
2988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
2990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_FindColour. Expected _wxColourDatabase_p.");
2995 #if PYTHON_API_VERSION >= 1009
2996 char* tmpPtr
; int tmpSize
;
2997 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2998 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
3001 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3003 _arg1
= new wxString(tmpPtr
, tmpSize
);
3005 if (!PyString_Check(_obj1
)) {
3006 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3009 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3013 wxPy_BEGIN_ALLOW_THREADS
;
3014 _result
= (wxColour
*)wxColourDatabase_FindColour(_arg0
,*_arg1
);
3016 wxPy_END_ALLOW_THREADS
;
3018 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3019 _resultobj
= Py_BuildValue("s",_ptemp
);
3022 _resultobj
= Py_None
;
3031 #define wxColourDatabase_FindName(_swigobj,_swigarg0) (_swigobj->FindName(_swigarg0))
3032 static PyObject
*_wrap_wxColourDatabase_FindName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3033 PyObject
* _resultobj
;
3035 wxColourDatabase
* _arg0
;
3037 PyObject
* _argo0
= 0;
3039 PyObject
* _obj1
= 0;
3040 char *_kwnames
[] = { "self","colour", NULL
};
3043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxColourDatabase_FindName",_kwnames
,&_argo0
,&_obj1
))
3046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
3048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_FindName. Expected _wxColourDatabase_p.");
3054 if (! wxColour_helper(_obj1
, &_arg1
))
3058 wxPy_BEGIN_ALLOW_THREADS
;
3059 _result
= new wxString (wxColourDatabase_FindName(_arg0
,*_arg1
));
3061 wxPy_END_ALLOW_THREADS
;
3063 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3071 static void wxColourDatabase_Append(wxColourDatabase
*self
,const wxString
& name
,int red
,int green
,int blue
) {
3072 self
->Append(name
.c_str(), new wxColour(red
, green
, blue
));
3074 static PyObject
*_wrap_wxColourDatabase_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3075 PyObject
* _resultobj
;
3076 wxColourDatabase
* _arg0
;
3081 PyObject
* _argo0
= 0;
3082 PyObject
* _obj1
= 0;
3083 char *_kwnames
[] = { "self","name","red","green","blue", NULL
};
3086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiii:wxColourDatabase_Append",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_arg4
))
3089 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3090 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
3091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_Append. Expected _wxColourDatabase_p.");
3096 #if PYTHON_API_VERSION >= 1009
3097 char* tmpPtr
; int tmpSize
;
3098 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3099 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
3102 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3104 _arg1
= new wxString(tmpPtr
, tmpSize
);
3106 if (!PyString_Check(_obj1
)) {
3107 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3110 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3114 wxPy_BEGIN_ALLOW_THREADS
;
3115 wxColourDatabase_Append(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3117 wxPy_END_ALLOW_THREADS
;
3118 } Py_INCREF(Py_None
);
3119 _resultobj
= Py_None
;
3127 #define new_wxPen(_swigarg0,_swigarg1,_swigarg2) (new wxPen(_swigarg0,_swigarg1,_swigarg2))
3128 static PyObject
*_wrap_new_wxPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3129 PyObject
* _resultobj
;
3132 int _arg1
= (int ) 1;
3133 int _arg2
= (int ) wxSOLID
;
3135 PyObject
* _obj0
= 0;
3136 char *_kwnames
[] = { "colour","width","style", NULL
};
3140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:new_wxPen",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
3144 if (! wxColour_helper(_obj0
, &_arg0
))
3148 wxPy_BEGIN_ALLOW_THREADS
;
3149 _result
= (wxPen
*)new_wxPen(*_arg0
,_arg1
,_arg2
);
3151 wxPy_END_ALLOW_THREADS
;
3153 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
3154 _resultobj
= Py_BuildValue("s",_ptemp
);
3157 _resultobj
= Py_None
;
3162 #define delete_wxPen(_swigobj) (delete _swigobj)
3163 static PyObject
*_wrap_delete_wxPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3164 PyObject
* _resultobj
;
3166 PyObject
* _argo0
= 0;
3167 char *_kwnames
[] = { "self", NULL
};
3170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPen",_kwnames
,&_argo0
))
3173 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3174 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPen. Expected _wxPen_p.");
3180 wxPy_BEGIN_ALLOW_THREADS
;
3181 delete_wxPen(_arg0
);
3183 wxPy_END_ALLOW_THREADS
;
3184 } Py_INCREF(Py_None
);
3185 _resultobj
= Py_None
;
3189 #define wxPen_GetCap(_swigobj) (_swigobj->GetCap())
3190 static PyObject
*_wrap_wxPen_GetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3191 PyObject
* _resultobj
;
3194 PyObject
* _argo0
= 0;
3195 char *_kwnames
[] = { "self", NULL
};
3198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetCap",_kwnames
,&_argo0
))
3201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetCap. Expected _wxPen_p.");
3208 wxPy_BEGIN_ALLOW_THREADS
;
3209 _result
= (int )wxPen_GetCap(_arg0
);
3211 wxPy_END_ALLOW_THREADS
;
3212 } _resultobj
= Py_BuildValue("i",_result
);
3216 #define wxPen_GetColour(_swigobj) (_swigobj->GetColour())
3217 static PyObject
*_wrap_wxPen_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3218 PyObject
* _resultobj
;
3221 PyObject
* _argo0
= 0;
3222 char *_kwnames
[] = { "self", NULL
};
3226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetColour",_kwnames
,&_argo0
))
3229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetColour. Expected _wxPen_p.");
3236 wxPy_BEGIN_ALLOW_THREADS
;
3237 wxColour
& _result_ref
= wxPen_GetColour(_arg0
);
3238 _result
= (wxColour
*) &_result_ref
;
3240 wxPy_END_ALLOW_THREADS
;
3242 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3243 _resultobj
= Py_BuildValue("s",_ptemp
);
3246 _resultobj
= Py_None
;
3251 #define wxPen_GetJoin(_swigobj) (_swigobj->GetJoin())
3252 static PyObject
*_wrap_wxPen_GetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3253 PyObject
* _resultobj
;
3256 PyObject
* _argo0
= 0;
3257 char *_kwnames
[] = { "self", NULL
};
3260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetJoin",_kwnames
,&_argo0
))
3263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetJoin. Expected _wxPen_p.");
3270 wxPy_BEGIN_ALLOW_THREADS
;
3271 _result
= (int )wxPen_GetJoin(_arg0
);
3273 wxPy_END_ALLOW_THREADS
;
3274 } _resultobj
= Py_BuildValue("i",_result
);
3278 #define wxPen_GetStyle(_swigobj) (_swigobj->GetStyle())
3279 static PyObject
*_wrap_wxPen_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3280 PyObject
* _resultobj
;
3283 PyObject
* _argo0
= 0;
3284 char *_kwnames
[] = { "self", NULL
};
3287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetStyle",_kwnames
,&_argo0
))
3290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetStyle. Expected _wxPen_p.");
3297 wxPy_BEGIN_ALLOW_THREADS
;
3298 _result
= (int )wxPen_GetStyle(_arg0
);
3300 wxPy_END_ALLOW_THREADS
;
3301 } _resultobj
= Py_BuildValue("i",_result
);
3305 #define wxPen_GetWidth(_swigobj) (_swigobj->GetWidth())
3306 static PyObject
*_wrap_wxPen_GetWidth(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:wxPen_GetWidth",_kwnames
,&_argo0
))
3317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetWidth. Expected _wxPen_p.");
3324 wxPy_BEGIN_ALLOW_THREADS
;
3325 _result
= (int )wxPen_GetWidth(_arg0
);
3327 wxPy_END_ALLOW_THREADS
;
3328 } _resultobj
= Py_BuildValue("i",_result
);
3332 #define wxPen_Ok(_swigobj) (_swigobj->Ok())
3333 static PyObject
*_wrap_wxPen_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:wxPen_Ok",_kwnames
,&_argo0
))
3344 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3345 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_Ok. Expected _wxPen_p.");
3351 wxPy_BEGIN_ALLOW_THREADS
;
3352 _result
= (bool )wxPen_Ok(_arg0
);
3354 wxPy_END_ALLOW_THREADS
;
3355 } _resultobj
= Py_BuildValue("i",_result
);
3359 #define wxPen_SetCap(_swigobj,_swigarg0) (_swigobj->SetCap(_swigarg0))
3360 static PyObject
*_wrap_wxPen_SetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3361 PyObject
* _resultobj
;
3364 PyObject
* _argo0
= 0;
3365 char *_kwnames
[] = { "self","cap_style", NULL
};
3368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetCap",_kwnames
,&_argo0
,&_arg1
))
3371 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3372 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetCap. Expected _wxPen_p.");
3378 wxPy_BEGIN_ALLOW_THREADS
;
3379 wxPen_SetCap(_arg0
,_arg1
);
3381 wxPy_END_ALLOW_THREADS
;
3382 } Py_INCREF(Py_None
);
3383 _resultobj
= Py_None
;
3387 #define wxPen_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
3388 static PyObject
*_wrap_wxPen_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3389 PyObject
* _resultobj
;
3392 PyObject
* _argo0
= 0;
3394 PyObject
* _obj1
= 0;
3395 char *_kwnames
[] = { "self","colour", NULL
};
3398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetColour",_kwnames
,&_argo0
,&_obj1
))
3401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetColour. Expected _wxPen_p.");
3409 if (! wxColour_helper(_obj1
, &_arg1
))
3413 wxPy_BEGIN_ALLOW_THREADS
;
3414 wxPen_SetColour(_arg0
,*_arg1
);
3416 wxPy_END_ALLOW_THREADS
;
3417 } Py_INCREF(Py_None
);
3418 _resultobj
= Py_None
;
3422 #define wxPen_SetJoin(_swigobj,_swigarg0) (_swigobj->SetJoin(_swigarg0))
3423 static PyObject
*_wrap_wxPen_SetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3424 PyObject
* _resultobj
;
3427 PyObject
* _argo0
= 0;
3428 char *_kwnames
[] = { "self","join_style", NULL
};
3431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetJoin",_kwnames
,&_argo0
,&_arg1
))
3434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetJoin. Expected _wxPen_p.");
3441 wxPy_BEGIN_ALLOW_THREADS
;
3442 wxPen_SetJoin(_arg0
,_arg1
);
3444 wxPy_END_ALLOW_THREADS
;
3445 } Py_INCREF(Py_None
);
3446 _resultobj
= Py_None
;
3450 #define wxPen_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
3451 static PyObject
*_wrap_wxPen_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3452 PyObject
* _resultobj
;
3455 PyObject
* _argo0
= 0;
3456 char *_kwnames
[] = { "self","style", NULL
};
3459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetStyle",_kwnames
,&_argo0
,&_arg1
))
3462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetStyle. Expected _wxPen_p.");
3469 wxPy_BEGIN_ALLOW_THREADS
;
3470 wxPen_SetStyle(_arg0
,_arg1
);
3472 wxPy_END_ALLOW_THREADS
;
3473 } Py_INCREF(Py_None
);
3474 _resultobj
= Py_None
;
3478 #define wxPen_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
3479 static PyObject
*_wrap_wxPen_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3480 PyObject
* _resultobj
;
3483 PyObject
* _argo0
= 0;
3484 char *_kwnames
[] = { "self","width", NULL
};
3487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetWidth",_kwnames
,&_argo0
,&_arg1
))
3490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetWidth. Expected _wxPen_p.");
3497 wxPy_BEGIN_ALLOW_THREADS
;
3498 wxPen_SetWidth(_arg0
,_arg1
);
3500 wxPy_END_ALLOW_THREADS
;
3501 } Py_INCREF(Py_None
);
3502 _resultobj
= Py_None
;
3506 #define wxPen_GetDashes(_swigobj,_swigarg0) (_swigobj->GetDashes(_swigarg0))
3507 static PyObject
*_wrap_wxPen_GetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3508 PyObject
* _resultobj
;
3512 PyObject
* _argo0
= 0;
3513 PyObject
* _argo1
= 0;
3514 char *_kwnames
[] = { "self","dashes", NULL
};
3517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_GetDashes",_kwnames
,&_argo0
,&_argo1
))
3520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetDashes. Expected _wxPen_p.");
3527 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3528 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDash_pp")) {
3529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPen_GetDashes. Expected _wxDash_pp.");
3534 wxPy_BEGIN_ALLOW_THREADS
;
3535 _result
= (int )wxPen_GetDashes(_arg0
,_arg1
);
3537 wxPy_END_ALLOW_THREADS
;
3538 } _resultobj
= Py_BuildValue("i",_result
);
3542 #define wxPen_SetDashes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDashes(_swigarg0,_swigarg1))
3543 static PyObject
*_wrap_wxPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3544 PyObject
* _resultobj
;
3548 PyObject
* _argo0
= 0;
3549 PyObject
* _obj2
= 0;
3550 char *_kwnames
[] = { "self","choices", NULL
};
3553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetDashes",_kwnames
,&_argo0
,&_obj2
))
3556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetDashes. Expected _wxPen_p.");
3564 _arg2
= (wxDash
*)byte_LIST_helper(_obj2
);
3565 if (_arg2
== NULL
) {
3571 _arg1
= PyList_Size(_obj2
);
3578 wxPy_BEGIN_ALLOW_THREADS
;
3579 wxPen_SetDashes(_arg0
,_arg1
,_arg2
);
3581 wxPy_END_ALLOW_THREADS
;
3582 } Py_INCREF(Py_None
);
3583 _resultobj
= Py_None
;
3590 #define wxPenList_AddPen(_swigobj,_swigarg0) (_swigobj->AddPen(_swigarg0))
3591 static PyObject
*_wrap_wxPenList_AddPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3592 PyObject
* _resultobj
;
3595 PyObject
* _argo0
= 0;
3596 PyObject
* _argo1
= 0;
3597 char *_kwnames
[] = { "self","pen", NULL
};
3600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPenList_AddPen",_kwnames
,&_argo0
,&_argo1
))
3603 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3604 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
3605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_AddPen. Expected _wxPenList_p.");
3610 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3611 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
3612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPenList_AddPen. Expected _wxPen_p.");
3617 wxPy_BEGIN_ALLOW_THREADS
;
3618 wxPenList_AddPen(_arg0
,_arg1
);
3620 wxPy_END_ALLOW_THREADS
;
3621 } Py_INCREF(Py_None
);
3622 _resultobj
= Py_None
;
3626 #define wxPenList_FindOrCreatePen(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindOrCreatePen(_swigarg0,_swigarg1,_swigarg2))
3627 static PyObject
*_wrap_wxPenList_FindOrCreatePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3628 PyObject
* _resultobj
;
3634 PyObject
* _argo0
= 0;
3636 PyObject
* _obj1
= 0;
3637 char *_kwnames
[] = { "self","colour","width","style", NULL
};
3641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxPenList_FindOrCreatePen",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
))
3644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
3646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_FindOrCreatePen. Expected _wxPenList_p.");
3652 if (! wxColour_helper(_obj1
, &_arg1
))
3656 wxPy_BEGIN_ALLOW_THREADS
;
3657 _result
= (wxPen
*)wxPenList_FindOrCreatePen(_arg0
,*_arg1
,_arg2
,_arg3
);
3659 wxPy_END_ALLOW_THREADS
;
3661 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
3662 _resultobj
= Py_BuildValue("s",_ptemp
);
3665 _resultobj
= Py_None
;
3670 #define wxPenList_RemovePen(_swigobj,_swigarg0) (_swigobj->RemovePen(_swigarg0))
3671 static PyObject
*_wrap_wxPenList_RemovePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3672 PyObject
* _resultobj
;
3675 PyObject
* _argo0
= 0;
3676 PyObject
* _argo1
= 0;
3677 char *_kwnames
[] = { "self","pen", NULL
};
3680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPenList_RemovePen",_kwnames
,&_argo0
,&_argo1
))
3683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
3685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_RemovePen. Expected _wxPenList_p.");
3690 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3691 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
3692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPenList_RemovePen. Expected _wxPen_p.");
3697 wxPy_BEGIN_ALLOW_THREADS
;
3698 wxPenList_RemovePen(_arg0
,_arg1
);
3700 wxPy_END_ALLOW_THREADS
;
3701 } Py_INCREF(Py_None
);
3702 _resultobj
= Py_None
;
3706 #define new_wxBrush(_swigarg0,_swigarg1) (new wxBrush(_swigarg0,_swigarg1))
3707 static PyObject
*_wrap_new_wxBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3708 PyObject
* _resultobj
;
3711 int _arg1
= (int ) wxSOLID
;
3713 PyObject
* _obj0
= 0;
3714 char *_kwnames
[] = { "colour","style", NULL
};
3718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxBrush",_kwnames
,&_obj0
,&_arg1
))
3722 if (! wxColour_helper(_obj0
, &_arg0
))
3726 wxPy_BEGIN_ALLOW_THREADS
;
3727 _result
= (wxBrush
*)new_wxBrush(*_arg0
,_arg1
);
3729 wxPy_END_ALLOW_THREADS
;
3731 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
3732 _resultobj
= Py_BuildValue("s",_ptemp
);
3735 _resultobj
= Py_None
;
3740 #define delete_wxBrush(_swigobj) (delete _swigobj)
3741 static PyObject
*_wrap_delete_wxBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3742 PyObject
* _resultobj
;
3744 PyObject
* _argo0
= 0;
3745 char *_kwnames
[] = { "self", NULL
};
3748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBrush",_kwnames
,&_argo0
))
3751 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3752 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBrush. Expected _wxBrush_p.");
3758 wxPy_BEGIN_ALLOW_THREADS
;
3759 delete_wxBrush(_arg0
);
3761 wxPy_END_ALLOW_THREADS
;
3762 } Py_INCREF(Py_None
);
3763 _resultobj
= Py_None
;
3767 #define wxBrush_GetColour(_swigobj) (_swigobj->GetColour())
3768 static PyObject
*_wrap_wxBrush_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3769 PyObject
* _resultobj
;
3772 PyObject
* _argo0
= 0;
3773 char *_kwnames
[] = { "self", NULL
};
3777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetColour",_kwnames
,&_argo0
))
3780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetColour. Expected _wxBrush_p.");
3787 wxPy_BEGIN_ALLOW_THREADS
;
3788 wxColour
& _result_ref
= wxBrush_GetColour(_arg0
);
3789 _result
= (wxColour
*) &_result_ref
;
3791 wxPy_END_ALLOW_THREADS
;
3793 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3794 _resultobj
= Py_BuildValue("s",_ptemp
);
3797 _resultobj
= Py_None
;
3802 #define wxBrush_GetStipple(_swigobj) (_swigobj->GetStipple())
3803 static PyObject
*_wrap_wxBrush_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3804 PyObject
* _resultobj
;
3807 PyObject
* _argo0
= 0;
3808 char *_kwnames
[] = { "self", NULL
};
3812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetStipple",_kwnames
,&_argo0
))
3815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStipple. Expected _wxBrush_p.");
3822 wxPy_BEGIN_ALLOW_THREADS
;
3823 _result
= (wxBitmap
*)wxBrush_GetStipple(_arg0
);
3825 wxPy_END_ALLOW_THREADS
;
3827 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
3828 _resultobj
= Py_BuildValue("s",_ptemp
);
3831 _resultobj
= Py_None
;
3836 #define wxBrush_GetStyle(_swigobj) (_swigobj->GetStyle())
3837 static PyObject
*_wrap_wxBrush_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3838 PyObject
* _resultobj
;
3841 PyObject
* _argo0
= 0;
3842 char *_kwnames
[] = { "self", NULL
};
3845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetStyle",_kwnames
,&_argo0
))
3848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStyle. Expected _wxBrush_p.");
3855 wxPy_BEGIN_ALLOW_THREADS
;
3856 _result
= (int )wxBrush_GetStyle(_arg0
);
3858 wxPy_END_ALLOW_THREADS
;
3859 } _resultobj
= Py_BuildValue("i",_result
);
3863 #define wxBrush_Ok(_swigobj) (_swigobj->Ok())
3864 static PyObject
*_wrap_wxBrush_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3865 PyObject
* _resultobj
;
3868 PyObject
* _argo0
= 0;
3869 char *_kwnames
[] = { "self", NULL
};
3872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_Ok",_kwnames
,&_argo0
))
3875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_Ok. Expected _wxBrush_p.");
3882 wxPy_BEGIN_ALLOW_THREADS
;
3883 _result
= (bool )wxBrush_Ok(_arg0
);
3885 wxPy_END_ALLOW_THREADS
;
3886 } _resultobj
= Py_BuildValue("i",_result
);
3890 #define wxBrush_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
3891 static PyObject
*_wrap_wxBrush_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3892 PyObject
* _resultobj
;
3895 PyObject
* _argo0
= 0;
3897 PyObject
* _obj1
= 0;
3898 char *_kwnames
[] = { "self","colour", NULL
};
3901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrush_SetColour",_kwnames
,&_argo0
,&_obj1
))
3904 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3905 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetColour. Expected _wxBrush_p.");
3912 if (! wxColour_helper(_obj1
, &_arg1
))
3916 wxPy_BEGIN_ALLOW_THREADS
;
3917 wxBrush_SetColour(_arg0
,*_arg1
);
3919 wxPy_END_ALLOW_THREADS
;
3920 } Py_INCREF(Py_None
);
3921 _resultobj
= Py_None
;
3925 #define wxBrush_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
3926 static PyObject
*_wrap_wxBrush_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3927 PyObject
* _resultobj
;
3930 PyObject
* _argo0
= 0;
3931 PyObject
* _argo1
= 0;
3932 char *_kwnames
[] = { "self","bitmap", NULL
};
3935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrush_SetStipple",_kwnames
,&_argo0
,&_argo1
))
3938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStipple. Expected _wxBrush_p.");
3945 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3946 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
3947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrush_SetStipple. Expected _wxBitmap_p.");
3952 wxPy_BEGIN_ALLOW_THREADS
;
3953 wxBrush_SetStipple(_arg0
,*_arg1
);
3955 wxPy_END_ALLOW_THREADS
;
3956 } Py_INCREF(Py_None
);
3957 _resultobj
= Py_None
;
3961 #define wxBrush_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
3962 static PyObject
*_wrap_wxBrush_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3963 PyObject
* _resultobj
;
3966 PyObject
* _argo0
= 0;
3967 char *_kwnames
[] = { "self","style", NULL
};
3970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBrush_SetStyle",_kwnames
,&_argo0
,&_arg1
))
3973 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3974 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStyle. Expected _wxBrush_p.");
3980 wxPy_BEGIN_ALLOW_THREADS
;
3981 wxBrush_SetStyle(_arg0
,_arg1
);
3983 wxPy_END_ALLOW_THREADS
;
3984 } Py_INCREF(Py_None
);
3985 _resultobj
= Py_None
;
3989 #define wxBrushList_AddBrush(_swigobj,_swigarg0) (_swigobj->AddBrush(_swigarg0))
3990 static PyObject
*_wrap_wxBrushList_AddBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3991 PyObject
* _resultobj
;
3992 wxBrushList
* _arg0
;
3994 PyObject
* _argo0
= 0;
3995 PyObject
* _argo1
= 0;
3996 char *_kwnames
[] = { "self","brush", NULL
};
3999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrushList_AddBrush",_kwnames
,&_argo0
,&_argo1
))
4002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
4004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_AddBrush. Expected _wxBrushList_p.");
4009 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4010 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
4011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrushList_AddBrush. Expected _wxBrush_p.");
4016 wxPy_BEGIN_ALLOW_THREADS
;
4017 wxBrushList_AddBrush(_arg0
,_arg1
);
4019 wxPy_END_ALLOW_THREADS
;
4020 } Py_INCREF(Py_None
);
4021 _resultobj
= Py_None
;
4025 #define wxBrushList_FindOrCreateBrush(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindOrCreateBrush(_swigarg0,_swigarg1))
4026 static PyObject
*_wrap_wxBrushList_FindOrCreateBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4027 PyObject
* _resultobj
;
4029 wxBrushList
* _arg0
;
4032 PyObject
* _argo0
= 0;
4034 PyObject
* _obj1
= 0;
4035 char *_kwnames
[] = { "self","colour","style", NULL
};
4039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxBrushList_FindOrCreateBrush",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
4042 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4043 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
4044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_FindOrCreateBrush. Expected _wxBrushList_p.");
4050 if (! wxColour_helper(_obj1
, &_arg1
))
4054 wxPy_BEGIN_ALLOW_THREADS
;
4055 _result
= (wxBrush
*)wxBrushList_FindOrCreateBrush(_arg0
,*_arg1
,_arg2
);
4057 wxPy_END_ALLOW_THREADS
;
4059 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
4060 _resultobj
= Py_BuildValue("s",_ptemp
);
4063 _resultobj
= Py_None
;
4068 #define wxBrushList_RemoveBrush(_swigobj,_swigarg0) (_swigobj->RemoveBrush(_swigarg0))
4069 static PyObject
*_wrap_wxBrushList_RemoveBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4070 PyObject
* _resultobj
;
4071 wxBrushList
* _arg0
;
4073 PyObject
* _argo0
= 0;
4074 PyObject
* _argo1
= 0;
4075 char *_kwnames
[] = { "self","brush", NULL
};
4078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrushList_RemoveBrush",_kwnames
,&_argo0
,&_argo1
))
4081 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4082 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
4083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_RemoveBrush. Expected _wxBrushList_p.");
4088 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4089 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
4090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrushList_RemoveBrush. Expected _wxBrush_p.");
4095 wxPy_BEGIN_ALLOW_THREADS
;
4096 wxBrushList_RemoveBrush(_arg0
,_arg1
);
4098 wxPy_END_ALLOW_THREADS
;
4099 } Py_INCREF(Py_None
);
4100 _resultobj
= Py_None
;
4104 #define delete_wxDC(_swigobj) (delete _swigobj)
4105 static PyObject
*_wrap_delete_wxDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4106 PyObject
* _resultobj
;
4108 PyObject
* _argo0
= 0;
4109 char *_kwnames
[] = { "self", NULL
};
4112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDC",_kwnames
,&_argo0
))
4115 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4116 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDC. Expected _wxDC_p.");
4122 wxPy_BEGIN_ALLOW_THREADS
;
4125 wxPy_END_ALLOW_THREADS
;
4126 } Py_INCREF(Py_None
);
4127 _resultobj
= Py_None
;
4131 #define wxDC_BeginDrawing(_swigobj) (_swigobj->BeginDrawing())
4132 static PyObject
*_wrap_wxDC_BeginDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4133 PyObject
* _resultobj
;
4135 PyObject
* _argo0
= 0;
4136 char *_kwnames
[] = { "self", NULL
};
4139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_BeginDrawing",_kwnames
,&_argo0
))
4142 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4143 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_BeginDrawing. Expected _wxDC_p.");
4149 wxPy_BEGIN_ALLOW_THREADS
;
4150 wxDC_BeginDrawing(_arg0
);
4152 wxPy_END_ALLOW_THREADS
;
4153 } Py_INCREF(Py_None
);
4154 _resultobj
= Py_None
;
4158 #define wxDC_Blit(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Blit(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4159 static PyObject
*_wrap_wxDC_Blit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4160 PyObject
* _resultobj
;
4170 int _arg8
= (int ) wxCOPY
;
4171 int _arg9
= (int ) FALSE
;
4172 PyObject
* _argo0
= 0;
4173 PyObject
* _argo5
= 0;
4174 char *_kwnames
[] = { "self","xdest","ydest","width","height","source","xsrc","ysrc","logicalFunc","useMask", NULL
};
4177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllllOll|ii:wxDC_Blit",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_argo5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
))
4180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Blit. Expected _wxDC_p.");
4187 if (_argo5
== Py_None
) { _arg5
= NULL
; }
4188 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxDC_p")) {
4189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxDC_Blit. Expected _wxDC_p.");
4194 wxPy_BEGIN_ALLOW_THREADS
;
4195 _result
= (bool )wxDC_Blit(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
4197 wxPy_END_ALLOW_THREADS
;
4198 } _resultobj
= Py_BuildValue("i",_result
);
4202 #define wxDC_Clear(_swigobj) (_swigobj->Clear())
4203 static PyObject
*_wrap_wxDC_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4204 PyObject
* _resultobj
;
4206 PyObject
* _argo0
= 0;
4207 char *_kwnames
[] = { "self", NULL
};
4210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_Clear",_kwnames
,&_argo0
))
4213 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4214 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Clear. Expected _wxDC_p.");
4220 wxPy_BEGIN_ALLOW_THREADS
;
4223 wxPy_END_ALLOW_THREADS
;
4224 } Py_INCREF(Py_None
);
4225 _resultobj
= Py_None
;
4229 #define wxDC_CrossHair(_swigobj,_swigarg0,_swigarg1) (_swigobj->CrossHair(_swigarg0,_swigarg1))
4230 static PyObject
*_wrap_wxDC_CrossHair(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4231 PyObject
* _resultobj
;
4235 PyObject
* _argo0
= 0;
4236 char *_kwnames
[] = { "self","x","y", NULL
};
4239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_CrossHair",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
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_CrossHair. Expected _wxDC_p.");
4249 wxPy_BEGIN_ALLOW_THREADS
;
4250 wxDC_CrossHair(_arg0
,_arg1
,_arg2
);
4252 wxPy_END_ALLOW_THREADS
;
4253 } Py_INCREF(Py_None
);
4254 _resultobj
= Py_None
;
4258 #define wxDC_DestroyClippingRegion(_swigobj) (_swigobj->DestroyClippingRegion())
4259 static PyObject
*_wrap_wxDC_DestroyClippingRegion(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_DestroyClippingRegion",_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_DestroyClippingRegion. Expected _wxDC_p.");
4276 wxPy_BEGIN_ALLOW_THREADS
;
4277 wxDC_DestroyClippingRegion(_arg0
);
4279 wxPy_END_ALLOW_THREADS
;
4280 } Py_INCREF(Py_None
);
4281 _resultobj
= Py_None
;
4285 #define wxDC_DeviceToLogicalX(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalX(_swigarg0))
4286 static PyObject
*_wrap_wxDC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4287 PyObject
* _resultobj
;
4291 PyObject
* _argo0
= 0;
4292 char *_kwnames
[] = { "self","x", NULL
};
4295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalX",_kwnames
,&_argo0
,&_arg1
))
4298 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4299 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalX. Expected _wxDC_p.");
4305 wxPy_BEGIN_ALLOW_THREADS
;
4306 _result
= (long )wxDC_DeviceToLogicalX(_arg0
,_arg1
);
4308 wxPy_END_ALLOW_THREADS
;
4309 } _resultobj
= Py_BuildValue("l",_result
);
4313 #define wxDC_DeviceToLogicalXRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalXRel(_swigarg0))
4314 static PyObject
*_wrap_wxDC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4315 PyObject
* _resultobj
;
4319 PyObject
* _argo0
= 0;
4320 char *_kwnames
[] = { "self","x", NULL
};
4323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalXRel",_kwnames
,&_argo0
,&_arg1
))
4326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalXRel. Expected _wxDC_p.");
4333 wxPy_BEGIN_ALLOW_THREADS
;
4334 _result
= (long )wxDC_DeviceToLogicalXRel(_arg0
,_arg1
);
4336 wxPy_END_ALLOW_THREADS
;
4337 } _resultobj
= Py_BuildValue("l",_result
);
4341 #define wxDC_DeviceToLogicalY(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalY(_swigarg0))
4342 static PyObject
*_wrap_wxDC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4343 PyObject
* _resultobj
;
4347 PyObject
* _argo0
= 0;
4348 char *_kwnames
[] = { "self","y", NULL
};
4351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalY",_kwnames
,&_argo0
,&_arg1
))
4354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalY. Expected _wxDC_p.");
4361 wxPy_BEGIN_ALLOW_THREADS
;
4362 _result
= (long )wxDC_DeviceToLogicalY(_arg0
,_arg1
);
4364 wxPy_END_ALLOW_THREADS
;
4365 } _resultobj
= Py_BuildValue("l",_result
);
4369 #define wxDC_DeviceToLogicalYRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalYRel(_swigarg0))
4370 static PyObject
*_wrap_wxDC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4371 PyObject
* _resultobj
;
4375 PyObject
* _argo0
= 0;
4376 char *_kwnames
[] = { "self","y", NULL
};
4379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalYRel",_kwnames
,&_argo0
,&_arg1
))
4382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalYRel. Expected _wxDC_p.");
4389 wxPy_BEGIN_ALLOW_THREADS
;
4390 _result
= (long )wxDC_DeviceToLogicalYRel(_arg0
,_arg1
);
4392 wxPy_END_ALLOW_THREADS
;
4393 } _resultobj
= Py_BuildValue("l",_result
);
4397 #define wxDC_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4398 static PyObject
*_wrap_wxDC_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4399 PyObject
* _resultobj
;
4407 PyObject
* _argo0
= 0;
4408 char *_kwnames
[] = { "self","x1","y1","x2","y2","xc","yc", NULL
};
4411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollllll:wxDC_DrawArc",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
4414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawArc. Expected _wxDC_p.");
4421 wxPy_BEGIN_ALLOW_THREADS
;
4422 wxDC_DrawArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4424 wxPy_END_ALLOW_THREADS
;
4425 } Py_INCREF(Py_None
);
4426 _resultobj
= Py_None
;
4430 #define wxDC_DrawCircle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawCircle(_swigarg0,_swigarg1,_swigarg2))
4431 static PyObject
*_wrap_wxDC_DrawCircle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4432 PyObject
* _resultobj
;
4437 PyObject
* _argo0
= 0;
4438 char *_kwnames
[] = { "self","x","y","radius", NULL
};
4441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olll:wxDC_DrawCircle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawCircle. Expected _wxDC_p.");
4451 wxPy_BEGIN_ALLOW_THREADS
;
4452 wxDC_DrawCircle(_arg0
,_arg1
,_arg2
,_arg3
);
4454 wxPy_END_ALLOW_THREADS
;
4455 } Py_INCREF(Py_None
);
4456 _resultobj
= Py_None
;
4460 #define wxDC_DrawEllipse(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawEllipse(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4461 static PyObject
*_wrap_wxDC_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4462 PyObject
* _resultobj
;
4468 PyObject
* _argo0
= 0;
4469 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
4472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawEllipse",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipse. Expected _wxDC_p.");
4482 wxPy_BEGIN_ALLOW_THREADS
;
4483 wxDC_DrawEllipse(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4485 wxPy_END_ALLOW_THREADS
;
4486 } Py_INCREF(Py_None
);
4487 _resultobj
= Py_None
;
4491 #define wxDC_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4492 static PyObject
*_wrap_wxDC_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4493 PyObject
* _resultobj
;
4501 PyObject
* _argo0
= 0;
4502 char *_kwnames
[] = { "self","x","y","width","height","start","end", NULL
};
4505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollllll:wxDC_DrawEllipticArc",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
4508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipticArc. Expected _wxDC_p.");
4515 wxPy_BEGIN_ALLOW_THREADS
;
4516 wxDC_DrawEllipticArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4518 wxPy_END_ALLOW_THREADS
;
4519 } Py_INCREF(Py_None
);
4520 _resultobj
= Py_None
;
4524 #define wxDC_DrawIcon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawIcon(_swigarg0,_swigarg1,_swigarg2))
4525 static PyObject
*_wrap_wxDC_DrawIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4526 PyObject
* _resultobj
;
4531 PyObject
* _argo0
= 0;
4532 PyObject
* _argo1
= 0;
4533 char *_kwnames
[] = { "self","icon","x","y", NULL
};
4536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll:wxDC_DrawIcon",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
4539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawIcon. Expected _wxDC_p.");
4546 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4547 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
4548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawIcon. Expected _wxIcon_p.");
4553 wxPy_BEGIN_ALLOW_THREADS
;
4554 wxDC_DrawIcon(_arg0
,*_arg1
,_arg2
,_arg3
);
4556 wxPy_END_ALLOW_THREADS
;
4557 } Py_INCREF(Py_None
);
4558 _resultobj
= Py_None
;
4562 #define wxDC_DrawLine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4563 static PyObject
*_wrap_wxDC_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4564 PyObject
* _resultobj
;
4570 PyObject
* _argo0
= 0;
4571 char *_kwnames
[] = { "self","x1","y1","x2","y2", NULL
};
4574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawLine",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLine. Expected _wxDC_p.");
4584 wxPy_BEGIN_ALLOW_THREADS
;
4585 wxDC_DrawLine(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4587 wxPy_END_ALLOW_THREADS
;
4588 } Py_INCREF(Py_None
);
4589 _resultobj
= Py_None
;
4593 #define wxDC_DrawLines(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLines(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4594 static PyObject
*_wrap_wxDC_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4595 PyObject
* _resultobj
;
4599 long _arg3
= (long ) 0;
4600 long _arg4
= (long ) 0;
4601 PyObject
* _argo0
= 0;
4602 PyObject
* _obj2
= 0;
4603 char *_kwnames
[] = { "self","points","xoffset","yoffset", NULL
};
4606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ll:wxDC_DrawLines",_kwnames
,&_argo0
,&_obj2
,&_arg3
,&_arg4
))
4609 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4610 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLines. Expected _wxDC_p.");
4617 _arg2
= wxPoint_LIST_helper(_obj2
);
4618 if (_arg2
== NULL
) {
4624 _arg1
= PyList_Size(_obj2
);
4631 wxPy_BEGIN_ALLOW_THREADS
;
4632 wxDC_DrawLines(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4634 wxPy_END_ALLOW_THREADS
;
4635 } Py_INCREF(Py_None
);
4636 _resultobj
= Py_None
;
4643 #define wxDC_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4644 static PyObject
*_wrap_wxDC_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4645 PyObject
* _resultobj
;
4649 long _arg3
= (long ) 0;
4650 long _arg4
= (long ) 0;
4651 int _arg5
= (int ) wxODDEVEN_RULE
;
4652 PyObject
* _argo0
= 0;
4653 PyObject
* _obj2
= 0;
4654 char *_kwnames
[] = { "self","points","xoffset","yoffset","fill_style", NULL
};
4657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|lli:wxDC_DrawPolygon",_kwnames
,&_argo0
,&_obj2
,&_arg3
,&_arg4
,&_arg5
))
4660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPolygon. Expected _wxDC_p.");
4668 _arg2
= wxPoint_LIST_helper(_obj2
);
4669 if (_arg2
== NULL
) {
4675 _arg1
= PyList_Size(_obj2
);
4682 wxPy_BEGIN_ALLOW_THREADS
;
4683 wxDC_DrawPolygon(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4685 wxPy_END_ALLOW_THREADS
;
4686 } Py_INCREF(Py_None
);
4687 _resultobj
= Py_None
;
4694 #define wxDC_DrawPoint(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawPoint(_swigarg0,_swigarg1))
4695 static PyObject
*_wrap_wxDC_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4696 PyObject
* _resultobj
;
4700 PyObject
* _argo0
= 0;
4701 char *_kwnames
[] = { "self","x","y", NULL
};
4704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_DrawPoint",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPoint. Expected _wxDC_p.");
4714 wxPy_BEGIN_ALLOW_THREADS
;
4715 wxDC_DrawPoint(_arg0
,_arg1
,_arg2
);
4717 wxPy_END_ALLOW_THREADS
;
4718 } Py_INCREF(Py_None
);
4719 _resultobj
= Py_None
;
4723 #define wxDC_DrawRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4724 static PyObject
*_wrap_wxDC_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4725 PyObject
* _resultobj
;
4731 PyObject
* _argo0
= 0;
4732 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
4735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawRectangle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRectangle. Expected _wxDC_p.");
4745 wxPy_BEGIN_ALLOW_THREADS
;
4746 wxDC_DrawRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4748 wxPy_END_ALLOW_THREADS
;
4749 } Py_INCREF(Py_None
);
4750 _resultobj
= Py_None
;
4754 #define wxDC_DrawRotatedText(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRotatedText(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4755 static PyObject
*_wrap_wxDC_DrawRotatedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4756 PyObject
* _resultobj
;
4762 PyObject
* _argo0
= 0;
4763 PyObject
* _obj1
= 0;
4764 char *_kwnames
[] = { "self","text","x","y","angle", NULL
};
4767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiid:wxDC_DrawRotatedText",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_arg4
))
4770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRotatedText. Expected _wxDC_p.");
4777 #if PYTHON_API_VERSION >= 1009
4778 char* tmpPtr
; int tmpSize
;
4779 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4780 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
4783 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4785 _arg1
= new wxString(tmpPtr
, tmpSize
);
4787 if (!PyString_Check(_obj1
)) {
4788 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4791 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4795 wxPy_BEGIN_ALLOW_THREADS
;
4796 wxDC_DrawRotatedText(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
4798 wxPy_END_ALLOW_THREADS
;
4799 } Py_INCREF(Py_None
);
4800 _resultobj
= Py_None
;
4808 #define wxDC_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4809 static PyObject
*_wrap_wxDC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4810 PyObject
* _resultobj
;
4816 long _arg5
= (long ) 20;
4817 PyObject
* _argo0
= 0;
4818 char *_kwnames
[] = { "self","x","y","width","height","radius", NULL
};
4821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll|l:wxDC_DrawRoundedRectangle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
4824 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4825 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRoundedRectangle. Expected _wxDC_p.");
4831 wxPy_BEGIN_ALLOW_THREADS
;
4832 wxDC_DrawRoundedRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4834 wxPy_END_ALLOW_THREADS
;
4835 } Py_INCREF(Py_None
);
4836 _resultobj
= Py_None
;
4840 #define wxDC_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1))
4841 static PyObject
*_wrap_wxDC_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4842 PyObject
* _resultobj
;
4846 PyObject
* _argo0
= 0;
4847 PyObject
* _obj2
= 0;
4848 char *_kwnames
[] = { "self","points", NULL
};
4851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_DrawSpline",_kwnames
,&_argo0
,&_obj2
))
4854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawSpline. Expected _wxDC_p.");
4862 _arg2
= wxPoint_LIST_helper(_obj2
);
4863 if (_arg2
== NULL
) {
4869 _arg1
= PyList_Size(_obj2
);
4876 wxPy_BEGIN_ALLOW_THREADS
;
4877 wxDC_DrawSpline(_arg0
,_arg1
,_arg2
);
4879 wxPy_END_ALLOW_THREADS
;
4880 } Py_INCREF(Py_None
);
4881 _resultobj
= Py_None
;
4888 #define wxDC_DrawText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawText(_swigarg0,_swigarg1,_swigarg2))
4889 static PyObject
*_wrap_wxDC_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4890 PyObject
* _resultobj
;
4895 PyObject
* _argo0
= 0;
4896 PyObject
* _obj1
= 0;
4897 char *_kwnames
[] = { "self","text","x","y", NULL
};
4900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll:wxDC_DrawText",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
))
4903 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4904 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawText. Expected _wxDC_p.");
4910 #if PYTHON_API_VERSION >= 1009
4911 char* tmpPtr
; int tmpSize
;
4912 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4913 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
4916 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4918 _arg1
= new wxString(tmpPtr
, tmpSize
);
4920 if (!PyString_Check(_obj1
)) {
4921 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4924 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4928 wxPy_BEGIN_ALLOW_THREADS
;
4929 wxDC_DrawText(_arg0
,*_arg1
,_arg2
,_arg3
);
4931 wxPy_END_ALLOW_THREADS
;
4932 } Py_INCREF(Py_None
);
4933 _resultobj
= Py_None
;
4941 #define wxDC_EndDoc(_swigobj) (_swigobj->EndDoc())
4942 static PyObject
*_wrap_wxDC_EndDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4943 PyObject
* _resultobj
;
4945 PyObject
* _argo0
= 0;
4946 char *_kwnames
[] = { "self", NULL
};
4949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndDoc",_kwnames
,&_argo0
))
4952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDoc. Expected _wxDC_p.");
4959 wxPy_BEGIN_ALLOW_THREADS
;
4962 wxPy_END_ALLOW_THREADS
;
4963 } Py_INCREF(Py_None
);
4964 _resultobj
= Py_None
;
4968 #define wxDC_EndDrawing(_swigobj) (_swigobj->EndDrawing())
4969 static PyObject
*_wrap_wxDC_EndDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4970 PyObject
* _resultobj
;
4972 PyObject
* _argo0
= 0;
4973 char *_kwnames
[] = { "self", NULL
};
4976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndDrawing",_kwnames
,&_argo0
))
4979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDrawing. Expected _wxDC_p.");
4986 wxPy_BEGIN_ALLOW_THREADS
;
4987 wxDC_EndDrawing(_arg0
);
4989 wxPy_END_ALLOW_THREADS
;
4990 } Py_INCREF(Py_None
);
4991 _resultobj
= Py_None
;
4995 #define wxDC_EndPage(_swigobj) (_swigobj->EndPage())
4996 static PyObject
*_wrap_wxDC_EndPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4997 PyObject
* _resultobj
;
4999 PyObject
* _argo0
= 0;
5000 char *_kwnames
[] = { "self", NULL
};
5003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndPage",_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_EndPage. Expected _wxDC_p.");
5013 wxPy_BEGIN_ALLOW_THREADS
;
5014 wxDC_EndPage(_arg0
);
5016 wxPy_END_ALLOW_THREADS
;
5017 } Py_INCREF(Py_None
);
5018 _resultobj
= Py_None
;
5022 #define wxDC_FloodFill(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FloodFill(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5023 static PyObject
*_wrap_wxDC_FloodFill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5024 PyObject
* _resultobj
;
5029 int _arg4
= (int ) wxFLOOD_SURFACE
;
5030 PyObject
* _argo0
= 0;
5032 PyObject
* _obj3
= 0;
5033 char *_kwnames
[] = { "self","x","y","colour","style", NULL
};
5036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO|i:wxDC_FloodFill",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
5039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_FloodFill. Expected _wxDC_p.");
5047 if (! wxColour_helper(_obj3
, &_arg3
))
5051 wxPy_BEGIN_ALLOW_THREADS
;
5052 wxDC_FloodFill(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
5054 wxPy_END_ALLOW_THREADS
;
5055 } Py_INCREF(Py_None
);
5056 _resultobj
= Py_None
;
5060 #define wxDC_GetBackground(_swigobj) (_swigobj->GetBackground())
5061 static PyObject
*_wrap_wxDC_GetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5062 PyObject
* _resultobj
;
5065 PyObject
* _argo0
= 0;
5066 char *_kwnames
[] = { "self", NULL
};
5070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBackground",_kwnames
,&_argo0
))
5073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBackground. Expected _wxDC_p.");
5080 wxPy_BEGIN_ALLOW_THREADS
;
5081 wxBrush
& _result_ref
= wxDC_GetBackground(_arg0
);
5082 _result
= (wxBrush
*) &_result_ref
;
5084 wxPy_END_ALLOW_THREADS
;
5086 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
5087 _resultobj
= Py_BuildValue("s",_ptemp
);
5090 _resultobj
= Py_None
;
5095 #define wxDC_GetBrush(_swigobj) (_swigobj->GetBrush())
5096 static PyObject
*_wrap_wxDC_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5097 PyObject
* _resultobj
;
5100 PyObject
* _argo0
= 0;
5101 char *_kwnames
[] = { "self", NULL
};
5105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBrush",_kwnames
,&_argo0
))
5108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBrush. Expected _wxDC_p.");
5115 wxPy_BEGIN_ALLOW_THREADS
;
5116 wxBrush
& _result_ref
= wxDC_GetBrush(_arg0
);
5117 _result
= (wxBrush
*) &_result_ref
;
5119 wxPy_END_ALLOW_THREADS
;
5121 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
5122 _resultobj
= Py_BuildValue("s",_ptemp
);
5125 _resultobj
= Py_None
;
5130 #define wxDC_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
5131 static PyObject
*_wrap_wxDC_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5132 PyObject
* _resultobj
;
5135 PyObject
* _argo0
= 0;
5136 char *_kwnames
[] = { "self", NULL
};
5139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetCharHeight",_kwnames
,&_argo0
))
5142 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5143 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharHeight. Expected _wxDC_p.");
5149 wxPy_BEGIN_ALLOW_THREADS
;
5150 _result
= (long )wxDC_GetCharHeight(_arg0
);
5152 wxPy_END_ALLOW_THREADS
;
5153 } _resultobj
= Py_BuildValue("l",_result
);
5157 #define wxDC_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
5158 static PyObject
*_wrap_wxDC_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5159 PyObject
* _resultobj
;
5162 PyObject
* _argo0
= 0;
5163 char *_kwnames
[] = { "self", NULL
};
5166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetCharWidth",_kwnames
,&_argo0
))
5169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharWidth. Expected _wxDC_p.");
5176 wxPy_BEGIN_ALLOW_THREADS
;
5177 _result
= (long )wxDC_GetCharWidth(_arg0
);
5179 wxPy_END_ALLOW_THREADS
;
5180 } _resultobj
= Py_BuildValue("l",_result
);
5184 #define wxDC_GetClippingBox(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetClippingBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5185 static PyObject
*_wrap_wxDC_GetClippingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5186 PyObject
* _resultobj
;
5196 PyObject
* _argo0
= 0;
5197 char *_kwnames
[] = { "self", NULL
};
5212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetClippingBox",_kwnames
,&_argo0
))
5215 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5216 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetClippingBox. Expected _wxDC_p.");
5222 wxPy_BEGIN_ALLOW_THREADS
;
5223 wxDC_GetClippingBox(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5225 wxPy_END_ALLOW_THREADS
;
5226 } Py_INCREF(Py_None
);
5227 _resultobj
= Py_None
;
5230 o
= PyInt_FromLong((long) (*_arg1
));
5231 _resultobj
= t_output_helper(_resultobj
, o
);
5235 o
= PyInt_FromLong((long) (*_arg2
));
5236 _resultobj
= t_output_helper(_resultobj
, o
);
5240 o
= PyInt_FromLong((long) (*_arg3
));
5241 _resultobj
= t_output_helper(_resultobj
, o
);
5245 o
= PyInt_FromLong((long) (*_arg4
));
5246 _resultobj
= t_output_helper(_resultobj
, o
);
5251 #define wxDC_GetFont(_swigobj) (_swigobj->GetFont())
5252 static PyObject
*_wrap_wxDC_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5253 PyObject
* _resultobj
;
5256 PyObject
* _argo0
= 0;
5257 char *_kwnames
[] = { "self", NULL
};
5261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetFont",_kwnames
,&_argo0
))
5264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFont. Expected _wxDC_p.");
5271 wxPy_BEGIN_ALLOW_THREADS
;
5272 wxFont
& _result_ref
= wxDC_GetFont(_arg0
);
5273 _result
= (wxFont
*) &_result_ref
;
5275 wxPy_END_ALLOW_THREADS
;
5277 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
5278 _resultobj
= Py_BuildValue("s",_ptemp
);
5281 _resultobj
= Py_None
;
5286 #define wxDC_GetLogicalFunction(_swigobj) (_swigobj->GetLogicalFunction())
5287 static PyObject
*_wrap_wxDC_GetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5288 PyObject
* _resultobj
;
5291 PyObject
* _argo0
= 0;
5292 char *_kwnames
[] = { "self", NULL
};
5295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalFunction",_kwnames
,&_argo0
))
5298 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5299 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalFunction. Expected _wxDC_p.");
5305 wxPy_BEGIN_ALLOW_THREADS
;
5306 _result
= (int )wxDC_GetLogicalFunction(_arg0
);
5308 wxPy_END_ALLOW_THREADS
;
5309 } _resultobj
= Py_BuildValue("i",_result
);
5313 #define wxDC_GetLogicalScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLogicalScale(_swigarg0,_swigarg1))
5314 static PyObject
*_wrap_wxDC_GetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5315 PyObject
* _resultobj
;
5321 PyObject
* _argo0
= 0;
5322 char *_kwnames
[] = { "self", NULL
};
5331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalScale",_kwnames
,&_argo0
))
5334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalScale. Expected _wxDC_p.");
5341 wxPy_BEGIN_ALLOW_THREADS
;
5342 wxDC_GetLogicalScale(_arg0
,_arg1
,_arg2
);
5344 wxPy_END_ALLOW_THREADS
;
5345 } Py_INCREF(Py_None
);
5346 _resultobj
= Py_None
;
5349 o
= PyFloat_FromDouble((double) (*_arg1
));
5350 _resultobj
= t_output_helper(_resultobj
, o
);
5354 o
= PyFloat_FromDouble((double) (*_arg2
));
5355 _resultobj
= t_output_helper(_resultobj
, o
);
5360 #define wxDC_GetMapMode(_swigobj) (_swigobj->GetMapMode())
5361 static PyObject
*_wrap_wxDC_GetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5362 PyObject
* _resultobj
;
5365 PyObject
* _argo0
= 0;
5366 char *_kwnames
[] = { "self", NULL
};
5369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetMapMode",_kwnames
,&_argo0
))
5372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetMapMode. Expected _wxDC_p.");
5379 wxPy_BEGIN_ALLOW_THREADS
;
5380 _result
= (int )wxDC_GetMapMode(_arg0
);
5382 wxPy_END_ALLOW_THREADS
;
5383 } _resultobj
= Py_BuildValue("i",_result
);
5387 #define wxDC_GetOptimization(_swigobj) (_swigobj->GetOptimization())
5388 static PyObject
*_wrap_wxDC_GetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5389 PyObject
* _resultobj
;
5392 PyObject
* _argo0
= 0;
5393 char *_kwnames
[] = { "self", NULL
};
5396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetOptimization",_kwnames
,&_argo0
))
5399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetOptimization. Expected _wxDC_p.");
5406 wxPy_BEGIN_ALLOW_THREADS
;
5407 _result
= (bool )wxDC_GetOptimization(_arg0
);
5409 wxPy_END_ALLOW_THREADS
;
5410 } _resultobj
= Py_BuildValue("i",_result
);
5414 #define wxDC_GetPen(_swigobj) (_swigobj->GetPen())
5415 static PyObject
*_wrap_wxDC_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5416 PyObject
* _resultobj
;
5419 PyObject
* _argo0
= 0;
5420 char *_kwnames
[] = { "self", NULL
};
5424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetPen",_kwnames
,&_argo0
))
5427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPen. Expected _wxDC_p.");
5434 wxPy_BEGIN_ALLOW_THREADS
;
5435 wxPen
& _result_ref
= wxDC_GetPen(_arg0
);
5436 _result
= (wxPen
*) &_result_ref
;
5438 wxPy_END_ALLOW_THREADS
;
5440 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
5441 _resultobj
= Py_BuildValue("s",_ptemp
);
5444 _resultobj
= Py_None
;
5449 static wxColour
* wxDC_GetPixel(wxDC
*self
,long x
,long y
) {
5450 wxColour
* wc
= new wxColour();
5451 self
->GetPixel(x
, y
, wc
);
5454 static PyObject
*_wrap_wxDC_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5455 PyObject
* _resultobj
;
5460 PyObject
* _argo0
= 0;
5461 char *_kwnames
[] = { "self","x","y", NULL
};
5465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_GetPixel",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5468 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5469 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPixel. Expected _wxDC_p.");
5475 wxPy_BEGIN_ALLOW_THREADS
;
5476 _result
= (wxColour
*)wxDC_GetPixel(_arg0
,_arg1
,_arg2
);
5478 wxPy_END_ALLOW_THREADS
;
5480 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
5481 _resultobj
= Py_BuildValue("s",_ptemp
);
5484 _resultobj
= Py_None
;
5489 #define wxDC_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
5490 static PyObject
*_wrap_wxDC_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5491 PyObject
* _resultobj
;
5497 PyObject
* _argo0
= 0;
5498 char *_kwnames
[] = { "self", NULL
};
5507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSizeTuple",_kwnames
,&_argo0
))
5510 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5511 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSizeTuple. Expected _wxDC_p.");
5517 wxPy_BEGIN_ALLOW_THREADS
;
5518 wxDC_GetSizeTuple(_arg0
,_arg1
,_arg2
);
5520 wxPy_END_ALLOW_THREADS
;
5521 } Py_INCREF(Py_None
);
5522 _resultobj
= Py_None
;
5525 o
= PyInt_FromLong((long) (*_arg1
));
5526 _resultobj
= t_output_helper(_resultobj
, o
);
5530 o
= PyInt_FromLong((long) (*_arg2
));
5531 _resultobj
= t_output_helper(_resultobj
, o
);
5536 #define wxDC_GetSize(_swigobj) (_swigobj->GetSize())
5537 static PyObject
*_wrap_wxDC_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5538 PyObject
* _resultobj
;
5541 PyObject
* _argo0
= 0;
5542 char *_kwnames
[] = { "self", NULL
};
5546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSize",_kwnames
,&_argo0
))
5549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSize. Expected _wxDC_p.");
5556 wxPy_BEGIN_ALLOW_THREADS
;
5557 _result
= new wxSize (wxDC_GetSize(_arg0
));
5559 wxPy_END_ALLOW_THREADS
;
5560 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5561 _resultobj
= Py_BuildValue("s",_ptemp
);
5565 #define wxDC_GetSizeMM(_swigobj) (_swigobj->GetSizeMM())
5566 static PyObject
*_wrap_wxDC_GetSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5567 PyObject
* _resultobj
;
5570 PyObject
* _argo0
= 0;
5571 char *_kwnames
[] = { "self", NULL
};
5575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSizeMM",_kwnames
,&_argo0
))
5578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSizeMM. Expected _wxDC_p.");
5585 wxPy_BEGIN_ALLOW_THREADS
;
5586 _result
= new wxSize (wxDC_GetSizeMM(_arg0
));
5588 wxPy_END_ALLOW_THREADS
;
5589 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5590 _resultobj
= Py_BuildValue("s",_ptemp
);
5594 #define wxDC_GetTextBackground(_swigobj) (_swigobj->GetTextBackground())
5595 static PyObject
*_wrap_wxDC_GetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5596 PyObject
* _resultobj
;
5599 PyObject
* _argo0
= 0;
5600 char *_kwnames
[] = { "self", NULL
};
5604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetTextBackground",_kwnames
,&_argo0
))
5607 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5608 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextBackground. Expected _wxDC_p.");
5614 wxPy_BEGIN_ALLOW_THREADS
;
5615 wxColour
& _result_ref
= wxDC_GetTextBackground(_arg0
);
5616 _result
= (wxColour
*) &_result_ref
;
5618 wxPy_END_ALLOW_THREADS
;
5620 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
5621 _resultobj
= Py_BuildValue("s",_ptemp
);
5624 _resultobj
= Py_None
;
5629 #define wxDC_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
5630 static PyObject
*_wrap_wxDC_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5631 PyObject
* _resultobj
;
5638 PyObject
* _argo0
= 0;
5639 PyObject
* _obj1
= 0;
5640 char *_kwnames
[] = { "self","string", NULL
};
5649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
5652 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5653 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextExtent. Expected _wxDC_p.");
5659 #if PYTHON_API_VERSION >= 1009
5660 char* tmpPtr
; int tmpSize
;
5661 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5662 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
5665 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5667 _arg1
= new wxString(tmpPtr
, tmpSize
);
5669 if (!PyString_Check(_obj1
)) {
5670 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5673 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5677 wxPy_BEGIN_ALLOW_THREADS
;
5678 wxDC_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
5680 wxPy_END_ALLOW_THREADS
;
5681 } Py_INCREF(Py_None
);
5682 _resultobj
= Py_None
;
5685 o
= PyInt_FromLong((long) (*_arg2
));
5686 _resultobj
= t_output_helper(_resultobj
, o
);
5690 o
= PyInt_FromLong((long) (*_arg3
));
5691 _resultobj
= t_output_helper(_resultobj
, o
);
5700 #define wxDC_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5701 static PyObject
*_wrap_wxDC_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5702 PyObject
* _resultobj
;
5713 wxFont
* _arg6
= (wxFont
*) NULL
;
5714 PyObject
* _argo0
= 0;
5715 PyObject
* _obj1
= 0;
5716 PyObject
* _argo6
= 0;
5717 char *_kwnames
[] = { "self","string","font", NULL
};
5732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxDC_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
5735 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5736 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFullTextExtent. Expected _wxDC_p.");
5742 #if PYTHON_API_VERSION >= 1009
5743 char* tmpPtr
; int tmpSize
;
5744 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5745 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
5748 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5750 _arg1
= new wxString(tmpPtr
, tmpSize
);
5752 if (!PyString_Check(_obj1
)) {
5753 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5756 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5760 if (_argo6
== Py_None
) { _arg6
= NULL
; }
5761 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
5762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxDC_GetFullTextExtent. Expected _wxFont_p.");
5767 wxPy_BEGIN_ALLOW_THREADS
;
5768 wxDC_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
5770 wxPy_END_ALLOW_THREADS
;
5771 } Py_INCREF(Py_None
);
5772 _resultobj
= Py_None
;
5775 o
= PyInt_FromLong((long) (*_arg2
));
5776 _resultobj
= t_output_helper(_resultobj
, o
);
5780 o
= PyInt_FromLong((long) (*_arg3
));
5781 _resultobj
= t_output_helper(_resultobj
, o
);
5785 o
= PyInt_FromLong((long) (*_arg4
));
5786 _resultobj
= t_output_helper(_resultobj
, o
);
5790 o
= PyInt_FromLong((long) (*_arg5
));
5791 _resultobj
= t_output_helper(_resultobj
, o
);
5800 #define wxDC_GetTextForeground(_swigobj) (_swigobj->GetTextForeground())
5801 static PyObject
*_wrap_wxDC_GetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5802 PyObject
* _resultobj
;
5805 PyObject
* _argo0
= 0;
5806 char *_kwnames
[] = { "self", NULL
};
5810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetTextForeground",_kwnames
,&_argo0
))
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_GetTextForeground. Expected _wxDC_p.");
5820 wxPy_BEGIN_ALLOW_THREADS
;
5821 wxColour
& _result_ref
= wxDC_GetTextForeground(_arg0
);
5822 _result
= (wxColour
*) &_result_ref
;
5824 wxPy_END_ALLOW_THREADS
;
5826 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
5827 _resultobj
= Py_BuildValue("s",_ptemp
);
5830 _resultobj
= Py_None
;
5835 #define wxDC_GetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetUserScale(_swigarg0,_swigarg1))
5836 static PyObject
*_wrap_wxDC_GetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5837 PyObject
* _resultobj
;
5843 PyObject
* _argo0
= 0;
5844 char *_kwnames
[] = { "self", NULL
};
5853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetUserScale",_kwnames
,&_argo0
))
5856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetUserScale. Expected _wxDC_p.");
5863 wxPy_BEGIN_ALLOW_THREADS
;
5864 wxDC_GetUserScale(_arg0
,_arg1
,_arg2
);
5866 wxPy_END_ALLOW_THREADS
;
5867 } Py_INCREF(Py_None
);
5868 _resultobj
= Py_None
;
5871 o
= PyFloat_FromDouble((double) (*_arg1
));
5872 _resultobj
= t_output_helper(_resultobj
, o
);
5876 o
= PyFloat_FromDouble((double) (*_arg2
));
5877 _resultobj
= t_output_helper(_resultobj
, o
);
5882 #define wxDC_LogicalToDeviceX(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceX(_swigarg0))
5883 static PyObject
*_wrap_wxDC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5884 PyObject
* _resultobj
;
5888 PyObject
* _argo0
= 0;
5889 char *_kwnames
[] = { "self","x", NULL
};
5892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceX",_kwnames
,&_argo0
,&_arg1
))
5895 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5896 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceX. Expected _wxDC_p.");
5902 wxPy_BEGIN_ALLOW_THREADS
;
5903 _result
= (long )wxDC_LogicalToDeviceX(_arg0
,_arg1
);
5905 wxPy_END_ALLOW_THREADS
;
5906 } _resultobj
= Py_BuildValue("l",_result
);
5910 #define wxDC_LogicalToDeviceXRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceXRel(_swigarg0))
5911 static PyObject
*_wrap_wxDC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5912 PyObject
* _resultobj
;
5916 PyObject
* _argo0
= 0;
5917 char *_kwnames
[] = { "self","x", NULL
};
5920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceXRel",_kwnames
,&_argo0
,&_arg1
))
5923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceXRel. Expected _wxDC_p.");
5930 wxPy_BEGIN_ALLOW_THREADS
;
5931 _result
= (long )wxDC_LogicalToDeviceXRel(_arg0
,_arg1
);
5933 wxPy_END_ALLOW_THREADS
;
5934 } _resultobj
= Py_BuildValue("l",_result
);
5938 #define wxDC_LogicalToDeviceY(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceY(_swigarg0))
5939 static PyObject
*_wrap_wxDC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5940 PyObject
* _resultobj
;
5944 PyObject
* _argo0
= 0;
5945 char *_kwnames
[] = { "self","y", NULL
};
5948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceY",_kwnames
,&_argo0
,&_arg1
))
5951 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5952 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceY. Expected _wxDC_p.");
5958 wxPy_BEGIN_ALLOW_THREADS
;
5959 _result
= (long )wxDC_LogicalToDeviceY(_arg0
,_arg1
);
5961 wxPy_END_ALLOW_THREADS
;
5962 } _resultobj
= Py_BuildValue("l",_result
);
5966 #define wxDC_LogicalToDeviceYRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceYRel(_swigarg0))
5967 static PyObject
*_wrap_wxDC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5968 PyObject
* _resultobj
;
5972 PyObject
* _argo0
= 0;
5973 char *_kwnames
[] = { "self","y", NULL
};
5976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceYRel",_kwnames
,&_argo0
,&_arg1
))
5979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceYRel. Expected _wxDC_p.");
5986 wxPy_BEGIN_ALLOW_THREADS
;
5987 _result
= (long )wxDC_LogicalToDeviceYRel(_arg0
,_arg1
);
5989 wxPy_END_ALLOW_THREADS
;
5990 } _resultobj
= Py_BuildValue("l",_result
);
5994 #define wxDC_MaxX(_swigobj) (_swigobj->MaxX())
5995 static PyObject
*_wrap_wxDC_MaxX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5996 PyObject
* _resultobj
;
5999 PyObject
* _argo0
= 0;
6000 char *_kwnames
[] = { "self", NULL
};
6003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MaxX",_kwnames
,&_argo0
))
6006 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6007 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxX. Expected _wxDC_p.");
6013 wxPy_BEGIN_ALLOW_THREADS
;
6014 _result
= (long )wxDC_MaxX(_arg0
);
6016 wxPy_END_ALLOW_THREADS
;
6017 } _resultobj
= Py_BuildValue("l",_result
);
6021 #define wxDC_MaxY(_swigobj) (_swigobj->MaxY())
6022 static PyObject
*_wrap_wxDC_MaxY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6023 PyObject
* _resultobj
;
6026 PyObject
* _argo0
= 0;
6027 char *_kwnames
[] = { "self", NULL
};
6030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MaxY",_kwnames
,&_argo0
))
6033 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6034 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxY. Expected _wxDC_p.");
6040 wxPy_BEGIN_ALLOW_THREADS
;
6041 _result
= (long )wxDC_MaxY(_arg0
);
6043 wxPy_END_ALLOW_THREADS
;
6044 } _resultobj
= Py_BuildValue("l",_result
);
6048 #define wxDC_MinX(_swigobj) (_swigobj->MinX())
6049 static PyObject
*_wrap_wxDC_MinX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6050 PyObject
* _resultobj
;
6053 PyObject
* _argo0
= 0;
6054 char *_kwnames
[] = { "self", NULL
};
6057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MinX",_kwnames
,&_argo0
))
6060 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6061 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinX. Expected _wxDC_p.");
6067 wxPy_BEGIN_ALLOW_THREADS
;
6068 _result
= (long )wxDC_MinX(_arg0
);
6070 wxPy_END_ALLOW_THREADS
;
6071 } _resultobj
= Py_BuildValue("l",_result
);
6075 #define wxDC_MinY(_swigobj) (_swigobj->MinY())
6076 static PyObject
*_wrap_wxDC_MinY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6077 PyObject
* _resultobj
;
6080 PyObject
* _argo0
= 0;
6081 char *_kwnames
[] = { "self", NULL
};
6084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MinY",_kwnames
,&_argo0
))
6087 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6088 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinY. Expected _wxDC_p.");
6094 wxPy_BEGIN_ALLOW_THREADS
;
6095 _result
= (long )wxDC_MinY(_arg0
);
6097 wxPy_END_ALLOW_THREADS
;
6098 } _resultobj
= Py_BuildValue("l",_result
);
6102 #define wxDC_Ok(_swigobj) (_swigobj->Ok())
6103 static PyObject
*_wrap_wxDC_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6104 PyObject
* _resultobj
;
6107 PyObject
* _argo0
= 0;
6108 char *_kwnames
[] = { "self", NULL
};
6111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_Ok",_kwnames
,&_argo0
))
6114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Ok. Expected _wxDC_p.");
6121 wxPy_BEGIN_ALLOW_THREADS
;
6122 _result
= (bool )wxDC_Ok(_arg0
);
6124 wxPy_END_ALLOW_THREADS
;
6125 } _resultobj
= Py_BuildValue("i",_result
);
6129 #define wxDC_SetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDeviceOrigin(_swigarg0,_swigarg1))
6130 static PyObject
*_wrap_wxDC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6131 PyObject
* _resultobj
;
6135 PyObject
* _argo0
= 0;
6136 char *_kwnames
[] = { "self","x","y", NULL
};
6139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_SetDeviceOrigin",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6142 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6143 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetDeviceOrigin. Expected _wxDC_p.");
6149 wxPy_BEGIN_ALLOW_THREADS
;
6150 wxDC_SetDeviceOrigin(_arg0
,_arg1
,_arg2
);
6152 wxPy_END_ALLOW_THREADS
;
6153 } Py_INCREF(Py_None
);
6154 _resultobj
= Py_None
;
6158 #define wxDC_SetBackground(_swigobj,_swigarg0) (_swigobj->SetBackground(_swigarg0))
6159 static PyObject
*_wrap_wxDC_SetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6160 PyObject
* _resultobj
;
6163 PyObject
* _argo0
= 0;
6164 PyObject
* _argo1
= 0;
6165 char *_kwnames
[] = { "self","brush", NULL
};
6168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetBackground",_kwnames
,&_argo0
,&_argo1
))
6171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackground. Expected _wxDC_p.");
6178 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6179 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
6180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBackground. Expected _wxBrush_p.");
6185 wxPy_BEGIN_ALLOW_THREADS
;
6186 wxDC_SetBackground(_arg0
,*_arg1
);
6188 wxPy_END_ALLOW_THREADS
;
6189 } Py_INCREF(Py_None
);
6190 _resultobj
= Py_None
;
6194 #define wxDC_SetBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetBackgroundMode(_swigarg0))
6195 static PyObject
*_wrap_wxDC_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6196 PyObject
* _resultobj
;
6199 PyObject
* _argo0
= 0;
6200 char *_kwnames
[] = { "self","mode", NULL
};
6203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetBackgroundMode",_kwnames
,&_argo0
,&_arg1
))
6206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackgroundMode. Expected _wxDC_p.");
6213 wxPy_BEGIN_ALLOW_THREADS
;
6214 wxDC_SetBackgroundMode(_arg0
,_arg1
);
6216 wxPy_END_ALLOW_THREADS
;
6217 } Py_INCREF(Py_None
);
6218 _resultobj
= Py_None
;
6222 #define wxDC_SetClippingRegion(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetClippingRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6223 static PyObject
*_wrap_wxDC_SetClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6224 PyObject
* _resultobj
;
6230 PyObject
* _argo0
= 0;
6231 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
6234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_SetClippingRegion",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
6237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetClippingRegion. Expected _wxDC_p.");
6244 wxPy_BEGIN_ALLOW_THREADS
;
6245 wxDC_SetClippingRegion(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6247 wxPy_END_ALLOW_THREADS
;
6248 } Py_INCREF(Py_None
);
6249 _resultobj
= Py_None
;
6253 #define wxDC_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
6254 static PyObject
*_wrap_wxDC_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6255 PyObject
* _resultobj
;
6258 PyObject
* _argo0
= 0;
6259 PyObject
* _argo1
= 0;
6260 char *_kwnames
[] = { "self","colourMap", NULL
};
6263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetPalette",_kwnames
,&_argo0
,&_argo1
))
6266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPalette. Expected _wxDC_p.");
6273 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6274 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPalette_p")) {
6275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPalette. Expected _wxPalette_p.");
6280 wxPy_BEGIN_ALLOW_THREADS
;
6281 wxDC_SetPalette(_arg0
,*_arg1
);
6283 wxPy_END_ALLOW_THREADS
;
6284 } Py_INCREF(Py_None
);
6285 _resultobj
= Py_None
;
6289 #define wxDC_SetBrush(_swigobj,_swigarg0) (_swigobj->SetBrush(_swigarg0))
6290 static PyObject
*_wrap_wxDC_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6291 PyObject
* _resultobj
;
6294 PyObject
* _argo0
= 0;
6295 PyObject
* _argo1
= 0;
6296 char *_kwnames
[] = { "self","brush", NULL
};
6299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetBrush",_kwnames
,&_argo0
,&_argo1
))
6302 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6303 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBrush. Expected _wxDC_p.");
6309 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6310 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
6311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBrush. Expected _wxBrush_p.");
6316 wxPy_BEGIN_ALLOW_THREADS
;
6317 wxDC_SetBrush(_arg0
,*_arg1
);
6319 wxPy_END_ALLOW_THREADS
;
6320 } Py_INCREF(Py_None
);
6321 _resultobj
= Py_None
;
6325 #define wxDC_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
6326 static PyObject
*_wrap_wxDC_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6327 PyObject
* _resultobj
;
6330 PyObject
* _argo0
= 0;
6331 PyObject
* _argo1
= 0;
6332 char *_kwnames
[] = { "self","font", NULL
};
6335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetFont",_kwnames
,&_argo0
,&_argo1
))
6338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetFont. Expected _wxDC_p.");
6345 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6346 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
6347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetFont. Expected _wxFont_p.");
6352 wxPy_BEGIN_ALLOW_THREADS
;
6353 wxDC_SetFont(_arg0
,*_arg1
);
6355 wxPy_END_ALLOW_THREADS
;
6356 } Py_INCREF(Py_None
);
6357 _resultobj
= Py_None
;
6361 #define wxDC_SetLogicalFunction(_swigobj,_swigarg0) (_swigobj->SetLogicalFunction(_swigarg0))
6362 static PyObject
*_wrap_wxDC_SetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6363 PyObject
* _resultobj
;
6366 PyObject
* _argo0
= 0;
6367 char *_kwnames
[] = { "self","function", NULL
};
6370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetLogicalFunction",_kwnames
,&_argo0
,&_arg1
))
6373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalFunction. Expected _wxDC_p.");
6380 wxPy_BEGIN_ALLOW_THREADS
;
6381 wxDC_SetLogicalFunction(_arg0
,_arg1
);
6383 wxPy_END_ALLOW_THREADS
;
6384 } Py_INCREF(Py_None
);
6385 _resultobj
= Py_None
;
6389 #define wxDC_SetLogicalScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLogicalScale(_swigarg0,_swigarg1))
6390 static PyObject
*_wrap_wxDC_SetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6391 PyObject
* _resultobj
;
6395 PyObject
* _argo0
= 0;
6396 char *_kwnames
[] = { "self","x","y", NULL
};
6399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxDC_SetLogicalScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalScale. Expected _wxDC_p.");
6409 wxPy_BEGIN_ALLOW_THREADS
;
6410 wxDC_SetLogicalScale(_arg0
,_arg1
,_arg2
);
6412 wxPy_END_ALLOW_THREADS
;
6413 } Py_INCREF(Py_None
);
6414 _resultobj
= Py_None
;
6418 #define wxDC_SetMapMode(_swigobj,_swigarg0) (_swigobj->SetMapMode(_swigarg0))
6419 static PyObject
*_wrap_wxDC_SetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6420 PyObject
* _resultobj
;
6423 PyObject
* _argo0
= 0;
6424 char *_kwnames
[] = { "self","mode", NULL
};
6427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetMapMode",_kwnames
,&_argo0
,&_arg1
))
6430 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6431 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetMapMode. Expected _wxDC_p.");
6437 wxPy_BEGIN_ALLOW_THREADS
;
6438 wxDC_SetMapMode(_arg0
,_arg1
);
6440 wxPy_END_ALLOW_THREADS
;
6441 } Py_INCREF(Py_None
);
6442 _resultobj
= Py_None
;
6446 #define wxDC_SetOptimization(_swigobj,_swigarg0) (_swigobj->SetOptimization(_swigarg0))
6447 static PyObject
*_wrap_wxDC_SetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6448 PyObject
* _resultobj
;
6451 PyObject
* _argo0
= 0;
6453 char *_kwnames
[] = { "self","optimize", NULL
};
6456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetOptimization",_kwnames
,&_argo0
,&tempbool1
))
6459 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6460 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetOptimization. Expected _wxDC_p.");
6465 _arg1
= (bool ) tempbool1
;
6467 wxPy_BEGIN_ALLOW_THREADS
;
6468 wxDC_SetOptimization(_arg0
,_arg1
);
6470 wxPy_END_ALLOW_THREADS
;
6471 } Py_INCREF(Py_None
);
6472 _resultobj
= Py_None
;
6476 #define wxDC_SetPen(_swigobj,_swigarg0) (_swigobj->SetPen(_swigarg0))
6477 static PyObject
*_wrap_wxDC_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6478 PyObject
* _resultobj
;
6481 PyObject
* _argo0
= 0;
6482 PyObject
* _argo1
= 0;
6483 char *_kwnames
[] = { "self","pen", NULL
};
6486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetPen",_kwnames
,&_argo0
,&_argo1
))
6489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPen. Expected _wxDC_p.");
6496 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6497 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
6498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPen. Expected _wxPen_p.");
6503 wxPy_BEGIN_ALLOW_THREADS
;
6504 wxDC_SetPen(_arg0
,*_arg1
);
6506 wxPy_END_ALLOW_THREADS
;
6507 } Py_INCREF(Py_None
);
6508 _resultobj
= Py_None
;
6512 #define wxDC_SetTextBackground(_swigobj,_swigarg0) (_swigobj->SetTextBackground(_swigarg0))
6513 static PyObject
*_wrap_wxDC_SetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6514 PyObject
* _resultobj
;
6517 PyObject
* _argo0
= 0;
6519 PyObject
* _obj1
= 0;
6520 char *_kwnames
[] = { "self","colour", NULL
};
6523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetTextBackground",_kwnames
,&_argo0
,&_obj1
))
6526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextBackground. Expected _wxDC_p.");
6534 if (! wxColour_helper(_obj1
, &_arg1
))
6538 wxPy_BEGIN_ALLOW_THREADS
;
6539 wxDC_SetTextBackground(_arg0
,*_arg1
);
6541 wxPy_END_ALLOW_THREADS
;
6542 } Py_INCREF(Py_None
);
6543 _resultobj
= Py_None
;
6547 #define wxDC_SetTextForeground(_swigobj,_swigarg0) (_swigobj->SetTextForeground(_swigarg0))
6548 static PyObject
*_wrap_wxDC_SetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6549 PyObject
* _resultobj
;
6552 PyObject
* _argo0
= 0;
6554 PyObject
* _obj1
= 0;
6555 char *_kwnames
[] = { "self","colour", NULL
};
6558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetTextForeground",_kwnames
,&_argo0
,&_obj1
))
6561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextForeground. Expected _wxDC_p.");
6569 if (! wxColour_helper(_obj1
, &_arg1
))
6573 wxPy_BEGIN_ALLOW_THREADS
;
6574 wxDC_SetTextForeground(_arg0
,*_arg1
);
6576 wxPy_END_ALLOW_THREADS
;
6577 } Py_INCREF(Py_None
);
6578 _resultobj
= Py_None
;
6582 #define wxDC_SetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetUserScale(_swigarg0,_swigarg1))
6583 static PyObject
*_wrap_wxDC_SetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6584 PyObject
* _resultobj
;
6588 PyObject
* _argo0
= 0;
6589 char *_kwnames
[] = { "self","x_scale","y_scale", NULL
};
6592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxDC_SetUserScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6595 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6596 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetUserScale. Expected _wxDC_p.");
6602 wxPy_BEGIN_ALLOW_THREADS
;
6603 wxDC_SetUserScale(_arg0
,_arg1
,_arg2
);
6605 wxPy_END_ALLOW_THREADS
;
6606 } Py_INCREF(Py_None
);
6607 _resultobj
= Py_None
;
6611 #define wxDC_StartDoc(_swigobj,_swigarg0) (_swigobj->StartDoc(_swigarg0))
6612 static PyObject
*_wrap_wxDC_StartDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6613 PyObject
* _resultobj
;
6617 PyObject
* _argo0
= 0;
6618 PyObject
* _obj1
= 0;
6619 char *_kwnames
[] = { "self","message", NULL
};
6622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_StartDoc",_kwnames
,&_argo0
,&_obj1
))
6625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartDoc. Expected _wxDC_p.");
6632 #if PYTHON_API_VERSION >= 1009
6633 char* tmpPtr
; int tmpSize
;
6634 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6635 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
6638 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6640 _arg1
= new wxString(tmpPtr
, tmpSize
);
6642 if (!PyString_Check(_obj1
)) {
6643 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6646 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6650 wxPy_BEGIN_ALLOW_THREADS
;
6651 _result
= (bool )wxDC_StartDoc(_arg0
,*_arg1
);
6653 wxPy_END_ALLOW_THREADS
;
6654 } _resultobj
= Py_BuildValue("i",_result
);
6662 #define wxDC_StartPage(_swigobj) (_swigobj->StartPage())
6663 static PyObject
*_wrap_wxDC_StartPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6664 PyObject
* _resultobj
;
6666 PyObject
* _argo0
= 0;
6667 char *_kwnames
[] = { "self", NULL
};
6670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_StartPage",_kwnames
,&_argo0
))
6673 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6674 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartPage. Expected _wxDC_p.");
6680 wxPy_BEGIN_ALLOW_THREADS
;
6681 wxDC_StartPage(_arg0
);
6683 wxPy_END_ALLOW_THREADS
;
6684 } Py_INCREF(Py_None
);
6685 _resultobj
= Py_None
;
6689 #define wxDC_DrawBitmap(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6690 static PyObject
*_wrap_wxDC_DrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6691 PyObject
* _resultobj
;
6696 int _arg4
= (int ) FALSE
;
6697 PyObject
* _argo0
= 0;
6698 PyObject
* _argo1
= 0;
6699 char *_kwnames
[] = { "self","bitmap","x","y","useMask", NULL
};
6702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll|i:wxDC_DrawBitmap",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
))
6705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawBitmap. Expected _wxDC_p.");
6712 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6713 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
6714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawBitmap. Expected _wxBitmap_p.");
6719 wxPy_BEGIN_ALLOW_THREADS
;
6720 wxDC_DrawBitmap(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
6722 wxPy_END_ALLOW_THREADS
;
6723 } Py_INCREF(Py_None
);
6724 _resultobj
= Py_None
;
6728 #define wxDC_CanDrawBitmap(_swigobj) (_swigobj->CanDrawBitmap())
6729 static PyObject
*_wrap_wxDC_CanDrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6730 PyObject
* _resultobj
;
6733 PyObject
* _argo0
= 0;
6734 char *_kwnames
[] = { "self", NULL
};
6737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_CanDrawBitmap",_kwnames
,&_argo0
))
6740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CanDrawBitmap. Expected _wxDC_p.");
6747 wxPy_BEGIN_ALLOW_THREADS
;
6748 _result
= (bool )wxDC_CanDrawBitmap(_arg0
);
6750 wxPy_END_ALLOW_THREADS
;
6751 } _resultobj
= Py_BuildValue("i",_result
);
6755 #define wxDC_CanGetTextExtent(_swigobj) (_swigobj->CanGetTextExtent())
6756 static PyObject
*_wrap_wxDC_CanGetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6757 PyObject
* _resultobj
;
6760 PyObject
* _argo0
= 0;
6761 char *_kwnames
[] = { "self", NULL
};
6764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_CanGetTextExtent",_kwnames
,&_argo0
))
6767 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6768 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CanGetTextExtent. Expected _wxDC_p.");
6774 wxPy_BEGIN_ALLOW_THREADS
;
6775 _result
= (bool )wxDC_CanGetTextExtent(_arg0
);
6777 wxPy_END_ALLOW_THREADS
;
6778 } _resultobj
= Py_BuildValue("i",_result
);
6782 #define wxDC_GetDepth(_swigobj) (_swigobj->GetDepth())
6783 static PyObject
*_wrap_wxDC_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6784 PyObject
* _resultobj
;
6787 PyObject
* _argo0
= 0;
6788 char *_kwnames
[] = { "self", NULL
};
6791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetDepth",_kwnames
,&_argo0
))
6794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetDepth. Expected _wxDC_p.");
6801 wxPy_BEGIN_ALLOW_THREADS
;
6802 _result
= (int )wxDC_GetDepth(_arg0
);
6804 wxPy_END_ALLOW_THREADS
;
6805 } _resultobj
= Py_BuildValue("i",_result
);
6809 #define wxDC_GetPPI(_swigobj) (_swigobj->GetPPI())
6810 static PyObject
*_wrap_wxDC_GetPPI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6811 PyObject
* _resultobj
;
6814 PyObject
* _argo0
= 0;
6815 char *_kwnames
[] = { "self", NULL
};
6819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetPPI",_kwnames
,&_argo0
))
6822 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6823 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPPI. Expected _wxDC_p.");
6829 wxPy_BEGIN_ALLOW_THREADS
;
6830 _result
= new wxSize (wxDC_GetPPI(_arg0
));
6832 wxPy_END_ALLOW_THREADS
;
6833 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
6834 _resultobj
= Py_BuildValue("s",_ptemp
);
6838 #define wxDC_GetLogicalOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLogicalOrigin(_swigarg0,_swigarg1))
6839 static PyObject
*_wrap_wxDC_GetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6840 PyObject
* _resultobj
;
6846 PyObject
* _argo0
= 0;
6847 char *_kwnames
[] = { "self", NULL
};
6856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalOrigin",_kwnames
,&_argo0
))
6859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalOrigin. Expected _wxDC_p.");
6866 wxPy_BEGIN_ALLOW_THREADS
;
6867 wxDC_GetLogicalOrigin(_arg0
,_arg1
,_arg2
);
6869 wxPy_END_ALLOW_THREADS
;
6870 } Py_INCREF(Py_None
);
6871 _resultobj
= Py_None
;
6874 o
= PyInt_FromLong((long) (*_arg1
));
6875 _resultobj
= t_output_helper(_resultobj
, o
);
6879 o
= PyInt_FromLong((long) (*_arg2
));
6880 _resultobj
= t_output_helper(_resultobj
, o
);
6885 #define wxDC_SetLogicalOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLogicalOrigin(_swigarg0,_swigarg1))
6886 static PyObject
*_wrap_wxDC_SetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6887 PyObject
* _resultobj
;
6891 PyObject
* _argo0
= 0;
6892 char *_kwnames
[] = { "self","x","y", NULL
};
6895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_SetLogicalOrigin",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalOrigin. Expected _wxDC_p.");
6905 wxPy_BEGIN_ALLOW_THREADS
;
6906 wxDC_SetLogicalOrigin(_arg0
,_arg1
,_arg2
);
6908 wxPy_END_ALLOW_THREADS
;
6909 } Py_INCREF(Py_None
);
6910 _resultobj
= Py_None
;
6914 #define wxDC_GetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDeviceOrigin(_swigarg0,_swigarg1))
6915 static PyObject
*_wrap_wxDC_GetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6916 PyObject
* _resultobj
;
6922 PyObject
* _argo0
= 0;
6923 char *_kwnames
[] = { "self", NULL
};
6932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetDeviceOrigin",_kwnames
,&_argo0
))
6935 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6936 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetDeviceOrigin. Expected _wxDC_p.");
6942 wxPy_BEGIN_ALLOW_THREADS
;
6943 wxDC_GetDeviceOrigin(_arg0
,_arg1
,_arg2
);
6945 wxPy_END_ALLOW_THREADS
;
6946 } Py_INCREF(Py_None
);
6947 _resultobj
= Py_None
;
6950 o
= PyInt_FromLong((long) (*_arg1
));
6951 _resultobj
= t_output_helper(_resultobj
, o
);
6955 o
= PyInt_FromLong((long) (*_arg2
));
6956 _resultobj
= t_output_helper(_resultobj
, o
);
6961 #define wxDC_SetAxisOrientation(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAxisOrientation(_swigarg0,_swigarg1))
6962 static PyObject
*_wrap_wxDC_SetAxisOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6963 PyObject
* _resultobj
;
6967 PyObject
* _argo0
= 0;
6970 char *_kwnames
[] = { "self","xLeftRight","yBottomUp", NULL
};
6973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_SetAxisOrientation",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
6976 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6977 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetAxisOrientation. Expected _wxDC_p.");
6982 _arg1
= (bool ) tempbool1
;
6983 _arg2
= (bool ) tempbool2
;
6985 wxPy_BEGIN_ALLOW_THREADS
;
6986 wxDC_SetAxisOrientation(_arg0
,_arg1
,_arg2
);
6988 wxPy_END_ALLOW_THREADS
;
6989 } Py_INCREF(Py_None
);
6990 _resultobj
= Py_None
;
6994 #define wxDC_CalcBoundingBox(_swigobj,_swigarg0,_swigarg1) (_swigobj->CalcBoundingBox(_swigarg0,_swigarg1))
6995 static PyObject
*_wrap_wxDC_CalcBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6996 PyObject
* _resultobj
;
7000 PyObject
* _argo0
= 0;
7001 char *_kwnames
[] = { "self","x","y", NULL
};
7004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_CalcBoundingBox",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CalcBoundingBox. Expected _wxDC_p.");
7014 wxPy_BEGIN_ALLOW_THREADS
;
7015 wxDC_CalcBoundingBox(_arg0
,_arg1
,_arg2
);
7017 wxPy_END_ALLOW_THREADS
;
7018 } Py_INCREF(Py_None
);
7019 _resultobj
= Py_None
;
7023 #define wxDC_ResetBoundingBox(_swigobj) (_swigobj->ResetBoundingBox())
7024 static PyObject
*_wrap_wxDC_ResetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7025 PyObject
* _resultobj
;
7027 PyObject
* _argo0
= 0;
7028 char *_kwnames
[] = { "self", NULL
};
7031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_ResetBoundingBox",_kwnames
,&_argo0
))
7034 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7035 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7036 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_ResetBoundingBox. Expected _wxDC_p.");
7041 wxPy_BEGIN_ALLOW_THREADS
;
7042 wxDC_ResetBoundingBox(_arg0
);
7044 wxPy_END_ALLOW_THREADS
;
7045 } Py_INCREF(Py_None
);
7046 _resultobj
= Py_None
;
7050 static void *SwigwxMemoryDCTowxDC(void *ptr
) {
7053 src
= (wxMemoryDC
*) ptr
;
7054 dest
= (wxDC
*) src
;
7055 return (void *) dest
;
7058 #define new_wxMemoryDC() (new wxMemoryDC())
7059 static PyObject
*_wrap_new_wxMemoryDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7060 PyObject
* _resultobj
;
7061 wxMemoryDC
* _result
;
7062 char *_kwnames
[] = { NULL
};
7066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMemoryDC",_kwnames
))
7069 wxPy_BEGIN_ALLOW_THREADS
;
7070 _result
= (wxMemoryDC
*)new_wxMemoryDC();
7072 wxPy_END_ALLOW_THREADS
;
7074 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
7075 _resultobj
= Py_BuildValue("s",_ptemp
);
7078 _resultobj
= Py_None
;
7083 #define wxMemoryDC_SelectObject(_swigobj,_swigarg0) (_swigobj->SelectObject(_swigarg0))
7084 static PyObject
*_wrap_wxMemoryDC_SelectObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7085 PyObject
* _resultobj
;
7088 PyObject
* _argo0
= 0;
7089 PyObject
* _argo1
= 0;
7090 char *_kwnames
[] = { "self","bitmap", NULL
};
7093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMemoryDC_SelectObject",_kwnames
,&_argo0
,&_argo1
))
7096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMemoryDC_p")) {
7098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDC_SelectObject. Expected _wxMemoryDC_p.");
7103 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7104 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
7105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMemoryDC_SelectObject. Expected _wxBitmap_p.");
7110 wxPy_BEGIN_ALLOW_THREADS
;
7111 wxMemoryDC_SelectObject(_arg0
,*_arg1
);
7113 wxPy_END_ALLOW_THREADS
;
7114 } Py_INCREF(Py_None
);
7115 _resultobj
= Py_None
;
7119 static void *SwigwxScreenDCTowxDC(void *ptr
) {
7122 src
= (wxScreenDC
*) ptr
;
7123 dest
= (wxDC
*) src
;
7124 return (void *) dest
;
7127 #define new_wxScreenDC() (new wxScreenDC())
7128 static PyObject
*_wrap_new_wxScreenDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7129 PyObject
* _resultobj
;
7130 wxScreenDC
* _result
;
7131 char *_kwnames
[] = { NULL
};
7135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxScreenDC",_kwnames
))
7138 wxPy_BEGIN_ALLOW_THREADS
;
7139 _result
= (wxScreenDC
*)new_wxScreenDC();
7141 wxPy_END_ALLOW_THREADS
;
7143 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScreenDC_p");
7144 _resultobj
= Py_BuildValue("s",_ptemp
);
7147 _resultobj
= Py_None
;
7152 #define wxScreenDC_StartDrawingOnTopWin(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
7153 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTopWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7154 PyObject
* _resultobj
;
7158 PyObject
* _argo0
= 0;
7159 PyObject
* _argo1
= 0;
7160 char *_kwnames
[] = { "self","window", NULL
};
7163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScreenDC_StartDrawingOnTopWin",_kwnames
,&_argo0
,&_argo1
))
7166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
7168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTopWin. Expected _wxScreenDC_p.");
7173 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7174 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScreenDC_StartDrawingOnTopWin. Expected _wxWindow_p.");
7180 wxPy_BEGIN_ALLOW_THREADS
;
7181 _result
= (bool )wxScreenDC_StartDrawingOnTopWin(_arg0
,_arg1
);
7183 wxPy_END_ALLOW_THREADS
;
7184 } _resultobj
= Py_BuildValue("i",_result
);
7188 #define wxScreenDC_StartDrawingOnTop(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
7189 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7190 PyObject
* _resultobj
;
7193 wxRect
* _arg1
= (wxRect
*) NULL
;
7194 PyObject
* _argo0
= 0;
7196 PyObject
* _obj1
= 0;
7197 char *_kwnames
[] = { "self","rect", NULL
};
7200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxScreenDC_StartDrawingOnTop",_kwnames
,&_argo0
,&_obj1
))
7203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
7205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTop. Expected _wxScreenDC_p.");
7212 if (! wxRect_helper(_obj1
, &_arg1
))
7216 wxPy_BEGIN_ALLOW_THREADS
;
7217 _result
= (bool )wxScreenDC_StartDrawingOnTop(_arg0
,_arg1
);
7219 wxPy_END_ALLOW_THREADS
;
7220 } _resultobj
= Py_BuildValue("i",_result
);
7224 #define wxScreenDC_EndDrawingOnTop(_swigobj) (_swigobj->EndDrawingOnTop())
7225 static PyObject
*_wrap_wxScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7226 PyObject
* _resultobj
;
7229 PyObject
* _argo0
= 0;
7230 char *_kwnames
[] = { "self", NULL
};
7233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScreenDC_EndDrawingOnTop",_kwnames
,&_argo0
))
7236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
7238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_EndDrawingOnTop. Expected _wxScreenDC_p.");
7243 wxPy_BEGIN_ALLOW_THREADS
;
7244 _result
= (bool )wxScreenDC_EndDrawingOnTop(_arg0
);
7246 wxPy_END_ALLOW_THREADS
;
7247 } _resultobj
= Py_BuildValue("i",_result
);
7251 static void *SwigwxClientDCTowxDC(void *ptr
) {
7254 src
= (wxClientDC
*) ptr
;
7255 dest
= (wxDC
*) src
;
7256 return (void *) dest
;
7259 #define new_wxClientDC(_swigarg0) (new wxClientDC(_swigarg0))
7260 static PyObject
*_wrap_new_wxClientDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7261 PyObject
* _resultobj
;
7262 wxClientDC
* _result
;
7264 PyObject
* _argo0
= 0;
7265 char *_kwnames
[] = { "win", NULL
};
7269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxClientDC",_kwnames
,&_argo0
))
7272 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7273 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
7274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxClientDC. Expected _wxWindow_p.");
7279 wxPy_BEGIN_ALLOW_THREADS
;
7280 _result
= (wxClientDC
*)new_wxClientDC(_arg0
);
7282 wxPy_END_ALLOW_THREADS
;
7284 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxClientDC_p");
7285 _resultobj
= Py_BuildValue("s",_ptemp
);
7288 _resultobj
= Py_None
;
7293 static void *SwigwxPaintDCTowxDC(void *ptr
) {
7296 src
= (wxPaintDC
*) ptr
;
7297 dest
= (wxDC
*) src
;
7298 return (void *) dest
;
7301 #define new_wxPaintDC(_swigarg0) (new wxPaintDC(_swigarg0))
7302 static PyObject
*_wrap_new_wxPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7303 PyObject
* _resultobj
;
7304 wxPaintDC
* _result
;
7306 PyObject
* _argo0
= 0;
7307 char *_kwnames
[] = { "win", NULL
};
7311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPaintDC",_kwnames
,&_argo0
))
7314 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7315 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
7316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPaintDC. Expected _wxWindow_p.");
7321 wxPy_BEGIN_ALLOW_THREADS
;
7322 _result
= (wxPaintDC
*)new_wxPaintDC(_arg0
);
7324 wxPy_END_ALLOW_THREADS
;
7326 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPaintDC_p");
7327 _resultobj
= Py_BuildValue("s",_ptemp
);
7330 _resultobj
= Py_None
;
7335 static void *SwigwxWindowDCTowxDC(void *ptr
) {
7338 src
= (wxWindowDC
*) ptr
;
7339 dest
= (wxDC
*) src
;
7340 return (void *) dest
;
7343 #define new_wxWindowDC(_swigarg0) (new wxWindowDC(_swigarg0))
7344 static PyObject
*_wrap_new_wxWindowDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7345 PyObject
* _resultobj
;
7346 wxWindowDC
* _result
;
7348 PyObject
* _argo0
= 0;
7349 char *_kwnames
[] = { "win", NULL
};
7353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxWindowDC",_kwnames
,&_argo0
))
7356 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7357 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
7358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDC. Expected _wxWindow_p.");
7363 wxPy_BEGIN_ALLOW_THREADS
;
7364 _result
= (wxWindowDC
*)new_wxWindowDC(_arg0
);
7366 wxPy_END_ALLOW_THREADS
;
7368 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDC_p");
7369 _resultobj
= Py_BuildValue("s",_ptemp
);
7372 _resultobj
= Py_None
;
7377 static void *SwigwxPostScriptDCTowxDC(void *ptr
) {
7378 wxPostScriptDC
*src
;
7380 src
= (wxPostScriptDC
*) ptr
;
7381 dest
= (wxDC
*) src
;
7382 return (void *) dest
;
7385 #define new_wxPostScriptDC(_swigarg0,_swigarg1,_swigarg2) (new wxPostScriptDC(_swigarg0,_swigarg1,_swigarg2))
7386 static PyObject
*_wrap_new_wxPostScriptDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7387 PyObject
* _resultobj
;
7388 wxPostScriptDC
* _result
;
7390 bool _arg1
= (bool ) TRUE
;
7391 wxWindow
* _arg2
= (wxWindow
*) NULL
;
7392 PyObject
* _obj0
= 0;
7393 int tempbool1
= (int) TRUE
;
7394 PyObject
* _argo2
= 0;
7395 char *_kwnames
[] = { "output","interactive","win", NULL
};
7399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:new_wxPostScriptDC",_kwnames
,&_obj0
,&tempbool1
,&_argo2
))
7402 #if PYTHON_API_VERSION >= 1009
7403 char* tmpPtr
; int tmpSize
;
7404 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
7405 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
7408 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
7410 _arg0
= new wxString(tmpPtr
, tmpSize
);
7412 if (!PyString_Check(_obj0
)) {
7413 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7416 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
7419 _arg1
= (bool ) tempbool1
;
7421 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7422 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
7423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPostScriptDC. Expected _wxWindow_p.");
7428 wxPy_BEGIN_ALLOW_THREADS
;
7429 _result
= (wxPostScriptDC
*)new_wxPostScriptDC(*_arg0
,_arg1
,_arg2
);
7431 wxPy_END_ALLOW_THREADS
;
7433 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPostScriptDC_p");
7434 _resultobj
= Py_BuildValue("s",_ptemp
);
7437 _resultobj
= Py_None
;
7446 #define new_wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7447 static PyObject
*_wrap_new_wxPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7448 PyObject
* _resultobj
;
7449 wxPalette
* _result
;
7454 PyObject
* _obj1
= 0;
7455 PyObject
* _obj2
= 0;
7456 PyObject
* _obj3
= 0;
7457 char *_kwnames
[] = { "choices","choices","choices", NULL
};
7461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:new_wxPalette",_kwnames
,&_obj1
,&_obj2
,&_obj3
))
7464 _arg1
= byte_LIST_helper(_obj1
);
7465 if (_arg1
== NULL
) {
7470 _arg2
= byte_LIST_helper(_obj2
);
7471 if (_arg2
== NULL
) {
7477 _arg3
= byte_LIST_helper(_obj3
);
7478 if (_arg3
== NULL
) {
7484 _arg0
= PyList_Size(_obj1
);
7491 wxPy_BEGIN_ALLOW_THREADS
;
7492 _result
= (wxPalette
*)new_wxPalette(_arg0
,_arg1
,_arg2
,_arg3
);
7494 wxPy_END_ALLOW_THREADS
;
7496 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
7497 _resultobj
= Py_BuildValue("s",_ptemp
);
7500 _resultobj
= Py_None
;
7514 #define delete_wxPalette(_swigobj) (delete _swigobj)
7515 static PyObject
*_wrap_delete_wxPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7516 PyObject
* _resultobj
;
7518 PyObject
* _argo0
= 0;
7519 char *_kwnames
[] = { "self", NULL
};
7522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPalette",_kwnames
,&_argo0
))
7525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
7527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPalette. Expected _wxPalette_p.");
7532 wxPy_BEGIN_ALLOW_THREADS
;
7533 delete_wxPalette(_arg0
);
7535 wxPy_END_ALLOW_THREADS
;
7536 } Py_INCREF(Py_None
);
7537 _resultobj
= Py_None
;
7541 #define wxPalette_GetPixel(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetPixel(_swigarg0,_swigarg1,_swigarg2))
7542 static PyObject
*_wrap_wxPalette_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7543 PyObject
* _resultobj
;
7549 PyObject
* _argo0
= 0;
7550 char *_kwnames
[] = { "self","red","green","blue", NULL
};
7553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Obbb:wxPalette_GetPixel",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
7556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
7558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetPixel. Expected _wxPalette_p.");
7563 wxPy_BEGIN_ALLOW_THREADS
;
7564 _result
= (int )wxPalette_GetPixel(_arg0
,_arg1
,_arg2
,_arg3
);
7566 wxPy_END_ALLOW_THREADS
;
7567 } _resultobj
= Py_BuildValue("i",_result
);
7571 #define wxPalette_GetRGB(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetRGB(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7572 static PyObject
*_wrap_wxPalette_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7573 PyObject
* _resultobj
;
7580 PyObject
* _argo0
= 0;
7581 PyObject
* _argo2
= 0;
7582 PyObject
* _argo3
= 0;
7583 PyObject
* _argo4
= 0;
7584 char *_kwnames
[] = { "self","pixel","OUTPUT","OUTPUT","OUTPUT", NULL
};
7587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOOO:wxPalette_GetRGB",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_argo4
))
7590 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7591 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
7592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetRGB. Expected _wxPalette_p.");
7597 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7598 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_byte_p")) {
7599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPalette_GetRGB. Expected _byte_p.");
7604 if (_argo3
== Py_None
) { _arg3
= NULL
; }
7605 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_byte_p")) {
7606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxPalette_GetRGB. Expected _byte_p.");
7611 if (_argo4
== Py_None
) { _arg4
= NULL
; }
7612 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_byte_p")) {
7613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxPalette_GetRGB. Expected _byte_p.");
7618 wxPy_BEGIN_ALLOW_THREADS
;
7619 _result
= (bool )wxPalette_GetRGB(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7621 wxPy_END_ALLOW_THREADS
;
7622 } _resultobj
= Py_BuildValue("i",_result
);
7626 #define wxPalette_Ok(_swigobj) (_swigobj->Ok())
7627 static PyObject
*_wrap_wxPalette_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7628 PyObject
* _resultobj
;
7631 PyObject
* _argo0
= 0;
7632 char *_kwnames
[] = { "self", NULL
};
7635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPalette_Ok",_kwnames
,&_argo0
))
7638 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7639 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
7640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_Ok. Expected _wxPalette_p.");
7645 wxPy_BEGIN_ALLOW_THREADS
;
7646 _result
= (bool )wxPalette_Ok(_arg0
);
7648 wxPy_END_ALLOW_THREADS
;
7649 } _resultobj
= Py_BuildValue("i",_result
);
7653 #define new_wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7654 static PyObject
*_wrap_new_wxImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7655 PyObject
* _resultobj
;
7656 wxImageList
* _result
;
7659 int _arg2
= (int ) TRUE
;
7660 int _arg3
= (int ) 1;
7661 char *_kwnames
[] = { "width","height","mask","initialCount", NULL
};
7665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ii|ii:new_wxImageList",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
7668 wxPy_BEGIN_ALLOW_THREADS
;
7669 _result
= (wxImageList
*)new_wxImageList(_arg0
,_arg1
,_arg2
,_arg3
);
7671 wxPy_END_ALLOW_THREADS
;
7673 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
7674 _resultobj
= Py_BuildValue("s",_ptemp
);
7677 _resultobj
= Py_None
;
7682 #define delete_wxImageList(_swigobj) (delete _swigobj)
7683 static PyObject
*_wrap_delete_wxImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7684 PyObject
* _resultobj
;
7685 wxImageList
* _arg0
;
7686 PyObject
* _argo0
= 0;
7687 char *_kwnames
[] = { "self", NULL
};
7690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxImageList",_kwnames
,&_argo0
))
7693 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7694 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
7695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxImageList. Expected _wxImageList_p.");
7700 wxPy_BEGIN_ALLOW_THREADS
;
7701 delete_wxImageList(_arg0
);
7703 wxPy_END_ALLOW_THREADS
;
7704 } Py_INCREF(Py_None
);
7705 _resultobj
= Py_None
;
7709 #define wxImageList_Add(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
7710 static PyObject
*_wrap_wxImageList_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7711 PyObject
* _resultobj
;
7713 wxImageList
* _arg0
;
7715 wxBitmap
* _arg2
= (wxBitmap
*) &wxNullBitmap
;
7716 PyObject
* _argo0
= 0;
7717 PyObject
* _argo1
= 0;
7718 PyObject
* _argo2
= 0;
7719 char *_kwnames
[] = { "self","bitmap","mask", NULL
};
7722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxImageList_Add",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
7725 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7726 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
7727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Add. Expected _wxImageList_p.");
7732 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7733 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
7734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_Add. Expected _wxBitmap_p.");
7739 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7740 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
7741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Add. Expected _wxBitmap_p.");
7746 wxPy_BEGIN_ALLOW_THREADS
;
7747 _result
= (int )wxImageList_Add(_arg0
,*_arg1
,*_arg2
);
7749 wxPy_END_ALLOW_THREADS
;
7750 } _resultobj
= Py_BuildValue("i",_result
);
7754 #define wxImageList_AddWithColourMask(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
7755 static PyObject
*_wrap_wxImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7756 PyObject
* _resultobj
;
7758 wxImageList
* _arg0
;
7761 PyObject
* _argo0
= 0;
7762 PyObject
* _argo1
= 0;
7764 PyObject
* _obj2
= 0;
7765 char *_kwnames
[] = { "self","bitmap","maskColour", NULL
};
7768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxImageList_AddWithColourMask",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7771 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7772 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
7773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_AddWithColourMask. Expected _wxImageList_p.");
7778 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7779 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
7780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_AddWithColourMask. Expected _wxBitmap_p.");
7786 if (! wxColour_helper(_obj2
, &_arg2
))
7790 wxPy_BEGIN_ALLOW_THREADS
;
7791 _result
= (int )wxImageList_AddWithColourMask(_arg0
,*_arg1
,*_arg2
);
7793 wxPy_END_ALLOW_THREADS
;
7794 } _resultobj
= Py_BuildValue("i",_result
);
7798 #define wxImageList_AddIcon(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
7799 static PyObject
*_wrap_wxImageList_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7800 PyObject
* _resultobj
;
7802 wxImageList
* _arg0
;
7804 PyObject
* _argo0
= 0;
7805 PyObject
* _argo1
= 0;
7806 char *_kwnames
[] = { "self","icon", NULL
};
7809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxImageList_AddIcon",_kwnames
,&_argo0
,&_argo1
))
7812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
7814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_AddIcon. Expected _wxImageList_p.");
7819 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7820 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
7821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_AddIcon. Expected _wxIcon_p.");
7826 wxPy_BEGIN_ALLOW_THREADS
;
7827 _result
= (int )wxImageList_AddIcon(_arg0
,*_arg1
);
7829 wxPy_END_ALLOW_THREADS
;
7830 } _resultobj
= Py_BuildValue("i",_result
);
7834 #define wxImageList_Replace(_swigobj,_swigarg0,_swigarg1) (_swigobj->Replace(_swigarg0,_swigarg1))
7835 static PyObject
*_wrap_wxImageList_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7836 PyObject
* _resultobj
;
7838 wxImageList
* _arg0
;
7841 PyObject
* _argo0
= 0;
7842 PyObject
* _argo2
= 0;
7843 char *_kwnames
[] = { "self","index","bitmap", NULL
};
7846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxImageList_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
7849 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7850 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
7851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Replace. Expected _wxImageList_p.");
7856 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7857 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
7858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Replace. Expected _wxBitmap_p.");
7863 wxPy_BEGIN_ALLOW_THREADS
;
7864 _result
= (bool )wxImageList_Replace(_arg0
,_arg1
,*_arg2
);
7866 wxPy_END_ALLOW_THREADS
;
7867 } _resultobj
= Py_BuildValue("i",_result
);
7871 #define wxImageList_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7872 static PyObject
*_wrap_wxImageList_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7873 PyObject
* _resultobj
;
7875 wxImageList
* _arg0
;
7880 int _arg5
= (int ) (wxIMAGELIST_DRAW_NORMAL
);
7881 bool _arg6
= (bool ) FALSE
;
7882 PyObject
* _argo0
= 0;
7883 PyObject
* _argo2
= 0;
7884 int tempbool6
= (int) FALSE
;
7885 char *_kwnames
[] = { "self","index","dc","x","x","flags","solidBackground", NULL
};
7888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOii|ii:wxImageList_Draw",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
7891 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7892 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
7893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Draw. Expected _wxImageList_p.");
7898 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7899 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDC_p")) {
7900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Draw. Expected _wxDC_p.");
7904 _arg6
= (bool ) tempbool6
;
7906 wxPy_BEGIN_ALLOW_THREADS
;
7907 _result
= (bool )wxImageList_Draw(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
7909 wxPy_END_ALLOW_THREADS
;
7910 } _resultobj
= Py_BuildValue("i",_result
);
7914 #define wxImageList_GetImageCount(_swigobj) (_swigobj->GetImageCount())
7915 static PyObject
*_wrap_wxImageList_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7916 PyObject
* _resultobj
;
7918 wxImageList
* _arg0
;
7919 PyObject
* _argo0
= 0;
7920 char *_kwnames
[] = { "self", NULL
};
7923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImageList_GetImageCount",_kwnames
,&_argo0
))
7926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
7928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_GetImageCount. Expected _wxImageList_p.");
7933 wxPy_BEGIN_ALLOW_THREADS
;
7934 _result
= (int )wxImageList_GetImageCount(_arg0
);
7936 wxPy_END_ALLOW_THREADS
;
7937 } _resultobj
= Py_BuildValue("i",_result
);
7941 #define wxImageList_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
7942 static PyObject
*_wrap_wxImageList_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7943 PyObject
* _resultobj
;
7945 wxImageList
* _arg0
;
7947 PyObject
* _argo0
= 0;
7948 char *_kwnames
[] = { "self","index", NULL
};
7951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxImageList_Remove",_kwnames
,&_argo0
,&_arg1
))
7954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
7956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Remove. Expected _wxImageList_p.");
7961 wxPy_BEGIN_ALLOW_THREADS
;
7962 _result
= (bool )wxImageList_Remove(_arg0
,_arg1
);
7964 wxPy_END_ALLOW_THREADS
;
7965 } _resultobj
= Py_BuildValue("i",_result
);
7969 #define wxImageList_RemoveAll(_swigobj) (_swigobj->RemoveAll())
7970 static PyObject
*_wrap_wxImageList_RemoveAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7971 PyObject
* _resultobj
;
7973 wxImageList
* _arg0
;
7974 PyObject
* _argo0
= 0;
7975 char *_kwnames
[] = { "self", NULL
};
7978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImageList_RemoveAll",_kwnames
,&_argo0
))
7981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
7983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_RemoveAll. Expected _wxImageList_p.");
7988 wxPy_BEGIN_ALLOW_THREADS
;
7989 _result
= (bool )wxImageList_RemoveAll(_arg0
);
7991 wxPy_END_ALLOW_THREADS
;
7992 } _resultobj
= Py_BuildValue("i",_result
);
7996 #define wxImageList_GetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetSize(_swigarg0,_swigarg1,_swigarg2))
7997 static PyObject
*_wrap_wxImageList_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7998 PyObject
* _resultobj
;
7999 wxImageList
* _arg0
;
8005 PyObject
* _argo0
= 0;
8006 char *_kwnames
[] = { "self","index", NULL
};
8015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxImageList_GetSize",_kwnames
,&_argo0
,&_arg1
))
8018 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8019 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
8020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_GetSize. Expected _wxImageList_p.");
8025 wxPy_BEGIN_ALLOW_THREADS
;
8026 wxImageList_GetSize(_arg0
,_arg1
,*_arg2
,*_arg3
);
8028 wxPy_END_ALLOW_THREADS
;
8029 } Py_INCREF(Py_None
);
8030 _resultobj
= Py_None
;
8033 o
= PyInt_FromLong((long) (*_arg2
));
8034 _resultobj
= t_output_helper(_resultobj
, o
);
8038 o
= PyInt_FromLong((long) (*_arg3
));
8039 _resultobj
= t_output_helper(_resultobj
, o
);
8044 static PyMethodDef gdicMethods
[] = {
8045 { "wxImageList_GetSize", (PyCFunction
) _wrap_wxImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
8046 { "wxImageList_RemoveAll", (PyCFunction
) _wrap_wxImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
},
8047 { "wxImageList_Remove", (PyCFunction
) _wrap_wxImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
},
8048 { "wxImageList_GetImageCount", (PyCFunction
) _wrap_wxImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
8049 { "wxImageList_Draw", (PyCFunction
) _wrap_wxImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
},
8050 { "wxImageList_Replace", (PyCFunction
) _wrap_wxImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
},
8051 { "wxImageList_AddIcon", (PyCFunction
) _wrap_wxImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
8052 { "wxImageList_AddWithColourMask", (PyCFunction
) _wrap_wxImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
},
8053 { "wxImageList_Add", (PyCFunction
) _wrap_wxImageList_Add
, METH_VARARGS
| METH_KEYWORDS
},
8054 { "delete_wxImageList", (PyCFunction
) _wrap_delete_wxImageList
, METH_VARARGS
| METH_KEYWORDS
},
8055 { "new_wxImageList", (PyCFunction
) _wrap_new_wxImageList
, METH_VARARGS
| METH_KEYWORDS
},
8056 { "wxPalette_Ok", (PyCFunction
) _wrap_wxPalette_Ok
, METH_VARARGS
| METH_KEYWORDS
},
8057 { "wxPalette_GetRGB", (PyCFunction
) _wrap_wxPalette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
8058 { "wxPalette_GetPixel", (PyCFunction
) _wrap_wxPalette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
8059 { "delete_wxPalette", (PyCFunction
) _wrap_delete_wxPalette
, METH_VARARGS
| METH_KEYWORDS
},
8060 { "new_wxPalette", (PyCFunction
) _wrap_new_wxPalette
, METH_VARARGS
| METH_KEYWORDS
},
8061 { "new_wxPostScriptDC", (PyCFunction
) _wrap_new_wxPostScriptDC
, METH_VARARGS
| METH_KEYWORDS
},
8062 { "new_wxWindowDC", (PyCFunction
) _wrap_new_wxWindowDC
, METH_VARARGS
| METH_KEYWORDS
},
8063 { "new_wxPaintDC", (PyCFunction
) _wrap_new_wxPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
8064 { "new_wxClientDC", (PyCFunction
) _wrap_new_wxClientDC
, METH_VARARGS
| METH_KEYWORDS
},
8065 { "wxScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_wxScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
8066 { "wxScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_wxScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
8067 { "wxScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_wxScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
},
8068 { "new_wxScreenDC", (PyCFunction
) _wrap_new_wxScreenDC
, METH_VARARGS
| METH_KEYWORDS
},
8069 { "wxMemoryDC_SelectObject", (PyCFunction
) _wrap_wxMemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
},
8070 { "new_wxMemoryDC", (PyCFunction
) _wrap_new_wxMemoryDC
, METH_VARARGS
| METH_KEYWORDS
},
8071 { "wxDC_ResetBoundingBox", (PyCFunction
) _wrap_wxDC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
8072 { "wxDC_CalcBoundingBox", (PyCFunction
) _wrap_wxDC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
8073 { "wxDC_SetAxisOrientation", (PyCFunction
) _wrap_wxDC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
},
8074 { "wxDC_GetDeviceOrigin", (PyCFunction
) _wrap_wxDC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
8075 { "wxDC_SetLogicalOrigin", (PyCFunction
) _wrap_wxDC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
8076 { "wxDC_GetLogicalOrigin", (PyCFunction
) _wrap_wxDC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
8077 { "wxDC_GetPPI", (PyCFunction
) _wrap_wxDC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
},
8078 { "wxDC_GetDepth", (PyCFunction
) _wrap_wxDC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
8079 { "wxDC_CanGetTextExtent", (PyCFunction
) _wrap_wxDC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
8080 { "wxDC_CanDrawBitmap", (PyCFunction
) _wrap_wxDC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
8081 { "wxDC_DrawBitmap", (PyCFunction
) _wrap_wxDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
8082 { "wxDC_StartPage", (PyCFunction
) _wrap_wxDC_StartPage
, METH_VARARGS
| METH_KEYWORDS
},
8083 { "wxDC_StartDoc", (PyCFunction
) _wrap_wxDC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
},
8084 { "wxDC_SetUserScale", (PyCFunction
) _wrap_wxDC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
8085 { "wxDC_SetTextForeground", (PyCFunction
) _wrap_wxDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
8086 { "wxDC_SetTextBackground", (PyCFunction
) _wrap_wxDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
8087 { "wxDC_SetPen", (PyCFunction
) _wrap_wxDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
8088 { "wxDC_SetOptimization", (PyCFunction
) _wrap_wxDC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
8089 { "wxDC_SetMapMode", (PyCFunction
) _wrap_wxDC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
8090 { "wxDC_SetLogicalScale", (PyCFunction
) _wrap_wxDC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
8091 { "wxDC_SetLogicalFunction", (PyCFunction
) _wrap_wxDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
8092 { "wxDC_SetFont", (PyCFunction
) _wrap_wxDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
8093 { "wxDC_SetBrush", (PyCFunction
) _wrap_wxDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
8094 { "wxDC_SetPalette", (PyCFunction
) _wrap_wxDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
8095 { "wxDC_SetClippingRegion", (PyCFunction
) _wrap_wxDC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
8096 { "wxDC_SetBackgroundMode", (PyCFunction
) _wrap_wxDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
8097 { "wxDC_SetBackground", (PyCFunction
) _wrap_wxDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
},
8098 { "wxDC_SetDeviceOrigin", (PyCFunction
) _wrap_wxDC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
8099 { "wxDC_Ok", (PyCFunction
) _wrap_wxDC_Ok
, METH_VARARGS
| METH_KEYWORDS
},
8100 { "wxDC_MinY", (PyCFunction
) _wrap_wxDC_MinY
, METH_VARARGS
| METH_KEYWORDS
},
8101 { "wxDC_MinX", (PyCFunction
) _wrap_wxDC_MinX
, METH_VARARGS
| METH_KEYWORDS
},
8102 { "wxDC_MaxY", (PyCFunction
) _wrap_wxDC_MaxY
, METH_VARARGS
| METH_KEYWORDS
},
8103 { "wxDC_MaxX", (PyCFunction
) _wrap_wxDC_MaxX
, METH_VARARGS
| METH_KEYWORDS
},
8104 { "wxDC_LogicalToDeviceYRel", (PyCFunction
) _wrap_wxDC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
},
8105 { "wxDC_LogicalToDeviceY", (PyCFunction
) _wrap_wxDC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
},
8106 { "wxDC_LogicalToDeviceXRel", (PyCFunction
) _wrap_wxDC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
},
8107 { "wxDC_LogicalToDeviceX", (PyCFunction
) _wrap_wxDC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
},
8108 { "wxDC_GetUserScale", (PyCFunction
) _wrap_wxDC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
8109 { "wxDC_GetTextForeground", (PyCFunction
) _wrap_wxDC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
8110 { "wxDC_GetFullTextExtent", (PyCFunction
) _wrap_wxDC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
8111 { "wxDC_GetTextExtent", (PyCFunction
) _wrap_wxDC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
8112 { "wxDC_GetTextBackground", (PyCFunction
) _wrap_wxDC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
8113 { "wxDC_GetSizeMM", (PyCFunction
) _wrap_wxDC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
8114 { "wxDC_GetSize", (PyCFunction
) _wrap_wxDC_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
8115 { "wxDC_GetSizeTuple", (PyCFunction
) _wrap_wxDC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
8116 { "wxDC_GetPixel", (PyCFunction
) _wrap_wxDC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
8117 { "wxDC_GetPen", (PyCFunction
) _wrap_wxDC_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
8118 { "wxDC_GetOptimization", (PyCFunction
) _wrap_wxDC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
8119 { "wxDC_GetMapMode", (PyCFunction
) _wrap_wxDC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
8120 { "wxDC_GetLogicalScale", (PyCFunction
) _wrap_wxDC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
8121 { "wxDC_GetLogicalFunction", (PyCFunction
) _wrap_wxDC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
8122 { "wxDC_GetFont", (PyCFunction
) _wrap_wxDC_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
8123 { "wxDC_GetClippingBox", (PyCFunction
) _wrap_wxDC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
},
8124 { "wxDC_GetCharWidth", (PyCFunction
) _wrap_wxDC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
8125 { "wxDC_GetCharHeight", (PyCFunction
) _wrap_wxDC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
8126 { "wxDC_GetBrush", (PyCFunction
) _wrap_wxDC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
8127 { "wxDC_GetBackground", (PyCFunction
) _wrap_wxDC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
},
8128 { "wxDC_FloodFill", (PyCFunction
) _wrap_wxDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
},
8129 { "wxDC_EndPage", (PyCFunction
) _wrap_wxDC_EndPage
, METH_VARARGS
| METH_KEYWORDS
},
8130 { "wxDC_EndDrawing", (PyCFunction
) _wrap_wxDC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
},
8131 { "wxDC_EndDoc", (PyCFunction
) _wrap_wxDC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
},
8132 { "wxDC_DrawText", (PyCFunction
) _wrap_wxDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
8133 { "wxDC_DrawSpline", (PyCFunction
) _wrap_wxDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
8134 { "wxDC_DrawRoundedRectangle", (PyCFunction
) _wrap_wxDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
8135 { "wxDC_DrawRotatedText", (PyCFunction
) _wrap_wxDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
},
8136 { "wxDC_DrawRectangle", (PyCFunction
) _wrap_wxDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
8137 { "wxDC_DrawPoint", (PyCFunction
) _wrap_wxDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
8138 { "wxDC_DrawPolygon", (PyCFunction
) _wrap_wxDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
8139 { "wxDC_DrawLines", (PyCFunction
) _wrap_wxDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
8140 { "wxDC_DrawLine", (PyCFunction
) _wrap_wxDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
8141 { "wxDC_DrawIcon", (PyCFunction
) _wrap_wxDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
},
8142 { "wxDC_DrawEllipticArc", (PyCFunction
) _wrap_wxDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
8143 { "wxDC_DrawEllipse", (PyCFunction
) _wrap_wxDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
8144 { "wxDC_DrawCircle", (PyCFunction
) _wrap_wxDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
},
8145 { "wxDC_DrawArc", (PyCFunction
) _wrap_wxDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
8146 { "wxDC_DeviceToLogicalYRel", (PyCFunction
) _wrap_wxDC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
},
8147 { "wxDC_DeviceToLogicalY", (PyCFunction
) _wrap_wxDC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
},
8148 { "wxDC_DeviceToLogicalXRel", (PyCFunction
) _wrap_wxDC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
},
8149 { "wxDC_DeviceToLogicalX", (PyCFunction
) _wrap_wxDC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
},
8150 { "wxDC_DestroyClippingRegion", (PyCFunction
) _wrap_wxDC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
8151 { "wxDC_CrossHair", (PyCFunction
) _wrap_wxDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
},
8152 { "wxDC_Clear", (PyCFunction
) _wrap_wxDC_Clear
, METH_VARARGS
| METH_KEYWORDS
},
8153 { "wxDC_Blit", (PyCFunction
) _wrap_wxDC_Blit
, METH_VARARGS
| METH_KEYWORDS
},
8154 { "wxDC_BeginDrawing", (PyCFunction
) _wrap_wxDC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
},
8155 { "delete_wxDC", (PyCFunction
) _wrap_delete_wxDC
, METH_VARARGS
| METH_KEYWORDS
},
8156 { "wxBrushList_RemoveBrush", (PyCFunction
) _wrap_wxBrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
},
8157 { "wxBrushList_FindOrCreateBrush", (PyCFunction
) _wrap_wxBrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
},
8158 { "wxBrushList_AddBrush", (PyCFunction
) _wrap_wxBrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
},
8159 { "wxBrush_SetStyle", (PyCFunction
) _wrap_wxBrush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
8160 { "wxBrush_SetStipple", (PyCFunction
) _wrap_wxBrush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
8161 { "wxBrush_SetColour", (PyCFunction
) _wrap_wxBrush_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
8162 { "wxBrush_Ok", (PyCFunction
) _wrap_wxBrush_Ok
, METH_VARARGS
| METH_KEYWORDS
},
8163 { "wxBrush_GetStyle", (PyCFunction
) _wrap_wxBrush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
8164 { "wxBrush_GetStipple", (PyCFunction
) _wrap_wxBrush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
8165 { "wxBrush_GetColour", (PyCFunction
) _wrap_wxBrush_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
8166 { "delete_wxBrush", (PyCFunction
) _wrap_delete_wxBrush
, METH_VARARGS
| METH_KEYWORDS
},
8167 { "new_wxBrush", (PyCFunction
) _wrap_new_wxBrush
, METH_VARARGS
| METH_KEYWORDS
},
8168 { "wxPenList_RemovePen", (PyCFunction
) _wrap_wxPenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
},
8169 { "wxPenList_FindOrCreatePen", (PyCFunction
) _wrap_wxPenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
},
8170 { "wxPenList_AddPen", (PyCFunction
) _wrap_wxPenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
},
8171 { "wxPen_SetDashes", (PyCFunction
) _wrap_wxPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
8172 { "wxPen_GetDashes", (PyCFunction
) _wrap_wxPen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
},
8173 { "wxPen_SetWidth", (PyCFunction
) _wrap_wxPen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
8174 { "wxPen_SetStyle", (PyCFunction
) _wrap_wxPen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
8175 { "wxPen_SetJoin", (PyCFunction
) _wrap_wxPen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
},
8176 { "wxPen_SetColour", (PyCFunction
) _wrap_wxPen_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
8177 { "wxPen_SetCap", (PyCFunction
) _wrap_wxPen_SetCap
, METH_VARARGS
| METH_KEYWORDS
},
8178 { "wxPen_Ok", (PyCFunction
) _wrap_wxPen_Ok
, METH_VARARGS
| METH_KEYWORDS
},
8179 { "wxPen_GetWidth", (PyCFunction
) _wrap_wxPen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
8180 { "wxPen_GetStyle", (PyCFunction
) _wrap_wxPen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
8181 { "wxPen_GetJoin", (PyCFunction
) _wrap_wxPen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
},
8182 { "wxPen_GetColour", (PyCFunction
) _wrap_wxPen_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
8183 { "wxPen_GetCap", (PyCFunction
) _wrap_wxPen_GetCap
, METH_VARARGS
| METH_KEYWORDS
},
8184 { "delete_wxPen", (PyCFunction
) _wrap_delete_wxPen
, METH_VARARGS
| METH_KEYWORDS
},
8185 { "new_wxPen", (PyCFunction
) _wrap_new_wxPen
, METH_VARARGS
| METH_KEYWORDS
},
8186 { "wxColourDatabase_Append", (PyCFunction
) _wrap_wxColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
},
8187 { "wxColourDatabase_FindName", (PyCFunction
) _wrap_wxColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
},
8188 { "wxColourDatabase_FindColour", (PyCFunction
) _wrap_wxColourDatabase_FindColour
, METH_VARARGS
| METH_KEYWORDS
},
8189 { "wxColour_Get", (PyCFunction
) _wrap_wxColour_Get
, METH_VARARGS
| METH_KEYWORDS
},
8190 { "wxColour_Set", (PyCFunction
) _wrap_wxColour_Set
, METH_VARARGS
| METH_KEYWORDS
},
8191 { "wxColour_Ok", (PyCFunction
) _wrap_wxColour_Ok
, METH_VARARGS
| METH_KEYWORDS
},
8192 { "wxColour_Blue", (PyCFunction
) _wrap_wxColour_Blue
, METH_VARARGS
| METH_KEYWORDS
},
8193 { "wxColour_Green", (PyCFunction
) _wrap_wxColour_Green
, METH_VARARGS
| METH_KEYWORDS
},
8194 { "wxColour_Red", (PyCFunction
) _wrap_wxColour_Red
, METH_VARARGS
| METH_KEYWORDS
},
8195 { "delete_wxColour", (PyCFunction
) _wrap_delete_wxColour
, METH_VARARGS
| METH_KEYWORDS
},
8196 { "new_wxColour", (PyCFunction
) _wrap_new_wxColour
, METH_VARARGS
| METH_KEYWORDS
},
8197 { "wxFontList_RemoveFont", (PyCFunction
) _wrap_wxFontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
},
8198 { "wxFontList_FindOrCreateFont", (PyCFunction
) _wrap_wxFontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
},
8199 { "wxFontList_AddFont", (PyCFunction
) _wrap_wxFontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
},
8200 { "wxFont_GetWeightString", (PyCFunction
) _wrap_wxFont_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
},
8201 { "wxFont_GetStyleString", (PyCFunction
) _wrap_wxFont_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
},
8202 { "wxFont_GetFamilyString", (PyCFunction
) _wrap_wxFont_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
},
8203 { "wxFont_SetEncoding", (PyCFunction
) _wrap_wxFont_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
8204 { "wxFont_SetWeight", (PyCFunction
) _wrap_wxFont_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
8205 { "wxFont_SetUnderlined", (PyCFunction
) _wrap_wxFont_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
8206 { "wxFont_SetStyle", (PyCFunction
) _wrap_wxFont_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
8207 { "wxFont_SetPointSize", (PyCFunction
) _wrap_wxFont_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
8208 { "wxFont_SetFamily", (PyCFunction
) _wrap_wxFont_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
8209 { "wxFont_SetFaceName", (PyCFunction
) _wrap_wxFont_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
8210 { "wxFont_GetEncoding", (PyCFunction
) _wrap_wxFont_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
8211 { "wxFont_GetWeight", (PyCFunction
) _wrap_wxFont_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
8212 { "wxFont_GetUnderlined", (PyCFunction
) _wrap_wxFont_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
8213 { "wxFont_GetStyle", (PyCFunction
) _wrap_wxFont_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
8214 { "wxFont_GetPointSize", (PyCFunction
) _wrap_wxFont_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
8215 { "wxFont_GetFamily", (PyCFunction
) _wrap_wxFont_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
8216 { "wxFont_GetFaceName", (PyCFunction
) _wrap_wxFont_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
8217 { "wxFont_Ok", (PyCFunction
) _wrap_wxFont_Ok
, METH_VARARGS
| METH_KEYWORDS
},
8218 { "delete_wxFont", (PyCFunction
) _wrap_delete_wxFont
, METH_VARARGS
| METH_KEYWORDS
},
8219 { "new_wxFont", (PyCFunction
) _wrap_new_wxFont
, METH_VARARGS
| METH_KEYWORDS
},
8220 { "wxCursor_Ok", (PyCFunction
) _wrap_wxCursor_Ok
, METH_VARARGS
| METH_KEYWORDS
},
8221 { "delete_wxCursor", (PyCFunction
) _wrap_delete_wxCursor
, METH_VARARGS
| METH_KEYWORDS
},
8222 { "wxIcon_SetDepth", (PyCFunction
) _wrap_wxIcon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
8223 { "wxIcon_SetHeight", (PyCFunction
) _wrap_wxIcon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
8224 { "wxIcon_SetWidth", (PyCFunction
) _wrap_wxIcon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
8225 { "wxIcon_GetDepth", (PyCFunction
) _wrap_wxIcon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
8226 { "wxIcon_GetHeight", (PyCFunction
) _wrap_wxIcon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
8227 { "wxIcon_GetWidth", (PyCFunction
) _wrap_wxIcon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
8228 { "wxIcon_Ok", (PyCFunction
) _wrap_wxIcon_Ok
, METH_VARARGS
| METH_KEYWORDS
},
8229 { "wxIcon_LoadFile", (PyCFunction
) _wrap_wxIcon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
8230 { "delete_wxIcon", (PyCFunction
) _wrap_delete_wxIcon
, METH_VARARGS
| METH_KEYWORDS
},
8231 { "new_wxIcon", (PyCFunction
) _wrap_new_wxIcon
, METH_VARARGS
| METH_KEYWORDS
},
8232 { "new_wxMask", (PyCFunction
) _wrap_new_wxMask
, METH_VARARGS
| METH_KEYWORDS
},
8233 { "wxBitmap_GetSubBitmap", (PyCFunction
) _wrap_wxBitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
},
8234 { "wxBitmap_SetDepth", (PyCFunction
) _wrap_wxBitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
8235 { "wxBitmap_SetHeight", (PyCFunction
) _wrap_wxBitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
8236 { "wxBitmap_SetWidth", (PyCFunction
) _wrap_wxBitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
8237 { "wxBitmap_GetDepth", (PyCFunction
) _wrap_wxBitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
8238 { "wxBitmap_GetHeight", (PyCFunction
) _wrap_wxBitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
8239 { "wxBitmap_GetWidth", (PyCFunction
) _wrap_wxBitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
8240 { "wxBitmap_Ok", (PyCFunction
) _wrap_wxBitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
},
8241 { "wxBitmap_SetMask", (PyCFunction
) _wrap_wxBitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
8242 { "wxBitmap_SaveFile", (PyCFunction
) _wrap_wxBitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
8243 { "wxBitmap_LoadFile", (PyCFunction
) _wrap_wxBitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
8244 { "wxBitmap_GetMask", (PyCFunction
) _wrap_wxBitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
8245 { "wxBitmap_GetPalette", (PyCFunction
) _wrap_wxBitmap_GetPalette
, METH_VARARGS
| METH_KEYWORDS
},
8246 { "delete_wxBitmap", (PyCFunction
) _wrap_delete_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
8247 { "new_wxBitmap", (PyCFunction
) _wrap_new_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
8248 { "wxMemoryDCFromDC", (PyCFunction
) _wrap_wxMemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
},
8249 { "wxNamedColour", (PyCFunction
) _wrap_wxNamedColour
, METH_VARARGS
| METH_KEYWORDS
},
8250 { "wxFont_SetDefaultEncoding", (PyCFunction
) _wrap_wxFont_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
8251 { "wxFont_GetDefaultEncoding", (PyCFunction
) _wrap_wxFont_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
8252 { "wxStockCursor", (PyCFunction
) _wrap_wxStockCursor
, METH_VARARGS
| METH_KEYWORDS
},
8253 { "wxMaskColour", (PyCFunction
) _wrap_wxMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
8254 { "wxEmptyBitmap", (PyCFunction
) _wrap_wxEmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
},
8261 * This table is used by the pointer type-checker
8263 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
8264 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
8265 { "_signed_long","_long",0},
8266 { "_wxPrintQuality","_wxCoord",0},
8267 { "_wxPrintQuality","_int",0},
8268 { "_wxPrintQuality","_signed_int",0},
8269 { "_wxPrintQuality","_unsigned_int",0},
8270 { "_wxPrintQuality","_wxWindowID",0},
8271 { "_wxPrintQuality","_uint",0},
8272 { "_wxPrintQuality","_EBool",0},
8273 { "_wxPrintQuality","_size_t",0},
8274 { "_wxPrintQuality","_time_t",0},
8275 { "_class_wxRegionIterator","_wxRegionIterator",0},
8276 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
8277 { "_wxCursor","_class_wxCursor",0},
8278 { "_wxMask","_class_wxMask",0},
8279 { "_wxPen","_class_wxPen",0},
8280 { "_byte","_unsigned_char",0},
8281 { "_wxColourDatabase","_class_wxColourDatabase",0},
8282 { "_long","_unsigned_long",0},
8283 { "_long","_signed_long",0},
8284 { "_wxImageList","_class_wxImageList",0},
8285 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
8286 { "_wxDC","_class_wxPostScriptDC",SwigwxPostScriptDCTowxDC
},
8287 { "_wxDC","_wxPostScriptDC",SwigwxPostScriptDCTowxDC
},
8288 { "_wxDC","_class_wxWindowDC",SwigwxWindowDCTowxDC
},
8289 { "_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC
},
8290 { "_wxDC","_class_wxPaintDC",SwigwxPaintDCTowxDC
},
8291 { "_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
},
8292 { "_wxDC","_class_wxClientDC",SwigwxClientDCTowxDC
},
8293 { "_wxDC","_wxClientDC",SwigwxClientDCTowxDC
},
8294 { "_wxDC","_class_wxScreenDC",SwigwxScreenDCTowxDC
},
8295 { "_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
},
8296 { "_wxDC","_class_wxMemoryDC",SwigwxMemoryDCTowxDC
},
8297 { "_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
},
8298 { "_wxDC","_class_wxDC",0},
8299 { "_size_t","_wxCoord",0},
8300 { "_size_t","_wxPrintQuality",0},
8301 { "_size_t","_time_t",0},
8302 { "_size_t","_unsigned_int",0},
8303 { "_size_t","_int",0},
8304 { "_size_t","_wxWindowID",0},
8305 { "_size_t","_uint",0},
8306 { "_class_wxRealPoint","_wxRealPoint",0},
8307 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
8308 { "_class_wxMask","_wxMask",0},
8309 { "_wxColour","_class_wxColour",0},
8310 { "_wxBrush","_class_wxBrush",0},
8311 { "_uint","_wxCoord",0},
8312 { "_uint","_wxPrintQuality",0},
8313 { "_uint","_time_t",0},
8314 { "_uint","_size_t",0},
8315 { "_uint","_unsigned_int",0},
8316 { "_uint","_int",0},
8317 { "_uint","_wxWindowID",0},
8318 { "_wxChar","_char",0},
8319 { "_wxRect","_class_wxRect",0},
8320 { "_wxPoint","_class_wxPoint",0},
8321 { "_char","_wxChar",0},
8322 { "_wxBitmap","_class_wxBitmap",0},
8323 { "_wxPenList","_class_wxPenList",0},
8324 { "_wxWindowDC","_class_wxWindowDC",0},
8325 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
8326 { "_class_wxColourDatabase","_wxColourDatabase",0},
8327 { "_EBool","_wxCoord",0},
8328 { "_EBool","_wxPrintQuality",0},
8329 { "_EBool","_signed_int",0},
8330 { "_EBool","_int",0},
8331 { "_EBool","_wxWindowID",0},
8332 { "_class_wxRegion","_wxRegion",0},
8333 { "_wxFont","_class_wxFont",0},
8334 { "_unsigned_long","_long",0},
8335 { "_class_wxRect","_wxRect",0},
8336 { "_class_wxDC","_class_wxPostScriptDC",SwigwxPostScriptDCTowxDC
},
8337 { "_class_wxDC","_wxPostScriptDC",SwigwxPostScriptDCTowxDC
},
8338 { "_class_wxDC","_class_wxWindowDC",SwigwxWindowDCTowxDC
},
8339 { "_class_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC
},
8340 { "_class_wxDC","_class_wxPaintDC",SwigwxPaintDCTowxDC
},
8341 { "_class_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
},
8342 { "_class_wxDC","_class_wxClientDC",SwigwxClientDCTowxDC
},
8343 { "_class_wxDC","_wxClientDC",SwigwxClientDCTowxDC
},
8344 { "_class_wxDC","_class_wxScreenDC",SwigwxScreenDCTowxDC
},
8345 { "_class_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
},
8346 { "_class_wxDC","_class_wxMemoryDC",SwigwxMemoryDCTowxDC
},
8347 { "_class_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
},
8348 { "_class_wxDC","_wxDC",0},
8349 { "_class_wxBrushList","_wxBrushList",0},
8350 { "_class_wxPenList","_wxPenList",0},
8351 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
8352 { "_signed_int","_wxCoord",0},
8353 { "_signed_int","_wxPrintQuality",0},
8354 { "_signed_int","_EBool",0},
8355 { "_signed_int","_wxWindowID",0},
8356 { "_signed_int","_int",0},
8357 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
8358 { "_wxScreenDC","_class_wxScreenDC",0},
8359 { "_WXTYPE","_short",0},
8360 { "_WXTYPE","_signed_short",0},
8361 { "_WXTYPE","_unsigned_short",0},
8362 { "_class_wxBrush","_wxBrush",0},
8363 { "_unsigned_short","_WXTYPE",0},
8364 { "_unsigned_short","_short",0},
8365 { "_class_wxFont","_wxFont",0},
8366 { "_wxBusyInfo","_class_wxBusyInfo",0},
8367 { "_wxFontList","_class_wxFontList",0},
8368 { "_wxClientDC","_class_wxClientDC",0},
8369 { "_class_wxPoint","_wxPoint",0},
8370 { "_wxRealPoint","_class_wxRealPoint",0},
8371 { "_signed_short","_WXTYPE",0},
8372 { "_signed_short","_short",0},
8373 { "_wxMemoryDC","_class_wxMemoryDC",0},
8374 { "_wxPaintDC","_class_wxPaintDC",0},
8375 { "_class_wxWindowDC","_wxWindowDC",0},
8376 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
8377 { "_class_wxCursor","_wxCursor",0},
8378 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
8379 { "_unsigned_char","_byte",0},
8380 { "_unsigned_int","_wxCoord",0},
8381 { "_unsigned_int","_wxPrintQuality",0},
8382 { "_unsigned_int","_time_t",0},
8383 { "_unsigned_int","_size_t",0},
8384 { "_unsigned_int","_uint",0},
8385 { "_unsigned_int","_wxWindowID",0},
8386 { "_unsigned_int","_int",0},
8387 { "_wxIcon","_class_wxIcon",0},
8388 { "_class_wxPen","_wxPen",0},
8389 { "_short","_WXTYPE",0},
8390 { "_short","_unsigned_short",0},
8391 { "_short","_signed_short",0},
8392 { "_class_wxImageList","_wxImageList",0},
8393 { "_wxWindowID","_wxCoord",0},
8394 { "_wxWindowID","_wxPrintQuality",0},
8395 { "_wxWindowID","_time_t",0},
8396 { "_wxWindowID","_size_t",0},
8397 { "_wxWindowID","_EBool",0},
8398 { "_wxWindowID","_uint",0},
8399 { "_wxWindowID","_int",0},
8400 { "_wxWindowID","_signed_int",0},
8401 { "_wxWindowID","_unsigned_int",0},
8402 { "_int","_wxCoord",0},
8403 { "_int","_wxPrintQuality",0},
8404 { "_int","_time_t",0},
8405 { "_int","_size_t",0},
8406 { "_int","_EBool",0},
8407 { "_int","_uint",0},
8408 { "_int","_wxWindowID",0},
8409 { "_int","_unsigned_int",0},
8410 { "_int","_signed_int",0},
8411 { "_time_t","_wxCoord",0},
8412 { "_time_t","_wxPrintQuality",0},
8413 { "_time_t","_unsigned_int",0},
8414 { "_time_t","_int",0},
8415 { "_time_t","_wxWindowID",0},
8416 { "_time_t","_uint",0},
8417 { "_time_t","_size_t",0},
8418 { "_wxSize","_class_wxSize",0},
8419 { "_wxRegionIterator","_class_wxRegionIterator",0},
8420 { "_class_wxPaintDC","_wxPaintDC",0},
8421 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
8422 { "_class_wxIcon","_wxIcon",0},
8423 { "_class_wxColour","_wxColour",0},
8424 { "_class_wxScreenDC","_wxScreenDC",0},
8425 { "_wxPalette","_class_wxPalette",0},
8426 { "_wxCoord","_int",0},
8427 { "_wxCoord","_signed_int",0},
8428 { "_wxCoord","_unsigned_int",0},
8429 { "_wxCoord","_wxWindowID",0},
8430 { "_wxCoord","_uint",0},
8431 { "_wxCoord","_EBool",0},
8432 { "_wxCoord","_size_t",0},
8433 { "_wxCoord","_time_t",0},
8434 { "_wxCoord","_wxPrintQuality",0},
8435 { "_wxRegion","_class_wxRegion",0},
8436 { "_class_wxBusyInfo","_wxBusyInfo",0},
8437 { "_class_wxFontList","_wxFontList",0},
8438 { "_class_wxClientDC","_wxClientDC",0},
8439 { "_wxBrushList","_class_wxBrushList",0},
8440 { "_class_wxSize","_wxSize",0},
8441 { "_class_wxBitmap","_wxBitmap",0},
8442 { "_class_wxMemoryDC","_wxMemoryDC",0},
8443 { "_class_wxPalette","_wxPalette",0},
8446 static PyObject
*SWIG_globals
;
8450 SWIGEXPORT(void) initgdic() {
8452 SWIG_globals
= SWIG_newvarlink();
8453 m
= Py_InitModule("gdic", gdicMethods
);
8454 d
= PyModule_GetDict(m
);
8455 PyDict_SetItemString(d
,"wxFONTENCODING_SYSTEM", PyInt_FromLong((long) wxFONTENCODING_SYSTEM
));
8456 PyDict_SetItemString(d
,"wxFONTENCODING_DEFAULT", PyInt_FromLong((long) wxFONTENCODING_DEFAULT
));
8457 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_1", PyInt_FromLong((long) wxFONTENCODING_ISO8859_1
));
8458 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_2", PyInt_FromLong((long) wxFONTENCODING_ISO8859_2
));
8459 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_3", PyInt_FromLong((long) wxFONTENCODING_ISO8859_3
));
8460 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_4", PyInt_FromLong((long) wxFONTENCODING_ISO8859_4
));
8461 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_5", PyInt_FromLong((long) wxFONTENCODING_ISO8859_5
));
8462 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_6", PyInt_FromLong((long) wxFONTENCODING_ISO8859_6
));
8463 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_7", PyInt_FromLong((long) wxFONTENCODING_ISO8859_7
));
8464 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_8", PyInt_FromLong((long) wxFONTENCODING_ISO8859_8
));
8465 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_9", PyInt_FromLong((long) wxFONTENCODING_ISO8859_9
));
8466 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_10", PyInt_FromLong((long) wxFONTENCODING_ISO8859_10
));
8467 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_11", PyInt_FromLong((long) wxFONTENCODING_ISO8859_11
));
8468 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_12", PyInt_FromLong((long) wxFONTENCODING_ISO8859_12
));
8469 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_13", PyInt_FromLong((long) wxFONTENCODING_ISO8859_13
));
8470 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_14", PyInt_FromLong((long) wxFONTENCODING_ISO8859_14
));
8471 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_15", PyInt_FromLong((long) wxFONTENCODING_ISO8859_15
));
8472 PyDict_SetItemString(d
,"wxFONTENCODING_KOI8", PyInt_FromLong((long) wxFONTENCODING_KOI8
));
8473 PyDict_SetItemString(d
,"wxFONTENCODING_ALTERNATIVE", PyInt_FromLong((long) wxFONTENCODING_ALTERNATIVE
));
8474 PyDict_SetItemString(d
,"wxFONTENCODING_BULGARIAN", PyInt_FromLong((long) wxFONTENCODING_BULGARIAN
));
8475 PyDict_SetItemString(d
,"wxFONTENCODING_CP437", PyInt_FromLong((long) wxFONTENCODING_CP437
));
8476 PyDict_SetItemString(d
,"wxFONTENCODING_CP850", PyInt_FromLong((long) wxFONTENCODING_CP850
));
8477 PyDict_SetItemString(d
,"wxFONTENCODING_CP852", PyInt_FromLong((long) wxFONTENCODING_CP852
));
8478 PyDict_SetItemString(d
,"wxFONTENCODING_CP855", PyInt_FromLong((long) wxFONTENCODING_CP855
));
8479 PyDict_SetItemString(d
,"wxFONTENCODING_CP866", PyInt_FromLong((long) wxFONTENCODING_CP866
));
8480 PyDict_SetItemString(d
,"wxFONTENCODING_CP1250", PyInt_FromLong((long) wxFONTENCODING_CP1250
));
8481 PyDict_SetItemString(d
,"wxFONTENCODING_CP1251", PyInt_FromLong((long) wxFONTENCODING_CP1251
));
8482 PyDict_SetItemString(d
,"wxFONTENCODING_CP1252", PyInt_FromLong((long) wxFONTENCODING_CP1252
));
8483 PyDict_SetItemString(d
,"wxFONTENCODING_MAX", PyInt_FromLong((long) wxFONTENCODING_MAX
));
8484 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
8485 SWIG_addvarlink(SWIG_globals
,"wxNORMAL_FONT",_wrap_wxNORMAL_FONT_get
, _wrap_wxNORMAL_FONT_set
);
8486 SWIG_addvarlink(SWIG_globals
,"wxSMALL_FONT",_wrap_wxSMALL_FONT_get
, _wrap_wxSMALL_FONT_set
);
8487 SWIG_addvarlink(SWIG_globals
,"wxITALIC_FONT",_wrap_wxITALIC_FONT_get
, _wrap_wxITALIC_FONT_set
);
8488 SWIG_addvarlink(SWIG_globals
,"wxSWISS_FONT",_wrap_wxSWISS_FONT_get
, _wrap_wxSWISS_FONT_set
);
8489 SWIG_addvarlink(SWIG_globals
,"wxRED_PEN",_wrap_wxRED_PEN_get
, _wrap_wxRED_PEN_set
);
8490 SWIG_addvarlink(SWIG_globals
,"wxCYAN_PEN",_wrap_wxCYAN_PEN_get
, _wrap_wxCYAN_PEN_set
);
8491 SWIG_addvarlink(SWIG_globals
,"wxGREEN_PEN",_wrap_wxGREEN_PEN_get
, _wrap_wxGREEN_PEN_set
);
8492 SWIG_addvarlink(SWIG_globals
,"wxBLACK_PEN",_wrap_wxBLACK_PEN_get
, _wrap_wxBLACK_PEN_set
);
8493 SWIG_addvarlink(SWIG_globals
,"wxWHITE_PEN",_wrap_wxWHITE_PEN_get
, _wrap_wxWHITE_PEN_set
);
8494 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_PEN",_wrap_wxTRANSPARENT_PEN_get
, _wrap_wxTRANSPARENT_PEN_set
);
8495 SWIG_addvarlink(SWIG_globals
,"wxBLACK_DASHED_PEN",_wrap_wxBLACK_DASHED_PEN_get
, _wrap_wxBLACK_DASHED_PEN_set
);
8496 SWIG_addvarlink(SWIG_globals
,"wxGREY_PEN",_wrap_wxGREY_PEN_get
, _wrap_wxGREY_PEN_set
);
8497 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_PEN",_wrap_wxMEDIUM_GREY_PEN_get
, _wrap_wxMEDIUM_GREY_PEN_set
);
8498 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_PEN",_wrap_wxLIGHT_GREY_PEN_get
, _wrap_wxLIGHT_GREY_PEN_set
);
8499 SWIG_addvarlink(SWIG_globals
,"wxBLUE_BRUSH",_wrap_wxBLUE_BRUSH_get
, _wrap_wxBLUE_BRUSH_set
);
8500 SWIG_addvarlink(SWIG_globals
,"wxGREEN_BRUSH",_wrap_wxGREEN_BRUSH_get
, _wrap_wxGREEN_BRUSH_set
);
8501 SWIG_addvarlink(SWIG_globals
,"wxWHITE_BRUSH",_wrap_wxWHITE_BRUSH_get
, _wrap_wxWHITE_BRUSH_set
);
8502 SWIG_addvarlink(SWIG_globals
,"wxBLACK_BRUSH",_wrap_wxBLACK_BRUSH_get
, _wrap_wxBLACK_BRUSH_set
);
8503 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_BRUSH",_wrap_wxTRANSPARENT_BRUSH_get
, _wrap_wxTRANSPARENT_BRUSH_set
);
8504 SWIG_addvarlink(SWIG_globals
,"wxCYAN_BRUSH",_wrap_wxCYAN_BRUSH_get
, _wrap_wxCYAN_BRUSH_set
);
8505 SWIG_addvarlink(SWIG_globals
,"wxRED_BRUSH",_wrap_wxRED_BRUSH_get
, _wrap_wxRED_BRUSH_set
);
8506 SWIG_addvarlink(SWIG_globals
,"wxGREY_BRUSH",_wrap_wxGREY_BRUSH_get
, _wrap_wxGREY_BRUSH_set
);
8507 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_BRUSH",_wrap_wxMEDIUM_GREY_BRUSH_get
, _wrap_wxMEDIUM_GREY_BRUSH_set
);
8508 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_BRUSH",_wrap_wxLIGHT_GREY_BRUSH_get
, _wrap_wxLIGHT_GREY_BRUSH_set
);
8509 SWIG_addvarlink(SWIG_globals
,"wxBLACK",_wrap_wxBLACK_get
, _wrap_wxBLACK_set
);
8510 SWIG_addvarlink(SWIG_globals
,"wxWHITE",_wrap_wxWHITE_get
, _wrap_wxWHITE_set
);
8511 SWIG_addvarlink(SWIG_globals
,"wxRED",_wrap_wxRED_get
, _wrap_wxRED_set
);
8512 SWIG_addvarlink(SWIG_globals
,"wxBLUE",_wrap_wxBLUE_get
, _wrap_wxBLUE_set
);
8513 SWIG_addvarlink(SWIG_globals
,"wxGREEN",_wrap_wxGREEN_get
, _wrap_wxGREEN_set
);
8514 SWIG_addvarlink(SWIG_globals
,"wxCYAN",_wrap_wxCYAN_get
, _wrap_wxCYAN_set
);
8515 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY",_wrap_wxLIGHT_GREY_get
, _wrap_wxLIGHT_GREY_set
);
8516 SWIG_addvarlink(SWIG_globals
,"wxSTANDARD_CURSOR",_wrap_wxSTANDARD_CURSOR_get
, _wrap_wxSTANDARD_CURSOR_set
);
8517 SWIG_addvarlink(SWIG_globals
,"wxHOURGLASS_CURSOR",_wrap_wxHOURGLASS_CURSOR_get
, _wrap_wxHOURGLASS_CURSOR_set
);
8518 SWIG_addvarlink(SWIG_globals
,"wxCROSS_CURSOR",_wrap_wxCROSS_CURSOR_get
, _wrap_wxCROSS_CURSOR_set
);
8519 SWIG_addvarlink(SWIG_globals
,"wxNullBitmap",_wrap_wxNullBitmap_get
, _wrap_wxNullBitmap_set
);
8520 SWIG_addvarlink(SWIG_globals
,"wxNullIcon",_wrap_wxNullIcon_get
, _wrap_wxNullIcon_set
);
8521 SWIG_addvarlink(SWIG_globals
,"wxNullCursor",_wrap_wxNullCursor_get
, _wrap_wxNullCursor_set
);
8522 SWIG_addvarlink(SWIG_globals
,"wxNullPen",_wrap_wxNullPen_get
, _wrap_wxNullPen_set
);
8523 SWIG_addvarlink(SWIG_globals
,"wxNullBrush",_wrap_wxNullBrush_get
, _wrap_wxNullBrush_set
);
8524 SWIG_addvarlink(SWIG_globals
,"wxNullPalette",_wrap_wxNullPalette_get
, _wrap_wxNullPalette_set
);
8525 SWIG_addvarlink(SWIG_globals
,"wxNullFont",_wrap_wxNullFont_get
, _wrap_wxNullFont_set
);
8526 SWIG_addvarlink(SWIG_globals
,"wxNullColour",_wrap_wxNullColour_get
, _wrap_wxNullColour_set
);
8527 SWIG_addvarlink(SWIG_globals
,"wxTheFontList",_wrap_wxTheFontList_get
, _wrap_wxTheFontList_set
);
8528 SWIG_addvarlink(SWIG_globals
,"wxThePenList",_wrap_wxThePenList_get
, _wrap_wxThePenList_set
);
8529 SWIG_addvarlink(SWIG_globals
,"wxTheBrushList",_wrap_wxTheBrushList_get
, _wrap_wxTheBrushList_set
);
8530 SWIG_addvarlink(SWIG_globals
,"wxTheColourDatabase",_wrap_wxTheColourDatabase_get
, _wrap_wxTheColourDatabase_set
);
8531 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_NORMAL", PyInt_FromLong((long) wxIMAGELIST_DRAW_NORMAL
));
8532 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_TRANSPARENT", PyInt_FromLong((long) wxIMAGELIST_DRAW_TRANSPARENT
));
8533 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_SELECTED", PyInt_FromLong((long) wxIMAGELIST_DRAW_SELECTED
));
8534 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_FOCUSED", PyInt_FromLong((long) wxIMAGELIST_DRAW_FOCUSED
));
8535 PyDict_SetItemString(d
,"wxIMAGE_LIST_NORMAL", PyInt_FromLong((long) wxIMAGE_LIST_NORMAL
));
8536 PyDict_SetItemString(d
,"wxIMAGE_LIST_SMALL", PyInt_FromLong((long) wxIMAGE_LIST_SMALL
));
8537 PyDict_SetItemString(d
,"wxIMAGE_LIST_STATE", PyInt_FromLong((long) wxIMAGE_LIST_STATE
));
8540 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
8541 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);