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
);
114 extern wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
118 static char* wxStringErrorMsg
= "string type is required for parameter";
119 // Alternate 'constructor'
120 wxBitmap
* wxEmptyBitmap(int width
, int height
, int depth
=-1) {
121 return new wxBitmap(width
, height
, depth
);
124 // This one won't own the reference, so Python won't call
125 // the dtor, this is good for toolbars and such where
126 // the parent will manage the bitmap.
127 wxBitmap
* wxNoRefBitmap(char* name
, long flags
) {
128 return new wxBitmap(name
, flags
);
131 wxMask
* wxMaskColour(const wxBitmap
& bitmap
, const wxColour
& colour
) {
132 return new wxMask(bitmap
, colour
);
134 // Alternate 'constructor'
135 wxCursor
* wxPyStockCursor(int id
) {
136 return new wxCursor(id
);
138 // Alternate 'constructor'
139 wxColour
* wxNamedColour(const wxString
& colorName
) {
140 return new wxColour(colorName
);
142 // Alternate 'constructor'
143 wxMemoryDC
* wxMemoryDCFromDC(wxDC
* oldDC
) {
144 return new wxMemoryDC(oldDC
);
146 extern wxFont
* wxNORMAL_FONT
;
147 extern wxFont
* wxSMALL_FONT
;
148 extern wxFont
* wxITALIC_FONT
;
149 extern wxFont
* wxSWISS_FONT
;
150 extern wxPen
* wxRED_PEN
;
151 extern wxPen
* wxCYAN_PEN
;
152 extern wxPen
* wxGREEN_PEN
;
153 extern wxPen
* wxBLACK_PEN
;
154 extern wxPen
* wxWHITE_PEN
;
155 extern wxPen
* wxTRANSPARENT_PEN
;
156 extern wxPen
* wxBLACK_DASHED_PEN
;
157 extern wxPen
* wxGREY_PEN
;
158 extern wxPen
* wxMEDIUM_GREY_PEN
;
159 extern wxPen
* wxLIGHT_GREY_PEN
;
160 extern wxBrush
* wxBLUE_BRUSH
;
161 extern wxBrush
* wxGREEN_BRUSH
;
162 extern wxBrush
* wxWHITE_BRUSH
;
163 extern wxBrush
* wxBLACK_BRUSH
;
164 extern wxBrush
* wxTRANSPARENT_BRUSH
;
165 extern wxBrush
* wxCYAN_BRUSH
;
166 extern wxBrush
* wxRED_BRUSH
;
167 extern wxBrush
* wxGREY_BRUSH
;
168 extern wxBrush
* wxMEDIUM_GREY_BRUSH
;
169 extern wxBrush
* wxLIGHT_GREY_BRUSH
;
170 extern wxColour
* wxBLACK
;
171 extern wxColour
* wxWHITE
;
172 extern wxColour
* wxRED
;
173 extern wxColour
* wxBLUE
;
174 extern wxColour
* wxGREEN
;
175 extern wxColour
* wxCYAN
;
176 extern wxColour
* wxLIGHT_GREY
;
177 extern wxCursor
* wxSTANDARD_CURSOR
;
178 extern wxCursor
* wxHOURGLASS_CURSOR
;
179 extern wxCursor
* wxCROSS_CURSOR
;
180 extern wxBitmap wxNullBitmap
;
181 extern wxIcon wxNullIcon
;
182 extern wxCursor wxNullCursor
;
183 extern wxPen wxNullPen
;
184 extern wxBrush wxNullBrush
;
185 extern wxPalette wxNullPalette
;
186 extern wxFont wxNullFont
;
187 extern wxColour wxNullColour
;
188 static PyObject
*_wrap_wxEmptyBitmap(PyObject
*self
, PyObject
*args
) {
189 PyObject
* _resultobj
;
197 if(!PyArg_ParseTuple(args
,"ii|i:wxEmptyBitmap",&_arg0
,&_arg1
,&_arg2
))
199 _result
= (wxBitmap
*)wxEmptyBitmap(_arg0
,_arg1
,_arg2
);
200 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
201 _resultobj
= Py_BuildValue("s",_ptemp
);
205 static PyObject
*_wrap_wxNoRefBitmap(PyObject
*self
, PyObject
*args
) {
206 PyObject
* _resultobj
;
213 if(!PyArg_ParseTuple(args
,"sl:wxNoRefBitmap",&_arg0
,&_arg1
))
215 _result
= (wxBitmap
*)wxNoRefBitmap(_arg0
,_arg1
);
216 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
217 _resultobj
= Py_BuildValue("s",_ptemp
);
221 static PyObject
*_wrap_wxMaskColour(PyObject
*self
, PyObject
*args
) {
222 PyObject
* _resultobj
;
231 if(!PyArg_ParseTuple(args
,"ss:wxMaskColour",&_argc0
,&_argc1
))
234 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMaskColour. Expected _wxBitmap_p.");
240 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMaskColour. Expected _wxColour_p.");
245 _result
= (wxMask
*)wxMaskColour(*_arg0
,*_arg1
);
246 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
247 _resultobj
= Py_BuildValue("s",_ptemp
);
251 static PyObject
*_wrap_wxStockCursor(PyObject
*self
, PyObject
*args
) {
252 PyObject
* _resultobj
;
258 if(!PyArg_ParseTuple(args
,"i:wxStockCursor",&_arg0
))
260 _result
= (wxCursor
*)wxPyStockCursor(_arg0
);
261 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCursor_p");
262 _resultobj
= Py_BuildValue("s",_ptemp
);
266 static PyObject
*_wrap_wxNamedColour(PyObject
*self
, PyObject
*args
) {
267 PyObject
* _resultobj
;
270 PyObject
* _obj0
= 0;
274 if(!PyArg_ParseTuple(args
,"O:wxNamedColour",&_obj0
))
277 if (!PyString_Check(_obj0
)) {
278 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
281 _arg0
= new wxString(PyString_AsString(_obj0
));
283 _result
= (wxColour
*)wxNamedColour(*_arg0
);
284 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
285 _resultobj
= Py_BuildValue("s",_ptemp
);
293 static PyObject
*_wrap_wxMemoryDCFromDC(PyObject
*self
, PyObject
*args
) {
294 PyObject
* _resultobj
;
295 wxMemoryDC
* _result
;
301 if(!PyArg_ParseTuple(args
,"s:wxMemoryDCFromDC",&_argc0
))
304 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDCFromDC. Expected _wxDC_p.");
309 _result
= (wxMemoryDC
*)wxMemoryDCFromDC(_arg0
);
310 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
311 _resultobj
= Py_BuildValue("s",_ptemp
);
315 static int _wrap_wxNORMAL_FONT_set(PyObject
*val
) {
317 PyErr_SetString(PyExc_TypeError
,"Variable wxNORMAL_FONT is read-only.");
321 static PyObject
*_wrap_wxNORMAL_FONT_get() {
325 SWIG_MakePtr(ptemp
, (char *) wxNORMAL_FONT
,"_wxFont_p");
326 pyobj
= PyString_FromString(ptemp
);
330 static int _wrap_wxSMALL_FONT_set(PyObject
*val
) {
332 PyErr_SetString(PyExc_TypeError
,"Variable wxSMALL_FONT is read-only.");
336 static PyObject
*_wrap_wxSMALL_FONT_get() {
340 SWIG_MakePtr(ptemp
, (char *) wxSMALL_FONT
,"_wxFont_p");
341 pyobj
= PyString_FromString(ptemp
);
345 static int _wrap_wxITALIC_FONT_set(PyObject
*val
) {
347 PyErr_SetString(PyExc_TypeError
,"Variable wxITALIC_FONT is read-only.");
351 static PyObject
*_wrap_wxITALIC_FONT_get() {
355 SWIG_MakePtr(ptemp
, (char *) wxITALIC_FONT
,"_wxFont_p");
356 pyobj
= PyString_FromString(ptemp
);
360 static int _wrap_wxSWISS_FONT_set(PyObject
*val
) {
362 PyErr_SetString(PyExc_TypeError
,"Variable wxSWISS_FONT is read-only.");
366 static PyObject
*_wrap_wxSWISS_FONT_get() {
370 SWIG_MakePtr(ptemp
, (char *) wxSWISS_FONT
,"_wxFont_p");
371 pyobj
= PyString_FromString(ptemp
);
375 static int _wrap_wxRED_PEN_set(PyObject
*val
) {
377 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_PEN is read-only.");
381 static PyObject
*_wrap_wxRED_PEN_get() {
385 SWIG_MakePtr(ptemp
, (char *) wxRED_PEN
,"_wxPen_p");
386 pyobj
= PyString_FromString(ptemp
);
390 static int _wrap_wxCYAN_PEN_set(PyObject
*val
) {
392 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_PEN is read-only.");
396 static PyObject
*_wrap_wxCYAN_PEN_get() {
400 SWIG_MakePtr(ptemp
, (char *) wxCYAN_PEN
,"_wxPen_p");
401 pyobj
= PyString_FromString(ptemp
);
405 static int _wrap_wxGREEN_PEN_set(PyObject
*val
) {
407 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_PEN is read-only.");
411 static PyObject
*_wrap_wxGREEN_PEN_get() {
415 SWIG_MakePtr(ptemp
, (char *) wxGREEN_PEN
,"_wxPen_p");
416 pyobj
= PyString_FromString(ptemp
);
420 static int _wrap_wxBLACK_PEN_set(PyObject
*val
) {
422 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_PEN is read-only.");
426 static PyObject
*_wrap_wxBLACK_PEN_get() {
430 SWIG_MakePtr(ptemp
, (char *) wxBLACK_PEN
,"_wxPen_p");
431 pyobj
= PyString_FromString(ptemp
);
435 static int _wrap_wxWHITE_PEN_set(PyObject
*val
) {
437 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_PEN is read-only.");
441 static PyObject
*_wrap_wxWHITE_PEN_get() {
445 SWIG_MakePtr(ptemp
, (char *) wxWHITE_PEN
,"_wxPen_p");
446 pyobj
= PyString_FromString(ptemp
);
450 static int _wrap_wxTRANSPARENT_PEN_set(PyObject
*val
) {
452 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_PEN is read-only.");
456 static PyObject
*_wrap_wxTRANSPARENT_PEN_get() {
460 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_PEN
,"_wxPen_p");
461 pyobj
= PyString_FromString(ptemp
);
465 static int _wrap_wxBLACK_DASHED_PEN_set(PyObject
*val
) {
467 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_DASHED_PEN is read-only.");
471 static PyObject
*_wrap_wxBLACK_DASHED_PEN_get() {
475 SWIG_MakePtr(ptemp
, (char *) wxBLACK_DASHED_PEN
,"_wxPen_p");
476 pyobj
= PyString_FromString(ptemp
);
480 static int _wrap_wxGREY_PEN_set(PyObject
*val
) {
482 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_PEN is read-only.");
486 static PyObject
*_wrap_wxGREY_PEN_get() {
490 SWIG_MakePtr(ptemp
, (char *) wxGREY_PEN
,"_wxPen_p");
491 pyobj
= PyString_FromString(ptemp
);
495 static int _wrap_wxMEDIUM_GREY_PEN_set(PyObject
*val
) {
497 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_PEN is read-only.");
501 static PyObject
*_wrap_wxMEDIUM_GREY_PEN_get() {
505 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_PEN
,"_wxPen_p");
506 pyobj
= PyString_FromString(ptemp
);
510 static int _wrap_wxLIGHT_GREY_PEN_set(PyObject
*val
) {
512 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_PEN is read-only.");
516 static PyObject
*_wrap_wxLIGHT_GREY_PEN_get() {
520 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_PEN
,"_wxPen_p");
521 pyobj
= PyString_FromString(ptemp
);
525 static int _wrap_wxBLUE_BRUSH_set(PyObject
*val
) {
527 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE_BRUSH is read-only.");
531 static PyObject
*_wrap_wxBLUE_BRUSH_get() {
535 SWIG_MakePtr(ptemp
, (char *) wxBLUE_BRUSH
,"_wxBrush_p");
536 pyobj
= PyString_FromString(ptemp
);
540 static int _wrap_wxGREEN_BRUSH_set(PyObject
*val
) {
542 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_BRUSH is read-only.");
546 static PyObject
*_wrap_wxGREEN_BRUSH_get() {
550 SWIG_MakePtr(ptemp
, (char *) wxGREEN_BRUSH
,"_wxBrush_p");
551 pyobj
= PyString_FromString(ptemp
);
555 static int _wrap_wxWHITE_BRUSH_set(PyObject
*val
) {
557 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_BRUSH is read-only.");
561 static PyObject
*_wrap_wxWHITE_BRUSH_get() {
565 SWIG_MakePtr(ptemp
, (char *) wxWHITE_BRUSH
,"_wxBrush_p");
566 pyobj
= PyString_FromString(ptemp
);
570 static int _wrap_wxBLACK_BRUSH_set(PyObject
*val
) {
572 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_BRUSH is read-only.");
576 static PyObject
*_wrap_wxBLACK_BRUSH_get() {
580 SWIG_MakePtr(ptemp
, (char *) wxBLACK_BRUSH
,"_wxBrush_p");
581 pyobj
= PyString_FromString(ptemp
);
585 static int _wrap_wxTRANSPARENT_BRUSH_set(PyObject
*val
) {
587 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_BRUSH is read-only.");
591 static PyObject
*_wrap_wxTRANSPARENT_BRUSH_get() {
595 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_BRUSH
,"_wxBrush_p");
596 pyobj
= PyString_FromString(ptemp
);
600 static int _wrap_wxCYAN_BRUSH_set(PyObject
*val
) {
602 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_BRUSH is read-only.");
606 static PyObject
*_wrap_wxCYAN_BRUSH_get() {
610 SWIG_MakePtr(ptemp
, (char *) wxCYAN_BRUSH
,"_wxBrush_p");
611 pyobj
= PyString_FromString(ptemp
);
615 static int _wrap_wxRED_BRUSH_set(PyObject
*val
) {
617 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_BRUSH is read-only.");
621 static PyObject
*_wrap_wxRED_BRUSH_get() {
625 SWIG_MakePtr(ptemp
, (char *) wxRED_BRUSH
,"_wxBrush_p");
626 pyobj
= PyString_FromString(ptemp
);
630 static int _wrap_wxGREY_BRUSH_set(PyObject
*val
) {
632 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_BRUSH is read-only.");
636 static PyObject
*_wrap_wxGREY_BRUSH_get() {
640 SWIG_MakePtr(ptemp
, (char *) wxGREY_BRUSH
,"_wxBrush_p");
641 pyobj
= PyString_FromString(ptemp
);
645 static int _wrap_wxMEDIUM_GREY_BRUSH_set(PyObject
*val
) {
647 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_BRUSH is read-only.");
651 static PyObject
*_wrap_wxMEDIUM_GREY_BRUSH_get() {
655 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_BRUSH
,"_wxBrush_p");
656 pyobj
= PyString_FromString(ptemp
);
660 static int _wrap_wxLIGHT_GREY_BRUSH_set(PyObject
*val
) {
662 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_BRUSH is read-only.");
666 static PyObject
*_wrap_wxLIGHT_GREY_BRUSH_get() {
670 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_BRUSH
,"_wxBrush_p");
671 pyobj
= PyString_FromString(ptemp
);
675 static int _wrap_wxBLACK_set(PyObject
*val
) {
677 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK is read-only.");
681 static PyObject
*_wrap_wxBLACK_get() {
685 SWIG_MakePtr(ptemp
, (char *) wxBLACK
,"_wxColour_p");
686 pyobj
= PyString_FromString(ptemp
);
690 static int _wrap_wxWHITE_set(PyObject
*val
) {
692 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE is read-only.");
696 static PyObject
*_wrap_wxWHITE_get() {
700 SWIG_MakePtr(ptemp
, (char *) wxWHITE
,"_wxColour_p");
701 pyobj
= PyString_FromString(ptemp
);
705 static int _wrap_wxRED_set(PyObject
*val
) {
707 PyErr_SetString(PyExc_TypeError
,"Variable wxRED is read-only.");
711 static PyObject
*_wrap_wxRED_get() {
715 SWIG_MakePtr(ptemp
, (char *) wxRED
,"_wxColour_p");
716 pyobj
= PyString_FromString(ptemp
);
720 static int _wrap_wxBLUE_set(PyObject
*val
) {
722 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE is read-only.");
726 static PyObject
*_wrap_wxBLUE_get() {
730 SWIG_MakePtr(ptemp
, (char *) wxBLUE
,"_wxColour_p");
731 pyobj
= PyString_FromString(ptemp
);
735 static int _wrap_wxGREEN_set(PyObject
*val
) {
737 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN is read-only.");
741 static PyObject
*_wrap_wxGREEN_get() {
745 SWIG_MakePtr(ptemp
, (char *) wxGREEN
,"_wxColour_p");
746 pyobj
= PyString_FromString(ptemp
);
750 static int _wrap_wxCYAN_set(PyObject
*val
) {
752 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN is read-only.");
756 static PyObject
*_wrap_wxCYAN_get() {
760 SWIG_MakePtr(ptemp
, (char *) wxCYAN
,"_wxColour_p");
761 pyobj
= PyString_FromString(ptemp
);
765 static int _wrap_wxLIGHT_GREY_set(PyObject
*val
) {
767 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY is read-only.");
771 static PyObject
*_wrap_wxLIGHT_GREY_get() {
775 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY
,"_wxColour_p");
776 pyobj
= PyString_FromString(ptemp
);
780 static int _wrap_wxSTANDARD_CURSOR_set(PyObject
*val
) {
782 PyErr_SetString(PyExc_TypeError
,"Variable wxSTANDARD_CURSOR is read-only.");
786 static PyObject
*_wrap_wxSTANDARD_CURSOR_get() {
790 SWIG_MakePtr(ptemp
, (char *) wxSTANDARD_CURSOR
,"_wxCursor_p");
791 pyobj
= PyString_FromString(ptemp
);
795 static int _wrap_wxHOURGLASS_CURSOR_set(PyObject
*val
) {
797 PyErr_SetString(PyExc_TypeError
,"Variable wxHOURGLASS_CURSOR is read-only.");
801 static PyObject
*_wrap_wxHOURGLASS_CURSOR_get() {
805 SWIG_MakePtr(ptemp
, (char *) wxHOURGLASS_CURSOR
,"_wxCursor_p");
806 pyobj
= PyString_FromString(ptemp
);
810 static int _wrap_wxCROSS_CURSOR_set(PyObject
*val
) {
812 PyErr_SetString(PyExc_TypeError
,"Variable wxCROSS_CURSOR is read-only.");
816 static PyObject
*_wrap_wxCROSS_CURSOR_get() {
820 SWIG_MakePtr(ptemp
, (char *) wxCROSS_CURSOR
,"_wxCursor_p");
821 pyobj
= PyString_FromString(ptemp
);
825 static int _wrap_wxNullBitmap_set(PyObject
*val
) {
827 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBitmap is read-only.");
831 static PyObject
*_wrap_wxNullBitmap_get() {
835 SWIG_MakePtr(ptemp
,(char *) &wxNullBitmap
,"_wxBitmap_p");
836 pyobj
= PyString_FromString(ptemp
);
840 static int _wrap_wxNullIcon_set(PyObject
*val
) {
842 PyErr_SetString(PyExc_TypeError
,"Variable wxNullIcon is read-only.");
846 static PyObject
*_wrap_wxNullIcon_get() {
850 SWIG_MakePtr(ptemp
,(char *) &wxNullIcon
,"_wxIcon_p");
851 pyobj
= PyString_FromString(ptemp
);
855 static int _wrap_wxNullCursor_set(PyObject
*val
) {
857 PyErr_SetString(PyExc_TypeError
,"Variable wxNullCursor is read-only.");
861 static PyObject
*_wrap_wxNullCursor_get() {
865 SWIG_MakePtr(ptemp
,(char *) &wxNullCursor
,"_wxCursor_p");
866 pyobj
= PyString_FromString(ptemp
);
870 static int _wrap_wxNullPen_set(PyObject
*val
) {
872 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPen is read-only.");
876 static PyObject
*_wrap_wxNullPen_get() {
880 SWIG_MakePtr(ptemp
,(char *) &wxNullPen
,"_wxPen_p");
881 pyobj
= PyString_FromString(ptemp
);
885 static int _wrap_wxNullBrush_set(PyObject
*val
) {
887 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBrush is read-only.");
891 static PyObject
*_wrap_wxNullBrush_get() {
895 SWIG_MakePtr(ptemp
,(char *) &wxNullBrush
,"_wxBrush_p");
896 pyobj
= PyString_FromString(ptemp
);
900 static int _wrap_wxNullPalette_set(PyObject
*val
) {
902 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPalette is read-only.");
906 static PyObject
*_wrap_wxNullPalette_get() {
910 SWIG_MakePtr(ptemp
,(char *) &wxNullPalette
,"_wxPalette_p");
911 pyobj
= PyString_FromString(ptemp
);
915 static int _wrap_wxNullFont_set(PyObject
*val
) {
917 PyErr_SetString(PyExc_TypeError
,"Variable wxNullFont is read-only.");
921 static PyObject
*_wrap_wxNullFont_get() {
925 SWIG_MakePtr(ptemp
,(char *) &wxNullFont
,"_wxFont_p");
926 pyobj
= PyString_FromString(ptemp
);
930 static int _wrap_wxNullColour_set(PyObject
*val
) {
932 PyErr_SetString(PyExc_TypeError
,"Variable wxNullColour is read-only.");
936 static PyObject
*_wrap_wxNullColour_get() {
940 SWIG_MakePtr(ptemp
,(char *) &wxNullColour
,"_wxColour_p");
941 pyobj
= PyString_FromString(ptemp
);
945 #define new_wxBitmap(_swigarg0,_swigarg1) (new wxBitmap(_swigarg0,_swigarg1))
946 static PyObject
*_wrap_new_wxBitmap(PyObject
*self
, PyObject
*args
) {
947 PyObject
* _resultobj
;
951 PyObject
* _obj0
= 0;
955 if(!PyArg_ParseTuple(args
,"Ol:new_wxBitmap",&_obj0
,&_arg1
))
958 if (!PyString_Check(_obj0
)) {
959 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
962 _arg0
= new wxString(PyString_AsString(_obj0
));
964 _result
= (wxBitmap
*)new_wxBitmap(*_arg0
,_arg1
);
965 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
966 _resultobj
= Py_BuildValue("s",_ptemp
);
974 #define delete_wxBitmap(_swigobj) (delete _swigobj)
975 static PyObject
*_wrap_delete_wxBitmap(PyObject
*self
, PyObject
*args
) {
976 PyObject
* _resultobj
;
981 if(!PyArg_ParseTuple(args
,"s:delete_wxBitmap",&_argc0
))
984 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBitmap. Expected _wxBitmap_p.");
989 delete_wxBitmap(_arg0
);
991 _resultobj
= Py_None
;
995 #define wxBitmap_GetDepth(_swigobj) (_swigobj->GetDepth())
996 static PyObject
*_wrap_wxBitmap_GetDepth(PyObject
*self
, PyObject
*args
) {
997 PyObject
* _resultobj
;
1003 if(!PyArg_ParseTuple(args
,"s:wxBitmap_GetDepth",&_argc0
))
1006 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetDepth. Expected _wxBitmap_p.");
1011 _result
= (int )wxBitmap_GetDepth(_arg0
);
1012 _resultobj
= Py_BuildValue("i",_result
);
1016 #define wxBitmap_GetHeight(_swigobj) (_swigobj->GetHeight())
1017 static PyObject
*_wrap_wxBitmap_GetHeight(PyObject
*self
, PyObject
*args
) {
1018 PyObject
* _resultobj
;
1024 if(!PyArg_ParseTuple(args
,"s:wxBitmap_GetHeight",&_argc0
))
1027 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetHeight. Expected _wxBitmap_p.");
1032 _result
= (int )wxBitmap_GetHeight(_arg0
);
1033 _resultobj
= Py_BuildValue("i",_result
);
1037 #define wxBitmap_GetPalette(_swigobj) (_swigobj->GetPalette())
1038 static PyObject
*_wrap_wxBitmap_GetPalette(PyObject
*self
, PyObject
*args
) {
1039 PyObject
* _resultobj
;
1040 wxPalette
* _result
;
1046 if(!PyArg_ParseTuple(args
,"s:wxBitmap_GetPalette",&_argc0
))
1049 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetPalette. Expected _wxBitmap_p.");
1054 _result
= (wxPalette
*)wxBitmap_GetPalette(_arg0
);
1055 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
1056 _resultobj
= Py_BuildValue("s",_ptemp
);
1060 #define wxBitmap_GetMask(_swigobj) (_swigobj->GetMask())
1061 static PyObject
*_wrap_wxBitmap_GetMask(PyObject
*self
, PyObject
*args
) {
1062 PyObject
* _resultobj
;
1069 if(!PyArg_ParseTuple(args
,"s:wxBitmap_GetMask",&_argc0
))
1072 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetMask. Expected _wxBitmap_p.");
1077 _result
= (wxMask
*)wxBitmap_GetMask(_arg0
);
1078 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
1079 _resultobj
= Py_BuildValue("s",_ptemp
);
1083 #define wxBitmap_GetWidth(_swigobj) (_swigobj->GetWidth())
1084 static PyObject
*_wrap_wxBitmap_GetWidth(PyObject
*self
, PyObject
*args
) {
1085 PyObject
* _resultobj
;
1091 if(!PyArg_ParseTuple(args
,"s:wxBitmap_GetWidth",&_argc0
))
1094 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetWidth. Expected _wxBitmap_p.");
1099 _result
= (int )wxBitmap_GetWidth(_arg0
);
1100 _resultobj
= Py_BuildValue("i",_result
);
1104 #define wxBitmap_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1105 static PyObject
*_wrap_wxBitmap_LoadFile(PyObject
*self
, PyObject
*args
) {
1106 PyObject
* _resultobj
;
1112 PyObject
* _obj1
= 0;
1115 if(!PyArg_ParseTuple(args
,"sOl:wxBitmap_LoadFile",&_argc0
,&_obj1
,&_arg2
))
1118 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_LoadFile. Expected _wxBitmap_p.");
1124 if (!PyString_Check(_obj1
)) {
1125 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1128 _arg1
= new wxString(PyString_AsString(_obj1
));
1130 _result
= (bool )wxBitmap_LoadFile(_arg0
,*_arg1
,_arg2
);
1131 _resultobj
= Py_BuildValue("i",_result
);
1139 #define wxBitmap_Ok(_swigobj) (_swigobj->Ok())
1140 static PyObject
*_wrap_wxBitmap_Ok(PyObject
*self
, PyObject
*args
) {
1141 PyObject
* _resultobj
;
1147 if(!PyArg_ParseTuple(args
,"s:wxBitmap_Ok",&_argc0
))
1150 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_Ok. Expected _wxBitmap_p.");
1155 _result
= (bool )wxBitmap_Ok(_arg0
);
1156 _resultobj
= Py_BuildValue("i",_result
);
1160 #define wxBitmap_SaveFile(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SaveFile(_swigarg0,_swigarg1,_swigarg2))
1161 static PyObject
*_wrap_wxBitmap_SaveFile(PyObject
*self
, PyObject
*args
) {
1162 PyObject
* _resultobj
;
1167 wxPalette
* _arg3
= NULL
;
1169 PyObject
* _obj1
= 0;
1173 if(!PyArg_ParseTuple(args
,"sOi|s:wxBitmap_SaveFile",&_argc0
,&_obj1
,&_arg2
,&_argc3
))
1176 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SaveFile. Expected _wxBitmap_p.");
1182 if (!PyString_Check(_obj1
)) {
1183 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1186 _arg1
= new wxString(PyString_AsString(_obj1
));
1189 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxPalette_p")) {
1190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxBitmap_SaveFile. Expected _wxPalette_p.");
1194 _result
= (bool )wxBitmap_SaveFile(_arg0
,*_arg1
,_arg2
,_arg3
);
1195 _resultobj
= Py_BuildValue("i",_result
);
1203 #define wxBitmap_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
1204 static PyObject
*_wrap_wxBitmap_SetDepth(PyObject
*self
, PyObject
*args
) {
1205 PyObject
* _resultobj
;
1211 if(!PyArg_ParseTuple(args
,"si:wxBitmap_SetDepth",&_argc0
,&_arg1
))
1214 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetDepth. Expected _wxBitmap_p.");
1219 wxBitmap_SetDepth(_arg0
,_arg1
);
1221 _resultobj
= Py_None
;
1225 #define wxBitmap_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1226 static PyObject
*_wrap_wxBitmap_SetHeight(PyObject
*self
, PyObject
*args
) {
1227 PyObject
* _resultobj
;
1233 if(!PyArg_ParseTuple(args
,"si:wxBitmap_SetHeight",&_argc0
,&_arg1
))
1236 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetHeight. Expected _wxBitmap_p.");
1241 wxBitmap_SetHeight(_arg0
,_arg1
);
1243 _resultobj
= Py_None
;
1247 #define wxBitmap_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
1248 static PyObject
*_wrap_wxBitmap_SetMask(PyObject
*self
, PyObject
*args
) {
1249 PyObject
* _resultobj
;
1256 if(!PyArg_ParseTuple(args
,"ss:wxBitmap_SetMask",&_argc0
,&_argc1
))
1259 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetMask. Expected _wxBitmap_p.");
1265 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxMask_p")) {
1266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_SetMask. Expected _wxMask_p.");
1270 wxBitmap_SetMask(_arg0
,_arg1
);
1272 _resultobj
= Py_None
;
1276 #define wxBitmap_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1277 static PyObject
*_wrap_wxBitmap_SetWidth(PyObject
*self
, PyObject
*args
) {
1278 PyObject
* _resultobj
;
1284 if(!PyArg_ParseTuple(args
,"si:wxBitmap_SetWidth",&_argc0
,&_arg1
))
1287 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetWidth. Expected _wxBitmap_p.");
1292 wxBitmap_SetWidth(_arg0
,_arg1
);
1294 _resultobj
= Py_None
;
1298 #define new_wxMask(_swigarg0) (new wxMask(_swigarg0))
1299 static PyObject
*_wrap_new_wxMask(PyObject
*self
, PyObject
*args
) {
1300 PyObject
* _resultobj
;
1307 if(!PyArg_ParseTuple(args
,"s:new_wxMask",&_argc0
))
1310 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMask. Expected _wxBitmap_p.");
1315 _result
= (wxMask
*)new_wxMask(*_arg0
);
1316 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
1317 _resultobj
= Py_BuildValue("s",_ptemp
);
1321 #define delete_wxMask(_swigobj) (delete _swigobj)
1322 static PyObject
*_wrap_delete_wxMask(PyObject
*self
, PyObject
*args
) {
1323 PyObject
* _resultobj
;
1328 if(!PyArg_ParseTuple(args
,"s:delete_wxMask",&_argc0
))
1331 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMask_p")) {
1332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMask. Expected _wxMask_p.");
1336 delete_wxMask(_arg0
);
1338 _resultobj
= Py_None
;
1342 static void *SwigwxIconTowxBitmap(void *ptr
) {
1345 src
= (wxIcon
*) ptr
;
1346 dest
= (wxBitmap
*) src
;
1347 return (void *) dest
;
1350 #define delete_wxIcon(_swigobj) (delete _swigobj)
1351 static PyObject
*_wrap_delete_wxIcon(PyObject
*self
, PyObject
*args
) {
1352 PyObject
* _resultobj
;
1357 if(!PyArg_ParseTuple(args
,"s:delete_wxIcon",&_argc0
))
1360 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxIcon. Expected _wxIcon_p.");
1365 delete_wxIcon(_arg0
);
1367 _resultobj
= Py_None
;
1371 #define wxIcon_GetDepth(_swigobj) (_swigobj->GetDepth())
1372 static PyObject
*_wrap_wxIcon_GetDepth(PyObject
*self
, PyObject
*args
) {
1373 PyObject
* _resultobj
;
1379 if(!PyArg_ParseTuple(args
,"s:wxIcon_GetDepth",&_argc0
))
1382 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetDepth. Expected _wxIcon_p.");
1387 _result
= (int )wxIcon_GetDepth(_arg0
);
1388 _resultobj
= Py_BuildValue("i",_result
);
1392 #define wxIcon_GetHeight(_swigobj) (_swigobj->GetHeight())
1393 static PyObject
*_wrap_wxIcon_GetHeight(PyObject
*self
, PyObject
*args
) {
1394 PyObject
* _resultobj
;
1400 if(!PyArg_ParseTuple(args
,"s:wxIcon_GetHeight",&_argc0
))
1403 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetHeight. Expected _wxIcon_p.");
1408 _result
= (int )wxIcon_GetHeight(_arg0
);
1409 _resultobj
= Py_BuildValue("i",_result
);
1413 #define wxIcon_GetWidth(_swigobj) (_swigobj->GetWidth())
1414 static PyObject
*_wrap_wxIcon_GetWidth(PyObject
*self
, PyObject
*args
) {
1415 PyObject
* _resultobj
;
1421 if(!PyArg_ParseTuple(args
,"s:wxIcon_GetWidth",&_argc0
))
1424 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetWidth. Expected _wxIcon_p.");
1429 _result
= (int )wxIcon_GetWidth(_arg0
);
1430 _resultobj
= Py_BuildValue("i",_result
);
1434 #define wxIcon_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1435 static PyObject
*_wrap_wxIcon_LoadFile(PyObject
*self
, PyObject
*args
) {
1436 PyObject
* _resultobj
;
1442 PyObject
* _obj1
= 0;
1445 if(!PyArg_ParseTuple(args
,"sOl:wxIcon_LoadFile",&_argc0
,&_obj1
,&_arg2
))
1448 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_LoadFile. Expected _wxIcon_p.");
1454 if (!PyString_Check(_obj1
)) {
1455 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1458 _arg1
= new wxString(PyString_AsString(_obj1
));
1460 _result
= (bool )wxIcon_LoadFile(_arg0
,*_arg1
,_arg2
);
1461 _resultobj
= Py_BuildValue("i",_result
);
1469 #define wxIcon_Ok(_swigobj) (_swigobj->Ok())
1470 static PyObject
*_wrap_wxIcon_Ok(PyObject
*self
, PyObject
*args
) {
1471 PyObject
* _resultobj
;
1477 if(!PyArg_ParseTuple(args
,"s:wxIcon_Ok",&_argc0
))
1480 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_Ok. Expected _wxIcon_p.");
1485 _result
= (bool )wxIcon_Ok(_arg0
);
1486 _resultobj
= Py_BuildValue("i",_result
);
1490 #define wxIcon_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
1491 static PyObject
*_wrap_wxIcon_SetDepth(PyObject
*self
, PyObject
*args
) {
1492 PyObject
* _resultobj
;
1498 if(!PyArg_ParseTuple(args
,"si:wxIcon_SetDepth",&_argc0
,&_arg1
))
1501 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetDepth. Expected _wxIcon_p.");
1506 wxIcon_SetDepth(_arg0
,_arg1
);
1508 _resultobj
= Py_None
;
1512 #define wxIcon_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1513 static PyObject
*_wrap_wxIcon_SetHeight(PyObject
*self
, PyObject
*args
) {
1514 PyObject
* _resultobj
;
1520 if(!PyArg_ParseTuple(args
,"si:wxIcon_SetHeight",&_argc0
,&_arg1
))
1523 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetHeight. Expected _wxIcon_p.");
1528 wxIcon_SetHeight(_arg0
,_arg1
);
1530 _resultobj
= Py_None
;
1534 #define wxIcon_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1535 static PyObject
*_wrap_wxIcon_SetWidth(PyObject
*self
, PyObject
*args
) {
1536 PyObject
* _resultobj
;
1542 if(!PyArg_ParseTuple(args
,"si:wxIcon_SetWidth",&_argc0
,&_arg1
))
1545 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetWidth. Expected _wxIcon_p.");
1550 wxIcon_SetWidth(_arg0
,_arg1
);
1552 _resultobj
= Py_None
;
1556 static void *SwigwxCursorTowxBitmap(void *ptr
) {
1559 src
= (wxCursor
*) ptr
;
1560 dest
= (wxBitmap
*) src
;
1561 return (void *) dest
;
1564 #define delete_wxCursor(_swigobj) (delete _swigobj)
1565 static PyObject
*_wrap_delete_wxCursor(PyObject
*self
, PyObject
*args
) {
1566 PyObject
* _resultobj
;
1571 if(!PyArg_ParseTuple(args
,"s:delete_wxCursor",&_argc0
))
1574 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxCursor_p")) {
1575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCursor. Expected _wxCursor_p.");
1579 delete_wxCursor(_arg0
);
1581 _resultobj
= Py_None
;
1585 #define wxCursor_Ok(_swigobj) (_swigobj->Ok())
1586 static PyObject
*_wrap_wxCursor_Ok(PyObject
*self
, PyObject
*args
) {
1587 PyObject
* _resultobj
;
1593 if(!PyArg_ParseTuple(args
,"s:wxCursor_Ok",&_argc0
))
1596 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxCursor_p")) {
1597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_Ok. Expected _wxCursor_p.");
1601 _result
= (bool )wxCursor_Ok(_arg0
);
1602 _resultobj
= Py_BuildValue("i",_result
);
1606 static wxFont
*new_wxFont(int pointSize
,int family
,int style
,int weight
,int underline
,char *faceName
) {
1608 return wxTheFontList
->FindOrCreateFont(pointSize
, family
, style
, weight
,
1609 underline
, faceName
);
1612 static PyObject
*_wrap_new_wxFont(PyObject
*self
, PyObject
*args
) {
1613 PyObject
* _resultobj
;
1624 if(!PyArg_ParseTuple(args
,"iiii|is:new_wxFont",&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
1626 _result
= (wxFont
*)new_wxFont(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1627 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1628 _resultobj
= Py_BuildValue("s",_ptemp
);
1632 #define wxFont_GetFaceName(_swigobj) (_swigobj->GetFaceName())
1633 static PyObject
*_wrap_wxFont_GetFaceName(PyObject
*self
, PyObject
*args
) {
1634 PyObject
* _resultobj
;
1640 if(!PyArg_ParseTuple(args
,"s:wxFont_GetFaceName",&_argc0
))
1643 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFaceName. Expected _wxFont_p.");
1648 _result
= new wxString (wxFont_GetFaceName(_arg0
));
1650 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1658 #define wxFont_GetFamily(_swigobj) (_swigobj->GetFamily())
1659 static PyObject
*_wrap_wxFont_GetFamily(PyObject
*self
, PyObject
*args
) {
1660 PyObject
* _resultobj
;
1666 if(!PyArg_ParseTuple(args
,"s:wxFont_GetFamily",&_argc0
))
1669 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFamily. Expected _wxFont_p.");
1674 _result
= (int )wxFont_GetFamily(_arg0
);
1675 _resultobj
= Py_BuildValue("i",_result
);
1679 #define wxFont_GetFontId(_swigobj) (_swigobj->GetFontId())
1680 static PyObject
*_wrap_wxFont_GetFontId(PyObject
*self
, PyObject
*args
) {
1681 PyObject
* _resultobj
;
1687 if(!PyArg_ParseTuple(args
,"s:wxFont_GetFontId",&_argc0
))
1690 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFontId. Expected _wxFont_p.");
1695 _result
= (int )wxFont_GetFontId(_arg0
);
1696 _resultobj
= Py_BuildValue("i",_result
);
1700 #define wxFont_GetPointSize(_swigobj) (_swigobj->GetPointSize())
1701 static PyObject
*_wrap_wxFont_GetPointSize(PyObject
*self
, PyObject
*args
) {
1702 PyObject
* _resultobj
;
1708 if(!PyArg_ParseTuple(args
,"s:wxFont_GetPointSize",&_argc0
))
1711 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetPointSize. Expected _wxFont_p.");
1716 _result
= (int )wxFont_GetPointSize(_arg0
);
1717 _resultobj
= Py_BuildValue("i",_result
);
1721 #define wxFont_GetStyle(_swigobj) (_swigobj->GetStyle())
1722 static PyObject
*_wrap_wxFont_GetStyle(PyObject
*self
, PyObject
*args
) {
1723 PyObject
* _resultobj
;
1729 if(!PyArg_ParseTuple(args
,"s:wxFont_GetStyle",&_argc0
))
1732 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetStyle. Expected _wxFont_p.");
1737 _result
= (int )wxFont_GetStyle(_arg0
);
1738 _resultobj
= Py_BuildValue("i",_result
);
1742 #define wxFont_GetUnderlined(_swigobj) (_swigobj->GetUnderlined())
1743 static PyObject
*_wrap_wxFont_GetUnderlined(PyObject
*self
, PyObject
*args
) {
1744 PyObject
* _resultobj
;
1750 if(!PyArg_ParseTuple(args
,"s:wxFont_GetUnderlined",&_argc0
))
1753 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetUnderlined. Expected _wxFont_p.");
1758 _result
= (bool )wxFont_GetUnderlined(_arg0
);
1759 _resultobj
= Py_BuildValue("i",_result
);
1763 #define wxFont_GetWeight(_swigobj) (_swigobj->GetWeight())
1764 static PyObject
*_wrap_wxFont_GetWeight(PyObject
*self
, PyObject
*args
) {
1765 PyObject
* _resultobj
;
1771 if(!PyArg_ParseTuple(args
,"s:wxFont_GetWeight",&_argc0
))
1774 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetWeight. Expected _wxFont_p.");
1779 _result
= (int )wxFont_GetWeight(_arg0
);
1780 _resultobj
= Py_BuildValue("i",_result
);
1784 #define new_wxColour(_swigarg0,_swigarg1,_swigarg2) (new wxColour(_swigarg0,_swigarg1,_swigarg2))
1785 static PyObject
*_wrap_new_wxColour(PyObject
*self
, PyObject
*args
) {
1786 PyObject
* _resultobj
;
1788 unsigned char _arg0
= 0;
1789 unsigned char _arg1
= 0;
1790 unsigned char _arg2
= 0;
1794 if(!PyArg_ParseTuple(args
,"|bbb:new_wxColour",&_arg0
,&_arg1
,&_arg2
))
1796 _result
= (wxColour
*)new_wxColour(_arg0
,_arg1
,_arg2
);
1797 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1798 _resultobj
= Py_BuildValue("s",_ptemp
);
1802 #define delete_wxColour(_swigobj) (delete _swigobj)
1803 static PyObject
*_wrap_delete_wxColour(PyObject
*self
, PyObject
*args
) {
1804 PyObject
* _resultobj
;
1809 if(!PyArg_ParseTuple(args
,"s:delete_wxColour",&_argc0
))
1812 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
1813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxColour. Expected _wxColour_p.");
1817 delete_wxColour(_arg0
);
1819 _resultobj
= Py_None
;
1823 #define wxColour_Red(_swigobj) (_swigobj->Red())
1824 static PyObject
*_wrap_wxColour_Red(PyObject
*self
, PyObject
*args
) {
1825 PyObject
* _resultobj
;
1826 unsigned char _result
;
1831 if(!PyArg_ParseTuple(args
,"s:wxColour_Red",&_argc0
))
1834 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
1835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Red. Expected _wxColour_p.");
1839 _result
= (unsigned char )wxColour_Red(_arg0
);
1840 _resultobj
= Py_BuildValue("b",_result
);
1844 #define wxColour_Green(_swigobj) (_swigobj->Green())
1845 static PyObject
*_wrap_wxColour_Green(PyObject
*self
, PyObject
*args
) {
1846 PyObject
* _resultobj
;
1847 unsigned char _result
;
1852 if(!PyArg_ParseTuple(args
,"s:wxColour_Green",&_argc0
))
1855 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
1856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Green. Expected _wxColour_p.");
1860 _result
= (unsigned char )wxColour_Green(_arg0
);
1861 _resultobj
= Py_BuildValue("b",_result
);
1865 #define wxColour_Blue(_swigobj) (_swigobj->Blue())
1866 static PyObject
*_wrap_wxColour_Blue(PyObject
*self
, PyObject
*args
) {
1867 PyObject
* _resultobj
;
1868 unsigned char _result
;
1873 if(!PyArg_ParseTuple(args
,"s:wxColour_Blue",&_argc0
))
1876 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
1877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Blue. Expected _wxColour_p.");
1881 _result
= (unsigned char )wxColour_Blue(_arg0
);
1882 _resultobj
= Py_BuildValue("b",_result
);
1886 #define wxColour_Ok(_swigobj) (_swigobj->Ok())
1887 static PyObject
*_wrap_wxColour_Ok(PyObject
*self
, PyObject
*args
) {
1888 PyObject
* _resultobj
;
1894 if(!PyArg_ParseTuple(args
,"s:wxColour_Ok",&_argc0
))
1897 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
1898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Ok. Expected _wxColour_p.");
1902 _result
= (bool )wxColour_Ok(_arg0
);
1903 _resultobj
= Py_BuildValue("i",_result
);
1907 #define wxColour_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
1908 static PyObject
*_wrap_wxColour_Set(PyObject
*self
, PyObject
*args
) {
1909 PyObject
* _resultobj
;
1911 unsigned char _arg1
;
1912 unsigned char _arg2
;
1913 unsigned char _arg3
;
1917 if(!PyArg_ParseTuple(args
,"sbbb:wxColour_Set",&_argc0
,&_arg1
,&_arg2
,&_arg3
))
1920 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
1921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Set. Expected _wxColour_p.");
1925 wxColour_Set(_arg0
,_arg1
,_arg2
,_arg3
);
1927 _resultobj
= Py_None
;
1931 static PyObject
* wxColour_Get(wxColour
*self
) {
1932 PyObject
* rv
= PyTuple_New(3);
1933 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
1934 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
1935 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
1938 static PyObject
*_wrap_wxColour_Get(PyObject
*self
, PyObject
*args
) {
1939 PyObject
* _resultobj
;
1945 if(!PyArg_ParseTuple(args
,"s:wxColour_Get",&_argc0
))
1948 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
1949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Get. Expected _wxColour_p.");
1953 _result
= (PyObject
*)wxColour_Get(_arg0
);
1955 _resultobj
= _result
;
1960 static wxPen
*new_wxPen(wxColour
*colour
,int width
,int style
) {
1961 return wxThePenList
->FindOrCreatePen(*colour
, width
, style
);
1964 static PyObject
*_wrap_new_wxPen(PyObject
*self
, PyObject
*args
) {
1965 PyObject
* _resultobj
;
1969 int _arg2
= (wxSOLID
);
1974 if(!PyArg_ParseTuple(args
,"s|ii:new_wxPen",&_argc0
,&_arg1
,&_arg2
))
1977 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
1978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPen. Expected _wxColour_p.");
1982 _result
= (wxPen
*)new_wxPen(_arg0
,_arg1
,_arg2
);
1983 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
1984 _resultobj
= Py_BuildValue("s",_ptemp
);
1988 #define wxPen_GetCap(_swigobj) (_swigobj->GetCap())
1989 static PyObject
*_wrap_wxPen_GetCap(PyObject
*self
, PyObject
*args
) {
1990 PyObject
* _resultobj
;
1996 if(!PyArg_ParseTuple(args
,"s:wxPen_GetCap",&_argc0
))
1999 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetCap. Expected _wxPen_p.");
2004 _result
= (int )wxPen_GetCap(_arg0
);
2005 _resultobj
= Py_BuildValue("i",_result
);
2009 #define wxPen_GetColour(_swigobj) (_swigobj->GetColour())
2010 static PyObject
*_wrap_wxPen_GetColour(PyObject
*self
, PyObject
*args
) {
2011 PyObject
* _resultobj
;
2018 if(!PyArg_ParseTuple(args
,"s:wxPen_GetColour",&_argc0
))
2021 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetColour. Expected _wxPen_p.");
2026 wxColour
& _result_ref
= wxPen_GetColour(_arg0
);
2027 _result
= (wxColour
*) &_result_ref
;
2028 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
2029 _resultobj
= Py_BuildValue("s",_ptemp
);
2033 #define wxPen_GetJoin(_swigobj) (_swigobj->GetJoin())
2034 static PyObject
*_wrap_wxPen_GetJoin(PyObject
*self
, PyObject
*args
) {
2035 PyObject
* _resultobj
;
2041 if(!PyArg_ParseTuple(args
,"s:wxPen_GetJoin",&_argc0
))
2044 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetJoin. Expected _wxPen_p.");
2049 _result
= (int )wxPen_GetJoin(_arg0
);
2050 _resultobj
= Py_BuildValue("i",_result
);
2054 #define wxPen_GetStyle(_swigobj) (_swigobj->GetStyle())
2055 static PyObject
*_wrap_wxPen_GetStyle(PyObject
*self
, PyObject
*args
) {
2056 PyObject
* _resultobj
;
2062 if(!PyArg_ParseTuple(args
,"s:wxPen_GetStyle",&_argc0
))
2065 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetStyle. Expected _wxPen_p.");
2070 _result
= (int )wxPen_GetStyle(_arg0
);
2071 _resultobj
= Py_BuildValue("i",_result
);
2075 #define wxPen_GetWidth(_swigobj) (_swigobj->GetWidth())
2076 static PyObject
*_wrap_wxPen_GetWidth(PyObject
*self
, PyObject
*args
) {
2077 PyObject
* _resultobj
;
2083 if(!PyArg_ParseTuple(args
,"s:wxPen_GetWidth",&_argc0
))
2086 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetWidth. Expected _wxPen_p.");
2091 _result
= (int )wxPen_GetWidth(_arg0
);
2092 _resultobj
= Py_BuildValue("i",_result
);
2096 #define wxPen_Ok(_swigobj) (_swigobj->Ok())
2097 static PyObject
*_wrap_wxPen_Ok(PyObject
*self
, PyObject
*args
) {
2098 PyObject
* _resultobj
;
2104 if(!PyArg_ParseTuple(args
,"s:wxPen_Ok",&_argc0
))
2107 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_Ok. Expected _wxPen_p.");
2112 _result
= (bool )wxPen_Ok(_arg0
);
2113 _resultobj
= Py_BuildValue("i",_result
);
2117 #define wxPen_SetCap(_swigobj,_swigarg0) (_swigobj->SetCap(_swigarg0))
2118 static PyObject
*_wrap_wxPen_SetCap(PyObject
*self
, PyObject
*args
) {
2119 PyObject
* _resultobj
;
2125 if(!PyArg_ParseTuple(args
,"si:wxPen_SetCap",&_argc0
,&_arg1
))
2128 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetCap. Expected _wxPen_p.");
2133 wxPen_SetCap(_arg0
,_arg1
);
2135 _resultobj
= Py_None
;
2139 #define wxPen_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
2140 static PyObject
*_wrap_wxPen_SetColour(PyObject
*self
, PyObject
*args
) {
2141 PyObject
* _resultobj
;
2148 if(!PyArg_ParseTuple(args
,"ss:wxPen_SetColour",&_argc0
,&_argc1
))
2151 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetColour. Expected _wxPen_p.");
2157 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
2158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPen_SetColour. Expected _wxColour_p.");
2162 wxPen_SetColour(_arg0
,*_arg1
);
2164 _resultobj
= Py_None
;
2168 #define wxPen_SetJoin(_swigobj,_swigarg0) (_swigobj->SetJoin(_swigarg0))
2169 static PyObject
*_wrap_wxPen_SetJoin(PyObject
*self
, PyObject
*args
) {
2170 PyObject
* _resultobj
;
2176 if(!PyArg_ParseTuple(args
,"si:wxPen_SetJoin",&_argc0
,&_arg1
))
2179 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetJoin. Expected _wxPen_p.");
2184 wxPen_SetJoin(_arg0
,_arg1
);
2186 _resultobj
= Py_None
;
2190 #define wxPen_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
2191 static PyObject
*_wrap_wxPen_SetStyle(PyObject
*self
, PyObject
*args
) {
2192 PyObject
* _resultobj
;
2198 if(!PyArg_ParseTuple(args
,"si:wxPen_SetStyle",&_argc0
,&_arg1
))
2201 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetStyle. Expected _wxPen_p.");
2206 wxPen_SetStyle(_arg0
,_arg1
);
2208 _resultobj
= Py_None
;
2212 #define wxPen_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2213 static PyObject
*_wrap_wxPen_SetWidth(PyObject
*self
, PyObject
*args
) {
2214 PyObject
* _resultobj
;
2220 if(!PyArg_ParseTuple(args
,"si:wxPen_SetWidth",&_argc0
,&_arg1
))
2223 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetWidth. Expected _wxPen_p.");
2228 wxPen_SetWidth(_arg0
,_arg1
);
2230 _resultobj
= Py_None
;
2234 static wxBrush
*new_wxBrush(wxColour
*colour
,int style
) {
2235 return wxTheBrushList
->FindOrCreateBrush(*colour
, style
);
2238 static PyObject
*_wrap_new_wxBrush(PyObject
*self
, PyObject
*args
) {
2239 PyObject
* _resultobj
;
2242 int _arg1
= (wxSOLID
);
2247 if(!PyArg_ParseTuple(args
,"s|i:new_wxBrush",&_argc0
,&_arg1
))
2250 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBrush. Expected _wxColour_p.");
2255 _result
= (wxBrush
*)new_wxBrush(_arg0
,_arg1
);
2256 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
2257 _resultobj
= Py_BuildValue("s",_ptemp
);
2261 #define wxBrush_GetColour(_swigobj) (_swigobj->GetColour())
2262 static PyObject
*_wrap_wxBrush_GetColour(PyObject
*self
, PyObject
*args
) {
2263 PyObject
* _resultobj
;
2270 if(!PyArg_ParseTuple(args
,"s:wxBrush_GetColour",&_argc0
))
2273 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBrush_p")) {
2274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetColour. Expected _wxBrush_p.");
2278 wxColour
& _result_ref
= wxBrush_GetColour(_arg0
);
2279 _result
= (wxColour
*) &_result_ref
;
2280 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
2281 _resultobj
= Py_BuildValue("s",_ptemp
);
2285 #define wxBrush_GetStipple(_swigobj) (_swigobj->GetStipple())
2286 static PyObject
*_wrap_wxBrush_GetStipple(PyObject
*self
, PyObject
*args
) {
2287 PyObject
* _resultobj
;
2294 if(!PyArg_ParseTuple(args
,"s:wxBrush_GetStipple",&_argc0
))
2297 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBrush_p")) {
2298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStipple. Expected _wxBrush_p.");
2302 _result
= (wxBitmap
*)wxBrush_GetStipple(_arg0
);
2303 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
2304 _resultobj
= Py_BuildValue("s",_ptemp
);
2308 #define wxBrush_GetStyle(_swigobj) (_swigobj->GetStyle())
2309 static PyObject
*_wrap_wxBrush_GetStyle(PyObject
*self
, PyObject
*args
) {
2310 PyObject
* _resultobj
;
2316 if(!PyArg_ParseTuple(args
,"s:wxBrush_GetStyle",&_argc0
))
2319 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBrush_p")) {
2320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStyle. Expected _wxBrush_p.");
2324 _result
= (int )wxBrush_GetStyle(_arg0
);
2325 _resultobj
= Py_BuildValue("i",_result
);
2329 #define wxBrush_Ok(_swigobj) (_swigobj->Ok())
2330 static PyObject
*_wrap_wxBrush_Ok(PyObject
*self
, PyObject
*args
) {
2331 PyObject
* _resultobj
;
2337 if(!PyArg_ParseTuple(args
,"s:wxBrush_Ok",&_argc0
))
2340 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBrush_p")) {
2341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_Ok. Expected _wxBrush_p.");
2345 _result
= (bool )wxBrush_Ok(_arg0
);
2346 _resultobj
= Py_BuildValue("i",_result
);
2350 #define delete_wxDC(_swigobj) (delete _swigobj)
2351 static PyObject
*_wrap_delete_wxDC(PyObject
*self
, PyObject
*args
) {
2352 PyObject
* _resultobj
;
2357 if(!PyArg_ParseTuple(args
,"s:delete_wxDC",&_argc0
))
2360 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDC. Expected _wxDC_p.");
2367 _resultobj
= Py_None
;
2371 #define wxDC_BeginDrawing(_swigobj) (_swigobj->BeginDrawing())
2372 static PyObject
*_wrap_wxDC_BeginDrawing(PyObject
*self
, PyObject
*args
) {
2373 PyObject
* _resultobj
;
2378 if(!PyArg_ParseTuple(args
,"s:wxDC_BeginDrawing",&_argc0
))
2381 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_BeginDrawing. Expected _wxDC_p.");
2386 wxDC_BeginDrawing(_arg0
);
2388 _resultobj
= Py_None
;
2392 #define wxDC_Blit(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Blit(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
2393 static PyObject
*_wrap_wxDC_Blit(PyObject
*self
, PyObject
*args
) {
2394 PyObject
* _resultobj
;
2409 if(!PyArg_ParseTuple(args
,"sllllslll:wxDC_Blit",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_argc5
,&_arg6
,&_arg7
,&_arg8
))
2412 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Blit. Expected _wxDC_p.");
2418 if (SWIG_GetPtr(_argc5
,(void **) &_arg5
,"_wxDC_p")) {
2419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxDC_Blit. Expected _wxDC_p.");
2423 _result
= (bool )wxDC_Blit(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
);
2424 _resultobj
= Py_BuildValue("i",_result
);
2428 #define wxDC_Clear(_swigobj) (_swigobj->Clear())
2429 static PyObject
*_wrap_wxDC_Clear(PyObject
*self
, PyObject
*args
) {
2430 PyObject
* _resultobj
;
2435 if(!PyArg_ParseTuple(args
,"s:wxDC_Clear",&_argc0
))
2438 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Clear. Expected _wxDC_p.");
2445 _resultobj
= Py_None
;
2449 #define wxDC_CrossHair(_swigobj,_swigarg0,_swigarg1) (_swigobj->CrossHair(_swigarg0,_swigarg1))
2450 static PyObject
*_wrap_wxDC_CrossHair(PyObject
*self
, PyObject
*args
) {
2451 PyObject
* _resultobj
;
2458 if(!PyArg_ParseTuple(args
,"sll:wxDC_CrossHair",&_argc0
,&_arg1
,&_arg2
))
2461 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CrossHair. Expected _wxDC_p.");
2466 wxDC_CrossHair(_arg0
,_arg1
,_arg2
);
2468 _resultobj
= Py_None
;
2472 #define wxDC_DestroyClippingRegion(_swigobj) (_swigobj->DestroyClippingRegion())
2473 static PyObject
*_wrap_wxDC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
) {
2474 PyObject
* _resultobj
;
2479 if(!PyArg_ParseTuple(args
,"s:wxDC_DestroyClippingRegion",&_argc0
))
2482 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DestroyClippingRegion. Expected _wxDC_p.");
2487 wxDC_DestroyClippingRegion(_arg0
);
2489 _resultobj
= Py_None
;
2493 #define wxDC_DeviceToLogicalX(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalX(_swigarg0))
2494 static PyObject
*_wrap_wxDC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
) {
2495 PyObject
* _resultobj
;
2502 if(!PyArg_ParseTuple(args
,"sl:wxDC_DeviceToLogicalX",&_argc0
,&_arg1
))
2505 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalX. Expected _wxDC_p.");
2510 _result
= (long )wxDC_DeviceToLogicalX(_arg0
,_arg1
);
2511 _resultobj
= Py_BuildValue("l",_result
);
2515 #define wxDC_DeviceToLogicalXRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalXRel(_swigarg0))
2516 static PyObject
*_wrap_wxDC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
) {
2517 PyObject
* _resultobj
;
2524 if(!PyArg_ParseTuple(args
,"sl:wxDC_DeviceToLogicalXRel",&_argc0
,&_arg1
))
2527 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalXRel. Expected _wxDC_p.");
2532 _result
= (long )wxDC_DeviceToLogicalXRel(_arg0
,_arg1
);
2533 _resultobj
= Py_BuildValue("l",_result
);
2537 #define wxDC_DeviceToLogicalY(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalY(_swigarg0))
2538 static PyObject
*_wrap_wxDC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
) {
2539 PyObject
* _resultobj
;
2546 if(!PyArg_ParseTuple(args
,"sl:wxDC_DeviceToLogicalY",&_argc0
,&_arg1
))
2549 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalY. Expected _wxDC_p.");
2554 _result
= (long )wxDC_DeviceToLogicalY(_arg0
,_arg1
);
2555 _resultobj
= Py_BuildValue("l",_result
);
2559 #define wxDC_DeviceToLogicalYRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalYRel(_swigarg0))
2560 static PyObject
*_wrap_wxDC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
) {
2561 PyObject
* _resultobj
;
2568 if(!PyArg_ParseTuple(args
,"sl:wxDC_DeviceToLogicalYRel",&_argc0
,&_arg1
))
2571 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalYRel. Expected _wxDC_p.");
2576 _result
= (long )wxDC_DeviceToLogicalYRel(_arg0
,_arg1
);
2577 _resultobj
= Py_BuildValue("l",_result
);
2581 #define wxDC_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2582 static PyObject
*_wrap_wxDC_DrawArc(PyObject
*self
, PyObject
*args
) {
2583 PyObject
* _resultobj
;
2594 if(!PyArg_ParseTuple(args
,"sllllll:wxDC_DrawArc",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
2597 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawArc. Expected _wxDC_p.");
2602 wxDC_DrawArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2604 _resultobj
= Py_None
;
2608 #define wxDC_DrawEllipse(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawEllipse(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2609 static PyObject
*_wrap_wxDC_DrawEllipse(PyObject
*self
, PyObject
*args
) {
2610 PyObject
* _resultobj
;
2619 if(!PyArg_ParseTuple(args
,"sllll:wxDC_DrawEllipse",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2622 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipse. Expected _wxDC_p.");
2627 wxDC_DrawEllipse(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2629 _resultobj
= Py_None
;
2633 #define wxDC_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2634 static PyObject
*_wrap_wxDC_DrawEllipticArc(PyObject
*self
, PyObject
*args
) {
2635 PyObject
* _resultobj
;
2646 if(!PyArg_ParseTuple(args
,"sllllll:wxDC_DrawEllipticArc",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
2649 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipticArc. Expected _wxDC_p.");
2654 wxDC_DrawEllipticArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2656 _resultobj
= Py_None
;
2660 #define wxDC_DrawIcon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawIcon(_swigarg0,_swigarg1,_swigarg2))
2661 static PyObject
*_wrap_wxDC_DrawIcon(PyObject
*self
, PyObject
*args
) {
2662 PyObject
* _resultobj
;
2671 if(!PyArg_ParseTuple(args
,"ssll:wxDC_DrawIcon",&_argc0
,&_argc1
,&_arg2
,&_arg3
))
2674 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawIcon. Expected _wxDC_p.");
2680 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxIcon_p")) {
2681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawIcon. Expected _wxIcon_p.");
2685 wxDC_DrawIcon(_arg0
,*_arg1
,_arg2
,_arg3
);
2687 _resultobj
= Py_None
;
2691 #define wxDC_DrawLine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2692 static PyObject
*_wrap_wxDC_DrawLine(PyObject
*self
, PyObject
*args
) {
2693 PyObject
* _resultobj
;
2702 if(!PyArg_ParseTuple(args
,"sllll:wxDC_DrawLine",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2705 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLine. Expected _wxDC_p.");
2710 wxDC_DrawLine(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2712 _resultobj
= Py_None
;
2716 #define wxDC_DrawLines(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLines(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2717 static PyObject
*_wrap_wxDC_DrawLines(PyObject
*self
, PyObject
*args
) {
2718 PyObject
* _resultobj
;
2725 PyObject
* _obj2
= 0;
2728 if(!PyArg_ParseTuple(args
,"sO|ll:wxDC_DrawLines",&_argc0
,&_obj2
,&_arg3
,&_arg4
))
2731 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLines. Expected _wxDC_p.");
2738 _arg2
= wxPoint_LIST_helper(_obj2
);
2739 if (_arg2
== NULL
) {
2744 _arg1
= PyList_Size(_obj2
);
2746 wxDC_DrawLines(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2748 _resultobj
= Py_None
;
2755 #define wxDC_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2756 static PyObject
*_wrap_wxDC_DrawPolygon(PyObject
*self
, PyObject
*args
) {
2757 PyObject
* _resultobj
;
2763 int _arg5
= (wxODDEVEN_RULE
);
2765 PyObject
* _obj2
= 0;
2768 if(!PyArg_ParseTuple(args
,"sO|lli:wxDC_DrawPolygon",&_argc0
,&_obj2
,&_arg3
,&_arg4
,&_arg5
))
2771 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPolygon. Expected _wxDC_p.");
2778 _arg2
= wxPoint_LIST_helper(_obj2
);
2779 if (_arg2
== NULL
) {
2784 _arg1
= PyList_Size(_obj2
);
2786 wxDC_DrawPolygon(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2788 _resultobj
= Py_None
;
2795 #define wxDC_DrawPoint(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawPoint(_swigarg0,_swigarg1))
2796 static PyObject
*_wrap_wxDC_DrawPoint(PyObject
*self
, PyObject
*args
) {
2797 PyObject
* _resultobj
;
2804 if(!PyArg_ParseTuple(args
,"sll:wxDC_DrawPoint",&_argc0
,&_arg1
,&_arg2
))
2807 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPoint. Expected _wxDC_p.");
2812 wxDC_DrawPoint(_arg0
,_arg1
,_arg2
);
2814 _resultobj
= Py_None
;
2818 #define wxDC_DrawRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2819 static PyObject
*_wrap_wxDC_DrawRectangle(PyObject
*self
, PyObject
*args
) {
2820 PyObject
* _resultobj
;
2829 if(!PyArg_ParseTuple(args
,"sllll:wxDC_DrawRectangle",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2832 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRectangle. Expected _wxDC_p.");
2837 wxDC_DrawRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2839 _resultobj
= Py_None
;
2843 #define wxDC_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2844 static PyObject
*_wrap_wxDC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
) {
2845 PyObject
* _resultobj
;
2855 if(!PyArg_ParseTuple(args
,"sllll|l:wxDC_DrawRoundedRectangle",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2858 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRoundedRectangle. Expected _wxDC_p.");
2863 wxDC_DrawRoundedRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2865 _resultobj
= Py_None
;
2869 #define wxDC_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1))
2870 static PyObject
*_wrap_wxDC_DrawSpline(PyObject
*self
, PyObject
*args
) {
2871 PyObject
* _resultobj
;
2876 PyObject
* _obj2
= 0;
2879 if(!PyArg_ParseTuple(args
,"sO:wxDC_DrawSpline",&_argc0
,&_obj2
))
2882 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawSpline. Expected _wxDC_p.");
2889 _arg2
= wxPoint_LIST_helper(_obj2
);
2890 if (_arg2
== NULL
) {
2895 _arg1
= PyList_Size(_obj2
);
2897 wxDC_DrawSpline(_arg0
,_arg1
,_arg2
);
2899 _resultobj
= Py_None
;
2906 #define wxDC_DrawText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawText(_swigarg0,_swigarg1,_swigarg2))
2907 static PyObject
*_wrap_wxDC_DrawText(PyObject
*self
, PyObject
*args
) {
2908 PyObject
* _resultobj
;
2914 PyObject
* _obj1
= 0;
2917 if(!PyArg_ParseTuple(args
,"sOll:wxDC_DrawText",&_argc0
,&_obj1
,&_arg2
,&_arg3
))
2920 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawText. Expected _wxDC_p.");
2926 if (!PyString_Check(_obj1
)) {
2927 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2930 _arg1
= new wxString(PyString_AsString(_obj1
));
2932 wxDC_DrawText(_arg0
,*_arg1
,_arg2
,_arg3
);
2934 _resultobj
= Py_None
;
2942 #define wxDC_EndDoc(_swigobj) (_swigobj->EndDoc())
2943 static PyObject
*_wrap_wxDC_EndDoc(PyObject
*self
, PyObject
*args
) {
2944 PyObject
* _resultobj
;
2949 if(!PyArg_ParseTuple(args
,"s:wxDC_EndDoc",&_argc0
))
2952 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDoc. Expected _wxDC_p.");
2959 _resultobj
= Py_None
;
2963 #define wxDC_EndDrawing(_swigobj) (_swigobj->EndDrawing())
2964 static PyObject
*_wrap_wxDC_EndDrawing(PyObject
*self
, PyObject
*args
) {
2965 PyObject
* _resultobj
;
2970 if(!PyArg_ParseTuple(args
,"s:wxDC_EndDrawing",&_argc0
))
2973 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDrawing. Expected _wxDC_p.");
2978 wxDC_EndDrawing(_arg0
);
2980 _resultobj
= Py_None
;
2984 #define wxDC_EndPage(_swigobj) (_swigobj->EndPage())
2985 static PyObject
*_wrap_wxDC_EndPage(PyObject
*self
, PyObject
*args
) {
2986 PyObject
* _resultobj
;
2991 if(!PyArg_ParseTuple(args
,"s:wxDC_EndPage",&_argc0
))
2994 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndPage. Expected _wxDC_p.");
2999 wxDC_EndPage(_arg0
);
3001 _resultobj
= Py_None
;
3005 #define wxDC_FloodFill(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FloodFill(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3006 static PyObject
*_wrap_wxDC_FloodFill(PyObject
*self
, PyObject
*args
) {
3007 PyObject
* _resultobj
;
3012 int _arg4
= (wxFLOOD_SURFACE
);
3017 if(!PyArg_ParseTuple(args
,"slls|i:wxDC_FloodFill",&_argc0
,&_arg1
,&_arg2
,&_argc3
,&_arg4
))
3020 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_FloodFill. Expected _wxDC_p.");
3026 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxColour_p")) {
3027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDC_FloodFill. Expected _wxColour_p.");
3031 wxDC_FloodFill(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3033 _resultobj
= Py_None
;
3037 #define wxDC_GetBackground(_swigobj) (_swigobj->GetBackground())
3038 static PyObject
*_wrap_wxDC_GetBackground(PyObject
*self
, PyObject
*args
) {
3039 PyObject
* _resultobj
;
3046 if(!PyArg_ParseTuple(args
,"s:wxDC_GetBackground",&_argc0
))
3049 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBackground. Expected _wxDC_p.");
3054 _result
= (wxBrush
*)wxDC_GetBackground(_arg0
);
3055 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
3056 _resultobj
= Py_BuildValue("s",_ptemp
);
3060 #define wxDC_GetBrush(_swigobj) (_swigobj->GetBrush())
3061 static PyObject
*_wrap_wxDC_GetBrush(PyObject
*self
, PyObject
*args
) {
3062 PyObject
* _resultobj
;
3069 if(!PyArg_ParseTuple(args
,"s:wxDC_GetBrush",&_argc0
))
3072 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBrush. Expected _wxDC_p.");
3077 _result
= (wxBrush
*)wxDC_GetBrush(_arg0
);
3078 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
3079 _resultobj
= Py_BuildValue("s",_ptemp
);
3083 #define wxDC_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
3084 static PyObject
*_wrap_wxDC_GetCharHeight(PyObject
*self
, PyObject
*args
) {
3085 PyObject
* _resultobj
;
3091 if(!PyArg_ParseTuple(args
,"s:wxDC_GetCharHeight",&_argc0
))
3094 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharHeight. Expected _wxDC_p.");
3099 _result
= (long )wxDC_GetCharHeight(_arg0
);
3100 _resultobj
= Py_BuildValue("l",_result
);
3104 #define wxDC_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
3105 static PyObject
*_wrap_wxDC_GetCharWidth(PyObject
*self
, PyObject
*args
) {
3106 PyObject
* _resultobj
;
3112 if(!PyArg_ParseTuple(args
,"s:wxDC_GetCharWidth",&_argc0
))
3115 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharWidth. Expected _wxDC_p.");
3120 _result
= (long )wxDC_GetCharWidth(_arg0
);
3121 _resultobj
= Py_BuildValue("l",_result
);
3125 #define wxDC_GetClippingBox(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetClippingBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3126 static PyObject
*_wrap_wxDC_GetClippingBox(PyObject
*self
, PyObject
*args
) {
3127 PyObject
* _resultobj
;
3152 if(!PyArg_ParseTuple(args
,"s:wxDC_GetClippingBox",&_argc0
))
3155 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetClippingBox. Expected _wxDC_p.");
3160 wxDC_GetClippingBox(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3162 _resultobj
= Py_None
;
3165 o
= PyInt_FromLong((long) (*_arg1
));
3166 _resultobj
= t_output_helper(_resultobj
, o
);
3170 o
= PyInt_FromLong((long) (*_arg2
));
3171 _resultobj
= t_output_helper(_resultobj
, o
);
3175 o
= PyInt_FromLong((long) (*_arg3
));
3176 _resultobj
= t_output_helper(_resultobj
, o
);
3180 o
= PyInt_FromLong((long) (*_arg4
));
3181 _resultobj
= t_output_helper(_resultobj
, o
);
3186 #define wxDC_GetFont(_swigobj) (_swigobj->GetFont())
3187 static PyObject
*_wrap_wxDC_GetFont(PyObject
*self
, PyObject
*args
) {
3188 PyObject
* _resultobj
;
3195 if(!PyArg_ParseTuple(args
,"s:wxDC_GetFont",&_argc0
))
3198 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFont. Expected _wxDC_p.");
3203 _result
= (wxFont
*)wxDC_GetFont(_arg0
);
3204 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
3205 _resultobj
= Py_BuildValue("s",_ptemp
);
3209 #define wxDC_GetLogicalFunction(_swigobj) (_swigobj->GetLogicalFunction())
3210 static PyObject
*_wrap_wxDC_GetLogicalFunction(PyObject
*self
, PyObject
*args
) {
3211 PyObject
* _resultobj
;
3217 if(!PyArg_ParseTuple(args
,"s:wxDC_GetLogicalFunction",&_argc0
))
3220 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalFunction. Expected _wxDC_p.");
3225 _result
= (int )wxDC_GetLogicalFunction(_arg0
);
3226 _resultobj
= Py_BuildValue("i",_result
);
3230 #define wxDC_GetMapMode(_swigobj) (_swigobj->GetMapMode())
3231 static PyObject
*_wrap_wxDC_GetMapMode(PyObject
*self
, PyObject
*args
) {
3232 PyObject
* _resultobj
;
3238 if(!PyArg_ParseTuple(args
,"s:wxDC_GetMapMode",&_argc0
))
3241 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetMapMode. Expected _wxDC_p.");
3246 _result
= (int )wxDC_GetMapMode(_arg0
);
3247 _resultobj
= Py_BuildValue("i",_result
);
3251 #define wxDC_GetOptimization(_swigobj) (_swigobj->GetOptimization())
3252 static PyObject
*_wrap_wxDC_GetOptimization(PyObject
*self
, PyObject
*args
) {
3253 PyObject
* _resultobj
;
3259 if(!PyArg_ParseTuple(args
,"s:wxDC_GetOptimization",&_argc0
))
3262 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetOptimization. Expected _wxDC_p.");
3267 _result
= (bool )wxDC_GetOptimization(_arg0
);
3268 _resultobj
= Py_BuildValue("i",_result
);
3272 #define wxDC_GetPen(_swigobj) (_swigobj->GetPen())
3273 static PyObject
*_wrap_wxDC_GetPen(PyObject
*self
, PyObject
*args
) {
3274 PyObject
* _resultobj
;
3281 if(!PyArg_ParseTuple(args
,"s:wxDC_GetPen",&_argc0
))
3284 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPen. Expected _wxDC_p.");
3289 _result
= (wxPen
*)wxDC_GetPen(_arg0
);
3290 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
3291 _resultobj
= Py_BuildValue("s",_ptemp
);
3295 static wxColour
* wxDC_GetPixel(wxDC
*self
,long x
,long y
) {
3296 wxColour
* wc
= new wxColour();
3297 self
->GetPixel(x
, y
, wc
);
3300 static PyObject
*_wrap_wxDC_GetPixel(PyObject
*self
, PyObject
*args
) {
3301 PyObject
* _resultobj
;
3310 if(!PyArg_ParseTuple(args
,"sll:wxDC_GetPixel",&_argc0
,&_arg1
,&_arg2
))
3313 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPixel. Expected _wxDC_p.");
3318 _result
= (wxColour
*)wxDC_GetPixel(_arg0
,_arg1
,_arg2
);
3319 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3320 _resultobj
= Py_BuildValue("s",_ptemp
);
3324 #define wxDC_GetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
3325 static PyObject
*_wrap_wxDC_GetSize(PyObject
*self
, PyObject
*args
) {
3326 PyObject
* _resultobj
;
3341 if(!PyArg_ParseTuple(args
,"s:wxDC_GetSize",&_argc0
))
3344 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSize. Expected _wxDC_p.");
3349 wxDC_GetSize(_arg0
,_arg1
,_arg2
);
3351 _resultobj
= Py_None
;
3354 o
= PyInt_FromLong((long) (*_arg1
));
3355 _resultobj
= t_output_helper(_resultobj
, o
);
3359 o
= PyInt_FromLong((long) (*_arg2
));
3360 _resultobj
= t_output_helper(_resultobj
, o
);
3365 #define wxDC_GetTextBackground(_swigobj) (_swigobj->GetTextBackground())
3366 static PyObject
*_wrap_wxDC_GetTextBackground(PyObject
*self
, PyObject
*args
) {
3367 PyObject
* _resultobj
;
3374 if(!PyArg_ParseTuple(args
,"s:wxDC_GetTextBackground",&_argc0
))
3377 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextBackground. Expected _wxDC_p.");
3382 wxColour
& _result_ref
= wxDC_GetTextBackground(_arg0
);
3383 _result
= (wxColour
*) &_result_ref
;
3384 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3385 _resultobj
= Py_BuildValue("s",_ptemp
);
3389 #define wxDC_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3390 static PyObject
*_wrap_wxDC_GetTextExtent(PyObject
*self
, PyObject
*args
) {
3391 PyObject
* _resultobj
;
3403 PyObject
* _obj1
= 0;
3418 if(!PyArg_ParseTuple(args
,"sO:wxDC_GetTextExtent",&_argc0
,&_obj1
))
3421 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextExtent. Expected _wxDC_p.");
3427 if (!PyString_Check(_obj1
)) {
3428 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3431 _arg1
= new wxString(PyString_AsString(_obj1
));
3433 wxDC_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3435 _resultobj
= Py_None
;
3438 o
= PyInt_FromLong((long) (*_arg2
));
3439 _resultobj
= t_output_helper(_resultobj
, o
);
3443 o
= PyInt_FromLong((long) (*_arg3
));
3444 _resultobj
= t_output_helper(_resultobj
, o
);
3448 o
= PyInt_FromLong((long) (*_arg4
));
3449 _resultobj
= t_output_helper(_resultobj
, o
);
3453 o
= PyInt_FromLong((long) (*_arg5
));
3454 _resultobj
= t_output_helper(_resultobj
, o
);
3463 #define wxDC_GetTextForeground(_swigobj) (_swigobj->GetTextForeground())
3464 static PyObject
*_wrap_wxDC_GetTextForeground(PyObject
*self
, PyObject
*args
) {
3465 PyObject
* _resultobj
;
3472 if(!PyArg_ParseTuple(args
,"s:wxDC_GetTextForeground",&_argc0
))
3475 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextForeground. Expected _wxDC_p.");
3480 wxColour
& _result_ref
= wxDC_GetTextForeground(_arg0
);
3481 _result
= (wxColour
*) &_result_ref
;
3482 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3483 _resultobj
= Py_BuildValue("s",_ptemp
);
3487 #define wxDC_LogicalToDeviceX(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceX(_swigarg0))
3488 static PyObject
*_wrap_wxDC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
) {
3489 PyObject
* _resultobj
;
3496 if(!PyArg_ParseTuple(args
,"sl:wxDC_LogicalToDeviceX",&_argc0
,&_arg1
))
3499 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceX. Expected _wxDC_p.");
3504 _result
= (long )wxDC_LogicalToDeviceX(_arg0
,_arg1
);
3505 _resultobj
= Py_BuildValue("l",_result
);
3509 #define wxDC_LogicalToDeviceXRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceXRel(_swigarg0))
3510 static PyObject
*_wrap_wxDC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
) {
3511 PyObject
* _resultobj
;
3518 if(!PyArg_ParseTuple(args
,"sl:wxDC_LogicalToDeviceXRel",&_argc0
,&_arg1
))
3521 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceXRel. Expected _wxDC_p.");
3526 _result
= (long )wxDC_LogicalToDeviceXRel(_arg0
,_arg1
);
3527 _resultobj
= Py_BuildValue("l",_result
);
3531 #define wxDC_LogicalToDeviceY(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceY(_swigarg0))
3532 static PyObject
*_wrap_wxDC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
) {
3533 PyObject
* _resultobj
;
3540 if(!PyArg_ParseTuple(args
,"sl:wxDC_LogicalToDeviceY",&_argc0
,&_arg1
))
3543 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceY. Expected _wxDC_p.");
3548 _result
= (long )wxDC_LogicalToDeviceY(_arg0
,_arg1
);
3549 _resultobj
= Py_BuildValue("l",_result
);
3553 #define wxDC_LogicalToDeviceYRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceYRel(_swigarg0))
3554 static PyObject
*_wrap_wxDC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
) {
3555 PyObject
* _resultobj
;
3562 if(!PyArg_ParseTuple(args
,"sl:wxDC_LogicalToDeviceYRel",&_argc0
,&_arg1
))
3565 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceYRel. Expected _wxDC_p.");
3570 _result
= (long )wxDC_LogicalToDeviceYRel(_arg0
,_arg1
);
3571 _resultobj
= Py_BuildValue("l",_result
);
3575 #define wxDC_MaxX(_swigobj) (_swigobj->MaxX())
3576 static PyObject
*_wrap_wxDC_MaxX(PyObject
*self
, PyObject
*args
) {
3577 PyObject
* _resultobj
;
3583 if(!PyArg_ParseTuple(args
,"s:wxDC_MaxX",&_argc0
))
3586 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxX. Expected _wxDC_p.");
3591 _result
= (long )wxDC_MaxX(_arg0
);
3592 _resultobj
= Py_BuildValue("l",_result
);
3596 #define wxDC_MaxY(_swigobj) (_swigobj->MaxY())
3597 static PyObject
*_wrap_wxDC_MaxY(PyObject
*self
, PyObject
*args
) {
3598 PyObject
* _resultobj
;
3604 if(!PyArg_ParseTuple(args
,"s:wxDC_MaxY",&_argc0
))
3607 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxY. Expected _wxDC_p.");
3612 _result
= (long )wxDC_MaxY(_arg0
);
3613 _resultobj
= Py_BuildValue("l",_result
);
3617 #define wxDC_MinX(_swigobj) (_swigobj->MinX())
3618 static PyObject
*_wrap_wxDC_MinX(PyObject
*self
, PyObject
*args
) {
3619 PyObject
* _resultobj
;
3625 if(!PyArg_ParseTuple(args
,"s:wxDC_MinX",&_argc0
))
3628 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinX. Expected _wxDC_p.");
3633 _result
= (long )wxDC_MinX(_arg0
);
3634 _resultobj
= Py_BuildValue("l",_result
);
3638 #define wxDC_MinY(_swigobj) (_swigobj->MinY())
3639 static PyObject
*_wrap_wxDC_MinY(PyObject
*self
, PyObject
*args
) {
3640 PyObject
* _resultobj
;
3646 if(!PyArg_ParseTuple(args
,"s:wxDC_MinY",&_argc0
))
3649 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinY. Expected _wxDC_p.");
3654 _result
= (long )wxDC_MinY(_arg0
);
3655 _resultobj
= Py_BuildValue("l",_result
);
3659 #define wxDC_Ok(_swigobj) (_swigobj->Ok())
3660 static PyObject
*_wrap_wxDC_Ok(PyObject
*self
, PyObject
*args
) {
3661 PyObject
* _resultobj
;
3667 if(!PyArg_ParseTuple(args
,"s:wxDC_Ok",&_argc0
))
3670 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Ok. Expected _wxDC_p.");
3675 _result
= (bool )wxDC_Ok(_arg0
);
3676 _resultobj
= Py_BuildValue("i",_result
);
3680 #define wxDC_SetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDeviceOrigin(_swigarg0,_swigarg1))
3681 static PyObject
*_wrap_wxDC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
) {
3682 PyObject
* _resultobj
;
3689 if(!PyArg_ParseTuple(args
,"sll:wxDC_SetDeviceOrigin",&_argc0
,&_arg1
,&_arg2
))
3692 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetDeviceOrigin. Expected _wxDC_p.");
3697 wxDC_SetDeviceOrigin(_arg0
,_arg1
,_arg2
);
3699 _resultobj
= Py_None
;
3703 #define wxDC_SetBackground(_swigobj,_swigarg0) (_swigobj->SetBackground(_swigarg0))
3704 static PyObject
*_wrap_wxDC_SetBackground(PyObject
*self
, PyObject
*args
) {
3705 PyObject
* _resultobj
;
3712 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetBackground",&_argc0
,&_argc1
))
3715 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackground. Expected _wxDC_p.");
3721 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBrush_p")) {
3722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBackground. Expected _wxBrush_p.");
3726 wxDC_SetBackground(_arg0
,*_arg1
);
3728 _resultobj
= Py_None
;
3732 #define wxDC_SetBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetBackgroundMode(_swigarg0))
3733 static PyObject
*_wrap_wxDC_SetBackgroundMode(PyObject
*self
, PyObject
*args
) {
3734 PyObject
* _resultobj
;
3740 if(!PyArg_ParseTuple(args
,"si:wxDC_SetBackgroundMode",&_argc0
,&_arg1
))
3743 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackgroundMode. Expected _wxDC_p.");
3748 wxDC_SetBackgroundMode(_arg0
,_arg1
);
3750 _resultobj
= Py_None
;
3754 #define wxDC_SetClippingRegion(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetClippingRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3755 static PyObject
*_wrap_wxDC_SetClippingRegion(PyObject
*self
, PyObject
*args
) {
3756 PyObject
* _resultobj
;
3765 if(!PyArg_ParseTuple(args
,"sllll:wxDC_SetClippingRegion",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3768 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetClippingRegion. Expected _wxDC_p.");
3773 wxDC_SetClippingRegion(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3775 _resultobj
= Py_None
;
3779 #define wxDC_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
3780 static PyObject
*_wrap_wxDC_SetPalette(PyObject
*self
, PyObject
*args
) {
3781 PyObject
* _resultobj
;
3788 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetPalette",&_argc0
,&_argc1
))
3791 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPalette. Expected _wxDC_p.");
3797 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPalette_p")) {
3798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPalette. Expected _wxPalette_p.");
3802 wxDC_SetPalette(_arg0
,*_arg1
);
3804 _resultobj
= Py_None
;
3808 #define wxDC_SetBrush(_swigobj,_swigarg0) (_swigobj->SetBrush(_swigarg0))
3809 static PyObject
*_wrap_wxDC_SetBrush(PyObject
*self
, PyObject
*args
) {
3810 PyObject
* _resultobj
;
3817 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetBrush",&_argc0
,&_argc1
))
3820 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBrush. Expected _wxDC_p.");
3826 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBrush_p")) {
3827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBrush. Expected _wxBrush_p.");
3831 wxDC_SetBrush(_arg0
,*_arg1
);
3833 _resultobj
= Py_None
;
3837 #define wxDC_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
3838 static PyObject
*_wrap_wxDC_SetFont(PyObject
*self
, PyObject
*args
) {
3839 PyObject
* _resultobj
;
3846 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetFont",&_argc0
,&_argc1
))
3849 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetFont. Expected _wxDC_p.");
3855 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxFont_p")) {
3856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetFont. Expected _wxFont_p.");
3860 wxDC_SetFont(_arg0
,*_arg1
);
3862 _resultobj
= Py_None
;
3866 #define wxDC_SetLogicalFunction(_swigobj,_swigarg0) (_swigobj->SetLogicalFunction(_swigarg0))
3867 static PyObject
*_wrap_wxDC_SetLogicalFunction(PyObject
*self
, PyObject
*args
) {
3868 PyObject
* _resultobj
;
3874 if(!PyArg_ParseTuple(args
,"si:wxDC_SetLogicalFunction",&_argc0
,&_arg1
))
3877 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalFunction. Expected _wxDC_p.");
3882 wxDC_SetLogicalFunction(_arg0
,_arg1
);
3884 _resultobj
= Py_None
;
3888 #define wxDC_SetMapMode(_swigobj,_swigarg0) (_swigobj->SetMapMode(_swigarg0))
3889 static PyObject
*_wrap_wxDC_SetMapMode(PyObject
*self
, PyObject
*args
) {
3890 PyObject
* _resultobj
;
3896 if(!PyArg_ParseTuple(args
,"si:wxDC_SetMapMode",&_argc0
,&_arg1
))
3899 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetMapMode. Expected _wxDC_p.");
3904 wxDC_SetMapMode(_arg0
,_arg1
);
3906 _resultobj
= Py_None
;
3910 #define wxDC_SetOptimization(_swigobj,_swigarg0) (_swigobj->SetOptimization(_swigarg0))
3911 static PyObject
*_wrap_wxDC_SetOptimization(PyObject
*self
, PyObject
*args
) {
3912 PyObject
* _resultobj
;
3919 if(!PyArg_ParseTuple(args
,"si:wxDC_SetOptimization",&_argc0
,&tempbool1
))
3922 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetOptimization. Expected _wxDC_p.");
3927 _arg1
= (bool ) tempbool1
;
3928 wxDC_SetOptimization(_arg0
,_arg1
);
3930 _resultobj
= Py_None
;
3934 #define wxDC_SetPen(_swigobj,_swigarg0) (_swigobj->SetPen(_swigarg0))
3935 static PyObject
*_wrap_wxDC_SetPen(PyObject
*self
, PyObject
*args
) {
3936 PyObject
* _resultobj
;
3943 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetPen",&_argc0
,&_argc1
))
3946 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPen. Expected _wxDC_p.");
3952 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPen_p")) {
3953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPen. Expected _wxPen_p.");
3957 wxDC_SetPen(_arg0
,*_arg1
);
3959 _resultobj
= Py_None
;
3963 #define wxDC_SetTextBackground(_swigobj,_swigarg0) (_swigobj->SetTextBackground(_swigarg0))
3964 static PyObject
*_wrap_wxDC_SetTextBackground(PyObject
*self
, PyObject
*args
) {
3965 PyObject
* _resultobj
;
3972 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetTextBackground",&_argc0
,&_argc1
))
3975 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextBackground. Expected _wxDC_p.");
3981 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
3982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetTextBackground. Expected _wxColour_p.");
3986 wxDC_SetTextBackground(_arg0
,*_arg1
);
3988 _resultobj
= Py_None
;
3992 #define wxDC_SetTextForeground(_swigobj,_swigarg0) (_swigobj->SetTextForeground(_swigarg0))
3993 static PyObject
*_wrap_wxDC_SetTextForeground(PyObject
*self
, PyObject
*args
) {
3994 PyObject
* _resultobj
;
4001 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetTextForeground",&_argc0
,&_argc1
))
4004 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextForeground. Expected _wxDC_p.");
4010 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
4011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetTextForeground. Expected _wxColour_p.");
4015 wxDC_SetTextForeground(_arg0
,*_arg1
);
4017 _resultobj
= Py_None
;
4021 #define wxDC_SetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetUserScale(_swigarg0,_swigarg1))
4022 static PyObject
*_wrap_wxDC_SetUserScale(PyObject
*self
, PyObject
*args
) {
4023 PyObject
* _resultobj
;
4030 if(!PyArg_ParseTuple(args
,"sdd:wxDC_SetUserScale",&_argc0
,&_arg1
,&_arg2
))
4033 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetUserScale. Expected _wxDC_p.");
4038 wxDC_SetUserScale(_arg0
,_arg1
,_arg2
);
4040 _resultobj
= Py_None
;
4044 #define wxDC_StartDoc(_swigobj,_swigarg0) (_swigobj->StartDoc(_swigarg0))
4045 static PyObject
*_wrap_wxDC_StartDoc(PyObject
*self
, PyObject
*args
) {
4046 PyObject
* _resultobj
;
4051 PyObject
* _obj1
= 0;
4054 if(!PyArg_ParseTuple(args
,"sO:wxDC_StartDoc",&_argc0
,&_obj1
))
4057 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartDoc. Expected _wxDC_p.");
4063 if (!PyString_Check(_obj1
)) {
4064 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4067 _arg1
= new wxString(PyString_AsString(_obj1
));
4069 _result
= (bool )wxDC_StartDoc(_arg0
,*_arg1
);
4070 _resultobj
= Py_BuildValue("i",_result
);
4078 #define wxDC_StartPage(_swigobj) (_swigobj->StartPage())
4079 static PyObject
*_wrap_wxDC_StartPage(PyObject
*self
, PyObject
*args
) {
4080 PyObject
* _resultobj
;
4085 if(!PyArg_ParseTuple(args
,"s:wxDC_StartPage",&_argc0
))
4088 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartPage. Expected _wxDC_p.");
4093 wxDC_StartPage(_arg0
);
4095 _resultobj
= Py_None
;
4099 static void wxDC_DrawBitmap(wxDC
*self
,wxBitmap
* bitmap
,long x
,long y
,bool swapPalette
) {
4100 wxMemoryDC
* memDC
= new wxMemoryDC
;
4101 memDC
->SelectObject(bitmap
);
4103 self
->SetPalette(bitmap
->GetPalette());
4104 self
->Blit(x
, y
, bitmap
->GetWidth(), bitmap
->GetHeight(), memDC
,
4105 0, 0, self
->GetLogicalFunction());
4106 memDC
->SelectObject(wxNullBitmap
);
4109 static PyObject
*_wrap_wxDC_DrawBitmap(PyObject
*self
, PyObject
*args
) {
4110 PyObject
* _resultobj
;
4121 if(!PyArg_ParseTuple(args
,"ssll|i:wxDC_DrawBitmap",&_argc0
,&_argc1
,&_arg2
,&_arg3
,&tempbool4
))
4124 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawBitmap. Expected _wxDC_p.");
4130 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBitmap_p")) {
4131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawBitmap. Expected _wxBitmap_p.");
4135 _arg4
= (bool ) tempbool4
;
4136 wxDC_DrawBitmap(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4138 _resultobj
= Py_None
;
4142 static void *SwigwxMemoryDCTowxDC(void *ptr
) {
4145 src
= (wxMemoryDC
*) ptr
;
4146 dest
= (wxDC
*) src
;
4147 return (void *) dest
;
4150 #define new_wxMemoryDC() (new wxMemoryDC())
4151 static PyObject
*_wrap_new_wxMemoryDC(PyObject
*self
, PyObject
*args
) {
4152 PyObject
* _resultobj
;
4153 wxMemoryDC
* _result
;
4157 if(!PyArg_ParseTuple(args
,":new_wxMemoryDC"))
4159 _result
= (wxMemoryDC
*)new_wxMemoryDC();
4160 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
4161 _resultobj
= Py_BuildValue("s",_ptemp
);
4165 #define wxMemoryDC_SelectObject(_swigobj,_swigarg0) (_swigobj->SelectObject(_swigarg0))
4166 static PyObject
*_wrap_wxMemoryDC_SelectObject(PyObject
*self
, PyObject
*args
) {
4167 PyObject
* _resultobj
;
4174 if(!PyArg_ParseTuple(args
,"ss:wxMemoryDC_SelectObject",&_argc0
,&_argc1
))
4177 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMemoryDC_p")) {
4178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDC_SelectObject. Expected _wxMemoryDC_p.");
4183 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBitmap_p")) {
4184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMemoryDC_SelectObject. Expected _wxBitmap_p.");
4188 wxMemoryDC_SelectObject(_arg0
,*_arg1
);
4190 _resultobj
= Py_None
;
4194 static void *SwigwxScreenDCTowxDC(void *ptr
) {
4197 src
= (wxScreenDC
*) ptr
;
4198 dest
= (wxDC
*) src
;
4199 return (void *) dest
;
4202 #define new_wxScreenDC() (new wxScreenDC())
4203 static PyObject
*_wrap_new_wxScreenDC(PyObject
*self
, PyObject
*args
) {
4204 PyObject
* _resultobj
;
4205 wxScreenDC
* _result
;
4209 if(!PyArg_ParseTuple(args
,":new_wxScreenDC"))
4211 _result
= (wxScreenDC
*)new_wxScreenDC();
4212 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScreenDC_p");
4213 _resultobj
= Py_BuildValue("s",_ptemp
);
4217 #define wxScreenDC_StartDrawingOnTop(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
4218 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
) {
4219 PyObject
* _resultobj
;
4227 if(!PyArg_ParseTuple(args
,"ss:wxScreenDC_StartDrawingOnTop",&_argc0
,&_argc1
))
4230 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScreenDC_p")) {
4231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTop. Expected _wxScreenDC_p.");
4236 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
4237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScreenDC_StartDrawingOnTop. Expected _wxWindow_p.");
4241 _result
= (bool )wxScreenDC_StartDrawingOnTop(_arg0
,_arg1
);
4242 _resultobj
= Py_BuildValue("i",_result
);
4246 #define wxScreenDC_StartDrawingOnTopRect(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
4247 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTopRect(PyObject
*self
, PyObject
*args
) {
4248 PyObject
* _resultobj
;
4251 wxRect
* _arg1
= NULL
;
4256 if(!PyArg_ParseTuple(args
,"s|s:wxScreenDC_StartDrawingOnTopRect",&_argc0
,&_argc1
))
4259 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScreenDC_p")) {
4260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTopRect. Expected _wxScreenDC_p.");
4265 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxRect_p")) {
4266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScreenDC_StartDrawingOnTopRect. Expected _wxRect_p.");
4270 _result
= (bool )wxScreenDC_StartDrawingOnTopRect(_arg0
,_arg1
);
4271 _resultobj
= Py_BuildValue("i",_result
);
4275 #define wxScreenDC_EndDrawingOnTop(_swigobj) (_swigobj->EndDrawingOnTop())
4276 static PyObject
*_wrap_wxScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
) {
4277 PyObject
* _resultobj
;
4283 if(!PyArg_ParseTuple(args
,"s:wxScreenDC_EndDrawingOnTop",&_argc0
))
4286 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScreenDC_p")) {
4287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_EndDrawingOnTop. Expected _wxScreenDC_p.");
4291 _result
= (bool )wxScreenDC_EndDrawingOnTop(_arg0
);
4292 _resultobj
= Py_BuildValue("i",_result
);
4296 static void *SwigwxClientDCTowxDC(void *ptr
) {
4299 src
= (wxClientDC
*) ptr
;
4300 dest
= (wxDC
*) src
;
4301 return (void *) dest
;
4304 #define new_wxClientDC(_swigarg0) (new wxClientDC(_swigarg0))
4305 static PyObject
*_wrap_new_wxClientDC(PyObject
*self
, PyObject
*args
) {
4306 PyObject
* _resultobj
;
4307 wxClientDC
* _result
;
4313 if(!PyArg_ParseTuple(args
,"s:new_wxClientDC",&_argc0
))
4316 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
4317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxClientDC. Expected _wxWindow_p.");
4321 _result
= (wxClientDC
*)new_wxClientDC(_arg0
);
4322 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxClientDC_p");
4323 _resultobj
= Py_BuildValue("s",_ptemp
);
4327 static void *SwigwxPaintDCTowxDC(void *ptr
) {
4330 src
= (wxPaintDC
*) ptr
;
4331 dest
= (wxDC
*) src
;
4332 return (void *) dest
;
4335 #define new_wxPaintDC(_swigarg0) (new wxPaintDC(_swigarg0))
4336 static PyObject
*_wrap_new_wxPaintDC(PyObject
*self
, PyObject
*args
) {
4337 PyObject
* _resultobj
;
4338 wxPaintDC
* _result
;
4344 if(!PyArg_ParseTuple(args
,"s:new_wxPaintDC",&_argc0
))
4347 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
4348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPaintDC. Expected _wxWindow_p.");
4352 _result
= (wxPaintDC
*)new_wxPaintDC(_arg0
);
4353 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPaintDC_p");
4354 _resultobj
= Py_BuildValue("s",_ptemp
);
4358 static void *SwigwxPostScriptDCTowxDC(void *ptr
) {
4359 wxPostScriptDC
*src
;
4361 src
= (wxPostScriptDC
*) ptr
;
4362 dest
= (wxDC
*) src
;
4363 return (void *) dest
;
4366 #define new_wxPostScriptDC(_swigarg0,_swigarg1,_swigarg2) (new wxPostScriptDC(_swigarg0,_swigarg1,_swigarg2))
4367 static PyObject
*_wrap_new_wxPostScriptDC(PyObject
*self
, PyObject
*args
) {
4368 PyObject
* _resultobj
;
4369 wxPostScriptDC
* _result
;
4372 wxWindow
* _arg2
= NULL
;
4373 PyObject
* _obj0
= 0;
4379 if(!PyArg_ParseTuple(args
,"O|is:new_wxPostScriptDC",&_obj0
,&tempbool1
,&_argc2
))
4382 if (!PyString_Check(_obj0
)) {
4383 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4386 _arg0
= new wxString(PyString_AsString(_obj0
));
4388 _arg1
= (bool ) tempbool1
;
4390 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxWindow_p")) {
4391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPostScriptDC. Expected _wxWindow_p.");
4395 _result
= (wxPostScriptDC
*)new_wxPostScriptDC(*_arg0
,_arg1
,_arg2
);
4396 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPostScriptDC_p");
4397 _resultobj
= Py_BuildValue("s",_ptemp
);
4405 static PyMethodDef gdicMethods
[] = {
4406 { "new_wxPostScriptDC", _wrap_new_wxPostScriptDC
, 1 },
4407 { "new_wxPaintDC", _wrap_new_wxPaintDC
, 1 },
4408 { "new_wxClientDC", _wrap_new_wxClientDC
, 1 },
4409 { "wxScreenDC_EndDrawingOnTop", _wrap_wxScreenDC_EndDrawingOnTop
, 1 },
4410 { "wxScreenDC_StartDrawingOnTopRect", _wrap_wxScreenDC_StartDrawingOnTopRect
, 1 },
4411 { "wxScreenDC_StartDrawingOnTop", _wrap_wxScreenDC_StartDrawingOnTop
, 1 },
4412 { "new_wxScreenDC", _wrap_new_wxScreenDC
, 1 },
4413 { "wxMemoryDC_SelectObject", _wrap_wxMemoryDC_SelectObject
, 1 },
4414 { "new_wxMemoryDC", _wrap_new_wxMemoryDC
, 1 },
4415 { "wxDC_DrawBitmap", _wrap_wxDC_DrawBitmap
, 1 },
4416 { "wxDC_StartPage", _wrap_wxDC_StartPage
, 1 },
4417 { "wxDC_StartDoc", _wrap_wxDC_StartDoc
, 1 },
4418 { "wxDC_SetUserScale", _wrap_wxDC_SetUserScale
, 1 },
4419 { "wxDC_SetTextForeground", _wrap_wxDC_SetTextForeground
, 1 },
4420 { "wxDC_SetTextBackground", _wrap_wxDC_SetTextBackground
, 1 },
4421 { "wxDC_SetPen", _wrap_wxDC_SetPen
, 1 },
4422 { "wxDC_SetOptimization", _wrap_wxDC_SetOptimization
, 1 },
4423 { "wxDC_SetMapMode", _wrap_wxDC_SetMapMode
, 1 },
4424 { "wxDC_SetLogicalFunction", _wrap_wxDC_SetLogicalFunction
, 1 },
4425 { "wxDC_SetFont", _wrap_wxDC_SetFont
, 1 },
4426 { "wxDC_SetBrush", _wrap_wxDC_SetBrush
, 1 },
4427 { "wxDC_SetPalette", _wrap_wxDC_SetPalette
, 1 },
4428 { "wxDC_SetClippingRegion", _wrap_wxDC_SetClippingRegion
, 1 },
4429 { "wxDC_SetBackgroundMode", _wrap_wxDC_SetBackgroundMode
, 1 },
4430 { "wxDC_SetBackground", _wrap_wxDC_SetBackground
, 1 },
4431 { "wxDC_SetDeviceOrigin", _wrap_wxDC_SetDeviceOrigin
, 1 },
4432 { "wxDC_Ok", _wrap_wxDC_Ok
, 1 },
4433 { "wxDC_MinY", _wrap_wxDC_MinY
, 1 },
4434 { "wxDC_MinX", _wrap_wxDC_MinX
, 1 },
4435 { "wxDC_MaxY", _wrap_wxDC_MaxY
, 1 },
4436 { "wxDC_MaxX", _wrap_wxDC_MaxX
, 1 },
4437 { "wxDC_LogicalToDeviceYRel", _wrap_wxDC_LogicalToDeviceYRel
, 1 },
4438 { "wxDC_LogicalToDeviceY", _wrap_wxDC_LogicalToDeviceY
, 1 },
4439 { "wxDC_LogicalToDeviceXRel", _wrap_wxDC_LogicalToDeviceXRel
, 1 },
4440 { "wxDC_LogicalToDeviceX", _wrap_wxDC_LogicalToDeviceX
, 1 },
4441 { "wxDC_GetTextForeground", _wrap_wxDC_GetTextForeground
, 1 },
4442 { "wxDC_GetTextExtent", _wrap_wxDC_GetTextExtent
, 1 },
4443 { "wxDC_GetTextBackground", _wrap_wxDC_GetTextBackground
, 1 },
4444 { "wxDC_GetSize", _wrap_wxDC_GetSize
, 1 },
4445 { "wxDC_GetPixel", _wrap_wxDC_GetPixel
, 1 },
4446 { "wxDC_GetPen", _wrap_wxDC_GetPen
, 1 },
4447 { "wxDC_GetOptimization", _wrap_wxDC_GetOptimization
, 1 },
4448 { "wxDC_GetMapMode", _wrap_wxDC_GetMapMode
, 1 },
4449 { "wxDC_GetLogicalFunction", _wrap_wxDC_GetLogicalFunction
, 1 },
4450 { "wxDC_GetFont", _wrap_wxDC_GetFont
, 1 },
4451 { "wxDC_GetClippingBox", _wrap_wxDC_GetClippingBox
, 1 },
4452 { "wxDC_GetCharWidth", _wrap_wxDC_GetCharWidth
, 1 },
4453 { "wxDC_GetCharHeight", _wrap_wxDC_GetCharHeight
, 1 },
4454 { "wxDC_GetBrush", _wrap_wxDC_GetBrush
, 1 },
4455 { "wxDC_GetBackground", _wrap_wxDC_GetBackground
, 1 },
4456 { "wxDC_FloodFill", _wrap_wxDC_FloodFill
, 1 },
4457 { "wxDC_EndPage", _wrap_wxDC_EndPage
, 1 },
4458 { "wxDC_EndDrawing", _wrap_wxDC_EndDrawing
, 1 },
4459 { "wxDC_EndDoc", _wrap_wxDC_EndDoc
, 1 },
4460 { "wxDC_DrawText", _wrap_wxDC_DrawText
, 1 },
4461 { "wxDC_DrawSpline", _wrap_wxDC_DrawSpline
, 1 },
4462 { "wxDC_DrawRoundedRectangle", _wrap_wxDC_DrawRoundedRectangle
, 1 },
4463 { "wxDC_DrawRectangle", _wrap_wxDC_DrawRectangle
, 1 },
4464 { "wxDC_DrawPoint", _wrap_wxDC_DrawPoint
, 1 },
4465 { "wxDC_DrawPolygon", _wrap_wxDC_DrawPolygon
, 1 },
4466 { "wxDC_DrawLines", _wrap_wxDC_DrawLines
, 1 },
4467 { "wxDC_DrawLine", _wrap_wxDC_DrawLine
, 1 },
4468 { "wxDC_DrawIcon", _wrap_wxDC_DrawIcon
, 1 },
4469 { "wxDC_DrawEllipticArc", _wrap_wxDC_DrawEllipticArc
, 1 },
4470 { "wxDC_DrawEllipse", _wrap_wxDC_DrawEllipse
, 1 },
4471 { "wxDC_DrawArc", _wrap_wxDC_DrawArc
, 1 },
4472 { "wxDC_DeviceToLogicalYRel", _wrap_wxDC_DeviceToLogicalYRel
, 1 },
4473 { "wxDC_DeviceToLogicalY", _wrap_wxDC_DeviceToLogicalY
, 1 },
4474 { "wxDC_DeviceToLogicalXRel", _wrap_wxDC_DeviceToLogicalXRel
, 1 },
4475 { "wxDC_DeviceToLogicalX", _wrap_wxDC_DeviceToLogicalX
, 1 },
4476 { "wxDC_DestroyClippingRegion", _wrap_wxDC_DestroyClippingRegion
, 1 },
4477 { "wxDC_CrossHair", _wrap_wxDC_CrossHair
, 1 },
4478 { "wxDC_Clear", _wrap_wxDC_Clear
, 1 },
4479 { "wxDC_Blit", _wrap_wxDC_Blit
, 1 },
4480 { "wxDC_BeginDrawing", _wrap_wxDC_BeginDrawing
, 1 },
4481 { "delete_wxDC", _wrap_delete_wxDC
, 1 },
4482 { "wxBrush_Ok", _wrap_wxBrush_Ok
, 1 },
4483 { "wxBrush_GetStyle", _wrap_wxBrush_GetStyle
, 1 },
4484 { "wxBrush_GetStipple", _wrap_wxBrush_GetStipple
, 1 },
4485 { "wxBrush_GetColour", _wrap_wxBrush_GetColour
, 1 },
4486 { "new_wxBrush", _wrap_new_wxBrush
, 1 },
4487 { "wxPen_SetWidth", _wrap_wxPen_SetWidth
, 1 },
4488 { "wxPen_SetStyle", _wrap_wxPen_SetStyle
, 1 },
4489 { "wxPen_SetJoin", _wrap_wxPen_SetJoin
, 1 },
4490 { "wxPen_SetColour", _wrap_wxPen_SetColour
, 1 },
4491 { "wxPen_SetCap", _wrap_wxPen_SetCap
, 1 },
4492 { "wxPen_Ok", _wrap_wxPen_Ok
, 1 },
4493 { "wxPen_GetWidth", _wrap_wxPen_GetWidth
, 1 },
4494 { "wxPen_GetStyle", _wrap_wxPen_GetStyle
, 1 },
4495 { "wxPen_GetJoin", _wrap_wxPen_GetJoin
, 1 },
4496 { "wxPen_GetColour", _wrap_wxPen_GetColour
, 1 },
4497 { "wxPen_GetCap", _wrap_wxPen_GetCap
, 1 },
4498 { "new_wxPen", _wrap_new_wxPen
, 1 },
4499 { "wxColour_Get", _wrap_wxColour_Get
, 1 },
4500 { "wxColour_Set", _wrap_wxColour_Set
, 1 },
4501 { "wxColour_Ok", _wrap_wxColour_Ok
, 1 },
4502 { "wxColour_Blue", _wrap_wxColour_Blue
, 1 },
4503 { "wxColour_Green", _wrap_wxColour_Green
, 1 },
4504 { "wxColour_Red", _wrap_wxColour_Red
, 1 },
4505 { "delete_wxColour", _wrap_delete_wxColour
, 1 },
4506 { "new_wxColour", _wrap_new_wxColour
, 1 },
4507 { "wxFont_GetWeight", _wrap_wxFont_GetWeight
, 1 },
4508 { "wxFont_GetUnderlined", _wrap_wxFont_GetUnderlined
, 1 },
4509 { "wxFont_GetStyle", _wrap_wxFont_GetStyle
, 1 },
4510 { "wxFont_GetPointSize", _wrap_wxFont_GetPointSize
, 1 },
4511 { "wxFont_GetFontId", _wrap_wxFont_GetFontId
, 1 },
4512 { "wxFont_GetFamily", _wrap_wxFont_GetFamily
, 1 },
4513 { "wxFont_GetFaceName", _wrap_wxFont_GetFaceName
, 1 },
4514 { "new_wxFont", _wrap_new_wxFont
, 1 },
4515 { "wxCursor_Ok", _wrap_wxCursor_Ok
, 1 },
4516 { "delete_wxCursor", _wrap_delete_wxCursor
, 1 },
4517 { "wxIcon_SetWidth", _wrap_wxIcon_SetWidth
, 1 },
4518 { "wxIcon_SetHeight", _wrap_wxIcon_SetHeight
, 1 },
4519 { "wxIcon_SetDepth", _wrap_wxIcon_SetDepth
, 1 },
4520 { "wxIcon_Ok", _wrap_wxIcon_Ok
, 1 },
4521 { "wxIcon_LoadFile", _wrap_wxIcon_LoadFile
, 1 },
4522 { "wxIcon_GetWidth", _wrap_wxIcon_GetWidth
, 1 },
4523 { "wxIcon_GetHeight", _wrap_wxIcon_GetHeight
, 1 },
4524 { "wxIcon_GetDepth", _wrap_wxIcon_GetDepth
, 1 },
4525 { "delete_wxIcon", _wrap_delete_wxIcon
, 1 },
4526 { "delete_wxMask", _wrap_delete_wxMask
, 1 },
4527 { "new_wxMask", _wrap_new_wxMask
, 1 },
4528 { "wxBitmap_SetWidth", _wrap_wxBitmap_SetWidth
, 1 },
4529 { "wxBitmap_SetMask", _wrap_wxBitmap_SetMask
, 1 },
4530 { "wxBitmap_SetHeight", _wrap_wxBitmap_SetHeight
, 1 },
4531 { "wxBitmap_SetDepth", _wrap_wxBitmap_SetDepth
, 1 },
4532 { "wxBitmap_SaveFile", _wrap_wxBitmap_SaveFile
, 1 },
4533 { "wxBitmap_Ok", _wrap_wxBitmap_Ok
, 1 },
4534 { "wxBitmap_LoadFile", _wrap_wxBitmap_LoadFile
, 1 },
4535 { "wxBitmap_GetWidth", _wrap_wxBitmap_GetWidth
, 1 },
4536 { "wxBitmap_GetMask", _wrap_wxBitmap_GetMask
, 1 },
4537 { "wxBitmap_GetPalette", _wrap_wxBitmap_GetPalette
, 1 },
4538 { "wxBitmap_GetHeight", _wrap_wxBitmap_GetHeight
, 1 },
4539 { "wxBitmap_GetDepth", _wrap_wxBitmap_GetDepth
, 1 },
4540 { "delete_wxBitmap", _wrap_delete_wxBitmap
, 1 },
4541 { "new_wxBitmap", _wrap_new_wxBitmap
, 1 },
4542 { "wxMemoryDCFromDC", _wrap_wxMemoryDCFromDC
, 1 },
4543 { "wxNamedColour", _wrap_wxNamedColour
, 1 },
4544 { "wxStockCursor", _wrap_wxStockCursor
, 1 },
4545 { "wxMaskColour", _wrap_wxMaskColour
, 1 },
4546 { "wxNoRefBitmap", _wrap_wxNoRefBitmap
, 1 },
4547 { "wxEmptyBitmap", _wrap_wxEmptyBitmap
, 1 },
4550 static PyObject
*SWIG_globals
;
4554 SWIGEXPORT(void,initgdic
)() {
4556 SWIG_globals
= SWIG_newvarlink();
4557 m
= Py_InitModule("gdic", gdicMethods
);
4558 d
= PyModule_GetDict(m
);
4559 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
4560 SWIG_addvarlink(SWIG_globals
,"wxNORMAL_FONT",_wrap_wxNORMAL_FONT_get
, _wrap_wxNORMAL_FONT_set
);
4561 SWIG_addvarlink(SWIG_globals
,"wxSMALL_FONT",_wrap_wxSMALL_FONT_get
, _wrap_wxSMALL_FONT_set
);
4562 SWIG_addvarlink(SWIG_globals
,"wxITALIC_FONT",_wrap_wxITALIC_FONT_get
, _wrap_wxITALIC_FONT_set
);
4563 SWIG_addvarlink(SWIG_globals
,"wxSWISS_FONT",_wrap_wxSWISS_FONT_get
, _wrap_wxSWISS_FONT_set
);
4564 SWIG_addvarlink(SWIG_globals
,"wxRED_PEN",_wrap_wxRED_PEN_get
, _wrap_wxRED_PEN_set
);
4565 SWIG_addvarlink(SWIG_globals
,"wxCYAN_PEN",_wrap_wxCYAN_PEN_get
, _wrap_wxCYAN_PEN_set
);
4566 SWIG_addvarlink(SWIG_globals
,"wxGREEN_PEN",_wrap_wxGREEN_PEN_get
, _wrap_wxGREEN_PEN_set
);
4567 SWIG_addvarlink(SWIG_globals
,"wxBLACK_PEN",_wrap_wxBLACK_PEN_get
, _wrap_wxBLACK_PEN_set
);
4568 SWIG_addvarlink(SWIG_globals
,"wxWHITE_PEN",_wrap_wxWHITE_PEN_get
, _wrap_wxWHITE_PEN_set
);
4569 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_PEN",_wrap_wxTRANSPARENT_PEN_get
, _wrap_wxTRANSPARENT_PEN_set
);
4570 SWIG_addvarlink(SWIG_globals
,"wxBLACK_DASHED_PEN",_wrap_wxBLACK_DASHED_PEN_get
, _wrap_wxBLACK_DASHED_PEN_set
);
4571 SWIG_addvarlink(SWIG_globals
,"wxGREY_PEN",_wrap_wxGREY_PEN_get
, _wrap_wxGREY_PEN_set
);
4572 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_PEN",_wrap_wxMEDIUM_GREY_PEN_get
, _wrap_wxMEDIUM_GREY_PEN_set
);
4573 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_PEN",_wrap_wxLIGHT_GREY_PEN_get
, _wrap_wxLIGHT_GREY_PEN_set
);
4574 SWIG_addvarlink(SWIG_globals
,"wxBLUE_BRUSH",_wrap_wxBLUE_BRUSH_get
, _wrap_wxBLUE_BRUSH_set
);
4575 SWIG_addvarlink(SWIG_globals
,"wxGREEN_BRUSH",_wrap_wxGREEN_BRUSH_get
, _wrap_wxGREEN_BRUSH_set
);
4576 SWIG_addvarlink(SWIG_globals
,"wxWHITE_BRUSH",_wrap_wxWHITE_BRUSH_get
, _wrap_wxWHITE_BRUSH_set
);
4577 SWIG_addvarlink(SWIG_globals
,"wxBLACK_BRUSH",_wrap_wxBLACK_BRUSH_get
, _wrap_wxBLACK_BRUSH_set
);
4578 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_BRUSH",_wrap_wxTRANSPARENT_BRUSH_get
, _wrap_wxTRANSPARENT_BRUSH_set
);
4579 SWIG_addvarlink(SWIG_globals
,"wxCYAN_BRUSH",_wrap_wxCYAN_BRUSH_get
, _wrap_wxCYAN_BRUSH_set
);
4580 SWIG_addvarlink(SWIG_globals
,"wxRED_BRUSH",_wrap_wxRED_BRUSH_get
, _wrap_wxRED_BRUSH_set
);
4581 SWIG_addvarlink(SWIG_globals
,"wxGREY_BRUSH",_wrap_wxGREY_BRUSH_get
, _wrap_wxGREY_BRUSH_set
);
4582 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_BRUSH",_wrap_wxMEDIUM_GREY_BRUSH_get
, _wrap_wxMEDIUM_GREY_BRUSH_set
);
4583 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_BRUSH",_wrap_wxLIGHT_GREY_BRUSH_get
, _wrap_wxLIGHT_GREY_BRUSH_set
);
4584 SWIG_addvarlink(SWIG_globals
,"wxBLACK",_wrap_wxBLACK_get
, _wrap_wxBLACK_set
);
4585 SWIG_addvarlink(SWIG_globals
,"wxWHITE",_wrap_wxWHITE_get
, _wrap_wxWHITE_set
);
4586 SWIG_addvarlink(SWIG_globals
,"wxRED",_wrap_wxRED_get
, _wrap_wxRED_set
);
4587 SWIG_addvarlink(SWIG_globals
,"wxBLUE",_wrap_wxBLUE_get
, _wrap_wxBLUE_set
);
4588 SWIG_addvarlink(SWIG_globals
,"wxGREEN",_wrap_wxGREEN_get
, _wrap_wxGREEN_set
);
4589 SWIG_addvarlink(SWIG_globals
,"wxCYAN",_wrap_wxCYAN_get
, _wrap_wxCYAN_set
);
4590 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY",_wrap_wxLIGHT_GREY_get
, _wrap_wxLIGHT_GREY_set
);
4591 SWIG_addvarlink(SWIG_globals
,"wxSTANDARD_CURSOR",_wrap_wxSTANDARD_CURSOR_get
, _wrap_wxSTANDARD_CURSOR_set
);
4592 SWIG_addvarlink(SWIG_globals
,"wxHOURGLASS_CURSOR",_wrap_wxHOURGLASS_CURSOR_get
, _wrap_wxHOURGLASS_CURSOR_set
);
4593 SWIG_addvarlink(SWIG_globals
,"wxCROSS_CURSOR",_wrap_wxCROSS_CURSOR_get
, _wrap_wxCROSS_CURSOR_set
);
4594 SWIG_addvarlink(SWIG_globals
,"wxNullBitmap",_wrap_wxNullBitmap_get
, _wrap_wxNullBitmap_set
);
4595 SWIG_addvarlink(SWIG_globals
,"wxNullIcon",_wrap_wxNullIcon_get
, _wrap_wxNullIcon_set
);
4596 SWIG_addvarlink(SWIG_globals
,"wxNullCursor",_wrap_wxNullCursor_get
, _wrap_wxNullCursor_set
);
4597 SWIG_addvarlink(SWIG_globals
,"wxNullPen",_wrap_wxNullPen_get
, _wrap_wxNullPen_set
);
4598 SWIG_addvarlink(SWIG_globals
,"wxNullBrush",_wrap_wxNullBrush_get
, _wrap_wxNullBrush_set
);
4599 SWIG_addvarlink(SWIG_globals
,"wxNullPalette",_wrap_wxNullPalette_get
, _wrap_wxNullPalette_set
);
4600 SWIG_addvarlink(SWIG_globals
,"wxNullFont",_wrap_wxNullFont_get
, _wrap_wxNullFont_set
);
4601 SWIG_addvarlink(SWIG_globals
,"wxNullColour",_wrap_wxNullColour_get
, _wrap_wxNullColour_set
);
4603 * These are the pointer type-equivalency mappings.
4604 * (Used by the SWIG pointer type-checker).
4606 SWIG_RegisterMapping("_signed_long","_long",0);
4607 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
4608 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
4609 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
4610 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
4611 SWIG_RegisterMapping("_byte","_unsigned_char",0);
4612 SWIG_RegisterMapping("_long","_wxDash",0);
4613 SWIG_RegisterMapping("_long","_unsigned_long",0);
4614 SWIG_RegisterMapping("_long","_signed_long",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("_signed_int","_EBool",0);
4663 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
4664 SWIG_RegisterMapping("_signed_int","_int",0);
4665 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
4666 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
4667 SWIG_RegisterMapping("_WXTYPE","_short",0);
4668 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
4669 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
4670 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
4671 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
4672 SWIG_RegisterMapping("_unsigned_short","_short",0);
4673 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
4674 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
4675 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
4676 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
4677 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
4678 SWIG_RegisterMapping("_signed_short","_short",0);
4679 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
4680 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
4681 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
4682 SWIG_RegisterMapping("_wxPostScriptDC","_class_wxPostScriptDC",0);
4683 SWIG_RegisterMapping("_unsigned_char","_byte",0);
4684 SWIG_RegisterMapping("_unsigned_int","_uint",0);
4685 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
4686 SWIG_RegisterMapping("_unsigned_int","_int",0);
4687 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
4688 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
4689 SWIG_RegisterMapping("_short","_WXTYPE",0);
4690 SWIG_RegisterMapping("_short","_unsigned_short",0);
4691 SWIG_RegisterMapping("_short","_signed_short",0);
4692 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
4693 SWIG_RegisterMapping("_wxWindowID","_uint",0);
4694 SWIG_RegisterMapping("_wxWindowID","_int",0);
4695 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
4696 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
4697 SWIG_RegisterMapping("_int","_EBool",0);
4698 SWIG_RegisterMapping("_int","_uint",0);
4699 SWIG_RegisterMapping("_int","_wxWindowID",0);
4700 SWIG_RegisterMapping("_int","_unsigned_int",0);
4701 SWIG_RegisterMapping("_int","_signed_int",0);
4702 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
4703 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
4704 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
4705 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
4706 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
4707 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
4708 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
4709 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
4710 SWIG_RegisterMapping("_class_wxBitmap","_class_wxCursor",SwigwxCursorTowxBitmap
);
4711 SWIG_RegisterMapping("_class_wxBitmap","_wxCursor",SwigwxCursorTowxBitmap
);
4712 SWIG_RegisterMapping("_class_wxBitmap","_class_wxIcon",SwigwxIconTowxBitmap
);
4713 SWIG_RegisterMapping("_class_wxBitmap","_wxIcon",SwigwxIconTowxBitmap
);
4714 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
4715 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
4716 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
4717 SWIG_RegisterMapping("_wxDash","_long",0);