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>
59 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
63 } else if (target
== Py_None
) {
67 if (!PyList_Check(target
)) {
69 target
= PyList_New(0);
70 PyList_Append(target
, o2
);
73 PyList_Append(target
,o
);
79 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
85 } else if (target
== Py_None
) {
89 if (!PyTuple_Check(target
)) {
91 target
= PyTuple_New(1);
92 PyTuple_SetItem(target
, 0, o2
);
95 PyTuple_SetItem(o3
, 0, o
);
98 target
= PySequence_Concat(o2
, o3
);
106 extern byte
* byte_LIST_helper(PyObject
* source
);
107 extern int* int_LIST_helper(PyObject
* source
);
108 extern long* long_LIST_helper(PyObject
* source
);
109 extern char** string_LIST_helper(PyObject
* source
);
110 extern wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
111 extern wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
112 extern wxString
* wxString_LIST_helper(PyObject
* source
);
113 extern wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
116 static char* wxStringErrorMsg
= "string type is required for parameter";
117 // Alternate 'constructor'
118 wxBitmap
* wxEmptyBitmap(int width
, int height
, int depth
=-1) {
119 return new wxBitmap(width
, height
, depth
);
122 // This one won't own the reference, so Python won't call
123 // the dtor, this is good for toolbars and such where
124 // the parent will manage the bitmap.
125 wxBitmap
* wxNoRefBitmap(char* name
, long flags
) {
126 return new wxBitmap(name
, flags
);
129 wxMask
* wxMaskColour(const wxBitmap
& bitmap
, const wxColour
& colour
) {
130 return new wxMask(bitmap
, colour
);
132 // Alternate 'constructor'
133 wxCursor
* wxPyStockCursor(int id
) {
134 return new wxCursor(id
);
136 // Alternate 'constructor'
137 wxColour
* wxNamedColour(const wxString
& colorName
) {
138 return new wxColour(colorName
);
140 // Alternate 'constructor'
141 wxMemoryDC
* wxMemoryDCFromDC(wxDC
* oldDC
) {
142 return new wxMemoryDC(oldDC
);
144 extern wxFont
* wxNORMAL_FONT
;
145 extern wxFont
* wxSMALL_FONT
;
146 extern wxFont
* wxITALIC_FONT
;
147 extern wxFont
* wxSWISS_FONT
;
148 extern wxPen
* wxRED_PEN
;
149 extern wxPen
* wxCYAN_PEN
;
150 extern wxPen
* wxGREEN_PEN
;
151 extern wxPen
* wxBLACK_PEN
;
152 extern wxPen
* wxWHITE_PEN
;
153 extern wxPen
* wxTRANSPARENT_PEN
;
154 extern wxPen
* wxBLACK_DASHED_PEN
;
155 extern wxPen
* wxGREY_PEN
;
156 extern wxPen
* wxMEDIUM_GREY_PEN
;
157 extern wxPen
* wxLIGHT_GREY_PEN
;
158 extern wxBrush
* wxBLUE_BRUSH
;
159 extern wxBrush
* wxGREEN_BRUSH
;
160 extern wxBrush
* wxWHITE_BRUSH
;
161 extern wxBrush
* wxBLACK_BRUSH
;
162 extern wxBrush
* wxTRANSPARENT_BRUSH
;
163 extern wxBrush
* wxCYAN_BRUSH
;
164 extern wxBrush
* wxRED_BRUSH
;
165 extern wxBrush
* wxGREY_BRUSH
;
166 extern wxBrush
* wxMEDIUM_GREY_BRUSH
;
167 extern wxBrush
* wxLIGHT_GREY_BRUSH
;
168 extern wxColour
* wxBLACK
;
169 extern wxColour
* wxWHITE
;
170 extern wxColour
* wxRED
;
171 extern wxColour
* wxBLUE
;
172 extern wxColour
* wxGREEN
;
173 extern wxColour
* wxCYAN
;
174 extern wxColour
* wxLIGHT_GREY
;
175 extern wxCursor
* wxSTANDARD_CURSOR
;
176 extern wxCursor
* wxHOURGLASS_CURSOR
;
177 extern wxCursor
* wxCROSS_CURSOR
;
178 extern wxBitmap wxNullBitmap
;
179 extern wxIcon wxNullIcon
;
180 extern wxCursor wxNullCursor
;
181 extern wxPen wxNullPen
;
182 extern wxBrush wxNullBrush
;
183 extern wxPalette wxNullPalette
;
184 extern wxFont wxNullFont
;
185 extern wxColour wxNullColour
;
186 static PyObject
*_wrap_wxEmptyBitmap(PyObject
*self
, PyObject
*args
) {
187 PyObject
* _resultobj
;
195 if(!PyArg_ParseTuple(args
,"ii|i:wxEmptyBitmap",&_arg0
,&_arg1
,&_arg2
))
197 _result
= (wxBitmap
*)wxEmptyBitmap(_arg0
,_arg1
,_arg2
);
198 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
199 _resultobj
= Py_BuildValue("s",_ptemp
);
203 static PyObject
*_wrap_wxNoRefBitmap(PyObject
*self
, PyObject
*args
) {
204 PyObject
* _resultobj
;
211 if(!PyArg_ParseTuple(args
,"sl:wxNoRefBitmap",&_arg0
,&_arg1
))
213 _result
= (wxBitmap
*)wxNoRefBitmap(_arg0
,_arg1
);
214 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
215 _resultobj
= Py_BuildValue("s",_ptemp
);
219 static PyObject
*_wrap_wxMaskColour(PyObject
*self
, PyObject
*args
) {
220 PyObject
* _resultobj
;
229 if(!PyArg_ParseTuple(args
,"ss:wxMaskColour",&_argc0
,&_argc1
))
232 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMaskColour. Expected _wxBitmap_p.");
238 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMaskColour. Expected _wxColour_p.");
243 _result
= (wxMask
*)wxMaskColour(*_arg0
,*_arg1
);
244 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
245 _resultobj
= Py_BuildValue("s",_ptemp
);
249 static PyObject
*_wrap_wxStockCursor(PyObject
*self
, PyObject
*args
) {
250 PyObject
* _resultobj
;
256 if(!PyArg_ParseTuple(args
,"i:wxStockCursor",&_arg0
))
258 _result
= (wxCursor
*)wxPyStockCursor(_arg0
);
259 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCursor_p");
260 _resultobj
= Py_BuildValue("s",_ptemp
);
264 static PyObject
*_wrap_wxNamedColour(PyObject
*self
, PyObject
*args
) {
265 PyObject
* _resultobj
;
268 PyObject
* _obj0
= 0;
272 if(!PyArg_ParseTuple(args
,"O:wxNamedColour",&_obj0
))
275 if (!PyString_Check(_obj0
)) {
276 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
279 _arg0
= new wxString(PyString_AsString(_obj0
));
281 _result
= (wxColour
*)wxNamedColour(*_arg0
);
282 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
283 _resultobj
= Py_BuildValue("s",_ptemp
);
291 static PyObject
*_wrap_wxMemoryDCFromDC(PyObject
*self
, PyObject
*args
) {
292 PyObject
* _resultobj
;
293 wxMemoryDC
* _result
;
299 if(!PyArg_ParseTuple(args
,"s:wxMemoryDCFromDC",&_argc0
))
302 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDCFromDC. Expected _wxDC_p.");
307 _result
= (wxMemoryDC
*)wxMemoryDCFromDC(_arg0
);
308 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
309 _resultobj
= Py_BuildValue("s",_ptemp
);
313 static int _wrap_wxNORMAL_FONT_set(PyObject
*val
) {
315 PyErr_SetString(PyExc_TypeError
,"Variable wxNORMAL_FONT is read-only.");
319 static PyObject
*_wrap_wxNORMAL_FONT_get() {
323 SWIG_MakePtr(ptemp
, (char *) wxNORMAL_FONT
,"_wxFont_p");
324 pyobj
= PyString_FromString(ptemp
);
328 static int _wrap_wxSMALL_FONT_set(PyObject
*val
) {
330 PyErr_SetString(PyExc_TypeError
,"Variable wxSMALL_FONT is read-only.");
334 static PyObject
*_wrap_wxSMALL_FONT_get() {
338 SWIG_MakePtr(ptemp
, (char *) wxSMALL_FONT
,"_wxFont_p");
339 pyobj
= PyString_FromString(ptemp
);
343 static int _wrap_wxITALIC_FONT_set(PyObject
*val
) {
345 PyErr_SetString(PyExc_TypeError
,"Variable wxITALIC_FONT is read-only.");
349 static PyObject
*_wrap_wxITALIC_FONT_get() {
353 SWIG_MakePtr(ptemp
, (char *) wxITALIC_FONT
,"_wxFont_p");
354 pyobj
= PyString_FromString(ptemp
);
358 static int _wrap_wxSWISS_FONT_set(PyObject
*val
) {
360 PyErr_SetString(PyExc_TypeError
,"Variable wxSWISS_FONT is read-only.");
364 static PyObject
*_wrap_wxSWISS_FONT_get() {
368 SWIG_MakePtr(ptemp
, (char *) wxSWISS_FONT
,"_wxFont_p");
369 pyobj
= PyString_FromString(ptemp
);
373 static int _wrap_wxRED_PEN_set(PyObject
*val
) {
375 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_PEN is read-only.");
379 static PyObject
*_wrap_wxRED_PEN_get() {
383 SWIG_MakePtr(ptemp
, (char *) wxRED_PEN
,"_wxPen_p");
384 pyobj
= PyString_FromString(ptemp
);
388 static int _wrap_wxCYAN_PEN_set(PyObject
*val
) {
390 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_PEN is read-only.");
394 static PyObject
*_wrap_wxCYAN_PEN_get() {
398 SWIG_MakePtr(ptemp
, (char *) wxCYAN_PEN
,"_wxPen_p");
399 pyobj
= PyString_FromString(ptemp
);
403 static int _wrap_wxGREEN_PEN_set(PyObject
*val
) {
405 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_PEN is read-only.");
409 static PyObject
*_wrap_wxGREEN_PEN_get() {
413 SWIG_MakePtr(ptemp
, (char *) wxGREEN_PEN
,"_wxPen_p");
414 pyobj
= PyString_FromString(ptemp
);
418 static int _wrap_wxBLACK_PEN_set(PyObject
*val
) {
420 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_PEN is read-only.");
424 static PyObject
*_wrap_wxBLACK_PEN_get() {
428 SWIG_MakePtr(ptemp
, (char *) wxBLACK_PEN
,"_wxPen_p");
429 pyobj
= PyString_FromString(ptemp
);
433 static int _wrap_wxWHITE_PEN_set(PyObject
*val
) {
435 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_PEN is read-only.");
439 static PyObject
*_wrap_wxWHITE_PEN_get() {
443 SWIG_MakePtr(ptemp
, (char *) wxWHITE_PEN
,"_wxPen_p");
444 pyobj
= PyString_FromString(ptemp
);
448 static int _wrap_wxTRANSPARENT_PEN_set(PyObject
*val
) {
450 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_PEN is read-only.");
454 static PyObject
*_wrap_wxTRANSPARENT_PEN_get() {
458 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_PEN
,"_wxPen_p");
459 pyobj
= PyString_FromString(ptemp
);
463 static int _wrap_wxBLACK_DASHED_PEN_set(PyObject
*val
) {
465 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_DASHED_PEN is read-only.");
469 static PyObject
*_wrap_wxBLACK_DASHED_PEN_get() {
473 SWIG_MakePtr(ptemp
, (char *) wxBLACK_DASHED_PEN
,"_wxPen_p");
474 pyobj
= PyString_FromString(ptemp
);
478 static int _wrap_wxGREY_PEN_set(PyObject
*val
) {
480 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_PEN is read-only.");
484 static PyObject
*_wrap_wxGREY_PEN_get() {
488 SWIG_MakePtr(ptemp
, (char *) wxGREY_PEN
,"_wxPen_p");
489 pyobj
= PyString_FromString(ptemp
);
493 static int _wrap_wxMEDIUM_GREY_PEN_set(PyObject
*val
) {
495 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_PEN is read-only.");
499 static PyObject
*_wrap_wxMEDIUM_GREY_PEN_get() {
503 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_PEN
,"_wxPen_p");
504 pyobj
= PyString_FromString(ptemp
);
508 static int _wrap_wxLIGHT_GREY_PEN_set(PyObject
*val
) {
510 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_PEN is read-only.");
514 static PyObject
*_wrap_wxLIGHT_GREY_PEN_get() {
518 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_PEN
,"_wxPen_p");
519 pyobj
= PyString_FromString(ptemp
);
523 static int _wrap_wxBLUE_BRUSH_set(PyObject
*val
) {
525 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE_BRUSH is read-only.");
529 static PyObject
*_wrap_wxBLUE_BRUSH_get() {
533 SWIG_MakePtr(ptemp
, (char *) wxBLUE_BRUSH
,"_wxBrush_p");
534 pyobj
= PyString_FromString(ptemp
);
538 static int _wrap_wxGREEN_BRUSH_set(PyObject
*val
) {
540 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_BRUSH is read-only.");
544 static PyObject
*_wrap_wxGREEN_BRUSH_get() {
548 SWIG_MakePtr(ptemp
, (char *) wxGREEN_BRUSH
,"_wxBrush_p");
549 pyobj
= PyString_FromString(ptemp
);
553 static int _wrap_wxWHITE_BRUSH_set(PyObject
*val
) {
555 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_BRUSH is read-only.");
559 static PyObject
*_wrap_wxWHITE_BRUSH_get() {
563 SWIG_MakePtr(ptemp
, (char *) wxWHITE_BRUSH
,"_wxBrush_p");
564 pyobj
= PyString_FromString(ptemp
);
568 static int _wrap_wxBLACK_BRUSH_set(PyObject
*val
) {
570 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_BRUSH is read-only.");
574 static PyObject
*_wrap_wxBLACK_BRUSH_get() {
578 SWIG_MakePtr(ptemp
, (char *) wxBLACK_BRUSH
,"_wxBrush_p");
579 pyobj
= PyString_FromString(ptemp
);
583 static int _wrap_wxTRANSPARENT_BRUSH_set(PyObject
*val
) {
585 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_BRUSH is read-only.");
589 static PyObject
*_wrap_wxTRANSPARENT_BRUSH_get() {
593 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_BRUSH
,"_wxBrush_p");
594 pyobj
= PyString_FromString(ptemp
);
598 static int _wrap_wxCYAN_BRUSH_set(PyObject
*val
) {
600 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_BRUSH is read-only.");
604 static PyObject
*_wrap_wxCYAN_BRUSH_get() {
608 SWIG_MakePtr(ptemp
, (char *) wxCYAN_BRUSH
,"_wxBrush_p");
609 pyobj
= PyString_FromString(ptemp
);
613 static int _wrap_wxRED_BRUSH_set(PyObject
*val
) {
615 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_BRUSH is read-only.");
619 static PyObject
*_wrap_wxRED_BRUSH_get() {
623 SWIG_MakePtr(ptemp
, (char *) wxRED_BRUSH
,"_wxBrush_p");
624 pyobj
= PyString_FromString(ptemp
);
628 static int _wrap_wxGREY_BRUSH_set(PyObject
*val
) {
630 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_BRUSH is read-only.");
634 static PyObject
*_wrap_wxGREY_BRUSH_get() {
638 SWIG_MakePtr(ptemp
, (char *) wxGREY_BRUSH
,"_wxBrush_p");
639 pyobj
= PyString_FromString(ptemp
);
643 static int _wrap_wxMEDIUM_GREY_BRUSH_set(PyObject
*val
) {
645 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_BRUSH is read-only.");
649 static PyObject
*_wrap_wxMEDIUM_GREY_BRUSH_get() {
653 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_BRUSH
,"_wxBrush_p");
654 pyobj
= PyString_FromString(ptemp
);
658 static int _wrap_wxLIGHT_GREY_BRUSH_set(PyObject
*val
) {
660 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_BRUSH is read-only.");
664 static PyObject
*_wrap_wxLIGHT_GREY_BRUSH_get() {
668 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_BRUSH
,"_wxBrush_p");
669 pyobj
= PyString_FromString(ptemp
);
673 static int _wrap_wxBLACK_set(PyObject
*val
) {
675 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK is read-only.");
679 static PyObject
*_wrap_wxBLACK_get() {
683 SWIG_MakePtr(ptemp
, (char *) wxBLACK
,"_wxColour_p");
684 pyobj
= PyString_FromString(ptemp
);
688 static int _wrap_wxWHITE_set(PyObject
*val
) {
690 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE is read-only.");
694 static PyObject
*_wrap_wxWHITE_get() {
698 SWIG_MakePtr(ptemp
, (char *) wxWHITE
,"_wxColour_p");
699 pyobj
= PyString_FromString(ptemp
);
703 static int _wrap_wxRED_set(PyObject
*val
) {
705 PyErr_SetString(PyExc_TypeError
,"Variable wxRED is read-only.");
709 static PyObject
*_wrap_wxRED_get() {
713 SWIG_MakePtr(ptemp
, (char *) wxRED
,"_wxColour_p");
714 pyobj
= PyString_FromString(ptemp
);
718 static int _wrap_wxBLUE_set(PyObject
*val
) {
720 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE is read-only.");
724 static PyObject
*_wrap_wxBLUE_get() {
728 SWIG_MakePtr(ptemp
, (char *) wxBLUE
,"_wxColour_p");
729 pyobj
= PyString_FromString(ptemp
);
733 static int _wrap_wxGREEN_set(PyObject
*val
) {
735 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN is read-only.");
739 static PyObject
*_wrap_wxGREEN_get() {
743 SWIG_MakePtr(ptemp
, (char *) wxGREEN
,"_wxColour_p");
744 pyobj
= PyString_FromString(ptemp
);
748 static int _wrap_wxCYAN_set(PyObject
*val
) {
750 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN is read-only.");
754 static PyObject
*_wrap_wxCYAN_get() {
758 SWIG_MakePtr(ptemp
, (char *) wxCYAN
,"_wxColour_p");
759 pyobj
= PyString_FromString(ptemp
);
763 static int _wrap_wxLIGHT_GREY_set(PyObject
*val
) {
765 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY is read-only.");
769 static PyObject
*_wrap_wxLIGHT_GREY_get() {
773 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY
,"_wxColour_p");
774 pyobj
= PyString_FromString(ptemp
);
778 static int _wrap_wxSTANDARD_CURSOR_set(PyObject
*val
) {
780 PyErr_SetString(PyExc_TypeError
,"Variable wxSTANDARD_CURSOR is read-only.");
784 static PyObject
*_wrap_wxSTANDARD_CURSOR_get() {
788 SWIG_MakePtr(ptemp
, (char *) wxSTANDARD_CURSOR
,"_wxCursor_p");
789 pyobj
= PyString_FromString(ptemp
);
793 static int _wrap_wxHOURGLASS_CURSOR_set(PyObject
*val
) {
795 PyErr_SetString(PyExc_TypeError
,"Variable wxHOURGLASS_CURSOR is read-only.");
799 static PyObject
*_wrap_wxHOURGLASS_CURSOR_get() {
803 SWIG_MakePtr(ptemp
, (char *) wxHOURGLASS_CURSOR
,"_wxCursor_p");
804 pyobj
= PyString_FromString(ptemp
);
808 static int _wrap_wxCROSS_CURSOR_set(PyObject
*val
) {
810 PyErr_SetString(PyExc_TypeError
,"Variable wxCROSS_CURSOR is read-only.");
814 static PyObject
*_wrap_wxCROSS_CURSOR_get() {
818 SWIG_MakePtr(ptemp
, (char *) wxCROSS_CURSOR
,"_wxCursor_p");
819 pyobj
= PyString_FromString(ptemp
);
823 static int _wrap_wxNullBitmap_set(PyObject
*val
) {
825 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBitmap is read-only.");
829 static PyObject
*_wrap_wxNullBitmap_get() {
833 SWIG_MakePtr(ptemp
,(char *) &wxNullBitmap
,"_wxBitmap_p");
834 pyobj
= PyString_FromString(ptemp
);
838 static int _wrap_wxNullIcon_set(PyObject
*val
) {
840 PyErr_SetString(PyExc_TypeError
,"Variable wxNullIcon is read-only.");
844 static PyObject
*_wrap_wxNullIcon_get() {
848 SWIG_MakePtr(ptemp
,(char *) &wxNullIcon
,"_wxIcon_p");
849 pyobj
= PyString_FromString(ptemp
);
853 static int _wrap_wxNullCursor_set(PyObject
*val
) {
855 PyErr_SetString(PyExc_TypeError
,"Variable wxNullCursor is read-only.");
859 static PyObject
*_wrap_wxNullCursor_get() {
863 SWIG_MakePtr(ptemp
,(char *) &wxNullCursor
,"_wxCursor_p");
864 pyobj
= PyString_FromString(ptemp
);
868 static int _wrap_wxNullPen_set(PyObject
*val
) {
870 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPen is read-only.");
874 static PyObject
*_wrap_wxNullPen_get() {
878 SWIG_MakePtr(ptemp
,(char *) &wxNullPen
,"_wxPen_p");
879 pyobj
= PyString_FromString(ptemp
);
883 static int _wrap_wxNullBrush_set(PyObject
*val
) {
885 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBrush is read-only.");
889 static PyObject
*_wrap_wxNullBrush_get() {
893 SWIG_MakePtr(ptemp
,(char *) &wxNullBrush
,"_wxBrush_p");
894 pyobj
= PyString_FromString(ptemp
);
898 static int _wrap_wxNullPalette_set(PyObject
*val
) {
900 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPalette is read-only.");
904 static PyObject
*_wrap_wxNullPalette_get() {
908 SWIG_MakePtr(ptemp
,(char *) &wxNullPalette
,"_wxPalette_p");
909 pyobj
= PyString_FromString(ptemp
);
913 static int _wrap_wxNullFont_set(PyObject
*val
) {
915 PyErr_SetString(PyExc_TypeError
,"Variable wxNullFont is read-only.");
919 static PyObject
*_wrap_wxNullFont_get() {
923 SWIG_MakePtr(ptemp
,(char *) &wxNullFont
,"_wxFont_p");
924 pyobj
= PyString_FromString(ptemp
);
928 static int _wrap_wxNullColour_set(PyObject
*val
) {
930 PyErr_SetString(PyExc_TypeError
,"Variable wxNullColour is read-only.");
934 static PyObject
*_wrap_wxNullColour_get() {
938 SWIG_MakePtr(ptemp
,(char *) &wxNullColour
,"_wxColour_p");
939 pyobj
= PyString_FromString(ptemp
);
943 #define new_wxBitmap(_swigarg0,_swigarg1) (new wxBitmap(_swigarg0,_swigarg1))
944 static PyObject
*_wrap_new_wxBitmap(PyObject
*self
, PyObject
*args
) {
945 PyObject
* _resultobj
;
949 PyObject
* _obj0
= 0;
953 if(!PyArg_ParseTuple(args
,"Ol:new_wxBitmap",&_obj0
,&_arg1
))
956 if (!PyString_Check(_obj0
)) {
957 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
960 _arg0
= new wxString(PyString_AsString(_obj0
));
962 _result
= (wxBitmap
*)new_wxBitmap(*_arg0
,_arg1
);
963 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
964 _resultobj
= Py_BuildValue("s",_ptemp
);
972 #define delete_wxBitmap(_swigobj) (delete _swigobj)
973 static PyObject
*_wrap_delete_wxBitmap(PyObject
*self
, PyObject
*args
) {
974 PyObject
* _resultobj
;
979 if(!PyArg_ParseTuple(args
,"s:delete_wxBitmap",&_argc0
))
982 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBitmap. Expected _wxBitmap_p.");
987 delete_wxBitmap(_arg0
);
989 _resultobj
= Py_None
;
993 #define wxBitmap_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2))
994 static PyObject
*_wrap_wxBitmap_Create(PyObject
*self
, PyObject
*args
) {
995 PyObject
* _resultobj
;
1003 if(!PyArg_ParseTuple(args
,"sii|i:wxBitmap_Create",&_argc0
,&_arg1
,&_arg2
,&_arg3
))
1006 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_Create. Expected _wxBitmap_p.");
1011 wxBitmap_Create(_arg0
,_arg1
,_arg2
,_arg3
);
1013 _resultobj
= Py_None
;
1017 #define wxBitmap_GetDepth(_swigobj) (_swigobj->GetDepth())
1018 static PyObject
*_wrap_wxBitmap_GetDepth(PyObject
*self
, PyObject
*args
) {
1019 PyObject
* _resultobj
;
1025 if(!PyArg_ParseTuple(args
,"s:wxBitmap_GetDepth",&_argc0
))
1028 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetDepth. Expected _wxBitmap_p.");
1033 _result
= (int )wxBitmap_GetDepth(_arg0
);
1034 _resultobj
= Py_BuildValue("i",_result
);
1038 #define wxBitmap_GetHeight(_swigobj) (_swigobj->GetHeight())
1039 static PyObject
*_wrap_wxBitmap_GetHeight(PyObject
*self
, PyObject
*args
) {
1040 PyObject
* _resultobj
;
1046 if(!PyArg_ParseTuple(args
,"s:wxBitmap_GetHeight",&_argc0
))
1049 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetHeight. Expected _wxBitmap_p.");
1054 _result
= (int )wxBitmap_GetHeight(_arg0
);
1055 _resultobj
= Py_BuildValue("i",_result
);
1059 #define wxBitmap_GetPalette(_swigobj) (_swigobj->GetPalette())
1060 static PyObject
*_wrap_wxBitmap_GetPalette(PyObject
*self
, PyObject
*args
) {
1061 PyObject
* _resultobj
;
1062 wxPalette
* _result
;
1068 if(!PyArg_ParseTuple(args
,"s:wxBitmap_GetPalette",&_argc0
))
1071 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetPalette. Expected _wxBitmap_p.");
1076 _result
= (wxPalette
*)wxBitmap_GetPalette(_arg0
);
1077 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
1078 _resultobj
= Py_BuildValue("s",_ptemp
);
1082 #define wxBitmap_GetMask(_swigobj) (_swigobj->GetMask())
1083 static PyObject
*_wrap_wxBitmap_GetMask(PyObject
*self
, PyObject
*args
) {
1084 PyObject
* _resultobj
;
1091 if(!PyArg_ParseTuple(args
,"s:wxBitmap_GetMask",&_argc0
))
1094 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetMask. Expected _wxBitmap_p.");
1099 _result
= (wxMask
*)wxBitmap_GetMask(_arg0
);
1100 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
1101 _resultobj
= Py_BuildValue("s",_ptemp
);
1105 #define wxBitmap_GetWidth(_swigobj) (_swigobj->GetWidth())
1106 static PyObject
*_wrap_wxBitmap_GetWidth(PyObject
*self
, PyObject
*args
) {
1107 PyObject
* _resultobj
;
1113 if(!PyArg_ParseTuple(args
,"s:wxBitmap_GetWidth",&_argc0
))
1116 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetWidth. Expected _wxBitmap_p.");
1121 _result
= (int )wxBitmap_GetWidth(_arg0
);
1122 _resultobj
= Py_BuildValue("i",_result
);
1126 #define wxBitmap_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1127 static PyObject
*_wrap_wxBitmap_LoadFile(PyObject
*self
, PyObject
*args
) {
1128 PyObject
* _resultobj
;
1134 PyObject
* _obj1
= 0;
1137 if(!PyArg_ParseTuple(args
,"sOl:wxBitmap_LoadFile",&_argc0
,&_obj1
,&_arg2
))
1140 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_LoadFile. Expected _wxBitmap_p.");
1146 if (!PyString_Check(_obj1
)) {
1147 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1150 _arg1
= new wxString(PyString_AsString(_obj1
));
1152 _result
= (bool )wxBitmap_LoadFile(_arg0
,*_arg1
,_arg2
);
1153 _resultobj
= Py_BuildValue("i",_result
);
1161 #define wxBitmap_Ok(_swigobj) (_swigobj->Ok())
1162 static PyObject
*_wrap_wxBitmap_Ok(PyObject
*self
, PyObject
*args
) {
1163 PyObject
* _resultobj
;
1169 if(!PyArg_ParseTuple(args
,"s:wxBitmap_Ok",&_argc0
))
1172 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_Ok. Expected _wxBitmap_p.");
1177 _result
= (bool )wxBitmap_Ok(_arg0
);
1178 _resultobj
= Py_BuildValue("i",_result
);
1182 #define wxBitmap_SaveFile(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SaveFile(_swigarg0,_swigarg1,_swigarg2))
1183 static PyObject
*_wrap_wxBitmap_SaveFile(PyObject
*self
, PyObject
*args
) {
1184 PyObject
* _resultobj
;
1189 wxPalette
* _arg3
= NULL
;
1191 PyObject
* _obj1
= 0;
1195 if(!PyArg_ParseTuple(args
,"sOi|s:wxBitmap_SaveFile",&_argc0
,&_obj1
,&_arg2
,&_argc3
))
1198 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SaveFile. Expected _wxBitmap_p.");
1204 if (!PyString_Check(_obj1
)) {
1205 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1208 _arg1
= new wxString(PyString_AsString(_obj1
));
1211 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxPalette_p")) {
1212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxBitmap_SaveFile. Expected _wxPalette_p.");
1216 _result
= (bool )wxBitmap_SaveFile(_arg0
,*_arg1
,_arg2
,_arg3
);
1217 _resultobj
= Py_BuildValue("i",_result
);
1225 #define wxBitmap_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
1226 static PyObject
*_wrap_wxBitmap_SetDepth(PyObject
*self
, PyObject
*args
) {
1227 PyObject
* _resultobj
;
1233 if(!PyArg_ParseTuple(args
,"si:wxBitmap_SetDepth",&_argc0
,&_arg1
))
1236 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetDepth. Expected _wxBitmap_p.");
1241 wxBitmap_SetDepth(_arg0
,_arg1
);
1243 _resultobj
= Py_None
;
1247 #define wxBitmap_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1248 static PyObject
*_wrap_wxBitmap_SetHeight(PyObject
*self
, PyObject
*args
) {
1249 PyObject
* _resultobj
;
1255 if(!PyArg_ParseTuple(args
,"si:wxBitmap_SetHeight",&_argc0
,&_arg1
))
1258 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetHeight. Expected _wxBitmap_p.");
1263 wxBitmap_SetHeight(_arg0
,_arg1
);
1265 _resultobj
= Py_None
;
1269 #define wxBitmap_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
1270 static PyObject
*_wrap_wxBitmap_SetMask(PyObject
*self
, PyObject
*args
) {
1271 PyObject
* _resultobj
;
1278 if(!PyArg_ParseTuple(args
,"ss:wxBitmap_SetMask",&_argc0
,&_argc1
))
1281 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetMask. Expected _wxBitmap_p.");
1287 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxMask_p")) {
1288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_SetMask. Expected _wxMask_p.");
1292 wxBitmap_SetMask(_arg0
,_arg1
);
1294 _resultobj
= Py_None
;
1298 #define wxBitmap_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
1299 static PyObject
*_wrap_wxBitmap_SetPalette(PyObject
*self
, PyObject
*args
) {
1300 PyObject
* _resultobj
;
1307 if(!PyArg_ParseTuple(args
,"ss:wxBitmap_SetPalette",&_argc0
,&_argc1
))
1310 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetPalette. Expected _wxBitmap_p.");
1316 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPalette_p")) {
1317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_SetPalette. Expected _wxPalette_p.");
1321 wxBitmap_SetPalette(_arg0
,*_arg1
);
1323 _resultobj
= Py_None
;
1327 #define wxBitmap_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1328 static PyObject
*_wrap_wxBitmap_SetWidth(PyObject
*self
, PyObject
*args
) {
1329 PyObject
* _resultobj
;
1335 if(!PyArg_ParseTuple(args
,"si:wxBitmap_SetWidth",&_argc0
,&_arg1
))
1338 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetWidth. Expected _wxBitmap_p.");
1343 wxBitmap_SetWidth(_arg0
,_arg1
);
1345 _resultobj
= Py_None
;
1349 #define new_wxMask(_swigarg0) (new wxMask(_swigarg0))
1350 static PyObject
*_wrap_new_wxMask(PyObject
*self
, PyObject
*args
) {
1351 PyObject
* _resultobj
;
1358 if(!PyArg_ParseTuple(args
,"s:new_wxMask",&_argc0
))
1361 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMask. Expected _wxBitmap_p.");
1366 _result
= (wxMask
*)new_wxMask(*_arg0
);
1367 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
1368 _resultobj
= Py_BuildValue("s",_ptemp
);
1372 #define delete_wxMask(_swigobj) (delete _swigobj)
1373 static PyObject
*_wrap_delete_wxMask(PyObject
*self
, PyObject
*args
) {
1374 PyObject
* _resultobj
;
1379 if(!PyArg_ParseTuple(args
,"s:delete_wxMask",&_argc0
))
1382 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMask_p")) {
1383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMask. Expected _wxMask_p.");
1387 delete_wxMask(_arg0
);
1389 _resultobj
= Py_None
;
1393 static void *SwigwxIconTowxBitmap(void *ptr
) {
1396 src
= (wxIcon
*) ptr
;
1397 dest
= (wxBitmap
*) src
;
1398 return (void *) dest
;
1401 #define new_wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1402 static PyObject
*_wrap_new_wxIcon(PyObject
*self
, PyObject
*args
) {
1403 PyObject
* _resultobj
;
1409 PyObject
* _obj0
= 0;
1413 if(!PyArg_ParseTuple(args
,"Ol|ii:new_wxIcon",&_obj0
,&_arg1
,&_arg2
,&_arg3
))
1416 if (!PyString_Check(_obj0
)) {
1417 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1420 _arg0
= new wxString(PyString_AsString(_obj0
));
1422 _result
= (wxIcon
*)new_wxIcon(*_arg0
,_arg1
,_arg2
,_arg3
);
1423 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
1424 _resultobj
= Py_BuildValue("s",_ptemp
);
1432 #define delete_wxIcon(_swigobj) (delete _swigobj)
1433 static PyObject
*_wrap_delete_wxIcon(PyObject
*self
, PyObject
*args
) {
1434 PyObject
* _resultobj
;
1439 if(!PyArg_ParseTuple(args
,"s:delete_wxIcon",&_argc0
))
1442 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxIcon. Expected _wxIcon_p.");
1447 delete_wxIcon(_arg0
);
1449 _resultobj
= Py_None
;
1453 #define wxIcon_GetDepth(_swigobj) (_swigobj->GetDepth())
1454 static PyObject
*_wrap_wxIcon_GetDepth(PyObject
*self
, PyObject
*args
) {
1455 PyObject
* _resultobj
;
1461 if(!PyArg_ParseTuple(args
,"s:wxIcon_GetDepth",&_argc0
))
1464 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetDepth. Expected _wxIcon_p.");
1469 _result
= (int )wxIcon_GetDepth(_arg0
);
1470 _resultobj
= Py_BuildValue("i",_result
);
1474 #define wxIcon_GetHeight(_swigobj) (_swigobj->GetHeight())
1475 static PyObject
*_wrap_wxIcon_GetHeight(PyObject
*self
, PyObject
*args
) {
1476 PyObject
* _resultobj
;
1482 if(!PyArg_ParseTuple(args
,"s:wxIcon_GetHeight",&_argc0
))
1485 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetHeight. Expected _wxIcon_p.");
1490 _result
= (int )wxIcon_GetHeight(_arg0
);
1491 _resultobj
= Py_BuildValue("i",_result
);
1495 #define wxIcon_GetWidth(_swigobj) (_swigobj->GetWidth())
1496 static PyObject
*_wrap_wxIcon_GetWidth(PyObject
*self
, PyObject
*args
) {
1497 PyObject
* _resultobj
;
1503 if(!PyArg_ParseTuple(args
,"s:wxIcon_GetWidth",&_argc0
))
1506 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetWidth. Expected _wxIcon_p.");
1511 _result
= (int )wxIcon_GetWidth(_arg0
);
1512 _resultobj
= Py_BuildValue("i",_result
);
1516 #define wxIcon_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1517 static PyObject
*_wrap_wxIcon_LoadFile(PyObject
*self
, PyObject
*args
) {
1518 PyObject
* _resultobj
;
1524 PyObject
* _obj1
= 0;
1527 if(!PyArg_ParseTuple(args
,"sOl:wxIcon_LoadFile",&_argc0
,&_obj1
,&_arg2
))
1530 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_LoadFile. Expected _wxIcon_p.");
1536 if (!PyString_Check(_obj1
)) {
1537 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1540 _arg1
= new wxString(PyString_AsString(_obj1
));
1542 _result
= (bool )wxIcon_LoadFile(_arg0
,*_arg1
,_arg2
);
1543 _resultobj
= Py_BuildValue("i",_result
);
1551 #define wxIcon_Ok(_swigobj) (_swigobj->Ok())
1552 static PyObject
*_wrap_wxIcon_Ok(PyObject
*self
, PyObject
*args
) {
1553 PyObject
* _resultobj
;
1559 if(!PyArg_ParseTuple(args
,"s:wxIcon_Ok",&_argc0
))
1562 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_Ok. Expected _wxIcon_p.");
1567 _result
= (bool )wxIcon_Ok(_arg0
);
1568 _resultobj
= Py_BuildValue("i",_result
);
1572 #define wxIcon_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
1573 static PyObject
*_wrap_wxIcon_SetDepth(PyObject
*self
, PyObject
*args
) {
1574 PyObject
* _resultobj
;
1580 if(!PyArg_ParseTuple(args
,"si:wxIcon_SetDepth",&_argc0
,&_arg1
))
1583 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetDepth. Expected _wxIcon_p.");
1588 wxIcon_SetDepth(_arg0
,_arg1
);
1590 _resultobj
= Py_None
;
1594 #define wxIcon_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1595 static PyObject
*_wrap_wxIcon_SetHeight(PyObject
*self
, PyObject
*args
) {
1596 PyObject
* _resultobj
;
1602 if(!PyArg_ParseTuple(args
,"si:wxIcon_SetHeight",&_argc0
,&_arg1
))
1605 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetHeight. Expected _wxIcon_p.");
1610 wxIcon_SetHeight(_arg0
,_arg1
);
1612 _resultobj
= Py_None
;
1616 #define wxIcon_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1617 static PyObject
*_wrap_wxIcon_SetWidth(PyObject
*self
, PyObject
*args
) {
1618 PyObject
* _resultobj
;
1624 if(!PyArg_ParseTuple(args
,"si:wxIcon_SetWidth",&_argc0
,&_arg1
))
1627 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetWidth. Expected _wxIcon_p.");
1632 wxIcon_SetWidth(_arg0
,_arg1
);
1634 _resultobj
= Py_None
;
1638 static void *SwigwxCursorTowxBitmap(void *ptr
) {
1641 src
= (wxCursor
*) ptr
;
1642 dest
= (wxBitmap
*) src
;
1643 return (void *) dest
;
1646 #define new_wxCursor(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxCursor(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1647 static PyObject
*_wrap_new_wxCursor(PyObject
*self
, PyObject
*args
) {
1648 PyObject
* _resultobj
;
1654 PyObject
* _obj0
= 0;
1658 if(!PyArg_ParseTuple(args
,"Ol|ii:new_wxCursor",&_obj0
,&_arg1
,&_arg2
,&_arg3
))
1661 if (!PyString_Check(_obj0
)) {
1662 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1665 _arg0
= new wxString(PyString_AsString(_obj0
));
1667 _result
= (wxCursor
*)new_wxCursor(*_arg0
,_arg1
,_arg2
,_arg3
);
1668 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCursor_p");
1669 _resultobj
= Py_BuildValue("s",_ptemp
);
1677 #define delete_wxCursor(_swigobj) (delete _swigobj)
1678 static PyObject
*_wrap_delete_wxCursor(PyObject
*self
, PyObject
*args
) {
1679 PyObject
* _resultobj
;
1684 if(!PyArg_ParseTuple(args
,"s:delete_wxCursor",&_argc0
))
1687 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxCursor_p")) {
1688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCursor. Expected _wxCursor_p.");
1692 delete_wxCursor(_arg0
);
1694 _resultobj
= Py_None
;
1698 #define wxCursor_Ok(_swigobj) (_swigobj->Ok())
1699 static PyObject
*_wrap_wxCursor_Ok(PyObject
*self
, PyObject
*args
) {
1700 PyObject
* _resultobj
;
1706 if(!PyArg_ParseTuple(args
,"s:wxCursor_Ok",&_argc0
))
1709 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxCursor_p")) {
1710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_Ok. Expected _wxCursor_p.");
1714 _result
= (bool )wxCursor_Ok(_arg0
);
1715 _resultobj
= Py_BuildValue("i",_result
);
1719 static wxFont
*new_wxFont(int pointSize
,int family
,int style
,int weight
,int underline
,char *faceName
) {
1721 return wxTheFontList
->FindOrCreateFont(pointSize
, family
, style
, weight
,
1722 underline
, faceName
);
1725 static PyObject
*_wrap_new_wxFont(PyObject
*self
, PyObject
*args
) {
1726 PyObject
* _resultobj
;
1737 if(!PyArg_ParseTuple(args
,"iiii|is:new_wxFont",&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
1739 _result
= (wxFont
*)new_wxFont(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1740 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1741 _resultobj
= Py_BuildValue("s",_ptemp
);
1745 #define wxFont_GetFaceName(_swigobj) (_swigobj->GetFaceName())
1746 static PyObject
*_wrap_wxFont_GetFaceName(PyObject
*self
, PyObject
*args
) {
1747 PyObject
* _resultobj
;
1753 if(!PyArg_ParseTuple(args
,"s:wxFont_GetFaceName",&_argc0
))
1756 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFaceName. Expected _wxFont_p.");
1761 _result
= new wxString (wxFont_GetFaceName(_arg0
));
1763 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1771 #define wxFont_GetFamily(_swigobj) (_swigobj->GetFamily())
1772 static PyObject
*_wrap_wxFont_GetFamily(PyObject
*self
, PyObject
*args
) {
1773 PyObject
* _resultobj
;
1779 if(!PyArg_ParseTuple(args
,"s:wxFont_GetFamily",&_argc0
))
1782 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFamily. Expected _wxFont_p.");
1787 _result
= (int )wxFont_GetFamily(_arg0
);
1788 _resultobj
= Py_BuildValue("i",_result
);
1792 #define wxFont_GetFontId(_swigobj) (_swigobj->GetFontId())
1793 static PyObject
*_wrap_wxFont_GetFontId(PyObject
*self
, PyObject
*args
) {
1794 PyObject
* _resultobj
;
1800 if(!PyArg_ParseTuple(args
,"s:wxFont_GetFontId",&_argc0
))
1803 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFontId. Expected _wxFont_p.");
1808 _result
= (int )wxFont_GetFontId(_arg0
);
1809 _resultobj
= Py_BuildValue("i",_result
);
1813 #define wxFont_GetPointSize(_swigobj) (_swigobj->GetPointSize())
1814 static PyObject
*_wrap_wxFont_GetPointSize(PyObject
*self
, PyObject
*args
) {
1815 PyObject
* _resultobj
;
1821 if(!PyArg_ParseTuple(args
,"s:wxFont_GetPointSize",&_argc0
))
1824 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetPointSize. Expected _wxFont_p.");
1829 _result
= (int )wxFont_GetPointSize(_arg0
);
1830 _resultobj
= Py_BuildValue("i",_result
);
1834 #define wxFont_GetStyle(_swigobj) (_swigobj->GetStyle())
1835 static PyObject
*_wrap_wxFont_GetStyle(PyObject
*self
, PyObject
*args
) {
1836 PyObject
* _resultobj
;
1842 if(!PyArg_ParseTuple(args
,"s:wxFont_GetStyle",&_argc0
))
1845 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetStyle. Expected _wxFont_p.");
1850 _result
= (int )wxFont_GetStyle(_arg0
);
1851 _resultobj
= Py_BuildValue("i",_result
);
1855 #define wxFont_GetUnderlined(_swigobj) (_swigobj->GetUnderlined())
1856 static PyObject
*_wrap_wxFont_GetUnderlined(PyObject
*self
, PyObject
*args
) {
1857 PyObject
* _resultobj
;
1863 if(!PyArg_ParseTuple(args
,"s:wxFont_GetUnderlined",&_argc0
))
1866 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetUnderlined. Expected _wxFont_p.");
1871 _result
= (bool )wxFont_GetUnderlined(_arg0
);
1872 _resultobj
= Py_BuildValue("i",_result
);
1876 #define wxFont_GetWeight(_swigobj) (_swigobj->GetWeight())
1877 static PyObject
*_wrap_wxFont_GetWeight(PyObject
*self
, PyObject
*args
) {
1878 PyObject
* _resultobj
;
1884 if(!PyArg_ParseTuple(args
,"s:wxFont_GetWeight",&_argc0
))
1887 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetWeight. Expected _wxFont_p.");
1892 _result
= (int )wxFont_GetWeight(_arg0
);
1893 _resultobj
= Py_BuildValue("i",_result
);
1897 #define wxFont_SetFaceName(_swigobj,_swigarg0) (_swigobj->SetFaceName(_swigarg0))
1898 static PyObject
*_wrap_wxFont_SetFaceName(PyObject
*self
, PyObject
*args
) {
1899 PyObject
* _resultobj
;
1903 PyObject
* _obj1
= 0;
1906 if(!PyArg_ParseTuple(args
,"sO:wxFont_SetFaceName",&_argc0
,&_obj1
))
1909 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFaceName. Expected _wxFont_p.");
1915 if (!PyString_Check(_obj1
)) {
1916 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1919 _arg1
= new wxString(PyString_AsString(_obj1
));
1921 wxFont_SetFaceName(_arg0
,*_arg1
);
1923 _resultobj
= Py_None
;
1931 #define wxFont_SetFamily(_swigobj,_swigarg0) (_swigobj->SetFamily(_swigarg0))
1932 static PyObject
*_wrap_wxFont_SetFamily(PyObject
*self
, PyObject
*args
) {
1933 PyObject
* _resultobj
;
1939 if(!PyArg_ParseTuple(args
,"si:wxFont_SetFamily",&_argc0
,&_arg1
))
1942 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFamily. Expected _wxFont_p.");
1947 wxFont_SetFamily(_arg0
,_arg1
);
1949 _resultobj
= Py_None
;
1953 #define wxFont_SetPointSize(_swigobj,_swigarg0) (_swigobj->SetPointSize(_swigarg0))
1954 static PyObject
*_wrap_wxFont_SetPointSize(PyObject
*self
, PyObject
*args
) {
1955 PyObject
* _resultobj
;
1961 if(!PyArg_ParseTuple(args
,"si:wxFont_SetPointSize",&_argc0
,&_arg1
))
1964 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetPointSize. Expected _wxFont_p.");
1969 wxFont_SetPointSize(_arg0
,_arg1
);
1971 _resultobj
= Py_None
;
1975 #define wxFont_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
1976 static PyObject
*_wrap_wxFont_SetStyle(PyObject
*self
, PyObject
*args
) {
1977 PyObject
* _resultobj
;
1983 if(!PyArg_ParseTuple(args
,"si:wxFont_SetStyle",&_argc0
,&_arg1
))
1986 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetStyle. Expected _wxFont_p.");
1991 wxFont_SetStyle(_arg0
,_arg1
);
1993 _resultobj
= Py_None
;
1997 #define wxFont_SetUnderlined(_swigobj,_swigarg0) (_swigobj->SetUnderlined(_swigarg0))
1998 static PyObject
*_wrap_wxFont_SetUnderlined(PyObject
*self
, PyObject
*args
) {
1999 PyObject
* _resultobj
;
2006 if(!PyArg_ParseTuple(args
,"si:wxFont_SetUnderlined",&_argc0
,&tempbool1
))
2009 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
2010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetUnderlined. Expected _wxFont_p.");
2014 _arg1
= (bool ) tempbool1
;
2015 wxFont_SetUnderlined(_arg0
,_arg1
);
2017 _resultobj
= Py_None
;
2021 #define wxFont_SetWeight(_swigobj,_swigarg0) (_swigobj->SetWeight(_swigarg0))
2022 static PyObject
*_wrap_wxFont_SetWeight(PyObject
*self
, PyObject
*args
) {
2023 PyObject
* _resultobj
;
2029 if(!PyArg_ParseTuple(args
,"si:wxFont_SetWeight",&_argc0
,&_arg1
))
2032 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
2033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetWeight. Expected _wxFont_p.");
2037 wxFont_SetWeight(_arg0
,_arg1
);
2039 _resultobj
= Py_None
;
2043 #define new_wxColour(_swigarg0,_swigarg1,_swigarg2) (new wxColour(_swigarg0,_swigarg1,_swigarg2))
2044 static PyObject
*_wrap_new_wxColour(PyObject
*self
, PyObject
*args
) {
2045 PyObject
* _resultobj
;
2047 unsigned char _arg0
= 0;
2048 unsigned char _arg1
= 0;
2049 unsigned char _arg2
= 0;
2053 if(!PyArg_ParseTuple(args
,"|bbb:new_wxColour",&_arg0
,&_arg1
,&_arg2
))
2055 _result
= (wxColour
*)new_wxColour(_arg0
,_arg1
,_arg2
);
2056 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
2057 _resultobj
= Py_BuildValue("s",_ptemp
);
2061 #define delete_wxColour(_swigobj) (delete _swigobj)
2062 static PyObject
*_wrap_delete_wxColour(PyObject
*self
, PyObject
*args
) {
2063 PyObject
* _resultobj
;
2068 if(!PyArg_ParseTuple(args
,"s:delete_wxColour",&_argc0
))
2071 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxColour. Expected _wxColour_p.");
2076 delete_wxColour(_arg0
);
2078 _resultobj
= Py_None
;
2082 #define wxColour_Red(_swigobj) (_swigobj->Red())
2083 static PyObject
*_wrap_wxColour_Red(PyObject
*self
, PyObject
*args
) {
2084 PyObject
* _resultobj
;
2085 unsigned char _result
;
2090 if(!PyArg_ParseTuple(args
,"s:wxColour_Red",&_argc0
))
2093 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Red. Expected _wxColour_p.");
2098 _result
= (unsigned char )wxColour_Red(_arg0
);
2099 _resultobj
= Py_BuildValue("b",_result
);
2103 #define wxColour_Green(_swigobj) (_swigobj->Green())
2104 static PyObject
*_wrap_wxColour_Green(PyObject
*self
, PyObject
*args
) {
2105 PyObject
* _resultobj
;
2106 unsigned char _result
;
2111 if(!PyArg_ParseTuple(args
,"s:wxColour_Green",&_argc0
))
2114 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Green. Expected _wxColour_p.");
2119 _result
= (unsigned char )wxColour_Green(_arg0
);
2120 _resultobj
= Py_BuildValue("b",_result
);
2124 #define wxColour_Blue(_swigobj) (_swigobj->Blue())
2125 static PyObject
*_wrap_wxColour_Blue(PyObject
*self
, PyObject
*args
) {
2126 PyObject
* _resultobj
;
2127 unsigned char _result
;
2132 if(!PyArg_ParseTuple(args
,"s:wxColour_Blue",&_argc0
))
2135 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Blue. Expected _wxColour_p.");
2140 _result
= (unsigned char )wxColour_Blue(_arg0
);
2141 _resultobj
= Py_BuildValue("b",_result
);
2145 #define wxColour_Ok(_swigobj) (_swigobj->Ok())
2146 static PyObject
*_wrap_wxColour_Ok(PyObject
*self
, PyObject
*args
) {
2147 PyObject
* _resultobj
;
2153 if(!PyArg_ParseTuple(args
,"s:wxColour_Ok",&_argc0
))
2156 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Ok. Expected _wxColour_p.");
2161 _result
= (bool )wxColour_Ok(_arg0
);
2162 _resultobj
= Py_BuildValue("i",_result
);
2166 #define wxColour_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
2167 static PyObject
*_wrap_wxColour_Set(PyObject
*self
, PyObject
*args
) {
2168 PyObject
* _resultobj
;
2170 unsigned char _arg1
;
2171 unsigned char _arg2
;
2172 unsigned char _arg3
;
2176 if(!PyArg_ParseTuple(args
,"sbbb:wxColour_Set",&_argc0
,&_arg1
,&_arg2
,&_arg3
))
2179 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Set. Expected _wxColour_p.");
2184 wxColour_Set(_arg0
,_arg1
,_arg2
,_arg3
);
2186 _resultobj
= Py_None
;
2190 static PyObject
* wxColour_Get(wxColour
*self
) {
2191 PyObject
* rv
= PyTuple_New(3);
2192 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
2193 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
2194 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
2197 static PyObject
*_wrap_wxColour_Get(PyObject
*self
, PyObject
*args
) {
2198 PyObject
* _resultobj
;
2204 if(!PyArg_ParseTuple(args
,"s:wxColour_Get",&_argc0
))
2207 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Get. Expected _wxColour_p.");
2212 _result
= (PyObject
*)wxColour_Get(_arg0
);
2214 _resultobj
= _result
;
2219 static wxPen
*new_wxPen(wxColour
*colour
,int width
,int style
) {
2220 return wxThePenList
->FindOrCreatePen(*colour
, width
, style
);
2223 static PyObject
*_wrap_new_wxPen(PyObject
*self
, PyObject
*args
) {
2224 PyObject
* _resultobj
;
2228 int _arg2
= (wxSOLID
);
2233 if(!PyArg_ParseTuple(args
,"s|ii:new_wxPen",&_argc0
,&_arg1
,&_arg2
))
2236 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPen. Expected _wxColour_p.");
2241 _result
= (wxPen
*)new_wxPen(_arg0
,_arg1
,_arg2
);
2242 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
2243 _resultobj
= Py_BuildValue("s",_ptemp
);
2247 #define wxPen_GetCap(_swigobj) (_swigobj->GetCap())
2248 static PyObject
*_wrap_wxPen_GetCap(PyObject
*self
, PyObject
*args
) {
2249 PyObject
* _resultobj
;
2255 if(!PyArg_ParseTuple(args
,"s:wxPen_GetCap",&_argc0
))
2258 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetCap. Expected _wxPen_p.");
2263 _result
= (int )wxPen_GetCap(_arg0
);
2264 _resultobj
= Py_BuildValue("i",_result
);
2268 #define wxPen_GetColour(_swigobj) (_swigobj->GetColour())
2269 static PyObject
*_wrap_wxPen_GetColour(PyObject
*self
, PyObject
*args
) {
2270 PyObject
* _resultobj
;
2277 if(!PyArg_ParseTuple(args
,"s:wxPen_GetColour",&_argc0
))
2280 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetColour. Expected _wxPen_p.");
2285 wxColour
& _result_ref
= wxPen_GetColour(_arg0
);
2286 _result
= (wxColour
*) &_result_ref
;
2287 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
2288 _resultobj
= Py_BuildValue("s",_ptemp
);
2292 #define wxPen_GetDashes(_swigobj,_swigarg0) (_swigobj->GetDashes(_swigarg0))
2293 static PyObject
*_wrap_wxPen_GetDashes(PyObject
*self
, PyObject
*args
) {
2294 PyObject
* _resultobj
;
2302 if(!PyArg_ParseTuple(args
,"ss:wxPen_GetDashes",&_argc0
,&_argc1
))
2305 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetDashes. Expected _wxPen_p.");
2311 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxDash_pp")) {
2312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPen_GetDashes. Expected _wxDash_pp.");
2316 _result
= (int )wxPen_GetDashes(_arg0
,_arg1
);
2317 _resultobj
= Py_BuildValue("i",_result
);
2321 #define wxPen_GetStipple(_swigobj) (_swigobj->GetStipple())
2322 static PyObject
*_wrap_wxPen_GetStipple(PyObject
*self
, PyObject
*args
) {
2323 PyObject
* _resultobj
;
2330 if(!PyArg_ParseTuple(args
,"s:wxPen_GetStipple",&_argc0
))
2333 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetStipple. Expected _wxPen_p.");
2338 _result
= (wxBitmap
*)wxPen_GetStipple(_arg0
);
2339 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
2340 _resultobj
= Py_BuildValue("s",_ptemp
);
2344 #define wxPen_GetJoin(_swigobj) (_swigobj->GetJoin())
2345 static PyObject
*_wrap_wxPen_GetJoin(PyObject
*self
, PyObject
*args
) {
2346 PyObject
* _resultobj
;
2352 if(!PyArg_ParseTuple(args
,"s:wxPen_GetJoin",&_argc0
))
2355 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetJoin. Expected _wxPen_p.");
2360 _result
= (int )wxPen_GetJoin(_arg0
);
2361 _resultobj
= Py_BuildValue("i",_result
);
2365 #define wxPen_GetStyle(_swigobj) (_swigobj->GetStyle())
2366 static PyObject
*_wrap_wxPen_GetStyle(PyObject
*self
, PyObject
*args
) {
2367 PyObject
* _resultobj
;
2373 if(!PyArg_ParseTuple(args
,"s:wxPen_GetStyle",&_argc0
))
2376 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetStyle. Expected _wxPen_p.");
2381 _result
= (int )wxPen_GetStyle(_arg0
);
2382 _resultobj
= Py_BuildValue("i",_result
);
2386 #define wxPen_GetWidth(_swigobj) (_swigobj->GetWidth())
2387 static PyObject
*_wrap_wxPen_GetWidth(PyObject
*self
, PyObject
*args
) {
2388 PyObject
* _resultobj
;
2394 if(!PyArg_ParseTuple(args
,"s:wxPen_GetWidth",&_argc0
))
2397 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetWidth. Expected _wxPen_p.");
2402 _result
= (int )wxPen_GetWidth(_arg0
);
2403 _resultobj
= Py_BuildValue("i",_result
);
2407 #define wxPen_Ok(_swigobj) (_swigobj->Ok())
2408 static PyObject
*_wrap_wxPen_Ok(PyObject
*self
, PyObject
*args
) {
2409 PyObject
* _resultobj
;
2415 if(!PyArg_ParseTuple(args
,"s:wxPen_Ok",&_argc0
))
2418 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_Ok. Expected _wxPen_p.");
2423 _result
= (bool )wxPen_Ok(_arg0
);
2424 _resultobj
= Py_BuildValue("i",_result
);
2428 #define wxPen_SetCap(_swigobj,_swigarg0) (_swigobj->SetCap(_swigarg0))
2429 static PyObject
*_wrap_wxPen_SetCap(PyObject
*self
, PyObject
*args
) {
2430 PyObject
* _resultobj
;
2436 if(!PyArg_ParseTuple(args
,"si:wxPen_SetCap",&_argc0
,&_arg1
))
2439 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetCap. Expected _wxPen_p.");
2444 wxPen_SetCap(_arg0
,_arg1
);
2446 _resultobj
= Py_None
;
2450 #define wxPen_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
2451 static PyObject
*_wrap_wxPen_SetColour(PyObject
*self
, PyObject
*args
) {
2452 PyObject
* _resultobj
;
2459 if(!PyArg_ParseTuple(args
,"ss:wxPen_SetColour",&_argc0
,&_argc1
))
2462 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetColour. Expected _wxPen_p.");
2468 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
2469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPen_SetColour. Expected _wxColour_p.");
2473 wxPen_SetColour(_arg0
,*_arg1
);
2475 _resultobj
= Py_None
;
2479 #define wxPen_SetDashes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDashes(_swigarg0,_swigarg1))
2480 static PyObject
*_wrap_wxPen_SetDashes(PyObject
*self
, PyObject
*args
) {
2481 PyObject
* _resultobj
;
2486 PyObject
* _obj2
= 0;
2489 if(!PyArg_ParseTuple(args
,"sO:wxPen_SetDashes",&_argc0
,&_obj2
))
2492 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetDashes. Expected _wxPen_p.");
2499 _arg2
= (unsigned long*)long_LIST_helper(_obj2
);
2500 if (_arg2
== NULL
) {
2505 _arg1
= PyList_Size(_obj2
);
2507 wxPen_SetDashes(_arg0
,_arg1
,_arg2
);
2509 _resultobj
= Py_None
;
2516 #define wxPen_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
2517 static PyObject
*_wrap_wxPen_SetStipple(PyObject
*self
, PyObject
*args
) {
2518 PyObject
* _resultobj
;
2525 if(!PyArg_ParseTuple(args
,"ss:wxPen_SetStipple",&_argc0
,&_argc1
))
2528 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetStipple. Expected _wxPen_p.");
2534 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBitmap_p")) {
2535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPen_SetStipple. Expected _wxBitmap_p.");
2539 wxPen_SetStipple(_arg0
,*_arg1
);
2541 _resultobj
= Py_None
;
2545 #define wxPen_SetJoin(_swigobj,_swigarg0) (_swigobj->SetJoin(_swigarg0))
2546 static PyObject
*_wrap_wxPen_SetJoin(PyObject
*self
, PyObject
*args
) {
2547 PyObject
* _resultobj
;
2553 if(!PyArg_ParseTuple(args
,"si:wxPen_SetJoin",&_argc0
,&_arg1
))
2556 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetJoin. Expected _wxPen_p.");
2561 wxPen_SetJoin(_arg0
,_arg1
);
2563 _resultobj
= Py_None
;
2567 #define wxPen_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
2568 static PyObject
*_wrap_wxPen_SetStyle(PyObject
*self
, PyObject
*args
) {
2569 PyObject
* _resultobj
;
2575 if(!PyArg_ParseTuple(args
,"si:wxPen_SetStyle",&_argc0
,&_arg1
))
2578 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetStyle. Expected _wxPen_p.");
2583 wxPen_SetStyle(_arg0
,_arg1
);
2585 _resultobj
= Py_None
;
2589 #define wxPen_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2590 static PyObject
*_wrap_wxPen_SetWidth(PyObject
*self
, PyObject
*args
) {
2591 PyObject
* _resultobj
;
2597 if(!PyArg_ParseTuple(args
,"si:wxPen_SetWidth",&_argc0
,&_arg1
))
2600 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetWidth. Expected _wxPen_p.");
2605 wxPen_SetWidth(_arg0
,_arg1
);
2607 _resultobj
= Py_None
;
2611 static wxBrush
*new_wxBrush(wxColour
*colour
,int style
) {
2612 return wxTheBrushList
->FindOrCreateBrush(*colour
, style
);
2615 static PyObject
*_wrap_new_wxBrush(PyObject
*self
, PyObject
*args
) {
2616 PyObject
* _resultobj
;
2619 int _arg1
= (wxSOLID
);
2624 if(!PyArg_ParseTuple(args
,"s|i:new_wxBrush",&_argc0
,&_arg1
))
2627 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBrush. Expected _wxColour_p.");
2632 _result
= (wxBrush
*)new_wxBrush(_arg0
,_arg1
);
2633 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
2634 _resultobj
= Py_BuildValue("s",_ptemp
);
2638 #define wxBrush_GetColour(_swigobj) (_swigobj->GetColour())
2639 static PyObject
*_wrap_wxBrush_GetColour(PyObject
*self
, PyObject
*args
) {
2640 PyObject
* _resultobj
;
2647 if(!PyArg_ParseTuple(args
,"s:wxBrush_GetColour",&_argc0
))
2650 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBrush_p")) {
2651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetColour. Expected _wxBrush_p.");
2655 wxColour
& _result_ref
= wxBrush_GetColour(_arg0
);
2656 _result
= (wxColour
*) &_result_ref
;
2657 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
2658 _resultobj
= Py_BuildValue("s",_ptemp
);
2662 #define wxBrush_GetStipple(_swigobj) (_swigobj->GetStipple())
2663 static PyObject
*_wrap_wxBrush_GetStipple(PyObject
*self
, PyObject
*args
) {
2664 PyObject
* _resultobj
;
2671 if(!PyArg_ParseTuple(args
,"s:wxBrush_GetStipple",&_argc0
))
2674 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBrush_p")) {
2675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStipple. Expected _wxBrush_p.");
2679 _result
= (wxBitmap
*)wxBrush_GetStipple(_arg0
);
2680 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
2681 _resultobj
= Py_BuildValue("s",_ptemp
);
2685 #define wxBrush_GetStyle(_swigobj) (_swigobj->GetStyle())
2686 static PyObject
*_wrap_wxBrush_GetStyle(PyObject
*self
, PyObject
*args
) {
2687 PyObject
* _resultobj
;
2693 if(!PyArg_ParseTuple(args
,"s:wxBrush_GetStyle",&_argc0
))
2696 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBrush_p")) {
2697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStyle. Expected _wxBrush_p.");
2701 _result
= (int )wxBrush_GetStyle(_arg0
);
2702 _resultobj
= Py_BuildValue("i",_result
);
2706 #define wxBrush_Ok(_swigobj) (_swigobj->Ok())
2707 static PyObject
*_wrap_wxBrush_Ok(PyObject
*self
, PyObject
*args
) {
2708 PyObject
* _resultobj
;
2714 if(!PyArg_ParseTuple(args
,"s:wxBrush_Ok",&_argc0
))
2717 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBrush_p")) {
2718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_Ok. Expected _wxBrush_p.");
2722 _result
= (bool )wxBrush_Ok(_arg0
);
2723 _resultobj
= Py_BuildValue("i",_result
);
2727 #define wxBrush_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
2728 static PyObject
*_wrap_wxBrush_SetColour(PyObject
*self
, PyObject
*args
) {
2729 PyObject
* _resultobj
;
2736 if(!PyArg_ParseTuple(args
,"ss:wxBrush_SetColour",&_argc0
,&_argc1
))
2739 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBrush_p")) {
2740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetColour. Expected _wxBrush_p.");
2745 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
2746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrush_SetColour. Expected _wxColour_p.");
2750 wxBrush_SetColour(_arg0
,*_arg1
);
2752 _resultobj
= Py_None
;
2756 #define wxBrush_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
2757 static PyObject
*_wrap_wxBrush_SetStipple(PyObject
*self
, PyObject
*args
) {
2758 PyObject
* _resultobj
;
2765 if(!PyArg_ParseTuple(args
,"ss:wxBrush_SetStipple",&_argc0
,&_argc1
))
2768 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBrush_p")) {
2769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStipple. Expected _wxBrush_p.");
2774 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBitmap_p")) {
2775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrush_SetStipple. Expected _wxBitmap_p.");
2779 wxBrush_SetStipple(_arg0
,*_arg1
);
2781 _resultobj
= Py_None
;
2785 #define wxBrush_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
2786 static PyObject
*_wrap_wxBrush_SetStyle(PyObject
*self
, PyObject
*args
) {
2787 PyObject
* _resultobj
;
2793 if(!PyArg_ParseTuple(args
,"si:wxBrush_SetStyle",&_argc0
,&_arg1
))
2796 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBrush_p")) {
2797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStyle. Expected _wxBrush_p.");
2801 wxBrush_SetStyle(_arg0
,_arg1
);
2803 _resultobj
= Py_None
;
2807 #define delete_wxDC(_swigobj) (delete _swigobj)
2808 static PyObject
*_wrap_delete_wxDC(PyObject
*self
, PyObject
*args
) {
2809 PyObject
* _resultobj
;
2814 if(!PyArg_ParseTuple(args
,"s:delete_wxDC",&_argc0
))
2817 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDC. Expected _wxDC_p.");
2824 _resultobj
= Py_None
;
2828 #define wxDC_BeginDrawing(_swigobj) (_swigobj->BeginDrawing())
2829 static PyObject
*_wrap_wxDC_BeginDrawing(PyObject
*self
, PyObject
*args
) {
2830 PyObject
* _resultobj
;
2835 if(!PyArg_ParseTuple(args
,"s:wxDC_BeginDrawing",&_argc0
))
2838 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_BeginDrawing. Expected _wxDC_p.");
2843 wxDC_BeginDrawing(_arg0
);
2845 _resultobj
= Py_None
;
2849 #define wxDC_Blit(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Blit(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
2850 static PyObject
*_wrap_wxDC_Blit(PyObject
*self
, PyObject
*args
) {
2851 PyObject
* _resultobj
;
2866 if(!PyArg_ParseTuple(args
,"sllllslll:wxDC_Blit",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_argc5
,&_arg6
,&_arg7
,&_arg8
))
2869 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Blit. Expected _wxDC_p.");
2875 if (SWIG_GetPtr(_argc5
,(void **) &_arg5
,"_wxDC_p")) {
2876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxDC_Blit. Expected _wxDC_p.");
2880 _result
= (bool )wxDC_Blit(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
);
2881 _resultobj
= Py_BuildValue("i",_result
);
2885 #define wxDC_Clear(_swigobj) (_swigobj->Clear())
2886 static PyObject
*_wrap_wxDC_Clear(PyObject
*self
, PyObject
*args
) {
2887 PyObject
* _resultobj
;
2892 if(!PyArg_ParseTuple(args
,"s:wxDC_Clear",&_argc0
))
2895 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Clear. Expected _wxDC_p.");
2902 _resultobj
= Py_None
;
2906 #define wxDC_CrossHair(_swigobj,_swigarg0,_swigarg1) (_swigobj->CrossHair(_swigarg0,_swigarg1))
2907 static PyObject
*_wrap_wxDC_CrossHair(PyObject
*self
, PyObject
*args
) {
2908 PyObject
* _resultobj
;
2915 if(!PyArg_ParseTuple(args
,"sll:wxDC_CrossHair",&_argc0
,&_arg1
,&_arg2
))
2918 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CrossHair. Expected _wxDC_p.");
2923 wxDC_CrossHair(_arg0
,_arg1
,_arg2
);
2925 _resultobj
= Py_None
;
2929 #define wxDC_DestroyClippingRegion(_swigobj) (_swigobj->DestroyClippingRegion())
2930 static PyObject
*_wrap_wxDC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
) {
2931 PyObject
* _resultobj
;
2936 if(!PyArg_ParseTuple(args
,"s:wxDC_DestroyClippingRegion",&_argc0
))
2939 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DestroyClippingRegion. Expected _wxDC_p.");
2944 wxDC_DestroyClippingRegion(_arg0
);
2946 _resultobj
= Py_None
;
2950 #define wxDC_DeviceToLogicalX(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalX(_swigarg0))
2951 static PyObject
*_wrap_wxDC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
) {
2952 PyObject
* _resultobj
;
2959 if(!PyArg_ParseTuple(args
,"sl:wxDC_DeviceToLogicalX",&_argc0
,&_arg1
))
2962 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalX. Expected _wxDC_p.");
2967 _result
= (long )wxDC_DeviceToLogicalX(_arg0
,_arg1
);
2968 _resultobj
= Py_BuildValue("l",_result
);
2972 #define wxDC_DeviceToLogicalXRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalXRel(_swigarg0))
2973 static PyObject
*_wrap_wxDC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
) {
2974 PyObject
* _resultobj
;
2981 if(!PyArg_ParseTuple(args
,"sl:wxDC_DeviceToLogicalXRel",&_argc0
,&_arg1
))
2984 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalXRel. Expected _wxDC_p.");
2989 _result
= (long )wxDC_DeviceToLogicalXRel(_arg0
,_arg1
);
2990 _resultobj
= Py_BuildValue("l",_result
);
2994 #define wxDC_DeviceToLogicalY(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalY(_swigarg0))
2995 static PyObject
*_wrap_wxDC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
) {
2996 PyObject
* _resultobj
;
3003 if(!PyArg_ParseTuple(args
,"sl:wxDC_DeviceToLogicalY",&_argc0
,&_arg1
))
3006 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalY. Expected _wxDC_p.");
3011 _result
= (long )wxDC_DeviceToLogicalY(_arg0
,_arg1
);
3012 _resultobj
= Py_BuildValue("l",_result
);
3016 #define wxDC_DeviceToLogicalYRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalYRel(_swigarg0))
3017 static PyObject
*_wrap_wxDC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
) {
3018 PyObject
* _resultobj
;
3025 if(!PyArg_ParseTuple(args
,"sl:wxDC_DeviceToLogicalYRel",&_argc0
,&_arg1
))
3028 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalYRel. Expected _wxDC_p.");
3033 _result
= (long )wxDC_DeviceToLogicalYRel(_arg0
,_arg1
);
3034 _resultobj
= Py_BuildValue("l",_result
);
3038 #define wxDC_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3039 static PyObject
*_wrap_wxDC_DrawArc(PyObject
*self
, PyObject
*args
) {
3040 PyObject
* _resultobj
;
3051 if(!PyArg_ParseTuple(args
,"sllllll:wxDC_DrawArc",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
3054 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawArc. Expected _wxDC_p.");
3059 wxDC_DrawArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
3061 _resultobj
= Py_None
;
3065 #define wxDC_DrawEllipse(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawEllipse(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3066 static PyObject
*_wrap_wxDC_DrawEllipse(PyObject
*self
, PyObject
*args
) {
3067 PyObject
* _resultobj
;
3076 if(!PyArg_ParseTuple(args
,"sllll:wxDC_DrawEllipse",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3079 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipse. Expected _wxDC_p.");
3084 wxDC_DrawEllipse(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3086 _resultobj
= Py_None
;
3090 #define wxDC_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3091 static PyObject
*_wrap_wxDC_DrawEllipticArc(PyObject
*self
, PyObject
*args
) {
3092 PyObject
* _resultobj
;
3103 if(!PyArg_ParseTuple(args
,"sllllll:wxDC_DrawEllipticArc",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
3106 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipticArc. Expected _wxDC_p.");
3111 wxDC_DrawEllipticArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
3113 _resultobj
= Py_None
;
3117 #define wxDC_DrawIcon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawIcon(_swigarg0,_swigarg1,_swigarg2))
3118 static PyObject
*_wrap_wxDC_DrawIcon(PyObject
*self
, PyObject
*args
) {
3119 PyObject
* _resultobj
;
3128 if(!PyArg_ParseTuple(args
,"ssll:wxDC_DrawIcon",&_argc0
,&_argc1
,&_arg2
,&_arg3
))
3131 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawIcon. Expected _wxDC_p.");
3137 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxIcon_p")) {
3138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawIcon. Expected _wxIcon_p.");
3142 wxDC_DrawIcon(_arg0
,*_arg1
,_arg2
,_arg3
);
3144 _resultobj
= Py_None
;
3148 #define wxDC_DrawLine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3149 static PyObject
*_wrap_wxDC_DrawLine(PyObject
*self
, PyObject
*args
) {
3150 PyObject
* _resultobj
;
3159 if(!PyArg_ParseTuple(args
,"sllll:wxDC_DrawLine",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3162 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLine. Expected _wxDC_p.");
3167 wxDC_DrawLine(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3169 _resultobj
= Py_None
;
3173 #define wxDC_DrawLines(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLines(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3174 static PyObject
*_wrap_wxDC_DrawLines(PyObject
*self
, PyObject
*args
) {
3175 PyObject
* _resultobj
;
3182 PyObject
* _obj2
= 0;
3185 if(!PyArg_ParseTuple(args
,"sO|ll:wxDC_DrawLines",&_argc0
,&_obj2
,&_arg3
,&_arg4
))
3188 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLines. Expected _wxDC_p.");
3195 _arg2
= wxPoint_LIST_helper(_obj2
);
3196 if (_arg2
== NULL
) {
3201 _arg1
= PyList_Size(_obj2
);
3203 wxDC_DrawLines(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3205 _resultobj
= Py_None
;
3212 #define wxDC_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3213 static PyObject
*_wrap_wxDC_DrawPolygon(PyObject
*self
, PyObject
*args
) {
3214 PyObject
* _resultobj
;
3220 int _arg5
= (wxODDEVEN_RULE
);
3222 PyObject
* _obj2
= 0;
3225 if(!PyArg_ParseTuple(args
,"sO|lli:wxDC_DrawPolygon",&_argc0
,&_obj2
,&_arg3
,&_arg4
,&_arg5
))
3228 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPolygon. Expected _wxDC_p.");
3235 _arg2
= wxPoint_LIST_helper(_obj2
);
3236 if (_arg2
== NULL
) {
3241 _arg1
= PyList_Size(_obj2
);
3243 wxDC_DrawPolygon(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3245 _resultobj
= Py_None
;
3252 #define wxDC_DrawPoint(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawPoint(_swigarg0,_swigarg1))
3253 static PyObject
*_wrap_wxDC_DrawPoint(PyObject
*self
, PyObject
*args
) {
3254 PyObject
* _resultobj
;
3261 if(!PyArg_ParseTuple(args
,"sll:wxDC_DrawPoint",&_argc0
,&_arg1
,&_arg2
))
3264 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPoint. Expected _wxDC_p.");
3269 wxDC_DrawPoint(_arg0
,_arg1
,_arg2
);
3271 _resultobj
= Py_None
;
3275 #define wxDC_DrawRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3276 static PyObject
*_wrap_wxDC_DrawRectangle(PyObject
*self
, PyObject
*args
) {
3277 PyObject
* _resultobj
;
3286 if(!PyArg_ParseTuple(args
,"sllll:wxDC_DrawRectangle",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3289 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRectangle. Expected _wxDC_p.");
3294 wxDC_DrawRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3296 _resultobj
= Py_None
;
3300 #define wxDC_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3301 static PyObject
*_wrap_wxDC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
) {
3302 PyObject
* _resultobj
;
3312 if(!PyArg_ParseTuple(args
,"sllll|l:wxDC_DrawRoundedRectangle",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3315 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRoundedRectangle. Expected _wxDC_p.");
3320 wxDC_DrawRoundedRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3322 _resultobj
= Py_None
;
3326 #define wxDC_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1))
3327 static PyObject
*_wrap_wxDC_DrawSpline(PyObject
*self
, PyObject
*args
) {
3328 PyObject
* _resultobj
;
3333 PyObject
* _obj2
= 0;
3336 if(!PyArg_ParseTuple(args
,"sO:wxDC_DrawSpline",&_argc0
,&_obj2
))
3339 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawSpline. Expected _wxDC_p.");
3346 _arg2
= wxPoint_LIST_helper(_obj2
);
3347 if (_arg2
== NULL
) {
3352 _arg1
= PyList_Size(_obj2
);
3354 wxDC_DrawSpline(_arg0
,_arg1
,_arg2
);
3356 _resultobj
= Py_None
;
3363 #define wxDC_DrawText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawText(_swigarg0,_swigarg1,_swigarg2))
3364 static PyObject
*_wrap_wxDC_DrawText(PyObject
*self
, PyObject
*args
) {
3365 PyObject
* _resultobj
;
3371 PyObject
* _obj1
= 0;
3374 if(!PyArg_ParseTuple(args
,"sOll:wxDC_DrawText",&_argc0
,&_obj1
,&_arg2
,&_arg3
))
3377 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawText. Expected _wxDC_p.");
3383 if (!PyString_Check(_obj1
)) {
3384 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3387 _arg1
= new wxString(PyString_AsString(_obj1
));
3389 wxDC_DrawText(_arg0
,*_arg1
,_arg2
,_arg3
);
3391 _resultobj
= Py_None
;
3399 #define wxDC_EndDoc(_swigobj) (_swigobj->EndDoc())
3400 static PyObject
*_wrap_wxDC_EndDoc(PyObject
*self
, PyObject
*args
) {
3401 PyObject
* _resultobj
;
3406 if(!PyArg_ParseTuple(args
,"s:wxDC_EndDoc",&_argc0
))
3409 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDoc. Expected _wxDC_p.");
3416 _resultobj
= Py_None
;
3420 #define wxDC_EndDrawing(_swigobj) (_swigobj->EndDrawing())
3421 static PyObject
*_wrap_wxDC_EndDrawing(PyObject
*self
, PyObject
*args
) {
3422 PyObject
* _resultobj
;
3427 if(!PyArg_ParseTuple(args
,"s:wxDC_EndDrawing",&_argc0
))
3430 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDrawing. Expected _wxDC_p.");
3435 wxDC_EndDrawing(_arg0
);
3437 _resultobj
= Py_None
;
3441 #define wxDC_EndPage(_swigobj) (_swigobj->EndPage())
3442 static PyObject
*_wrap_wxDC_EndPage(PyObject
*self
, PyObject
*args
) {
3443 PyObject
* _resultobj
;
3448 if(!PyArg_ParseTuple(args
,"s:wxDC_EndPage",&_argc0
))
3451 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndPage. Expected _wxDC_p.");
3456 wxDC_EndPage(_arg0
);
3458 _resultobj
= Py_None
;
3462 #define wxDC_GetBackground(_swigobj) (_swigobj->GetBackground())
3463 static PyObject
*_wrap_wxDC_GetBackground(PyObject
*self
, PyObject
*args
) {
3464 PyObject
* _resultobj
;
3471 if(!PyArg_ParseTuple(args
,"s:wxDC_GetBackground",&_argc0
))
3474 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBackground. Expected _wxDC_p.");
3479 wxBrush
& _result_ref
= wxDC_GetBackground(_arg0
);
3480 _result
= (wxBrush
*) &_result_ref
;
3481 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
3482 _resultobj
= Py_BuildValue("s",_ptemp
);
3486 #define wxDC_GetBrush(_swigobj) (_swigobj->GetBrush())
3487 static PyObject
*_wrap_wxDC_GetBrush(PyObject
*self
, PyObject
*args
) {
3488 PyObject
* _resultobj
;
3495 if(!PyArg_ParseTuple(args
,"s:wxDC_GetBrush",&_argc0
))
3498 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBrush. Expected _wxDC_p.");
3503 wxBrush
& _result_ref
= wxDC_GetBrush(_arg0
);
3504 _result
= (wxBrush
*) &_result_ref
;
3505 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
3506 _resultobj
= Py_BuildValue("s",_ptemp
);
3510 #define wxDC_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
3511 static PyObject
*_wrap_wxDC_GetCharHeight(PyObject
*self
, PyObject
*args
) {
3512 PyObject
* _resultobj
;
3518 if(!PyArg_ParseTuple(args
,"s:wxDC_GetCharHeight",&_argc0
))
3521 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharHeight. Expected _wxDC_p.");
3526 _result
= (long )wxDC_GetCharHeight(_arg0
);
3527 _resultobj
= Py_BuildValue("l",_result
);
3531 #define wxDC_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
3532 static PyObject
*_wrap_wxDC_GetCharWidth(PyObject
*self
, PyObject
*args
) {
3533 PyObject
* _resultobj
;
3539 if(!PyArg_ParseTuple(args
,"s:wxDC_GetCharWidth",&_argc0
))
3542 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharWidth. Expected _wxDC_p.");
3547 _result
= (long )wxDC_GetCharWidth(_arg0
);
3548 _resultobj
= Py_BuildValue("l",_result
);
3552 #define wxDC_GetClippingBox(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetClippingBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3553 static PyObject
*_wrap_wxDC_GetClippingBox(PyObject
*self
, PyObject
*args
) {
3554 PyObject
* _resultobj
;
3579 if(!PyArg_ParseTuple(args
,"s:wxDC_GetClippingBox",&_argc0
))
3582 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetClippingBox. Expected _wxDC_p.");
3587 wxDC_GetClippingBox(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3589 _resultobj
= Py_None
;
3592 o
= PyInt_FromLong((long) (*_arg1
));
3593 _resultobj
= t_output_helper(_resultobj
, o
);
3597 o
= PyInt_FromLong((long) (*_arg2
));
3598 _resultobj
= t_output_helper(_resultobj
, o
);
3602 o
= PyInt_FromLong((long) (*_arg3
));
3603 _resultobj
= t_output_helper(_resultobj
, o
);
3607 o
= PyInt_FromLong((long) (*_arg4
));
3608 _resultobj
= t_output_helper(_resultobj
, o
);
3613 #define wxDC_GetFont(_swigobj) (_swigobj->GetFont())
3614 static PyObject
*_wrap_wxDC_GetFont(PyObject
*self
, PyObject
*args
) {
3615 PyObject
* _resultobj
;
3622 if(!PyArg_ParseTuple(args
,"s:wxDC_GetFont",&_argc0
))
3625 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFont. Expected _wxDC_p.");
3630 wxFont
& _result_ref
= wxDC_GetFont(_arg0
);
3631 _result
= (wxFont
*) &_result_ref
;
3632 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
3633 _resultobj
= Py_BuildValue("s",_ptemp
);
3637 #define wxDC_GetLogicalFunction(_swigobj) (_swigobj->GetLogicalFunction())
3638 static PyObject
*_wrap_wxDC_GetLogicalFunction(PyObject
*self
, PyObject
*args
) {
3639 PyObject
* _resultobj
;
3645 if(!PyArg_ParseTuple(args
,"s:wxDC_GetLogicalFunction",&_argc0
))
3648 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalFunction. Expected _wxDC_p.");
3653 _result
= (int )wxDC_GetLogicalFunction(_arg0
);
3654 _resultobj
= Py_BuildValue("i",_result
);
3658 #define wxDC_GetMapMode(_swigobj) (_swigobj->GetMapMode())
3659 static PyObject
*_wrap_wxDC_GetMapMode(PyObject
*self
, PyObject
*args
) {
3660 PyObject
* _resultobj
;
3666 if(!PyArg_ParseTuple(args
,"s:wxDC_GetMapMode",&_argc0
))
3669 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetMapMode. Expected _wxDC_p.");
3674 _result
= (int )wxDC_GetMapMode(_arg0
);
3675 _resultobj
= Py_BuildValue("i",_result
);
3679 #define wxDC_GetOptimization(_swigobj) (_swigobj->GetOptimization())
3680 static PyObject
*_wrap_wxDC_GetOptimization(PyObject
*self
, PyObject
*args
) {
3681 PyObject
* _resultobj
;
3687 if(!PyArg_ParseTuple(args
,"s:wxDC_GetOptimization",&_argc0
))
3690 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetOptimization. Expected _wxDC_p.");
3695 _result
= (bool )wxDC_GetOptimization(_arg0
);
3696 _resultobj
= Py_BuildValue("i",_result
);
3700 #define wxDC_GetPen(_swigobj) (_swigobj->GetPen())
3701 static PyObject
*_wrap_wxDC_GetPen(PyObject
*self
, PyObject
*args
) {
3702 PyObject
* _resultobj
;
3709 if(!PyArg_ParseTuple(args
,"s:wxDC_GetPen",&_argc0
))
3712 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPen. Expected _wxDC_p.");
3717 wxPen
& _result_ref
= wxDC_GetPen(_arg0
);
3718 _result
= (wxPen
*) &_result_ref
;
3719 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
3720 _resultobj
= Py_BuildValue("s",_ptemp
);
3724 static wxColour
* wxDC_GetPixel(wxDC
*self
,long x
,long y
) {
3725 wxColour
* wc
= new wxColour();
3726 self
->GetPixel(x
, y
, wc
);
3729 static PyObject
*_wrap_wxDC_GetPixel(PyObject
*self
, PyObject
*args
) {
3730 PyObject
* _resultobj
;
3739 if(!PyArg_ParseTuple(args
,"sll:wxDC_GetPixel",&_argc0
,&_arg1
,&_arg2
))
3742 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPixel. Expected _wxDC_p.");
3747 _result
= (wxColour
*)wxDC_GetPixel(_arg0
,_arg1
,_arg2
);
3748 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3749 _resultobj
= Py_BuildValue("s",_ptemp
);
3753 #define wxDC_GetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
3754 static PyObject
*_wrap_wxDC_GetSize(PyObject
*self
, PyObject
*args
) {
3755 PyObject
* _resultobj
;
3770 if(!PyArg_ParseTuple(args
,"s:wxDC_GetSize",&_argc0
))
3773 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSize. Expected _wxDC_p.");
3778 wxDC_GetSize(_arg0
,_arg1
,_arg2
);
3780 _resultobj
= Py_None
;
3783 o
= PyInt_FromLong((long) (*_arg1
));
3784 _resultobj
= t_output_helper(_resultobj
, o
);
3788 o
= PyInt_FromLong((long) (*_arg2
));
3789 _resultobj
= t_output_helper(_resultobj
, o
);
3794 #define wxDC_GetTextBackground(_swigobj) (_swigobj->GetTextBackground())
3795 static PyObject
*_wrap_wxDC_GetTextBackground(PyObject
*self
, PyObject
*args
) {
3796 PyObject
* _resultobj
;
3803 if(!PyArg_ParseTuple(args
,"s:wxDC_GetTextBackground",&_argc0
))
3806 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextBackground. Expected _wxDC_p.");
3811 wxColour
& _result_ref
= wxDC_GetTextBackground(_arg0
);
3812 _result
= (wxColour
*) &_result_ref
;
3813 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3814 _resultobj
= Py_BuildValue("s",_ptemp
);
3818 #define wxDC_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3819 static PyObject
*_wrap_wxDC_GetTextExtent(PyObject
*self
, PyObject
*args
) {
3820 PyObject
* _resultobj
;
3832 PyObject
* _obj1
= 0;
3847 if(!PyArg_ParseTuple(args
,"sO:wxDC_GetTextExtent",&_argc0
,&_obj1
))
3850 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextExtent. Expected _wxDC_p.");
3856 if (!PyString_Check(_obj1
)) {
3857 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3860 _arg1
= new wxString(PyString_AsString(_obj1
));
3862 wxDC_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3864 _resultobj
= Py_None
;
3867 o
= PyInt_FromLong((long) (*_arg2
));
3868 _resultobj
= t_output_helper(_resultobj
, o
);
3872 o
= PyInt_FromLong((long) (*_arg3
));
3873 _resultobj
= t_output_helper(_resultobj
, o
);
3877 o
= PyInt_FromLong((long) (*_arg4
));
3878 _resultobj
= t_output_helper(_resultobj
, o
);
3882 o
= PyInt_FromLong((long) (*_arg5
));
3883 _resultobj
= t_output_helper(_resultobj
, o
);
3892 #define wxDC_GetTextForeground(_swigobj) (_swigobj->GetTextForeground())
3893 static PyObject
*_wrap_wxDC_GetTextForeground(PyObject
*self
, PyObject
*args
) {
3894 PyObject
* _resultobj
;
3901 if(!PyArg_ParseTuple(args
,"s:wxDC_GetTextForeground",&_argc0
))
3904 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextForeground. Expected _wxDC_p.");
3909 wxColour
& _result_ref
= wxDC_GetTextForeground(_arg0
);
3910 _result
= (wxColour
*) &_result_ref
;
3911 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3912 _resultobj
= Py_BuildValue("s",_ptemp
);
3916 #define wxDC_LogicalToDeviceX(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceX(_swigarg0))
3917 static PyObject
*_wrap_wxDC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
) {
3918 PyObject
* _resultobj
;
3925 if(!PyArg_ParseTuple(args
,"sl:wxDC_LogicalToDeviceX",&_argc0
,&_arg1
))
3928 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceX. Expected _wxDC_p.");
3933 _result
= (long )wxDC_LogicalToDeviceX(_arg0
,_arg1
);
3934 _resultobj
= Py_BuildValue("l",_result
);
3938 #define wxDC_LogicalToDeviceXRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceXRel(_swigarg0))
3939 static PyObject
*_wrap_wxDC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
) {
3940 PyObject
* _resultobj
;
3947 if(!PyArg_ParseTuple(args
,"sl:wxDC_LogicalToDeviceXRel",&_argc0
,&_arg1
))
3950 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceXRel. Expected _wxDC_p.");
3955 _result
= (long )wxDC_LogicalToDeviceXRel(_arg0
,_arg1
);
3956 _resultobj
= Py_BuildValue("l",_result
);
3960 #define wxDC_LogicalToDeviceY(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceY(_swigarg0))
3961 static PyObject
*_wrap_wxDC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
) {
3962 PyObject
* _resultobj
;
3969 if(!PyArg_ParseTuple(args
,"sl:wxDC_LogicalToDeviceY",&_argc0
,&_arg1
))
3972 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceY. Expected _wxDC_p.");
3977 _result
= (long )wxDC_LogicalToDeviceY(_arg0
,_arg1
);
3978 _resultobj
= Py_BuildValue("l",_result
);
3982 #define wxDC_LogicalToDeviceYRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceYRel(_swigarg0))
3983 static PyObject
*_wrap_wxDC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
) {
3984 PyObject
* _resultobj
;
3991 if(!PyArg_ParseTuple(args
,"sl:wxDC_LogicalToDeviceYRel",&_argc0
,&_arg1
))
3994 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceYRel. Expected _wxDC_p.");
3999 _result
= (long )wxDC_LogicalToDeviceYRel(_arg0
,_arg1
);
4000 _resultobj
= Py_BuildValue("l",_result
);
4004 #define wxDC_MaxX(_swigobj) (_swigobj->MaxX())
4005 static PyObject
*_wrap_wxDC_MaxX(PyObject
*self
, PyObject
*args
) {
4006 PyObject
* _resultobj
;
4012 if(!PyArg_ParseTuple(args
,"s:wxDC_MaxX",&_argc0
))
4015 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxX. Expected _wxDC_p.");
4020 _result
= (long )wxDC_MaxX(_arg0
);
4021 _resultobj
= Py_BuildValue("l",_result
);
4025 #define wxDC_MaxY(_swigobj) (_swigobj->MaxY())
4026 static PyObject
*_wrap_wxDC_MaxY(PyObject
*self
, PyObject
*args
) {
4027 PyObject
* _resultobj
;
4033 if(!PyArg_ParseTuple(args
,"s:wxDC_MaxY",&_argc0
))
4036 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxY. Expected _wxDC_p.");
4041 _result
= (long )wxDC_MaxY(_arg0
);
4042 _resultobj
= Py_BuildValue("l",_result
);
4046 #define wxDC_MinX(_swigobj) (_swigobj->MinX())
4047 static PyObject
*_wrap_wxDC_MinX(PyObject
*self
, PyObject
*args
) {
4048 PyObject
* _resultobj
;
4054 if(!PyArg_ParseTuple(args
,"s:wxDC_MinX",&_argc0
))
4057 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinX. Expected _wxDC_p.");
4062 _result
= (long )wxDC_MinX(_arg0
);
4063 _resultobj
= Py_BuildValue("l",_result
);
4067 #define wxDC_MinY(_swigobj) (_swigobj->MinY())
4068 static PyObject
*_wrap_wxDC_MinY(PyObject
*self
, PyObject
*args
) {
4069 PyObject
* _resultobj
;
4075 if(!PyArg_ParseTuple(args
,"s:wxDC_MinY",&_argc0
))
4078 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinY. Expected _wxDC_p.");
4083 _result
= (long )wxDC_MinY(_arg0
);
4084 _resultobj
= Py_BuildValue("l",_result
);
4088 #define wxDC_Ok(_swigobj) (_swigobj->Ok())
4089 static PyObject
*_wrap_wxDC_Ok(PyObject
*self
, PyObject
*args
) {
4090 PyObject
* _resultobj
;
4096 if(!PyArg_ParseTuple(args
,"s:wxDC_Ok",&_argc0
))
4099 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Ok. Expected _wxDC_p.");
4104 _result
= (bool )wxDC_Ok(_arg0
);
4105 _resultobj
= Py_BuildValue("i",_result
);
4109 #define wxDC_SetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDeviceOrigin(_swigarg0,_swigarg1))
4110 static PyObject
*_wrap_wxDC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
) {
4111 PyObject
* _resultobj
;
4118 if(!PyArg_ParseTuple(args
,"sll:wxDC_SetDeviceOrigin",&_argc0
,&_arg1
,&_arg2
))
4121 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetDeviceOrigin. Expected _wxDC_p.");
4126 wxDC_SetDeviceOrigin(_arg0
,_arg1
,_arg2
);
4128 _resultobj
= Py_None
;
4132 #define wxDC_SetBackground(_swigobj,_swigarg0) (_swigobj->SetBackground(_swigarg0))
4133 static PyObject
*_wrap_wxDC_SetBackground(PyObject
*self
, PyObject
*args
) {
4134 PyObject
* _resultobj
;
4141 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetBackground",&_argc0
,&_argc1
))
4144 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackground. Expected _wxDC_p.");
4150 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBrush_p")) {
4151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBackground. Expected _wxBrush_p.");
4155 wxDC_SetBackground(_arg0
,*_arg1
);
4157 _resultobj
= Py_None
;
4161 #define wxDC_SetBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetBackgroundMode(_swigarg0))
4162 static PyObject
*_wrap_wxDC_SetBackgroundMode(PyObject
*self
, PyObject
*args
) {
4163 PyObject
* _resultobj
;
4169 if(!PyArg_ParseTuple(args
,"si:wxDC_SetBackgroundMode",&_argc0
,&_arg1
))
4172 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackgroundMode. Expected _wxDC_p.");
4177 wxDC_SetBackgroundMode(_arg0
,_arg1
);
4179 _resultobj
= Py_None
;
4183 #define wxDC_SetClippingRegion(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetClippingRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4184 static PyObject
*_wrap_wxDC_SetClippingRegion(PyObject
*self
, PyObject
*args
) {
4185 PyObject
* _resultobj
;
4194 if(!PyArg_ParseTuple(args
,"sllll:wxDC_SetClippingRegion",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4197 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetClippingRegion. Expected _wxDC_p.");
4202 wxDC_SetClippingRegion(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4204 _resultobj
= Py_None
;
4208 #define wxDC_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
4209 static PyObject
*_wrap_wxDC_SetPalette(PyObject
*self
, PyObject
*args
) {
4210 PyObject
* _resultobj
;
4217 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetPalette",&_argc0
,&_argc1
))
4220 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPalette. Expected _wxDC_p.");
4226 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPalette_p")) {
4227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPalette. Expected _wxPalette_p.");
4231 wxDC_SetPalette(_arg0
,*_arg1
);
4233 _resultobj
= Py_None
;
4237 #define wxDC_SetBrush(_swigobj,_swigarg0) (_swigobj->SetBrush(_swigarg0))
4238 static PyObject
*_wrap_wxDC_SetBrush(PyObject
*self
, PyObject
*args
) {
4239 PyObject
* _resultobj
;
4246 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetBrush",&_argc0
,&_argc1
))
4249 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBrush. Expected _wxDC_p.");
4255 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBrush_p")) {
4256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBrush. Expected _wxBrush_p.");
4260 wxDC_SetBrush(_arg0
,*_arg1
);
4262 _resultobj
= Py_None
;
4266 #define wxDC_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
4267 static PyObject
*_wrap_wxDC_SetFont(PyObject
*self
, PyObject
*args
) {
4268 PyObject
* _resultobj
;
4275 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetFont",&_argc0
,&_argc1
))
4278 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetFont. Expected _wxDC_p.");
4284 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxFont_p")) {
4285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetFont. Expected _wxFont_p.");
4289 wxDC_SetFont(_arg0
,*_arg1
);
4291 _resultobj
= Py_None
;
4295 #define wxDC_SetLogicalFunction(_swigobj,_swigarg0) (_swigobj->SetLogicalFunction(_swigarg0))
4296 static PyObject
*_wrap_wxDC_SetLogicalFunction(PyObject
*self
, PyObject
*args
) {
4297 PyObject
* _resultobj
;
4303 if(!PyArg_ParseTuple(args
,"si:wxDC_SetLogicalFunction",&_argc0
,&_arg1
))
4306 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalFunction. Expected _wxDC_p.");
4311 wxDC_SetLogicalFunction(_arg0
,_arg1
);
4313 _resultobj
= Py_None
;
4317 #define wxDC_SetMapMode(_swigobj,_swigarg0) (_swigobj->SetMapMode(_swigarg0))
4318 static PyObject
*_wrap_wxDC_SetMapMode(PyObject
*self
, PyObject
*args
) {
4319 PyObject
* _resultobj
;
4325 if(!PyArg_ParseTuple(args
,"si:wxDC_SetMapMode",&_argc0
,&_arg1
))
4328 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetMapMode. Expected _wxDC_p.");
4333 wxDC_SetMapMode(_arg0
,_arg1
);
4335 _resultobj
= Py_None
;
4339 #define wxDC_SetOptimization(_swigobj,_swigarg0) (_swigobj->SetOptimization(_swigarg0))
4340 static PyObject
*_wrap_wxDC_SetOptimization(PyObject
*self
, PyObject
*args
) {
4341 PyObject
* _resultobj
;
4348 if(!PyArg_ParseTuple(args
,"si:wxDC_SetOptimization",&_argc0
,&tempbool1
))
4351 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetOptimization. Expected _wxDC_p.");
4356 _arg1
= (bool ) tempbool1
;
4357 wxDC_SetOptimization(_arg0
,_arg1
);
4359 _resultobj
= Py_None
;
4363 #define wxDC_SetPen(_swigobj,_swigarg0) (_swigobj->SetPen(_swigarg0))
4364 static PyObject
*_wrap_wxDC_SetPen(PyObject
*self
, PyObject
*args
) {
4365 PyObject
* _resultobj
;
4372 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetPen",&_argc0
,&_argc1
))
4375 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPen. Expected _wxDC_p.");
4381 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPen_p")) {
4382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPen. Expected _wxPen_p.");
4386 wxDC_SetPen(_arg0
,*_arg1
);
4388 _resultobj
= Py_None
;
4392 #define wxDC_SetTextBackground(_swigobj,_swigarg0) (_swigobj->SetTextBackground(_swigarg0))
4393 static PyObject
*_wrap_wxDC_SetTextBackground(PyObject
*self
, PyObject
*args
) {
4394 PyObject
* _resultobj
;
4401 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetTextBackground",&_argc0
,&_argc1
))
4404 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextBackground. Expected _wxDC_p.");
4410 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
4411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetTextBackground. Expected _wxColour_p.");
4415 wxDC_SetTextBackground(_arg0
,*_arg1
);
4417 _resultobj
= Py_None
;
4421 #define wxDC_SetTextForeground(_swigobj,_swigarg0) (_swigobj->SetTextForeground(_swigarg0))
4422 static PyObject
*_wrap_wxDC_SetTextForeground(PyObject
*self
, PyObject
*args
) {
4423 PyObject
* _resultobj
;
4430 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetTextForeground",&_argc0
,&_argc1
))
4433 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextForeground. Expected _wxDC_p.");
4439 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
4440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetTextForeground. Expected _wxColour_p.");
4444 wxDC_SetTextForeground(_arg0
,*_arg1
);
4446 _resultobj
= Py_None
;
4450 #define wxDC_SetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetUserScale(_swigarg0,_swigarg1))
4451 static PyObject
*_wrap_wxDC_SetUserScale(PyObject
*self
, PyObject
*args
) {
4452 PyObject
* _resultobj
;
4459 if(!PyArg_ParseTuple(args
,"sdd:wxDC_SetUserScale",&_argc0
,&_arg1
,&_arg2
))
4462 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetUserScale. Expected _wxDC_p.");
4467 wxDC_SetUserScale(_arg0
,_arg1
,_arg2
);
4469 _resultobj
= Py_None
;
4473 #define wxDC_StartDoc(_swigobj,_swigarg0) (_swigobj->StartDoc(_swigarg0))
4474 static PyObject
*_wrap_wxDC_StartDoc(PyObject
*self
, PyObject
*args
) {
4475 PyObject
* _resultobj
;
4480 PyObject
* _obj1
= 0;
4483 if(!PyArg_ParseTuple(args
,"sO:wxDC_StartDoc",&_argc0
,&_obj1
))
4486 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartDoc. Expected _wxDC_p.");
4492 if (!PyString_Check(_obj1
)) {
4493 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4496 _arg1
= new wxString(PyString_AsString(_obj1
));
4498 _result
= (bool )wxDC_StartDoc(_arg0
,*_arg1
);
4499 _resultobj
= Py_BuildValue("i",_result
);
4507 #define wxDC_StartPage(_swigobj) (_swigobj->StartPage())
4508 static PyObject
*_wrap_wxDC_StartPage(PyObject
*self
, PyObject
*args
) {
4509 PyObject
* _resultobj
;
4514 if(!PyArg_ParseTuple(args
,"s:wxDC_StartPage",&_argc0
))
4517 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartPage. Expected _wxDC_p.");
4522 wxDC_StartPage(_arg0
);
4524 _resultobj
= Py_None
;
4528 static void wxDC_DrawBitmap(wxDC
*self
,wxBitmap
& bitmap
,long x
,long y
,bool swapPalette
) {
4529 wxMemoryDC
* memDC
= new wxMemoryDC
;
4530 memDC
->SelectObject(bitmap
);
4532 self
->SetPalette(*bitmap
.GetPalette());
4533 self
->Blit(x
, y
, bitmap
.GetWidth(), bitmap
.GetHeight(), memDC
,
4534 0, 0, self
->GetLogicalFunction());
4535 memDC
->SelectObject(wxNullBitmap
);
4538 static PyObject
*_wrap_wxDC_DrawBitmap(PyObject
*self
, PyObject
*args
) {
4539 PyObject
* _resultobj
;
4550 if(!PyArg_ParseTuple(args
,"ssll|i:wxDC_DrawBitmap",&_argc0
,&_argc1
,&_arg2
,&_arg3
,&tempbool4
))
4553 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawBitmap. Expected _wxDC_p.");
4559 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBitmap_p")) {
4560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawBitmap. Expected _wxBitmap_p.");
4564 _arg4
= (bool ) tempbool4
;
4565 wxDC_DrawBitmap(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
4567 _resultobj
= Py_None
;
4571 static void *SwigwxMemoryDCTowxDC(void *ptr
) {
4574 src
= (wxMemoryDC
*) ptr
;
4575 dest
= (wxDC
*) src
;
4576 return (void *) dest
;
4579 #define new_wxMemoryDC() (new wxMemoryDC())
4580 static PyObject
*_wrap_new_wxMemoryDC(PyObject
*self
, PyObject
*args
) {
4581 PyObject
* _resultobj
;
4582 wxMemoryDC
* _result
;
4586 if(!PyArg_ParseTuple(args
,":new_wxMemoryDC"))
4588 _result
= (wxMemoryDC
*)new_wxMemoryDC();
4589 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
4590 _resultobj
= Py_BuildValue("s",_ptemp
);
4594 #define wxMemoryDC_SelectObject(_swigobj,_swigarg0) (_swigobj->SelectObject(_swigarg0))
4595 static PyObject
*_wrap_wxMemoryDC_SelectObject(PyObject
*self
, PyObject
*args
) {
4596 PyObject
* _resultobj
;
4603 if(!PyArg_ParseTuple(args
,"ss:wxMemoryDC_SelectObject",&_argc0
,&_argc1
))
4606 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMemoryDC_p")) {
4607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDC_SelectObject. Expected _wxMemoryDC_p.");
4612 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBitmap_p")) {
4613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMemoryDC_SelectObject. Expected _wxBitmap_p.");
4617 wxMemoryDC_SelectObject(_arg0
,*_arg1
);
4619 _resultobj
= Py_None
;
4623 static void *SwigwxScreenDCTowxDC(void *ptr
) {
4626 src
= (wxScreenDC
*) ptr
;
4627 dest
= (wxDC
*) src
;
4628 return (void *) dest
;
4631 #define new_wxScreenDC() (new wxScreenDC())
4632 static PyObject
*_wrap_new_wxScreenDC(PyObject
*self
, PyObject
*args
) {
4633 PyObject
* _resultobj
;
4634 wxScreenDC
* _result
;
4638 if(!PyArg_ParseTuple(args
,":new_wxScreenDC"))
4640 _result
= (wxScreenDC
*)new_wxScreenDC();
4641 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScreenDC_p");
4642 _resultobj
= Py_BuildValue("s",_ptemp
);
4646 #define wxScreenDC_StartDrawingOnTop(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
4647 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
) {
4648 PyObject
* _resultobj
;
4656 if(!PyArg_ParseTuple(args
,"ss:wxScreenDC_StartDrawingOnTop",&_argc0
,&_argc1
))
4659 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScreenDC_p")) {
4660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTop. Expected _wxScreenDC_p.");
4665 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
4666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScreenDC_StartDrawingOnTop. Expected _wxWindow_p.");
4670 _result
= (bool )wxScreenDC_StartDrawingOnTop(_arg0
,_arg1
);
4671 _resultobj
= Py_BuildValue("i",_result
);
4675 #define wxScreenDC_StartDrawingOnTopRect(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
4676 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTopRect(PyObject
*self
, PyObject
*args
) {
4677 PyObject
* _resultobj
;
4680 wxRect
* _arg1
= NULL
;
4685 if(!PyArg_ParseTuple(args
,"s|s:wxScreenDC_StartDrawingOnTopRect",&_argc0
,&_argc1
))
4688 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScreenDC_p")) {
4689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTopRect. Expected _wxScreenDC_p.");
4694 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxRect_p")) {
4695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScreenDC_StartDrawingOnTopRect. Expected _wxRect_p.");
4699 _result
= (bool )wxScreenDC_StartDrawingOnTopRect(_arg0
,_arg1
);
4700 _resultobj
= Py_BuildValue("i",_result
);
4704 #define wxScreenDC_EndDrawingOnTop(_swigobj) (_swigobj->EndDrawingOnTop())
4705 static PyObject
*_wrap_wxScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
) {
4706 PyObject
* _resultobj
;
4712 if(!PyArg_ParseTuple(args
,"s:wxScreenDC_EndDrawingOnTop",&_argc0
))
4715 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScreenDC_p")) {
4716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_EndDrawingOnTop. Expected _wxScreenDC_p.");
4720 _result
= (bool )wxScreenDC_EndDrawingOnTop(_arg0
);
4721 _resultobj
= Py_BuildValue("i",_result
);
4725 static void *SwigwxClientDCTowxDC(void *ptr
) {
4728 src
= (wxClientDC
*) ptr
;
4729 dest
= (wxDC
*) src
;
4730 return (void *) dest
;
4733 #define new_wxClientDC(_swigarg0) (new wxClientDC(_swigarg0))
4734 static PyObject
*_wrap_new_wxClientDC(PyObject
*self
, PyObject
*args
) {
4735 PyObject
* _resultobj
;
4736 wxClientDC
* _result
;
4742 if(!PyArg_ParseTuple(args
,"s:new_wxClientDC",&_argc0
))
4745 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
4746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxClientDC. Expected _wxWindow_p.");
4750 _result
= (wxClientDC
*)new_wxClientDC(_arg0
);
4751 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxClientDC_p");
4752 _resultobj
= Py_BuildValue("s",_ptemp
);
4756 static void *SwigwxPaintDCTowxDC(void *ptr
) {
4759 src
= (wxPaintDC
*) ptr
;
4760 dest
= (wxDC
*) src
;
4761 return (void *) dest
;
4764 #define new_wxPaintDC(_swigarg0) (new wxPaintDC(_swigarg0))
4765 static PyObject
*_wrap_new_wxPaintDC(PyObject
*self
, PyObject
*args
) {
4766 PyObject
* _resultobj
;
4767 wxPaintDC
* _result
;
4773 if(!PyArg_ParseTuple(args
,"s:new_wxPaintDC",&_argc0
))
4776 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
4777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPaintDC. Expected _wxWindow_p.");
4781 _result
= (wxPaintDC
*)new_wxPaintDC(_arg0
);
4782 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPaintDC_p");
4783 _resultobj
= Py_BuildValue("s",_ptemp
);
4787 static void *SwigwxWindowDCTowxDC(void *ptr
) {
4790 src
= (wxWindowDC
*) ptr
;
4791 dest
= (wxDC
*) src
;
4792 return (void *) dest
;
4795 #define new_wxWindowDC(_swigarg0) (new wxWindowDC(_swigarg0))
4796 static PyObject
*_wrap_new_wxWindowDC(PyObject
*self
, PyObject
*args
) {
4797 PyObject
* _resultobj
;
4798 wxWindowDC
* _result
;
4804 if(!PyArg_ParseTuple(args
,"s:new_wxWindowDC",&_argc0
))
4807 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
4808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDC. Expected _wxWindow_p.");
4812 _result
= (wxWindowDC
*)new_wxWindowDC(_arg0
);
4813 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDC_p");
4814 _resultobj
= Py_BuildValue("s",_ptemp
);
4818 static void *SwigwxPrinterDCTowxDC(void *ptr
) {
4821 src
= (wxPrinterDC
*) ptr
;
4822 dest
= (wxDC
*) src
;
4823 return (void *) dest
;
4826 #define new_wxPrinterDC(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxPrinterDC(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4827 static PyObject
*_wrap_new_wxPrinterDC(PyObject
*self
, PyObject
*args
) {
4828 PyObject
* _resultobj
;
4829 wxPrinterDC
* _result
;
4834 int _arg4
= (wxPORTRAIT
);
4835 PyObject
* _obj0
= 0;
4836 PyObject
* _obj1
= 0;
4837 PyObject
* _obj2
= 0;
4842 if(!PyArg_ParseTuple(args
,"OOO|ii:new_wxPrinterDC",&_obj0
,&_obj1
,&_obj2
,&tempbool3
,&_arg4
))
4845 if (!PyString_Check(_obj0
)) {
4846 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4849 _arg0
= new wxString(PyString_AsString(_obj0
));
4852 if (!PyString_Check(_obj1
)) {
4853 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4856 _arg1
= new wxString(PyString_AsString(_obj1
));
4859 if (!PyString_Check(_obj2
)) {
4860 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4863 _arg2
= new wxString(PyString_AsString(_obj2
));
4865 _arg3
= (bool ) tempbool3
;
4866 _result
= (wxPrinterDC
*)new_wxPrinterDC(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
4867 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrinterDC_p");
4868 _resultobj
= Py_BuildValue("s",_ptemp
);
4884 static void *SwigwxMetaFileDCTowxDC(void *ptr
) {
4887 src
= (wxMetaFileDC
*) ptr
;
4888 dest
= (wxDC
*) src
;
4889 return (void *) dest
;
4892 #define new_wxMetaFileDC(_swigarg0) (new wxMetaFileDC(_swigarg0))
4893 static PyObject
*_wrap_new_wxMetaFileDC(PyObject
*self
, PyObject
*args
) {
4894 PyObject
* _resultobj
;
4895 wxMetaFileDC
* _result
;
4896 wxString
* _arg0
= &wxPyEmptyStr
;
4897 PyObject
* _obj0
= 0;
4901 if(!PyArg_ParseTuple(args
,"|O:new_wxMetaFileDC",&_obj0
))
4905 if (!PyString_Check(_obj0
)) {
4906 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4909 _arg0
= new wxString(PyString_AsString(_obj0
));
4911 _result
= (wxMetaFileDC
*)new_wxMetaFileDC(*_arg0
);
4912 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMetaFileDC_p");
4913 _resultobj
= Py_BuildValue("s",_ptemp
);
4921 #define wxMetaFileDC_Close(_swigobj) (_swigobj->Close())
4922 static PyObject
*_wrap_wxMetaFileDC_Close(PyObject
*self
, PyObject
*args
) {
4923 PyObject
* _resultobj
;
4924 wxMetaFile
* _result
;
4925 wxMetaFileDC
* _arg0
;
4930 if(!PyArg_ParseTuple(args
,"s:wxMetaFileDC_Close",&_argc0
))
4933 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMetaFileDC_p")) {
4934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMetaFileDC_Close. Expected _wxMetaFileDC_p.");
4938 _result
= (wxMetaFile
*)wxMetaFileDC_Close(_arg0
);
4939 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMetaFile_p");
4940 _resultobj
= Py_BuildValue("s",_ptemp
);
4944 #define new_wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4945 static PyObject
*_wrap_new_wxPalette(PyObject
*self
, PyObject
*args
) {
4946 PyObject
* _resultobj
;
4947 wxPalette
* _result
;
4952 PyObject
* _obj1
= 0;
4953 PyObject
* _obj2
= 0;
4954 PyObject
* _obj3
= 0;
4958 if(!PyArg_ParseTuple(args
,"OOO:new_wxPalette",&_obj1
,&_obj2
,&_obj3
))
4961 _arg1
= byte_LIST_helper(_obj1
);
4962 if (_arg1
== NULL
) {
4967 _arg2
= byte_LIST_helper(_obj2
);
4968 if (_arg2
== NULL
) {
4974 _arg3
= byte_LIST_helper(_obj3
);
4975 if (_arg3
== NULL
) {
4980 _arg0
= PyList_Size(_obj1
);
4982 _result
= (wxPalette
*)new_wxPalette(_arg0
,_arg1
,_arg2
,_arg3
);
4983 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
4984 _resultobj
= Py_BuildValue("s",_ptemp
);
4997 #define delete_wxPalette(_swigobj) (delete _swigobj)
4998 static PyObject
*_wrap_delete_wxPalette(PyObject
*self
, PyObject
*args
) {
4999 PyObject
* _resultobj
;
5004 if(!PyArg_ParseTuple(args
,"s:delete_wxPalette",&_argc0
))
5007 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPalette_p")) {
5008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPalette. Expected _wxPalette_p.");
5012 delete_wxPalette(_arg0
);
5014 _resultobj
= Py_None
;
5018 #define wxPalette_GetPixel(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetPixel(_swigarg0,_swigarg1,_swigarg2))
5019 static PyObject
*_wrap_wxPalette_GetPixel(PyObject
*self
, PyObject
*args
) {
5020 PyObject
* _resultobj
;
5029 if(!PyArg_ParseTuple(args
,"sbbb:wxPalette_GetPixel",&_argc0
,&_arg1
,&_arg2
,&_arg3
))
5032 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPalette_p")) {
5033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetPixel. Expected _wxPalette_p.");
5037 _result
= (int )wxPalette_GetPixel(_arg0
,_arg1
,_arg2
,_arg3
);
5038 _resultobj
= Py_BuildValue("i",_result
);
5042 #define wxPalette_GetRGB(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetRGB(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5043 static PyObject
*_wrap_wxPalette_GetRGB(PyObject
*self
, PyObject
*args
) {
5044 PyObject
* _resultobj
;
5057 if(!PyArg_ParseTuple(args
,"sisss:wxPalette_GetRGB",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_argc4
))
5060 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPalette_p")) {
5061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetRGB. Expected _wxPalette_p.");
5066 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_byte_p")) {
5067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPalette_GetRGB. Expected _byte_p.");
5072 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_byte_p")) {
5073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxPalette_GetRGB. Expected _byte_p.");
5078 if (SWIG_GetPtr(_argc4
,(void **) &_arg4
,"_byte_p")) {
5079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxPalette_GetRGB. Expected _byte_p.");
5083 _result
= (bool )wxPalette_GetRGB(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5084 _resultobj
= Py_BuildValue("i",_result
);
5088 #define wxPalette_Ok(_swigobj) (_swigobj->Ok())
5089 static PyObject
*_wrap_wxPalette_Ok(PyObject
*self
, PyObject
*args
) {
5090 PyObject
* _resultobj
;
5096 if(!PyArg_ParseTuple(args
,"s:wxPalette_Ok",&_argc0
))
5099 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPalette_p")) {
5100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_Ok. Expected _wxPalette_p.");
5104 _result
= (bool )wxPalette_Ok(_arg0
);
5105 _resultobj
= Py_BuildValue("i",_result
);
5109 static PyMethodDef gdicMethods
[] = {
5110 { "wxPalette_Ok", _wrap_wxPalette_Ok
, 1 },
5111 { "wxPalette_GetRGB", _wrap_wxPalette_GetRGB
, 1 },
5112 { "wxPalette_GetPixel", _wrap_wxPalette_GetPixel
, 1 },
5113 { "delete_wxPalette", _wrap_delete_wxPalette
, 1 },
5114 { "new_wxPalette", _wrap_new_wxPalette
, 1 },
5115 { "wxMetaFileDC_Close", _wrap_wxMetaFileDC_Close
, 1 },
5116 { "new_wxMetaFileDC", _wrap_new_wxMetaFileDC
, 1 },
5117 { "new_wxPrinterDC", _wrap_new_wxPrinterDC
, 1 },
5118 { "new_wxWindowDC", _wrap_new_wxWindowDC
, 1 },
5119 { "new_wxPaintDC", _wrap_new_wxPaintDC
, 1 },
5120 { "new_wxClientDC", _wrap_new_wxClientDC
, 1 },
5121 { "wxScreenDC_EndDrawingOnTop", _wrap_wxScreenDC_EndDrawingOnTop
, 1 },
5122 { "wxScreenDC_StartDrawingOnTopRect", _wrap_wxScreenDC_StartDrawingOnTopRect
, 1 },
5123 { "wxScreenDC_StartDrawingOnTop", _wrap_wxScreenDC_StartDrawingOnTop
, 1 },
5124 { "new_wxScreenDC", _wrap_new_wxScreenDC
, 1 },
5125 { "wxMemoryDC_SelectObject", _wrap_wxMemoryDC_SelectObject
, 1 },
5126 { "new_wxMemoryDC", _wrap_new_wxMemoryDC
, 1 },
5127 { "wxDC_DrawBitmap", _wrap_wxDC_DrawBitmap
, 1 },
5128 { "wxDC_StartPage", _wrap_wxDC_StartPage
, 1 },
5129 { "wxDC_StartDoc", _wrap_wxDC_StartDoc
, 1 },
5130 { "wxDC_SetUserScale", _wrap_wxDC_SetUserScale
, 1 },
5131 { "wxDC_SetTextForeground", _wrap_wxDC_SetTextForeground
, 1 },
5132 { "wxDC_SetTextBackground", _wrap_wxDC_SetTextBackground
, 1 },
5133 { "wxDC_SetPen", _wrap_wxDC_SetPen
, 1 },
5134 { "wxDC_SetOptimization", _wrap_wxDC_SetOptimization
, 1 },
5135 { "wxDC_SetMapMode", _wrap_wxDC_SetMapMode
, 1 },
5136 { "wxDC_SetLogicalFunction", _wrap_wxDC_SetLogicalFunction
, 1 },
5137 { "wxDC_SetFont", _wrap_wxDC_SetFont
, 1 },
5138 { "wxDC_SetBrush", _wrap_wxDC_SetBrush
, 1 },
5139 { "wxDC_SetPalette", _wrap_wxDC_SetPalette
, 1 },
5140 { "wxDC_SetClippingRegion", _wrap_wxDC_SetClippingRegion
, 1 },
5141 { "wxDC_SetBackgroundMode", _wrap_wxDC_SetBackgroundMode
, 1 },
5142 { "wxDC_SetBackground", _wrap_wxDC_SetBackground
, 1 },
5143 { "wxDC_SetDeviceOrigin", _wrap_wxDC_SetDeviceOrigin
, 1 },
5144 { "wxDC_Ok", _wrap_wxDC_Ok
, 1 },
5145 { "wxDC_MinY", _wrap_wxDC_MinY
, 1 },
5146 { "wxDC_MinX", _wrap_wxDC_MinX
, 1 },
5147 { "wxDC_MaxY", _wrap_wxDC_MaxY
, 1 },
5148 { "wxDC_MaxX", _wrap_wxDC_MaxX
, 1 },
5149 { "wxDC_LogicalToDeviceYRel", _wrap_wxDC_LogicalToDeviceYRel
, 1 },
5150 { "wxDC_LogicalToDeviceY", _wrap_wxDC_LogicalToDeviceY
, 1 },
5151 { "wxDC_LogicalToDeviceXRel", _wrap_wxDC_LogicalToDeviceXRel
, 1 },
5152 { "wxDC_LogicalToDeviceX", _wrap_wxDC_LogicalToDeviceX
, 1 },
5153 { "wxDC_GetTextForeground", _wrap_wxDC_GetTextForeground
, 1 },
5154 { "wxDC_GetTextExtent", _wrap_wxDC_GetTextExtent
, 1 },
5155 { "wxDC_GetTextBackground", _wrap_wxDC_GetTextBackground
, 1 },
5156 { "wxDC_GetSize", _wrap_wxDC_GetSize
, 1 },
5157 { "wxDC_GetPixel", _wrap_wxDC_GetPixel
, 1 },
5158 { "wxDC_GetPen", _wrap_wxDC_GetPen
, 1 },
5159 { "wxDC_GetOptimization", _wrap_wxDC_GetOptimization
, 1 },
5160 { "wxDC_GetMapMode", _wrap_wxDC_GetMapMode
, 1 },
5161 { "wxDC_GetLogicalFunction", _wrap_wxDC_GetLogicalFunction
, 1 },
5162 { "wxDC_GetFont", _wrap_wxDC_GetFont
, 1 },
5163 { "wxDC_GetClippingBox", _wrap_wxDC_GetClippingBox
, 1 },
5164 { "wxDC_GetCharWidth", _wrap_wxDC_GetCharWidth
, 1 },
5165 { "wxDC_GetCharHeight", _wrap_wxDC_GetCharHeight
, 1 },
5166 { "wxDC_GetBrush", _wrap_wxDC_GetBrush
, 1 },
5167 { "wxDC_GetBackground", _wrap_wxDC_GetBackground
, 1 },
5168 { "wxDC_EndPage", _wrap_wxDC_EndPage
, 1 },
5169 { "wxDC_EndDrawing", _wrap_wxDC_EndDrawing
, 1 },
5170 { "wxDC_EndDoc", _wrap_wxDC_EndDoc
, 1 },
5171 { "wxDC_DrawText", _wrap_wxDC_DrawText
, 1 },
5172 { "wxDC_DrawSpline", _wrap_wxDC_DrawSpline
, 1 },
5173 { "wxDC_DrawRoundedRectangle", _wrap_wxDC_DrawRoundedRectangle
, 1 },
5174 { "wxDC_DrawRectangle", _wrap_wxDC_DrawRectangle
, 1 },
5175 { "wxDC_DrawPoint", _wrap_wxDC_DrawPoint
, 1 },
5176 { "wxDC_DrawPolygon", _wrap_wxDC_DrawPolygon
, 1 },
5177 { "wxDC_DrawLines", _wrap_wxDC_DrawLines
, 1 },
5178 { "wxDC_DrawLine", _wrap_wxDC_DrawLine
, 1 },
5179 { "wxDC_DrawIcon", _wrap_wxDC_DrawIcon
, 1 },
5180 { "wxDC_DrawEllipticArc", _wrap_wxDC_DrawEllipticArc
, 1 },
5181 { "wxDC_DrawEllipse", _wrap_wxDC_DrawEllipse
, 1 },
5182 { "wxDC_DrawArc", _wrap_wxDC_DrawArc
, 1 },
5183 { "wxDC_DeviceToLogicalYRel", _wrap_wxDC_DeviceToLogicalYRel
, 1 },
5184 { "wxDC_DeviceToLogicalY", _wrap_wxDC_DeviceToLogicalY
, 1 },
5185 { "wxDC_DeviceToLogicalXRel", _wrap_wxDC_DeviceToLogicalXRel
, 1 },
5186 { "wxDC_DeviceToLogicalX", _wrap_wxDC_DeviceToLogicalX
, 1 },
5187 { "wxDC_DestroyClippingRegion", _wrap_wxDC_DestroyClippingRegion
, 1 },
5188 { "wxDC_CrossHair", _wrap_wxDC_CrossHair
, 1 },
5189 { "wxDC_Clear", _wrap_wxDC_Clear
, 1 },
5190 { "wxDC_Blit", _wrap_wxDC_Blit
, 1 },
5191 { "wxDC_BeginDrawing", _wrap_wxDC_BeginDrawing
, 1 },
5192 { "delete_wxDC", _wrap_delete_wxDC
, 1 },
5193 { "wxBrush_SetStyle", _wrap_wxBrush_SetStyle
, 1 },
5194 { "wxBrush_SetStipple", _wrap_wxBrush_SetStipple
, 1 },
5195 { "wxBrush_SetColour", _wrap_wxBrush_SetColour
, 1 },
5196 { "wxBrush_Ok", _wrap_wxBrush_Ok
, 1 },
5197 { "wxBrush_GetStyle", _wrap_wxBrush_GetStyle
, 1 },
5198 { "wxBrush_GetStipple", _wrap_wxBrush_GetStipple
, 1 },
5199 { "wxBrush_GetColour", _wrap_wxBrush_GetColour
, 1 },
5200 { "new_wxBrush", _wrap_new_wxBrush
, 1 },
5201 { "wxPen_SetWidth", _wrap_wxPen_SetWidth
, 1 },
5202 { "wxPen_SetStyle", _wrap_wxPen_SetStyle
, 1 },
5203 { "wxPen_SetJoin", _wrap_wxPen_SetJoin
, 1 },
5204 { "wxPen_SetStipple", _wrap_wxPen_SetStipple
, 1 },
5205 { "wxPen_SetDashes", _wrap_wxPen_SetDashes
, 1 },
5206 { "wxPen_SetColour", _wrap_wxPen_SetColour
, 1 },
5207 { "wxPen_SetCap", _wrap_wxPen_SetCap
, 1 },
5208 { "wxPen_Ok", _wrap_wxPen_Ok
, 1 },
5209 { "wxPen_GetWidth", _wrap_wxPen_GetWidth
, 1 },
5210 { "wxPen_GetStyle", _wrap_wxPen_GetStyle
, 1 },
5211 { "wxPen_GetJoin", _wrap_wxPen_GetJoin
, 1 },
5212 { "wxPen_GetStipple", _wrap_wxPen_GetStipple
, 1 },
5213 { "wxPen_GetDashes", _wrap_wxPen_GetDashes
, 1 },
5214 { "wxPen_GetColour", _wrap_wxPen_GetColour
, 1 },
5215 { "wxPen_GetCap", _wrap_wxPen_GetCap
, 1 },
5216 { "new_wxPen", _wrap_new_wxPen
, 1 },
5217 { "wxColour_Get", _wrap_wxColour_Get
, 1 },
5218 { "wxColour_Set", _wrap_wxColour_Set
, 1 },
5219 { "wxColour_Ok", _wrap_wxColour_Ok
, 1 },
5220 { "wxColour_Blue", _wrap_wxColour_Blue
, 1 },
5221 { "wxColour_Green", _wrap_wxColour_Green
, 1 },
5222 { "wxColour_Red", _wrap_wxColour_Red
, 1 },
5223 { "delete_wxColour", _wrap_delete_wxColour
, 1 },
5224 { "new_wxColour", _wrap_new_wxColour
, 1 },
5225 { "wxFont_SetWeight", _wrap_wxFont_SetWeight
, 1 },
5226 { "wxFont_SetUnderlined", _wrap_wxFont_SetUnderlined
, 1 },
5227 { "wxFont_SetStyle", _wrap_wxFont_SetStyle
, 1 },
5228 { "wxFont_SetPointSize", _wrap_wxFont_SetPointSize
, 1 },
5229 { "wxFont_SetFamily", _wrap_wxFont_SetFamily
, 1 },
5230 { "wxFont_SetFaceName", _wrap_wxFont_SetFaceName
, 1 },
5231 { "wxFont_GetWeight", _wrap_wxFont_GetWeight
, 1 },
5232 { "wxFont_GetUnderlined", _wrap_wxFont_GetUnderlined
, 1 },
5233 { "wxFont_GetStyle", _wrap_wxFont_GetStyle
, 1 },
5234 { "wxFont_GetPointSize", _wrap_wxFont_GetPointSize
, 1 },
5235 { "wxFont_GetFontId", _wrap_wxFont_GetFontId
, 1 },
5236 { "wxFont_GetFamily", _wrap_wxFont_GetFamily
, 1 },
5237 { "wxFont_GetFaceName", _wrap_wxFont_GetFaceName
, 1 },
5238 { "new_wxFont", _wrap_new_wxFont
, 1 },
5239 { "wxCursor_Ok", _wrap_wxCursor_Ok
, 1 },
5240 { "delete_wxCursor", _wrap_delete_wxCursor
, 1 },
5241 { "new_wxCursor", _wrap_new_wxCursor
, 1 },
5242 { "wxIcon_SetWidth", _wrap_wxIcon_SetWidth
, 1 },
5243 { "wxIcon_SetHeight", _wrap_wxIcon_SetHeight
, 1 },
5244 { "wxIcon_SetDepth", _wrap_wxIcon_SetDepth
, 1 },
5245 { "wxIcon_Ok", _wrap_wxIcon_Ok
, 1 },
5246 { "wxIcon_LoadFile", _wrap_wxIcon_LoadFile
, 1 },
5247 { "wxIcon_GetWidth", _wrap_wxIcon_GetWidth
, 1 },
5248 { "wxIcon_GetHeight", _wrap_wxIcon_GetHeight
, 1 },
5249 { "wxIcon_GetDepth", _wrap_wxIcon_GetDepth
, 1 },
5250 { "delete_wxIcon", _wrap_delete_wxIcon
, 1 },
5251 { "new_wxIcon", _wrap_new_wxIcon
, 1 },
5252 { "delete_wxMask", _wrap_delete_wxMask
, 1 },
5253 { "new_wxMask", _wrap_new_wxMask
, 1 },
5254 { "wxBitmap_SetWidth", _wrap_wxBitmap_SetWidth
, 1 },
5255 { "wxBitmap_SetPalette", _wrap_wxBitmap_SetPalette
, 1 },
5256 { "wxBitmap_SetMask", _wrap_wxBitmap_SetMask
, 1 },
5257 { "wxBitmap_SetHeight", _wrap_wxBitmap_SetHeight
, 1 },
5258 { "wxBitmap_SetDepth", _wrap_wxBitmap_SetDepth
, 1 },
5259 { "wxBitmap_SaveFile", _wrap_wxBitmap_SaveFile
, 1 },
5260 { "wxBitmap_Ok", _wrap_wxBitmap_Ok
, 1 },
5261 { "wxBitmap_LoadFile", _wrap_wxBitmap_LoadFile
, 1 },
5262 { "wxBitmap_GetWidth", _wrap_wxBitmap_GetWidth
, 1 },
5263 { "wxBitmap_GetMask", _wrap_wxBitmap_GetMask
, 1 },
5264 { "wxBitmap_GetPalette", _wrap_wxBitmap_GetPalette
, 1 },
5265 { "wxBitmap_GetHeight", _wrap_wxBitmap_GetHeight
, 1 },
5266 { "wxBitmap_GetDepth", _wrap_wxBitmap_GetDepth
, 1 },
5267 { "wxBitmap_Create", _wrap_wxBitmap_Create
, 1 },
5268 { "delete_wxBitmap", _wrap_delete_wxBitmap
, 1 },
5269 { "new_wxBitmap", _wrap_new_wxBitmap
, 1 },
5270 { "wxMemoryDCFromDC", _wrap_wxMemoryDCFromDC
, 1 },
5271 { "wxNamedColour", _wrap_wxNamedColour
, 1 },
5272 { "wxStockCursor", _wrap_wxStockCursor
, 1 },
5273 { "wxMaskColour", _wrap_wxMaskColour
, 1 },
5274 { "wxNoRefBitmap", _wrap_wxNoRefBitmap
, 1 },
5275 { "wxEmptyBitmap", _wrap_wxEmptyBitmap
, 1 },
5278 static PyObject
*SWIG_globals
;
5282 SWIGEXPORT(void,initgdic
)() {
5284 SWIG_globals
= SWIG_newvarlink();
5285 m
= Py_InitModule("gdic", gdicMethods
);
5286 d
= PyModule_GetDict(m
);
5287 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
5288 SWIG_addvarlink(SWIG_globals
,"wxNORMAL_FONT",_wrap_wxNORMAL_FONT_get
, _wrap_wxNORMAL_FONT_set
);
5289 SWIG_addvarlink(SWIG_globals
,"wxSMALL_FONT",_wrap_wxSMALL_FONT_get
, _wrap_wxSMALL_FONT_set
);
5290 SWIG_addvarlink(SWIG_globals
,"wxITALIC_FONT",_wrap_wxITALIC_FONT_get
, _wrap_wxITALIC_FONT_set
);
5291 SWIG_addvarlink(SWIG_globals
,"wxSWISS_FONT",_wrap_wxSWISS_FONT_get
, _wrap_wxSWISS_FONT_set
);
5292 SWIG_addvarlink(SWIG_globals
,"wxRED_PEN",_wrap_wxRED_PEN_get
, _wrap_wxRED_PEN_set
);
5293 SWIG_addvarlink(SWIG_globals
,"wxCYAN_PEN",_wrap_wxCYAN_PEN_get
, _wrap_wxCYAN_PEN_set
);
5294 SWIG_addvarlink(SWIG_globals
,"wxGREEN_PEN",_wrap_wxGREEN_PEN_get
, _wrap_wxGREEN_PEN_set
);
5295 SWIG_addvarlink(SWIG_globals
,"wxBLACK_PEN",_wrap_wxBLACK_PEN_get
, _wrap_wxBLACK_PEN_set
);
5296 SWIG_addvarlink(SWIG_globals
,"wxWHITE_PEN",_wrap_wxWHITE_PEN_get
, _wrap_wxWHITE_PEN_set
);
5297 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_PEN",_wrap_wxTRANSPARENT_PEN_get
, _wrap_wxTRANSPARENT_PEN_set
);
5298 SWIG_addvarlink(SWIG_globals
,"wxBLACK_DASHED_PEN",_wrap_wxBLACK_DASHED_PEN_get
, _wrap_wxBLACK_DASHED_PEN_set
);
5299 SWIG_addvarlink(SWIG_globals
,"wxGREY_PEN",_wrap_wxGREY_PEN_get
, _wrap_wxGREY_PEN_set
);
5300 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_PEN",_wrap_wxMEDIUM_GREY_PEN_get
, _wrap_wxMEDIUM_GREY_PEN_set
);
5301 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_PEN",_wrap_wxLIGHT_GREY_PEN_get
, _wrap_wxLIGHT_GREY_PEN_set
);
5302 SWIG_addvarlink(SWIG_globals
,"wxBLUE_BRUSH",_wrap_wxBLUE_BRUSH_get
, _wrap_wxBLUE_BRUSH_set
);
5303 SWIG_addvarlink(SWIG_globals
,"wxGREEN_BRUSH",_wrap_wxGREEN_BRUSH_get
, _wrap_wxGREEN_BRUSH_set
);
5304 SWIG_addvarlink(SWIG_globals
,"wxWHITE_BRUSH",_wrap_wxWHITE_BRUSH_get
, _wrap_wxWHITE_BRUSH_set
);
5305 SWIG_addvarlink(SWIG_globals
,"wxBLACK_BRUSH",_wrap_wxBLACK_BRUSH_get
, _wrap_wxBLACK_BRUSH_set
);
5306 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_BRUSH",_wrap_wxTRANSPARENT_BRUSH_get
, _wrap_wxTRANSPARENT_BRUSH_set
);
5307 SWIG_addvarlink(SWIG_globals
,"wxCYAN_BRUSH",_wrap_wxCYAN_BRUSH_get
, _wrap_wxCYAN_BRUSH_set
);
5308 SWIG_addvarlink(SWIG_globals
,"wxRED_BRUSH",_wrap_wxRED_BRUSH_get
, _wrap_wxRED_BRUSH_set
);
5309 SWIG_addvarlink(SWIG_globals
,"wxGREY_BRUSH",_wrap_wxGREY_BRUSH_get
, _wrap_wxGREY_BRUSH_set
);
5310 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_BRUSH",_wrap_wxMEDIUM_GREY_BRUSH_get
, _wrap_wxMEDIUM_GREY_BRUSH_set
);
5311 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_BRUSH",_wrap_wxLIGHT_GREY_BRUSH_get
, _wrap_wxLIGHT_GREY_BRUSH_set
);
5312 SWIG_addvarlink(SWIG_globals
,"wxBLACK",_wrap_wxBLACK_get
, _wrap_wxBLACK_set
);
5313 SWIG_addvarlink(SWIG_globals
,"wxWHITE",_wrap_wxWHITE_get
, _wrap_wxWHITE_set
);
5314 SWIG_addvarlink(SWIG_globals
,"wxRED",_wrap_wxRED_get
, _wrap_wxRED_set
);
5315 SWIG_addvarlink(SWIG_globals
,"wxBLUE",_wrap_wxBLUE_get
, _wrap_wxBLUE_set
);
5316 SWIG_addvarlink(SWIG_globals
,"wxGREEN",_wrap_wxGREEN_get
, _wrap_wxGREEN_set
);
5317 SWIG_addvarlink(SWIG_globals
,"wxCYAN",_wrap_wxCYAN_get
, _wrap_wxCYAN_set
);
5318 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY",_wrap_wxLIGHT_GREY_get
, _wrap_wxLIGHT_GREY_set
);
5319 SWIG_addvarlink(SWIG_globals
,"wxSTANDARD_CURSOR",_wrap_wxSTANDARD_CURSOR_get
, _wrap_wxSTANDARD_CURSOR_set
);
5320 SWIG_addvarlink(SWIG_globals
,"wxHOURGLASS_CURSOR",_wrap_wxHOURGLASS_CURSOR_get
, _wrap_wxHOURGLASS_CURSOR_set
);
5321 SWIG_addvarlink(SWIG_globals
,"wxCROSS_CURSOR",_wrap_wxCROSS_CURSOR_get
, _wrap_wxCROSS_CURSOR_set
);
5322 SWIG_addvarlink(SWIG_globals
,"wxNullBitmap",_wrap_wxNullBitmap_get
, _wrap_wxNullBitmap_set
);
5323 SWIG_addvarlink(SWIG_globals
,"wxNullIcon",_wrap_wxNullIcon_get
, _wrap_wxNullIcon_set
);
5324 SWIG_addvarlink(SWIG_globals
,"wxNullCursor",_wrap_wxNullCursor_get
, _wrap_wxNullCursor_set
);
5325 SWIG_addvarlink(SWIG_globals
,"wxNullPen",_wrap_wxNullPen_get
, _wrap_wxNullPen_set
);
5326 SWIG_addvarlink(SWIG_globals
,"wxNullBrush",_wrap_wxNullBrush_get
, _wrap_wxNullBrush_set
);
5327 SWIG_addvarlink(SWIG_globals
,"wxNullPalette",_wrap_wxNullPalette_get
, _wrap_wxNullPalette_set
);
5328 SWIG_addvarlink(SWIG_globals
,"wxNullFont",_wrap_wxNullFont_get
, _wrap_wxNullFont_set
);
5329 SWIG_addvarlink(SWIG_globals
,"wxNullColour",_wrap_wxNullColour_get
, _wrap_wxNullColour_set
);
5331 * These are the pointer type-equivalency mappings.
5332 * (Used by the SWIG pointer type-checker).
5334 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
5335 SWIG_RegisterMapping("_signed_long","_long",0);
5336 SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
5337 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
5338 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
5339 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
5340 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
5341 SWIG_RegisterMapping("_byte","_unsigned_char",0);
5342 SWIG_RegisterMapping("_long","_wxDash",0);
5343 SWIG_RegisterMapping("_long","_unsigned_long",0);
5344 SWIG_RegisterMapping("_long","_signed_long",0);
5345 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
5346 SWIG_RegisterMapping("_wxDC","_class_wxMetaFileDC",SwigwxMetaFileDCTowxDC
);
5347 SWIG_RegisterMapping("_wxDC","_wxMetaFileDC",SwigwxMetaFileDCTowxDC
);
5348 SWIG_RegisterMapping("_wxDC","_class_wxPrinterDC",SwigwxPrinterDCTowxDC
);
5349 SWIG_RegisterMapping("_wxDC","_wxPrinterDC",SwigwxPrinterDCTowxDC
);
5350 SWIG_RegisterMapping("_wxDC","_class_wxWindowDC",SwigwxWindowDCTowxDC
);
5351 SWIG_RegisterMapping("_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC
);
5352 SWIG_RegisterMapping("_wxDC","_class_wxPaintDC",SwigwxPaintDCTowxDC
);
5353 SWIG_RegisterMapping("_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
);
5354 SWIG_RegisterMapping("_wxDC","_class_wxClientDC",SwigwxClientDCTowxDC
);
5355 SWIG_RegisterMapping("_wxDC","_wxClientDC",SwigwxClientDCTowxDC
);
5356 SWIG_RegisterMapping("_wxDC","_class_wxScreenDC",SwigwxScreenDCTowxDC
);
5357 SWIG_RegisterMapping("_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
);
5358 SWIG_RegisterMapping("_wxDC","_class_wxMemoryDC",SwigwxMemoryDCTowxDC
);
5359 SWIG_RegisterMapping("_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
);
5360 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
5361 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
5362 SWIG_RegisterMapping("_wxPrinterDC","_class_wxPrinterDC",0);
5363 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
5364 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
5365 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
5366 SWIG_RegisterMapping("_uint","_unsigned_int",0);
5367 SWIG_RegisterMapping("_uint","_int",0);
5368 SWIG_RegisterMapping("_uint","_wxWindowID",0);
5369 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
5370 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
5371 SWIG_RegisterMapping("_wxBitmap","_class_wxCursor",SwigwxCursorTowxBitmap
);
5372 SWIG_RegisterMapping("_wxBitmap","_wxCursor",SwigwxCursorTowxBitmap
);
5373 SWIG_RegisterMapping("_wxBitmap","_class_wxIcon",SwigwxIconTowxBitmap
);
5374 SWIG_RegisterMapping("_wxBitmap","_wxIcon",SwigwxIconTowxBitmap
);
5375 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
5376 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
5377 SWIG_RegisterMapping("_wxWindowDC","_class_wxWindowDC",0);
5378 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
5379 SWIG_RegisterMapping("_EBool","_signed_int",0);
5380 SWIG_RegisterMapping("_EBool","_int",0);
5381 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
5382 SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0);
5383 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
5384 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
5385 SWIG_RegisterMapping("_unsigned_long","_long",0);
5386 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
5387 SWIG_RegisterMapping("_class_wxDC","_class_wxMetaFileDC",SwigwxMetaFileDCTowxDC
);
5388 SWIG_RegisterMapping("_class_wxDC","_wxMetaFileDC",SwigwxMetaFileDCTowxDC
);
5389 SWIG_RegisterMapping("_class_wxDC","_class_wxPrinterDC",SwigwxPrinterDCTowxDC
);
5390 SWIG_RegisterMapping("_class_wxDC","_wxPrinterDC",SwigwxPrinterDCTowxDC
);
5391 SWIG_RegisterMapping("_class_wxDC","_class_wxWindowDC",SwigwxWindowDCTowxDC
);
5392 SWIG_RegisterMapping("_class_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC
);
5393 SWIG_RegisterMapping("_class_wxDC","_class_wxPaintDC",SwigwxPaintDCTowxDC
);
5394 SWIG_RegisterMapping("_class_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
);
5395 SWIG_RegisterMapping("_class_wxDC","_class_wxClientDC",SwigwxClientDCTowxDC
);
5396 SWIG_RegisterMapping("_class_wxDC","_wxClientDC",SwigwxClientDCTowxDC
);
5397 SWIG_RegisterMapping("_class_wxDC","_class_wxScreenDC",SwigwxScreenDCTowxDC
);
5398 SWIG_RegisterMapping("_class_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
);
5399 SWIG_RegisterMapping("_class_wxDC","_class_wxMemoryDC",SwigwxMemoryDCTowxDC
);
5400 SWIG_RegisterMapping("_class_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
);
5401 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
5402 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
5403 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
5404 SWIG_RegisterMapping("_signed_int","_EBool",0);
5405 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
5406 SWIG_RegisterMapping("_signed_int","_int",0);
5407 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
5408 SWIG_RegisterMapping("_wxMetaFileDC","_class_wxMetaFileDC",0);
5409 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
5410 SWIG_RegisterMapping("_WXTYPE","_short",0);
5411 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
5412 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
5413 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
5414 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
5415 SWIG_RegisterMapping("_unsigned_short","_short",0);
5416 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
5417 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
5418 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
5419 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
5420 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
5421 SWIG_RegisterMapping("_signed_short","_short",0);
5422 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
5423 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
5424 SWIG_RegisterMapping("_class_wxWindowDC","_wxWindowDC",0);
5425 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
5426 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
5427 SWIG_RegisterMapping("_unsigned_char","_byte",0);
5428 SWIG_RegisterMapping("_class_wxMetaFileDC","_wxMetaFileDC",0);
5429 SWIG_RegisterMapping("_unsigned_int","_uint",0);
5430 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
5431 SWIG_RegisterMapping("_unsigned_int","_int",0);
5432 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
5433 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
5434 SWIG_RegisterMapping("_short","_WXTYPE",0);
5435 SWIG_RegisterMapping("_short","_unsigned_short",0);
5436 SWIG_RegisterMapping("_short","_signed_short",0);
5437 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
5438 SWIG_RegisterMapping("_wxWindowID","_uint",0);
5439 SWIG_RegisterMapping("_wxWindowID","_int",0);
5440 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
5441 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
5442 SWIG_RegisterMapping("_int","_EBool",0);
5443 SWIG_RegisterMapping("_int","_uint",0);
5444 SWIG_RegisterMapping("_int","_wxWindowID",0);
5445 SWIG_RegisterMapping("_int","_unsigned_int",0);
5446 SWIG_RegisterMapping("_int","_signed_int",0);
5447 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
5448 SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0);
5449 SWIG_RegisterMapping("_class_wxPrinterDC","_wxPrinterDC",0);
5450 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
5451 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
5452 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
5453 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
5454 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
5455 SWIG_RegisterMapping("_wxPalette","_class_wxPalette",0);
5456 SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
5457 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
5458 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
5459 SWIG_RegisterMapping("_class_wxBitmap","_class_wxCursor",SwigwxCursorTowxBitmap
);
5460 SWIG_RegisterMapping("_class_wxBitmap","_wxCursor",SwigwxCursorTowxBitmap
);
5461 SWIG_RegisterMapping("_class_wxBitmap","_class_wxIcon",SwigwxIconTowxBitmap
);
5462 SWIG_RegisterMapping("_class_wxBitmap","_wxIcon",SwigwxIconTowxBitmap
);
5463 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
5464 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
5465 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
5466 SWIG_RegisterMapping("_wxDash","_long",0);
5467 SWIG_RegisterMapping("_class_wxPalette","_wxPalette",0);