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>
58 #include <wx/imaglist.h>
63 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
68 } else if (target
== Py_None
) {
72 if (!PyList_Check(target
)) {
74 target
= PyList_New(0);
75 PyList_Append(target
, o2
);
78 PyList_Append(target
,o
);
84 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
90 } else if (target
== Py_None
) {
94 if (!PyTuple_Check(target
)) {
96 target
= PyTuple_New(1);
97 PyTuple_SetItem(target
, 0, o2
);
100 PyTuple_SetItem(o3
, 0, o
);
103 target
= PySequence_Concat(o2
, o3
);
111 extern byte
* byte_LIST_helper(PyObject
* source
);
112 extern int* int_LIST_helper(PyObject
* source
);
113 extern long* long_LIST_helper(PyObject
* source
);
114 extern char** string_LIST_helper(PyObject
* source
);
115 extern wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
116 extern wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
117 extern wxString
* wxString_LIST_helper(PyObject
* source
);
118 extern wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
121 static char* wxStringErrorMsg
= "string type is required for parameter";
122 // Alternate 'constructor'
123 wxBitmap
* wxEmptyBitmap(int width
, int height
, int depth
=-1) {
124 return new wxBitmap(width
, height
, depth
);
127 // This one won't own the reference, so Python won't call
128 // the dtor, this is good for toolbars and such where
129 // the parent will manage the bitmap.
130 wxBitmap
* wxNoRefBitmap(char* name
, long flags
) {
131 return new wxBitmap(name
, flags
);
134 wxMask
* wxMaskColour(const wxBitmap
& bitmap
, const wxColour
& colour
) {
135 return new wxMask(bitmap
, colour
);
137 // Alternate 'constructor'
138 wxCursor
* wxPyStockCursor(int id
) {
139 return new wxCursor(id
);
141 // Alternate 'constructor'
142 wxColour
* wxNamedColour(const wxString
& colorName
) {
143 return new wxColour(colorName
);
145 // Alternate 'constructor'
146 wxMemoryDC
* wxMemoryDCFromDC(wxDC
* oldDC
) {
147 return new wxMemoryDC(oldDC
);
151 extern wxFont
* wxNORMAL_FONT
;
152 extern wxFont
* wxSMALL_FONT
;
153 extern wxFont
* wxITALIC_FONT
;
154 extern wxFont
* wxSWISS_FONT
;
155 extern wxPen
* wxRED_PEN
;
156 extern wxPen
* wxCYAN_PEN
;
157 extern wxPen
* wxGREEN_PEN
;
158 extern wxPen
* wxBLACK_PEN
;
159 extern wxPen
* wxWHITE_PEN
;
160 extern wxPen
* wxTRANSPARENT_PEN
;
161 extern wxPen
* wxBLACK_DASHED_PEN
;
162 extern wxPen
* wxGREY_PEN
;
163 extern wxPen
* wxMEDIUM_GREY_PEN
;
164 extern wxPen
* wxLIGHT_GREY_PEN
;
165 extern wxBrush
* wxBLUE_BRUSH
;
166 extern wxBrush
* wxGREEN_BRUSH
;
167 extern wxBrush
* wxWHITE_BRUSH
;
168 extern wxBrush
* wxBLACK_BRUSH
;
169 extern wxBrush
* wxTRANSPARENT_BRUSH
;
170 extern wxBrush
* wxCYAN_BRUSH
;
171 extern wxBrush
* wxRED_BRUSH
;
172 extern wxBrush
* wxGREY_BRUSH
;
173 extern wxBrush
* wxMEDIUM_GREY_BRUSH
;
174 extern wxBrush
* wxLIGHT_GREY_BRUSH
;
175 extern wxColour
* wxBLACK
;
176 extern wxColour
* wxWHITE
;
177 extern wxColour
* wxRED
;
178 extern wxColour
* wxBLUE
;
179 extern wxColour
* wxGREEN
;
180 extern wxColour
* wxCYAN
;
181 extern wxColour
* wxLIGHT_GREY
;
182 extern wxCursor
* wxSTANDARD_CURSOR
;
183 extern wxCursor
* wxHOURGLASS_CURSOR
;
184 extern wxCursor
* wxCROSS_CURSOR
;
185 extern wxBitmap wxNullBitmap
;
186 extern wxIcon wxNullIcon
;
187 extern wxCursor wxNullCursor
;
188 extern wxPen wxNullPen
;
189 extern wxBrush wxNullBrush
;
190 extern wxPalette wxNullPalette
;
191 extern wxFont wxNullFont
;
192 extern wxColour wxNullColour
;
195 static PyObject
*_wrap_wxEmptyBitmap(PyObject
*self
, PyObject
*args
) {
196 PyObject
* _resultobj
;
204 if(!PyArg_ParseTuple(args
,"ii|i:wxEmptyBitmap",&_arg0
,&_arg1
,&_arg2
))
206 _result
= (wxBitmap
*)wxEmptyBitmap(_arg0
,_arg1
,_arg2
);
207 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
208 _resultobj
= Py_BuildValue("s",_ptemp
);
212 static PyObject
*_wrap_wxNoRefBitmap(PyObject
*self
, PyObject
*args
) {
213 PyObject
* _resultobj
;
220 if(!PyArg_ParseTuple(args
,"sl:wxNoRefBitmap",&_arg0
,&_arg1
))
222 _result
= (wxBitmap
*)wxNoRefBitmap(_arg0
,_arg1
);
223 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
224 _resultobj
= Py_BuildValue("s",_ptemp
);
228 static PyObject
*_wrap_wxMaskColour(PyObject
*self
, PyObject
*args
) {
229 PyObject
* _resultobj
;
238 if(!PyArg_ParseTuple(args
,"ss:wxMaskColour",&_argc0
,&_argc1
))
241 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMaskColour. Expected _wxBitmap_p.");
247 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMaskColour. Expected _wxColour_p.");
252 _result
= (wxMask
*)wxMaskColour(*_arg0
,*_arg1
);
253 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
254 _resultobj
= Py_BuildValue("s",_ptemp
);
258 static PyObject
*_wrap_wxStockCursor(PyObject
*self
, PyObject
*args
) {
259 PyObject
* _resultobj
;
265 if(!PyArg_ParseTuple(args
,"i:wxStockCursor",&_arg0
))
267 _result
= (wxCursor
*)wxPyStockCursor(_arg0
);
268 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCursor_p");
269 _resultobj
= Py_BuildValue("s",_ptemp
);
273 static PyObject
*_wrap_wxNamedColour(PyObject
*self
, PyObject
*args
) {
274 PyObject
* _resultobj
;
277 PyObject
* _obj0
= 0;
281 if(!PyArg_ParseTuple(args
,"O:wxNamedColour",&_obj0
))
284 if (!PyString_Check(_obj0
)) {
285 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
288 _arg0
= new wxString(PyString_AsString(_obj0
));
290 _result
= (wxColour
*)wxNamedColour(*_arg0
);
291 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
292 _resultobj
= Py_BuildValue("s",_ptemp
);
300 static PyObject
*_wrap_wxMemoryDCFromDC(PyObject
*self
, PyObject
*args
) {
301 PyObject
* _resultobj
;
302 wxMemoryDC
* _result
;
308 if(!PyArg_ParseTuple(args
,"s:wxMemoryDCFromDC",&_argc0
))
311 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDCFromDC. Expected _wxDC_p.");
316 _result
= (wxMemoryDC
*)wxMemoryDCFromDC(_arg0
);
317 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
318 _resultobj
= Py_BuildValue("s",_ptemp
);
322 static int _wrap_wxNORMAL_FONT_set(PyObject
*val
) {
324 PyErr_SetString(PyExc_TypeError
,"Variable wxNORMAL_FONT is read-only.");
328 static PyObject
*_wrap_wxNORMAL_FONT_get() {
332 SWIG_MakePtr(ptemp
, (char *) wxNORMAL_FONT
,"_wxFont_p");
333 pyobj
= PyString_FromString(ptemp
);
337 static int _wrap_wxSMALL_FONT_set(PyObject
*val
) {
339 PyErr_SetString(PyExc_TypeError
,"Variable wxSMALL_FONT is read-only.");
343 static PyObject
*_wrap_wxSMALL_FONT_get() {
347 SWIG_MakePtr(ptemp
, (char *) wxSMALL_FONT
,"_wxFont_p");
348 pyobj
= PyString_FromString(ptemp
);
352 static int _wrap_wxITALIC_FONT_set(PyObject
*val
) {
354 PyErr_SetString(PyExc_TypeError
,"Variable wxITALIC_FONT is read-only.");
358 static PyObject
*_wrap_wxITALIC_FONT_get() {
362 SWIG_MakePtr(ptemp
, (char *) wxITALIC_FONT
,"_wxFont_p");
363 pyobj
= PyString_FromString(ptemp
);
367 static int _wrap_wxSWISS_FONT_set(PyObject
*val
) {
369 PyErr_SetString(PyExc_TypeError
,"Variable wxSWISS_FONT is read-only.");
373 static PyObject
*_wrap_wxSWISS_FONT_get() {
377 SWIG_MakePtr(ptemp
, (char *) wxSWISS_FONT
,"_wxFont_p");
378 pyobj
= PyString_FromString(ptemp
);
382 static int _wrap_wxRED_PEN_set(PyObject
*val
) {
384 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_PEN is read-only.");
388 static PyObject
*_wrap_wxRED_PEN_get() {
392 SWIG_MakePtr(ptemp
, (char *) wxRED_PEN
,"_wxPen_p");
393 pyobj
= PyString_FromString(ptemp
);
397 static int _wrap_wxCYAN_PEN_set(PyObject
*val
) {
399 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_PEN is read-only.");
403 static PyObject
*_wrap_wxCYAN_PEN_get() {
407 SWIG_MakePtr(ptemp
, (char *) wxCYAN_PEN
,"_wxPen_p");
408 pyobj
= PyString_FromString(ptemp
);
412 static int _wrap_wxGREEN_PEN_set(PyObject
*val
) {
414 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_PEN is read-only.");
418 static PyObject
*_wrap_wxGREEN_PEN_get() {
422 SWIG_MakePtr(ptemp
, (char *) wxGREEN_PEN
,"_wxPen_p");
423 pyobj
= PyString_FromString(ptemp
);
427 static int _wrap_wxBLACK_PEN_set(PyObject
*val
) {
429 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_PEN is read-only.");
433 static PyObject
*_wrap_wxBLACK_PEN_get() {
437 SWIG_MakePtr(ptemp
, (char *) wxBLACK_PEN
,"_wxPen_p");
438 pyobj
= PyString_FromString(ptemp
);
442 static int _wrap_wxWHITE_PEN_set(PyObject
*val
) {
444 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_PEN is read-only.");
448 static PyObject
*_wrap_wxWHITE_PEN_get() {
452 SWIG_MakePtr(ptemp
, (char *) wxWHITE_PEN
,"_wxPen_p");
453 pyobj
= PyString_FromString(ptemp
);
457 static int _wrap_wxTRANSPARENT_PEN_set(PyObject
*val
) {
459 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_PEN is read-only.");
463 static PyObject
*_wrap_wxTRANSPARENT_PEN_get() {
467 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_PEN
,"_wxPen_p");
468 pyobj
= PyString_FromString(ptemp
);
472 static int _wrap_wxBLACK_DASHED_PEN_set(PyObject
*val
) {
474 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_DASHED_PEN is read-only.");
478 static PyObject
*_wrap_wxBLACK_DASHED_PEN_get() {
482 SWIG_MakePtr(ptemp
, (char *) wxBLACK_DASHED_PEN
,"_wxPen_p");
483 pyobj
= PyString_FromString(ptemp
);
487 static int _wrap_wxGREY_PEN_set(PyObject
*val
) {
489 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_PEN is read-only.");
493 static PyObject
*_wrap_wxGREY_PEN_get() {
497 SWIG_MakePtr(ptemp
, (char *) wxGREY_PEN
,"_wxPen_p");
498 pyobj
= PyString_FromString(ptemp
);
502 static int _wrap_wxMEDIUM_GREY_PEN_set(PyObject
*val
) {
504 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_PEN is read-only.");
508 static PyObject
*_wrap_wxMEDIUM_GREY_PEN_get() {
512 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_PEN
,"_wxPen_p");
513 pyobj
= PyString_FromString(ptemp
);
517 static int _wrap_wxLIGHT_GREY_PEN_set(PyObject
*val
) {
519 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_PEN is read-only.");
523 static PyObject
*_wrap_wxLIGHT_GREY_PEN_get() {
527 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_PEN
,"_wxPen_p");
528 pyobj
= PyString_FromString(ptemp
);
532 static int _wrap_wxBLUE_BRUSH_set(PyObject
*val
) {
534 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE_BRUSH is read-only.");
538 static PyObject
*_wrap_wxBLUE_BRUSH_get() {
542 SWIG_MakePtr(ptemp
, (char *) wxBLUE_BRUSH
,"_wxBrush_p");
543 pyobj
= PyString_FromString(ptemp
);
547 static int _wrap_wxGREEN_BRUSH_set(PyObject
*val
) {
549 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_BRUSH is read-only.");
553 static PyObject
*_wrap_wxGREEN_BRUSH_get() {
557 SWIG_MakePtr(ptemp
, (char *) wxGREEN_BRUSH
,"_wxBrush_p");
558 pyobj
= PyString_FromString(ptemp
);
562 static int _wrap_wxWHITE_BRUSH_set(PyObject
*val
) {
564 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_BRUSH is read-only.");
568 static PyObject
*_wrap_wxWHITE_BRUSH_get() {
572 SWIG_MakePtr(ptemp
, (char *) wxWHITE_BRUSH
,"_wxBrush_p");
573 pyobj
= PyString_FromString(ptemp
);
577 static int _wrap_wxBLACK_BRUSH_set(PyObject
*val
) {
579 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_BRUSH is read-only.");
583 static PyObject
*_wrap_wxBLACK_BRUSH_get() {
587 SWIG_MakePtr(ptemp
, (char *) wxBLACK_BRUSH
,"_wxBrush_p");
588 pyobj
= PyString_FromString(ptemp
);
592 static int _wrap_wxTRANSPARENT_BRUSH_set(PyObject
*val
) {
594 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_BRUSH is read-only.");
598 static PyObject
*_wrap_wxTRANSPARENT_BRUSH_get() {
602 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_BRUSH
,"_wxBrush_p");
603 pyobj
= PyString_FromString(ptemp
);
607 static int _wrap_wxCYAN_BRUSH_set(PyObject
*val
) {
609 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_BRUSH is read-only.");
613 static PyObject
*_wrap_wxCYAN_BRUSH_get() {
617 SWIG_MakePtr(ptemp
, (char *) wxCYAN_BRUSH
,"_wxBrush_p");
618 pyobj
= PyString_FromString(ptemp
);
622 static int _wrap_wxRED_BRUSH_set(PyObject
*val
) {
624 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_BRUSH is read-only.");
628 static PyObject
*_wrap_wxRED_BRUSH_get() {
632 SWIG_MakePtr(ptemp
, (char *) wxRED_BRUSH
,"_wxBrush_p");
633 pyobj
= PyString_FromString(ptemp
);
637 static int _wrap_wxGREY_BRUSH_set(PyObject
*val
) {
639 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_BRUSH is read-only.");
643 static PyObject
*_wrap_wxGREY_BRUSH_get() {
647 SWIG_MakePtr(ptemp
, (char *) wxGREY_BRUSH
,"_wxBrush_p");
648 pyobj
= PyString_FromString(ptemp
);
652 static int _wrap_wxMEDIUM_GREY_BRUSH_set(PyObject
*val
) {
654 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_BRUSH is read-only.");
658 static PyObject
*_wrap_wxMEDIUM_GREY_BRUSH_get() {
662 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_BRUSH
,"_wxBrush_p");
663 pyobj
= PyString_FromString(ptemp
);
667 static int _wrap_wxLIGHT_GREY_BRUSH_set(PyObject
*val
) {
669 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_BRUSH is read-only.");
673 static PyObject
*_wrap_wxLIGHT_GREY_BRUSH_get() {
677 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_BRUSH
,"_wxBrush_p");
678 pyobj
= PyString_FromString(ptemp
);
682 static int _wrap_wxBLACK_set(PyObject
*val
) {
684 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK is read-only.");
688 static PyObject
*_wrap_wxBLACK_get() {
692 SWIG_MakePtr(ptemp
, (char *) wxBLACK
,"_wxColour_p");
693 pyobj
= PyString_FromString(ptemp
);
697 static int _wrap_wxWHITE_set(PyObject
*val
) {
699 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE is read-only.");
703 static PyObject
*_wrap_wxWHITE_get() {
707 SWIG_MakePtr(ptemp
, (char *) wxWHITE
,"_wxColour_p");
708 pyobj
= PyString_FromString(ptemp
);
712 static int _wrap_wxRED_set(PyObject
*val
) {
714 PyErr_SetString(PyExc_TypeError
,"Variable wxRED is read-only.");
718 static PyObject
*_wrap_wxRED_get() {
722 SWIG_MakePtr(ptemp
, (char *) wxRED
,"_wxColour_p");
723 pyobj
= PyString_FromString(ptemp
);
727 static int _wrap_wxBLUE_set(PyObject
*val
) {
729 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE is read-only.");
733 static PyObject
*_wrap_wxBLUE_get() {
737 SWIG_MakePtr(ptemp
, (char *) wxBLUE
,"_wxColour_p");
738 pyobj
= PyString_FromString(ptemp
);
742 static int _wrap_wxGREEN_set(PyObject
*val
) {
744 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN is read-only.");
748 static PyObject
*_wrap_wxGREEN_get() {
752 SWIG_MakePtr(ptemp
, (char *) wxGREEN
,"_wxColour_p");
753 pyobj
= PyString_FromString(ptemp
);
757 static int _wrap_wxCYAN_set(PyObject
*val
) {
759 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN is read-only.");
763 static PyObject
*_wrap_wxCYAN_get() {
767 SWIG_MakePtr(ptemp
, (char *) wxCYAN
,"_wxColour_p");
768 pyobj
= PyString_FromString(ptemp
);
772 static int _wrap_wxLIGHT_GREY_set(PyObject
*val
) {
774 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY is read-only.");
778 static PyObject
*_wrap_wxLIGHT_GREY_get() {
782 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY
,"_wxColour_p");
783 pyobj
= PyString_FromString(ptemp
);
787 static int _wrap_wxSTANDARD_CURSOR_set(PyObject
*val
) {
789 PyErr_SetString(PyExc_TypeError
,"Variable wxSTANDARD_CURSOR is read-only.");
793 static PyObject
*_wrap_wxSTANDARD_CURSOR_get() {
797 SWIG_MakePtr(ptemp
, (char *) wxSTANDARD_CURSOR
,"_wxCursor_p");
798 pyobj
= PyString_FromString(ptemp
);
802 static int _wrap_wxHOURGLASS_CURSOR_set(PyObject
*val
) {
804 PyErr_SetString(PyExc_TypeError
,"Variable wxHOURGLASS_CURSOR is read-only.");
808 static PyObject
*_wrap_wxHOURGLASS_CURSOR_get() {
812 SWIG_MakePtr(ptemp
, (char *) wxHOURGLASS_CURSOR
,"_wxCursor_p");
813 pyobj
= PyString_FromString(ptemp
);
817 static int _wrap_wxCROSS_CURSOR_set(PyObject
*val
) {
819 PyErr_SetString(PyExc_TypeError
,"Variable wxCROSS_CURSOR is read-only.");
823 static PyObject
*_wrap_wxCROSS_CURSOR_get() {
827 SWIG_MakePtr(ptemp
, (char *) wxCROSS_CURSOR
,"_wxCursor_p");
828 pyobj
= PyString_FromString(ptemp
);
832 static int _wrap_wxNullBitmap_set(PyObject
*val
) {
834 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBitmap is read-only.");
838 static PyObject
*_wrap_wxNullBitmap_get() {
842 SWIG_MakePtr(ptemp
,(char *) &wxNullBitmap
,"_wxBitmap_p");
843 pyobj
= PyString_FromString(ptemp
);
847 static int _wrap_wxNullIcon_set(PyObject
*val
) {
849 PyErr_SetString(PyExc_TypeError
,"Variable wxNullIcon is read-only.");
853 static PyObject
*_wrap_wxNullIcon_get() {
857 SWIG_MakePtr(ptemp
,(char *) &wxNullIcon
,"_wxIcon_p");
858 pyobj
= PyString_FromString(ptemp
);
862 static int _wrap_wxNullCursor_set(PyObject
*val
) {
864 PyErr_SetString(PyExc_TypeError
,"Variable wxNullCursor is read-only.");
868 static PyObject
*_wrap_wxNullCursor_get() {
872 SWIG_MakePtr(ptemp
,(char *) &wxNullCursor
,"_wxCursor_p");
873 pyobj
= PyString_FromString(ptemp
);
877 static int _wrap_wxNullPen_set(PyObject
*val
) {
879 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPen is read-only.");
883 static PyObject
*_wrap_wxNullPen_get() {
887 SWIG_MakePtr(ptemp
,(char *) &wxNullPen
,"_wxPen_p");
888 pyobj
= PyString_FromString(ptemp
);
892 static int _wrap_wxNullBrush_set(PyObject
*val
) {
894 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBrush is read-only.");
898 static PyObject
*_wrap_wxNullBrush_get() {
902 SWIG_MakePtr(ptemp
,(char *) &wxNullBrush
,"_wxBrush_p");
903 pyobj
= PyString_FromString(ptemp
);
907 static int _wrap_wxNullPalette_set(PyObject
*val
) {
909 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPalette is read-only.");
913 static PyObject
*_wrap_wxNullPalette_get() {
917 SWIG_MakePtr(ptemp
,(char *) &wxNullPalette
,"_wxPalette_p");
918 pyobj
= PyString_FromString(ptemp
);
922 static int _wrap_wxNullFont_set(PyObject
*val
) {
924 PyErr_SetString(PyExc_TypeError
,"Variable wxNullFont is read-only.");
928 static PyObject
*_wrap_wxNullFont_get() {
932 SWIG_MakePtr(ptemp
,(char *) &wxNullFont
,"_wxFont_p");
933 pyobj
= PyString_FromString(ptemp
);
937 static int _wrap_wxNullColour_set(PyObject
*val
) {
939 PyErr_SetString(PyExc_TypeError
,"Variable wxNullColour is read-only.");
943 static PyObject
*_wrap_wxNullColour_get() {
947 SWIG_MakePtr(ptemp
,(char *) &wxNullColour
,"_wxColour_p");
948 pyobj
= PyString_FromString(ptemp
);
952 #define new_wxBitmap(_swigarg0,_swigarg1) (new wxBitmap(_swigarg0,_swigarg1))
953 static PyObject
*_wrap_new_wxBitmap(PyObject
*self
, PyObject
*args
) {
954 PyObject
* _resultobj
;
958 PyObject
* _obj0
= 0;
962 if(!PyArg_ParseTuple(args
,"Ol:new_wxBitmap",&_obj0
,&_arg1
))
965 if (!PyString_Check(_obj0
)) {
966 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
969 _arg0
= new wxString(PyString_AsString(_obj0
));
971 _result
= (wxBitmap
*)new_wxBitmap(*_arg0
,_arg1
);
972 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
973 _resultobj
= Py_BuildValue("s",_ptemp
);
981 #define delete_wxBitmap(_swigobj) (delete _swigobj)
982 static PyObject
*_wrap_delete_wxBitmap(PyObject
*self
, PyObject
*args
) {
983 PyObject
* _resultobj
;
988 if(!PyArg_ParseTuple(args
,"s:delete_wxBitmap",&_argc0
))
991 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBitmap. Expected _wxBitmap_p.");
996 delete_wxBitmap(_arg0
);
998 _resultobj
= Py_None
;
1002 #define wxBitmap_GetDepth(_swigobj) (_swigobj->GetDepth())
1003 static PyObject
*_wrap_wxBitmap_GetDepth(PyObject
*self
, PyObject
*args
) {
1004 PyObject
* _resultobj
;
1010 if(!PyArg_ParseTuple(args
,"s:wxBitmap_GetDepth",&_argc0
))
1013 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetDepth. Expected _wxBitmap_p.");
1018 _result
= (int )wxBitmap_GetDepth(_arg0
);
1019 _resultobj
= Py_BuildValue("i",_result
);
1023 #define wxBitmap_GetHeight(_swigobj) (_swigobj->GetHeight())
1024 static PyObject
*_wrap_wxBitmap_GetHeight(PyObject
*self
, PyObject
*args
) {
1025 PyObject
* _resultobj
;
1031 if(!PyArg_ParseTuple(args
,"s:wxBitmap_GetHeight",&_argc0
))
1034 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetHeight. Expected _wxBitmap_p.");
1039 _result
= (int )wxBitmap_GetHeight(_arg0
);
1040 _resultobj
= Py_BuildValue("i",_result
);
1044 #define wxBitmap_GetPalette(_swigobj) (_swigobj->GetPalette())
1045 static PyObject
*_wrap_wxBitmap_GetPalette(PyObject
*self
, PyObject
*args
) {
1046 PyObject
* _resultobj
;
1047 wxPalette
* _result
;
1053 if(!PyArg_ParseTuple(args
,"s:wxBitmap_GetPalette",&_argc0
))
1056 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetPalette. Expected _wxBitmap_p.");
1061 _result
= (wxPalette
*)wxBitmap_GetPalette(_arg0
);
1062 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
1063 _resultobj
= Py_BuildValue("s",_ptemp
);
1067 #define wxBitmap_GetMask(_swigobj) (_swigobj->GetMask())
1068 static PyObject
*_wrap_wxBitmap_GetMask(PyObject
*self
, PyObject
*args
) {
1069 PyObject
* _resultobj
;
1076 if(!PyArg_ParseTuple(args
,"s:wxBitmap_GetMask",&_argc0
))
1079 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetMask. Expected _wxBitmap_p.");
1084 _result
= (wxMask
*)wxBitmap_GetMask(_arg0
);
1085 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
1086 _resultobj
= Py_BuildValue("s",_ptemp
);
1090 #define wxBitmap_GetWidth(_swigobj) (_swigobj->GetWidth())
1091 static PyObject
*_wrap_wxBitmap_GetWidth(PyObject
*self
, PyObject
*args
) {
1092 PyObject
* _resultobj
;
1098 if(!PyArg_ParseTuple(args
,"s:wxBitmap_GetWidth",&_argc0
))
1101 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetWidth. Expected _wxBitmap_p.");
1106 _result
= (int )wxBitmap_GetWidth(_arg0
);
1107 _resultobj
= Py_BuildValue("i",_result
);
1111 #define wxBitmap_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1112 static PyObject
*_wrap_wxBitmap_LoadFile(PyObject
*self
, PyObject
*args
) {
1113 PyObject
* _resultobj
;
1119 PyObject
* _obj1
= 0;
1122 if(!PyArg_ParseTuple(args
,"sOl:wxBitmap_LoadFile",&_argc0
,&_obj1
,&_arg2
))
1125 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_LoadFile. Expected _wxBitmap_p.");
1131 if (!PyString_Check(_obj1
)) {
1132 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1135 _arg1
= new wxString(PyString_AsString(_obj1
));
1137 _result
= (bool )wxBitmap_LoadFile(_arg0
,*_arg1
,_arg2
);
1138 _resultobj
= Py_BuildValue("i",_result
);
1146 #define wxBitmap_Ok(_swigobj) (_swigobj->Ok())
1147 static PyObject
*_wrap_wxBitmap_Ok(PyObject
*self
, PyObject
*args
) {
1148 PyObject
* _resultobj
;
1154 if(!PyArg_ParseTuple(args
,"s:wxBitmap_Ok",&_argc0
))
1157 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_Ok. Expected _wxBitmap_p.");
1162 _result
= (bool )wxBitmap_Ok(_arg0
);
1163 _resultobj
= Py_BuildValue("i",_result
);
1167 #define wxBitmap_SaveFile(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SaveFile(_swigarg0,_swigarg1,_swigarg2))
1168 static PyObject
*_wrap_wxBitmap_SaveFile(PyObject
*self
, PyObject
*args
) {
1169 PyObject
* _resultobj
;
1174 wxPalette
* _arg3
= NULL
;
1176 PyObject
* _obj1
= 0;
1180 if(!PyArg_ParseTuple(args
,"sOi|s:wxBitmap_SaveFile",&_argc0
,&_obj1
,&_arg2
,&_argc3
))
1183 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SaveFile. Expected _wxBitmap_p.");
1189 if (!PyString_Check(_obj1
)) {
1190 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1193 _arg1
= new wxString(PyString_AsString(_obj1
));
1196 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxPalette_p")) {
1197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxBitmap_SaveFile. Expected _wxPalette_p.");
1201 _result
= (bool )wxBitmap_SaveFile(_arg0
,*_arg1
,_arg2
,_arg3
);
1202 _resultobj
= Py_BuildValue("i",_result
);
1210 #define wxBitmap_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
1211 static PyObject
*_wrap_wxBitmap_SetDepth(PyObject
*self
, PyObject
*args
) {
1212 PyObject
* _resultobj
;
1218 if(!PyArg_ParseTuple(args
,"si:wxBitmap_SetDepth",&_argc0
,&_arg1
))
1221 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetDepth. Expected _wxBitmap_p.");
1226 wxBitmap_SetDepth(_arg0
,_arg1
);
1228 _resultobj
= Py_None
;
1232 #define wxBitmap_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1233 static PyObject
*_wrap_wxBitmap_SetHeight(PyObject
*self
, PyObject
*args
) {
1234 PyObject
* _resultobj
;
1240 if(!PyArg_ParseTuple(args
,"si:wxBitmap_SetHeight",&_argc0
,&_arg1
))
1243 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetHeight. Expected _wxBitmap_p.");
1248 wxBitmap_SetHeight(_arg0
,_arg1
);
1250 _resultobj
= Py_None
;
1254 #define wxBitmap_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
1255 static PyObject
*_wrap_wxBitmap_SetMask(PyObject
*self
, PyObject
*args
) {
1256 PyObject
* _resultobj
;
1263 if(!PyArg_ParseTuple(args
,"ss:wxBitmap_SetMask",&_argc0
,&_argc1
))
1266 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetMask. Expected _wxBitmap_p.");
1272 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxMask_p")) {
1273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_SetMask. Expected _wxMask_p.");
1277 wxBitmap_SetMask(_arg0
,_arg1
);
1279 _resultobj
= Py_None
;
1283 #define wxBitmap_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1284 static PyObject
*_wrap_wxBitmap_SetWidth(PyObject
*self
, PyObject
*args
) {
1285 PyObject
* _resultobj
;
1291 if(!PyArg_ParseTuple(args
,"si:wxBitmap_SetWidth",&_argc0
,&_arg1
))
1294 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetWidth. Expected _wxBitmap_p.");
1299 wxBitmap_SetWidth(_arg0
,_arg1
);
1301 _resultobj
= Py_None
;
1305 #define new_wxMask(_swigarg0) (new wxMask(_swigarg0))
1306 static PyObject
*_wrap_new_wxMask(PyObject
*self
, PyObject
*args
) {
1307 PyObject
* _resultobj
;
1314 if(!PyArg_ParseTuple(args
,"s:new_wxMask",&_argc0
))
1317 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMask. Expected _wxBitmap_p.");
1322 _result
= (wxMask
*)new_wxMask(*_arg0
);
1323 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
1324 _resultobj
= Py_BuildValue("s",_ptemp
);
1328 #define delete_wxMask(_swigobj) (delete _swigobj)
1329 static PyObject
*_wrap_delete_wxMask(PyObject
*self
, PyObject
*args
) {
1330 PyObject
* _resultobj
;
1335 if(!PyArg_ParseTuple(args
,"s:delete_wxMask",&_argc0
))
1338 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMask_p")) {
1339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMask. Expected _wxMask_p.");
1343 delete_wxMask(_arg0
);
1345 _resultobj
= Py_None
;
1349 static void *SwigwxIconTowxBitmap(void *ptr
) {
1352 src
= (wxIcon
*) ptr
;
1353 dest
= (wxBitmap
*) src
;
1354 return (void *) dest
;
1357 #define delete_wxIcon(_swigobj) (delete _swigobj)
1358 static PyObject
*_wrap_delete_wxIcon(PyObject
*self
, PyObject
*args
) {
1359 PyObject
* _resultobj
;
1364 if(!PyArg_ParseTuple(args
,"s:delete_wxIcon",&_argc0
))
1367 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxIcon. Expected _wxIcon_p.");
1372 delete_wxIcon(_arg0
);
1374 _resultobj
= Py_None
;
1378 #define wxIcon_GetDepth(_swigobj) (_swigobj->GetDepth())
1379 static PyObject
*_wrap_wxIcon_GetDepth(PyObject
*self
, PyObject
*args
) {
1380 PyObject
* _resultobj
;
1386 if(!PyArg_ParseTuple(args
,"s:wxIcon_GetDepth",&_argc0
))
1389 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetDepth. Expected _wxIcon_p.");
1394 _result
= (int )wxIcon_GetDepth(_arg0
);
1395 _resultobj
= Py_BuildValue("i",_result
);
1399 #define wxIcon_GetHeight(_swigobj) (_swigobj->GetHeight())
1400 static PyObject
*_wrap_wxIcon_GetHeight(PyObject
*self
, PyObject
*args
) {
1401 PyObject
* _resultobj
;
1407 if(!PyArg_ParseTuple(args
,"s:wxIcon_GetHeight",&_argc0
))
1410 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetHeight. Expected _wxIcon_p.");
1415 _result
= (int )wxIcon_GetHeight(_arg0
);
1416 _resultobj
= Py_BuildValue("i",_result
);
1420 #define wxIcon_GetWidth(_swigobj) (_swigobj->GetWidth())
1421 static PyObject
*_wrap_wxIcon_GetWidth(PyObject
*self
, PyObject
*args
) {
1422 PyObject
* _resultobj
;
1428 if(!PyArg_ParseTuple(args
,"s:wxIcon_GetWidth",&_argc0
))
1431 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetWidth. Expected _wxIcon_p.");
1436 _result
= (int )wxIcon_GetWidth(_arg0
);
1437 _resultobj
= Py_BuildValue("i",_result
);
1441 #define wxIcon_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1442 static PyObject
*_wrap_wxIcon_LoadFile(PyObject
*self
, PyObject
*args
) {
1443 PyObject
* _resultobj
;
1449 PyObject
* _obj1
= 0;
1452 if(!PyArg_ParseTuple(args
,"sOl:wxIcon_LoadFile",&_argc0
,&_obj1
,&_arg2
))
1455 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_LoadFile. Expected _wxIcon_p.");
1461 if (!PyString_Check(_obj1
)) {
1462 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1465 _arg1
= new wxString(PyString_AsString(_obj1
));
1467 _result
= (bool )wxIcon_LoadFile(_arg0
,*_arg1
,_arg2
);
1468 _resultobj
= Py_BuildValue("i",_result
);
1476 #define wxIcon_Ok(_swigobj) (_swigobj->Ok())
1477 static PyObject
*_wrap_wxIcon_Ok(PyObject
*self
, PyObject
*args
) {
1478 PyObject
* _resultobj
;
1484 if(!PyArg_ParseTuple(args
,"s:wxIcon_Ok",&_argc0
))
1487 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_Ok. Expected _wxIcon_p.");
1492 _result
= (bool )wxIcon_Ok(_arg0
);
1493 _resultobj
= Py_BuildValue("i",_result
);
1497 #define wxIcon_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
1498 static PyObject
*_wrap_wxIcon_SetDepth(PyObject
*self
, PyObject
*args
) {
1499 PyObject
* _resultobj
;
1505 if(!PyArg_ParseTuple(args
,"si:wxIcon_SetDepth",&_argc0
,&_arg1
))
1508 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetDepth. Expected _wxIcon_p.");
1513 wxIcon_SetDepth(_arg0
,_arg1
);
1515 _resultobj
= Py_None
;
1519 #define wxIcon_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1520 static PyObject
*_wrap_wxIcon_SetHeight(PyObject
*self
, PyObject
*args
) {
1521 PyObject
* _resultobj
;
1527 if(!PyArg_ParseTuple(args
,"si:wxIcon_SetHeight",&_argc0
,&_arg1
))
1530 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetHeight. Expected _wxIcon_p.");
1535 wxIcon_SetHeight(_arg0
,_arg1
);
1537 _resultobj
= Py_None
;
1541 #define wxIcon_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1542 static PyObject
*_wrap_wxIcon_SetWidth(PyObject
*self
, PyObject
*args
) {
1543 PyObject
* _resultobj
;
1549 if(!PyArg_ParseTuple(args
,"si:wxIcon_SetWidth",&_argc0
,&_arg1
))
1552 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetWidth. Expected _wxIcon_p.");
1557 wxIcon_SetWidth(_arg0
,_arg1
);
1559 _resultobj
= Py_None
;
1563 static void *SwigwxCursorTowxBitmap(void *ptr
) {
1566 src
= (wxCursor
*) ptr
;
1567 dest
= (wxBitmap
*) src
;
1568 return (void *) dest
;
1571 #define delete_wxCursor(_swigobj) (delete _swigobj)
1572 static PyObject
*_wrap_delete_wxCursor(PyObject
*self
, PyObject
*args
) {
1573 PyObject
* _resultobj
;
1578 if(!PyArg_ParseTuple(args
,"s:delete_wxCursor",&_argc0
))
1581 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxCursor_p")) {
1582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCursor. Expected _wxCursor_p.");
1586 delete_wxCursor(_arg0
);
1588 _resultobj
= Py_None
;
1592 #define wxCursor_Ok(_swigobj) (_swigobj->Ok())
1593 static PyObject
*_wrap_wxCursor_Ok(PyObject
*self
, PyObject
*args
) {
1594 PyObject
* _resultobj
;
1600 if(!PyArg_ParseTuple(args
,"s:wxCursor_Ok",&_argc0
))
1603 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxCursor_p")) {
1604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_Ok. Expected _wxCursor_p.");
1608 _result
= (bool )wxCursor_Ok(_arg0
);
1609 _resultobj
= Py_BuildValue("i",_result
);
1613 static wxFont
*new_wxFont(int pointSize
,int family
,int style
,int weight
,int underline
,char *faceName
) {
1615 return wxTheFontList
->FindOrCreateFont(pointSize
, family
, style
, weight
,
1616 underline
, faceName
);
1619 static PyObject
*_wrap_new_wxFont(PyObject
*self
, PyObject
*args
) {
1620 PyObject
* _resultobj
;
1631 if(!PyArg_ParseTuple(args
,"iiii|is:new_wxFont",&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
1633 _result
= (wxFont
*)new_wxFont(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1634 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1635 _resultobj
= Py_BuildValue("s",_ptemp
);
1639 #define wxFont_GetFaceName(_swigobj) (_swigobj->GetFaceName())
1640 static PyObject
*_wrap_wxFont_GetFaceName(PyObject
*self
, PyObject
*args
) {
1641 PyObject
* _resultobj
;
1647 if(!PyArg_ParseTuple(args
,"s:wxFont_GetFaceName",&_argc0
))
1650 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFaceName. Expected _wxFont_p.");
1655 _result
= new wxString (wxFont_GetFaceName(_arg0
));
1657 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1665 #define wxFont_GetFamily(_swigobj) (_swigobj->GetFamily())
1666 static PyObject
*_wrap_wxFont_GetFamily(PyObject
*self
, PyObject
*args
) {
1667 PyObject
* _resultobj
;
1673 if(!PyArg_ParseTuple(args
,"s:wxFont_GetFamily",&_argc0
))
1676 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFamily. Expected _wxFont_p.");
1681 _result
= (int )wxFont_GetFamily(_arg0
);
1682 _resultobj
= Py_BuildValue("i",_result
);
1686 #define wxFont_GetPointSize(_swigobj) (_swigobj->GetPointSize())
1687 static PyObject
*_wrap_wxFont_GetPointSize(PyObject
*self
, PyObject
*args
) {
1688 PyObject
* _resultobj
;
1694 if(!PyArg_ParseTuple(args
,"s:wxFont_GetPointSize",&_argc0
))
1697 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetPointSize. Expected _wxFont_p.");
1702 _result
= (int )wxFont_GetPointSize(_arg0
);
1703 _resultobj
= Py_BuildValue("i",_result
);
1707 #define wxFont_GetStyle(_swigobj) (_swigobj->GetStyle())
1708 static PyObject
*_wrap_wxFont_GetStyle(PyObject
*self
, PyObject
*args
) {
1709 PyObject
* _resultobj
;
1715 if(!PyArg_ParseTuple(args
,"s:wxFont_GetStyle",&_argc0
))
1718 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetStyle. Expected _wxFont_p.");
1723 _result
= (int )wxFont_GetStyle(_arg0
);
1724 _resultobj
= Py_BuildValue("i",_result
);
1728 #define wxFont_GetUnderlined(_swigobj) (_swigobj->GetUnderlined())
1729 static PyObject
*_wrap_wxFont_GetUnderlined(PyObject
*self
, PyObject
*args
) {
1730 PyObject
* _resultobj
;
1736 if(!PyArg_ParseTuple(args
,"s:wxFont_GetUnderlined",&_argc0
))
1739 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetUnderlined. Expected _wxFont_p.");
1744 _result
= (bool )wxFont_GetUnderlined(_arg0
);
1745 _resultobj
= Py_BuildValue("i",_result
);
1749 #define wxFont_GetWeight(_swigobj) (_swigobj->GetWeight())
1750 static PyObject
*_wrap_wxFont_GetWeight(PyObject
*self
, PyObject
*args
) {
1751 PyObject
* _resultobj
;
1757 if(!PyArg_ParseTuple(args
,"s:wxFont_GetWeight",&_argc0
))
1760 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetWeight. Expected _wxFont_p.");
1765 _result
= (int )wxFont_GetWeight(_arg0
);
1766 _resultobj
= Py_BuildValue("i",_result
);
1770 #define wxFont_SetFaceName(_swigobj,_swigarg0) (_swigobj->SetFaceName(_swigarg0))
1771 static PyObject
*_wrap_wxFont_SetFaceName(PyObject
*self
, PyObject
*args
) {
1772 PyObject
* _resultobj
;
1776 PyObject
* _obj1
= 0;
1779 if(!PyArg_ParseTuple(args
,"sO:wxFont_SetFaceName",&_argc0
,&_obj1
))
1782 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFaceName. Expected _wxFont_p.");
1788 if (!PyString_Check(_obj1
)) {
1789 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1792 _arg1
= new wxString(PyString_AsString(_obj1
));
1794 wxFont_SetFaceName(_arg0
,*_arg1
);
1796 _resultobj
= Py_None
;
1804 #define wxFont_SetFamily(_swigobj,_swigarg0) (_swigobj->SetFamily(_swigarg0))
1805 static PyObject
*_wrap_wxFont_SetFamily(PyObject
*self
, PyObject
*args
) {
1806 PyObject
* _resultobj
;
1812 if(!PyArg_ParseTuple(args
,"si:wxFont_SetFamily",&_argc0
,&_arg1
))
1815 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFamily. Expected _wxFont_p.");
1820 wxFont_SetFamily(_arg0
,_arg1
);
1822 _resultobj
= Py_None
;
1826 #define wxFont_SetPointSize(_swigobj,_swigarg0) (_swigobj->SetPointSize(_swigarg0))
1827 static PyObject
*_wrap_wxFont_SetPointSize(PyObject
*self
, PyObject
*args
) {
1828 PyObject
* _resultobj
;
1834 if(!PyArg_ParseTuple(args
,"si:wxFont_SetPointSize",&_argc0
,&_arg1
))
1837 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetPointSize. Expected _wxFont_p.");
1842 wxFont_SetPointSize(_arg0
,_arg1
);
1844 _resultobj
= Py_None
;
1848 #define wxFont_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
1849 static PyObject
*_wrap_wxFont_SetStyle(PyObject
*self
, PyObject
*args
) {
1850 PyObject
* _resultobj
;
1856 if(!PyArg_ParseTuple(args
,"si:wxFont_SetStyle",&_argc0
,&_arg1
))
1859 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetStyle. Expected _wxFont_p.");
1864 wxFont_SetStyle(_arg0
,_arg1
);
1866 _resultobj
= Py_None
;
1870 #define wxFont_SetUnderlined(_swigobj,_swigarg0) (_swigobj->SetUnderlined(_swigarg0))
1871 static PyObject
*_wrap_wxFont_SetUnderlined(PyObject
*self
, PyObject
*args
) {
1872 PyObject
* _resultobj
;
1879 if(!PyArg_ParseTuple(args
,"si:wxFont_SetUnderlined",&_argc0
,&tempbool1
))
1882 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetUnderlined. Expected _wxFont_p.");
1887 _arg1
= (bool ) tempbool1
;
1888 wxFont_SetUnderlined(_arg0
,_arg1
);
1890 _resultobj
= Py_None
;
1894 #define wxFont_SetWeight(_swigobj,_swigarg0) (_swigobj->SetWeight(_swigarg0))
1895 static PyObject
*_wrap_wxFont_SetWeight(PyObject
*self
, PyObject
*args
) {
1896 PyObject
* _resultobj
;
1902 if(!PyArg_ParseTuple(args
,"si:wxFont_SetWeight",&_argc0
,&_arg1
))
1905 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetWeight. Expected _wxFont_p.");
1910 wxFont_SetWeight(_arg0
,_arg1
);
1912 _resultobj
= Py_None
;
1916 #define new_wxColour(_swigarg0,_swigarg1,_swigarg2) (new wxColour(_swigarg0,_swigarg1,_swigarg2))
1917 static PyObject
*_wrap_new_wxColour(PyObject
*self
, PyObject
*args
) {
1918 PyObject
* _resultobj
;
1920 unsigned char _arg0
= 0;
1921 unsigned char _arg1
= 0;
1922 unsigned char _arg2
= 0;
1926 if(!PyArg_ParseTuple(args
,"|bbb:new_wxColour",&_arg0
,&_arg1
,&_arg2
))
1928 _result
= (wxColour
*)new_wxColour(_arg0
,_arg1
,_arg2
);
1929 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1930 _resultobj
= Py_BuildValue("s",_ptemp
);
1934 #define delete_wxColour(_swigobj) (delete _swigobj)
1935 static PyObject
*_wrap_delete_wxColour(PyObject
*self
, PyObject
*args
) {
1936 PyObject
* _resultobj
;
1941 if(!PyArg_ParseTuple(args
,"s:delete_wxColour",&_argc0
))
1944 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
1945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxColour. Expected _wxColour_p.");
1949 delete_wxColour(_arg0
);
1951 _resultobj
= Py_None
;
1955 #define wxColour_Red(_swigobj) (_swigobj->Red())
1956 static PyObject
*_wrap_wxColour_Red(PyObject
*self
, PyObject
*args
) {
1957 PyObject
* _resultobj
;
1958 unsigned char _result
;
1963 if(!PyArg_ParseTuple(args
,"s:wxColour_Red",&_argc0
))
1966 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
1967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Red. Expected _wxColour_p.");
1971 _result
= (unsigned char )wxColour_Red(_arg0
);
1972 _resultobj
= Py_BuildValue("b",_result
);
1976 #define wxColour_Green(_swigobj) (_swigobj->Green())
1977 static PyObject
*_wrap_wxColour_Green(PyObject
*self
, PyObject
*args
) {
1978 PyObject
* _resultobj
;
1979 unsigned char _result
;
1984 if(!PyArg_ParseTuple(args
,"s:wxColour_Green",&_argc0
))
1987 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
1988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Green. Expected _wxColour_p.");
1992 _result
= (unsigned char )wxColour_Green(_arg0
);
1993 _resultobj
= Py_BuildValue("b",_result
);
1997 #define wxColour_Blue(_swigobj) (_swigobj->Blue())
1998 static PyObject
*_wrap_wxColour_Blue(PyObject
*self
, PyObject
*args
) {
1999 PyObject
* _resultobj
;
2000 unsigned char _result
;
2005 if(!PyArg_ParseTuple(args
,"s:wxColour_Blue",&_argc0
))
2008 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Blue. Expected _wxColour_p.");
2013 _result
= (unsigned char )wxColour_Blue(_arg0
);
2014 _resultobj
= Py_BuildValue("b",_result
);
2018 #define wxColour_Ok(_swigobj) (_swigobj->Ok())
2019 static PyObject
*_wrap_wxColour_Ok(PyObject
*self
, PyObject
*args
) {
2020 PyObject
* _resultobj
;
2026 if(!PyArg_ParseTuple(args
,"s:wxColour_Ok",&_argc0
))
2029 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Ok. Expected _wxColour_p.");
2034 _result
= (bool )wxColour_Ok(_arg0
);
2035 _resultobj
= Py_BuildValue("i",_result
);
2039 #define wxColour_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
2040 static PyObject
*_wrap_wxColour_Set(PyObject
*self
, PyObject
*args
) {
2041 PyObject
* _resultobj
;
2043 unsigned char _arg1
;
2044 unsigned char _arg2
;
2045 unsigned char _arg3
;
2049 if(!PyArg_ParseTuple(args
,"sbbb:wxColour_Set",&_argc0
,&_arg1
,&_arg2
,&_arg3
))
2052 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Set. Expected _wxColour_p.");
2057 wxColour_Set(_arg0
,_arg1
,_arg2
,_arg3
);
2059 _resultobj
= Py_None
;
2063 static PyObject
* wxColour_Get(wxColour
*self
) {
2064 PyObject
* rv
= PyTuple_New(3);
2065 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
2066 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
2067 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
2070 static PyObject
*_wrap_wxColour_Get(PyObject
*self
, PyObject
*args
) {
2071 PyObject
* _resultobj
;
2077 if(!PyArg_ParseTuple(args
,"s:wxColour_Get",&_argc0
))
2080 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Get. Expected _wxColour_p.");
2085 _result
= (PyObject
*)wxColour_Get(_arg0
);
2087 _resultobj
= _result
;
2092 static wxPen
*new_wxPen(wxColour
*colour
,int width
,int style
) {
2093 return wxThePenList
->FindOrCreatePen(*colour
, width
, style
);
2096 static PyObject
*_wrap_new_wxPen(PyObject
*self
, PyObject
*args
) {
2097 PyObject
* _resultobj
;
2101 int _arg2
= (wxSOLID
);
2106 if(!PyArg_ParseTuple(args
,"s|ii:new_wxPen",&_argc0
,&_arg1
,&_arg2
))
2109 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPen. Expected _wxColour_p.");
2114 _result
= (wxPen
*)new_wxPen(_arg0
,_arg1
,_arg2
);
2115 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
2116 _resultobj
= Py_BuildValue("s",_ptemp
);
2120 #define wxPen_GetCap(_swigobj) (_swigobj->GetCap())
2121 static PyObject
*_wrap_wxPen_GetCap(PyObject
*self
, PyObject
*args
) {
2122 PyObject
* _resultobj
;
2128 if(!PyArg_ParseTuple(args
,"s:wxPen_GetCap",&_argc0
))
2131 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetCap. Expected _wxPen_p.");
2136 _result
= (int )wxPen_GetCap(_arg0
);
2137 _resultobj
= Py_BuildValue("i",_result
);
2141 #define wxPen_GetColour(_swigobj) (_swigobj->GetColour())
2142 static PyObject
*_wrap_wxPen_GetColour(PyObject
*self
, PyObject
*args
) {
2143 PyObject
* _resultobj
;
2150 if(!PyArg_ParseTuple(args
,"s:wxPen_GetColour",&_argc0
))
2153 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetColour. Expected _wxPen_p.");
2158 wxColour
& _result_ref
= wxPen_GetColour(_arg0
);
2159 _result
= (wxColour
*) &_result_ref
;
2160 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
2161 _resultobj
= Py_BuildValue("s",_ptemp
);
2165 #define wxPen_GetJoin(_swigobj) (_swigobj->GetJoin())
2166 static PyObject
*_wrap_wxPen_GetJoin(PyObject
*self
, PyObject
*args
) {
2167 PyObject
* _resultobj
;
2173 if(!PyArg_ParseTuple(args
,"s:wxPen_GetJoin",&_argc0
))
2176 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetJoin. Expected _wxPen_p.");
2181 _result
= (int )wxPen_GetJoin(_arg0
);
2182 _resultobj
= Py_BuildValue("i",_result
);
2186 #define wxPen_GetStyle(_swigobj) (_swigobj->GetStyle())
2187 static PyObject
*_wrap_wxPen_GetStyle(PyObject
*self
, PyObject
*args
) {
2188 PyObject
* _resultobj
;
2194 if(!PyArg_ParseTuple(args
,"s:wxPen_GetStyle",&_argc0
))
2197 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetStyle. Expected _wxPen_p.");
2202 _result
= (int )wxPen_GetStyle(_arg0
);
2203 _resultobj
= Py_BuildValue("i",_result
);
2207 #define wxPen_GetWidth(_swigobj) (_swigobj->GetWidth())
2208 static PyObject
*_wrap_wxPen_GetWidth(PyObject
*self
, PyObject
*args
) {
2209 PyObject
* _resultobj
;
2215 if(!PyArg_ParseTuple(args
,"s:wxPen_GetWidth",&_argc0
))
2218 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetWidth. Expected _wxPen_p.");
2223 _result
= (int )wxPen_GetWidth(_arg0
);
2224 _resultobj
= Py_BuildValue("i",_result
);
2228 #define wxPen_Ok(_swigobj) (_swigobj->Ok())
2229 static PyObject
*_wrap_wxPen_Ok(PyObject
*self
, PyObject
*args
) {
2230 PyObject
* _resultobj
;
2236 if(!PyArg_ParseTuple(args
,"s:wxPen_Ok",&_argc0
))
2239 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_Ok. Expected _wxPen_p.");
2244 _result
= (bool )wxPen_Ok(_arg0
);
2245 _resultobj
= Py_BuildValue("i",_result
);
2249 #define wxPen_SetCap(_swigobj,_swigarg0) (_swigobj->SetCap(_swigarg0))
2250 static PyObject
*_wrap_wxPen_SetCap(PyObject
*self
, PyObject
*args
) {
2251 PyObject
* _resultobj
;
2257 if(!PyArg_ParseTuple(args
,"si:wxPen_SetCap",&_argc0
,&_arg1
))
2260 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetCap. Expected _wxPen_p.");
2265 wxPen_SetCap(_arg0
,_arg1
);
2267 _resultobj
= Py_None
;
2271 #define wxPen_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
2272 static PyObject
*_wrap_wxPen_SetColour(PyObject
*self
, PyObject
*args
) {
2273 PyObject
* _resultobj
;
2280 if(!PyArg_ParseTuple(args
,"ss:wxPen_SetColour",&_argc0
,&_argc1
))
2283 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetColour. Expected _wxPen_p.");
2289 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
2290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPen_SetColour. Expected _wxColour_p.");
2294 wxPen_SetColour(_arg0
,*_arg1
);
2296 _resultobj
= Py_None
;
2300 #define wxPen_SetJoin(_swigobj,_swigarg0) (_swigobj->SetJoin(_swigarg0))
2301 static PyObject
*_wrap_wxPen_SetJoin(PyObject
*self
, PyObject
*args
) {
2302 PyObject
* _resultobj
;
2308 if(!PyArg_ParseTuple(args
,"si:wxPen_SetJoin",&_argc0
,&_arg1
))
2311 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetJoin. Expected _wxPen_p.");
2316 wxPen_SetJoin(_arg0
,_arg1
);
2318 _resultobj
= Py_None
;
2322 #define wxPen_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
2323 static PyObject
*_wrap_wxPen_SetStyle(PyObject
*self
, PyObject
*args
) {
2324 PyObject
* _resultobj
;
2330 if(!PyArg_ParseTuple(args
,"si:wxPen_SetStyle",&_argc0
,&_arg1
))
2333 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetStyle. Expected _wxPen_p.");
2338 wxPen_SetStyle(_arg0
,_arg1
);
2340 _resultobj
= Py_None
;
2344 #define wxPen_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2345 static PyObject
*_wrap_wxPen_SetWidth(PyObject
*self
, PyObject
*args
) {
2346 PyObject
* _resultobj
;
2352 if(!PyArg_ParseTuple(args
,"si:wxPen_SetWidth",&_argc0
,&_arg1
))
2355 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetWidth. Expected _wxPen_p.");
2360 wxPen_SetWidth(_arg0
,_arg1
);
2362 _resultobj
= Py_None
;
2366 static wxBrush
*new_wxBrush(wxColour
*colour
,int style
) {
2367 return wxTheBrushList
->FindOrCreateBrush(*colour
, style
);
2370 static PyObject
*_wrap_new_wxBrush(PyObject
*self
, PyObject
*args
) {
2371 PyObject
* _resultobj
;
2374 int _arg1
= (wxSOLID
);
2379 if(!PyArg_ParseTuple(args
,"s|i:new_wxBrush",&_argc0
,&_arg1
))
2382 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBrush. Expected _wxColour_p.");
2387 _result
= (wxBrush
*)new_wxBrush(_arg0
,_arg1
);
2388 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
2389 _resultobj
= Py_BuildValue("s",_ptemp
);
2393 #define wxBrush_GetColour(_swigobj) (_swigobj->GetColour())
2394 static PyObject
*_wrap_wxBrush_GetColour(PyObject
*self
, PyObject
*args
) {
2395 PyObject
* _resultobj
;
2402 if(!PyArg_ParseTuple(args
,"s:wxBrush_GetColour",&_argc0
))
2405 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBrush_p")) {
2406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetColour. Expected _wxBrush_p.");
2410 wxColour
& _result_ref
= wxBrush_GetColour(_arg0
);
2411 _result
= (wxColour
*) &_result_ref
;
2412 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
2413 _resultobj
= Py_BuildValue("s",_ptemp
);
2417 #define wxBrush_GetStipple(_swigobj) (_swigobj->GetStipple())
2418 static PyObject
*_wrap_wxBrush_GetStipple(PyObject
*self
, PyObject
*args
) {
2419 PyObject
* _resultobj
;
2426 if(!PyArg_ParseTuple(args
,"s:wxBrush_GetStipple",&_argc0
))
2429 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBrush_p")) {
2430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStipple. Expected _wxBrush_p.");
2434 _result
= (wxBitmap
*)wxBrush_GetStipple(_arg0
);
2435 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
2436 _resultobj
= Py_BuildValue("s",_ptemp
);
2440 #define wxBrush_GetStyle(_swigobj) (_swigobj->GetStyle())
2441 static PyObject
*_wrap_wxBrush_GetStyle(PyObject
*self
, PyObject
*args
) {
2442 PyObject
* _resultobj
;
2448 if(!PyArg_ParseTuple(args
,"s:wxBrush_GetStyle",&_argc0
))
2451 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBrush_p")) {
2452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStyle. Expected _wxBrush_p.");
2456 _result
= (int )wxBrush_GetStyle(_arg0
);
2457 _resultobj
= Py_BuildValue("i",_result
);
2461 #define wxBrush_Ok(_swigobj) (_swigobj->Ok())
2462 static PyObject
*_wrap_wxBrush_Ok(PyObject
*self
, PyObject
*args
) {
2463 PyObject
* _resultobj
;
2469 if(!PyArg_ParseTuple(args
,"s:wxBrush_Ok",&_argc0
))
2472 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBrush_p")) {
2473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_Ok. Expected _wxBrush_p.");
2477 _result
= (bool )wxBrush_Ok(_arg0
);
2478 _resultobj
= Py_BuildValue("i",_result
);
2482 #define wxBrush_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
2483 static PyObject
*_wrap_wxBrush_SetColour(PyObject
*self
, PyObject
*args
) {
2484 PyObject
* _resultobj
;
2491 if(!PyArg_ParseTuple(args
,"ss:wxBrush_SetColour",&_argc0
,&_argc1
))
2494 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBrush_p")) {
2495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetColour. Expected _wxBrush_p.");
2500 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
2501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrush_SetColour. Expected _wxColour_p.");
2505 wxBrush_SetColour(_arg0
,*_arg1
);
2507 _resultobj
= Py_None
;
2511 #define wxBrush_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
2512 static PyObject
*_wrap_wxBrush_SetStipple(PyObject
*self
, PyObject
*args
) {
2513 PyObject
* _resultobj
;
2520 if(!PyArg_ParseTuple(args
,"ss:wxBrush_SetStipple",&_argc0
,&_argc1
))
2523 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBrush_p")) {
2524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStipple. Expected _wxBrush_p.");
2529 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBitmap_p")) {
2530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrush_SetStipple. Expected _wxBitmap_p.");
2534 wxBrush_SetStipple(_arg0
,*_arg1
);
2536 _resultobj
= Py_None
;
2540 #define wxBrush_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
2541 static PyObject
*_wrap_wxBrush_SetStyle(PyObject
*self
, PyObject
*args
) {
2542 PyObject
* _resultobj
;
2548 if(!PyArg_ParseTuple(args
,"si:wxBrush_SetStyle",&_argc0
,&_arg1
))
2551 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBrush_p")) {
2552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStyle. Expected _wxBrush_p.");
2556 wxBrush_SetStyle(_arg0
,_arg1
);
2558 _resultobj
= Py_None
;
2562 #define delete_wxDC(_swigobj) (delete _swigobj)
2563 static PyObject
*_wrap_delete_wxDC(PyObject
*self
, PyObject
*args
) {
2564 PyObject
* _resultobj
;
2569 if(!PyArg_ParseTuple(args
,"s:delete_wxDC",&_argc0
))
2572 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDC. Expected _wxDC_p.");
2579 _resultobj
= Py_None
;
2583 #define wxDC_BeginDrawing(_swigobj) (_swigobj->BeginDrawing())
2584 static PyObject
*_wrap_wxDC_BeginDrawing(PyObject
*self
, PyObject
*args
) {
2585 PyObject
* _resultobj
;
2590 if(!PyArg_ParseTuple(args
,"s:wxDC_BeginDrawing",&_argc0
))
2593 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_BeginDrawing. Expected _wxDC_p.");
2598 wxDC_BeginDrawing(_arg0
);
2600 _resultobj
= Py_None
;
2604 #define wxDC_Blit(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Blit(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
2605 static PyObject
*_wrap_wxDC_Blit(PyObject
*self
, PyObject
*args
) {
2606 PyObject
* _resultobj
;
2621 if(!PyArg_ParseTuple(args
,"sllllslll:wxDC_Blit",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_argc5
,&_arg6
,&_arg7
,&_arg8
))
2624 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Blit. Expected _wxDC_p.");
2630 if (SWIG_GetPtr(_argc5
,(void **) &_arg5
,"_wxDC_p")) {
2631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxDC_Blit. Expected _wxDC_p.");
2635 _result
= (bool )wxDC_Blit(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
);
2636 _resultobj
= Py_BuildValue("i",_result
);
2640 #define wxDC_Clear(_swigobj) (_swigobj->Clear())
2641 static PyObject
*_wrap_wxDC_Clear(PyObject
*self
, PyObject
*args
) {
2642 PyObject
* _resultobj
;
2647 if(!PyArg_ParseTuple(args
,"s:wxDC_Clear",&_argc0
))
2650 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Clear. Expected _wxDC_p.");
2657 _resultobj
= Py_None
;
2661 #define wxDC_CrossHair(_swigobj,_swigarg0,_swigarg1) (_swigobj->CrossHair(_swigarg0,_swigarg1))
2662 static PyObject
*_wrap_wxDC_CrossHair(PyObject
*self
, PyObject
*args
) {
2663 PyObject
* _resultobj
;
2670 if(!PyArg_ParseTuple(args
,"sll:wxDC_CrossHair",&_argc0
,&_arg1
,&_arg2
))
2673 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CrossHair. Expected _wxDC_p.");
2678 wxDC_CrossHair(_arg0
,_arg1
,_arg2
);
2680 _resultobj
= Py_None
;
2684 #define wxDC_DestroyClippingRegion(_swigobj) (_swigobj->DestroyClippingRegion())
2685 static PyObject
*_wrap_wxDC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
) {
2686 PyObject
* _resultobj
;
2691 if(!PyArg_ParseTuple(args
,"s:wxDC_DestroyClippingRegion",&_argc0
))
2694 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DestroyClippingRegion. Expected _wxDC_p.");
2699 wxDC_DestroyClippingRegion(_arg0
);
2701 _resultobj
= Py_None
;
2705 #define wxDC_DeviceToLogicalX(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalX(_swigarg0))
2706 static PyObject
*_wrap_wxDC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
) {
2707 PyObject
* _resultobj
;
2714 if(!PyArg_ParseTuple(args
,"sl:wxDC_DeviceToLogicalX",&_argc0
,&_arg1
))
2717 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalX. Expected _wxDC_p.");
2722 _result
= (long )wxDC_DeviceToLogicalX(_arg0
,_arg1
);
2723 _resultobj
= Py_BuildValue("l",_result
);
2727 #define wxDC_DeviceToLogicalXRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalXRel(_swigarg0))
2728 static PyObject
*_wrap_wxDC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
) {
2729 PyObject
* _resultobj
;
2736 if(!PyArg_ParseTuple(args
,"sl:wxDC_DeviceToLogicalXRel",&_argc0
,&_arg1
))
2739 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalXRel. Expected _wxDC_p.");
2744 _result
= (long )wxDC_DeviceToLogicalXRel(_arg0
,_arg1
);
2745 _resultobj
= Py_BuildValue("l",_result
);
2749 #define wxDC_DeviceToLogicalY(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalY(_swigarg0))
2750 static PyObject
*_wrap_wxDC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
) {
2751 PyObject
* _resultobj
;
2758 if(!PyArg_ParseTuple(args
,"sl:wxDC_DeviceToLogicalY",&_argc0
,&_arg1
))
2761 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalY. Expected _wxDC_p.");
2766 _result
= (long )wxDC_DeviceToLogicalY(_arg0
,_arg1
);
2767 _resultobj
= Py_BuildValue("l",_result
);
2771 #define wxDC_DeviceToLogicalYRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalYRel(_swigarg0))
2772 static PyObject
*_wrap_wxDC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
) {
2773 PyObject
* _resultobj
;
2780 if(!PyArg_ParseTuple(args
,"sl:wxDC_DeviceToLogicalYRel",&_argc0
,&_arg1
))
2783 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalYRel. Expected _wxDC_p.");
2788 _result
= (long )wxDC_DeviceToLogicalYRel(_arg0
,_arg1
);
2789 _resultobj
= Py_BuildValue("l",_result
);
2793 #define wxDC_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2794 static PyObject
*_wrap_wxDC_DrawArc(PyObject
*self
, PyObject
*args
) {
2795 PyObject
* _resultobj
;
2806 if(!PyArg_ParseTuple(args
,"sllllll:wxDC_DrawArc",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
2809 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawArc. Expected _wxDC_p.");
2814 wxDC_DrawArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2816 _resultobj
= Py_None
;
2820 #define wxDC_DrawEllipse(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawEllipse(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2821 static PyObject
*_wrap_wxDC_DrawEllipse(PyObject
*self
, PyObject
*args
) {
2822 PyObject
* _resultobj
;
2831 if(!PyArg_ParseTuple(args
,"sllll:wxDC_DrawEllipse",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2834 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipse. Expected _wxDC_p.");
2839 wxDC_DrawEllipse(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2841 _resultobj
= Py_None
;
2845 #define wxDC_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2846 static PyObject
*_wrap_wxDC_DrawEllipticArc(PyObject
*self
, PyObject
*args
) {
2847 PyObject
* _resultobj
;
2858 if(!PyArg_ParseTuple(args
,"sllllll:wxDC_DrawEllipticArc",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
2861 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipticArc. Expected _wxDC_p.");
2866 wxDC_DrawEllipticArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2868 _resultobj
= Py_None
;
2872 #define wxDC_DrawIcon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawIcon(_swigarg0,_swigarg1,_swigarg2))
2873 static PyObject
*_wrap_wxDC_DrawIcon(PyObject
*self
, PyObject
*args
) {
2874 PyObject
* _resultobj
;
2883 if(!PyArg_ParseTuple(args
,"ssll:wxDC_DrawIcon",&_argc0
,&_argc1
,&_arg2
,&_arg3
))
2886 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawIcon. Expected _wxDC_p.");
2892 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxIcon_p")) {
2893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawIcon. Expected _wxIcon_p.");
2897 wxDC_DrawIcon(_arg0
,*_arg1
,_arg2
,_arg3
);
2899 _resultobj
= Py_None
;
2903 #define wxDC_DrawLine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2904 static PyObject
*_wrap_wxDC_DrawLine(PyObject
*self
, PyObject
*args
) {
2905 PyObject
* _resultobj
;
2914 if(!PyArg_ParseTuple(args
,"sllll:wxDC_DrawLine",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2917 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLine. Expected _wxDC_p.");
2922 wxDC_DrawLine(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2924 _resultobj
= Py_None
;
2928 #define wxDC_DrawLines(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLines(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2929 static PyObject
*_wrap_wxDC_DrawLines(PyObject
*self
, PyObject
*args
) {
2930 PyObject
* _resultobj
;
2937 PyObject
* _obj2
= 0;
2940 if(!PyArg_ParseTuple(args
,"sO|ll:wxDC_DrawLines",&_argc0
,&_obj2
,&_arg3
,&_arg4
))
2943 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLines. Expected _wxDC_p.");
2950 _arg2
= wxPoint_LIST_helper(_obj2
);
2951 if (_arg2
== NULL
) {
2956 _arg1
= PyList_Size(_obj2
);
2958 wxDC_DrawLines(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2960 _resultobj
= Py_None
;
2967 #define wxDC_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2968 static PyObject
*_wrap_wxDC_DrawPolygon(PyObject
*self
, PyObject
*args
) {
2969 PyObject
* _resultobj
;
2975 int _arg5
= (wxODDEVEN_RULE
);
2977 PyObject
* _obj2
= 0;
2980 if(!PyArg_ParseTuple(args
,"sO|lli:wxDC_DrawPolygon",&_argc0
,&_obj2
,&_arg3
,&_arg4
,&_arg5
))
2983 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPolygon. Expected _wxDC_p.");
2990 _arg2
= wxPoint_LIST_helper(_obj2
);
2991 if (_arg2
== NULL
) {
2996 _arg1
= PyList_Size(_obj2
);
2998 wxDC_DrawPolygon(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3000 _resultobj
= Py_None
;
3007 #define wxDC_DrawPoint(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawPoint(_swigarg0,_swigarg1))
3008 static PyObject
*_wrap_wxDC_DrawPoint(PyObject
*self
, PyObject
*args
) {
3009 PyObject
* _resultobj
;
3016 if(!PyArg_ParseTuple(args
,"sll:wxDC_DrawPoint",&_argc0
,&_arg1
,&_arg2
))
3019 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPoint. Expected _wxDC_p.");
3024 wxDC_DrawPoint(_arg0
,_arg1
,_arg2
);
3026 _resultobj
= Py_None
;
3030 #define wxDC_DrawRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3031 static PyObject
*_wrap_wxDC_DrawRectangle(PyObject
*self
, PyObject
*args
) {
3032 PyObject
* _resultobj
;
3041 if(!PyArg_ParseTuple(args
,"sllll:wxDC_DrawRectangle",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3044 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRectangle. Expected _wxDC_p.");
3049 wxDC_DrawRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3051 _resultobj
= Py_None
;
3055 #define wxDC_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3056 static PyObject
*_wrap_wxDC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
) {
3057 PyObject
* _resultobj
;
3067 if(!PyArg_ParseTuple(args
,"sllll|l:wxDC_DrawRoundedRectangle",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3070 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRoundedRectangle. Expected _wxDC_p.");
3075 wxDC_DrawRoundedRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3077 _resultobj
= Py_None
;
3081 #define wxDC_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1))
3082 static PyObject
*_wrap_wxDC_DrawSpline(PyObject
*self
, PyObject
*args
) {
3083 PyObject
* _resultobj
;
3088 PyObject
* _obj2
= 0;
3091 if(!PyArg_ParseTuple(args
,"sO:wxDC_DrawSpline",&_argc0
,&_obj2
))
3094 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawSpline. Expected _wxDC_p.");
3101 _arg2
= wxPoint_LIST_helper(_obj2
);
3102 if (_arg2
== NULL
) {
3107 _arg1
= PyList_Size(_obj2
);
3109 wxDC_DrawSpline(_arg0
,_arg1
,_arg2
);
3111 _resultobj
= Py_None
;
3118 #define wxDC_DrawText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawText(_swigarg0,_swigarg1,_swigarg2))
3119 static PyObject
*_wrap_wxDC_DrawText(PyObject
*self
, PyObject
*args
) {
3120 PyObject
* _resultobj
;
3126 PyObject
* _obj1
= 0;
3129 if(!PyArg_ParseTuple(args
,"sOll:wxDC_DrawText",&_argc0
,&_obj1
,&_arg2
,&_arg3
))
3132 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawText. Expected _wxDC_p.");
3138 if (!PyString_Check(_obj1
)) {
3139 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3142 _arg1
= new wxString(PyString_AsString(_obj1
));
3144 wxDC_DrawText(_arg0
,*_arg1
,_arg2
,_arg3
);
3146 _resultobj
= Py_None
;
3154 #define wxDC_EndDoc(_swigobj) (_swigobj->EndDoc())
3155 static PyObject
*_wrap_wxDC_EndDoc(PyObject
*self
, PyObject
*args
) {
3156 PyObject
* _resultobj
;
3161 if(!PyArg_ParseTuple(args
,"s:wxDC_EndDoc",&_argc0
))
3164 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDoc. Expected _wxDC_p.");
3171 _resultobj
= Py_None
;
3175 #define wxDC_EndDrawing(_swigobj) (_swigobj->EndDrawing())
3176 static PyObject
*_wrap_wxDC_EndDrawing(PyObject
*self
, PyObject
*args
) {
3177 PyObject
* _resultobj
;
3182 if(!PyArg_ParseTuple(args
,"s:wxDC_EndDrawing",&_argc0
))
3185 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDrawing. Expected _wxDC_p.");
3190 wxDC_EndDrawing(_arg0
);
3192 _resultobj
= Py_None
;
3196 #define wxDC_EndPage(_swigobj) (_swigobj->EndPage())
3197 static PyObject
*_wrap_wxDC_EndPage(PyObject
*self
, PyObject
*args
) {
3198 PyObject
* _resultobj
;
3203 if(!PyArg_ParseTuple(args
,"s:wxDC_EndPage",&_argc0
))
3206 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndPage. Expected _wxDC_p.");
3211 wxDC_EndPage(_arg0
);
3213 _resultobj
= Py_None
;
3217 #define wxDC_FloodFill(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FloodFill(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3218 static PyObject
*_wrap_wxDC_FloodFill(PyObject
*self
, PyObject
*args
) {
3219 PyObject
* _resultobj
;
3224 int _arg4
= (wxFLOOD_SURFACE
);
3229 if(!PyArg_ParseTuple(args
,"slls|i:wxDC_FloodFill",&_argc0
,&_arg1
,&_arg2
,&_argc3
,&_arg4
))
3232 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_FloodFill. Expected _wxDC_p.");
3238 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxColour_p")) {
3239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDC_FloodFill. Expected _wxColour_p.");
3243 wxDC_FloodFill(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
3245 _resultobj
= Py_None
;
3249 #define wxDC_GetBackground(_swigobj) (_swigobj->GetBackground())
3250 static PyObject
*_wrap_wxDC_GetBackground(PyObject
*self
, PyObject
*args
) {
3251 PyObject
* _resultobj
;
3258 if(!PyArg_ParseTuple(args
,"s:wxDC_GetBackground",&_argc0
))
3261 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBackground. Expected _wxDC_p.");
3266 wxBrush
& _result_ref
= wxDC_GetBackground(_arg0
);
3267 _result
= (wxBrush
*) &_result_ref
;
3268 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
3269 _resultobj
= Py_BuildValue("s",_ptemp
);
3273 #define wxDC_GetBrush(_swigobj) (_swigobj->GetBrush())
3274 static PyObject
*_wrap_wxDC_GetBrush(PyObject
*self
, PyObject
*args
) {
3275 PyObject
* _resultobj
;
3282 if(!PyArg_ParseTuple(args
,"s:wxDC_GetBrush",&_argc0
))
3285 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBrush. Expected _wxDC_p.");
3290 wxBrush
& _result_ref
= wxDC_GetBrush(_arg0
);
3291 _result
= (wxBrush
*) &_result_ref
;
3292 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
3293 _resultobj
= Py_BuildValue("s",_ptemp
);
3297 #define wxDC_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
3298 static PyObject
*_wrap_wxDC_GetCharHeight(PyObject
*self
, PyObject
*args
) {
3299 PyObject
* _resultobj
;
3305 if(!PyArg_ParseTuple(args
,"s:wxDC_GetCharHeight",&_argc0
))
3308 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharHeight. Expected _wxDC_p.");
3313 _result
= (long )wxDC_GetCharHeight(_arg0
);
3314 _resultobj
= Py_BuildValue("l",_result
);
3318 #define wxDC_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
3319 static PyObject
*_wrap_wxDC_GetCharWidth(PyObject
*self
, PyObject
*args
) {
3320 PyObject
* _resultobj
;
3326 if(!PyArg_ParseTuple(args
,"s:wxDC_GetCharWidth",&_argc0
))
3329 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharWidth. Expected _wxDC_p.");
3334 _result
= (long )wxDC_GetCharWidth(_arg0
);
3335 _resultobj
= Py_BuildValue("l",_result
);
3339 #define wxDC_GetClippingBox(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetClippingBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3340 static PyObject
*_wrap_wxDC_GetClippingBox(PyObject
*self
, PyObject
*args
) {
3341 PyObject
* _resultobj
;
3366 if(!PyArg_ParseTuple(args
,"s:wxDC_GetClippingBox",&_argc0
))
3369 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetClippingBox. Expected _wxDC_p.");
3374 wxDC_GetClippingBox(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3376 _resultobj
= Py_None
;
3379 o
= PyInt_FromLong((long) (*_arg1
));
3380 _resultobj
= t_output_helper(_resultobj
, o
);
3384 o
= PyInt_FromLong((long) (*_arg2
));
3385 _resultobj
= t_output_helper(_resultobj
, o
);
3389 o
= PyInt_FromLong((long) (*_arg3
));
3390 _resultobj
= t_output_helper(_resultobj
, o
);
3394 o
= PyInt_FromLong((long) (*_arg4
));
3395 _resultobj
= t_output_helper(_resultobj
, o
);
3400 #define wxDC_GetFont(_swigobj) (_swigobj->GetFont())
3401 static PyObject
*_wrap_wxDC_GetFont(PyObject
*self
, PyObject
*args
) {
3402 PyObject
* _resultobj
;
3409 if(!PyArg_ParseTuple(args
,"s:wxDC_GetFont",&_argc0
))
3412 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFont. Expected _wxDC_p.");
3417 wxFont
& _result_ref
= wxDC_GetFont(_arg0
);
3418 _result
= (wxFont
*) &_result_ref
;
3419 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
3420 _resultobj
= Py_BuildValue("s",_ptemp
);
3424 #define wxDC_GetLogicalFunction(_swigobj) (_swigobj->GetLogicalFunction())
3425 static PyObject
*_wrap_wxDC_GetLogicalFunction(PyObject
*self
, PyObject
*args
) {
3426 PyObject
* _resultobj
;
3432 if(!PyArg_ParseTuple(args
,"s:wxDC_GetLogicalFunction",&_argc0
))
3435 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalFunction. Expected _wxDC_p.");
3440 _result
= (int )wxDC_GetLogicalFunction(_arg0
);
3441 _resultobj
= Py_BuildValue("i",_result
);
3445 #define wxDC_GetMapMode(_swigobj) (_swigobj->GetMapMode())
3446 static PyObject
*_wrap_wxDC_GetMapMode(PyObject
*self
, PyObject
*args
) {
3447 PyObject
* _resultobj
;
3453 if(!PyArg_ParseTuple(args
,"s:wxDC_GetMapMode",&_argc0
))
3456 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetMapMode. Expected _wxDC_p.");
3461 _result
= (int )wxDC_GetMapMode(_arg0
);
3462 _resultobj
= Py_BuildValue("i",_result
);
3466 #define wxDC_GetOptimization(_swigobj) (_swigobj->GetOptimization())
3467 static PyObject
*_wrap_wxDC_GetOptimization(PyObject
*self
, PyObject
*args
) {
3468 PyObject
* _resultobj
;
3474 if(!PyArg_ParseTuple(args
,"s:wxDC_GetOptimization",&_argc0
))
3477 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetOptimization. Expected _wxDC_p.");
3482 _result
= (bool )wxDC_GetOptimization(_arg0
);
3483 _resultobj
= Py_BuildValue("i",_result
);
3487 #define wxDC_GetPen(_swigobj) (_swigobj->GetPen())
3488 static PyObject
*_wrap_wxDC_GetPen(PyObject
*self
, PyObject
*args
) {
3489 PyObject
* _resultobj
;
3496 if(!PyArg_ParseTuple(args
,"s:wxDC_GetPen",&_argc0
))
3499 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPen. Expected _wxDC_p.");
3504 wxPen
& _result_ref
= wxDC_GetPen(_arg0
);
3505 _result
= (wxPen
*) &_result_ref
;
3506 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
3507 _resultobj
= Py_BuildValue("s",_ptemp
);
3511 static wxColour
* wxDC_GetPixel(wxDC
*self
,long x
,long y
) {
3512 wxColour
* wc
= new wxColour();
3513 self
->GetPixel(x
, y
, wc
);
3516 static PyObject
*_wrap_wxDC_GetPixel(PyObject
*self
, PyObject
*args
) {
3517 PyObject
* _resultobj
;
3526 if(!PyArg_ParseTuple(args
,"sll:wxDC_GetPixel",&_argc0
,&_arg1
,&_arg2
))
3529 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPixel. Expected _wxDC_p.");
3534 _result
= (wxColour
*)wxDC_GetPixel(_arg0
,_arg1
,_arg2
);
3535 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3536 _resultobj
= Py_BuildValue("s",_ptemp
);
3540 #define wxDC_GetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
3541 static PyObject
*_wrap_wxDC_GetSize(PyObject
*self
, PyObject
*args
) {
3542 PyObject
* _resultobj
;
3557 if(!PyArg_ParseTuple(args
,"s:wxDC_GetSize",&_argc0
))
3560 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSize. Expected _wxDC_p.");
3565 wxDC_GetSize(_arg0
,_arg1
,_arg2
);
3567 _resultobj
= Py_None
;
3570 o
= PyInt_FromLong((long) (*_arg1
));
3571 _resultobj
= t_output_helper(_resultobj
, o
);
3575 o
= PyInt_FromLong((long) (*_arg2
));
3576 _resultobj
= t_output_helper(_resultobj
, o
);
3581 #define wxDC_GetTextBackground(_swigobj) (_swigobj->GetTextBackground())
3582 static PyObject
*_wrap_wxDC_GetTextBackground(PyObject
*self
, PyObject
*args
) {
3583 PyObject
* _resultobj
;
3590 if(!PyArg_ParseTuple(args
,"s:wxDC_GetTextBackground",&_argc0
))
3593 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextBackground. Expected _wxDC_p.");
3598 wxColour
& _result_ref
= wxDC_GetTextBackground(_arg0
);
3599 _result
= (wxColour
*) &_result_ref
;
3600 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3601 _resultobj
= Py_BuildValue("s",_ptemp
);
3605 #define wxDC_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
3606 static PyObject
*_wrap_wxDC_GetTextExtent(PyObject
*self
, PyObject
*args
) {
3607 PyObject
* _resultobj
;
3615 PyObject
* _obj1
= 0;
3624 if(!PyArg_ParseTuple(args
,"sO:wxDC_GetTextExtent",&_argc0
,&_obj1
))
3627 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextExtent. Expected _wxDC_p.");
3633 if (!PyString_Check(_obj1
)) {
3634 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3637 _arg1
= new wxString(PyString_AsString(_obj1
));
3639 wxDC_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
3641 _resultobj
= Py_None
;
3644 o
= PyInt_FromLong((long) (*_arg2
));
3645 _resultobj
= t_output_helper(_resultobj
, o
);
3649 o
= PyInt_FromLong((long) (*_arg3
));
3650 _resultobj
= t_output_helper(_resultobj
, o
);
3659 #define wxDC_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3660 static PyObject
*_wrap_wxDC_GetFullTextExtent(PyObject
*self
, PyObject
*args
) {
3661 PyObject
* _resultobj
;
3672 wxFont
* _arg6
= NULL
;
3674 PyObject
* _obj1
= 0;
3690 if(!PyArg_ParseTuple(args
,"sO|s:wxDC_GetFullTextExtent",&_argc0
,&_obj1
,&_argc6
))
3693 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFullTextExtent. Expected _wxDC_p.");
3699 if (!PyString_Check(_obj1
)) {
3700 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3703 _arg1
= new wxString(PyString_AsString(_obj1
));
3706 if (SWIG_GetPtr(_argc6
,(void **) &_arg6
,"_wxFont_p")) {
3707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxDC_GetFullTextExtent. Expected _wxFont_p.");
3711 wxDC_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
3713 _resultobj
= Py_None
;
3716 o
= PyInt_FromLong((long) (*_arg2
));
3717 _resultobj
= t_output_helper(_resultobj
, o
);
3721 o
= PyInt_FromLong((long) (*_arg3
));
3722 _resultobj
= t_output_helper(_resultobj
, o
);
3726 o
= PyInt_FromLong((long) (*_arg4
));
3727 _resultobj
= t_output_helper(_resultobj
, o
);
3731 o
= PyInt_FromLong((long) (*_arg5
));
3732 _resultobj
= t_output_helper(_resultobj
, o
);
3741 #define wxDC_GetTextForeground(_swigobj) (_swigobj->GetTextForeground())
3742 static PyObject
*_wrap_wxDC_GetTextForeground(PyObject
*self
, PyObject
*args
) {
3743 PyObject
* _resultobj
;
3750 if(!PyArg_ParseTuple(args
,"s:wxDC_GetTextForeground",&_argc0
))
3753 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextForeground. Expected _wxDC_p.");
3758 wxColour
& _result_ref
= wxDC_GetTextForeground(_arg0
);
3759 _result
= (wxColour
*) &_result_ref
;
3760 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3761 _resultobj
= Py_BuildValue("s",_ptemp
);
3765 #define wxDC_LogicalToDeviceX(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceX(_swigarg0))
3766 static PyObject
*_wrap_wxDC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
) {
3767 PyObject
* _resultobj
;
3774 if(!PyArg_ParseTuple(args
,"sl:wxDC_LogicalToDeviceX",&_argc0
,&_arg1
))
3777 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceX. Expected _wxDC_p.");
3782 _result
= (long )wxDC_LogicalToDeviceX(_arg0
,_arg1
);
3783 _resultobj
= Py_BuildValue("l",_result
);
3787 #define wxDC_LogicalToDeviceXRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceXRel(_swigarg0))
3788 static PyObject
*_wrap_wxDC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
) {
3789 PyObject
* _resultobj
;
3796 if(!PyArg_ParseTuple(args
,"sl:wxDC_LogicalToDeviceXRel",&_argc0
,&_arg1
))
3799 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceXRel. Expected _wxDC_p.");
3804 _result
= (long )wxDC_LogicalToDeviceXRel(_arg0
,_arg1
);
3805 _resultobj
= Py_BuildValue("l",_result
);
3809 #define wxDC_LogicalToDeviceY(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceY(_swigarg0))
3810 static PyObject
*_wrap_wxDC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
) {
3811 PyObject
* _resultobj
;
3818 if(!PyArg_ParseTuple(args
,"sl:wxDC_LogicalToDeviceY",&_argc0
,&_arg1
))
3821 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceY. Expected _wxDC_p.");
3826 _result
= (long )wxDC_LogicalToDeviceY(_arg0
,_arg1
);
3827 _resultobj
= Py_BuildValue("l",_result
);
3831 #define wxDC_LogicalToDeviceYRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceYRel(_swigarg0))
3832 static PyObject
*_wrap_wxDC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
) {
3833 PyObject
* _resultobj
;
3840 if(!PyArg_ParseTuple(args
,"sl:wxDC_LogicalToDeviceYRel",&_argc0
,&_arg1
))
3843 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceYRel. Expected _wxDC_p.");
3848 _result
= (long )wxDC_LogicalToDeviceYRel(_arg0
,_arg1
);
3849 _resultobj
= Py_BuildValue("l",_result
);
3853 #define wxDC_MaxX(_swigobj) (_swigobj->MaxX())
3854 static PyObject
*_wrap_wxDC_MaxX(PyObject
*self
, PyObject
*args
) {
3855 PyObject
* _resultobj
;
3861 if(!PyArg_ParseTuple(args
,"s:wxDC_MaxX",&_argc0
))
3864 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxX. Expected _wxDC_p.");
3869 _result
= (long )wxDC_MaxX(_arg0
);
3870 _resultobj
= Py_BuildValue("l",_result
);
3874 #define wxDC_MaxY(_swigobj) (_swigobj->MaxY())
3875 static PyObject
*_wrap_wxDC_MaxY(PyObject
*self
, PyObject
*args
) {
3876 PyObject
* _resultobj
;
3882 if(!PyArg_ParseTuple(args
,"s:wxDC_MaxY",&_argc0
))
3885 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxY. Expected _wxDC_p.");
3890 _result
= (long )wxDC_MaxY(_arg0
);
3891 _resultobj
= Py_BuildValue("l",_result
);
3895 #define wxDC_MinX(_swigobj) (_swigobj->MinX())
3896 static PyObject
*_wrap_wxDC_MinX(PyObject
*self
, PyObject
*args
) {
3897 PyObject
* _resultobj
;
3903 if(!PyArg_ParseTuple(args
,"s:wxDC_MinX",&_argc0
))
3906 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinX. Expected _wxDC_p.");
3911 _result
= (long )wxDC_MinX(_arg0
);
3912 _resultobj
= Py_BuildValue("l",_result
);
3916 #define wxDC_MinY(_swigobj) (_swigobj->MinY())
3917 static PyObject
*_wrap_wxDC_MinY(PyObject
*self
, PyObject
*args
) {
3918 PyObject
* _resultobj
;
3924 if(!PyArg_ParseTuple(args
,"s:wxDC_MinY",&_argc0
))
3927 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinY. Expected _wxDC_p.");
3932 _result
= (long )wxDC_MinY(_arg0
);
3933 _resultobj
= Py_BuildValue("l",_result
);
3937 #define wxDC_Ok(_swigobj) (_swigobj->Ok())
3938 static PyObject
*_wrap_wxDC_Ok(PyObject
*self
, PyObject
*args
) {
3939 PyObject
* _resultobj
;
3945 if(!PyArg_ParseTuple(args
,"s:wxDC_Ok",&_argc0
))
3948 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Ok. Expected _wxDC_p.");
3953 _result
= (bool )wxDC_Ok(_arg0
);
3954 _resultobj
= Py_BuildValue("i",_result
);
3958 #define wxDC_SetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDeviceOrigin(_swigarg0,_swigarg1))
3959 static PyObject
*_wrap_wxDC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
) {
3960 PyObject
* _resultobj
;
3967 if(!PyArg_ParseTuple(args
,"sll:wxDC_SetDeviceOrigin",&_argc0
,&_arg1
,&_arg2
))
3970 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetDeviceOrigin. Expected _wxDC_p.");
3975 wxDC_SetDeviceOrigin(_arg0
,_arg1
,_arg2
);
3977 _resultobj
= Py_None
;
3981 #define wxDC_SetBackground(_swigobj,_swigarg0) (_swigobj->SetBackground(_swigarg0))
3982 static PyObject
*_wrap_wxDC_SetBackground(PyObject
*self
, PyObject
*args
) {
3983 PyObject
* _resultobj
;
3990 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetBackground",&_argc0
,&_argc1
))
3993 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackground. Expected _wxDC_p.");
3999 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBrush_p")) {
4000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBackground. Expected _wxBrush_p.");
4004 wxDC_SetBackground(_arg0
,*_arg1
);
4006 _resultobj
= Py_None
;
4010 #define wxDC_SetBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetBackgroundMode(_swigarg0))
4011 static PyObject
*_wrap_wxDC_SetBackgroundMode(PyObject
*self
, PyObject
*args
) {
4012 PyObject
* _resultobj
;
4018 if(!PyArg_ParseTuple(args
,"si:wxDC_SetBackgroundMode",&_argc0
,&_arg1
))
4021 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackgroundMode. Expected _wxDC_p.");
4026 wxDC_SetBackgroundMode(_arg0
,_arg1
);
4028 _resultobj
= Py_None
;
4032 #define wxDC_SetClippingRegion(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetClippingRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4033 static PyObject
*_wrap_wxDC_SetClippingRegion(PyObject
*self
, PyObject
*args
) {
4034 PyObject
* _resultobj
;
4043 if(!PyArg_ParseTuple(args
,"sllll:wxDC_SetClippingRegion",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4046 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetClippingRegion. Expected _wxDC_p.");
4051 wxDC_SetClippingRegion(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4053 _resultobj
= Py_None
;
4057 #define wxDC_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
4058 static PyObject
*_wrap_wxDC_SetPalette(PyObject
*self
, PyObject
*args
) {
4059 PyObject
* _resultobj
;
4066 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetPalette",&_argc0
,&_argc1
))
4069 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPalette. Expected _wxDC_p.");
4075 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPalette_p")) {
4076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPalette. Expected _wxPalette_p.");
4080 wxDC_SetPalette(_arg0
,*_arg1
);
4082 _resultobj
= Py_None
;
4086 #define wxDC_SetBrush(_swigobj,_swigarg0) (_swigobj->SetBrush(_swigarg0))
4087 static PyObject
*_wrap_wxDC_SetBrush(PyObject
*self
, PyObject
*args
) {
4088 PyObject
* _resultobj
;
4095 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetBrush",&_argc0
,&_argc1
))
4098 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBrush. Expected _wxDC_p.");
4104 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBrush_p")) {
4105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBrush. Expected _wxBrush_p.");
4109 wxDC_SetBrush(_arg0
,*_arg1
);
4111 _resultobj
= Py_None
;
4115 #define wxDC_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
4116 static PyObject
*_wrap_wxDC_SetFont(PyObject
*self
, PyObject
*args
) {
4117 PyObject
* _resultobj
;
4124 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetFont",&_argc0
,&_argc1
))
4127 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetFont. Expected _wxDC_p.");
4133 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxFont_p")) {
4134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetFont. Expected _wxFont_p.");
4138 wxDC_SetFont(_arg0
,*_arg1
);
4140 _resultobj
= Py_None
;
4144 #define wxDC_SetLogicalFunction(_swigobj,_swigarg0) (_swigobj->SetLogicalFunction(_swigarg0))
4145 static PyObject
*_wrap_wxDC_SetLogicalFunction(PyObject
*self
, PyObject
*args
) {
4146 PyObject
* _resultobj
;
4152 if(!PyArg_ParseTuple(args
,"si:wxDC_SetLogicalFunction",&_argc0
,&_arg1
))
4155 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalFunction. Expected _wxDC_p.");
4160 wxDC_SetLogicalFunction(_arg0
,_arg1
);
4162 _resultobj
= Py_None
;
4166 #define wxDC_SetMapMode(_swigobj,_swigarg0) (_swigobj->SetMapMode(_swigarg0))
4167 static PyObject
*_wrap_wxDC_SetMapMode(PyObject
*self
, PyObject
*args
) {
4168 PyObject
* _resultobj
;
4174 if(!PyArg_ParseTuple(args
,"si:wxDC_SetMapMode",&_argc0
,&_arg1
))
4177 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetMapMode. Expected _wxDC_p.");
4182 wxDC_SetMapMode(_arg0
,_arg1
);
4184 _resultobj
= Py_None
;
4188 #define wxDC_SetOptimization(_swigobj,_swigarg0) (_swigobj->SetOptimization(_swigarg0))
4189 static PyObject
*_wrap_wxDC_SetOptimization(PyObject
*self
, PyObject
*args
) {
4190 PyObject
* _resultobj
;
4197 if(!PyArg_ParseTuple(args
,"si:wxDC_SetOptimization",&_argc0
,&tempbool1
))
4200 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetOptimization. Expected _wxDC_p.");
4205 _arg1
= (bool ) tempbool1
;
4206 wxDC_SetOptimization(_arg0
,_arg1
);
4208 _resultobj
= Py_None
;
4212 #define wxDC_SetPen(_swigobj,_swigarg0) (_swigobj->SetPen(_swigarg0))
4213 static PyObject
*_wrap_wxDC_SetPen(PyObject
*self
, PyObject
*args
) {
4214 PyObject
* _resultobj
;
4221 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetPen",&_argc0
,&_argc1
))
4224 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPen. Expected _wxDC_p.");
4230 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPen_p")) {
4231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPen. Expected _wxPen_p.");
4235 wxDC_SetPen(_arg0
,*_arg1
);
4237 _resultobj
= Py_None
;
4241 #define wxDC_SetTextBackground(_swigobj,_swigarg0) (_swigobj->SetTextBackground(_swigarg0))
4242 static PyObject
*_wrap_wxDC_SetTextBackground(PyObject
*self
, PyObject
*args
) {
4243 PyObject
* _resultobj
;
4250 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetTextBackground",&_argc0
,&_argc1
))
4253 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextBackground. Expected _wxDC_p.");
4259 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
4260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetTextBackground. Expected _wxColour_p.");
4264 wxDC_SetTextBackground(_arg0
,*_arg1
);
4266 _resultobj
= Py_None
;
4270 #define wxDC_SetTextForeground(_swigobj,_swigarg0) (_swigobj->SetTextForeground(_swigarg0))
4271 static PyObject
*_wrap_wxDC_SetTextForeground(PyObject
*self
, PyObject
*args
) {
4272 PyObject
* _resultobj
;
4279 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetTextForeground",&_argc0
,&_argc1
))
4282 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextForeground. Expected _wxDC_p.");
4288 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
4289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetTextForeground. Expected _wxColour_p.");
4293 wxDC_SetTextForeground(_arg0
,*_arg1
);
4295 _resultobj
= Py_None
;
4299 #define wxDC_SetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetUserScale(_swigarg0,_swigarg1))
4300 static PyObject
*_wrap_wxDC_SetUserScale(PyObject
*self
, PyObject
*args
) {
4301 PyObject
* _resultobj
;
4308 if(!PyArg_ParseTuple(args
,"sdd:wxDC_SetUserScale",&_argc0
,&_arg1
,&_arg2
))
4311 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetUserScale. Expected _wxDC_p.");
4316 wxDC_SetUserScale(_arg0
,_arg1
,_arg2
);
4318 _resultobj
= Py_None
;
4322 #define wxDC_StartDoc(_swigobj,_swigarg0) (_swigobj->StartDoc(_swigarg0))
4323 static PyObject
*_wrap_wxDC_StartDoc(PyObject
*self
, PyObject
*args
) {
4324 PyObject
* _resultobj
;
4329 PyObject
* _obj1
= 0;
4332 if(!PyArg_ParseTuple(args
,"sO:wxDC_StartDoc",&_argc0
,&_obj1
))
4335 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartDoc. Expected _wxDC_p.");
4341 if (!PyString_Check(_obj1
)) {
4342 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4345 _arg1
= new wxString(PyString_AsString(_obj1
));
4347 _result
= (bool )wxDC_StartDoc(_arg0
,*_arg1
);
4348 _resultobj
= Py_BuildValue("i",_result
);
4356 #define wxDC_StartPage(_swigobj) (_swigobj->StartPage())
4357 static PyObject
*_wrap_wxDC_StartPage(PyObject
*self
, PyObject
*args
) {
4358 PyObject
* _resultobj
;
4363 if(!PyArg_ParseTuple(args
,"s:wxDC_StartPage",&_argc0
))
4366 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartPage. Expected _wxDC_p.");
4371 wxDC_StartPage(_arg0
);
4373 _resultobj
= Py_None
;
4377 static void wxDC_DrawBitmap(wxDC
*self
,wxBitmap
& bitmap
,long x
,long y
,bool swapPalette
) {
4378 wxMemoryDC
* memDC
= new wxMemoryDC
;
4379 memDC
->SelectObject(bitmap
);
4381 self
->SetPalette(*bitmap
.GetPalette());
4382 self
->Blit(x
, y
, bitmap
.GetWidth(), bitmap
.GetHeight(), memDC
,
4383 0, 0, self
->GetLogicalFunction());
4384 memDC
->SelectObject(wxNullBitmap
);
4387 static PyObject
*_wrap_wxDC_DrawBitmap(PyObject
*self
, PyObject
*args
) {
4388 PyObject
* _resultobj
;
4399 if(!PyArg_ParseTuple(args
,"ssll|i:wxDC_DrawBitmap",&_argc0
,&_argc1
,&_arg2
,&_arg3
,&tempbool4
))
4402 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawBitmap. Expected _wxDC_p.");
4408 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBitmap_p")) {
4409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawBitmap. Expected _wxBitmap_p.");
4413 _arg4
= (bool ) tempbool4
;
4414 wxDC_DrawBitmap(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
4416 _resultobj
= Py_None
;
4420 static void *SwigwxMemoryDCTowxDC(void *ptr
) {
4423 src
= (wxMemoryDC
*) ptr
;
4424 dest
= (wxDC
*) src
;
4425 return (void *) dest
;
4428 #define new_wxMemoryDC() (new wxMemoryDC())
4429 static PyObject
*_wrap_new_wxMemoryDC(PyObject
*self
, PyObject
*args
) {
4430 PyObject
* _resultobj
;
4431 wxMemoryDC
* _result
;
4435 if(!PyArg_ParseTuple(args
,":new_wxMemoryDC"))
4437 _result
= (wxMemoryDC
*)new_wxMemoryDC();
4438 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
4439 _resultobj
= Py_BuildValue("s",_ptemp
);
4443 #define wxMemoryDC_SelectObject(_swigobj,_swigarg0) (_swigobj->SelectObject(_swigarg0))
4444 static PyObject
*_wrap_wxMemoryDC_SelectObject(PyObject
*self
, PyObject
*args
) {
4445 PyObject
* _resultobj
;
4452 if(!PyArg_ParseTuple(args
,"ss:wxMemoryDC_SelectObject",&_argc0
,&_argc1
))
4455 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMemoryDC_p")) {
4456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDC_SelectObject. Expected _wxMemoryDC_p.");
4461 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBitmap_p")) {
4462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMemoryDC_SelectObject. Expected _wxBitmap_p.");
4466 wxMemoryDC_SelectObject(_arg0
,*_arg1
);
4468 _resultobj
= Py_None
;
4472 static void *SwigwxScreenDCTowxDC(void *ptr
) {
4475 src
= (wxScreenDC
*) ptr
;
4476 dest
= (wxDC
*) src
;
4477 return (void *) dest
;
4480 #define new_wxScreenDC() (new wxScreenDC())
4481 static PyObject
*_wrap_new_wxScreenDC(PyObject
*self
, PyObject
*args
) {
4482 PyObject
* _resultobj
;
4483 wxScreenDC
* _result
;
4487 if(!PyArg_ParseTuple(args
,":new_wxScreenDC"))
4489 _result
= (wxScreenDC
*)new_wxScreenDC();
4490 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScreenDC_p");
4491 _resultobj
= Py_BuildValue("s",_ptemp
);
4495 #define wxScreenDC_StartDrawingOnTop(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
4496 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
) {
4497 PyObject
* _resultobj
;
4505 if(!PyArg_ParseTuple(args
,"ss:wxScreenDC_StartDrawingOnTop",&_argc0
,&_argc1
))
4508 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScreenDC_p")) {
4509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTop. Expected _wxScreenDC_p.");
4514 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
4515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScreenDC_StartDrawingOnTop. Expected _wxWindow_p.");
4519 _result
= (bool )wxScreenDC_StartDrawingOnTop(_arg0
,_arg1
);
4520 _resultobj
= Py_BuildValue("i",_result
);
4524 #define wxScreenDC_StartDrawingOnTopRect(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
4525 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTopRect(PyObject
*self
, PyObject
*args
) {
4526 PyObject
* _resultobj
;
4529 wxRect
* _arg1
= NULL
;
4534 if(!PyArg_ParseTuple(args
,"s|s:wxScreenDC_StartDrawingOnTopRect",&_argc0
,&_argc1
))
4537 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScreenDC_p")) {
4538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTopRect. Expected _wxScreenDC_p.");
4543 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxRect_p")) {
4544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScreenDC_StartDrawingOnTopRect. Expected _wxRect_p.");
4548 _result
= (bool )wxScreenDC_StartDrawingOnTopRect(_arg0
,_arg1
);
4549 _resultobj
= Py_BuildValue("i",_result
);
4553 #define wxScreenDC_EndDrawingOnTop(_swigobj) (_swigobj->EndDrawingOnTop())
4554 static PyObject
*_wrap_wxScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
) {
4555 PyObject
* _resultobj
;
4561 if(!PyArg_ParseTuple(args
,"s:wxScreenDC_EndDrawingOnTop",&_argc0
))
4564 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScreenDC_p")) {
4565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_EndDrawingOnTop. Expected _wxScreenDC_p.");
4569 _result
= (bool )wxScreenDC_EndDrawingOnTop(_arg0
);
4570 _resultobj
= Py_BuildValue("i",_result
);
4574 static void *SwigwxClientDCTowxDC(void *ptr
) {
4577 src
= (wxClientDC
*) ptr
;
4578 dest
= (wxDC
*) src
;
4579 return (void *) dest
;
4582 #define new_wxClientDC(_swigarg0) (new wxClientDC(_swigarg0))
4583 static PyObject
*_wrap_new_wxClientDC(PyObject
*self
, PyObject
*args
) {
4584 PyObject
* _resultobj
;
4585 wxClientDC
* _result
;
4591 if(!PyArg_ParseTuple(args
,"s:new_wxClientDC",&_argc0
))
4594 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
4595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxClientDC. Expected _wxWindow_p.");
4599 _result
= (wxClientDC
*)new_wxClientDC(_arg0
);
4600 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxClientDC_p");
4601 _resultobj
= Py_BuildValue("s",_ptemp
);
4605 static void *SwigwxPaintDCTowxDC(void *ptr
) {
4608 src
= (wxPaintDC
*) ptr
;
4609 dest
= (wxDC
*) src
;
4610 return (void *) dest
;
4613 #define new_wxPaintDC(_swigarg0) (new wxPaintDC(_swigarg0))
4614 static PyObject
*_wrap_new_wxPaintDC(PyObject
*self
, PyObject
*args
) {
4615 PyObject
* _resultobj
;
4616 wxPaintDC
* _result
;
4622 if(!PyArg_ParseTuple(args
,"s:new_wxPaintDC",&_argc0
))
4625 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
4626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPaintDC. Expected _wxWindow_p.");
4630 _result
= (wxPaintDC
*)new_wxPaintDC(_arg0
);
4631 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPaintDC_p");
4632 _resultobj
= Py_BuildValue("s",_ptemp
);
4636 static void *SwigwxWindowDCTowxDC(void *ptr
) {
4639 src
= (wxWindowDC
*) ptr
;
4640 dest
= (wxDC
*) src
;
4641 return (void *) dest
;
4644 #define new_wxWindowDC(_swigarg0) (new wxWindowDC(_swigarg0))
4645 static PyObject
*_wrap_new_wxWindowDC(PyObject
*self
, PyObject
*args
) {
4646 PyObject
* _resultobj
;
4647 wxWindowDC
* _result
;
4653 if(!PyArg_ParseTuple(args
,"s:new_wxWindowDC",&_argc0
))
4656 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
4657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDC. Expected _wxWindow_p.");
4661 _result
= (wxWindowDC
*)new_wxWindowDC(_arg0
);
4662 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDC_p");
4663 _resultobj
= Py_BuildValue("s",_ptemp
);
4667 static void *SwigwxPostScriptDCTowxDC(void *ptr
) {
4668 wxPostScriptDC
*src
;
4670 src
= (wxPostScriptDC
*) ptr
;
4671 dest
= (wxDC
*) src
;
4672 return (void *) dest
;
4675 #define new_wxPostScriptDC(_swigarg0,_swigarg1,_swigarg2) (new wxPostScriptDC(_swigarg0,_swigarg1,_swigarg2))
4676 static PyObject
*_wrap_new_wxPostScriptDC(PyObject
*self
, PyObject
*args
) {
4677 PyObject
* _resultobj
;
4678 wxPostScriptDC
* _result
;
4681 wxWindow
* _arg2
= NULL
;
4682 PyObject
* _obj0
= 0;
4688 if(!PyArg_ParseTuple(args
,"O|is:new_wxPostScriptDC",&_obj0
,&tempbool1
,&_argc2
))
4691 if (!PyString_Check(_obj0
)) {
4692 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4695 _arg0
= new wxString(PyString_AsString(_obj0
));
4697 _arg1
= (bool ) tempbool1
;
4699 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxWindow_p")) {
4700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPostScriptDC. Expected _wxWindow_p.");
4704 _result
= (wxPostScriptDC
*)new_wxPostScriptDC(*_arg0
,_arg1
,_arg2
);
4705 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPostScriptDC_p");
4706 _resultobj
= Py_BuildValue("s",_ptemp
);
4714 #define new_wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4715 static PyObject
*_wrap_new_wxPalette(PyObject
*self
, PyObject
*args
) {
4716 PyObject
* _resultobj
;
4717 wxPalette
* _result
;
4722 PyObject
* _obj1
= 0;
4723 PyObject
* _obj2
= 0;
4724 PyObject
* _obj3
= 0;
4728 if(!PyArg_ParseTuple(args
,"OOO:new_wxPalette",&_obj1
,&_obj2
,&_obj3
))
4731 _arg1
= byte_LIST_helper(_obj1
);
4732 if (_arg1
== NULL
) {
4737 _arg2
= byte_LIST_helper(_obj2
);
4738 if (_arg2
== NULL
) {
4744 _arg3
= byte_LIST_helper(_obj3
);
4745 if (_arg3
== NULL
) {
4750 _arg0
= PyList_Size(_obj1
);
4752 _result
= (wxPalette
*)new_wxPalette(_arg0
,_arg1
,_arg2
,_arg3
);
4753 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
4754 _resultobj
= Py_BuildValue("s",_ptemp
);
4767 #define delete_wxPalette(_swigobj) (delete _swigobj)
4768 static PyObject
*_wrap_delete_wxPalette(PyObject
*self
, PyObject
*args
) {
4769 PyObject
* _resultobj
;
4774 if(!PyArg_ParseTuple(args
,"s:delete_wxPalette",&_argc0
))
4777 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPalette_p")) {
4778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPalette. Expected _wxPalette_p.");
4782 delete_wxPalette(_arg0
);
4784 _resultobj
= Py_None
;
4788 #define wxPalette_GetPixel(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetPixel(_swigarg0,_swigarg1,_swigarg2))
4789 static PyObject
*_wrap_wxPalette_GetPixel(PyObject
*self
, PyObject
*args
) {
4790 PyObject
* _resultobj
;
4799 if(!PyArg_ParseTuple(args
,"sbbb:wxPalette_GetPixel",&_argc0
,&_arg1
,&_arg2
,&_arg3
))
4802 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPalette_p")) {
4803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetPixel. Expected _wxPalette_p.");
4807 _result
= (int )wxPalette_GetPixel(_arg0
,_arg1
,_arg2
,_arg3
);
4808 _resultobj
= Py_BuildValue("i",_result
);
4812 #define wxPalette_GetRGB(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetRGB(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4813 static PyObject
*_wrap_wxPalette_GetRGB(PyObject
*self
, PyObject
*args
) {
4814 PyObject
* _resultobj
;
4827 if(!PyArg_ParseTuple(args
,"sisss:wxPalette_GetRGB",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_argc4
))
4830 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPalette_p")) {
4831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetRGB. Expected _wxPalette_p.");
4836 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_byte_p")) {
4837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPalette_GetRGB. Expected _byte_p.");
4842 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_byte_p")) {
4843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxPalette_GetRGB. Expected _byte_p.");
4848 if (SWIG_GetPtr(_argc4
,(void **) &_arg4
,"_byte_p")) {
4849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxPalette_GetRGB. Expected _byte_p.");
4853 _result
= (bool )wxPalette_GetRGB(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4854 _resultobj
= Py_BuildValue("i",_result
);
4858 #define wxPalette_Ok(_swigobj) (_swigobj->Ok())
4859 static PyObject
*_wrap_wxPalette_Ok(PyObject
*self
, PyObject
*args
) {
4860 PyObject
* _resultobj
;
4866 if(!PyArg_ParseTuple(args
,"s:wxPalette_Ok",&_argc0
))
4869 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPalette_p")) {
4870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_Ok. Expected _wxPalette_p.");
4874 _result
= (bool )wxPalette_Ok(_arg0
);
4875 _resultobj
= Py_BuildValue("i",_result
);
4879 #define new_wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4880 static PyObject
*_wrap_new_wxImageList(PyObject
*self
, PyObject
*args
) {
4881 PyObject
* _resultobj
;
4882 wxImageList
* _result
;
4891 if(!PyArg_ParseTuple(args
,"ii|ii:new_wxImageList",&_arg0
,&_arg1
,&tempbool2
,&_arg3
))
4893 _arg2
= (bool ) tempbool2
;
4894 _result
= (wxImageList
*)new_wxImageList(_arg0
,_arg1
,_arg2
,_arg3
);
4895 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
4896 _resultobj
= Py_BuildValue("s",_ptemp
);
4900 #define delete_wxImageList(_swigobj) (delete _swigobj)
4901 static PyObject
*_wrap_delete_wxImageList(PyObject
*self
, PyObject
*args
) {
4902 PyObject
* _resultobj
;
4903 wxImageList
* _arg0
;
4907 if(!PyArg_ParseTuple(args
,"s:delete_wxImageList",&_argc0
))
4910 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImageList_p")) {
4911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxImageList. Expected _wxImageList_p.");
4915 delete_wxImageList(_arg0
);
4917 _resultobj
= Py_None
;
4921 #define wxImageList_Add(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
4922 static PyObject
*_wrap_wxImageList_Add(PyObject
*self
, PyObject
*args
) {
4923 PyObject
* _resultobj
;
4925 wxImageList
* _arg0
;
4931 if(!PyArg_ParseTuple(args
,"ss:wxImageList_Add",&_argc0
,&_argc1
))
4934 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImageList_p")) {
4935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Add. Expected _wxImageList_p.");
4940 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBitmap_p")) {
4941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_Add. Expected _wxBitmap_p.");
4945 _result
= (int )wxImageList_Add(_arg0
,*_arg1
);
4946 _resultobj
= Py_BuildValue("i",_result
);
4950 #define wxImageList_Replace(_swigobj,_swigarg0,_swigarg1) (_swigobj->Replace(_swigarg0,_swigarg1))
4951 static PyObject
*_wrap_wxImageList_Replace(PyObject
*self
, PyObject
*args
) {
4952 PyObject
* _resultobj
;
4954 wxImageList
* _arg0
;
4961 if(!PyArg_ParseTuple(args
,"sis:wxImageList_Replace",&_argc0
,&_arg1
,&_argc2
))
4964 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImageList_p")) {
4965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Replace. Expected _wxImageList_p.");
4970 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxBitmap_p")) {
4971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Replace. Expected _wxBitmap_p.");
4975 _result
= (bool )wxImageList_Replace(_arg0
,_arg1
,*_arg2
);
4976 _resultobj
= Py_BuildValue("i",_result
);
4980 #define wxImageList_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4981 static PyObject
*_wrap_wxImageList_Draw(PyObject
*self
, PyObject
*args
) {
4982 PyObject
* _resultobj
;
4984 wxImageList
* _arg0
;
4989 int _arg5
= (wxIMAGELIST_DRAW_NORMAL
);
4996 if(!PyArg_ParseTuple(args
,"sisii|ii:wxImageList_Draw",&_argc0
,&_arg1
,&_argc2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
4999 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImageList_p")) {
5000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Draw. Expected _wxImageList_p.");
5005 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxDC_p")) {
5006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Draw. Expected _wxDC_p.");
5010 _arg6
= (bool ) tempbool6
;
5011 _result
= (bool )wxImageList_Draw(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
5012 _resultobj
= Py_BuildValue("i",_result
);
5016 #define wxImageList_GetImageCount(_swigobj) (_swigobj->GetImageCount())
5017 static PyObject
*_wrap_wxImageList_GetImageCount(PyObject
*self
, PyObject
*args
) {
5018 PyObject
* _resultobj
;
5020 wxImageList
* _arg0
;
5024 if(!PyArg_ParseTuple(args
,"s:wxImageList_GetImageCount",&_argc0
))
5027 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImageList_p")) {
5028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_GetImageCount. Expected _wxImageList_p.");
5032 _result
= (int )wxImageList_GetImageCount(_arg0
);
5033 _resultobj
= Py_BuildValue("i",_result
);
5037 #define wxImageList_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
5038 static PyObject
*_wrap_wxImageList_Remove(PyObject
*self
, PyObject
*args
) {
5039 PyObject
* _resultobj
;
5041 wxImageList
* _arg0
;
5046 if(!PyArg_ParseTuple(args
,"si:wxImageList_Remove",&_argc0
,&_arg1
))
5049 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImageList_p")) {
5050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Remove. Expected _wxImageList_p.");
5054 _result
= (bool )wxImageList_Remove(_arg0
,_arg1
);
5055 _resultobj
= Py_BuildValue("i",_result
);
5059 #define wxImageList_RemoveAll(_swigobj) (_swigobj->RemoveAll())
5060 static PyObject
*_wrap_wxImageList_RemoveAll(PyObject
*self
, PyObject
*args
) {
5061 PyObject
* _resultobj
;
5063 wxImageList
* _arg0
;
5067 if(!PyArg_ParseTuple(args
,"s:wxImageList_RemoveAll",&_argc0
))
5070 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImageList_p")) {
5071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_RemoveAll. Expected _wxImageList_p.");
5075 _result
= (bool )wxImageList_RemoveAll(_arg0
);
5076 _resultobj
= Py_BuildValue("i",_result
);
5080 static PyMethodDef gdicMethods
[] = {
5081 { "wxImageList_RemoveAll", _wrap_wxImageList_RemoveAll
, 1 },
5082 { "wxImageList_Remove", _wrap_wxImageList_Remove
, 1 },
5083 { "wxImageList_GetImageCount", _wrap_wxImageList_GetImageCount
, 1 },
5084 { "wxImageList_Draw", _wrap_wxImageList_Draw
, 1 },
5085 { "wxImageList_Replace", _wrap_wxImageList_Replace
, 1 },
5086 { "wxImageList_Add", _wrap_wxImageList_Add
, 1 },
5087 { "delete_wxImageList", _wrap_delete_wxImageList
, 1 },
5088 { "new_wxImageList", _wrap_new_wxImageList
, 1 },
5089 { "wxPalette_Ok", _wrap_wxPalette_Ok
, 1 },
5090 { "wxPalette_GetRGB", _wrap_wxPalette_GetRGB
, 1 },
5091 { "wxPalette_GetPixel", _wrap_wxPalette_GetPixel
, 1 },
5092 { "delete_wxPalette", _wrap_delete_wxPalette
, 1 },
5093 { "new_wxPalette", _wrap_new_wxPalette
, 1 },
5094 { "new_wxPostScriptDC", _wrap_new_wxPostScriptDC
, 1 },
5095 { "new_wxWindowDC", _wrap_new_wxWindowDC
, 1 },
5096 { "new_wxPaintDC", _wrap_new_wxPaintDC
, 1 },
5097 { "new_wxClientDC", _wrap_new_wxClientDC
, 1 },
5098 { "wxScreenDC_EndDrawingOnTop", _wrap_wxScreenDC_EndDrawingOnTop
, 1 },
5099 { "wxScreenDC_StartDrawingOnTopRect", _wrap_wxScreenDC_StartDrawingOnTopRect
, 1 },
5100 { "wxScreenDC_StartDrawingOnTop", _wrap_wxScreenDC_StartDrawingOnTop
, 1 },
5101 { "new_wxScreenDC", _wrap_new_wxScreenDC
, 1 },
5102 { "wxMemoryDC_SelectObject", _wrap_wxMemoryDC_SelectObject
, 1 },
5103 { "new_wxMemoryDC", _wrap_new_wxMemoryDC
, 1 },
5104 { "wxDC_DrawBitmap", _wrap_wxDC_DrawBitmap
, 1 },
5105 { "wxDC_StartPage", _wrap_wxDC_StartPage
, 1 },
5106 { "wxDC_StartDoc", _wrap_wxDC_StartDoc
, 1 },
5107 { "wxDC_SetUserScale", _wrap_wxDC_SetUserScale
, 1 },
5108 { "wxDC_SetTextForeground", _wrap_wxDC_SetTextForeground
, 1 },
5109 { "wxDC_SetTextBackground", _wrap_wxDC_SetTextBackground
, 1 },
5110 { "wxDC_SetPen", _wrap_wxDC_SetPen
, 1 },
5111 { "wxDC_SetOptimization", _wrap_wxDC_SetOptimization
, 1 },
5112 { "wxDC_SetMapMode", _wrap_wxDC_SetMapMode
, 1 },
5113 { "wxDC_SetLogicalFunction", _wrap_wxDC_SetLogicalFunction
, 1 },
5114 { "wxDC_SetFont", _wrap_wxDC_SetFont
, 1 },
5115 { "wxDC_SetBrush", _wrap_wxDC_SetBrush
, 1 },
5116 { "wxDC_SetPalette", _wrap_wxDC_SetPalette
, 1 },
5117 { "wxDC_SetClippingRegion", _wrap_wxDC_SetClippingRegion
, 1 },
5118 { "wxDC_SetBackgroundMode", _wrap_wxDC_SetBackgroundMode
, 1 },
5119 { "wxDC_SetBackground", _wrap_wxDC_SetBackground
, 1 },
5120 { "wxDC_SetDeviceOrigin", _wrap_wxDC_SetDeviceOrigin
, 1 },
5121 { "wxDC_Ok", _wrap_wxDC_Ok
, 1 },
5122 { "wxDC_MinY", _wrap_wxDC_MinY
, 1 },
5123 { "wxDC_MinX", _wrap_wxDC_MinX
, 1 },
5124 { "wxDC_MaxY", _wrap_wxDC_MaxY
, 1 },
5125 { "wxDC_MaxX", _wrap_wxDC_MaxX
, 1 },
5126 { "wxDC_LogicalToDeviceYRel", _wrap_wxDC_LogicalToDeviceYRel
, 1 },
5127 { "wxDC_LogicalToDeviceY", _wrap_wxDC_LogicalToDeviceY
, 1 },
5128 { "wxDC_LogicalToDeviceXRel", _wrap_wxDC_LogicalToDeviceXRel
, 1 },
5129 { "wxDC_LogicalToDeviceX", _wrap_wxDC_LogicalToDeviceX
, 1 },
5130 { "wxDC_GetTextForeground", _wrap_wxDC_GetTextForeground
, 1 },
5131 { "wxDC_GetFullTextExtent", _wrap_wxDC_GetFullTextExtent
, 1 },
5132 { "wxDC_GetTextExtent", _wrap_wxDC_GetTextExtent
, 1 },
5133 { "wxDC_GetTextBackground", _wrap_wxDC_GetTextBackground
, 1 },
5134 { "wxDC_GetSize", _wrap_wxDC_GetSize
, 1 },
5135 { "wxDC_GetPixel", _wrap_wxDC_GetPixel
, 1 },
5136 { "wxDC_GetPen", _wrap_wxDC_GetPen
, 1 },
5137 { "wxDC_GetOptimization", _wrap_wxDC_GetOptimization
, 1 },
5138 { "wxDC_GetMapMode", _wrap_wxDC_GetMapMode
, 1 },
5139 { "wxDC_GetLogicalFunction", _wrap_wxDC_GetLogicalFunction
, 1 },
5140 { "wxDC_GetFont", _wrap_wxDC_GetFont
, 1 },
5141 { "wxDC_GetClippingBox", _wrap_wxDC_GetClippingBox
, 1 },
5142 { "wxDC_GetCharWidth", _wrap_wxDC_GetCharWidth
, 1 },
5143 { "wxDC_GetCharHeight", _wrap_wxDC_GetCharHeight
, 1 },
5144 { "wxDC_GetBrush", _wrap_wxDC_GetBrush
, 1 },
5145 { "wxDC_GetBackground", _wrap_wxDC_GetBackground
, 1 },
5146 { "wxDC_FloodFill", _wrap_wxDC_FloodFill
, 1 },
5147 { "wxDC_EndPage", _wrap_wxDC_EndPage
, 1 },
5148 { "wxDC_EndDrawing", _wrap_wxDC_EndDrawing
, 1 },
5149 { "wxDC_EndDoc", _wrap_wxDC_EndDoc
, 1 },
5150 { "wxDC_DrawText", _wrap_wxDC_DrawText
, 1 },
5151 { "wxDC_DrawSpline", _wrap_wxDC_DrawSpline
, 1 },
5152 { "wxDC_DrawRoundedRectangle", _wrap_wxDC_DrawRoundedRectangle
, 1 },
5153 { "wxDC_DrawRectangle", _wrap_wxDC_DrawRectangle
, 1 },
5154 { "wxDC_DrawPoint", _wrap_wxDC_DrawPoint
, 1 },
5155 { "wxDC_DrawPolygon", _wrap_wxDC_DrawPolygon
, 1 },
5156 { "wxDC_DrawLines", _wrap_wxDC_DrawLines
, 1 },
5157 { "wxDC_DrawLine", _wrap_wxDC_DrawLine
, 1 },
5158 { "wxDC_DrawIcon", _wrap_wxDC_DrawIcon
, 1 },
5159 { "wxDC_DrawEllipticArc", _wrap_wxDC_DrawEllipticArc
, 1 },
5160 { "wxDC_DrawEllipse", _wrap_wxDC_DrawEllipse
, 1 },
5161 { "wxDC_DrawArc", _wrap_wxDC_DrawArc
, 1 },
5162 { "wxDC_DeviceToLogicalYRel", _wrap_wxDC_DeviceToLogicalYRel
, 1 },
5163 { "wxDC_DeviceToLogicalY", _wrap_wxDC_DeviceToLogicalY
, 1 },
5164 { "wxDC_DeviceToLogicalXRel", _wrap_wxDC_DeviceToLogicalXRel
, 1 },
5165 { "wxDC_DeviceToLogicalX", _wrap_wxDC_DeviceToLogicalX
, 1 },
5166 { "wxDC_DestroyClippingRegion", _wrap_wxDC_DestroyClippingRegion
, 1 },
5167 { "wxDC_CrossHair", _wrap_wxDC_CrossHair
, 1 },
5168 { "wxDC_Clear", _wrap_wxDC_Clear
, 1 },
5169 { "wxDC_Blit", _wrap_wxDC_Blit
, 1 },
5170 { "wxDC_BeginDrawing", _wrap_wxDC_BeginDrawing
, 1 },
5171 { "delete_wxDC", _wrap_delete_wxDC
, 1 },
5172 { "wxBrush_SetStyle", _wrap_wxBrush_SetStyle
, 1 },
5173 { "wxBrush_SetStipple", _wrap_wxBrush_SetStipple
, 1 },
5174 { "wxBrush_SetColour", _wrap_wxBrush_SetColour
, 1 },
5175 { "wxBrush_Ok", _wrap_wxBrush_Ok
, 1 },
5176 { "wxBrush_GetStyle", _wrap_wxBrush_GetStyle
, 1 },
5177 { "wxBrush_GetStipple", _wrap_wxBrush_GetStipple
, 1 },
5178 { "wxBrush_GetColour", _wrap_wxBrush_GetColour
, 1 },
5179 { "new_wxBrush", _wrap_new_wxBrush
, 1 },
5180 { "wxPen_SetWidth", _wrap_wxPen_SetWidth
, 1 },
5181 { "wxPen_SetStyle", _wrap_wxPen_SetStyle
, 1 },
5182 { "wxPen_SetJoin", _wrap_wxPen_SetJoin
, 1 },
5183 { "wxPen_SetColour", _wrap_wxPen_SetColour
, 1 },
5184 { "wxPen_SetCap", _wrap_wxPen_SetCap
, 1 },
5185 { "wxPen_Ok", _wrap_wxPen_Ok
, 1 },
5186 { "wxPen_GetWidth", _wrap_wxPen_GetWidth
, 1 },
5187 { "wxPen_GetStyle", _wrap_wxPen_GetStyle
, 1 },
5188 { "wxPen_GetJoin", _wrap_wxPen_GetJoin
, 1 },
5189 { "wxPen_GetColour", _wrap_wxPen_GetColour
, 1 },
5190 { "wxPen_GetCap", _wrap_wxPen_GetCap
, 1 },
5191 { "new_wxPen", _wrap_new_wxPen
, 1 },
5192 { "wxColour_Get", _wrap_wxColour_Get
, 1 },
5193 { "wxColour_Set", _wrap_wxColour_Set
, 1 },
5194 { "wxColour_Ok", _wrap_wxColour_Ok
, 1 },
5195 { "wxColour_Blue", _wrap_wxColour_Blue
, 1 },
5196 { "wxColour_Green", _wrap_wxColour_Green
, 1 },
5197 { "wxColour_Red", _wrap_wxColour_Red
, 1 },
5198 { "delete_wxColour", _wrap_delete_wxColour
, 1 },
5199 { "new_wxColour", _wrap_new_wxColour
, 1 },
5200 { "wxFont_SetWeight", _wrap_wxFont_SetWeight
, 1 },
5201 { "wxFont_SetUnderlined", _wrap_wxFont_SetUnderlined
, 1 },
5202 { "wxFont_SetStyle", _wrap_wxFont_SetStyle
, 1 },
5203 { "wxFont_SetPointSize", _wrap_wxFont_SetPointSize
, 1 },
5204 { "wxFont_SetFamily", _wrap_wxFont_SetFamily
, 1 },
5205 { "wxFont_SetFaceName", _wrap_wxFont_SetFaceName
, 1 },
5206 { "wxFont_GetWeight", _wrap_wxFont_GetWeight
, 1 },
5207 { "wxFont_GetUnderlined", _wrap_wxFont_GetUnderlined
, 1 },
5208 { "wxFont_GetStyle", _wrap_wxFont_GetStyle
, 1 },
5209 { "wxFont_GetPointSize", _wrap_wxFont_GetPointSize
, 1 },
5210 { "wxFont_GetFamily", _wrap_wxFont_GetFamily
, 1 },
5211 { "wxFont_GetFaceName", _wrap_wxFont_GetFaceName
, 1 },
5212 { "new_wxFont", _wrap_new_wxFont
, 1 },
5213 { "wxCursor_Ok", _wrap_wxCursor_Ok
, 1 },
5214 { "delete_wxCursor", _wrap_delete_wxCursor
, 1 },
5215 { "wxIcon_SetWidth", _wrap_wxIcon_SetWidth
, 1 },
5216 { "wxIcon_SetHeight", _wrap_wxIcon_SetHeight
, 1 },
5217 { "wxIcon_SetDepth", _wrap_wxIcon_SetDepth
, 1 },
5218 { "wxIcon_Ok", _wrap_wxIcon_Ok
, 1 },
5219 { "wxIcon_LoadFile", _wrap_wxIcon_LoadFile
, 1 },
5220 { "wxIcon_GetWidth", _wrap_wxIcon_GetWidth
, 1 },
5221 { "wxIcon_GetHeight", _wrap_wxIcon_GetHeight
, 1 },
5222 { "wxIcon_GetDepth", _wrap_wxIcon_GetDepth
, 1 },
5223 { "delete_wxIcon", _wrap_delete_wxIcon
, 1 },
5224 { "delete_wxMask", _wrap_delete_wxMask
, 1 },
5225 { "new_wxMask", _wrap_new_wxMask
, 1 },
5226 { "wxBitmap_SetWidth", _wrap_wxBitmap_SetWidth
, 1 },
5227 { "wxBitmap_SetMask", _wrap_wxBitmap_SetMask
, 1 },
5228 { "wxBitmap_SetHeight", _wrap_wxBitmap_SetHeight
, 1 },
5229 { "wxBitmap_SetDepth", _wrap_wxBitmap_SetDepth
, 1 },
5230 { "wxBitmap_SaveFile", _wrap_wxBitmap_SaveFile
, 1 },
5231 { "wxBitmap_Ok", _wrap_wxBitmap_Ok
, 1 },
5232 { "wxBitmap_LoadFile", _wrap_wxBitmap_LoadFile
, 1 },
5233 { "wxBitmap_GetWidth", _wrap_wxBitmap_GetWidth
, 1 },
5234 { "wxBitmap_GetMask", _wrap_wxBitmap_GetMask
, 1 },
5235 { "wxBitmap_GetPalette", _wrap_wxBitmap_GetPalette
, 1 },
5236 { "wxBitmap_GetHeight", _wrap_wxBitmap_GetHeight
, 1 },
5237 { "wxBitmap_GetDepth", _wrap_wxBitmap_GetDepth
, 1 },
5238 { "delete_wxBitmap", _wrap_delete_wxBitmap
, 1 },
5239 { "new_wxBitmap", _wrap_new_wxBitmap
, 1 },
5240 { "wxMemoryDCFromDC", _wrap_wxMemoryDCFromDC
, 1 },
5241 { "wxNamedColour", _wrap_wxNamedColour
, 1 },
5242 { "wxStockCursor", _wrap_wxStockCursor
, 1 },
5243 { "wxMaskColour", _wrap_wxMaskColour
, 1 },
5244 { "wxNoRefBitmap", _wrap_wxNoRefBitmap
, 1 },
5245 { "wxEmptyBitmap", _wrap_wxEmptyBitmap
, 1 },
5248 static PyObject
*SWIG_globals
;
5252 SWIGEXPORT(void,initgdic
)() {
5254 SWIG_globals
= SWIG_newvarlink();
5255 m
= Py_InitModule("gdic", gdicMethods
);
5256 d
= PyModule_GetDict(m
);
5257 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
5258 SWIG_addvarlink(SWIG_globals
,"wxNORMAL_FONT",_wrap_wxNORMAL_FONT_get
, _wrap_wxNORMAL_FONT_set
);
5259 SWIG_addvarlink(SWIG_globals
,"wxSMALL_FONT",_wrap_wxSMALL_FONT_get
, _wrap_wxSMALL_FONT_set
);
5260 SWIG_addvarlink(SWIG_globals
,"wxITALIC_FONT",_wrap_wxITALIC_FONT_get
, _wrap_wxITALIC_FONT_set
);
5261 SWIG_addvarlink(SWIG_globals
,"wxSWISS_FONT",_wrap_wxSWISS_FONT_get
, _wrap_wxSWISS_FONT_set
);
5262 SWIG_addvarlink(SWIG_globals
,"wxRED_PEN",_wrap_wxRED_PEN_get
, _wrap_wxRED_PEN_set
);
5263 SWIG_addvarlink(SWIG_globals
,"wxCYAN_PEN",_wrap_wxCYAN_PEN_get
, _wrap_wxCYAN_PEN_set
);
5264 SWIG_addvarlink(SWIG_globals
,"wxGREEN_PEN",_wrap_wxGREEN_PEN_get
, _wrap_wxGREEN_PEN_set
);
5265 SWIG_addvarlink(SWIG_globals
,"wxBLACK_PEN",_wrap_wxBLACK_PEN_get
, _wrap_wxBLACK_PEN_set
);
5266 SWIG_addvarlink(SWIG_globals
,"wxWHITE_PEN",_wrap_wxWHITE_PEN_get
, _wrap_wxWHITE_PEN_set
);
5267 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_PEN",_wrap_wxTRANSPARENT_PEN_get
, _wrap_wxTRANSPARENT_PEN_set
);
5268 SWIG_addvarlink(SWIG_globals
,"wxBLACK_DASHED_PEN",_wrap_wxBLACK_DASHED_PEN_get
, _wrap_wxBLACK_DASHED_PEN_set
);
5269 SWIG_addvarlink(SWIG_globals
,"wxGREY_PEN",_wrap_wxGREY_PEN_get
, _wrap_wxGREY_PEN_set
);
5270 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_PEN",_wrap_wxMEDIUM_GREY_PEN_get
, _wrap_wxMEDIUM_GREY_PEN_set
);
5271 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_PEN",_wrap_wxLIGHT_GREY_PEN_get
, _wrap_wxLIGHT_GREY_PEN_set
);
5272 SWIG_addvarlink(SWIG_globals
,"wxBLUE_BRUSH",_wrap_wxBLUE_BRUSH_get
, _wrap_wxBLUE_BRUSH_set
);
5273 SWIG_addvarlink(SWIG_globals
,"wxGREEN_BRUSH",_wrap_wxGREEN_BRUSH_get
, _wrap_wxGREEN_BRUSH_set
);
5274 SWIG_addvarlink(SWIG_globals
,"wxWHITE_BRUSH",_wrap_wxWHITE_BRUSH_get
, _wrap_wxWHITE_BRUSH_set
);
5275 SWIG_addvarlink(SWIG_globals
,"wxBLACK_BRUSH",_wrap_wxBLACK_BRUSH_get
, _wrap_wxBLACK_BRUSH_set
);
5276 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_BRUSH",_wrap_wxTRANSPARENT_BRUSH_get
, _wrap_wxTRANSPARENT_BRUSH_set
);
5277 SWIG_addvarlink(SWIG_globals
,"wxCYAN_BRUSH",_wrap_wxCYAN_BRUSH_get
, _wrap_wxCYAN_BRUSH_set
);
5278 SWIG_addvarlink(SWIG_globals
,"wxRED_BRUSH",_wrap_wxRED_BRUSH_get
, _wrap_wxRED_BRUSH_set
);
5279 SWIG_addvarlink(SWIG_globals
,"wxGREY_BRUSH",_wrap_wxGREY_BRUSH_get
, _wrap_wxGREY_BRUSH_set
);
5280 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_BRUSH",_wrap_wxMEDIUM_GREY_BRUSH_get
, _wrap_wxMEDIUM_GREY_BRUSH_set
);
5281 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_BRUSH",_wrap_wxLIGHT_GREY_BRUSH_get
, _wrap_wxLIGHT_GREY_BRUSH_set
);
5282 SWIG_addvarlink(SWIG_globals
,"wxBLACK",_wrap_wxBLACK_get
, _wrap_wxBLACK_set
);
5283 SWIG_addvarlink(SWIG_globals
,"wxWHITE",_wrap_wxWHITE_get
, _wrap_wxWHITE_set
);
5284 SWIG_addvarlink(SWIG_globals
,"wxRED",_wrap_wxRED_get
, _wrap_wxRED_set
);
5285 SWIG_addvarlink(SWIG_globals
,"wxBLUE",_wrap_wxBLUE_get
, _wrap_wxBLUE_set
);
5286 SWIG_addvarlink(SWIG_globals
,"wxGREEN",_wrap_wxGREEN_get
, _wrap_wxGREEN_set
);
5287 SWIG_addvarlink(SWIG_globals
,"wxCYAN",_wrap_wxCYAN_get
, _wrap_wxCYAN_set
);
5288 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY",_wrap_wxLIGHT_GREY_get
, _wrap_wxLIGHT_GREY_set
);
5289 SWIG_addvarlink(SWIG_globals
,"wxSTANDARD_CURSOR",_wrap_wxSTANDARD_CURSOR_get
, _wrap_wxSTANDARD_CURSOR_set
);
5290 SWIG_addvarlink(SWIG_globals
,"wxHOURGLASS_CURSOR",_wrap_wxHOURGLASS_CURSOR_get
, _wrap_wxHOURGLASS_CURSOR_set
);
5291 SWIG_addvarlink(SWIG_globals
,"wxCROSS_CURSOR",_wrap_wxCROSS_CURSOR_get
, _wrap_wxCROSS_CURSOR_set
);
5292 SWIG_addvarlink(SWIG_globals
,"wxNullBitmap",_wrap_wxNullBitmap_get
, _wrap_wxNullBitmap_set
);
5293 SWIG_addvarlink(SWIG_globals
,"wxNullIcon",_wrap_wxNullIcon_get
, _wrap_wxNullIcon_set
);
5294 SWIG_addvarlink(SWIG_globals
,"wxNullCursor",_wrap_wxNullCursor_get
, _wrap_wxNullCursor_set
);
5295 SWIG_addvarlink(SWIG_globals
,"wxNullPen",_wrap_wxNullPen_get
, _wrap_wxNullPen_set
);
5296 SWIG_addvarlink(SWIG_globals
,"wxNullBrush",_wrap_wxNullBrush_get
, _wrap_wxNullBrush_set
);
5297 SWIG_addvarlink(SWIG_globals
,"wxNullPalette",_wrap_wxNullPalette_get
, _wrap_wxNullPalette_set
);
5298 SWIG_addvarlink(SWIG_globals
,"wxNullFont",_wrap_wxNullFont_get
, _wrap_wxNullFont_set
);
5299 SWIG_addvarlink(SWIG_globals
,"wxNullColour",_wrap_wxNullColour_get
, _wrap_wxNullColour_set
);
5300 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_NORMAL", PyInt_FromLong((long) wxIMAGELIST_DRAW_NORMAL
));
5301 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_TRANSPARENT", PyInt_FromLong((long) wxIMAGELIST_DRAW_TRANSPARENT
));
5302 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_SELECTED", PyInt_FromLong((long) wxIMAGELIST_DRAW_SELECTED
));
5303 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_FOCUSED", PyInt_FromLong((long) wxIMAGELIST_DRAW_FOCUSED
));
5304 PyDict_SetItemString(d
,"wxIMAGE_LIST_NORMAL", PyInt_FromLong((long) wxIMAGE_LIST_NORMAL
));
5305 PyDict_SetItemString(d
,"wxIMAGE_LIST_SMALL", PyInt_FromLong((long) wxIMAGE_LIST_SMALL
));
5306 PyDict_SetItemString(d
,"wxIMAGE_LIST_STATE", PyInt_FromLong((long) wxIMAGE_LIST_STATE
));
5308 * These are the pointer type-equivalency mappings.
5309 * (Used by the SWIG pointer type-checker).
5311 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
5312 SWIG_RegisterMapping("_signed_long","_long",0);
5313 SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
5314 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
5315 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
5316 SWIG_RegisterMapping("_wxToolTip","_class_wxToolTip",0);
5317 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
5318 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
5319 SWIG_RegisterMapping("_byte","_unsigned_char",0);
5320 SWIG_RegisterMapping("_long","_wxDash",0);
5321 SWIG_RegisterMapping("_long","_unsigned_long",0);
5322 SWIG_RegisterMapping("_long","_signed_long",0);
5323 SWIG_RegisterMapping("_wxImageList","_class_wxImageList",0);
5324 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
5325 SWIG_RegisterMapping("_wxDC","_class_wxPostScriptDC",SwigwxPostScriptDCTowxDC
);
5326 SWIG_RegisterMapping("_wxDC","_wxPostScriptDC",SwigwxPostScriptDCTowxDC
);
5327 SWIG_RegisterMapping("_wxDC","_class_wxWindowDC",SwigwxWindowDCTowxDC
);
5328 SWIG_RegisterMapping("_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC
);
5329 SWIG_RegisterMapping("_wxDC","_class_wxPaintDC",SwigwxPaintDCTowxDC
);
5330 SWIG_RegisterMapping("_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
);
5331 SWIG_RegisterMapping("_wxDC","_class_wxClientDC",SwigwxClientDCTowxDC
);
5332 SWIG_RegisterMapping("_wxDC","_wxClientDC",SwigwxClientDCTowxDC
);
5333 SWIG_RegisterMapping("_wxDC","_class_wxScreenDC",SwigwxScreenDCTowxDC
);
5334 SWIG_RegisterMapping("_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
);
5335 SWIG_RegisterMapping("_wxDC","_class_wxMemoryDC",SwigwxMemoryDCTowxDC
);
5336 SWIG_RegisterMapping("_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
);
5337 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
5338 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
5339 SWIG_RegisterMapping("_class_wxPostScriptDC","_wxPostScriptDC",0);
5340 SWIG_RegisterMapping("_class_wxToolTip","_wxToolTip",0);
5341 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
5342 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
5343 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
5344 SWIG_RegisterMapping("_uint","_unsigned_int",0);
5345 SWIG_RegisterMapping("_uint","_int",0);
5346 SWIG_RegisterMapping("_uint","_wxWindowID",0);
5347 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
5348 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
5349 SWIG_RegisterMapping("_wxBitmap","_class_wxCursor",SwigwxCursorTowxBitmap
);
5350 SWIG_RegisterMapping("_wxBitmap","_wxCursor",SwigwxCursorTowxBitmap
);
5351 SWIG_RegisterMapping("_wxBitmap","_class_wxIcon",SwigwxIconTowxBitmap
);
5352 SWIG_RegisterMapping("_wxBitmap","_wxIcon",SwigwxIconTowxBitmap
);
5353 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
5354 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
5355 SWIG_RegisterMapping("_wxWindowDC","_class_wxWindowDC",0);
5356 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
5357 SWIG_RegisterMapping("_EBool","_signed_int",0);
5358 SWIG_RegisterMapping("_EBool","_int",0);
5359 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
5360 SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0);
5361 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
5362 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
5363 SWIG_RegisterMapping("_unsigned_long","_long",0);
5364 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
5365 SWIG_RegisterMapping("_class_wxDC","_class_wxPostScriptDC",SwigwxPostScriptDCTowxDC
);
5366 SWIG_RegisterMapping("_class_wxDC","_wxPostScriptDC",SwigwxPostScriptDCTowxDC
);
5367 SWIG_RegisterMapping("_class_wxDC","_class_wxWindowDC",SwigwxWindowDCTowxDC
);
5368 SWIG_RegisterMapping("_class_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC
);
5369 SWIG_RegisterMapping("_class_wxDC","_class_wxPaintDC",SwigwxPaintDCTowxDC
);
5370 SWIG_RegisterMapping("_class_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
);
5371 SWIG_RegisterMapping("_class_wxDC","_class_wxClientDC",SwigwxClientDCTowxDC
);
5372 SWIG_RegisterMapping("_class_wxDC","_wxClientDC",SwigwxClientDCTowxDC
);
5373 SWIG_RegisterMapping("_class_wxDC","_class_wxScreenDC",SwigwxScreenDCTowxDC
);
5374 SWIG_RegisterMapping("_class_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
);
5375 SWIG_RegisterMapping("_class_wxDC","_class_wxMemoryDC",SwigwxMemoryDCTowxDC
);
5376 SWIG_RegisterMapping("_class_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
);
5377 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
5378 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
5379 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
5380 SWIG_RegisterMapping("_signed_int","_EBool",0);
5381 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
5382 SWIG_RegisterMapping("_signed_int","_int",0);
5383 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
5384 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
5385 SWIG_RegisterMapping("_WXTYPE","_short",0);
5386 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
5387 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
5388 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
5389 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
5390 SWIG_RegisterMapping("_unsigned_short","_short",0);
5391 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
5392 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
5393 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
5394 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
5395 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
5396 SWIG_RegisterMapping("_signed_short","_short",0);
5397 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
5398 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
5399 SWIG_RegisterMapping("_class_wxWindowDC","_wxWindowDC",0);
5400 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
5401 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
5402 SWIG_RegisterMapping("_wxPostScriptDC","_class_wxPostScriptDC",0);
5403 SWIG_RegisterMapping("_unsigned_char","_byte",0);
5404 SWIG_RegisterMapping("_unsigned_int","_uint",0);
5405 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
5406 SWIG_RegisterMapping("_unsigned_int","_int",0);
5407 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
5408 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
5409 SWIG_RegisterMapping("_short","_WXTYPE",0);
5410 SWIG_RegisterMapping("_short","_unsigned_short",0);
5411 SWIG_RegisterMapping("_short","_signed_short",0);
5412 SWIG_RegisterMapping("_class_wxImageList","_wxImageList",0);
5413 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
5414 SWIG_RegisterMapping("_wxWindowID","_uint",0);
5415 SWIG_RegisterMapping("_wxWindowID","_int",0);
5416 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
5417 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
5418 SWIG_RegisterMapping("_int","_EBool",0);
5419 SWIG_RegisterMapping("_int","_uint",0);
5420 SWIG_RegisterMapping("_int","_wxWindowID",0);
5421 SWIG_RegisterMapping("_int","_unsigned_int",0);
5422 SWIG_RegisterMapping("_int","_signed_int",0);
5423 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
5424 SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0);
5425 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
5426 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
5427 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
5428 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
5429 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
5430 SWIG_RegisterMapping("_wxPalette","_class_wxPalette",0);
5431 SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
5432 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
5433 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
5434 SWIG_RegisterMapping("_class_wxBitmap","_class_wxCursor",SwigwxCursorTowxBitmap
);
5435 SWIG_RegisterMapping("_class_wxBitmap","_wxCursor",SwigwxCursorTowxBitmap
);
5436 SWIG_RegisterMapping("_class_wxBitmap","_class_wxIcon",SwigwxIconTowxBitmap
);
5437 SWIG_RegisterMapping("_class_wxBitmap","_wxIcon",SwigwxIconTowxBitmap
);
5438 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
5439 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
5440 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
5441 SWIG_RegisterMapping("_wxDash","_long",0);
5442 SWIG_RegisterMapping("_class_wxPalette","_wxPalette",0);