4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 810)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
47 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
48 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initgdic
54 #define SWIG_name "gdic"
57 #include <wx/metafile.h>
58 #include <wx/imaglist.h>
63 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
68 } else if (target
== Py_None
) {
72 if (!PyList_Check(target
)) {
74 target
= PyList_New(0);
75 PyList_Append(target
, o2
);
78 PyList_Append(target
,o
);
84 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
90 } else if (target
== Py_None
) {
94 if (!PyTuple_Check(target
)) {
96 target
= PyTuple_New(1);
97 PyTuple_SetItem(target
, 0, o2
);
100 PyTuple_SetItem(o3
, 0, o
);
103 target
= PySequence_Concat(o2
, o3
);
110 static char* wxStringErrorMsg
= "string type is required for parameter";
111 // Alternate 'constructor'
112 wxBitmap
* wxEmptyBitmap(int width
, int height
, int depth
=-1) {
113 return new wxBitmap(width
, height
, depth
);
116 // This one won't own the reference, so Python
117 // won't call the dtor, this is good for
118 // toolbars and such where the parent will
119 // manage the bitmap.
120 wxBitmap
* wxNoRefBitmap(char* name
, long flags
) {
121 return new wxBitmap(name
, flags
);
125 wxBitmap
* wxBitmapFromData(char* data
, long type
,
126 int width
, int height
, int depth
= 1) {
127 return new wxBitmap((void*)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
);
138 // Alternate 'constructor'
139 wxColour
* wxNamedColour(const wxString
& colorName
) {
140 return new wxColour(colorName
);
142 // Alternate 'constructor'
143 wxMemoryDC
* wxMemoryDCFromDC(wxDC
* oldDC
) {
144 return new wxMemoryDC(oldDC
);
148 extern wxFont
* wxNORMAL_FONT
;
149 extern wxFont
* wxSMALL_FONT
;
150 extern wxFont
* wxITALIC_FONT
;
151 extern wxFont
* wxSWISS_FONT
;
152 extern wxPen
* wxRED_PEN
;
153 extern wxPen
* wxCYAN_PEN
;
154 extern wxPen
* wxGREEN_PEN
;
155 extern wxPen
* wxBLACK_PEN
;
156 extern wxPen
* wxWHITE_PEN
;
157 extern wxPen
* wxTRANSPARENT_PEN
;
158 extern wxPen
* wxBLACK_DASHED_PEN
;
159 extern wxPen
* wxGREY_PEN
;
160 extern wxPen
* wxMEDIUM_GREY_PEN
;
161 extern wxPen
* wxLIGHT_GREY_PEN
;
162 extern wxBrush
* wxBLUE_BRUSH
;
163 extern wxBrush
* wxGREEN_BRUSH
;
164 extern wxBrush
* wxWHITE_BRUSH
;
165 extern wxBrush
* wxBLACK_BRUSH
;
166 extern wxBrush
* wxTRANSPARENT_BRUSH
;
167 extern wxBrush
* wxCYAN_BRUSH
;
168 extern wxBrush
* wxRED_BRUSH
;
169 extern wxBrush
* wxGREY_BRUSH
;
170 extern wxBrush
* wxMEDIUM_GREY_BRUSH
;
171 extern wxBrush
* wxLIGHT_GREY_BRUSH
;
172 extern wxColour
* wxBLACK
;
173 extern wxColour
* wxWHITE
;
174 extern wxColour
* wxRED
;
175 extern wxColour
* wxBLUE
;
176 extern wxColour
* wxGREEN
;
177 extern wxColour
* wxCYAN
;
178 extern wxColour
* wxLIGHT_GREY
;
179 extern wxCursor
* wxSTANDARD_CURSOR
;
180 extern wxCursor
* wxHOURGLASS_CURSOR
;
181 extern wxCursor
* wxCROSS_CURSOR
;
182 extern wxBitmap wxNullBitmap
;
183 extern wxIcon wxNullIcon
;
184 extern wxCursor wxNullCursor
;
185 extern wxPen wxNullPen
;
186 extern wxBrush wxNullBrush
;
187 extern wxPalette wxNullPalette
;
188 extern wxFont wxNullFont
;
189 extern wxColour wxNullColour
;
195 static PyObject
*_wrap_wxEmptyBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
196 PyObject
* _resultobj
;
200 int _arg2
= (int ) -1;
201 char *_kwnames
[] = { "width","height","depth", NULL
};
205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ii|i:wxEmptyBitmap",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
208 wxPy_BEGIN_ALLOW_THREADS
;
209 _result
= (wxBitmap
*)wxEmptyBitmap(_arg0
,_arg1
,_arg2
);
211 wxPy_END_ALLOW_THREADS
;
213 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
214 _resultobj
= Py_BuildValue("s",_ptemp
);
217 _resultobj
= Py_None
;
222 static PyObject
*_wrap_wxNoRefBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
223 PyObject
* _resultobj
;
227 char *_kwnames
[] = { "name","flags", NULL
};
231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"sl:wxNoRefBitmap",_kwnames
,&_arg0
,&_arg1
))
234 wxPy_BEGIN_ALLOW_THREADS
;
235 _result
= (wxBitmap
*)wxNoRefBitmap(_arg0
,_arg1
);
237 wxPy_END_ALLOW_THREADS
;
239 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
240 _resultobj
= Py_BuildValue("s",_ptemp
);
243 _resultobj
= Py_None
;
248 static PyObject
*_wrap_wxBitmapFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
249 PyObject
* _resultobj
;
255 int _arg4
= (int ) 1;
256 char *_kwnames
[] = { "data","type","width","height","depth", NULL
};
260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"slii|i:wxBitmapFromData",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
263 wxPy_BEGIN_ALLOW_THREADS
;
264 _result
= (wxBitmap
*)wxBitmapFromData(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
266 wxPy_END_ALLOW_THREADS
;
268 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
269 _resultobj
= Py_BuildValue("s",_ptemp
);
272 _resultobj
= Py_None
;
277 static PyObject
*_wrap_wxMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
278 PyObject
* _resultobj
;
282 PyObject
* _argo0
= 0;
283 PyObject
* _argo1
= 0;
284 char *_kwnames
[] = { "bitmap","colour", NULL
};
288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMaskColour",_kwnames
,&_argo0
,&_argo1
))
291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMaskColour. Expected _wxBitmap_p.");
298 if (_argo1
== Py_None
) { _arg1
= NULL
; }
299 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMaskColour. Expected _wxColour_p.");
305 wxPy_BEGIN_ALLOW_THREADS
;
306 _result
= (wxMask
*)wxMaskColour(*_arg0
,*_arg1
);
308 wxPy_END_ALLOW_THREADS
;
310 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
311 _resultobj
= Py_BuildValue("s",_ptemp
);
314 _resultobj
= Py_None
;
319 static PyObject
*_wrap_wxStockCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
320 PyObject
* _resultobj
;
323 char *_kwnames
[] = { "id", NULL
};
327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxStockCursor",_kwnames
,&_arg0
))
330 wxPy_BEGIN_ALLOW_THREADS
;
331 _result
= (wxCursor
*)wxPyStockCursor(_arg0
);
333 wxPy_END_ALLOW_THREADS
;
335 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCursor_p");
336 _resultobj
= Py_BuildValue("s",_ptemp
);
339 _resultobj
= Py_None
;
344 static PyObject
*_wrap_wxNamedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
345 PyObject
* _resultobj
;
348 PyObject
* _obj0
= 0;
349 char *_kwnames
[] = { "colorName", NULL
};
353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNamedColour",_kwnames
,&_obj0
))
356 if (!PyString_Check(_obj0
)) {
357 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
360 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
363 wxPy_BEGIN_ALLOW_THREADS
;
364 _result
= (wxColour
*)wxNamedColour(*_arg0
);
366 wxPy_END_ALLOW_THREADS
;
368 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
369 _resultobj
= Py_BuildValue("s",_ptemp
);
372 _resultobj
= Py_None
;
381 static PyObject
*_wrap_wxMemoryDCFromDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
382 PyObject
* _resultobj
;
383 wxMemoryDC
* _result
;
385 PyObject
* _argo0
= 0;
386 char *_kwnames
[] = { "oldDC", NULL
};
390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMemoryDCFromDC",_kwnames
,&_argo0
))
393 if (_argo0
== Py_None
) { _arg0
= NULL
; }
394 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDCFromDC. Expected _wxDC_p.");
400 wxPy_BEGIN_ALLOW_THREADS
;
401 _result
= (wxMemoryDC
*)wxMemoryDCFromDC(_arg0
);
403 wxPy_END_ALLOW_THREADS
;
405 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
406 _resultobj
= Py_BuildValue("s",_ptemp
);
409 _resultobj
= Py_None
;
414 static int _wrap_wxNORMAL_FONT_set(PyObject
*val
) {
416 PyErr_SetString(PyExc_TypeError
,"Variable wxNORMAL_FONT is read-only.");
420 static PyObject
*_wrap_wxNORMAL_FONT_get() {
424 SWIG_MakePtr(ptemp
, (char *) wxNORMAL_FONT
,"_wxFont_p");
425 pyobj
= PyString_FromString(ptemp
);
429 static int _wrap_wxSMALL_FONT_set(PyObject
*val
) {
431 PyErr_SetString(PyExc_TypeError
,"Variable wxSMALL_FONT is read-only.");
435 static PyObject
*_wrap_wxSMALL_FONT_get() {
439 SWIG_MakePtr(ptemp
, (char *) wxSMALL_FONT
,"_wxFont_p");
440 pyobj
= PyString_FromString(ptemp
);
444 static int _wrap_wxITALIC_FONT_set(PyObject
*val
) {
446 PyErr_SetString(PyExc_TypeError
,"Variable wxITALIC_FONT is read-only.");
450 static PyObject
*_wrap_wxITALIC_FONT_get() {
454 SWIG_MakePtr(ptemp
, (char *) wxITALIC_FONT
,"_wxFont_p");
455 pyobj
= PyString_FromString(ptemp
);
459 static int _wrap_wxSWISS_FONT_set(PyObject
*val
) {
461 PyErr_SetString(PyExc_TypeError
,"Variable wxSWISS_FONT is read-only.");
465 static PyObject
*_wrap_wxSWISS_FONT_get() {
469 SWIG_MakePtr(ptemp
, (char *) wxSWISS_FONT
,"_wxFont_p");
470 pyobj
= PyString_FromString(ptemp
);
474 static int _wrap_wxRED_PEN_set(PyObject
*val
) {
476 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_PEN is read-only.");
480 static PyObject
*_wrap_wxRED_PEN_get() {
484 SWIG_MakePtr(ptemp
, (char *) wxRED_PEN
,"_wxPen_p");
485 pyobj
= PyString_FromString(ptemp
);
489 static int _wrap_wxCYAN_PEN_set(PyObject
*val
) {
491 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_PEN is read-only.");
495 static PyObject
*_wrap_wxCYAN_PEN_get() {
499 SWIG_MakePtr(ptemp
, (char *) wxCYAN_PEN
,"_wxPen_p");
500 pyobj
= PyString_FromString(ptemp
);
504 static int _wrap_wxGREEN_PEN_set(PyObject
*val
) {
506 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_PEN is read-only.");
510 static PyObject
*_wrap_wxGREEN_PEN_get() {
514 SWIG_MakePtr(ptemp
, (char *) wxGREEN_PEN
,"_wxPen_p");
515 pyobj
= PyString_FromString(ptemp
);
519 static int _wrap_wxBLACK_PEN_set(PyObject
*val
) {
521 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_PEN is read-only.");
525 static PyObject
*_wrap_wxBLACK_PEN_get() {
529 SWIG_MakePtr(ptemp
, (char *) wxBLACK_PEN
,"_wxPen_p");
530 pyobj
= PyString_FromString(ptemp
);
534 static int _wrap_wxWHITE_PEN_set(PyObject
*val
) {
536 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_PEN is read-only.");
540 static PyObject
*_wrap_wxWHITE_PEN_get() {
544 SWIG_MakePtr(ptemp
, (char *) wxWHITE_PEN
,"_wxPen_p");
545 pyobj
= PyString_FromString(ptemp
);
549 static int _wrap_wxTRANSPARENT_PEN_set(PyObject
*val
) {
551 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_PEN is read-only.");
555 static PyObject
*_wrap_wxTRANSPARENT_PEN_get() {
559 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_PEN
,"_wxPen_p");
560 pyobj
= PyString_FromString(ptemp
);
564 static int _wrap_wxBLACK_DASHED_PEN_set(PyObject
*val
) {
566 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_DASHED_PEN is read-only.");
570 static PyObject
*_wrap_wxBLACK_DASHED_PEN_get() {
574 SWIG_MakePtr(ptemp
, (char *) wxBLACK_DASHED_PEN
,"_wxPen_p");
575 pyobj
= PyString_FromString(ptemp
);
579 static int _wrap_wxGREY_PEN_set(PyObject
*val
) {
581 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_PEN is read-only.");
585 static PyObject
*_wrap_wxGREY_PEN_get() {
589 SWIG_MakePtr(ptemp
, (char *) wxGREY_PEN
,"_wxPen_p");
590 pyobj
= PyString_FromString(ptemp
);
594 static int _wrap_wxMEDIUM_GREY_PEN_set(PyObject
*val
) {
596 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_PEN is read-only.");
600 static PyObject
*_wrap_wxMEDIUM_GREY_PEN_get() {
604 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_PEN
,"_wxPen_p");
605 pyobj
= PyString_FromString(ptemp
);
609 static int _wrap_wxLIGHT_GREY_PEN_set(PyObject
*val
) {
611 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_PEN is read-only.");
615 static PyObject
*_wrap_wxLIGHT_GREY_PEN_get() {
619 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_PEN
,"_wxPen_p");
620 pyobj
= PyString_FromString(ptemp
);
624 static int _wrap_wxBLUE_BRUSH_set(PyObject
*val
) {
626 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE_BRUSH is read-only.");
630 static PyObject
*_wrap_wxBLUE_BRUSH_get() {
634 SWIG_MakePtr(ptemp
, (char *) wxBLUE_BRUSH
,"_wxBrush_p");
635 pyobj
= PyString_FromString(ptemp
);
639 static int _wrap_wxGREEN_BRUSH_set(PyObject
*val
) {
641 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_BRUSH is read-only.");
645 static PyObject
*_wrap_wxGREEN_BRUSH_get() {
649 SWIG_MakePtr(ptemp
, (char *) wxGREEN_BRUSH
,"_wxBrush_p");
650 pyobj
= PyString_FromString(ptemp
);
654 static int _wrap_wxWHITE_BRUSH_set(PyObject
*val
) {
656 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_BRUSH is read-only.");
660 static PyObject
*_wrap_wxWHITE_BRUSH_get() {
664 SWIG_MakePtr(ptemp
, (char *) wxWHITE_BRUSH
,"_wxBrush_p");
665 pyobj
= PyString_FromString(ptemp
);
669 static int _wrap_wxBLACK_BRUSH_set(PyObject
*val
) {
671 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_BRUSH is read-only.");
675 static PyObject
*_wrap_wxBLACK_BRUSH_get() {
679 SWIG_MakePtr(ptemp
, (char *) wxBLACK_BRUSH
,"_wxBrush_p");
680 pyobj
= PyString_FromString(ptemp
);
684 static int _wrap_wxTRANSPARENT_BRUSH_set(PyObject
*val
) {
686 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_BRUSH is read-only.");
690 static PyObject
*_wrap_wxTRANSPARENT_BRUSH_get() {
694 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_BRUSH
,"_wxBrush_p");
695 pyobj
= PyString_FromString(ptemp
);
699 static int _wrap_wxCYAN_BRUSH_set(PyObject
*val
) {
701 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_BRUSH is read-only.");
705 static PyObject
*_wrap_wxCYAN_BRUSH_get() {
709 SWIG_MakePtr(ptemp
, (char *) wxCYAN_BRUSH
,"_wxBrush_p");
710 pyobj
= PyString_FromString(ptemp
);
714 static int _wrap_wxRED_BRUSH_set(PyObject
*val
) {
716 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_BRUSH is read-only.");
720 static PyObject
*_wrap_wxRED_BRUSH_get() {
724 SWIG_MakePtr(ptemp
, (char *) wxRED_BRUSH
,"_wxBrush_p");
725 pyobj
= PyString_FromString(ptemp
);
729 static int _wrap_wxGREY_BRUSH_set(PyObject
*val
) {
731 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_BRUSH is read-only.");
735 static PyObject
*_wrap_wxGREY_BRUSH_get() {
739 SWIG_MakePtr(ptemp
, (char *) wxGREY_BRUSH
,"_wxBrush_p");
740 pyobj
= PyString_FromString(ptemp
);
744 static int _wrap_wxMEDIUM_GREY_BRUSH_set(PyObject
*val
) {
746 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_BRUSH is read-only.");
750 static PyObject
*_wrap_wxMEDIUM_GREY_BRUSH_get() {
754 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_BRUSH
,"_wxBrush_p");
755 pyobj
= PyString_FromString(ptemp
);
759 static int _wrap_wxLIGHT_GREY_BRUSH_set(PyObject
*val
) {
761 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_BRUSH is read-only.");
765 static PyObject
*_wrap_wxLIGHT_GREY_BRUSH_get() {
769 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_BRUSH
,"_wxBrush_p");
770 pyobj
= PyString_FromString(ptemp
);
774 static int _wrap_wxBLACK_set(PyObject
*val
) {
776 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK is read-only.");
780 static PyObject
*_wrap_wxBLACK_get() {
784 SWIG_MakePtr(ptemp
, (char *) wxBLACK
,"_wxColour_p");
785 pyobj
= PyString_FromString(ptemp
);
789 static int _wrap_wxWHITE_set(PyObject
*val
) {
791 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE is read-only.");
795 static PyObject
*_wrap_wxWHITE_get() {
799 SWIG_MakePtr(ptemp
, (char *) wxWHITE
,"_wxColour_p");
800 pyobj
= PyString_FromString(ptemp
);
804 static int _wrap_wxRED_set(PyObject
*val
) {
806 PyErr_SetString(PyExc_TypeError
,"Variable wxRED is read-only.");
810 static PyObject
*_wrap_wxRED_get() {
814 SWIG_MakePtr(ptemp
, (char *) wxRED
,"_wxColour_p");
815 pyobj
= PyString_FromString(ptemp
);
819 static int _wrap_wxBLUE_set(PyObject
*val
) {
821 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE is read-only.");
825 static PyObject
*_wrap_wxBLUE_get() {
829 SWIG_MakePtr(ptemp
, (char *) wxBLUE
,"_wxColour_p");
830 pyobj
= PyString_FromString(ptemp
);
834 static int _wrap_wxGREEN_set(PyObject
*val
) {
836 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN is read-only.");
840 static PyObject
*_wrap_wxGREEN_get() {
844 SWIG_MakePtr(ptemp
, (char *) wxGREEN
,"_wxColour_p");
845 pyobj
= PyString_FromString(ptemp
);
849 static int _wrap_wxCYAN_set(PyObject
*val
) {
851 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN is read-only.");
855 static PyObject
*_wrap_wxCYAN_get() {
859 SWIG_MakePtr(ptemp
, (char *) wxCYAN
,"_wxColour_p");
860 pyobj
= PyString_FromString(ptemp
);
864 static int _wrap_wxLIGHT_GREY_set(PyObject
*val
) {
866 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY is read-only.");
870 static PyObject
*_wrap_wxLIGHT_GREY_get() {
874 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY
,"_wxColour_p");
875 pyobj
= PyString_FromString(ptemp
);
879 static int _wrap_wxSTANDARD_CURSOR_set(PyObject
*val
) {
881 PyErr_SetString(PyExc_TypeError
,"Variable wxSTANDARD_CURSOR is read-only.");
885 static PyObject
*_wrap_wxSTANDARD_CURSOR_get() {
889 SWIG_MakePtr(ptemp
, (char *) wxSTANDARD_CURSOR
,"_wxCursor_p");
890 pyobj
= PyString_FromString(ptemp
);
894 static int _wrap_wxHOURGLASS_CURSOR_set(PyObject
*val
) {
896 PyErr_SetString(PyExc_TypeError
,"Variable wxHOURGLASS_CURSOR is read-only.");
900 static PyObject
*_wrap_wxHOURGLASS_CURSOR_get() {
904 SWIG_MakePtr(ptemp
, (char *) wxHOURGLASS_CURSOR
,"_wxCursor_p");
905 pyobj
= PyString_FromString(ptemp
);
909 static int _wrap_wxCROSS_CURSOR_set(PyObject
*val
) {
911 PyErr_SetString(PyExc_TypeError
,"Variable wxCROSS_CURSOR is read-only.");
915 static PyObject
*_wrap_wxCROSS_CURSOR_get() {
919 SWIG_MakePtr(ptemp
, (char *) wxCROSS_CURSOR
,"_wxCursor_p");
920 pyobj
= PyString_FromString(ptemp
);
924 static int _wrap_wxNullBitmap_set(PyObject
*val
) {
926 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBitmap is read-only.");
930 static PyObject
*_wrap_wxNullBitmap_get() {
934 SWIG_MakePtr(ptemp
,(char *) &wxNullBitmap
,"_wxBitmap_p");
935 pyobj
= PyString_FromString(ptemp
);
939 static int _wrap_wxNullIcon_set(PyObject
*val
) {
941 PyErr_SetString(PyExc_TypeError
,"Variable wxNullIcon is read-only.");
945 static PyObject
*_wrap_wxNullIcon_get() {
949 SWIG_MakePtr(ptemp
,(char *) &wxNullIcon
,"_wxIcon_p");
950 pyobj
= PyString_FromString(ptemp
);
954 static int _wrap_wxNullCursor_set(PyObject
*val
) {
956 PyErr_SetString(PyExc_TypeError
,"Variable wxNullCursor is read-only.");
960 static PyObject
*_wrap_wxNullCursor_get() {
964 SWIG_MakePtr(ptemp
,(char *) &wxNullCursor
,"_wxCursor_p");
965 pyobj
= PyString_FromString(ptemp
);
969 static int _wrap_wxNullPen_set(PyObject
*val
) {
971 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPen is read-only.");
975 static PyObject
*_wrap_wxNullPen_get() {
979 SWIG_MakePtr(ptemp
,(char *) &wxNullPen
,"_wxPen_p");
980 pyobj
= PyString_FromString(ptemp
);
984 static int _wrap_wxNullBrush_set(PyObject
*val
) {
986 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBrush is read-only.");
990 static PyObject
*_wrap_wxNullBrush_get() {
994 SWIG_MakePtr(ptemp
,(char *) &wxNullBrush
,"_wxBrush_p");
995 pyobj
= PyString_FromString(ptemp
);
999 static int _wrap_wxNullPalette_set(PyObject
*val
) {
1001 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPalette is read-only.");
1005 static PyObject
*_wrap_wxNullPalette_get() {
1009 SWIG_MakePtr(ptemp
,(char *) &wxNullPalette
,"_wxPalette_p");
1010 pyobj
= PyString_FromString(ptemp
);
1014 static int _wrap_wxNullFont_set(PyObject
*val
) {
1016 PyErr_SetString(PyExc_TypeError
,"Variable wxNullFont is read-only.");
1020 static PyObject
*_wrap_wxNullFont_get() {
1024 SWIG_MakePtr(ptemp
,(char *) &wxNullFont
,"_wxFont_p");
1025 pyobj
= PyString_FromString(ptemp
);
1029 static int _wrap_wxNullColour_set(PyObject
*val
) {
1031 PyErr_SetString(PyExc_TypeError
,"Variable wxNullColour is read-only.");
1035 static PyObject
*_wrap_wxNullColour_get() {
1039 SWIG_MakePtr(ptemp
,(char *) &wxNullColour
,"_wxColour_p");
1040 pyobj
= PyString_FromString(ptemp
);
1044 #define new_wxBitmap(_swigarg0,_swigarg1) (new wxBitmap(_swigarg0,_swigarg1))
1045 static PyObject
*_wrap_new_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1046 PyObject
* _resultobj
;
1050 PyObject
* _obj0
= 0;
1051 char *_kwnames
[] = { "name","type", NULL
};
1055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:new_wxBitmap",_kwnames
,&_obj0
,&_arg1
))
1058 if (!PyString_Check(_obj0
)) {
1059 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1062 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
1065 wxPy_BEGIN_ALLOW_THREADS
;
1066 _result
= (wxBitmap
*)new_wxBitmap(*_arg0
,_arg1
);
1068 wxPy_END_ALLOW_THREADS
;
1070 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1071 _resultobj
= Py_BuildValue("s",_ptemp
);
1074 _resultobj
= Py_None
;
1083 #define delete_wxBitmap(_swigobj) (delete _swigobj)
1084 static PyObject
*_wrap_delete_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1085 PyObject
* _resultobj
;
1087 PyObject
* _argo0
= 0;
1088 char *_kwnames
[] = { "self", NULL
};
1091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBitmap",_kwnames
,&_argo0
))
1094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBitmap. Expected _wxBitmap_p.");
1101 wxPy_BEGIN_ALLOW_THREADS
;
1102 delete_wxBitmap(_arg0
);
1104 wxPy_END_ALLOW_THREADS
;
1105 } Py_INCREF(Py_None
);
1106 _resultobj
= Py_None
;
1110 #define wxBitmap_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2))
1111 static PyObject
*_wrap_wxBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1112 PyObject
* _resultobj
;
1116 int _arg3
= (int ) -1;
1117 PyObject
* _argo0
= 0;
1118 char *_kwnames
[] = { "self","width","height","depth", NULL
};
1121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxBitmap_Create",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
1124 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1125 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_Create. Expected _wxBitmap_p.");
1131 wxPy_BEGIN_ALLOW_THREADS
;
1132 wxBitmap_Create(_arg0
,_arg1
,_arg2
,_arg3
);
1134 wxPy_END_ALLOW_THREADS
;
1135 } Py_INCREF(Py_None
);
1136 _resultobj
= Py_None
;
1140 #define wxBitmap_GetDepth(_swigobj) (_swigobj->GetDepth())
1141 static PyObject
*_wrap_wxBitmap_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1142 PyObject
* _resultobj
;
1145 PyObject
* _argo0
= 0;
1146 char *_kwnames
[] = { "self", NULL
};
1149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetDepth",_kwnames
,&_argo0
))
1152 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1153 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetDepth. Expected _wxBitmap_p.");
1159 wxPy_BEGIN_ALLOW_THREADS
;
1160 _result
= (int )wxBitmap_GetDepth(_arg0
);
1162 wxPy_END_ALLOW_THREADS
;
1163 } _resultobj
= Py_BuildValue("i",_result
);
1167 #define wxBitmap_GetHeight(_swigobj) (_swigobj->GetHeight())
1168 static PyObject
*_wrap_wxBitmap_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1169 PyObject
* _resultobj
;
1172 PyObject
* _argo0
= 0;
1173 char *_kwnames
[] = { "self", NULL
};
1176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetHeight",_kwnames
,&_argo0
))
1179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetHeight. Expected _wxBitmap_p.");
1186 wxPy_BEGIN_ALLOW_THREADS
;
1187 _result
= (int )wxBitmap_GetHeight(_arg0
);
1189 wxPy_END_ALLOW_THREADS
;
1190 } _resultobj
= Py_BuildValue("i",_result
);
1194 #define wxBitmap_GetPalette(_swigobj) (_swigobj->GetPalette())
1195 static PyObject
*_wrap_wxBitmap_GetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1196 PyObject
* _resultobj
;
1197 wxPalette
* _result
;
1199 PyObject
* _argo0
= 0;
1200 char *_kwnames
[] = { "self", NULL
};
1204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetPalette",_kwnames
,&_argo0
))
1207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetPalette. Expected _wxBitmap_p.");
1214 wxPy_BEGIN_ALLOW_THREADS
;
1215 _result
= (wxPalette
*)wxBitmap_GetPalette(_arg0
);
1217 wxPy_END_ALLOW_THREADS
;
1219 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
1220 _resultobj
= Py_BuildValue("s",_ptemp
);
1223 _resultobj
= Py_None
;
1228 #define wxBitmap_GetMask(_swigobj) (_swigobj->GetMask())
1229 static PyObject
*_wrap_wxBitmap_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1230 PyObject
* _resultobj
;
1233 PyObject
* _argo0
= 0;
1234 char *_kwnames
[] = { "self", NULL
};
1238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetMask",_kwnames
,&_argo0
))
1241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetMask. Expected _wxBitmap_p.");
1248 wxPy_BEGIN_ALLOW_THREADS
;
1249 _result
= (wxMask
*)wxBitmap_GetMask(_arg0
);
1251 wxPy_END_ALLOW_THREADS
;
1253 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
1254 _resultobj
= Py_BuildValue("s",_ptemp
);
1257 _resultobj
= Py_None
;
1262 #define wxBitmap_GetWidth(_swigobj) (_swigobj->GetWidth())
1263 static PyObject
*_wrap_wxBitmap_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1264 PyObject
* _resultobj
;
1267 PyObject
* _argo0
= 0;
1268 char *_kwnames
[] = { "self", NULL
};
1271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetWidth",_kwnames
,&_argo0
))
1274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetWidth. Expected _wxBitmap_p.");
1281 wxPy_BEGIN_ALLOW_THREADS
;
1282 _result
= (int )wxBitmap_GetWidth(_arg0
);
1284 wxPy_END_ALLOW_THREADS
;
1285 } _resultobj
= Py_BuildValue("i",_result
);
1289 #define wxBitmap_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1290 static PyObject
*_wrap_wxBitmap_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1291 PyObject
* _resultobj
;
1296 PyObject
* _argo0
= 0;
1297 PyObject
* _obj1
= 0;
1298 char *_kwnames
[] = { "self","name","flags", NULL
};
1301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOl:wxBitmap_LoadFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1304 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1305 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_LoadFile. Expected _wxBitmap_p.");
1311 if (!PyString_Check(_obj1
)) {
1312 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1315 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1318 wxPy_BEGIN_ALLOW_THREADS
;
1319 _result
= (bool )wxBitmap_LoadFile(_arg0
,*_arg1
,_arg2
);
1321 wxPy_END_ALLOW_THREADS
;
1322 } _resultobj
= Py_BuildValue("i",_result
);
1330 #define wxBitmap_Ok(_swigobj) (_swigobj->Ok())
1331 static PyObject
*_wrap_wxBitmap_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1332 PyObject
* _resultobj
;
1335 PyObject
* _argo0
= 0;
1336 char *_kwnames
[] = { "self", NULL
};
1339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_Ok",_kwnames
,&_argo0
))
1342 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1343 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_Ok. Expected _wxBitmap_p.");
1349 wxPy_BEGIN_ALLOW_THREADS
;
1350 _result
= (bool )wxBitmap_Ok(_arg0
);
1352 wxPy_END_ALLOW_THREADS
;
1353 } _resultobj
= Py_BuildValue("i",_result
);
1357 #define wxBitmap_SaveFile(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SaveFile(_swigarg0,_swigarg1,_swigarg2))
1358 static PyObject
*_wrap_wxBitmap_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1359 PyObject
* _resultobj
;
1364 wxPalette
* _arg3
= (wxPalette
*) NULL
;
1365 PyObject
* _argo0
= 0;
1366 PyObject
* _obj1
= 0;
1367 PyObject
* _argo3
= 0;
1368 char *_kwnames
[] = { "self","name","type","palette", NULL
};
1371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|O:wxBitmap_SaveFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_argo3
))
1374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SaveFile. Expected _wxBitmap_p.");
1381 if (!PyString_Check(_obj1
)) {
1382 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1385 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1388 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1389 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxPalette_p")) {
1390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxBitmap_SaveFile. Expected _wxPalette_p.");
1395 wxPy_BEGIN_ALLOW_THREADS
;
1396 _result
= (bool )wxBitmap_SaveFile(_arg0
,*_arg1
,_arg2
,_arg3
);
1398 wxPy_END_ALLOW_THREADS
;
1399 } _resultobj
= Py_BuildValue("i",_result
);
1407 #define wxBitmap_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
1408 static PyObject
*_wrap_wxBitmap_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1409 PyObject
* _resultobj
;
1412 PyObject
* _argo0
= 0;
1413 char *_kwnames
[] = { "self","depth", NULL
};
1416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetDepth",_kwnames
,&_argo0
,&_arg1
))
1419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetDepth. Expected _wxBitmap_p.");
1426 wxPy_BEGIN_ALLOW_THREADS
;
1427 wxBitmap_SetDepth(_arg0
,_arg1
);
1429 wxPy_END_ALLOW_THREADS
;
1430 } Py_INCREF(Py_None
);
1431 _resultobj
= Py_None
;
1435 #define wxBitmap_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1436 static PyObject
*_wrap_wxBitmap_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1437 PyObject
* _resultobj
;
1440 PyObject
* _argo0
= 0;
1441 char *_kwnames
[] = { "self","height", NULL
};
1444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetHeight",_kwnames
,&_argo0
,&_arg1
))
1447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetHeight. Expected _wxBitmap_p.");
1454 wxPy_BEGIN_ALLOW_THREADS
;
1455 wxBitmap_SetHeight(_arg0
,_arg1
);
1457 wxPy_END_ALLOW_THREADS
;
1458 } Py_INCREF(Py_None
);
1459 _resultobj
= Py_None
;
1463 #define wxBitmap_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
1464 static PyObject
*_wrap_wxBitmap_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1465 PyObject
* _resultobj
;
1468 PyObject
* _argo0
= 0;
1469 PyObject
* _argo1
= 0;
1470 char *_kwnames
[] = { "self","mask", NULL
};
1473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_SetMask",_kwnames
,&_argo0
,&_argo1
))
1476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetMask. Expected _wxBitmap_p.");
1483 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1484 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMask_p")) {
1485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_SetMask. Expected _wxMask_p.");
1490 wxPy_BEGIN_ALLOW_THREADS
;
1491 wxBitmap_SetMask(_arg0
,_arg1
);
1493 wxPy_END_ALLOW_THREADS
;
1494 } Py_INCREF(Py_None
);
1495 _resultobj
= Py_None
;
1499 #define wxBitmap_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
1500 static PyObject
*_wrap_wxBitmap_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1501 PyObject
* _resultobj
;
1504 PyObject
* _argo0
= 0;
1505 PyObject
* _argo1
= 0;
1506 char *_kwnames
[] = { "self","palette", NULL
};
1509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_SetPalette",_kwnames
,&_argo0
,&_argo1
))
1512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetPalette. Expected _wxBitmap_p.");
1519 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1520 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPalette_p")) {
1521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_SetPalette. Expected _wxPalette_p.");
1526 wxPy_BEGIN_ALLOW_THREADS
;
1527 wxBitmap_SetPalette(_arg0
,*_arg1
);
1529 wxPy_END_ALLOW_THREADS
;
1530 } Py_INCREF(Py_None
);
1531 _resultobj
= Py_None
;
1535 #define wxBitmap_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1536 static PyObject
*_wrap_wxBitmap_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1537 PyObject
* _resultobj
;
1540 PyObject
* _argo0
= 0;
1541 char *_kwnames
[] = { "self","width", NULL
};
1544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetWidth",_kwnames
,&_argo0
,&_arg1
))
1547 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1548 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetWidth. Expected _wxBitmap_p.");
1554 wxPy_BEGIN_ALLOW_THREADS
;
1555 wxBitmap_SetWidth(_arg0
,_arg1
);
1557 wxPy_END_ALLOW_THREADS
;
1558 } Py_INCREF(Py_None
);
1559 _resultobj
= Py_None
;
1563 #define new_wxMask(_swigarg0) (new wxMask(_swigarg0))
1564 static PyObject
*_wrap_new_wxMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1565 PyObject
* _resultobj
;
1568 PyObject
* _argo0
= 0;
1569 char *_kwnames
[] = { "bitmap", NULL
};
1573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxMask",_kwnames
,&_argo0
))
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 new_wxMask. Expected _wxBitmap_p.");
1583 wxPy_BEGIN_ALLOW_THREADS
;
1584 _result
= (wxMask
*)new_wxMask(*_arg0
);
1586 wxPy_END_ALLOW_THREADS
;
1588 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
1589 _resultobj
= Py_BuildValue("s",_ptemp
);
1592 _resultobj
= Py_None
;
1597 #define delete_wxMask(_swigobj) (delete _swigobj)
1598 static PyObject
*_wrap_delete_wxMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1599 PyObject
* _resultobj
;
1601 PyObject
* _argo0
= 0;
1602 char *_kwnames
[] = { "self", NULL
};
1605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMask",_kwnames
,&_argo0
))
1608 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1609 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMask_p")) {
1610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMask. Expected _wxMask_p.");
1615 wxPy_BEGIN_ALLOW_THREADS
;
1616 delete_wxMask(_arg0
);
1618 wxPy_END_ALLOW_THREADS
;
1619 } Py_INCREF(Py_None
);
1620 _resultobj
= Py_None
;
1624 static void *SwigwxIconTowxBitmap(void *ptr
) {
1627 src
= (wxIcon
*) ptr
;
1628 dest
= (wxBitmap
*) src
;
1629 return (void *) dest
;
1632 #define new_wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1633 static PyObject
*_wrap_new_wxIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1634 PyObject
* _resultobj
;
1638 int _arg2
= (int ) -1;
1639 int _arg3
= (int ) -1;
1640 PyObject
* _obj0
= 0;
1641 char *_kwnames
[] = { "name","flags","desiredWidth","desiredHeight", NULL
};
1645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:new_wxIcon",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
))
1648 if (!PyString_Check(_obj0
)) {
1649 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1652 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
1655 wxPy_BEGIN_ALLOW_THREADS
;
1656 _result
= (wxIcon
*)new_wxIcon(*_arg0
,_arg1
,_arg2
,_arg3
);
1658 wxPy_END_ALLOW_THREADS
;
1660 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
1661 _resultobj
= Py_BuildValue("s",_ptemp
);
1664 _resultobj
= Py_None
;
1673 #define delete_wxIcon(_swigobj) (delete _swigobj)
1674 static PyObject
*_wrap_delete_wxIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1675 PyObject
* _resultobj
;
1677 PyObject
* _argo0
= 0;
1678 char *_kwnames
[] = { "self", NULL
};
1681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxIcon",_kwnames
,&_argo0
))
1684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxIcon. Expected _wxIcon_p.");
1691 wxPy_BEGIN_ALLOW_THREADS
;
1692 delete_wxIcon(_arg0
);
1694 wxPy_END_ALLOW_THREADS
;
1695 } Py_INCREF(Py_None
);
1696 _resultobj
= Py_None
;
1700 #define wxIcon_GetDepth(_swigobj) (_swigobj->GetDepth())
1701 static PyObject
*_wrap_wxIcon_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1702 PyObject
* _resultobj
;
1705 PyObject
* _argo0
= 0;
1706 char *_kwnames
[] = { "self", NULL
};
1709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetDepth",_kwnames
,&_argo0
))
1712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetDepth. Expected _wxIcon_p.");
1719 wxPy_BEGIN_ALLOW_THREADS
;
1720 _result
= (int )wxIcon_GetDepth(_arg0
);
1722 wxPy_END_ALLOW_THREADS
;
1723 } _resultobj
= Py_BuildValue("i",_result
);
1727 #define wxIcon_GetHeight(_swigobj) (_swigobj->GetHeight())
1728 static PyObject
*_wrap_wxIcon_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1729 PyObject
* _resultobj
;
1732 PyObject
* _argo0
= 0;
1733 char *_kwnames
[] = { "self", NULL
};
1736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetHeight",_kwnames
,&_argo0
))
1739 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1740 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetHeight. Expected _wxIcon_p.");
1746 wxPy_BEGIN_ALLOW_THREADS
;
1747 _result
= (int )wxIcon_GetHeight(_arg0
);
1749 wxPy_END_ALLOW_THREADS
;
1750 } _resultobj
= Py_BuildValue("i",_result
);
1754 #define wxIcon_GetWidth(_swigobj) (_swigobj->GetWidth())
1755 static PyObject
*_wrap_wxIcon_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1756 PyObject
* _resultobj
;
1759 PyObject
* _argo0
= 0;
1760 char *_kwnames
[] = { "self", NULL
};
1763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetWidth",_kwnames
,&_argo0
))
1766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetWidth. Expected _wxIcon_p.");
1773 wxPy_BEGIN_ALLOW_THREADS
;
1774 _result
= (int )wxIcon_GetWidth(_arg0
);
1776 wxPy_END_ALLOW_THREADS
;
1777 } _resultobj
= Py_BuildValue("i",_result
);
1781 #define wxIcon_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1782 static PyObject
*_wrap_wxIcon_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1783 PyObject
* _resultobj
;
1788 PyObject
* _argo0
= 0;
1789 PyObject
* _obj1
= 0;
1790 char *_kwnames
[] = { "self","name","flags", NULL
};
1793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOl:wxIcon_LoadFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_LoadFile. Expected _wxIcon_p.");
1803 if (!PyString_Check(_obj1
)) {
1804 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1807 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1810 wxPy_BEGIN_ALLOW_THREADS
;
1811 _result
= (bool )wxIcon_LoadFile(_arg0
,*_arg1
,_arg2
);
1813 wxPy_END_ALLOW_THREADS
;
1814 } _resultobj
= Py_BuildValue("i",_result
);
1822 #define wxIcon_Ok(_swigobj) (_swigobj->Ok())
1823 static PyObject
*_wrap_wxIcon_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1824 PyObject
* _resultobj
;
1827 PyObject
* _argo0
= 0;
1828 char *_kwnames
[] = { "self", NULL
};
1831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_Ok",_kwnames
,&_argo0
))
1834 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1835 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_Ok. Expected _wxIcon_p.");
1841 wxPy_BEGIN_ALLOW_THREADS
;
1842 _result
= (bool )wxIcon_Ok(_arg0
);
1844 wxPy_END_ALLOW_THREADS
;
1845 } _resultobj
= Py_BuildValue("i",_result
);
1849 #define wxIcon_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
1850 static PyObject
*_wrap_wxIcon_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1851 PyObject
* _resultobj
;
1854 PyObject
* _argo0
= 0;
1855 char *_kwnames
[] = { "self","depth", NULL
};
1858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetDepth",_kwnames
,&_argo0
,&_arg1
))
1861 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1862 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetDepth. Expected _wxIcon_p.");
1868 wxPy_BEGIN_ALLOW_THREADS
;
1869 wxIcon_SetDepth(_arg0
,_arg1
);
1871 wxPy_END_ALLOW_THREADS
;
1872 } Py_INCREF(Py_None
);
1873 _resultobj
= Py_None
;
1877 #define wxIcon_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1878 static PyObject
*_wrap_wxIcon_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1879 PyObject
* _resultobj
;
1882 PyObject
* _argo0
= 0;
1883 char *_kwnames
[] = { "self","height", NULL
};
1886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetHeight",_kwnames
,&_argo0
,&_arg1
))
1889 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1890 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetHeight. Expected _wxIcon_p.");
1896 wxPy_BEGIN_ALLOW_THREADS
;
1897 wxIcon_SetHeight(_arg0
,_arg1
);
1899 wxPy_END_ALLOW_THREADS
;
1900 } Py_INCREF(Py_None
);
1901 _resultobj
= Py_None
;
1905 #define wxIcon_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1906 static PyObject
*_wrap_wxIcon_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1907 PyObject
* _resultobj
;
1910 PyObject
* _argo0
= 0;
1911 char *_kwnames
[] = { "self","width", NULL
};
1914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetWidth",_kwnames
,&_argo0
,&_arg1
))
1917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetWidth. Expected _wxIcon_p.");
1924 wxPy_BEGIN_ALLOW_THREADS
;
1925 wxIcon_SetWidth(_arg0
,_arg1
);
1927 wxPy_END_ALLOW_THREADS
;
1928 } Py_INCREF(Py_None
);
1929 _resultobj
= Py_None
;
1933 static void *SwigwxCursorTowxBitmap(void *ptr
) {
1936 src
= (wxCursor
*) ptr
;
1937 dest
= (wxBitmap
*) src
;
1938 return (void *) dest
;
1941 #define new_wxCursor(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxCursor(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1942 static PyObject
*_wrap_new_wxCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1943 PyObject
* _resultobj
;
1947 int _arg2
= (int ) 0;
1948 int _arg3
= (int ) 0;
1949 PyObject
* _obj0
= 0;
1950 char *_kwnames
[] = { "cursorName","flags","hotSpotX","hotSpotY", NULL
};
1954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:new_wxCursor",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
))
1957 if (!PyString_Check(_obj0
)) {
1958 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1961 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
1964 wxPy_BEGIN_ALLOW_THREADS
;
1965 _result
= (wxCursor
*)new_wxCursor(*_arg0
,_arg1
,_arg2
,_arg3
);
1967 wxPy_END_ALLOW_THREADS
;
1969 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCursor_p");
1970 _resultobj
= Py_BuildValue("s",_ptemp
);
1973 _resultobj
= Py_None
;
1982 #define delete_wxCursor(_swigobj) (delete _swigobj)
1983 static PyObject
*_wrap_delete_wxCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1984 PyObject
* _resultobj
;
1986 PyObject
* _argo0
= 0;
1987 char *_kwnames
[] = { "self", NULL
};
1990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCursor",_kwnames
,&_argo0
))
1993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCursor. Expected _wxCursor_p.");
2000 wxPy_BEGIN_ALLOW_THREADS
;
2001 delete_wxCursor(_arg0
);
2003 wxPy_END_ALLOW_THREADS
;
2004 } Py_INCREF(Py_None
);
2005 _resultobj
= Py_None
;
2009 #define wxCursor_Ok(_swigobj) (_swigobj->Ok())
2010 static PyObject
*_wrap_wxCursor_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2011 PyObject
* _resultobj
;
2014 PyObject
* _argo0
= 0;
2015 char *_kwnames
[] = { "self", NULL
};
2018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCursor_Ok",_kwnames
,&_argo0
))
2021 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2022 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_Ok. Expected _wxCursor_p.");
2028 wxPy_BEGIN_ALLOW_THREADS
;
2029 _result
= (bool )wxCursor_Ok(_arg0
);
2031 wxPy_END_ALLOW_THREADS
;
2032 } _resultobj
= Py_BuildValue("i",_result
);
2036 static wxFont
*new_wxFont(int pointSize
,int family
,int style
,int weight
,int underline
,char *faceName
) {
2038 return wxTheFontList
->FindOrCreateFont(pointSize
, family
, style
, weight
,
2039 underline
, faceName
);
2042 static PyObject
*_wrap_new_wxFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2043 PyObject
* _resultobj
;
2049 int _arg4
= (int ) FALSE
;
2050 char * _arg5
= (char *) "";
2051 char *_kwnames
[] = { "pointSize","family","style","weight","underline","faceName", NULL
};
2055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiii|is:new_wxFont",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2058 wxPy_BEGIN_ALLOW_THREADS
;
2059 _result
= (wxFont
*)new_wxFont(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
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 wxFont_GetFaceName(_swigobj) (_swigobj->GetFaceName())
2073 static PyObject
*_wrap_wxFont_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2074 PyObject
* _resultobj
;
2077 PyObject
* _argo0
= 0;
2078 char *_kwnames
[] = { "self", NULL
};
2081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFaceName",_kwnames
,&_argo0
))
2084 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2085 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFaceName. Expected _wxFont_p.");
2091 wxPy_BEGIN_ALLOW_THREADS
;
2092 _result
= new wxString (wxFont_GetFaceName(_arg0
));
2094 wxPy_END_ALLOW_THREADS
;
2096 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
2104 #define wxFont_GetFamily(_swigobj) (_swigobj->GetFamily())
2105 static PyObject
*_wrap_wxFont_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2106 PyObject
* _resultobj
;
2109 PyObject
* _argo0
= 0;
2110 char *_kwnames
[] = { "self", NULL
};
2113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFamily",_kwnames
,&_argo0
))
2116 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2117 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFamily. Expected _wxFont_p.");
2123 wxPy_BEGIN_ALLOW_THREADS
;
2124 _result
= (int )wxFont_GetFamily(_arg0
);
2126 wxPy_END_ALLOW_THREADS
;
2127 } _resultobj
= Py_BuildValue("i",_result
);
2131 #define wxFont_GetFontId(_swigobj) (_swigobj->GetFontId())
2132 static PyObject
*_wrap_wxFont_GetFontId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2133 PyObject
* _resultobj
;
2136 PyObject
* _argo0
= 0;
2137 char *_kwnames
[] = { "self", NULL
};
2140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFontId",_kwnames
,&_argo0
))
2143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFontId. Expected _wxFont_p.");
2150 wxPy_BEGIN_ALLOW_THREADS
;
2151 _result
= (int )wxFont_GetFontId(_arg0
);
2153 wxPy_END_ALLOW_THREADS
;
2154 } _resultobj
= Py_BuildValue("i",_result
);
2158 #define wxFont_GetPointSize(_swigobj) (_swigobj->GetPointSize())
2159 static PyObject
*_wrap_wxFont_GetPointSize(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_GetPointSize",_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_GetPointSize. Expected _wxFont_p.");
2177 wxPy_BEGIN_ALLOW_THREADS
;
2178 _result
= (int )wxFont_GetPointSize(_arg0
);
2180 wxPy_END_ALLOW_THREADS
;
2181 } _resultobj
= Py_BuildValue("i",_result
);
2185 #define wxFont_GetStyle(_swigobj) (_swigobj->GetStyle())
2186 static PyObject
*_wrap_wxFont_GetStyle(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_GetStyle",_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_GetStyle. Expected _wxFont_p.");
2204 wxPy_BEGIN_ALLOW_THREADS
;
2205 _result
= (int )wxFont_GetStyle(_arg0
);
2207 wxPy_END_ALLOW_THREADS
;
2208 } _resultobj
= Py_BuildValue("i",_result
);
2212 #define wxFont_GetUnderlined(_swigobj) (_swigobj->GetUnderlined())
2213 static PyObject
*_wrap_wxFont_GetUnderlined(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_GetUnderlined",_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_GetUnderlined. Expected _wxFont_p.");
2231 wxPy_BEGIN_ALLOW_THREADS
;
2232 _result
= (bool )wxFont_GetUnderlined(_arg0
);
2234 wxPy_END_ALLOW_THREADS
;
2235 } _resultobj
= Py_BuildValue("i",_result
);
2239 #define wxFont_GetWeight(_swigobj) (_swigobj->GetWeight())
2240 static PyObject
*_wrap_wxFont_GetWeight(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_GetWeight",_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_GetWeight. Expected _wxFont_p.");
2258 wxPy_BEGIN_ALLOW_THREADS
;
2259 _result
= (int )wxFont_GetWeight(_arg0
);
2261 wxPy_END_ALLOW_THREADS
;
2262 } _resultobj
= Py_BuildValue("i",_result
);
2266 #define wxFont_SetFaceName(_swigobj,_swigarg0) (_swigobj->SetFaceName(_swigarg0))
2267 static PyObject
*_wrap_wxFont_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2268 PyObject
* _resultobj
;
2271 PyObject
* _argo0
= 0;
2272 PyObject
* _obj1
= 0;
2273 char *_kwnames
[] = { "self","faceName", NULL
};
2276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFont_SetFaceName",_kwnames
,&_argo0
,&_obj1
))
2279 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2280 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFaceName. Expected _wxFont_p.");
2286 if (!PyString_Check(_obj1
)) {
2287 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2290 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2293 wxPy_BEGIN_ALLOW_THREADS
;
2294 wxFont_SetFaceName(_arg0
,*_arg1
);
2296 wxPy_END_ALLOW_THREADS
;
2297 } Py_INCREF(Py_None
);
2298 _resultobj
= Py_None
;
2306 #define wxFont_SetFamily(_swigobj,_swigarg0) (_swigobj->SetFamily(_swigarg0))
2307 static PyObject
*_wrap_wxFont_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2308 PyObject
* _resultobj
;
2311 PyObject
* _argo0
= 0;
2312 char *_kwnames
[] = { "self","family", NULL
};
2315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetFamily",_kwnames
,&_argo0
,&_arg1
))
2318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFamily. Expected _wxFont_p.");
2325 wxPy_BEGIN_ALLOW_THREADS
;
2326 wxFont_SetFamily(_arg0
,_arg1
);
2328 wxPy_END_ALLOW_THREADS
;
2329 } Py_INCREF(Py_None
);
2330 _resultobj
= Py_None
;
2334 #define wxFont_SetPointSize(_swigobj,_swigarg0) (_swigobj->SetPointSize(_swigarg0))
2335 static PyObject
*_wrap_wxFont_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2336 PyObject
* _resultobj
;
2339 PyObject
* _argo0
= 0;
2340 char *_kwnames
[] = { "self","pointSize", NULL
};
2343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetPointSize",_kwnames
,&_argo0
,&_arg1
))
2346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetPointSize. Expected _wxFont_p.");
2353 wxPy_BEGIN_ALLOW_THREADS
;
2354 wxFont_SetPointSize(_arg0
,_arg1
);
2356 wxPy_END_ALLOW_THREADS
;
2357 } Py_INCREF(Py_None
);
2358 _resultobj
= Py_None
;
2362 #define wxFont_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
2363 static PyObject
*_wrap_wxFont_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2364 PyObject
* _resultobj
;
2367 PyObject
* _argo0
= 0;
2368 char *_kwnames
[] = { "self","style", NULL
};
2371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetStyle",_kwnames
,&_argo0
,&_arg1
))
2374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetStyle. Expected _wxFont_p.");
2381 wxPy_BEGIN_ALLOW_THREADS
;
2382 wxFont_SetStyle(_arg0
,_arg1
);
2384 wxPy_END_ALLOW_THREADS
;
2385 } Py_INCREF(Py_None
);
2386 _resultobj
= Py_None
;
2390 #define wxFont_SetUnderlined(_swigobj,_swigarg0) (_swigobj->SetUnderlined(_swigarg0))
2391 static PyObject
*_wrap_wxFont_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2392 PyObject
* _resultobj
;
2395 PyObject
* _argo0
= 0;
2397 char *_kwnames
[] = { "self","underlined", NULL
};
2400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetUnderlined",_kwnames
,&_argo0
,&tempbool1
))
2403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetUnderlined. Expected _wxFont_p.");
2409 _arg1
= (bool ) tempbool1
;
2411 wxPy_BEGIN_ALLOW_THREADS
;
2412 wxFont_SetUnderlined(_arg0
,_arg1
);
2414 wxPy_END_ALLOW_THREADS
;
2415 } Py_INCREF(Py_None
);
2416 _resultobj
= Py_None
;
2420 #define wxFont_SetWeight(_swigobj,_swigarg0) (_swigobj->SetWeight(_swigarg0))
2421 static PyObject
*_wrap_wxFont_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2422 PyObject
* _resultobj
;
2425 PyObject
* _argo0
= 0;
2426 char *_kwnames
[] = { "self","weight", NULL
};
2429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetWeight",_kwnames
,&_argo0
,&_arg1
))
2432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetWeight. Expected _wxFont_p.");
2439 wxPy_BEGIN_ALLOW_THREADS
;
2440 wxFont_SetWeight(_arg0
,_arg1
);
2442 wxPy_END_ALLOW_THREADS
;
2443 } Py_INCREF(Py_None
);
2444 _resultobj
= Py_None
;
2448 #define new_wxColour(_swigarg0,_swigarg1,_swigarg2) (new wxColour(_swigarg0,_swigarg1,_swigarg2))
2449 static PyObject
*_wrap_new_wxColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2450 PyObject
* _resultobj
;
2452 unsigned char _arg0
= (unsigned char ) 0;
2453 unsigned char _arg1
= (unsigned char ) 0;
2454 unsigned char _arg2
= (unsigned char ) 0;
2455 char *_kwnames
[] = { "red","green","blue", NULL
};
2459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|bbb:new_wxColour",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
2462 wxPy_BEGIN_ALLOW_THREADS
;
2463 _result
= (wxColour
*)new_wxColour(_arg0
,_arg1
,_arg2
);
2465 wxPy_END_ALLOW_THREADS
;
2467 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
2468 _resultobj
= Py_BuildValue("s",_ptemp
);
2471 _resultobj
= Py_None
;
2476 #define delete_wxColour(_swigobj) (delete _swigobj)
2477 static PyObject
*_wrap_delete_wxColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2478 PyObject
* _resultobj
;
2480 PyObject
* _argo0
= 0;
2481 char *_kwnames
[] = { "self", NULL
};
2484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxColour",_kwnames
,&_argo0
))
2487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
2489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxColour. Expected _wxColour_p.");
2494 wxPy_BEGIN_ALLOW_THREADS
;
2495 delete_wxColour(_arg0
);
2497 wxPy_END_ALLOW_THREADS
;
2498 } Py_INCREF(Py_None
);
2499 _resultobj
= Py_None
;
2503 #define wxColour_Red(_swigobj) (_swigobj->Red())
2504 static PyObject
*_wrap_wxColour_Red(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2505 PyObject
* _resultobj
;
2506 unsigned char _result
;
2508 PyObject
* _argo0
= 0;
2509 char *_kwnames
[] = { "self", NULL
};
2512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Red",_kwnames
,&_argo0
))
2515 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2516 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
2517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Red. Expected _wxColour_p.");
2522 wxPy_BEGIN_ALLOW_THREADS
;
2523 _result
= (unsigned char )wxColour_Red(_arg0
);
2525 wxPy_END_ALLOW_THREADS
;
2526 } _resultobj
= Py_BuildValue("b",_result
);
2530 #define wxColour_Green(_swigobj) (_swigobj->Green())
2531 static PyObject
*_wrap_wxColour_Green(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2532 PyObject
* _resultobj
;
2533 unsigned char _result
;
2535 PyObject
* _argo0
= 0;
2536 char *_kwnames
[] = { "self", NULL
};
2539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Green",_kwnames
,&_argo0
))
2542 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2543 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
2544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Green. Expected _wxColour_p.");
2549 wxPy_BEGIN_ALLOW_THREADS
;
2550 _result
= (unsigned char )wxColour_Green(_arg0
);
2552 wxPy_END_ALLOW_THREADS
;
2553 } _resultobj
= Py_BuildValue("b",_result
);
2557 #define wxColour_Blue(_swigobj) (_swigobj->Blue())
2558 static PyObject
*_wrap_wxColour_Blue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2559 PyObject
* _resultobj
;
2560 unsigned char _result
;
2562 PyObject
* _argo0
= 0;
2563 char *_kwnames
[] = { "self", NULL
};
2566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Blue",_kwnames
,&_argo0
))
2569 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2570 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
2571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Blue. Expected _wxColour_p.");
2576 wxPy_BEGIN_ALLOW_THREADS
;
2577 _result
= (unsigned char )wxColour_Blue(_arg0
);
2579 wxPy_END_ALLOW_THREADS
;
2580 } _resultobj
= Py_BuildValue("b",_result
);
2584 #define wxColour_Ok(_swigobj) (_swigobj->Ok())
2585 static PyObject
*_wrap_wxColour_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2586 PyObject
* _resultobj
;
2589 PyObject
* _argo0
= 0;
2590 char *_kwnames
[] = { "self", NULL
};
2593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Ok",_kwnames
,&_argo0
))
2596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
2598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Ok. Expected _wxColour_p.");
2603 wxPy_BEGIN_ALLOW_THREADS
;
2604 _result
= (bool )wxColour_Ok(_arg0
);
2606 wxPy_END_ALLOW_THREADS
;
2607 } _resultobj
= Py_BuildValue("i",_result
);
2611 #define wxColour_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
2612 static PyObject
*_wrap_wxColour_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2613 PyObject
* _resultobj
;
2615 unsigned char _arg1
;
2616 unsigned char _arg2
;
2617 unsigned char _arg3
;
2618 PyObject
* _argo0
= 0;
2619 char *_kwnames
[] = { "self","red","green","blue", NULL
};
2622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Obbb:wxColour_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
2627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Set. Expected _wxColour_p.");
2632 wxPy_BEGIN_ALLOW_THREADS
;
2633 wxColour_Set(_arg0
,_arg1
,_arg2
,_arg3
);
2635 wxPy_END_ALLOW_THREADS
;
2636 } Py_INCREF(Py_None
);
2637 _resultobj
= Py_None
;
2641 static PyObject
* wxColour_Get(wxColour
*self
) {
2642 PyObject
* rv
= PyTuple_New(3);
2643 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
2644 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
2645 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
2648 static PyObject
*_wrap_wxColour_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2649 PyObject
* _resultobj
;
2652 PyObject
* _argo0
= 0;
2653 char *_kwnames
[] = { "self", NULL
};
2656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Get",_kwnames
,&_argo0
))
2659 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2660 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
2661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Get. Expected _wxColour_p.");
2666 wxPy_BEGIN_ALLOW_THREADS
;
2667 _result
= (PyObject
*)wxColour_Get(_arg0
);
2669 wxPy_END_ALLOW_THREADS
;
2671 _resultobj
= _result
;
2676 static wxPen
*new_wxPen(wxColour
*colour
,int width
,int style
) {
2677 return wxThePenList
->FindOrCreatePen(*colour
, width
, style
);
2680 static PyObject
*_wrap_new_wxPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2681 PyObject
* _resultobj
;
2684 int _arg1
= (int ) 1;
2685 int _arg2
= (int ) wxSOLID
;
2686 PyObject
* _argo0
= 0;
2687 char *_kwnames
[] = { "colour","width","style", NULL
};
2691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:new_wxPen",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2694 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2695 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
2696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPen. Expected _wxColour_p.");
2701 wxPy_BEGIN_ALLOW_THREADS
;
2702 _result
= (wxPen
*)new_wxPen(_arg0
,_arg1
,_arg2
);
2704 wxPy_END_ALLOW_THREADS
;
2706 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
2707 _resultobj
= Py_BuildValue("s",_ptemp
);
2710 _resultobj
= Py_None
;
2715 #define wxPen_GetCap(_swigobj) (_swigobj->GetCap())
2716 static PyObject
*_wrap_wxPen_GetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2717 PyObject
* _resultobj
;
2720 PyObject
* _argo0
= 0;
2721 char *_kwnames
[] = { "self", NULL
};
2724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetCap",_kwnames
,&_argo0
))
2727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetCap. Expected _wxPen_p.");
2734 wxPy_BEGIN_ALLOW_THREADS
;
2735 _result
= (int )wxPen_GetCap(_arg0
);
2737 wxPy_END_ALLOW_THREADS
;
2738 } _resultobj
= Py_BuildValue("i",_result
);
2742 #define wxPen_GetColour(_swigobj) (_swigobj->GetColour())
2743 static PyObject
*_wrap_wxPen_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2744 PyObject
* _resultobj
;
2747 PyObject
* _argo0
= 0;
2748 char *_kwnames
[] = { "self", NULL
};
2752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetColour",_kwnames
,&_argo0
))
2755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetColour. Expected _wxPen_p.");
2762 wxPy_BEGIN_ALLOW_THREADS
;
2763 wxColour
& _result_ref
= wxPen_GetColour(_arg0
);
2764 _result
= (wxColour
*) &_result_ref
;
2766 wxPy_END_ALLOW_THREADS
;
2768 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
2769 _resultobj
= Py_BuildValue("s",_ptemp
);
2772 _resultobj
= Py_None
;
2777 #define wxPen_GetJoin(_swigobj) (_swigobj->GetJoin())
2778 static PyObject
*_wrap_wxPen_GetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2779 PyObject
* _resultobj
;
2782 PyObject
* _argo0
= 0;
2783 char *_kwnames
[] = { "self", NULL
};
2786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetJoin",_kwnames
,&_argo0
))
2789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetJoin. Expected _wxPen_p.");
2796 wxPy_BEGIN_ALLOW_THREADS
;
2797 _result
= (int )wxPen_GetJoin(_arg0
);
2799 wxPy_END_ALLOW_THREADS
;
2800 } _resultobj
= Py_BuildValue("i",_result
);
2804 #define wxPen_GetStyle(_swigobj) (_swigobj->GetStyle())
2805 static PyObject
*_wrap_wxPen_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2806 PyObject
* _resultobj
;
2809 PyObject
* _argo0
= 0;
2810 char *_kwnames
[] = { "self", NULL
};
2813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetStyle",_kwnames
,&_argo0
))
2816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetStyle. Expected _wxPen_p.");
2823 wxPy_BEGIN_ALLOW_THREADS
;
2824 _result
= (int )wxPen_GetStyle(_arg0
);
2826 wxPy_END_ALLOW_THREADS
;
2827 } _resultobj
= Py_BuildValue("i",_result
);
2831 #define wxPen_GetWidth(_swigobj) (_swigobj->GetWidth())
2832 static PyObject
*_wrap_wxPen_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2833 PyObject
* _resultobj
;
2836 PyObject
* _argo0
= 0;
2837 char *_kwnames
[] = { "self", NULL
};
2840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetWidth",_kwnames
,&_argo0
))
2843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetWidth. Expected _wxPen_p.");
2850 wxPy_BEGIN_ALLOW_THREADS
;
2851 _result
= (int )wxPen_GetWidth(_arg0
);
2853 wxPy_END_ALLOW_THREADS
;
2854 } _resultobj
= Py_BuildValue("i",_result
);
2858 #define wxPen_Ok(_swigobj) (_swigobj->Ok())
2859 static PyObject
*_wrap_wxPen_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2860 PyObject
* _resultobj
;
2863 PyObject
* _argo0
= 0;
2864 char *_kwnames
[] = { "self", NULL
};
2867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_Ok",_kwnames
,&_argo0
))
2870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_Ok. Expected _wxPen_p.");
2877 wxPy_BEGIN_ALLOW_THREADS
;
2878 _result
= (bool )wxPen_Ok(_arg0
);
2880 wxPy_END_ALLOW_THREADS
;
2881 } _resultobj
= Py_BuildValue("i",_result
);
2885 #define wxPen_SetCap(_swigobj,_swigarg0) (_swigobj->SetCap(_swigarg0))
2886 static PyObject
*_wrap_wxPen_SetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2887 PyObject
* _resultobj
;
2890 PyObject
* _argo0
= 0;
2891 char *_kwnames
[] = { "self","cap_style", NULL
};
2894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetCap",_kwnames
,&_argo0
,&_arg1
))
2897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetCap. Expected _wxPen_p.");
2904 wxPy_BEGIN_ALLOW_THREADS
;
2905 wxPen_SetCap(_arg0
,_arg1
);
2907 wxPy_END_ALLOW_THREADS
;
2908 } Py_INCREF(Py_None
);
2909 _resultobj
= Py_None
;
2913 #define wxPen_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
2914 static PyObject
*_wrap_wxPen_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2915 PyObject
* _resultobj
;
2918 PyObject
* _argo0
= 0;
2919 PyObject
* _argo1
= 0;
2920 char *_kwnames
[] = { "self","colour", NULL
};
2923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetColour",_kwnames
,&_argo0
,&_argo1
))
2926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetColour. Expected _wxPen_p.");
2933 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2934 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPen_SetColour. Expected _wxColour_p.");
2940 wxPy_BEGIN_ALLOW_THREADS
;
2941 wxPen_SetColour(_arg0
,*_arg1
);
2943 wxPy_END_ALLOW_THREADS
;
2944 } Py_INCREF(Py_None
);
2945 _resultobj
= Py_None
;
2949 #define wxPen_SetJoin(_swigobj,_swigarg0) (_swigobj->SetJoin(_swigarg0))
2950 static PyObject
*_wrap_wxPen_SetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2951 PyObject
* _resultobj
;
2954 PyObject
* _argo0
= 0;
2955 char *_kwnames
[] = { "self","join_style", NULL
};
2958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetJoin",_kwnames
,&_argo0
,&_arg1
))
2961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetJoin. Expected _wxPen_p.");
2968 wxPy_BEGIN_ALLOW_THREADS
;
2969 wxPen_SetJoin(_arg0
,_arg1
);
2971 wxPy_END_ALLOW_THREADS
;
2972 } Py_INCREF(Py_None
);
2973 _resultobj
= Py_None
;
2977 #define wxPen_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
2978 static PyObject
*_wrap_wxPen_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2979 PyObject
* _resultobj
;
2982 PyObject
* _argo0
= 0;
2983 char *_kwnames
[] = { "self","style", NULL
};
2986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetStyle",_kwnames
,&_argo0
,&_arg1
))
2989 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2990 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetStyle. Expected _wxPen_p.");
2996 wxPy_BEGIN_ALLOW_THREADS
;
2997 wxPen_SetStyle(_arg0
,_arg1
);
2999 wxPy_END_ALLOW_THREADS
;
3000 } Py_INCREF(Py_None
);
3001 _resultobj
= Py_None
;
3005 #define wxPen_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
3006 static PyObject
*_wrap_wxPen_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3007 PyObject
* _resultobj
;
3010 PyObject
* _argo0
= 0;
3011 char *_kwnames
[] = { "self","width", NULL
};
3014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetWidth",_kwnames
,&_argo0
,&_arg1
))
3017 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3018 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetWidth. Expected _wxPen_p.");
3024 wxPy_BEGIN_ALLOW_THREADS
;
3025 wxPen_SetWidth(_arg0
,_arg1
);
3027 wxPy_END_ALLOW_THREADS
;
3028 } Py_INCREF(Py_None
);
3029 _resultobj
= Py_None
;
3033 #define wxPen_GetDashes(_swigobj,_swigarg0) (_swigobj->GetDashes(_swigarg0))
3034 static PyObject
*_wrap_wxPen_GetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3035 PyObject
* _resultobj
;
3039 PyObject
* _argo0
= 0;
3040 PyObject
* _argo1
= 0;
3041 char *_kwnames
[] = { "self","dashes", NULL
};
3044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_GetDashes",_kwnames
,&_argo0
,&_argo1
))
3047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetDashes. Expected _wxPen_p.");
3054 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3055 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDash_pp")) {
3056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPen_GetDashes. Expected _wxDash_pp.");
3061 wxPy_BEGIN_ALLOW_THREADS
;
3062 _result
= (int )wxPen_GetDashes(_arg0
,_arg1
);
3064 wxPy_END_ALLOW_THREADS
;
3065 } _resultobj
= Py_BuildValue("i",_result
);
3069 #define wxPen_GetStipple(_swigobj) (_swigobj->GetStipple())
3070 static PyObject
*_wrap_wxPen_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3071 PyObject
* _resultobj
;
3074 PyObject
* _argo0
= 0;
3075 char *_kwnames
[] = { "self", NULL
};
3079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetStipple",_kwnames
,&_argo0
))
3082 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3083 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetStipple. Expected _wxPen_p.");
3089 wxPy_BEGIN_ALLOW_THREADS
;
3090 _result
= (wxBitmap
*)wxPen_GetStipple(_arg0
);
3092 wxPy_END_ALLOW_THREADS
;
3094 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
3095 _resultobj
= Py_BuildValue("s",_ptemp
);
3098 _resultobj
= Py_None
;
3103 #define wxPen_SetDashes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDashes(_swigarg0,_swigarg1))
3104 static PyObject
*_wrap_wxPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3105 PyObject
* _resultobj
;
3109 PyObject
* _argo0
= 0;
3110 PyObject
* _obj2
= 0;
3111 char *_kwnames
[] = { "self","LIST", NULL
};
3114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetDashes",_kwnames
,&_argo0
,&_obj2
))
3117 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3118 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetDashes. Expected _wxPen_p.");
3125 _arg2
= (unsigned long*)long_LIST_helper(_obj2
);
3126 if (_arg2
== NULL
) {
3132 _arg1
= PyList_Size(_obj2
);
3139 wxPy_BEGIN_ALLOW_THREADS
;
3140 wxPen_SetDashes(_arg0
,_arg1
,_arg2
);
3142 wxPy_END_ALLOW_THREADS
;
3143 } Py_INCREF(Py_None
);
3144 _resultobj
= Py_None
;
3151 #define wxPen_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
3152 static PyObject
*_wrap_wxPen_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3153 PyObject
* _resultobj
;
3156 PyObject
* _argo0
= 0;
3157 PyObject
* _argo1
= 0;
3158 char *_kwnames
[] = { "self","stipple", NULL
};
3161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetStipple",_kwnames
,&_argo0
,&_argo1
))
3164 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3165 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetStipple. Expected _wxPen_p.");
3171 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3172 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
3173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPen_SetStipple. Expected _wxBitmap_p.");
3178 wxPy_BEGIN_ALLOW_THREADS
;
3179 wxPen_SetStipple(_arg0
,*_arg1
);
3181 wxPy_END_ALLOW_THREADS
;
3182 } Py_INCREF(Py_None
);
3183 _resultobj
= Py_None
;
3187 static wxBrush
*new_wxBrush(wxColour
*colour
,int style
) {
3188 return wxTheBrushList
->FindOrCreateBrush(*colour
, style
);
3191 static PyObject
*_wrap_new_wxBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3192 PyObject
* _resultobj
;
3195 int _arg1
= (int ) wxSOLID
;
3196 PyObject
* _argo0
= 0;
3197 char *_kwnames
[] = { "colour","style", NULL
};
3201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxBrush",_kwnames
,&_argo0
,&_arg1
))
3204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
3206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBrush. Expected _wxColour_p.");
3211 wxPy_BEGIN_ALLOW_THREADS
;
3212 _result
= (wxBrush
*)new_wxBrush(_arg0
,_arg1
);
3214 wxPy_END_ALLOW_THREADS
;
3216 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
3217 _resultobj
= Py_BuildValue("s",_ptemp
);
3220 _resultobj
= Py_None
;
3225 #define wxBrush_GetColour(_swigobj) (_swigobj->GetColour())
3226 static PyObject
*_wrap_wxBrush_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3227 PyObject
* _resultobj
;
3230 PyObject
* _argo0
= 0;
3231 char *_kwnames
[] = { "self", NULL
};
3235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetColour",_kwnames
,&_argo0
))
3238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetColour. Expected _wxBrush_p.");
3245 wxPy_BEGIN_ALLOW_THREADS
;
3246 wxColour
& _result_ref
= wxBrush_GetColour(_arg0
);
3247 _result
= (wxColour
*) &_result_ref
;
3249 wxPy_END_ALLOW_THREADS
;
3251 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3252 _resultobj
= Py_BuildValue("s",_ptemp
);
3255 _resultobj
= Py_None
;
3260 #define wxBrush_GetStipple(_swigobj) (_swigobj->GetStipple())
3261 static PyObject
*_wrap_wxBrush_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3262 PyObject
* _resultobj
;
3265 PyObject
* _argo0
= 0;
3266 char *_kwnames
[] = { "self", NULL
};
3270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetStipple",_kwnames
,&_argo0
))
3273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStipple. Expected _wxBrush_p.");
3280 wxPy_BEGIN_ALLOW_THREADS
;
3281 _result
= (wxBitmap
*)wxBrush_GetStipple(_arg0
);
3283 wxPy_END_ALLOW_THREADS
;
3285 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
3286 _resultobj
= Py_BuildValue("s",_ptemp
);
3289 _resultobj
= Py_None
;
3294 #define wxBrush_GetStyle(_swigobj) (_swigobj->GetStyle())
3295 static PyObject
*_wrap_wxBrush_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3296 PyObject
* _resultobj
;
3299 PyObject
* _argo0
= 0;
3300 char *_kwnames
[] = { "self", NULL
};
3303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetStyle",_kwnames
,&_argo0
))
3306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStyle. Expected _wxBrush_p.");
3313 wxPy_BEGIN_ALLOW_THREADS
;
3314 _result
= (int )wxBrush_GetStyle(_arg0
);
3316 wxPy_END_ALLOW_THREADS
;
3317 } _resultobj
= Py_BuildValue("i",_result
);
3321 #define wxBrush_Ok(_swigobj) (_swigobj->Ok())
3322 static PyObject
*_wrap_wxBrush_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3323 PyObject
* _resultobj
;
3326 PyObject
* _argo0
= 0;
3327 char *_kwnames
[] = { "self", NULL
};
3330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_Ok",_kwnames
,&_argo0
))
3333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_Ok. Expected _wxBrush_p.");
3340 wxPy_BEGIN_ALLOW_THREADS
;
3341 _result
= (bool )wxBrush_Ok(_arg0
);
3343 wxPy_END_ALLOW_THREADS
;
3344 } _resultobj
= Py_BuildValue("i",_result
);
3348 #define wxBrush_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
3349 static PyObject
*_wrap_wxBrush_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3350 PyObject
* _resultobj
;
3353 PyObject
* _argo0
= 0;
3354 PyObject
* _argo1
= 0;
3355 char *_kwnames
[] = { "self","colour", NULL
};
3358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrush_SetColour",_kwnames
,&_argo0
,&_argo1
))
3361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetColour. Expected _wxBrush_p.");
3368 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3369 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
3370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrush_SetColour. Expected _wxColour_p.");
3375 wxPy_BEGIN_ALLOW_THREADS
;
3376 wxBrush_SetColour(_arg0
,*_arg1
);
3378 wxPy_END_ALLOW_THREADS
;
3379 } Py_INCREF(Py_None
);
3380 _resultobj
= Py_None
;
3384 #define wxBrush_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
3385 static PyObject
*_wrap_wxBrush_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3386 PyObject
* _resultobj
;
3389 PyObject
* _argo0
= 0;
3390 PyObject
* _argo1
= 0;
3391 char *_kwnames
[] = { "self","bitmap", NULL
};
3394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrush_SetStipple",_kwnames
,&_argo0
,&_argo1
))
3397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStipple. Expected _wxBrush_p.");
3404 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3405 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
3406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrush_SetStipple. Expected _wxBitmap_p.");
3411 wxPy_BEGIN_ALLOW_THREADS
;
3412 wxBrush_SetStipple(_arg0
,*_arg1
);
3414 wxPy_END_ALLOW_THREADS
;
3415 } Py_INCREF(Py_None
);
3416 _resultobj
= Py_None
;
3420 #define wxBrush_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
3421 static PyObject
*_wrap_wxBrush_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3422 PyObject
* _resultobj
;
3425 PyObject
* _argo0
= 0;
3426 char *_kwnames
[] = { "self","style", NULL
};
3429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBrush_SetStyle",_kwnames
,&_argo0
,&_arg1
))
3432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStyle. Expected _wxBrush_p.");
3439 wxPy_BEGIN_ALLOW_THREADS
;
3440 wxBrush_SetStyle(_arg0
,_arg1
);
3442 wxPy_END_ALLOW_THREADS
;
3443 } Py_INCREF(Py_None
);
3444 _resultobj
= Py_None
;
3448 #define delete_wxDC(_swigobj) (delete _swigobj)
3449 static PyObject
*_wrap_delete_wxDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3450 PyObject
* _resultobj
;
3452 PyObject
* _argo0
= 0;
3453 char *_kwnames
[] = { "self", NULL
};
3456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDC",_kwnames
,&_argo0
))
3459 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3460 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDC. Expected _wxDC_p.");
3466 wxPy_BEGIN_ALLOW_THREADS
;
3469 wxPy_END_ALLOW_THREADS
;
3470 } Py_INCREF(Py_None
);
3471 _resultobj
= Py_None
;
3475 #define wxDC_BeginDrawing(_swigobj) (_swigobj->BeginDrawing())
3476 static PyObject
*_wrap_wxDC_BeginDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3477 PyObject
* _resultobj
;
3479 PyObject
* _argo0
= 0;
3480 char *_kwnames
[] = { "self", NULL
};
3483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_BeginDrawing",_kwnames
,&_argo0
))
3486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_BeginDrawing. Expected _wxDC_p.");
3493 wxPy_BEGIN_ALLOW_THREADS
;
3494 wxDC_BeginDrawing(_arg0
);
3496 wxPy_END_ALLOW_THREADS
;
3497 } Py_INCREF(Py_None
);
3498 _resultobj
= Py_None
;
3502 #define wxDC_Blit(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Blit(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
3503 static PyObject
*_wrap_wxDC_Blit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3504 PyObject
* _resultobj
;
3514 int _arg8
= (int ) wxCOPY
;
3515 int _arg9
= (int ) FALSE
;
3516 PyObject
* _argo0
= 0;
3517 PyObject
* _argo5
= 0;
3518 char *_kwnames
[] = { "self","xdest","ydest","width","height","source","xsrc","ysrc","logicalFunc","useMask", NULL
};
3521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllllOll|ii:wxDC_Blit",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_argo5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
))
3524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Blit. Expected _wxDC_p.");
3531 if (_argo5
== Py_None
) { _arg5
= NULL
; }
3532 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxDC_p")) {
3533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxDC_Blit. Expected _wxDC_p.");
3538 wxPy_BEGIN_ALLOW_THREADS
;
3539 _result
= (bool )wxDC_Blit(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
3541 wxPy_END_ALLOW_THREADS
;
3542 } _resultobj
= Py_BuildValue("i",_result
);
3546 #define wxDC_Clear(_swigobj) (_swigobj->Clear())
3547 static PyObject
*_wrap_wxDC_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3548 PyObject
* _resultobj
;
3550 PyObject
* _argo0
= 0;
3551 char *_kwnames
[] = { "self", NULL
};
3554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_Clear",_kwnames
,&_argo0
))
3557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Clear. Expected _wxDC_p.");
3564 wxPy_BEGIN_ALLOW_THREADS
;
3567 wxPy_END_ALLOW_THREADS
;
3568 } Py_INCREF(Py_None
);
3569 _resultobj
= Py_None
;
3573 #define wxDC_CrossHair(_swigobj,_swigarg0,_swigarg1) (_swigobj->CrossHair(_swigarg0,_swigarg1))
3574 static PyObject
*_wrap_wxDC_CrossHair(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3575 PyObject
* _resultobj
;
3579 PyObject
* _argo0
= 0;
3580 char *_kwnames
[] = { "self","x","y", NULL
};
3583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_CrossHair",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3586 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3587 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CrossHair. Expected _wxDC_p.");
3593 wxPy_BEGIN_ALLOW_THREADS
;
3594 wxDC_CrossHair(_arg0
,_arg1
,_arg2
);
3596 wxPy_END_ALLOW_THREADS
;
3597 } Py_INCREF(Py_None
);
3598 _resultobj
= Py_None
;
3602 #define wxDC_DestroyClippingRegion(_swigobj) (_swigobj->DestroyClippingRegion())
3603 static PyObject
*_wrap_wxDC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3604 PyObject
* _resultobj
;
3606 PyObject
* _argo0
= 0;
3607 char *_kwnames
[] = { "self", NULL
};
3610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_DestroyClippingRegion",_kwnames
,&_argo0
))
3613 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3614 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DestroyClippingRegion. Expected _wxDC_p.");
3620 wxPy_BEGIN_ALLOW_THREADS
;
3621 wxDC_DestroyClippingRegion(_arg0
);
3623 wxPy_END_ALLOW_THREADS
;
3624 } Py_INCREF(Py_None
);
3625 _resultobj
= Py_None
;
3629 #define wxDC_DeviceToLogicalX(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalX(_swigarg0))
3630 static PyObject
*_wrap_wxDC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3631 PyObject
* _resultobj
;
3635 PyObject
* _argo0
= 0;
3636 char *_kwnames
[] = { "self","x", NULL
};
3639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalX",_kwnames
,&_argo0
,&_arg1
))
3642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalX. Expected _wxDC_p.");
3649 wxPy_BEGIN_ALLOW_THREADS
;
3650 _result
= (long )wxDC_DeviceToLogicalX(_arg0
,_arg1
);
3652 wxPy_END_ALLOW_THREADS
;
3653 } _resultobj
= Py_BuildValue("l",_result
);
3657 #define wxDC_DeviceToLogicalXRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalXRel(_swigarg0))
3658 static PyObject
*_wrap_wxDC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3659 PyObject
* _resultobj
;
3663 PyObject
* _argo0
= 0;
3664 char *_kwnames
[] = { "self","x", NULL
};
3667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalXRel",_kwnames
,&_argo0
,&_arg1
))
3670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalXRel. Expected _wxDC_p.");
3677 wxPy_BEGIN_ALLOW_THREADS
;
3678 _result
= (long )wxDC_DeviceToLogicalXRel(_arg0
,_arg1
);
3680 wxPy_END_ALLOW_THREADS
;
3681 } _resultobj
= Py_BuildValue("l",_result
);
3685 #define wxDC_DeviceToLogicalY(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalY(_swigarg0))
3686 static PyObject
*_wrap_wxDC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3687 PyObject
* _resultobj
;
3691 PyObject
* _argo0
= 0;
3692 char *_kwnames
[] = { "self","y", NULL
};
3695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalY",_kwnames
,&_argo0
,&_arg1
))
3698 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3699 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalY. Expected _wxDC_p.");
3705 wxPy_BEGIN_ALLOW_THREADS
;
3706 _result
= (long )wxDC_DeviceToLogicalY(_arg0
,_arg1
);
3708 wxPy_END_ALLOW_THREADS
;
3709 } _resultobj
= Py_BuildValue("l",_result
);
3713 #define wxDC_DeviceToLogicalYRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalYRel(_swigarg0))
3714 static PyObject
*_wrap_wxDC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3715 PyObject
* _resultobj
;
3719 PyObject
* _argo0
= 0;
3720 char *_kwnames
[] = { "self","y", NULL
};
3723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalYRel",_kwnames
,&_argo0
,&_arg1
))
3726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalYRel. Expected _wxDC_p.");
3733 wxPy_BEGIN_ALLOW_THREADS
;
3734 _result
= (long )wxDC_DeviceToLogicalYRel(_arg0
,_arg1
);
3736 wxPy_END_ALLOW_THREADS
;
3737 } _resultobj
= Py_BuildValue("l",_result
);
3741 #define wxDC_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3742 static PyObject
*_wrap_wxDC_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3743 PyObject
* _resultobj
;
3751 PyObject
* _argo0
= 0;
3752 char *_kwnames
[] = { "self","x1","y1","x2","y2","xc","yc", NULL
};
3755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollllll:wxDC_DrawArc",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
3758 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3759 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawArc. Expected _wxDC_p.");
3765 wxPy_BEGIN_ALLOW_THREADS
;
3766 wxDC_DrawArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
3768 wxPy_END_ALLOW_THREADS
;
3769 } Py_INCREF(Py_None
);
3770 _resultobj
= Py_None
;
3774 #define wxDC_DrawCircle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawCircle(_swigarg0,_swigarg1,_swigarg2))
3775 static PyObject
*_wrap_wxDC_DrawCircle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3776 PyObject
* _resultobj
;
3781 PyObject
* _argo0
= 0;
3782 char *_kwnames
[] = { "self","x","y","radius", NULL
};
3785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olll:wxDC_DrawCircle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawCircle. Expected _wxDC_p.");
3795 wxPy_BEGIN_ALLOW_THREADS
;
3796 wxDC_DrawCircle(_arg0
,_arg1
,_arg2
,_arg3
);
3798 wxPy_END_ALLOW_THREADS
;
3799 } Py_INCREF(Py_None
);
3800 _resultobj
= Py_None
;
3804 #define wxDC_DrawEllipse(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawEllipse(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3805 static PyObject
*_wrap_wxDC_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3806 PyObject
* _resultobj
;
3812 PyObject
* _argo0
= 0;
3813 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
3816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawEllipse",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipse. Expected _wxDC_p.");
3826 wxPy_BEGIN_ALLOW_THREADS
;
3827 wxDC_DrawEllipse(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3829 wxPy_END_ALLOW_THREADS
;
3830 } Py_INCREF(Py_None
);
3831 _resultobj
= Py_None
;
3835 #define wxDC_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3836 static PyObject
*_wrap_wxDC_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3837 PyObject
* _resultobj
;
3845 PyObject
* _argo0
= 0;
3846 char *_kwnames
[] = { "self","x","y","width","height","start","end", NULL
};
3849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollllll:wxDC_DrawEllipticArc",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
3852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipticArc. Expected _wxDC_p.");
3859 wxPy_BEGIN_ALLOW_THREADS
;
3860 wxDC_DrawEllipticArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
3862 wxPy_END_ALLOW_THREADS
;
3863 } Py_INCREF(Py_None
);
3864 _resultobj
= Py_None
;
3868 #define wxDC_DrawIcon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawIcon(_swigarg0,_swigarg1,_swigarg2))
3869 static PyObject
*_wrap_wxDC_DrawIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3870 PyObject
* _resultobj
;
3875 PyObject
* _argo0
= 0;
3876 PyObject
* _argo1
= 0;
3877 char *_kwnames
[] = { "self","icon","x","y", NULL
};
3880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll:wxDC_DrawIcon",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawIcon. Expected _wxDC_p.");
3890 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3891 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
3892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawIcon. Expected _wxIcon_p.");
3897 wxPy_BEGIN_ALLOW_THREADS
;
3898 wxDC_DrawIcon(_arg0
,*_arg1
,_arg2
,_arg3
);
3900 wxPy_END_ALLOW_THREADS
;
3901 } Py_INCREF(Py_None
);
3902 _resultobj
= Py_None
;
3906 #define wxDC_DrawLine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3907 static PyObject
*_wrap_wxDC_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3908 PyObject
* _resultobj
;
3914 PyObject
* _argo0
= 0;
3915 char *_kwnames
[] = { "self","x1","y1","x2","y2", NULL
};
3918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawLine",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLine. Expected _wxDC_p.");
3928 wxPy_BEGIN_ALLOW_THREADS
;
3929 wxDC_DrawLine(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3931 wxPy_END_ALLOW_THREADS
;
3932 } Py_INCREF(Py_None
);
3933 _resultobj
= Py_None
;
3937 #define wxDC_DrawLines(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLines(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3938 static PyObject
*_wrap_wxDC_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3939 PyObject
* _resultobj
;
3943 long _arg3
= (long ) 0;
3944 long _arg4
= (long ) 0;
3945 PyObject
* _argo0
= 0;
3946 PyObject
* _obj2
= 0;
3947 char *_kwnames
[] = { "self","LIST","xoffset","yoffset", NULL
};
3950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ll:wxDC_DrawLines",_kwnames
,&_argo0
,&_obj2
,&_arg3
,&_arg4
))
3953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLines. Expected _wxDC_p.");
3961 _arg2
= wxPoint_LIST_helper(_obj2
);
3962 if (_arg2
== NULL
) {
3968 _arg1
= PyList_Size(_obj2
);
3975 wxPy_BEGIN_ALLOW_THREADS
;
3976 wxDC_DrawLines(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3978 wxPy_END_ALLOW_THREADS
;
3979 } Py_INCREF(Py_None
);
3980 _resultobj
= Py_None
;
3987 #define wxDC_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3988 static PyObject
*_wrap_wxDC_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3989 PyObject
* _resultobj
;
3993 long _arg3
= (long ) 0;
3994 long _arg4
= (long ) 0;
3995 int _arg5
= (int ) wxODDEVEN_RULE
;
3996 PyObject
* _argo0
= 0;
3997 PyObject
* _obj2
= 0;
3998 char *_kwnames
[] = { "self","LIST","xoffset","yoffset","fill_style", NULL
};
4001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|lli:wxDC_DrawPolygon",_kwnames
,&_argo0
,&_obj2
,&_arg3
,&_arg4
,&_arg5
))
4004 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4005 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPolygon. Expected _wxDC_p.");
4012 _arg2
= wxPoint_LIST_helper(_obj2
);
4013 if (_arg2
== NULL
) {
4019 _arg1
= PyList_Size(_obj2
);
4026 wxPy_BEGIN_ALLOW_THREADS
;
4027 wxDC_DrawPolygon(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4029 wxPy_END_ALLOW_THREADS
;
4030 } Py_INCREF(Py_None
);
4031 _resultobj
= Py_None
;
4038 #define wxDC_DrawPoint(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawPoint(_swigarg0,_swigarg1))
4039 static PyObject
*_wrap_wxDC_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4040 PyObject
* _resultobj
;
4044 PyObject
* _argo0
= 0;
4045 char *_kwnames
[] = { "self","x","y", NULL
};
4048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_DrawPoint",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPoint. Expected _wxDC_p.");
4058 wxPy_BEGIN_ALLOW_THREADS
;
4059 wxDC_DrawPoint(_arg0
,_arg1
,_arg2
);
4061 wxPy_END_ALLOW_THREADS
;
4062 } Py_INCREF(Py_None
);
4063 _resultobj
= Py_None
;
4067 #define wxDC_DrawRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4068 static PyObject
*_wrap_wxDC_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4069 PyObject
* _resultobj
;
4075 PyObject
* _argo0
= 0;
4076 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
4079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawRectangle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4082 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4083 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRectangle. Expected _wxDC_p.");
4089 wxPy_BEGIN_ALLOW_THREADS
;
4090 wxDC_DrawRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4092 wxPy_END_ALLOW_THREADS
;
4093 } Py_INCREF(Py_None
);
4094 _resultobj
= Py_None
;
4098 #define wxDC_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4099 static PyObject
*_wrap_wxDC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4100 PyObject
* _resultobj
;
4106 long _arg5
= (long ) 20;
4107 PyObject
* _argo0
= 0;
4108 char *_kwnames
[] = { "self","x","y","width","height","radius", NULL
};
4111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll|l:wxDC_DrawRoundedRectangle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
4114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRoundedRectangle. Expected _wxDC_p.");
4121 wxPy_BEGIN_ALLOW_THREADS
;
4122 wxDC_DrawRoundedRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4124 wxPy_END_ALLOW_THREADS
;
4125 } Py_INCREF(Py_None
);
4126 _resultobj
= Py_None
;
4130 #define wxDC_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1))
4131 static PyObject
*_wrap_wxDC_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4132 PyObject
* _resultobj
;
4136 PyObject
* _argo0
= 0;
4137 PyObject
* _obj2
= 0;
4138 char *_kwnames
[] = { "self","LIST", NULL
};
4141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_DrawSpline",_kwnames
,&_argo0
,&_obj2
))
4144 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4145 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawSpline. Expected _wxDC_p.");
4152 _arg2
= wxPoint_LIST_helper(_obj2
);
4153 if (_arg2
== NULL
) {
4159 _arg1
= PyList_Size(_obj2
);
4166 wxPy_BEGIN_ALLOW_THREADS
;
4167 wxDC_DrawSpline(_arg0
,_arg1
,_arg2
);
4169 wxPy_END_ALLOW_THREADS
;
4170 } Py_INCREF(Py_None
);
4171 _resultobj
= Py_None
;
4178 #define wxDC_DrawText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawText(_swigarg0,_swigarg1,_swigarg2))
4179 static PyObject
*_wrap_wxDC_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4180 PyObject
* _resultobj
;
4185 PyObject
* _argo0
= 0;
4186 PyObject
* _obj1
= 0;
4187 char *_kwnames
[] = { "self","text","x","y", NULL
};
4190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll:wxDC_DrawText",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
))
4193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawText. Expected _wxDC_p.");
4200 if (!PyString_Check(_obj1
)) {
4201 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4204 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4207 wxPy_BEGIN_ALLOW_THREADS
;
4208 wxDC_DrawText(_arg0
,*_arg1
,_arg2
,_arg3
);
4210 wxPy_END_ALLOW_THREADS
;
4211 } Py_INCREF(Py_None
);
4212 _resultobj
= Py_None
;
4220 #define wxDC_EndDoc(_swigobj) (_swigobj->EndDoc())
4221 static PyObject
*_wrap_wxDC_EndDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4222 PyObject
* _resultobj
;
4224 PyObject
* _argo0
= 0;
4225 char *_kwnames
[] = { "self", NULL
};
4228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndDoc",_kwnames
,&_argo0
))
4231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDoc. Expected _wxDC_p.");
4238 wxPy_BEGIN_ALLOW_THREADS
;
4241 wxPy_END_ALLOW_THREADS
;
4242 } Py_INCREF(Py_None
);
4243 _resultobj
= Py_None
;
4247 #define wxDC_EndDrawing(_swigobj) (_swigobj->EndDrawing())
4248 static PyObject
*_wrap_wxDC_EndDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4249 PyObject
* _resultobj
;
4251 PyObject
* _argo0
= 0;
4252 char *_kwnames
[] = { "self", NULL
};
4255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndDrawing",_kwnames
,&_argo0
))
4258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDrawing. Expected _wxDC_p.");
4265 wxPy_BEGIN_ALLOW_THREADS
;
4266 wxDC_EndDrawing(_arg0
);
4268 wxPy_END_ALLOW_THREADS
;
4269 } Py_INCREF(Py_None
);
4270 _resultobj
= Py_None
;
4274 #define wxDC_EndPage(_swigobj) (_swigobj->EndPage())
4275 static PyObject
*_wrap_wxDC_EndPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4276 PyObject
* _resultobj
;
4278 PyObject
* _argo0
= 0;
4279 char *_kwnames
[] = { "self", NULL
};
4282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndPage",_kwnames
,&_argo0
))
4285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndPage. Expected _wxDC_p.");
4292 wxPy_BEGIN_ALLOW_THREADS
;
4293 wxDC_EndPage(_arg0
);
4295 wxPy_END_ALLOW_THREADS
;
4296 } Py_INCREF(Py_None
);
4297 _resultobj
= Py_None
;
4301 #define wxDC_FloodFill(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FloodFill(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4302 static PyObject
*_wrap_wxDC_FloodFill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4303 PyObject
* _resultobj
;
4308 int _arg4
= (int ) wxFLOOD_SURFACE
;
4309 PyObject
* _argo0
= 0;
4310 PyObject
* _argo3
= 0;
4311 char *_kwnames
[] = { "self","x","y","colour","style", NULL
};
4314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO|i:wxDC_FloodFill",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
,&_arg4
))
4317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_FloodFill. Expected _wxDC_p.");
4324 if (_argo3
== Py_None
) { _arg3
= NULL
; }
4325 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxColour_p")) {
4326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDC_FloodFill. Expected _wxColour_p.");
4331 wxPy_BEGIN_ALLOW_THREADS
;
4332 wxDC_FloodFill(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
4334 wxPy_END_ALLOW_THREADS
;
4335 } Py_INCREF(Py_None
);
4336 _resultobj
= Py_None
;
4340 #define wxDC_GetBackground(_swigobj) (_swigobj->GetBackground())
4341 static PyObject
*_wrap_wxDC_GetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4342 PyObject
* _resultobj
;
4345 PyObject
* _argo0
= 0;
4346 char *_kwnames
[] = { "self", NULL
};
4350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBackground",_kwnames
,&_argo0
))
4353 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4354 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBackground. Expected _wxDC_p.");
4360 wxPy_BEGIN_ALLOW_THREADS
;
4361 wxBrush
& _result_ref
= wxDC_GetBackground(_arg0
);
4362 _result
= (wxBrush
*) &_result_ref
;
4364 wxPy_END_ALLOW_THREADS
;
4366 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
4367 _resultobj
= Py_BuildValue("s",_ptemp
);
4370 _resultobj
= Py_None
;
4375 #define wxDC_GetBrush(_swigobj) (_swigobj->GetBrush())
4376 static PyObject
*_wrap_wxDC_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4377 PyObject
* _resultobj
;
4380 PyObject
* _argo0
= 0;
4381 char *_kwnames
[] = { "self", NULL
};
4385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBrush",_kwnames
,&_argo0
))
4388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBrush. Expected _wxDC_p.");
4395 wxPy_BEGIN_ALLOW_THREADS
;
4396 wxBrush
& _result_ref
= wxDC_GetBrush(_arg0
);
4397 _result
= (wxBrush
*) &_result_ref
;
4399 wxPy_END_ALLOW_THREADS
;
4401 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
4402 _resultobj
= Py_BuildValue("s",_ptemp
);
4405 _resultobj
= Py_None
;
4410 #define wxDC_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
4411 static PyObject
*_wrap_wxDC_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4412 PyObject
* _resultobj
;
4415 PyObject
* _argo0
= 0;
4416 char *_kwnames
[] = { "self", NULL
};
4419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetCharHeight",_kwnames
,&_argo0
))
4422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharHeight. Expected _wxDC_p.");
4429 wxPy_BEGIN_ALLOW_THREADS
;
4430 _result
= (long )wxDC_GetCharHeight(_arg0
);
4432 wxPy_END_ALLOW_THREADS
;
4433 } _resultobj
= Py_BuildValue("l",_result
);
4437 #define wxDC_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
4438 static PyObject
*_wrap_wxDC_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4439 PyObject
* _resultobj
;
4442 PyObject
* _argo0
= 0;
4443 char *_kwnames
[] = { "self", NULL
};
4446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetCharWidth",_kwnames
,&_argo0
))
4449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharWidth. Expected _wxDC_p.");
4456 wxPy_BEGIN_ALLOW_THREADS
;
4457 _result
= (long )wxDC_GetCharWidth(_arg0
);
4459 wxPy_END_ALLOW_THREADS
;
4460 } _resultobj
= Py_BuildValue("l",_result
);
4464 #define wxDC_GetClippingBox(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetClippingBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4465 static PyObject
*_wrap_wxDC_GetClippingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4466 PyObject
* _resultobj
;
4476 PyObject
* _argo0
= 0;
4477 char *_kwnames
[] = { "self", NULL
};
4492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetClippingBox",_kwnames
,&_argo0
))
4495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetClippingBox. Expected _wxDC_p.");
4502 wxPy_BEGIN_ALLOW_THREADS
;
4503 wxDC_GetClippingBox(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4505 wxPy_END_ALLOW_THREADS
;
4506 } Py_INCREF(Py_None
);
4507 _resultobj
= Py_None
;
4510 o
= PyInt_FromLong((long) (*_arg1
));
4511 _resultobj
= t_output_helper(_resultobj
, o
);
4515 o
= PyInt_FromLong((long) (*_arg2
));
4516 _resultobj
= t_output_helper(_resultobj
, o
);
4520 o
= PyInt_FromLong((long) (*_arg3
));
4521 _resultobj
= t_output_helper(_resultobj
, o
);
4525 o
= PyInt_FromLong((long) (*_arg4
));
4526 _resultobj
= t_output_helper(_resultobj
, o
);
4531 #define wxDC_GetFont(_swigobj) (_swigobj->GetFont())
4532 static PyObject
*_wrap_wxDC_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4533 PyObject
* _resultobj
;
4536 PyObject
* _argo0
= 0;
4537 char *_kwnames
[] = { "self", NULL
};
4541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetFont",_kwnames
,&_argo0
))
4544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFont. Expected _wxDC_p.");
4551 wxPy_BEGIN_ALLOW_THREADS
;
4552 wxFont
& _result_ref
= wxDC_GetFont(_arg0
);
4553 _result
= (wxFont
*) &_result_ref
;
4555 wxPy_END_ALLOW_THREADS
;
4557 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
4558 _resultobj
= Py_BuildValue("s",_ptemp
);
4561 _resultobj
= Py_None
;
4566 #define wxDC_GetLogicalFunction(_swigobj) (_swigobj->GetLogicalFunction())
4567 static PyObject
*_wrap_wxDC_GetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4568 PyObject
* _resultobj
;
4571 PyObject
* _argo0
= 0;
4572 char *_kwnames
[] = { "self", NULL
};
4575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalFunction",_kwnames
,&_argo0
))
4578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalFunction. Expected _wxDC_p.");
4585 wxPy_BEGIN_ALLOW_THREADS
;
4586 _result
= (int )wxDC_GetLogicalFunction(_arg0
);
4588 wxPy_END_ALLOW_THREADS
;
4589 } _resultobj
= Py_BuildValue("i",_result
);
4593 #define wxDC_GetMapMode(_swigobj) (_swigobj->GetMapMode())
4594 static PyObject
*_wrap_wxDC_GetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4595 PyObject
* _resultobj
;
4598 PyObject
* _argo0
= 0;
4599 char *_kwnames
[] = { "self", NULL
};
4602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetMapMode",_kwnames
,&_argo0
))
4605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetMapMode. Expected _wxDC_p.");
4612 wxPy_BEGIN_ALLOW_THREADS
;
4613 _result
= (int )wxDC_GetMapMode(_arg0
);
4615 wxPy_END_ALLOW_THREADS
;
4616 } _resultobj
= Py_BuildValue("i",_result
);
4620 #define wxDC_GetOptimization(_swigobj) (_swigobj->GetOptimization())
4621 static PyObject
*_wrap_wxDC_GetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4622 PyObject
* _resultobj
;
4625 PyObject
* _argo0
= 0;
4626 char *_kwnames
[] = { "self", NULL
};
4629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetOptimization",_kwnames
,&_argo0
))
4632 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4633 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetOptimization. Expected _wxDC_p.");
4639 wxPy_BEGIN_ALLOW_THREADS
;
4640 _result
= (bool )wxDC_GetOptimization(_arg0
);
4642 wxPy_END_ALLOW_THREADS
;
4643 } _resultobj
= Py_BuildValue("i",_result
);
4647 #define wxDC_GetPen(_swigobj) (_swigobj->GetPen())
4648 static PyObject
*_wrap_wxDC_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4649 PyObject
* _resultobj
;
4652 PyObject
* _argo0
= 0;
4653 char *_kwnames
[] = { "self", NULL
};
4657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetPen",_kwnames
,&_argo0
))
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_GetPen. Expected _wxDC_p.");
4667 wxPy_BEGIN_ALLOW_THREADS
;
4668 wxPen
& _result_ref
= wxDC_GetPen(_arg0
);
4669 _result
= (wxPen
*) &_result_ref
;
4671 wxPy_END_ALLOW_THREADS
;
4673 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
4674 _resultobj
= Py_BuildValue("s",_ptemp
);
4677 _resultobj
= Py_None
;
4682 static wxColour
* wxDC_GetPixel(wxDC
*self
,long x
,long y
) {
4683 wxColour
* wc
= new wxColour();
4684 self
->GetPixel(x
, y
, wc
);
4687 static PyObject
*_wrap_wxDC_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4688 PyObject
* _resultobj
;
4693 PyObject
* _argo0
= 0;
4694 char *_kwnames
[] = { "self","x","y", NULL
};
4698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_GetPixel",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4701 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4702 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPixel. Expected _wxDC_p.");
4708 wxPy_BEGIN_ALLOW_THREADS
;
4709 _result
= (wxColour
*)wxDC_GetPixel(_arg0
,_arg1
,_arg2
);
4711 wxPy_END_ALLOW_THREADS
;
4713 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
4714 _resultobj
= Py_BuildValue("s",_ptemp
);
4717 _resultobj
= Py_None
;
4722 #define wxDC_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
4723 static PyObject
*_wrap_wxDC_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4724 PyObject
* _resultobj
;
4730 PyObject
* _argo0
= 0;
4731 char *_kwnames
[] = { "self", NULL
};
4740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSizeTuple",_kwnames
,&_argo0
))
4743 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4744 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSizeTuple. Expected _wxDC_p.");
4750 wxPy_BEGIN_ALLOW_THREADS
;
4751 wxDC_GetSizeTuple(_arg0
,_arg1
,_arg2
);
4753 wxPy_END_ALLOW_THREADS
;
4754 } Py_INCREF(Py_None
);
4755 _resultobj
= Py_None
;
4758 o
= PyInt_FromLong((long) (*_arg1
));
4759 _resultobj
= t_output_helper(_resultobj
, o
);
4763 o
= PyInt_FromLong((long) (*_arg2
));
4764 _resultobj
= t_output_helper(_resultobj
, o
);
4769 #define wxDC_GetSize(_swigobj) (_swigobj->GetSize())
4770 static PyObject
*_wrap_wxDC_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4771 PyObject
* _resultobj
;
4774 PyObject
* _argo0
= 0;
4775 char *_kwnames
[] = { "self", NULL
};
4779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSize",_kwnames
,&_argo0
))
4782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSize. Expected _wxDC_p.");
4789 wxPy_BEGIN_ALLOW_THREADS
;
4790 _result
= new wxSize (wxDC_GetSize(_arg0
));
4792 wxPy_END_ALLOW_THREADS
;
4793 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4794 _resultobj
= Py_BuildValue("s",_ptemp
);
4798 #define wxDC_GetTextBackground(_swigobj) (_swigobj->GetTextBackground())
4799 static PyObject
*_wrap_wxDC_GetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4800 PyObject
* _resultobj
;
4803 PyObject
* _argo0
= 0;
4804 char *_kwnames
[] = { "self", NULL
};
4808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetTextBackground",_kwnames
,&_argo0
))
4811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextBackground. Expected _wxDC_p.");
4818 wxPy_BEGIN_ALLOW_THREADS
;
4819 wxColour
& _result_ref
= wxDC_GetTextBackground(_arg0
);
4820 _result
= (wxColour
*) &_result_ref
;
4822 wxPy_END_ALLOW_THREADS
;
4824 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
4825 _resultobj
= Py_BuildValue("s",_ptemp
);
4828 _resultobj
= Py_None
;
4833 #define wxDC_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
4834 static PyObject
*_wrap_wxDC_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4835 PyObject
* _resultobj
;
4842 PyObject
* _argo0
= 0;
4843 PyObject
* _obj1
= 0;
4844 char *_kwnames
[] = { "self","string", NULL
};
4853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
4856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextExtent. Expected _wxDC_p.");
4863 if (!PyString_Check(_obj1
)) {
4864 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4867 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4870 wxPy_BEGIN_ALLOW_THREADS
;
4871 wxDC_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
4873 wxPy_END_ALLOW_THREADS
;
4874 } Py_INCREF(Py_None
);
4875 _resultobj
= Py_None
;
4878 o
= PyInt_FromLong((long) (*_arg2
));
4879 _resultobj
= t_output_helper(_resultobj
, o
);
4883 o
= PyInt_FromLong((long) (*_arg3
));
4884 _resultobj
= t_output_helper(_resultobj
, o
);
4893 #define wxDC_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4894 static PyObject
*_wrap_wxDC_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4895 PyObject
* _resultobj
;
4906 wxFont
* _arg6
= (wxFont
*) NULL
;
4907 PyObject
* _argo0
= 0;
4908 PyObject
* _obj1
= 0;
4909 PyObject
* _argo6
= 0;
4910 char *_kwnames
[] = { "self","string","font", NULL
};
4925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxDC_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
4928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFullTextExtent. Expected _wxDC_p.");
4935 if (!PyString_Check(_obj1
)) {
4936 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4939 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4942 if (_argo6
== Py_None
) { _arg6
= NULL
; }
4943 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
4944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxDC_GetFullTextExtent. Expected _wxFont_p.");
4949 wxPy_BEGIN_ALLOW_THREADS
;
4950 wxDC_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4952 wxPy_END_ALLOW_THREADS
;
4953 } Py_INCREF(Py_None
);
4954 _resultobj
= Py_None
;
4957 o
= PyInt_FromLong((long) (*_arg2
));
4958 _resultobj
= t_output_helper(_resultobj
, o
);
4962 o
= PyInt_FromLong((long) (*_arg3
));
4963 _resultobj
= t_output_helper(_resultobj
, o
);
4967 o
= PyInt_FromLong((long) (*_arg4
));
4968 _resultobj
= t_output_helper(_resultobj
, o
);
4972 o
= PyInt_FromLong((long) (*_arg5
));
4973 _resultobj
= t_output_helper(_resultobj
, o
);
4982 #define wxDC_GetTextForeground(_swigobj) (_swigobj->GetTextForeground())
4983 static PyObject
*_wrap_wxDC_GetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4984 PyObject
* _resultobj
;
4987 PyObject
* _argo0
= 0;
4988 char *_kwnames
[] = { "self", NULL
};
4992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetTextForeground",_kwnames
,&_argo0
))
4995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextForeground. Expected _wxDC_p.");
5002 wxPy_BEGIN_ALLOW_THREADS
;
5003 wxColour
& _result_ref
= wxDC_GetTextForeground(_arg0
);
5004 _result
= (wxColour
*) &_result_ref
;
5006 wxPy_END_ALLOW_THREADS
;
5008 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
5009 _resultobj
= Py_BuildValue("s",_ptemp
);
5012 _resultobj
= Py_None
;
5017 #define wxDC_LogicalToDeviceX(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceX(_swigarg0))
5018 static PyObject
*_wrap_wxDC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5019 PyObject
* _resultobj
;
5023 PyObject
* _argo0
= 0;
5024 char *_kwnames
[] = { "self","x", NULL
};
5027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceX",_kwnames
,&_argo0
,&_arg1
))
5030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceX. Expected _wxDC_p.");
5037 wxPy_BEGIN_ALLOW_THREADS
;
5038 _result
= (long )wxDC_LogicalToDeviceX(_arg0
,_arg1
);
5040 wxPy_END_ALLOW_THREADS
;
5041 } _resultobj
= Py_BuildValue("l",_result
);
5045 #define wxDC_LogicalToDeviceXRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceXRel(_swigarg0))
5046 static PyObject
*_wrap_wxDC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5047 PyObject
* _resultobj
;
5051 PyObject
* _argo0
= 0;
5052 char *_kwnames
[] = { "self","x", NULL
};
5055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceXRel",_kwnames
,&_argo0
,&_arg1
))
5058 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5059 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceXRel. Expected _wxDC_p.");
5065 wxPy_BEGIN_ALLOW_THREADS
;
5066 _result
= (long )wxDC_LogicalToDeviceXRel(_arg0
,_arg1
);
5068 wxPy_END_ALLOW_THREADS
;
5069 } _resultobj
= Py_BuildValue("l",_result
);
5073 #define wxDC_LogicalToDeviceY(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceY(_swigarg0))
5074 static PyObject
*_wrap_wxDC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5075 PyObject
* _resultobj
;
5079 PyObject
* _argo0
= 0;
5080 char *_kwnames
[] = { "self","y", NULL
};
5083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceY",_kwnames
,&_argo0
,&_arg1
))
5086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceY. Expected _wxDC_p.");
5093 wxPy_BEGIN_ALLOW_THREADS
;
5094 _result
= (long )wxDC_LogicalToDeviceY(_arg0
,_arg1
);
5096 wxPy_END_ALLOW_THREADS
;
5097 } _resultobj
= Py_BuildValue("l",_result
);
5101 #define wxDC_LogicalToDeviceYRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceYRel(_swigarg0))
5102 static PyObject
*_wrap_wxDC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5103 PyObject
* _resultobj
;
5107 PyObject
* _argo0
= 0;
5108 char *_kwnames
[] = { "self","y", NULL
};
5111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceYRel",_kwnames
,&_argo0
,&_arg1
))
5114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceYRel. Expected _wxDC_p.");
5121 wxPy_BEGIN_ALLOW_THREADS
;
5122 _result
= (long )wxDC_LogicalToDeviceYRel(_arg0
,_arg1
);
5124 wxPy_END_ALLOW_THREADS
;
5125 } _resultobj
= Py_BuildValue("l",_result
);
5129 #define wxDC_MaxX(_swigobj) (_swigobj->MaxX())
5130 static PyObject
*_wrap_wxDC_MaxX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5131 PyObject
* _resultobj
;
5134 PyObject
* _argo0
= 0;
5135 char *_kwnames
[] = { "self", NULL
};
5138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MaxX",_kwnames
,&_argo0
))
5141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxX. Expected _wxDC_p.");
5148 wxPy_BEGIN_ALLOW_THREADS
;
5149 _result
= (long )wxDC_MaxX(_arg0
);
5151 wxPy_END_ALLOW_THREADS
;
5152 } _resultobj
= Py_BuildValue("l",_result
);
5156 #define wxDC_MaxY(_swigobj) (_swigobj->MaxY())
5157 static PyObject
*_wrap_wxDC_MaxY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5158 PyObject
* _resultobj
;
5161 PyObject
* _argo0
= 0;
5162 char *_kwnames
[] = { "self", NULL
};
5165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MaxY",_kwnames
,&_argo0
))
5168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxY. Expected _wxDC_p.");
5175 wxPy_BEGIN_ALLOW_THREADS
;
5176 _result
= (long )wxDC_MaxY(_arg0
);
5178 wxPy_END_ALLOW_THREADS
;
5179 } _resultobj
= Py_BuildValue("l",_result
);
5183 #define wxDC_MinX(_swigobj) (_swigobj->MinX())
5184 static PyObject
*_wrap_wxDC_MinX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5185 PyObject
* _resultobj
;
5188 PyObject
* _argo0
= 0;
5189 char *_kwnames
[] = { "self", NULL
};
5192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MinX",_kwnames
,&_argo0
))
5195 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5196 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinX. Expected _wxDC_p.");
5202 wxPy_BEGIN_ALLOW_THREADS
;
5203 _result
= (long )wxDC_MinX(_arg0
);
5205 wxPy_END_ALLOW_THREADS
;
5206 } _resultobj
= Py_BuildValue("l",_result
);
5210 #define wxDC_MinY(_swigobj) (_swigobj->MinY())
5211 static PyObject
*_wrap_wxDC_MinY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5212 PyObject
* _resultobj
;
5215 PyObject
* _argo0
= 0;
5216 char *_kwnames
[] = { "self", NULL
};
5219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MinY",_kwnames
,&_argo0
))
5222 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5223 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinY. Expected _wxDC_p.");
5229 wxPy_BEGIN_ALLOW_THREADS
;
5230 _result
= (long )wxDC_MinY(_arg0
);
5232 wxPy_END_ALLOW_THREADS
;
5233 } _resultobj
= Py_BuildValue("l",_result
);
5237 #define wxDC_Ok(_swigobj) (_swigobj->Ok())
5238 static PyObject
*_wrap_wxDC_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5239 PyObject
* _resultobj
;
5242 PyObject
* _argo0
= 0;
5243 char *_kwnames
[] = { "self", NULL
};
5246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_Ok",_kwnames
,&_argo0
))
5249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Ok. Expected _wxDC_p.");
5256 wxPy_BEGIN_ALLOW_THREADS
;
5257 _result
= (bool )wxDC_Ok(_arg0
);
5259 wxPy_END_ALLOW_THREADS
;
5260 } _resultobj
= Py_BuildValue("i",_result
);
5264 #define wxDC_SetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDeviceOrigin(_swigarg0,_swigarg1))
5265 static PyObject
*_wrap_wxDC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5266 PyObject
* _resultobj
;
5270 PyObject
* _argo0
= 0;
5271 char *_kwnames
[] = { "self","x","y", NULL
};
5274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_SetDeviceOrigin",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetDeviceOrigin. Expected _wxDC_p.");
5284 wxPy_BEGIN_ALLOW_THREADS
;
5285 wxDC_SetDeviceOrigin(_arg0
,_arg1
,_arg2
);
5287 wxPy_END_ALLOW_THREADS
;
5288 } Py_INCREF(Py_None
);
5289 _resultobj
= Py_None
;
5293 #define wxDC_SetBackground(_swigobj,_swigarg0) (_swigobj->SetBackground(_swigarg0))
5294 static PyObject
*_wrap_wxDC_SetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5295 PyObject
* _resultobj
;
5298 PyObject
* _argo0
= 0;
5299 PyObject
* _argo1
= 0;
5300 char *_kwnames
[] = { "self","brush", NULL
};
5303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetBackground",_kwnames
,&_argo0
,&_argo1
))
5306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackground. Expected _wxDC_p.");
5313 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5314 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
5315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBackground. Expected _wxBrush_p.");
5320 wxPy_BEGIN_ALLOW_THREADS
;
5321 wxDC_SetBackground(_arg0
,*_arg1
);
5323 wxPy_END_ALLOW_THREADS
;
5324 } Py_INCREF(Py_None
);
5325 _resultobj
= Py_None
;
5329 #define wxDC_SetBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetBackgroundMode(_swigarg0))
5330 static PyObject
*_wrap_wxDC_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5331 PyObject
* _resultobj
;
5334 PyObject
* _argo0
= 0;
5335 char *_kwnames
[] = { "self","mode", NULL
};
5338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetBackgroundMode",_kwnames
,&_argo0
,&_arg1
))
5341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackgroundMode. Expected _wxDC_p.");
5348 wxPy_BEGIN_ALLOW_THREADS
;
5349 wxDC_SetBackgroundMode(_arg0
,_arg1
);
5351 wxPy_END_ALLOW_THREADS
;
5352 } Py_INCREF(Py_None
);
5353 _resultobj
= Py_None
;
5357 #define wxDC_SetClippingRegion(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetClippingRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5358 static PyObject
*_wrap_wxDC_SetClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5359 PyObject
* _resultobj
;
5365 PyObject
* _argo0
= 0;
5366 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
5369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_SetClippingRegion",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
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_SetClippingRegion. Expected _wxDC_p.");
5379 wxPy_BEGIN_ALLOW_THREADS
;
5380 wxDC_SetClippingRegion(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5382 wxPy_END_ALLOW_THREADS
;
5383 } Py_INCREF(Py_None
);
5384 _resultobj
= Py_None
;
5388 #define wxDC_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
5389 static PyObject
*_wrap_wxDC_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5390 PyObject
* _resultobj
;
5393 PyObject
* _argo0
= 0;
5394 PyObject
* _argo1
= 0;
5395 char *_kwnames
[] = { "self","colourMap", NULL
};
5398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetPalette",_kwnames
,&_argo0
,&_argo1
))
5401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPalette. Expected _wxDC_p.");
5408 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5409 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPalette_p")) {
5410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPalette. Expected _wxPalette_p.");
5415 wxPy_BEGIN_ALLOW_THREADS
;
5416 wxDC_SetPalette(_arg0
,*_arg1
);
5418 wxPy_END_ALLOW_THREADS
;
5419 } Py_INCREF(Py_None
);
5420 _resultobj
= Py_None
;
5424 #define wxDC_SetBrush(_swigobj,_swigarg0) (_swigobj->SetBrush(_swigarg0))
5425 static PyObject
*_wrap_wxDC_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5426 PyObject
* _resultobj
;
5429 PyObject
* _argo0
= 0;
5430 PyObject
* _argo1
= 0;
5431 char *_kwnames
[] = { "self","brush", NULL
};
5434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetBrush",_kwnames
,&_argo0
,&_argo1
))
5437 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5438 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBrush. Expected _wxDC_p.");
5444 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5445 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
5446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBrush. Expected _wxBrush_p.");
5451 wxPy_BEGIN_ALLOW_THREADS
;
5452 wxDC_SetBrush(_arg0
,*_arg1
);
5454 wxPy_END_ALLOW_THREADS
;
5455 } Py_INCREF(Py_None
);
5456 _resultobj
= Py_None
;
5460 #define wxDC_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
5461 static PyObject
*_wrap_wxDC_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5462 PyObject
* _resultobj
;
5465 PyObject
* _argo0
= 0;
5466 PyObject
* _argo1
= 0;
5467 char *_kwnames
[] = { "self","font", NULL
};
5470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetFont",_kwnames
,&_argo0
,&_argo1
))
5473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetFont. Expected _wxDC_p.");
5480 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5481 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
5482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetFont. Expected _wxFont_p.");
5487 wxPy_BEGIN_ALLOW_THREADS
;
5488 wxDC_SetFont(_arg0
,*_arg1
);
5490 wxPy_END_ALLOW_THREADS
;
5491 } Py_INCREF(Py_None
);
5492 _resultobj
= Py_None
;
5496 #define wxDC_SetLogicalFunction(_swigobj,_swigarg0) (_swigobj->SetLogicalFunction(_swigarg0))
5497 static PyObject
*_wrap_wxDC_SetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5498 PyObject
* _resultobj
;
5501 PyObject
* _argo0
= 0;
5502 char *_kwnames
[] = { "self","function", NULL
};
5505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetLogicalFunction",_kwnames
,&_argo0
,&_arg1
))
5508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalFunction. Expected _wxDC_p.");
5515 wxPy_BEGIN_ALLOW_THREADS
;
5516 wxDC_SetLogicalFunction(_arg0
,_arg1
);
5518 wxPy_END_ALLOW_THREADS
;
5519 } Py_INCREF(Py_None
);
5520 _resultobj
= Py_None
;
5524 #define wxDC_SetMapMode(_swigobj,_swigarg0) (_swigobj->SetMapMode(_swigarg0))
5525 static PyObject
*_wrap_wxDC_SetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5526 PyObject
* _resultobj
;
5529 PyObject
* _argo0
= 0;
5530 char *_kwnames
[] = { "self","mode", NULL
};
5533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetMapMode",_kwnames
,&_argo0
,&_arg1
))
5536 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5537 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetMapMode. Expected _wxDC_p.");
5543 wxPy_BEGIN_ALLOW_THREADS
;
5544 wxDC_SetMapMode(_arg0
,_arg1
);
5546 wxPy_END_ALLOW_THREADS
;
5547 } Py_INCREF(Py_None
);
5548 _resultobj
= Py_None
;
5552 #define wxDC_SetOptimization(_swigobj,_swigarg0) (_swigobj->SetOptimization(_swigarg0))
5553 static PyObject
*_wrap_wxDC_SetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5554 PyObject
* _resultobj
;
5557 PyObject
* _argo0
= 0;
5559 char *_kwnames
[] = { "self","optimize", NULL
};
5562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetOptimization",_kwnames
,&_argo0
,&tempbool1
))
5565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetOptimization. Expected _wxDC_p.");
5571 _arg1
= (bool ) tempbool1
;
5573 wxPy_BEGIN_ALLOW_THREADS
;
5574 wxDC_SetOptimization(_arg0
,_arg1
);
5576 wxPy_END_ALLOW_THREADS
;
5577 } Py_INCREF(Py_None
);
5578 _resultobj
= Py_None
;
5582 #define wxDC_SetPen(_swigobj,_swigarg0) (_swigobj->SetPen(_swigarg0))
5583 static PyObject
*_wrap_wxDC_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5584 PyObject
* _resultobj
;
5587 PyObject
* _argo0
= 0;
5588 PyObject
* _argo1
= 0;
5589 char *_kwnames
[] = { "self","pen", NULL
};
5592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetPen",_kwnames
,&_argo0
,&_argo1
))
5595 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5596 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPen. Expected _wxDC_p.");
5602 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5603 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
5604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPen. Expected _wxPen_p.");
5609 wxPy_BEGIN_ALLOW_THREADS
;
5610 wxDC_SetPen(_arg0
,*_arg1
);
5612 wxPy_END_ALLOW_THREADS
;
5613 } Py_INCREF(Py_None
);
5614 _resultobj
= Py_None
;
5618 #define wxDC_SetTextBackground(_swigobj,_swigarg0) (_swigobj->SetTextBackground(_swigarg0))
5619 static PyObject
*_wrap_wxDC_SetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5620 PyObject
* _resultobj
;
5623 PyObject
* _argo0
= 0;
5624 PyObject
* _argo1
= 0;
5625 char *_kwnames
[] = { "self","colour", NULL
};
5628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetTextBackground",_kwnames
,&_argo0
,&_argo1
))
5631 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5632 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextBackground. Expected _wxDC_p.");
5638 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5639 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
5640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetTextBackground. Expected _wxColour_p.");
5645 wxPy_BEGIN_ALLOW_THREADS
;
5646 wxDC_SetTextBackground(_arg0
,*_arg1
);
5648 wxPy_END_ALLOW_THREADS
;
5649 } Py_INCREF(Py_None
);
5650 _resultobj
= Py_None
;
5654 #define wxDC_SetTextForeground(_swigobj,_swigarg0) (_swigobj->SetTextForeground(_swigarg0))
5655 static PyObject
*_wrap_wxDC_SetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5656 PyObject
* _resultobj
;
5659 PyObject
* _argo0
= 0;
5660 PyObject
* _argo1
= 0;
5661 char *_kwnames
[] = { "self","colour", NULL
};
5664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetTextForeground",_kwnames
,&_argo0
,&_argo1
))
5667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextForeground. Expected _wxDC_p.");
5674 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5675 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
5676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetTextForeground. Expected _wxColour_p.");
5681 wxPy_BEGIN_ALLOW_THREADS
;
5682 wxDC_SetTextForeground(_arg0
,*_arg1
);
5684 wxPy_END_ALLOW_THREADS
;
5685 } Py_INCREF(Py_None
);
5686 _resultobj
= Py_None
;
5690 #define wxDC_SetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetUserScale(_swigarg0,_swigarg1))
5691 static PyObject
*_wrap_wxDC_SetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5692 PyObject
* _resultobj
;
5696 PyObject
* _argo0
= 0;
5697 char *_kwnames
[] = { "self","x_scale","y_scale", NULL
};
5700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxDC_SetUserScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetUserScale. Expected _wxDC_p.");
5710 wxPy_BEGIN_ALLOW_THREADS
;
5711 wxDC_SetUserScale(_arg0
,_arg1
,_arg2
);
5713 wxPy_END_ALLOW_THREADS
;
5714 } Py_INCREF(Py_None
);
5715 _resultobj
= Py_None
;
5719 #define wxDC_StartDoc(_swigobj,_swigarg0) (_swigobj->StartDoc(_swigarg0))
5720 static PyObject
*_wrap_wxDC_StartDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5721 PyObject
* _resultobj
;
5725 PyObject
* _argo0
= 0;
5726 PyObject
* _obj1
= 0;
5727 char *_kwnames
[] = { "self","message", NULL
};
5730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_StartDoc",_kwnames
,&_argo0
,&_obj1
))
5733 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5734 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartDoc. Expected _wxDC_p.");
5740 if (!PyString_Check(_obj1
)) {
5741 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5744 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5747 wxPy_BEGIN_ALLOW_THREADS
;
5748 _result
= (bool )wxDC_StartDoc(_arg0
,*_arg1
);
5750 wxPy_END_ALLOW_THREADS
;
5751 } _resultobj
= Py_BuildValue("i",_result
);
5759 #define wxDC_StartPage(_swigobj) (_swigobj->StartPage())
5760 static PyObject
*_wrap_wxDC_StartPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5761 PyObject
* _resultobj
;
5763 PyObject
* _argo0
= 0;
5764 char *_kwnames
[] = { "self", NULL
};
5767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_StartPage",_kwnames
,&_argo0
))
5770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartPage. Expected _wxDC_p.");
5777 wxPy_BEGIN_ALLOW_THREADS
;
5778 wxDC_StartPage(_arg0
);
5780 wxPy_END_ALLOW_THREADS
;
5781 } Py_INCREF(Py_None
);
5782 _resultobj
= Py_None
;
5786 #define wxDC_DrawBitmap(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5787 static PyObject
*_wrap_wxDC_DrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5788 PyObject
* _resultobj
;
5793 int _arg4
= (int ) FALSE
;
5794 PyObject
* _argo0
= 0;
5795 PyObject
* _argo1
= 0;
5796 char *_kwnames
[] = { "self","bitmap","x","y","useMask", NULL
};
5799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll|i:wxDC_DrawBitmap",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
))
5802 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5803 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawBitmap. Expected _wxDC_p.");
5809 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5810 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
5811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawBitmap. Expected _wxBitmap_p.");
5816 wxPy_BEGIN_ALLOW_THREADS
;
5817 wxDC_DrawBitmap(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
5819 wxPy_END_ALLOW_THREADS
;
5820 } Py_INCREF(Py_None
);
5821 _resultobj
= Py_None
;
5825 static void *SwigwxMemoryDCTowxDC(void *ptr
) {
5828 src
= (wxMemoryDC
*) ptr
;
5829 dest
= (wxDC
*) src
;
5830 return (void *) dest
;
5833 #define new_wxMemoryDC() (new wxMemoryDC())
5834 static PyObject
*_wrap_new_wxMemoryDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5835 PyObject
* _resultobj
;
5836 wxMemoryDC
* _result
;
5837 char *_kwnames
[] = { NULL
};
5841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMemoryDC",_kwnames
))
5844 wxPy_BEGIN_ALLOW_THREADS
;
5845 _result
= (wxMemoryDC
*)new_wxMemoryDC();
5847 wxPy_END_ALLOW_THREADS
;
5849 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
5850 _resultobj
= Py_BuildValue("s",_ptemp
);
5853 _resultobj
= Py_None
;
5858 #define wxMemoryDC_SelectObject(_swigobj,_swigarg0) (_swigobj->SelectObject(_swigarg0))
5859 static PyObject
*_wrap_wxMemoryDC_SelectObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5860 PyObject
* _resultobj
;
5863 PyObject
* _argo0
= 0;
5864 PyObject
* _argo1
= 0;
5865 char *_kwnames
[] = { "self","bitmap", NULL
};
5868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMemoryDC_SelectObject",_kwnames
,&_argo0
,&_argo1
))
5871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMemoryDC_p")) {
5873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDC_SelectObject. Expected _wxMemoryDC_p.");
5878 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5879 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
5880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMemoryDC_SelectObject. Expected _wxBitmap_p.");
5885 wxPy_BEGIN_ALLOW_THREADS
;
5886 wxMemoryDC_SelectObject(_arg0
,*_arg1
);
5888 wxPy_END_ALLOW_THREADS
;
5889 } Py_INCREF(Py_None
);
5890 _resultobj
= Py_None
;
5894 static void *SwigwxScreenDCTowxDC(void *ptr
) {
5897 src
= (wxScreenDC
*) ptr
;
5898 dest
= (wxDC
*) src
;
5899 return (void *) dest
;
5902 #define new_wxScreenDC() (new wxScreenDC())
5903 static PyObject
*_wrap_new_wxScreenDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5904 PyObject
* _resultobj
;
5905 wxScreenDC
* _result
;
5906 char *_kwnames
[] = { NULL
};
5910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxScreenDC",_kwnames
))
5913 wxPy_BEGIN_ALLOW_THREADS
;
5914 _result
= (wxScreenDC
*)new_wxScreenDC();
5916 wxPy_END_ALLOW_THREADS
;
5918 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScreenDC_p");
5919 _resultobj
= Py_BuildValue("s",_ptemp
);
5922 _resultobj
= Py_None
;
5927 #define wxScreenDC_StartDrawingOnTop(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
5928 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5929 PyObject
* _resultobj
;
5933 PyObject
* _argo0
= 0;
5934 PyObject
* _argo1
= 0;
5935 char *_kwnames
[] = { "self","window", NULL
};
5938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScreenDC_StartDrawingOnTop",_kwnames
,&_argo0
,&_argo1
))
5941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
5943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTop. Expected _wxScreenDC_p.");
5948 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5949 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScreenDC_StartDrawingOnTop. Expected _wxWindow_p.");
5955 wxPy_BEGIN_ALLOW_THREADS
;
5956 _result
= (bool )wxScreenDC_StartDrawingOnTop(_arg0
,_arg1
);
5958 wxPy_END_ALLOW_THREADS
;
5959 } _resultobj
= Py_BuildValue("i",_result
);
5963 #define wxScreenDC_StartDrawingOnTopRect(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
5964 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTopRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5965 PyObject
* _resultobj
;
5968 wxRect
* _arg1
= (wxRect
*) NULL
;
5969 PyObject
* _argo0
= 0;
5971 PyObject
* _obj1
= 0;
5972 char *_kwnames
[] = { "self","rect", NULL
};
5975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxScreenDC_StartDrawingOnTopRect",_kwnames
,&_argo0
,&_obj1
))
5978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
5980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTopRect. Expected _wxScreenDC_p.");
5987 if (! wxRect_helper(_obj1
, &_arg1
))
5991 wxPy_BEGIN_ALLOW_THREADS
;
5992 _result
= (bool )wxScreenDC_StartDrawingOnTopRect(_arg0
,_arg1
);
5994 wxPy_END_ALLOW_THREADS
;
5995 } _resultobj
= Py_BuildValue("i",_result
);
5999 #define wxScreenDC_EndDrawingOnTop(_swigobj) (_swigobj->EndDrawingOnTop())
6000 static PyObject
*_wrap_wxScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6001 PyObject
* _resultobj
;
6004 PyObject
* _argo0
= 0;
6005 char *_kwnames
[] = { "self", NULL
};
6008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScreenDC_EndDrawingOnTop",_kwnames
,&_argo0
))
6011 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6012 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
6013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_EndDrawingOnTop. Expected _wxScreenDC_p.");
6018 wxPy_BEGIN_ALLOW_THREADS
;
6019 _result
= (bool )wxScreenDC_EndDrawingOnTop(_arg0
);
6021 wxPy_END_ALLOW_THREADS
;
6022 } _resultobj
= Py_BuildValue("i",_result
);
6026 static void *SwigwxClientDCTowxDC(void *ptr
) {
6029 src
= (wxClientDC
*) ptr
;
6030 dest
= (wxDC
*) src
;
6031 return (void *) dest
;
6034 #define new_wxClientDC(_swigarg0) (new wxClientDC(_swigarg0))
6035 static PyObject
*_wrap_new_wxClientDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6036 PyObject
* _resultobj
;
6037 wxClientDC
* _result
;
6039 PyObject
* _argo0
= 0;
6040 char *_kwnames
[] = { "win", NULL
};
6044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxClientDC",_kwnames
,&_argo0
))
6047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxClientDC. Expected _wxWindow_p.");
6054 wxPy_BEGIN_ALLOW_THREADS
;
6055 _result
= (wxClientDC
*)new_wxClientDC(_arg0
);
6057 wxPy_END_ALLOW_THREADS
;
6059 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxClientDC_p");
6060 _resultobj
= Py_BuildValue("s",_ptemp
);
6063 _resultobj
= Py_None
;
6068 static void *SwigwxPaintDCTowxDC(void *ptr
) {
6071 src
= (wxPaintDC
*) ptr
;
6072 dest
= (wxDC
*) src
;
6073 return (void *) dest
;
6076 #define new_wxPaintDC(_swigarg0) (new wxPaintDC(_swigarg0))
6077 static PyObject
*_wrap_new_wxPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6078 PyObject
* _resultobj
;
6079 wxPaintDC
* _result
;
6081 PyObject
* _argo0
= 0;
6082 char *_kwnames
[] = { "win", NULL
};
6086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPaintDC",_kwnames
,&_argo0
))
6089 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6090 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPaintDC. Expected _wxWindow_p.");
6096 wxPy_BEGIN_ALLOW_THREADS
;
6097 _result
= (wxPaintDC
*)new_wxPaintDC(_arg0
);
6099 wxPy_END_ALLOW_THREADS
;
6101 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPaintDC_p");
6102 _resultobj
= Py_BuildValue("s",_ptemp
);
6105 _resultobj
= Py_None
;
6110 static void *SwigwxWindowDCTowxDC(void *ptr
) {
6113 src
= (wxWindowDC
*) ptr
;
6114 dest
= (wxDC
*) src
;
6115 return (void *) dest
;
6118 #define new_wxWindowDC(_swigarg0) (new wxWindowDC(_swigarg0))
6119 static PyObject
*_wrap_new_wxWindowDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6120 PyObject
* _resultobj
;
6121 wxWindowDC
* _result
;
6123 PyObject
* _argo0
= 0;
6124 char *_kwnames
[] = { "win", NULL
};
6128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxWindowDC",_kwnames
,&_argo0
))
6131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDC. Expected _wxWindow_p.");
6138 wxPy_BEGIN_ALLOW_THREADS
;
6139 _result
= (wxWindowDC
*)new_wxWindowDC(_arg0
);
6141 wxPy_END_ALLOW_THREADS
;
6143 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDC_p");
6144 _resultobj
= Py_BuildValue("s",_ptemp
);
6147 _resultobj
= Py_None
;
6152 static void *SwigwxPrinterDCTowxDC(void *ptr
) {
6155 src
= (wxPrinterDC
*) ptr
;
6156 dest
= (wxDC
*) src
;
6157 return (void *) dest
;
6160 #define new_wxPrinterDC(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxPrinterDC(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6161 static PyObject
*_wrap_new_wxPrinterDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6162 PyObject
* _resultobj
;
6163 wxPrinterDC
* _result
;
6167 bool _arg3
= (bool ) TRUE
;
6168 int _arg4
= (int ) wxPORTRAIT
;
6169 PyObject
* _obj0
= 0;
6170 PyObject
* _obj1
= 0;
6171 PyObject
* _obj2
= 0;
6172 int tempbool3
= (int) TRUE
;
6173 char *_kwnames
[] = { "driver","device","output","interactive","orientation", NULL
};
6177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|ii:new_wxPrinterDC",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&tempbool3
,&_arg4
))
6180 if (!PyString_Check(_obj0
)) {
6181 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6184 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
6187 if (!PyString_Check(_obj1
)) {
6188 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6191 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
6194 if (!PyString_Check(_obj2
)) {
6195 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6198 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6200 _arg3
= (bool ) tempbool3
;
6202 wxPy_BEGIN_ALLOW_THREADS
;
6203 _result
= (wxPrinterDC
*)new_wxPrinterDC(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
6205 wxPy_END_ALLOW_THREADS
;
6207 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrinterDC_p");
6208 _resultobj
= Py_BuildValue("s",_ptemp
);
6211 _resultobj
= Py_None
;
6228 static void *SwigwxMetaFileDCTowxDC(void *ptr
) {
6231 src
= (wxMetaFileDC
*) ptr
;
6232 dest
= (wxDC
*) src
;
6233 return (void *) dest
;
6236 #define new_wxMetaFileDC(_swigarg0) (new wxMetaFileDC(_swigarg0))
6237 static PyObject
*_wrap_new_wxMetaFileDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6238 PyObject
* _resultobj
;
6239 wxMetaFileDC
* _result
;
6240 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
6241 PyObject
* _obj0
= 0;
6242 char *_kwnames
[] = { "filename", NULL
};
6246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxMetaFileDC",_kwnames
,&_obj0
))
6250 if (!PyString_Check(_obj0
)) {
6251 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6254 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
6257 wxPy_BEGIN_ALLOW_THREADS
;
6258 _result
= (wxMetaFileDC
*)new_wxMetaFileDC(*_arg0
);
6260 wxPy_END_ALLOW_THREADS
;
6262 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMetaFileDC_p");
6263 _resultobj
= Py_BuildValue("s",_ptemp
);
6266 _resultobj
= Py_None
;
6275 #define wxMetaFileDC_Close(_swigobj) (_swigobj->Close())
6276 static PyObject
*_wrap_wxMetaFileDC_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6277 PyObject
* _resultobj
;
6278 wxMetaFile
* _result
;
6279 wxMetaFileDC
* _arg0
;
6280 PyObject
* _argo0
= 0;
6281 char *_kwnames
[] = { "self", NULL
};
6285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMetaFileDC_Close",_kwnames
,&_argo0
))
6288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMetaFileDC_p")) {
6290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMetaFileDC_Close. Expected _wxMetaFileDC_p.");
6295 wxPy_BEGIN_ALLOW_THREADS
;
6296 _result
= (wxMetaFile
*)wxMetaFileDC_Close(_arg0
);
6298 wxPy_END_ALLOW_THREADS
;
6300 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMetaFile_p");
6301 _resultobj
= Py_BuildValue("s",_ptemp
);
6304 _resultobj
= Py_None
;
6309 #define new_wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6310 static PyObject
*_wrap_new_wxPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6311 PyObject
* _resultobj
;
6312 wxPalette
* _result
;
6317 PyObject
* _obj1
= 0;
6318 PyObject
* _obj2
= 0;
6319 PyObject
* _obj3
= 0;
6320 char *_kwnames
[] = { "LIST","LIST","LIST", NULL
};
6324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:new_wxPalette",_kwnames
,&_obj1
,&_obj2
,&_obj3
))
6327 _arg1
= byte_LIST_helper(_obj1
);
6328 if (_arg1
== NULL
) {
6333 _arg2
= byte_LIST_helper(_obj2
);
6334 if (_arg2
== NULL
) {
6340 _arg3
= byte_LIST_helper(_obj3
);
6341 if (_arg3
== NULL
) {
6347 _arg0
= PyList_Size(_obj1
);
6354 wxPy_BEGIN_ALLOW_THREADS
;
6355 _result
= (wxPalette
*)new_wxPalette(_arg0
,_arg1
,_arg2
,_arg3
);
6357 wxPy_END_ALLOW_THREADS
;
6359 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
6360 _resultobj
= Py_BuildValue("s",_ptemp
);
6363 _resultobj
= Py_None
;
6377 #define delete_wxPalette(_swigobj) (delete _swigobj)
6378 static PyObject
*_wrap_delete_wxPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6379 PyObject
* _resultobj
;
6381 PyObject
* _argo0
= 0;
6382 char *_kwnames
[] = { "self", NULL
};
6385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPalette",_kwnames
,&_argo0
))
6388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
6390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPalette. Expected _wxPalette_p.");
6395 wxPy_BEGIN_ALLOW_THREADS
;
6396 delete_wxPalette(_arg0
);
6398 wxPy_END_ALLOW_THREADS
;
6399 } Py_INCREF(Py_None
);
6400 _resultobj
= Py_None
;
6404 #define wxPalette_GetPixel(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetPixel(_swigarg0,_swigarg1,_swigarg2))
6405 static PyObject
*_wrap_wxPalette_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6406 PyObject
* _resultobj
;
6412 PyObject
* _argo0
= 0;
6413 char *_kwnames
[] = { "self","red","green","blue", NULL
};
6416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Obbb:wxPalette_GetPixel",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
6419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
6421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetPixel. Expected _wxPalette_p.");
6426 wxPy_BEGIN_ALLOW_THREADS
;
6427 _result
= (int )wxPalette_GetPixel(_arg0
,_arg1
,_arg2
,_arg3
);
6429 wxPy_END_ALLOW_THREADS
;
6430 } _resultobj
= Py_BuildValue("i",_result
);
6434 #define wxPalette_GetRGB(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetRGB(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6435 static PyObject
*_wrap_wxPalette_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6436 PyObject
* _resultobj
;
6443 PyObject
* _argo0
= 0;
6444 PyObject
* _argo2
= 0;
6445 PyObject
* _argo3
= 0;
6446 PyObject
* _argo4
= 0;
6447 char *_kwnames
[] = { "self","pixel","OUTPUT","OUTPUT","OUTPUT", NULL
};
6450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOOO:wxPalette_GetRGB",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_argo4
))
6453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
6455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetRGB. Expected _wxPalette_p.");
6460 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6461 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_byte_p")) {
6462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPalette_GetRGB. Expected _byte_p.");
6467 if (_argo3
== Py_None
) { _arg3
= NULL
; }
6468 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_byte_p")) {
6469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxPalette_GetRGB. Expected _byte_p.");
6474 if (_argo4
== Py_None
) { _arg4
= NULL
; }
6475 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_byte_p")) {
6476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxPalette_GetRGB. Expected _byte_p.");
6481 wxPy_BEGIN_ALLOW_THREADS
;
6482 _result
= (bool )wxPalette_GetRGB(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6484 wxPy_END_ALLOW_THREADS
;
6485 } _resultobj
= Py_BuildValue("i",_result
);
6489 #define wxPalette_Ok(_swigobj) (_swigobj->Ok())
6490 static PyObject
*_wrap_wxPalette_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6491 PyObject
* _resultobj
;
6494 PyObject
* _argo0
= 0;
6495 char *_kwnames
[] = { "self", NULL
};
6498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPalette_Ok",_kwnames
,&_argo0
))
6501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
6503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_Ok. Expected _wxPalette_p.");
6508 wxPy_BEGIN_ALLOW_THREADS
;
6509 _result
= (bool )wxPalette_Ok(_arg0
);
6511 wxPy_END_ALLOW_THREADS
;
6512 } _resultobj
= Py_BuildValue("i",_result
);
6516 #define new_wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6517 static PyObject
*_wrap_new_wxImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6518 PyObject
* _resultobj
;
6519 wxImageList
* _result
;
6522 bool _arg2
= (bool ) TRUE
;
6523 int _arg3
= (int ) 1;
6524 int tempbool2
= (int) TRUE
;
6525 char *_kwnames
[] = { "width","height","mask","initialCount", NULL
};
6529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ii|ii:new_wxImageList",_kwnames
,&_arg0
,&_arg1
,&tempbool2
,&_arg3
))
6531 _arg2
= (bool ) tempbool2
;
6533 wxPy_BEGIN_ALLOW_THREADS
;
6534 _result
= (wxImageList
*)new_wxImageList(_arg0
,_arg1
,_arg2
,_arg3
);
6536 wxPy_END_ALLOW_THREADS
;
6538 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
6539 _resultobj
= Py_BuildValue("s",_ptemp
);
6542 _resultobj
= Py_None
;
6547 #define delete_wxImageList(_swigobj) (delete _swigobj)
6548 static PyObject
*_wrap_delete_wxImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6549 PyObject
* _resultobj
;
6550 wxImageList
* _arg0
;
6551 PyObject
* _argo0
= 0;
6552 char *_kwnames
[] = { "self", NULL
};
6555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxImageList",_kwnames
,&_argo0
))
6558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxImageList. Expected _wxImageList_p.");
6565 wxPy_BEGIN_ALLOW_THREADS
;
6566 delete_wxImageList(_arg0
);
6568 wxPy_END_ALLOW_THREADS
;
6569 } Py_INCREF(Py_None
);
6570 _resultobj
= Py_None
;
6574 #define wxImageList_Add(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
6575 static PyObject
*_wrap_wxImageList_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6576 PyObject
* _resultobj
;
6578 wxImageList
* _arg0
;
6580 wxBitmap
* _arg2
= (wxBitmap
*) &wxNullBitmap
;
6581 PyObject
* _argo0
= 0;
6582 PyObject
* _argo1
= 0;
6583 PyObject
* _argo2
= 0;
6584 char *_kwnames
[] = { "self","bitmap","mask", NULL
};
6587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxImageList_Add",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
6590 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6591 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Add. Expected _wxImageList_p.");
6597 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6598 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
6599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_Add. Expected _wxBitmap_p.");
6604 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6605 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
6606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Add. Expected _wxBitmap_p.");
6611 wxPy_BEGIN_ALLOW_THREADS
;
6612 _result
= (int )wxImageList_Add(_arg0
,*_arg1
,*_arg2
);
6614 wxPy_END_ALLOW_THREADS
;
6615 } _resultobj
= Py_BuildValue("i",_result
);
6619 #define wxImageList_AddWithColourMask(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
6620 static PyObject
*_wrap_wxImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6621 PyObject
* _resultobj
;
6623 wxImageList
* _arg0
;
6626 PyObject
* _argo0
= 0;
6627 PyObject
* _argo1
= 0;
6628 PyObject
* _argo2
= 0;
6629 char *_kwnames
[] = { "self","bitmap","maskColour", NULL
};
6632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxImageList_AddWithColourMask",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
6635 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6636 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_AddWithColourMask. Expected _wxImageList_p.");
6642 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6643 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
6644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_AddWithColourMask. Expected _wxBitmap_p.");
6649 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6650 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxColour_p")) {
6651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_AddWithColourMask. Expected _wxColour_p.");
6656 wxPy_BEGIN_ALLOW_THREADS
;
6657 _result
= (int )wxImageList_AddWithColourMask(_arg0
,*_arg1
,*_arg2
);
6659 wxPy_END_ALLOW_THREADS
;
6660 } _resultobj
= Py_BuildValue("i",_result
);
6664 #define wxImageList_AddIcon(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
6665 static PyObject
*_wrap_wxImageList_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6666 PyObject
* _resultobj
;
6668 wxImageList
* _arg0
;
6670 PyObject
* _argo0
= 0;
6671 PyObject
* _argo1
= 0;
6672 char *_kwnames
[] = { "self","icon", NULL
};
6675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxImageList_AddIcon",_kwnames
,&_argo0
,&_argo1
))
6678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_AddIcon. Expected _wxImageList_p.");
6685 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6686 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
6687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_AddIcon. Expected _wxIcon_p.");
6692 wxPy_BEGIN_ALLOW_THREADS
;
6693 _result
= (int )wxImageList_AddIcon(_arg0
,*_arg1
);
6695 wxPy_END_ALLOW_THREADS
;
6696 } _resultobj
= Py_BuildValue("i",_result
);
6700 #define wxImageList_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
6701 static PyObject
*_wrap_wxImageList_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6702 PyObject
* _resultobj
;
6704 wxImageList
* _arg0
;
6707 wxBitmap
* _arg3
= (wxBitmap
*) &wxNullBitmap
;
6708 PyObject
* _argo0
= 0;
6709 PyObject
* _argo2
= 0;
6710 PyObject
* _argo3
= 0;
6711 char *_kwnames
[] = { "self","index","bitmap","mask", NULL
};
6714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxImageList_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
))
6717 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6718 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Replace. Expected _wxImageList_p.");
6724 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6725 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
6726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Replace. Expected _wxBitmap_p.");
6731 if (_argo3
== Py_None
) { _arg3
= NULL
; }
6732 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
6733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxImageList_Replace. Expected _wxBitmap_p.");
6738 wxPy_BEGIN_ALLOW_THREADS
;
6739 _result
= (bool )wxImageList_Replace(_arg0
,_arg1
,*_arg2
,*_arg3
);
6741 wxPy_END_ALLOW_THREADS
;
6742 } _resultobj
= Py_BuildValue("i",_result
);
6746 #define wxImageList_ReplaceIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->Replace(_swigarg0,_swigarg1))
6747 static PyObject
*_wrap_wxImageList_ReplaceIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6748 PyObject
* _resultobj
;
6750 wxImageList
* _arg0
;
6753 PyObject
* _argo0
= 0;
6754 PyObject
* _argo2
= 0;
6755 char *_kwnames
[] = { "self","index","icon", NULL
};
6758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxImageList_ReplaceIcon",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
6761 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6762 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_ReplaceIcon. Expected _wxImageList_p.");
6768 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6769 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxIcon_p")) {
6770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_ReplaceIcon. Expected _wxIcon_p.");
6775 wxPy_BEGIN_ALLOW_THREADS
;
6776 _result
= (bool )wxImageList_ReplaceIcon(_arg0
,_arg1
,*_arg2
);
6778 wxPy_END_ALLOW_THREADS
;
6779 } _resultobj
= Py_BuildValue("i",_result
);
6783 #define wxImageList_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6784 static PyObject
*_wrap_wxImageList_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6785 PyObject
* _resultobj
;
6787 wxImageList
* _arg0
;
6792 int _arg5
= (int ) (wxIMAGELIST_DRAW_NORMAL
);
6793 bool _arg6
= (bool ) FALSE
;
6794 PyObject
* _argo0
= 0;
6795 PyObject
* _argo2
= 0;
6796 int tempbool6
= (int) FALSE
;
6797 char *_kwnames
[] = { "self","index","dc","x","x","flags","solidBackground", NULL
};
6800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOii|ii:wxImageList_Draw",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
6803 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6804 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Draw. Expected _wxImageList_p.");
6810 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6811 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDC_p")) {
6812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Draw. Expected _wxDC_p.");
6816 _arg6
= (bool ) tempbool6
;
6818 wxPy_BEGIN_ALLOW_THREADS
;
6819 _result
= (bool )wxImageList_Draw(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
6821 wxPy_END_ALLOW_THREADS
;
6822 } _resultobj
= Py_BuildValue("i",_result
);
6826 #define wxImageList_GetImageCount(_swigobj) (_swigobj->GetImageCount())
6827 static PyObject
*_wrap_wxImageList_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6828 PyObject
* _resultobj
;
6830 wxImageList
* _arg0
;
6831 PyObject
* _argo0
= 0;
6832 char *_kwnames
[] = { "self", NULL
};
6835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImageList_GetImageCount",_kwnames
,&_argo0
))
6838 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6839 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_GetImageCount. Expected _wxImageList_p.");
6845 wxPy_BEGIN_ALLOW_THREADS
;
6846 _result
= (int )wxImageList_GetImageCount(_arg0
);
6848 wxPy_END_ALLOW_THREADS
;
6849 } _resultobj
= Py_BuildValue("i",_result
);
6853 #define wxImageList_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
6854 static PyObject
*_wrap_wxImageList_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6855 PyObject
* _resultobj
;
6857 wxImageList
* _arg0
;
6859 PyObject
* _argo0
= 0;
6860 char *_kwnames
[] = { "self","index", NULL
};
6863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxImageList_Remove",_kwnames
,&_argo0
,&_arg1
))
6866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Remove. Expected _wxImageList_p.");
6873 wxPy_BEGIN_ALLOW_THREADS
;
6874 _result
= (bool )wxImageList_Remove(_arg0
,_arg1
);
6876 wxPy_END_ALLOW_THREADS
;
6877 } _resultobj
= Py_BuildValue("i",_result
);
6881 #define wxImageList_RemoveAll(_swigobj) (_swigobj->RemoveAll())
6882 static PyObject
*_wrap_wxImageList_RemoveAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6883 PyObject
* _resultobj
;
6885 wxImageList
* _arg0
;
6886 PyObject
* _argo0
= 0;
6887 char *_kwnames
[] = { "self", NULL
};
6890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImageList_RemoveAll",_kwnames
,&_argo0
))
6893 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6894 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_RemoveAll. Expected _wxImageList_p.");
6900 wxPy_BEGIN_ALLOW_THREADS
;
6901 _result
= (bool )wxImageList_RemoveAll(_arg0
);
6903 wxPy_END_ALLOW_THREADS
;
6904 } _resultobj
= Py_BuildValue("i",_result
);
6908 static PyMethodDef gdicMethods
[] = {
6909 { "wxImageList_RemoveAll", (PyCFunction
) _wrap_wxImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
},
6910 { "wxImageList_Remove", (PyCFunction
) _wrap_wxImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
},
6911 { "wxImageList_GetImageCount", (PyCFunction
) _wrap_wxImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
6912 { "wxImageList_Draw", (PyCFunction
) _wrap_wxImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
},
6913 { "wxImageList_ReplaceIcon", (PyCFunction
) _wrap_wxImageList_ReplaceIcon
, METH_VARARGS
| METH_KEYWORDS
},
6914 { "wxImageList_Replace", (PyCFunction
) _wrap_wxImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
},
6915 { "wxImageList_AddIcon", (PyCFunction
) _wrap_wxImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
6916 { "wxImageList_AddWithColourMask", (PyCFunction
) _wrap_wxImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
},
6917 { "wxImageList_Add", (PyCFunction
) _wrap_wxImageList_Add
, METH_VARARGS
| METH_KEYWORDS
},
6918 { "delete_wxImageList", (PyCFunction
) _wrap_delete_wxImageList
, METH_VARARGS
| METH_KEYWORDS
},
6919 { "new_wxImageList", (PyCFunction
) _wrap_new_wxImageList
, METH_VARARGS
| METH_KEYWORDS
},
6920 { "wxPalette_Ok", (PyCFunction
) _wrap_wxPalette_Ok
, METH_VARARGS
| METH_KEYWORDS
},
6921 { "wxPalette_GetRGB", (PyCFunction
) _wrap_wxPalette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
6922 { "wxPalette_GetPixel", (PyCFunction
) _wrap_wxPalette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
6923 { "delete_wxPalette", (PyCFunction
) _wrap_delete_wxPalette
, METH_VARARGS
| METH_KEYWORDS
},
6924 { "new_wxPalette", (PyCFunction
) _wrap_new_wxPalette
, METH_VARARGS
| METH_KEYWORDS
},
6925 { "wxMetaFileDC_Close", (PyCFunction
) _wrap_wxMetaFileDC_Close
, METH_VARARGS
| METH_KEYWORDS
},
6926 { "new_wxMetaFileDC", (PyCFunction
) _wrap_new_wxMetaFileDC
, METH_VARARGS
| METH_KEYWORDS
},
6927 { "new_wxPrinterDC", (PyCFunction
) _wrap_new_wxPrinterDC
, METH_VARARGS
| METH_KEYWORDS
},
6928 { "new_wxWindowDC", (PyCFunction
) _wrap_new_wxWindowDC
, METH_VARARGS
| METH_KEYWORDS
},
6929 { "new_wxPaintDC", (PyCFunction
) _wrap_new_wxPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
6930 { "new_wxClientDC", (PyCFunction
) _wrap_new_wxClientDC
, METH_VARARGS
| METH_KEYWORDS
},
6931 { "wxScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_wxScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
6932 { "wxScreenDC_StartDrawingOnTopRect", (PyCFunction
) _wrap_wxScreenDC_StartDrawingOnTopRect
, METH_VARARGS
| METH_KEYWORDS
},
6933 { "wxScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_wxScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
6934 { "new_wxScreenDC", (PyCFunction
) _wrap_new_wxScreenDC
, METH_VARARGS
| METH_KEYWORDS
},
6935 { "wxMemoryDC_SelectObject", (PyCFunction
) _wrap_wxMemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
},
6936 { "new_wxMemoryDC", (PyCFunction
) _wrap_new_wxMemoryDC
, METH_VARARGS
| METH_KEYWORDS
},
6937 { "wxDC_DrawBitmap", (PyCFunction
) _wrap_wxDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
6938 { "wxDC_StartPage", (PyCFunction
) _wrap_wxDC_StartPage
, METH_VARARGS
| METH_KEYWORDS
},
6939 { "wxDC_StartDoc", (PyCFunction
) _wrap_wxDC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
},
6940 { "wxDC_SetUserScale", (PyCFunction
) _wrap_wxDC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
6941 { "wxDC_SetTextForeground", (PyCFunction
) _wrap_wxDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
6942 { "wxDC_SetTextBackground", (PyCFunction
) _wrap_wxDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
6943 { "wxDC_SetPen", (PyCFunction
) _wrap_wxDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
6944 { "wxDC_SetOptimization", (PyCFunction
) _wrap_wxDC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
6945 { "wxDC_SetMapMode", (PyCFunction
) _wrap_wxDC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
6946 { "wxDC_SetLogicalFunction", (PyCFunction
) _wrap_wxDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
6947 { "wxDC_SetFont", (PyCFunction
) _wrap_wxDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
6948 { "wxDC_SetBrush", (PyCFunction
) _wrap_wxDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
6949 { "wxDC_SetPalette", (PyCFunction
) _wrap_wxDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
6950 { "wxDC_SetClippingRegion", (PyCFunction
) _wrap_wxDC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
6951 { "wxDC_SetBackgroundMode", (PyCFunction
) _wrap_wxDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
6952 { "wxDC_SetBackground", (PyCFunction
) _wrap_wxDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
},
6953 { "wxDC_SetDeviceOrigin", (PyCFunction
) _wrap_wxDC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
6954 { "wxDC_Ok", (PyCFunction
) _wrap_wxDC_Ok
, METH_VARARGS
| METH_KEYWORDS
},
6955 { "wxDC_MinY", (PyCFunction
) _wrap_wxDC_MinY
, METH_VARARGS
| METH_KEYWORDS
},
6956 { "wxDC_MinX", (PyCFunction
) _wrap_wxDC_MinX
, METH_VARARGS
| METH_KEYWORDS
},
6957 { "wxDC_MaxY", (PyCFunction
) _wrap_wxDC_MaxY
, METH_VARARGS
| METH_KEYWORDS
},
6958 { "wxDC_MaxX", (PyCFunction
) _wrap_wxDC_MaxX
, METH_VARARGS
| METH_KEYWORDS
},
6959 { "wxDC_LogicalToDeviceYRel", (PyCFunction
) _wrap_wxDC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
},
6960 { "wxDC_LogicalToDeviceY", (PyCFunction
) _wrap_wxDC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
},
6961 { "wxDC_LogicalToDeviceXRel", (PyCFunction
) _wrap_wxDC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
},
6962 { "wxDC_LogicalToDeviceX", (PyCFunction
) _wrap_wxDC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
},
6963 { "wxDC_GetTextForeground", (PyCFunction
) _wrap_wxDC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
6964 { "wxDC_GetFullTextExtent", (PyCFunction
) _wrap_wxDC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
6965 { "wxDC_GetTextExtent", (PyCFunction
) _wrap_wxDC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
6966 { "wxDC_GetTextBackground", (PyCFunction
) _wrap_wxDC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
6967 { "wxDC_GetSize", (PyCFunction
) _wrap_wxDC_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
6968 { "wxDC_GetSizeTuple", (PyCFunction
) _wrap_wxDC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
6969 { "wxDC_GetPixel", (PyCFunction
) _wrap_wxDC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
6970 { "wxDC_GetPen", (PyCFunction
) _wrap_wxDC_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
6971 { "wxDC_GetOptimization", (PyCFunction
) _wrap_wxDC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
6972 { "wxDC_GetMapMode", (PyCFunction
) _wrap_wxDC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
6973 { "wxDC_GetLogicalFunction", (PyCFunction
) _wrap_wxDC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
6974 { "wxDC_GetFont", (PyCFunction
) _wrap_wxDC_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
6975 { "wxDC_GetClippingBox", (PyCFunction
) _wrap_wxDC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
},
6976 { "wxDC_GetCharWidth", (PyCFunction
) _wrap_wxDC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
6977 { "wxDC_GetCharHeight", (PyCFunction
) _wrap_wxDC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
6978 { "wxDC_GetBrush", (PyCFunction
) _wrap_wxDC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
6979 { "wxDC_GetBackground", (PyCFunction
) _wrap_wxDC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
},
6980 { "wxDC_FloodFill", (PyCFunction
) _wrap_wxDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
},
6981 { "wxDC_EndPage", (PyCFunction
) _wrap_wxDC_EndPage
, METH_VARARGS
| METH_KEYWORDS
},
6982 { "wxDC_EndDrawing", (PyCFunction
) _wrap_wxDC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
},
6983 { "wxDC_EndDoc", (PyCFunction
) _wrap_wxDC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
},
6984 { "wxDC_DrawText", (PyCFunction
) _wrap_wxDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
6985 { "wxDC_DrawSpline", (PyCFunction
) _wrap_wxDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
6986 { "wxDC_DrawRoundedRectangle", (PyCFunction
) _wrap_wxDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
6987 { "wxDC_DrawRectangle", (PyCFunction
) _wrap_wxDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
6988 { "wxDC_DrawPoint", (PyCFunction
) _wrap_wxDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
6989 { "wxDC_DrawPolygon", (PyCFunction
) _wrap_wxDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
6990 { "wxDC_DrawLines", (PyCFunction
) _wrap_wxDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
6991 { "wxDC_DrawLine", (PyCFunction
) _wrap_wxDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
6992 { "wxDC_DrawIcon", (PyCFunction
) _wrap_wxDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
},
6993 { "wxDC_DrawEllipticArc", (PyCFunction
) _wrap_wxDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
6994 { "wxDC_DrawEllipse", (PyCFunction
) _wrap_wxDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
6995 { "wxDC_DrawCircle", (PyCFunction
) _wrap_wxDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
},
6996 { "wxDC_DrawArc", (PyCFunction
) _wrap_wxDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
6997 { "wxDC_DeviceToLogicalYRel", (PyCFunction
) _wrap_wxDC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
},
6998 { "wxDC_DeviceToLogicalY", (PyCFunction
) _wrap_wxDC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
},
6999 { "wxDC_DeviceToLogicalXRel", (PyCFunction
) _wrap_wxDC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
},
7000 { "wxDC_DeviceToLogicalX", (PyCFunction
) _wrap_wxDC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
},
7001 { "wxDC_DestroyClippingRegion", (PyCFunction
) _wrap_wxDC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
7002 { "wxDC_CrossHair", (PyCFunction
) _wrap_wxDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
},
7003 { "wxDC_Clear", (PyCFunction
) _wrap_wxDC_Clear
, METH_VARARGS
| METH_KEYWORDS
},
7004 { "wxDC_Blit", (PyCFunction
) _wrap_wxDC_Blit
, METH_VARARGS
| METH_KEYWORDS
},
7005 { "wxDC_BeginDrawing", (PyCFunction
) _wrap_wxDC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
},
7006 { "delete_wxDC", (PyCFunction
) _wrap_delete_wxDC
, METH_VARARGS
| METH_KEYWORDS
},
7007 { "wxBrush_SetStyle", (PyCFunction
) _wrap_wxBrush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
7008 { "wxBrush_SetStipple", (PyCFunction
) _wrap_wxBrush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
7009 { "wxBrush_SetColour", (PyCFunction
) _wrap_wxBrush_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
7010 { "wxBrush_Ok", (PyCFunction
) _wrap_wxBrush_Ok
, METH_VARARGS
| METH_KEYWORDS
},
7011 { "wxBrush_GetStyle", (PyCFunction
) _wrap_wxBrush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
7012 { "wxBrush_GetStipple", (PyCFunction
) _wrap_wxBrush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
7013 { "wxBrush_GetColour", (PyCFunction
) _wrap_wxBrush_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
7014 { "new_wxBrush", (PyCFunction
) _wrap_new_wxBrush
, METH_VARARGS
| METH_KEYWORDS
},
7015 { "wxPen_SetStipple", (PyCFunction
) _wrap_wxPen_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
7016 { "wxPen_SetDashes", (PyCFunction
) _wrap_wxPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
7017 { "wxPen_GetStipple", (PyCFunction
) _wrap_wxPen_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
7018 { "wxPen_GetDashes", (PyCFunction
) _wrap_wxPen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
},
7019 { "wxPen_SetWidth", (PyCFunction
) _wrap_wxPen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
7020 { "wxPen_SetStyle", (PyCFunction
) _wrap_wxPen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
7021 { "wxPen_SetJoin", (PyCFunction
) _wrap_wxPen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
},
7022 { "wxPen_SetColour", (PyCFunction
) _wrap_wxPen_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
7023 { "wxPen_SetCap", (PyCFunction
) _wrap_wxPen_SetCap
, METH_VARARGS
| METH_KEYWORDS
},
7024 { "wxPen_Ok", (PyCFunction
) _wrap_wxPen_Ok
, METH_VARARGS
| METH_KEYWORDS
},
7025 { "wxPen_GetWidth", (PyCFunction
) _wrap_wxPen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
7026 { "wxPen_GetStyle", (PyCFunction
) _wrap_wxPen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
7027 { "wxPen_GetJoin", (PyCFunction
) _wrap_wxPen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
},
7028 { "wxPen_GetColour", (PyCFunction
) _wrap_wxPen_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
7029 { "wxPen_GetCap", (PyCFunction
) _wrap_wxPen_GetCap
, METH_VARARGS
| METH_KEYWORDS
},
7030 { "new_wxPen", (PyCFunction
) _wrap_new_wxPen
, METH_VARARGS
| METH_KEYWORDS
},
7031 { "wxColour_Get", (PyCFunction
) _wrap_wxColour_Get
, METH_VARARGS
| METH_KEYWORDS
},
7032 { "wxColour_Set", (PyCFunction
) _wrap_wxColour_Set
, METH_VARARGS
| METH_KEYWORDS
},
7033 { "wxColour_Ok", (PyCFunction
) _wrap_wxColour_Ok
, METH_VARARGS
| METH_KEYWORDS
},
7034 { "wxColour_Blue", (PyCFunction
) _wrap_wxColour_Blue
, METH_VARARGS
| METH_KEYWORDS
},
7035 { "wxColour_Green", (PyCFunction
) _wrap_wxColour_Green
, METH_VARARGS
| METH_KEYWORDS
},
7036 { "wxColour_Red", (PyCFunction
) _wrap_wxColour_Red
, METH_VARARGS
| METH_KEYWORDS
},
7037 { "delete_wxColour", (PyCFunction
) _wrap_delete_wxColour
, METH_VARARGS
| METH_KEYWORDS
},
7038 { "new_wxColour", (PyCFunction
) _wrap_new_wxColour
, METH_VARARGS
| METH_KEYWORDS
},
7039 { "wxFont_SetWeight", (PyCFunction
) _wrap_wxFont_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
7040 { "wxFont_SetUnderlined", (PyCFunction
) _wrap_wxFont_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
7041 { "wxFont_SetStyle", (PyCFunction
) _wrap_wxFont_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
7042 { "wxFont_SetPointSize", (PyCFunction
) _wrap_wxFont_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
7043 { "wxFont_SetFamily", (PyCFunction
) _wrap_wxFont_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
7044 { "wxFont_SetFaceName", (PyCFunction
) _wrap_wxFont_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
7045 { "wxFont_GetWeight", (PyCFunction
) _wrap_wxFont_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
7046 { "wxFont_GetUnderlined", (PyCFunction
) _wrap_wxFont_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
7047 { "wxFont_GetStyle", (PyCFunction
) _wrap_wxFont_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
7048 { "wxFont_GetPointSize", (PyCFunction
) _wrap_wxFont_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
7049 { "wxFont_GetFontId", (PyCFunction
) _wrap_wxFont_GetFontId
, METH_VARARGS
| METH_KEYWORDS
},
7050 { "wxFont_GetFamily", (PyCFunction
) _wrap_wxFont_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
7051 { "wxFont_GetFaceName", (PyCFunction
) _wrap_wxFont_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
7052 { "new_wxFont", (PyCFunction
) _wrap_new_wxFont
, METH_VARARGS
| METH_KEYWORDS
},
7053 { "wxCursor_Ok", (PyCFunction
) _wrap_wxCursor_Ok
, METH_VARARGS
| METH_KEYWORDS
},
7054 { "delete_wxCursor", (PyCFunction
) _wrap_delete_wxCursor
, METH_VARARGS
| METH_KEYWORDS
},
7055 { "new_wxCursor", (PyCFunction
) _wrap_new_wxCursor
, METH_VARARGS
| METH_KEYWORDS
},
7056 { "wxIcon_SetWidth", (PyCFunction
) _wrap_wxIcon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
7057 { "wxIcon_SetHeight", (PyCFunction
) _wrap_wxIcon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
7058 { "wxIcon_SetDepth", (PyCFunction
) _wrap_wxIcon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
7059 { "wxIcon_Ok", (PyCFunction
) _wrap_wxIcon_Ok
, METH_VARARGS
| METH_KEYWORDS
},
7060 { "wxIcon_LoadFile", (PyCFunction
) _wrap_wxIcon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
7061 { "wxIcon_GetWidth", (PyCFunction
) _wrap_wxIcon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
7062 { "wxIcon_GetHeight", (PyCFunction
) _wrap_wxIcon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
7063 { "wxIcon_GetDepth", (PyCFunction
) _wrap_wxIcon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
7064 { "delete_wxIcon", (PyCFunction
) _wrap_delete_wxIcon
, METH_VARARGS
| METH_KEYWORDS
},
7065 { "new_wxIcon", (PyCFunction
) _wrap_new_wxIcon
, METH_VARARGS
| METH_KEYWORDS
},
7066 { "delete_wxMask", (PyCFunction
) _wrap_delete_wxMask
, METH_VARARGS
| METH_KEYWORDS
},
7067 { "new_wxMask", (PyCFunction
) _wrap_new_wxMask
, METH_VARARGS
| METH_KEYWORDS
},
7068 { "wxBitmap_SetWidth", (PyCFunction
) _wrap_wxBitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
7069 { "wxBitmap_SetPalette", (PyCFunction
) _wrap_wxBitmap_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
7070 { "wxBitmap_SetMask", (PyCFunction
) _wrap_wxBitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
7071 { "wxBitmap_SetHeight", (PyCFunction
) _wrap_wxBitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
7072 { "wxBitmap_SetDepth", (PyCFunction
) _wrap_wxBitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
7073 { "wxBitmap_SaveFile", (PyCFunction
) _wrap_wxBitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
7074 { "wxBitmap_Ok", (PyCFunction
) _wrap_wxBitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
},
7075 { "wxBitmap_LoadFile", (PyCFunction
) _wrap_wxBitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
7076 { "wxBitmap_GetWidth", (PyCFunction
) _wrap_wxBitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
7077 { "wxBitmap_GetMask", (PyCFunction
) _wrap_wxBitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
7078 { "wxBitmap_GetPalette", (PyCFunction
) _wrap_wxBitmap_GetPalette
, METH_VARARGS
| METH_KEYWORDS
},
7079 { "wxBitmap_GetHeight", (PyCFunction
) _wrap_wxBitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
7080 { "wxBitmap_GetDepth", (PyCFunction
) _wrap_wxBitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
7081 { "wxBitmap_Create", (PyCFunction
) _wrap_wxBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
7082 { "delete_wxBitmap", (PyCFunction
) _wrap_delete_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
7083 { "new_wxBitmap", (PyCFunction
) _wrap_new_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
7084 { "wxMemoryDCFromDC", (PyCFunction
) _wrap_wxMemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
},
7085 { "wxNamedColour", (PyCFunction
) _wrap_wxNamedColour
, METH_VARARGS
| METH_KEYWORDS
},
7086 { "wxStockCursor", (PyCFunction
) _wrap_wxStockCursor
, METH_VARARGS
| METH_KEYWORDS
},
7087 { "wxMaskColour", (PyCFunction
) _wrap_wxMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
7088 { "wxBitmapFromData", (PyCFunction
) _wrap_wxBitmapFromData
, METH_VARARGS
| METH_KEYWORDS
},
7089 { "wxNoRefBitmap", (PyCFunction
) _wrap_wxNoRefBitmap
, METH_VARARGS
| METH_KEYWORDS
},
7090 { "wxEmptyBitmap", (PyCFunction
) _wrap_wxEmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
},
7097 * This table is used by the pointer type-checker
7099 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
7100 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
7101 { "_signed_long","_long",0},
7102 { "_wxPrintQuality","_int",0},
7103 { "_wxPrintQuality","_signed_int",0},
7104 { "_wxPrintQuality","_unsigned_int",0},
7105 { "_wxPrintQuality","_wxWindowID",0},
7106 { "_wxPrintQuality","_uint",0},
7107 { "_wxPrintQuality","_EBool",0},
7108 { "_wxPrintQuality","_size_t",0},
7109 { "_class_wxRegionIterator","_wxRegionIterator",0},
7110 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
7111 { "_wxCursor","_class_wxCursor",0},
7112 { "_wxMask","_class_wxMask",0},
7113 { "_wxPen","_class_wxPen",0},
7114 { "_byte","_unsigned_char",0},
7115 { "_long","_wxDash",0},
7116 { "_long","_unsigned_long",0},
7117 { "_long","_signed_long",0},
7118 { "_wxImageList","_class_wxImageList",0},
7119 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
7120 { "_wxDC","_class_wxMetaFileDC",SwigwxMetaFileDCTowxDC
},
7121 { "_wxDC","_wxMetaFileDC",SwigwxMetaFileDCTowxDC
},
7122 { "_wxDC","_class_wxPrinterDC",SwigwxPrinterDCTowxDC
},
7123 { "_wxDC","_wxPrinterDC",SwigwxPrinterDCTowxDC
},
7124 { "_wxDC","_class_wxWindowDC",SwigwxWindowDCTowxDC
},
7125 { "_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC
},
7126 { "_wxDC","_class_wxPaintDC",SwigwxPaintDCTowxDC
},
7127 { "_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
},
7128 { "_wxDC","_class_wxClientDC",SwigwxClientDCTowxDC
},
7129 { "_wxDC","_wxClientDC",SwigwxClientDCTowxDC
},
7130 { "_wxDC","_class_wxScreenDC",SwigwxScreenDCTowxDC
},
7131 { "_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
},
7132 { "_wxDC","_class_wxMemoryDC",SwigwxMemoryDCTowxDC
},
7133 { "_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
},
7134 { "_wxDC","_class_wxDC",0},
7135 { "_size_t","_wxPrintQuality",0},
7136 { "_size_t","_unsigned_int",0},
7137 { "_size_t","_int",0},
7138 { "_size_t","_wxWindowID",0},
7139 { "_size_t","_uint",0},
7140 { "_class_wxRealPoint","_wxRealPoint",0},
7141 { "_wxPrinterDC","_class_wxPrinterDC",0},
7142 { "_class_wxMask","_wxMask",0},
7143 { "_wxColour","_class_wxColour",0},
7144 { "_wxBrush","_class_wxBrush",0},
7145 { "_uint","_wxPrintQuality",0},
7146 { "_uint","_size_t",0},
7147 { "_uint","_unsigned_int",0},
7148 { "_uint","_int",0},
7149 { "_uint","_wxWindowID",0},
7150 { "_wxRect","_class_wxRect",0},
7151 { "_wxPoint","_class_wxPoint",0},
7152 { "_wxBitmap","_class_wxCursor",SwigwxCursorTowxBitmap
},
7153 { "_wxBitmap","_wxCursor",SwigwxCursorTowxBitmap
},
7154 { "_wxBitmap","_class_wxIcon",SwigwxIconTowxBitmap
},
7155 { "_wxBitmap","_wxIcon",SwigwxIconTowxBitmap
},
7156 { "_wxBitmap","_class_wxBitmap",0},
7157 { "_wxPyTimer","_class_wxPyTimer",0},
7158 { "_wxWindowDC","_class_wxWindowDC",0},
7159 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
7160 { "_EBool","_wxPrintQuality",0},
7161 { "_EBool","_signed_int",0},
7162 { "_EBool","_int",0},
7163 { "_EBool","_wxWindowID",0},
7164 { "_class_wxRegion","_wxRegion",0},
7165 { "_wxFont","_class_wxFont",0},
7166 { "_unsigned_long","_wxDash",0},
7167 { "_unsigned_long","_long",0},
7168 { "_class_wxRect","_wxRect",0},
7169 { "_class_wxDC","_class_wxMetaFileDC",SwigwxMetaFileDCTowxDC
},
7170 { "_class_wxDC","_wxMetaFileDC",SwigwxMetaFileDCTowxDC
},
7171 { "_class_wxDC","_class_wxPrinterDC",SwigwxPrinterDCTowxDC
},
7172 { "_class_wxDC","_wxPrinterDC",SwigwxPrinterDCTowxDC
},
7173 { "_class_wxDC","_class_wxWindowDC",SwigwxWindowDCTowxDC
},
7174 { "_class_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC
},
7175 { "_class_wxDC","_class_wxPaintDC",SwigwxPaintDCTowxDC
},
7176 { "_class_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
},
7177 { "_class_wxDC","_class_wxClientDC",SwigwxClientDCTowxDC
},
7178 { "_class_wxDC","_wxClientDC",SwigwxClientDCTowxDC
},
7179 { "_class_wxDC","_class_wxScreenDC",SwigwxScreenDCTowxDC
},
7180 { "_class_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
},
7181 { "_class_wxDC","_class_wxMemoryDC",SwigwxMemoryDCTowxDC
},
7182 { "_class_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
},
7183 { "_class_wxDC","_wxDC",0},
7184 { "_class_wxPyTimer","_wxPyTimer",0},
7185 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
7186 { "_signed_int","_wxPrintQuality",0},
7187 { "_signed_int","_EBool",0},
7188 { "_signed_int","_wxWindowID",0},
7189 { "_signed_int","_int",0},
7190 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
7191 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
7192 { "_wxScreenDC","_class_wxScreenDC",0},
7193 { "_WXTYPE","_short",0},
7194 { "_WXTYPE","_signed_short",0},
7195 { "_WXTYPE","_unsigned_short",0},
7196 { "_class_wxBrush","_wxBrush",0},
7197 { "_unsigned_short","_WXTYPE",0},
7198 { "_unsigned_short","_short",0},
7199 { "_class_wxFont","_wxFont",0},
7200 { "_wxClientDC","_class_wxClientDC",0},
7201 { "_class_wxPoint","_wxPoint",0},
7202 { "_wxRealPoint","_class_wxRealPoint",0},
7203 { "_signed_short","_WXTYPE",0},
7204 { "_signed_short","_short",0},
7205 { "_wxMemoryDC","_class_wxMemoryDC",0},
7206 { "_wxPaintDC","_class_wxPaintDC",0},
7207 { "_class_wxWindowDC","_wxWindowDC",0},
7208 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
7209 { "_class_wxCursor","_wxCursor",0},
7210 { "_unsigned_char","_byte",0},
7211 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
7212 { "_unsigned_int","_wxPrintQuality",0},
7213 { "_unsigned_int","_size_t",0},
7214 { "_unsigned_int","_uint",0},
7215 { "_unsigned_int","_wxWindowID",0},
7216 { "_unsigned_int","_int",0},
7217 { "_wxIcon","_class_wxIcon",0},
7218 { "_class_wxPen","_wxPen",0},
7219 { "_short","_WXTYPE",0},
7220 { "_short","_unsigned_short",0},
7221 { "_short","_signed_short",0},
7222 { "_class_wxImageList","_wxImageList",0},
7223 { "_wxWindowID","_wxPrintQuality",0},
7224 { "_wxWindowID","_size_t",0},
7225 { "_wxWindowID","_EBool",0},
7226 { "_wxWindowID","_uint",0},
7227 { "_wxWindowID","_int",0},
7228 { "_wxWindowID","_signed_int",0},
7229 { "_wxWindowID","_unsigned_int",0},
7230 { "_int","_wxPrintQuality",0},
7231 { "_int","_size_t",0},
7232 { "_int","_EBool",0},
7233 { "_int","_uint",0},
7234 { "_int","_wxWindowID",0},
7235 { "_int","_unsigned_int",0},
7236 { "_int","_signed_int",0},
7237 { "_wxSize","_class_wxSize",0},
7238 { "_wxRegionIterator","_class_wxRegionIterator",0},
7239 { "_class_wxPrinterDC","_wxPrinterDC",0},
7240 { "_class_wxPaintDC","_wxPaintDC",0},
7241 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
7242 { "_class_wxIcon","_wxIcon",0},
7243 { "_class_wxColour","_wxColour",0},
7244 { "_class_wxScreenDC","_wxScreenDC",0},
7245 { "_wxPalette","_class_wxPalette",0},
7246 { "_wxRegion","_class_wxRegion",0},
7247 { "_class_wxClientDC","_wxClientDC",0},
7248 { "_class_wxSize","_wxSize",0},
7249 { "_class_wxBitmap","_class_wxCursor",SwigwxCursorTowxBitmap
},
7250 { "_class_wxBitmap","_wxCursor",SwigwxCursorTowxBitmap
},
7251 { "_class_wxBitmap","_class_wxIcon",SwigwxIconTowxBitmap
},
7252 { "_class_wxBitmap","_wxIcon",SwigwxIconTowxBitmap
},
7253 { "_class_wxBitmap","_wxBitmap",0},
7254 { "_class_wxMemoryDC","_wxMemoryDC",0},
7255 { "_wxDash","_unsigned_long",0},
7256 { "_wxDash","_long",0},
7257 { "_class_wxPalette","_wxPalette",0},
7260 static PyObject
*SWIG_globals
;
7264 SWIGEXPORT(void) initgdic() {
7266 SWIG_globals
= SWIG_newvarlink();
7267 m
= Py_InitModule("gdic", gdicMethods
);
7268 d
= PyModule_GetDict(m
);
7269 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
7270 SWIG_addvarlink(SWIG_globals
,"wxNORMAL_FONT",_wrap_wxNORMAL_FONT_get
, _wrap_wxNORMAL_FONT_set
);
7271 SWIG_addvarlink(SWIG_globals
,"wxSMALL_FONT",_wrap_wxSMALL_FONT_get
, _wrap_wxSMALL_FONT_set
);
7272 SWIG_addvarlink(SWIG_globals
,"wxITALIC_FONT",_wrap_wxITALIC_FONT_get
, _wrap_wxITALIC_FONT_set
);
7273 SWIG_addvarlink(SWIG_globals
,"wxSWISS_FONT",_wrap_wxSWISS_FONT_get
, _wrap_wxSWISS_FONT_set
);
7274 SWIG_addvarlink(SWIG_globals
,"wxRED_PEN",_wrap_wxRED_PEN_get
, _wrap_wxRED_PEN_set
);
7275 SWIG_addvarlink(SWIG_globals
,"wxCYAN_PEN",_wrap_wxCYAN_PEN_get
, _wrap_wxCYAN_PEN_set
);
7276 SWIG_addvarlink(SWIG_globals
,"wxGREEN_PEN",_wrap_wxGREEN_PEN_get
, _wrap_wxGREEN_PEN_set
);
7277 SWIG_addvarlink(SWIG_globals
,"wxBLACK_PEN",_wrap_wxBLACK_PEN_get
, _wrap_wxBLACK_PEN_set
);
7278 SWIG_addvarlink(SWIG_globals
,"wxWHITE_PEN",_wrap_wxWHITE_PEN_get
, _wrap_wxWHITE_PEN_set
);
7279 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_PEN",_wrap_wxTRANSPARENT_PEN_get
, _wrap_wxTRANSPARENT_PEN_set
);
7280 SWIG_addvarlink(SWIG_globals
,"wxBLACK_DASHED_PEN",_wrap_wxBLACK_DASHED_PEN_get
, _wrap_wxBLACK_DASHED_PEN_set
);
7281 SWIG_addvarlink(SWIG_globals
,"wxGREY_PEN",_wrap_wxGREY_PEN_get
, _wrap_wxGREY_PEN_set
);
7282 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_PEN",_wrap_wxMEDIUM_GREY_PEN_get
, _wrap_wxMEDIUM_GREY_PEN_set
);
7283 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_PEN",_wrap_wxLIGHT_GREY_PEN_get
, _wrap_wxLIGHT_GREY_PEN_set
);
7284 SWIG_addvarlink(SWIG_globals
,"wxBLUE_BRUSH",_wrap_wxBLUE_BRUSH_get
, _wrap_wxBLUE_BRUSH_set
);
7285 SWIG_addvarlink(SWIG_globals
,"wxGREEN_BRUSH",_wrap_wxGREEN_BRUSH_get
, _wrap_wxGREEN_BRUSH_set
);
7286 SWIG_addvarlink(SWIG_globals
,"wxWHITE_BRUSH",_wrap_wxWHITE_BRUSH_get
, _wrap_wxWHITE_BRUSH_set
);
7287 SWIG_addvarlink(SWIG_globals
,"wxBLACK_BRUSH",_wrap_wxBLACK_BRUSH_get
, _wrap_wxBLACK_BRUSH_set
);
7288 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_BRUSH",_wrap_wxTRANSPARENT_BRUSH_get
, _wrap_wxTRANSPARENT_BRUSH_set
);
7289 SWIG_addvarlink(SWIG_globals
,"wxCYAN_BRUSH",_wrap_wxCYAN_BRUSH_get
, _wrap_wxCYAN_BRUSH_set
);
7290 SWIG_addvarlink(SWIG_globals
,"wxRED_BRUSH",_wrap_wxRED_BRUSH_get
, _wrap_wxRED_BRUSH_set
);
7291 SWIG_addvarlink(SWIG_globals
,"wxGREY_BRUSH",_wrap_wxGREY_BRUSH_get
, _wrap_wxGREY_BRUSH_set
);
7292 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_BRUSH",_wrap_wxMEDIUM_GREY_BRUSH_get
, _wrap_wxMEDIUM_GREY_BRUSH_set
);
7293 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_BRUSH",_wrap_wxLIGHT_GREY_BRUSH_get
, _wrap_wxLIGHT_GREY_BRUSH_set
);
7294 SWIG_addvarlink(SWIG_globals
,"wxBLACK",_wrap_wxBLACK_get
, _wrap_wxBLACK_set
);
7295 SWIG_addvarlink(SWIG_globals
,"wxWHITE",_wrap_wxWHITE_get
, _wrap_wxWHITE_set
);
7296 SWIG_addvarlink(SWIG_globals
,"wxRED",_wrap_wxRED_get
, _wrap_wxRED_set
);
7297 SWIG_addvarlink(SWIG_globals
,"wxBLUE",_wrap_wxBLUE_get
, _wrap_wxBLUE_set
);
7298 SWIG_addvarlink(SWIG_globals
,"wxGREEN",_wrap_wxGREEN_get
, _wrap_wxGREEN_set
);
7299 SWIG_addvarlink(SWIG_globals
,"wxCYAN",_wrap_wxCYAN_get
, _wrap_wxCYAN_set
);
7300 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY",_wrap_wxLIGHT_GREY_get
, _wrap_wxLIGHT_GREY_set
);
7301 SWIG_addvarlink(SWIG_globals
,"wxSTANDARD_CURSOR",_wrap_wxSTANDARD_CURSOR_get
, _wrap_wxSTANDARD_CURSOR_set
);
7302 SWIG_addvarlink(SWIG_globals
,"wxHOURGLASS_CURSOR",_wrap_wxHOURGLASS_CURSOR_get
, _wrap_wxHOURGLASS_CURSOR_set
);
7303 SWIG_addvarlink(SWIG_globals
,"wxCROSS_CURSOR",_wrap_wxCROSS_CURSOR_get
, _wrap_wxCROSS_CURSOR_set
);
7304 SWIG_addvarlink(SWIG_globals
,"wxNullBitmap",_wrap_wxNullBitmap_get
, _wrap_wxNullBitmap_set
);
7305 SWIG_addvarlink(SWIG_globals
,"wxNullIcon",_wrap_wxNullIcon_get
, _wrap_wxNullIcon_set
);
7306 SWIG_addvarlink(SWIG_globals
,"wxNullCursor",_wrap_wxNullCursor_get
, _wrap_wxNullCursor_set
);
7307 SWIG_addvarlink(SWIG_globals
,"wxNullPen",_wrap_wxNullPen_get
, _wrap_wxNullPen_set
);
7308 SWIG_addvarlink(SWIG_globals
,"wxNullBrush",_wrap_wxNullBrush_get
, _wrap_wxNullBrush_set
);
7309 SWIG_addvarlink(SWIG_globals
,"wxNullPalette",_wrap_wxNullPalette_get
, _wrap_wxNullPalette_set
);
7310 SWIG_addvarlink(SWIG_globals
,"wxNullFont",_wrap_wxNullFont_get
, _wrap_wxNullFont_set
);
7311 SWIG_addvarlink(SWIG_globals
,"wxNullColour",_wrap_wxNullColour_get
, _wrap_wxNullColour_set
);
7312 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_NORMAL", PyInt_FromLong((long) wxIMAGELIST_DRAW_NORMAL
));
7313 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_TRANSPARENT", PyInt_FromLong((long) wxIMAGELIST_DRAW_TRANSPARENT
));
7314 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_SELECTED", PyInt_FromLong((long) wxIMAGELIST_DRAW_SELECTED
));
7315 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_FOCUSED", PyInt_FromLong((long) wxIMAGELIST_DRAW_FOCUSED
));
7316 PyDict_SetItemString(d
,"wxIMAGE_LIST_NORMAL", PyInt_FromLong((long) wxIMAGE_LIST_NORMAL
));
7317 PyDict_SetItemString(d
,"wxIMAGE_LIST_SMALL", PyInt_FromLong((long) wxIMAGE_LIST_SMALL
));
7318 PyDict_SetItemString(d
,"wxIMAGE_LIST_STATE", PyInt_FromLong((long) wxIMAGE_LIST_STATE
));
7321 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
7322 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);