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
) {
64 } else if (target
== Py_None
) {
68 if (!PyList_Check(target
)) {
70 target
= PyList_New(0);
71 PyList_Append(target
, o2
);
74 PyList_Append(target
,o
);
80 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
86 } else if (target
== Py_None
) {
90 if (!PyTuple_Check(target
)) {
92 target
= PyTuple_New(1);
93 PyTuple_SetItem(target
, 0, o2
);
96 PyTuple_SetItem(o3
, 0, o
);
99 target
= PySequence_Concat(o2
, o3
);
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_GetDepth(_swigobj) (_swigobj->GetDepth())
994 static PyObject
*_wrap_wxBitmap_GetDepth(PyObject
*self
, PyObject
*args
) {
995 PyObject
* _resultobj
;
1001 if(!PyArg_ParseTuple(args
,"s:wxBitmap_GetDepth",&_argc0
))
1004 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetDepth. Expected _wxBitmap_p.");
1009 _result
= (int )wxBitmap_GetDepth(_arg0
);
1010 _resultobj
= Py_BuildValue("i",_result
);
1014 #define wxBitmap_GetHeight(_swigobj) (_swigobj->GetHeight())
1015 static PyObject
*_wrap_wxBitmap_GetHeight(PyObject
*self
, PyObject
*args
) {
1016 PyObject
* _resultobj
;
1022 if(!PyArg_ParseTuple(args
,"s:wxBitmap_GetHeight",&_argc0
))
1025 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetHeight. Expected _wxBitmap_p.");
1030 _result
= (int )wxBitmap_GetHeight(_arg0
);
1031 _resultobj
= Py_BuildValue("i",_result
);
1035 #define wxBitmap_GetPalette(_swigobj) (_swigobj->GetPalette())
1036 static PyObject
*_wrap_wxBitmap_GetPalette(PyObject
*self
, PyObject
*args
) {
1037 PyObject
* _resultobj
;
1038 wxPalette
* _result
;
1044 if(!PyArg_ParseTuple(args
,"s:wxBitmap_GetPalette",&_argc0
))
1047 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetPalette. Expected _wxBitmap_p.");
1052 _result
= (wxPalette
*)wxBitmap_GetPalette(_arg0
);
1053 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
1054 _resultobj
= Py_BuildValue("s",_ptemp
);
1058 #define wxBitmap_GetMask(_swigobj) (_swigobj->GetMask())
1059 static PyObject
*_wrap_wxBitmap_GetMask(PyObject
*self
, PyObject
*args
) {
1060 PyObject
* _resultobj
;
1067 if(!PyArg_ParseTuple(args
,"s:wxBitmap_GetMask",&_argc0
))
1070 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetMask. Expected _wxBitmap_p.");
1075 _result
= (wxMask
*)wxBitmap_GetMask(_arg0
);
1076 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
1077 _resultobj
= Py_BuildValue("s",_ptemp
);
1081 #define wxBitmap_GetWidth(_swigobj) (_swigobj->GetWidth())
1082 static PyObject
*_wrap_wxBitmap_GetWidth(PyObject
*self
, PyObject
*args
) {
1083 PyObject
* _resultobj
;
1089 if(!PyArg_ParseTuple(args
,"s:wxBitmap_GetWidth",&_argc0
))
1092 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetWidth. Expected _wxBitmap_p.");
1097 _result
= (int )wxBitmap_GetWidth(_arg0
);
1098 _resultobj
= Py_BuildValue("i",_result
);
1102 #define wxBitmap_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1103 static PyObject
*_wrap_wxBitmap_LoadFile(PyObject
*self
, PyObject
*args
) {
1104 PyObject
* _resultobj
;
1110 PyObject
* _obj1
= 0;
1113 if(!PyArg_ParseTuple(args
,"sOl:wxBitmap_LoadFile",&_argc0
,&_obj1
,&_arg2
))
1116 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_LoadFile. Expected _wxBitmap_p.");
1122 if (!PyString_Check(_obj1
)) {
1123 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1126 _arg1
= new wxString(PyString_AsString(_obj1
));
1128 _result
= (bool )wxBitmap_LoadFile(_arg0
,*_arg1
,_arg2
);
1129 _resultobj
= Py_BuildValue("i",_result
);
1137 #define wxBitmap_Ok(_swigobj) (_swigobj->Ok())
1138 static PyObject
*_wrap_wxBitmap_Ok(PyObject
*self
, PyObject
*args
) {
1139 PyObject
* _resultobj
;
1145 if(!PyArg_ParseTuple(args
,"s:wxBitmap_Ok",&_argc0
))
1148 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_Ok. Expected _wxBitmap_p.");
1153 _result
= (bool )wxBitmap_Ok(_arg0
);
1154 _resultobj
= Py_BuildValue("i",_result
);
1158 #define wxBitmap_SaveFile(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SaveFile(_swigarg0,_swigarg1,_swigarg2))
1159 static PyObject
*_wrap_wxBitmap_SaveFile(PyObject
*self
, PyObject
*args
) {
1160 PyObject
* _resultobj
;
1165 wxPalette
* _arg3
= NULL
;
1167 PyObject
* _obj1
= 0;
1171 if(!PyArg_ParseTuple(args
,"sOi|s:wxBitmap_SaveFile",&_argc0
,&_obj1
,&_arg2
,&_argc3
))
1174 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SaveFile. Expected _wxBitmap_p.");
1180 if (!PyString_Check(_obj1
)) {
1181 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1184 _arg1
= new wxString(PyString_AsString(_obj1
));
1187 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxPalette_p")) {
1188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxBitmap_SaveFile. Expected _wxPalette_p.");
1192 _result
= (bool )wxBitmap_SaveFile(_arg0
,*_arg1
,_arg2
,_arg3
);
1193 _resultobj
= Py_BuildValue("i",_result
);
1201 #define wxBitmap_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
1202 static PyObject
*_wrap_wxBitmap_SetDepth(PyObject
*self
, PyObject
*args
) {
1203 PyObject
* _resultobj
;
1209 if(!PyArg_ParseTuple(args
,"si:wxBitmap_SetDepth",&_argc0
,&_arg1
))
1212 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetDepth. Expected _wxBitmap_p.");
1217 wxBitmap_SetDepth(_arg0
,_arg1
);
1219 _resultobj
= Py_None
;
1223 #define wxBitmap_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1224 static PyObject
*_wrap_wxBitmap_SetHeight(PyObject
*self
, PyObject
*args
) {
1225 PyObject
* _resultobj
;
1231 if(!PyArg_ParseTuple(args
,"si:wxBitmap_SetHeight",&_argc0
,&_arg1
))
1234 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetHeight. Expected _wxBitmap_p.");
1239 wxBitmap_SetHeight(_arg0
,_arg1
);
1241 _resultobj
= Py_None
;
1245 #define wxBitmap_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
1246 static PyObject
*_wrap_wxBitmap_SetMask(PyObject
*self
, PyObject
*args
) {
1247 PyObject
* _resultobj
;
1254 if(!PyArg_ParseTuple(args
,"ss:wxBitmap_SetMask",&_argc0
,&_argc1
))
1257 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetMask. Expected _wxBitmap_p.");
1263 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxMask_p")) {
1264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_SetMask. Expected _wxMask_p.");
1268 wxBitmap_SetMask(_arg0
,_arg1
);
1270 _resultobj
= Py_None
;
1274 #define wxBitmap_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1275 static PyObject
*_wrap_wxBitmap_SetWidth(PyObject
*self
, PyObject
*args
) {
1276 PyObject
* _resultobj
;
1282 if(!PyArg_ParseTuple(args
,"si:wxBitmap_SetWidth",&_argc0
,&_arg1
))
1285 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetWidth. Expected _wxBitmap_p.");
1290 wxBitmap_SetWidth(_arg0
,_arg1
);
1292 _resultobj
= Py_None
;
1296 #define new_wxMask(_swigarg0) (new wxMask(_swigarg0))
1297 static PyObject
*_wrap_new_wxMask(PyObject
*self
, PyObject
*args
) {
1298 PyObject
* _resultobj
;
1305 if(!PyArg_ParseTuple(args
,"s:new_wxMask",&_argc0
))
1308 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMask. Expected _wxBitmap_p.");
1313 _result
= (wxMask
*)new_wxMask(*_arg0
);
1314 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
1315 _resultobj
= Py_BuildValue("s",_ptemp
);
1319 #define delete_wxMask(_swigobj) (delete _swigobj)
1320 static PyObject
*_wrap_delete_wxMask(PyObject
*self
, PyObject
*args
) {
1321 PyObject
* _resultobj
;
1326 if(!PyArg_ParseTuple(args
,"s:delete_wxMask",&_argc0
))
1329 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMask_p")) {
1330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMask. Expected _wxMask_p.");
1334 delete_wxMask(_arg0
);
1336 _resultobj
= Py_None
;
1340 static void *SwigwxIconTowxBitmap(void *ptr
) {
1343 src
= (wxIcon
*) ptr
;
1344 dest
= (wxBitmap
*) src
;
1345 return (void *) dest
;
1348 #define delete_wxIcon(_swigobj) (delete _swigobj)
1349 static PyObject
*_wrap_delete_wxIcon(PyObject
*self
, PyObject
*args
) {
1350 PyObject
* _resultobj
;
1355 if(!PyArg_ParseTuple(args
,"s:delete_wxIcon",&_argc0
))
1358 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxIcon. Expected _wxIcon_p.");
1363 delete_wxIcon(_arg0
);
1365 _resultobj
= Py_None
;
1369 #define wxIcon_GetDepth(_swigobj) (_swigobj->GetDepth())
1370 static PyObject
*_wrap_wxIcon_GetDepth(PyObject
*self
, PyObject
*args
) {
1371 PyObject
* _resultobj
;
1377 if(!PyArg_ParseTuple(args
,"s:wxIcon_GetDepth",&_argc0
))
1380 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetDepth. Expected _wxIcon_p.");
1385 _result
= (int )wxIcon_GetDepth(_arg0
);
1386 _resultobj
= Py_BuildValue("i",_result
);
1390 #define wxIcon_GetHeight(_swigobj) (_swigobj->GetHeight())
1391 static PyObject
*_wrap_wxIcon_GetHeight(PyObject
*self
, PyObject
*args
) {
1392 PyObject
* _resultobj
;
1398 if(!PyArg_ParseTuple(args
,"s:wxIcon_GetHeight",&_argc0
))
1401 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetHeight. Expected _wxIcon_p.");
1406 _result
= (int )wxIcon_GetHeight(_arg0
);
1407 _resultobj
= Py_BuildValue("i",_result
);
1411 #define wxIcon_GetWidth(_swigobj) (_swigobj->GetWidth())
1412 static PyObject
*_wrap_wxIcon_GetWidth(PyObject
*self
, PyObject
*args
) {
1413 PyObject
* _resultobj
;
1419 if(!PyArg_ParseTuple(args
,"s:wxIcon_GetWidth",&_argc0
))
1422 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetWidth. Expected _wxIcon_p.");
1427 _result
= (int )wxIcon_GetWidth(_arg0
);
1428 _resultobj
= Py_BuildValue("i",_result
);
1432 #define wxIcon_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1433 static PyObject
*_wrap_wxIcon_LoadFile(PyObject
*self
, PyObject
*args
) {
1434 PyObject
* _resultobj
;
1440 PyObject
* _obj1
= 0;
1443 if(!PyArg_ParseTuple(args
,"sOl:wxIcon_LoadFile",&_argc0
,&_obj1
,&_arg2
))
1446 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_LoadFile. Expected _wxIcon_p.");
1452 if (!PyString_Check(_obj1
)) {
1453 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1456 _arg1
= new wxString(PyString_AsString(_obj1
));
1458 _result
= (bool )wxIcon_LoadFile(_arg0
,*_arg1
,_arg2
);
1459 _resultobj
= Py_BuildValue("i",_result
);
1467 #define wxIcon_Ok(_swigobj) (_swigobj->Ok())
1468 static PyObject
*_wrap_wxIcon_Ok(PyObject
*self
, PyObject
*args
) {
1469 PyObject
* _resultobj
;
1475 if(!PyArg_ParseTuple(args
,"s:wxIcon_Ok",&_argc0
))
1478 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_Ok. Expected _wxIcon_p.");
1483 _result
= (bool )wxIcon_Ok(_arg0
);
1484 _resultobj
= Py_BuildValue("i",_result
);
1488 #define wxIcon_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
1489 static PyObject
*_wrap_wxIcon_SetDepth(PyObject
*self
, PyObject
*args
) {
1490 PyObject
* _resultobj
;
1496 if(!PyArg_ParseTuple(args
,"si:wxIcon_SetDepth",&_argc0
,&_arg1
))
1499 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetDepth. Expected _wxIcon_p.");
1504 wxIcon_SetDepth(_arg0
,_arg1
);
1506 _resultobj
= Py_None
;
1510 #define wxIcon_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1511 static PyObject
*_wrap_wxIcon_SetHeight(PyObject
*self
, PyObject
*args
) {
1512 PyObject
* _resultobj
;
1518 if(!PyArg_ParseTuple(args
,"si:wxIcon_SetHeight",&_argc0
,&_arg1
))
1521 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetHeight. Expected _wxIcon_p.");
1526 wxIcon_SetHeight(_arg0
,_arg1
);
1528 _resultobj
= Py_None
;
1532 #define wxIcon_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1533 static PyObject
*_wrap_wxIcon_SetWidth(PyObject
*self
, PyObject
*args
) {
1534 PyObject
* _resultobj
;
1540 if(!PyArg_ParseTuple(args
,"si:wxIcon_SetWidth",&_argc0
,&_arg1
))
1543 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetWidth. Expected _wxIcon_p.");
1548 wxIcon_SetWidth(_arg0
,_arg1
);
1550 _resultobj
= Py_None
;
1554 static void *SwigwxCursorTowxBitmap(void *ptr
) {
1557 src
= (wxCursor
*) ptr
;
1558 dest
= (wxBitmap
*) src
;
1559 return (void *) dest
;
1562 #define delete_wxCursor(_swigobj) (delete _swigobj)
1563 static PyObject
*_wrap_delete_wxCursor(PyObject
*self
, PyObject
*args
) {
1564 PyObject
* _resultobj
;
1569 if(!PyArg_ParseTuple(args
,"s:delete_wxCursor",&_argc0
))
1572 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxCursor_p")) {
1573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCursor. Expected _wxCursor_p.");
1577 delete_wxCursor(_arg0
);
1579 _resultobj
= Py_None
;
1583 #define wxCursor_Ok(_swigobj) (_swigobj->Ok())
1584 static PyObject
*_wrap_wxCursor_Ok(PyObject
*self
, PyObject
*args
) {
1585 PyObject
* _resultobj
;
1591 if(!PyArg_ParseTuple(args
,"s:wxCursor_Ok",&_argc0
))
1594 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxCursor_p")) {
1595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_Ok. Expected _wxCursor_p.");
1599 _result
= (bool )wxCursor_Ok(_arg0
);
1600 _resultobj
= Py_BuildValue("i",_result
);
1604 static wxFont
*new_wxFont(int pointSize
,int family
,int style
,int weight
,int underline
,char *faceName
) {
1606 return wxTheFontList
->FindOrCreateFont(pointSize
, family
, style
, weight
,
1607 underline
, faceName
);
1610 static PyObject
*_wrap_new_wxFont(PyObject
*self
, PyObject
*args
) {
1611 PyObject
* _resultobj
;
1622 if(!PyArg_ParseTuple(args
,"iiii|is:new_wxFont",&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
1624 _result
= (wxFont
*)new_wxFont(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1625 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1626 _resultobj
= Py_BuildValue("s",_ptemp
);
1630 #define wxFont_GetFaceName(_swigobj) (_swigobj->GetFaceName())
1631 static PyObject
*_wrap_wxFont_GetFaceName(PyObject
*self
, PyObject
*args
) {
1632 PyObject
* _resultobj
;
1638 if(!PyArg_ParseTuple(args
,"s:wxFont_GetFaceName",&_argc0
))
1641 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFaceName. Expected _wxFont_p.");
1646 _result
= new wxString (wxFont_GetFaceName(_arg0
));
1648 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1656 #define wxFont_GetFamily(_swigobj) (_swigobj->GetFamily())
1657 static PyObject
*_wrap_wxFont_GetFamily(PyObject
*self
, PyObject
*args
) {
1658 PyObject
* _resultobj
;
1664 if(!PyArg_ParseTuple(args
,"s:wxFont_GetFamily",&_argc0
))
1667 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFamily. Expected _wxFont_p.");
1672 _result
= (int )wxFont_GetFamily(_arg0
);
1673 _resultobj
= Py_BuildValue("i",_result
);
1677 #define wxFont_GetFontId(_swigobj) (_swigobj->GetFontId())
1678 static PyObject
*_wrap_wxFont_GetFontId(PyObject
*self
, PyObject
*args
) {
1679 PyObject
* _resultobj
;
1685 if(!PyArg_ParseTuple(args
,"s:wxFont_GetFontId",&_argc0
))
1688 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFontId. Expected _wxFont_p.");
1693 _result
= (int )wxFont_GetFontId(_arg0
);
1694 _resultobj
= Py_BuildValue("i",_result
);
1698 #define wxFont_GetPointSize(_swigobj) (_swigobj->GetPointSize())
1699 static PyObject
*_wrap_wxFont_GetPointSize(PyObject
*self
, PyObject
*args
) {
1700 PyObject
* _resultobj
;
1706 if(!PyArg_ParseTuple(args
,"s:wxFont_GetPointSize",&_argc0
))
1709 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetPointSize. Expected _wxFont_p.");
1714 _result
= (int )wxFont_GetPointSize(_arg0
);
1715 _resultobj
= Py_BuildValue("i",_result
);
1719 #define wxFont_GetStyle(_swigobj) (_swigobj->GetStyle())
1720 static PyObject
*_wrap_wxFont_GetStyle(PyObject
*self
, PyObject
*args
) {
1721 PyObject
* _resultobj
;
1727 if(!PyArg_ParseTuple(args
,"s:wxFont_GetStyle",&_argc0
))
1730 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetStyle. Expected _wxFont_p.");
1735 _result
= (int )wxFont_GetStyle(_arg0
);
1736 _resultobj
= Py_BuildValue("i",_result
);
1740 #define wxFont_GetUnderlined(_swigobj) (_swigobj->GetUnderlined())
1741 static PyObject
*_wrap_wxFont_GetUnderlined(PyObject
*self
, PyObject
*args
) {
1742 PyObject
* _resultobj
;
1748 if(!PyArg_ParseTuple(args
,"s:wxFont_GetUnderlined",&_argc0
))
1751 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetUnderlined. Expected _wxFont_p.");
1756 _result
= (bool )wxFont_GetUnderlined(_arg0
);
1757 _resultobj
= Py_BuildValue("i",_result
);
1761 #define wxFont_GetWeight(_swigobj) (_swigobj->GetWeight())
1762 static PyObject
*_wrap_wxFont_GetWeight(PyObject
*self
, PyObject
*args
) {
1763 PyObject
* _resultobj
;
1769 if(!PyArg_ParseTuple(args
,"s:wxFont_GetWeight",&_argc0
))
1772 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetWeight. Expected _wxFont_p.");
1777 _result
= (int )wxFont_GetWeight(_arg0
);
1778 _resultobj
= Py_BuildValue("i",_result
);
1782 #define new_wxColour(_swigarg0,_swigarg1,_swigarg2) (new wxColour(_swigarg0,_swigarg1,_swigarg2))
1783 static PyObject
*_wrap_new_wxColour(PyObject
*self
, PyObject
*args
) {
1784 PyObject
* _resultobj
;
1786 unsigned char _arg0
= 0;
1787 unsigned char _arg1
= 0;
1788 unsigned char _arg2
= 0;
1792 if(!PyArg_ParseTuple(args
,"|bbb:new_wxColour",&_arg0
,&_arg1
,&_arg2
))
1794 _result
= (wxColour
*)new_wxColour(_arg0
,_arg1
,_arg2
);
1795 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1796 _resultobj
= Py_BuildValue("s",_ptemp
);
1800 #define delete_wxColour(_swigobj) (delete _swigobj)
1801 static PyObject
*_wrap_delete_wxColour(PyObject
*self
, PyObject
*args
) {
1802 PyObject
* _resultobj
;
1807 if(!PyArg_ParseTuple(args
,"s:delete_wxColour",&_argc0
))
1810 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
1811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxColour. Expected _wxColour_p.");
1815 delete_wxColour(_arg0
);
1817 _resultobj
= Py_None
;
1821 #define wxColour_Red(_swigobj) (_swigobj->Red())
1822 static PyObject
*_wrap_wxColour_Red(PyObject
*self
, PyObject
*args
) {
1823 PyObject
* _resultobj
;
1824 unsigned char _result
;
1829 if(!PyArg_ParseTuple(args
,"s:wxColour_Red",&_argc0
))
1832 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
1833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Red. Expected _wxColour_p.");
1837 _result
= (unsigned char )wxColour_Red(_arg0
);
1838 _resultobj
= Py_BuildValue("b",_result
);
1842 #define wxColour_Green(_swigobj) (_swigobj->Green())
1843 static PyObject
*_wrap_wxColour_Green(PyObject
*self
, PyObject
*args
) {
1844 PyObject
* _resultobj
;
1845 unsigned char _result
;
1850 if(!PyArg_ParseTuple(args
,"s:wxColour_Green",&_argc0
))
1853 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
1854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Green. Expected _wxColour_p.");
1858 _result
= (unsigned char )wxColour_Green(_arg0
);
1859 _resultobj
= Py_BuildValue("b",_result
);
1863 #define wxColour_Blue(_swigobj) (_swigobj->Blue())
1864 static PyObject
*_wrap_wxColour_Blue(PyObject
*self
, PyObject
*args
) {
1865 PyObject
* _resultobj
;
1866 unsigned char _result
;
1871 if(!PyArg_ParseTuple(args
,"s:wxColour_Blue",&_argc0
))
1874 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
1875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Blue. Expected _wxColour_p.");
1879 _result
= (unsigned char )wxColour_Blue(_arg0
);
1880 _resultobj
= Py_BuildValue("b",_result
);
1884 #define wxColour_Ok(_swigobj) (_swigobj->Ok())
1885 static PyObject
*_wrap_wxColour_Ok(PyObject
*self
, PyObject
*args
) {
1886 PyObject
* _resultobj
;
1892 if(!PyArg_ParseTuple(args
,"s:wxColour_Ok",&_argc0
))
1895 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
1896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Ok. Expected _wxColour_p.");
1900 _result
= (bool )wxColour_Ok(_arg0
);
1901 _resultobj
= Py_BuildValue("i",_result
);
1905 #define wxColour_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
1906 static PyObject
*_wrap_wxColour_Set(PyObject
*self
, PyObject
*args
) {
1907 PyObject
* _resultobj
;
1909 unsigned char _arg1
;
1910 unsigned char _arg2
;
1911 unsigned char _arg3
;
1915 if(!PyArg_ParseTuple(args
,"sbbb:wxColour_Set",&_argc0
,&_arg1
,&_arg2
,&_arg3
))
1918 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
1919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Set. Expected _wxColour_p.");
1923 wxColour_Set(_arg0
,_arg1
,_arg2
,_arg3
);
1925 _resultobj
= Py_None
;
1929 static PyObject
* wxColour_Get(wxColour
*self
) {
1930 PyObject
* rv
= PyTuple_New(3);
1931 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
1932 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
1933 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
1936 static PyObject
*_wrap_wxColour_Get(PyObject
*self
, PyObject
*args
) {
1937 PyObject
* _resultobj
;
1943 if(!PyArg_ParseTuple(args
,"s:wxColour_Get",&_argc0
))
1946 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
1947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Get. Expected _wxColour_p.");
1951 _result
= (PyObject
*)wxColour_Get(_arg0
);
1953 _resultobj
= _result
;
1958 static wxPen
*new_wxPen(wxColour
*colour
,int width
,int style
) {
1959 return wxThePenList
->FindOrCreatePen(*colour
, width
, style
);
1962 static PyObject
*_wrap_new_wxPen(PyObject
*self
, PyObject
*args
) {
1963 PyObject
* _resultobj
;
1967 int _arg2
= (wxSOLID
);
1972 if(!PyArg_ParseTuple(args
,"s|ii:new_wxPen",&_argc0
,&_arg1
,&_arg2
))
1975 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
1976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPen. Expected _wxColour_p.");
1980 _result
= (wxPen
*)new_wxPen(_arg0
,_arg1
,_arg2
);
1981 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
1982 _resultobj
= Py_BuildValue("s",_ptemp
);
1986 #define wxPen_GetCap(_swigobj) (_swigobj->GetCap())
1987 static PyObject
*_wrap_wxPen_GetCap(PyObject
*self
, PyObject
*args
) {
1988 PyObject
* _resultobj
;
1994 if(!PyArg_ParseTuple(args
,"s:wxPen_GetCap",&_argc0
))
1997 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
1998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetCap. Expected _wxPen_p.");
2002 _result
= (int )wxPen_GetCap(_arg0
);
2003 _resultobj
= Py_BuildValue("i",_result
);
2007 #define wxPen_GetColour(_swigobj) (_swigobj->GetColour())
2008 static PyObject
*_wrap_wxPen_GetColour(PyObject
*self
, PyObject
*args
) {
2009 PyObject
* _resultobj
;
2016 if(!PyArg_ParseTuple(args
,"s:wxPen_GetColour",&_argc0
))
2019 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetColour. Expected _wxPen_p.");
2024 wxColour
& _result_ref
= wxPen_GetColour(_arg0
);
2025 _result
= (wxColour
*) &_result_ref
;
2026 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
2027 _resultobj
= Py_BuildValue("s",_ptemp
);
2031 #define wxPen_GetJoin(_swigobj) (_swigobj->GetJoin())
2032 static PyObject
*_wrap_wxPen_GetJoin(PyObject
*self
, PyObject
*args
) {
2033 PyObject
* _resultobj
;
2039 if(!PyArg_ParseTuple(args
,"s:wxPen_GetJoin",&_argc0
))
2042 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetJoin. Expected _wxPen_p.");
2047 _result
= (int )wxPen_GetJoin(_arg0
);
2048 _resultobj
= Py_BuildValue("i",_result
);
2052 #define wxPen_GetStyle(_swigobj) (_swigobj->GetStyle())
2053 static PyObject
*_wrap_wxPen_GetStyle(PyObject
*self
, PyObject
*args
) {
2054 PyObject
* _resultobj
;
2060 if(!PyArg_ParseTuple(args
,"s:wxPen_GetStyle",&_argc0
))
2063 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetStyle. Expected _wxPen_p.");
2068 _result
= (int )wxPen_GetStyle(_arg0
);
2069 _resultobj
= Py_BuildValue("i",_result
);
2073 #define wxPen_GetWidth(_swigobj) (_swigobj->GetWidth())
2074 static PyObject
*_wrap_wxPen_GetWidth(PyObject
*self
, PyObject
*args
) {
2075 PyObject
* _resultobj
;
2081 if(!PyArg_ParseTuple(args
,"s:wxPen_GetWidth",&_argc0
))
2084 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetWidth. Expected _wxPen_p.");
2089 _result
= (int )wxPen_GetWidth(_arg0
);
2090 _resultobj
= Py_BuildValue("i",_result
);
2094 #define wxPen_Ok(_swigobj) (_swigobj->Ok())
2095 static PyObject
*_wrap_wxPen_Ok(PyObject
*self
, PyObject
*args
) {
2096 PyObject
* _resultobj
;
2102 if(!PyArg_ParseTuple(args
,"s:wxPen_Ok",&_argc0
))
2105 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_Ok. Expected _wxPen_p.");
2110 _result
= (bool )wxPen_Ok(_arg0
);
2111 _resultobj
= Py_BuildValue("i",_result
);
2115 #define wxPen_SetCap(_swigobj,_swigarg0) (_swigobj->SetCap(_swigarg0))
2116 static PyObject
*_wrap_wxPen_SetCap(PyObject
*self
, PyObject
*args
) {
2117 PyObject
* _resultobj
;
2123 if(!PyArg_ParseTuple(args
,"si:wxPen_SetCap",&_argc0
,&_arg1
))
2126 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetCap. Expected _wxPen_p.");
2131 wxPen_SetCap(_arg0
,_arg1
);
2133 _resultobj
= Py_None
;
2137 #define wxPen_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
2138 static PyObject
*_wrap_wxPen_SetColour(PyObject
*self
, PyObject
*args
) {
2139 PyObject
* _resultobj
;
2146 if(!PyArg_ParseTuple(args
,"ss:wxPen_SetColour",&_argc0
,&_argc1
))
2149 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetColour. Expected _wxPen_p.");
2155 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
2156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPen_SetColour. Expected _wxColour_p.");
2160 wxPen_SetColour(_arg0
,*_arg1
);
2162 _resultobj
= Py_None
;
2166 #define wxPen_SetJoin(_swigobj,_swigarg0) (_swigobj->SetJoin(_swigarg0))
2167 static PyObject
*_wrap_wxPen_SetJoin(PyObject
*self
, PyObject
*args
) {
2168 PyObject
* _resultobj
;
2174 if(!PyArg_ParseTuple(args
,"si:wxPen_SetJoin",&_argc0
,&_arg1
))
2177 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetJoin. Expected _wxPen_p.");
2182 wxPen_SetJoin(_arg0
,_arg1
);
2184 _resultobj
= Py_None
;
2188 #define wxPen_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
2189 static PyObject
*_wrap_wxPen_SetStyle(PyObject
*self
, PyObject
*args
) {
2190 PyObject
* _resultobj
;
2196 if(!PyArg_ParseTuple(args
,"si:wxPen_SetStyle",&_argc0
,&_arg1
))
2199 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetStyle. Expected _wxPen_p.");
2204 wxPen_SetStyle(_arg0
,_arg1
);
2206 _resultobj
= Py_None
;
2210 #define wxPen_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2211 static PyObject
*_wrap_wxPen_SetWidth(PyObject
*self
, PyObject
*args
) {
2212 PyObject
* _resultobj
;
2218 if(!PyArg_ParseTuple(args
,"si:wxPen_SetWidth",&_argc0
,&_arg1
))
2221 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetWidth. Expected _wxPen_p.");
2226 wxPen_SetWidth(_arg0
,_arg1
);
2228 _resultobj
= Py_None
;
2232 static wxBrush
*new_wxBrush(wxColour
*colour
,int style
) {
2233 return wxTheBrushList
->FindOrCreateBrush(*colour
, style
);
2236 static PyObject
*_wrap_new_wxBrush(PyObject
*self
, PyObject
*args
) {
2237 PyObject
* _resultobj
;
2240 int _arg1
= (wxSOLID
);
2245 if(!PyArg_ParseTuple(args
,"s|i:new_wxBrush",&_argc0
,&_arg1
))
2248 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBrush. Expected _wxColour_p.");
2253 _result
= (wxBrush
*)new_wxBrush(_arg0
,_arg1
);
2254 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
2255 _resultobj
= Py_BuildValue("s",_ptemp
);
2259 #define wxBrush_GetColour(_swigobj) (_swigobj->GetColour())
2260 static PyObject
*_wrap_wxBrush_GetColour(PyObject
*self
, PyObject
*args
) {
2261 PyObject
* _resultobj
;
2268 if(!PyArg_ParseTuple(args
,"s:wxBrush_GetColour",&_argc0
))
2271 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBrush_p")) {
2272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetColour. Expected _wxBrush_p.");
2276 wxColour
& _result_ref
= wxBrush_GetColour(_arg0
);
2277 _result
= (wxColour
*) &_result_ref
;
2278 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
2279 _resultobj
= Py_BuildValue("s",_ptemp
);
2283 #define wxBrush_GetStipple(_swigobj) (_swigobj->GetStipple())
2284 static PyObject
*_wrap_wxBrush_GetStipple(PyObject
*self
, PyObject
*args
) {
2285 PyObject
* _resultobj
;
2292 if(!PyArg_ParseTuple(args
,"s:wxBrush_GetStipple",&_argc0
))
2295 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBrush_p")) {
2296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStipple. Expected _wxBrush_p.");
2300 _result
= (wxBitmap
*)wxBrush_GetStipple(_arg0
);
2301 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
2302 _resultobj
= Py_BuildValue("s",_ptemp
);
2306 #define wxBrush_GetStyle(_swigobj) (_swigobj->GetStyle())
2307 static PyObject
*_wrap_wxBrush_GetStyle(PyObject
*self
, PyObject
*args
) {
2308 PyObject
* _resultobj
;
2314 if(!PyArg_ParseTuple(args
,"s:wxBrush_GetStyle",&_argc0
))
2317 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBrush_p")) {
2318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStyle. Expected _wxBrush_p.");
2322 _result
= (int )wxBrush_GetStyle(_arg0
);
2323 _resultobj
= Py_BuildValue("i",_result
);
2327 #define wxBrush_Ok(_swigobj) (_swigobj->Ok())
2328 static PyObject
*_wrap_wxBrush_Ok(PyObject
*self
, PyObject
*args
) {
2329 PyObject
* _resultobj
;
2335 if(!PyArg_ParseTuple(args
,"s:wxBrush_Ok",&_argc0
))
2338 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBrush_p")) {
2339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_Ok. Expected _wxBrush_p.");
2343 _result
= (bool )wxBrush_Ok(_arg0
);
2344 _resultobj
= Py_BuildValue("i",_result
);
2348 #define delete_wxDC(_swigobj) (delete _swigobj)
2349 static PyObject
*_wrap_delete_wxDC(PyObject
*self
, PyObject
*args
) {
2350 PyObject
* _resultobj
;
2355 if(!PyArg_ParseTuple(args
,"s:delete_wxDC",&_argc0
))
2358 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDC. Expected _wxDC_p.");
2365 _resultobj
= Py_None
;
2369 #define wxDC_BeginDrawing(_swigobj) (_swigobj->BeginDrawing())
2370 static PyObject
*_wrap_wxDC_BeginDrawing(PyObject
*self
, PyObject
*args
) {
2371 PyObject
* _resultobj
;
2376 if(!PyArg_ParseTuple(args
,"s:wxDC_BeginDrawing",&_argc0
))
2379 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_BeginDrawing. Expected _wxDC_p.");
2384 wxDC_BeginDrawing(_arg0
);
2386 _resultobj
= Py_None
;
2390 #define wxDC_Blit(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Blit(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
2391 static PyObject
*_wrap_wxDC_Blit(PyObject
*self
, PyObject
*args
) {
2392 PyObject
* _resultobj
;
2407 if(!PyArg_ParseTuple(args
,"sllllslll:wxDC_Blit",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_argc5
,&_arg6
,&_arg7
,&_arg8
))
2410 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Blit. Expected _wxDC_p.");
2416 if (SWIG_GetPtr(_argc5
,(void **) &_arg5
,"_wxDC_p")) {
2417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxDC_Blit. Expected _wxDC_p.");
2421 _result
= (bool )wxDC_Blit(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
);
2422 _resultobj
= Py_BuildValue("i",_result
);
2426 #define wxDC_Clear(_swigobj) (_swigobj->Clear())
2427 static PyObject
*_wrap_wxDC_Clear(PyObject
*self
, PyObject
*args
) {
2428 PyObject
* _resultobj
;
2433 if(!PyArg_ParseTuple(args
,"s:wxDC_Clear",&_argc0
))
2436 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Clear. Expected _wxDC_p.");
2443 _resultobj
= Py_None
;
2447 #define wxDC_CrossHair(_swigobj,_swigarg0,_swigarg1) (_swigobj->CrossHair(_swigarg0,_swigarg1))
2448 static PyObject
*_wrap_wxDC_CrossHair(PyObject
*self
, PyObject
*args
) {
2449 PyObject
* _resultobj
;
2456 if(!PyArg_ParseTuple(args
,"sll:wxDC_CrossHair",&_argc0
,&_arg1
,&_arg2
))
2459 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CrossHair. Expected _wxDC_p.");
2464 wxDC_CrossHair(_arg0
,_arg1
,_arg2
);
2466 _resultobj
= Py_None
;
2470 #define wxDC_DestroyClippingRegion(_swigobj) (_swigobj->DestroyClippingRegion())
2471 static PyObject
*_wrap_wxDC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
) {
2472 PyObject
* _resultobj
;
2477 if(!PyArg_ParseTuple(args
,"s:wxDC_DestroyClippingRegion",&_argc0
))
2480 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DestroyClippingRegion. Expected _wxDC_p.");
2485 wxDC_DestroyClippingRegion(_arg0
);
2487 _resultobj
= Py_None
;
2491 #define wxDC_DeviceToLogicalX(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalX(_swigarg0))
2492 static PyObject
*_wrap_wxDC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
) {
2493 PyObject
* _resultobj
;
2500 if(!PyArg_ParseTuple(args
,"sl:wxDC_DeviceToLogicalX",&_argc0
,&_arg1
))
2503 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalX. Expected _wxDC_p.");
2508 _result
= (long )wxDC_DeviceToLogicalX(_arg0
,_arg1
);
2509 _resultobj
= Py_BuildValue("l",_result
);
2513 #define wxDC_DeviceToLogicalXRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalXRel(_swigarg0))
2514 static PyObject
*_wrap_wxDC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
) {
2515 PyObject
* _resultobj
;
2522 if(!PyArg_ParseTuple(args
,"sl:wxDC_DeviceToLogicalXRel",&_argc0
,&_arg1
))
2525 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalXRel. Expected _wxDC_p.");
2530 _result
= (long )wxDC_DeviceToLogicalXRel(_arg0
,_arg1
);
2531 _resultobj
= Py_BuildValue("l",_result
);
2535 #define wxDC_DeviceToLogicalY(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalY(_swigarg0))
2536 static PyObject
*_wrap_wxDC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
) {
2537 PyObject
* _resultobj
;
2544 if(!PyArg_ParseTuple(args
,"sl:wxDC_DeviceToLogicalY",&_argc0
,&_arg1
))
2547 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalY. Expected _wxDC_p.");
2552 _result
= (long )wxDC_DeviceToLogicalY(_arg0
,_arg1
);
2553 _resultobj
= Py_BuildValue("l",_result
);
2557 #define wxDC_DeviceToLogicalYRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalYRel(_swigarg0))
2558 static PyObject
*_wrap_wxDC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
) {
2559 PyObject
* _resultobj
;
2566 if(!PyArg_ParseTuple(args
,"sl:wxDC_DeviceToLogicalYRel",&_argc0
,&_arg1
))
2569 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalYRel. Expected _wxDC_p.");
2574 _result
= (long )wxDC_DeviceToLogicalYRel(_arg0
,_arg1
);
2575 _resultobj
= Py_BuildValue("l",_result
);
2579 #define wxDC_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2580 static PyObject
*_wrap_wxDC_DrawArc(PyObject
*self
, PyObject
*args
) {
2581 PyObject
* _resultobj
;
2592 if(!PyArg_ParseTuple(args
,"sllllll:wxDC_DrawArc",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
2595 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawArc. Expected _wxDC_p.");
2600 wxDC_DrawArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2602 _resultobj
= Py_None
;
2606 #define wxDC_DrawEllipse(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawEllipse(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2607 static PyObject
*_wrap_wxDC_DrawEllipse(PyObject
*self
, PyObject
*args
) {
2608 PyObject
* _resultobj
;
2617 if(!PyArg_ParseTuple(args
,"sllll:wxDC_DrawEllipse",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2620 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipse. Expected _wxDC_p.");
2625 wxDC_DrawEllipse(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2627 _resultobj
= Py_None
;
2631 #define wxDC_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2632 static PyObject
*_wrap_wxDC_DrawEllipticArc(PyObject
*self
, PyObject
*args
) {
2633 PyObject
* _resultobj
;
2644 if(!PyArg_ParseTuple(args
,"sllllll:wxDC_DrawEllipticArc",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
2647 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipticArc. Expected _wxDC_p.");
2652 wxDC_DrawEllipticArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2654 _resultobj
= Py_None
;
2658 #define wxDC_DrawIcon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawIcon(_swigarg0,_swigarg1,_swigarg2))
2659 static PyObject
*_wrap_wxDC_DrawIcon(PyObject
*self
, PyObject
*args
) {
2660 PyObject
* _resultobj
;
2669 if(!PyArg_ParseTuple(args
,"ssll:wxDC_DrawIcon",&_argc0
,&_argc1
,&_arg2
,&_arg3
))
2672 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawIcon. Expected _wxDC_p.");
2678 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxIcon_p")) {
2679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawIcon. Expected _wxIcon_p.");
2683 wxDC_DrawIcon(_arg0
,*_arg1
,_arg2
,_arg3
);
2685 _resultobj
= Py_None
;
2689 #define wxDC_DrawLine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2690 static PyObject
*_wrap_wxDC_DrawLine(PyObject
*self
, PyObject
*args
) {
2691 PyObject
* _resultobj
;
2700 if(!PyArg_ParseTuple(args
,"sllll:wxDC_DrawLine",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2703 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLine. Expected _wxDC_p.");
2708 wxDC_DrawLine(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2710 _resultobj
= Py_None
;
2714 #define wxDC_DrawLines(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLines(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2715 static PyObject
*_wrap_wxDC_DrawLines(PyObject
*self
, PyObject
*args
) {
2716 PyObject
* _resultobj
;
2723 PyObject
* _obj2
= 0;
2726 if(!PyArg_ParseTuple(args
,"sO|ll:wxDC_DrawLines",&_argc0
,&_obj2
,&_arg3
,&_arg4
))
2729 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLines. Expected _wxDC_p.");
2736 _arg2
= wxPoint_LIST_helper(_obj2
);
2737 if (_arg2
== NULL
) {
2742 _arg1
= PyList_Size(_obj2
);
2744 wxDC_DrawLines(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2746 _resultobj
= Py_None
;
2753 #define wxDC_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2754 static PyObject
*_wrap_wxDC_DrawPolygon(PyObject
*self
, PyObject
*args
) {
2755 PyObject
* _resultobj
;
2761 int _arg5
= (wxODDEVEN_RULE
);
2763 PyObject
* _obj2
= 0;
2766 if(!PyArg_ParseTuple(args
,"sO|lli:wxDC_DrawPolygon",&_argc0
,&_obj2
,&_arg3
,&_arg4
,&_arg5
))
2769 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPolygon. Expected _wxDC_p.");
2776 _arg2
= wxPoint_LIST_helper(_obj2
);
2777 if (_arg2
== NULL
) {
2782 _arg1
= PyList_Size(_obj2
);
2784 wxDC_DrawPolygon(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2786 _resultobj
= Py_None
;
2793 #define wxDC_DrawPoint(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawPoint(_swigarg0,_swigarg1))
2794 static PyObject
*_wrap_wxDC_DrawPoint(PyObject
*self
, PyObject
*args
) {
2795 PyObject
* _resultobj
;
2802 if(!PyArg_ParseTuple(args
,"sll:wxDC_DrawPoint",&_argc0
,&_arg1
,&_arg2
))
2805 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPoint. Expected _wxDC_p.");
2810 wxDC_DrawPoint(_arg0
,_arg1
,_arg2
);
2812 _resultobj
= Py_None
;
2816 #define wxDC_DrawRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2817 static PyObject
*_wrap_wxDC_DrawRectangle(PyObject
*self
, PyObject
*args
) {
2818 PyObject
* _resultobj
;
2827 if(!PyArg_ParseTuple(args
,"sllll:wxDC_DrawRectangle",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2830 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRectangle. Expected _wxDC_p.");
2835 wxDC_DrawRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2837 _resultobj
= Py_None
;
2841 #define wxDC_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2842 static PyObject
*_wrap_wxDC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
) {
2843 PyObject
* _resultobj
;
2853 if(!PyArg_ParseTuple(args
,"sllll|l:wxDC_DrawRoundedRectangle",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2856 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRoundedRectangle. Expected _wxDC_p.");
2861 wxDC_DrawRoundedRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2863 _resultobj
= Py_None
;
2867 #define wxDC_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1))
2868 static PyObject
*_wrap_wxDC_DrawSpline(PyObject
*self
, PyObject
*args
) {
2869 PyObject
* _resultobj
;
2874 PyObject
* _obj2
= 0;
2877 if(!PyArg_ParseTuple(args
,"sO:wxDC_DrawSpline",&_argc0
,&_obj2
))
2880 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawSpline. Expected _wxDC_p.");
2887 _arg2
= wxPoint_LIST_helper(_obj2
);
2888 if (_arg2
== NULL
) {
2893 _arg1
= PyList_Size(_obj2
);
2895 wxDC_DrawSpline(_arg0
,_arg1
,_arg2
);
2897 _resultobj
= Py_None
;
2904 #define wxDC_DrawText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawText(_swigarg0,_swigarg1,_swigarg2))
2905 static PyObject
*_wrap_wxDC_DrawText(PyObject
*self
, PyObject
*args
) {
2906 PyObject
* _resultobj
;
2912 PyObject
* _obj1
= 0;
2915 if(!PyArg_ParseTuple(args
,"sOll:wxDC_DrawText",&_argc0
,&_obj1
,&_arg2
,&_arg3
))
2918 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawText. Expected _wxDC_p.");
2924 if (!PyString_Check(_obj1
)) {
2925 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2928 _arg1
= new wxString(PyString_AsString(_obj1
));
2930 wxDC_DrawText(_arg0
,*_arg1
,_arg2
,_arg3
);
2932 _resultobj
= Py_None
;
2940 #define wxDC_EndDoc(_swigobj) (_swigobj->EndDoc())
2941 static PyObject
*_wrap_wxDC_EndDoc(PyObject
*self
, PyObject
*args
) {
2942 PyObject
* _resultobj
;
2947 if(!PyArg_ParseTuple(args
,"s:wxDC_EndDoc",&_argc0
))
2950 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDoc. Expected _wxDC_p.");
2957 _resultobj
= Py_None
;
2961 #define wxDC_EndDrawing(_swigobj) (_swigobj->EndDrawing())
2962 static PyObject
*_wrap_wxDC_EndDrawing(PyObject
*self
, PyObject
*args
) {
2963 PyObject
* _resultobj
;
2968 if(!PyArg_ParseTuple(args
,"s:wxDC_EndDrawing",&_argc0
))
2971 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDrawing. Expected _wxDC_p.");
2976 wxDC_EndDrawing(_arg0
);
2978 _resultobj
= Py_None
;
2982 #define wxDC_EndPage(_swigobj) (_swigobj->EndPage())
2983 static PyObject
*_wrap_wxDC_EndPage(PyObject
*self
, PyObject
*args
) {
2984 PyObject
* _resultobj
;
2989 if(!PyArg_ParseTuple(args
,"s:wxDC_EndPage",&_argc0
))
2992 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndPage. Expected _wxDC_p.");
2997 wxDC_EndPage(_arg0
);
2999 _resultobj
= Py_None
;
3003 #define wxDC_FloodFill(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FloodFill(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3004 static PyObject
*_wrap_wxDC_FloodFill(PyObject
*self
, PyObject
*args
) {
3005 PyObject
* _resultobj
;
3010 int _arg4
= (wxFLOOD_SURFACE
);
3015 if(!PyArg_ParseTuple(args
,"slls|i:wxDC_FloodFill",&_argc0
,&_arg1
,&_arg2
,&_argc3
,&_arg4
))
3018 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_FloodFill. Expected _wxDC_p.");
3024 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxColour_p")) {
3025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDC_FloodFill. Expected _wxColour_p.");
3029 wxDC_FloodFill(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3031 _resultobj
= Py_None
;
3035 #define wxDC_GetBackground(_swigobj) (_swigobj->GetBackground())
3036 static PyObject
*_wrap_wxDC_GetBackground(PyObject
*self
, PyObject
*args
) {
3037 PyObject
* _resultobj
;
3044 if(!PyArg_ParseTuple(args
,"s:wxDC_GetBackground",&_argc0
))
3047 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBackground. Expected _wxDC_p.");
3052 _result
= (wxBrush
*)wxDC_GetBackground(_arg0
);
3053 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
3054 _resultobj
= Py_BuildValue("s",_ptemp
);
3058 #define wxDC_GetBrush(_swigobj) (_swigobj->GetBrush())
3059 static PyObject
*_wrap_wxDC_GetBrush(PyObject
*self
, PyObject
*args
) {
3060 PyObject
* _resultobj
;
3067 if(!PyArg_ParseTuple(args
,"s:wxDC_GetBrush",&_argc0
))
3070 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBrush. Expected _wxDC_p.");
3075 _result
= (wxBrush
*)wxDC_GetBrush(_arg0
);
3076 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
3077 _resultobj
= Py_BuildValue("s",_ptemp
);
3081 #define wxDC_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
3082 static PyObject
*_wrap_wxDC_GetCharHeight(PyObject
*self
, PyObject
*args
) {
3083 PyObject
* _resultobj
;
3089 if(!PyArg_ParseTuple(args
,"s:wxDC_GetCharHeight",&_argc0
))
3092 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharHeight. Expected _wxDC_p.");
3097 _result
= (long )wxDC_GetCharHeight(_arg0
);
3098 _resultobj
= Py_BuildValue("l",_result
);
3102 #define wxDC_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
3103 static PyObject
*_wrap_wxDC_GetCharWidth(PyObject
*self
, PyObject
*args
) {
3104 PyObject
* _resultobj
;
3110 if(!PyArg_ParseTuple(args
,"s:wxDC_GetCharWidth",&_argc0
))
3113 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharWidth. Expected _wxDC_p.");
3118 _result
= (long )wxDC_GetCharWidth(_arg0
);
3119 _resultobj
= Py_BuildValue("l",_result
);
3123 #define wxDC_GetClippingBox(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetClippingBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3124 static PyObject
*_wrap_wxDC_GetClippingBox(PyObject
*self
, PyObject
*args
) {
3125 PyObject
* _resultobj
;
3150 if(!PyArg_ParseTuple(args
,"s:wxDC_GetClippingBox",&_argc0
))
3153 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetClippingBox. Expected _wxDC_p.");
3158 wxDC_GetClippingBox(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3160 _resultobj
= Py_None
;
3163 o
= PyInt_FromLong((long) (*_arg1
));
3164 _resultobj
= t_output_helper(_resultobj
, o
);
3168 o
= PyInt_FromLong((long) (*_arg2
));
3169 _resultobj
= t_output_helper(_resultobj
, o
);
3173 o
= PyInt_FromLong((long) (*_arg3
));
3174 _resultobj
= t_output_helper(_resultobj
, o
);
3178 o
= PyInt_FromLong((long) (*_arg4
));
3179 _resultobj
= t_output_helper(_resultobj
, o
);
3184 #define wxDC_GetFont(_swigobj) (_swigobj->GetFont())
3185 static PyObject
*_wrap_wxDC_GetFont(PyObject
*self
, PyObject
*args
) {
3186 PyObject
* _resultobj
;
3193 if(!PyArg_ParseTuple(args
,"s:wxDC_GetFont",&_argc0
))
3196 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFont. Expected _wxDC_p.");
3201 _result
= (wxFont
*)wxDC_GetFont(_arg0
);
3202 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
3203 _resultobj
= Py_BuildValue("s",_ptemp
);
3207 #define wxDC_GetLogicalFunction(_swigobj) (_swigobj->GetLogicalFunction())
3208 static PyObject
*_wrap_wxDC_GetLogicalFunction(PyObject
*self
, PyObject
*args
) {
3209 PyObject
* _resultobj
;
3215 if(!PyArg_ParseTuple(args
,"s:wxDC_GetLogicalFunction",&_argc0
))
3218 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalFunction. Expected _wxDC_p.");
3223 _result
= (int )wxDC_GetLogicalFunction(_arg0
);
3224 _resultobj
= Py_BuildValue("i",_result
);
3228 #define wxDC_GetMapMode(_swigobj) (_swigobj->GetMapMode())
3229 static PyObject
*_wrap_wxDC_GetMapMode(PyObject
*self
, PyObject
*args
) {
3230 PyObject
* _resultobj
;
3236 if(!PyArg_ParseTuple(args
,"s:wxDC_GetMapMode",&_argc0
))
3239 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetMapMode. Expected _wxDC_p.");
3244 _result
= (int )wxDC_GetMapMode(_arg0
);
3245 _resultobj
= Py_BuildValue("i",_result
);
3249 #define wxDC_GetOptimization(_swigobj) (_swigobj->GetOptimization())
3250 static PyObject
*_wrap_wxDC_GetOptimization(PyObject
*self
, PyObject
*args
) {
3251 PyObject
* _resultobj
;
3257 if(!PyArg_ParseTuple(args
,"s:wxDC_GetOptimization",&_argc0
))
3260 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetOptimization. Expected _wxDC_p.");
3265 _result
= (bool )wxDC_GetOptimization(_arg0
);
3266 _resultobj
= Py_BuildValue("i",_result
);
3270 #define wxDC_GetPen(_swigobj) (_swigobj->GetPen())
3271 static PyObject
*_wrap_wxDC_GetPen(PyObject
*self
, PyObject
*args
) {
3272 PyObject
* _resultobj
;
3279 if(!PyArg_ParseTuple(args
,"s:wxDC_GetPen",&_argc0
))
3282 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPen. Expected _wxDC_p.");
3287 _result
= (wxPen
*)wxDC_GetPen(_arg0
);
3288 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
3289 _resultobj
= Py_BuildValue("s",_ptemp
);
3293 static wxColour
* wxDC_GetPixel(wxDC
*self
,long x
,long y
) {
3294 wxColour
* wc
= new wxColour();
3295 self
->GetPixel(x
, y
, wc
);
3298 static PyObject
*_wrap_wxDC_GetPixel(PyObject
*self
, PyObject
*args
) {
3299 PyObject
* _resultobj
;
3308 if(!PyArg_ParseTuple(args
,"sll:wxDC_GetPixel",&_argc0
,&_arg1
,&_arg2
))
3311 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPixel. Expected _wxDC_p.");
3316 _result
= (wxColour
*)wxDC_GetPixel(_arg0
,_arg1
,_arg2
);
3317 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3318 _resultobj
= Py_BuildValue("s",_ptemp
);
3322 #define wxDC_GetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
3323 static PyObject
*_wrap_wxDC_GetSize(PyObject
*self
, PyObject
*args
) {
3324 PyObject
* _resultobj
;
3339 if(!PyArg_ParseTuple(args
,"s:wxDC_GetSize",&_argc0
))
3342 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSize. Expected _wxDC_p.");
3347 wxDC_GetSize(_arg0
,_arg1
,_arg2
);
3349 _resultobj
= Py_None
;
3352 o
= PyInt_FromLong((long) (*_arg1
));
3353 _resultobj
= t_output_helper(_resultobj
, o
);
3357 o
= PyInt_FromLong((long) (*_arg2
));
3358 _resultobj
= t_output_helper(_resultobj
, o
);
3363 #define wxDC_GetTextBackground(_swigobj) (_swigobj->GetTextBackground())
3364 static PyObject
*_wrap_wxDC_GetTextBackground(PyObject
*self
, PyObject
*args
) {
3365 PyObject
* _resultobj
;
3372 if(!PyArg_ParseTuple(args
,"s:wxDC_GetTextBackground",&_argc0
))
3375 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextBackground. Expected _wxDC_p.");
3380 wxColour
& _result_ref
= wxDC_GetTextBackground(_arg0
);
3381 _result
= (wxColour
*) &_result_ref
;
3382 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3383 _resultobj
= Py_BuildValue("s",_ptemp
);
3387 #define wxDC_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3388 static PyObject
*_wrap_wxDC_GetTextExtent(PyObject
*self
, PyObject
*args
) {
3389 PyObject
* _resultobj
;
3401 PyObject
* _obj1
= 0;
3416 if(!PyArg_ParseTuple(args
,"sO:wxDC_GetTextExtent",&_argc0
,&_obj1
))
3419 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextExtent. Expected _wxDC_p.");
3425 if (!PyString_Check(_obj1
)) {
3426 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3429 _arg1
= new wxString(PyString_AsString(_obj1
));
3431 wxDC_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3433 _resultobj
= Py_None
;
3436 o
= PyInt_FromLong((long) (*_arg2
));
3437 _resultobj
= t_output_helper(_resultobj
, o
);
3441 o
= PyInt_FromLong((long) (*_arg3
));
3442 _resultobj
= t_output_helper(_resultobj
, o
);
3446 o
= PyInt_FromLong((long) (*_arg4
));
3447 _resultobj
= t_output_helper(_resultobj
, o
);
3451 o
= PyInt_FromLong((long) (*_arg5
));
3452 _resultobj
= t_output_helper(_resultobj
, o
);
3461 #define wxDC_GetTextForeground(_swigobj) (_swigobj->GetTextForeground())
3462 static PyObject
*_wrap_wxDC_GetTextForeground(PyObject
*self
, PyObject
*args
) {
3463 PyObject
* _resultobj
;
3470 if(!PyArg_ParseTuple(args
,"s:wxDC_GetTextForeground",&_argc0
))
3473 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextForeground. Expected _wxDC_p.");
3478 wxColour
& _result_ref
= wxDC_GetTextForeground(_arg0
);
3479 _result
= (wxColour
*) &_result_ref
;
3480 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3481 _resultobj
= Py_BuildValue("s",_ptemp
);
3485 #define wxDC_LogicalToDeviceX(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceX(_swigarg0))
3486 static PyObject
*_wrap_wxDC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
) {
3487 PyObject
* _resultobj
;
3494 if(!PyArg_ParseTuple(args
,"sl:wxDC_LogicalToDeviceX",&_argc0
,&_arg1
))
3497 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceX. Expected _wxDC_p.");
3502 _result
= (long )wxDC_LogicalToDeviceX(_arg0
,_arg1
);
3503 _resultobj
= Py_BuildValue("l",_result
);
3507 #define wxDC_LogicalToDeviceXRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceXRel(_swigarg0))
3508 static PyObject
*_wrap_wxDC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
) {
3509 PyObject
* _resultobj
;
3516 if(!PyArg_ParseTuple(args
,"sl:wxDC_LogicalToDeviceXRel",&_argc0
,&_arg1
))
3519 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceXRel. Expected _wxDC_p.");
3524 _result
= (long )wxDC_LogicalToDeviceXRel(_arg0
,_arg1
);
3525 _resultobj
= Py_BuildValue("l",_result
);
3529 #define wxDC_LogicalToDeviceY(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceY(_swigarg0))
3530 static PyObject
*_wrap_wxDC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
) {
3531 PyObject
* _resultobj
;
3538 if(!PyArg_ParseTuple(args
,"sl:wxDC_LogicalToDeviceY",&_argc0
,&_arg1
))
3541 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceY. Expected _wxDC_p.");
3546 _result
= (long )wxDC_LogicalToDeviceY(_arg0
,_arg1
);
3547 _resultobj
= Py_BuildValue("l",_result
);
3551 #define wxDC_LogicalToDeviceYRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceYRel(_swigarg0))
3552 static PyObject
*_wrap_wxDC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
) {
3553 PyObject
* _resultobj
;
3560 if(!PyArg_ParseTuple(args
,"sl:wxDC_LogicalToDeviceYRel",&_argc0
,&_arg1
))
3563 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceYRel. Expected _wxDC_p.");
3568 _result
= (long )wxDC_LogicalToDeviceYRel(_arg0
,_arg1
);
3569 _resultobj
= Py_BuildValue("l",_result
);
3573 #define wxDC_MaxX(_swigobj) (_swigobj->MaxX())
3574 static PyObject
*_wrap_wxDC_MaxX(PyObject
*self
, PyObject
*args
) {
3575 PyObject
* _resultobj
;
3581 if(!PyArg_ParseTuple(args
,"s:wxDC_MaxX",&_argc0
))
3584 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxX. Expected _wxDC_p.");
3589 _result
= (long )wxDC_MaxX(_arg0
);
3590 _resultobj
= Py_BuildValue("l",_result
);
3594 #define wxDC_MaxY(_swigobj) (_swigobj->MaxY())
3595 static PyObject
*_wrap_wxDC_MaxY(PyObject
*self
, PyObject
*args
) {
3596 PyObject
* _resultobj
;
3602 if(!PyArg_ParseTuple(args
,"s:wxDC_MaxY",&_argc0
))
3605 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxY. Expected _wxDC_p.");
3610 _result
= (long )wxDC_MaxY(_arg0
);
3611 _resultobj
= Py_BuildValue("l",_result
);
3615 #define wxDC_MinX(_swigobj) (_swigobj->MinX())
3616 static PyObject
*_wrap_wxDC_MinX(PyObject
*self
, PyObject
*args
) {
3617 PyObject
* _resultobj
;
3623 if(!PyArg_ParseTuple(args
,"s:wxDC_MinX",&_argc0
))
3626 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinX. Expected _wxDC_p.");
3631 _result
= (long )wxDC_MinX(_arg0
);
3632 _resultobj
= Py_BuildValue("l",_result
);
3636 #define wxDC_MinY(_swigobj) (_swigobj->MinY())
3637 static PyObject
*_wrap_wxDC_MinY(PyObject
*self
, PyObject
*args
) {
3638 PyObject
* _resultobj
;
3644 if(!PyArg_ParseTuple(args
,"s:wxDC_MinY",&_argc0
))
3647 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinY. Expected _wxDC_p.");
3652 _result
= (long )wxDC_MinY(_arg0
);
3653 _resultobj
= Py_BuildValue("l",_result
);
3657 #define wxDC_Ok(_swigobj) (_swigobj->Ok())
3658 static PyObject
*_wrap_wxDC_Ok(PyObject
*self
, PyObject
*args
) {
3659 PyObject
* _resultobj
;
3665 if(!PyArg_ParseTuple(args
,"s:wxDC_Ok",&_argc0
))
3668 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Ok. Expected _wxDC_p.");
3673 _result
= (bool )wxDC_Ok(_arg0
);
3674 _resultobj
= Py_BuildValue("i",_result
);
3678 #define wxDC_SetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDeviceOrigin(_swigarg0,_swigarg1))
3679 static PyObject
*_wrap_wxDC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
) {
3680 PyObject
* _resultobj
;
3687 if(!PyArg_ParseTuple(args
,"sll:wxDC_SetDeviceOrigin",&_argc0
,&_arg1
,&_arg2
))
3690 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetDeviceOrigin. Expected _wxDC_p.");
3695 wxDC_SetDeviceOrigin(_arg0
,_arg1
,_arg2
);
3697 _resultobj
= Py_None
;
3701 #define wxDC_SetBackground(_swigobj,_swigarg0) (_swigobj->SetBackground(_swigarg0))
3702 static PyObject
*_wrap_wxDC_SetBackground(PyObject
*self
, PyObject
*args
) {
3703 PyObject
* _resultobj
;
3710 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetBackground",&_argc0
,&_argc1
))
3713 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackground. Expected _wxDC_p.");
3719 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBrush_p")) {
3720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBackground. Expected _wxBrush_p.");
3724 wxDC_SetBackground(_arg0
,*_arg1
);
3726 _resultobj
= Py_None
;
3730 #define wxDC_SetBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetBackgroundMode(_swigarg0))
3731 static PyObject
*_wrap_wxDC_SetBackgroundMode(PyObject
*self
, PyObject
*args
) {
3732 PyObject
* _resultobj
;
3738 if(!PyArg_ParseTuple(args
,"si:wxDC_SetBackgroundMode",&_argc0
,&_arg1
))
3741 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackgroundMode. Expected _wxDC_p.");
3746 wxDC_SetBackgroundMode(_arg0
,_arg1
);
3748 _resultobj
= Py_None
;
3752 #define wxDC_SetClippingRegion(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetClippingRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3753 static PyObject
*_wrap_wxDC_SetClippingRegion(PyObject
*self
, PyObject
*args
) {
3754 PyObject
* _resultobj
;
3763 if(!PyArg_ParseTuple(args
,"sllll:wxDC_SetClippingRegion",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3766 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetClippingRegion. Expected _wxDC_p.");
3771 wxDC_SetClippingRegion(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3773 _resultobj
= Py_None
;
3777 #define wxDC_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
3778 static PyObject
*_wrap_wxDC_SetPalette(PyObject
*self
, PyObject
*args
) {
3779 PyObject
* _resultobj
;
3786 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetPalette",&_argc0
,&_argc1
))
3789 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPalette. Expected _wxDC_p.");
3795 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPalette_p")) {
3796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPalette. Expected _wxPalette_p.");
3800 wxDC_SetPalette(_arg0
,*_arg1
);
3802 _resultobj
= Py_None
;
3806 #define wxDC_SetBrush(_swigobj,_swigarg0) (_swigobj->SetBrush(_swigarg0))
3807 static PyObject
*_wrap_wxDC_SetBrush(PyObject
*self
, PyObject
*args
) {
3808 PyObject
* _resultobj
;
3815 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetBrush",&_argc0
,&_argc1
))
3818 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBrush. Expected _wxDC_p.");
3824 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBrush_p")) {
3825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBrush. Expected _wxBrush_p.");
3829 wxDC_SetBrush(_arg0
,*_arg1
);
3831 _resultobj
= Py_None
;
3835 #define wxDC_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
3836 static PyObject
*_wrap_wxDC_SetFont(PyObject
*self
, PyObject
*args
) {
3837 PyObject
* _resultobj
;
3844 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetFont",&_argc0
,&_argc1
))
3847 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetFont. Expected _wxDC_p.");
3853 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxFont_p")) {
3854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetFont. Expected _wxFont_p.");
3858 wxDC_SetFont(_arg0
,*_arg1
);
3860 _resultobj
= Py_None
;
3864 #define wxDC_SetLogicalFunction(_swigobj,_swigarg0) (_swigobj->SetLogicalFunction(_swigarg0))
3865 static PyObject
*_wrap_wxDC_SetLogicalFunction(PyObject
*self
, PyObject
*args
) {
3866 PyObject
* _resultobj
;
3872 if(!PyArg_ParseTuple(args
,"si:wxDC_SetLogicalFunction",&_argc0
,&_arg1
))
3875 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalFunction. Expected _wxDC_p.");
3880 wxDC_SetLogicalFunction(_arg0
,_arg1
);
3882 _resultobj
= Py_None
;
3886 #define wxDC_SetMapMode(_swigobj,_swigarg0) (_swigobj->SetMapMode(_swigarg0))
3887 static PyObject
*_wrap_wxDC_SetMapMode(PyObject
*self
, PyObject
*args
) {
3888 PyObject
* _resultobj
;
3894 if(!PyArg_ParseTuple(args
,"si:wxDC_SetMapMode",&_argc0
,&_arg1
))
3897 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetMapMode. Expected _wxDC_p.");
3902 wxDC_SetMapMode(_arg0
,_arg1
);
3904 _resultobj
= Py_None
;
3908 #define wxDC_SetOptimization(_swigobj,_swigarg0) (_swigobj->SetOptimization(_swigarg0))
3909 static PyObject
*_wrap_wxDC_SetOptimization(PyObject
*self
, PyObject
*args
) {
3910 PyObject
* _resultobj
;
3917 if(!PyArg_ParseTuple(args
,"si:wxDC_SetOptimization",&_argc0
,&tempbool1
))
3920 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetOptimization. Expected _wxDC_p.");
3925 _arg1
= (bool ) tempbool1
;
3926 wxDC_SetOptimization(_arg0
,_arg1
);
3928 _resultobj
= Py_None
;
3932 #define wxDC_SetPen(_swigobj,_swigarg0) (_swigobj->SetPen(_swigarg0))
3933 static PyObject
*_wrap_wxDC_SetPen(PyObject
*self
, PyObject
*args
) {
3934 PyObject
* _resultobj
;
3941 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetPen",&_argc0
,&_argc1
))
3944 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPen. Expected _wxDC_p.");
3950 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPen_p")) {
3951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPen. Expected _wxPen_p.");
3955 wxDC_SetPen(_arg0
,*_arg1
);
3957 _resultobj
= Py_None
;
3961 #define wxDC_SetTextBackground(_swigobj,_swigarg0) (_swigobj->SetTextBackground(_swigarg0))
3962 static PyObject
*_wrap_wxDC_SetTextBackground(PyObject
*self
, PyObject
*args
) {
3963 PyObject
* _resultobj
;
3970 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetTextBackground",&_argc0
,&_argc1
))
3973 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextBackground. Expected _wxDC_p.");
3979 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
3980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetTextBackground. Expected _wxColour_p.");
3984 wxDC_SetTextBackground(_arg0
,*_arg1
);
3986 _resultobj
= Py_None
;
3990 #define wxDC_SetTextForeground(_swigobj,_swigarg0) (_swigobj->SetTextForeground(_swigarg0))
3991 static PyObject
*_wrap_wxDC_SetTextForeground(PyObject
*self
, PyObject
*args
) {
3992 PyObject
* _resultobj
;
3999 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetTextForeground",&_argc0
,&_argc1
))
4002 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextForeground. Expected _wxDC_p.");
4008 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
4009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetTextForeground. Expected _wxColour_p.");
4013 wxDC_SetTextForeground(_arg0
,*_arg1
);
4015 _resultobj
= Py_None
;
4019 #define wxDC_SetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetUserScale(_swigarg0,_swigarg1))
4020 static PyObject
*_wrap_wxDC_SetUserScale(PyObject
*self
, PyObject
*args
) {
4021 PyObject
* _resultobj
;
4028 if(!PyArg_ParseTuple(args
,"sdd:wxDC_SetUserScale",&_argc0
,&_arg1
,&_arg2
))
4031 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetUserScale. Expected _wxDC_p.");
4036 wxDC_SetUserScale(_arg0
,_arg1
,_arg2
);
4038 _resultobj
= Py_None
;
4042 #define wxDC_StartDoc(_swigobj,_swigarg0) (_swigobj->StartDoc(_swigarg0))
4043 static PyObject
*_wrap_wxDC_StartDoc(PyObject
*self
, PyObject
*args
) {
4044 PyObject
* _resultobj
;
4049 PyObject
* _obj1
= 0;
4052 if(!PyArg_ParseTuple(args
,"sO:wxDC_StartDoc",&_argc0
,&_obj1
))
4055 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartDoc. Expected _wxDC_p.");
4061 if (!PyString_Check(_obj1
)) {
4062 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4065 _arg1
= new wxString(PyString_AsString(_obj1
));
4067 _result
= (bool )wxDC_StartDoc(_arg0
,*_arg1
);
4068 _resultobj
= Py_BuildValue("i",_result
);
4076 #define wxDC_StartPage(_swigobj) (_swigobj->StartPage())
4077 static PyObject
*_wrap_wxDC_StartPage(PyObject
*self
, PyObject
*args
) {
4078 PyObject
* _resultobj
;
4083 if(!PyArg_ParseTuple(args
,"s:wxDC_StartPage",&_argc0
))
4086 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartPage. Expected _wxDC_p.");
4091 wxDC_StartPage(_arg0
);
4093 _resultobj
= Py_None
;
4097 static void wxDC_DrawBitmap(wxDC
*self
,wxBitmap
* bitmap
,long x
,long y
,bool swapPalette
) {
4098 wxMemoryDC
* memDC
= new wxMemoryDC
;
4099 memDC
->SelectObject(bitmap
);
4101 self
->SetPalette(bitmap
->GetPalette());
4102 self
->Blit(x
, y
, bitmap
->GetWidth(), bitmap
->GetHeight(), memDC
,
4103 0, 0, self
->GetLogicalFunction());
4104 memDC
->SelectObject(wxNullBitmap
);
4107 static PyObject
*_wrap_wxDC_DrawBitmap(PyObject
*self
, PyObject
*args
) {
4108 PyObject
* _resultobj
;
4119 if(!PyArg_ParseTuple(args
,"ssll|i:wxDC_DrawBitmap",&_argc0
,&_argc1
,&_arg2
,&_arg3
,&tempbool4
))
4122 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawBitmap. Expected _wxDC_p.");
4128 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBitmap_p")) {
4129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawBitmap. Expected _wxBitmap_p.");
4133 _arg4
= (bool ) tempbool4
;
4134 wxDC_DrawBitmap(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4136 _resultobj
= Py_None
;
4140 static void *SwigwxMemoryDCTowxDC(void *ptr
) {
4143 src
= (wxMemoryDC
*) ptr
;
4144 dest
= (wxDC
*) src
;
4145 return (void *) dest
;
4148 #define new_wxMemoryDC() (new wxMemoryDC())
4149 static PyObject
*_wrap_new_wxMemoryDC(PyObject
*self
, PyObject
*args
) {
4150 PyObject
* _resultobj
;
4151 wxMemoryDC
* _result
;
4155 if(!PyArg_ParseTuple(args
,":new_wxMemoryDC"))
4157 _result
= (wxMemoryDC
*)new_wxMemoryDC();
4158 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
4159 _resultobj
= Py_BuildValue("s",_ptemp
);
4163 #define wxMemoryDC_SelectObject(_swigobj,_swigarg0) (_swigobj->SelectObject(_swigarg0))
4164 static PyObject
*_wrap_wxMemoryDC_SelectObject(PyObject
*self
, PyObject
*args
) {
4165 PyObject
* _resultobj
;
4172 if(!PyArg_ParseTuple(args
,"ss:wxMemoryDC_SelectObject",&_argc0
,&_argc1
))
4175 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMemoryDC_p")) {
4176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDC_SelectObject. Expected _wxMemoryDC_p.");
4181 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBitmap_p")) {
4182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMemoryDC_SelectObject. Expected _wxBitmap_p.");
4186 wxMemoryDC_SelectObject(_arg0
,*_arg1
);
4188 _resultobj
= Py_None
;
4192 static void *SwigwxScreenDCTowxDC(void *ptr
) {
4195 src
= (wxScreenDC
*) ptr
;
4196 dest
= (wxDC
*) src
;
4197 return (void *) dest
;
4200 #define new_wxScreenDC() (new wxScreenDC())
4201 static PyObject
*_wrap_new_wxScreenDC(PyObject
*self
, PyObject
*args
) {
4202 PyObject
* _resultobj
;
4203 wxScreenDC
* _result
;
4207 if(!PyArg_ParseTuple(args
,":new_wxScreenDC"))
4209 _result
= (wxScreenDC
*)new_wxScreenDC();
4210 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScreenDC_p");
4211 _resultobj
= Py_BuildValue("s",_ptemp
);
4215 #define wxScreenDC_StartDrawingOnTop(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
4216 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
) {
4217 PyObject
* _resultobj
;
4225 if(!PyArg_ParseTuple(args
,"ss:wxScreenDC_StartDrawingOnTop",&_argc0
,&_argc1
))
4228 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScreenDC_p")) {
4229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTop. Expected _wxScreenDC_p.");
4234 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
4235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScreenDC_StartDrawingOnTop. Expected _wxWindow_p.");
4239 _result
= (bool )wxScreenDC_StartDrawingOnTop(_arg0
,_arg1
);
4240 _resultobj
= Py_BuildValue("i",_result
);
4244 #define wxScreenDC_StartDrawingOnTopRect(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
4245 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTopRect(PyObject
*self
, PyObject
*args
) {
4246 PyObject
* _resultobj
;
4249 wxRect
* _arg1
= NULL
;
4254 if(!PyArg_ParseTuple(args
,"s|s:wxScreenDC_StartDrawingOnTopRect",&_argc0
,&_argc1
))
4257 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScreenDC_p")) {
4258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTopRect. Expected _wxScreenDC_p.");
4263 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxRect_p")) {
4264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScreenDC_StartDrawingOnTopRect. Expected _wxRect_p.");
4268 _result
= (bool )wxScreenDC_StartDrawingOnTopRect(_arg0
,_arg1
);
4269 _resultobj
= Py_BuildValue("i",_result
);
4273 #define wxScreenDC_EndDrawingOnTop(_swigobj) (_swigobj->EndDrawingOnTop())
4274 static PyObject
*_wrap_wxScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
) {
4275 PyObject
* _resultobj
;
4281 if(!PyArg_ParseTuple(args
,"s:wxScreenDC_EndDrawingOnTop",&_argc0
))
4284 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScreenDC_p")) {
4285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_EndDrawingOnTop. Expected _wxScreenDC_p.");
4289 _result
= (bool )wxScreenDC_EndDrawingOnTop(_arg0
);
4290 _resultobj
= Py_BuildValue("i",_result
);
4294 static void *SwigwxClientDCTowxDC(void *ptr
) {
4297 src
= (wxClientDC
*) ptr
;
4298 dest
= (wxDC
*) src
;
4299 return (void *) dest
;
4302 #define new_wxClientDC(_swigarg0) (new wxClientDC(_swigarg0))
4303 static PyObject
*_wrap_new_wxClientDC(PyObject
*self
, PyObject
*args
) {
4304 PyObject
* _resultobj
;
4305 wxClientDC
* _result
;
4311 if(!PyArg_ParseTuple(args
,"s:new_wxClientDC",&_argc0
))
4314 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
4315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxClientDC. Expected _wxWindow_p.");
4319 _result
= (wxClientDC
*)new_wxClientDC(_arg0
);
4320 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxClientDC_p");
4321 _resultobj
= Py_BuildValue("s",_ptemp
);
4325 static void *SwigwxPaintDCTowxDC(void *ptr
) {
4328 src
= (wxPaintDC
*) ptr
;
4329 dest
= (wxDC
*) src
;
4330 return (void *) dest
;
4333 #define new_wxPaintDC(_swigarg0) (new wxPaintDC(_swigarg0))
4334 static PyObject
*_wrap_new_wxPaintDC(PyObject
*self
, PyObject
*args
) {
4335 PyObject
* _resultobj
;
4336 wxPaintDC
* _result
;
4342 if(!PyArg_ParseTuple(args
,"s:new_wxPaintDC",&_argc0
))
4345 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
4346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPaintDC. Expected _wxWindow_p.");
4350 _result
= (wxPaintDC
*)new_wxPaintDC(_arg0
);
4351 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPaintDC_p");
4352 _resultobj
= Py_BuildValue("s",_ptemp
);
4356 static void *SwigwxPostScriptDCTowxDC(void *ptr
) {
4357 wxPostScriptDC
*src
;
4359 src
= (wxPostScriptDC
*) ptr
;
4360 dest
= (wxDC
*) src
;
4361 return (void *) dest
;
4364 #define new_wxPostScriptDC(_swigarg0,_swigarg1,_swigarg2) (new wxPostScriptDC(_swigarg0,_swigarg1,_swigarg2))
4365 static PyObject
*_wrap_new_wxPostScriptDC(PyObject
*self
, PyObject
*args
) {
4366 PyObject
* _resultobj
;
4367 wxPostScriptDC
* _result
;
4370 wxWindow
* _arg2
= NULL
;
4371 PyObject
* _obj0
= 0;
4377 if(!PyArg_ParseTuple(args
,"O|is:new_wxPostScriptDC",&_obj0
,&tempbool1
,&_argc2
))
4380 if (!PyString_Check(_obj0
)) {
4381 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4384 _arg0
= new wxString(PyString_AsString(_obj0
));
4386 _arg1
= (bool ) tempbool1
;
4388 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxWindow_p")) {
4389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPostScriptDC. Expected _wxWindow_p.");
4393 _result
= (wxPostScriptDC
*)new_wxPostScriptDC(*_arg0
,_arg1
,_arg2
);
4394 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPostScriptDC_p");
4395 _resultobj
= Py_BuildValue("s",_ptemp
);
4403 static PyMethodDef gdicMethods
[] = {
4404 { "new_wxPostScriptDC", _wrap_new_wxPostScriptDC
, 1 },
4405 { "new_wxPaintDC", _wrap_new_wxPaintDC
, 1 },
4406 { "new_wxClientDC", _wrap_new_wxClientDC
, 1 },
4407 { "wxScreenDC_EndDrawingOnTop", _wrap_wxScreenDC_EndDrawingOnTop
, 1 },
4408 { "wxScreenDC_StartDrawingOnTopRect", _wrap_wxScreenDC_StartDrawingOnTopRect
, 1 },
4409 { "wxScreenDC_StartDrawingOnTop", _wrap_wxScreenDC_StartDrawingOnTop
, 1 },
4410 { "new_wxScreenDC", _wrap_new_wxScreenDC
, 1 },
4411 { "wxMemoryDC_SelectObject", _wrap_wxMemoryDC_SelectObject
, 1 },
4412 { "new_wxMemoryDC", _wrap_new_wxMemoryDC
, 1 },
4413 { "wxDC_DrawBitmap", _wrap_wxDC_DrawBitmap
, 1 },
4414 { "wxDC_StartPage", _wrap_wxDC_StartPage
, 1 },
4415 { "wxDC_StartDoc", _wrap_wxDC_StartDoc
, 1 },
4416 { "wxDC_SetUserScale", _wrap_wxDC_SetUserScale
, 1 },
4417 { "wxDC_SetTextForeground", _wrap_wxDC_SetTextForeground
, 1 },
4418 { "wxDC_SetTextBackground", _wrap_wxDC_SetTextBackground
, 1 },
4419 { "wxDC_SetPen", _wrap_wxDC_SetPen
, 1 },
4420 { "wxDC_SetOptimization", _wrap_wxDC_SetOptimization
, 1 },
4421 { "wxDC_SetMapMode", _wrap_wxDC_SetMapMode
, 1 },
4422 { "wxDC_SetLogicalFunction", _wrap_wxDC_SetLogicalFunction
, 1 },
4423 { "wxDC_SetFont", _wrap_wxDC_SetFont
, 1 },
4424 { "wxDC_SetBrush", _wrap_wxDC_SetBrush
, 1 },
4425 { "wxDC_SetPalette", _wrap_wxDC_SetPalette
, 1 },
4426 { "wxDC_SetClippingRegion", _wrap_wxDC_SetClippingRegion
, 1 },
4427 { "wxDC_SetBackgroundMode", _wrap_wxDC_SetBackgroundMode
, 1 },
4428 { "wxDC_SetBackground", _wrap_wxDC_SetBackground
, 1 },
4429 { "wxDC_SetDeviceOrigin", _wrap_wxDC_SetDeviceOrigin
, 1 },
4430 { "wxDC_Ok", _wrap_wxDC_Ok
, 1 },
4431 { "wxDC_MinY", _wrap_wxDC_MinY
, 1 },
4432 { "wxDC_MinX", _wrap_wxDC_MinX
, 1 },
4433 { "wxDC_MaxY", _wrap_wxDC_MaxY
, 1 },
4434 { "wxDC_MaxX", _wrap_wxDC_MaxX
, 1 },
4435 { "wxDC_LogicalToDeviceYRel", _wrap_wxDC_LogicalToDeviceYRel
, 1 },
4436 { "wxDC_LogicalToDeviceY", _wrap_wxDC_LogicalToDeviceY
, 1 },
4437 { "wxDC_LogicalToDeviceXRel", _wrap_wxDC_LogicalToDeviceXRel
, 1 },
4438 { "wxDC_LogicalToDeviceX", _wrap_wxDC_LogicalToDeviceX
, 1 },
4439 { "wxDC_GetTextForeground", _wrap_wxDC_GetTextForeground
, 1 },
4440 { "wxDC_GetTextExtent", _wrap_wxDC_GetTextExtent
, 1 },
4441 { "wxDC_GetTextBackground", _wrap_wxDC_GetTextBackground
, 1 },
4442 { "wxDC_GetSize", _wrap_wxDC_GetSize
, 1 },
4443 { "wxDC_GetPixel", _wrap_wxDC_GetPixel
, 1 },
4444 { "wxDC_GetPen", _wrap_wxDC_GetPen
, 1 },
4445 { "wxDC_GetOptimization", _wrap_wxDC_GetOptimization
, 1 },
4446 { "wxDC_GetMapMode", _wrap_wxDC_GetMapMode
, 1 },
4447 { "wxDC_GetLogicalFunction", _wrap_wxDC_GetLogicalFunction
, 1 },
4448 { "wxDC_GetFont", _wrap_wxDC_GetFont
, 1 },
4449 { "wxDC_GetClippingBox", _wrap_wxDC_GetClippingBox
, 1 },
4450 { "wxDC_GetCharWidth", _wrap_wxDC_GetCharWidth
, 1 },
4451 { "wxDC_GetCharHeight", _wrap_wxDC_GetCharHeight
, 1 },
4452 { "wxDC_GetBrush", _wrap_wxDC_GetBrush
, 1 },
4453 { "wxDC_GetBackground", _wrap_wxDC_GetBackground
, 1 },
4454 { "wxDC_FloodFill", _wrap_wxDC_FloodFill
, 1 },
4455 { "wxDC_EndPage", _wrap_wxDC_EndPage
, 1 },
4456 { "wxDC_EndDrawing", _wrap_wxDC_EndDrawing
, 1 },
4457 { "wxDC_EndDoc", _wrap_wxDC_EndDoc
, 1 },
4458 { "wxDC_DrawText", _wrap_wxDC_DrawText
, 1 },
4459 { "wxDC_DrawSpline", _wrap_wxDC_DrawSpline
, 1 },
4460 { "wxDC_DrawRoundedRectangle", _wrap_wxDC_DrawRoundedRectangle
, 1 },
4461 { "wxDC_DrawRectangle", _wrap_wxDC_DrawRectangle
, 1 },
4462 { "wxDC_DrawPoint", _wrap_wxDC_DrawPoint
, 1 },
4463 { "wxDC_DrawPolygon", _wrap_wxDC_DrawPolygon
, 1 },
4464 { "wxDC_DrawLines", _wrap_wxDC_DrawLines
, 1 },
4465 { "wxDC_DrawLine", _wrap_wxDC_DrawLine
, 1 },
4466 { "wxDC_DrawIcon", _wrap_wxDC_DrawIcon
, 1 },
4467 { "wxDC_DrawEllipticArc", _wrap_wxDC_DrawEllipticArc
, 1 },
4468 { "wxDC_DrawEllipse", _wrap_wxDC_DrawEllipse
, 1 },
4469 { "wxDC_DrawArc", _wrap_wxDC_DrawArc
, 1 },
4470 { "wxDC_DeviceToLogicalYRel", _wrap_wxDC_DeviceToLogicalYRel
, 1 },
4471 { "wxDC_DeviceToLogicalY", _wrap_wxDC_DeviceToLogicalY
, 1 },
4472 { "wxDC_DeviceToLogicalXRel", _wrap_wxDC_DeviceToLogicalXRel
, 1 },
4473 { "wxDC_DeviceToLogicalX", _wrap_wxDC_DeviceToLogicalX
, 1 },
4474 { "wxDC_DestroyClippingRegion", _wrap_wxDC_DestroyClippingRegion
, 1 },
4475 { "wxDC_CrossHair", _wrap_wxDC_CrossHair
, 1 },
4476 { "wxDC_Clear", _wrap_wxDC_Clear
, 1 },
4477 { "wxDC_Blit", _wrap_wxDC_Blit
, 1 },
4478 { "wxDC_BeginDrawing", _wrap_wxDC_BeginDrawing
, 1 },
4479 { "delete_wxDC", _wrap_delete_wxDC
, 1 },
4480 { "wxBrush_Ok", _wrap_wxBrush_Ok
, 1 },
4481 { "wxBrush_GetStyle", _wrap_wxBrush_GetStyle
, 1 },
4482 { "wxBrush_GetStipple", _wrap_wxBrush_GetStipple
, 1 },
4483 { "wxBrush_GetColour", _wrap_wxBrush_GetColour
, 1 },
4484 { "new_wxBrush", _wrap_new_wxBrush
, 1 },
4485 { "wxPen_SetWidth", _wrap_wxPen_SetWidth
, 1 },
4486 { "wxPen_SetStyle", _wrap_wxPen_SetStyle
, 1 },
4487 { "wxPen_SetJoin", _wrap_wxPen_SetJoin
, 1 },
4488 { "wxPen_SetColour", _wrap_wxPen_SetColour
, 1 },
4489 { "wxPen_SetCap", _wrap_wxPen_SetCap
, 1 },
4490 { "wxPen_Ok", _wrap_wxPen_Ok
, 1 },
4491 { "wxPen_GetWidth", _wrap_wxPen_GetWidth
, 1 },
4492 { "wxPen_GetStyle", _wrap_wxPen_GetStyle
, 1 },
4493 { "wxPen_GetJoin", _wrap_wxPen_GetJoin
, 1 },
4494 { "wxPen_GetColour", _wrap_wxPen_GetColour
, 1 },
4495 { "wxPen_GetCap", _wrap_wxPen_GetCap
, 1 },
4496 { "new_wxPen", _wrap_new_wxPen
, 1 },
4497 { "wxColour_Get", _wrap_wxColour_Get
, 1 },
4498 { "wxColour_Set", _wrap_wxColour_Set
, 1 },
4499 { "wxColour_Ok", _wrap_wxColour_Ok
, 1 },
4500 { "wxColour_Blue", _wrap_wxColour_Blue
, 1 },
4501 { "wxColour_Green", _wrap_wxColour_Green
, 1 },
4502 { "wxColour_Red", _wrap_wxColour_Red
, 1 },
4503 { "delete_wxColour", _wrap_delete_wxColour
, 1 },
4504 { "new_wxColour", _wrap_new_wxColour
, 1 },
4505 { "wxFont_GetWeight", _wrap_wxFont_GetWeight
, 1 },
4506 { "wxFont_GetUnderlined", _wrap_wxFont_GetUnderlined
, 1 },
4507 { "wxFont_GetStyle", _wrap_wxFont_GetStyle
, 1 },
4508 { "wxFont_GetPointSize", _wrap_wxFont_GetPointSize
, 1 },
4509 { "wxFont_GetFontId", _wrap_wxFont_GetFontId
, 1 },
4510 { "wxFont_GetFamily", _wrap_wxFont_GetFamily
, 1 },
4511 { "wxFont_GetFaceName", _wrap_wxFont_GetFaceName
, 1 },
4512 { "new_wxFont", _wrap_new_wxFont
, 1 },
4513 { "wxCursor_Ok", _wrap_wxCursor_Ok
, 1 },
4514 { "delete_wxCursor", _wrap_delete_wxCursor
, 1 },
4515 { "wxIcon_SetWidth", _wrap_wxIcon_SetWidth
, 1 },
4516 { "wxIcon_SetHeight", _wrap_wxIcon_SetHeight
, 1 },
4517 { "wxIcon_SetDepth", _wrap_wxIcon_SetDepth
, 1 },
4518 { "wxIcon_Ok", _wrap_wxIcon_Ok
, 1 },
4519 { "wxIcon_LoadFile", _wrap_wxIcon_LoadFile
, 1 },
4520 { "wxIcon_GetWidth", _wrap_wxIcon_GetWidth
, 1 },
4521 { "wxIcon_GetHeight", _wrap_wxIcon_GetHeight
, 1 },
4522 { "wxIcon_GetDepth", _wrap_wxIcon_GetDepth
, 1 },
4523 { "delete_wxIcon", _wrap_delete_wxIcon
, 1 },
4524 { "delete_wxMask", _wrap_delete_wxMask
, 1 },
4525 { "new_wxMask", _wrap_new_wxMask
, 1 },
4526 { "wxBitmap_SetWidth", _wrap_wxBitmap_SetWidth
, 1 },
4527 { "wxBitmap_SetMask", _wrap_wxBitmap_SetMask
, 1 },
4528 { "wxBitmap_SetHeight", _wrap_wxBitmap_SetHeight
, 1 },
4529 { "wxBitmap_SetDepth", _wrap_wxBitmap_SetDepth
, 1 },
4530 { "wxBitmap_SaveFile", _wrap_wxBitmap_SaveFile
, 1 },
4531 { "wxBitmap_Ok", _wrap_wxBitmap_Ok
, 1 },
4532 { "wxBitmap_LoadFile", _wrap_wxBitmap_LoadFile
, 1 },
4533 { "wxBitmap_GetWidth", _wrap_wxBitmap_GetWidth
, 1 },
4534 { "wxBitmap_GetMask", _wrap_wxBitmap_GetMask
, 1 },
4535 { "wxBitmap_GetPalette", _wrap_wxBitmap_GetPalette
, 1 },
4536 { "wxBitmap_GetHeight", _wrap_wxBitmap_GetHeight
, 1 },
4537 { "wxBitmap_GetDepth", _wrap_wxBitmap_GetDepth
, 1 },
4538 { "delete_wxBitmap", _wrap_delete_wxBitmap
, 1 },
4539 { "new_wxBitmap", _wrap_new_wxBitmap
, 1 },
4540 { "wxMemoryDCFromDC", _wrap_wxMemoryDCFromDC
, 1 },
4541 { "wxNamedColour", _wrap_wxNamedColour
, 1 },
4542 { "wxStockCursor", _wrap_wxStockCursor
, 1 },
4543 { "wxMaskColour", _wrap_wxMaskColour
, 1 },
4544 { "wxNoRefBitmap", _wrap_wxNoRefBitmap
, 1 },
4545 { "wxEmptyBitmap", _wrap_wxEmptyBitmap
, 1 },
4548 static PyObject
*SWIG_globals
;
4552 SWIGEXPORT(void,initgdic
)() {
4554 SWIG_globals
= SWIG_newvarlink();
4555 m
= Py_InitModule("gdic", gdicMethods
);
4556 d
= PyModule_GetDict(m
);
4557 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
4558 SWIG_addvarlink(SWIG_globals
,"wxNORMAL_FONT",_wrap_wxNORMAL_FONT_get
, _wrap_wxNORMAL_FONT_set
);
4559 SWIG_addvarlink(SWIG_globals
,"wxSMALL_FONT",_wrap_wxSMALL_FONT_get
, _wrap_wxSMALL_FONT_set
);
4560 SWIG_addvarlink(SWIG_globals
,"wxITALIC_FONT",_wrap_wxITALIC_FONT_get
, _wrap_wxITALIC_FONT_set
);
4561 SWIG_addvarlink(SWIG_globals
,"wxSWISS_FONT",_wrap_wxSWISS_FONT_get
, _wrap_wxSWISS_FONT_set
);
4562 SWIG_addvarlink(SWIG_globals
,"wxRED_PEN",_wrap_wxRED_PEN_get
, _wrap_wxRED_PEN_set
);
4563 SWIG_addvarlink(SWIG_globals
,"wxCYAN_PEN",_wrap_wxCYAN_PEN_get
, _wrap_wxCYAN_PEN_set
);
4564 SWIG_addvarlink(SWIG_globals
,"wxGREEN_PEN",_wrap_wxGREEN_PEN_get
, _wrap_wxGREEN_PEN_set
);
4565 SWIG_addvarlink(SWIG_globals
,"wxBLACK_PEN",_wrap_wxBLACK_PEN_get
, _wrap_wxBLACK_PEN_set
);
4566 SWIG_addvarlink(SWIG_globals
,"wxWHITE_PEN",_wrap_wxWHITE_PEN_get
, _wrap_wxWHITE_PEN_set
);
4567 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_PEN",_wrap_wxTRANSPARENT_PEN_get
, _wrap_wxTRANSPARENT_PEN_set
);
4568 SWIG_addvarlink(SWIG_globals
,"wxBLACK_DASHED_PEN",_wrap_wxBLACK_DASHED_PEN_get
, _wrap_wxBLACK_DASHED_PEN_set
);
4569 SWIG_addvarlink(SWIG_globals
,"wxGREY_PEN",_wrap_wxGREY_PEN_get
, _wrap_wxGREY_PEN_set
);
4570 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_PEN",_wrap_wxMEDIUM_GREY_PEN_get
, _wrap_wxMEDIUM_GREY_PEN_set
);
4571 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_PEN",_wrap_wxLIGHT_GREY_PEN_get
, _wrap_wxLIGHT_GREY_PEN_set
);
4572 SWIG_addvarlink(SWIG_globals
,"wxBLUE_BRUSH",_wrap_wxBLUE_BRUSH_get
, _wrap_wxBLUE_BRUSH_set
);
4573 SWIG_addvarlink(SWIG_globals
,"wxGREEN_BRUSH",_wrap_wxGREEN_BRUSH_get
, _wrap_wxGREEN_BRUSH_set
);
4574 SWIG_addvarlink(SWIG_globals
,"wxWHITE_BRUSH",_wrap_wxWHITE_BRUSH_get
, _wrap_wxWHITE_BRUSH_set
);
4575 SWIG_addvarlink(SWIG_globals
,"wxBLACK_BRUSH",_wrap_wxBLACK_BRUSH_get
, _wrap_wxBLACK_BRUSH_set
);
4576 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_BRUSH",_wrap_wxTRANSPARENT_BRUSH_get
, _wrap_wxTRANSPARENT_BRUSH_set
);
4577 SWIG_addvarlink(SWIG_globals
,"wxCYAN_BRUSH",_wrap_wxCYAN_BRUSH_get
, _wrap_wxCYAN_BRUSH_set
);
4578 SWIG_addvarlink(SWIG_globals
,"wxRED_BRUSH",_wrap_wxRED_BRUSH_get
, _wrap_wxRED_BRUSH_set
);
4579 SWIG_addvarlink(SWIG_globals
,"wxGREY_BRUSH",_wrap_wxGREY_BRUSH_get
, _wrap_wxGREY_BRUSH_set
);
4580 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_BRUSH",_wrap_wxMEDIUM_GREY_BRUSH_get
, _wrap_wxMEDIUM_GREY_BRUSH_set
);
4581 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_BRUSH",_wrap_wxLIGHT_GREY_BRUSH_get
, _wrap_wxLIGHT_GREY_BRUSH_set
);
4582 SWIG_addvarlink(SWIG_globals
,"wxBLACK",_wrap_wxBLACK_get
, _wrap_wxBLACK_set
);
4583 SWIG_addvarlink(SWIG_globals
,"wxWHITE",_wrap_wxWHITE_get
, _wrap_wxWHITE_set
);
4584 SWIG_addvarlink(SWIG_globals
,"wxRED",_wrap_wxRED_get
, _wrap_wxRED_set
);
4585 SWIG_addvarlink(SWIG_globals
,"wxBLUE",_wrap_wxBLUE_get
, _wrap_wxBLUE_set
);
4586 SWIG_addvarlink(SWIG_globals
,"wxGREEN",_wrap_wxGREEN_get
, _wrap_wxGREEN_set
);
4587 SWIG_addvarlink(SWIG_globals
,"wxCYAN",_wrap_wxCYAN_get
, _wrap_wxCYAN_set
);
4588 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY",_wrap_wxLIGHT_GREY_get
, _wrap_wxLIGHT_GREY_set
);
4589 SWIG_addvarlink(SWIG_globals
,"wxSTANDARD_CURSOR",_wrap_wxSTANDARD_CURSOR_get
, _wrap_wxSTANDARD_CURSOR_set
);
4590 SWIG_addvarlink(SWIG_globals
,"wxHOURGLASS_CURSOR",_wrap_wxHOURGLASS_CURSOR_get
, _wrap_wxHOURGLASS_CURSOR_set
);
4591 SWIG_addvarlink(SWIG_globals
,"wxCROSS_CURSOR",_wrap_wxCROSS_CURSOR_get
, _wrap_wxCROSS_CURSOR_set
);
4592 SWIG_addvarlink(SWIG_globals
,"wxNullBitmap",_wrap_wxNullBitmap_get
, _wrap_wxNullBitmap_set
);
4593 SWIG_addvarlink(SWIG_globals
,"wxNullIcon",_wrap_wxNullIcon_get
, _wrap_wxNullIcon_set
);
4594 SWIG_addvarlink(SWIG_globals
,"wxNullCursor",_wrap_wxNullCursor_get
, _wrap_wxNullCursor_set
);
4595 SWIG_addvarlink(SWIG_globals
,"wxNullPen",_wrap_wxNullPen_get
, _wrap_wxNullPen_set
);
4596 SWIG_addvarlink(SWIG_globals
,"wxNullBrush",_wrap_wxNullBrush_get
, _wrap_wxNullBrush_set
);
4597 SWIG_addvarlink(SWIG_globals
,"wxNullPalette",_wrap_wxNullPalette_get
, _wrap_wxNullPalette_set
);
4598 SWIG_addvarlink(SWIG_globals
,"wxNullFont",_wrap_wxNullFont_get
, _wrap_wxNullFont_set
);
4599 SWIG_addvarlink(SWIG_globals
,"wxNullColour",_wrap_wxNullColour_get
, _wrap_wxNullColour_set
);
4601 * These are the pointer type-equivalency mappings.
4602 * (Used by the SWIG pointer type-checker).
4604 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
4605 SWIG_RegisterMapping("_signed_long","_long",0);
4606 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
4607 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
4608 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
4609 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
4610 SWIG_RegisterMapping("_byte","_unsigned_char",0);
4611 SWIG_RegisterMapping("_long","_wxDash",0);
4612 SWIG_RegisterMapping("_long","_unsigned_long",0);
4613 SWIG_RegisterMapping("_long","_signed_long",0);
4614 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
4615 SWIG_RegisterMapping("_wxDC","_class_wxPostScriptDC",SwigwxPostScriptDCTowxDC
);
4616 SWIG_RegisterMapping("_wxDC","_wxPostScriptDC",SwigwxPostScriptDCTowxDC
);
4617 SWIG_RegisterMapping("_wxDC","_class_wxPaintDC",SwigwxPaintDCTowxDC
);
4618 SWIG_RegisterMapping("_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
);
4619 SWIG_RegisterMapping("_wxDC","_class_wxClientDC",SwigwxClientDCTowxDC
);
4620 SWIG_RegisterMapping("_wxDC","_wxClientDC",SwigwxClientDCTowxDC
);
4621 SWIG_RegisterMapping("_wxDC","_class_wxScreenDC",SwigwxScreenDCTowxDC
);
4622 SWIG_RegisterMapping("_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
);
4623 SWIG_RegisterMapping("_wxDC","_class_wxMemoryDC",SwigwxMemoryDCTowxDC
);
4624 SWIG_RegisterMapping("_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
);
4625 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
4626 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
4627 SWIG_RegisterMapping("_class_wxPostScriptDC","_wxPostScriptDC",0);
4628 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
4629 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
4630 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
4631 SWIG_RegisterMapping("_uint","_unsigned_int",0);
4632 SWIG_RegisterMapping("_uint","_int",0);
4633 SWIG_RegisterMapping("_uint","_wxWindowID",0);
4634 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
4635 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
4636 SWIG_RegisterMapping("_wxBitmap","_class_wxCursor",SwigwxCursorTowxBitmap
);
4637 SWIG_RegisterMapping("_wxBitmap","_wxCursor",SwigwxCursorTowxBitmap
);
4638 SWIG_RegisterMapping("_wxBitmap","_class_wxIcon",SwigwxIconTowxBitmap
);
4639 SWIG_RegisterMapping("_wxBitmap","_wxIcon",SwigwxIconTowxBitmap
);
4640 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
4641 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
4642 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
4643 SWIG_RegisterMapping("_EBool","_signed_int",0);
4644 SWIG_RegisterMapping("_EBool","_int",0);
4645 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
4646 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
4647 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
4648 SWIG_RegisterMapping("_unsigned_long","_long",0);
4649 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
4650 SWIG_RegisterMapping("_class_wxDC","_class_wxPostScriptDC",SwigwxPostScriptDCTowxDC
);
4651 SWIG_RegisterMapping("_class_wxDC","_wxPostScriptDC",SwigwxPostScriptDCTowxDC
);
4652 SWIG_RegisterMapping("_class_wxDC","_class_wxPaintDC",SwigwxPaintDCTowxDC
);
4653 SWIG_RegisterMapping("_class_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
);
4654 SWIG_RegisterMapping("_class_wxDC","_class_wxClientDC",SwigwxClientDCTowxDC
);
4655 SWIG_RegisterMapping("_class_wxDC","_wxClientDC",SwigwxClientDCTowxDC
);
4656 SWIG_RegisterMapping("_class_wxDC","_class_wxScreenDC",SwigwxScreenDCTowxDC
);
4657 SWIG_RegisterMapping("_class_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
);
4658 SWIG_RegisterMapping("_class_wxDC","_class_wxMemoryDC",SwigwxMemoryDCTowxDC
);
4659 SWIG_RegisterMapping("_class_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
);
4660 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
4661 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
4662 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
4663 SWIG_RegisterMapping("_signed_int","_EBool",0);
4664 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
4665 SWIG_RegisterMapping("_signed_int","_int",0);
4666 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
4667 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
4668 SWIG_RegisterMapping("_WXTYPE","_short",0);
4669 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
4670 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
4671 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
4672 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
4673 SWIG_RegisterMapping("_unsigned_short","_short",0);
4674 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
4675 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
4676 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
4677 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
4678 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
4679 SWIG_RegisterMapping("_signed_short","_short",0);
4680 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
4681 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
4682 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
4683 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
4684 SWIG_RegisterMapping("_wxPostScriptDC","_class_wxPostScriptDC",0);
4685 SWIG_RegisterMapping("_unsigned_char","_byte",0);
4686 SWIG_RegisterMapping("_unsigned_int","_uint",0);
4687 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
4688 SWIG_RegisterMapping("_unsigned_int","_int",0);
4689 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
4690 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
4691 SWIG_RegisterMapping("_short","_WXTYPE",0);
4692 SWIG_RegisterMapping("_short","_unsigned_short",0);
4693 SWIG_RegisterMapping("_short","_signed_short",0);
4694 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
4695 SWIG_RegisterMapping("_wxWindowID","_uint",0);
4696 SWIG_RegisterMapping("_wxWindowID","_int",0);
4697 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
4698 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
4699 SWIG_RegisterMapping("_int","_EBool",0);
4700 SWIG_RegisterMapping("_int","_uint",0);
4701 SWIG_RegisterMapping("_int","_wxWindowID",0);
4702 SWIG_RegisterMapping("_int","_unsigned_int",0);
4703 SWIG_RegisterMapping("_int","_signed_int",0);
4704 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
4705 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
4706 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
4707 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
4708 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
4709 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
4710 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
4711 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
4712 SWIG_RegisterMapping("_class_wxBitmap","_class_wxCursor",SwigwxCursorTowxBitmap
);
4713 SWIG_RegisterMapping("_class_wxBitmap","_wxCursor",SwigwxCursorTowxBitmap
);
4714 SWIG_RegisterMapping("_class_wxBitmap","_class_wxIcon",SwigwxIconTowxBitmap
);
4715 SWIG_RegisterMapping("_class_wxBitmap","_wxIcon",SwigwxIconTowxBitmap
);
4716 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
4717 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
4718 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
4719 SWIG_RegisterMapping("_wxDash","_long",0);