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"
56 /////////////////////////////////////////////////////////////////////////////
58 // Purpose: SWIG interface file for wxDC, wxBrush, wxPen, wxFont, etc.
64 // Copyright: (c) 1998 by Total Control Software
65 // Licence: wxWindows license
66 /////////////////////////////////////////////////////////////////////////////
71 #include <wx/metafile.h>
73 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
77 } else if (target
== Py_None
) {
81 if (!PyList_Check(target
)) {
83 target
= PyList_New(0);
84 PyList_Append(target
, o2
);
87 PyList_Append(target
,o
);
93 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
99 } else if (target
== Py_None
) {
103 if (!PyTuple_Check(target
)) {
105 target
= PyTuple_New(1);
106 PyTuple_SetItem(target
, 0, o2
);
109 PyTuple_SetItem(o3
, 0, o
);
112 target
= PySequence_Concat(o2
, o3
);
120 extern int* int_LIST_helper(PyObject
* source
);
121 extern long* long_LIST_helper(PyObject
* source
);
122 extern char** string_LIST_helper(PyObject
* source
);
123 extern wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
124 extern wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
125 extern wxString
* wxString_LIST_helper(PyObject
* source
);
126 extern wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
129 static char* wxStringErrorMsg
= "string type is required for parameter";
130 // Alternate 'constructor'
131 wxBitmap
* wxEmptyBitmap(int width
, int height
, int depth
=-1) {
132 return new wxBitmap(width
, height
, depth
);
135 // This one won't own the reference, so Python won't call
136 // the dtor, this is good for toolbars and such where
137 // the parent will manage the bitmap.
138 wxBitmap
* wxNoRefBitmap(char* name
, long flags
) {
139 return new wxBitmap(name
, flags
);
142 wxMask
* wxMaskColour(const wxBitmap
& bitmap
, const wxColour
& colour
) {
143 return new wxMask(bitmap
, colour
);
145 // Alternate 'constructor'
146 wxCursor
* wxStockCursor(int id
) {
147 return new wxCursor(id
);
149 // Alternate 'constructor'
150 wxColour
* wxNamedColour(const wxString
& colorName
) {
151 return new wxColour(colorName
);
153 // Alternate 'constructor'
154 wxMemoryDC
* wxMemoryDCFromDC(wxDC
* oldDC
) {
155 return new wxMemoryDC(oldDC
);
157 extern wxFont
* wxNORMAL_FONT
;
158 extern wxFont
* wxSMALL_FONT
;
159 extern wxFont
* wxITALIC_FONT
;
160 extern wxFont
* wxSWISS_FONT
;
161 extern wxPen
* wxRED_PEN
;
162 extern wxPen
* wxCYAN_PEN
;
163 extern wxPen
* wxGREEN_PEN
;
164 extern wxPen
* wxBLACK_PEN
;
165 extern wxPen
* wxWHITE_PEN
;
166 extern wxPen
* wxTRANSPARENT_PEN
;
167 extern wxPen
* wxBLACK_DASHED_PEN
;
168 extern wxPen
* wxGREY_PEN
;
169 extern wxPen
* wxMEDIUM_GREY_PEN
;
170 extern wxPen
* wxLIGHT_GREY_PEN
;
171 extern wxBrush
* wxBLUE_BRUSH
;
172 extern wxBrush
* wxGREEN_BRUSH
;
173 extern wxBrush
* wxWHITE_BRUSH
;
174 extern wxBrush
* wxBLACK_BRUSH
;
175 extern wxBrush
* wxTRANSPARENT_BRUSH
;
176 extern wxBrush
* wxCYAN_BRUSH
;
177 extern wxBrush
* wxRED_BRUSH
;
178 extern wxBrush
* wxGREY_BRUSH
;
179 extern wxBrush
* wxMEDIUM_GREY_BRUSH
;
180 extern wxBrush
* wxLIGHT_GREY_BRUSH
;
181 extern wxColour
* wxBLACK
;
182 extern wxColour
* wxWHITE
;
183 extern wxColour
* wxRED
;
184 extern wxColour
* wxBLUE
;
185 extern wxColour
* wxGREEN
;
186 extern wxColour
* wxCYAN
;
187 extern wxColour
* wxLIGHT_GREY
;
188 extern wxCursor
* wxSTANDARD_CURSOR
;
189 extern wxCursor
* wxHOURGLASS_CURSOR
;
190 extern wxCursor
* wxCROSS_CURSOR
;
191 extern wxBitmap wxNullBitmap
;
192 extern wxIcon wxNullIcon
;
193 extern wxCursor wxNullCursor
;
194 extern wxPen wxNullPen
;
195 extern wxBrush wxNullBrush
;
196 extern wxPalette wxNullPalette
;
197 extern wxFont wxNullFont
;
198 extern wxColour wxNullColour
;
199 static PyObject
*_wrap_wxEmptyBitmap(PyObject
*self
, PyObject
*args
) {
200 PyObject
* _resultobj
;
208 if(!PyArg_ParseTuple(args
,"ii|i:wxEmptyBitmap",&_arg0
,&_arg1
,&_arg2
))
210 _result
= (wxBitmap
*)wxEmptyBitmap(_arg0
,_arg1
,_arg2
);
211 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
212 _resultobj
= Py_BuildValue("s",_ptemp
);
216 static PyObject
*_wrap_wxNoRefBitmap(PyObject
*self
, PyObject
*args
) {
217 PyObject
* _resultobj
;
224 if(!PyArg_ParseTuple(args
,"sl:wxNoRefBitmap",&_arg0
,&_arg1
))
226 _result
= (wxBitmap
*)wxNoRefBitmap(_arg0
,_arg1
);
227 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
228 _resultobj
= Py_BuildValue("s",_ptemp
);
232 static PyObject
*_wrap_wxMaskColour(PyObject
*self
, PyObject
*args
) {
233 PyObject
* _resultobj
;
242 if(!PyArg_ParseTuple(args
,"ss:wxMaskColour",&_argc0
,&_argc1
))
245 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMaskColour. Expected _wxBitmap_p.");
251 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMaskColour. Expected _wxColour_p.");
256 _result
= (wxMask
*)wxMaskColour(*_arg0
,*_arg1
);
257 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
258 _resultobj
= Py_BuildValue("s",_ptemp
);
262 static PyObject
*_wrap_wxStockCursor(PyObject
*self
, PyObject
*args
) {
263 PyObject
* _resultobj
;
269 if(!PyArg_ParseTuple(args
,"i:wxStockCursor",&_arg0
))
271 _result
= (wxCursor
*)wxStockCursor(_arg0
);
272 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCursor_p");
273 _resultobj
= Py_BuildValue("s",_ptemp
);
277 static PyObject
*_wrap_wxNamedColour(PyObject
*self
, PyObject
*args
) {
278 PyObject
* _resultobj
;
281 PyObject
* _obj0
= 0;
285 if(!PyArg_ParseTuple(args
,"O:wxNamedColour",&_obj0
))
288 if (!PyString_Check(_obj0
)) {
289 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
292 _arg0
= new wxString(PyString_AsString(_obj0
));
294 _result
= (wxColour
*)wxNamedColour(*_arg0
);
295 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
296 _resultobj
= Py_BuildValue("s",_ptemp
);
304 static PyObject
*_wrap_wxMemoryDCFromDC(PyObject
*self
, PyObject
*args
) {
305 PyObject
* _resultobj
;
306 wxMemoryDC
* _result
;
312 if(!PyArg_ParseTuple(args
,"s:wxMemoryDCFromDC",&_argc0
))
315 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDCFromDC. Expected _wxDC_p.");
320 _result
= (wxMemoryDC
*)wxMemoryDCFromDC(_arg0
);
321 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
322 _resultobj
= Py_BuildValue("s",_ptemp
);
326 static int _wrap_wxNORMAL_FONT_set(PyObject
*val
) {
328 PyErr_SetString(PyExc_TypeError
,"Variable wxNORMAL_FONT is read-only.");
332 static PyObject
*_wrap_wxNORMAL_FONT_get() {
336 SWIG_MakePtr(ptemp
, (char *) wxNORMAL_FONT
,"_wxFont_p");
337 pyobj
= PyString_FromString(ptemp
);
341 static int _wrap_wxSMALL_FONT_set(PyObject
*val
) {
343 PyErr_SetString(PyExc_TypeError
,"Variable wxSMALL_FONT is read-only.");
347 static PyObject
*_wrap_wxSMALL_FONT_get() {
351 SWIG_MakePtr(ptemp
, (char *) wxSMALL_FONT
,"_wxFont_p");
352 pyobj
= PyString_FromString(ptemp
);
356 static int _wrap_wxITALIC_FONT_set(PyObject
*val
) {
358 PyErr_SetString(PyExc_TypeError
,"Variable wxITALIC_FONT is read-only.");
362 static PyObject
*_wrap_wxITALIC_FONT_get() {
366 SWIG_MakePtr(ptemp
, (char *) wxITALIC_FONT
,"_wxFont_p");
367 pyobj
= PyString_FromString(ptemp
);
371 static int _wrap_wxSWISS_FONT_set(PyObject
*val
) {
373 PyErr_SetString(PyExc_TypeError
,"Variable wxSWISS_FONT is read-only.");
377 static PyObject
*_wrap_wxSWISS_FONT_get() {
381 SWIG_MakePtr(ptemp
, (char *) wxSWISS_FONT
,"_wxFont_p");
382 pyobj
= PyString_FromString(ptemp
);
386 static int _wrap_wxRED_PEN_set(PyObject
*val
) {
388 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_PEN is read-only.");
392 static PyObject
*_wrap_wxRED_PEN_get() {
396 SWIG_MakePtr(ptemp
, (char *) wxRED_PEN
,"_wxPen_p");
397 pyobj
= PyString_FromString(ptemp
);
401 static int _wrap_wxCYAN_PEN_set(PyObject
*val
) {
403 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_PEN is read-only.");
407 static PyObject
*_wrap_wxCYAN_PEN_get() {
411 SWIG_MakePtr(ptemp
, (char *) wxCYAN_PEN
,"_wxPen_p");
412 pyobj
= PyString_FromString(ptemp
);
416 static int _wrap_wxGREEN_PEN_set(PyObject
*val
) {
418 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_PEN is read-only.");
422 static PyObject
*_wrap_wxGREEN_PEN_get() {
426 SWIG_MakePtr(ptemp
, (char *) wxGREEN_PEN
,"_wxPen_p");
427 pyobj
= PyString_FromString(ptemp
);
431 static int _wrap_wxBLACK_PEN_set(PyObject
*val
) {
433 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_PEN is read-only.");
437 static PyObject
*_wrap_wxBLACK_PEN_get() {
441 SWIG_MakePtr(ptemp
, (char *) wxBLACK_PEN
,"_wxPen_p");
442 pyobj
= PyString_FromString(ptemp
);
446 static int _wrap_wxWHITE_PEN_set(PyObject
*val
) {
448 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_PEN is read-only.");
452 static PyObject
*_wrap_wxWHITE_PEN_get() {
456 SWIG_MakePtr(ptemp
, (char *) wxWHITE_PEN
,"_wxPen_p");
457 pyobj
= PyString_FromString(ptemp
);
461 static int _wrap_wxTRANSPARENT_PEN_set(PyObject
*val
) {
463 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_PEN is read-only.");
467 static PyObject
*_wrap_wxTRANSPARENT_PEN_get() {
471 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_PEN
,"_wxPen_p");
472 pyobj
= PyString_FromString(ptemp
);
476 static int _wrap_wxBLACK_DASHED_PEN_set(PyObject
*val
) {
478 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_DASHED_PEN is read-only.");
482 static PyObject
*_wrap_wxBLACK_DASHED_PEN_get() {
486 SWIG_MakePtr(ptemp
, (char *) wxBLACK_DASHED_PEN
,"_wxPen_p");
487 pyobj
= PyString_FromString(ptemp
);
491 static int _wrap_wxGREY_PEN_set(PyObject
*val
) {
493 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_PEN is read-only.");
497 static PyObject
*_wrap_wxGREY_PEN_get() {
501 SWIG_MakePtr(ptemp
, (char *) wxGREY_PEN
,"_wxPen_p");
502 pyobj
= PyString_FromString(ptemp
);
506 static int _wrap_wxMEDIUM_GREY_PEN_set(PyObject
*val
) {
508 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_PEN is read-only.");
512 static PyObject
*_wrap_wxMEDIUM_GREY_PEN_get() {
516 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_PEN
,"_wxPen_p");
517 pyobj
= PyString_FromString(ptemp
);
521 static int _wrap_wxLIGHT_GREY_PEN_set(PyObject
*val
) {
523 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_PEN is read-only.");
527 static PyObject
*_wrap_wxLIGHT_GREY_PEN_get() {
531 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_PEN
,"_wxPen_p");
532 pyobj
= PyString_FromString(ptemp
);
536 static int _wrap_wxBLUE_BRUSH_set(PyObject
*val
) {
538 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE_BRUSH is read-only.");
542 static PyObject
*_wrap_wxBLUE_BRUSH_get() {
546 SWIG_MakePtr(ptemp
, (char *) wxBLUE_BRUSH
,"_wxBrush_p");
547 pyobj
= PyString_FromString(ptemp
);
551 static int _wrap_wxGREEN_BRUSH_set(PyObject
*val
) {
553 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_BRUSH is read-only.");
557 static PyObject
*_wrap_wxGREEN_BRUSH_get() {
561 SWIG_MakePtr(ptemp
, (char *) wxGREEN_BRUSH
,"_wxBrush_p");
562 pyobj
= PyString_FromString(ptemp
);
566 static int _wrap_wxWHITE_BRUSH_set(PyObject
*val
) {
568 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_BRUSH is read-only.");
572 static PyObject
*_wrap_wxWHITE_BRUSH_get() {
576 SWIG_MakePtr(ptemp
, (char *) wxWHITE_BRUSH
,"_wxBrush_p");
577 pyobj
= PyString_FromString(ptemp
);
581 static int _wrap_wxBLACK_BRUSH_set(PyObject
*val
) {
583 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_BRUSH is read-only.");
587 static PyObject
*_wrap_wxBLACK_BRUSH_get() {
591 SWIG_MakePtr(ptemp
, (char *) wxBLACK_BRUSH
,"_wxBrush_p");
592 pyobj
= PyString_FromString(ptemp
);
596 static int _wrap_wxTRANSPARENT_BRUSH_set(PyObject
*val
) {
598 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_BRUSH is read-only.");
602 static PyObject
*_wrap_wxTRANSPARENT_BRUSH_get() {
606 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_BRUSH
,"_wxBrush_p");
607 pyobj
= PyString_FromString(ptemp
);
611 static int _wrap_wxCYAN_BRUSH_set(PyObject
*val
) {
613 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_BRUSH is read-only.");
617 static PyObject
*_wrap_wxCYAN_BRUSH_get() {
621 SWIG_MakePtr(ptemp
, (char *) wxCYAN_BRUSH
,"_wxBrush_p");
622 pyobj
= PyString_FromString(ptemp
);
626 static int _wrap_wxRED_BRUSH_set(PyObject
*val
) {
628 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_BRUSH is read-only.");
632 static PyObject
*_wrap_wxRED_BRUSH_get() {
636 SWIG_MakePtr(ptemp
, (char *) wxRED_BRUSH
,"_wxBrush_p");
637 pyobj
= PyString_FromString(ptemp
);
641 static int _wrap_wxGREY_BRUSH_set(PyObject
*val
) {
643 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_BRUSH is read-only.");
647 static PyObject
*_wrap_wxGREY_BRUSH_get() {
651 SWIG_MakePtr(ptemp
, (char *) wxGREY_BRUSH
,"_wxBrush_p");
652 pyobj
= PyString_FromString(ptemp
);
656 static int _wrap_wxMEDIUM_GREY_BRUSH_set(PyObject
*val
) {
658 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_BRUSH is read-only.");
662 static PyObject
*_wrap_wxMEDIUM_GREY_BRUSH_get() {
666 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_BRUSH
,"_wxBrush_p");
667 pyobj
= PyString_FromString(ptemp
);
671 static int _wrap_wxLIGHT_GREY_BRUSH_set(PyObject
*val
) {
673 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_BRUSH is read-only.");
677 static PyObject
*_wrap_wxLIGHT_GREY_BRUSH_get() {
681 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_BRUSH
,"_wxBrush_p");
682 pyobj
= PyString_FromString(ptemp
);
686 static int _wrap_wxBLACK_set(PyObject
*val
) {
688 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK is read-only.");
692 static PyObject
*_wrap_wxBLACK_get() {
696 SWIG_MakePtr(ptemp
, (char *) wxBLACK
,"_wxColour_p");
697 pyobj
= PyString_FromString(ptemp
);
701 static int _wrap_wxWHITE_set(PyObject
*val
) {
703 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE is read-only.");
707 static PyObject
*_wrap_wxWHITE_get() {
711 SWIG_MakePtr(ptemp
, (char *) wxWHITE
,"_wxColour_p");
712 pyobj
= PyString_FromString(ptemp
);
716 static int _wrap_wxRED_set(PyObject
*val
) {
718 PyErr_SetString(PyExc_TypeError
,"Variable wxRED is read-only.");
722 static PyObject
*_wrap_wxRED_get() {
726 SWIG_MakePtr(ptemp
, (char *) wxRED
,"_wxColour_p");
727 pyobj
= PyString_FromString(ptemp
);
731 static int _wrap_wxBLUE_set(PyObject
*val
) {
733 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE is read-only.");
737 static PyObject
*_wrap_wxBLUE_get() {
741 SWIG_MakePtr(ptemp
, (char *) wxBLUE
,"_wxColour_p");
742 pyobj
= PyString_FromString(ptemp
);
746 static int _wrap_wxGREEN_set(PyObject
*val
) {
748 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN is read-only.");
752 static PyObject
*_wrap_wxGREEN_get() {
756 SWIG_MakePtr(ptemp
, (char *) wxGREEN
,"_wxColour_p");
757 pyobj
= PyString_FromString(ptemp
);
761 static int _wrap_wxCYAN_set(PyObject
*val
) {
763 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN is read-only.");
767 static PyObject
*_wrap_wxCYAN_get() {
771 SWIG_MakePtr(ptemp
, (char *) wxCYAN
,"_wxColour_p");
772 pyobj
= PyString_FromString(ptemp
);
776 static int _wrap_wxLIGHT_GREY_set(PyObject
*val
) {
778 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY is read-only.");
782 static PyObject
*_wrap_wxLIGHT_GREY_get() {
786 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY
,"_wxColour_p");
787 pyobj
= PyString_FromString(ptemp
);
791 static int _wrap_wxSTANDARD_CURSOR_set(PyObject
*val
) {
793 PyErr_SetString(PyExc_TypeError
,"Variable wxSTANDARD_CURSOR is read-only.");
797 static PyObject
*_wrap_wxSTANDARD_CURSOR_get() {
801 SWIG_MakePtr(ptemp
, (char *) wxSTANDARD_CURSOR
,"_wxCursor_p");
802 pyobj
= PyString_FromString(ptemp
);
806 static int _wrap_wxHOURGLASS_CURSOR_set(PyObject
*val
) {
808 PyErr_SetString(PyExc_TypeError
,"Variable wxHOURGLASS_CURSOR is read-only.");
812 static PyObject
*_wrap_wxHOURGLASS_CURSOR_get() {
816 SWIG_MakePtr(ptemp
, (char *) wxHOURGLASS_CURSOR
,"_wxCursor_p");
817 pyobj
= PyString_FromString(ptemp
);
821 static int _wrap_wxCROSS_CURSOR_set(PyObject
*val
) {
823 PyErr_SetString(PyExc_TypeError
,"Variable wxCROSS_CURSOR is read-only.");
827 static PyObject
*_wrap_wxCROSS_CURSOR_get() {
831 SWIG_MakePtr(ptemp
, (char *) wxCROSS_CURSOR
,"_wxCursor_p");
832 pyobj
= PyString_FromString(ptemp
);
836 static int _wrap_wxNullBitmap_set(PyObject
*val
) {
838 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBitmap is read-only.");
842 static PyObject
*_wrap_wxNullBitmap_get() {
846 SWIG_MakePtr(ptemp
,(char *) &wxNullBitmap
,"_wxBitmap_p");
847 pyobj
= PyString_FromString(ptemp
);
851 static int _wrap_wxNullIcon_set(PyObject
*val
) {
853 PyErr_SetString(PyExc_TypeError
,"Variable wxNullIcon is read-only.");
857 static PyObject
*_wrap_wxNullIcon_get() {
861 SWIG_MakePtr(ptemp
,(char *) &wxNullIcon
,"_wxIcon_p");
862 pyobj
= PyString_FromString(ptemp
);
866 static int _wrap_wxNullCursor_set(PyObject
*val
) {
868 PyErr_SetString(PyExc_TypeError
,"Variable wxNullCursor is read-only.");
872 static PyObject
*_wrap_wxNullCursor_get() {
876 SWIG_MakePtr(ptemp
,(char *) &wxNullCursor
,"_wxCursor_p");
877 pyobj
= PyString_FromString(ptemp
);
881 static int _wrap_wxNullPen_set(PyObject
*val
) {
883 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPen is read-only.");
887 static PyObject
*_wrap_wxNullPen_get() {
891 SWIG_MakePtr(ptemp
,(char *) &wxNullPen
,"_wxPen_p");
892 pyobj
= PyString_FromString(ptemp
);
896 static int _wrap_wxNullBrush_set(PyObject
*val
) {
898 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBrush is read-only.");
902 static PyObject
*_wrap_wxNullBrush_get() {
906 SWIG_MakePtr(ptemp
,(char *) &wxNullBrush
,"_wxBrush_p");
907 pyobj
= PyString_FromString(ptemp
);
911 static int _wrap_wxNullPalette_set(PyObject
*val
) {
913 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPalette is read-only.");
917 static PyObject
*_wrap_wxNullPalette_get() {
921 SWIG_MakePtr(ptemp
,(char *) &wxNullPalette
,"_wxPalette_p");
922 pyobj
= PyString_FromString(ptemp
);
926 static int _wrap_wxNullFont_set(PyObject
*val
) {
928 PyErr_SetString(PyExc_TypeError
,"Variable wxNullFont is read-only.");
932 static PyObject
*_wrap_wxNullFont_get() {
936 SWIG_MakePtr(ptemp
,(char *) &wxNullFont
,"_wxFont_p");
937 pyobj
= PyString_FromString(ptemp
);
941 static int _wrap_wxNullColour_set(PyObject
*val
) {
943 PyErr_SetString(PyExc_TypeError
,"Variable wxNullColour is read-only.");
947 static PyObject
*_wrap_wxNullColour_get() {
951 SWIG_MakePtr(ptemp
,(char *) &wxNullColour
,"_wxColour_p");
952 pyobj
= PyString_FromString(ptemp
);
956 #define new_wxBitmap(_swigarg0,_swigarg1) (new wxBitmap(_swigarg0,_swigarg1))
957 static PyObject
*_wrap_new_wxBitmap(PyObject
*self
, PyObject
*args
) {
958 PyObject
* _resultobj
;
962 PyObject
* _obj0
= 0;
966 if(!PyArg_ParseTuple(args
,"Ol:new_wxBitmap",&_obj0
,&_arg1
))
969 if (!PyString_Check(_obj0
)) {
970 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
973 _arg0
= new wxString(PyString_AsString(_obj0
));
975 _result
= (wxBitmap
*)new_wxBitmap(*_arg0
,_arg1
);
976 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
977 _resultobj
= Py_BuildValue("s",_ptemp
);
985 #define delete_wxBitmap(_swigobj) (delete _swigobj)
986 static PyObject
*_wrap_delete_wxBitmap(PyObject
*self
, PyObject
*args
) {
987 PyObject
* _resultobj
;
992 if(!PyArg_ParseTuple(args
,"s:delete_wxBitmap",&_argc0
))
995 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBitmap. Expected _wxBitmap_p.");
1000 delete_wxBitmap(_arg0
);
1002 _resultobj
= Py_None
;
1006 #define wxBitmap_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2))
1007 static PyObject
*_wrap_wxBitmap_Create(PyObject
*self
, PyObject
*args
) {
1008 PyObject
* _resultobj
;
1016 if(!PyArg_ParseTuple(args
,"sii|i:wxBitmap_Create",&_argc0
,&_arg1
,&_arg2
,&_arg3
))
1019 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_Create. Expected _wxBitmap_p.");
1024 wxBitmap_Create(_arg0
,_arg1
,_arg2
,_arg3
);
1026 _resultobj
= Py_None
;
1030 #define wxBitmap_GetDepth(_swigobj) (_swigobj->GetDepth())
1031 static PyObject
*_wrap_wxBitmap_GetDepth(PyObject
*self
, PyObject
*args
) {
1032 PyObject
* _resultobj
;
1038 if(!PyArg_ParseTuple(args
,"s:wxBitmap_GetDepth",&_argc0
))
1041 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetDepth. Expected _wxBitmap_p.");
1046 _result
= (int )wxBitmap_GetDepth(_arg0
);
1047 _resultobj
= Py_BuildValue("i",_result
);
1051 #define wxBitmap_GetHeight(_swigobj) (_swigobj->GetHeight())
1052 static PyObject
*_wrap_wxBitmap_GetHeight(PyObject
*self
, PyObject
*args
) {
1053 PyObject
* _resultobj
;
1059 if(!PyArg_ParseTuple(args
,"s:wxBitmap_GetHeight",&_argc0
))
1062 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetHeight. Expected _wxBitmap_p.");
1067 _result
= (int )wxBitmap_GetHeight(_arg0
);
1068 _resultobj
= Py_BuildValue("i",_result
);
1072 #define wxBitmap_GetPalette(_swigobj) (_swigobj->GetPalette())
1073 static PyObject
*_wrap_wxBitmap_GetPalette(PyObject
*self
, PyObject
*args
) {
1074 PyObject
* _resultobj
;
1075 wxPalette
* _result
;
1081 if(!PyArg_ParseTuple(args
,"s:wxBitmap_GetPalette",&_argc0
))
1084 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetPalette. Expected _wxBitmap_p.");
1089 _result
= (wxPalette
*)wxBitmap_GetPalette(_arg0
);
1090 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
1091 _resultobj
= Py_BuildValue("s",_ptemp
);
1095 #define wxBitmap_GetMask(_swigobj) (_swigobj->GetMask())
1096 static PyObject
*_wrap_wxBitmap_GetMask(PyObject
*self
, PyObject
*args
) {
1097 PyObject
* _resultobj
;
1104 if(!PyArg_ParseTuple(args
,"s:wxBitmap_GetMask",&_argc0
))
1107 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetMask. Expected _wxBitmap_p.");
1112 _result
= (wxMask
*)wxBitmap_GetMask(_arg0
);
1113 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
1114 _resultobj
= Py_BuildValue("s",_ptemp
);
1118 #define wxBitmap_GetWidth(_swigobj) (_swigobj->GetWidth())
1119 static PyObject
*_wrap_wxBitmap_GetWidth(PyObject
*self
, PyObject
*args
) {
1120 PyObject
* _resultobj
;
1126 if(!PyArg_ParseTuple(args
,"s:wxBitmap_GetWidth",&_argc0
))
1129 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetWidth. Expected _wxBitmap_p.");
1134 _result
= (int )wxBitmap_GetWidth(_arg0
);
1135 _resultobj
= Py_BuildValue("i",_result
);
1139 #define wxBitmap_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1140 static PyObject
*_wrap_wxBitmap_LoadFile(PyObject
*self
, PyObject
*args
) {
1141 PyObject
* _resultobj
;
1147 PyObject
* _obj1
= 0;
1150 if(!PyArg_ParseTuple(args
,"sOl:wxBitmap_LoadFile",&_argc0
,&_obj1
,&_arg2
))
1153 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_LoadFile. Expected _wxBitmap_p.");
1159 if (!PyString_Check(_obj1
)) {
1160 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1163 _arg1
= new wxString(PyString_AsString(_obj1
));
1165 _result
= (bool )wxBitmap_LoadFile(_arg0
,*_arg1
,_arg2
);
1166 _resultobj
= Py_BuildValue("i",_result
);
1174 #define wxBitmap_Ok(_swigobj) (_swigobj->Ok())
1175 static PyObject
*_wrap_wxBitmap_Ok(PyObject
*self
, PyObject
*args
) {
1176 PyObject
* _resultobj
;
1182 if(!PyArg_ParseTuple(args
,"s:wxBitmap_Ok",&_argc0
))
1185 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_Ok. Expected _wxBitmap_p.");
1190 _result
= (bool )wxBitmap_Ok(_arg0
);
1191 _resultobj
= Py_BuildValue("i",_result
);
1195 #define wxBitmap_SaveFile(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SaveFile(_swigarg0,_swigarg1,_swigarg2))
1196 static PyObject
*_wrap_wxBitmap_SaveFile(PyObject
*self
, PyObject
*args
) {
1197 PyObject
* _resultobj
;
1202 wxPalette
* _arg3
= NULL
;
1204 PyObject
* _obj1
= 0;
1208 if(!PyArg_ParseTuple(args
,"sOi|s:wxBitmap_SaveFile",&_argc0
,&_obj1
,&_arg2
,&_argc3
))
1211 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SaveFile. Expected _wxBitmap_p.");
1217 if (!PyString_Check(_obj1
)) {
1218 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1221 _arg1
= new wxString(PyString_AsString(_obj1
));
1224 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxPalette_p")) {
1225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxBitmap_SaveFile. Expected _wxPalette_p.");
1229 _result
= (bool )wxBitmap_SaveFile(_arg0
,*_arg1
,_arg2
,_arg3
);
1230 _resultobj
= Py_BuildValue("i",_result
);
1238 #define wxBitmap_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
1239 static PyObject
*_wrap_wxBitmap_SetDepth(PyObject
*self
, PyObject
*args
) {
1240 PyObject
* _resultobj
;
1246 if(!PyArg_ParseTuple(args
,"si:wxBitmap_SetDepth",&_argc0
,&_arg1
))
1249 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetDepth. Expected _wxBitmap_p.");
1254 wxBitmap_SetDepth(_arg0
,_arg1
);
1256 _resultobj
= Py_None
;
1260 #define wxBitmap_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1261 static PyObject
*_wrap_wxBitmap_SetHeight(PyObject
*self
, PyObject
*args
) {
1262 PyObject
* _resultobj
;
1268 if(!PyArg_ParseTuple(args
,"si:wxBitmap_SetHeight",&_argc0
,&_arg1
))
1271 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetHeight. Expected _wxBitmap_p.");
1276 wxBitmap_SetHeight(_arg0
,_arg1
);
1278 _resultobj
= Py_None
;
1282 #define wxBitmap_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
1283 static PyObject
*_wrap_wxBitmap_SetMask(PyObject
*self
, PyObject
*args
) {
1284 PyObject
* _resultobj
;
1291 if(!PyArg_ParseTuple(args
,"ss:wxBitmap_SetMask",&_argc0
,&_argc1
))
1294 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetMask. Expected _wxBitmap_p.");
1300 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxMask_p")) {
1301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_SetMask. Expected _wxMask_p.");
1305 wxBitmap_SetMask(_arg0
,_arg1
);
1307 _resultobj
= Py_None
;
1311 #define wxBitmap_SetOk(_swigobj,_swigarg0) (_swigobj->SetOk(_swigarg0))
1312 static PyObject
*_wrap_wxBitmap_SetOk(PyObject
*self
, PyObject
*args
) {
1313 PyObject
* _resultobj
;
1319 if(!PyArg_ParseTuple(args
,"si:wxBitmap_SetOk",&_argc0
,&_arg1
))
1322 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetOk. Expected _wxBitmap_p.");
1327 wxBitmap_SetOk(_arg0
,_arg1
);
1329 _resultobj
= Py_None
;
1333 #define wxBitmap_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
1334 static PyObject
*_wrap_wxBitmap_SetPalette(PyObject
*self
, PyObject
*args
) {
1335 PyObject
* _resultobj
;
1342 if(!PyArg_ParseTuple(args
,"ss:wxBitmap_SetPalette",&_argc0
,&_argc1
))
1345 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetPalette. Expected _wxBitmap_p.");
1351 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPalette_p")) {
1352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_SetPalette. Expected _wxPalette_p.");
1356 wxBitmap_SetPalette(_arg0
,_arg1
);
1358 _resultobj
= Py_None
;
1362 #define wxBitmap_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1363 static PyObject
*_wrap_wxBitmap_SetWidth(PyObject
*self
, PyObject
*args
) {
1364 PyObject
* _resultobj
;
1370 if(!PyArg_ParseTuple(args
,"si:wxBitmap_SetWidth",&_argc0
,&_arg1
))
1373 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetWidth. Expected _wxBitmap_p.");
1378 wxBitmap_SetWidth(_arg0
,_arg1
);
1380 _resultobj
= Py_None
;
1384 #define new_wxMask(_swigarg0) (new wxMask(_swigarg0))
1385 static PyObject
*_wrap_new_wxMask(PyObject
*self
, PyObject
*args
) {
1386 PyObject
* _resultobj
;
1393 if(!PyArg_ParseTuple(args
,"s:new_wxMask",&_argc0
))
1396 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMask. Expected _wxBitmap_p.");
1401 _result
= (wxMask
*)new_wxMask(*_arg0
);
1402 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
1403 _resultobj
= Py_BuildValue("s",_ptemp
);
1407 #define delete_wxMask(_swigobj) (delete _swigobj)
1408 static PyObject
*_wrap_delete_wxMask(PyObject
*self
, PyObject
*args
) {
1409 PyObject
* _resultobj
;
1414 if(!PyArg_ParseTuple(args
,"s:delete_wxMask",&_argc0
))
1417 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMask_p")) {
1418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMask. Expected _wxMask_p.");
1422 delete_wxMask(_arg0
);
1424 _resultobj
= Py_None
;
1428 static void *SwigwxIconTowxBitmap(void *ptr
) {
1431 src
= (wxIcon
*) ptr
;
1432 dest
= (wxBitmap
*) src
;
1433 return (void *) dest
;
1436 #define new_wxIcon(_swigarg0,_swigarg1) (new wxIcon(_swigarg0,_swigarg1))
1437 static PyObject
*_wrap_new_wxIcon(PyObject
*self
, PyObject
*args
) {
1438 PyObject
* _resultobj
;
1445 if(!PyArg_ParseTuple(args
,"sl:new_wxIcon",&_arg0
,&_arg1
))
1447 _result
= (wxIcon
*)new_wxIcon(_arg0
,_arg1
);
1448 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
1449 _resultobj
= Py_BuildValue("s",_ptemp
);
1453 #define delete_wxIcon(_swigobj) (delete _swigobj)
1454 static PyObject
*_wrap_delete_wxIcon(PyObject
*self
, PyObject
*args
) {
1455 PyObject
* _resultobj
;
1460 if(!PyArg_ParseTuple(args
,"s:delete_wxIcon",&_argc0
))
1463 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxIcon. Expected _wxIcon_p.");
1468 delete_wxIcon(_arg0
);
1470 _resultobj
= Py_None
;
1474 #define wxIcon_GetDepth(_swigobj) (_swigobj->GetDepth())
1475 static PyObject
*_wrap_wxIcon_GetDepth(PyObject
*self
, PyObject
*args
) {
1476 PyObject
* _resultobj
;
1482 if(!PyArg_ParseTuple(args
,"s:wxIcon_GetDepth",&_argc0
))
1485 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetDepth. Expected _wxIcon_p.");
1490 _result
= (int )wxIcon_GetDepth(_arg0
);
1491 _resultobj
= Py_BuildValue("i",_result
);
1495 #define wxIcon_GetHeight(_swigobj) (_swigobj->GetHeight())
1496 static PyObject
*_wrap_wxIcon_GetHeight(PyObject
*self
, PyObject
*args
) {
1497 PyObject
* _resultobj
;
1503 if(!PyArg_ParseTuple(args
,"s:wxIcon_GetHeight",&_argc0
))
1506 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetHeight. Expected _wxIcon_p.");
1511 _result
= (int )wxIcon_GetHeight(_arg0
);
1512 _resultobj
= Py_BuildValue("i",_result
);
1516 #define wxIcon_GetWidth(_swigobj) (_swigobj->GetWidth())
1517 static PyObject
*_wrap_wxIcon_GetWidth(PyObject
*self
, PyObject
*args
) {
1518 PyObject
* _resultobj
;
1524 if(!PyArg_ParseTuple(args
,"s:wxIcon_GetWidth",&_argc0
))
1527 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetWidth. Expected _wxIcon_p.");
1532 _result
= (int )wxIcon_GetWidth(_arg0
);
1533 _resultobj
= Py_BuildValue("i",_result
);
1537 #define wxIcon_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1538 static PyObject
*_wrap_wxIcon_LoadFile(PyObject
*self
, PyObject
*args
) {
1539 PyObject
* _resultobj
;
1545 PyObject
* _obj1
= 0;
1548 if(!PyArg_ParseTuple(args
,"sOl:wxIcon_LoadFile",&_argc0
,&_obj1
,&_arg2
))
1551 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_LoadFile. Expected _wxIcon_p.");
1557 if (!PyString_Check(_obj1
)) {
1558 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1561 _arg1
= new wxString(PyString_AsString(_obj1
));
1563 _result
= (bool )wxIcon_LoadFile(_arg0
,*_arg1
,_arg2
);
1564 _resultobj
= Py_BuildValue("i",_result
);
1572 #define wxIcon_Ok(_swigobj) (_swigobj->Ok())
1573 static PyObject
*_wrap_wxIcon_Ok(PyObject
*self
, PyObject
*args
) {
1574 PyObject
* _resultobj
;
1580 if(!PyArg_ParseTuple(args
,"s:wxIcon_Ok",&_argc0
))
1583 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_Ok. Expected _wxIcon_p.");
1588 _result
= (bool )wxIcon_Ok(_arg0
);
1589 _resultobj
= Py_BuildValue("i",_result
);
1593 #define wxIcon_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
1594 static PyObject
*_wrap_wxIcon_SetDepth(PyObject
*self
, PyObject
*args
) {
1595 PyObject
* _resultobj
;
1601 if(!PyArg_ParseTuple(args
,"si:wxIcon_SetDepth",&_argc0
,&_arg1
))
1604 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetDepth. Expected _wxIcon_p.");
1609 wxIcon_SetDepth(_arg0
,_arg1
);
1611 _resultobj
= Py_None
;
1615 #define wxIcon_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1616 static PyObject
*_wrap_wxIcon_SetHeight(PyObject
*self
, PyObject
*args
) {
1617 PyObject
* _resultobj
;
1623 if(!PyArg_ParseTuple(args
,"si:wxIcon_SetHeight",&_argc0
,&_arg1
))
1626 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetHeight. Expected _wxIcon_p.");
1631 wxIcon_SetHeight(_arg0
,_arg1
);
1633 _resultobj
= Py_None
;
1637 #define wxIcon_SetOk(_swigobj,_swigarg0) (_swigobj->SetOk(_swigarg0))
1638 static PyObject
*_wrap_wxIcon_SetOk(PyObject
*self
, PyObject
*args
) {
1639 PyObject
* _resultobj
;
1645 if(!PyArg_ParseTuple(args
,"si:wxIcon_SetOk",&_argc0
,&_arg1
))
1648 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetOk. Expected _wxIcon_p.");
1653 wxIcon_SetOk(_arg0
,_arg1
);
1655 _resultobj
= Py_None
;
1659 #define wxIcon_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1660 static PyObject
*_wrap_wxIcon_SetWidth(PyObject
*self
, PyObject
*args
) {
1661 PyObject
* _resultobj
;
1667 if(!PyArg_ParseTuple(args
,"si:wxIcon_SetWidth",&_argc0
,&_arg1
))
1670 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetWidth. Expected _wxIcon_p.");
1675 wxIcon_SetWidth(_arg0
,_arg1
);
1677 _resultobj
= Py_None
;
1681 static void *SwigwxCursorTowxBitmap(void *ptr
) {
1684 src
= (wxCursor
*) ptr
;
1685 dest
= (wxBitmap
*) src
;
1686 return (void *) dest
;
1689 #define new_wxCursor(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxCursor(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1690 static PyObject
*_wrap_new_wxCursor(PyObject
*self
, PyObject
*args
) {
1691 PyObject
* _resultobj
;
1697 PyObject
* _obj0
= 0;
1701 if(!PyArg_ParseTuple(args
,"Ol|ii:new_wxCursor",&_obj0
,&_arg1
,&_arg2
,&_arg3
))
1704 if (!PyString_Check(_obj0
)) {
1705 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1708 _arg0
= new wxString(PyString_AsString(_obj0
));
1710 _result
= (wxCursor
*)new_wxCursor(*_arg0
,_arg1
,_arg2
,_arg3
);
1711 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCursor_p");
1712 _resultobj
= Py_BuildValue("s",_ptemp
);
1720 #define delete_wxCursor(_swigobj) (delete _swigobj)
1721 static PyObject
*_wrap_delete_wxCursor(PyObject
*self
, PyObject
*args
) {
1722 PyObject
* _resultobj
;
1727 if(!PyArg_ParseTuple(args
,"s:delete_wxCursor",&_argc0
))
1730 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxCursor_p")) {
1731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCursor. Expected _wxCursor_p.");
1735 delete_wxCursor(_arg0
);
1737 _resultobj
= Py_None
;
1741 #define wxCursor_Ok(_swigobj) (_swigobj->Ok())
1742 static PyObject
*_wrap_wxCursor_Ok(PyObject
*self
, PyObject
*args
) {
1743 PyObject
* _resultobj
;
1749 if(!PyArg_ParseTuple(args
,"s:wxCursor_Ok",&_argc0
))
1752 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxCursor_p")) {
1753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_Ok. Expected _wxCursor_p.");
1757 _result
= (bool )wxCursor_Ok(_arg0
);
1758 _resultobj
= Py_BuildValue("i",_result
);
1762 static wxFont
*new_wxFont(int pointSize
,int family
,int style
,int weight
,int underline
,char *faceName
) {
1764 return wxTheFontList
->FindOrCreateFont(pointSize
, family
, style
, weight
,
1765 underline
, faceName
);
1768 static PyObject
*_wrap_new_wxFont(PyObject
*self
, PyObject
*args
) {
1769 PyObject
* _resultobj
;
1780 if(!PyArg_ParseTuple(args
,"iiii|is:new_wxFont",&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
1782 _result
= (wxFont
*)new_wxFont(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1783 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1784 _resultobj
= Py_BuildValue("s",_ptemp
);
1788 #define wxFont_GetFaceName(_swigobj) (_swigobj->GetFaceName())
1789 static PyObject
*_wrap_wxFont_GetFaceName(PyObject
*self
, PyObject
*args
) {
1790 PyObject
* _resultobj
;
1796 if(!PyArg_ParseTuple(args
,"s:wxFont_GetFaceName",&_argc0
))
1799 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFaceName. Expected _wxFont_p.");
1804 _result
= new wxString (wxFont_GetFaceName(_arg0
));
1806 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1814 #define wxFont_GetFamily(_swigobj) (_swigobj->GetFamily())
1815 static PyObject
*_wrap_wxFont_GetFamily(PyObject
*self
, PyObject
*args
) {
1816 PyObject
* _resultobj
;
1822 if(!PyArg_ParseTuple(args
,"s:wxFont_GetFamily",&_argc0
))
1825 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFamily. Expected _wxFont_p.");
1830 _result
= (int )wxFont_GetFamily(_arg0
);
1831 _resultobj
= Py_BuildValue("i",_result
);
1835 #define wxFont_GetFontId(_swigobj) (_swigobj->GetFontId())
1836 static PyObject
*_wrap_wxFont_GetFontId(PyObject
*self
, PyObject
*args
) {
1837 PyObject
* _resultobj
;
1843 if(!PyArg_ParseTuple(args
,"s:wxFont_GetFontId",&_argc0
))
1846 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFontId. Expected _wxFont_p.");
1851 _result
= (int )wxFont_GetFontId(_arg0
);
1852 _resultobj
= Py_BuildValue("i",_result
);
1856 #define wxFont_GetPointSize(_swigobj) (_swigobj->GetPointSize())
1857 static PyObject
*_wrap_wxFont_GetPointSize(PyObject
*self
, PyObject
*args
) {
1858 PyObject
* _resultobj
;
1864 if(!PyArg_ParseTuple(args
,"s:wxFont_GetPointSize",&_argc0
))
1867 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetPointSize. Expected _wxFont_p.");
1872 _result
= (int )wxFont_GetPointSize(_arg0
);
1873 _resultobj
= Py_BuildValue("i",_result
);
1877 #define wxFont_GetStyle(_swigobj) (_swigobj->GetStyle())
1878 static PyObject
*_wrap_wxFont_GetStyle(PyObject
*self
, PyObject
*args
) {
1879 PyObject
* _resultobj
;
1885 if(!PyArg_ParseTuple(args
,"s:wxFont_GetStyle",&_argc0
))
1888 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetStyle. Expected _wxFont_p.");
1893 _result
= (int )wxFont_GetStyle(_arg0
);
1894 _resultobj
= Py_BuildValue("i",_result
);
1898 #define wxFont_GetUnderlined(_swigobj) (_swigobj->GetUnderlined())
1899 static PyObject
*_wrap_wxFont_GetUnderlined(PyObject
*self
, PyObject
*args
) {
1900 PyObject
* _resultobj
;
1906 if(!PyArg_ParseTuple(args
,"s:wxFont_GetUnderlined",&_argc0
))
1909 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetUnderlined. Expected _wxFont_p.");
1914 _result
= (bool )wxFont_GetUnderlined(_arg0
);
1915 _resultobj
= Py_BuildValue("i",_result
);
1919 #define wxFont_GetWeight(_swigobj) (_swigobj->GetWeight())
1920 static PyObject
*_wrap_wxFont_GetWeight(PyObject
*self
, PyObject
*args
) {
1921 PyObject
* _resultobj
;
1927 if(!PyArg_ParseTuple(args
,"s:wxFont_GetWeight",&_argc0
))
1930 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetWeight. Expected _wxFont_p.");
1935 _result
= (int )wxFont_GetWeight(_arg0
);
1936 _resultobj
= Py_BuildValue("i",_result
);
1940 #define wxFont_SetFaceName(_swigobj,_swigarg0) (_swigobj->SetFaceName(_swigarg0))
1941 static PyObject
*_wrap_wxFont_SetFaceName(PyObject
*self
, PyObject
*args
) {
1942 PyObject
* _resultobj
;
1946 PyObject
* _obj1
= 0;
1949 if(!PyArg_ParseTuple(args
,"sO:wxFont_SetFaceName",&_argc0
,&_obj1
))
1952 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFaceName. Expected _wxFont_p.");
1958 if (!PyString_Check(_obj1
)) {
1959 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1962 _arg1
= new wxString(PyString_AsString(_obj1
));
1964 wxFont_SetFaceName(_arg0
,*_arg1
);
1966 _resultobj
= Py_None
;
1974 #define wxFont_SetFamily(_swigobj,_swigarg0) (_swigobj->SetFamily(_swigarg0))
1975 static PyObject
*_wrap_wxFont_SetFamily(PyObject
*self
, PyObject
*args
) {
1976 PyObject
* _resultobj
;
1982 if(!PyArg_ParseTuple(args
,"si:wxFont_SetFamily",&_argc0
,&_arg1
))
1985 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFamily. Expected _wxFont_p.");
1990 wxFont_SetFamily(_arg0
,_arg1
);
1992 _resultobj
= Py_None
;
1996 #define wxFont_SetPointSize(_swigobj,_swigarg0) (_swigobj->SetPointSize(_swigarg0))
1997 static PyObject
*_wrap_wxFont_SetPointSize(PyObject
*self
, PyObject
*args
) {
1998 PyObject
* _resultobj
;
2004 if(!PyArg_ParseTuple(args
,"si:wxFont_SetPointSize",&_argc0
,&_arg1
))
2007 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
2008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetPointSize. Expected _wxFont_p.");
2012 wxFont_SetPointSize(_arg0
,_arg1
);
2014 _resultobj
= Py_None
;
2018 #define wxFont_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
2019 static PyObject
*_wrap_wxFont_SetStyle(PyObject
*self
, PyObject
*args
) {
2020 PyObject
* _resultobj
;
2026 if(!PyArg_ParseTuple(args
,"si:wxFont_SetStyle",&_argc0
,&_arg1
))
2029 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
2030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetStyle. Expected _wxFont_p.");
2034 wxFont_SetStyle(_arg0
,_arg1
);
2036 _resultobj
= Py_None
;
2040 #define wxFont_SetUnderlined(_swigobj,_swigarg0) (_swigobj->SetUnderlined(_swigarg0))
2041 static PyObject
*_wrap_wxFont_SetUnderlined(PyObject
*self
, PyObject
*args
) {
2042 PyObject
* _resultobj
;
2049 if(!PyArg_ParseTuple(args
,"si:wxFont_SetUnderlined",&_argc0
,&tempbool1
))
2052 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
2053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetUnderlined. Expected _wxFont_p.");
2057 _arg1
= (bool ) tempbool1
;
2058 wxFont_SetUnderlined(_arg0
,_arg1
);
2060 _resultobj
= Py_None
;
2064 #define wxFont_SetWeight(_swigobj,_swigarg0) (_swigobj->SetWeight(_swigarg0))
2065 static PyObject
*_wrap_wxFont_SetWeight(PyObject
*self
, PyObject
*args
) {
2066 PyObject
* _resultobj
;
2072 if(!PyArg_ParseTuple(args
,"si:wxFont_SetWeight",&_argc0
,&_arg1
))
2075 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
2076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetWeight. Expected _wxFont_p.");
2080 wxFont_SetWeight(_arg0
,_arg1
);
2082 _resultobj
= Py_None
;
2086 #define new_wxColour(_swigarg0,_swigarg1,_swigarg2) (new wxColour(_swigarg0,_swigarg1,_swigarg2))
2087 static PyObject
*_wrap_new_wxColour(PyObject
*self
, PyObject
*args
) {
2088 PyObject
* _resultobj
;
2090 unsigned char _arg0
= 0;
2091 unsigned char _arg1
= 0;
2092 unsigned char _arg2
= 0;
2096 if(!PyArg_ParseTuple(args
,"|bbb:new_wxColour",&_arg0
,&_arg1
,&_arg2
))
2098 _result
= (wxColour
*)new_wxColour(_arg0
,_arg1
,_arg2
);
2099 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
2100 _resultobj
= Py_BuildValue("s",_ptemp
);
2104 #define delete_wxColour(_swigobj) (delete _swigobj)
2105 static PyObject
*_wrap_delete_wxColour(PyObject
*self
, PyObject
*args
) {
2106 PyObject
* _resultobj
;
2111 if(!PyArg_ParseTuple(args
,"s:delete_wxColour",&_argc0
))
2114 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxColour. Expected _wxColour_p.");
2119 delete_wxColour(_arg0
);
2121 _resultobj
= Py_None
;
2125 #define wxColour_Red(_swigobj) (_swigobj->Red())
2126 static PyObject
*_wrap_wxColour_Red(PyObject
*self
, PyObject
*args
) {
2127 PyObject
* _resultobj
;
2128 unsigned char _result
;
2133 if(!PyArg_ParseTuple(args
,"s:wxColour_Red",&_argc0
))
2136 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Red. Expected _wxColour_p.");
2141 _result
= (unsigned char )wxColour_Red(_arg0
);
2142 _resultobj
= Py_BuildValue("b",_result
);
2146 #define wxColour_Green(_swigobj) (_swigobj->Green())
2147 static PyObject
*_wrap_wxColour_Green(PyObject
*self
, PyObject
*args
) {
2148 PyObject
* _resultobj
;
2149 unsigned char _result
;
2154 if(!PyArg_ParseTuple(args
,"s:wxColour_Green",&_argc0
))
2157 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Green. Expected _wxColour_p.");
2162 _result
= (unsigned char )wxColour_Green(_arg0
);
2163 _resultobj
= Py_BuildValue("b",_result
);
2167 #define wxColour_Blue(_swigobj) (_swigobj->Blue())
2168 static PyObject
*_wrap_wxColour_Blue(PyObject
*self
, PyObject
*args
) {
2169 PyObject
* _resultobj
;
2170 unsigned char _result
;
2175 if(!PyArg_ParseTuple(args
,"s:wxColour_Blue",&_argc0
))
2178 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Blue. Expected _wxColour_p.");
2183 _result
= (unsigned char )wxColour_Blue(_arg0
);
2184 _resultobj
= Py_BuildValue("b",_result
);
2188 #define wxColour_Ok(_swigobj) (_swigobj->Ok())
2189 static PyObject
*_wrap_wxColour_Ok(PyObject
*self
, PyObject
*args
) {
2190 PyObject
* _resultobj
;
2196 if(!PyArg_ParseTuple(args
,"s:wxColour_Ok",&_argc0
))
2199 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Ok. Expected _wxColour_p.");
2204 _result
= (bool )wxColour_Ok(_arg0
);
2205 _resultobj
= Py_BuildValue("i",_result
);
2209 #define wxColour_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
2210 static PyObject
*_wrap_wxColour_Set(PyObject
*self
, PyObject
*args
) {
2211 PyObject
* _resultobj
;
2213 unsigned char _arg1
;
2214 unsigned char _arg2
;
2215 unsigned char _arg3
;
2219 if(!PyArg_ParseTuple(args
,"sbbb:wxColour_Set",&_argc0
,&_arg1
,&_arg2
,&_arg3
))
2222 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Set. Expected _wxColour_p.");
2227 wxColour_Set(_arg0
,_arg1
,_arg2
,_arg3
);
2229 _resultobj
= Py_None
;
2233 static PyObject
* wxColour_Get(wxColour
*self
) {
2234 PyObject
* rv
= PyTuple_New(3);
2235 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
2236 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
2237 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
2240 static PyObject
*_wrap_wxColour_Get(PyObject
*self
, PyObject
*args
) {
2241 PyObject
* _resultobj
;
2247 if(!PyArg_ParseTuple(args
,"s:wxColour_Get",&_argc0
))
2250 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Get. Expected _wxColour_p.");
2255 _result
= (PyObject
*)wxColour_Get(_arg0
);
2257 _resultobj
= _result
;
2262 static wxPen
*new_wxPen(wxColour
*colour
,int width
,int style
) {
2263 return wxThePenList
->FindOrCreatePen(*colour
, width
, style
);
2266 static PyObject
*_wrap_new_wxPen(PyObject
*self
, PyObject
*args
) {
2267 PyObject
* _resultobj
;
2271 int _arg2
= (wxSOLID
);
2276 if(!PyArg_ParseTuple(args
,"s|ii:new_wxPen",&_argc0
,&_arg1
,&_arg2
))
2279 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPen. Expected _wxColour_p.");
2284 _result
= (wxPen
*)new_wxPen(_arg0
,_arg1
,_arg2
);
2285 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
2286 _resultobj
= Py_BuildValue("s",_ptemp
);
2290 #define wxPen_GetCap(_swigobj) (_swigobj->GetCap())
2291 static PyObject
*_wrap_wxPen_GetCap(PyObject
*self
, PyObject
*args
) {
2292 PyObject
* _resultobj
;
2298 if(!PyArg_ParseTuple(args
,"s:wxPen_GetCap",&_argc0
))
2301 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetCap. Expected _wxPen_p.");
2306 _result
= (int )wxPen_GetCap(_arg0
);
2307 _resultobj
= Py_BuildValue("i",_result
);
2311 #define wxPen_GetColour(_swigobj) (_swigobj->GetColour())
2312 static PyObject
*_wrap_wxPen_GetColour(PyObject
*self
, PyObject
*args
) {
2313 PyObject
* _resultobj
;
2320 if(!PyArg_ParseTuple(args
,"s:wxPen_GetColour",&_argc0
))
2323 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetColour. Expected _wxPen_p.");
2328 wxColour
& _result_ref
= wxPen_GetColour(_arg0
);
2329 _result
= (wxColour
*) &_result_ref
;
2330 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
2331 _resultobj
= Py_BuildValue("s",_ptemp
);
2335 #define wxPen_GetDashes(_swigobj,_swigarg0) (_swigobj->GetDashes(_swigarg0))
2336 static PyObject
*_wrap_wxPen_GetDashes(PyObject
*self
, PyObject
*args
) {
2337 PyObject
* _resultobj
;
2345 if(!PyArg_ParseTuple(args
,"ss:wxPen_GetDashes",&_argc0
,&_argc1
))
2348 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetDashes. Expected _wxPen_p.");
2354 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxDash_pp")) {
2355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPen_GetDashes. Expected _wxDash_pp.");
2359 _result
= (int )wxPen_GetDashes(_arg0
,_arg1
);
2360 _resultobj
= Py_BuildValue("i",_result
);
2364 #define wxPen_GetJoin(_swigobj) (_swigobj->GetJoin())
2365 static PyObject
*_wrap_wxPen_GetJoin(PyObject
*self
, PyObject
*args
) {
2366 PyObject
* _resultobj
;
2372 if(!PyArg_ParseTuple(args
,"s:wxPen_GetJoin",&_argc0
))
2375 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetJoin. Expected _wxPen_p.");
2380 _result
= (int )wxPen_GetJoin(_arg0
);
2381 _resultobj
= Py_BuildValue("i",_result
);
2385 #define wxPen_GetStipple(_swigobj) (_swigobj->GetStipple())
2386 static PyObject
*_wrap_wxPen_GetStipple(PyObject
*self
, PyObject
*args
) {
2387 PyObject
* _resultobj
;
2394 if(!PyArg_ParseTuple(args
,"s:wxPen_GetStipple",&_argc0
))
2397 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetStipple. Expected _wxPen_p.");
2402 _result
= (wxBitmap
*)wxPen_GetStipple(_arg0
);
2403 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
2404 _resultobj
= Py_BuildValue("s",_ptemp
);
2408 #define wxPen_GetStyle(_swigobj) (_swigobj->GetStyle())
2409 static PyObject
*_wrap_wxPen_GetStyle(PyObject
*self
, PyObject
*args
) {
2410 PyObject
* _resultobj
;
2416 if(!PyArg_ParseTuple(args
,"s:wxPen_GetStyle",&_argc0
))
2419 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetStyle. Expected _wxPen_p.");
2424 _result
= (int )wxPen_GetStyle(_arg0
);
2425 _resultobj
= Py_BuildValue("i",_result
);
2429 #define wxPen_GetWidth(_swigobj) (_swigobj->GetWidth())
2430 static PyObject
*_wrap_wxPen_GetWidth(PyObject
*self
, PyObject
*args
) {
2431 PyObject
* _resultobj
;
2437 if(!PyArg_ParseTuple(args
,"s:wxPen_GetWidth",&_argc0
))
2440 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetWidth. Expected _wxPen_p.");
2445 _result
= (int )wxPen_GetWidth(_arg0
);
2446 _resultobj
= Py_BuildValue("i",_result
);
2450 #define wxPen_Ok(_swigobj) (_swigobj->Ok())
2451 static PyObject
*_wrap_wxPen_Ok(PyObject
*self
, PyObject
*args
) {
2452 PyObject
* _resultobj
;
2458 if(!PyArg_ParseTuple(args
,"s:wxPen_Ok",&_argc0
))
2461 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_Ok. Expected _wxPen_p.");
2466 _result
= (bool )wxPen_Ok(_arg0
);
2467 _resultobj
= Py_BuildValue("i",_result
);
2471 #define wxPen_SetCap(_swigobj,_swigarg0) (_swigobj->SetCap(_swigarg0))
2472 static PyObject
*_wrap_wxPen_SetCap(PyObject
*self
, PyObject
*args
) {
2473 PyObject
* _resultobj
;
2479 if(!PyArg_ParseTuple(args
,"si:wxPen_SetCap",&_argc0
,&_arg1
))
2482 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetCap. Expected _wxPen_p.");
2487 wxPen_SetCap(_arg0
,_arg1
);
2489 _resultobj
= Py_None
;
2493 #define wxPen_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
2494 static PyObject
*_wrap_wxPen_SetColour(PyObject
*self
, PyObject
*args
) {
2495 PyObject
* _resultobj
;
2502 if(!PyArg_ParseTuple(args
,"ss:wxPen_SetColour",&_argc0
,&_argc1
))
2505 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetColour. Expected _wxPen_p.");
2511 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
2512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPen_SetColour. Expected _wxColour_p.");
2516 wxPen_SetColour(_arg0
,*_arg1
);
2518 _resultobj
= Py_None
;
2522 #define wxPen_SetDashes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDashes(_swigarg0,_swigarg1))
2523 static PyObject
*_wrap_wxPen_SetDashes(PyObject
*self
, PyObject
*args
) {
2524 PyObject
* _resultobj
;
2529 PyObject
* _obj2
= 0;
2532 if(!PyArg_ParseTuple(args
,"sO:wxPen_SetDashes",&_argc0
,&_obj2
))
2535 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetDashes. Expected _wxPen_p.");
2542 _arg2
= (unsigned long*)long_LIST_helper(_obj2
);
2543 if (_arg2
== NULL
) {
2548 _arg1
= PyList_Size(_obj2
);
2550 wxPen_SetDashes(_arg0
,_arg1
,_arg2
);
2552 _resultobj
= Py_None
;
2559 #define wxPen_SetJoin(_swigobj,_swigarg0) (_swigobj->SetJoin(_swigarg0))
2560 static PyObject
*_wrap_wxPen_SetJoin(PyObject
*self
, PyObject
*args
) {
2561 PyObject
* _resultobj
;
2567 if(!PyArg_ParseTuple(args
,"si:wxPen_SetJoin",&_argc0
,&_arg1
))
2570 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetJoin. Expected _wxPen_p.");
2575 wxPen_SetJoin(_arg0
,_arg1
);
2577 _resultobj
= Py_None
;
2581 #define wxPen_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
2582 static PyObject
*_wrap_wxPen_SetStipple(PyObject
*self
, PyObject
*args
) {
2583 PyObject
* _resultobj
;
2590 if(!PyArg_ParseTuple(args
,"ss:wxPen_SetStipple",&_argc0
,&_argc1
))
2593 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetStipple. Expected _wxPen_p.");
2599 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBitmap_p")) {
2600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPen_SetStipple. Expected _wxBitmap_p.");
2604 wxPen_SetStipple(_arg0
,_arg1
);
2606 _resultobj
= Py_None
;
2610 #define wxPen_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
2611 static PyObject
*_wrap_wxPen_SetStyle(PyObject
*self
, PyObject
*args
) {
2612 PyObject
* _resultobj
;
2618 if(!PyArg_ParseTuple(args
,"si:wxPen_SetStyle",&_argc0
,&_arg1
))
2621 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetStyle. Expected _wxPen_p.");
2626 wxPen_SetStyle(_arg0
,_arg1
);
2628 _resultobj
= Py_None
;
2632 #define wxPen_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2633 static PyObject
*_wrap_wxPen_SetWidth(PyObject
*self
, PyObject
*args
) {
2634 PyObject
* _resultobj
;
2640 if(!PyArg_ParseTuple(args
,"si:wxPen_SetWidth",&_argc0
,&_arg1
))
2643 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetWidth. Expected _wxPen_p.");
2648 wxPen_SetWidth(_arg0
,_arg1
);
2650 _resultobj
= Py_None
;
2654 static wxBrush
*new_wxBrush(wxColour
*colour
,int style
) {
2655 return wxTheBrushList
->FindOrCreateBrush(*colour
, style
);
2658 static PyObject
*_wrap_new_wxBrush(PyObject
*self
, PyObject
*args
) {
2659 PyObject
* _resultobj
;
2662 int _arg1
= (wxSOLID
);
2667 if(!PyArg_ParseTuple(args
,"s|i:new_wxBrush",&_argc0
,&_arg1
))
2670 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBrush. Expected _wxColour_p.");
2675 _result
= (wxBrush
*)new_wxBrush(_arg0
,_arg1
);
2676 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
2677 _resultobj
= Py_BuildValue("s",_ptemp
);
2681 #define wxBrush_GetColour(_swigobj) (_swigobj->GetColour())
2682 static PyObject
*_wrap_wxBrush_GetColour(PyObject
*self
, PyObject
*args
) {
2683 PyObject
* _resultobj
;
2690 if(!PyArg_ParseTuple(args
,"s:wxBrush_GetColour",&_argc0
))
2693 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBrush_p")) {
2694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetColour. Expected _wxBrush_p.");
2698 wxColour
& _result_ref
= wxBrush_GetColour(_arg0
);
2699 _result
= (wxColour
*) &_result_ref
;
2700 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
2701 _resultobj
= Py_BuildValue("s",_ptemp
);
2705 #define wxBrush_GetStipple(_swigobj) (_swigobj->GetStipple())
2706 static PyObject
*_wrap_wxBrush_GetStipple(PyObject
*self
, PyObject
*args
) {
2707 PyObject
* _resultobj
;
2714 if(!PyArg_ParseTuple(args
,"s:wxBrush_GetStipple",&_argc0
))
2717 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBrush_p")) {
2718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStipple. Expected _wxBrush_p.");
2722 _result
= (wxBitmap
*)wxBrush_GetStipple(_arg0
);
2723 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
2724 _resultobj
= Py_BuildValue("s",_ptemp
);
2728 #define wxBrush_GetStyle(_swigobj) (_swigobj->GetStyle())
2729 static PyObject
*_wrap_wxBrush_GetStyle(PyObject
*self
, PyObject
*args
) {
2730 PyObject
* _resultobj
;
2736 if(!PyArg_ParseTuple(args
,"s:wxBrush_GetStyle",&_argc0
))
2739 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBrush_p")) {
2740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStyle. Expected _wxBrush_p.");
2744 _result
= (int )wxBrush_GetStyle(_arg0
);
2745 _resultobj
= Py_BuildValue("i",_result
);
2749 #define wxBrush_Ok(_swigobj) (_swigobj->Ok())
2750 static PyObject
*_wrap_wxBrush_Ok(PyObject
*self
, PyObject
*args
) {
2751 PyObject
* _resultobj
;
2757 if(!PyArg_ParseTuple(args
,"s:wxBrush_Ok",&_argc0
))
2760 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBrush_p")) {
2761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_Ok. Expected _wxBrush_p.");
2765 _result
= (bool )wxBrush_Ok(_arg0
);
2766 _resultobj
= Py_BuildValue("i",_result
);
2770 #define wxBrush_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
2771 static PyObject
*_wrap_wxBrush_SetColour(PyObject
*self
, PyObject
*args
) {
2772 PyObject
* _resultobj
;
2779 if(!PyArg_ParseTuple(args
,"ss:wxBrush_SetColour",&_argc0
,&_argc1
))
2782 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBrush_p")) {
2783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetColour. Expected _wxBrush_p.");
2788 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
2789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrush_SetColour. Expected _wxColour_p.");
2793 wxBrush_SetColour(_arg0
,*_arg1
);
2795 _resultobj
= Py_None
;
2799 #define wxBrush_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
2800 static PyObject
*_wrap_wxBrush_SetStipple(PyObject
*self
, PyObject
*args
) {
2801 PyObject
* _resultobj
;
2808 if(!PyArg_ParseTuple(args
,"ss:wxBrush_SetStipple",&_argc0
,&_argc1
))
2811 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBrush_p")) {
2812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStipple. Expected _wxBrush_p.");
2817 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBitmap_p")) {
2818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrush_SetStipple. Expected _wxBitmap_p.");
2822 wxBrush_SetStipple(_arg0
,_arg1
);
2824 _resultobj
= Py_None
;
2828 #define wxBrush_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
2829 static PyObject
*_wrap_wxBrush_SetStyle(PyObject
*self
, PyObject
*args
) {
2830 PyObject
* _resultobj
;
2836 if(!PyArg_ParseTuple(args
,"si:wxBrush_SetStyle",&_argc0
,&_arg1
))
2839 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBrush_p")) {
2840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStyle. Expected _wxBrush_p.");
2844 wxBrush_SetStyle(_arg0
,_arg1
);
2846 _resultobj
= Py_None
;
2850 #define new_wxDC() (new wxDC())
2851 static PyObject
*_wrap_new_wxDC(PyObject
*self
, PyObject
*args
) {
2852 PyObject
* _resultobj
;
2857 if(!PyArg_ParseTuple(args
,":new_wxDC"))
2859 _result
= (wxDC
*)new_wxDC();
2860 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDC_p");
2861 _resultobj
= Py_BuildValue("s",_ptemp
);
2865 #define delete_wxDC(_swigobj) (delete _swigobj)
2866 static PyObject
*_wrap_delete_wxDC(PyObject
*self
, PyObject
*args
) {
2867 PyObject
* _resultobj
;
2872 if(!PyArg_ParseTuple(args
,"s:delete_wxDC",&_argc0
))
2875 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDC. Expected _wxDC_p.");
2882 _resultobj
= Py_None
;
2886 #define wxDC_BeginDrawing(_swigobj) (_swigobj->BeginDrawing())
2887 static PyObject
*_wrap_wxDC_BeginDrawing(PyObject
*self
, PyObject
*args
) {
2888 PyObject
* _resultobj
;
2893 if(!PyArg_ParseTuple(args
,"s:wxDC_BeginDrawing",&_argc0
))
2896 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_BeginDrawing. Expected _wxDC_p.");
2901 wxDC_BeginDrawing(_arg0
);
2903 _resultobj
= Py_None
;
2907 #define wxDC_Blit(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Blit(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
2908 static PyObject
*_wrap_wxDC_Blit(PyObject
*self
, PyObject
*args
) {
2909 PyObject
* _resultobj
;
2924 if(!PyArg_ParseTuple(args
,"sllllslll:wxDC_Blit",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_argc5
,&_arg6
,&_arg7
,&_arg8
))
2927 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Blit. Expected _wxDC_p.");
2933 if (SWIG_GetPtr(_argc5
,(void **) &_arg5
,"_wxDC_p")) {
2934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxDC_Blit. Expected _wxDC_p.");
2938 _result
= (bool )wxDC_Blit(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
);
2939 _resultobj
= Py_BuildValue("i",_result
);
2943 #define wxDC_Clear(_swigobj) (_swigobj->Clear())
2944 static PyObject
*_wrap_wxDC_Clear(PyObject
*self
, PyObject
*args
) {
2945 PyObject
* _resultobj
;
2950 if(!PyArg_ParseTuple(args
,"s:wxDC_Clear",&_argc0
))
2953 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Clear. Expected _wxDC_p.");
2960 _resultobj
= Py_None
;
2964 #define wxDC_CrossHair(_swigobj,_swigarg0,_swigarg1) (_swigobj->CrossHair(_swigarg0,_swigarg1))
2965 static PyObject
*_wrap_wxDC_CrossHair(PyObject
*self
, PyObject
*args
) {
2966 PyObject
* _resultobj
;
2973 if(!PyArg_ParseTuple(args
,"sll:wxDC_CrossHair",&_argc0
,&_arg1
,&_arg2
))
2976 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CrossHair. Expected _wxDC_p.");
2981 wxDC_CrossHair(_arg0
,_arg1
,_arg2
);
2983 _resultobj
= Py_None
;
2987 #define wxDC_DestroyClippingRegion(_swigobj) (_swigobj->DestroyClippingRegion())
2988 static PyObject
*_wrap_wxDC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
) {
2989 PyObject
* _resultobj
;
2994 if(!PyArg_ParseTuple(args
,"s:wxDC_DestroyClippingRegion",&_argc0
))
2997 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DestroyClippingRegion. Expected _wxDC_p.");
3002 wxDC_DestroyClippingRegion(_arg0
);
3004 _resultobj
= Py_None
;
3008 #define wxDC_DeviceToLogicalX(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalX(_swigarg0))
3009 static PyObject
*_wrap_wxDC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
) {
3010 PyObject
* _resultobj
;
3017 if(!PyArg_ParseTuple(args
,"sl:wxDC_DeviceToLogicalX",&_argc0
,&_arg1
))
3020 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalX. Expected _wxDC_p.");
3025 _result
= (long )wxDC_DeviceToLogicalX(_arg0
,_arg1
);
3026 _resultobj
= Py_BuildValue("l",_result
);
3030 #define wxDC_DeviceToLogicalXRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalXRel(_swigarg0))
3031 static PyObject
*_wrap_wxDC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
) {
3032 PyObject
* _resultobj
;
3039 if(!PyArg_ParseTuple(args
,"sl:wxDC_DeviceToLogicalXRel",&_argc0
,&_arg1
))
3042 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalXRel. Expected _wxDC_p.");
3047 _result
= (long )wxDC_DeviceToLogicalXRel(_arg0
,_arg1
);
3048 _resultobj
= Py_BuildValue("l",_result
);
3052 #define wxDC_DeviceToLogicalY(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalY(_swigarg0))
3053 static PyObject
*_wrap_wxDC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
) {
3054 PyObject
* _resultobj
;
3061 if(!PyArg_ParseTuple(args
,"sl:wxDC_DeviceToLogicalY",&_argc0
,&_arg1
))
3064 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalY. Expected _wxDC_p.");
3069 _result
= (long )wxDC_DeviceToLogicalY(_arg0
,_arg1
);
3070 _resultobj
= Py_BuildValue("l",_result
);
3074 #define wxDC_DeviceToLogicalYRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalYRel(_swigarg0))
3075 static PyObject
*_wrap_wxDC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
) {
3076 PyObject
* _resultobj
;
3083 if(!PyArg_ParseTuple(args
,"sl:wxDC_DeviceToLogicalYRel",&_argc0
,&_arg1
))
3086 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalYRel. Expected _wxDC_p.");
3091 _result
= (long )wxDC_DeviceToLogicalYRel(_arg0
,_arg1
);
3092 _resultobj
= Py_BuildValue("l",_result
);
3096 #define wxDC_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3097 static PyObject
*_wrap_wxDC_DrawArc(PyObject
*self
, PyObject
*args
) {
3098 PyObject
* _resultobj
;
3109 if(!PyArg_ParseTuple(args
,"sllllll:wxDC_DrawArc",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
3112 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawArc. Expected _wxDC_p.");
3117 wxDC_DrawArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
3119 _resultobj
= Py_None
;
3123 #define wxDC_DrawEllipse(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawEllipse(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3124 static PyObject
*_wrap_wxDC_DrawEllipse(PyObject
*self
, PyObject
*args
) {
3125 PyObject
* _resultobj
;
3134 if(!PyArg_ParseTuple(args
,"sllll:wxDC_DrawEllipse",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3137 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipse. Expected _wxDC_p.");
3142 wxDC_DrawEllipse(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3144 _resultobj
= Py_None
;
3148 #define wxDC_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3149 static PyObject
*_wrap_wxDC_DrawEllipticArc(PyObject
*self
, PyObject
*args
) {
3150 PyObject
* _resultobj
;
3161 if(!PyArg_ParseTuple(args
,"sllllll:wxDC_DrawEllipticArc",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
3164 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipticArc. Expected _wxDC_p.");
3169 wxDC_DrawEllipticArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
3171 _resultobj
= Py_None
;
3175 #define wxDC_DrawIcon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawIcon(_swigarg0,_swigarg1,_swigarg2))
3176 static PyObject
*_wrap_wxDC_DrawIcon(PyObject
*self
, PyObject
*args
) {
3177 PyObject
* _resultobj
;
3186 if(!PyArg_ParseTuple(args
,"ssll:wxDC_DrawIcon",&_argc0
,&_argc1
,&_arg2
,&_arg3
))
3189 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawIcon. Expected _wxDC_p.");
3195 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxIcon_p")) {
3196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawIcon. Expected _wxIcon_p.");
3200 wxDC_DrawIcon(_arg0
,*_arg1
,_arg2
,_arg3
);
3202 _resultobj
= Py_None
;
3206 #define wxDC_DrawLine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3207 static PyObject
*_wrap_wxDC_DrawLine(PyObject
*self
, PyObject
*args
) {
3208 PyObject
* _resultobj
;
3217 if(!PyArg_ParseTuple(args
,"sllll:wxDC_DrawLine",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3220 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLine. Expected _wxDC_p.");
3225 wxDC_DrawLine(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3227 _resultobj
= Py_None
;
3231 #define wxDC_DrawLines(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLines(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3232 static PyObject
*_wrap_wxDC_DrawLines(PyObject
*self
, PyObject
*args
) {
3233 PyObject
* _resultobj
;
3240 PyObject
* _obj2
= 0;
3243 if(!PyArg_ParseTuple(args
,"sO|ll:wxDC_DrawLines",&_argc0
,&_obj2
,&_arg3
,&_arg4
))
3246 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLines. Expected _wxDC_p.");
3253 _arg2
= wxPoint_LIST_helper(_obj2
);
3254 if (_arg2
== NULL
) {
3259 _arg1
= PyList_Size(_obj2
);
3261 wxDC_DrawLines(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3263 _resultobj
= Py_None
;
3270 #define wxDC_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3271 static PyObject
*_wrap_wxDC_DrawPolygon(PyObject
*self
, PyObject
*args
) {
3272 PyObject
* _resultobj
;
3278 int _arg5
= (wxODDEVEN_RULE
);
3280 PyObject
* _obj2
= 0;
3283 if(!PyArg_ParseTuple(args
,"sO|lli:wxDC_DrawPolygon",&_argc0
,&_obj2
,&_arg3
,&_arg4
,&_arg5
))
3286 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPolygon. Expected _wxDC_p.");
3293 _arg2
= wxPoint_LIST_helper(_obj2
);
3294 if (_arg2
== NULL
) {
3299 _arg1
= PyList_Size(_obj2
);
3301 wxDC_DrawPolygon(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3303 _resultobj
= Py_None
;
3310 #define wxDC_DrawPoint(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawPoint(_swigarg0,_swigarg1))
3311 static PyObject
*_wrap_wxDC_DrawPoint(PyObject
*self
, PyObject
*args
) {
3312 PyObject
* _resultobj
;
3319 if(!PyArg_ParseTuple(args
,"sll:wxDC_DrawPoint",&_argc0
,&_arg1
,&_arg2
))
3322 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPoint. Expected _wxDC_p.");
3327 wxDC_DrawPoint(_arg0
,_arg1
,_arg2
);
3329 _resultobj
= Py_None
;
3333 #define wxDC_DrawRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3334 static PyObject
*_wrap_wxDC_DrawRectangle(PyObject
*self
, PyObject
*args
) {
3335 PyObject
* _resultobj
;
3344 if(!PyArg_ParseTuple(args
,"sllll:wxDC_DrawRectangle",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3347 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRectangle. Expected _wxDC_p.");
3352 wxDC_DrawRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3354 _resultobj
= Py_None
;
3358 #define wxDC_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3359 static PyObject
*_wrap_wxDC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
) {
3360 PyObject
* _resultobj
;
3370 if(!PyArg_ParseTuple(args
,"sllll|l:wxDC_DrawRoundedRectangle",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3373 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRoundedRectangle. Expected _wxDC_p.");
3378 wxDC_DrawRoundedRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3380 _resultobj
= Py_None
;
3384 #define wxDC_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1))
3385 static PyObject
*_wrap_wxDC_DrawSpline(PyObject
*self
, PyObject
*args
) {
3386 PyObject
* _resultobj
;
3391 PyObject
* _obj2
= 0;
3394 if(!PyArg_ParseTuple(args
,"sO:wxDC_DrawSpline",&_argc0
,&_obj2
))
3397 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawSpline. Expected _wxDC_p.");
3404 _arg2
= wxPoint_LIST_helper(_obj2
);
3405 if (_arg2
== NULL
) {
3410 _arg1
= PyList_Size(_obj2
);
3412 wxDC_DrawSpline(_arg0
,_arg1
,_arg2
);
3414 _resultobj
= Py_None
;
3421 #define wxDC_DrawText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawText(_swigarg0,_swigarg1,_swigarg2))
3422 static PyObject
*_wrap_wxDC_DrawText(PyObject
*self
, PyObject
*args
) {
3423 PyObject
* _resultobj
;
3429 PyObject
* _obj1
= 0;
3432 if(!PyArg_ParseTuple(args
,"sOll:wxDC_DrawText",&_argc0
,&_obj1
,&_arg2
,&_arg3
))
3435 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawText. Expected _wxDC_p.");
3441 if (!PyString_Check(_obj1
)) {
3442 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3445 _arg1
= new wxString(PyString_AsString(_obj1
));
3447 wxDC_DrawText(_arg0
,*_arg1
,_arg2
,_arg3
);
3449 _resultobj
= Py_None
;
3457 #define wxDC_EndDoc(_swigobj) (_swigobj->EndDoc())
3458 static PyObject
*_wrap_wxDC_EndDoc(PyObject
*self
, PyObject
*args
) {
3459 PyObject
* _resultobj
;
3464 if(!PyArg_ParseTuple(args
,"s:wxDC_EndDoc",&_argc0
))
3467 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDoc. Expected _wxDC_p.");
3474 _resultobj
= Py_None
;
3478 #define wxDC_EndDrawing(_swigobj) (_swigobj->EndDrawing())
3479 static PyObject
*_wrap_wxDC_EndDrawing(PyObject
*self
, PyObject
*args
) {
3480 PyObject
* _resultobj
;
3485 if(!PyArg_ParseTuple(args
,"s:wxDC_EndDrawing",&_argc0
))
3488 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDrawing. Expected _wxDC_p.");
3493 wxDC_EndDrawing(_arg0
);
3495 _resultobj
= Py_None
;
3499 #define wxDC_EndPage(_swigobj) (_swigobj->EndPage())
3500 static PyObject
*_wrap_wxDC_EndPage(PyObject
*self
, PyObject
*args
) {
3501 PyObject
* _resultobj
;
3506 if(!PyArg_ParseTuple(args
,"s:wxDC_EndPage",&_argc0
))
3509 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndPage. Expected _wxDC_p.");
3514 wxDC_EndPage(_arg0
);
3516 _resultobj
= Py_None
;
3520 #define wxDC_FloodFill(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FloodFill(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3521 static PyObject
*_wrap_wxDC_FloodFill(PyObject
*self
, PyObject
*args
) {
3522 PyObject
* _resultobj
;
3527 int _arg4
= (wxFLOOD_SURFACE
);
3532 if(!PyArg_ParseTuple(args
,"slls|i:wxDC_FloodFill",&_argc0
,&_arg1
,&_arg2
,&_argc3
,&_arg4
))
3535 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_FloodFill. Expected _wxDC_p.");
3541 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxColour_p")) {
3542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDC_FloodFill. Expected _wxColour_p.");
3546 wxDC_FloodFill(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
3548 _resultobj
= Py_None
;
3552 #define wxDC_GetBackground(_swigobj) (_swigobj->GetBackground())
3553 static PyObject
*_wrap_wxDC_GetBackground(PyObject
*self
, PyObject
*args
) {
3554 PyObject
* _resultobj
;
3561 if(!PyArg_ParseTuple(args
,"s:wxDC_GetBackground",&_argc0
))
3564 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBackground. Expected _wxDC_p.");
3569 _result
= (wxBrush
*)wxDC_GetBackground(_arg0
);
3570 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
3571 _resultobj
= Py_BuildValue("s",_ptemp
);
3575 #define wxDC_GetBrush(_swigobj) (_swigobj->GetBrush())
3576 static PyObject
*_wrap_wxDC_GetBrush(PyObject
*self
, PyObject
*args
) {
3577 PyObject
* _resultobj
;
3584 if(!PyArg_ParseTuple(args
,"s:wxDC_GetBrush",&_argc0
))
3587 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBrush. Expected _wxDC_p.");
3592 _result
= (wxBrush
*)wxDC_GetBrush(_arg0
);
3593 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
3594 _resultobj
= Py_BuildValue("s",_ptemp
);
3598 #define wxDC_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
3599 static PyObject
*_wrap_wxDC_GetCharHeight(PyObject
*self
, PyObject
*args
) {
3600 PyObject
* _resultobj
;
3606 if(!PyArg_ParseTuple(args
,"s:wxDC_GetCharHeight",&_argc0
))
3609 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharHeight. Expected _wxDC_p.");
3614 _result
= (long )wxDC_GetCharHeight(_arg0
);
3615 _resultobj
= Py_BuildValue("l",_result
);
3619 #define wxDC_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
3620 static PyObject
*_wrap_wxDC_GetCharWidth(PyObject
*self
, PyObject
*args
) {
3621 PyObject
* _resultobj
;
3627 if(!PyArg_ParseTuple(args
,"s:wxDC_GetCharWidth",&_argc0
))
3630 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharWidth. Expected _wxDC_p.");
3635 _result
= (long )wxDC_GetCharWidth(_arg0
);
3636 _resultobj
= Py_BuildValue("l",_result
);
3640 #define wxDC_GetClippingBox(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetClippingBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3641 static PyObject
*_wrap_wxDC_GetClippingBox(PyObject
*self
, PyObject
*args
) {
3642 PyObject
* _resultobj
;
3667 if(!PyArg_ParseTuple(args
,"s:wxDC_GetClippingBox",&_argc0
))
3670 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetClippingBox. Expected _wxDC_p.");
3675 wxDC_GetClippingBox(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3677 _resultobj
= Py_None
;
3680 o
= PyInt_FromLong((long) (*_arg1
));
3681 _resultobj
= t_output_helper(_resultobj
, o
);
3685 o
= PyInt_FromLong((long) (*_arg2
));
3686 _resultobj
= t_output_helper(_resultobj
, o
);
3690 o
= PyInt_FromLong((long) (*_arg3
));
3691 _resultobj
= t_output_helper(_resultobj
, o
);
3695 o
= PyInt_FromLong((long) (*_arg4
));
3696 _resultobj
= t_output_helper(_resultobj
, o
);
3701 #define wxDC_GetFont(_swigobj) (_swigobj->GetFont())
3702 static PyObject
*_wrap_wxDC_GetFont(PyObject
*self
, PyObject
*args
) {
3703 PyObject
* _resultobj
;
3710 if(!PyArg_ParseTuple(args
,"s:wxDC_GetFont",&_argc0
))
3713 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFont. Expected _wxDC_p.");
3718 _result
= (wxFont
*)wxDC_GetFont(_arg0
);
3719 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
3720 _resultobj
= Py_BuildValue("s",_ptemp
);
3724 #define wxDC_GetLogicalFunction(_swigobj) (_swigobj->GetLogicalFunction())
3725 static PyObject
*_wrap_wxDC_GetLogicalFunction(PyObject
*self
, PyObject
*args
) {
3726 PyObject
* _resultobj
;
3732 if(!PyArg_ParseTuple(args
,"s:wxDC_GetLogicalFunction",&_argc0
))
3735 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalFunction. Expected _wxDC_p.");
3740 _result
= (int )wxDC_GetLogicalFunction(_arg0
);
3741 _resultobj
= Py_BuildValue("i",_result
);
3745 #define wxDC_GetMapMode(_swigobj) (_swigobj->GetMapMode())
3746 static PyObject
*_wrap_wxDC_GetMapMode(PyObject
*self
, PyObject
*args
) {
3747 PyObject
* _resultobj
;
3753 if(!PyArg_ParseTuple(args
,"s:wxDC_GetMapMode",&_argc0
))
3756 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetMapMode. Expected _wxDC_p.");
3761 _result
= (int )wxDC_GetMapMode(_arg0
);
3762 _resultobj
= Py_BuildValue("i",_result
);
3766 #define wxDC_GetOptimization(_swigobj) (_swigobj->GetOptimization())
3767 static PyObject
*_wrap_wxDC_GetOptimization(PyObject
*self
, PyObject
*args
) {
3768 PyObject
* _resultobj
;
3774 if(!PyArg_ParseTuple(args
,"s:wxDC_GetOptimization",&_argc0
))
3777 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetOptimization. Expected _wxDC_p.");
3782 _result
= (bool )wxDC_GetOptimization(_arg0
);
3783 _resultobj
= Py_BuildValue("i",_result
);
3787 #define wxDC_GetPen(_swigobj) (_swigobj->GetPen())
3788 static PyObject
*_wrap_wxDC_GetPen(PyObject
*self
, PyObject
*args
) {
3789 PyObject
* _resultobj
;
3796 if(!PyArg_ParseTuple(args
,"s:wxDC_GetPen",&_argc0
))
3799 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPen. Expected _wxDC_p.");
3804 _result
= (wxPen
*)wxDC_GetPen(_arg0
);
3805 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
3806 _resultobj
= Py_BuildValue("s",_ptemp
);
3810 #define wxDC_GetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
3811 static PyObject
*_wrap_wxDC_GetSize(PyObject
*self
, PyObject
*args
) {
3812 PyObject
* _resultobj
;
3827 if(!PyArg_ParseTuple(args
,"s:wxDC_GetSize",&_argc0
))
3830 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSize. Expected _wxDC_p.");
3835 wxDC_GetSize(_arg0
,_arg1
,_arg2
);
3837 _resultobj
= Py_None
;
3840 o
= PyInt_FromLong((long) (*_arg1
));
3841 _resultobj
= t_output_helper(_resultobj
, o
);
3845 o
= PyInt_FromLong((long) (*_arg2
));
3846 _resultobj
= t_output_helper(_resultobj
, o
);
3851 #define wxDC_GetTextBackground(_swigobj) (_swigobj->GetTextBackground())
3852 static PyObject
*_wrap_wxDC_GetTextBackground(PyObject
*self
, PyObject
*args
) {
3853 PyObject
* _resultobj
;
3860 if(!PyArg_ParseTuple(args
,"s:wxDC_GetTextBackground",&_argc0
))
3863 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextBackground. Expected _wxDC_p.");
3868 wxColour
& _result_ref
= wxDC_GetTextBackground(_arg0
);
3869 _result
= (wxColour
*) &_result_ref
;
3870 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3871 _resultobj
= Py_BuildValue("s",_ptemp
);
3875 #define wxDC_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3876 static PyObject
*_wrap_wxDC_GetTextExtent(PyObject
*self
, PyObject
*args
) {
3877 PyObject
* _resultobj
;
3889 PyObject
* _obj1
= 0;
3904 if(!PyArg_ParseTuple(args
,"sO:wxDC_GetTextExtent",&_argc0
,&_obj1
))
3907 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextExtent. Expected _wxDC_p.");
3913 if (!PyString_Check(_obj1
)) {
3914 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3917 _arg1
= new wxString(PyString_AsString(_obj1
));
3919 wxDC_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3921 _resultobj
= Py_None
;
3924 o
= PyInt_FromLong((long) (*_arg2
));
3925 _resultobj
= t_output_helper(_resultobj
, o
);
3929 o
= PyInt_FromLong((long) (*_arg3
));
3930 _resultobj
= t_output_helper(_resultobj
, o
);
3934 o
= PyInt_FromLong((long) (*_arg4
));
3935 _resultobj
= t_output_helper(_resultobj
, o
);
3939 o
= PyInt_FromLong((long) (*_arg5
));
3940 _resultobj
= t_output_helper(_resultobj
, o
);
3949 #define wxDC_GetTextForeground(_swigobj) (_swigobj->GetTextForeground())
3950 static PyObject
*_wrap_wxDC_GetTextForeground(PyObject
*self
, PyObject
*args
) {
3951 PyObject
* _resultobj
;
3958 if(!PyArg_ParseTuple(args
,"s:wxDC_GetTextForeground",&_argc0
))
3961 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextForeground. Expected _wxDC_p.");
3966 wxColour
& _result_ref
= wxDC_GetTextForeground(_arg0
);
3967 _result
= (wxColour
*) &_result_ref
;
3968 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3969 _resultobj
= Py_BuildValue("s",_ptemp
);
3973 #define wxDC_LogicalToDeviceX(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceX(_swigarg0))
3974 static PyObject
*_wrap_wxDC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
) {
3975 PyObject
* _resultobj
;
3982 if(!PyArg_ParseTuple(args
,"sl:wxDC_LogicalToDeviceX",&_argc0
,&_arg1
))
3985 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceX. Expected _wxDC_p.");
3990 _result
= (long )wxDC_LogicalToDeviceX(_arg0
,_arg1
);
3991 _resultobj
= Py_BuildValue("l",_result
);
3995 #define wxDC_LogicalToDeviceXRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceXRel(_swigarg0))
3996 static PyObject
*_wrap_wxDC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
) {
3997 PyObject
* _resultobj
;
4004 if(!PyArg_ParseTuple(args
,"sl:wxDC_LogicalToDeviceXRel",&_argc0
,&_arg1
))
4007 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceXRel. Expected _wxDC_p.");
4012 _result
= (long )wxDC_LogicalToDeviceXRel(_arg0
,_arg1
);
4013 _resultobj
= Py_BuildValue("l",_result
);
4017 #define wxDC_LogicalToDeviceY(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceY(_swigarg0))
4018 static PyObject
*_wrap_wxDC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
) {
4019 PyObject
* _resultobj
;
4026 if(!PyArg_ParseTuple(args
,"sl:wxDC_LogicalToDeviceY",&_argc0
,&_arg1
))
4029 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceY. Expected _wxDC_p.");
4034 _result
= (long )wxDC_LogicalToDeviceY(_arg0
,_arg1
);
4035 _resultobj
= Py_BuildValue("l",_result
);
4039 #define wxDC_LogicalToDeviceYRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceYRel(_swigarg0))
4040 static PyObject
*_wrap_wxDC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
) {
4041 PyObject
* _resultobj
;
4048 if(!PyArg_ParseTuple(args
,"sl:wxDC_LogicalToDeviceYRel",&_argc0
,&_arg1
))
4051 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceYRel. Expected _wxDC_p.");
4056 _result
= (long )wxDC_LogicalToDeviceYRel(_arg0
,_arg1
);
4057 _resultobj
= Py_BuildValue("l",_result
);
4061 #define wxDC_MaxX(_swigobj) (_swigobj->MaxX())
4062 static PyObject
*_wrap_wxDC_MaxX(PyObject
*self
, PyObject
*args
) {
4063 PyObject
* _resultobj
;
4069 if(!PyArg_ParseTuple(args
,"s:wxDC_MaxX",&_argc0
))
4072 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxX. Expected _wxDC_p.");
4077 _result
= (long )wxDC_MaxX(_arg0
);
4078 _resultobj
= Py_BuildValue("l",_result
);
4082 #define wxDC_MaxY(_swigobj) (_swigobj->MaxY())
4083 static PyObject
*_wrap_wxDC_MaxY(PyObject
*self
, PyObject
*args
) {
4084 PyObject
* _resultobj
;
4090 if(!PyArg_ParseTuple(args
,"s:wxDC_MaxY",&_argc0
))
4093 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxY. Expected _wxDC_p.");
4098 _result
= (long )wxDC_MaxY(_arg0
);
4099 _resultobj
= Py_BuildValue("l",_result
);
4103 #define wxDC_MinX(_swigobj) (_swigobj->MinX())
4104 static PyObject
*_wrap_wxDC_MinX(PyObject
*self
, PyObject
*args
) {
4105 PyObject
* _resultobj
;
4111 if(!PyArg_ParseTuple(args
,"s:wxDC_MinX",&_argc0
))
4114 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinX. Expected _wxDC_p.");
4119 _result
= (long )wxDC_MinX(_arg0
);
4120 _resultobj
= Py_BuildValue("l",_result
);
4124 #define wxDC_MinY(_swigobj) (_swigobj->MinY())
4125 static PyObject
*_wrap_wxDC_MinY(PyObject
*self
, PyObject
*args
) {
4126 PyObject
* _resultobj
;
4132 if(!PyArg_ParseTuple(args
,"s:wxDC_MinY",&_argc0
))
4135 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinY. Expected _wxDC_p.");
4140 _result
= (long )wxDC_MinY(_arg0
);
4141 _resultobj
= Py_BuildValue("l",_result
);
4145 #define wxDC_Ok(_swigobj) (_swigobj->Ok())
4146 static PyObject
*_wrap_wxDC_Ok(PyObject
*self
, PyObject
*args
) {
4147 PyObject
* _resultobj
;
4153 if(!PyArg_ParseTuple(args
,"s:wxDC_Ok",&_argc0
))
4156 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Ok. Expected _wxDC_p.");
4161 _result
= (bool )wxDC_Ok(_arg0
);
4162 _resultobj
= Py_BuildValue("i",_result
);
4166 #define wxDC_SetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDeviceOrigin(_swigarg0,_swigarg1))
4167 static PyObject
*_wrap_wxDC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
) {
4168 PyObject
* _resultobj
;
4175 if(!PyArg_ParseTuple(args
,"sll:wxDC_SetDeviceOrigin",&_argc0
,&_arg1
,&_arg2
))
4178 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetDeviceOrigin. Expected _wxDC_p.");
4183 wxDC_SetDeviceOrigin(_arg0
,_arg1
,_arg2
);
4185 _resultobj
= Py_None
;
4189 #define wxDC_SetBackground(_swigobj,_swigarg0) (_swigobj->SetBackground(_swigarg0))
4190 static PyObject
*_wrap_wxDC_SetBackground(PyObject
*self
, PyObject
*args
) {
4191 PyObject
* _resultobj
;
4198 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetBackground",&_argc0
,&_argc1
))
4201 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackground. Expected _wxDC_p.");
4207 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBrush_p")) {
4208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBackground. Expected _wxBrush_p.");
4212 wxDC_SetBackground(_arg0
,*_arg1
);
4214 _resultobj
= Py_None
;
4218 #define wxDC_SetBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetBackgroundMode(_swigarg0))
4219 static PyObject
*_wrap_wxDC_SetBackgroundMode(PyObject
*self
, PyObject
*args
) {
4220 PyObject
* _resultobj
;
4226 if(!PyArg_ParseTuple(args
,"si:wxDC_SetBackgroundMode",&_argc0
,&_arg1
))
4229 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackgroundMode. Expected _wxDC_p.");
4234 wxDC_SetBackgroundMode(_arg0
,_arg1
);
4236 _resultobj
= Py_None
;
4240 #define wxDC_SetClippingRegion(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetClippingRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4241 static PyObject
*_wrap_wxDC_SetClippingRegion(PyObject
*self
, PyObject
*args
) {
4242 PyObject
* _resultobj
;
4251 if(!PyArg_ParseTuple(args
,"sllll:wxDC_SetClippingRegion",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4254 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetClippingRegion. Expected _wxDC_p.");
4259 wxDC_SetClippingRegion(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4261 _resultobj
= Py_None
;
4265 #define wxDC_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
4266 static PyObject
*_wrap_wxDC_SetPalette(PyObject
*self
, PyObject
*args
) {
4267 PyObject
* _resultobj
;
4274 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetPalette",&_argc0
,&_argc1
))
4277 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPalette. Expected _wxDC_p.");
4283 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPalette_p")) {
4284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPalette. Expected _wxPalette_p.");
4288 wxDC_SetPalette(_arg0
,*_arg1
);
4290 _resultobj
= Py_None
;
4294 #define wxDC_SetBrush(_swigobj,_swigarg0) (_swigobj->SetBrush(_swigarg0))
4295 static PyObject
*_wrap_wxDC_SetBrush(PyObject
*self
, PyObject
*args
) {
4296 PyObject
* _resultobj
;
4303 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetBrush",&_argc0
,&_argc1
))
4306 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBrush. Expected _wxDC_p.");
4312 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBrush_p")) {
4313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBrush. Expected _wxBrush_p.");
4317 wxDC_SetBrush(_arg0
,*_arg1
);
4319 _resultobj
= Py_None
;
4323 #define wxDC_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
4324 static PyObject
*_wrap_wxDC_SetFont(PyObject
*self
, PyObject
*args
) {
4325 PyObject
* _resultobj
;
4332 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetFont",&_argc0
,&_argc1
))
4335 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetFont. Expected _wxDC_p.");
4341 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxFont_p")) {
4342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetFont. Expected _wxFont_p.");
4346 wxDC_SetFont(_arg0
,*_arg1
);
4348 _resultobj
= Py_None
;
4352 #define wxDC_SetLogicalFunction(_swigobj,_swigarg0) (_swigobj->SetLogicalFunction(_swigarg0))
4353 static PyObject
*_wrap_wxDC_SetLogicalFunction(PyObject
*self
, PyObject
*args
) {
4354 PyObject
* _resultobj
;
4360 if(!PyArg_ParseTuple(args
,"si:wxDC_SetLogicalFunction",&_argc0
,&_arg1
))
4363 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalFunction. Expected _wxDC_p.");
4368 wxDC_SetLogicalFunction(_arg0
,_arg1
);
4370 _resultobj
= Py_None
;
4374 #define wxDC_SetMapMode(_swigobj,_swigarg0) (_swigobj->SetMapMode(_swigarg0))
4375 static PyObject
*_wrap_wxDC_SetMapMode(PyObject
*self
, PyObject
*args
) {
4376 PyObject
* _resultobj
;
4382 if(!PyArg_ParseTuple(args
,"si:wxDC_SetMapMode",&_argc0
,&_arg1
))
4385 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetMapMode. Expected _wxDC_p.");
4390 wxDC_SetMapMode(_arg0
,_arg1
);
4392 _resultobj
= Py_None
;
4396 #define wxDC_SetOptimization(_swigobj,_swigarg0) (_swigobj->SetOptimization(_swigarg0))
4397 static PyObject
*_wrap_wxDC_SetOptimization(PyObject
*self
, PyObject
*args
) {
4398 PyObject
* _resultobj
;
4405 if(!PyArg_ParseTuple(args
,"si:wxDC_SetOptimization",&_argc0
,&tempbool1
))
4408 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetOptimization. Expected _wxDC_p.");
4413 _arg1
= (bool ) tempbool1
;
4414 wxDC_SetOptimization(_arg0
,_arg1
);
4416 _resultobj
= Py_None
;
4420 #define wxDC_SetPen(_swigobj,_swigarg0) (_swigobj->SetPen(_swigarg0))
4421 static PyObject
*_wrap_wxDC_SetPen(PyObject
*self
, PyObject
*args
) {
4422 PyObject
* _resultobj
;
4429 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetPen",&_argc0
,&_argc1
))
4432 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPen. Expected _wxDC_p.");
4438 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPen_p")) {
4439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPen. Expected _wxPen_p.");
4443 wxDC_SetPen(_arg0
,*_arg1
);
4445 _resultobj
= Py_None
;
4449 #define wxDC_SetTextBackground(_swigobj,_swigarg0) (_swigobj->SetTextBackground(_swigarg0))
4450 static PyObject
*_wrap_wxDC_SetTextBackground(PyObject
*self
, PyObject
*args
) {
4451 PyObject
* _resultobj
;
4458 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetTextBackground",&_argc0
,&_argc1
))
4461 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextBackground. Expected _wxDC_p.");
4467 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
4468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetTextBackground. Expected _wxColour_p.");
4472 wxDC_SetTextBackground(_arg0
,*_arg1
);
4474 _resultobj
= Py_None
;
4478 #define wxDC_SetTextForeground(_swigobj,_swigarg0) (_swigobj->SetTextForeground(_swigarg0))
4479 static PyObject
*_wrap_wxDC_SetTextForeground(PyObject
*self
, PyObject
*args
) {
4480 PyObject
* _resultobj
;
4487 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetTextForeground",&_argc0
,&_argc1
))
4490 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextForeground. Expected _wxDC_p.");
4496 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
4497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetTextForeground. Expected _wxColour_p.");
4501 wxDC_SetTextForeground(_arg0
,*_arg1
);
4503 _resultobj
= Py_None
;
4507 #define wxDC_SetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetUserScale(_swigarg0,_swigarg1))
4508 static PyObject
*_wrap_wxDC_SetUserScale(PyObject
*self
, PyObject
*args
) {
4509 PyObject
* _resultobj
;
4516 if(!PyArg_ParseTuple(args
,"sdd:wxDC_SetUserScale",&_argc0
,&_arg1
,&_arg2
))
4519 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetUserScale. Expected _wxDC_p.");
4524 wxDC_SetUserScale(_arg0
,_arg1
,_arg2
);
4526 _resultobj
= Py_None
;
4530 #define wxDC_StartDoc(_swigobj,_swigarg0) (_swigobj->StartDoc(_swigarg0))
4531 static PyObject
*_wrap_wxDC_StartDoc(PyObject
*self
, PyObject
*args
) {
4532 PyObject
* _resultobj
;
4537 PyObject
* _obj1
= 0;
4540 if(!PyArg_ParseTuple(args
,"sO:wxDC_StartDoc",&_argc0
,&_obj1
))
4543 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartDoc. Expected _wxDC_p.");
4549 if (!PyString_Check(_obj1
)) {
4550 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4553 _arg1
= new wxString(PyString_AsString(_obj1
));
4555 _result
= (bool )wxDC_StartDoc(_arg0
,*_arg1
);
4556 _resultobj
= Py_BuildValue("i",_result
);
4564 #define wxDC_StartPage(_swigobj) (_swigobj->StartPage())
4565 static PyObject
*_wrap_wxDC_StartPage(PyObject
*self
, PyObject
*args
) {
4566 PyObject
* _resultobj
;
4571 if(!PyArg_ParseTuple(args
,"s:wxDC_StartPage",&_argc0
))
4574 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartPage. Expected _wxDC_p.");
4579 wxDC_StartPage(_arg0
);
4581 _resultobj
= Py_None
;
4585 static wxColour
* wxDC_GetPixel(wxDC
*self
,long x
,long y
) {
4586 wxColor
* wc
= new wxColor();
4587 self
->GetPixel(x
, y
, wc
);
4590 static PyObject
*_wrap_wxDC_GetPixel(PyObject
*self
, PyObject
*args
) {
4591 PyObject
* _resultobj
;
4600 if(!PyArg_ParseTuple(args
,"sll:wxDC_GetPixel",&_argc0
,&_arg1
,&_arg2
))
4603 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPixel. Expected _wxDC_p.");
4608 _result
= (wxColour
*)wxDC_GetPixel(_arg0
,_arg1
,_arg2
);
4609 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
4610 _resultobj
= Py_BuildValue("s",_ptemp
);
4614 static void wxDC_DrawBitmap(wxDC
*self
,wxBitmap
* bitmap
,long x
,long y
,bool swapPalette
) {
4615 wxMemoryDC
* memDC
= new wxMemoryDC
;
4616 memDC
->SelectObject(bitmap
);
4618 self
->SetPalette(bitmap
->GetPalette());
4619 self
->Blit(x
, y
, bitmap
->GetWidth(), bitmap
->GetHeight(), memDC
,
4620 0, 0, self
->GetLogicalFunction());
4621 memDC
->SelectObject(wxNullBitmap
);
4624 static PyObject
*_wrap_wxDC_DrawBitmap(PyObject
*self
, PyObject
*args
) {
4625 PyObject
* _resultobj
;
4636 if(!PyArg_ParseTuple(args
,"ssll|i:wxDC_DrawBitmap",&_argc0
,&_argc1
,&_arg2
,&_arg3
,&tempbool4
))
4639 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawBitmap. Expected _wxDC_p.");
4645 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBitmap_p")) {
4646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawBitmap. Expected _wxBitmap_p.");
4650 _arg4
= (bool ) tempbool4
;
4651 wxDC_DrawBitmap(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4653 _resultobj
= Py_None
;
4657 static void *SwigwxMemoryDCTowxDC(void *ptr
) {
4660 src
= (wxMemoryDC
*) ptr
;
4661 dest
= (wxDC
*) src
;
4662 return (void *) dest
;
4665 #define new_wxMemoryDC() (new wxMemoryDC())
4666 static PyObject
*_wrap_new_wxMemoryDC(PyObject
*self
, PyObject
*args
) {
4667 PyObject
* _resultobj
;
4668 wxMemoryDC
* _result
;
4672 if(!PyArg_ParseTuple(args
,":new_wxMemoryDC"))
4674 _result
= (wxMemoryDC
*)new_wxMemoryDC();
4675 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
4676 _resultobj
= Py_BuildValue("s",_ptemp
);
4680 #define wxMemoryDC_SelectObject(_swigobj,_swigarg0) (_swigobj->SelectObject(_swigarg0))
4681 static PyObject
*_wrap_wxMemoryDC_SelectObject(PyObject
*self
, PyObject
*args
) {
4682 PyObject
* _resultobj
;
4689 if(!PyArg_ParseTuple(args
,"ss:wxMemoryDC_SelectObject",&_argc0
,&_argc1
))
4692 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMemoryDC_p")) {
4693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDC_SelectObject. Expected _wxMemoryDC_p.");
4698 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBitmap_p")) {
4699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMemoryDC_SelectObject. Expected _wxBitmap_p.");
4703 wxMemoryDC_SelectObject(_arg0
,*_arg1
);
4705 _resultobj
= Py_None
;
4709 static void *SwigwxScreenDCTowxDC(void *ptr
) {
4712 src
= (wxScreenDC
*) ptr
;
4713 dest
= (wxDC
*) src
;
4714 return (void *) dest
;
4717 #define new_wxScreenDC() (new wxScreenDC())
4718 static PyObject
*_wrap_new_wxScreenDC(PyObject
*self
, PyObject
*args
) {
4719 PyObject
* _resultobj
;
4720 wxScreenDC
* _result
;
4724 if(!PyArg_ParseTuple(args
,":new_wxScreenDC"))
4726 _result
= (wxScreenDC
*)new_wxScreenDC();
4727 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScreenDC_p");
4728 _resultobj
= Py_BuildValue("s",_ptemp
);
4732 #define wxScreenDC_StartDrawingOnTop(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
4733 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
) {
4734 PyObject
* _resultobj
;
4742 if(!PyArg_ParseTuple(args
,"ss:wxScreenDC_StartDrawingOnTop",&_argc0
,&_argc1
))
4745 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScreenDC_p")) {
4746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTop. Expected _wxScreenDC_p.");
4751 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
4752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScreenDC_StartDrawingOnTop. Expected _wxWindow_p.");
4756 _result
= (bool )wxScreenDC_StartDrawingOnTop(_arg0
,_arg1
);
4757 _resultobj
= Py_BuildValue("i",_result
);
4761 #define wxScreenDC_StartDrawingOnTopRect(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
4762 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTopRect(PyObject
*self
, PyObject
*args
) {
4763 PyObject
* _resultobj
;
4766 wxRect
* _arg1
= NULL
;
4771 if(!PyArg_ParseTuple(args
,"s|s:wxScreenDC_StartDrawingOnTopRect",&_argc0
,&_argc1
))
4774 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScreenDC_p")) {
4775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTopRect. Expected _wxScreenDC_p.");
4780 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxRect_p")) {
4781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScreenDC_StartDrawingOnTopRect. Expected _wxRect_p.");
4785 _result
= (bool )wxScreenDC_StartDrawingOnTopRect(_arg0
,_arg1
);
4786 _resultobj
= Py_BuildValue("i",_result
);
4790 #define wxScreenDC_EndDrawingOnTop(_swigobj) (_swigobj->EndDrawingOnTop())
4791 static PyObject
*_wrap_wxScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
) {
4792 PyObject
* _resultobj
;
4798 if(!PyArg_ParseTuple(args
,"s:wxScreenDC_EndDrawingOnTop",&_argc0
))
4801 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScreenDC_p")) {
4802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_EndDrawingOnTop. Expected _wxScreenDC_p.");
4806 _result
= (bool )wxScreenDC_EndDrawingOnTop(_arg0
);
4807 _resultobj
= Py_BuildValue("i",_result
);
4811 static void *SwigwxClientDCTowxDC(void *ptr
) {
4814 src
= (wxClientDC
*) ptr
;
4815 dest
= (wxDC
*) src
;
4816 return (void *) dest
;
4819 #define new_wxClientDC(_swigarg0) (new wxClientDC(_swigarg0))
4820 static PyObject
*_wrap_new_wxClientDC(PyObject
*self
, PyObject
*args
) {
4821 PyObject
* _resultobj
;
4822 wxClientDC
* _result
;
4828 if(!PyArg_ParseTuple(args
,"s:new_wxClientDC",&_argc0
))
4831 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
4832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxClientDC. Expected _wxWindow_p.");
4836 _result
= (wxClientDC
*)new_wxClientDC(_arg0
);
4837 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxClientDC_p");
4838 _resultobj
= Py_BuildValue("s",_ptemp
);
4842 static void *SwigwxPaintDCTowxDC(void *ptr
) {
4845 src
= (wxPaintDC
*) ptr
;
4846 dest
= (wxDC
*) src
;
4847 return (void *) dest
;
4850 #define new_wxPaintDC(_swigarg0) (new wxPaintDC(_swigarg0))
4851 static PyObject
*_wrap_new_wxPaintDC(PyObject
*self
, PyObject
*args
) {
4852 PyObject
* _resultobj
;
4853 wxPaintDC
* _result
;
4859 if(!PyArg_ParseTuple(args
,"s:new_wxPaintDC",&_argc0
))
4862 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
4863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPaintDC. Expected _wxWindow_p.");
4867 _result
= (wxPaintDC
*)new_wxPaintDC(_arg0
);
4868 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPaintDC_p");
4869 _resultobj
= Py_BuildValue("s",_ptemp
);
4873 static void *SwigwxPostScriptDCTowxDC(void *ptr
) {
4874 wxPostScriptDC
*src
;
4876 src
= (wxPostScriptDC
*) ptr
;
4877 dest
= (wxDC
*) src
;
4878 return (void *) dest
;
4881 #define new_wxPostScriptDC(_swigarg0,_swigarg1,_swigarg2) (new wxPostScriptDC(_swigarg0,_swigarg1,_swigarg2))
4882 static PyObject
*_wrap_new_wxPostScriptDC(PyObject
*self
, PyObject
*args
) {
4883 PyObject
* _resultobj
;
4884 wxPostScriptDC
* _result
;
4887 wxWindow
* _arg2
= NULL
;
4888 PyObject
* _obj0
= 0;
4894 if(!PyArg_ParseTuple(args
,"O|is:new_wxPostScriptDC",&_obj0
,&tempbool1
,&_argc2
))
4897 if (!PyString_Check(_obj0
)) {
4898 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4901 _arg0
= new wxString(PyString_AsString(_obj0
));
4903 _arg1
= (bool ) tempbool1
;
4905 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxWindow_p")) {
4906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPostScriptDC. Expected _wxWindow_p.");
4910 _result
= (wxPostScriptDC
*)new_wxPostScriptDC(*_arg0
,_arg1
,_arg2
);
4911 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPostScriptDC_p");
4912 _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 static PyMethodDef gdicMethods
[] = {
5047 { "wxMetaFileDC_Close", _wrap_wxMetaFileDC_Close
, 1 },
5048 { "new_wxMetaFileDC", _wrap_new_wxMetaFileDC
, 1 },
5049 { "new_wxPrinterDC", _wrap_new_wxPrinterDC
, 1 },
5050 { "new_wxPostScriptDC", _wrap_new_wxPostScriptDC
, 1 },
5051 { "new_wxPaintDC", _wrap_new_wxPaintDC
, 1 },
5052 { "new_wxClientDC", _wrap_new_wxClientDC
, 1 },
5053 { "wxScreenDC_EndDrawingOnTop", _wrap_wxScreenDC_EndDrawingOnTop
, 1 },
5054 { "wxScreenDC_StartDrawingOnTopRect", _wrap_wxScreenDC_StartDrawingOnTopRect
, 1 },
5055 { "wxScreenDC_StartDrawingOnTop", _wrap_wxScreenDC_StartDrawingOnTop
, 1 },
5056 { "new_wxScreenDC", _wrap_new_wxScreenDC
, 1 },
5057 { "wxMemoryDC_SelectObject", _wrap_wxMemoryDC_SelectObject
, 1 },
5058 { "new_wxMemoryDC", _wrap_new_wxMemoryDC
, 1 },
5059 { "wxDC_DrawBitmap", _wrap_wxDC_DrawBitmap
, 1 },
5060 { "wxDC_GetPixel", _wrap_wxDC_GetPixel
, 1 },
5061 { "wxDC_StartPage", _wrap_wxDC_StartPage
, 1 },
5062 { "wxDC_StartDoc", _wrap_wxDC_StartDoc
, 1 },
5063 { "wxDC_SetUserScale", _wrap_wxDC_SetUserScale
, 1 },
5064 { "wxDC_SetTextForeground", _wrap_wxDC_SetTextForeground
, 1 },
5065 { "wxDC_SetTextBackground", _wrap_wxDC_SetTextBackground
, 1 },
5066 { "wxDC_SetPen", _wrap_wxDC_SetPen
, 1 },
5067 { "wxDC_SetOptimization", _wrap_wxDC_SetOptimization
, 1 },
5068 { "wxDC_SetMapMode", _wrap_wxDC_SetMapMode
, 1 },
5069 { "wxDC_SetLogicalFunction", _wrap_wxDC_SetLogicalFunction
, 1 },
5070 { "wxDC_SetFont", _wrap_wxDC_SetFont
, 1 },
5071 { "wxDC_SetBrush", _wrap_wxDC_SetBrush
, 1 },
5072 { "wxDC_SetPalette", _wrap_wxDC_SetPalette
, 1 },
5073 { "wxDC_SetClippingRegion", _wrap_wxDC_SetClippingRegion
, 1 },
5074 { "wxDC_SetBackgroundMode", _wrap_wxDC_SetBackgroundMode
, 1 },
5075 { "wxDC_SetBackground", _wrap_wxDC_SetBackground
, 1 },
5076 { "wxDC_SetDeviceOrigin", _wrap_wxDC_SetDeviceOrigin
, 1 },
5077 { "wxDC_Ok", _wrap_wxDC_Ok
, 1 },
5078 { "wxDC_MinY", _wrap_wxDC_MinY
, 1 },
5079 { "wxDC_MinX", _wrap_wxDC_MinX
, 1 },
5080 { "wxDC_MaxY", _wrap_wxDC_MaxY
, 1 },
5081 { "wxDC_MaxX", _wrap_wxDC_MaxX
, 1 },
5082 { "wxDC_LogicalToDeviceYRel", _wrap_wxDC_LogicalToDeviceYRel
, 1 },
5083 { "wxDC_LogicalToDeviceY", _wrap_wxDC_LogicalToDeviceY
, 1 },
5084 { "wxDC_LogicalToDeviceXRel", _wrap_wxDC_LogicalToDeviceXRel
, 1 },
5085 { "wxDC_LogicalToDeviceX", _wrap_wxDC_LogicalToDeviceX
, 1 },
5086 { "wxDC_GetTextForeground", _wrap_wxDC_GetTextForeground
, 1 },
5087 { "wxDC_GetTextExtent", _wrap_wxDC_GetTextExtent
, 1 },
5088 { "wxDC_GetTextBackground", _wrap_wxDC_GetTextBackground
, 1 },
5089 { "wxDC_GetSize", _wrap_wxDC_GetSize
, 1 },
5090 { "wxDC_GetPen", _wrap_wxDC_GetPen
, 1 },
5091 { "wxDC_GetOptimization", _wrap_wxDC_GetOptimization
, 1 },
5092 { "wxDC_GetMapMode", _wrap_wxDC_GetMapMode
, 1 },
5093 { "wxDC_GetLogicalFunction", _wrap_wxDC_GetLogicalFunction
, 1 },
5094 { "wxDC_GetFont", _wrap_wxDC_GetFont
, 1 },
5095 { "wxDC_GetClippingBox", _wrap_wxDC_GetClippingBox
, 1 },
5096 { "wxDC_GetCharWidth", _wrap_wxDC_GetCharWidth
, 1 },
5097 { "wxDC_GetCharHeight", _wrap_wxDC_GetCharHeight
, 1 },
5098 { "wxDC_GetBrush", _wrap_wxDC_GetBrush
, 1 },
5099 { "wxDC_GetBackground", _wrap_wxDC_GetBackground
, 1 },
5100 { "wxDC_FloodFill", _wrap_wxDC_FloodFill
, 1 },
5101 { "wxDC_EndPage", _wrap_wxDC_EndPage
, 1 },
5102 { "wxDC_EndDrawing", _wrap_wxDC_EndDrawing
, 1 },
5103 { "wxDC_EndDoc", _wrap_wxDC_EndDoc
, 1 },
5104 { "wxDC_DrawText", _wrap_wxDC_DrawText
, 1 },
5105 { "wxDC_DrawSpline", _wrap_wxDC_DrawSpline
, 1 },
5106 { "wxDC_DrawRoundedRectangle", _wrap_wxDC_DrawRoundedRectangle
, 1 },
5107 { "wxDC_DrawRectangle", _wrap_wxDC_DrawRectangle
, 1 },
5108 { "wxDC_DrawPoint", _wrap_wxDC_DrawPoint
, 1 },
5109 { "wxDC_DrawPolygon", _wrap_wxDC_DrawPolygon
, 1 },
5110 { "wxDC_DrawLines", _wrap_wxDC_DrawLines
, 1 },
5111 { "wxDC_DrawLine", _wrap_wxDC_DrawLine
, 1 },
5112 { "wxDC_DrawIcon", _wrap_wxDC_DrawIcon
, 1 },
5113 { "wxDC_DrawEllipticArc", _wrap_wxDC_DrawEllipticArc
, 1 },
5114 { "wxDC_DrawEllipse", _wrap_wxDC_DrawEllipse
, 1 },
5115 { "wxDC_DrawArc", _wrap_wxDC_DrawArc
, 1 },
5116 { "wxDC_DeviceToLogicalYRel", _wrap_wxDC_DeviceToLogicalYRel
, 1 },
5117 { "wxDC_DeviceToLogicalY", _wrap_wxDC_DeviceToLogicalY
, 1 },
5118 { "wxDC_DeviceToLogicalXRel", _wrap_wxDC_DeviceToLogicalXRel
, 1 },
5119 { "wxDC_DeviceToLogicalX", _wrap_wxDC_DeviceToLogicalX
, 1 },
5120 { "wxDC_DestroyClippingRegion", _wrap_wxDC_DestroyClippingRegion
, 1 },
5121 { "wxDC_CrossHair", _wrap_wxDC_CrossHair
, 1 },
5122 { "wxDC_Clear", _wrap_wxDC_Clear
, 1 },
5123 { "wxDC_Blit", _wrap_wxDC_Blit
, 1 },
5124 { "wxDC_BeginDrawing", _wrap_wxDC_BeginDrawing
, 1 },
5125 { "delete_wxDC", _wrap_delete_wxDC
, 1 },
5126 { "new_wxDC", _wrap_new_wxDC
, 1 },
5127 { "wxBrush_SetStyle", _wrap_wxBrush_SetStyle
, 1 },
5128 { "wxBrush_SetStipple", _wrap_wxBrush_SetStipple
, 1 },
5129 { "wxBrush_SetColour", _wrap_wxBrush_SetColour
, 1 },
5130 { "wxBrush_Ok", _wrap_wxBrush_Ok
, 1 },
5131 { "wxBrush_GetStyle", _wrap_wxBrush_GetStyle
, 1 },
5132 { "wxBrush_GetStipple", _wrap_wxBrush_GetStipple
, 1 },
5133 { "wxBrush_GetColour", _wrap_wxBrush_GetColour
, 1 },
5134 { "new_wxBrush", _wrap_new_wxBrush
, 1 },
5135 { "wxPen_SetWidth", _wrap_wxPen_SetWidth
, 1 },
5136 { "wxPen_SetStyle", _wrap_wxPen_SetStyle
, 1 },
5137 { "wxPen_SetStipple", _wrap_wxPen_SetStipple
, 1 },
5138 { "wxPen_SetJoin", _wrap_wxPen_SetJoin
, 1 },
5139 { "wxPen_SetDashes", _wrap_wxPen_SetDashes
, 1 },
5140 { "wxPen_SetColour", _wrap_wxPen_SetColour
, 1 },
5141 { "wxPen_SetCap", _wrap_wxPen_SetCap
, 1 },
5142 { "wxPen_Ok", _wrap_wxPen_Ok
, 1 },
5143 { "wxPen_GetWidth", _wrap_wxPen_GetWidth
, 1 },
5144 { "wxPen_GetStyle", _wrap_wxPen_GetStyle
, 1 },
5145 { "wxPen_GetStipple", _wrap_wxPen_GetStipple
, 1 },
5146 { "wxPen_GetJoin", _wrap_wxPen_GetJoin
, 1 },
5147 { "wxPen_GetDashes", _wrap_wxPen_GetDashes
, 1 },
5148 { "wxPen_GetColour", _wrap_wxPen_GetColour
, 1 },
5149 { "wxPen_GetCap", _wrap_wxPen_GetCap
, 1 },
5150 { "new_wxPen", _wrap_new_wxPen
, 1 },
5151 { "wxColour_Get", _wrap_wxColour_Get
, 1 },
5152 { "wxColour_Set", _wrap_wxColour_Set
, 1 },
5153 { "wxColour_Ok", _wrap_wxColour_Ok
, 1 },
5154 { "wxColour_Blue", _wrap_wxColour_Blue
, 1 },
5155 { "wxColour_Green", _wrap_wxColour_Green
, 1 },
5156 { "wxColour_Red", _wrap_wxColour_Red
, 1 },
5157 { "delete_wxColour", _wrap_delete_wxColour
, 1 },
5158 { "new_wxColour", _wrap_new_wxColour
, 1 },
5159 { "wxFont_SetWeight", _wrap_wxFont_SetWeight
, 1 },
5160 { "wxFont_SetUnderlined", _wrap_wxFont_SetUnderlined
, 1 },
5161 { "wxFont_SetStyle", _wrap_wxFont_SetStyle
, 1 },
5162 { "wxFont_SetPointSize", _wrap_wxFont_SetPointSize
, 1 },
5163 { "wxFont_SetFamily", _wrap_wxFont_SetFamily
, 1 },
5164 { "wxFont_SetFaceName", _wrap_wxFont_SetFaceName
, 1 },
5165 { "wxFont_GetWeight", _wrap_wxFont_GetWeight
, 1 },
5166 { "wxFont_GetUnderlined", _wrap_wxFont_GetUnderlined
, 1 },
5167 { "wxFont_GetStyle", _wrap_wxFont_GetStyle
, 1 },
5168 { "wxFont_GetPointSize", _wrap_wxFont_GetPointSize
, 1 },
5169 { "wxFont_GetFontId", _wrap_wxFont_GetFontId
, 1 },
5170 { "wxFont_GetFamily", _wrap_wxFont_GetFamily
, 1 },
5171 { "wxFont_GetFaceName", _wrap_wxFont_GetFaceName
, 1 },
5172 { "new_wxFont", _wrap_new_wxFont
, 1 },
5173 { "wxCursor_Ok", _wrap_wxCursor_Ok
, 1 },
5174 { "delete_wxCursor", _wrap_delete_wxCursor
, 1 },
5175 { "new_wxCursor", _wrap_new_wxCursor
, 1 },
5176 { "wxIcon_SetWidth", _wrap_wxIcon_SetWidth
, 1 },
5177 { "wxIcon_SetOk", _wrap_wxIcon_SetOk
, 1 },
5178 { "wxIcon_SetHeight", _wrap_wxIcon_SetHeight
, 1 },
5179 { "wxIcon_SetDepth", _wrap_wxIcon_SetDepth
, 1 },
5180 { "wxIcon_Ok", _wrap_wxIcon_Ok
, 1 },
5181 { "wxIcon_LoadFile", _wrap_wxIcon_LoadFile
, 1 },
5182 { "wxIcon_GetWidth", _wrap_wxIcon_GetWidth
, 1 },
5183 { "wxIcon_GetHeight", _wrap_wxIcon_GetHeight
, 1 },
5184 { "wxIcon_GetDepth", _wrap_wxIcon_GetDepth
, 1 },
5185 { "delete_wxIcon", _wrap_delete_wxIcon
, 1 },
5186 { "new_wxIcon", _wrap_new_wxIcon
, 1 },
5187 { "delete_wxMask", _wrap_delete_wxMask
, 1 },
5188 { "new_wxMask", _wrap_new_wxMask
, 1 },
5189 { "wxBitmap_SetWidth", _wrap_wxBitmap_SetWidth
, 1 },
5190 { "wxBitmap_SetPalette", _wrap_wxBitmap_SetPalette
, 1 },
5191 { "wxBitmap_SetOk", _wrap_wxBitmap_SetOk
, 1 },
5192 { "wxBitmap_SetMask", _wrap_wxBitmap_SetMask
, 1 },
5193 { "wxBitmap_SetHeight", _wrap_wxBitmap_SetHeight
, 1 },
5194 { "wxBitmap_SetDepth", _wrap_wxBitmap_SetDepth
, 1 },
5195 { "wxBitmap_SaveFile", _wrap_wxBitmap_SaveFile
, 1 },
5196 { "wxBitmap_Ok", _wrap_wxBitmap_Ok
, 1 },
5197 { "wxBitmap_LoadFile", _wrap_wxBitmap_LoadFile
, 1 },
5198 { "wxBitmap_GetWidth", _wrap_wxBitmap_GetWidth
, 1 },
5199 { "wxBitmap_GetMask", _wrap_wxBitmap_GetMask
, 1 },
5200 { "wxBitmap_GetPalette", _wrap_wxBitmap_GetPalette
, 1 },
5201 { "wxBitmap_GetHeight", _wrap_wxBitmap_GetHeight
, 1 },
5202 { "wxBitmap_GetDepth", _wrap_wxBitmap_GetDepth
, 1 },
5203 { "wxBitmap_Create", _wrap_wxBitmap_Create
, 1 },
5204 { "delete_wxBitmap", _wrap_delete_wxBitmap
, 1 },
5205 { "new_wxBitmap", _wrap_new_wxBitmap
, 1 },
5206 { "wxMemoryDCFromDC", _wrap_wxMemoryDCFromDC
, 1 },
5207 { "wxNamedColour", _wrap_wxNamedColour
, 1 },
5208 { "wxStockCursor", _wrap_wxStockCursor
, 1 },
5209 { "wxMaskColour", _wrap_wxMaskColour
, 1 },
5210 { "wxNoRefBitmap", _wrap_wxNoRefBitmap
, 1 },
5211 { "wxEmptyBitmap", _wrap_wxEmptyBitmap
, 1 },
5214 static PyObject
*SWIG_globals
;
5218 SWIGEXPORT(void,initgdic
)() {
5220 SWIG_globals
= SWIG_newvarlink();
5221 m
= Py_InitModule("gdic", gdicMethods
);
5222 d
= PyModule_GetDict(m
);
5223 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
5224 SWIG_addvarlink(SWIG_globals
,"wxNORMAL_FONT",_wrap_wxNORMAL_FONT_get
, _wrap_wxNORMAL_FONT_set
);
5225 SWIG_addvarlink(SWIG_globals
,"wxSMALL_FONT",_wrap_wxSMALL_FONT_get
, _wrap_wxSMALL_FONT_set
);
5226 SWIG_addvarlink(SWIG_globals
,"wxITALIC_FONT",_wrap_wxITALIC_FONT_get
, _wrap_wxITALIC_FONT_set
);
5227 SWIG_addvarlink(SWIG_globals
,"wxSWISS_FONT",_wrap_wxSWISS_FONT_get
, _wrap_wxSWISS_FONT_set
);
5228 SWIG_addvarlink(SWIG_globals
,"wxRED_PEN",_wrap_wxRED_PEN_get
, _wrap_wxRED_PEN_set
);
5229 SWIG_addvarlink(SWIG_globals
,"wxCYAN_PEN",_wrap_wxCYAN_PEN_get
, _wrap_wxCYAN_PEN_set
);
5230 SWIG_addvarlink(SWIG_globals
,"wxGREEN_PEN",_wrap_wxGREEN_PEN_get
, _wrap_wxGREEN_PEN_set
);
5231 SWIG_addvarlink(SWIG_globals
,"wxBLACK_PEN",_wrap_wxBLACK_PEN_get
, _wrap_wxBLACK_PEN_set
);
5232 SWIG_addvarlink(SWIG_globals
,"wxWHITE_PEN",_wrap_wxWHITE_PEN_get
, _wrap_wxWHITE_PEN_set
);
5233 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_PEN",_wrap_wxTRANSPARENT_PEN_get
, _wrap_wxTRANSPARENT_PEN_set
);
5234 SWIG_addvarlink(SWIG_globals
,"wxBLACK_DASHED_PEN",_wrap_wxBLACK_DASHED_PEN_get
, _wrap_wxBLACK_DASHED_PEN_set
);
5235 SWIG_addvarlink(SWIG_globals
,"wxGREY_PEN",_wrap_wxGREY_PEN_get
, _wrap_wxGREY_PEN_set
);
5236 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_PEN",_wrap_wxMEDIUM_GREY_PEN_get
, _wrap_wxMEDIUM_GREY_PEN_set
);
5237 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_PEN",_wrap_wxLIGHT_GREY_PEN_get
, _wrap_wxLIGHT_GREY_PEN_set
);
5238 SWIG_addvarlink(SWIG_globals
,"wxBLUE_BRUSH",_wrap_wxBLUE_BRUSH_get
, _wrap_wxBLUE_BRUSH_set
);
5239 SWIG_addvarlink(SWIG_globals
,"wxGREEN_BRUSH",_wrap_wxGREEN_BRUSH_get
, _wrap_wxGREEN_BRUSH_set
);
5240 SWIG_addvarlink(SWIG_globals
,"wxWHITE_BRUSH",_wrap_wxWHITE_BRUSH_get
, _wrap_wxWHITE_BRUSH_set
);
5241 SWIG_addvarlink(SWIG_globals
,"wxBLACK_BRUSH",_wrap_wxBLACK_BRUSH_get
, _wrap_wxBLACK_BRUSH_set
);
5242 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_BRUSH",_wrap_wxTRANSPARENT_BRUSH_get
, _wrap_wxTRANSPARENT_BRUSH_set
);
5243 SWIG_addvarlink(SWIG_globals
,"wxCYAN_BRUSH",_wrap_wxCYAN_BRUSH_get
, _wrap_wxCYAN_BRUSH_set
);
5244 SWIG_addvarlink(SWIG_globals
,"wxRED_BRUSH",_wrap_wxRED_BRUSH_get
, _wrap_wxRED_BRUSH_set
);
5245 SWIG_addvarlink(SWIG_globals
,"wxGREY_BRUSH",_wrap_wxGREY_BRUSH_get
, _wrap_wxGREY_BRUSH_set
);
5246 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_BRUSH",_wrap_wxMEDIUM_GREY_BRUSH_get
, _wrap_wxMEDIUM_GREY_BRUSH_set
);
5247 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_BRUSH",_wrap_wxLIGHT_GREY_BRUSH_get
, _wrap_wxLIGHT_GREY_BRUSH_set
);
5248 SWIG_addvarlink(SWIG_globals
,"wxBLACK",_wrap_wxBLACK_get
, _wrap_wxBLACK_set
);
5249 SWIG_addvarlink(SWIG_globals
,"wxWHITE",_wrap_wxWHITE_get
, _wrap_wxWHITE_set
);
5250 SWIG_addvarlink(SWIG_globals
,"wxRED",_wrap_wxRED_get
, _wrap_wxRED_set
);
5251 SWIG_addvarlink(SWIG_globals
,"wxBLUE",_wrap_wxBLUE_get
, _wrap_wxBLUE_set
);
5252 SWIG_addvarlink(SWIG_globals
,"wxGREEN",_wrap_wxGREEN_get
, _wrap_wxGREEN_set
);
5253 SWIG_addvarlink(SWIG_globals
,"wxCYAN",_wrap_wxCYAN_get
, _wrap_wxCYAN_set
);
5254 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY",_wrap_wxLIGHT_GREY_get
, _wrap_wxLIGHT_GREY_set
);
5255 SWIG_addvarlink(SWIG_globals
,"wxSTANDARD_CURSOR",_wrap_wxSTANDARD_CURSOR_get
, _wrap_wxSTANDARD_CURSOR_set
);
5256 SWIG_addvarlink(SWIG_globals
,"wxHOURGLASS_CURSOR",_wrap_wxHOURGLASS_CURSOR_get
, _wrap_wxHOURGLASS_CURSOR_set
);
5257 SWIG_addvarlink(SWIG_globals
,"wxCROSS_CURSOR",_wrap_wxCROSS_CURSOR_get
, _wrap_wxCROSS_CURSOR_set
);
5258 SWIG_addvarlink(SWIG_globals
,"wxNullBitmap",_wrap_wxNullBitmap_get
, _wrap_wxNullBitmap_set
);
5259 SWIG_addvarlink(SWIG_globals
,"wxNullIcon",_wrap_wxNullIcon_get
, _wrap_wxNullIcon_set
);
5260 SWIG_addvarlink(SWIG_globals
,"wxNullCursor",_wrap_wxNullCursor_get
, _wrap_wxNullCursor_set
);
5261 SWIG_addvarlink(SWIG_globals
,"wxNullPen",_wrap_wxNullPen_get
, _wrap_wxNullPen_set
);
5262 SWIG_addvarlink(SWIG_globals
,"wxNullBrush",_wrap_wxNullBrush_get
, _wrap_wxNullBrush_set
);
5263 SWIG_addvarlink(SWIG_globals
,"wxNullPalette",_wrap_wxNullPalette_get
, _wrap_wxNullPalette_set
);
5264 SWIG_addvarlink(SWIG_globals
,"wxNullFont",_wrap_wxNullFont_get
, _wrap_wxNullFont_set
);
5265 SWIG_addvarlink(SWIG_globals
,"wxNullColour",_wrap_wxNullColour_get
, _wrap_wxNullColour_set
);
5267 * These are the pointer type-equivalency mappings.
5268 * (Used by the SWIG pointer type-checker).
5270 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
5271 SWIG_RegisterMapping("_signed_long","_long",0);
5272 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
5273 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
5274 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
5275 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
5276 SWIG_RegisterMapping("_byte","_unsigned_char",0);
5277 SWIG_RegisterMapping("_long","_wxDash",0);
5278 SWIG_RegisterMapping("_long","_unsigned_long",0);
5279 SWIG_RegisterMapping("_long","_signed_long",0);
5280 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
5281 SWIG_RegisterMapping("_wxDC","_class_wxMetaFileDC",SwigwxMetaFileDCTowxDC
);
5282 SWIG_RegisterMapping("_wxDC","_wxMetaFileDC",SwigwxMetaFileDCTowxDC
);
5283 SWIG_RegisterMapping("_wxDC","_class_wxPrinterDC",SwigwxPrinterDCTowxDC
);
5284 SWIG_RegisterMapping("_wxDC","_wxPrinterDC",SwigwxPrinterDCTowxDC
);
5285 SWIG_RegisterMapping("_wxDC","_class_wxPostScriptDC",SwigwxPostScriptDCTowxDC
);
5286 SWIG_RegisterMapping("_wxDC","_wxPostScriptDC",SwigwxPostScriptDCTowxDC
);
5287 SWIG_RegisterMapping("_wxDC","_class_wxPaintDC",SwigwxPaintDCTowxDC
);
5288 SWIG_RegisterMapping("_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
);
5289 SWIG_RegisterMapping("_wxDC","_class_wxClientDC",SwigwxClientDCTowxDC
);
5290 SWIG_RegisterMapping("_wxDC","_wxClientDC",SwigwxClientDCTowxDC
);
5291 SWIG_RegisterMapping("_wxDC","_class_wxScreenDC",SwigwxScreenDCTowxDC
);
5292 SWIG_RegisterMapping("_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
);
5293 SWIG_RegisterMapping("_wxDC","_class_wxMemoryDC",SwigwxMemoryDCTowxDC
);
5294 SWIG_RegisterMapping("_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
);
5295 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
5296 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
5297 SWIG_RegisterMapping("_wxPrinterDC","_class_wxPrinterDC",0);
5298 SWIG_RegisterMapping("_class_wxPostScriptDC","_wxPostScriptDC",0);
5299 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
5300 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
5301 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
5302 SWIG_RegisterMapping("_uint","_unsigned_int",0);
5303 SWIG_RegisterMapping("_uint","_int",0);
5304 SWIG_RegisterMapping("_uint","_wxWindowID",0);
5305 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
5306 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
5307 SWIG_RegisterMapping("_wxBitmap","_class_wxCursor",SwigwxCursorTowxBitmap
);
5308 SWIG_RegisterMapping("_wxBitmap","_wxCursor",SwigwxCursorTowxBitmap
);
5309 SWIG_RegisterMapping("_wxBitmap","_class_wxIcon",SwigwxIconTowxBitmap
);
5310 SWIG_RegisterMapping("_wxBitmap","_wxIcon",SwigwxIconTowxBitmap
);
5311 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
5312 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
5313 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
5314 SWIG_RegisterMapping("_EBool","_signed_int",0);
5315 SWIG_RegisterMapping("_EBool","_int",0);
5316 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
5317 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
5318 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
5319 SWIG_RegisterMapping("_unsigned_long","_long",0);
5320 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
5321 SWIG_RegisterMapping("_class_wxDC","_class_wxMetaFileDC",SwigwxMetaFileDCTowxDC
);
5322 SWIG_RegisterMapping("_class_wxDC","_wxMetaFileDC",SwigwxMetaFileDCTowxDC
);
5323 SWIG_RegisterMapping("_class_wxDC","_class_wxPrinterDC",SwigwxPrinterDCTowxDC
);
5324 SWIG_RegisterMapping("_class_wxDC","_wxPrinterDC",SwigwxPrinterDCTowxDC
);
5325 SWIG_RegisterMapping("_class_wxDC","_class_wxPostScriptDC",SwigwxPostScriptDCTowxDC
);
5326 SWIG_RegisterMapping("_class_wxDC","_wxPostScriptDC",SwigwxPostScriptDCTowxDC
);
5327 SWIG_RegisterMapping("_class_wxDC","_class_wxPaintDC",SwigwxPaintDCTowxDC
);
5328 SWIG_RegisterMapping("_class_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
);
5329 SWIG_RegisterMapping("_class_wxDC","_class_wxClientDC",SwigwxClientDCTowxDC
);
5330 SWIG_RegisterMapping("_class_wxDC","_wxClientDC",SwigwxClientDCTowxDC
);
5331 SWIG_RegisterMapping("_class_wxDC","_class_wxScreenDC",SwigwxScreenDCTowxDC
);
5332 SWIG_RegisterMapping("_class_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
);
5333 SWIG_RegisterMapping("_class_wxDC","_class_wxMemoryDC",SwigwxMemoryDCTowxDC
);
5334 SWIG_RegisterMapping("_class_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
);
5335 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
5336 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
5337 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
5338 SWIG_RegisterMapping("_signed_int","_EBool",0);
5339 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
5340 SWIG_RegisterMapping("_signed_int","_int",0);
5341 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
5342 SWIG_RegisterMapping("_wxMetaFileDC","_class_wxMetaFileDC",0);
5343 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
5344 SWIG_RegisterMapping("_WXTYPE","_short",0);
5345 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
5346 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
5347 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
5348 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
5349 SWIG_RegisterMapping("_unsigned_short","_short",0);
5350 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
5351 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
5352 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
5353 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
5354 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
5355 SWIG_RegisterMapping("_signed_short","_short",0);
5356 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
5357 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
5358 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
5359 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
5360 SWIG_RegisterMapping("_wxPostScriptDC","_class_wxPostScriptDC",0);
5361 SWIG_RegisterMapping("_unsigned_char","_byte",0);
5362 SWIG_RegisterMapping("_class_wxMetaFileDC","_wxMetaFileDC",0);
5363 SWIG_RegisterMapping("_unsigned_int","_uint",0);
5364 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
5365 SWIG_RegisterMapping("_unsigned_int","_int",0);
5366 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
5367 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
5368 SWIG_RegisterMapping("_short","_WXTYPE",0);
5369 SWIG_RegisterMapping("_short","_unsigned_short",0);
5370 SWIG_RegisterMapping("_short","_signed_short",0);
5371 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
5372 SWIG_RegisterMapping("_wxWindowID","_uint",0);
5373 SWIG_RegisterMapping("_wxWindowID","_int",0);
5374 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
5375 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
5376 SWIG_RegisterMapping("_int","_EBool",0);
5377 SWIG_RegisterMapping("_int","_uint",0);
5378 SWIG_RegisterMapping("_int","_wxWindowID",0);
5379 SWIG_RegisterMapping("_int","_unsigned_int",0);
5380 SWIG_RegisterMapping("_int","_signed_int",0);
5381 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
5382 SWIG_RegisterMapping("_class_wxPrinterDC","_wxPrinterDC",0);
5383 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
5384 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
5385 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
5386 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
5387 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
5388 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
5389 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
5390 SWIG_RegisterMapping("_class_wxBitmap","_class_wxCursor",SwigwxCursorTowxBitmap
);
5391 SWIG_RegisterMapping("_class_wxBitmap","_wxCursor",SwigwxCursorTowxBitmap
);
5392 SWIG_RegisterMapping("_class_wxBitmap","_class_wxIcon",SwigwxIconTowxBitmap
);
5393 SWIG_RegisterMapping("_class_wxBitmap","_wxIcon",SwigwxIconTowxBitmap
);
5394 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
5395 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
5396 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
5397 SWIG_RegisterMapping("_wxDash","_long",0);