4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Patch 5)
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,b) __declspec(dllexport) a b
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a,b) a _export b
32 # define SWIGEXPORT(a,b) a b
36 # define SWIGEXPORT(a,b) a b
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 void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
47 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initgdic
54 #define SWIG_name "gdic"
57 #include <wx/metafile.h>
62 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
67 } else if (target
== Py_None
) {
71 if (!PyList_Check(target
)) {
73 target
= PyList_New(0);
74 PyList_Append(target
, o2
);
77 PyList_Append(target
,o
);
83 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
89 } else if (target
== Py_None
) {
93 if (!PyTuple_Check(target
)) {
95 target
= PyTuple_New(1);
96 PyTuple_SetItem(target
, 0, o2
);
99 PyTuple_SetItem(o3
, 0, o
);
102 target
= PySequence_Concat(o2
, o3
);
110 extern byte
* byte_LIST_helper(PyObject
* source
);
111 extern int* int_LIST_helper(PyObject
* source
);
112 extern long* long_LIST_helper(PyObject
* source
);
113 extern char** string_LIST_helper(PyObject
* source
);
114 extern wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
115 extern wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
116 extern wxString
* wxString_LIST_helper(PyObject
* source
);
117 extern wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
120 static char* wxStringErrorMsg
= "string type is required for parameter";
121 // Alternate 'constructor'
122 wxBitmap
* wxEmptyBitmap(int width
, int height
, int depth
=-1) {
123 return new wxBitmap(width
, height
, depth
);
126 // This one won't own the reference, so Python won't call
127 // the dtor, this is good for toolbars and such where
128 // the parent will manage the bitmap.
129 wxBitmap
* wxNoRefBitmap(char* name
, long flags
) {
130 return new wxBitmap(name
, flags
);
133 wxMask
* wxMaskColour(const wxBitmap
& bitmap
, const wxColour
& colour
) {
134 return new wxMask(bitmap
, colour
);
136 // Alternate 'constructor'
137 wxCursor
* wxPyStockCursor(int id
) {
138 return new wxCursor(id
);
140 // Alternate 'constructor'
141 wxColour
* wxNamedColour(const wxString
& colorName
) {
142 return new wxColour(colorName
);
144 // Alternate 'constructor'
145 wxMemoryDC
* wxMemoryDCFromDC(wxDC
* oldDC
) {
146 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
;
190 static PyObject
*_wrap_wxEmptyBitmap(PyObject
*self
, PyObject
*args
) {
191 PyObject
* _resultobj
;
199 if(!PyArg_ParseTuple(args
,"ii|i:wxEmptyBitmap",&_arg0
,&_arg1
,&_arg2
))
201 _result
= (wxBitmap
*)wxEmptyBitmap(_arg0
,_arg1
,_arg2
);
202 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
203 _resultobj
= Py_BuildValue("s",_ptemp
);
207 static PyObject
*_wrap_wxNoRefBitmap(PyObject
*self
, PyObject
*args
) {
208 PyObject
* _resultobj
;
215 if(!PyArg_ParseTuple(args
,"sl:wxNoRefBitmap",&_arg0
,&_arg1
))
217 _result
= (wxBitmap
*)wxNoRefBitmap(_arg0
,_arg1
);
218 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
219 _resultobj
= Py_BuildValue("s",_ptemp
);
223 static PyObject
*_wrap_wxMaskColour(PyObject
*self
, PyObject
*args
) {
224 PyObject
* _resultobj
;
233 if(!PyArg_ParseTuple(args
,"ss:wxMaskColour",&_argc0
,&_argc1
))
236 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMaskColour. Expected _wxBitmap_p.");
242 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMaskColour. Expected _wxColour_p.");
247 _result
= (wxMask
*)wxMaskColour(*_arg0
,*_arg1
);
248 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
249 _resultobj
= Py_BuildValue("s",_ptemp
);
253 static PyObject
*_wrap_wxStockCursor(PyObject
*self
, PyObject
*args
) {
254 PyObject
* _resultobj
;
260 if(!PyArg_ParseTuple(args
,"i:wxStockCursor",&_arg0
))
262 _result
= (wxCursor
*)wxPyStockCursor(_arg0
);
263 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCursor_p");
264 _resultobj
= Py_BuildValue("s",_ptemp
);
268 static PyObject
*_wrap_wxNamedColour(PyObject
*self
, PyObject
*args
) {
269 PyObject
* _resultobj
;
272 PyObject
* _obj0
= 0;
276 if(!PyArg_ParseTuple(args
,"O:wxNamedColour",&_obj0
))
279 if (!PyString_Check(_obj0
)) {
280 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
283 _arg0
= new wxString(PyString_AsString(_obj0
));
285 _result
= (wxColour
*)wxNamedColour(*_arg0
);
286 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
287 _resultobj
= Py_BuildValue("s",_ptemp
);
295 static PyObject
*_wrap_wxMemoryDCFromDC(PyObject
*self
, PyObject
*args
) {
296 PyObject
* _resultobj
;
297 wxMemoryDC
* _result
;
303 if(!PyArg_ParseTuple(args
,"s:wxMemoryDCFromDC",&_argc0
))
306 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDCFromDC. Expected _wxDC_p.");
311 _result
= (wxMemoryDC
*)wxMemoryDCFromDC(_arg0
);
312 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
313 _resultobj
= Py_BuildValue("s",_ptemp
);
317 static int _wrap_wxNORMAL_FONT_set(PyObject
*val
) {
319 PyErr_SetString(PyExc_TypeError
,"Variable wxNORMAL_FONT is read-only.");
323 static PyObject
*_wrap_wxNORMAL_FONT_get() {
327 SWIG_MakePtr(ptemp
, (char *) wxNORMAL_FONT
,"_wxFont_p");
328 pyobj
= PyString_FromString(ptemp
);
332 static int _wrap_wxSMALL_FONT_set(PyObject
*val
) {
334 PyErr_SetString(PyExc_TypeError
,"Variable wxSMALL_FONT is read-only.");
338 static PyObject
*_wrap_wxSMALL_FONT_get() {
342 SWIG_MakePtr(ptemp
, (char *) wxSMALL_FONT
,"_wxFont_p");
343 pyobj
= PyString_FromString(ptemp
);
347 static int _wrap_wxITALIC_FONT_set(PyObject
*val
) {
349 PyErr_SetString(PyExc_TypeError
,"Variable wxITALIC_FONT is read-only.");
353 static PyObject
*_wrap_wxITALIC_FONT_get() {
357 SWIG_MakePtr(ptemp
, (char *) wxITALIC_FONT
,"_wxFont_p");
358 pyobj
= PyString_FromString(ptemp
);
362 static int _wrap_wxSWISS_FONT_set(PyObject
*val
) {
364 PyErr_SetString(PyExc_TypeError
,"Variable wxSWISS_FONT is read-only.");
368 static PyObject
*_wrap_wxSWISS_FONT_get() {
372 SWIG_MakePtr(ptemp
, (char *) wxSWISS_FONT
,"_wxFont_p");
373 pyobj
= PyString_FromString(ptemp
);
377 static int _wrap_wxRED_PEN_set(PyObject
*val
) {
379 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_PEN is read-only.");
383 static PyObject
*_wrap_wxRED_PEN_get() {
387 SWIG_MakePtr(ptemp
, (char *) wxRED_PEN
,"_wxPen_p");
388 pyobj
= PyString_FromString(ptemp
);
392 static int _wrap_wxCYAN_PEN_set(PyObject
*val
) {
394 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_PEN is read-only.");
398 static PyObject
*_wrap_wxCYAN_PEN_get() {
402 SWIG_MakePtr(ptemp
, (char *) wxCYAN_PEN
,"_wxPen_p");
403 pyobj
= PyString_FromString(ptemp
);
407 static int _wrap_wxGREEN_PEN_set(PyObject
*val
) {
409 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_PEN is read-only.");
413 static PyObject
*_wrap_wxGREEN_PEN_get() {
417 SWIG_MakePtr(ptemp
, (char *) wxGREEN_PEN
,"_wxPen_p");
418 pyobj
= PyString_FromString(ptemp
);
422 static int _wrap_wxBLACK_PEN_set(PyObject
*val
) {
424 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_PEN is read-only.");
428 static PyObject
*_wrap_wxBLACK_PEN_get() {
432 SWIG_MakePtr(ptemp
, (char *) wxBLACK_PEN
,"_wxPen_p");
433 pyobj
= PyString_FromString(ptemp
);
437 static int _wrap_wxWHITE_PEN_set(PyObject
*val
) {
439 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_PEN is read-only.");
443 static PyObject
*_wrap_wxWHITE_PEN_get() {
447 SWIG_MakePtr(ptemp
, (char *) wxWHITE_PEN
,"_wxPen_p");
448 pyobj
= PyString_FromString(ptemp
);
452 static int _wrap_wxTRANSPARENT_PEN_set(PyObject
*val
) {
454 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_PEN is read-only.");
458 static PyObject
*_wrap_wxTRANSPARENT_PEN_get() {
462 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_PEN
,"_wxPen_p");
463 pyobj
= PyString_FromString(ptemp
);
467 static int _wrap_wxBLACK_DASHED_PEN_set(PyObject
*val
) {
469 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_DASHED_PEN is read-only.");
473 static PyObject
*_wrap_wxBLACK_DASHED_PEN_get() {
477 SWIG_MakePtr(ptemp
, (char *) wxBLACK_DASHED_PEN
,"_wxPen_p");
478 pyobj
= PyString_FromString(ptemp
);
482 static int _wrap_wxGREY_PEN_set(PyObject
*val
) {
484 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_PEN is read-only.");
488 static PyObject
*_wrap_wxGREY_PEN_get() {
492 SWIG_MakePtr(ptemp
, (char *) wxGREY_PEN
,"_wxPen_p");
493 pyobj
= PyString_FromString(ptemp
);
497 static int _wrap_wxMEDIUM_GREY_PEN_set(PyObject
*val
) {
499 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_PEN is read-only.");
503 static PyObject
*_wrap_wxMEDIUM_GREY_PEN_get() {
507 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_PEN
,"_wxPen_p");
508 pyobj
= PyString_FromString(ptemp
);
512 static int _wrap_wxLIGHT_GREY_PEN_set(PyObject
*val
) {
514 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_PEN is read-only.");
518 static PyObject
*_wrap_wxLIGHT_GREY_PEN_get() {
522 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_PEN
,"_wxPen_p");
523 pyobj
= PyString_FromString(ptemp
);
527 static int _wrap_wxBLUE_BRUSH_set(PyObject
*val
) {
529 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE_BRUSH is read-only.");
533 static PyObject
*_wrap_wxBLUE_BRUSH_get() {
537 SWIG_MakePtr(ptemp
, (char *) wxBLUE_BRUSH
,"_wxBrush_p");
538 pyobj
= PyString_FromString(ptemp
);
542 static int _wrap_wxGREEN_BRUSH_set(PyObject
*val
) {
544 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_BRUSH is read-only.");
548 static PyObject
*_wrap_wxGREEN_BRUSH_get() {
552 SWIG_MakePtr(ptemp
, (char *) wxGREEN_BRUSH
,"_wxBrush_p");
553 pyobj
= PyString_FromString(ptemp
);
557 static int _wrap_wxWHITE_BRUSH_set(PyObject
*val
) {
559 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_BRUSH is read-only.");
563 static PyObject
*_wrap_wxWHITE_BRUSH_get() {
567 SWIG_MakePtr(ptemp
, (char *) wxWHITE_BRUSH
,"_wxBrush_p");
568 pyobj
= PyString_FromString(ptemp
);
572 static int _wrap_wxBLACK_BRUSH_set(PyObject
*val
) {
574 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_BRUSH is read-only.");
578 static PyObject
*_wrap_wxBLACK_BRUSH_get() {
582 SWIG_MakePtr(ptemp
, (char *) wxBLACK_BRUSH
,"_wxBrush_p");
583 pyobj
= PyString_FromString(ptemp
);
587 static int _wrap_wxTRANSPARENT_BRUSH_set(PyObject
*val
) {
589 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_BRUSH is read-only.");
593 static PyObject
*_wrap_wxTRANSPARENT_BRUSH_get() {
597 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_BRUSH
,"_wxBrush_p");
598 pyobj
= PyString_FromString(ptemp
);
602 static int _wrap_wxCYAN_BRUSH_set(PyObject
*val
) {
604 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_BRUSH is read-only.");
608 static PyObject
*_wrap_wxCYAN_BRUSH_get() {
612 SWIG_MakePtr(ptemp
, (char *) wxCYAN_BRUSH
,"_wxBrush_p");
613 pyobj
= PyString_FromString(ptemp
);
617 static int _wrap_wxRED_BRUSH_set(PyObject
*val
) {
619 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_BRUSH is read-only.");
623 static PyObject
*_wrap_wxRED_BRUSH_get() {
627 SWIG_MakePtr(ptemp
, (char *) wxRED_BRUSH
,"_wxBrush_p");
628 pyobj
= PyString_FromString(ptemp
);
632 static int _wrap_wxGREY_BRUSH_set(PyObject
*val
) {
634 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_BRUSH is read-only.");
638 static PyObject
*_wrap_wxGREY_BRUSH_get() {
642 SWIG_MakePtr(ptemp
, (char *) wxGREY_BRUSH
,"_wxBrush_p");
643 pyobj
= PyString_FromString(ptemp
);
647 static int _wrap_wxMEDIUM_GREY_BRUSH_set(PyObject
*val
) {
649 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_BRUSH is read-only.");
653 static PyObject
*_wrap_wxMEDIUM_GREY_BRUSH_get() {
657 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_BRUSH
,"_wxBrush_p");
658 pyobj
= PyString_FromString(ptemp
);
662 static int _wrap_wxLIGHT_GREY_BRUSH_set(PyObject
*val
) {
664 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_BRUSH is read-only.");
668 static PyObject
*_wrap_wxLIGHT_GREY_BRUSH_get() {
672 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_BRUSH
,"_wxBrush_p");
673 pyobj
= PyString_FromString(ptemp
);
677 static int _wrap_wxBLACK_set(PyObject
*val
) {
679 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK is read-only.");
683 static PyObject
*_wrap_wxBLACK_get() {
687 SWIG_MakePtr(ptemp
, (char *) wxBLACK
,"_wxColour_p");
688 pyobj
= PyString_FromString(ptemp
);
692 static int _wrap_wxWHITE_set(PyObject
*val
) {
694 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE is read-only.");
698 static PyObject
*_wrap_wxWHITE_get() {
702 SWIG_MakePtr(ptemp
, (char *) wxWHITE
,"_wxColour_p");
703 pyobj
= PyString_FromString(ptemp
);
707 static int _wrap_wxRED_set(PyObject
*val
) {
709 PyErr_SetString(PyExc_TypeError
,"Variable wxRED is read-only.");
713 static PyObject
*_wrap_wxRED_get() {
717 SWIG_MakePtr(ptemp
, (char *) wxRED
,"_wxColour_p");
718 pyobj
= PyString_FromString(ptemp
);
722 static int _wrap_wxBLUE_set(PyObject
*val
) {
724 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE is read-only.");
728 static PyObject
*_wrap_wxBLUE_get() {
732 SWIG_MakePtr(ptemp
, (char *) wxBLUE
,"_wxColour_p");
733 pyobj
= PyString_FromString(ptemp
);
737 static int _wrap_wxGREEN_set(PyObject
*val
) {
739 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN is read-only.");
743 static PyObject
*_wrap_wxGREEN_get() {
747 SWIG_MakePtr(ptemp
, (char *) wxGREEN
,"_wxColour_p");
748 pyobj
= PyString_FromString(ptemp
);
752 static int _wrap_wxCYAN_set(PyObject
*val
) {
754 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN is read-only.");
758 static PyObject
*_wrap_wxCYAN_get() {
762 SWIG_MakePtr(ptemp
, (char *) wxCYAN
,"_wxColour_p");
763 pyobj
= PyString_FromString(ptemp
);
767 static int _wrap_wxLIGHT_GREY_set(PyObject
*val
) {
769 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY is read-only.");
773 static PyObject
*_wrap_wxLIGHT_GREY_get() {
777 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY
,"_wxColour_p");
778 pyobj
= PyString_FromString(ptemp
);
782 static int _wrap_wxSTANDARD_CURSOR_set(PyObject
*val
) {
784 PyErr_SetString(PyExc_TypeError
,"Variable wxSTANDARD_CURSOR is read-only.");
788 static PyObject
*_wrap_wxSTANDARD_CURSOR_get() {
792 SWIG_MakePtr(ptemp
, (char *) wxSTANDARD_CURSOR
,"_wxCursor_p");
793 pyobj
= PyString_FromString(ptemp
);
797 static int _wrap_wxHOURGLASS_CURSOR_set(PyObject
*val
) {
799 PyErr_SetString(PyExc_TypeError
,"Variable wxHOURGLASS_CURSOR is read-only.");
803 static PyObject
*_wrap_wxHOURGLASS_CURSOR_get() {
807 SWIG_MakePtr(ptemp
, (char *) wxHOURGLASS_CURSOR
,"_wxCursor_p");
808 pyobj
= PyString_FromString(ptemp
);
812 static int _wrap_wxCROSS_CURSOR_set(PyObject
*val
) {
814 PyErr_SetString(PyExc_TypeError
,"Variable wxCROSS_CURSOR is read-only.");
818 static PyObject
*_wrap_wxCROSS_CURSOR_get() {
822 SWIG_MakePtr(ptemp
, (char *) wxCROSS_CURSOR
,"_wxCursor_p");
823 pyobj
= PyString_FromString(ptemp
);
827 static int _wrap_wxNullBitmap_set(PyObject
*val
) {
829 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBitmap is read-only.");
833 static PyObject
*_wrap_wxNullBitmap_get() {
837 SWIG_MakePtr(ptemp
,(char *) &wxNullBitmap
,"_wxBitmap_p");
838 pyobj
= PyString_FromString(ptemp
);
842 static int _wrap_wxNullIcon_set(PyObject
*val
) {
844 PyErr_SetString(PyExc_TypeError
,"Variable wxNullIcon is read-only.");
848 static PyObject
*_wrap_wxNullIcon_get() {
852 SWIG_MakePtr(ptemp
,(char *) &wxNullIcon
,"_wxIcon_p");
853 pyobj
= PyString_FromString(ptemp
);
857 static int _wrap_wxNullCursor_set(PyObject
*val
) {
859 PyErr_SetString(PyExc_TypeError
,"Variable wxNullCursor is read-only.");
863 static PyObject
*_wrap_wxNullCursor_get() {
867 SWIG_MakePtr(ptemp
,(char *) &wxNullCursor
,"_wxCursor_p");
868 pyobj
= PyString_FromString(ptemp
);
872 static int _wrap_wxNullPen_set(PyObject
*val
) {
874 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPen is read-only.");
878 static PyObject
*_wrap_wxNullPen_get() {
882 SWIG_MakePtr(ptemp
,(char *) &wxNullPen
,"_wxPen_p");
883 pyobj
= PyString_FromString(ptemp
);
887 static int _wrap_wxNullBrush_set(PyObject
*val
) {
889 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBrush is read-only.");
893 static PyObject
*_wrap_wxNullBrush_get() {
897 SWIG_MakePtr(ptemp
,(char *) &wxNullBrush
,"_wxBrush_p");
898 pyobj
= PyString_FromString(ptemp
);
902 static int _wrap_wxNullPalette_set(PyObject
*val
) {
904 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPalette is read-only.");
908 static PyObject
*_wrap_wxNullPalette_get() {
912 SWIG_MakePtr(ptemp
,(char *) &wxNullPalette
,"_wxPalette_p");
913 pyobj
= PyString_FromString(ptemp
);
917 static int _wrap_wxNullFont_set(PyObject
*val
) {
919 PyErr_SetString(PyExc_TypeError
,"Variable wxNullFont is read-only.");
923 static PyObject
*_wrap_wxNullFont_get() {
927 SWIG_MakePtr(ptemp
,(char *) &wxNullFont
,"_wxFont_p");
928 pyobj
= PyString_FromString(ptemp
);
932 static int _wrap_wxNullColour_set(PyObject
*val
) {
934 PyErr_SetString(PyExc_TypeError
,"Variable wxNullColour is read-only.");
938 static PyObject
*_wrap_wxNullColour_get() {
942 SWIG_MakePtr(ptemp
,(char *) &wxNullColour
,"_wxColour_p");
943 pyobj
= PyString_FromString(ptemp
);
947 #define new_wxBitmap(_swigarg0,_swigarg1) (new wxBitmap(_swigarg0,_swigarg1))
948 static PyObject
*_wrap_new_wxBitmap(PyObject
*self
, PyObject
*args
) {
949 PyObject
* _resultobj
;
953 PyObject
* _obj0
= 0;
957 if(!PyArg_ParseTuple(args
,"Ol:new_wxBitmap",&_obj0
,&_arg1
))
960 if (!PyString_Check(_obj0
)) {
961 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
964 _arg0
= new wxString(PyString_AsString(_obj0
));
966 _result
= (wxBitmap
*)new_wxBitmap(*_arg0
,_arg1
);
967 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
968 _resultobj
= Py_BuildValue("s",_ptemp
);
976 #define delete_wxBitmap(_swigobj) (delete _swigobj)
977 static PyObject
*_wrap_delete_wxBitmap(PyObject
*self
, PyObject
*args
) {
978 PyObject
* _resultobj
;
983 if(!PyArg_ParseTuple(args
,"s:delete_wxBitmap",&_argc0
))
986 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBitmap. Expected _wxBitmap_p.");
991 delete_wxBitmap(_arg0
);
993 _resultobj
= Py_None
;
997 #define wxBitmap_GetDepth(_swigobj) (_swigobj->GetDepth())
998 static PyObject
*_wrap_wxBitmap_GetDepth(PyObject
*self
, PyObject
*args
) {
999 PyObject
* _resultobj
;
1005 if(!PyArg_ParseTuple(args
,"s:wxBitmap_GetDepth",&_argc0
))
1008 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetDepth. Expected _wxBitmap_p.");
1013 _result
= (int )wxBitmap_GetDepth(_arg0
);
1014 _resultobj
= Py_BuildValue("i",_result
);
1018 #define wxBitmap_GetHeight(_swigobj) (_swigobj->GetHeight())
1019 static PyObject
*_wrap_wxBitmap_GetHeight(PyObject
*self
, PyObject
*args
) {
1020 PyObject
* _resultobj
;
1026 if(!PyArg_ParseTuple(args
,"s:wxBitmap_GetHeight",&_argc0
))
1029 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetHeight. Expected _wxBitmap_p.");
1034 _result
= (int )wxBitmap_GetHeight(_arg0
);
1035 _resultobj
= Py_BuildValue("i",_result
);
1039 #define wxBitmap_GetPalette(_swigobj) (_swigobj->GetPalette())
1040 static PyObject
*_wrap_wxBitmap_GetPalette(PyObject
*self
, PyObject
*args
) {
1041 PyObject
* _resultobj
;
1042 wxPalette
* _result
;
1048 if(!PyArg_ParseTuple(args
,"s:wxBitmap_GetPalette",&_argc0
))
1051 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetPalette. Expected _wxBitmap_p.");
1056 _result
= (wxPalette
*)wxBitmap_GetPalette(_arg0
);
1057 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
1058 _resultobj
= Py_BuildValue("s",_ptemp
);
1062 #define wxBitmap_GetMask(_swigobj) (_swigobj->GetMask())
1063 static PyObject
*_wrap_wxBitmap_GetMask(PyObject
*self
, PyObject
*args
) {
1064 PyObject
* _resultobj
;
1071 if(!PyArg_ParseTuple(args
,"s:wxBitmap_GetMask",&_argc0
))
1074 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetMask. Expected _wxBitmap_p.");
1079 _result
= (wxMask
*)wxBitmap_GetMask(_arg0
);
1080 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
1081 _resultobj
= Py_BuildValue("s",_ptemp
);
1085 #define wxBitmap_GetWidth(_swigobj) (_swigobj->GetWidth())
1086 static PyObject
*_wrap_wxBitmap_GetWidth(PyObject
*self
, PyObject
*args
) {
1087 PyObject
* _resultobj
;
1093 if(!PyArg_ParseTuple(args
,"s:wxBitmap_GetWidth",&_argc0
))
1096 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetWidth. Expected _wxBitmap_p.");
1101 _result
= (int )wxBitmap_GetWidth(_arg0
);
1102 _resultobj
= Py_BuildValue("i",_result
);
1106 #define wxBitmap_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1107 static PyObject
*_wrap_wxBitmap_LoadFile(PyObject
*self
, PyObject
*args
) {
1108 PyObject
* _resultobj
;
1114 PyObject
* _obj1
= 0;
1117 if(!PyArg_ParseTuple(args
,"sOl:wxBitmap_LoadFile",&_argc0
,&_obj1
,&_arg2
))
1120 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_LoadFile. Expected _wxBitmap_p.");
1126 if (!PyString_Check(_obj1
)) {
1127 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1130 _arg1
= new wxString(PyString_AsString(_obj1
));
1132 _result
= (bool )wxBitmap_LoadFile(_arg0
,*_arg1
,_arg2
);
1133 _resultobj
= Py_BuildValue("i",_result
);
1141 #define wxBitmap_Ok(_swigobj) (_swigobj->Ok())
1142 static PyObject
*_wrap_wxBitmap_Ok(PyObject
*self
, PyObject
*args
) {
1143 PyObject
* _resultobj
;
1149 if(!PyArg_ParseTuple(args
,"s:wxBitmap_Ok",&_argc0
))
1152 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_Ok. Expected _wxBitmap_p.");
1157 _result
= (bool )wxBitmap_Ok(_arg0
);
1158 _resultobj
= Py_BuildValue("i",_result
);
1162 #define wxBitmap_SaveFile(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SaveFile(_swigarg0,_swigarg1,_swigarg2))
1163 static PyObject
*_wrap_wxBitmap_SaveFile(PyObject
*self
, PyObject
*args
) {
1164 PyObject
* _resultobj
;
1169 wxPalette
* _arg3
= NULL
;
1171 PyObject
* _obj1
= 0;
1175 if(!PyArg_ParseTuple(args
,"sOi|s:wxBitmap_SaveFile",&_argc0
,&_obj1
,&_arg2
,&_argc3
))
1178 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SaveFile. Expected _wxBitmap_p.");
1184 if (!PyString_Check(_obj1
)) {
1185 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1188 _arg1
= new wxString(PyString_AsString(_obj1
));
1191 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxPalette_p")) {
1192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxBitmap_SaveFile. Expected _wxPalette_p.");
1196 _result
= (bool )wxBitmap_SaveFile(_arg0
,*_arg1
,_arg2
,_arg3
);
1197 _resultobj
= Py_BuildValue("i",_result
);
1205 #define wxBitmap_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
1206 static PyObject
*_wrap_wxBitmap_SetDepth(PyObject
*self
, PyObject
*args
) {
1207 PyObject
* _resultobj
;
1213 if(!PyArg_ParseTuple(args
,"si:wxBitmap_SetDepth",&_argc0
,&_arg1
))
1216 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetDepth. Expected _wxBitmap_p.");
1221 wxBitmap_SetDepth(_arg0
,_arg1
);
1223 _resultobj
= Py_None
;
1227 #define wxBitmap_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1228 static PyObject
*_wrap_wxBitmap_SetHeight(PyObject
*self
, PyObject
*args
) {
1229 PyObject
* _resultobj
;
1235 if(!PyArg_ParseTuple(args
,"si:wxBitmap_SetHeight",&_argc0
,&_arg1
))
1238 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetHeight. Expected _wxBitmap_p.");
1243 wxBitmap_SetHeight(_arg0
,_arg1
);
1245 _resultobj
= Py_None
;
1249 #define wxBitmap_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
1250 static PyObject
*_wrap_wxBitmap_SetMask(PyObject
*self
, PyObject
*args
) {
1251 PyObject
* _resultobj
;
1258 if(!PyArg_ParseTuple(args
,"ss:wxBitmap_SetMask",&_argc0
,&_argc1
))
1261 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetMask. Expected _wxBitmap_p.");
1267 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxMask_p")) {
1268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_SetMask. Expected _wxMask_p.");
1272 wxBitmap_SetMask(_arg0
,_arg1
);
1274 _resultobj
= Py_None
;
1278 #define wxBitmap_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1279 static PyObject
*_wrap_wxBitmap_SetWidth(PyObject
*self
, PyObject
*args
) {
1280 PyObject
* _resultobj
;
1286 if(!PyArg_ParseTuple(args
,"si:wxBitmap_SetWidth",&_argc0
,&_arg1
))
1289 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetWidth. Expected _wxBitmap_p.");
1294 wxBitmap_SetWidth(_arg0
,_arg1
);
1296 _resultobj
= Py_None
;
1300 #define new_wxMask(_swigarg0) (new wxMask(_swigarg0))
1301 static PyObject
*_wrap_new_wxMask(PyObject
*self
, PyObject
*args
) {
1302 PyObject
* _resultobj
;
1309 if(!PyArg_ParseTuple(args
,"s:new_wxMask",&_argc0
))
1312 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMask. Expected _wxBitmap_p.");
1317 _result
= (wxMask
*)new_wxMask(*_arg0
);
1318 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
1319 _resultobj
= Py_BuildValue("s",_ptemp
);
1323 #define delete_wxMask(_swigobj) (delete _swigobj)
1324 static PyObject
*_wrap_delete_wxMask(PyObject
*self
, PyObject
*args
) {
1325 PyObject
* _resultobj
;
1330 if(!PyArg_ParseTuple(args
,"s:delete_wxMask",&_argc0
))
1333 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMask_p")) {
1334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMask. Expected _wxMask_p.");
1338 delete_wxMask(_arg0
);
1340 _resultobj
= Py_None
;
1344 static void *SwigwxIconTowxBitmap(void *ptr
) {
1347 src
= (wxIcon
*) ptr
;
1348 dest
= (wxBitmap
*) src
;
1349 return (void *) dest
;
1352 #define delete_wxIcon(_swigobj) (delete _swigobj)
1353 static PyObject
*_wrap_delete_wxIcon(PyObject
*self
, PyObject
*args
) {
1354 PyObject
* _resultobj
;
1359 if(!PyArg_ParseTuple(args
,"s:delete_wxIcon",&_argc0
))
1362 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxIcon. Expected _wxIcon_p.");
1367 delete_wxIcon(_arg0
);
1369 _resultobj
= Py_None
;
1373 #define wxIcon_GetDepth(_swigobj) (_swigobj->GetDepth())
1374 static PyObject
*_wrap_wxIcon_GetDepth(PyObject
*self
, PyObject
*args
) {
1375 PyObject
* _resultobj
;
1381 if(!PyArg_ParseTuple(args
,"s:wxIcon_GetDepth",&_argc0
))
1384 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetDepth. Expected _wxIcon_p.");
1389 _result
= (int )wxIcon_GetDepth(_arg0
);
1390 _resultobj
= Py_BuildValue("i",_result
);
1394 #define wxIcon_GetHeight(_swigobj) (_swigobj->GetHeight())
1395 static PyObject
*_wrap_wxIcon_GetHeight(PyObject
*self
, PyObject
*args
) {
1396 PyObject
* _resultobj
;
1402 if(!PyArg_ParseTuple(args
,"s:wxIcon_GetHeight",&_argc0
))
1405 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetHeight. Expected _wxIcon_p.");
1410 _result
= (int )wxIcon_GetHeight(_arg0
);
1411 _resultobj
= Py_BuildValue("i",_result
);
1415 #define wxIcon_GetWidth(_swigobj) (_swigobj->GetWidth())
1416 static PyObject
*_wrap_wxIcon_GetWidth(PyObject
*self
, PyObject
*args
) {
1417 PyObject
* _resultobj
;
1423 if(!PyArg_ParseTuple(args
,"s:wxIcon_GetWidth",&_argc0
))
1426 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetWidth. Expected _wxIcon_p.");
1431 _result
= (int )wxIcon_GetWidth(_arg0
);
1432 _resultobj
= Py_BuildValue("i",_result
);
1436 #define wxIcon_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1437 static PyObject
*_wrap_wxIcon_LoadFile(PyObject
*self
, PyObject
*args
) {
1438 PyObject
* _resultobj
;
1444 PyObject
* _obj1
= 0;
1447 if(!PyArg_ParseTuple(args
,"sOl:wxIcon_LoadFile",&_argc0
,&_obj1
,&_arg2
))
1450 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_LoadFile. Expected _wxIcon_p.");
1456 if (!PyString_Check(_obj1
)) {
1457 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1460 _arg1
= new wxString(PyString_AsString(_obj1
));
1462 _result
= (bool )wxIcon_LoadFile(_arg0
,*_arg1
,_arg2
);
1463 _resultobj
= Py_BuildValue("i",_result
);
1471 #define wxIcon_Ok(_swigobj) (_swigobj->Ok())
1472 static PyObject
*_wrap_wxIcon_Ok(PyObject
*self
, PyObject
*args
) {
1473 PyObject
* _resultobj
;
1479 if(!PyArg_ParseTuple(args
,"s:wxIcon_Ok",&_argc0
))
1482 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_Ok. Expected _wxIcon_p.");
1487 _result
= (bool )wxIcon_Ok(_arg0
);
1488 _resultobj
= Py_BuildValue("i",_result
);
1492 #define wxIcon_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
1493 static PyObject
*_wrap_wxIcon_SetDepth(PyObject
*self
, PyObject
*args
) {
1494 PyObject
* _resultobj
;
1500 if(!PyArg_ParseTuple(args
,"si:wxIcon_SetDepth",&_argc0
,&_arg1
))
1503 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetDepth. Expected _wxIcon_p.");
1508 wxIcon_SetDepth(_arg0
,_arg1
);
1510 _resultobj
= Py_None
;
1514 #define wxIcon_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1515 static PyObject
*_wrap_wxIcon_SetHeight(PyObject
*self
, PyObject
*args
) {
1516 PyObject
* _resultobj
;
1522 if(!PyArg_ParseTuple(args
,"si:wxIcon_SetHeight",&_argc0
,&_arg1
))
1525 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetHeight. Expected _wxIcon_p.");
1530 wxIcon_SetHeight(_arg0
,_arg1
);
1532 _resultobj
= Py_None
;
1536 #define wxIcon_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1537 static PyObject
*_wrap_wxIcon_SetWidth(PyObject
*self
, PyObject
*args
) {
1538 PyObject
* _resultobj
;
1544 if(!PyArg_ParseTuple(args
,"si:wxIcon_SetWidth",&_argc0
,&_arg1
))
1547 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetWidth. Expected _wxIcon_p.");
1552 wxIcon_SetWidth(_arg0
,_arg1
);
1554 _resultobj
= Py_None
;
1558 static void *SwigwxCursorTowxBitmap(void *ptr
) {
1561 src
= (wxCursor
*) ptr
;
1562 dest
= (wxBitmap
*) src
;
1563 return (void *) dest
;
1566 #define delete_wxCursor(_swigobj) (delete _swigobj)
1567 static PyObject
*_wrap_delete_wxCursor(PyObject
*self
, PyObject
*args
) {
1568 PyObject
* _resultobj
;
1573 if(!PyArg_ParseTuple(args
,"s:delete_wxCursor",&_argc0
))
1576 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxCursor_p")) {
1577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCursor. Expected _wxCursor_p.");
1581 delete_wxCursor(_arg0
);
1583 _resultobj
= Py_None
;
1587 #define wxCursor_Ok(_swigobj) (_swigobj->Ok())
1588 static PyObject
*_wrap_wxCursor_Ok(PyObject
*self
, PyObject
*args
) {
1589 PyObject
* _resultobj
;
1595 if(!PyArg_ParseTuple(args
,"s:wxCursor_Ok",&_argc0
))
1598 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxCursor_p")) {
1599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_Ok. Expected _wxCursor_p.");
1603 _result
= (bool )wxCursor_Ok(_arg0
);
1604 _resultobj
= Py_BuildValue("i",_result
);
1608 static wxFont
*new_wxFont(int pointSize
,int family
,int style
,int weight
,int underline
,char *faceName
) {
1610 return wxTheFontList
->FindOrCreateFont(pointSize
, family
, style
, weight
,
1611 underline
, faceName
);
1614 static PyObject
*_wrap_new_wxFont(PyObject
*self
, PyObject
*args
) {
1615 PyObject
* _resultobj
;
1626 if(!PyArg_ParseTuple(args
,"iiii|is:new_wxFont",&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
1628 _result
= (wxFont
*)new_wxFont(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1629 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1630 _resultobj
= Py_BuildValue("s",_ptemp
);
1634 #define wxFont_GetFaceName(_swigobj) (_swigobj->GetFaceName())
1635 static PyObject
*_wrap_wxFont_GetFaceName(PyObject
*self
, PyObject
*args
) {
1636 PyObject
* _resultobj
;
1642 if(!PyArg_ParseTuple(args
,"s:wxFont_GetFaceName",&_argc0
))
1645 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFaceName. Expected _wxFont_p.");
1650 _result
= new wxString (wxFont_GetFaceName(_arg0
));
1652 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1660 #define wxFont_GetFamily(_swigobj) (_swigobj->GetFamily())
1661 static PyObject
*_wrap_wxFont_GetFamily(PyObject
*self
, PyObject
*args
) {
1662 PyObject
* _resultobj
;
1668 if(!PyArg_ParseTuple(args
,"s:wxFont_GetFamily",&_argc0
))
1671 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFamily. Expected _wxFont_p.");
1676 _result
= (int )wxFont_GetFamily(_arg0
);
1677 _resultobj
= Py_BuildValue("i",_result
);
1681 #define wxFont_GetPointSize(_swigobj) (_swigobj->GetPointSize())
1682 static PyObject
*_wrap_wxFont_GetPointSize(PyObject
*self
, PyObject
*args
) {
1683 PyObject
* _resultobj
;
1689 if(!PyArg_ParseTuple(args
,"s:wxFont_GetPointSize",&_argc0
))
1692 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetPointSize. Expected _wxFont_p.");
1697 _result
= (int )wxFont_GetPointSize(_arg0
);
1698 _resultobj
= Py_BuildValue("i",_result
);
1702 #define wxFont_GetStyle(_swigobj) (_swigobj->GetStyle())
1703 static PyObject
*_wrap_wxFont_GetStyle(PyObject
*self
, PyObject
*args
) {
1704 PyObject
* _resultobj
;
1710 if(!PyArg_ParseTuple(args
,"s:wxFont_GetStyle",&_argc0
))
1713 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetStyle. Expected _wxFont_p.");
1718 _result
= (int )wxFont_GetStyle(_arg0
);
1719 _resultobj
= Py_BuildValue("i",_result
);
1723 #define wxFont_GetUnderlined(_swigobj) (_swigobj->GetUnderlined())
1724 static PyObject
*_wrap_wxFont_GetUnderlined(PyObject
*self
, PyObject
*args
) {
1725 PyObject
* _resultobj
;
1731 if(!PyArg_ParseTuple(args
,"s:wxFont_GetUnderlined",&_argc0
))
1734 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetUnderlined. Expected _wxFont_p.");
1739 _result
= (bool )wxFont_GetUnderlined(_arg0
);
1740 _resultobj
= Py_BuildValue("i",_result
);
1744 #define wxFont_GetWeight(_swigobj) (_swigobj->GetWeight())
1745 static PyObject
*_wrap_wxFont_GetWeight(PyObject
*self
, PyObject
*args
) {
1746 PyObject
* _resultobj
;
1752 if(!PyArg_ParseTuple(args
,"s:wxFont_GetWeight",&_argc0
))
1755 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetWeight. Expected _wxFont_p.");
1760 _result
= (int )wxFont_GetWeight(_arg0
);
1761 _resultobj
= Py_BuildValue("i",_result
);
1765 #define wxFont_SetFaceName(_swigobj,_swigarg0) (_swigobj->SetFaceName(_swigarg0))
1766 static PyObject
*_wrap_wxFont_SetFaceName(PyObject
*self
, PyObject
*args
) {
1767 PyObject
* _resultobj
;
1771 PyObject
* _obj1
= 0;
1774 if(!PyArg_ParseTuple(args
,"sO:wxFont_SetFaceName",&_argc0
,&_obj1
))
1777 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFaceName. Expected _wxFont_p.");
1783 if (!PyString_Check(_obj1
)) {
1784 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1787 _arg1
= new wxString(PyString_AsString(_obj1
));
1789 wxFont_SetFaceName(_arg0
,*_arg1
);
1791 _resultobj
= Py_None
;
1799 #define wxFont_SetFamily(_swigobj,_swigarg0) (_swigobj->SetFamily(_swigarg0))
1800 static PyObject
*_wrap_wxFont_SetFamily(PyObject
*self
, PyObject
*args
) {
1801 PyObject
* _resultobj
;
1807 if(!PyArg_ParseTuple(args
,"si:wxFont_SetFamily",&_argc0
,&_arg1
))
1810 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFamily. Expected _wxFont_p.");
1815 wxFont_SetFamily(_arg0
,_arg1
);
1817 _resultobj
= Py_None
;
1821 #define wxFont_SetPointSize(_swigobj,_swigarg0) (_swigobj->SetPointSize(_swigarg0))
1822 static PyObject
*_wrap_wxFont_SetPointSize(PyObject
*self
, PyObject
*args
) {
1823 PyObject
* _resultobj
;
1829 if(!PyArg_ParseTuple(args
,"si:wxFont_SetPointSize",&_argc0
,&_arg1
))
1832 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetPointSize. Expected _wxFont_p.");
1837 wxFont_SetPointSize(_arg0
,_arg1
);
1839 _resultobj
= Py_None
;
1843 #define wxFont_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
1844 static PyObject
*_wrap_wxFont_SetStyle(PyObject
*self
, PyObject
*args
) {
1845 PyObject
* _resultobj
;
1851 if(!PyArg_ParseTuple(args
,"si:wxFont_SetStyle",&_argc0
,&_arg1
))
1854 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetStyle. Expected _wxFont_p.");
1859 wxFont_SetStyle(_arg0
,_arg1
);
1861 _resultobj
= Py_None
;
1865 #define wxFont_SetUnderlined(_swigobj,_swigarg0) (_swigobj->SetUnderlined(_swigarg0))
1866 static PyObject
*_wrap_wxFont_SetUnderlined(PyObject
*self
, PyObject
*args
) {
1867 PyObject
* _resultobj
;
1874 if(!PyArg_ParseTuple(args
,"si:wxFont_SetUnderlined",&_argc0
,&tempbool1
))
1877 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetUnderlined. Expected _wxFont_p.");
1882 _arg1
= (bool ) tempbool1
;
1883 wxFont_SetUnderlined(_arg0
,_arg1
);
1885 _resultobj
= Py_None
;
1889 #define wxFont_SetWeight(_swigobj,_swigarg0) (_swigobj->SetWeight(_swigarg0))
1890 static PyObject
*_wrap_wxFont_SetWeight(PyObject
*self
, PyObject
*args
) {
1891 PyObject
* _resultobj
;
1897 if(!PyArg_ParseTuple(args
,"si:wxFont_SetWeight",&_argc0
,&_arg1
))
1900 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetWeight. Expected _wxFont_p.");
1905 wxFont_SetWeight(_arg0
,_arg1
);
1907 _resultobj
= Py_None
;
1911 #define new_wxColour(_swigarg0,_swigarg1,_swigarg2) (new wxColour(_swigarg0,_swigarg1,_swigarg2))
1912 static PyObject
*_wrap_new_wxColour(PyObject
*self
, PyObject
*args
) {
1913 PyObject
* _resultobj
;
1915 unsigned char _arg0
= 0;
1916 unsigned char _arg1
= 0;
1917 unsigned char _arg2
= 0;
1921 if(!PyArg_ParseTuple(args
,"|bbb:new_wxColour",&_arg0
,&_arg1
,&_arg2
))
1923 _result
= (wxColour
*)new_wxColour(_arg0
,_arg1
,_arg2
);
1924 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1925 _resultobj
= Py_BuildValue("s",_ptemp
);
1929 #define delete_wxColour(_swigobj) (delete _swigobj)
1930 static PyObject
*_wrap_delete_wxColour(PyObject
*self
, PyObject
*args
) {
1931 PyObject
* _resultobj
;
1936 if(!PyArg_ParseTuple(args
,"s:delete_wxColour",&_argc0
))
1939 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
1940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxColour. Expected _wxColour_p.");
1944 delete_wxColour(_arg0
);
1946 _resultobj
= Py_None
;
1950 #define wxColour_Red(_swigobj) (_swigobj->Red())
1951 static PyObject
*_wrap_wxColour_Red(PyObject
*self
, PyObject
*args
) {
1952 PyObject
* _resultobj
;
1953 unsigned char _result
;
1958 if(!PyArg_ParseTuple(args
,"s:wxColour_Red",&_argc0
))
1961 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
1962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Red. Expected _wxColour_p.");
1966 _result
= (unsigned char )wxColour_Red(_arg0
);
1967 _resultobj
= Py_BuildValue("b",_result
);
1971 #define wxColour_Green(_swigobj) (_swigobj->Green())
1972 static PyObject
*_wrap_wxColour_Green(PyObject
*self
, PyObject
*args
) {
1973 PyObject
* _resultobj
;
1974 unsigned char _result
;
1979 if(!PyArg_ParseTuple(args
,"s:wxColour_Green",&_argc0
))
1982 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
1983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Green. Expected _wxColour_p.");
1987 _result
= (unsigned char )wxColour_Green(_arg0
);
1988 _resultobj
= Py_BuildValue("b",_result
);
1992 #define wxColour_Blue(_swigobj) (_swigobj->Blue())
1993 static PyObject
*_wrap_wxColour_Blue(PyObject
*self
, PyObject
*args
) {
1994 PyObject
* _resultobj
;
1995 unsigned char _result
;
2000 if(!PyArg_ParseTuple(args
,"s:wxColour_Blue",&_argc0
))
2003 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Blue. Expected _wxColour_p.");
2008 _result
= (unsigned char )wxColour_Blue(_arg0
);
2009 _resultobj
= Py_BuildValue("b",_result
);
2013 #define wxColour_Ok(_swigobj) (_swigobj->Ok())
2014 static PyObject
*_wrap_wxColour_Ok(PyObject
*self
, PyObject
*args
) {
2015 PyObject
* _resultobj
;
2021 if(!PyArg_ParseTuple(args
,"s:wxColour_Ok",&_argc0
))
2024 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Ok. Expected _wxColour_p.");
2029 _result
= (bool )wxColour_Ok(_arg0
);
2030 _resultobj
= Py_BuildValue("i",_result
);
2034 #define wxColour_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
2035 static PyObject
*_wrap_wxColour_Set(PyObject
*self
, PyObject
*args
) {
2036 PyObject
* _resultobj
;
2038 unsigned char _arg1
;
2039 unsigned char _arg2
;
2040 unsigned char _arg3
;
2044 if(!PyArg_ParseTuple(args
,"sbbb:wxColour_Set",&_argc0
,&_arg1
,&_arg2
,&_arg3
))
2047 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Set. Expected _wxColour_p.");
2052 wxColour_Set(_arg0
,_arg1
,_arg2
,_arg3
);
2054 _resultobj
= Py_None
;
2058 static PyObject
* wxColour_Get(wxColour
*self
) {
2059 PyObject
* rv
= PyTuple_New(3);
2060 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
2061 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
2062 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
2065 static PyObject
*_wrap_wxColour_Get(PyObject
*self
, PyObject
*args
) {
2066 PyObject
* _resultobj
;
2072 if(!PyArg_ParseTuple(args
,"s:wxColour_Get",&_argc0
))
2075 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Get. Expected _wxColour_p.");
2080 _result
= (PyObject
*)wxColour_Get(_arg0
);
2082 _resultobj
= _result
;
2087 static wxPen
*new_wxPen(wxColour
*colour
,int width
,int style
) {
2088 return wxThePenList
->FindOrCreatePen(*colour
, width
, style
);
2091 static PyObject
*_wrap_new_wxPen(PyObject
*self
, PyObject
*args
) {
2092 PyObject
* _resultobj
;
2096 int _arg2
= (wxSOLID
);
2101 if(!PyArg_ParseTuple(args
,"s|ii:new_wxPen",&_argc0
,&_arg1
,&_arg2
))
2104 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPen. Expected _wxColour_p.");
2109 _result
= (wxPen
*)new_wxPen(_arg0
,_arg1
,_arg2
);
2110 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
2111 _resultobj
= Py_BuildValue("s",_ptemp
);
2115 #define wxPen_GetCap(_swigobj) (_swigobj->GetCap())
2116 static PyObject
*_wrap_wxPen_GetCap(PyObject
*self
, PyObject
*args
) {
2117 PyObject
* _resultobj
;
2123 if(!PyArg_ParseTuple(args
,"s:wxPen_GetCap",&_argc0
))
2126 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetCap. Expected _wxPen_p.");
2131 _result
= (int )wxPen_GetCap(_arg0
);
2132 _resultobj
= Py_BuildValue("i",_result
);
2136 #define wxPen_GetColour(_swigobj) (_swigobj->GetColour())
2137 static PyObject
*_wrap_wxPen_GetColour(PyObject
*self
, PyObject
*args
) {
2138 PyObject
* _resultobj
;
2145 if(!PyArg_ParseTuple(args
,"s:wxPen_GetColour",&_argc0
))
2148 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetColour. Expected _wxPen_p.");
2153 wxColour
& _result_ref
= wxPen_GetColour(_arg0
);
2154 _result
= (wxColour
*) &_result_ref
;
2155 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
2156 _resultobj
= Py_BuildValue("s",_ptemp
);
2160 #define wxPen_GetJoin(_swigobj) (_swigobj->GetJoin())
2161 static PyObject
*_wrap_wxPen_GetJoin(PyObject
*self
, PyObject
*args
) {
2162 PyObject
* _resultobj
;
2168 if(!PyArg_ParseTuple(args
,"s:wxPen_GetJoin",&_argc0
))
2171 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetJoin. Expected _wxPen_p.");
2176 _result
= (int )wxPen_GetJoin(_arg0
);
2177 _resultobj
= Py_BuildValue("i",_result
);
2181 #define wxPen_GetStyle(_swigobj) (_swigobj->GetStyle())
2182 static PyObject
*_wrap_wxPen_GetStyle(PyObject
*self
, PyObject
*args
) {
2183 PyObject
* _resultobj
;
2189 if(!PyArg_ParseTuple(args
,"s:wxPen_GetStyle",&_argc0
))
2192 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetStyle. Expected _wxPen_p.");
2197 _result
= (int )wxPen_GetStyle(_arg0
);
2198 _resultobj
= Py_BuildValue("i",_result
);
2202 #define wxPen_GetWidth(_swigobj) (_swigobj->GetWidth())
2203 static PyObject
*_wrap_wxPen_GetWidth(PyObject
*self
, PyObject
*args
) {
2204 PyObject
* _resultobj
;
2210 if(!PyArg_ParseTuple(args
,"s:wxPen_GetWidth",&_argc0
))
2213 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetWidth. Expected _wxPen_p.");
2218 _result
= (int )wxPen_GetWidth(_arg0
);
2219 _resultobj
= Py_BuildValue("i",_result
);
2223 #define wxPen_Ok(_swigobj) (_swigobj->Ok())
2224 static PyObject
*_wrap_wxPen_Ok(PyObject
*self
, PyObject
*args
) {
2225 PyObject
* _resultobj
;
2231 if(!PyArg_ParseTuple(args
,"s:wxPen_Ok",&_argc0
))
2234 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_Ok. Expected _wxPen_p.");
2239 _result
= (bool )wxPen_Ok(_arg0
);
2240 _resultobj
= Py_BuildValue("i",_result
);
2244 #define wxPen_SetCap(_swigobj,_swigarg0) (_swigobj->SetCap(_swigarg0))
2245 static PyObject
*_wrap_wxPen_SetCap(PyObject
*self
, PyObject
*args
) {
2246 PyObject
* _resultobj
;
2252 if(!PyArg_ParseTuple(args
,"si:wxPen_SetCap",&_argc0
,&_arg1
))
2255 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetCap. Expected _wxPen_p.");
2260 wxPen_SetCap(_arg0
,_arg1
);
2262 _resultobj
= Py_None
;
2266 #define wxPen_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
2267 static PyObject
*_wrap_wxPen_SetColour(PyObject
*self
, PyObject
*args
) {
2268 PyObject
* _resultobj
;
2275 if(!PyArg_ParseTuple(args
,"ss:wxPen_SetColour",&_argc0
,&_argc1
))
2278 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetColour. Expected _wxPen_p.");
2284 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
2285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPen_SetColour. Expected _wxColour_p.");
2289 wxPen_SetColour(_arg0
,*_arg1
);
2291 _resultobj
= Py_None
;
2295 #define wxPen_SetJoin(_swigobj,_swigarg0) (_swigobj->SetJoin(_swigarg0))
2296 static PyObject
*_wrap_wxPen_SetJoin(PyObject
*self
, PyObject
*args
) {
2297 PyObject
* _resultobj
;
2303 if(!PyArg_ParseTuple(args
,"si:wxPen_SetJoin",&_argc0
,&_arg1
))
2306 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetJoin. Expected _wxPen_p.");
2311 wxPen_SetJoin(_arg0
,_arg1
);
2313 _resultobj
= Py_None
;
2317 #define wxPen_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
2318 static PyObject
*_wrap_wxPen_SetStyle(PyObject
*self
, PyObject
*args
) {
2319 PyObject
* _resultobj
;
2325 if(!PyArg_ParseTuple(args
,"si:wxPen_SetStyle",&_argc0
,&_arg1
))
2328 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetStyle. Expected _wxPen_p.");
2333 wxPen_SetStyle(_arg0
,_arg1
);
2335 _resultobj
= Py_None
;
2339 #define wxPen_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2340 static PyObject
*_wrap_wxPen_SetWidth(PyObject
*self
, PyObject
*args
) {
2341 PyObject
* _resultobj
;
2347 if(!PyArg_ParseTuple(args
,"si:wxPen_SetWidth",&_argc0
,&_arg1
))
2350 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetWidth. Expected _wxPen_p.");
2355 wxPen_SetWidth(_arg0
,_arg1
);
2357 _resultobj
= Py_None
;
2361 static wxBrush
*new_wxBrush(wxColour
*colour
,int style
) {
2362 return wxTheBrushList
->FindOrCreateBrush(*colour
, style
);
2365 static PyObject
*_wrap_new_wxBrush(PyObject
*self
, PyObject
*args
) {
2366 PyObject
* _resultobj
;
2369 int _arg1
= (wxSOLID
);
2374 if(!PyArg_ParseTuple(args
,"s|i:new_wxBrush",&_argc0
,&_arg1
))
2377 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBrush. Expected _wxColour_p.");
2382 _result
= (wxBrush
*)new_wxBrush(_arg0
,_arg1
);
2383 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
2384 _resultobj
= Py_BuildValue("s",_ptemp
);
2388 #define wxBrush_GetColour(_swigobj) (_swigobj->GetColour())
2389 static PyObject
*_wrap_wxBrush_GetColour(PyObject
*self
, PyObject
*args
) {
2390 PyObject
* _resultobj
;
2397 if(!PyArg_ParseTuple(args
,"s:wxBrush_GetColour",&_argc0
))
2400 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBrush_p")) {
2401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetColour. Expected _wxBrush_p.");
2405 wxColour
& _result_ref
= wxBrush_GetColour(_arg0
);
2406 _result
= (wxColour
*) &_result_ref
;
2407 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
2408 _resultobj
= Py_BuildValue("s",_ptemp
);
2412 #define wxBrush_GetStipple(_swigobj) (_swigobj->GetStipple())
2413 static PyObject
*_wrap_wxBrush_GetStipple(PyObject
*self
, PyObject
*args
) {
2414 PyObject
* _resultobj
;
2421 if(!PyArg_ParseTuple(args
,"s:wxBrush_GetStipple",&_argc0
))
2424 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBrush_p")) {
2425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStipple. Expected _wxBrush_p.");
2429 _result
= (wxBitmap
*)wxBrush_GetStipple(_arg0
);
2430 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
2431 _resultobj
= Py_BuildValue("s",_ptemp
);
2435 #define wxBrush_GetStyle(_swigobj) (_swigobj->GetStyle())
2436 static PyObject
*_wrap_wxBrush_GetStyle(PyObject
*self
, PyObject
*args
) {
2437 PyObject
* _resultobj
;
2443 if(!PyArg_ParseTuple(args
,"s:wxBrush_GetStyle",&_argc0
))
2446 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBrush_p")) {
2447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStyle. Expected _wxBrush_p.");
2451 _result
= (int )wxBrush_GetStyle(_arg0
);
2452 _resultobj
= Py_BuildValue("i",_result
);
2456 #define wxBrush_Ok(_swigobj) (_swigobj->Ok())
2457 static PyObject
*_wrap_wxBrush_Ok(PyObject
*self
, PyObject
*args
) {
2458 PyObject
* _resultobj
;
2464 if(!PyArg_ParseTuple(args
,"s:wxBrush_Ok",&_argc0
))
2467 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBrush_p")) {
2468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_Ok. Expected _wxBrush_p.");
2472 _result
= (bool )wxBrush_Ok(_arg0
);
2473 _resultobj
= Py_BuildValue("i",_result
);
2477 #define wxBrush_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
2478 static PyObject
*_wrap_wxBrush_SetColour(PyObject
*self
, PyObject
*args
) {
2479 PyObject
* _resultobj
;
2486 if(!PyArg_ParseTuple(args
,"ss:wxBrush_SetColour",&_argc0
,&_argc1
))
2489 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBrush_p")) {
2490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetColour. Expected _wxBrush_p.");
2495 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
2496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrush_SetColour. Expected _wxColour_p.");
2500 wxBrush_SetColour(_arg0
,*_arg1
);
2502 _resultobj
= Py_None
;
2506 #define wxBrush_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
2507 static PyObject
*_wrap_wxBrush_SetStipple(PyObject
*self
, PyObject
*args
) {
2508 PyObject
* _resultobj
;
2515 if(!PyArg_ParseTuple(args
,"ss:wxBrush_SetStipple",&_argc0
,&_argc1
))
2518 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBrush_p")) {
2519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStipple. Expected _wxBrush_p.");
2524 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBitmap_p")) {
2525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrush_SetStipple. Expected _wxBitmap_p.");
2529 wxBrush_SetStipple(_arg0
,*_arg1
);
2531 _resultobj
= Py_None
;
2535 #define wxBrush_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
2536 static PyObject
*_wrap_wxBrush_SetStyle(PyObject
*self
, PyObject
*args
) {
2537 PyObject
* _resultobj
;
2543 if(!PyArg_ParseTuple(args
,"si:wxBrush_SetStyle",&_argc0
,&_arg1
))
2546 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBrush_p")) {
2547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStyle. Expected _wxBrush_p.");
2551 wxBrush_SetStyle(_arg0
,_arg1
);
2553 _resultobj
= Py_None
;
2557 #define delete_wxDC(_swigobj) (delete _swigobj)
2558 static PyObject
*_wrap_delete_wxDC(PyObject
*self
, PyObject
*args
) {
2559 PyObject
* _resultobj
;
2564 if(!PyArg_ParseTuple(args
,"s:delete_wxDC",&_argc0
))
2567 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDC. Expected _wxDC_p.");
2574 _resultobj
= Py_None
;
2578 #define wxDC_BeginDrawing(_swigobj) (_swigobj->BeginDrawing())
2579 static PyObject
*_wrap_wxDC_BeginDrawing(PyObject
*self
, PyObject
*args
) {
2580 PyObject
* _resultobj
;
2585 if(!PyArg_ParseTuple(args
,"s:wxDC_BeginDrawing",&_argc0
))
2588 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_BeginDrawing. Expected _wxDC_p.");
2593 wxDC_BeginDrawing(_arg0
);
2595 _resultobj
= Py_None
;
2599 #define wxDC_Blit(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Blit(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
2600 static PyObject
*_wrap_wxDC_Blit(PyObject
*self
, PyObject
*args
) {
2601 PyObject
* _resultobj
;
2616 if(!PyArg_ParseTuple(args
,"sllllslll:wxDC_Blit",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_argc5
,&_arg6
,&_arg7
,&_arg8
))
2619 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Blit. Expected _wxDC_p.");
2625 if (SWIG_GetPtr(_argc5
,(void **) &_arg5
,"_wxDC_p")) {
2626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxDC_Blit. Expected _wxDC_p.");
2630 _result
= (bool )wxDC_Blit(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
);
2631 _resultobj
= Py_BuildValue("i",_result
);
2635 #define wxDC_Clear(_swigobj) (_swigobj->Clear())
2636 static PyObject
*_wrap_wxDC_Clear(PyObject
*self
, PyObject
*args
) {
2637 PyObject
* _resultobj
;
2642 if(!PyArg_ParseTuple(args
,"s:wxDC_Clear",&_argc0
))
2645 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Clear. Expected _wxDC_p.");
2652 _resultobj
= Py_None
;
2656 #define wxDC_CrossHair(_swigobj,_swigarg0,_swigarg1) (_swigobj->CrossHair(_swigarg0,_swigarg1))
2657 static PyObject
*_wrap_wxDC_CrossHair(PyObject
*self
, PyObject
*args
) {
2658 PyObject
* _resultobj
;
2665 if(!PyArg_ParseTuple(args
,"sll:wxDC_CrossHair",&_argc0
,&_arg1
,&_arg2
))
2668 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CrossHair. Expected _wxDC_p.");
2673 wxDC_CrossHair(_arg0
,_arg1
,_arg2
);
2675 _resultobj
= Py_None
;
2679 #define wxDC_DestroyClippingRegion(_swigobj) (_swigobj->DestroyClippingRegion())
2680 static PyObject
*_wrap_wxDC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
) {
2681 PyObject
* _resultobj
;
2686 if(!PyArg_ParseTuple(args
,"s:wxDC_DestroyClippingRegion",&_argc0
))
2689 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DestroyClippingRegion. Expected _wxDC_p.");
2694 wxDC_DestroyClippingRegion(_arg0
);
2696 _resultobj
= Py_None
;
2700 #define wxDC_DeviceToLogicalX(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalX(_swigarg0))
2701 static PyObject
*_wrap_wxDC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
) {
2702 PyObject
* _resultobj
;
2709 if(!PyArg_ParseTuple(args
,"sl:wxDC_DeviceToLogicalX",&_argc0
,&_arg1
))
2712 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalX. Expected _wxDC_p.");
2717 _result
= (long )wxDC_DeviceToLogicalX(_arg0
,_arg1
);
2718 _resultobj
= Py_BuildValue("l",_result
);
2722 #define wxDC_DeviceToLogicalXRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalXRel(_swigarg0))
2723 static PyObject
*_wrap_wxDC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
) {
2724 PyObject
* _resultobj
;
2731 if(!PyArg_ParseTuple(args
,"sl:wxDC_DeviceToLogicalXRel",&_argc0
,&_arg1
))
2734 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalXRel. Expected _wxDC_p.");
2739 _result
= (long )wxDC_DeviceToLogicalXRel(_arg0
,_arg1
);
2740 _resultobj
= Py_BuildValue("l",_result
);
2744 #define wxDC_DeviceToLogicalY(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalY(_swigarg0))
2745 static PyObject
*_wrap_wxDC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
) {
2746 PyObject
* _resultobj
;
2753 if(!PyArg_ParseTuple(args
,"sl:wxDC_DeviceToLogicalY",&_argc0
,&_arg1
))
2756 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalY. Expected _wxDC_p.");
2761 _result
= (long )wxDC_DeviceToLogicalY(_arg0
,_arg1
);
2762 _resultobj
= Py_BuildValue("l",_result
);
2766 #define wxDC_DeviceToLogicalYRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalYRel(_swigarg0))
2767 static PyObject
*_wrap_wxDC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
) {
2768 PyObject
* _resultobj
;
2775 if(!PyArg_ParseTuple(args
,"sl:wxDC_DeviceToLogicalYRel",&_argc0
,&_arg1
))
2778 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalYRel. Expected _wxDC_p.");
2783 _result
= (long )wxDC_DeviceToLogicalYRel(_arg0
,_arg1
);
2784 _resultobj
= Py_BuildValue("l",_result
);
2788 #define wxDC_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2789 static PyObject
*_wrap_wxDC_DrawArc(PyObject
*self
, PyObject
*args
) {
2790 PyObject
* _resultobj
;
2801 if(!PyArg_ParseTuple(args
,"sllllll:wxDC_DrawArc",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
2804 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawArc. Expected _wxDC_p.");
2809 wxDC_DrawArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2811 _resultobj
= Py_None
;
2815 #define wxDC_DrawEllipse(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawEllipse(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2816 static PyObject
*_wrap_wxDC_DrawEllipse(PyObject
*self
, PyObject
*args
) {
2817 PyObject
* _resultobj
;
2826 if(!PyArg_ParseTuple(args
,"sllll:wxDC_DrawEllipse",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2829 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipse. Expected _wxDC_p.");
2834 wxDC_DrawEllipse(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2836 _resultobj
= Py_None
;
2840 #define wxDC_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2841 static PyObject
*_wrap_wxDC_DrawEllipticArc(PyObject
*self
, PyObject
*args
) {
2842 PyObject
* _resultobj
;
2853 if(!PyArg_ParseTuple(args
,"sllllll:wxDC_DrawEllipticArc",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
2856 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipticArc. Expected _wxDC_p.");
2861 wxDC_DrawEllipticArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2863 _resultobj
= Py_None
;
2867 #define wxDC_DrawIcon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawIcon(_swigarg0,_swigarg1,_swigarg2))
2868 static PyObject
*_wrap_wxDC_DrawIcon(PyObject
*self
, PyObject
*args
) {
2869 PyObject
* _resultobj
;
2878 if(!PyArg_ParseTuple(args
,"ssll:wxDC_DrawIcon",&_argc0
,&_argc1
,&_arg2
,&_arg3
))
2881 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawIcon. Expected _wxDC_p.");
2887 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxIcon_p")) {
2888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawIcon. Expected _wxIcon_p.");
2892 wxDC_DrawIcon(_arg0
,*_arg1
,_arg2
,_arg3
);
2894 _resultobj
= Py_None
;
2898 #define wxDC_DrawLine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2899 static PyObject
*_wrap_wxDC_DrawLine(PyObject
*self
, PyObject
*args
) {
2900 PyObject
* _resultobj
;
2909 if(!PyArg_ParseTuple(args
,"sllll:wxDC_DrawLine",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2912 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLine. Expected _wxDC_p.");
2917 wxDC_DrawLine(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2919 _resultobj
= Py_None
;
2923 #define wxDC_DrawLines(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLines(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2924 static PyObject
*_wrap_wxDC_DrawLines(PyObject
*self
, PyObject
*args
) {
2925 PyObject
* _resultobj
;
2932 PyObject
* _obj2
= 0;
2935 if(!PyArg_ParseTuple(args
,"sO|ll:wxDC_DrawLines",&_argc0
,&_obj2
,&_arg3
,&_arg4
))
2938 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLines. Expected _wxDC_p.");
2945 _arg2
= wxPoint_LIST_helper(_obj2
);
2946 if (_arg2
== NULL
) {
2951 _arg1
= PyList_Size(_obj2
);
2953 wxDC_DrawLines(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2955 _resultobj
= Py_None
;
2962 #define wxDC_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2963 static PyObject
*_wrap_wxDC_DrawPolygon(PyObject
*self
, PyObject
*args
) {
2964 PyObject
* _resultobj
;
2970 int _arg5
= (wxODDEVEN_RULE
);
2972 PyObject
* _obj2
= 0;
2975 if(!PyArg_ParseTuple(args
,"sO|lli:wxDC_DrawPolygon",&_argc0
,&_obj2
,&_arg3
,&_arg4
,&_arg5
))
2978 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPolygon. Expected _wxDC_p.");
2985 _arg2
= wxPoint_LIST_helper(_obj2
);
2986 if (_arg2
== NULL
) {
2991 _arg1
= PyList_Size(_obj2
);
2993 wxDC_DrawPolygon(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2995 _resultobj
= Py_None
;
3002 #define wxDC_DrawPoint(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawPoint(_swigarg0,_swigarg1))
3003 static PyObject
*_wrap_wxDC_DrawPoint(PyObject
*self
, PyObject
*args
) {
3004 PyObject
* _resultobj
;
3011 if(!PyArg_ParseTuple(args
,"sll:wxDC_DrawPoint",&_argc0
,&_arg1
,&_arg2
))
3014 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPoint. Expected _wxDC_p.");
3019 wxDC_DrawPoint(_arg0
,_arg1
,_arg2
);
3021 _resultobj
= Py_None
;
3025 #define wxDC_DrawRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3026 static PyObject
*_wrap_wxDC_DrawRectangle(PyObject
*self
, PyObject
*args
) {
3027 PyObject
* _resultobj
;
3036 if(!PyArg_ParseTuple(args
,"sllll:wxDC_DrawRectangle",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3039 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRectangle. Expected _wxDC_p.");
3044 wxDC_DrawRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3046 _resultobj
= Py_None
;
3050 #define wxDC_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3051 static PyObject
*_wrap_wxDC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
) {
3052 PyObject
* _resultobj
;
3062 if(!PyArg_ParseTuple(args
,"sllll|l:wxDC_DrawRoundedRectangle",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3065 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRoundedRectangle. Expected _wxDC_p.");
3070 wxDC_DrawRoundedRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3072 _resultobj
= Py_None
;
3076 #define wxDC_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1))
3077 static PyObject
*_wrap_wxDC_DrawSpline(PyObject
*self
, PyObject
*args
) {
3078 PyObject
* _resultobj
;
3083 PyObject
* _obj2
= 0;
3086 if(!PyArg_ParseTuple(args
,"sO:wxDC_DrawSpline",&_argc0
,&_obj2
))
3089 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawSpline. Expected _wxDC_p.");
3096 _arg2
= wxPoint_LIST_helper(_obj2
);
3097 if (_arg2
== NULL
) {
3102 _arg1
= PyList_Size(_obj2
);
3104 wxDC_DrawSpline(_arg0
,_arg1
,_arg2
);
3106 _resultobj
= Py_None
;
3113 #define wxDC_DrawText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawText(_swigarg0,_swigarg1,_swigarg2))
3114 static PyObject
*_wrap_wxDC_DrawText(PyObject
*self
, PyObject
*args
) {
3115 PyObject
* _resultobj
;
3121 PyObject
* _obj1
= 0;
3124 if(!PyArg_ParseTuple(args
,"sOll:wxDC_DrawText",&_argc0
,&_obj1
,&_arg2
,&_arg3
))
3127 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawText. Expected _wxDC_p.");
3133 if (!PyString_Check(_obj1
)) {
3134 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3137 _arg1
= new wxString(PyString_AsString(_obj1
));
3139 wxDC_DrawText(_arg0
,*_arg1
,_arg2
,_arg3
);
3141 _resultobj
= Py_None
;
3149 #define wxDC_EndDoc(_swigobj) (_swigobj->EndDoc())
3150 static PyObject
*_wrap_wxDC_EndDoc(PyObject
*self
, PyObject
*args
) {
3151 PyObject
* _resultobj
;
3156 if(!PyArg_ParseTuple(args
,"s:wxDC_EndDoc",&_argc0
))
3159 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDoc. Expected _wxDC_p.");
3166 _resultobj
= Py_None
;
3170 #define wxDC_EndDrawing(_swigobj) (_swigobj->EndDrawing())
3171 static PyObject
*_wrap_wxDC_EndDrawing(PyObject
*self
, PyObject
*args
) {
3172 PyObject
* _resultobj
;
3177 if(!PyArg_ParseTuple(args
,"s:wxDC_EndDrawing",&_argc0
))
3180 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDrawing. Expected _wxDC_p.");
3185 wxDC_EndDrawing(_arg0
);
3187 _resultobj
= Py_None
;
3191 #define wxDC_EndPage(_swigobj) (_swigobj->EndPage())
3192 static PyObject
*_wrap_wxDC_EndPage(PyObject
*self
, PyObject
*args
) {
3193 PyObject
* _resultobj
;
3198 if(!PyArg_ParseTuple(args
,"s:wxDC_EndPage",&_argc0
))
3201 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndPage. Expected _wxDC_p.");
3206 wxDC_EndPage(_arg0
);
3208 _resultobj
= Py_None
;
3212 #define wxDC_FloodFill(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FloodFill(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3213 static PyObject
*_wrap_wxDC_FloodFill(PyObject
*self
, PyObject
*args
) {
3214 PyObject
* _resultobj
;
3219 int _arg4
= (wxFLOOD_SURFACE
);
3224 if(!PyArg_ParseTuple(args
,"slls|i:wxDC_FloodFill",&_argc0
,&_arg1
,&_arg2
,&_argc3
,&_arg4
))
3227 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_FloodFill. Expected _wxDC_p.");
3233 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxColour_p")) {
3234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDC_FloodFill. Expected _wxColour_p.");
3238 wxDC_FloodFill(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
3240 _resultobj
= Py_None
;
3244 #define wxDC_GetBackground(_swigobj) (_swigobj->GetBackground())
3245 static PyObject
*_wrap_wxDC_GetBackground(PyObject
*self
, PyObject
*args
) {
3246 PyObject
* _resultobj
;
3253 if(!PyArg_ParseTuple(args
,"s:wxDC_GetBackground",&_argc0
))
3256 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBackground. Expected _wxDC_p.");
3261 wxBrush
& _result_ref
= wxDC_GetBackground(_arg0
);
3262 _result
= (wxBrush
*) &_result_ref
;
3263 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
3264 _resultobj
= Py_BuildValue("s",_ptemp
);
3268 #define wxDC_GetBrush(_swigobj) (_swigobj->GetBrush())
3269 static PyObject
*_wrap_wxDC_GetBrush(PyObject
*self
, PyObject
*args
) {
3270 PyObject
* _resultobj
;
3277 if(!PyArg_ParseTuple(args
,"s:wxDC_GetBrush",&_argc0
))
3280 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBrush. Expected _wxDC_p.");
3285 wxBrush
& _result_ref
= wxDC_GetBrush(_arg0
);
3286 _result
= (wxBrush
*) &_result_ref
;
3287 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
3288 _resultobj
= Py_BuildValue("s",_ptemp
);
3292 #define wxDC_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
3293 static PyObject
*_wrap_wxDC_GetCharHeight(PyObject
*self
, PyObject
*args
) {
3294 PyObject
* _resultobj
;
3300 if(!PyArg_ParseTuple(args
,"s:wxDC_GetCharHeight",&_argc0
))
3303 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharHeight. Expected _wxDC_p.");
3308 _result
= (long )wxDC_GetCharHeight(_arg0
);
3309 _resultobj
= Py_BuildValue("l",_result
);
3313 #define wxDC_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
3314 static PyObject
*_wrap_wxDC_GetCharWidth(PyObject
*self
, PyObject
*args
) {
3315 PyObject
* _resultobj
;
3321 if(!PyArg_ParseTuple(args
,"s:wxDC_GetCharWidth",&_argc0
))
3324 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharWidth. Expected _wxDC_p.");
3329 _result
= (long )wxDC_GetCharWidth(_arg0
);
3330 _resultobj
= Py_BuildValue("l",_result
);
3334 #define wxDC_GetClippingBox(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetClippingBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3335 static PyObject
*_wrap_wxDC_GetClippingBox(PyObject
*self
, PyObject
*args
) {
3336 PyObject
* _resultobj
;
3361 if(!PyArg_ParseTuple(args
,"s:wxDC_GetClippingBox",&_argc0
))
3364 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetClippingBox. Expected _wxDC_p.");
3369 wxDC_GetClippingBox(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3371 _resultobj
= Py_None
;
3374 o
= PyInt_FromLong((long) (*_arg1
));
3375 _resultobj
= t_output_helper(_resultobj
, o
);
3379 o
= PyInt_FromLong((long) (*_arg2
));
3380 _resultobj
= t_output_helper(_resultobj
, o
);
3384 o
= PyInt_FromLong((long) (*_arg3
));
3385 _resultobj
= t_output_helper(_resultobj
, o
);
3389 o
= PyInt_FromLong((long) (*_arg4
));
3390 _resultobj
= t_output_helper(_resultobj
, o
);
3395 #define wxDC_GetFont(_swigobj) (_swigobj->GetFont())
3396 static PyObject
*_wrap_wxDC_GetFont(PyObject
*self
, PyObject
*args
) {
3397 PyObject
* _resultobj
;
3404 if(!PyArg_ParseTuple(args
,"s:wxDC_GetFont",&_argc0
))
3407 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFont. Expected _wxDC_p.");
3412 wxFont
& _result_ref
= wxDC_GetFont(_arg0
);
3413 _result
= (wxFont
*) &_result_ref
;
3414 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
3415 _resultobj
= Py_BuildValue("s",_ptemp
);
3419 #define wxDC_GetLogicalFunction(_swigobj) (_swigobj->GetLogicalFunction())
3420 static PyObject
*_wrap_wxDC_GetLogicalFunction(PyObject
*self
, PyObject
*args
) {
3421 PyObject
* _resultobj
;
3427 if(!PyArg_ParseTuple(args
,"s:wxDC_GetLogicalFunction",&_argc0
))
3430 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalFunction. Expected _wxDC_p.");
3435 _result
= (int )wxDC_GetLogicalFunction(_arg0
);
3436 _resultobj
= Py_BuildValue("i",_result
);
3440 #define wxDC_GetMapMode(_swigobj) (_swigobj->GetMapMode())
3441 static PyObject
*_wrap_wxDC_GetMapMode(PyObject
*self
, PyObject
*args
) {
3442 PyObject
* _resultobj
;
3448 if(!PyArg_ParseTuple(args
,"s:wxDC_GetMapMode",&_argc0
))
3451 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetMapMode. Expected _wxDC_p.");
3456 _result
= (int )wxDC_GetMapMode(_arg0
);
3457 _resultobj
= Py_BuildValue("i",_result
);
3461 #define wxDC_GetOptimization(_swigobj) (_swigobj->GetOptimization())
3462 static PyObject
*_wrap_wxDC_GetOptimization(PyObject
*self
, PyObject
*args
) {
3463 PyObject
* _resultobj
;
3469 if(!PyArg_ParseTuple(args
,"s:wxDC_GetOptimization",&_argc0
))
3472 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetOptimization. Expected _wxDC_p.");
3477 _result
= (bool )wxDC_GetOptimization(_arg0
);
3478 _resultobj
= Py_BuildValue("i",_result
);
3482 #define wxDC_GetPen(_swigobj) (_swigobj->GetPen())
3483 static PyObject
*_wrap_wxDC_GetPen(PyObject
*self
, PyObject
*args
) {
3484 PyObject
* _resultobj
;
3491 if(!PyArg_ParseTuple(args
,"s:wxDC_GetPen",&_argc0
))
3494 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPen. Expected _wxDC_p.");
3499 wxPen
& _result_ref
= wxDC_GetPen(_arg0
);
3500 _result
= (wxPen
*) &_result_ref
;
3501 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
3502 _resultobj
= Py_BuildValue("s",_ptemp
);
3506 static wxColour
* wxDC_GetPixel(wxDC
*self
,long x
,long y
) {
3507 wxColour
* wc
= new wxColour();
3508 self
->GetPixel(x
, y
, wc
);
3511 static PyObject
*_wrap_wxDC_GetPixel(PyObject
*self
, PyObject
*args
) {
3512 PyObject
* _resultobj
;
3521 if(!PyArg_ParseTuple(args
,"sll:wxDC_GetPixel",&_argc0
,&_arg1
,&_arg2
))
3524 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPixel. Expected _wxDC_p.");
3529 _result
= (wxColour
*)wxDC_GetPixel(_arg0
,_arg1
,_arg2
);
3530 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3531 _resultobj
= Py_BuildValue("s",_ptemp
);
3535 #define wxDC_GetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
3536 static PyObject
*_wrap_wxDC_GetSize(PyObject
*self
, PyObject
*args
) {
3537 PyObject
* _resultobj
;
3552 if(!PyArg_ParseTuple(args
,"s:wxDC_GetSize",&_argc0
))
3555 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSize. Expected _wxDC_p.");
3560 wxDC_GetSize(_arg0
,_arg1
,_arg2
);
3562 _resultobj
= Py_None
;
3565 o
= PyInt_FromLong((long) (*_arg1
));
3566 _resultobj
= t_output_helper(_resultobj
, o
);
3570 o
= PyInt_FromLong((long) (*_arg2
));
3571 _resultobj
= t_output_helper(_resultobj
, o
);
3576 #define wxDC_GetTextBackground(_swigobj) (_swigobj->GetTextBackground())
3577 static PyObject
*_wrap_wxDC_GetTextBackground(PyObject
*self
, PyObject
*args
) {
3578 PyObject
* _resultobj
;
3585 if(!PyArg_ParseTuple(args
,"s:wxDC_GetTextBackground",&_argc0
))
3588 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextBackground. Expected _wxDC_p.");
3593 wxColour
& _result_ref
= wxDC_GetTextBackground(_arg0
);
3594 _result
= (wxColour
*) &_result_ref
;
3595 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3596 _resultobj
= Py_BuildValue("s",_ptemp
);
3600 #define wxDC_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3601 static PyObject
*_wrap_wxDC_GetTextExtent(PyObject
*self
, PyObject
*args
) {
3602 PyObject
* _resultobj
;
3614 PyObject
* _obj1
= 0;
3629 if(!PyArg_ParseTuple(args
,"sO:wxDC_GetTextExtent",&_argc0
,&_obj1
))
3632 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextExtent. Expected _wxDC_p.");
3638 if (!PyString_Check(_obj1
)) {
3639 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3642 _arg1
= new wxString(PyString_AsString(_obj1
));
3644 wxDC_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3646 _resultobj
= Py_None
;
3649 o
= PyInt_FromLong((long) (*_arg2
));
3650 _resultobj
= t_output_helper(_resultobj
, o
);
3654 o
= PyInt_FromLong((long) (*_arg3
));
3655 _resultobj
= t_output_helper(_resultobj
, o
);
3659 o
= PyInt_FromLong((long) (*_arg4
));
3660 _resultobj
= t_output_helper(_resultobj
, o
);
3664 o
= PyInt_FromLong((long) (*_arg5
));
3665 _resultobj
= t_output_helper(_resultobj
, o
);
3674 #define wxDC_GetTextForeground(_swigobj) (_swigobj->GetTextForeground())
3675 static PyObject
*_wrap_wxDC_GetTextForeground(PyObject
*self
, PyObject
*args
) {
3676 PyObject
* _resultobj
;
3683 if(!PyArg_ParseTuple(args
,"s:wxDC_GetTextForeground",&_argc0
))
3686 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextForeground. Expected _wxDC_p.");
3691 wxColour
& _result_ref
= wxDC_GetTextForeground(_arg0
);
3692 _result
= (wxColour
*) &_result_ref
;
3693 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3694 _resultobj
= Py_BuildValue("s",_ptemp
);
3698 #define wxDC_LogicalToDeviceX(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceX(_swigarg0))
3699 static PyObject
*_wrap_wxDC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
) {
3700 PyObject
* _resultobj
;
3707 if(!PyArg_ParseTuple(args
,"sl:wxDC_LogicalToDeviceX",&_argc0
,&_arg1
))
3710 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceX. Expected _wxDC_p.");
3715 _result
= (long )wxDC_LogicalToDeviceX(_arg0
,_arg1
);
3716 _resultobj
= Py_BuildValue("l",_result
);
3720 #define wxDC_LogicalToDeviceXRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceXRel(_swigarg0))
3721 static PyObject
*_wrap_wxDC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
) {
3722 PyObject
* _resultobj
;
3729 if(!PyArg_ParseTuple(args
,"sl:wxDC_LogicalToDeviceXRel",&_argc0
,&_arg1
))
3732 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceXRel. Expected _wxDC_p.");
3737 _result
= (long )wxDC_LogicalToDeviceXRel(_arg0
,_arg1
);
3738 _resultobj
= Py_BuildValue("l",_result
);
3742 #define wxDC_LogicalToDeviceY(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceY(_swigarg0))
3743 static PyObject
*_wrap_wxDC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
) {
3744 PyObject
* _resultobj
;
3751 if(!PyArg_ParseTuple(args
,"sl:wxDC_LogicalToDeviceY",&_argc0
,&_arg1
))
3754 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceY. Expected _wxDC_p.");
3759 _result
= (long )wxDC_LogicalToDeviceY(_arg0
,_arg1
);
3760 _resultobj
= Py_BuildValue("l",_result
);
3764 #define wxDC_LogicalToDeviceYRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceYRel(_swigarg0))
3765 static PyObject
*_wrap_wxDC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
) {
3766 PyObject
* _resultobj
;
3773 if(!PyArg_ParseTuple(args
,"sl:wxDC_LogicalToDeviceYRel",&_argc0
,&_arg1
))
3776 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceYRel. Expected _wxDC_p.");
3781 _result
= (long )wxDC_LogicalToDeviceYRel(_arg0
,_arg1
);
3782 _resultobj
= Py_BuildValue("l",_result
);
3786 #define wxDC_MaxX(_swigobj) (_swigobj->MaxX())
3787 static PyObject
*_wrap_wxDC_MaxX(PyObject
*self
, PyObject
*args
) {
3788 PyObject
* _resultobj
;
3794 if(!PyArg_ParseTuple(args
,"s:wxDC_MaxX",&_argc0
))
3797 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxX. Expected _wxDC_p.");
3802 _result
= (long )wxDC_MaxX(_arg0
);
3803 _resultobj
= Py_BuildValue("l",_result
);
3807 #define wxDC_MaxY(_swigobj) (_swigobj->MaxY())
3808 static PyObject
*_wrap_wxDC_MaxY(PyObject
*self
, PyObject
*args
) {
3809 PyObject
* _resultobj
;
3815 if(!PyArg_ParseTuple(args
,"s:wxDC_MaxY",&_argc0
))
3818 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxY. Expected _wxDC_p.");
3823 _result
= (long )wxDC_MaxY(_arg0
);
3824 _resultobj
= Py_BuildValue("l",_result
);
3828 #define wxDC_MinX(_swigobj) (_swigobj->MinX())
3829 static PyObject
*_wrap_wxDC_MinX(PyObject
*self
, PyObject
*args
) {
3830 PyObject
* _resultobj
;
3836 if(!PyArg_ParseTuple(args
,"s:wxDC_MinX",&_argc0
))
3839 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinX. Expected _wxDC_p.");
3844 _result
= (long )wxDC_MinX(_arg0
);
3845 _resultobj
= Py_BuildValue("l",_result
);
3849 #define wxDC_MinY(_swigobj) (_swigobj->MinY())
3850 static PyObject
*_wrap_wxDC_MinY(PyObject
*self
, PyObject
*args
) {
3851 PyObject
* _resultobj
;
3857 if(!PyArg_ParseTuple(args
,"s:wxDC_MinY",&_argc0
))
3860 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinY. Expected _wxDC_p.");
3865 _result
= (long )wxDC_MinY(_arg0
);
3866 _resultobj
= Py_BuildValue("l",_result
);
3870 #define wxDC_Ok(_swigobj) (_swigobj->Ok())
3871 static PyObject
*_wrap_wxDC_Ok(PyObject
*self
, PyObject
*args
) {
3872 PyObject
* _resultobj
;
3878 if(!PyArg_ParseTuple(args
,"s:wxDC_Ok",&_argc0
))
3881 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Ok. Expected _wxDC_p.");
3886 _result
= (bool )wxDC_Ok(_arg0
);
3887 _resultobj
= Py_BuildValue("i",_result
);
3891 #define wxDC_SetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDeviceOrigin(_swigarg0,_swigarg1))
3892 static PyObject
*_wrap_wxDC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
) {
3893 PyObject
* _resultobj
;
3900 if(!PyArg_ParseTuple(args
,"sll:wxDC_SetDeviceOrigin",&_argc0
,&_arg1
,&_arg2
))
3903 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetDeviceOrigin. Expected _wxDC_p.");
3908 wxDC_SetDeviceOrigin(_arg0
,_arg1
,_arg2
);
3910 _resultobj
= Py_None
;
3914 #define wxDC_SetBackground(_swigobj,_swigarg0) (_swigobj->SetBackground(_swigarg0))
3915 static PyObject
*_wrap_wxDC_SetBackground(PyObject
*self
, PyObject
*args
) {
3916 PyObject
* _resultobj
;
3923 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetBackground",&_argc0
,&_argc1
))
3926 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackground. Expected _wxDC_p.");
3932 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBrush_p")) {
3933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBackground. Expected _wxBrush_p.");
3937 wxDC_SetBackground(_arg0
,*_arg1
);
3939 _resultobj
= Py_None
;
3943 #define wxDC_SetBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetBackgroundMode(_swigarg0))
3944 static PyObject
*_wrap_wxDC_SetBackgroundMode(PyObject
*self
, PyObject
*args
) {
3945 PyObject
* _resultobj
;
3951 if(!PyArg_ParseTuple(args
,"si:wxDC_SetBackgroundMode",&_argc0
,&_arg1
))
3954 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackgroundMode. Expected _wxDC_p.");
3959 wxDC_SetBackgroundMode(_arg0
,_arg1
);
3961 _resultobj
= Py_None
;
3965 #define wxDC_SetClippingRegion(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetClippingRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3966 static PyObject
*_wrap_wxDC_SetClippingRegion(PyObject
*self
, PyObject
*args
) {
3967 PyObject
* _resultobj
;
3976 if(!PyArg_ParseTuple(args
,"sllll:wxDC_SetClippingRegion",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3979 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetClippingRegion. Expected _wxDC_p.");
3984 wxDC_SetClippingRegion(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3986 _resultobj
= Py_None
;
3990 #define wxDC_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
3991 static PyObject
*_wrap_wxDC_SetPalette(PyObject
*self
, PyObject
*args
) {
3992 PyObject
* _resultobj
;
3999 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetPalette",&_argc0
,&_argc1
))
4002 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPalette. Expected _wxDC_p.");
4008 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPalette_p")) {
4009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPalette. Expected _wxPalette_p.");
4013 wxDC_SetPalette(_arg0
,*_arg1
);
4015 _resultobj
= Py_None
;
4019 #define wxDC_SetBrush(_swigobj,_swigarg0) (_swigobj->SetBrush(_swigarg0))
4020 static PyObject
*_wrap_wxDC_SetBrush(PyObject
*self
, PyObject
*args
) {
4021 PyObject
* _resultobj
;
4028 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetBrush",&_argc0
,&_argc1
))
4031 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBrush. Expected _wxDC_p.");
4037 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBrush_p")) {
4038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBrush. Expected _wxBrush_p.");
4042 wxDC_SetBrush(_arg0
,*_arg1
);
4044 _resultobj
= Py_None
;
4048 #define wxDC_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
4049 static PyObject
*_wrap_wxDC_SetFont(PyObject
*self
, PyObject
*args
) {
4050 PyObject
* _resultobj
;
4057 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetFont",&_argc0
,&_argc1
))
4060 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetFont. Expected _wxDC_p.");
4066 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxFont_p")) {
4067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetFont. Expected _wxFont_p.");
4071 wxDC_SetFont(_arg0
,*_arg1
);
4073 _resultobj
= Py_None
;
4077 #define wxDC_SetLogicalFunction(_swigobj,_swigarg0) (_swigobj->SetLogicalFunction(_swigarg0))
4078 static PyObject
*_wrap_wxDC_SetLogicalFunction(PyObject
*self
, PyObject
*args
) {
4079 PyObject
* _resultobj
;
4085 if(!PyArg_ParseTuple(args
,"si:wxDC_SetLogicalFunction",&_argc0
,&_arg1
))
4088 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalFunction. Expected _wxDC_p.");
4093 wxDC_SetLogicalFunction(_arg0
,_arg1
);
4095 _resultobj
= Py_None
;
4099 #define wxDC_SetMapMode(_swigobj,_swigarg0) (_swigobj->SetMapMode(_swigarg0))
4100 static PyObject
*_wrap_wxDC_SetMapMode(PyObject
*self
, PyObject
*args
) {
4101 PyObject
* _resultobj
;
4107 if(!PyArg_ParseTuple(args
,"si:wxDC_SetMapMode",&_argc0
,&_arg1
))
4110 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetMapMode. Expected _wxDC_p.");
4115 wxDC_SetMapMode(_arg0
,_arg1
);
4117 _resultobj
= Py_None
;
4121 #define wxDC_SetOptimization(_swigobj,_swigarg0) (_swigobj->SetOptimization(_swigarg0))
4122 static PyObject
*_wrap_wxDC_SetOptimization(PyObject
*self
, PyObject
*args
) {
4123 PyObject
* _resultobj
;
4130 if(!PyArg_ParseTuple(args
,"si:wxDC_SetOptimization",&_argc0
,&tempbool1
))
4133 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetOptimization. Expected _wxDC_p.");
4138 _arg1
= (bool ) tempbool1
;
4139 wxDC_SetOptimization(_arg0
,_arg1
);
4141 _resultobj
= Py_None
;
4145 #define wxDC_SetPen(_swigobj,_swigarg0) (_swigobj->SetPen(_swigarg0))
4146 static PyObject
*_wrap_wxDC_SetPen(PyObject
*self
, PyObject
*args
) {
4147 PyObject
* _resultobj
;
4154 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetPen",&_argc0
,&_argc1
))
4157 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPen. Expected _wxDC_p.");
4163 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPen_p")) {
4164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPen. Expected _wxPen_p.");
4168 wxDC_SetPen(_arg0
,*_arg1
);
4170 _resultobj
= Py_None
;
4174 #define wxDC_SetTextBackground(_swigobj,_swigarg0) (_swigobj->SetTextBackground(_swigarg0))
4175 static PyObject
*_wrap_wxDC_SetTextBackground(PyObject
*self
, PyObject
*args
) {
4176 PyObject
* _resultobj
;
4183 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetTextBackground",&_argc0
,&_argc1
))
4186 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextBackground. Expected _wxDC_p.");
4192 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
4193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetTextBackground. Expected _wxColour_p.");
4197 wxDC_SetTextBackground(_arg0
,*_arg1
);
4199 _resultobj
= Py_None
;
4203 #define wxDC_SetTextForeground(_swigobj,_swigarg0) (_swigobj->SetTextForeground(_swigarg0))
4204 static PyObject
*_wrap_wxDC_SetTextForeground(PyObject
*self
, PyObject
*args
) {
4205 PyObject
* _resultobj
;
4212 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetTextForeground",&_argc0
,&_argc1
))
4215 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextForeground. Expected _wxDC_p.");
4221 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
4222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetTextForeground. Expected _wxColour_p.");
4226 wxDC_SetTextForeground(_arg0
,*_arg1
);
4228 _resultobj
= Py_None
;
4232 #define wxDC_SetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetUserScale(_swigarg0,_swigarg1))
4233 static PyObject
*_wrap_wxDC_SetUserScale(PyObject
*self
, PyObject
*args
) {
4234 PyObject
* _resultobj
;
4241 if(!PyArg_ParseTuple(args
,"sdd:wxDC_SetUserScale",&_argc0
,&_arg1
,&_arg2
))
4244 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetUserScale. Expected _wxDC_p.");
4249 wxDC_SetUserScale(_arg0
,_arg1
,_arg2
);
4251 _resultobj
= Py_None
;
4255 #define wxDC_StartDoc(_swigobj,_swigarg0) (_swigobj->StartDoc(_swigarg0))
4256 static PyObject
*_wrap_wxDC_StartDoc(PyObject
*self
, PyObject
*args
) {
4257 PyObject
* _resultobj
;
4262 PyObject
* _obj1
= 0;
4265 if(!PyArg_ParseTuple(args
,"sO:wxDC_StartDoc",&_argc0
,&_obj1
))
4268 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartDoc. Expected _wxDC_p.");
4274 if (!PyString_Check(_obj1
)) {
4275 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4278 _arg1
= new wxString(PyString_AsString(_obj1
));
4280 _result
= (bool )wxDC_StartDoc(_arg0
,*_arg1
);
4281 _resultobj
= Py_BuildValue("i",_result
);
4289 #define wxDC_StartPage(_swigobj) (_swigobj->StartPage())
4290 static PyObject
*_wrap_wxDC_StartPage(PyObject
*self
, PyObject
*args
) {
4291 PyObject
* _resultobj
;
4296 if(!PyArg_ParseTuple(args
,"s:wxDC_StartPage",&_argc0
))
4299 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartPage. Expected _wxDC_p.");
4304 wxDC_StartPage(_arg0
);
4306 _resultobj
= Py_None
;
4310 static void wxDC_DrawBitmap(wxDC
*self
,wxBitmap
& bitmap
,long x
,long y
,bool swapPalette
) {
4311 wxMemoryDC
* memDC
= new wxMemoryDC
;
4312 memDC
->SelectObject(bitmap
);
4314 self
->SetPalette(*bitmap
.GetPalette());
4315 self
->Blit(x
, y
, bitmap
.GetWidth(), bitmap
.GetHeight(), memDC
,
4316 0, 0, self
->GetLogicalFunction());
4317 memDC
->SelectObject(wxNullBitmap
);
4320 static PyObject
*_wrap_wxDC_DrawBitmap(PyObject
*self
, PyObject
*args
) {
4321 PyObject
* _resultobj
;
4332 if(!PyArg_ParseTuple(args
,"ssll|i:wxDC_DrawBitmap",&_argc0
,&_argc1
,&_arg2
,&_arg3
,&tempbool4
))
4335 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawBitmap. Expected _wxDC_p.");
4341 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBitmap_p")) {
4342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawBitmap. Expected _wxBitmap_p.");
4346 _arg4
= (bool ) tempbool4
;
4347 wxDC_DrawBitmap(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
4349 _resultobj
= Py_None
;
4353 static void *SwigwxMemoryDCTowxDC(void *ptr
) {
4356 src
= (wxMemoryDC
*) ptr
;
4357 dest
= (wxDC
*) src
;
4358 return (void *) dest
;
4361 #define new_wxMemoryDC() (new wxMemoryDC())
4362 static PyObject
*_wrap_new_wxMemoryDC(PyObject
*self
, PyObject
*args
) {
4363 PyObject
* _resultobj
;
4364 wxMemoryDC
* _result
;
4368 if(!PyArg_ParseTuple(args
,":new_wxMemoryDC"))
4370 _result
= (wxMemoryDC
*)new_wxMemoryDC();
4371 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
4372 _resultobj
= Py_BuildValue("s",_ptemp
);
4376 #define wxMemoryDC_SelectObject(_swigobj,_swigarg0) (_swigobj->SelectObject(_swigarg0))
4377 static PyObject
*_wrap_wxMemoryDC_SelectObject(PyObject
*self
, PyObject
*args
) {
4378 PyObject
* _resultobj
;
4385 if(!PyArg_ParseTuple(args
,"ss:wxMemoryDC_SelectObject",&_argc0
,&_argc1
))
4388 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMemoryDC_p")) {
4389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDC_SelectObject. Expected _wxMemoryDC_p.");
4394 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBitmap_p")) {
4395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMemoryDC_SelectObject. Expected _wxBitmap_p.");
4399 wxMemoryDC_SelectObject(_arg0
,*_arg1
);
4401 _resultobj
= Py_None
;
4405 static void *SwigwxScreenDCTowxDC(void *ptr
) {
4408 src
= (wxScreenDC
*) ptr
;
4409 dest
= (wxDC
*) src
;
4410 return (void *) dest
;
4413 #define new_wxScreenDC() (new wxScreenDC())
4414 static PyObject
*_wrap_new_wxScreenDC(PyObject
*self
, PyObject
*args
) {
4415 PyObject
* _resultobj
;
4416 wxScreenDC
* _result
;
4420 if(!PyArg_ParseTuple(args
,":new_wxScreenDC"))
4422 _result
= (wxScreenDC
*)new_wxScreenDC();
4423 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScreenDC_p");
4424 _resultobj
= Py_BuildValue("s",_ptemp
);
4428 #define wxScreenDC_StartDrawingOnTop(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
4429 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
) {
4430 PyObject
* _resultobj
;
4438 if(!PyArg_ParseTuple(args
,"ss:wxScreenDC_StartDrawingOnTop",&_argc0
,&_argc1
))
4441 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScreenDC_p")) {
4442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTop. Expected _wxScreenDC_p.");
4447 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
4448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScreenDC_StartDrawingOnTop. Expected _wxWindow_p.");
4452 _result
= (bool )wxScreenDC_StartDrawingOnTop(_arg0
,_arg1
);
4453 _resultobj
= Py_BuildValue("i",_result
);
4457 #define wxScreenDC_StartDrawingOnTopRect(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
4458 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTopRect(PyObject
*self
, PyObject
*args
) {
4459 PyObject
* _resultobj
;
4462 wxRect
* _arg1
= NULL
;
4467 if(!PyArg_ParseTuple(args
,"s|s:wxScreenDC_StartDrawingOnTopRect",&_argc0
,&_argc1
))
4470 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScreenDC_p")) {
4471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTopRect. Expected _wxScreenDC_p.");
4476 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxRect_p")) {
4477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScreenDC_StartDrawingOnTopRect. Expected _wxRect_p.");
4481 _result
= (bool )wxScreenDC_StartDrawingOnTopRect(_arg0
,_arg1
);
4482 _resultobj
= Py_BuildValue("i",_result
);
4486 #define wxScreenDC_EndDrawingOnTop(_swigobj) (_swigobj->EndDrawingOnTop())
4487 static PyObject
*_wrap_wxScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
) {
4488 PyObject
* _resultobj
;
4494 if(!PyArg_ParseTuple(args
,"s:wxScreenDC_EndDrawingOnTop",&_argc0
))
4497 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScreenDC_p")) {
4498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_EndDrawingOnTop. Expected _wxScreenDC_p.");
4502 _result
= (bool )wxScreenDC_EndDrawingOnTop(_arg0
);
4503 _resultobj
= Py_BuildValue("i",_result
);
4507 static void *SwigwxClientDCTowxDC(void *ptr
) {
4510 src
= (wxClientDC
*) ptr
;
4511 dest
= (wxDC
*) src
;
4512 return (void *) dest
;
4515 #define new_wxClientDC(_swigarg0) (new wxClientDC(_swigarg0))
4516 static PyObject
*_wrap_new_wxClientDC(PyObject
*self
, PyObject
*args
) {
4517 PyObject
* _resultobj
;
4518 wxClientDC
* _result
;
4524 if(!PyArg_ParseTuple(args
,"s:new_wxClientDC",&_argc0
))
4527 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
4528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxClientDC. Expected _wxWindow_p.");
4532 _result
= (wxClientDC
*)new_wxClientDC(_arg0
);
4533 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxClientDC_p");
4534 _resultobj
= Py_BuildValue("s",_ptemp
);
4538 static void *SwigwxPaintDCTowxDC(void *ptr
) {
4541 src
= (wxPaintDC
*) ptr
;
4542 dest
= (wxDC
*) src
;
4543 return (void *) dest
;
4546 #define new_wxPaintDC(_swigarg0) (new wxPaintDC(_swigarg0))
4547 static PyObject
*_wrap_new_wxPaintDC(PyObject
*self
, PyObject
*args
) {
4548 PyObject
* _resultobj
;
4549 wxPaintDC
* _result
;
4555 if(!PyArg_ParseTuple(args
,"s:new_wxPaintDC",&_argc0
))
4558 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
4559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPaintDC. Expected _wxWindow_p.");
4563 _result
= (wxPaintDC
*)new_wxPaintDC(_arg0
);
4564 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPaintDC_p");
4565 _resultobj
= Py_BuildValue("s",_ptemp
);
4569 static void *SwigwxWindowDCTowxDC(void *ptr
) {
4572 src
= (wxWindowDC
*) ptr
;
4573 dest
= (wxDC
*) src
;
4574 return (void *) dest
;
4577 #define new_wxWindowDC(_swigarg0) (new wxWindowDC(_swigarg0))
4578 static PyObject
*_wrap_new_wxWindowDC(PyObject
*self
, PyObject
*args
) {
4579 PyObject
* _resultobj
;
4580 wxWindowDC
* _result
;
4586 if(!PyArg_ParseTuple(args
,"s:new_wxWindowDC",&_argc0
))
4589 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
4590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDC. Expected _wxWindow_p.");
4594 _result
= (wxWindowDC
*)new_wxWindowDC(_arg0
);
4595 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDC_p");
4596 _resultobj
= Py_BuildValue("s",_ptemp
);
4600 static void *SwigwxPostScriptDCTowxDC(void *ptr
) {
4601 wxPostScriptDC
*src
;
4603 src
= (wxPostScriptDC
*) ptr
;
4604 dest
= (wxDC
*) src
;
4605 return (void *) dest
;
4608 #define new_wxPostScriptDC(_swigarg0,_swigarg1,_swigarg2) (new wxPostScriptDC(_swigarg0,_swigarg1,_swigarg2))
4609 static PyObject
*_wrap_new_wxPostScriptDC(PyObject
*self
, PyObject
*args
) {
4610 PyObject
* _resultobj
;
4611 wxPostScriptDC
* _result
;
4614 wxWindow
* _arg2
= NULL
;
4615 PyObject
* _obj0
= 0;
4621 if(!PyArg_ParseTuple(args
,"O|is:new_wxPostScriptDC",&_obj0
,&tempbool1
,&_argc2
))
4624 if (!PyString_Check(_obj0
)) {
4625 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4628 _arg0
= new wxString(PyString_AsString(_obj0
));
4630 _arg1
= (bool ) tempbool1
;
4632 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxWindow_p")) {
4633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPostScriptDC. Expected _wxWindow_p.");
4637 _result
= (wxPostScriptDC
*)new_wxPostScriptDC(*_arg0
,_arg1
,_arg2
);
4638 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPostScriptDC_p");
4639 _resultobj
= Py_BuildValue("s",_ptemp
);
4647 #define new_wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4648 static PyObject
*_wrap_new_wxPalette(PyObject
*self
, PyObject
*args
) {
4649 PyObject
* _resultobj
;
4650 wxPalette
* _result
;
4655 PyObject
* _obj1
= 0;
4656 PyObject
* _obj2
= 0;
4657 PyObject
* _obj3
= 0;
4661 if(!PyArg_ParseTuple(args
,"OOO:new_wxPalette",&_obj1
,&_obj2
,&_obj3
))
4664 _arg1
= byte_LIST_helper(_obj1
);
4665 if (_arg1
== NULL
) {
4670 _arg2
= byte_LIST_helper(_obj2
);
4671 if (_arg2
== NULL
) {
4677 _arg3
= byte_LIST_helper(_obj3
);
4678 if (_arg3
== NULL
) {
4683 _arg0
= PyList_Size(_obj1
);
4685 _result
= (wxPalette
*)new_wxPalette(_arg0
,_arg1
,_arg2
,_arg3
);
4686 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
4687 _resultobj
= Py_BuildValue("s",_ptemp
);
4700 #define delete_wxPalette(_swigobj) (delete _swigobj)
4701 static PyObject
*_wrap_delete_wxPalette(PyObject
*self
, PyObject
*args
) {
4702 PyObject
* _resultobj
;
4707 if(!PyArg_ParseTuple(args
,"s:delete_wxPalette",&_argc0
))
4710 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPalette_p")) {
4711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPalette. Expected _wxPalette_p.");
4715 delete_wxPalette(_arg0
);
4717 _resultobj
= Py_None
;
4721 #define wxPalette_GetPixel(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetPixel(_swigarg0,_swigarg1,_swigarg2))
4722 static PyObject
*_wrap_wxPalette_GetPixel(PyObject
*self
, PyObject
*args
) {
4723 PyObject
* _resultobj
;
4732 if(!PyArg_ParseTuple(args
,"sbbb:wxPalette_GetPixel",&_argc0
,&_arg1
,&_arg2
,&_arg3
))
4735 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPalette_p")) {
4736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetPixel. Expected _wxPalette_p.");
4740 _result
= (int )wxPalette_GetPixel(_arg0
,_arg1
,_arg2
,_arg3
);
4741 _resultobj
= Py_BuildValue("i",_result
);
4745 #define wxPalette_GetRGB(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetRGB(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4746 static PyObject
*_wrap_wxPalette_GetRGB(PyObject
*self
, PyObject
*args
) {
4747 PyObject
* _resultobj
;
4760 if(!PyArg_ParseTuple(args
,"sisss:wxPalette_GetRGB",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_argc4
))
4763 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPalette_p")) {
4764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetRGB. Expected _wxPalette_p.");
4769 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_byte_p")) {
4770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPalette_GetRGB. Expected _byte_p.");
4775 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_byte_p")) {
4776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxPalette_GetRGB. Expected _byte_p.");
4781 if (SWIG_GetPtr(_argc4
,(void **) &_arg4
,"_byte_p")) {
4782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxPalette_GetRGB. Expected _byte_p.");
4786 _result
= (bool )wxPalette_GetRGB(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4787 _resultobj
= Py_BuildValue("i",_result
);
4791 #define wxPalette_Ok(_swigobj) (_swigobj->Ok())
4792 static PyObject
*_wrap_wxPalette_Ok(PyObject
*self
, PyObject
*args
) {
4793 PyObject
* _resultobj
;
4799 if(!PyArg_ParseTuple(args
,"s:wxPalette_Ok",&_argc0
))
4802 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPalette_p")) {
4803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_Ok. Expected _wxPalette_p.");
4807 _result
= (bool )wxPalette_Ok(_arg0
);
4808 _resultobj
= Py_BuildValue("i",_result
);
4812 static PyMethodDef gdicMethods
[] = {
4813 { "wxPalette_Ok", _wrap_wxPalette_Ok
, 1 },
4814 { "wxPalette_GetRGB", _wrap_wxPalette_GetRGB
, 1 },
4815 { "wxPalette_GetPixel", _wrap_wxPalette_GetPixel
, 1 },
4816 { "delete_wxPalette", _wrap_delete_wxPalette
, 1 },
4817 { "new_wxPalette", _wrap_new_wxPalette
, 1 },
4818 { "new_wxPostScriptDC", _wrap_new_wxPostScriptDC
, 1 },
4819 { "new_wxWindowDC", _wrap_new_wxWindowDC
, 1 },
4820 { "new_wxPaintDC", _wrap_new_wxPaintDC
, 1 },
4821 { "new_wxClientDC", _wrap_new_wxClientDC
, 1 },
4822 { "wxScreenDC_EndDrawingOnTop", _wrap_wxScreenDC_EndDrawingOnTop
, 1 },
4823 { "wxScreenDC_StartDrawingOnTopRect", _wrap_wxScreenDC_StartDrawingOnTopRect
, 1 },
4824 { "wxScreenDC_StartDrawingOnTop", _wrap_wxScreenDC_StartDrawingOnTop
, 1 },
4825 { "new_wxScreenDC", _wrap_new_wxScreenDC
, 1 },
4826 { "wxMemoryDC_SelectObject", _wrap_wxMemoryDC_SelectObject
, 1 },
4827 { "new_wxMemoryDC", _wrap_new_wxMemoryDC
, 1 },
4828 { "wxDC_DrawBitmap", _wrap_wxDC_DrawBitmap
, 1 },
4829 { "wxDC_StartPage", _wrap_wxDC_StartPage
, 1 },
4830 { "wxDC_StartDoc", _wrap_wxDC_StartDoc
, 1 },
4831 { "wxDC_SetUserScale", _wrap_wxDC_SetUserScale
, 1 },
4832 { "wxDC_SetTextForeground", _wrap_wxDC_SetTextForeground
, 1 },
4833 { "wxDC_SetTextBackground", _wrap_wxDC_SetTextBackground
, 1 },
4834 { "wxDC_SetPen", _wrap_wxDC_SetPen
, 1 },
4835 { "wxDC_SetOptimization", _wrap_wxDC_SetOptimization
, 1 },
4836 { "wxDC_SetMapMode", _wrap_wxDC_SetMapMode
, 1 },
4837 { "wxDC_SetLogicalFunction", _wrap_wxDC_SetLogicalFunction
, 1 },
4838 { "wxDC_SetFont", _wrap_wxDC_SetFont
, 1 },
4839 { "wxDC_SetBrush", _wrap_wxDC_SetBrush
, 1 },
4840 { "wxDC_SetPalette", _wrap_wxDC_SetPalette
, 1 },
4841 { "wxDC_SetClippingRegion", _wrap_wxDC_SetClippingRegion
, 1 },
4842 { "wxDC_SetBackgroundMode", _wrap_wxDC_SetBackgroundMode
, 1 },
4843 { "wxDC_SetBackground", _wrap_wxDC_SetBackground
, 1 },
4844 { "wxDC_SetDeviceOrigin", _wrap_wxDC_SetDeviceOrigin
, 1 },
4845 { "wxDC_Ok", _wrap_wxDC_Ok
, 1 },
4846 { "wxDC_MinY", _wrap_wxDC_MinY
, 1 },
4847 { "wxDC_MinX", _wrap_wxDC_MinX
, 1 },
4848 { "wxDC_MaxY", _wrap_wxDC_MaxY
, 1 },
4849 { "wxDC_MaxX", _wrap_wxDC_MaxX
, 1 },
4850 { "wxDC_LogicalToDeviceYRel", _wrap_wxDC_LogicalToDeviceYRel
, 1 },
4851 { "wxDC_LogicalToDeviceY", _wrap_wxDC_LogicalToDeviceY
, 1 },
4852 { "wxDC_LogicalToDeviceXRel", _wrap_wxDC_LogicalToDeviceXRel
, 1 },
4853 { "wxDC_LogicalToDeviceX", _wrap_wxDC_LogicalToDeviceX
, 1 },
4854 { "wxDC_GetTextForeground", _wrap_wxDC_GetTextForeground
, 1 },
4855 { "wxDC_GetTextExtent", _wrap_wxDC_GetTextExtent
, 1 },
4856 { "wxDC_GetTextBackground", _wrap_wxDC_GetTextBackground
, 1 },
4857 { "wxDC_GetSize", _wrap_wxDC_GetSize
, 1 },
4858 { "wxDC_GetPixel", _wrap_wxDC_GetPixel
, 1 },
4859 { "wxDC_GetPen", _wrap_wxDC_GetPen
, 1 },
4860 { "wxDC_GetOptimization", _wrap_wxDC_GetOptimization
, 1 },
4861 { "wxDC_GetMapMode", _wrap_wxDC_GetMapMode
, 1 },
4862 { "wxDC_GetLogicalFunction", _wrap_wxDC_GetLogicalFunction
, 1 },
4863 { "wxDC_GetFont", _wrap_wxDC_GetFont
, 1 },
4864 { "wxDC_GetClippingBox", _wrap_wxDC_GetClippingBox
, 1 },
4865 { "wxDC_GetCharWidth", _wrap_wxDC_GetCharWidth
, 1 },
4866 { "wxDC_GetCharHeight", _wrap_wxDC_GetCharHeight
, 1 },
4867 { "wxDC_GetBrush", _wrap_wxDC_GetBrush
, 1 },
4868 { "wxDC_GetBackground", _wrap_wxDC_GetBackground
, 1 },
4869 { "wxDC_FloodFill", _wrap_wxDC_FloodFill
, 1 },
4870 { "wxDC_EndPage", _wrap_wxDC_EndPage
, 1 },
4871 { "wxDC_EndDrawing", _wrap_wxDC_EndDrawing
, 1 },
4872 { "wxDC_EndDoc", _wrap_wxDC_EndDoc
, 1 },
4873 { "wxDC_DrawText", _wrap_wxDC_DrawText
, 1 },
4874 { "wxDC_DrawSpline", _wrap_wxDC_DrawSpline
, 1 },
4875 { "wxDC_DrawRoundedRectangle", _wrap_wxDC_DrawRoundedRectangle
, 1 },
4876 { "wxDC_DrawRectangle", _wrap_wxDC_DrawRectangle
, 1 },
4877 { "wxDC_DrawPoint", _wrap_wxDC_DrawPoint
, 1 },
4878 { "wxDC_DrawPolygon", _wrap_wxDC_DrawPolygon
, 1 },
4879 { "wxDC_DrawLines", _wrap_wxDC_DrawLines
, 1 },
4880 { "wxDC_DrawLine", _wrap_wxDC_DrawLine
, 1 },
4881 { "wxDC_DrawIcon", _wrap_wxDC_DrawIcon
, 1 },
4882 { "wxDC_DrawEllipticArc", _wrap_wxDC_DrawEllipticArc
, 1 },
4883 { "wxDC_DrawEllipse", _wrap_wxDC_DrawEllipse
, 1 },
4884 { "wxDC_DrawArc", _wrap_wxDC_DrawArc
, 1 },
4885 { "wxDC_DeviceToLogicalYRel", _wrap_wxDC_DeviceToLogicalYRel
, 1 },
4886 { "wxDC_DeviceToLogicalY", _wrap_wxDC_DeviceToLogicalY
, 1 },
4887 { "wxDC_DeviceToLogicalXRel", _wrap_wxDC_DeviceToLogicalXRel
, 1 },
4888 { "wxDC_DeviceToLogicalX", _wrap_wxDC_DeviceToLogicalX
, 1 },
4889 { "wxDC_DestroyClippingRegion", _wrap_wxDC_DestroyClippingRegion
, 1 },
4890 { "wxDC_CrossHair", _wrap_wxDC_CrossHair
, 1 },
4891 { "wxDC_Clear", _wrap_wxDC_Clear
, 1 },
4892 { "wxDC_Blit", _wrap_wxDC_Blit
, 1 },
4893 { "wxDC_BeginDrawing", _wrap_wxDC_BeginDrawing
, 1 },
4894 { "delete_wxDC", _wrap_delete_wxDC
, 1 },
4895 { "wxBrush_SetStyle", _wrap_wxBrush_SetStyle
, 1 },
4896 { "wxBrush_SetStipple", _wrap_wxBrush_SetStipple
, 1 },
4897 { "wxBrush_SetColour", _wrap_wxBrush_SetColour
, 1 },
4898 { "wxBrush_Ok", _wrap_wxBrush_Ok
, 1 },
4899 { "wxBrush_GetStyle", _wrap_wxBrush_GetStyle
, 1 },
4900 { "wxBrush_GetStipple", _wrap_wxBrush_GetStipple
, 1 },
4901 { "wxBrush_GetColour", _wrap_wxBrush_GetColour
, 1 },
4902 { "new_wxBrush", _wrap_new_wxBrush
, 1 },
4903 { "wxPen_SetWidth", _wrap_wxPen_SetWidth
, 1 },
4904 { "wxPen_SetStyle", _wrap_wxPen_SetStyle
, 1 },
4905 { "wxPen_SetJoin", _wrap_wxPen_SetJoin
, 1 },
4906 { "wxPen_SetColour", _wrap_wxPen_SetColour
, 1 },
4907 { "wxPen_SetCap", _wrap_wxPen_SetCap
, 1 },
4908 { "wxPen_Ok", _wrap_wxPen_Ok
, 1 },
4909 { "wxPen_GetWidth", _wrap_wxPen_GetWidth
, 1 },
4910 { "wxPen_GetStyle", _wrap_wxPen_GetStyle
, 1 },
4911 { "wxPen_GetJoin", _wrap_wxPen_GetJoin
, 1 },
4912 { "wxPen_GetColour", _wrap_wxPen_GetColour
, 1 },
4913 { "wxPen_GetCap", _wrap_wxPen_GetCap
, 1 },
4914 { "new_wxPen", _wrap_new_wxPen
, 1 },
4915 { "wxColour_Get", _wrap_wxColour_Get
, 1 },
4916 { "wxColour_Set", _wrap_wxColour_Set
, 1 },
4917 { "wxColour_Ok", _wrap_wxColour_Ok
, 1 },
4918 { "wxColour_Blue", _wrap_wxColour_Blue
, 1 },
4919 { "wxColour_Green", _wrap_wxColour_Green
, 1 },
4920 { "wxColour_Red", _wrap_wxColour_Red
, 1 },
4921 { "delete_wxColour", _wrap_delete_wxColour
, 1 },
4922 { "new_wxColour", _wrap_new_wxColour
, 1 },
4923 { "wxFont_SetWeight", _wrap_wxFont_SetWeight
, 1 },
4924 { "wxFont_SetUnderlined", _wrap_wxFont_SetUnderlined
, 1 },
4925 { "wxFont_SetStyle", _wrap_wxFont_SetStyle
, 1 },
4926 { "wxFont_SetPointSize", _wrap_wxFont_SetPointSize
, 1 },
4927 { "wxFont_SetFamily", _wrap_wxFont_SetFamily
, 1 },
4928 { "wxFont_SetFaceName", _wrap_wxFont_SetFaceName
, 1 },
4929 { "wxFont_GetWeight", _wrap_wxFont_GetWeight
, 1 },
4930 { "wxFont_GetUnderlined", _wrap_wxFont_GetUnderlined
, 1 },
4931 { "wxFont_GetStyle", _wrap_wxFont_GetStyle
, 1 },
4932 { "wxFont_GetPointSize", _wrap_wxFont_GetPointSize
, 1 },
4933 { "wxFont_GetFamily", _wrap_wxFont_GetFamily
, 1 },
4934 { "wxFont_GetFaceName", _wrap_wxFont_GetFaceName
, 1 },
4935 { "new_wxFont", _wrap_new_wxFont
, 1 },
4936 { "wxCursor_Ok", _wrap_wxCursor_Ok
, 1 },
4937 { "delete_wxCursor", _wrap_delete_wxCursor
, 1 },
4938 { "wxIcon_SetWidth", _wrap_wxIcon_SetWidth
, 1 },
4939 { "wxIcon_SetHeight", _wrap_wxIcon_SetHeight
, 1 },
4940 { "wxIcon_SetDepth", _wrap_wxIcon_SetDepth
, 1 },
4941 { "wxIcon_Ok", _wrap_wxIcon_Ok
, 1 },
4942 { "wxIcon_LoadFile", _wrap_wxIcon_LoadFile
, 1 },
4943 { "wxIcon_GetWidth", _wrap_wxIcon_GetWidth
, 1 },
4944 { "wxIcon_GetHeight", _wrap_wxIcon_GetHeight
, 1 },
4945 { "wxIcon_GetDepth", _wrap_wxIcon_GetDepth
, 1 },
4946 { "delete_wxIcon", _wrap_delete_wxIcon
, 1 },
4947 { "delete_wxMask", _wrap_delete_wxMask
, 1 },
4948 { "new_wxMask", _wrap_new_wxMask
, 1 },
4949 { "wxBitmap_SetWidth", _wrap_wxBitmap_SetWidth
, 1 },
4950 { "wxBitmap_SetMask", _wrap_wxBitmap_SetMask
, 1 },
4951 { "wxBitmap_SetHeight", _wrap_wxBitmap_SetHeight
, 1 },
4952 { "wxBitmap_SetDepth", _wrap_wxBitmap_SetDepth
, 1 },
4953 { "wxBitmap_SaveFile", _wrap_wxBitmap_SaveFile
, 1 },
4954 { "wxBitmap_Ok", _wrap_wxBitmap_Ok
, 1 },
4955 { "wxBitmap_LoadFile", _wrap_wxBitmap_LoadFile
, 1 },
4956 { "wxBitmap_GetWidth", _wrap_wxBitmap_GetWidth
, 1 },
4957 { "wxBitmap_GetMask", _wrap_wxBitmap_GetMask
, 1 },
4958 { "wxBitmap_GetPalette", _wrap_wxBitmap_GetPalette
, 1 },
4959 { "wxBitmap_GetHeight", _wrap_wxBitmap_GetHeight
, 1 },
4960 { "wxBitmap_GetDepth", _wrap_wxBitmap_GetDepth
, 1 },
4961 { "delete_wxBitmap", _wrap_delete_wxBitmap
, 1 },
4962 { "new_wxBitmap", _wrap_new_wxBitmap
, 1 },
4963 { "wxMemoryDCFromDC", _wrap_wxMemoryDCFromDC
, 1 },
4964 { "wxNamedColour", _wrap_wxNamedColour
, 1 },
4965 { "wxStockCursor", _wrap_wxStockCursor
, 1 },
4966 { "wxMaskColour", _wrap_wxMaskColour
, 1 },
4967 { "wxNoRefBitmap", _wrap_wxNoRefBitmap
, 1 },
4968 { "wxEmptyBitmap", _wrap_wxEmptyBitmap
, 1 },
4971 static PyObject
*SWIG_globals
;
4975 SWIGEXPORT(void,initgdic
)() {
4977 SWIG_globals
= SWIG_newvarlink();
4978 m
= Py_InitModule("gdic", gdicMethods
);
4979 d
= PyModule_GetDict(m
);
4980 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
4981 SWIG_addvarlink(SWIG_globals
,"wxNORMAL_FONT",_wrap_wxNORMAL_FONT_get
, _wrap_wxNORMAL_FONT_set
);
4982 SWIG_addvarlink(SWIG_globals
,"wxSMALL_FONT",_wrap_wxSMALL_FONT_get
, _wrap_wxSMALL_FONT_set
);
4983 SWIG_addvarlink(SWIG_globals
,"wxITALIC_FONT",_wrap_wxITALIC_FONT_get
, _wrap_wxITALIC_FONT_set
);
4984 SWIG_addvarlink(SWIG_globals
,"wxSWISS_FONT",_wrap_wxSWISS_FONT_get
, _wrap_wxSWISS_FONT_set
);
4985 SWIG_addvarlink(SWIG_globals
,"wxRED_PEN",_wrap_wxRED_PEN_get
, _wrap_wxRED_PEN_set
);
4986 SWIG_addvarlink(SWIG_globals
,"wxCYAN_PEN",_wrap_wxCYAN_PEN_get
, _wrap_wxCYAN_PEN_set
);
4987 SWIG_addvarlink(SWIG_globals
,"wxGREEN_PEN",_wrap_wxGREEN_PEN_get
, _wrap_wxGREEN_PEN_set
);
4988 SWIG_addvarlink(SWIG_globals
,"wxBLACK_PEN",_wrap_wxBLACK_PEN_get
, _wrap_wxBLACK_PEN_set
);
4989 SWIG_addvarlink(SWIG_globals
,"wxWHITE_PEN",_wrap_wxWHITE_PEN_get
, _wrap_wxWHITE_PEN_set
);
4990 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_PEN",_wrap_wxTRANSPARENT_PEN_get
, _wrap_wxTRANSPARENT_PEN_set
);
4991 SWIG_addvarlink(SWIG_globals
,"wxBLACK_DASHED_PEN",_wrap_wxBLACK_DASHED_PEN_get
, _wrap_wxBLACK_DASHED_PEN_set
);
4992 SWIG_addvarlink(SWIG_globals
,"wxGREY_PEN",_wrap_wxGREY_PEN_get
, _wrap_wxGREY_PEN_set
);
4993 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_PEN",_wrap_wxMEDIUM_GREY_PEN_get
, _wrap_wxMEDIUM_GREY_PEN_set
);
4994 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_PEN",_wrap_wxLIGHT_GREY_PEN_get
, _wrap_wxLIGHT_GREY_PEN_set
);
4995 SWIG_addvarlink(SWIG_globals
,"wxBLUE_BRUSH",_wrap_wxBLUE_BRUSH_get
, _wrap_wxBLUE_BRUSH_set
);
4996 SWIG_addvarlink(SWIG_globals
,"wxGREEN_BRUSH",_wrap_wxGREEN_BRUSH_get
, _wrap_wxGREEN_BRUSH_set
);
4997 SWIG_addvarlink(SWIG_globals
,"wxWHITE_BRUSH",_wrap_wxWHITE_BRUSH_get
, _wrap_wxWHITE_BRUSH_set
);
4998 SWIG_addvarlink(SWIG_globals
,"wxBLACK_BRUSH",_wrap_wxBLACK_BRUSH_get
, _wrap_wxBLACK_BRUSH_set
);
4999 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_BRUSH",_wrap_wxTRANSPARENT_BRUSH_get
, _wrap_wxTRANSPARENT_BRUSH_set
);
5000 SWIG_addvarlink(SWIG_globals
,"wxCYAN_BRUSH",_wrap_wxCYAN_BRUSH_get
, _wrap_wxCYAN_BRUSH_set
);
5001 SWIG_addvarlink(SWIG_globals
,"wxRED_BRUSH",_wrap_wxRED_BRUSH_get
, _wrap_wxRED_BRUSH_set
);
5002 SWIG_addvarlink(SWIG_globals
,"wxGREY_BRUSH",_wrap_wxGREY_BRUSH_get
, _wrap_wxGREY_BRUSH_set
);
5003 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_BRUSH",_wrap_wxMEDIUM_GREY_BRUSH_get
, _wrap_wxMEDIUM_GREY_BRUSH_set
);
5004 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_BRUSH",_wrap_wxLIGHT_GREY_BRUSH_get
, _wrap_wxLIGHT_GREY_BRUSH_set
);
5005 SWIG_addvarlink(SWIG_globals
,"wxBLACK",_wrap_wxBLACK_get
, _wrap_wxBLACK_set
);
5006 SWIG_addvarlink(SWIG_globals
,"wxWHITE",_wrap_wxWHITE_get
, _wrap_wxWHITE_set
);
5007 SWIG_addvarlink(SWIG_globals
,"wxRED",_wrap_wxRED_get
, _wrap_wxRED_set
);
5008 SWIG_addvarlink(SWIG_globals
,"wxBLUE",_wrap_wxBLUE_get
, _wrap_wxBLUE_set
);
5009 SWIG_addvarlink(SWIG_globals
,"wxGREEN",_wrap_wxGREEN_get
, _wrap_wxGREEN_set
);
5010 SWIG_addvarlink(SWIG_globals
,"wxCYAN",_wrap_wxCYAN_get
, _wrap_wxCYAN_set
);
5011 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY",_wrap_wxLIGHT_GREY_get
, _wrap_wxLIGHT_GREY_set
);
5012 SWIG_addvarlink(SWIG_globals
,"wxSTANDARD_CURSOR",_wrap_wxSTANDARD_CURSOR_get
, _wrap_wxSTANDARD_CURSOR_set
);
5013 SWIG_addvarlink(SWIG_globals
,"wxHOURGLASS_CURSOR",_wrap_wxHOURGLASS_CURSOR_get
, _wrap_wxHOURGLASS_CURSOR_set
);
5014 SWIG_addvarlink(SWIG_globals
,"wxCROSS_CURSOR",_wrap_wxCROSS_CURSOR_get
, _wrap_wxCROSS_CURSOR_set
);
5015 SWIG_addvarlink(SWIG_globals
,"wxNullBitmap",_wrap_wxNullBitmap_get
, _wrap_wxNullBitmap_set
);
5016 SWIG_addvarlink(SWIG_globals
,"wxNullIcon",_wrap_wxNullIcon_get
, _wrap_wxNullIcon_set
);
5017 SWIG_addvarlink(SWIG_globals
,"wxNullCursor",_wrap_wxNullCursor_get
, _wrap_wxNullCursor_set
);
5018 SWIG_addvarlink(SWIG_globals
,"wxNullPen",_wrap_wxNullPen_get
, _wrap_wxNullPen_set
);
5019 SWIG_addvarlink(SWIG_globals
,"wxNullBrush",_wrap_wxNullBrush_get
, _wrap_wxNullBrush_set
);
5020 SWIG_addvarlink(SWIG_globals
,"wxNullPalette",_wrap_wxNullPalette_get
, _wrap_wxNullPalette_set
);
5021 SWIG_addvarlink(SWIG_globals
,"wxNullFont",_wrap_wxNullFont_get
, _wrap_wxNullFont_set
);
5022 SWIG_addvarlink(SWIG_globals
,"wxNullColour",_wrap_wxNullColour_get
, _wrap_wxNullColour_set
);
5024 * These are the pointer type-equivalency mappings.
5025 * (Used by the SWIG pointer type-checker).
5027 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
5028 SWIG_RegisterMapping("_signed_long","_long",0);
5029 SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
5030 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
5031 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
5032 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
5033 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
5034 SWIG_RegisterMapping("_byte","_unsigned_char",0);
5035 SWIG_RegisterMapping("_long","_wxDash",0);
5036 SWIG_RegisterMapping("_long","_unsigned_long",0);
5037 SWIG_RegisterMapping("_long","_signed_long",0);
5038 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
5039 SWIG_RegisterMapping("_wxDC","_class_wxPostScriptDC",SwigwxPostScriptDCTowxDC
);
5040 SWIG_RegisterMapping("_wxDC","_wxPostScriptDC",SwigwxPostScriptDCTowxDC
);
5041 SWIG_RegisterMapping("_wxDC","_class_wxWindowDC",SwigwxWindowDCTowxDC
);
5042 SWIG_RegisterMapping("_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC
);
5043 SWIG_RegisterMapping("_wxDC","_class_wxPaintDC",SwigwxPaintDCTowxDC
);
5044 SWIG_RegisterMapping("_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
);
5045 SWIG_RegisterMapping("_wxDC","_class_wxClientDC",SwigwxClientDCTowxDC
);
5046 SWIG_RegisterMapping("_wxDC","_wxClientDC",SwigwxClientDCTowxDC
);
5047 SWIG_RegisterMapping("_wxDC","_class_wxScreenDC",SwigwxScreenDCTowxDC
);
5048 SWIG_RegisterMapping("_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
);
5049 SWIG_RegisterMapping("_wxDC","_class_wxMemoryDC",SwigwxMemoryDCTowxDC
);
5050 SWIG_RegisterMapping("_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
);
5051 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
5052 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
5053 SWIG_RegisterMapping("_class_wxPostScriptDC","_wxPostScriptDC",0);
5054 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
5055 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
5056 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
5057 SWIG_RegisterMapping("_uint","_unsigned_int",0);
5058 SWIG_RegisterMapping("_uint","_int",0);
5059 SWIG_RegisterMapping("_uint","_wxWindowID",0);
5060 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
5061 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
5062 SWIG_RegisterMapping("_wxBitmap","_class_wxCursor",SwigwxCursorTowxBitmap
);
5063 SWIG_RegisterMapping("_wxBitmap","_wxCursor",SwigwxCursorTowxBitmap
);
5064 SWIG_RegisterMapping("_wxBitmap","_class_wxIcon",SwigwxIconTowxBitmap
);
5065 SWIG_RegisterMapping("_wxBitmap","_wxIcon",SwigwxIconTowxBitmap
);
5066 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
5067 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
5068 SWIG_RegisterMapping("_wxWindowDC","_class_wxWindowDC",0);
5069 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
5070 SWIG_RegisterMapping("_EBool","_signed_int",0);
5071 SWIG_RegisterMapping("_EBool","_int",0);
5072 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
5073 SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0);
5074 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
5075 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
5076 SWIG_RegisterMapping("_unsigned_long","_long",0);
5077 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
5078 SWIG_RegisterMapping("_class_wxDC","_class_wxPostScriptDC",SwigwxPostScriptDCTowxDC
);
5079 SWIG_RegisterMapping("_class_wxDC","_wxPostScriptDC",SwigwxPostScriptDCTowxDC
);
5080 SWIG_RegisterMapping("_class_wxDC","_class_wxWindowDC",SwigwxWindowDCTowxDC
);
5081 SWIG_RegisterMapping("_class_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC
);
5082 SWIG_RegisterMapping("_class_wxDC","_class_wxPaintDC",SwigwxPaintDCTowxDC
);
5083 SWIG_RegisterMapping("_class_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
);
5084 SWIG_RegisterMapping("_class_wxDC","_class_wxClientDC",SwigwxClientDCTowxDC
);
5085 SWIG_RegisterMapping("_class_wxDC","_wxClientDC",SwigwxClientDCTowxDC
);
5086 SWIG_RegisterMapping("_class_wxDC","_class_wxScreenDC",SwigwxScreenDCTowxDC
);
5087 SWIG_RegisterMapping("_class_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
);
5088 SWIG_RegisterMapping("_class_wxDC","_class_wxMemoryDC",SwigwxMemoryDCTowxDC
);
5089 SWIG_RegisterMapping("_class_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
);
5090 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
5091 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
5092 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
5093 SWIG_RegisterMapping("_signed_int","_EBool",0);
5094 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
5095 SWIG_RegisterMapping("_signed_int","_int",0);
5096 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
5097 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
5098 SWIG_RegisterMapping("_WXTYPE","_short",0);
5099 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
5100 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
5101 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
5102 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
5103 SWIG_RegisterMapping("_unsigned_short","_short",0);
5104 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
5105 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
5106 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
5107 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
5108 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
5109 SWIG_RegisterMapping("_signed_short","_short",0);
5110 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
5111 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
5112 SWIG_RegisterMapping("_class_wxWindowDC","_wxWindowDC",0);
5113 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
5114 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
5115 SWIG_RegisterMapping("_wxPostScriptDC","_class_wxPostScriptDC",0);
5116 SWIG_RegisterMapping("_unsigned_char","_byte",0);
5117 SWIG_RegisterMapping("_unsigned_int","_uint",0);
5118 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
5119 SWIG_RegisterMapping("_unsigned_int","_int",0);
5120 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
5121 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
5122 SWIG_RegisterMapping("_short","_WXTYPE",0);
5123 SWIG_RegisterMapping("_short","_unsigned_short",0);
5124 SWIG_RegisterMapping("_short","_signed_short",0);
5125 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
5126 SWIG_RegisterMapping("_wxWindowID","_uint",0);
5127 SWIG_RegisterMapping("_wxWindowID","_int",0);
5128 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
5129 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
5130 SWIG_RegisterMapping("_int","_EBool",0);
5131 SWIG_RegisterMapping("_int","_uint",0);
5132 SWIG_RegisterMapping("_int","_wxWindowID",0);
5133 SWIG_RegisterMapping("_int","_unsigned_int",0);
5134 SWIG_RegisterMapping("_int","_signed_int",0);
5135 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
5136 SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0);
5137 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
5138 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
5139 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
5140 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
5141 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
5142 SWIG_RegisterMapping("_wxPalette","_class_wxPalette",0);
5143 SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
5144 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
5145 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
5146 SWIG_RegisterMapping("_class_wxBitmap","_class_wxCursor",SwigwxCursorTowxBitmap
);
5147 SWIG_RegisterMapping("_class_wxBitmap","_wxCursor",SwigwxCursorTowxBitmap
);
5148 SWIG_RegisterMapping("_class_wxBitmap","_class_wxIcon",SwigwxIconTowxBitmap
);
5149 SWIG_RegisterMapping("_class_wxBitmap","_wxIcon",SwigwxIconTowxBitmap
);
5150 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
5151 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
5152 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
5153 SWIG_RegisterMapping("_wxDash","_long",0);
5154 SWIG_RegisterMapping("_class_wxPalette","_wxPalette",0);