4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Patch 5)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a,b) __declspec(dllexport) a b
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a,b) a _export b
32 # define SWIGEXPORT(a,b) a b
36 # define SWIGEXPORT(a,b) a b
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
47 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initgdic
54 #define SWIG_name "gdic"
57 #include <wx/metafile.h>
58 #include <wx/imaglist.h>
63 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
67 } else if (target
== Py_None
) {
71 if (!PyList_Check(target
)) {
73 target
= PyList_New(0);
74 PyList_Append(target
, o2
);
77 PyList_Append(target
,o
);
83 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
89 } else if (target
== Py_None
) {
93 if (!PyTuple_Check(target
)) {
95 target
= PyTuple_New(1);
96 PyTuple_SetItem(target
, 0, o2
);
99 PyTuple_SetItem(o3
, 0, o
);
102 target
= PySequence_Concat(o2
, o3
);
110 extern byte
* byte_LIST_helper(PyObject
* source
);
111 extern int* int_LIST_helper(PyObject
* source
);
112 extern long* long_LIST_helper(PyObject
* source
);
113 extern char** string_LIST_helper(PyObject
* source
);
114 extern wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
115 extern wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
116 extern wxString
* wxString_LIST_helper(PyObject
* source
);
117 extern wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
120 static char* wxStringErrorMsg
= "string type is required for parameter";
121 // Alternate 'constructor'
122 wxBitmap
* wxEmptyBitmap(int width
, int height
, int depth
=-1) {
123 return new wxBitmap(width
, height
, depth
);
126 // This one won't own the reference, so Python won't call
127 // the dtor, this is good for toolbars and such where
128 // the parent will manage the bitmap.
129 wxBitmap
* wxNoRefBitmap(char* name
, long flags
) {
130 return new wxBitmap(name
, flags
);
133 wxMask
* wxMaskColour(const wxBitmap
& bitmap
, const wxColour
& colour
) {
134 return new wxMask(bitmap
, colour
);
136 // Alternate 'constructor'
137 wxCursor
* wxPyStockCursor(int id
) {
138 return new wxCursor(id
);
140 // Alternate 'constructor'
141 wxColour
* wxNamedColour(const wxString
& colorName
) {
142 return new wxColour(colorName
);
144 // Alternate 'constructor'
145 wxMemoryDC
* wxMemoryDCFromDC(wxDC
* oldDC
) {
146 return new wxMemoryDC(oldDC
);
150 extern wxFont
* wxNORMAL_FONT
;
151 extern wxFont
* wxSMALL_FONT
;
152 extern wxFont
* wxITALIC_FONT
;
153 extern wxFont
* wxSWISS_FONT
;
154 extern wxPen
* wxRED_PEN
;
155 extern wxPen
* wxCYAN_PEN
;
156 extern wxPen
* wxGREEN_PEN
;
157 extern wxPen
* wxBLACK_PEN
;
158 extern wxPen
* wxWHITE_PEN
;
159 extern wxPen
* wxTRANSPARENT_PEN
;
160 extern wxPen
* wxBLACK_DASHED_PEN
;
161 extern wxPen
* wxGREY_PEN
;
162 extern wxPen
* wxMEDIUM_GREY_PEN
;
163 extern wxPen
* wxLIGHT_GREY_PEN
;
164 extern wxBrush
* wxBLUE_BRUSH
;
165 extern wxBrush
* wxGREEN_BRUSH
;
166 extern wxBrush
* wxWHITE_BRUSH
;
167 extern wxBrush
* wxBLACK_BRUSH
;
168 extern wxBrush
* wxTRANSPARENT_BRUSH
;
169 extern wxBrush
* wxCYAN_BRUSH
;
170 extern wxBrush
* wxRED_BRUSH
;
171 extern wxBrush
* wxGREY_BRUSH
;
172 extern wxBrush
* wxMEDIUM_GREY_BRUSH
;
173 extern wxBrush
* wxLIGHT_GREY_BRUSH
;
174 extern wxColour
* wxBLACK
;
175 extern wxColour
* wxWHITE
;
176 extern wxColour
* wxRED
;
177 extern wxColour
* wxBLUE
;
178 extern wxColour
* wxGREEN
;
179 extern wxColour
* wxCYAN
;
180 extern wxColour
* wxLIGHT_GREY
;
181 extern wxCursor
* wxSTANDARD_CURSOR
;
182 extern wxCursor
* wxHOURGLASS_CURSOR
;
183 extern wxCursor
* wxCROSS_CURSOR
;
184 extern wxBitmap wxNullBitmap
;
185 extern wxIcon wxNullIcon
;
186 extern wxCursor wxNullCursor
;
187 extern wxPen wxNullPen
;
188 extern wxBrush wxNullBrush
;
189 extern wxPalette wxNullPalette
;
190 extern wxFont wxNullFont
;
191 extern wxColour wxNullColour
;
194 static PyObject
*_wrap_wxEmptyBitmap(PyObject
*self
, PyObject
*args
) {
195 PyObject
* _resultobj
;
203 if(!PyArg_ParseTuple(args
,"ii|i:wxEmptyBitmap",&_arg0
,&_arg1
,&_arg2
))
205 _result
= (wxBitmap
*)wxEmptyBitmap(_arg0
,_arg1
,_arg2
);
206 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
207 _resultobj
= Py_BuildValue("s",_ptemp
);
211 static PyObject
*_wrap_wxNoRefBitmap(PyObject
*self
, PyObject
*args
) {
212 PyObject
* _resultobj
;
219 if(!PyArg_ParseTuple(args
,"sl:wxNoRefBitmap",&_arg0
,&_arg1
))
221 _result
= (wxBitmap
*)wxNoRefBitmap(_arg0
,_arg1
);
222 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
223 _resultobj
= Py_BuildValue("s",_ptemp
);
227 static PyObject
*_wrap_wxMaskColour(PyObject
*self
, PyObject
*args
) {
228 PyObject
* _resultobj
;
237 if(!PyArg_ParseTuple(args
,"ss:wxMaskColour",&_argc0
,&_argc1
))
240 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMaskColour. Expected _wxBitmap_p.");
246 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMaskColour. Expected _wxColour_p.");
251 _result
= (wxMask
*)wxMaskColour(*_arg0
,*_arg1
);
252 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
253 _resultobj
= Py_BuildValue("s",_ptemp
);
257 static PyObject
*_wrap_wxStockCursor(PyObject
*self
, PyObject
*args
) {
258 PyObject
* _resultobj
;
264 if(!PyArg_ParseTuple(args
,"i:wxStockCursor",&_arg0
))
266 _result
= (wxCursor
*)wxPyStockCursor(_arg0
);
267 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCursor_p");
268 _resultobj
= Py_BuildValue("s",_ptemp
);
272 static PyObject
*_wrap_wxNamedColour(PyObject
*self
, PyObject
*args
) {
273 PyObject
* _resultobj
;
276 PyObject
* _obj0
= 0;
280 if(!PyArg_ParseTuple(args
,"O:wxNamedColour",&_obj0
))
283 if (!PyString_Check(_obj0
)) {
284 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
287 _arg0
= new wxString(PyString_AsString(_obj0
));
289 _result
= (wxColour
*)wxNamedColour(*_arg0
);
290 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
291 _resultobj
= Py_BuildValue("s",_ptemp
);
299 static PyObject
*_wrap_wxMemoryDCFromDC(PyObject
*self
, PyObject
*args
) {
300 PyObject
* _resultobj
;
301 wxMemoryDC
* _result
;
307 if(!PyArg_ParseTuple(args
,"s:wxMemoryDCFromDC",&_argc0
))
310 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDCFromDC. Expected _wxDC_p.");
315 _result
= (wxMemoryDC
*)wxMemoryDCFromDC(_arg0
);
316 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
317 _resultobj
= Py_BuildValue("s",_ptemp
);
321 static int _wrap_wxNORMAL_FONT_set(PyObject
*val
) {
323 PyErr_SetString(PyExc_TypeError
,"Variable wxNORMAL_FONT is read-only.");
327 static PyObject
*_wrap_wxNORMAL_FONT_get() {
331 SWIG_MakePtr(ptemp
, (char *) wxNORMAL_FONT
,"_wxFont_p");
332 pyobj
= PyString_FromString(ptemp
);
336 static int _wrap_wxSMALL_FONT_set(PyObject
*val
) {
338 PyErr_SetString(PyExc_TypeError
,"Variable wxSMALL_FONT is read-only.");
342 static PyObject
*_wrap_wxSMALL_FONT_get() {
346 SWIG_MakePtr(ptemp
, (char *) wxSMALL_FONT
,"_wxFont_p");
347 pyobj
= PyString_FromString(ptemp
);
351 static int _wrap_wxITALIC_FONT_set(PyObject
*val
) {
353 PyErr_SetString(PyExc_TypeError
,"Variable wxITALIC_FONT is read-only.");
357 static PyObject
*_wrap_wxITALIC_FONT_get() {
361 SWIG_MakePtr(ptemp
, (char *) wxITALIC_FONT
,"_wxFont_p");
362 pyobj
= PyString_FromString(ptemp
);
366 static int _wrap_wxSWISS_FONT_set(PyObject
*val
) {
368 PyErr_SetString(PyExc_TypeError
,"Variable wxSWISS_FONT is read-only.");
372 static PyObject
*_wrap_wxSWISS_FONT_get() {
376 SWIG_MakePtr(ptemp
, (char *) wxSWISS_FONT
,"_wxFont_p");
377 pyobj
= PyString_FromString(ptemp
);
381 static int _wrap_wxRED_PEN_set(PyObject
*val
) {
383 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_PEN is read-only.");
387 static PyObject
*_wrap_wxRED_PEN_get() {
391 SWIG_MakePtr(ptemp
, (char *) wxRED_PEN
,"_wxPen_p");
392 pyobj
= PyString_FromString(ptemp
);
396 static int _wrap_wxCYAN_PEN_set(PyObject
*val
) {
398 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_PEN is read-only.");
402 static PyObject
*_wrap_wxCYAN_PEN_get() {
406 SWIG_MakePtr(ptemp
, (char *) wxCYAN_PEN
,"_wxPen_p");
407 pyobj
= PyString_FromString(ptemp
);
411 static int _wrap_wxGREEN_PEN_set(PyObject
*val
) {
413 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_PEN is read-only.");
417 static PyObject
*_wrap_wxGREEN_PEN_get() {
421 SWIG_MakePtr(ptemp
, (char *) wxGREEN_PEN
,"_wxPen_p");
422 pyobj
= PyString_FromString(ptemp
);
426 static int _wrap_wxBLACK_PEN_set(PyObject
*val
) {
428 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_PEN is read-only.");
432 static PyObject
*_wrap_wxBLACK_PEN_get() {
436 SWIG_MakePtr(ptemp
, (char *) wxBLACK_PEN
,"_wxPen_p");
437 pyobj
= PyString_FromString(ptemp
);
441 static int _wrap_wxWHITE_PEN_set(PyObject
*val
) {
443 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_PEN is read-only.");
447 static PyObject
*_wrap_wxWHITE_PEN_get() {
451 SWIG_MakePtr(ptemp
, (char *) wxWHITE_PEN
,"_wxPen_p");
452 pyobj
= PyString_FromString(ptemp
);
456 static int _wrap_wxTRANSPARENT_PEN_set(PyObject
*val
) {
458 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_PEN is read-only.");
462 static PyObject
*_wrap_wxTRANSPARENT_PEN_get() {
466 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_PEN
,"_wxPen_p");
467 pyobj
= PyString_FromString(ptemp
);
471 static int _wrap_wxBLACK_DASHED_PEN_set(PyObject
*val
) {
473 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_DASHED_PEN is read-only.");
477 static PyObject
*_wrap_wxBLACK_DASHED_PEN_get() {
481 SWIG_MakePtr(ptemp
, (char *) wxBLACK_DASHED_PEN
,"_wxPen_p");
482 pyobj
= PyString_FromString(ptemp
);
486 static int _wrap_wxGREY_PEN_set(PyObject
*val
) {
488 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_PEN is read-only.");
492 static PyObject
*_wrap_wxGREY_PEN_get() {
496 SWIG_MakePtr(ptemp
, (char *) wxGREY_PEN
,"_wxPen_p");
497 pyobj
= PyString_FromString(ptemp
);
501 static int _wrap_wxMEDIUM_GREY_PEN_set(PyObject
*val
) {
503 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_PEN is read-only.");
507 static PyObject
*_wrap_wxMEDIUM_GREY_PEN_get() {
511 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_PEN
,"_wxPen_p");
512 pyobj
= PyString_FromString(ptemp
);
516 static int _wrap_wxLIGHT_GREY_PEN_set(PyObject
*val
) {
518 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_PEN is read-only.");
522 static PyObject
*_wrap_wxLIGHT_GREY_PEN_get() {
526 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_PEN
,"_wxPen_p");
527 pyobj
= PyString_FromString(ptemp
);
531 static int _wrap_wxBLUE_BRUSH_set(PyObject
*val
) {
533 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE_BRUSH is read-only.");
537 static PyObject
*_wrap_wxBLUE_BRUSH_get() {
541 SWIG_MakePtr(ptemp
, (char *) wxBLUE_BRUSH
,"_wxBrush_p");
542 pyobj
= PyString_FromString(ptemp
);
546 static int _wrap_wxGREEN_BRUSH_set(PyObject
*val
) {
548 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_BRUSH is read-only.");
552 static PyObject
*_wrap_wxGREEN_BRUSH_get() {
556 SWIG_MakePtr(ptemp
, (char *) wxGREEN_BRUSH
,"_wxBrush_p");
557 pyobj
= PyString_FromString(ptemp
);
561 static int _wrap_wxWHITE_BRUSH_set(PyObject
*val
) {
563 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_BRUSH is read-only.");
567 static PyObject
*_wrap_wxWHITE_BRUSH_get() {
571 SWIG_MakePtr(ptemp
, (char *) wxWHITE_BRUSH
,"_wxBrush_p");
572 pyobj
= PyString_FromString(ptemp
);
576 static int _wrap_wxBLACK_BRUSH_set(PyObject
*val
) {
578 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_BRUSH is read-only.");
582 static PyObject
*_wrap_wxBLACK_BRUSH_get() {
586 SWIG_MakePtr(ptemp
, (char *) wxBLACK_BRUSH
,"_wxBrush_p");
587 pyobj
= PyString_FromString(ptemp
);
591 static int _wrap_wxTRANSPARENT_BRUSH_set(PyObject
*val
) {
593 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_BRUSH is read-only.");
597 static PyObject
*_wrap_wxTRANSPARENT_BRUSH_get() {
601 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_BRUSH
,"_wxBrush_p");
602 pyobj
= PyString_FromString(ptemp
);
606 static int _wrap_wxCYAN_BRUSH_set(PyObject
*val
) {
608 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_BRUSH is read-only.");
612 static PyObject
*_wrap_wxCYAN_BRUSH_get() {
616 SWIG_MakePtr(ptemp
, (char *) wxCYAN_BRUSH
,"_wxBrush_p");
617 pyobj
= PyString_FromString(ptemp
);
621 static int _wrap_wxRED_BRUSH_set(PyObject
*val
) {
623 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_BRUSH is read-only.");
627 static PyObject
*_wrap_wxRED_BRUSH_get() {
631 SWIG_MakePtr(ptemp
, (char *) wxRED_BRUSH
,"_wxBrush_p");
632 pyobj
= PyString_FromString(ptemp
);
636 static int _wrap_wxGREY_BRUSH_set(PyObject
*val
) {
638 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_BRUSH is read-only.");
642 static PyObject
*_wrap_wxGREY_BRUSH_get() {
646 SWIG_MakePtr(ptemp
, (char *) wxGREY_BRUSH
,"_wxBrush_p");
647 pyobj
= PyString_FromString(ptemp
);
651 static int _wrap_wxMEDIUM_GREY_BRUSH_set(PyObject
*val
) {
653 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_BRUSH is read-only.");
657 static PyObject
*_wrap_wxMEDIUM_GREY_BRUSH_get() {
661 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_BRUSH
,"_wxBrush_p");
662 pyobj
= PyString_FromString(ptemp
);
666 static int _wrap_wxLIGHT_GREY_BRUSH_set(PyObject
*val
) {
668 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_BRUSH is read-only.");
672 static PyObject
*_wrap_wxLIGHT_GREY_BRUSH_get() {
676 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_BRUSH
,"_wxBrush_p");
677 pyobj
= PyString_FromString(ptemp
);
681 static int _wrap_wxBLACK_set(PyObject
*val
) {
683 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK is read-only.");
687 static PyObject
*_wrap_wxBLACK_get() {
691 SWIG_MakePtr(ptemp
, (char *) wxBLACK
,"_wxColour_p");
692 pyobj
= PyString_FromString(ptemp
);
696 static int _wrap_wxWHITE_set(PyObject
*val
) {
698 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE is read-only.");
702 static PyObject
*_wrap_wxWHITE_get() {
706 SWIG_MakePtr(ptemp
, (char *) wxWHITE
,"_wxColour_p");
707 pyobj
= PyString_FromString(ptemp
);
711 static int _wrap_wxRED_set(PyObject
*val
) {
713 PyErr_SetString(PyExc_TypeError
,"Variable wxRED is read-only.");
717 static PyObject
*_wrap_wxRED_get() {
721 SWIG_MakePtr(ptemp
, (char *) wxRED
,"_wxColour_p");
722 pyobj
= PyString_FromString(ptemp
);
726 static int _wrap_wxBLUE_set(PyObject
*val
) {
728 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE is read-only.");
732 static PyObject
*_wrap_wxBLUE_get() {
736 SWIG_MakePtr(ptemp
, (char *) wxBLUE
,"_wxColour_p");
737 pyobj
= PyString_FromString(ptemp
);
741 static int _wrap_wxGREEN_set(PyObject
*val
) {
743 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN is read-only.");
747 static PyObject
*_wrap_wxGREEN_get() {
751 SWIG_MakePtr(ptemp
, (char *) wxGREEN
,"_wxColour_p");
752 pyobj
= PyString_FromString(ptemp
);
756 static int _wrap_wxCYAN_set(PyObject
*val
) {
758 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN is read-only.");
762 static PyObject
*_wrap_wxCYAN_get() {
766 SWIG_MakePtr(ptemp
, (char *) wxCYAN
,"_wxColour_p");
767 pyobj
= PyString_FromString(ptemp
);
771 static int _wrap_wxLIGHT_GREY_set(PyObject
*val
) {
773 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY is read-only.");
777 static PyObject
*_wrap_wxLIGHT_GREY_get() {
781 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY
,"_wxColour_p");
782 pyobj
= PyString_FromString(ptemp
);
786 static int _wrap_wxSTANDARD_CURSOR_set(PyObject
*val
) {
788 PyErr_SetString(PyExc_TypeError
,"Variable wxSTANDARD_CURSOR is read-only.");
792 static PyObject
*_wrap_wxSTANDARD_CURSOR_get() {
796 SWIG_MakePtr(ptemp
, (char *) wxSTANDARD_CURSOR
,"_wxCursor_p");
797 pyobj
= PyString_FromString(ptemp
);
801 static int _wrap_wxHOURGLASS_CURSOR_set(PyObject
*val
) {
803 PyErr_SetString(PyExc_TypeError
,"Variable wxHOURGLASS_CURSOR is read-only.");
807 static PyObject
*_wrap_wxHOURGLASS_CURSOR_get() {
811 SWIG_MakePtr(ptemp
, (char *) wxHOURGLASS_CURSOR
,"_wxCursor_p");
812 pyobj
= PyString_FromString(ptemp
);
816 static int _wrap_wxCROSS_CURSOR_set(PyObject
*val
) {
818 PyErr_SetString(PyExc_TypeError
,"Variable wxCROSS_CURSOR is read-only.");
822 static PyObject
*_wrap_wxCROSS_CURSOR_get() {
826 SWIG_MakePtr(ptemp
, (char *) wxCROSS_CURSOR
,"_wxCursor_p");
827 pyobj
= PyString_FromString(ptemp
);
831 static int _wrap_wxNullBitmap_set(PyObject
*val
) {
833 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBitmap is read-only.");
837 static PyObject
*_wrap_wxNullBitmap_get() {
841 SWIG_MakePtr(ptemp
,(char *) &wxNullBitmap
,"_wxBitmap_p");
842 pyobj
= PyString_FromString(ptemp
);
846 static int _wrap_wxNullIcon_set(PyObject
*val
) {
848 PyErr_SetString(PyExc_TypeError
,"Variable wxNullIcon is read-only.");
852 static PyObject
*_wrap_wxNullIcon_get() {
856 SWIG_MakePtr(ptemp
,(char *) &wxNullIcon
,"_wxIcon_p");
857 pyobj
= PyString_FromString(ptemp
);
861 static int _wrap_wxNullCursor_set(PyObject
*val
) {
863 PyErr_SetString(PyExc_TypeError
,"Variable wxNullCursor is read-only.");
867 static PyObject
*_wrap_wxNullCursor_get() {
871 SWIG_MakePtr(ptemp
,(char *) &wxNullCursor
,"_wxCursor_p");
872 pyobj
= PyString_FromString(ptemp
);
876 static int _wrap_wxNullPen_set(PyObject
*val
) {
878 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPen is read-only.");
882 static PyObject
*_wrap_wxNullPen_get() {
886 SWIG_MakePtr(ptemp
,(char *) &wxNullPen
,"_wxPen_p");
887 pyobj
= PyString_FromString(ptemp
);
891 static int _wrap_wxNullBrush_set(PyObject
*val
) {
893 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBrush is read-only.");
897 static PyObject
*_wrap_wxNullBrush_get() {
901 SWIG_MakePtr(ptemp
,(char *) &wxNullBrush
,"_wxBrush_p");
902 pyobj
= PyString_FromString(ptemp
);
906 static int _wrap_wxNullPalette_set(PyObject
*val
) {
908 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPalette is read-only.");
912 static PyObject
*_wrap_wxNullPalette_get() {
916 SWIG_MakePtr(ptemp
,(char *) &wxNullPalette
,"_wxPalette_p");
917 pyobj
= PyString_FromString(ptemp
);
921 static int _wrap_wxNullFont_set(PyObject
*val
) {
923 PyErr_SetString(PyExc_TypeError
,"Variable wxNullFont is read-only.");
927 static PyObject
*_wrap_wxNullFont_get() {
931 SWIG_MakePtr(ptemp
,(char *) &wxNullFont
,"_wxFont_p");
932 pyobj
= PyString_FromString(ptemp
);
936 static int _wrap_wxNullColour_set(PyObject
*val
) {
938 PyErr_SetString(PyExc_TypeError
,"Variable wxNullColour is read-only.");
942 static PyObject
*_wrap_wxNullColour_get() {
946 SWIG_MakePtr(ptemp
,(char *) &wxNullColour
,"_wxColour_p");
947 pyobj
= PyString_FromString(ptemp
);
951 #define new_wxBitmap(_swigarg0,_swigarg1) (new wxBitmap(_swigarg0,_swigarg1))
952 static PyObject
*_wrap_new_wxBitmap(PyObject
*self
, PyObject
*args
) {
953 PyObject
* _resultobj
;
957 PyObject
* _obj0
= 0;
961 if(!PyArg_ParseTuple(args
,"Ol:new_wxBitmap",&_obj0
,&_arg1
))
964 if (!PyString_Check(_obj0
)) {
965 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
968 _arg0
= new wxString(PyString_AsString(_obj0
));
970 _result
= (wxBitmap
*)new_wxBitmap(*_arg0
,_arg1
);
971 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
972 _resultobj
= Py_BuildValue("s",_ptemp
);
980 #define delete_wxBitmap(_swigobj) (delete _swigobj)
981 static PyObject
*_wrap_delete_wxBitmap(PyObject
*self
, PyObject
*args
) {
982 PyObject
* _resultobj
;
987 if(!PyArg_ParseTuple(args
,"s:delete_wxBitmap",&_argc0
))
990 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBitmap. Expected _wxBitmap_p.");
995 delete_wxBitmap(_arg0
);
997 _resultobj
= Py_None
;
1001 #define wxBitmap_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2))
1002 static PyObject
*_wrap_wxBitmap_Create(PyObject
*self
, PyObject
*args
) {
1003 PyObject
* _resultobj
;
1011 if(!PyArg_ParseTuple(args
,"sii|i:wxBitmap_Create",&_argc0
,&_arg1
,&_arg2
,&_arg3
))
1014 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_Create. Expected _wxBitmap_p.");
1019 wxBitmap_Create(_arg0
,_arg1
,_arg2
,_arg3
);
1021 _resultobj
= Py_None
;
1025 #define wxBitmap_GetDepth(_swigobj) (_swigobj->GetDepth())
1026 static PyObject
*_wrap_wxBitmap_GetDepth(PyObject
*self
, PyObject
*args
) {
1027 PyObject
* _resultobj
;
1033 if(!PyArg_ParseTuple(args
,"s:wxBitmap_GetDepth",&_argc0
))
1036 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetDepth. Expected _wxBitmap_p.");
1041 _result
= (int )wxBitmap_GetDepth(_arg0
);
1042 _resultobj
= Py_BuildValue("i",_result
);
1046 #define wxBitmap_GetHeight(_swigobj) (_swigobj->GetHeight())
1047 static PyObject
*_wrap_wxBitmap_GetHeight(PyObject
*self
, PyObject
*args
) {
1048 PyObject
* _resultobj
;
1054 if(!PyArg_ParseTuple(args
,"s:wxBitmap_GetHeight",&_argc0
))
1057 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetHeight. Expected _wxBitmap_p.");
1062 _result
= (int )wxBitmap_GetHeight(_arg0
);
1063 _resultobj
= Py_BuildValue("i",_result
);
1067 #define wxBitmap_GetPalette(_swigobj) (_swigobj->GetPalette())
1068 static PyObject
*_wrap_wxBitmap_GetPalette(PyObject
*self
, PyObject
*args
) {
1069 PyObject
* _resultobj
;
1070 wxPalette
* _result
;
1076 if(!PyArg_ParseTuple(args
,"s:wxBitmap_GetPalette",&_argc0
))
1079 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetPalette. Expected _wxBitmap_p.");
1084 _result
= (wxPalette
*)wxBitmap_GetPalette(_arg0
);
1085 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
1086 _resultobj
= Py_BuildValue("s",_ptemp
);
1090 #define wxBitmap_GetMask(_swigobj) (_swigobj->GetMask())
1091 static PyObject
*_wrap_wxBitmap_GetMask(PyObject
*self
, PyObject
*args
) {
1092 PyObject
* _resultobj
;
1099 if(!PyArg_ParseTuple(args
,"s:wxBitmap_GetMask",&_argc0
))
1102 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetMask. Expected _wxBitmap_p.");
1107 _result
= (wxMask
*)wxBitmap_GetMask(_arg0
);
1108 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
1109 _resultobj
= Py_BuildValue("s",_ptemp
);
1113 #define wxBitmap_GetWidth(_swigobj) (_swigobj->GetWidth())
1114 static PyObject
*_wrap_wxBitmap_GetWidth(PyObject
*self
, PyObject
*args
) {
1115 PyObject
* _resultobj
;
1121 if(!PyArg_ParseTuple(args
,"s:wxBitmap_GetWidth",&_argc0
))
1124 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetWidth. Expected _wxBitmap_p.");
1129 _result
= (int )wxBitmap_GetWidth(_arg0
);
1130 _resultobj
= Py_BuildValue("i",_result
);
1134 #define wxBitmap_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1135 static PyObject
*_wrap_wxBitmap_LoadFile(PyObject
*self
, PyObject
*args
) {
1136 PyObject
* _resultobj
;
1142 PyObject
* _obj1
= 0;
1145 if(!PyArg_ParseTuple(args
,"sOl:wxBitmap_LoadFile",&_argc0
,&_obj1
,&_arg2
))
1148 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_LoadFile. Expected _wxBitmap_p.");
1154 if (!PyString_Check(_obj1
)) {
1155 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1158 _arg1
= new wxString(PyString_AsString(_obj1
));
1160 _result
= (bool )wxBitmap_LoadFile(_arg0
,*_arg1
,_arg2
);
1161 _resultobj
= Py_BuildValue("i",_result
);
1169 #define wxBitmap_Ok(_swigobj) (_swigobj->Ok())
1170 static PyObject
*_wrap_wxBitmap_Ok(PyObject
*self
, PyObject
*args
) {
1171 PyObject
* _resultobj
;
1177 if(!PyArg_ParseTuple(args
,"s:wxBitmap_Ok",&_argc0
))
1180 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_Ok. Expected _wxBitmap_p.");
1185 _result
= (bool )wxBitmap_Ok(_arg0
);
1186 _resultobj
= Py_BuildValue("i",_result
);
1190 #define wxBitmap_SaveFile(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SaveFile(_swigarg0,_swigarg1,_swigarg2))
1191 static PyObject
*_wrap_wxBitmap_SaveFile(PyObject
*self
, PyObject
*args
) {
1192 PyObject
* _resultobj
;
1197 wxPalette
* _arg3
= NULL
;
1199 PyObject
* _obj1
= 0;
1203 if(!PyArg_ParseTuple(args
,"sOi|s:wxBitmap_SaveFile",&_argc0
,&_obj1
,&_arg2
,&_argc3
))
1206 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SaveFile. Expected _wxBitmap_p.");
1212 if (!PyString_Check(_obj1
)) {
1213 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1216 _arg1
= new wxString(PyString_AsString(_obj1
));
1219 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxPalette_p")) {
1220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxBitmap_SaveFile. Expected _wxPalette_p.");
1224 _result
= (bool )wxBitmap_SaveFile(_arg0
,*_arg1
,_arg2
,_arg3
);
1225 _resultobj
= Py_BuildValue("i",_result
);
1233 #define wxBitmap_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
1234 static PyObject
*_wrap_wxBitmap_SetDepth(PyObject
*self
, PyObject
*args
) {
1235 PyObject
* _resultobj
;
1241 if(!PyArg_ParseTuple(args
,"si:wxBitmap_SetDepth",&_argc0
,&_arg1
))
1244 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetDepth. Expected _wxBitmap_p.");
1249 wxBitmap_SetDepth(_arg0
,_arg1
);
1251 _resultobj
= Py_None
;
1255 #define wxBitmap_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1256 static PyObject
*_wrap_wxBitmap_SetHeight(PyObject
*self
, PyObject
*args
) {
1257 PyObject
* _resultobj
;
1263 if(!PyArg_ParseTuple(args
,"si:wxBitmap_SetHeight",&_argc0
,&_arg1
))
1266 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetHeight. Expected _wxBitmap_p.");
1271 wxBitmap_SetHeight(_arg0
,_arg1
);
1273 _resultobj
= Py_None
;
1277 #define wxBitmap_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
1278 static PyObject
*_wrap_wxBitmap_SetMask(PyObject
*self
, PyObject
*args
) {
1279 PyObject
* _resultobj
;
1286 if(!PyArg_ParseTuple(args
,"ss:wxBitmap_SetMask",&_argc0
,&_argc1
))
1289 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetMask. Expected _wxBitmap_p.");
1295 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxMask_p")) {
1296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_SetMask. Expected _wxMask_p.");
1300 wxBitmap_SetMask(_arg0
,_arg1
);
1302 _resultobj
= Py_None
;
1306 #define wxBitmap_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
1307 static PyObject
*_wrap_wxBitmap_SetPalette(PyObject
*self
, PyObject
*args
) {
1308 PyObject
* _resultobj
;
1315 if(!PyArg_ParseTuple(args
,"ss:wxBitmap_SetPalette",&_argc0
,&_argc1
))
1318 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetPalette. Expected _wxBitmap_p.");
1324 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPalette_p")) {
1325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_SetPalette. Expected _wxPalette_p.");
1329 wxBitmap_SetPalette(_arg0
,*_arg1
);
1331 _resultobj
= Py_None
;
1335 #define wxBitmap_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1336 static PyObject
*_wrap_wxBitmap_SetWidth(PyObject
*self
, PyObject
*args
) {
1337 PyObject
* _resultobj
;
1343 if(!PyArg_ParseTuple(args
,"si:wxBitmap_SetWidth",&_argc0
,&_arg1
))
1346 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetWidth. Expected _wxBitmap_p.");
1351 wxBitmap_SetWidth(_arg0
,_arg1
);
1353 _resultobj
= Py_None
;
1357 #define new_wxMask(_swigarg0) (new wxMask(_swigarg0))
1358 static PyObject
*_wrap_new_wxMask(PyObject
*self
, PyObject
*args
) {
1359 PyObject
* _resultobj
;
1366 if(!PyArg_ParseTuple(args
,"s:new_wxMask",&_argc0
))
1369 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMask. Expected _wxBitmap_p.");
1374 _result
= (wxMask
*)new_wxMask(*_arg0
);
1375 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
1376 _resultobj
= Py_BuildValue("s",_ptemp
);
1380 #define delete_wxMask(_swigobj) (delete _swigobj)
1381 static PyObject
*_wrap_delete_wxMask(PyObject
*self
, PyObject
*args
) {
1382 PyObject
* _resultobj
;
1387 if(!PyArg_ParseTuple(args
,"s:delete_wxMask",&_argc0
))
1390 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMask_p")) {
1391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMask. Expected _wxMask_p.");
1395 delete_wxMask(_arg0
);
1397 _resultobj
= Py_None
;
1401 static void *SwigwxIconTowxBitmap(void *ptr
) {
1404 src
= (wxIcon
*) ptr
;
1405 dest
= (wxBitmap
*) src
;
1406 return (void *) dest
;
1409 #define new_wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1410 static PyObject
*_wrap_new_wxIcon(PyObject
*self
, PyObject
*args
) {
1411 PyObject
* _resultobj
;
1417 PyObject
* _obj0
= 0;
1421 if(!PyArg_ParseTuple(args
,"Ol|ii:new_wxIcon",&_obj0
,&_arg1
,&_arg2
,&_arg3
))
1424 if (!PyString_Check(_obj0
)) {
1425 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1428 _arg0
= new wxString(PyString_AsString(_obj0
));
1430 _result
= (wxIcon
*)new_wxIcon(*_arg0
,_arg1
,_arg2
,_arg3
);
1431 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
1432 _resultobj
= Py_BuildValue("s",_ptemp
);
1440 #define delete_wxIcon(_swigobj) (delete _swigobj)
1441 static PyObject
*_wrap_delete_wxIcon(PyObject
*self
, PyObject
*args
) {
1442 PyObject
* _resultobj
;
1447 if(!PyArg_ParseTuple(args
,"s:delete_wxIcon",&_argc0
))
1450 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxIcon. Expected _wxIcon_p.");
1455 delete_wxIcon(_arg0
);
1457 _resultobj
= Py_None
;
1461 #define wxIcon_GetDepth(_swigobj) (_swigobj->GetDepth())
1462 static PyObject
*_wrap_wxIcon_GetDepth(PyObject
*self
, PyObject
*args
) {
1463 PyObject
* _resultobj
;
1469 if(!PyArg_ParseTuple(args
,"s:wxIcon_GetDepth",&_argc0
))
1472 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetDepth. Expected _wxIcon_p.");
1477 _result
= (int )wxIcon_GetDepth(_arg0
);
1478 _resultobj
= Py_BuildValue("i",_result
);
1482 #define wxIcon_GetHeight(_swigobj) (_swigobj->GetHeight())
1483 static PyObject
*_wrap_wxIcon_GetHeight(PyObject
*self
, PyObject
*args
) {
1484 PyObject
* _resultobj
;
1490 if(!PyArg_ParseTuple(args
,"s:wxIcon_GetHeight",&_argc0
))
1493 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetHeight. Expected _wxIcon_p.");
1498 _result
= (int )wxIcon_GetHeight(_arg0
);
1499 _resultobj
= Py_BuildValue("i",_result
);
1503 #define wxIcon_GetWidth(_swigobj) (_swigobj->GetWidth())
1504 static PyObject
*_wrap_wxIcon_GetWidth(PyObject
*self
, PyObject
*args
) {
1505 PyObject
* _resultobj
;
1511 if(!PyArg_ParseTuple(args
,"s:wxIcon_GetWidth",&_argc0
))
1514 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetWidth. Expected _wxIcon_p.");
1519 _result
= (int )wxIcon_GetWidth(_arg0
);
1520 _resultobj
= Py_BuildValue("i",_result
);
1524 #define wxIcon_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1525 static PyObject
*_wrap_wxIcon_LoadFile(PyObject
*self
, PyObject
*args
) {
1526 PyObject
* _resultobj
;
1532 PyObject
* _obj1
= 0;
1535 if(!PyArg_ParseTuple(args
,"sOl:wxIcon_LoadFile",&_argc0
,&_obj1
,&_arg2
))
1538 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_LoadFile. Expected _wxIcon_p.");
1544 if (!PyString_Check(_obj1
)) {
1545 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1548 _arg1
= new wxString(PyString_AsString(_obj1
));
1550 _result
= (bool )wxIcon_LoadFile(_arg0
,*_arg1
,_arg2
);
1551 _resultobj
= Py_BuildValue("i",_result
);
1559 #define wxIcon_Ok(_swigobj) (_swigobj->Ok())
1560 static PyObject
*_wrap_wxIcon_Ok(PyObject
*self
, PyObject
*args
) {
1561 PyObject
* _resultobj
;
1567 if(!PyArg_ParseTuple(args
,"s:wxIcon_Ok",&_argc0
))
1570 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_Ok. Expected _wxIcon_p.");
1575 _result
= (bool )wxIcon_Ok(_arg0
);
1576 _resultobj
= Py_BuildValue("i",_result
);
1580 #define wxIcon_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
1581 static PyObject
*_wrap_wxIcon_SetDepth(PyObject
*self
, PyObject
*args
) {
1582 PyObject
* _resultobj
;
1588 if(!PyArg_ParseTuple(args
,"si:wxIcon_SetDepth",&_argc0
,&_arg1
))
1591 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetDepth. Expected _wxIcon_p.");
1596 wxIcon_SetDepth(_arg0
,_arg1
);
1598 _resultobj
= Py_None
;
1602 #define wxIcon_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1603 static PyObject
*_wrap_wxIcon_SetHeight(PyObject
*self
, PyObject
*args
) {
1604 PyObject
* _resultobj
;
1610 if(!PyArg_ParseTuple(args
,"si:wxIcon_SetHeight",&_argc0
,&_arg1
))
1613 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetHeight. Expected _wxIcon_p.");
1618 wxIcon_SetHeight(_arg0
,_arg1
);
1620 _resultobj
= Py_None
;
1624 #define wxIcon_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1625 static PyObject
*_wrap_wxIcon_SetWidth(PyObject
*self
, PyObject
*args
) {
1626 PyObject
* _resultobj
;
1632 if(!PyArg_ParseTuple(args
,"si:wxIcon_SetWidth",&_argc0
,&_arg1
))
1635 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetWidth. Expected _wxIcon_p.");
1640 wxIcon_SetWidth(_arg0
,_arg1
);
1642 _resultobj
= Py_None
;
1646 static void *SwigwxCursorTowxBitmap(void *ptr
) {
1649 src
= (wxCursor
*) ptr
;
1650 dest
= (wxBitmap
*) src
;
1651 return (void *) dest
;
1654 #define new_wxCursor(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxCursor(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1655 static PyObject
*_wrap_new_wxCursor(PyObject
*self
, PyObject
*args
) {
1656 PyObject
* _resultobj
;
1662 PyObject
* _obj0
= 0;
1666 if(!PyArg_ParseTuple(args
,"Ol|ii:new_wxCursor",&_obj0
,&_arg1
,&_arg2
,&_arg3
))
1669 if (!PyString_Check(_obj0
)) {
1670 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1673 _arg0
= new wxString(PyString_AsString(_obj0
));
1675 _result
= (wxCursor
*)new_wxCursor(*_arg0
,_arg1
,_arg2
,_arg3
);
1676 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCursor_p");
1677 _resultobj
= Py_BuildValue("s",_ptemp
);
1685 #define delete_wxCursor(_swigobj) (delete _swigobj)
1686 static PyObject
*_wrap_delete_wxCursor(PyObject
*self
, PyObject
*args
) {
1687 PyObject
* _resultobj
;
1692 if(!PyArg_ParseTuple(args
,"s:delete_wxCursor",&_argc0
))
1695 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxCursor_p")) {
1696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCursor. Expected _wxCursor_p.");
1700 delete_wxCursor(_arg0
);
1702 _resultobj
= Py_None
;
1706 #define wxCursor_Ok(_swigobj) (_swigobj->Ok())
1707 static PyObject
*_wrap_wxCursor_Ok(PyObject
*self
, PyObject
*args
) {
1708 PyObject
* _resultobj
;
1714 if(!PyArg_ParseTuple(args
,"s:wxCursor_Ok",&_argc0
))
1717 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxCursor_p")) {
1718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_Ok. Expected _wxCursor_p.");
1722 _result
= (bool )wxCursor_Ok(_arg0
);
1723 _resultobj
= Py_BuildValue("i",_result
);
1727 static wxFont
*new_wxFont(int pointSize
,int family
,int style
,int weight
,int underline
,char *faceName
) {
1729 return wxTheFontList
->FindOrCreateFont(pointSize
, family
, style
, weight
,
1730 underline
, faceName
);
1733 static PyObject
*_wrap_new_wxFont(PyObject
*self
, PyObject
*args
) {
1734 PyObject
* _resultobj
;
1745 if(!PyArg_ParseTuple(args
,"iiii|is:new_wxFont",&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
1747 _result
= (wxFont
*)new_wxFont(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1748 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1749 _resultobj
= Py_BuildValue("s",_ptemp
);
1753 #define wxFont_GetFaceName(_swigobj) (_swigobj->GetFaceName())
1754 static PyObject
*_wrap_wxFont_GetFaceName(PyObject
*self
, PyObject
*args
) {
1755 PyObject
* _resultobj
;
1761 if(!PyArg_ParseTuple(args
,"s:wxFont_GetFaceName",&_argc0
))
1764 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFaceName. Expected _wxFont_p.");
1769 _result
= new wxString (wxFont_GetFaceName(_arg0
));
1771 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1779 #define wxFont_GetFamily(_swigobj) (_swigobj->GetFamily())
1780 static PyObject
*_wrap_wxFont_GetFamily(PyObject
*self
, PyObject
*args
) {
1781 PyObject
* _resultobj
;
1787 if(!PyArg_ParseTuple(args
,"s:wxFont_GetFamily",&_argc0
))
1790 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFamily. Expected _wxFont_p.");
1795 _result
= (int )wxFont_GetFamily(_arg0
);
1796 _resultobj
= Py_BuildValue("i",_result
);
1800 #define wxFont_GetFontId(_swigobj) (_swigobj->GetFontId())
1801 static PyObject
*_wrap_wxFont_GetFontId(PyObject
*self
, PyObject
*args
) {
1802 PyObject
* _resultobj
;
1808 if(!PyArg_ParseTuple(args
,"s:wxFont_GetFontId",&_argc0
))
1811 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFontId. Expected _wxFont_p.");
1816 _result
= (int )wxFont_GetFontId(_arg0
);
1817 _resultobj
= Py_BuildValue("i",_result
);
1821 #define wxFont_GetPointSize(_swigobj) (_swigobj->GetPointSize())
1822 static PyObject
*_wrap_wxFont_GetPointSize(PyObject
*self
, PyObject
*args
) {
1823 PyObject
* _resultobj
;
1829 if(!PyArg_ParseTuple(args
,"s:wxFont_GetPointSize",&_argc0
))
1832 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetPointSize. Expected _wxFont_p.");
1837 _result
= (int )wxFont_GetPointSize(_arg0
);
1838 _resultobj
= Py_BuildValue("i",_result
);
1842 #define wxFont_GetStyle(_swigobj) (_swigobj->GetStyle())
1843 static PyObject
*_wrap_wxFont_GetStyle(PyObject
*self
, PyObject
*args
) {
1844 PyObject
* _resultobj
;
1850 if(!PyArg_ParseTuple(args
,"s:wxFont_GetStyle",&_argc0
))
1853 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetStyle. Expected _wxFont_p.");
1858 _result
= (int )wxFont_GetStyle(_arg0
);
1859 _resultobj
= Py_BuildValue("i",_result
);
1863 #define wxFont_GetUnderlined(_swigobj) (_swigobj->GetUnderlined())
1864 static PyObject
*_wrap_wxFont_GetUnderlined(PyObject
*self
, PyObject
*args
) {
1865 PyObject
* _resultobj
;
1871 if(!PyArg_ParseTuple(args
,"s:wxFont_GetUnderlined",&_argc0
))
1874 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetUnderlined. Expected _wxFont_p.");
1879 _result
= (bool )wxFont_GetUnderlined(_arg0
);
1880 _resultobj
= Py_BuildValue("i",_result
);
1884 #define wxFont_GetWeight(_swigobj) (_swigobj->GetWeight())
1885 static PyObject
*_wrap_wxFont_GetWeight(PyObject
*self
, PyObject
*args
) {
1886 PyObject
* _resultobj
;
1892 if(!PyArg_ParseTuple(args
,"s:wxFont_GetWeight",&_argc0
))
1895 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetWeight. Expected _wxFont_p.");
1900 _result
= (int )wxFont_GetWeight(_arg0
);
1901 _resultobj
= Py_BuildValue("i",_result
);
1905 #define wxFont_SetFaceName(_swigobj,_swigarg0) (_swigobj->SetFaceName(_swigarg0))
1906 static PyObject
*_wrap_wxFont_SetFaceName(PyObject
*self
, PyObject
*args
) {
1907 PyObject
* _resultobj
;
1911 PyObject
* _obj1
= 0;
1914 if(!PyArg_ParseTuple(args
,"sO:wxFont_SetFaceName",&_argc0
,&_obj1
))
1917 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFaceName. Expected _wxFont_p.");
1923 if (!PyString_Check(_obj1
)) {
1924 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1927 _arg1
= new wxString(PyString_AsString(_obj1
));
1929 wxFont_SetFaceName(_arg0
,*_arg1
);
1931 _resultobj
= Py_None
;
1939 #define wxFont_SetFamily(_swigobj,_swigarg0) (_swigobj->SetFamily(_swigarg0))
1940 static PyObject
*_wrap_wxFont_SetFamily(PyObject
*self
, PyObject
*args
) {
1941 PyObject
* _resultobj
;
1947 if(!PyArg_ParseTuple(args
,"si:wxFont_SetFamily",&_argc0
,&_arg1
))
1950 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFamily. Expected _wxFont_p.");
1955 wxFont_SetFamily(_arg0
,_arg1
);
1957 _resultobj
= Py_None
;
1961 #define wxFont_SetPointSize(_swigobj,_swigarg0) (_swigobj->SetPointSize(_swigarg0))
1962 static PyObject
*_wrap_wxFont_SetPointSize(PyObject
*self
, PyObject
*args
) {
1963 PyObject
* _resultobj
;
1969 if(!PyArg_ParseTuple(args
,"si:wxFont_SetPointSize",&_argc0
,&_arg1
))
1972 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetPointSize. Expected _wxFont_p.");
1977 wxFont_SetPointSize(_arg0
,_arg1
);
1979 _resultobj
= Py_None
;
1983 #define wxFont_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
1984 static PyObject
*_wrap_wxFont_SetStyle(PyObject
*self
, PyObject
*args
) {
1985 PyObject
* _resultobj
;
1991 if(!PyArg_ParseTuple(args
,"si:wxFont_SetStyle",&_argc0
,&_arg1
))
1994 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetStyle. Expected _wxFont_p.");
1999 wxFont_SetStyle(_arg0
,_arg1
);
2001 _resultobj
= Py_None
;
2005 #define wxFont_SetUnderlined(_swigobj,_swigarg0) (_swigobj->SetUnderlined(_swigarg0))
2006 static PyObject
*_wrap_wxFont_SetUnderlined(PyObject
*self
, PyObject
*args
) {
2007 PyObject
* _resultobj
;
2014 if(!PyArg_ParseTuple(args
,"si:wxFont_SetUnderlined",&_argc0
,&tempbool1
))
2017 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
2018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetUnderlined. Expected _wxFont_p.");
2022 _arg1
= (bool ) tempbool1
;
2023 wxFont_SetUnderlined(_arg0
,_arg1
);
2025 _resultobj
= Py_None
;
2029 #define wxFont_SetWeight(_swigobj,_swigarg0) (_swigobj->SetWeight(_swigarg0))
2030 static PyObject
*_wrap_wxFont_SetWeight(PyObject
*self
, PyObject
*args
) {
2031 PyObject
* _resultobj
;
2037 if(!PyArg_ParseTuple(args
,"si:wxFont_SetWeight",&_argc0
,&_arg1
))
2040 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
2041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetWeight. Expected _wxFont_p.");
2045 wxFont_SetWeight(_arg0
,_arg1
);
2047 _resultobj
= Py_None
;
2051 #define new_wxColour(_swigarg0,_swigarg1,_swigarg2) (new wxColour(_swigarg0,_swigarg1,_swigarg2))
2052 static PyObject
*_wrap_new_wxColour(PyObject
*self
, PyObject
*args
) {
2053 PyObject
* _resultobj
;
2055 unsigned char _arg0
= 0;
2056 unsigned char _arg1
= 0;
2057 unsigned char _arg2
= 0;
2061 if(!PyArg_ParseTuple(args
,"|bbb:new_wxColour",&_arg0
,&_arg1
,&_arg2
))
2063 _result
= (wxColour
*)new_wxColour(_arg0
,_arg1
,_arg2
);
2064 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
2065 _resultobj
= Py_BuildValue("s",_ptemp
);
2069 #define delete_wxColour(_swigobj) (delete _swigobj)
2070 static PyObject
*_wrap_delete_wxColour(PyObject
*self
, PyObject
*args
) {
2071 PyObject
* _resultobj
;
2076 if(!PyArg_ParseTuple(args
,"s:delete_wxColour",&_argc0
))
2079 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxColour. Expected _wxColour_p.");
2084 delete_wxColour(_arg0
);
2086 _resultobj
= Py_None
;
2090 #define wxColour_Red(_swigobj) (_swigobj->Red())
2091 static PyObject
*_wrap_wxColour_Red(PyObject
*self
, PyObject
*args
) {
2092 PyObject
* _resultobj
;
2093 unsigned char _result
;
2098 if(!PyArg_ParseTuple(args
,"s:wxColour_Red",&_argc0
))
2101 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Red. Expected _wxColour_p.");
2106 _result
= (unsigned char )wxColour_Red(_arg0
);
2107 _resultobj
= Py_BuildValue("b",_result
);
2111 #define wxColour_Green(_swigobj) (_swigobj->Green())
2112 static PyObject
*_wrap_wxColour_Green(PyObject
*self
, PyObject
*args
) {
2113 PyObject
* _resultobj
;
2114 unsigned char _result
;
2119 if(!PyArg_ParseTuple(args
,"s:wxColour_Green",&_argc0
))
2122 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Green. Expected _wxColour_p.");
2127 _result
= (unsigned char )wxColour_Green(_arg0
);
2128 _resultobj
= Py_BuildValue("b",_result
);
2132 #define wxColour_Blue(_swigobj) (_swigobj->Blue())
2133 static PyObject
*_wrap_wxColour_Blue(PyObject
*self
, PyObject
*args
) {
2134 PyObject
* _resultobj
;
2135 unsigned char _result
;
2140 if(!PyArg_ParseTuple(args
,"s:wxColour_Blue",&_argc0
))
2143 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Blue. Expected _wxColour_p.");
2148 _result
= (unsigned char )wxColour_Blue(_arg0
);
2149 _resultobj
= Py_BuildValue("b",_result
);
2153 #define wxColour_Ok(_swigobj) (_swigobj->Ok())
2154 static PyObject
*_wrap_wxColour_Ok(PyObject
*self
, PyObject
*args
) {
2155 PyObject
* _resultobj
;
2161 if(!PyArg_ParseTuple(args
,"s:wxColour_Ok",&_argc0
))
2164 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Ok. Expected _wxColour_p.");
2169 _result
= (bool )wxColour_Ok(_arg0
);
2170 _resultobj
= Py_BuildValue("i",_result
);
2174 #define wxColour_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
2175 static PyObject
*_wrap_wxColour_Set(PyObject
*self
, PyObject
*args
) {
2176 PyObject
* _resultobj
;
2178 unsigned char _arg1
;
2179 unsigned char _arg2
;
2180 unsigned char _arg3
;
2184 if(!PyArg_ParseTuple(args
,"sbbb:wxColour_Set",&_argc0
,&_arg1
,&_arg2
,&_arg3
))
2187 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Set. Expected _wxColour_p.");
2192 wxColour_Set(_arg0
,_arg1
,_arg2
,_arg3
);
2194 _resultobj
= Py_None
;
2198 static PyObject
* wxColour_Get(wxColour
*self
) {
2199 PyObject
* rv
= PyTuple_New(3);
2200 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
2201 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
2202 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
2205 static PyObject
*_wrap_wxColour_Get(PyObject
*self
, PyObject
*args
) {
2206 PyObject
* _resultobj
;
2212 if(!PyArg_ParseTuple(args
,"s:wxColour_Get",&_argc0
))
2215 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Get. Expected _wxColour_p.");
2220 _result
= (PyObject
*)wxColour_Get(_arg0
);
2222 _resultobj
= _result
;
2227 static wxPen
*new_wxPen(wxColour
*colour
,int width
,int style
) {
2228 return wxThePenList
->FindOrCreatePen(*colour
, width
, style
);
2231 static PyObject
*_wrap_new_wxPen(PyObject
*self
, PyObject
*args
) {
2232 PyObject
* _resultobj
;
2236 int _arg2
= (wxSOLID
);
2241 if(!PyArg_ParseTuple(args
,"s|ii:new_wxPen",&_argc0
,&_arg1
,&_arg2
))
2244 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPen. Expected _wxColour_p.");
2249 _result
= (wxPen
*)new_wxPen(_arg0
,_arg1
,_arg2
);
2250 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
2251 _resultobj
= Py_BuildValue("s",_ptemp
);
2255 #define wxPen_GetCap(_swigobj) (_swigobj->GetCap())
2256 static PyObject
*_wrap_wxPen_GetCap(PyObject
*self
, PyObject
*args
) {
2257 PyObject
* _resultobj
;
2263 if(!PyArg_ParseTuple(args
,"s:wxPen_GetCap",&_argc0
))
2266 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetCap. Expected _wxPen_p.");
2271 _result
= (int )wxPen_GetCap(_arg0
);
2272 _resultobj
= Py_BuildValue("i",_result
);
2276 #define wxPen_GetColour(_swigobj) (_swigobj->GetColour())
2277 static PyObject
*_wrap_wxPen_GetColour(PyObject
*self
, PyObject
*args
) {
2278 PyObject
* _resultobj
;
2285 if(!PyArg_ParseTuple(args
,"s:wxPen_GetColour",&_argc0
))
2288 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetColour. Expected _wxPen_p.");
2293 wxColour
& _result_ref
= wxPen_GetColour(_arg0
);
2294 _result
= (wxColour
*) &_result_ref
;
2295 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
2296 _resultobj
= Py_BuildValue("s",_ptemp
);
2300 #define wxPen_GetJoin(_swigobj) (_swigobj->GetJoin())
2301 static PyObject
*_wrap_wxPen_GetJoin(PyObject
*self
, PyObject
*args
) {
2302 PyObject
* _resultobj
;
2308 if(!PyArg_ParseTuple(args
,"s:wxPen_GetJoin",&_argc0
))
2311 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetJoin. Expected _wxPen_p.");
2316 _result
= (int )wxPen_GetJoin(_arg0
);
2317 _resultobj
= Py_BuildValue("i",_result
);
2321 #define wxPen_GetStyle(_swigobj) (_swigobj->GetStyle())
2322 static PyObject
*_wrap_wxPen_GetStyle(PyObject
*self
, PyObject
*args
) {
2323 PyObject
* _resultobj
;
2329 if(!PyArg_ParseTuple(args
,"s:wxPen_GetStyle",&_argc0
))
2332 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetStyle. Expected _wxPen_p.");
2337 _result
= (int )wxPen_GetStyle(_arg0
);
2338 _resultobj
= Py_BuildValue("i",_result
);
2342 #define wxPen_GetWidth(_swigobj) (_swigobj->GetWidth())
2343 static PyObject
*_wrap_wxPen_GetWidth(PyObject
*self
, PyObject
*args
) {
2344 PyObject
* _resultobj
;
2350 if(!PyArg_ParseTuple(args
,"s:wxPen_GetWidth",&_argc0
))
2353 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetWidth. Expected _wxPen_p.");
2358 _result
= (int )wxPen_GetWidth(_arg0
);
2359 _resultobj
= Py_BuildValue("i",_result
);
2363 #define wxPen_Ok(_swigobj) (_swigobj->Ok())
2364 static PyObject
*_wrap_wxPen_Ok(PyObject
*self
, PyObject
*args
) {
2365 PyObject
* _resultobj
;
2371 if(!PyArg_ParseTuple(args
,"s:wxPen_Ok",&_argc0
))
2374 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_Ok. Expected _wxPen_p.");
2379 _result
= (bool )wxPen_Ok(_arg0
);
2380 _resultobj
= Py_BuildValue("i",_result
);
2384 #define wxPen_SetCap(_swigobj,_swigarg0) (_swigobj->SetCap(_swigarg0))
2385 static PyObject
*_wrap_wxPen_SetCap(PyObject
*self
, PyObject
*args
) {
2386 PyObject
* _resultobj
;
2392 if(!PyArg_ParseTuple(args
,"si:wxPen_SetCap",&_argc0
,&_arg1
))
2395 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetCap. Expected _wxPen_p.");
2400 wxPen_SetCap(_arg0
,_arg1
);
2402 _resultobj
= Py_None
;
2406 #define wxPen_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
2407 static PyObject
*_wrap_wxPen_SetColour(PyObject
*self
, PyObject
*args
) {
2408 PyObject
* _resultobj
;
2415 if(!PyArg_ParseTuple(args
,"ss:wxPen_SetColour",&_argc0
,&_argc1
))
2418 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetColour. Expected _wxPen_p.");
2424 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
2425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPen_SetColour. Expected _wxColour_p.");
2429 wxPen_SetColour(_arg0
,*_arg1
);
2431 _resultobj
= Py_None
;
2435 #define wxPen_SetJoin(_swigobj,_swigarg0) (_swigobj->SetJoin(_swigarg0))
2436 static PyObject
*_wrap_wxPen_SetJoin(PyObject
*self
, PyObject
*args
) {
2437 PyObject
* _resultobj
;
2443 if(!PyArg_ParseTuple(args
,"si:wxPen_SetJoin",&_argc0
,&_arg1
))
2446 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetJoin. Expected _wxPen_p.");
2451 wxPen_SetJoin(_arg0
,_arg1
);
2453 _resultobj
= Py_None
;
2457 #define wxPen_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
2458 static PyObject
*_wrap_wxPen_SetStyle(PyObject
*self
, PyObject
*args
) {
2459 PyObject
* _resultobj
;
2465 if(!PyArg_ParseTuple(args
,"si:wxPen_SetStyle",&_argc0
,&_arg1
))
2468 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetStyle. Expected _wxPen_p.");
2473 wxPen_SetStyle(_arg0
,_arg1
);
2475 _resultobj
= Py_None
;
2479 #define wxPen_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2480 static PyObject
*_wrap_wxPen_SetWidth(PyObject
*self
, PyObject
*args
) {
2481 PyObject
* _resultobj
;
2487 if(!PyArg_ParseTuple(args
,"si:wxPen_SetWidth",&_argc0
,&_arg1
))
2490 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetWidth. Expected _wxPen_p.");
2495 wxPen_SetWidth(_arg0
,_arg1
);
2497 _resultobj
= Py_None
;
2501 #define wxPen_GetDashes(_swigobj,_swigarg0) (_swigobj->GetDashes(_swigarg0))
2502 static PyObject
*_wrap_wxPen_GetDashes(PyObject
*self
, PyObject
*args
) {
2503 PyObject
* _resultobj
;
2511 if(!PyArg_ParseTuple(args
,"ss:wxPen_GetDashes",&_argc0
,&_argc1
))
2514 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetDashes. Expected _wxPen_p.");
2520 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxDash_pp")) {
2521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPen_GetDashes. Expected _wxDash_pp.");
2525 _result
= (int )wxPen_GetDashes(_arg0
,_arg1
);
2526 _resultobj
= Py_BuildValue("i",_result
);
2530 #define wxPen_GetStipple(_swigobj) (_swigobj->GetStipple())
2531 static PyObject
*_wrap_wxPen_GetStipple(PyObject
*self
, PyObject
*args
) {
2532 PyObject
* _resultobj
;
2539 if(!PyArg_ParseTuple(args
,"s:wxPen_GetStipple",&_argc0
))
2542 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetStipple. Expected _wxPen_p.");
2547 _result
= (wxBitmap
*)wxPen_GetStipple(_arg0
);
2548 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
2549 _resultobj
= Py_BuildValue("s",_ptemp
);
2553 #define wxPen_SetDashes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDashes(_swigarg0,_swigarg1))
2554 static PyObject
*_wrap_wxPen_SetDashes(PyObject
*self
, PyObject
*args
) {
2555 PyObject
* _resultobj
;
2560 PyObject
* _obj2
= 0;
2563 if(!PyArg_ParseTuple(args
,"sO:wxPen_SetDashes",&_argc0
,&_obj2
))
2566 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetDashes. Expected _wxPen_p.");
2573 _arg2
= (unsigned long*)long_LIST_helper(_obj2
);
2574 if (_arg2
== NULL
) {
2579 _arg1
= PyList_Size(_obj2
);
2581 wxPen_SetDashes(_arg0
,_arg1
,_arg2
);
2583 _resultobj
= Py_None
;
2590 #define wxPen_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
2591 static PyObject
*_wrap_wxPen_SetStipple(PyObject
*self
, PyObject
*args
) {
2592 PyObject
* _resultobj
;
2599 if(!PyArg_ParseTuple(args
,"ss:wxPen_SetStipple",&_argc0
,&_argc1
))
2602 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetStipple. Expected _wxPen_p.");
2608 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBitmap_p")) {
2609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPen_SetStipple. Expected _wxBitmap_p.");
2613 wxPen_SetStipple(_arg0
,*_arg1
);
2615 _resultobj
= Py_None
;
2619 static wxBrush
*new_wxBrush(wxColour
*colour
,int style
) {
2620 return wxTheBrushList
->FindOrCreateBrush(*colour
, style
);
2623 static PyObject
*_wrap_new_wxBrush(PyObject
*self
, PyObject
*args
) {
2624 PyObject
* _resultobj
;
2627 int _arg1
= (wxSOLID
);
2632 if(!PyArg_ParseTuple(args
,"s|i:new_wxBrush",&_argc0
,&_arg1
))
2635 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBrush. Expected _wxColour_p.");
2640 _result
= (wxBrush
*)new_wxBrush(_arg0
,_arg1
);
2641 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
2642 _resultobj
= Py_BuildValue("s",_ptemp
);
2646 #define wxBrush_GetColour(_swigobj) (_swigobj->GetColour())
2647 static PyObject
*_wrap_wxBrush_GetColour(PyObject
*self
, PyObject
*args
) {
2648 PyObject
* _resultobj
;
2655 if(!PyArg_ParseTuple(args
,"s:wxBrush_GetColour",&_argc0
))
2658 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBrush_p")) {
2659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetColour. Expected _wxBrush_p.");
2663 wxColour
& _result_ref
= wxBrush_GetColour(_arg0
);
2664 _result
= (wxColour
*) &_result_ref
;
2665 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
2666 _resultobj
= Py_BuildValue("s",_ptemp
);
2670 #define wxBrush_GetStipple(_swigobj) (_swigobj->GetStipple())
2671 static PyObject
*_wrap_wxBrush_GetStipple(PyObject
*self
, PyObject
*args
) {
2672 PyObject
* _resultobj
;
2679 if(!PyArg_ParseTuple(args
,"s:wxBrush_GetStipple",&_argc0
))
2682 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBrush_p")) {
2683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStipple. Expected _wxBrush_p.");
2687 _result
= (wxBitmap
*)wxBrush_GetStipple(_arg0
);
2688 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
2689 _resultobj
= Py_BuildValue("s",_ptemp
);
2693 #define wxBrush_GetStyle(_swigobj) (_swigobj->GetStyle())
2694 static PyObject
*_wrap_wxBrush_GetStyle(PyObject
*self
, PyObject
*args
) {
2695 PyObject
* _resultobj
;
2701 if(!PyArg_ParseTuple(args
,"s:wxBrush_GetStyle",&_argc0
))
2704 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBrush_p")) {
2705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStyle. Expected _wxBrush_p.");
2709 _result
= (int )wxBrush_GetStyle(_arg0
);
2710 _resultobj
= Py_BuildValue("i",_result
);
2714 #define wxBrush_Ok(_swigobj) (_swigobj->Ok())
2715 static PyObject
*_wrap_wxBrush_Ok(PyObject
*self
, PyObject
*args
) {
2716 PyObject
* _resultobj
;
2722 if(!PyArg_ParseTuple(args
,"s:wxBrush_Ok",&_argc0
))
2725 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBrush_p")) {
2726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_Ok. Expected _wxBrush_p.");
2730 _result
= (bool )wxBrush_Ok(_arg0
);
2731 _resultobj
= Py_BuildValue("i",_result
);
2735 #define wxBrush_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
2736 static PyObject
*_wrap_wxBrush_SetColour(PyObject
*self
, PyObject
*args
) {
2737 PyObject
* _resultobj
;
2744 if(!PyArg_ParseTuple(args
,"ss:wxBrush_SetColour",&_argc0
,&_argc1
))
2747 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBrush_p")) {
2748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetColour. Expected _wxBrush_p.");
2753 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
2754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrush_SetColour. Expected _wxColour_p.");
2758 wxBrush_SetColour(_arg0
,*_arg1
);
2760 _resultobj
= Py_None
;
2764 #define wxBrush_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
2765 static PyObject
*_wrap_wxBrush_SetStipple(PyObject
*self
, PyObject
*args
) {
2766 PyObject
* _resultobj
;
2773 if(!PyArg_ParseTuple(args
,"ss:wxBrush_SetStipple",&_argc0
,&_argc1
))
2776 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBrush_p")) {
2777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStipple. Expected _wxBrush_p.");
2782 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBitmap_p")) {
2783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrush_SetStipple. Expected _wxBitmap_p.");
2787 wxBrush_SetStipple(_arg0
,*_arg1
);
2789 _resultobj
= Py_None
;
2793 #define wxBrush_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
2794 static PyObject
*_wrap_wxBrush_SetStyle(PyObject
*self
, PyObject
*args
) {
2795 PyObject
* _resultobj
;
2801 if(!PyArg_ParseTuple(args
,"si:wxBrush_SetStyle",&_argc0
,&_arg1
))
2804 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBrush_p")) {
2805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStyle. Expected _wxBrush_p.");
2809 wxBrush_SetStyle(_arg0
,_arg1
);
2811 _resultobj
= Py_None
;
2815 #define delete_wxDC(_swigobj) (delete _swigobj)
2816 static PyObject
*_wrap_delete_wxDC(PyObject
*self
, PyObject
*args
) {
2817 PyObject
* _resultobj
;
2822 if(!PyArg_ParseTuple(args
,"s:delete_wxDC",&_argc0
))
2825 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDC. Expected _wxDC_p.");
2832 _resultobj
= Py_None
;
2836 #define wxDC_BeginDrawing(_swigobj) (_swigobj->BeginDrawing())
2837 static PyObject
*_wrap_wxDC_BeginDrawing(PyObject
*self
, PyObject
*args
) {
2838 PyObject
* _resultobj
;
2843 if(!PyArg_ParseTuple(args
,"s:wxDC_BeginDrawing",&_argc0
))
2846 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_BeginDrawing. Expected _wxDC_p.");
2851 wxDC_BeginDrawing(_arg0
);
2853 _resultobj
= Py_None
;
2857 #define wxDC_Blit(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Blit(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
2858 static PyObject
*_wrap_wxDC_Blit(PyObject
*self
, PyObject
*args
) {
2859 PyObject
* _resultobj
;
2874 if(!PyArg_ParseTuple(args
,"sllllslll:wxDC_Blit",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_argc5
,&_arg6
,&_arg7
,&_arg8
))
2877 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Blit. Expected _wxDC_p.");
2883 if (SWIG_GetPtr(_argc5
,(void **) &_arg5
,"_wxDC_p")) {
2884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxDC_Blit. Expected _wxDC_p.");
2888 _result
= (bool )wxDC_Blit(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
);
2889 _resultobj
= Py_BuildValue("i",_result
);
2893 #define wxDC_Clear(_swigobj) (_swigobj->Clear())
2894 static PyObject
*_wrap_wxDC_Clear(PyObject
*self
, PyObject
*args
) {
2895 PyObject
* _resultobj
;
2900 if(!PyArg_ParseTuple(args
,"s:wxDC_Clear",&_argc0
))
2903 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Clear. Expected _wxDC_p.");
2910 _resultobj
= Py_None
;
2914 #define wxDC_CrossHair(_swigobj,_swigarg0,_swigarg1) (_swigobj->CrossHair(_swigarg0,_swigarg1))
2915 static PyObject
*_wrap_wxDC_CrossHair(PyObject
*self
, PyObject
*args
) {
2916 PyObject
* _resultobj
;
2923 if(!PyArg_ParseTuple(args
,"sll:wxDC_CrossHair",&_argc0
,&_arg1
,&_arg2
))
2926 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CrossHair. Expected _wxDC_p.");
2931 wxDC_CrossHair(_arg0
,_arg1
,_arg2
);
2933 _resultobj
= Py_None
;
2937 #define wxDC_DestroyClippingRegion(_swigobj) (_swigobj->DestroyClippingRegion())
2938 static PyObject
*_wrap_wxDC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
) {
2939 PyObject
* _resultobj
;
2944 if(!PyArg_ParseTuple(args
,"s:wxDC_DestroyClippingRegion",&_argc0
))
2947 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DestroyClippingRegion. Expected _wxDC_p.");
2952 wxDC_DestroyClippingRegion(_arg0
);
2954 _resultobj
= Py_None
;
2958 #define wxDC_DeviceToLogicalX(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalX(_swigarg0))
2959 static PyObject
*_wrap_wxDC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
) {
2960 PyObject
* _resultobj
;
2967 if(!PyArg_ParseTuple(args
,"sl:wxDC_DeviceToLogicalX",&_argc0
,&_arg1
))
2970 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalX. Expected _wxDC_p.");
2975 _result
= (long )wxDC_DeviceToLogicalX(_arg0
,_arg1
);
2976 _resultobj
= Py_BuildValue("l",_result
);
2980 #define wxDC_DeviceToLogicalXRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalXRel(_swigarg0))
2981 static PyObject
*_wrap_wxDC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
) {
2982 PyObject
* _resultobj
;
2989 if(!PyArg_ParseTuple(args
,"sl:wxDC_DeviceToLogicalXRel",&_argc0
,&_arg1
))
2992 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalXRel. Expected _wxDC_p.");
2997 _result
= (long )wxDC_DeviceToLogicalXRel(_arg0
,_arg1
);
2998 _resultobj
= Py_BuildValue("l",_result
);
3002 #define wxDC_DeviceToLogicalY(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalY(_swigarg0))
3003 static PyObject
*_wrap_wxDC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
) {
3004 PyObject
* _resultobj
;
3011 if(!PyArg_ParseTuple(args
,"sl:wxDC_DeviceToLogicalY",&_argc0
,&_arg1
))
3014 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalY. Expected _wxDC_p.");
3019 _result
= (long )wxDC_DeviceToLogicalY(_arg0
,_arg1
);
3020 _resultobj
= Py_BuildValue("l",_result
);
3024 #define wxDC_DeviceToLogicalYRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalYRel(_swigarg0))
3025 static PyObject
*_wrap_wxDC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
) {
3026 PyObject
* _resultobj
;
3033 if(!PyArg_ParseTuple(args
,"sl:wxDC_DeviceToLogicalYRel",&_argc0
,&_arg1
))
3036 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalYRel. Expected _wxDC_p.");
3041 _result
= (long )wxDC_DeviceToLogicalYRel(_arg0
,_arg1
);
3042 _resultobj
= Py_BuildValue("l",_result
);
3046 #define wxDC_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3047 static PyObject
*_wrap_wxDC_DrawArc(PyObject
*self
, PyObject
*args
) {
3048 PyObject
* _resultobj
;
3059 if(!PyArg_ParseTuple(args
,"sllllll:wxDC_DrawArc",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
3062 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawArc. Expected _wxDC_p.");
3067 wxDC_DrawArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
3069 _resultobj
= Py_None
;
3073 #define wxDC_DrawEllipse(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawEllipse(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3074 static PyObject
*_wrap_wxDC_DrawEllipse(PyObject
*self
, PyObject
*args
) {
3075 PyObject
* _resultobj
;
3084 if(!PyArg_ParseTuple(args
,"sllll:wxDC_DrawEllipse",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3087 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipse. Expected _wxDC_p.");
3092 wxDC_DrawEllipse(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3094 _resultobj
= Py_None
;
3098 #define wxDC_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3099 static PyObject
*_wrap_wxDC_DrawEllipticArc(PyObject
*self
, PyObject
*args
) {
3100 PyObject
* _resultobj
;
3111 if(!PyArg_ParseTuple(args
,"sllllll:wxDC_DrawEllipticArc",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
3114 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipticArc. Expected _wxDC_p.");
3119 wxDC_DrawEllipticArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
3121 _resultobj
= Py_None
;
3125 #define wxDC_DrawIcon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawIcon(_swigarg0,_swigarg1,_swigarg2))
3126 static PyObject
*_wrap_wxDC_DrawIcon(PyObject
*self
, PyObject
*args
) {
3127 PyObject
* _resultobj
;
3136 if(!PyArg_ParseTuple(args
,"ssll:wxDC_DrawIcon",&_argc0
,&_argc1
,&_arg2
,&_arg3
))
3139 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawIcon. Expected _wxDC_p.");
3145 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxIcon_p")) {
3146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawIcon. Expected _wxIcon_p.");
3150 wxDC_DrawIcon(_arg0
,*_arg1
,_arg2
,_arg3
);
3152 _resultobj
= Py_None
;
3156 #define wxDC_DrawLine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3157 static PyObject
*_wrap_wxDC_DrawLine(PyObject
*self
, PyObject
*args
) {
3158 PyObject
* _resultobj
;
3167 if(!PyArg_ParseTuple(args
,"sllll:wxDC_DrawLine",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3170 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLine. Expected _wxDC_p.");
3175 wxDC_DrawLine(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3177 _resultobj
= Py_None
;
3181 #define wxDC_DrawLines(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLines(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3182 static PyObject
*_wrap_wxDC_DrawLines(PyObject
*self
, PyObject
*args
) {
3183 PyObject
* _resultobj
;
3190 PyObject
* _obj2
= 0;
3193 if(!PyArg_ParseTuple(args
,"sO|ll:wxDC_DrawLines",&_argc0
,&_obj2
,&_arg3
,&_arg4
))
3196 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLines. Expected _wxDC_p.");
3203 _arg2
= wxPoint_LIST_helper(_obj2
);
3204 if (_arg2
== NULL
) {
3209 _arg1
= PyList_Size(_obj2
);
3211 wxDC_DrawLines(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3213 _resultobj
= Py_None
;
3220 #define wxDC_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3221 static PyObject
*_wrap_wxDC_DrawPolygon(PyObject
*self
, PyObject
*args
) {
3222 PyObject
* _resultobj
;
3228 int _arg5
= (wxODDEVEN_RULE
);
3230 PyObject
* _obj2
= 0;
3233 if(!PyArg_ParseTuple(args
,"sO|lli:wxDC_DrawPolygon",&_argc0
,&_obj2
,&_arg3
,&_arg4
,&_arg5
))
3236 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPolygon. Expected _wxDC_p.");
3243 _arg2
= wxPoint_LIST_helper(_obj2
);
3244 if (_arg2
== NULL
) {
3249 _arg1
= PyList_Size(_obj2
);
3251 wxDC_DrawPolygon(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3253 _resultobj
= Py_None
;
3260 #define wxDC_DrawPoint(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawPoint(_swigarg0,_swigarg1))
3261 static PyObject
*_wrap_wxDC_DrawPoint(PyObject
*self
, PyObject
*args
) {
3262 PyObject
* _resultobj
;
3269 if(!PyArg_ParseTuple(args
,"sll:wxDC_DrawPoint",&_argc0
,&_arg1
,&_arg2
))
3272 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPoint. Expected _wxDC_p.");
3277 wxDC_DrawPoint(_arg0
,_arg1
,_arg2
);
3279 _resultobj
= Py_None
;
3283 #define wxDC_DrawRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3284 static PyObject
*_wrap_wxDC_DrawRectangle(PyObject
*self
, PyObject
*args
) {
3285 PyObject
* _resultobj
;
3294 if(!PyArg_ParseTuple(args
,"sllll:wxDC_DrawRectangle",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3297 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRectangle. Expected _wxDC_p.");
3302 wxDC_DrawRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3304 _resultobj
= Py_None
;
3308 #define wxDC_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3309 static PyObject
*_wrap_wxDC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
) {
3310 PyObject
* _resultobj
;
3320 if(!PyArg_ParseTuple(args
,"sllll|l:wxDC_DrawRoundedRectangle",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3323 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRoundedRectangle. Expected _wxDC_p.");
3328 wxDC_DrawRoundedRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3330 _resultobj
= Py_None
;
3334 #define wxDC_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1))
3335 static PyObject
*_wrap_wxDC_DrawSpline(PyObject
*self
, PyObject
*args
) {
3336 PyObject
* _resultobj
;
3341 PyObject
* _obj2
= 0;
3344 if(!PyArg_ParseTuple(args
,"sO:wxDC_DrawSpline",&_argc0
,&_obj2
))
3347 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawSpline. Expected _wxDC_p.");
3354 _arg2
= wxPoint_LIST_helper(_obj2
);
3355 if (_arg2
== NULL
) {
3360 _arg1
= PyList_Size(_obj2
);
3362 wxDC_DrawSpline(_arg0
,_arg1
,_arg2
);
3364 _resultobj
= Py_None
;
3371 #define wxDC_DrawText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawText(_swigarg0,_swigarg1,_swigarg2))
3372 static PyObject
*_wrap_wxDC_DrawText(PyObject
*self
, PyObject
*args
) {
3373 PyObject
* _resultobj
;
3379 PyObject
* _obj1
= 0;
3382 if(!PyArg_ParseTuple(args
,"sOll:wxDC_DrawText",&_argc0
,&_obj1
,&_arg2
,&_arg3
))
3385 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawText. Expected _wxDC_p.");
3391 if (!PyString_Check(_obj1
)) {
3392 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3395 _arg1
= new wxString(PyString_AsString(_obj1
));
3397 wxDC_DrawText(_arg0
,*_arg1
,_arg2
,_arg3
);
3399 _resultobj
= Py_None
;
3407 #define wxDC_EndDoc(_swigobj) (_swigobj->EndDoc())
3408 static PyObject
*_wrap_wxDC_EndDoc(PyObject
*self
, PyObject
*args
) {
3409 PyObject
* _resultobj
;
3414 if(!PyArg_ParseTuple(args
,"s:wxDC_EndDoc",&_argc0
))
3417 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDoc. Expected _wxDC_p.");
3424 _resultobj
= Py_None
;
3428 #define wxDC_EndDrawing(_swigobj) (_swigobj->EndDrawing())
3429 static PyObject
*_wrap_wxDC_EndDrawing(PyObject
*self
, PyObject
*args
) {
3430 PyObject
* _resultobj
;
3435 if(!PyArg_ParseTuple(args
,"s:wxDC_EndDrawing",&_argc0
))
3438 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDrawing. Expected _wxDC_p.");
3443 wxDC_EndDrawing(_arg0
);
3445 _resultobj
= Py_None
;
3449 #define wxDC_EndPage(_swigobj) (_swigobj->EndPage())
3450 static PyObject
*_wrap_wxDC_EndPage(PyObject
*self
, PyObject
*args
) {
3451 PyObject
* _resultobj
;
3456 if(!PyArg_ParseTuple(args
,"s:wxDC_EndPage",&_argc0
))
3459 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndPage. Expected _wxDC_p.");
3464 wxDC_EndPage(_arg0
);
3466 _resultobj
= Py_None
;
3470 #define wxDC_FloodFill(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FloodFill(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3471 static PyObject
*_wrap_wxDC_FloodFill(PyObject
*self
, PyObject
*args
) {
3472 PyObject
* _resultobj
;
3477 int _arg4
= (wxFLOOD_SURFACE
);
3482 if(!PyArg_ParseTuple(args
,"slls|i:wxDC_FloodFill",&_argc0
,&_arg1
,&_arg2
,&_argc3
,&_arg4
))
3485 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_FloodFill. Expected _wxDC_p.");
3491 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxColour_p")) {
3492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDC_FloodFill. Expected _wxColour_p.");
3496 wxDC_FloodFill(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
3498 _resultobj
= Py_None
;
3502 #define wxDC_GetBackground(_swigobj) (_swigobj->GetBackground())
3503 static PyObject
*_wrap_wxDC_GetBackground(PyObject
*self
, PyObject
*args
) {
3504 PyObject
* _resultobj
;
3511 if(!PyArg_ParseTuple(args
,"s:wxDC_GetBackground",&_argc0
))
3514 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBackground. Expected _wxDC_p.");
3519 wxBrush
& _result_ref
= wxDC_GetBackground(_arg0
);
3520 _result
= (wxBrush
*) &_result_ref
;
3521 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
3522 _resultobj
= Py_BuildValue("s",_ptemp
);
3526 #define wxDC_GetBrush(_swigobj) (_swigobj->GetBrush())
3527 static PyObject
*_wrap_wxDC_GetBrush(PyObject
*self
, PyObject
*args
) {
3528 PyObject
* _resultobj
;
3535 if(!PyArg_ParseTuple(args
,"s:wxDC_GetBrush",&_argc0
))
3538 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBrush. Expected _wxDC_p.");
3543 wxBrush
& _result_ref
= wxDC_GetBrush(_arg0
);
3544 _result
= (wxBrush
*) &_result_ref
;
3545 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
3546 _resultobj
= Py_BuildValue("s",_ptemp
);
3550 #define wxDC_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
3551 static PyObject
*_wrap_wxDC_GetCharHeight(PyObject
*self
, PyObject
*args
) {
3552 PyObject
* _resultobj
;
3558 if(!PyArg_ParseTuple(args
,"s:wxDC_GetCharHeight",&_argc0
))
3561 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharHeight. Expected _wxDC_p.");
3566 _result
= (long )wxDC_GetCharHeight(_arg0
);
3567 _resultobj
= Py_BuildValue("l",_result
);
3571 #define wxDC_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
3572 static PyObject
*_wrap_wxDC_GetCharWidth(PyObject
*self
, PyObject
*args
) {
3573 PyObject
* _resultobj
;
3579 if(!PyArg_ParseTuple(args
,"s:wxDC_GetCharWidth",&_argc0
))
3582 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharWidth. Expected _wxDC_p.");
3587 _result
= (long )wxDC_GetCharWidth(_arg0
);
3588 _resultobj
= Py_BuildValue("l",_result
);
3592 #define wxDC_GetClippingBox(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetClippingBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3593 static PyObject
*_wrap_wxDC_GetClippingBox(PyObject
*self
, PyObject
*args
) {
3594 PyObject
* _resultobj
;
3619 if(!PyArg_ParseTuple(args
,"s:wxDC_GetClippingBox",&_argc0
))
3622 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetClippingBox. Expected _wxDC_p.");
3627 wxDC_GetClippingBox(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3629 _resultobj
= Py_None
;
3632 o
= PyInt_FromLong((long) (*_arg1
));
3633 _resultobj
= t_output_helper(_resultobj
, o
);
3637 o
= PyInt_FromLong((long) (*_arg2
));
3638 _resultobj
= t_output_helper(_resultobj
, o
);
3642 o
= PyInt_FromLong((long) (*_arg3
));
3643 _resultobj
= t_output_helper(_resultobj
, o
);
3647 o
= PyInt_FromLong((long) (*_arg4
));
3648 _resultobj
= t_output_helper(_resultobj
, o
);
3653 #define wxDC_GetFont(_swigobj) (_swigobj->GetFont())
3654 static PyObject
*_wrap_wxDC_GetFont(PyObject
*self
, PyObject
*args
) {
3655 PyObject
* _resultobj
;
3662 if(!PyArg_ParseTuple(args
,"s:wxDC_GetFont",&_argc0
))
3665 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFont. Expected _wxDC_p.");
3670 wxFont
& _result_ref
= wxDC_GetFont(_arg0
);
3671 _result
= (wxFont
*) &_result_ref
;
3672 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
3673 _resultobj
= Py_BuildValue("s",_ptemp
);
3677 #define wxDC_GetLogicalFunction(_swigobj) (_swigobj->GetLogicalFunction())
3678 static PyObject
*_wrap_wxDC_GetLogicalFunction(PyObject
*self
, PyObject
*args
) {
3679 PyObject
* _resultobj
;
3685 if(!PyArg_ParseTuple(args
,"s:wxDC_GetLogicalFunction",&_argc0
))
3688 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalFunction. Expected _wxDC_p.");
3693 _result
= (int )wxDC_GetLogicalFunction(_arg0
);
3694 _resultobj
= Py_BuildValue("i",_result
);
3698 #define wxDC_GetMapMode(_swigobj) (_swigobj->GetMapMode())
3699 static PyObject
*_wrap_wxDC_GetMapMode(PyObject
*self
, PyObject
*args
) {
3700 PyObject
* _resultobj
;
3706 if(!PyArg_ParseTuple(args
,"s:wxDC_GetMapMode",&_argc0
))
3709 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetMapMode. Expected _wxDC_p.");
3714 _result
= (int )wxDC_GetMapMode(_arg0
);
3715 _resultobj
= Py_BuildValue("i",_result
);
3719 #define wxDC_GetOptimization(_swigobj) (_swigobj->GetOptimization())
3720 static PyObject
*_wrap_wxDC_GetOptimization(PyObject
*self
, PyObject
*args
) {
3721 PyObject
* _resultobj
;
3727 if(!PyArg_ParseTuple(args
,"s:wxDC_GetOptimization",&_argc0
))
3730 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetOptimization. Expected _wxDC_p.");
3735 _result
= (bool )wxDC_GetOptimization(_arg0
);
3736 _resultobj
= Py_BuildValue("i",_result
);
3740 #define wxDC_GetPen(_swigobj) (_swigobj->GetPen())
3741 static PyObject
*_wrap_wxDC_GetPen(PyObject
*self
, PyObject
*args
) {
3742 PyObject
* _resultobj
;
3749 if(!PyArg_ParseTuple(args
,"s:wxDC_GetPen",&_argc0
))
3752 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPen. Expected _wxDC_p.");
3757 wxPen
& _result_ref
= wxDC_GetPen(_arg0
);
3758 _result
= (wxPen
*) &_result_ref
;
3759 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
3760 _resultobj
= Py_BuildValue("s",_ptemp
);
3764 static wxColour
* wxDC_GetPixel(wxDC
*self
,long x
,long y
) {
3765 wxColour
* wc
= new wxColour();
3766 self
->GetPixel(x
, y
, wc
);
3769 static PyObject
*_wrap_wxDC_GetPixel(PyObject
*self
, PyObject
*args
) {
3770 PyObject
* _resultobj
;
3779 if(!PyArg_ParseTuple(args
,"sll:wxDC_GetPixel",&_argc0
,&_arg1
,&_arg2
))
3782 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPixel. Expected _wxDC_p.");
3787 _result
= (wxColour
*)wxDC_GetPixel(_arg0
,_arg1
,_arg2
);
3788 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3789 _resultobj
= Py_BuildValue("s",_ptemp
);
3793 #define wxDC_GetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
3794 static PyObject
*_wrap_wxDC_GetSize(PyObject
*self
, PyObject
*args
) {
3795 PyObject
* _resultobj
;
3810 if(!PyArg_ParseTuple(args
,"s:wxDC_GetSize",&_argc0
))
3813 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSize. Expected _wxDC_p.");
3818 wxDC_GetSize(_arg0
,_arg1
,_arg2
);
3820 _resultobj
= Py_None
;
3823 o
= PyInt_FromLong((long) (*_arg1
));
3824 _resultobj
= t_output_helper(_resultobj
, o
);
3828 o
= PyInt_FromLong((long) (*_arg2
));
3829 _resultobj
= t_output_helper(_resultobj
, o
);
3834 #define wxDC_GetTextBackground(_swigobj) (_swigobj->GetTextBackground())
3835 static PyObject
*_wrap_wxDC_GetTextBackground(PyObject
*self
, PyObject
*args
) {
3836 PyObject
* _resultobj
;
3843 if(!PyArg_ParseTuple(args
,"s:wxDC_GetTextBackground",&_argc0
))
3846 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextBackground. Expected _wxDC_p.");
3851 wxColour
& _result_ref
= wxDC_GetTextBackground(_arg0
);
3852 _result
= (wxColour
*) &_result_ref
;
3853 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3854 _resultobj
= Py_BuildValue("s",_ptemp
);
3858 #define wxDC_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
3859 static PyObject
*_wrap_wxDC_GetTextExtent(PyObject
*self
, PyObject
*args
) {
3860 PyObject
* _resultobj
;
3868 PyObject
* _obj1
= 0;
3877 if(!PyArg_ParseTuple(args
,"sO:wxDC_GetTextExtent",&_argc0
,&_obj1
))
3880 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextExtent. Expected _wxDC_p.");
3886 if (!PyString_Check(_obj1
)) {
3887 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3890 _arg1
= new wxString(PyString_AsString(_obj1
));
3892 wxDC_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
3894 _resultobj
= Py_None
;
3897 o
= PyInt_FromLong((long) (*_arg2
));
3898 _resultobj
= t_output_helper(_resultobj
, o
);
3902 o
= PyInt_FromLong((long) (*_arg3
));
3903 _resultobj
= t_output_helper(_resultobj
, o
);
3912 #define wxDC_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3913 static PyObject
*_wrap_wxDC_GetFullTextExtent(PyObject
*self
, PyObject
*args
) {
3914 PyObject
* _resultobj
;
3925 wxFont
* _arg6
= NULL
;
3927 PyObject
* _obj1
= 0;
3943 if(!PyArg_ParseTuple(args
,"sO|s:wxDC_GetFullTextExtent",&_argc0
,&_obj1
,&_argc6
))
3946 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFullTextExtent. Expected _wxDC_p.");
3952 if (!PyString_Check(_obj1
)) {
3953 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3956 _arg1
= new wxString(PyString_AsString(_obj1
));
3959 if (SWIG_GetPtr(_argc6
,(void **) &_arg6
,"_wxFont_p")) {
3960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxDC_GetFullTextExtent. Expected _wxFont_p.");
3964 wxDC_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
3966 _resultobj
= Py_None
;
3969 o
= PyInt_FromLong((long) (*_arg2
));
3970 _resultobj
= t_output_helper(_resultobj
, o
);
3974 o
= PyInt_FromLong((long) (*_arg3
));
3975 _resultobj
= t_output_helper(_resultobj
, o
);
3979 o
= PyInt_FromLong((long) (*_arg4
));
3980 _resultobj
= t_output_helper(_resultobj
, o
);
3984 o
= PyInt_FromLong((long) (*_arg5
));
3985 _resultobj
= t_output_helper(_resultobj
, o
);
3994 #define wxDC_GetTextForeground(_swigobj) (_swigobj->GetTextForeground())
3995 static PyObject
*_wrap_wxDC_GetTextForeground(PyObject
*self
, PyObject
*args
) {
3996 PyObject
* _resultobj
;
4003 if(!PyArg_ParseTuple(args
,"s:wxDC_GetTextForeground",&_argc0
))
4006 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextForeground. Expected _wxDC_p.");
4011 wxColour
& _result_ref
= wxDC_GetTextForeground(_arg0
);
4012 _result
= (wxColour
*) &_result_ref
;
4013 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
4014 _resultobj
= Py_BuildValue("s",_ptemp
);
4018 #define wxDC_LogicalToDeviceX(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceX(_swigarg0))
4019 static PyObject
*_wrap_wxDC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
) {
4020 PyObject
* _resultobj
;
4027 if(!PyArg_ParseTuple(args
,"sl:wxDC_LogicalToDeviceX",&_argc0
,&_arg1
))
4030 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceX. Expected _wxDC_p.");
4035 _result
= (long )wxDC_LogicalToDeviceX(_arg0
,_arg1
);
4036 _resultobj
= Py_BuildValue("l",_result
);
4040 #define wxDC_LogicalToDeviceXRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceXRel(_swigarg0))
4041 static PyObject
*_wrap_wxDC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
) {
4042 PyObject
* _resultobj
;
4049 if(!PyArg_ParseTuple(args
,"sl:wxDC_LogicalToDeviceXRel",&_argc0
,&_arg1
))
4052 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceXRel. Expected _wxDC_p.");
4057 _result
= (long )wxDC_LogicalToDeviceXRel(_arg0
,_arg1
);
4058 _resultobj
= Py_BuildValue("l",_result
);
4062 #define wxDC_LogicalToDeviceY(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceY(_swigarg0))
4063 static PyObject
*_wrap_wxDC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
) {
4064 PyObject
* _resultobj
;
4071 if(!PyArg_ParseTuple(args
,"sl:wxDC_LogicalToDeviceY",&_argc0
,&_arg1
))
4074 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceY. Expected _wxDC_p.");
4079 _result
= (long )wxDC_LogicalToDeviceY(_arg0
,_arg1
);
4080 _resultobj
= Py_BuildValue("l",_result
);
4084 #define wxDC_LogicalToDeviceYRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceYRel(_swigarg0))
4085 static PyObject
*_wrap_wxDC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
) {
4086 PyObject
* _resultobj
;
4093 if(!PyArg_ParseTuple(args
,"sl:wxDC_LogicalToDeviceYRel",&_argc0
,&_arg1
))
4096 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceYRel. Expected _wxDC_p.");
4101 _result
= (long )wxDC_LogicalToDeviceYRel(_arg0
,_arg1
);
4102 _resultobj
= Py_BuildValue("l",_result
);
4106 #define wxDC_MaxX(_swigobj) (_swigobj->MaxX())
4107 static PyObject
*_wrap_wxDC_MaxX(PyObject
*self
, PyObject
*args
) {
4108 PyObject
* _resultobj
;
4114 if(!PyArg_ParseTuple(args
,"s:wxDC_MaxX",&_argc0
))
4117 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxX. Expected _wxDC_p.");
4122 _result
= (long )wxDC_MaxX(_arg0
);
4123 _resultobj
= Py_BuildValue("l",_result
);
4127 #define wxDC_MaxY(_swigobj) (_swigobj->MaxY())
4128 static PyObject
*_wrap_wxDC_MaxY(PyObject
*self
, PyObject
*args
) {
4129 PyObject
* _resultobj
;
4135 if(!PyArg_ParseTuple(args
,"s:wxDC_MaxY",&_argc0
))
4138 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxY. Expected _wxDC_p.");
4143 _result
= (long )wxDC_MaxY(_arg0
);
4144 _resultobj
= Py_BuildValue("l",_result
);
4148 #define wxDC_MinX(_swigobj) (_swigobj->MinX())
4149 static PyObject
*_wrap_wxDC_MinX(PyObject
*self
, PyObject
*args
) {
4150 PyObject
* _resultobj
;
4156 if(!PyArg_ParseTuple(args
,"s:wxDC_MinX",&_argc0
))
4159 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinX. Expected _wxDC_p.");
4164 _result
= (long )wxDC_MinX(_arg0
);
4165 _resultobj
= Py_BuildValue("l",_result
);
4169 #define wxDC_MinY(_swigobj) (_swigobj->MinY())
4170 static PyObject
*_wrap_wxDC_MinY(PyObject
*self
, PyObject
*args
) {
4171 PyObject
* _resultobj
;
4177 if(!PyArg_ParseTuple(args
,"s:wxDC_MinY",&_argc0
))
4180 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinY. Expected _wxDC_p.");
4185 _result
= (long )wxDC_MinY(_arg0
);
4186 _resultobj
= Py_BuildValue("l",_result
);
4190 #define wxDC_Ok(_swigobj) (_swigobj->Ok())
4191 static PyObject
*_wrap_wxDC_Ok(PyObject
*self
, PyObject
*args
) {
4192 PyObject
* _resultobj
;
4198 if(!PyArg_ParseTuple(args
,"s:wxDC_Ok",&_argc0
))
4201 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Ok. Expected _wxDC_p.");
4206 _result
= (bool )wxDC_Ok(_arg0
);
4207 _resultobj
= Py_BuildValue("i",_result
);
4211 #define wxDC_SetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDeviceOrigin(_swigarg0,_swigarg1))
4212 static PyObject
*_wrap_wxDC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
) {
4213 PyObject
* _resultobj
;
4220 if(!PyArg_ParseTuple(args
,"sll:wxDC_SetDeviceOrigin",&_argc0
,&_arg1
,&_arg2
))
4223 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetDeviceOrigin. Expected _wxDC_p.");
4228 wxDC_SetDeviceOrigin(_arg0
,_arg1
,_arg2
);
4230 _resultobj
= Py_None
;
4234 #define wxDC_SetBackground(_swigobj,_swigarg0) (_swigobj->SetBackground(_swigarg0))
4235 static PyObject
*_wrap_wxDC_SetBackground(PyObject
*self
, PyObject
*args
) {
4236 PyObject
* _resultobj
;
4243 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetBackground",&_argc0
,&_argc1
))
4246 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackground. Expected _wxDC_p.");
4252 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBrush_p")) {
4253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBackground. Expected _wxBrush_p.");
4257 wxDC_SetBackground(_arg0
,*_arg1
);
4259 _resultobj
= Py_None
;
4263 #define wxDC_SetBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetBackgroundMode(_swigarg0))
4264 static PyObject
*_wrap_wxDC_SetBackgroundMode(PyObject
*self
, PyObject
*args
) {
4265 PyObject
* _resultobj
;
4271 if(!PyArg_ParseTuple(args
,"si:wxDC_SetBackgroundMode",&_argc0
,&_arg1
))
4274 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackgroundMode. Expected _wxDC_p.");
4279 wxDC_SetBackgroundMode(_arg0
,_arg1
);
4281 _resultobj
= Py_None
;
4285 #define wxDC_SetClippingRegion(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetClippingRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4286 static PyObject
*_wrap_wxDC_SetClippingRegion(PyObject
*self
, PyObject
*args
) {
4287 PyObject
* _resultobj
;
4296 if(!PyArg_ParseTuple(args
,"sllll:wxDC_SetClippingRegion",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4299 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetClippingRegion. Expected _wxDC_p.");
4304 wxDC_SetClippingRegion(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4306 _resultobj
= Py_None
;
4310 #define wxDC_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
4311 static PyObject
*_wrap_wxDC_SetPalette(PyObject
*self
, PyObject
*args
) {
4312 PyObject
* _resultobj
;
4319 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetPalette",&_argc0
,&_argc1
))
4322 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPalette. Expected _wxDC_p.");
4328 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPalette_p")) {
4329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPalette. Expected _wxPalette_p.");
4333 wxDC_SetPalette(_arg0
,*_arg1
);
4335 _resultobj
= Py_None
;
4339 #define wxDC_SetBrush(_swigobj,_swigarg0) (_swigobj->SetBrush(_swigarg0))
4340 static PyObject
*_wrap_wxDC_SetBrush(PyObject
*self
, PyObject
*args
) {
4341 PyObject
* _resultobj
;
4348 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetBrush",&_argc0
,&_argc1
))
4351 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBrush. Expected _wxDC_p.");
4357 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBrush_p")) {
4358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBrush. Expected _wxBrush_p.");
4362 wxDC_SetBrush(_arg0
,*_arg1
);
4364 _resultobj
= Py_None
;
4368 #define wxDC_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
4369 static PyObject
*_wrap_wxDC_SetFont(PyObject
*self
, PyObject
*args
) {
4370 PyObject
* _resultobj
;
4377 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetFont",&_argc0
,&_argc1
))
4380 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetFont. Expected _wxDC_p.");
4386 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxFont_p")) {
4387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetFont. Expected _wxFont_p.");
4391 wxDC_SetFont(_arg0
,*_arg1
);
4393 _resultobj
= Py_None
;
4397 #define wxDC_SetLogicalFunction(_swigobj,_swigarg0) (_swigobj->SetLogicalFunction(_swigarg0))
4398 static PyObject
*_wrap_wxDC_SetLogicalFunction(PyObject
*self
, PyObject
*args
) {
4399 PyObject
* _resultobj
;
4405 if(!PyArg_ParseTuple(args
,"si:wxDC_SetLogicalFunction",&_argc0
,&_arg1
))
4408 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalFunction. Expected _wxDC_p.");
4413 wxDC_SetLogicalFunction(_arg0
,_arg1
);
4415 _resultobj
= Py_None
;
4419 #define wxDC_SetMapMode(_swigobj,_swigarg0) (_swigobj->SetMapMode(_swigarg0))
4420 static PyObject
*_wrap_wxDC_SetMapMode(PyObject
*self
, PyObject
*args
) {
4421 PyObject
* _resultobj
;
4427 if(!PyArg_ParseTuple(args
,"si:wxDC_SetMapMode",&_argc0
,&_arg1
))
4430 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetMapMode. Expected _wxDC_p.");
4435 wxDC_SetMapMode(_arg0
,_arg1
);
4437 _resultobj
= Py_None
;
4441 #define wxDC_SetOptimization(_swigobj,_swigarg0) (_swigobj->SetOptimization(_swigarg0))
4442 static PyObject
*_wrap_wxDC_SetOptimization(PyObject
*self
, PyObject
*args
) {
4443 PyObject
* _resultobj
;
4450 if(!PyArg_ParseTuple(args
,"si:wxDC_SetOptimization",&_argc0
,&tempbool1
))
4453 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetOptimization. Expected _wxDC_p.");
4458 _arg1
= (bool ) tempbool1
;
4459 wxDC_SetOptimization(_arg0
,_arg1
);
4461 _resultobj
= Py_None
;
4465 #define wxDC_SetPen(_swigobj,_swigarg0) (_swigobj->SetPen(_swigarg0))
4466 static PyObject
*_wrap_wxDC_SetPen(PyObject
*self
, PyObject
*args
) {
4467 PyObject
* _resultobj
;
4474 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetPen",&_argc0
,&_argc1
))
4477 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPen. Expected _wxDC_p.");
4483 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPen_p")) {
4484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPen. Expected _wxPen_p.");
4488 wxDC_SetPen(_arg0
,*_arg1
);
4490 _resultobj
= Py_None
;
4494 #define wxDC_SetTextBackground(_swigobj,_swigarg0) (_swigobj->SetTextBackground(_swigarg0))
4495 static PyObject
*_wrap_wxDC_SetTextBackground(PyObject
*self
, PyObject
*args
) {
4496 PyObject
* _resultobj
;
4503 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetTextBackground",&_argc0
,&_argc1
))
4506 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextBackground. Expected _wxDC_p.");
4512 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
4513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetTextBackground. Expected _wxColour_p.");
4517 wxDC_SetTextBackground(_arg0
,*_arg1
);
4519 _resultobj
= Py_None
;
4523 #define wxDC_SetTextForeground(_swigobj,_swigarg0) (_swigobj->SetTextForeground(_swigarg0))
4524 static PyObject
*_wrap_wxDC_SetTextForeground(PyObject
*self
, PyObject
*args
) {
4525 PyObject
* _resultobj
;
4532 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetTextForeground",&_argc0
,&_argc1
))
4535 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextForeground. Expected _wxDC_p.");
4541 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
4542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetTextForeground. Expected _wxColour_p.");
4546 wxDC_SetTextForeground(_arg0
,*_arg1
);
4548 _resultobj
= Py_None
;
4552 #define wxDC_SetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetUserScale(_swigarg0,_swigarg1))
4553 static PyObject
*_wrap_wxDC_SetUserScale(PyObject
*self
, PyObject
*args
) {
4554 PyObject
* _resultobj
;
4561 if(!PyArg_ParseTuple(args
,"sdd:wxDC_SetUserScale",&_argc0
,&_arg1
,&_arg2
))
4564 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetUserScale. Expected _wxDC_p.");
4569 wxDC_SetUserScale(_arg0
,_arg1
,_arg2
);
4571 _resultobj
= Py_None
;
4575 #define wxDC_StartDoc(_swigobj,_swigarg0) (_swigobj->StartDoc(_swigarg0))
4576 static PyObject
*_wrap_wxDC_StartDoc(PyObject
*self
, PyObject
*args
) {
4577 PyObject
* _resultobj
;
4582 PyObject
* _obj1
= 0;
4585 if(!PyArg_ParseTuple(args
,"sO:wxDC_StartDoc",&_argc0
,&_obj1
))
4588 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartDoc. Expected _wxDC_p.");
4594 if (!PyString_Check(_obj1
)) {
4595 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4598 _arg1
= new wxString(PyString_AsString(_obj1
));
4600 _result
= (bool )wxDC_StartDoc(_arg0
,*_arg1
);
4601 _resultobj
= Py_BuildValue("i",_result
);
4609 #define wxDC_StartPage(_swigobj) (_swigobj->StartPage())
4610 static PyObject
*_wrap_wxDC_StartPage(PyObject
*self
, PyObject
*args
) {
4611 PyObject
* _resultobj
;
4616 if(!PyArg_ParseTuple(args
,"s:wxDC_StartPage",&_argc0
))
4619 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartPage. Expected _wxDC_p.");
4624 wxDC_StartPage(_arg0
);
4626 _resultobj
= Py_None
;
4630 static void wxDC_DrawBitmap(wxDC
*self
,wxBitmap
& bitmap
,long x
,long y
,bool swapPalette
) {
4631 wxMemoryDC
* memDC
= new wxMemoryDC
;
4632 memDC
->SelectObject(bitmap
);
4634 self
->SetPalette(*bitmap
.GetPalette());
4635 self
->Blit(x
, y
, bitmap
.GetWidth(), bitmap
.GetHeight(), memDC
,
4636 0, 0, self
->GetLogicalFunction());
4637 memDC
->SelectObject(wxNullBitmap
);
4640 static PyObject
*_wrap_wxDC_DrawBitmap(PyObject
*self
, PyObject
*args
) {
4641 PyObject
* _resultobj
;
4652 if(!PyArg_ParseTuple(args
,"ssll|i:wxDC_DrawBitmap",&_argc0
,&_argc1
,&_arg2
,&_arg3
,&tempbool4
))
4655 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawBitmap. Expected _wxDC_p.");
4661 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBitmap_p")) {
4662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawBitmap. Expected _wxBitmap_p.");
4666 _arg4
= (bool ) tempbool4
;
4667 wxDC_DrawBitmap(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
4669 _resultobj
= Py_None
;
4673 static void *SwigwxMemoryDCTowxDC(void *ptr
) {
4676 src
= (wxMemoryDC
*) ptr
;
4677 dest
= (wxDC
*) src
;
4678 return (void *) dest
;
4681 #define new_wxMemoryDC() (new wxMemoryDC())
4682 static PyObject
*_wrap_new_wxMemoryDC(PyObject
*self
, PyObject
*args
) {
4683 PyObject
* _resultobj
;
4684 wxMemoryDC
* _result
;
4688 if(!PyArg_ParseTuple(args
,":new_wxMemoryDC"))
4690 _result
= (wxMemoryDC
*)new_wxMemoryDC();
4691 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
4692 _resultobj
= Py_BuildValue("s",_ptemp
);
4696 #define wxMemoryDC_SelectObject(_swigobj,_swigarg0) (_swigobj->SelectObject(_swigarg0))
4697 static PyObject
*_wrap_wxMemoryDC_SelectObject(PyObject
*self
, PyObject
*args
) {
4698 PyObject
* _resultobj
;
4705 if(!PyArg_ParseTuple(args
,"ss:wxMemoryDC_SelectObject",&_argc0
,&_argc1
))
4708 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMemoryDC_p")) {
4709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDC_SelectObject. Expected _wxMemoryDC_p.");
4714 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBitmap_p")) {
4715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMemoryDC_SelectObject. Expected _wxBitmap_p.");
4719 wxMemoryDC_SelectObject(_arg0
,*_arg1
);
4721 _resultobj
= Py_None
;
4725 static void *SwigwxScreenDCTowxDC(void *ptr
) {
4728 src
= (wxScreenDC
*) ptr
;
4729 dest
= (wxDC
*) src
;
4730 return (void *) dest
;
4733 #define new_wxScreenDC() (new wxScreenDC())
4734 static PyObject
*_wrap_new_wxScreenDC(PyObject
*self
, PyObject
*args
) {
4735 PyObject
* _resultobj
;
4736 wxScreenDC
* _result
;
4740 if(!PyArg_ParseTuple(args
,":new_wxScreenDC"))
4742 _result
= (wxScreenDC
*)new_wxScreenDC();
4743 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScreenDC_p");
4744 _resultobj
= Py_BuildValue("s",_ptemp
);
4748 #define wxScreenDC_StartDrawingOnTop(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
4749 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
) {
4750 PyObject
* _resultobj
;
4758 if(!PyArg_ParseTuple(args
,"ss:wxScreenDC_StartDrawingOnTop",&_argc0
,&_argc1
))
4761 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScreenDC_p")) {
4762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTop. Expected _wxScreenDC_p.");
4767 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
4768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScreenDC_StartDrawingOnTop. Expected _wxWindow_p.");
4772 _result
= (bool )wxScreenDC_StartDrawingOnTop(_arg0
,_arg1
);
4773 _resultobj
= Py_BuildValue("i",_result
);
4777 #define wxScreenDC_StartDrawingOnTopRect(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
4778 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTopRect(PyObject
*self
, PyObject
*args
) {
4779 PyObject
* _resultobj
;
4782 wxRect
* _arg1
= NULL
;
4787 if(!PyArg_ParseTuple(args
,"s|s:wxScreenDC_StartDrawingOnTopRect",&_argc0
,&_argc1
))
4790 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScreenDC_p")) {
4791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTopRect. Expected _wxScreenDC_p.");
4796 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxRect_p")) {
4797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScreenDC_StartDrawingOnTopRect. Expected _wxRect_p.");
4801 _result
= (bool )wxScreenDC_StartDrawingOnTopRect(_arg0
,_arg1
);
4802 _resultobj
= Py_BuildValue("i",_result
);
4806 #define wxScreenDC_EndDrawingOnTop(_swigobj) (_swigobj->EndDrawingOnTop())
4807 static PyObject
*_wrap_wxScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
) {
4808 PyObject
* _resultobj
;
4814 if(!PyArg_ParseTuple(args
,"s:wxScreenDC_EndDrawingOnTop",&_argc0
))
4817 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScreenDC_p")) {
4818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_EndDrawingOnTop. Expected _wxScreenDC_p.");
4822 _result
= (bool )wxScreenDC_EndDrawingOnTop(_arg0
);
4823 _resultobj
= Py_BuildValue("i",_result
);
4827 static void *SwigwxClientDCTowxDC(void *ptr
) {
4830 src
= (wxClientDC
*) ptr
;
4831 dest
= (wxDC
*) src
;
4832 return (void *) dest
;
4835 #define new_wxClientDC(_swigarg0) (new wxClientDC(_swigarg0))
4836 static PyObject
*_wrap_new_wxClientDC(PyObject
*self
, PyObject
*args
) {
4837 PyObject
* _resultobj
;
4838 wxClientDC
* _result
;
4844 if(!PyArg_ParseTuple(args
,"s:new_wxClientDC",&_argc0
))
4847 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
4848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxClientDC. Expected _wxWindow_p.");
4852 _result
= (wxClientDC
*)new_wxClientDC(_arg0
);
4853 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxClientDC_p");
4854 _resultobj
= Py_BuildValue("s",_ptemp
);
4858 static void *SwigwxPaintDCTowxDC(void *ptr
) {
4861 src
= (wxPaintDC
*) ptr
;
4862 dest
= (wxDC
*) src
;
4863 return (void *) dest
;
4866 #define new_wxPaintDC(_swigarg0) (new wxPaintDC(_swigarg0))
4867 static PyObject
*_wrap_new_wxPaintDC(PyObject
*self
, PyObject
*args
) {
4868 PyObject
* _resultobj
;
4869 wxPaintDC
* _result
;
4875 if(!PyArg_ParseTuple(args
,"s:new_wxPaintDC",&_argc0
))
4878 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
4879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPaintDC. Expected _wxWindow_p.");
4883 _result
= (wxPaintDC
*)new_wxPaintDC(_arg0
);
4884 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPaintDC_p");
4885 _resultobj
= Py_BuildValue("s",_ptemp
);
4889 static void *SwigwxWindowDCTowxDC(void *ptr
) {
4892 src
= (wxWindowDC
*) ptr
;
4893 dest
= (wxDC
*) src
;
4894 return (void *) dest
;
4897 #define new_wxWindowDC(_swigarg0) (new wxWindowDC(_swigarg0))
4898 static PyObject
*_wrap_new_wxWindowDC(PyObject
*self
, PyObject
*args
) {
4899 PyObject
* _resultobj
;
4900 wxWindowDC
* _result
;
4906 if(!PyArg_ParseTuple(args
,"s:new_wxWindowDC",&_argc0
))
4909 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
4910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDC. Expected _wxWindow_p.");
4914 _result
= (wxWindowDC
*)new_wxWindowDC(_arg0
);
4915 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDC_p");
4916 _resultobj
= Py_BuildValue("s",_ptemp
);
4920 static void *SwigwxPrinterDCTowxDC(void *ptr
) {
4923 src
= (wxPrinterDC
*) ptr
;
4924 dest
= (wxDC
*) src
;
4925 return (void *) dest
;
4928 #define new_wxPrinterDC(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxPrinterDC(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4929 static PyObject
*_wrap_new_wxPrinterDC(PyObject
*self
, PyObject
*args
) {
4930 PyObject
* _resultobj
;
4931 wxPrinterDC
* _result
;
4936 int _arg4
= (wxPORTRAIT
);
4937 PyObject
* _obj0
= 0;
4938 PyObject
* _obj1
= 0;
4939 PyObject
* _obj2
= 0;
4944 if(!PyArg_ParseTuple(args
,"OOO|ii:new_wxPrinterDC",&_obj0
,&_obj1
,&_obj2
,&tempbool3
,&_arg4
))
4947 if (!PyString_Check(_obj0
)) {
4948 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4951 _arg0
= new wxString(PyString_AsString(_obj0
));
4954 if (!PyString_Check(_obj1
)) {
4955 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4958 _arg1
= new wxString(PyString_AsString(_obj1
));
4961 if (!PyString_Check(_obj2
)) {
4962 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4965 _arg2
= new wxString(PyString_AsString(_obj2
));
4967 _arg3
= (bool ) tempbool3
;
4968 _result
= (wxPrinterDC
*)new_wxPrinterDC(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
4969 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrinterDC_p");
4970 _resultobj
= Py_BuildValue("s",_ptemp
);
4986 static void *SwigwxMetaFileDCTowxDC(void *ptr
) {
4989 src
= (wxMetaFileDC
*) ptr
;
4990 dest
= (wxDC
*) src
;
4991 return (void *) dest
;
4994 #define new_wxMetaFileDC(_swigarg0) (new wxMetaFileDC(_swigarg0))
4995 static PyObject
*_wrap_new_wxMetaFileDC(PyObject
*self
, PyObject
*args
) {
4996 PyObject
* _resultobj
;
4997 wxMetaFileDC
* _result
;
4998 wxString
* _arg0
= &wxPyEmptyStr
;
4999 PyObject
* _obj0
= 0;
5003 if(!PyArg_ParseTuple(args
,"|O:new_wxMetaFileDC",&_obj0
))
5007 if (!PyString_Check(_obj0
)) {
5008 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5011 _arg0
= new wxString(PyString_AsString(_obj0
));
5013 _result
= (wxMetaFileDC
*)new_wxMetaFileDC(*_arg0
);
5014 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMetaFileDC_p");
5015 _resultobj
= Py_BuildValue("s",_ptemp
);
5023 #define wxMetaFileDC_Close(_swigobj) (_swigobj->Close())
5024 static PyObject
*_wrap_wxMetaFileDC_Close(PyObject
*self
, PyObject
*args
) {
5025 PyObject
* _resultobj
;
5026 wxMetaFile
* _result
;
5027 wxMetaFileDC
* _arg0
;
5032 if(!PyArg_ParseTuple(args
,"s:wxMetaFileDC_Close",&_argc0
))
5035 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMetaFileDC_p")) {
5036 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMetaFileDC_Close. Expected _wxMetaFileDC_p.");
5040 _result
= (wxMetaFile
*)wxMetaFileDC_Close(_arg0
);
5041 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMetaFile_p");
5042 _resultobj
= Py_BuildValue("s",_ptemp
);
5046 #define new_wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5047 static PyObject
*_wrap_new_wxPalette(PyObject
*self
, PyObject
*args
) {
5048 PyObject
* _resultobj
;
5049 wxPalette
* _result
;
5054 PyObject
* _obj1
= 0;
5055 PyObject
* _obj2
= 0;
5056 PyObject
* _obj3
= 0;
5060 if(!PyArg_ParseTuple(args
,"OOO:new_wxPalette",&_obj1
,&_obj2
,&_obj3
))
5063 _arg1
= byte_LIST_helper(_obj1
);
5064 if (_arg1
== NULL
) {
5069 _arg2
= byte_LIST_helper(_obj2
);
5070 if (_arg2
== NULL
) {
5076 _arg3
= byte_LIST_helper(_obj3
);
5077 if (_arg3
== NULL
) {
5082 _arg0
= PyList_Size(_obj1
);
5084 _result
= (wxPalette
*)new_wxPalette(_arg0
,_arg1
,_arg2
,_arg3
);
5085 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
5086 _resultobj
= Py_BuildValue("s",_ptemp
);
5099 #define delete_wxPalette(_swigobj) (delete _swigobj)
5100 static PyObject
*_wrap_delete_wxPalette(PyObject
*self
, PyObject
*args
) {
5101 PyObject
* _resultobj
;
5106 if(!PyArg_ParseTuple(args
,"s:delete_wxPalette",&_argc0
))
5109 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPalette_p")) {
5110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPalette. Expected _wxPalette_p.");
5114 delete_wxPalette(_arg0
);
5116 _resultobj
= Py_None
;
5120 #define wxPalette_GetPixel(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetPixel(_swigarg0,_swigarg1,_swigarg2))
5121 static PyObject
*_wrap_wxPalette_GetPixel(PyObject
*self
, PyObject
*args
) {
5122 PyObject
* _resultobj
;
5131 if(!PyArg_ParseTuple(args
,"sbbb:wxPalette_GetPixel",&_argc0
,&_arg1
,&_arg2
,&_arg3
))
5134 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPalette_p")) {
5135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetPixel. Expected _wxPalette_p.");
5139 _result
= (int )wxPalette_GetPixel(_arg0
,_arg1
,_arg2
,_arg3
);
5140 _resultobj
= Py_BuildValue("i",_result
);
5144 #define wxPalette_GetRGB(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetRGB(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5145 static PyObject
*_wrap_wxPalette_GetRGB(PyObject
*self
, PyObject
*args
) {
5146 PyObject
* _resultobj
;
5159 if(!PyArg_ParseTuple(args
,"sisss:wxPalette_GetRGB",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_argc4
))
5162 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPalette_p")) {
5163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetRGB. Expected _wxPalette_p.");
5168 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_byte_p")) {
5169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPalette_GetRGB. Expected _byte_p.");
5174 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_byte_p")) {
5175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxPalette_GetRGB. Expected _byte_p.");
5180 if (SWIG_GetPtr(_argc4
,(void **) &_arg4
,"_byte_p")) {
5181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxPalette_GetRGB. Expected _byte_p.");
5185 _result
= (bool )wxPalette_GetRGB(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5186 _resultobj
= Py_BuildValue("i",_result
);
5190 #define wxPalette_Ok(_swigobj) (_swigobj->Ok())
5191 static PyObject
*_wrap_wxPalette_Ok(PyObject
*self
, PyObject
*args
) {
5192 PyObject
* _resultobj
;
5198 if(!PyArg_ParseTuple(args
,"s:wxPalette_Ok",&_argc0
))
5201 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPalette_p")) {
5202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_Ok. Expected _wxPalette_p.");
5206 _result
= (bool )wxPalette_Ok(_arg0
);
5207 _resultobj
= Py_BuildValue("i",_result
);
5211 #define new_wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5212 static PyObject
*_wrap_new_wxImageList(PyObject
*self
, PyObject
*args
) {
5213 PyObject
* _resultobj
;
5214 wxImageList
* _result
;
5223 if(!PyArg_ParseTuple(args
,"ii|ii:new_wxImageList",&_arg0
,&_arg1
,&tempbool2
,&_arg3
))
5225 _arg2
= (bool ) tempbool2
;
5226 _result
= (wxImageList
*)new_wxImageList(_arg0
,_arg1
,_arg2
,_arg3
);
5227 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
5228 _resultobj
= Py_BuildValue("s",_ptemp
);
5232 #define delete_wxImageList(_swigobj) (delete _swigobj)
5233 static PyObject
*_wrap_delete_wxImageList(PyObject
*self
, PyObject
*args
) {
5234 PyObject
* _resultobj
;
5235 wxImageList
* _arg0
;
5239 if(!PyArg_ParseTuple(args
,"s:delete_wxImageList",&_argc0
))
5242 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImageList_p")) {
5243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxImageList. Expected _wxImageList_p.");
5247 delete_wxImageList(_arg0
);
5249 _resultobj
= Py_None
;
5253 #define wxImageList_Add(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
5254 static PyObject
*_wrap_wxImageList_Add(PyObject
*self
, PyObject
*args
) {
5255 PyObject
* _resultobj
;
5257 wxImageList
* _arg0
;
5259 wxBitmap
* _arg2
= &wxNullBitmap
;
5265 if(!PyArg_ParseTuple(args
,"ss|s:wxImageList_Add",&_argc0
,&_argc1
,&_argc2
))
5268 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImageList_p")) {
5269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Add. Expected _wxImageList_p.");
5274 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBitmap_p")) {
5275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_Add. Expected _wxBitmap_p.");
5280 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxBitmap_p")) {
5281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Add. Expected _wxBitmap_p.");
5285 _result
= (int )wxImageList_Add(_arg0
,*_arg1
,*_arg2
);
5286 _resultobj
= Py_BuildValue("i",_result
);
5290 #define wxImageList_AddWithColourMask(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
5291 static PyObject
*_wrap_wxImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
) {
5292 PyObject
* _resultobj
;
5294 wxImageList
* _arg0
;
5302 if(!PyArg_ParseTuple(args
,"sss:wxImageList_AddWithColourMask",&_argc0
,&_argc1
,&_argc2
))
5305 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImageList_p")) {
5306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_AddWithColourMask. Expected _wxImageList_p.");
5311 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBitmap_p")) {
5312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_AddWithColourMask. Expected _wxBitmap_p.");
5317 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxColour_p")) {
5318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_AddWithColourMask. Expected _wxColour_p.");
5322 _result
= (int )wxImageList_AddWithColourMask(_arg0
,*_arg1
,*_arg2
);
5323 _resultobj
= Py_BuildValue("i",_result
);
5327 #define wxImageList_AddIcon(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
5328 static PyObject
*_wrap_wxImageList_AddIcon(PyObject
*self
, PyObject
*args
) {
5329 PyObject
* _resultobj
;
5331 wxImageList
* _arg0
;
5337 if(!PyArg_ParseTuple(args
,"ss:wxImageList_AddIcon",&_argc0
,&_argc1
))
5340 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImageList_p")) {
5341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_AddIcon. Expected _wxImageList_p.");
5346 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxIcon_p")) {
5347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_AddIcon. Expected _wxIcon_p.");
5351 _result
= (int )wxImageList_AddIcon(_arg0
,*_arg1
);
5352 _resultobj
= Py_BuildValue("i",_result
);
5356 #define wxImageList_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
5357 static PyObject
*_wrap_wxImageList_Replace(PyObject
*self
, PyObject
*args
) {
5358 PyObject
* _resultobj
;
5360 wxImageList
* _arg0
;
5363 wxBitmap
* _arg3
= &wxNullBitmap
;
5369 if(!PyArg_ParseTuple(args
,"sis|s:wxImageList_Replace",&_argc0
,&_arg1
,&_argc2
,&_argc3
))
5372 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImageList_p")) {
5373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Replace. Expected _wxImageList_p.");
5378 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxBitmap_p")) {
5379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Replace. Expected _wxBitmap_p.");
5384 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxBitmap_p")) {
5385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxImageList_Replace. Expected _wxBitmap_p.");
5389 _result
= (bool )wxImageList_Replace(_arg0
,_arg1
,*_arg2
,*_arg3
);
5390 _resultobj
= Py_BuildValue("i",_result
);
5394 #define wxImageList_ReplaceIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->Replace(_swigarg0,_swigarg1))
5395 static PyObject
*_wrap_wxImageList_ReplaceIcon(PyObject
*self
, PyObject
*args
) {
5396 PyObject
* _resultobj
;
5398 wxImageList
* _arg0
;
5405 if(!PyArg_ParseTuple(args
,"sis:wxImageList_ReplaceIcon",&_argc0
,&_arg1
,&_argc2
))
5408 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImageList_p")) {
5409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_ReplaceIcon. Expected _wxImageList_p.");
5414 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxIcon_p")) {
5415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_ReplaceIcon. Expected _wxIcon_p.");
5419 _result
= (bool )wxImageList_ReplaceIcon(_arg0
,_arg1
,*_arg2
);
5420 _resultobj
= Py_BuildValue("i",_result
);
5424 #define wxImageList_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5425 static PyObject
*_wrap_wxImageList_Draw(PyObject
*self
, PyObject
*args
) {
5426 PyObject
* _resultobj
;
5428 wxImageList
* _arg0
;
5433 int _arg5
= (wxIMAGELIST_DRAW_NORMAL
);
5440 if(!PyArg_ParseTuple(args
,"sisii|ii:wxImageList_Draw",&_argc0
,&_arg1
,&_argc2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
5443 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImageList_p")) {
5444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Draw. Expected _wxImageList_p.");
5449 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxDC_p")) {
5450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Draw. Expected _wxDC_p.");
5454 _arg6
= (bool ) tempbool6
;
5455 _result
= (bool )wxImageList_Draw(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
5456 _resultobj
= Py_BuildValue("i",_result
);
5460 #define wxImageList_GetImageCount(_swigobj) (_swigobj->GetImageCount())
5461 static PyObject
*_wrap_wxImageList_GetImageCount(PyObject
*self
, PyObject
*args
) {
5462 PyObject
* _resultobj
;
5464 wxImageList
* _arg0
;
5468 if(!PyArg_ParseTuple(args
,"s:wxImageList_GetImageCount",&_argc0
))
5471 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImageList_p")) {
5472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_GetImageCount. Expected _wxImageList_p.");
5476 _result
= (int )wxImageList_GetImageCount(_arg0
);
5477 _resultobj
= Py_BuildValue("i",_result
);
5481 #define wxImageList_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
5482 static PyObject
*_wrap_wxImageList_Remove(PyObject
*self
, PyObject
*args
) {
5483 PyObject
* _resultobj
;
5485 wxImageList
* _arg0
;
5490 if(!PyArg_ParseTuple(args
,"si:wxImageList_Remove",&_argc0
,&_arg1
))
5493 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImageList_p")) {
5494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Remove. Expected _wxImageList_p.");
5498 _result
= (bool )wxImageList_Remove(_arg0
,_arg1
);
5499 _resultobj
= Py_BuildValue("i",_result
);
5503 #define wxImageList_RemoveAll(_swigobj) (_swigobj->RemoveAll())
5504 static PyObject
*_wrap_wxImageList_RemoveAll(PyObject
*self
, PyObject
*args
) {
5505 PyObject
* _resultobj
;
5507 wxImageList
* _arg0
;
5511 if(!PyArg_ParseTuple(args
,"s:wxImageList_RemoveAll",&_argc0
))
5514 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImageList_p")) {
5515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_RemoveAll. Expected _wxImageList_p.");
5519 _result
= (bool )wxImageList_RemoveAll(_arg0
);
5520 _resultobj
= Py_BuildValue("i",_result
);
5524 static PyMethodDef gdicMethods
[] = {
5525 { "wxImageList_RemoveAll", _wrap_wxImageList_RemoveAll
, 1 },
5526 { "wxImageList_Remove", _wrap_wxImageList_Remove
, 1 },
5527 { "wxImageList_GetImageCount", _wrap_wxImageList_GetImageCount
, 1 },
5528 { "wxImageList_Draw", _wrap_wxImageList_Draw
, 1 },
5529 { "wxImageList_ReplaceIcon", _wrap_wxImageList_ReplaceIcon
, 1 },
5530 { "wxImageList_Replace", _wrap_wxImageList_Replace
, 1 },
5531 { "wxImageList_AddIcon", _wrap_wxImageList_AddIcon
, 1 },
5532 { "wxImageList_AddWithColourMask", _wrap_wxImageList_AddWithColourMask
, 1 },
5533 { "wxImageList_Add", _wrap_wxImageList_Add
, 1 },
5534 { "delete_wxImageList", _wrap_delete_wxImageList
, 1 },
5535 { "new_wxImageList", _wrap_new_wxImageList
, 1 },
5536 { "wxPalette_Ok", _wrap_wxPalette_Ok
, 1 },
5537 { "wxPalette_GetRGB", _wrap_wxPalette_GetRGB
, 1 },
5538 { "wxPalette_GetPixel", _wrap_wxPalette_GetPixel
, 1 },
5539 { "delete_wxPalette", _wrap_delete_wxPalette
, 1 },
5540 { "new_wxPalette", _wrap_new_wxPalette
, 1 },
5541 { "wxMetaFileDC_Close", _wrap_wxMetaFileDC_Close
, 1 },
5542 { "new_wxMetaFileDC", _wrap_new_wxMetaFileDC
, 1 },
5543 { "new_wxPrinterDC", _wrap_new_wxPrinterDC
, 1 },
5544 { "new_wxWindowDC", _wrap_new_wxWindowDC
, 1 },
5545 { "new_wxPaintDC", _wrap_new_wxPaintDC
, 1 },
5546 { "new_wxClientDC", _wrap_new_wxClientDC
, 1 },
5547 { "wxScreenDC_EndDrawingOnTop", _wrap_wxScreenDC_EndDrawingOnTop
, 1 },
5548 { "wxScreenDC_StartDrawingOnTopRect", _wrap_wxScreenDC_StartDrawingOnTopRect
, 1 },
5549 { "wxScreenDC_StartDrawingOnTop", _wrap_wxScreenDC_StartDrawingOnTop
, 1 },
5550 { "new_wxScreenDC", _wrap_new_wxScreenDC
, 1 },
5551 { "wxMemoryDC_SelectObject", _wrap_wxMemoryDC_SelectObject
, 1 },
5552 { "new_wxMemoryDC", _wrap_new_wxMemoryDC
, 1 },
5553 { "wxDC_DrawBitmap", _wrap_wxDC_DrawBitmap
, 1 },
5554 { "wxDC_StartPage", _wrap_wxDC_StartPage
, 1 },
5555 { "wxDC_StartDoc", _wrap_wxDC_StartDoc
, 1 },
5556 { "wxDC_SetUserScale", _wrap_wxDC_SetUserScale
, 1 },
5557 { "wxDC_SetTextForeground", _wrap_wxDC_SetTextForeground
, 1 },
5558 { "wxDC_SetTextBackground", _wrap_wxDC_SetTextBackground
, 1 },
5559 { "wxDC_SetPen", _wrap_wxDC_SetPen
, 1 },
5560 { "wxDC_SetOptimization", _wrap_wxDC_SetOptimization
, 1 },
5561 { "wxDC_SetMapMode", _wrap_wxDC_SetMapMode
, 1 },
5562 { "wxDC_SetLogicalFunction", _wrap_wxDC_SetLogicalFunction
, 1 },
5563 { "wxDC_SetFont", _wrap_wxDC_SetFont
, 1 },
5564 { "wxDC_SetBrush", _wrap_wxDC_SetBrush
, 1 },
5565 { "wxDC_SetPalette", _wrap_wxDC_SetPalette
, 1 },
5566 { "wxDC_SetClippingRegion", _wrap_wxDC_SetClippingRegion
, 1 },
5567 { "wxDC_SetBackgroundMode", _wrap_wxDC_SetBackgroundMode
, 1 },
5568 { "wxDC_SetBackground", _wrap_wxDC_SetBackground
, 1 },
5569 { "wxDC_SetDeviceOrigin", _wrap_wxDC_SetDeviceOrigin
, 1 },
5570 { "wxDC_Ok", _wrap_wxDC_Ok
, 1 },
5571 { "wxDC_MinY", _wrap_wxDC_MinY
, 1 },
5572 { "wxDC_MinX", _wrap_wxDC_MinX
, 1 },
5573 { "wxDC_MaxY", _wrap_wxDC_MaxY
, 1 },
5574 { "wxDC_MaxX", _wrap_wxDC_MaxX
, 1 },
5575 { "wxDC_LogicalToDeviceYRel", _wrap_wxDC_LogicalToDeviceYRel
, 1 },
5576 { "wxDC_LogicalToDeviceY", _wrap_wxDC_LogicalToDeviceY
, 1 },
5577 { "wxDC_LogicalToDeviceXRel", _wrap_wxDC_LogicalToDeviceXRel
, 1 },
5578 { "wxDC_LogicalToDeviceX", _wrap_wxDC_LogicalToDeviceX
, 1 },
5579 { "wxDC_GetTextForeground", _wrap_wxDC_GetTextForeground
, 1 },
5580 { "wxDC_GetFullTextExtent", _wrap_wxDC_GetFullTextExtent
, 1 },
5581 { "wxDC_GetTextExtent", _wrap_wxDC_GetTextExtent
, 1 },
5582 { "wxDC_GetTextBackground", _wrap_wxDC_GetTextBackground
, 1 },
5583 { "wxDC_GetSize", _wrap_wxDC_GetSize
, 1 },
5584 { "wxDC_GetPixel", _wrap_wxDC_GetPixel
, 1 },
5585 { "wxDC_GetPen", _wrap_wxDC_GetPen
, 1 },
5586 { "wxDC_GetOptimization", _wrap_wxDC_GetOptimization
, 1 },
5587 { "wxDC_GetMapMode", _wrap_wxDC_GetMapMode
, 1 },
5588 { "wxDC_GetLogicalFunction", _wrap_wxDC_GetLogicalFunction
, 1 },
5589 { "wxDC_GetFont", _wrap_wxDC_GetFont
, 1 },
5590 { "wxDC_GetClippingBox", _wrap_wxDC_GetClippingBox
, 1 },
5591 { "wxDC_GetCharWidth", _wrap_wxDC_GetCharWidth
, 1 },
5592 { "wxDC_GetCharHeight", _wrap_wxDC_GetCharHeight
, 1 },
5593 { "wxDC_GetBrush", _wrap_wxDC_GetBrush
, 1 },
5594 { "wxDC_GetBackground", _wrap_wxDC_GetBackground
, 1 },
5595 { "wxDC_FloodFill", _wrap_wxDC_FloodFill
, 1 },
5596 { "wxDC_EndPage", _wrap_wxDC_EndPage
, 1 },
5597 { "wxDC_EndDrawing", _wrap_wxDC_EndDrawing
, 1 },
5598 { "wxDC_EndDoc", _wrap_wxDC_EndDoc
, 1 },
5599 { "wxDC_DrawText", _wrap_wxDC_DrawText
, 1 },
5600 { "wxDC_DrawSpline", _wrap_wxDC_DrawSpline
, 1 },
5601 { "wxDC_DrawRoundedRectangle", _wrap_wxDC_DrawRoundedRectangle
, 1 },
5602 { "wxDC_DrawRectangle", _wrap_wxDC_DrawRectangle
, 1 },
5603 { "wxDC_DrawPoint", _wrap_wxDC_DrawPoint
, 1 },
5604 { "wxDC_DrawPolygon", _wrap_wxDC_DrawPolygon
, 1 },
5605 { "wxDC_DrawLines", _wrap_wxDC_DrawLines
, 1 },
5606 { "wxDC_DrawLine", _wrap_wxDC_DrawLine
, 1 },
5607 { "wxDC_DrawIcon", _wrap_wxDC_DrawIcon
, 1 },
5608 { "wxDC_DrawEllipticArc", _wrap_wxDC_DrawEllipticArc
, 1 },
5609 { "wxDC_DrawEllipse", _wrap_wxDC_DrawEllipse
, 1 },
5610 { "wxDC_DrawArc", _wrap_wxDC_DrawArc
, 1 },
5611 { "wxDC_DeviceToLogicalYRel", _wrap_wxDC_DeviceToLogicalYRel
, 1 },
5612 { "wxDC_DeviceToLogicalY", _wrap_wxDC_DeviceToLogicalY
, 1 },
5613 { "wxDC_DeviceToLogicalXRel", _wrap_wxDC_DeviceToLogicalXRel
, 1 },
5614 { "wxDC_DeviceToLogicalX", _wrap_wxDC_DeviceToLogicalX
, 1 },
5615 { "wxDC_DestroyClippingRegion", _wrap_wxDC_DestroyClippingRegion
, 1 },
5616 { "wxDC_CrossHair", _wrap_wxDC_CrossHair
, 1 },
5617 { "wxDC_Clear", _wrap_wxDC_Clear
, 1 },
5618 { "wxDC_Blit", _wrap_wxDC_Blit
, 1 },
5619 { "wxDC_BeginDrawing", _wrap_wxDC_BeginDrawing
, 1 },
5620 { "delete_wxDC", _wrap_delete_wxDC
, 1 },
5621 { "wxBrush_SetStyle", _wrap_wxBrush_SetStyle
, 1 },
5622 { "wxBrush_SetStipple", _wrap_wxBrush_SetStipple
, 1 },
5623 { "wxBrush_SetColour", _wrap_wxBrush_SetColour
, 1 },
5624 { "wxBrush_Ok", _wrap_wxBrush_Ok
, 1 },
5625 { "wxBrush_GetStyle", _wrap_wxBrush_GetStyle
, 1 },
5626 { "wxBrush_GetStipple", _wrap_wxBrush_GetStipple
, 1 },
5627 { "wxBrush_GetColour", _wrap_wxBrush_GetColour
, 1 },
5628 { "new_wxBrush", _wrap_new_wxBrush
, 1 },
5629 { "wxPen_SetStipple", _wrap_wxPen_SetStipple
, 1 },
5630 { "wxPen_SetDashes", _wrap_wxPen_SetDashes
, 1 },
5631 { "wxPen_GetStipple", _wrap_wxPen_GetStipple
, 1 },
5632 { "wxPen_GetDashes", _wrap_wxPen_GetDashes
, 1 },
5633 { "wxPen_SetWidth", _wrap_wxPen_SetWidth
, 1 },
5634 { "wxPen_SetStyle", _wrap_wxPen_SetStyle
, 1 },
5635 { "wxPen_SetJoin", _wrap_wxPen_SetJoin
, 1 },
5636 { "wxPen_SetColour", _wrap_wxPen_SetColour
, 1 },
5637 { "wxPen_SetCap", _wrap_wxPen_SetCap
, 1 },
5638 { "wxPen_Ok", _wrap_wxPen_Ok
, 1 },
5639 { "wxPen_GetWidth", _wrap_wxPen_GetWidth
, 1 },
5640 { "wxPen_GetStyle", _wrap_wxPen_GetStyle
, 1 },
5641 { "wxPen_GetJoin", _wrap_wxPen_GetJoin
, 1 },
5642 { "wxPen_GetColour", _wrap_wxPen_GetColour
, 1 },
5643 { "wxPen_GetCap", _wrap_wxPen_GetCap
, 1 },
5644 { "new_wxPen", _wrap_new_wxPen
, 1 },
5645 { "wxColour_Get", _wrap_wxColour_Get
, 1 },
5646 { "wxColour_Set", _wrap_wxColour_Set
, 1 },
5647 { "wxColour_Ok", _wrap_wxColour_Ok
, 1 },
5648 { "wxColour_Blue", _wrap_wxColour_Blue
, 1 },
5649 { "wxColour_Green", _wrap_wxColour_Green
, 1 },
5650 { "wxColour_Red", _wrap_wxColour_Red
, 1 },
5651 { "delete_wxColour", _wrap_delete_wxColour
, 1 },
5652 { "new_wxColour", _wrap_new_wxColour
, 1 },
5653 { "wxFont_SetWeight", _wrap_wxFont_SetWeight
, 1 },
5654 { "wxFont_SetUnderlined", _wrap_wxFont_SetUnderlined
, 1 },
5655 { "wxFont_SetStyle", _wrap_wxFont_SetStyle
, 1 },
5656 { "wxFont_SetPointSize", _wrap_wxFont_SetPointSize
, 1 },
5657 { "wxFont_SetFamily", _wrap_wxFont_SetFamily
, 1 },
5658 { "wxFont_SetFaceName", _wrap_wxFont_SetFaceName
, 1 },
5659 { "wxFont_GetWeight", _wrap_wxFont_GetWeight
, 1 },
5660 { "wxFont_GetUnderlined", _wrap_wxFont_GetUnderlined
, 1 },
5661 { "wxFont_GetStyle", _wrap_wxFont_GetStyle
, 1 },
5662 { "wxFont_GetPointSize", _wrap_wxFont_GetPointSize
, 1 },
5663 { "wxFont_GetFontId", _wrap_wxFont_GetFontId
, 1 },
5664 { "wxFont_GetFamily", _wrap_wxFont_GetFamily
, 1 },
5665 { "wxFont_GetFaceName", _wrap_wxFont_GetFaceName
, 1 },
5666 { "new_wxFont", _wrap_new_wxFont
, 1 },
5667 { "wxCursor_Ok", _wrap_wxCursor_Ok
, 1 },
5668 { "delete_wxCursor", _wrap_delete_wxCursor
, 1 },
5669 { "new_wxCursor", _wrap_new_wxCursor
, 1 },
5670 { "wxIcon_SetWidth", _wrap_wxIcon_SetWidth
, 1 },
5671 { "wxIcon_SetHeight", _wrap_wxIcon_SetHeight
, 1 },
5672 { "wxIcon_SetDepth", _wrap_wxIcon_SetDepth
, 1 },
5673 { "wxIcon_Ok", _wrap_wxIcon_Ok
, 1 },
5674 { "wxIcon_LoadFile", _wrap_wxIcon_LoadFile
, 1 },
5675 { "wxIcon_GetWidth", _wrap_wxIcon_GetWidth
, 1 },
5676 { "wxIcon_GetHeight", _wrap_wxIcon_GetHeight
, 1 },
5677 { "wxIcon_GetDepth", _wrap_wxIcon_GetDepth
, 1 },
5678 { "delete_wxIcon", _wrap_delete_wxIcon
, 1 },
5679 { "new_wxIcon", _wrap_new_wxIcon
, 1 },
5680 { "delete_wxMask", _wrap_delete_wxMask
, 1 },
5681 { "new_wxMask", _wrap_new_wxMask
, 1 },
5682 { "wxBitmap_SetWidth", _wrap_wxBitmap_SetWidth
, 1 },
5683 { "wxBitmap_SetPalette", _wrap_wxBitmap_SetPalette
, 1 },
5684 { "wxBitmap_SetMask", _wrap_wxBitmap_SetMask
, 1 },
5685 { "wxBitmap_SetHeight", _wrap_wxBitmap_SetHeight
, 1 },
5686 { "wxBitmap_SetDepth", _wrap_wxBitmap_SetDepth
, 1 },
5687 { "wxBitmap_SaveFile", _wrap_wxBitmap_SaveFile
, 1 },
5688 { "wxBitmap_Ok", _wrap_wxBitmap_Ok
, 1 },
5689 { "wxBitmap_LoadFile", _wrap_wxBitmap_LoadFile
, 1 },
5690 { "wxBitmap_GetWidth", _wrap_wxBitmap_GetWidth
, 1 },
5691 { "wxBitmap_GetMask", _wrap_wxBitmap_GetMask
, 1 },
5692 { "wxBitmap_GetPalette", _wrap_wxBitmap_GetPalette
, 1 },
5693 { "wxBitmap_GetHeight", _wrap_wxBitmap_GetHeight
, 1 },
5694 { "wxBitmap_GetDepth", _wrap_wxBitmap_GetDepth
, 1 },
5695 { "wxBitmap_Create", _wrap_wxBitmap_Create
, 1 },
5696 { "delete_wxBitmap", _wrap_delete_wxBitmap
, 1 },
5697 { "new_wxBitmap", _wrap_new_wxBitmap
, 1 },
5698 { "wxMemoryDCFromDC", _wrap_wxMemoryDCFromDC
, 1 },
5699 { "wxNamedColour", _wrap_wxNamedColour
, 1 },
5700 { "wxStockCursor", _wrap_wxStockCursor
, 1 },
5701 { "wxMaskColour", _wrap_wxMaskColour
, 1 },
5702 { "wxNoRefBitmap", _wrap_wxNoRefBitmap
, 1 },
5703 { "wxEmptyBitmap", _wrap_wxEmptyBitmap
, 1 },
5706 static PyObject
*SWIG_globals
;
5710 SWIGEXPORT(void,initgdic
)() {
5712 SWIG_globals
= SWIG_newvarlink();
5713 m
= Py_InitModule("gdic", gdicMethods
);
5714 d
= PyModule_GetDict(m
);
5715 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
5716 SWIG_addvarlink(SWIG_globals
,"wxNORMAL_FONT",_wrap_wxNORMAL_FONT_get
, _wrap_wxNORMAL_FONT_set
);
5717 SWIG_addvarlink(SWIG_globals
,"wxSMALL_FONT",_wrap_wxSMALL_FONT_get
, _wrap_wxSMALL_FONT_set
);
5718 SWIG_addvarlink(SWIG_globals
,"wxITALIC_FONT",_wrap_wxITALIC_FONT_get
, _wrap_wxITALIC_FONT_set
);
5719 SWIG_addvarlink(SWIG_globals
,"wxSWISS_FONT",_wrap_wxSWISS_FONT_get
, _wrap_wxSWISS_FONT_set
);
5720 SWIG_addvarlink(SWIG_globals
,"wxRED_PEN",_wrap_wxRED_PEN_get
, _wrap_wxRED_PEN_set
);
5721 SWIG_addvarlink(SWIG_globals
,"wxCYAN_PEN",_wrap_wxCYAN_PEN_get
, _wrap_wxCYAN_PEN_set
);
5722 SWIG_addvarlink(SWIG_globals
,"wxGREEN_PEN",_wrap_wxGREEN_PEN_get
, _wrap_wxGREEN_PEN_set
);
5723 SWIG_addvarlink(SWIG_globals
,"wxBLACK_PEN",_wrap_wxBLACK_PEN_get
, _wrap_wxBLACK_PEN_set
);
5724 SWIG_addvarlink(SWIG_globals
,"wxWHITE_PEN",_wrap_wxWHITE_PEN_get
, _wrap_wxWHITE_PEN_set
);
5725 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_PEN",_wrap_wxTRANSPARENT_PEN_get
, _wrap_wxTRANSPARENT_PEN_set
);
5726 SWIG_addvarlink(SWIG_globals
,"wxBLACK_DASHED_PEN",_wrap_wxBLACK_DASHED_PEN_get
, _wrap_wxBLACK_DASHED_PEN_set
);
5727 SWIG_addvarlink(SWIG_globals
,"wxGREY_PEN",_wrap_wxGREY_PEN_get
, _wrap_wxGREY_PEN_set
);
5728 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_PEN",_wrap_wxMEDIUM_GREY_PEN_get
, _wrap_wxMEDIUM_GREY_PEN_set
);
5729 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_PEN",_wrap_wxLIGHT_GREY_PEN_get
, _wrap_wxLIGHT_GREY_PEN_set
);
5730 SWIG_addvarlink(SWIG_globals
,"wxBLUE_BRUSH",_wrap_wxBLUE_BRUSH_get
, _wrap_wxBLUE_BRUSH_set
);
5731 SWIG_addvarlink(SWIG_globals
,"wxGREEN_BRUSH",_wrap_wxGREEN_BRUSH_get
, _wrap_wxGREEN_BRUSH_set
);
5732 SWIG_addvarlink(SWIG_globals
,"wxWHITE_BRUSH",_wrap_wxWHITE_BRUSH_get
, _wrap_wxWHITE_BRUSH_set
);
5733 SWIG_addvarlink(SWIG_globals
,"wxBLACK_BRUSH",_wrap_wxBLACK_BRUSH_get
, _wrap_wxBLACK_BRUSH_set
);
5734 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_BRUSH",_wrap_wxTRANSPARENT_BRUSH_get
, _wrap_wxTRANSPARENT_BRUSH_set
);
5735 SWIG_addvarlink(SWIG_globals
,"wxCYAN_BRUSH",_wrap_wxCYAN_BRUSH_get
, _wrap_wxCYAN_BRUSH_set
);
5736 SWIG_addvarlink(SWIG_globals
,"wxRED_BRUSH",_wrap_wxRED_BRUSH_get
, _wrap_wxRED_BRUSH_set
);
5737 SWIG_addvarlink(SWIG_globals
,"wxGREY_BRUSH",_wrap_wxGREY_BRUSH_get
, _wrap_wxGREY_BRUSH_set
);
5738 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_BRUSH",_wrap_wxMEDIUM_GREY_BRUSH_get
, _wrap_wxMEDIUM_GREY_BRUSH_set
);
5739 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_BRUSH",_wrap_wxLIGHT_GREY_BRUSH_get
, _wrap_wxLIGHT_GREY_BRUSH_set
);
5740 SWIG_addvarlink(SWIG_globals
,"wxBLACK",_wrap_wxBLACK_get
, _wrap_wxBLACK_set
);
5741 SWIG_addvarlink(SWIG_globals
,"wxWHITE",_wrap_wxWHITE_get
, _wrap_wxWHITE_set
);
5742 SWIG_addvarlink(SWIG_globals
,"wxRED",_wrap_wxRED_get
, _wrap_wxRED_set
);
5743 SWIG_addvarlink(SWIG_globals
,"wxBLUE",_wrap_wxBLUE_get
, _wrap_wxBLUE_set
);
5744 SWIG_addvarlink(SWIG_globals
,"wxGREEN",_wrap_wxGREEN_get
, _wrap_wxGREEN_set
);
5745 SWIG_addvarlink(SWIG_globals
,"wxCYAN",_wrap_wxCYAN_get
, _wrap_wxCYAN_set
);
5746 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY",_wrap_wxLIGHT_GREY_get
, _wrap_wxLIGHT_GREY_set
);
5747 SWIG_addvarlink(SWIG_globals
,"wxSTANDARD_CURSOR",_wrap_wxSTANDARD_CURSOR_get
, _wrap_wxSTANDARD_CURSOR_set
);
5748 SWIG_addvarlink(SWIG_globals
,"wxHOURGLASS_CURSOR",_wrap_wxHOURGLASS_CURSOR_get
, _wrap_wxHOURGLASS_CURSOR_set
);
5749 SWIG_addvarlink(SWIG_globals
,"wxCROSS_CURSOR",_wrap_wxCROSS_CURSOR_get
, _wrap_wxCROSS_CURSOR_set
);
5750 SWIG_addvarlink(SWIG_globals
,"wxNullBitmap",_wrap_wxNullBitmap_get
, _wrap_wxNullBitmap_set
);
5751 SWIG_addvarlink(SWIG_globals
,"wxNullIcon",_wrap_wxNullIcon_get
, _wrap_wxNullIcon_set
);
5752 SWIG_addvarlink(SWIG_globals
,"wxNullCursor",_wrap_wxNullCursor_get
, _wrap_wxNullCursor_set
);
5753 SWIG_addvarlink(SWIG_globals
,"wxNullPen",_wrap_wxNullPen_get
, _wrap_wxNullPen_set
);
5754 SWIG_addvarlink(SWIG_globals
,"wxNullBrush",_wrap_wxNullBrush_get
, _wrap_wxNullBrush_set
);
5755 SWIG_addvarlink(SWIG_globals
,"wxNullPalette",_wrap_wxNullPalette_get
, _wrap_wxNullPalette_set
);
5756 SWIG_addvarlink(SWIG_globals
,"wxNullFont",_wrap_wxNullFont_get
, _wrap_wxNullFont_set
);
5757 SWIG_addvarlink(SWIG_globals
,"wxNullColour",_wrap_wxNullColour_get
, _wrap_wxNullColour_set
);
5758 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_NORMAL", PyInt_FromLong((long) wxIMAGELIST_DRAW_NORMAL
));
5759 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_TRANSPARENT", PyInt_FromLong((long) wxIMAGELIST_DRAW_TRANSPARENT
));
5760 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_SELECTED", PyInt_FromLong((long) wxIMAGELIST_DRAW_SELECTED
));
5761 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_FOCUSED", PyInt_FromLong((long) wxIMAGELIST_DRAW_FOCUSED
));
5762 PyDict_SetItemString(d
,"wxIMAGE_LIST_NORMAL", PyInt_FromLong((long) wxIMAGE_LIST_NORMAL
));
5763 PyDict_SetItemString(d
,"wxIMAGE_LIST_SMALL", PyInt_FromLong((long) wxIMAGE_LIST_SMALL
));
5764 PyDict_SetItemString(d
,"wxIMAGE_LIST_STATE", PyInt_FromLong((long) wxIMAGE_LIST_STATE
));
5766 * These are the pointer type-equivalency mappings.
5767 * (Used by the SWIG pointer type-checker).
5769 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
5770 SWIG_RegisterMapping("_signed_long","_long",0);
5771 SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
5772 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
5773 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
5774 SWIG_RegisterMapping("_wxToolTip","_class_wxToolTip",0);
5775 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
5776 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
5777 SWIG_RegisterMapping("_byte","_unsigned_char",0);
5778 SWIG_RegisterMapping("_long","_wxDash",0);
5779 SWIG_RegisterMapping("_long","_unsigned_long",0);
5780 SWIG_RegisterMapping("_long","_signed_long",0);
5781 SWIG_RegisterMapping("_wxImageList","_class_wxImageList",0);
5782 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
5783 SWIG_RegisterMapping("_wxDC","_class_wxMetaFileDC",SwigwxMetaFileDCTowxDC
);
5784 SWIG_RegisterMapping("_wxDC","_wxMetaFileDC",SwigwxMetaFileDCTowxDC
);
5785 SWIG_RegisterMapping("_wxDC","_class_wxPrinterDC",SwigwxPrinterDCTowxDC
);
5786 SWIG_RegisterMapping("_wxDC","_wxPrinterDC",SwigwxPrinterDCTowxDC
);
5787 SWIG_RegisterMapping("_wxDC","_class_wxWindowDC",SwigwxWindowDCTowxDC
);
5788 SWIG_RegisterMapping("_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC
);
5789 SWIG_RegisterMapping("_wxDC","_class_wxPaintDC",SwigwxPaintDCTowxDC
);
5790 SWIG_RegisterMapping("_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
);
5791 SWIG_RegisterMapping("_wxDC","_class_wxClientDC",SwigwxClientDCTowxDC
);
5792 SWIG_RegisterMapping("_wxDC","_wxClientDC",SwigwxClientDCTowxDC
);
5793 SWIG_RegisterMapping("_wxDC","_class_wxScreenDC",SwigwxScreenDCTowxDC
);
5794 SWIG_RegisterMapping("_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
);
5795 SWIG_RegisterMapping("_wxDC","_class_wxMemoryDC",SwigwxMemoryDCTowxDC
);
5796 SWIG_RegisterMapping("_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
);
5797 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
5798 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
5799 SWIG_RegisterMapping("_wxPrinterDC","_class_wxPrinterDC",0);
5800 SWIG_RegisterMapping("_class_wxToolTip","_wxToolTip",0);
5801 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
5802 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
5803 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
5804 SWIG_RegisterMapping("_uint","_unsigned_int",0);
5805 SWIG_RegisterMapping("_uint","_int",0);
5806 SWIG_RegisterMapping("_uint","_wxWindowID",0);
5807 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
5808 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
5809 SWIG_RegisterMapping("_wxBitmap","_class_wxCursor",SwigwxCursorTowxBitmap
);
5810 SWIG_RegisterMapping("_wxBitmap","_wxCursor",SwigwxCursorTowxBitmap
);
5811 SWIG_RegisterMapping("_wxBitmap","_class_wxIcon",SwigwxIconTowxBitmap
);
5812 SWIG_RegisterMapping("_wxBitmap","_wxIcon",SwigwxIconTowxBitmap
);
5813 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
5814 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
5815 SWIG_RegisterMapping("_wxWindowDC","_class_wxWindowDC",0);
5816 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
5817 SWIG_RegisterMapping("_EBool","_signed_int",0);
5818 SWIG_RegisterMapping("_EBool","_int",0);
5819 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
5820 SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0);
5821 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
5822 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
5823 SWIG_RegisterMapping("_unsigned_long","_long",0);
5824 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
5825 SWIG_RegisterMapping("_class_wxDC","_class_wxMetaFileDC",SwigwxMetaFileDCTowxDC
);
5826 SWIG_RegisterMapping("_class_wxDC","_wxMetaFileDC",SwigwxMetaFileDCTowxDC
);
5827 SWIG_RegisterMapping("_class_wxDC","_class_wxPrinterDC",SwigwxPrinterDCTowxDC
);
5828 SWIG_RegisterMapping("_class_wxDC","_wxPrinterDC",SwigwxPrinterDCTowxDC
);
5829 SWIG_RegisterMapping("_class_wxDC","_class_wxWindowDC",SwigwxWindowDCTowxDC
);
5830 SWIG_RegisterMapping("_class_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC
);
5831 SWIG_RegisterMapping("_class_wxDC","_class_wxPaintDC",SwigwxPaintDCTowxDC
);
5832 SWIG_RegisterMapping("_class_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
);
5833 SWIG_RegisterMapping("_class_wxDC","_class_wxClientDC",SwigwxClientDCTowxDC
);
5834 SWIG_RegisterMapping("_class_wxDC","_wxClientDC",SwigwxClientDCTowxDC
);
5835 SWIG_RegisterMapping("_class_wxDC","_class_wxScreenDC",SwigwxScreenDCTowxDC
);
5836 SWIG_RegisterMapping("_class_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
);
5837 SWIG_RegisterMapping("_class_wxDC","_class_wxMemoryDC",SwigwxMemoryDCTowxDC
);
5838 SWIG_RegisterMapping("_class_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
);
5839 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
5840 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
5841 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
5842 SWIG_RegisterMapping("_signed_int","_EBool",0);
5843 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
5844 SWIG_RegisterMapping("_signed_int","_int",0);
5845 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
5846 SWIG_RegisterMapping("_wxMetaFileDC","_class_wxMetaFileDC",0);
5847 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
5848 SWIG_RegisterMapping("_WXTYPE","_short",0);
5849 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
5850 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
5851 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
5852 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
5853 SWIG_RegisterMapping("_unsigned_short","_short",0);
5854 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
5855 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
5856 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
5857 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
5858 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
5859 SWIG_RegisterMapping("_signed_short","_short",0);
5860 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
5861 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
5862 SWIG_RegisterMapping("_class_wxWindowDC","_wxWindowDC",0);
5863 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
5864 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
5865 SWIG_RegisterMapping("_unsigned_char","_byte",0);
5866 SWIG_RegisterMapping("_class_wxMetaFileDC","_wxMetaFileDC",0);
5867 SWIG_RegisterMapping("_unsigned_int","_uint",0);
5868 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
5869 SWIG_RegisterMapping("_unsigned_int","_int",0);
5870 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
5871 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
5872 SWIG_RegisterMapping("_short","_WXTYPE",0);
5873 SWIG_RegisterMapping("_short","_unsigned_short",0);
5874 SWIG_RegisterMapping("_short","_signed_short",0);
5875 SWIG_RegisterMapping("_class_wxImageList","_wxImageList",0);
5876 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
5877 SWIG_RegisterMapping("_wxWindowID","_uint",0);
5878 SWIG_RegisterMapping("_wxWindowID","_int",0);
5879 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
5880 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
5881 SWIG_RegisterMapping("_int","_EBool",0);
5882 SWIG_RegisterMapping("_int","_uint",0);
5883 SWIG_RegisterMapping("_int","_wxWindowID",0);
5884 SWIG_RegisterMapping("_int","_unsigned_int",0);
5885 SWIG_RegisterMapping("_int","_signed_int",0);
5886 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
5887 SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0);
5888 SWIG_RegisterMapping("_class_wxPrinterDC","_wxPrinterDC",0);
5889 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
5890 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
5891 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
5892 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
5893 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
5894 SWIG_RegisterMapping("_wxPalette","_class_wxPalette",0);
5895 SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
5896 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
5897 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
5898 SWIG_RegisterMapping("_class_wxBitmap","_class_wxCursor",SwigwxCursorTowxBitmap
);
5899 SWIG_RegisterMapping("_class_wxBitmap","_wxCursor",SwigwxCursorTowxBitmap
);
5900 SWIG_RegisterMapping("_class_wxBitmap","_class_wxIcon",SwigwxIconTowxBitmap
);
5901 SWIG_RegisterMapping("_class_wxBitmap","_wxIcon",SwigwxIconTowxBitmap
);
5902 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
5903 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
5904 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
5905 SWIG_RegisterMapping("_wxDash","_long",0);
5906 SWIG_RegisterMapping("_class_wxPalette","_wxPalette",0);