4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Patch 5)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a,b) __declspec(dllexport) a b
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a,b) a _export b
32 # define SWIGEXPORT(a,b) a b
36 # define SWIGEXPORT(a,b) a b
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
47 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initgdic
54 #define SWIG_name "gdic"
57 #include <wx/metafile.h>
58 #include <wx/imaglist.h>
63 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
68 } else if (target
== Py_None
) {
72 if (!PyList_Check(target
)) {
74 target
= PyList_New(0);
75 PyList_Append(target
, o2
);
78 PyList_Append(target
,o
);
84 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
90 } else if (target
== Py_None
) {
94 if (!PyTuple_Check(target
)) {
96 target
= PyTuple_New(1);
97 PyTuple_SetItem(target
, 0, o2
);
100 PyTuple_SetItem(o3
, 0, o
);
103 target
= PySequence_Concat(o2
, o3
);
111 extern byte
* byte_LIST_helper(PyObject
* source
);
112 extern int* int_LIST_helper(PyObject
* source
);
113 extern long* long_LIST_helper(PyObject
* source
);
114 extern char** string_LIST_helper(PyObject
* source
);
115 extern wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
116 extern wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
117 extern wxString
* wxString_LIST_helper(PyObject
* source
);
118 extern wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
121 static char* wxStringErrorMsg
= "string type is required for parameter";
122 // Alternate 'constructor'
123 wxBitmap
* wxEmptyBitmap(int width
, int height
, int depth
=-1) {
124 return new wxBitmap(width
, height
, depth
);
127 // This one won't own the reference, so Python
128 // won't call the dtor, this is good for
129 // toolbars and such where the parent will
130 // manage the bitmap.
131 wxBitmap
* wxNoRefBitmap(char* name
, long flags
) {
132 return new wxBitmap(name
, flags
);
135 wxMask
* wxMaskColour(const wxBitmap
& bitmap
, const wxColour
& colour
) {
136 return new wxMask(bitmap
, colour
);
138 // Alternate 'constructor'
139 wxCursor
* wxPyStockCursor(int id
) {
140 return new wxCursor(id
);
142 // Alternate 'constructor'
143 wxColour
* wxNamedColour(const wxString
& colorName
) {
144 return new wxColour(colorName
);
146 // Alternate 'constructor'
147 wxMemoryDC
* wxMemoryDCFromDC(wxDC
* oldDC
) {
148 return new wxMemoryDC(oldDC
);
152 extern wxFont
* wxNORMAL_FONT
;
153 extern wxFont
* wxSMALL_FONT
;
154 extern wxFont
* wxITALIC_FONT
;
155 extern wxFont
* wxSWISS_FONT
;
156 extern wxPen
* wxRED_PEN
;
157 extern wxPen
* wxCYAN_PEN
;
158 extern wxPen
* wxGREEN_PEN
;
159 extern wxPen
* wxBLACK_PEN
;
160 extern wxPen
* wxWHITE_PEN
;
161 extern wxPen
* wxTRANSPARENT_PEN
;
162 extern wxPen
* wxBLACK_DASHED_PEN
;
163 extern wxPen
* wxGREY_PEN
;
164 extern wxPen
* wxMEDIUM_GREY_PEN
;
165 extern wxPen
* wxLIGHT_GREY_PEN
;
166 extern wxBrush
* wxBLUE_BRUSH
;
167 extern wxBrush
* wxGREEN_BRUSH
;
168 extern wxBrush
* wxWHITE_BRUSH
;
169 extern wxBrush
* wxBLACK_BRUSH
;
170 extern wxBrush
* wxTRANSPARENT_BRUSH
;
171 extern wxBrush
* wxCYAN_BRUSH
;
172 extern wxBrush
* wxRED_BRUSH
;
173 extern wxBrush
* wxGREY_BRUSH
;
174 extern wxBrush
* wxMEDIUM_GREY_BRUSH
;
175 extern wxBrush
* wxLIGHT_GREY_BRUSH
;
176 extern wxColour
* wxBLACK
;
177 extern wxColour
* wxWHITE
;
178 extern wxColour
* wxRED
;
179 extern wxColour
* wxBLUE
;
180 extern wxColour
* wxGREEN
;
181 extern wxColour
* wxCYAN
;
182 extern wxColour
* wxLIGHT_GREY
;
183 extern wxCursor
* wxSTANDARD_CURSOR
;
184 extern wxCursor
* wxHOURGLASS_CURSOR
;
185 extern wxCursor
* wxCROSS_CURSOR
;
186 extern wxBitmap wxNullBitmap
;
187 extern wxIcon wxNullIcon
;
188 extern wxCursor wxNullCursor
;
189 extern wxPen wxNullPen
;
190 extern wxBrush wxNullBrush
;
191 extern wxPalette wxNullPalette
;
192 extern wxFont wxNullFont
;
193 extern wxColour wxNullColour
;
196 static PyObject
*_wrap_wxEmptyBitmap(PyObject
*self
, PyObject
*args
) {
197 PyObject
* _resultobj
;
205 if(!PyArg_ParseTuple(args
,"ii|i:wxEmptyBitmap",&_arg0
,&_arg1
,&_arg2
))
208 wxPy_BEGIN_ALLOW_THREADS
;
209 _result
= (wxBitmap
*)wxEmptyBitmap(_arg0
,_arg1
,_arg2
);
211 wxPy_END_ALLOW_THREADS
;
212 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
213 _resultobj
= Py_BuildValue("s",_ptemp
);
217 static PyObject
*_wrap_wxNoRefBitmap(PyObject
*self
, PyObject
*args
) {
218 PyObject
* _resultobj
;
225 if(!PyArg_ParseTuple(args
,"sl:wxNoRefBitmap",&_arg0
,&_arg1
))
228 wxPy_BEGIN_ALLOW_THREADS
;
229 _result
= (wxBitmap
*)wxNoRefBitmap(_arg0
,_arg1
);
231 wxPy_END_ALLOW_THREADS
;
232 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
233 _resultobj
= Py_BuildValue("s",_ptemp
);
237 static PyObject
*_wrap_wxMaskColour(PyObject
*self
, PyObject
*args
) {
238 PyObject
* _resultobj
;
247 if(!PyArg_ParseTuple(args
,"ss:wxMaskColour",&_argc0
,&_argc1
))
250 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMaskColour. Expected _wxBitmap_p.");
256 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMaskColour. Expected _wxColour_p.");
262 wxPy_BEGIN_ALLOW_THREADS
;
263 _result
= (wxMask
*)wxMaskColour(*_arg0
,*_arg1
);
265 wxPy_END_ALLOW_THREADS
;
266 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
267 _resultobj
= Py_BuildValue("s",_ptemp
);
271 static PyObject
*_wrap_wxStockCursor(PyObject
*self
, PyObject
*args
) {
272 PyObject
* _resultobj
;
278 if(!PyArg_ParseTuple(args
,"i:wxStockCursor",&_arg0
))
281 wxPy_BEGIN_ALLOW_THREADS
;
282 _result
= (wxCursor
*)wxPyStockCursor(_arg0
);
284 wxPy_END_ALLOW_THREADS
;
285 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCursor_p");
286 _resultobj
= Py_BuildValue("s",_ptemp
);
290 static PyObject
*_wrap_wxNamedColour(PyObject
*self
, PyObject
*args
) {
291 PyObject
* _resultobj
;
294 PyObject
* _obj0
= 0;
298 if(!PyArg_ParseTuple(args
,"O:wxNamedColour",&_obj0
))
301 if (!PyString_Check(_obj0
)) {
302 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
305 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
308 wxPy_BEGIN_ALLOW_THREADS
;
309 _result
= (wxColour
*)wxNamedColour(*_arg0
);
311 wxPy_END_ALLOW_THREADS
;
312 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
313 _resultobj
= Py_BuildValue("s",_ptemp
);
321 static PyObject
*_wrap_wxMemoryDCFromDC(PyObject
*self
, PyObject
*args
) {
322 PyObject
* _resultobj
;
323 wxMemoryDC
* _result
;
329 if(!PyArg_ParseTuple(args
,"s:wxMemoryDCFromDC",&_argc0
))
332 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDCFromDC. Expected _wxDC_p.");
338 wxPy_BEGIN_ALLOW_THREADS
;
339 _result
= (wxMemoryDC
*)wxMemoryDCFromDC(_arg0
);
341 wxPy_END_ALLOW_THREADS
;
342 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
343 _resultobj
= Py_BuildValue("s",_ptemp
);
347 static int _wrap_wxNORMAL_FONT_set(PyObject
*val
) {
349 PyErr_SetString(PyExc_TypeError
,"Variable wxNORMAL_FONT is read-only.");
353 static PyObject
*_wrap_wxNORMAL_FONT_get() {
357 SWIG_MakePtr(ptemp
, (char *) wxNORMAL_FONT
,"_wxFont_p");
358 pyobj
= PyString_FromString(ptemp
);
362 static int _wrap_wxSMALL_FONT_set(PyObject
*val
) {
364 PyErr_SetString(PyExc_TypeError
,"Variable wxSMALL_FONT is read-only.");
368 static PyObject
*_wrap_wxSMALL_FONT_get() {
372 SWIG_MakePtr(ptemp
, (char *) wxSMALL_FONT
,"_wxFont_p");
373 pyobj
= PyString_FromString(ptemp
);
377 static int _wrap_wxITALIC_FONT_set(PyObject
*val
) {
379 PyErr_SetString(PyExc_TypeError
,"Variable wxITALIC_FONT is read-only.");
383 static PyObject
*_wrap_wxITALIC_FONT_get() {
387 SWIG_MakePtr(ptemp
, (char *) wxITALIC_FONT
,"_wxFont_p");
388 pyobj
= PyString_FromString(ptemp
);
392 static int _wrap_wxSWISS_FONT_set(PyObject
*val
) {
394 PyErr_SetString(PyExc_TypeError
,"Variable wxSWISS_FONT is read-only.");
398 static PyObject
*_wrap_wxSWISS_FONT_get() {
402 SWIG_MakePtr(ptemp
, (char *) wxSWISS_FONT
,"_wxFont_p");
403 pyobj
= PyString_FromString(ptemp
);
407 static int _wrap_wxRED_PEN_set(PyObject
*val
) {
409 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_PEN is read-only.");
413 static PyObject
*_wrap_wxRED_PEN_get() {
417 SWIG_MakePtr(ptemp
, (char *) wxRED_PEN
,"_wxPen_p");
418 pyobj
= PyString_FromString(ptemp
);
422 static int _wrap_wxCYAN_PEN_set(PyObject
*val
) {
424 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_PEN is read-only.");
428 static PyObject
*_wrap_wxCYAN_PEN_get() {
432 SWIG_MakePtr(ptemp
, (char *) wxCYAN_PEN
,"_wxPen_p");
433 pyobj
= PyString_FromString(ptemp
);
437 static int _wrap_wxGREEN_PEN_set(PyObject
*val
) {
439 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_PEN is read-only.");
443 static PyObject
*_wrap_wxGREEN_PEN_get() {
447 SWIG_MakePtr(ptemp
, (char *) wxGREEN_PEN
,"_wxPen_p");
448 pyobj
= PyString_FromString(ptemp
);
452 static int _wrap_wxBLACK_PEN_set(PyObject
*val
) {
454 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_PEN is read-only.");
458 static PyObject
*_wrap_wxBLACK_PEN_get() {
462 SWIG_MakePtr(ptemp
, (char *) wxBLACK_PEN
,"_wxPen_p");
463 pyobj
= PyString_FromString(ptemp
);
467 static int _wrap_wxWHITE_PEN_set(PyObject
*val
) {
469 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_PEN is read-only.");
473 static PyObject
*_wrap_wxWHITE_PEN_get() {
477 SWIG_MakePtr(ptemp
, (char *) wxWHITE_PEN
,"_wxPen_p");
478 pyobj
= PyString_FromString(ptemp
);
482 static int _wrap_wxTRANSPARENT_PEN_set(PyObject
*val
) {
484 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_PEN is read-only.");
488 static PyObject
*_wrap_wxTRANSPARENT_PEN_get() {
492 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_PEN
,"_wxPen_p");
493 pyobj
= PyString_FromString(ptemp
);
497 static int _wrap_wxBLACK_DASHED_PEN_set(PyObject
*val
) {
499 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_DASHED_PEN is read-only.");
503 static PyObject
*_wrap_wxBLACK_DASHED_PEN_get() {
507 SWIG_MakePtr(ptemp
, (char *) wxBLACK_DASHED_PEN
,"_wxPen_p");
508 pyobj
= PyString_FromString(ptemp
);
512 static int _wrap_wxGREY_PEN_set(PyObject
*val
) {
514 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_PEN is read-only.");
518 static PyObject
*_wrap_wxGREY_PEN_get() {
522 SWIG_MakePtr(ptemp
, (char *) wxGREY_PEN
,"_wxPen_p");
523 pyobj
= PyString_FromString(ptemp
);
527 static int _wrap_wxMEDIUM_GREY_PEN_set(PyObject
*val
) {
529 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_PEN is read-only.");
533 static PyObject
*_wrap_wxMEDIUM_GREY_PEN_get() {
537 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_PEN
,"_wxPen_p");
538 pyobj
= PyString_FromString(ptemp
);
542 static int _wrap_wxLIGHT_GREY_PEN_set(PyObject
*val
) {
544 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_PEN is read-only.");
548 static PyObject
*_wrap_wxLIGHT_GREY_PEN_get() {
552 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_PEN
,"_wxPen_p");
553 pyobj
= PyString_FromString(ptemp
);
557 static int _wrap_wxBLUE_BRUSH_set(PyObject
*val
) {
559 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE_BRUSH is read-only.");
563 static PyObject
*_wrap_wxBLUE_BRUSH_get() {
567 SWIG_MakePtr(ptemp
, (char *) wxBLUE_BRUSH
,"_wxBrush_p");
568 pyobj
= PyString_FromString(ptemp
);
572 static int _wrap_wxGREEN_BRUSH_set(PyObject
*val
) {
574 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_BRUSH is read-only.");
578 static PyObject
*_wrap_wxGREEN_BRUSH_get() {
582 SWIG_MakePtr(ptemp
, (char *) wxGREEN_BRUSH
,"_wxBrush_p");
583 pyobj
= PyString_FromString(ptemp
);
587 static int _wrap_wxWHITE_BRUSH_set(PyObject
*val
) {
589 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_BRUSH is read-only.");
593 static PyObject
*_wrap_wxWHITE_BRUSH_get() {
597 SWIG_MakePtr(ptemp
, (char *) wxWHITE_BRUSH
,"_wxBrush_p");
598 pyobj
= PyString_FromString(ptemp
);
602 static int _wrap_wxBLACK_BRUSH_set(PyObject
*val
) {
604 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_BRUSH is read-only.");
608 static PyObject
*_wrap_wxBLACK_BRUSH_get() {
612 SWIG_MakePtr(ptemp
, (char *) wxBLACK_BRUSH
,"_wxBrush_p");
613 pyobj
= PyString_FromString(ptemp
);
617 static int _wrap_wxTRANSPARENT_BRUSH_set(PyObject
*val
) {
619 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_BRUSH is read-only.");
623 static PyObject
*_wrap_wxTRANSPARENT_BRUSH_get() {
627 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_BRUSH
,"_wxBrush_p");
628 pyobj
= PyString_FromString(ptemp
);
632 static int _wrap_wxCYAN_BRUSH_set(PyObject
*val
) {
634 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_BRUSH is read-only.");
638 static PyObject
*_wrap_wxCYAN_BRUSH_get() {
642 SWIG_MakePtr(ptemp
, (char *) wxCYAN_BRUSH
,"_wxBrush_p");
643 pyobj
= PyString_FromString(ptemp
);
647 static int _wrap_wxRED_BRUSH_set(PyObject
*val
) {
649 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_BRUSH is read-only.");
653 static PyObject
*_wrap_wxRED_BRUSH_get() {
657 SWIG_MakePtr(ptemp
, (char *) wxRED_BRUSH
,"_wxBrush_p");
658 pyobj
= PyString_FromString(ptemp
);
662 static int _wrap_wxGREY_BRUSH_set(PyObject
*val
) {
664 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_BRUSH is read-only.");
668 static PyObject
*_wrap_wxGREY_BRUSH_get() {
672 SWIG_MakePtr(ptemp
, (char *) wxGREY_BRUSH
,"_wxBrush_p");
673 pyobj
= PyString_FromString(ptemp
);
677 static int _wrap_wxMEDIUM_GREY_BRUSH_set(PyObject
*val
) {
679 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_BRUSH is read-only.");
683 static PyObject
*_wrap_wxMEDIUM_GREY_BRUSH_get() {
687 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_BRUSH
,"_wxBrush_p");
688 pyobj
= PyString_FromString(ptemp
);
692 static int _wrap_wxLIGHT_GREY_BRUSH_set(PyObject
*val
) {
694 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_BRUSH is read-only.");
698 static PyObject
*_wrap_wxLIGHT_GREY_BRUSH_get() {
702 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_BRUSH
,"_wxBrush_p");
703 pyobj
= PyString_FromString(ptemp
);
707 static int _wrap_wxBLACK_set(PyObject
*val
) {
709 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK is read-only.");
713 static PyObject
*_wrap_wxBLACK_get() {
717 SWIG_MakePtr(ptemp
, (char *) wxBLACK
,"_wxColour_p");
718 pyobj
= PyString_FromString(ptemp
);
722 static int _wrap_wxWHITE_set(PyObject
*val
) {
724 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE is read-only.");
728 static PyObject
*_wrap_wxWHITE_get() {
732 SWIG_MakePtr(ptemp
, (char *) wxWHITE
,"_wxColour_p");
733 pyobj
= PyString_FromString(ptemp
);
737 static int _wrap_wxRED_set(PyObject
*val
) {
739 PyErr_SetString(PyExc_TypeError
,"Variable wxRED is read-only.");
743 static PyObject
*_wrap_wxRED_get() {
747 SWIG_MakePtr(ptemp
, (char *) wxRED
,"_wxColour_p");
748 pyobj
= PyString_FromString(ptemp
);
752 static int _wrap_wxBLUE_set(PyObject
*val
) {
754 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE is read-only.");
758 static PyObject
*_wrap_wxBLUE_get() {
762 SWIG_MakePtr(ptemp
, (char *) wxBLUE
,"_wxColour_p");
763 pyobj
= PyString_FromString(ptemp
);
767 static int _wrap_wxGREEN_set(PyObject
*val
) {
769 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN is read-only.");
773 static PyObject
*_wrap_wxGREEN_get() {
777 SWIG_MakePtr(ptemp
, (char *) wxGREEN
,"_wxColour_p");
778 pyobj
= PyString_FromString(ptemp
);
782 static int _wrap_wxCYAN_set(PyObject
*val
) {
784 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN is read-only.");
788 static PyObject
*_wrap_wxCYAN_get() {
792 SWIG_MakePtr(ptemp
, (char *) wxCYAN
,"_wxColour_p");
793 pyobj
= PyString_FromString(ptemp
);
797 static int _wrap_wxLIGHT_GREY_set(PyObject
*val
) {
799 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY is read-only.");
803 static PyObject
*_wrap_wxLIGHT_GREY_get() {
807 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY
,"_wxColour_p");
808 pyobj
= PyString_FromString(ptemp
);
812 static int _wrap_wxSTANDARD_CURSOR_set(PyObject
*val
) {
814 PyErr_SetString(PyExc_TypeError
,"Variable wxSTANDARD_CURSOR is read-only.");
818 static PyObject
*_wrap_wxSTANDARD_CURSOR_get() {
822 SWIG_MakePtr(ptemp
, (char *) wxSTANDARD_CURSOR
,"_wxCursor_p");
823 pyobj
= PyString_FromString(ptemp
);
827 static int _wrap_wxHOURGLASS_CURSOR_set(PyObject
*val
) {
829 PyErr_SetString(PyExc_TypeError
,"Variable wxHOURGLASS_CURSOR is read-only.");
833 static PyObject
*_wrap_wxHOURGLASS_CURSOR_get() {
837 SWIG_MakePtr(ptemp
, (char *) wxHOURGLASS_CURSOR
,"_wxCursor_p");
838 pyobj
= PyString_FromString(ptemp
);
842 static int _wrap_wxCROSS_CURSOR_set(PyObject
*val
) {
844 PyErr_SetString(PyExc_TypeError
,"Variable wxCROSS_CURSOR is read-only.");
848 static PyObject
*_wrap_wxCROSS_CURSOR_get() {
852 SWIG_MakePtr(ptemp
, (char *) wxCROSS_CURSOR
,"_wxCursor_p");
853 pyobj
= PyString_FromString(ptemp
);
857 static int _wrap_wxNullBitmap_set(PyObject
*val
) {
859 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBitmap is read-only.");
863 static PyObject
*_wrap_wxNullBitmap_get() {
867 SWIG_MakePtr(ptemp
,(char *) &wxNullBitmap
,"_wxBitmap_p");
868 pyobj
= PyString_FromString(ptemp
);
872 static int _wrap_wxNullIcon_set(PyObject
*val
) {
874 PyErr_SetString(PyExc_TypeError
,"Variable wxNullIcon is read-only.");
878 static PyObject
*_wrap_wxNullIcon_get() {
882 SWIG_MakePtr(ptemp
,(char *) &wxNullIcon
,"_wxIcon_p");
883 pyobj
= PyString_FromString(ptemp
);
887 static int _wrap_wxNullCursor_set(PyObject
*val
) {
889 PyErr_SetString(PyExc_TypeError
,"Variable wxNullCursor is read-only.");
893 static PyObject
*_wrap_wxNullCursor_get() {
897 SWIG_MakePtr(ptemp
,(char *) &wxNullCursor
,"_wxCursor_p");
898 pyobj
= PyString_FromString(ptemp
);
902 static int _wrap_wxNullPen_set(PyObject
*val
) {
904 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPen is read-only.");
908 static PyObject
*_wrap_wxNullPen_get() {
912 SWIG_MakePtr(ptemp
,(char *) &wxNullPen
,"_wxPen_p");
913 pyobj
= PyString_FromString(ptemp
);
917 static int _wrap_wxNullBrush_set(PyObject
*val
) {
919 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBrush is read-only.");
923 static PyObject
*_wrap_wxNullBrush_get() {
927 SWIG_MakePtr(ptemp
,(char *) &wxNullBrush
,"_wxBrush_p");
928 pyobj
= PyString_FromString(ptemp
);
932 static int _wrap_wxNullPalette_set(PyObject
*val
) {
934 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPalette is read-only.");
938 static PyObject
*_wrap_wxNullPalette_get() {
942 SWIG_MakePtr(ptemp
,(char *) &wxNullPalette
,"_wxPalette_p");
943 pyobj
= PyString_FromString(ptemp
);
947 static int _wrap_wxNullFont_set(PyObject
*val
) {
949 PyErr_SetString(PyExc_TypeError
,"Variable wxNullFont is read-only.");
953 static PyObject
*_wrap_wxNullFont_get() {
957 SWIG_MakePtr(ptemp
,(char *) &wxNullFont
,"_wxFont_p");
958 pyobj
= PyString_FromString(ptemp
);
962 static int _wrap_wxNullColour_set(PyObject
*val
) {
964 PyErr_SetString(PyExc_TypeError
,"Variable wxNullColour is read-only.");
968 static PyObject
*_wrap_wxNullColour_get() {
972 SWIG_MakePtr(ptemp
,(char *) &wxNullColour
,"_wxColour_p");
973 pyobj
= PyString_FromString(ptemp
);
977 #define new_wxBitmap(_swigarg0,_swigarg1) (new wxBitmap(_swigarg0,_swigarg1))
978 static PyObject
*_wrap_new_wxBitmap(PyObject
*self
, PyObject
*args
) {
979 PyObject
* _resultobj
;
983 PyObject
* _obj0
= 0;
987 if(!PyArg_ParseTuple(args
,"Ol:new_wxBitmap",&_obj0
,&_arg1
))
990 if (!PyString_Check(_obj0
)) {
991 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
994 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
997 wxPy_BEGIN_ALLOW_THREADS
;
998 _result
= (wxBitmap
*)new_wxBitmap(*_arg0
,_arg1
);
1000 wxPy_END_ALLOW_THREADS
;
1001 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1002 _resultobj
= Py_BuildValue("s",_ptemp
);
1010 #define delete_wxBitmap(_swigobj) (delete _swigobj)
1011 static PyObject
*_wrap_delete_wxBitmap(PyObject
*self
, PyObject
*args
) {
1012 PyObject
* _resultobj
;
1017 if(!PyArg_ParseTuple(args
,"s:delete_wxBitmap",&_argc0
))
1020 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBitmap. Expected _wxBitmap_p.");
1026 wxPy_BEGIN_ALLOW_THREADS
;
1027 delete_wxBitmap(_arg0
);
1029 wxPy_END_ALLOW_THREADS
;
1030 } Py_INCREF(Py_None
);
1031 _resultobj
= Py_None
;
1035 #define wxBitmap_GetDepth(_swigobj) (_swigobj->GetDepth())
1036 static PyObject
*_wrap_wxBitmap_GetDepth(PyObject
*self
, PyObject
*args
) {
1037 PyObject
* _resultobj
;
1043 if(!PyArg_ParseTuple(args
,"s:wxBitmap_GetDepth",&_argc0
))
1046 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetDepth. Expected _wxBitmap_p.");
1052 wxPy_BEGIN_ALLOW_THREADS
;
1053 _result
= (int )wxBitmap_GetDepth(_arg0
);
1055 wxPy_END_ALLOW_THREADS
;
1056 } _resultobj
= Py_BuildValue("i",_result
);
1060 #define wxBitmap_GetHeight(_swigobj) (_swigobj->GetHeight())
1061 static PyObject
*_wrap_wxBitmap_GetHeight(PyObject
*self
, PyObject
*args
) {
1062 PyObject
* _resultobj
;
1068 if(!PyArg_ParseTuple(args
,"s:wxBitmap_GetHeight",&_argc0
))
1071 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetHeight. Expected _wxBitmap_p.");
1077 wxPy_BEGIN_ALLOW_THREADS
;
1078 _result
= (int )wxBitmap_GetHeight(_arg0
);
1080 wxPy_END_ALLOW_THREADS
;
1081 } _resultobj
= Py_BuildValue("i",_result
);
1085 #define wxBitmap_GetPalette(_swigobj) (_swigobj->GetPalette())
1086 static PyObject
*_wrap_wxBitmap_GetPalette(PyObject
*self
, PyObject
*args
) {
1087 PyObject
* _resultobj
;
1088 wxPalette
* _result
;
1094 if(!PyArg_ParseTuple(args
,"s:wxBitmap_GetPalette",&_argc0
))
1097 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetPalette. Expected _wxBitmap_p.");
1103 wxPy_BEGIN_ALLOW_THREADS
;
1104 _result
= (wxPalette
*)wxBitmap_GetPalette(_arg0
);
1106 wxPy_END_ALLOW_THREADS
;
1107 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
1108 _resultobj
= Py_BuildValue("s",_ptemp
);
1112 #define wxBitmap_GetMask(_swigobj) (_swigobj->GetMask())
1113 static PyObject
*_wrap_wxBitmap_GetMask(PyObject
*self
, PyObject
*args
) {
1114 PyObject
* _resultobj
;
1121 if(!PyArg_ParseTuple(args
,"s:wxBitmap_GetMask",&_argc0
))
1124 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetMask. Expected _wxBitmap_p.");
1130 wxPy_BEGIN_ALLOW_THREADS
;
1131 _result
= (wxMask
*)wxBitmap_GetMask(_arg0
);
1133 wxPy_END_ALLOW_THREADS
;
1134 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
1135 _resultobj
= Py_BuildValue("s",_ptemp
);
1139 #define wxBitmap_GetWidth(_swigobj) (_swigobj->GetWidth())
1140 static PyObject
*_wrap_wxBitmap_GetWidth(PyObject
*self
, PyObject
*args
) {
1141 PyObject
* _resultobj
;
1147 if(!PyArg_ParseTuple(args
,"s:wxBitmap_GetWidth",&_argc0
))
1150 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetWidth. Expected _wxBitmap_p.");
1156 wxPy_BEGIN_ALLOW_THREADS
;
1157 _result
= (int )wxBitmap_GetWidth(_arg0
);
1159 wxPy_END_ALLOW_THREADS
;
1160 } _resultobj
= Py_BuildValue("i",_result
);
1164 #define wxBitmap_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1165 static PyObject
*_wrap_wxBitmap_LoadFile(PyObject
*self
, PyObject
*args
) {
1166 PyObject
* _resultobj
;
1172 PyObject
* _obj1
= 0;
1175 if(!PyArg_ParseTuple(args
,"sOl:wxBitmap_LoadFile",&_argc0
,&_obj1
,&_arg2
))
1178 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_LoadFile. Expected _wxBitmap_p.");
1184 if (!PyString_Check(_obj1
)) {
1185 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1188 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1191 wxPy_BEGIN_ALLOW_THREADS
;
1192 _result
= (bool )wxBitmap_LoadFile(_arg0
,*_arg1
,_arg2
);
1194 wxPy_END_ALLOW_THREADS
;
1195 } _resultobj
= Py_BuildValue("i",_result
);
1203 #define wxBitmap_Ok(_swigobj) (_swigobj->Ok())
1204 static PyObject
*_wrap_wxBitmap_Ok(PyObject
*self
, PyObject
*args
) {
1205 PyObject
* _resultobj
;
1211 if(!PyArg_ParseTuple(args
,"s:wxBitmap_Ok",&_argc0
))
1214 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_Ok. Expected _wxBitmap_p.");
1220 wxPy_BEGIN_ALLOW_THREADS
;
1221 _result
= (bool )wxBitmap_Ok(_arg0
);
1223 wxPy_END_ALLOW_THREADS
;
1224 } _resultobj
= Py_BuildValue("i",_result
);
1228 #define wxBitmap_SaveFile(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SaveFile(_swigarg0,_swigarg1,_swigarg2))
1229 static PyObject
*_wrap_wxBitmap_SaveFile(PyObject
*self
, PyObject
*args
) {
1230 PyObject
* _resultobj
;
1235 wxPalette
* _arg3
= NULL
;
1237 PyObject
* _obj1
= 0;
1241 if(!PyArg_ParseTuple(args
,"sOi|s:wxBitmap_SaveFile",&_argc0
,&_obj1
,&_arg2
,&_argc3
))
1244 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SaveFile. Expected _wxBitmap_p.");
1250 if (!PyString_Check(_obj1
)) {
1251 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1254 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1257 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxPalette_p")) {
1258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxBitmap_SaveFile. Expected _wxPalette_p.");
1263 wxPy_BEGIN_ALLOW_THREADS
;
1264 _result
= (bool )wxBitmap_SaveFile(_arg0
,*_arg1
,_arg2
,_arg3
);
1266 wxPy_END_ALLOW_THREADS
;
1267 } _resultobj
= Py_BuildValue("i",_result
);
1275 #define wxBitmap_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
1276 static PyObject
*_wrap_wxBitmap_SetDepth(PyObject
*self
, PyObject
*args
) {
1277 PyObject
* _resultobj
;
1283 if(!PyArg_ParseTuple(args
,"si:wxBitmap_SetDepth",&_argc0
,&_arg1
))
1286 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetDepth. Expected _wxBitmap_p.");
1292 wxPy_BEGIN_ALLOW_THREADS
;
1293 wxBitmap_SetDepth(_arg0
,_arg1
);
1295 wxPy_END_ALLOW_THREADS
;
1296 } Py_INCREF(Py_None
);
1297 _resultobj
= Py_None
;
1301 #define wxBitmap_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1302 static PyObject
*_wrap_wxBitmap_SetHeight(PyObject
*self
, PyObject
*args
) {
1303 PyObject
* _resultobj
;
1309 if(!PyArg_ParseTuple(args
,"si:wxBitmap_SetHeight",&_argc0
,&_arg1
))
1312 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetHeight. Expected _wxBitmap_p.");
1318 wxPy_BEGIN_ALLOW_THREADS
;
1319 wxBitmap_SetHeight(_arg0
,_arg1
);
1321 wxPy_END_ALLOW_THREADS
;
1322 } Py_INCREF(Py_None
);
1323 _resultobj
= Py_None
;
1327 #define wxBitmap_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
1328 static PyObject
*_wrap_wxBitmap_SetMask(PyObject
*self
, PyObject
*args
) {
1329 PyObject
* _resultobj
;
1336 if(!PyArg_ParseTuple(args
,"ss:wxBitmap_SetMask",&_argc0
,&_argc1
))
1339 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetMask. Expected _wxBitmap_p.");
1345 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxMask_p")) {
1346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_SetMask. Expected _wxMask_p.");
1351 wxPy_BEGIN_ALLOW_THREADS
;
1352 wxBitmap_SetMask(_arg0
,_arg1
);
1354 wxPy_END_ALLOW_THREADS
;
1355 } Py_INCREF(Py_None
);
1356 _resultobj
= Py_None
;
1360 #define wxBitmap_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1361 static PyObject
*_wrap_wxBitmap_SetWidth(PyObject
*self
, PyObject
*args
) {
1362 PyObject
* _resultobj
;
1368 if(!PyArg_ParseTuple(args
,"si:wxBitmap_SetWidth",&_argc0
,&_arg1
))
1371 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetWidth. Expected _wxBitmap_p.");
1377 wxPy_BEGIN_ALLOW_THREADS
;
1378 wxBitmap_SetWidth(_arg0
,_arg1
);
1380 wxPy_END_ALLOW_THREADS
;
1381 } Py_INCREF(Py_None
);
1382 _resultobj
= Py_None
;
1386 #define new_wxMask(_swigarg0) (new wxMask(_swigarg0))
1387 static PyObject
*_wrap_new_wxMask(PyObject
*self
, PyObject
*args
) {
1388 PyObject
* _resultobj
;
1395 if(!PyArg_ParseTuple(args
,"s:new_wxMask",&_argc0
))
1398 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMask. Expected _wxBitmap_p.");
1404 wxPy_BEGIN_ALLOW_THREADS
;
1405 _result
= (wxMask
*)new_wxMask(*_arg0
);
1407 wxPy_END_ALLOW_THREADS
;
1408 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
1409 _resultobj
= Py_BuildValue("s",_ptemp
);
1413 #define delete_wxMask(_swigobj) (delete _swigobj)
1414 static PyObject
*_wrap_delete_wxMask(PyObject
*self
, PyObject
*args
) {
1415 PyObject
* _resultobj
;
1420 if(!PyArg_ParseTuple(args
,"s:delete_wxMask",&_argc0
))
1423 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMask_p")) {
1424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMask. Expected _wxMask_p.");
1429 wxPy_BEGIN_ALLOW_THREADS
;
1430 delete_wxMask(_arg0
);
1432 wxPy_END_ALLOW_THREADS
;
1433 } Py_INCREF(Py_None
);
1434 _resultobj
= Py_None
;
1438 static void *SwigwxIconTowxBitmap(void *ptr
) {
1441 src
= (wxIcon
*) ptr
;
1442 dest
= (wxBitmap
*) src
;
1443 return (void *) dest
;
1446 #define delete_wxIcon(_swigobj) (delete _swigobj)
1447 static PyObject
*_wrap_delete_wxIcon(PyObject
*self
, PyObject
*args
) {
1448 PyObject
* _resultobj
;
1453 if(!PyArg_ParseTuple(args
,"s:delete_wxIcon",&_argc0
))
1456 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxIcon. Expected _wxIcon_p.");
1462 wxPy_BEGIN_ALLOW_THREADS
;
1463 delete_wxIcon(_arg0
);
1465 wxPy_END_ALLOW_THREADS
;
1466 } Py_INCREF(Py_None
);
1467 _resultobj
= Py_None
;
1471 #define wxIcon_GetDepth(_swigobj) (_swigobj->GetDepth())
1472 static PyObject
*_wrap_wxIcon_GetDepth(PyObject
*self
, PyObject
*args
) {
1473 PyObject
* _resultobj
;
1479 if(!PyArg_ParseTuple(args
,"s:wxIcon_GetDepth",&_argc0
))
1482 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetDepth. Expected _wxIcon_p.");
1488 wxPy_BEGIN_ALLOW_THREADS
;
1489 _result
= (int )wxIcon_GetDepth(_arg0
);
1491 wxPy_END_ALLOW_THREADS
;
1492 } _resultobj
= Py_BuildValue("i",_result
);
1496 #define wxIcon_GetHeight(_swigobj) (_swigobj->GetHeight())
1497 static PyObject
*_wrap_wxIcon_GetHeight(PyObject
*self
, PyObject
*args
) {
1498 PyObject
* _resultobj
;
1504 if(!PyArg_ParseTuple(args
,"s:wxIcon_GetHeight",&_argc0
))
1507 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetHeight. Expected _wxIcon_p.");
1513 wxPy_BEGIN_ALLOW_THREADS
;
1514 _result
= (int )wxIcon_GetHeight(_arg0
);
1516 wxPy_END_ALLOW_THREADS
;
1517 } _resultobj
= Py_BuildValue("i",_result
);
1521 #define wxIcon_GetWidth(_swigobj) (_swigobj->GetWidth())
1522 static PyObject
*_wrap_wxIcon_GetWidth(PyObject
*self
, PyObject
*args
) {
1523 PyObject
* _resultobj
;
1529 if(!PyArg_ParseTuple(args
,"s:wxIcon_GetWidth",&_argc0
))
1532 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetWidth. Expected _wxIcon_p.");
1538 wxPy_BEGIN_ALLOW_THREADS
;
1539 _result
= (int )wxIcon_GetWidth(_arg0
);
1541 wxPy_END_ALLOW_THREADS
;
1542 } _resultobj
= Py_BuildValue("i",_result
);
1546 #define wxIcon_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1547 static PyObject
*_wrap_wxIcon_LoadFile(PyObject
*self
, PyObject
*args
) {
1548 PyObject
* _resultobj
;
1554 PyObject
* _obj1
= 0;
1557 if(!PyArg_ParseTuple(args
,"sOl:wxIcon_LoadFile",&_argc0
,&_obj1
,&_arg2
))
1560 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_LoadFile. Expected _wxIcon_p.");
1566 if (!PyString_Check(_obj1
)) {
1567 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1570 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1573 wxPy_BEGIN_ALLOW_THREADS
;
1574 _result
= (bool )wxIcon_LoadFile(_arg0
,*_arg1
,_arg2
);
1576 wxPy_END_ALLOW_THREADS
;
1577 } _resultobj
= Py_BuildValue("i",_result
);
1585 #define wxIcon_Ok(_swigobj) (_swigobj->Ok())
1586 static PyObject
*_wrap_wxIcon_Ok(PyObject
*self
, PyObject
*args
) {
1587 PyObject
* _resultobj
;
1593 if(!PyArg_ParseTuple(args
,"s:wxIcon_Ok",&_argc0
))
1596 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_Ok. Expected _wxIcon_p.");
1602 wxPy_BEGIN_ALLOW_THREADS
;
1603 _result
= (bool )wxIcon_Ok(_arg0
);
1605 wxPy_END_ALLOW_THREADS
;
1606 } _resultobj
= Py_BuildValue("i",_result
);
1610 #define wxIcon_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
1611 static PyObject
*_wrap_wxIcon_SetDepth(PyObject
*self
, PyObject
*args
) {
1612 PyObject
* _resultobj
;
1618 if(!PyArg_ParseTuple(args
,"si:wxIcon_SetDepth",&_argc0
,&_arg1
))
1621 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetDepth. Expected _wxIcon_p.");
1627 wxPy_BEGIN_ALLOW_THREADS
;
1628 wxIcon_SetDepth(_arg0
,_arg1
);
1630 wxPy_END_ALLOW_THREADS
;
1631 } Py_INCREF(Py_None
);
1632 _resultobj
= Py_None
;
1636 #define wxIcon_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1637 static PyObject
*_wrap_wxIcon_SetHeight(PyObject
*self
, PyObject
*args
) {
1638 PyObject
* _resultobj
;
1644 if(!PyArg_ParseTuple(args
,"si:wxIcon_SetHeight",&_argc0
,&_arg1
))
1647 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetHeight. Expected _wxIcon_p.");
1653 wxPy_BEGIN_ALLOW_THREADS
;
1654 wxIcon_SetHeight(_arg0
,_arg1
);
1656 wxPy_END_ALLOW_THREADS
;
1657 } Py_INCREF(Py_None
);
1658 _resultobj
= Py_None
;
1662 #define wxIcon_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1663 static PyObject
*_wrap_wxIcon_SetWidth(PyObject
*self
, PyObject
*args
) {
1664 PyObject
* _resultobj
;
1670 if(!PyArg_ParseTuple(args
,"si:wxIcon_SetWidth",&_argc0
,&_arg1
))
1673 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetWidth. Expected _wxIcon_p.");
1679 wxPy_BEGIN_ALLOW_THREADS
;
1680 wxIcon_SetWidth(_arg0
,_arg1
);
1682 wxPy_END_ALLOW_THREADS
;
1683 } Py_INCREF(Py_None
);
1684 _resultobj
= Py_None
;
1688 static void *SwigwxCursorTowxBitmap(void *ptr
) {
1691 src
= (wxCursor
*) ptr
;
1692 dest
= (wxBitmap
*) src
;
1693 return (void *) dest
;
1696 #define delete_wxCursor(_swigobj) (delete _swigobj)
1697 static PyObject
*_wrap_delete_wxCursor(PyObject
*self
, PyObject
*args
) {
1698 PyObject
* _resultobj
;
1703 if(!PyArg_ParseTuple(args
,"s:delete_wxCursor",&_argc0
))
1706 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxCursor_p")) {
1707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCursor. Expected _wxCursor_p.");
1712 wxPy_BEGIN_ALLOW_THREADS
;
1713 delete_wxCursor(_arg0
);
1715 wxPy_END_ALLOW_THREADS
;
1716 } Py_INCREF(Py_None
);
1717 _resultobj
= Py_None
;
1721 #define wxCursor_Ok(_swigobj) (_swigobj->Ok())
1722 static PyObject
*_wrap_wxCursor_Ok(PyObject
*self
, PyObject
*args
) {
1723 PyObject
* _resultobj
;
1729 if(!PyArg_ParseTuple(args
,"s:wxCursor_Ok",&_argc0
))
1732 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxCursor_p")) {
1733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_Ok. Expected _wxCursor_p.");
1738 wxPy_BEGIN_ALLOW_THREADS
;
1739 _result
= (bool )wxCursor_Ok(_arg0
);
1741 wxPy_END_ALLOW_THREADS
;
1742 } _resultobj
= Py_BuildValue("i",_result
);
1746 static wxFont
*new_wxFont(int pointSize
,int family
,int style
,int weight
,int underline
,char *faceName
) {
1748 return wxTheFontList
->FindOrCreateFont(pointSize
, family
, style
, weight
,
1749 underline
, faceName
);
1752 static PyObject
*_wrap_new_wxFont(PyObject
*self
, PyObject
*args
) {
1753 PyObject
* _resultobj
;
1764 if(!PyArg_ParseTuple(args
,"iiii|is:new_wxFont",&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
1767 wxPy_BEGIN_ALLOW_THREADS
;
1768 _result
= (wxFont
*)new_wxFont(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1770 wxPy_END_ALLOW_THREADS
;
1771 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1772 _resultobj
= Py_BuildValue("s",_ptemp
);
1776 #define wxFont_GetFaceName(_swigobj) (_swigobj->GetFaceName())
1777 static PyObject
*_wrap_wxFont_GetFaceName(PyObject
*self
, PyObject
*args
) {
1778 PyObject
* _resultobj
;
1784 if(!PyArg_ParseTuple(args
,"s:wxFont_GetFaceName",&_argc0
))
1787 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFaceName. Expected _wxFont_p.");
1793 wxPy_BEGIN_ALLOW_THREADS
;
1794 _result
= new wxString (wxFont_GetFaceName(_arg0
));
1796 wxPy_END_ALLOW_THREADS
;
1798 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1806 #define wxFont_GetFamily(_swigobj) (_swigobj->GetFamily())
1807 static PyObject
*_wrap_wxFont_GetFamily(PyObject
*self
, PyObject
*args
) {
1808 PyObject
* _resultobj
;
1814 if(!PyArg_ParseTuple(args
,"s:wxFont_GetFamily",&_argc0
))
1817 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFamily. Expected _wxFont_p.");
1823 wxPy_BEGIN_ALLOW_THREADS
;
1824 _result
= (int )wxFont_GetFamily(_arg0
);
1826 wxPy_END_ALLOW_THREADS
;
1827 } _resultobj
= Py_BuildValue("i",_result
);
1831 #define wxFont_GetPointSize(_swigobj) (_swigobj->GetPointSize())
1832 static PyObject
*_wrap_wxFont_GetPointSize(PyObject
*self
, PyObject
*args
) {
1833 PyObject
* _resultobj
;
1839 if(!PyArg_ParseTuple(args
,"s:wxFont_GetPointSize",&_argc0
))
1842 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetPointSize. Expected _wxFont_p.");
1848 wxPy_BEGIN_ALLOW_THREADS
;
1849 _result
= (int )wxFont_GetPointSize(_arg0
);
1851 wxPy_END_ALLOW_THREADS
;
1852 } _resultobj
= Py_BuildValue("i",_result
);
1856 #define wxFont_GetStyle(_swigobj) (_swigobj->GetStyle())
1857 static PyObject
*_wrap_wxFont_GetStyle(PyObject
*self
, PyObject
*args
) {
1858 PyObject
* _resultobj
;
1864 if(!PyArg_ParseTuple(args
,"s:wxFont_GetStyle",&_argc0
))
1867 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetStyle. Expected _wxFont_p.");
1873 wxPy_BEGIN_ALLOW_THREADS
;
1874 _result
= (int )wxFont_GetStyle(_arg0
);
1876 wxPy_END_ALLOW_THREADS
;
1877 } _resultobj
= Py_BuildValue("i",_result
);
1881 #define wxFont_GetUnderlined(_swigobj) (_swigobj->GetUnderlined())
1882 static PyObject
*_wrap_wxFont_GetUnderlined(PyObject
*self
, PyObject
*args
) {
1883 PyObject
* _resultobj
;
1889 if(!PyArg_ParseTuple(args
,"s:wxFont_GetUnderlined",&_argc0
))
1892 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetUnderlined. Expected _wxFont_p.");
1898 wxPy_BEGIN_ALLOW_THREADS
;
1899 _result
= (bool )wxFont_GetUnderlined(_arg0
);
1901 wxPy_END_ALLOW_THREADS
;
1902 } _resultobj
= Py_BuildValue("i",_result
);
1906 #define wxFont_GetWeight(_swigobj) (_swigobj->GetWeight())
1907 static PyObject
*_wrap_wxFont_GetWeight(PyObject
*self
, PyObject
*args
) {
1908 PyObject
* _resultobj
;
1914 if(!PyArg_ParseTuple(args
,"s:wxFont_GetWeight",&_argc0
))
1917 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetWeight. Expected _wxFont_p.");
1923 wxPy_BEGIN_ALLOW_THREADS
;
1924 _result
= (int )wxFont_GetWeight(_arg0
);
1926 wxPy_END_ALLOW_THREADS
;
1927 } _resultobj
= Py_BuildValue("i",_result
);
1931 #define wxFont_SetFaceName(_swigobj,_swigarg0) (_swigobj->SetFaceName(_swigarg0))
1932 static PyObject
*_wrap_wxFont_SetFaceName(PyObject
*self
, PyObject
*args
) {
1933 PyObject
* _resultobj
;
1937 PyObject
* _obj1
= 0;
1940 if(!PyArg_ParseTuple(args
,"sO:wxFont_SetFaceName",&_argc0
,&_obj1
))
1943 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFaceName. Expected _wxFont_p.");
1949 if (!PyString_Check(_obj1
)) {
1950 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1953 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1956 wxPy_BEGIN_ALLOW_THREADS
;
1957 wxFont_SetFaceName(_arg0
,*_arg1
);
1959 wxPy_END_ALLOW_THREADS
;
1960 } Py_INCREF(Py_None
);
1961 _resultobj
= Py_None
;
1969 #define wxFont_SetFamily(_swigobj,_swigarg0) (_swigobj->SetFamily(_swigarg0))
1970 static PyObject
*_wrap_wxFont_SetFamily(PyObject
*self
, PyObject
*args
) {
1971 PyObject
* _resultobj
;
1977 if(!PyArg_ParseTuple(args
,"si:wxFont_SetFamily",&_argc0
,&_arg1
))
1980 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFamily. Expected _wxFont_p.");
1986 wxPy_BEGIN_ALLOW_THREADS
;
1987 wxFont_SetFamily(_arg0
,_arg1
);
1989 wxPy_END_ALLOW_THREADS
;
1990 } Py_INCREF(Py_None
);
1991 _resultobj
= Py_None
;
1995 #define wxFont_SetPointSize(_swigobj,_swigarg0) (_swigobj->SetPointSize(_swigarg0))
1996 static PyObject
*_wrap_wxFont_SetPointSize(PyObject
*self
, PyObject
*args
) {
1997 PyObject
* _resultobj
;
2003 if(!PyArg_ParseTuple(args
,"si:wxFont_SetPointSize",&_argc0
,&_arg1
))
2006 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
2007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetPointSize. Expected _wxFont_p.");
2012 wxPy_BEGIN_ALLOW_THREADS
;
2013 wxFont_SetPointSize(_arg0
,_arg1
);
2015 wxPy_END_ALLOW_THREADS
;
2016 } Py_INCREF(Py_None
);
2017 _resultobj
= Py_None
;
2021 #define wxFont_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
2022 static PyObject
*_wrap_wxFont_SetStyle(PyObject
*self
, PyObject
*args
) {
2023 PyObject
* _resultobj
;
2029 if(!PyArg_ParseTuple(args
,"si:wxFont_SetStyle",&_argc0
,&_arg1
))
2032 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
2033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetStyle. Expected _wxFont_p.");
2038 wxPy_BEGIN_ALLOW_THREADS
;
2039 wxFont_SetStyle(_arg0
,_arg1
);
2041 wxPy_END_ALLOW_THREADS
;
2042 } Py_INCREF(Py_None
);
2043 _resultobj
= Py_None
;
2047 #define wxFont_SetUnderlined(_swigobj,_swigarg0) (_swigobj->SetUnderlined(_swigarg0))
2048 static PyObject
*_wrap_wxFont_SetUnderlined(PyObject
*self
, PyObject
*args
) {
2049 PyObject
* _resultobj
;
2056 if(!PyArg_ParseTuple(args
,"si:wxFont_SetUnderlined",&_argc0
,&tempbool1
))
2059 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
2060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetUnderlined. Expected _wxFont_p.");
2064 _arg1
= (bool ) tempbool1
;
2066 wxPy_BEGIN_ALLOW_THREADS
;
2067 wxFont_SetUnderlined(_arg0
,_arg1
);
2069 wxPy_END_ALLOW_THREADS
;
2070 } Py_INCREF(Py_None
);
2071 _resultobj
= Py_None
;
2075 #define wxFont_SetWeight(_swigobj,_swigarg0) (_swigobj->SetWeight(_swigarg0))
2076 static PyObject
*_wrap_wxFont_SetWeight(PyObject
*self
, PyObject
*args
) {
2077 PyObject
* _resultobj
;
2083 if(!PyArg_ParseTuple(args
,"si:wxFont_SetWeight",&_argc0
,&_arg1
))
2086 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
2087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetWeight. Expected _wxFont_p.");
2092 wxPy_BEGIN_ALLOW_THREADS
;
2093 wxFont_SetWeight(_arg0
,_arg1
);
2095 wxPy_END_ALLOW_THREADS
;
2096 } Py_INCREF(Py_None
);
2097 _resultobj
= Py_None
;
2101 #define new_wxColour(_swigarg0,_swigarg1,_swigarg2) (new wxColour(_swigarg0,_swigarg1,_swigarg2))
2102 static PyObject
*_wrap_new_wxColour(PyObject
*self
, PyObject
*args
) {
2103 PyObject
* _resultobj
;
2105 unsigned char _arg0
= 0;
2106 unsigned char _arg1
= 0;
2107 unsigned char _arg2
= 0;
2111 if(!PyArg_ParseTuple(args
,"|bbb:new_wxColour",&_arg0
,&_arg1
,&_arg2
))
2114 wxPy_BEGIN_ALLOW_THREADS
;
2115 _result
= (wxColour
*)new_wxColour(_arg0
,_arg1
,_arg2
);
2117 wxPy_END_ALLOW_THREADS
;
2118 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
2119 _resultobj
= Py_BuildValue("s",_ptemp
);
2123 #define delete_wxColour(_swigobj) (delete _swigobj)
2124 static PyObject
*_wrap_delete_wxColour(PyObject
*self
, PyObject
*args
) {
2125 PyObject
* _resultobj
;
2130 if(!PyArg_ParseTuple(args
,"s:delete_wxColour",&_argc0
))
2133 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxColour. Expected _wxColour_p.");
2139 wxPy_BEGIN_ALLOW_THREADS
;
2140 delete_wxColour(_arg0
);
2142 wxPy_END_ALLOW_THREADS
;
2143 } Py_INCREF(Py_None
);
2144 _resultobj
= Py_None
;
2148 #define wxColour_Red(_swigobj) (_swigobj->Red())
2149 static PyObject
*_wrap_wxColour_Red(PyObject
*self
, PyObject
*args
) {
2150 PyObject
* _resultobj
;
2151 unsigned char _result
;
2156 if(!PyArg_ParseTuple(args
,"s:wxColour_Red",&_argc0
))
2159 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Red. Expected _wxColour_p.");
2165 wxPy_BEGIN_ALLOW_THREADS
;
2166 _result
= (unsigned char )wxColour_Red(_arg0
);
2168 wxPy_END_ALLOW_THREADS
;
2169 } _resultobj
= Py_BuildValue("b",_result
);
2173 #define wxColour_Green(_swigobj) (_swigobj->Green())
2174 static PyObject
*_wrap_wxColour_Green(PyObject
*self
, PyObject
*args
) {
2175 PyObject
* _resultobj
;
2176 unsigned char _result
;
2181 if(!PyArg_ParseTuple(args
,"s:wxColour_Green",&_argc0
))
2184 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Green. Expected _wxColour_p.");
2190 wxPy_BEGIN_ALLOW_THREADS
;
2191 _result
= (unsigned char )wxColour_Green(_arg0
);
2193 wxPy_END_ALLOW_THREADS
;
2194 } _resultobj
= Py_BuildValue("b",_result
);
2198 #define wxColour_Blue(_swigobj) (_swigobj->Blue())
2199 static PyObject
*_wrap_wxColour_Blue(PyObject
*self
, PyObject
*args
) {
2200 PyObject
* _resultobj
;
2201 unsigned char _result
;
2206 if(!PyArg_ParseTuple(args
,"s:wxColour_Blue",&_argc0
))
2209 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Blue. Expected _wxColour_p.");
2215 wxPy_BEGIN_ALLOW_THREADS
;
2216 _result
= (unsigned char )wxColour_Blue(_arg0
);
2218 wxPy_END_ALLOW_THREADS
;
2219 } _resultobj
= Py_BuildValue("b",_result
);
2223 #define wxColour_Ok(_swigobj) (_swigobj->Ok())
2224 static PyObject
*_wrap_wxColour_Ok(PyObject
*self
, PyObject
*args
) {
2225 PyObject
* _resultobj
;
2231 if(!PyArg_ParseTuple(args
,"s:wxColour_Ok",&_argc0
))
2234 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Ok. Expected _wxColour_p.");
2240 wxPy_BEGIN_ALLOW_THREADS
;
2241 _result
= (bool )wxColour_Ok(_arg0
);
2243 wxPy_END_ALLOW_THREADS
;
2244 } _resultobj
= Py_BuildValue("i",_result
);
2248 #define wxColour_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
2249 static PyObject
*_wrap_wxColour_Set(PyObject
*self
, PyObject
*args
) {
2250 PyObject
* _resultobj
;
2252 unsigned char _arg1
;
2253 unsigned char _arg2
;
2254 unsigned char _arg3
;
2258 if(!PyArg_ParseTuple(args
,"sbbb:wxColour_Set",&_argc0
,&_arg1
,&_arg2
,&_arg3
))
2261 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Set. Expected _wxColour_p.");
2267 wxPy_BEGIN_ALLOW_THREADS
;
2268 wxColour_Set(_arg0
,_arg1
,_arg2
,_arg3
);
2270 wxPy_END_ALLOW_THREADS
;
2271 } Py_INCREF(Py_None
);
2272 _resultobj
= Py_None
;
2276 static PyObject
* wxColour_Get(wxColour
*self
) {
2277 PyObject
* rv
= PyTuple_New(3);
2278 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
2279 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
2280 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
2283 static PyObject
*_wrap_wxColour_Get(PyObject
*self
, PyObject
*args
) {
2284 PyObject
* _resultobj
;
2290 if(!PyArg_ParseTuple(args
,"s:wxColour_Get",&_argc0
))
2293 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Get. Expected _wxColour_p.");
2299 wxPy_BEGIN_ALLOW_THREADS
;
2300 _result
= (PyObject
*)wxColour_Get(_arg0
);
2302 wxPy_END_ALLOW_THREADS
;
2304 _resultobj
= _result
;
2309 static wxPen
*new_wxPen(wxColour
*colour
,int width
,int style
) {
2310 return wxThePenList
->FindOrCreatePen(*colour
, width
, style
);
2313 static PyObject
*_wrap_new_wxPen(PyObject
*self
, PyObject
*args
) {
2314 PyObject
* _resultobj
;
2318 int _arg2
= (wxSOLID
);
2323 if(!PyArg_ParseTuple(args
,"s|ii:new_wxPen",&_argc0
,&_arg1
,&_arg2
))
2326 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPen. Expected _wxColour_p.");
2332 wxPy_BEGIN_ALLOW_THREADS
;
2333 _result
= (wxPen
*)new_wxPen(_arg0
,_arg1
,_arg2
);
2335 wxPy_END_ALLOW_THREADS
;
2336 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
2337 _resultobj
= Py_BuildValue("s",_ptemp
);
2341 #define wxPen_GetCap(_swigobj) (_swigobj->GetCap())
2342 static PyObject
*_wrap_wxPen_GetCap(PyObject
*self
, PyObject
*args
) {
2343 PyObject
* _resultobj
;
2349 if(!PyArg_ParseTuple(args
,"s:wxPen_GetCap",&_argc0
))
2352 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetCap. Expected _wxPen_p.");
2358 wxPy_BEGIN_ALLOW_THREADS
;
2359 _result
= (int )wxPen_GetCap(_arg0
);
2361 wxPy_END_ALLOW_THREADS
;
2362 } _resultobj
= Py_BuildValue("i",_result
);
2366 #define wxPen_GetColour(_swigobj) (_swigobj->GetColour())
2367 static PyObject
*_wrap_wxPen_GetColour(PyObject
*self
, PyObject
*args
) {
2368 PyObject
* _resultobj
;
2375 if(!PyArg_ParseTuple(args
,"s:wxPen_GetColour",&_argc0
))
2378 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetColour. Expected _wxPen_p.");
2384 wxPy_BEGIN_ALLOW_THREADS
;
2385 wxColour
& _result_ref
= wxPen_GetColour(_arg0
);
2386 _result
= (wxColour
*) &_result_ref
;
2388 wxPy_END_ALLOW_THREADS
;
2389 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
2390 _resultobj
= Py_BuildValue("s",_ptemp
);
2394 #define wxPen_GetJoin(_swigobj) (_swigobj->GetJoin())
2395 static PyObject
*_wrap_wxPen_GetJoin(PyObject
*self
, PyObject
*args
) {
2396 PyObject
* _resultobj
;
2402 if(!PyArg_ParseTuple(args
,"s:wxPen_GetJoin",&_argc0
))
2405 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetJoin. Expected _wxPen_p.");
2411 wxPy_BEGIN_ALLOW_THREADS
;
2412 _result
= (int )wxPen_GetJoin(_arg0
);
2414 wxPy_END_ALLOW_THREADS
;
2415 } _resultobj
= Py_BuildValue("i",_result
);
2419 #define wxPen_GetStyle(_swigobj) (_swigobj->GetStyle())
2420 static PyObject
*_wrap_wxPen_GetStyle(PyObject
*self
, PyObject
*args
) {
2421 PyObject
* _resultobj
;
2427 if(!PyArg_ParseTuple(args
,"s:wxPen_GetStyle",&_argc0
))
2430 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetStyle. Expected _wxPen_p.");
2436 wxPy_BEGIN_ALLOW_THREADS
;
2437 _result
= (int )wxPen_GetStyle(_arg0
);
2439 wxPy_END_ALLOW_THREADS
;
2440 } _resultobj
= Py_BuildValue("i",_result
);
2444 #define wxPen_GetWidth(_swigobj) (_swigobj->GetWidth())
2445 static PyObject
*_wrap_wxPen_GetWidth(PyObject
*self
, PyObject
*args
) {
2446 PyObject
* _resultobj
;
2452 if(!PyArg_ParseTuple(args
,"s:wxPen_GetWidth",&_argc0
))
2455 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetWidth. Expected _wxPen_p.");
2461 wxPy_BEGIN_ALLOW_THREADS
;
2462 _result
= (int )wxPen_GetWidth(_arg0
);
2464 wxPy_END_ALLOW_THREADS
;
2465 } _resultobj
= Py_BuildValue("i",_result
);
2469 #define wxPen_Ok(_swigobj) (_swigobj->Ok())
2470 static PyObject
*_wrap_wxPen_Ok(PyObject
*self
, PyObject
*args
) {
2471 PyObject
* _resultobj
;
2477 if(!PyArg_ParseTuple(args
,"s:wxPen_Ok",&_argc0
))
2480 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_Ok. Expected _wxPen_p.");
2486 wxPy_BEGIN_ALLOW_THREADS
;
2487 _result
= (bool )wxPen_Ok(_arg0
);
2489 wxPy_END_ALLOW_THREADS
;
2490 } _resultobj
= Py_BuildValue("i",_result
);
2494 #define wxPen_SetCap(_swigobj,_swigarg0) (_swigobj->SetCap(_swigarg0))
2495 static PyObject
*_wrap_wxPen_SetCap(PyObject
*self
, PyObject
*args
) {
2496 PyObject
* _resultobj
;
2502 if(!PyArg_ParseTuple(args
,"si:wxPen_SetCap",&_argc0
,&_arg1
))
2505 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetCap. Expected _wxPen_p.");
2511 wxPy_BEGIN_ALLOW_THREADS
;
2512 wxPen_SetCap(_arg0
,_arg1
);
2514 wxPy_END_ALLOW_THREADS
;
2515 } Py_INCREF(Py_None
);
2516 _resultobj
= Py_None
;
2520 #define wxPen_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
2521 static PyObject
*_wrap_wxPen_SetColour(PyObject
*self
, PyObject
*args
) {
2522 PyObject
* _resultobj
;
2529 if(!PyArg_ParseTuple(args
,"ss:wxPen_SetColour",&_argc0
,&_argc1
))
2532 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetColour. Expected _wxPen_p.");
2538 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
2539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPen_SetColour. Expected _wxColour_p.");
2544 wxPy_BEGIN_ALLOW_THREADS
;
2545 wxPen_SetColour(_arg0
,*_arg1
);
2547 wxPy_END_ALLOW_THREADS
;
2548 } Py_INCREF(Py_None
);
2549 _resultobj
= Py_None
;
2553 #define wxPen_SetJoin(_swigobj,_swigarg0) (_swigobj->SetJoin(_swigarg0))
2554 static PyObject
*_wrap_wxPen_SetJoin(PyObject
*self
, PyObject
*args
) {
2555 PyObject
* _resultobj
;
2561 if(!PyArg_ParseTuple(args
,"si:wxPen_SetJoin",&_argc0
,&_arg1
))
2564 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetJoin. Expected _wxPen_p.");
2570 wxPy_BEGIN_ALLOW_THREADS
;
2571 wxPen_SetJoin(_arg0
,_arg1
);
2573 wxPy_END_ALLOW_THREADS
;
2574 } Py_INCREF(Py_None
);
2575 _resultobj
= Py_None
;
2579 #define wxPen_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
2580 static PyObject
*_wrap_wxPen_SetStyle(PyObject
*self
, PyObject
*args
) {
2581 PyObject
* _resultobj
;
2587 if(!PyArg_ParseTuple(args
,"si:wxPen_SetStyle",&_argc0
,&_arg1
))
2590 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetStyle. Expected _wxPen_p.");
2596 wxPy_BEGIN_ALLOW_THREADS
;
2597 wxPen_SetStyle(_arg0
,_arg1
);
2599 wxPy_END_ALLOW_THREADS
;
2600 } Py_INCREF(Py_None
);
2601 _resultobj
= Py_None
;
2605 #define wxPen_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2606 static PyObject
*_wrap_wxPen_SetWidth(PyObject
*self
, PyObject
*args
) {
2607 PyObject
* _resultobj
;
2613 if(!PyArg_ParseTuple(args
,"si:wxPen_SetWidth",&_argc0
,&_arg1
))
2616 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetWidth. Expected _wxPen_p.");
2622 wxPy_BEGIN_ALLOW_THREADS
;
2623 wxPen_SetWidth(_arg0
,_arg1
);
2625 wxPy_END_ALLOW_THREADS
;
2626 } Py_INCREF(Py_None
);
2627 _resultobj
= Py_None
;
2631 static wxBrush
*new_wxBrush(wxColour
*colour
,int style
) {
2632 return wxTheBrushList
->FindOrCreateBrush(*colour
, style
);
2635 static PyObject
*_wrap_new_wxBrush(PyObject
*self
, PyObject
*args
) {
2636 PyObject
* _resultobj
;
2639 int _arg1
= (wxSOLID
);
2644 if(!PyArg_ParseTuple(args
,"s|i:new_wxBrush",&_argc0
,&_arg1
))
2647 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBrush. Expected _wxColour_p.");
2653 wxPy_BEGIN_ALLOW_THREADS
;
2654 _result
= (wxBrush
*)new_wxBrush(_arg0
,_arg1
);
2656 wxPy_END_ALLOW_THREADS
;
2657 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
2658 _resultobj
= Py_BuildValue("s",_ptemp
);
2662 #define wxBrush_GetColour(_swigobj) (_swigobj->GetColour())
2663 static PyObject
*_wrap_wxBrush_GetColour(PyObject
*self
, PyObject
*args
) {
2664 PyObject
* _resultobj
;
2671 if(!PyArg_ParseTuple(args
,"s:wxBrush_GetColour",&_argc0
))
2674 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBrush_p")) {
2675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetColour. Expected _wxBrush_p.");
2680 wxPy_BEGIN_ALLOW_THREADS
;
2681 wxColour
& _result_ref
= wxBrush_GetColour(_arg0
);
2682 _result
= (wxColour
*) &_result_ref
;
2684 wxPy_END_ALLOW_THREADS
;
2685 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
2686 _resultobj
= Py_BuildValue("s",_ptemp
);
2690 #define wxBrush_GetStipple(_swigobj) (_swigobj->GetStipple())
2691 static PyObject
*_wrap_wxBrush_GetStipple(PyObject
*self
, PyObject
*args
) {
2692 PyObject
* _resultobj
;
2699 if(!PyArg_ParseTuple(args
,"s:wxBrush_GetStipple",&_argc0
))
2702 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBrush_p")) {
2703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStipple. Expected _wxBrush_p.");
2708 wxPy_BEGIN_ALLOW_THREADS
;
2709 _result
= (wxBitmap
*)wxBrush_GetStipple(_arg0
);
2711 wxPy_END_ALLOW_THREADS
;
2712 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
2713 _resultobj
= Py_BuildValue("s",_ptemp
);
2717 #define wxBrush_GetStyle(_swigobj) (_swigobj->GetStyle())
2718 static PyObject
*_wrap_wxBrush_GetStyle(PyObject
*self
, PyObject
*args
) {
2719 PyObject
* _resultobj
;
2725 if(!PyArg_ParseTuple(args
,"s:wxBrush_GetStyle",&_argc0
))
2728 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBrush_p")) {
2729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStyle. Expected _wxBrush_p.");
2734 wxPy_BEGIN_ALLOW_THREADS
;
2735 _result
= (int )wxBrush_GetStyle(_arg0
);
2737 wxPy_END_ALLOW_THREADS
;
2738 } _resultobj
= Py_BuildValue("i",_result
);
2742 #define wxBrush_Ok(_swigobj) (_swigobj->Ok())
2743 static PyObject
*_wrap_wxBrush_Ok(PyObject
*self
, PyObject
*args
) {
2744 PyObject
* _resultobj
;
2750 if(!PyArg_ParseTuple(args
,"s:wxBrush_Ok",&_argc0
))
2753 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBrush_p")) {
2754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_Ok. Expected _wxBrush_p.");
2759 wxPy_BEGIN_ALLOW_THREADS
;
2760 _result
= (bool )wxBrush_Ok(_arg0
);
2762 wxPy_END_ALLOW_THREADS
;
2763 } _resultobj
= Py_BuildValue("i",_result
);
2767 #define wxBrush_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
2768 static PyObject
*_wrap_wxBrush_SetColour(PyObject
*self
, PyObject
*args
) {
2769 PyObject
* _resultobj
;
2776 if(!PyArg_ParseTuple(args
,"ss:wxBrush_SetColour",&_argc0
,&_argc1
))
2779 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBrush_p")) {
2780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetColour. Expected _wxBrush_p.");
2785 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
2786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrush_SetColour. Expected _wxColour_p.");
2791 wxPy_BEGIN_ALLOW_THREADS
;
2792 wxBrush_SetColour(_arg0
,*_arg1
);
2794 wxPy_END_ALLOW_THREADS
;
2795 } Py_INCREF(Py_None
);
2796 _resultobj
= Py_None
;
2800 #define wxBrush_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
2801 static PyObject
*_wrap_wxBrush_SetStipple(PyObject
*self
, PyObject
*args
) {
2802 PyObject
* _resultobj
;
2809 if(!PyArg_ParseTuple(args
,"ss:wxBrush_SetStipple",&_argc0
,&_argc1
))
2812 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBrush_p")) {
2813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStipple. Expected _wxBrush_p.");
2818 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBitmap_p")) {
2819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrush_SetStipple. Expected _wxBitmap_p.");
2824 wxPy_BEGIN_ALLOW_THREADS
;
2825 wxBrush_SetStipple(_arg0
,*_arg1
);
2827 wxPy_END_ALLOW_THREADS
;
2828 } Py_INCREF(Py_None
);
2829 _resultobj
= Py_None
;
2833 #define wxBrush_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
2834 static PyObject
*_wrap_wxBrush_SetStyle(PyObject
*self
, PyObject
*args
) {
2835 PyObject
* _resultobj
;
2841 if(!PyArg_ParseTuple(args
,"si:wxBrush_SetStyle",&_argc0
,&_arg1
))
2844 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBrush_p")) {
2845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStyle. Expected _wxBrush_p.");
2850 wxPy_BEGIN_ALLOW_THREADS
;
2851 wxBrush_SetStyle(_arg0
,_arg1
);
2853 wxPy_END_ALLOW_THREADS
;
2854 } Py_INCREF(Py_None
);
2855 _resultobj
= Py_None
;
2859 #define delete_wxDC(_swigobj) (delete _swigobj)
2860 static PyObject
*_wrap_delete_wxDC(PyObject
*self
, PyObject
*args
) {
2861 PyObject
* _resultobj
;
2866 if(!PyArg_ParseTuple(args
,"s:delete_wxDC",&_argc0
))
2869 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDC. Expected _wxDC_p.");
2875 wxPy_BEGIN_ALLOW_THREADS
;
2878 wxPy_END_ALLOW_THREADS
;
2879 } Py_INCREF(Py_None
);
2880 _resultobj
= Py_None
;
2884 #define wxDC_BeginDrawing(_swigobj) (_swigobj->BeginDrawing())
2885 static PyObject
*_wrap_wxDC_BeginDrawing(PyObject
*self
, PyObject
*args
) {
2886 PyObject
* _resultobj
;
2891 if(!PyArg_ParseTuple(args
,"s:wxDC_BeginDrawing",&_argc0
))
2894 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_BeginDrawing. Expected _wxDC_p.");
2900 wxPy_BEGIN_ALLOW_THREADS
;
2901 wxDC_BeginDrawing(_arg0
);
2903 wxPy_END_ALLOW_THREADS
;
2904 } Py_INCREF(Py_None
);
2905 _resultobj
= Py_None
;
2909 #define wxDC_Blit(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Blit(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
2910 static PyObject
*_wrap_wxDC_Blit(PyObject
*self
, PyObject
*args
) {
2911 PyObject
* _resultobj
;
2926 if(!PyArg_ParseTuple(args
,"sllllslll:wxDC_Blit",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_argc5
,&_arg6
,&_arg7
,&_arg8
))
2929 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Blit. Expected _wxDC_p.");
2935 if (SWIG_GetPtr(_argc5
,(void **) &_arg5
,"_wxDC_p")) {
2936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxDC_Blit. Expected _wxDC_p.");
2941 wxPy_BEGIN_ALLOW_THREADS
;
2942 _result
= (bool )wxDC_Blit(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
);
2944 wxPy_END_ALLOW_THREADS
;
2945 } _resultobj
= Py_BuildValue("i",_result
);
2949 #define wxDC_Clear(_swigobj) (_swigobj->Clear())
2950 static PyObject
*_wrap_wxDC_Clear(PyObject
*self
, PyObject
*args
) {
2951 PyObject
* _resultobj
;
2956 if(!PyArg_ParseTuple(args
,"s:wxDC_Clear",&_argc0
))
2959 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Clear. Expected _wxDC_p.");
2965 wxPy_BEGIN_ALLOW_THREADS
;
2968 wxPy_END_ALLOW_THREADS
;
2969 } Py_INCREF(Py_None
);
2970 _resultobj
= Py_None
;
2974 #define wxDC_CrossHair(_swigobj,_swigarg0,_swigarg1) (_swigobj->CrossHair(_swigarg0,_swigarg1))
2975 static PyObject
*_wrap_wxDC_CrossHair(PyObject
*self
, PyObject
*args
) {
2976 PyObject
* _resultobj
;
2983 if(!PyArg_ParseTuple(args
,"sll:wxDC_CrossHair",&_argc0
,&_arg1
,&_arg2
))
2986 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CrossHair. Expected _wxDC_p.");
2992 wxPy_BEGIN_ALLOW_THREADS
;
2993 wxDC_CrossHair(_arg0
,_arg1
,_arg2
);
2995 wxPy_END_ALLOW_THREADS
;
2996 } Py_INCREF(Py_None
);
2997 _resultobj
= Py_None
;
3001 #define wxDC_DestroyClippingRegion(_swigobj) (_swigobj->DestroyClippingRegion())
3002 static PyObject
*_wrap_wxDC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
) {
3003 PyObject
* _resultobj
;
3008 if(!PyArg_ParseTuple(args
,"s:wxDC_DestroyClippingRegion",&_argc0
))
3011 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DestroyClippingRegion. Expected _wxDC_p.");
3017 wxPy_BEGIN_ALLOW_THREADS
;
3018 wxDC_DestroyClippingRegion(_arg0
);
3020 wxPy_END_ALLOW_THREADS
;
3021 } Py_INCREF(Py_None
);
3022 _resultobj
= Py_None
;
3026 #define wxDC_DeviceToLogicalX(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalX(_swigarg0))
3027 static PyObject
*_wrap_wxDC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
) {
3028 PyObject
* _resultobj
;
3035 if(!PyArg_ParseTuple(args
,"sl:wxDC_DeviceToLogicalX",&_argc0
,&_arg1
))
3038 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalX. Expected _wxDC_p.");
3044 wxPy_BEGIN_ALLOW_THREADS
;
3045 _result
= (long )wxDC_DeviceToLogicalX(_arg0
,_arg1
);
3047 wxPy_END_ALLOW_THREADS
;
3048 } _resultobj
= Py_BuildValue("l",_result
);
3052 #define wxDC_DeviceToLogicalXRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalXRel(_swigarg0))
3053 static PyObject
*_wrap_wxDC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
) {
3054 PyObject
* _resultobj
;
3061 if(!PyArg_ParseTuple(args
,"sl:wxDC_DeviceToLogicalXRel",&_argc0
,&_arg1
))
3064 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalXRel. Expected _wxDC_p.");
3070 wxPy_BEGIN_ALLOW_THREADS
;
3071 _result
= (long )wxDC_DeviceToLogicalXRel(_arg0
,_arg1
);
3073 wxPy_END_ALLOW_THREADS
;
3074 } _resultobj
= Py_BuildValue("l",_result
);
3078 #define wxDC_DeviceToLogicalY(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalY(_swigarg0))
3079 static PyObject
*_wrap_wxDC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
) {
3080 PyObject
* _resultobj
;
3087 if(!PyArg_ParseTuple(args
,"sl:wxDC_DeviceToLogicalY",&_argc0
,&_arg1
))
3090 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalY. Expected _wxDC_p.");
3096 wxPy_BEGIN_ALLOW_THREADS
;
3097 _result
= (long )wxDC_DeviceToLogicalY(_arg0
,_arg1
);
3099 wxPy_END_ALLOW_THREADS
;
3100 } _resultobj
= Py_BuildValue("l",_result
);
3104 #define wxDC_DeviceToLogicalYRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalYRel(_swigarg0))
3105 static PyObject
*_wrap_wxDC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
) {
3106 PyObject
* _resultobj
;
3113 if(!PyArg_ParseTuple(args
,"sl:wxDC_DeviceToLogicalYRel",&_argc0
,&_arg1
))
3116 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalYRel. Expected _wxDC_p.");
3122 wxPy_BEGIN_ALLOW_THREADS
;
3123 _result
= (long )wxDC_DeviceToLogicalYRel(_arg0
,_arg1
);
3125 wxPy_END_ALLOW_THREADS
;
3126 } _resultobj
= Py_BuildValue("l",_result
);
3130 #define wxDC_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3131 static PyObject
*_wrap_wxDC_DrawArc(PyObject
*self
, PyObject
*args
) {
3132 PyObject
* _resultobj
;
3143 if(!PyArg_ParseTuple(args
,"sllllll:wxDC_DrawArc",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
3146 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawArc. Expected _wxDC_p.");
3152 wxPy_BEGIN_ALLOW_THREADS
;
3153 wxDC_DrawArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
3155 wxPy_END_ALLOW_THREADS
;
3156 } Py_INCREF(Py_None
);
3157 _resultobj
= Py_None
;
3161 #define wxDC_DrawEllipse(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawEllipse(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3162 static PyObject
*_wrap_wxDC_DrawEllipse(PyObject
*self
, PyObject
*args
) {
3163 PyObject
* _resultobj
;
3172 if(!PyArg_ParseTuple(args
,"sllll:wxDC_DrawEllipse",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3175 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipse. Expected _wxDC_p.");
3181 wxPy_BEGIN_ALLOW_THREADS
;
3182 wxDC_DrawEllipse(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3184 wxPy_END_ALLOW_THREADS
;
3185 } Py_INCREF(Py_None
);
3186 _resultobj
= Py_None
;
3190 #define wxDC_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3191 static PyObject
*_wrap_wxDC_DrawEllipticArc(PyObject
*self
, PyObject
*args
) {
3192 PyObject
* _resultobj
;
3203 if(!PyArg_ParseTuple(args
,"sllllll:wxDC_DrawEllipticArc",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
3206 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipticArc. Expected _wxDC_p.");
3212 wxPy_BEGIN_ALLOW_THREADS
;
3213 wxDC_DrawEllipticArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
3215 wxPy_END_ALLOW_THREADS
;
3216 } Py_INCREF(Py_None
);
3217 _resultobj
= Py_None
;
3221 #define wxDC_DrawIcon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawIcon(_swigarg0,_swigarg1,_swigarg2))
3222 static PyObject
*_wrap_wxDC_DrawIcon(PyObject
*self
, PyObject
*args
) {
3223 PyObject
* _resultobj
;
3232 if(!PyArg_ParseTuple(args
,"ssll:wxDC_DrawIcon",&_argc0
,&_argc1
,&_arg2
,&_arg3
))
3235 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawIcon. Expected _wxDC_p.");
3241 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxIcon_p")) {
3242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawIcon. Expected _wxIcon_p.");
3247 wxPy_BEGIN_ALLOW_THREADS
;
3248 wxDC_DrawIcon(_arg0
,*_arg1
,_arg2
,_arg3
);
3250 wxPy_END_ALLOW_THREADS
;
3251 } Py_INCREF(Py_None
);
3252 _resultobj
= Py_None
;
3256 #define wxDC_DrawLine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3257 static PyObject
*_wrap_wxDC_DrawLine(PyObject
*self
, PyObject
*args
) {
3258 PyObject
* _resultobj
;
3267 if(!PyArg_ParseTuple(args
,"sllll:wxDC_DrawLine",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3270 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLine. Expected _wxDC_p.");
3276 wxPy_BEGIN_ALLOW_THREADS
;
3277 wxDC_DrawLine(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3279 wxPy_END_ALLOW_THREADS
;
3280 } Py_INCREF(Py_None
);
3281 _resultobj
= Py_None
;
3285 #define wxDC_DrawLines(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLines(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3286 static PyObject
*_wrap_wxDC_DrawLines(PyObject
*self
, PyObject
*args
) {
3287 PyObject
* _resultobj
;
3294 PyObject
* _obj2
= 0;
3297 if(!PyArg_ParseTuple(args
,"sO|ll:wxDC_DrawLines",&_argc0
,&_obj2
,&_arg3
,&_arg4
))
3300 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLines. Expected _wxDC_p.");
3307 _arg2
= wxPoint_LIST_helper(_obj2
);
3308 if (_arg2
== NULL
) {
3314 _arg1
= PyList_Size(_obj2
);
3321 wxPy_BEGIN_ALLOW_THREADS
;
3322 wxDC_DrawLines(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3324 wxPy_END_ALLOW_THREADS
;
3325 } Py_INCREF(Py_None
);
3326 _resultobj
= Py_None
;
3333 #define wxDC_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3334 static PyObject
*_wrap_wxDC_DrawPolygon(PyObject
*self
, PyObject
*args
) {
3335 PyObject
* _resultobj
;
3341 int _arg5
= (wxODDEVEN_RULE
);
3343 PyObject
* _obj2
= 0;
3346 if(!PyArg_ParseTuple(args
,"sO|lli:wxDC_DrawPolygon",&_argc0
,&_obj2
,&_arg3
,&_arg4
,&_arg5
))
3349 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPolygon. Expected _wxDC_p.");
3356 _arg2
= wxPoint_LIST_helper(_obj2
);
3357 if (_arg2
== NULL
) {
3363 _arg1
= PyList_Size(_obj2
);
3370 wxPy_BEGIN_ALLOW_THREADS
;
3371 wxDC_DrawPolygon(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3373 wxPy_END_ALLOW_THREADS
;
3374 } Py_INCREF(Py_None
);
3375 _resultobj
= Py_None
;
3382 #define wxDC_DrawPoint(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawPoint(_swigarg0,_swigarg1))
3383 static PyObject
*_wrap_wxDC_DrawPoint(PyObject
*self
, PyObject
*args
) {
3384 PyObject
* _resultobj
;
3391 if(!PyArg_ParseTuple(args
,"sll:wxDC_DrawPoint",&_argc0
,&_arg1
,&_arg2
))
3394 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPoint. Expected _wxDC_p.");
3400 wxPy_BEGIN_ALLOW_THREADS
;
3401 wxDC_DrawPoint(_arg0
,_arg1
,_arg2
);
3403 wxPy_END_ALLOW_THREADS
;
3404 } Py_INCREF(Py_None
);
3405 _resultobj
= Py_None
;
3409 #define wxDC_DrawRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3410 static PyObject
*_wrap_wxDC_DrawRectangle(PyObject
*self
, PyObject
*args
) {
3411 PyObject
* _resultobj
;
3420 if(!PyArg_ParseTuple(args
,"sllll:wxDC_DrawRectangle",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3423 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRectangle. Expected _wxDC_p.");
3429 wxPy_BEGIN_ALLOW_THREADS
;
3430 wxDC_DrawRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3432 wxPy_END_ALLOW_THREADS
;
3433 } Py_INCREF(Py_None
);
3434 _resultobj
= Py_None
;
3438 #define wxDC_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3439 static PyObject
*_wrap_wxDC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
) {
3440 PyObject
* _resultobj
;
3450 if(!PyArg_ParseTuple(args
,"sllll|l:wxDC_DrawRoundedRectangle",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3453 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRoundedRectangle. Expected _wxDC_p.");
3459 wxPy_BEGIN_ALLOW_THREADS
;
3460 wxDC_DrawRoundedRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3462 wxPy_END_ALLOW_THREADS
;
3463 } Py_INCREF(Py_None
);
3464 _resultobj
= Py_None
;
3468 #define wxDC_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1))
3469 static PyObject
*_wrap_wxDC_DrawSpline(PyObject
*self
, PyObject
*args
) {
3470 PyObject
* _resultobj
;
3475 PyObject
* _obj2
= 0;
3478 if(!PyArg_ParseTuple(args
,"sO:wxDC_DrawSpline",&_argc0
,&_obj2
))
3481 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawSpline. Expected _wxDC_p.");
3488 _arg2
= wxPoint_LIST_helper(_obj2
);
3489 if (_arg2
== NULL
) {
3495 _arg1
= PyList_Size(_obj2
);
3502 wxPy_BEGIN_ALLOW_THREADS
;
3503 wxDC_DrawSpline(_arg0
,_arg1
,_arg2
);
3505 wxPy_END_ALLOW_THREADS
;
3506 } Py_INCREF(Py_None
);
3507 _resultobj
= Py_None
;
3514 #define wxDC_DrawText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawText(_swigarg0,_swigarg1,_swigarg2))
3515 static PyObject
*_wrap_wxDC_DrawText(PyObject
*self
, PyObject
*args
) {
3516 PyObject
* _resultobj
;
3522 PyObject
* _obj1
= 0;
3525 if(!PyArg_ParseTuple(args
,"sOll:wxDC_DrawText",&_argc0
,&_obj1
,&_arg2
,&_arg3
))
3528 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawText. Expected _wxDC_p.");
3534 if (!PyString_Check(_obj1
)) {
3535 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3538 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3541 wxPy_BEGIN_ALLOW_THREADS
;
3542 wxDC_DrawText(_arg0
,*_arg1
,_arg2
,_arg3
);
3544 wxPy_END_ALLOW_THREADS
;
3545 } Py_INCREF(Py_None
);
3546 _resultobj
= Py_None
;
3554 #define wxDC_EndDoc(_swigobj) (_swigobj->EndDoc())
3555 static PyObject
*_wrap_wxDC_EndDoc(PyObject
*self
, PyObject
*args
) {
3556 PyObject
* _resultobj
;
3561 if(!PyArg_ParseTuple(args
,"s:wxDC_EndDoc",&_argc0
))
3564 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDoc. Expected _wxDC_p.");
3570 wxPy_BEGIN_ALLOW_THREADS
;
3573 wxPy_END_ALLOW_THREADS
;
3574 } Py_INCREF(Py_None
);
3575 _resultobj
= Py_None
;
3579 #define wxDC_EndDrawing(_swigobj) (_swigobj->EndDrawing())
3580 static PyObject
*_wrap_wxDC_EndDrawing(PyObject
*self
, PyObject
*args
) {
3581 PyObject
* _resultobj
;
3586 if(!PyArg_ParseTuple(args
,"s:wxDC_EndDrawing",&_argc0
))
3589 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDrawing. Expected _wxDC_p.");
3595 wxPy_BEGIN_ALLOW_THREADS
;
3596 wxDC_EndDrawing(_arg0
);
3598 wxPy_END_ALLOW_THREADS
;
3599 } Py_INCREF(Py_None
);
3600 _resultobj
= Py_None
;
3604 #define wxDC_EndPage(_swigobj) (_swigobj->EndPage())
3605 static PyObject
*_wrap_wxDC_EndPage(PyObject
*self
, PyObject
*args
) {
3606 PyObject
* _resultobj
;
3611 if(!PyArg_ParseTuple(args
,"s:wxDC_EndPage",&_argc0
))
3614 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndPage. Expected _wxDC_p.");
3620 wxPy_BEGIN_ALLOW_THREADS
;
3621 wxDC_EndPage(_arg0
);
3623 wxPy_END_ALLOW_THREADS
;
3624 } Py_INCREF(Py_None
);
3625 _resultobj
= Py_None
;
3629 #define wxDC_FloodFill(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FloodFill(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3630 static PyObject
*_wrap_wxDC_FloodFill(PyObject
*self
, PyObject
*args
) {
3631 PyObject
* _resultobj
;
3636 int _arg4
= (wxFLOOD_SURFACE
);
3641 if(!PyArg_ParseTuple(args
,"slls|i:wxDC_FloodFill",&_argc0
,&_arg1
,&_arg2
,&_argc3
,&_arg4
))
3644 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_FloodFill. Expected _wxDC_p.");
3650 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxColour_p")) {
3651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDC_FloodFill. Expected _wxColour_p.");
3656 wxPy_BEGIN_ALLOW_THREADS
;
3657 wxDC_FloodFill(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
3659 wxPy_END_ALLOW_THREADS
;
3660 } Py_INCREF(Py_None
);
3661 _resultobj
= Py_None
;
3665 #define wxDC_GetBackground(_swigobj) (_swigobj->GetBackground())
3666 static PyObject
*_wrap_wxDC_GetBackground(PyObject
*self
, PyObject
*args
) {
3667 PyObject
* _resultobj
;
3674 if(!PyArg_ParseTuple(args
,"s:wxDC_GetBackground",&_argc0
))
3677 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBackground. Expected _wxDC_p.");
3683 wxPy_BEGIN_ALLOW_THREADS
;
3684 wxBrush
& _result_ref
= wxDC_GetBackground(_arg0
);
3685 _result
= (wxBrush
*) &_result_ref
;
3687 wxPy_END_ALLOW_THREADS
;
3688 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
3689 _resultobj
= Py_BuildValue("s",_ptemp
);
3693 #define wxDC_GetBrush(_swigobj) (_swigobj->GetBrush())
3694 static PyObject
*_wrap_wxDC_GetBrush(PyObject
*self
, PyObject
*args
) {
3695 PyObject
* _resultobj
;
3702 if(!PyArg_ParseTuple(args
,"s:wxDC_GetBrush",&_argc0
))
3705 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBrush. Expected _wxDC_p.");
3711 wxPy_BEGIN_ALLOW_THREADS
;
3712 wxBrush
& _result_ref
= wxDC_GetBrush(_arg0
);
3713 _result
= (wxBrush
*) &_result_ref
;
3715 wxPy_END_ALLOW_THREADS
;
3716 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
3717 _resultobj
= Py_BuildValue("s",_ptemp
);
3721 #define wxDC_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
3722 static PyObject
*_wrap_wxDC_GetCharHeight(PyObject
*self
, PyObject
*args
) {
3723 PyObject
* _resultobj
;
3729 if(!PyArg_ParseTuple(args
,"s:wxDC_GetCharHeight",&_argc0
))
3732 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharHeight. Expected _wxDC_p.");
3738 wxPy_BEGIN_ALLOW_THREADS
;
3739 _result
= (long )wxDC_GetCharHeight(_arg0
);
3741 wxPy_END_ALLOW_THREADS
;
3742 } _resultobj
= Py_BuildValue("l",_result
);
3746 #define wxDC_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
3747 static PyObject
*_wrap_wxDC_GetCharWidth(PyObject
*self
, PyObject
*args
) {
3748 PyObject
* _resultobj
;
3754 if(!PyArg_ParseTuple(args
,"s:wxDC_GetCharWidth",&_argc0
))
3757 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharWidth. Expected _wxDC_p.");
3763 wxPy_BEGIN_ALLOW_THREADS
;
3764 _result
= (long )wxDC_GetCharWidth(_arg0
);
3766 wxPy_END_ALLOW_THREADS
;
3767 } _resultobj
= Py_BuildValue("l",_result
);
3771 #define wxDC_GetClippingBox(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetClippingBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3772 static PyObject
*_wrap_wxDC_GetClippingBox(PyObject
*self
, PyObject
*args
) {
3773 PyObject
* _resultobj
;
3798 if(!PyArg_ParseTuple(args
,"s:wxDC_GetClippingBox",&_argc0
))
3801 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetClippingBox. Expected _wxDC_p.");
3807 wxPy_BEGIN_ALLOW_THREADS
;
3808 wxDC_GetClippingBox(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3810 wxPy_END_ALLOW_THREADS
;
3811 } Py_INCREF(Py_None
);
3812 _resultobj
= Py_None
;
3815 o
= PyInt_FromLong((long) (*_arg1
));
3816 _resultobj
= t_output_helper(_resultobj
, o
);
3820 o
= PyInt_FromLong((long) (*_arg2
));
3821 _resultobj
= t_output_helper(_resultobj
, o
);
3825 o
= PyInt_FromLong((long) (*_arg3
));
3826 _resultobj
= t_output_helper(_resultobj
, o
);
3830 o
= PyInt_FromLong((long) (*_arg4
));
3831 _resultobj
= t_output_helper(_resultobj
, o
);
3836 #define wxDC_GetFont(_swigobj) (_swigobj->GetFont())
3837 static PyObject
*_wrap_wxDC_GetFont(PyObject
*self
, PyObject
*args
) {
3838 PyObject
* _resultobj
;
3845 if(!PyArg_ParseTuple(args
,"s:wxDC_GetFont",&_argc0
))
3848 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFont. Expected _wxDC_p.");
3854 wxPy_BEGIN_ALLOW_THREADS
;
3855 wxFont
& _result_ref
= wxDC_GetFont(_arg0
);
3856 _result
= (wxFont
*) &_result_ref
;
3858 wxPy_END_ALLOW_THREADS
;
3859 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
3860 _resultobj
= Py_BuildValue("s",_ptemp
);
3864 #define wxDC_GetLogicalFunction(_swigobj) (_swigobj->GetLogicalFunction())
3865 static PyObject
*_wrap_wxDC_GetLogicalFunction(PyObject
*self
, PyObject
*args
) {
3866 PyObject
* _resultobj
;
3872 if(!PyArg_ParseTuple(args
,"s:wxDC_GetLogicalFunction",&_argc0
))
3875 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalFunction. Expected _wxDC_p.");
3881 wxPy_BEGIN_ALLOW_THREADS
;
3882 _result
= (int )wxDC_GetLogicalFunction(_arg0
);
3884 wxPy_END_ALLOW_THREADS
;
3885 } _resultobj
= Py_BuildValue("i",_result
);
3889 #define wxDC_GetMapMode(_swigobj) (_swigobj->GetMapMode())
3890 static PyObject
*_wrap_wxDC_GetMapMode(PyObject
*self
, PyObject
*args
) {
3891 PyObject
* _resultobj
;
3897 if(!PyArg_ParseTuple(args
,"s:wxDC_GetMapMode",&_argc0
))
3900 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetMapMode. Expected _wxDC_p.");
3906 wxPy_BEGIN_ALLOW_THREADS
;
3907 _result
= (int )wxDC_GetMapMode(_arg0
);
3909 wxPy_END_ALLOW_THREADS
;
3910 } _resultobj
= Py_BuildValue("i",_result
);
3914 #define wxDC_GetOptimization(_swigobj) (_swigobj->GetOptimization())
3915 static PyObject
*_wrap_wxDC_GetOptimization(PyObject
*self
, PyObject
*args
) {
3916 PyObject
* _resultobj
;
3922 if(!PyArg_ParseTuple(args
,"s:wxDC_GetOptimization",&_argc0
))
3925 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetOptimization. Expected _wxDC_p.");
3931 wxPy_BEGIN_ALLOW_THREADS
;
3932 _result
= (bool )wxDC_GetOptimization(_arg0
);
3934 wxPy_END_ALLOW_THREADS
;
3935 } _resultobj
= Py_BuildValue("i",_result
);
3939 #define wxDC_GetPen(_swigobj) (_swigobj->GetPen())
3940 static PyObject
*_wrap_wxDC_GetPen(PyObject
*self
, PyObject
*args
) {
3941 PyObject
* _resultobj
;
3948 if(!PyArg_ParseTuple(args
,"s:wxDC_GetPen",&_argc0
))
3951 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPen. Expected _wxDC_p.");
3957 wxPy_BEGIN_ALLOW_THREADS
;
3958 wxPen
& _result_ref
= wxDC_GetPen(_arg0
);
3959 _result
= (wxPen
*) &_result_ref
;
3961 wxPy_END_ALLOW_THREADS
;
3962 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
3963 _resultobj
= Py_BuildValue("s",_ptemp
);
3967 static wxColour
* wxDC_GetPixel(wxDC
*self
,long x
,long y
) {
3968 wxColour
* wc
= new wxColour();
3969 self
->GetPixel(x
, y
, wc
);
3972 static PyObject
*_wrap_wxDC_GetPixel(PyObject
*self
, PyObject
*args
) {
3973 PyObject
* _resultobj
;
3982 if(!PyArg_ParseTuple(args
,"sll:wxDC_GetPixel",&_argc0
,&_arg1
,&_arg2
))
3985 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPixel. Expected _wxDC_p.");
3991 wxPy_BEGIN_ALLOW_THREADS
;
3992 _result
= (wxColour
*)wxDC_GetPixel(_arg0
,_arg1
,_arg2
);
3994 wxPy_END_ALLOW_THREADS
;
3995 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3996 _resultobj
= Py_BuildValue("s",_ptemp
);
4000 #define wxDC_GetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
4001 static PyObject
*_wrap_wxDC_GetSize(PyObject
*self
, PyObject
*args
) {
4002 PyObject
* _resultobj
;
4017 if(!PyArg_ParseTuple(args
,"s:wxDC_GetSize",&_argc0
))
4020 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSize. Expected _wxDC_p.");
4026 wxPy_BEGIN_ALLOW_THREADS
;
4027 wxDC_GetSize(_arg0
,_arg1
,_arg2
);
4029 wxPy_END_ALLOW_THREADS
;
4030 } Py_INCREF(Py_None
);
4031 _resultobj
= Py_None
;
4034 o
= PyInt_FromLong((long) (*_arg1
));
4035 _resultobj
= t_output_helper(_resultobj
, o
);
4039 o
= PyInt_FromLong((long) (*_arg2
));
4040 _resultobj
= t_output_helper(_resultobj
, o
);
4045 #define wxDC_GetTextBackground(_swigobj) (_swigobj->GetTextBackground())
4046 static PyObject
*_wrap_wxDC_GetTextBackground(PyObject
*self
, PyObject
*args
) {
4047 PyObject
* _resultobj
;
4054 if(!PyArg_ParseTuple(args
,"s:wxDC_GetTextBackground",&_argc0
))
4057 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextBackground. Expected _wxDC_p.");
4063 wxPy_BEGIN_ALLOW_THREADS
;
4064 wxColour
& _result_ref
= wxDC_GetTextBackground(_arg0
);
4065 _result
= (wxColour
*) &_result_ref
;
4067 wxPy_END_ALLOW_THREADS
;
4068 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
4069 _resultobj
= Py_BuildValue("s",_ptemp
);
4073 #define wxDC_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
4074 static PyObject
*_wrap_wxDC_GetTextExtent(PyObject
*self
, PyObject
*args
) {
4075 PyObject
* _resultobj
;
4083 PyObject
* _obj1
= 0;
4092 if(!PyArg_ParseTuple(args
,"sO:wxDC_GetTextExtent",&_argc0
,&_obj1
))
4095 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextExtent. Expected _wxDC_p.");
4101 if (!PyString_Check(_obj1
)) {
4102 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4105 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4108 wxPy_BEGIN_ALLOW_THREADS
;
4109 wxDC_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
4111 wxPy_END_ALLOW_THREADS
;
4112 } Py_INCREF(Py_None
);
4113 _resultobj
= Py_None
;
4116 o
= PyInt_FromLong((long) (*_arg2
));
4117 _resultobj
= t_output_helper(_resultobj
, o
);
4121 o
= PyInt_FromLong((long) (*_arg3
));
4122 _resultobj
= t_output_helper(_resultobj
, o
);
4131 #define wxDC_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4132 static PyObject
*_wrap_wxDC_GetFullTextExtent(PyObject
*self
, PyObject
*args
) {
4133 PyObject
* _resultobj
;
4144 wxFont
* _arg6
= NULL
;
4146 PyObject
* _obj1
= 0;
4162 if(!PyArg_ParseTuple(args
,"sO|s:wxDC_GetFullTextExtent",&_argc0
,&_obj1
,&_argc6
))
4165 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFullTextExtent. Expected _wxDC_p.");
4171 if (!PyString_Check(_obj1
)) {
4172 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4175 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4178 if (SWIG_GetPtr(_argc6
,(void **) &_arg6
,"_wxFont_p")) {
4179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxDC_GetFullTextExtent. Expected _wxFont_p.");
4184 wxPy_BEGIN_ALLOW_THREADS
;
4185 wxDC_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4187 wxPy_END_ALLOW_THREADS
;
4188 } Py_INCREF(Py_None
);
4189 _resultobj
= Py_None
;
4192 o
= PyInt_FromLong((long) (*_arg2
));
4193 _resultobj
= t_output_helper(_resultobj
, o
);
4197 o
= PyInt_FromLong((long) (*_arg3
));
4198 _resultobj
= t_output_helper(_resultobj
, o
);
4202 o
= PyInt_FromLong((long) (*_arg4
));
4203 _resultobj
= t_output_helper(_resultobj
, o
);
4207 o
= PyInt_FromLong((long) (*_arg5
));
4208 _resultobj
= t_output_helper(_resultobj
, o
);
4217 #define wxDC_GetTextForeground(_swigobj) (_swigobj->GetTextForeground())
4218 static PyObject
*_wrap_wxDC_GetTextForeground(PyObject
*self
, PyObject
*args
) {
4219 PyObject
* _resultobj
;
4226 if(!PyArg_ParseTuple(args
,"s:wxDC_GetTextForeground",&_argc0
))
4229 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextForeground. Expected _wxDC_p.");
4235 wxPy_BEGIN_ALLOW_THREADS
;
4236 wxColour
& _result_ref
= wxDC_GetTextForeground(_arg0
);
4237 _result
= (wxColour
*) &_result_ref
;
4239 wxPy_END_ALLOW_THREADS
;
4240 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
4241 _resultobj
= Py_BuildValue("s",_ptemp
);
4245 #define wxDC_LogicalToDeviceX(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceX(_swigarg0))
4246 static PyObject
*_wrap_wxDC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
) {
4247 PyObject
* _resultobj
;
4254 if(!PyArg_ParseTuple(args
,"sl:wxDC_LogicalToDeviceX",&_argc0
,&_arg1
))
4257 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceX. Expected _wxDC_p.");
4263 wxPy_BEGIN_ALLOW_THREADS
;
4264 _result
= (long )wxDC_LogicalToDeviceX(_arg0
,_arg1
);
4266 wxPy_END_ALLOW_THREADS
;
4267 } _resultobj
= Py_BuildValue("l",_result
);
4271 #define wxDC_LogicalToDeviceXRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceXRel(_swigarg0))
4272 static PyObject
*_wrap_wxDC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
) {
4273 PyObject
* _resultobj
;
4280 if(!PyArg_ParseTuple(args
,"sl:wxDC_LogicalToDeviceXRel",&_argc0
,&_arg1
))
4283 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceXRel. Expected _wxDC_p.");
4289 wxPy_BEGIN_ALLOW_THREADS
;
4290 _result
= (long )wxDC_LogicalToDeviceXRel(_arg0
,_arg1
);
4292 wxPy_END_ALLOW_THREADS
;
4293 } _resultobj
= Py_BuildValue("l",_result
);
4297 #define wxDC_LogicalToDeviceY(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceY(_swigarg0))
4298 static PyObject
*_wrap_wxDC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
) {
4299 PyObject
* _resultobj
;
4306 if(!PyArg_ParseTuple(args
,"sl:wxDC_LogicalToDeviceY",&_argc0
,&_arg1
))
4309 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceY. Expected _wxDC_p.");
4315 wxPy_BEGIN_ALLOW_THREADS
;
4316 _result
= (long )wxDC_LogicalToDeviceY(_arg0
,_arg1
);
4318 wxPy_END_ALLOW_THREADS
;
4319 } _resultobj
= Py_BuildValue("l",_result
);
4323 #define wxDC_LogicalToDeviceYRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceYRel(_swigarg0))
4324 static PyObject
*_wrap_wxDC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
) {
4325 PyObject
* _resultobj
;
4332 if(!PyArg_ParseTuple(args
,"sl:wxDC_LogicalToDeviceYRel",&_argc0
,&_arg1
))
4335 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceYRel. Expected _wxDC_p.");
4341 wxPy_BEGIN_ALLOW_THREADS
;
4342 _result
= (long )wxDC_LogicalToDeviceYRel(_arg0
,_arg1
);
4344 wxPy_END_ALLOW_THREADS
;
4345 } _resultobj
= Py_BuildValue("l",_result
);
4349 #define wxDC_MaxX(_swigobj) (_swigobj->MaxX())
4350 static PyObject
*_wrap_wxDC_MaxX(PyObject
*self
, PyObject
*args
) {
4351 PyObject
* _resultobj
;
4357 if(!PyArg_ParseTuple(args
,"s:wxDC_MaxX",&_argc0
))
4360 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxX. Expected _wxDC_p.");
4366 wxPy_BEGIN_ALLOW_THREADS
;
4367 _result
= (long )wxDC_MaxX(_arg0
);
4369 wxPy_END_ALLOW_THREADS
;
4370 } _resultobj
= Py_BuildValue("l",_result
);
4374 #define wxDC_MaxY(_swigobj) (_swigobj->MaxY())
4375 static PyObject
*_wrap_wxDC_MaxY(PyObject
*self
, PyObject
*args
) {
4376 PyObject
* _resultobj
;
4382 if(!PyArg_ParseTuple(args
,"s:wxDC_MaxY",&_argc0
))
4385 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxY. Expected _wxDC_p.");
4391 wxPy_BEGIN_ALLOW_THREADS
;
4392 _result
= (long )wxDC_MaxY(_arg0
);
4394 wxPy_END_ALLOW_THREADS
;
4395 } _resultobj
= Py_BuildValue("l",_result
);
4399 #define wxDC_MinX(_swigobj) (_swigobj->MinX())
4400 static PyObject
*_wrap_wxDC_MinX(PyObject
*self
, PyObject
*args
) {
4401 PyObject
* _resultobj
;
4407 if(!PyArg_ParseTuple(args
,"s:wxDC_MinX",&_argc0
))
4410 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinX. Expected _wxDC_p.");
4416 wxPy_BEGIN_ALLOW_THREADS
;
4417 _result
= (long )wxDC_MinX(_arg0
);
4419 wxPy_END_ALLOW_THREADS
;
4420 } _resultobj
= Py_BuildValue("l",_result
);
4424 #define wxDC_MinY(_swigobj) (_swigobj->MinY())
4425 static PyObject
*_wrap_wxDC_MinY(PyObject
*self
, PyObject
*args
) {
4426 PyObject
* _resultobj
;
4432 if(!PyArg_ParseTuple(args
,"s:wxDC_MinY",&_argc0
))
4435 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinY. Expected _wxDC_p.");
4441 wxPy_BEGIN_ALLOW_THREADS
;
4442 _result
= (long )wxDC_MinY(_arg0
);
4444 wxPy_END_ALLOW_THREADS
;
4445 } _resultobj
= Py_BuildValue("l",_result
);
4449 #define wxDC_Ok(_swigobj) (_swigobj->Ok())
4450 static PyObject
*_wrap_wxDC_Ok(PyObject
*self
, PyObject
*args
) {
4451 PyObject
* _resultobj
;
4457 if(!PyArg_ParseTuple(args
,"s:wxDC_Ok",&_argc0
))
4460 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Ok. Expected _wxDC_p.");
4466 wxPy_BEGIN_ALLOW_THREADS
;
4467 _result
= (bool )wxDC_Ok(_arg0
);
4469 wxPy_END_ALLOW_THREADS
;
4470 } _resultobj
= Py_BuildValue("i",_result
);
4474 #define wxDC_SetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDeviceOrigin(_swigarg0,_swigarg1))
4475 static PyObject
*_wrap_wxDC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
) {
4476 PyObject
* _resultobj
;
4483 if(!PyArg_ParseTuple(args
,"sll:wxDC_SetDeviceOrigin",&_argc0
,&_arg1
,&_arg2
))
4486 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetDeviceOrigin. Expected _wxDC_p.");
4492 wxPy_BEGIN_ALLOW_THREADS
;
4493 wxDC_SetDeviceOrigin(_arg0
,_arg1
,_arg2
);
4495 wxPy_END_ALLOW_THREADS
;
4496 } Py_INCREF(Py_None
);
4497 _resultobj
= Py_None
;
4501 #define wxDC_SetBackground(_swigobj,_swigarg0) (_swigobj->SetBackground(_swigarg0))
4502 static PyObject
*_wrap_wxDC_SetBackground(PyObject
*self
, PyObject
*args
) {
4503 PyObject
* _resultobj
;
4510 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetBackground",&_argc0
,&_argc1
))
4513 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackground. Expected _wxDC_p.");
4519 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBrush_p")) {
4520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBackground. Expected _wxBrush_p.");
4525 wxPy_BEGIN_ALLOW_THREADS
;
4526 wxDC_SetBackground(_arg0
,*_arg1
);
4528 wxPy_END_ALLOW_THREADS
;
4529 } Py_INCREF(Py_None
);
4530 _resultobj
= Py_None
;
4534 #define wxDC_SetBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetBackgroundMode(_swigarg0))
4535 static PyObject
*_wrap_wxDC_SetBackgroundMode(PyObject
*self
, PyObject
*args
) {
4536 PyObject
* _resultobj
;
4542 if(!PyArg_ParseTuple(args
,"si:wxDC_SetBackgroundMode",&_argc0
,&_arg1
))
4545 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackgroundMode. Expected _wxDC_p.");
4551 wxPy_BEGIN_ALLOW_THREADS
;
4552 wxDC_SetBackgroundMode(_arg0
,_arg1
);
4554 wxPy_END_ALLOW_THREADS
;
4555 } Py_INCREF(Py_None
);
4556 _resultobj
= Py_None
;
4560 #define wxDC_SetClippingRegion(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetClippingRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4561 static PyObject
*_wrap_wxDC_SetClippingRegion(PyObject
*self
, PyObject
*args
) {
4562 PyObject
* _resultobj
;
4571 if(!PyArg_ParseTuple(args
,"sllll:wxDC_SetClippingRegion",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4574 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetClippingRegion. Expected _wxDC_p.");
4580 wxPy_BEGIN_ALLOW_THREADS
;
4581 wxDC_SetClippingRegion(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4583 wxPy_END_ALLOW_THREADS
;
4584 } Py_INCREF(Py_None
);
4585 _resultobj
= Py_None
;
4589 #define wxDC_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
4590 static PyObject
*_wrap_wxDC_SetPalette(PyObject
*self
, PyObject
*args
) {
4591 PyObject
* _resultobj
;
4598 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetPalette",&_argc0
,&_argc1
))
4601 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPalette. Expected _wxDC_p.");
4607 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPalette_p")) {
4608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPalette. Expected _wxPalette_p.");
4613 wxPy_BEGIN_ALLOW_THREADS
;
4614 wxDC_SetPalette(_arg0
,*_arg1
);
4616 wxPy_END_ALLOW_THREADS
;
4617 } Py_INCREF(Py_None
);
4618 _resultobj
= Py_None
;
4622 #define wxDC_SetBrush(_swigobj,_swigarg0) (_swigobj->SetBrush(_swigarg0))
4623 static PyObject
*_wrap_wxDC_SetBrush(PyObject
*self
, PyObject
*args
) {
4624 PyObject
* _resultobj
;
4631 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetBrush",&_argc0
,&_argc1
))
4634 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBrush. Expected _wxDC_p.");
4640 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBrush_p")) {
4641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBrush. Expected _wxBrush_p.");
4646 wxPy_BEGIN_ALLOW_THREADS
;
4647 wxDC_SetBrush(_arg0
,*_arg1
);
4649 wxPy_END_ALLOW_THREADS
;
4650 } Py_INCREF(Py_None
);
4651 _resultobj
= Py_None
;
4655 #define wxDC_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
4656 static PyObject
*_wrap_wxDC_SetFont(PyObject
*self
, PyObject
*args
) {
4657 PyObject
* _resultobj
;
4664 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetFont",&_argc0
,&_argc1
))
4667 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetFont. Expected _wxDC_p.");
4673 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxFont_p")) {
4674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetFont. Expected _wxFont_p.");
4679 wxPy_BEGIN_ALLOW_THREADS
;
4680 wxDC_SetFont(_arg0
,*_arg1
);
4682 wxPy_END_ALLOW_THREADS
;
4683 } Py_INCREF(Py_None
);
4684 _resultobj
= Py_None
;
4688 #define wxDC_SetLogicalFunction(_swigobj,_swigarg0) (_swigobj->SetLogicalFunction(_swigarg0))
4689 static PyObject
*_wrap_wxDC_SetLogicalFunction(PyObject
*self
, PyObject
*args
) {
4690 PyObject
* _resultobj
;
4696 if(!PyArg_ParseTuple(args
,"si:wxDC_SetLogicalFunction",&_argc0
,&_arg1
))
4699 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalFunction. Expected _wxDC_p.");
4705 wxPy_BEGIN_ALLOW_THREADS
;
4706 wxDC_SetLogicalFunction(_arg0
,_arg1
);
4708 wxPy_END_ALLOW_THREADS
;
4709 } Py_INCREF(Py_None
);
4710 _resultobj
= Py_None
;
4714 #define wxDC_SetMapMode(_swigobj,_swigarg0) (_swigobj->SetMapMode(_swigarg0))
4715 static PyObject
*_wrap_wxDC_SetMapMode(PyObject
*self
, PyObject
*args
) {
4716 PyObject
* _resultobj
;
4722 if(!PyArg_ParseTuple(args
,"si:wxDC_SetMapMode",&_argc0
,&_arg1
))
4725 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetMapMode. Expected _wxDC_p.");
4731 wxPy_BEGIN_ALLOW_THREADS
;
4732 wxDC_SetMapMode(_arg0
,_arg1
);
4734 wxPy_END_ALLOW_THREADS
;
4735 } Py_INCREF(Py_None
);
4736 _resultobj
= Py_None
;
4740 #define wxDC_SetOptimization(_swigobj,_swigarg0) (_swigobj->SetOptimization(_swigarg0))
4741 static PyObject
*_wrap_wxDC_SetOptimization(PyObject
*self
, PyObject
*args
) {
4742 PyObject
* _resultobj
;
4749 if(!PyArg_ParseTuple(args
,"si:wxDC_SetOptimization",&_argc0
,&tempbool1
))
4752 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetOptimization. Expected _wxDC_p.");
4757 _arg1
= (bool ) tempbool1
;
4759 wxPy_BEGIN_ALLOW_THREADS
;
4760 wxDC_SetOptimization(_arg0
,_arg1
);
4762 wxPy_END_ALLOW_THREADS
;
4763 } Py_INCREF(Py_None
);
4764 _resultobj
= Py_None
;
4768 #define wxDC_SetPen(_swigobj,_swigarg0) (_swigobj->SetPen(_swigarg0))
4769 static PyObject
*_wrap_wxDC_SetPen(PyObject
*self
, PyObject
*args
) {
4770 PyObject
* _resultobj
;
4777 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetPen",&_argc0
,&_argc1
))
4780 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPen. Expected _wxDC_p.");
4786 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPen_p")) {
4787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPen. Expected _wxPen_p.");
4792 wxPy_BEGIN_ALLOW_THREADS
;
4793 wxDC_SetPen(_arg0
,*_arg1
);
4795 wxPy_END_ALLOW_THREADS
;
4796 } Py_INCREF(Py_None
);
4797 _resultobj
= Py_None
;
4801 #define wxDC_SetTextBackground(_swigobj,_swigarg0) (_swigobj->SetTextBackground(_swigarg0))
4802 static PyObject
*_wrap_wxDC_SetTextBackground(PyObject
*self
, PyObject
*args
) {
4803 PyObject
* _resultobj
;
4810 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetTextBackground",&_argc0
,&_argc1
))
4813 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextBackground. Expected _wxDC_p.");
4819 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
4820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetTextBackground. Expected _wxColour_p.");
4825 wxPy_BEGIN_ALLOW_THREADS
;
4826 wxDC_SetTextBackground(_arg0
,*_arg1
);
4828 wxPy_END_ALLOW_THREADS
;
4829 } Py_INCREF(Py_None
);
4830 _resultobj
= Py_None
;
4834 #define wxDC_SetTextForeground(_swigobj,_swigarg0) (_swigobj->SetTextForeground(_swigarg0))
4835 static PyObject
*_wrap_wxDC_SetTextForeground(PyObject
*self
, PyObject
*args
) {
4836 PyObject
* _resultobj
;
4843 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetTextForeground",&_argc0
,&_argc1
))
4846 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextForeground. Expected _wxDC_p.");
4852 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
4853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetTextForeground. Expected _wxColour_p.");
4858 wxPy_BEGIN_ALLOW_THREADS
;
4859 wxDC_SetTextForeground(_arg0
,*_arg1
);
4861 wxPy_END_ALLOW_THREADS
;
4862 } Py_INCREF(Py_None
);
4863 _resultobj
= Py_None
;
4867 #define wxDC_SetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetUserScale(_swigarg0,_swigarg1))
4868 static PyObject
*_wrap_wxDC_SetUserScale(PyObject
*self
, PyObject
*args
) {
4869 PyObject
* _resultobj
;
4876 if(!PyArg_ParseTuple(args
,"sdd:wxDC_SetUserScale",&_argc0
,&_arg1
,&_arg2
))
4879 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetUserScale. Expected _wxDC_p.");
4885 wxPy_BEGIN_ALLOW_THREADS
;
4886 wxDC_SetUserScale(_arg0
,_arg1
,_arg2
);
4888 wxPy_END_ALLOW_THREADS
;
4889 } Py_INCREF(Py_None
);
4890 _resultobj
= Py_None
;
4894 #define wxDC_StartDoc(_swigobj,_swigarg0) (_swigobj->StartDoc(_swigarg0))
4895 static PyObject
*_wrap_wxDC_StartDoc(PyObject
*self
, PyObject
*args
) {
4896 PyObject
* _resultobj
;
4901 PyObject
* _obj1
= 0;
4904 if(!PyArg_ParseTuple(args
,"sO:wxDC_StartDoc",&_argc0
,&_obj1
))
4907 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartDoc. Expected _wxDC_p.");
4913 if (!PyString_Check(_obj1
)) {
4914 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4917 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4920 wxPy_BEGIN_ALLOW_THREADS
;
4921 _result
= (bool )wxDC_StartDoc(_arg0
,*_arg1
);
4923 wxPy_END_ALLOW_THREADS
;
4924 } _resultobj
= Py_BuildValue("i",_result
);
4932 #define wxDC_StartPage(_swigobj) (_swigobj->StartPage())
4933 static PyObject
*_wrap_wxDC_StartPage(PyObject
*self
, PyObject
*args
) {
4934 PyObject
* _resultobj
;
4939 if(!PyArg_ParseTuple(args
,"s:wxDC_StartPage",&_argc0
))
4942 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartPage. Expected _wxDC_p.");
4948 wxPy_BEGIN_ALLOW_THREADS
;
4949 wxDC_StartPage(_arg0
);
4951 wxPy_END_ALLOW_THREADS
;
4952 } Py_INCREF(Py_None
);
4953 _resultobj
= Py_None
;
4957 static void wxDC_DrawBitmap(wxDC
*self
,wxBitmap
& bitmap
,long x
,long y
,bool swapPalette
) {
4958 wxMemoryDC
* memDC
= new wxMemoryDC
;
4959 memDC
->SelectObject(bitmap
);
4961 self
->SetPalette(*bitmap
.GetPalette());
4962 self
->Blit(x
, y
, bitmap
.GetWidth(), bitmap
.GetHeight(), memDC
,
4963 0, 0, self
->GetLogicalFunction());
4964 memDC
->SelectObject(wxNullBitmap
);
4967 static PyObject
*_wrap_wxDC_DrawBitmap(PyObject
*self
, PyObject
*args
) {
4968 PyObject
* _resultobj
;
4979 if(!PyArg_ParseTuple(args
,"ssll|i:wxDC_DrawBitmap",&_argc0
,&_argc1
,&_arg2
,&_arg3
,&tempbool4
))
4982 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawBitmap. Expected _wxDC_p.");
4988 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBitmap_p")) {
4989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawBitmap. Expected _wxBitmap_p.");
4993 _arg4
= (bool ) tempbool4
;
4995 wxPy_BEGIN_ALLOW_THREADS
;
4996 wxDC_DrawBitmap(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
4998 wxPy_END_ALLOW_THREADS
;
4999 } Py_INCREF(Py_None
);
5000 _resultobj
= Py_None
;
5004 static void *SwigwxMemoryDCTowxDC(void *ptr
) {
5007 src
= (wxMemoryDC
*) ptr
;
5008 dest
= (wxDC
*) src
;
5009 return (void *) dest
;
5012 #define new_wxMemoryDC() (new wxMemoryDC())
5013 static PyObject
*_wrap_new_wxMemoryDC(PyObject
*self
, PyObject
*args
) {
5014 PyObject
* _resultobj
;
5015 wxMemoryDC
* _result
;
5019 if(!PyArg_ParseTuple(args
,":new_wxMemoryDC"))
5022 wxPy_BEGIN_ALLOW_THREADS
;
5023 _result
= (wxMemoryDC
*)new_wxMemoryDC();
5025 wxPy_END_ALLOW_THREADS
;
5026 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
5027 _resultobj
= Py_BuildValue("s",_ptemp
);
5031 #define wxMemoryDC_SelectObject(_swigobj,_swigarg0) (_swigobj->SelectObject(_swigarg0))
5032 static PyObject
*_wrap_wxMemoryDC_SelectObject(PyObject
*self
, PyObject
*args
) {
5033 PyObject
* _resultobj
;
5040 if(!PyArg_ParseTuple(args
,"ss:wxMemoryDC_SelectObject",&_argc0
,&_argc1
))
5043 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMemoryDC_p")) {
5044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDC_SelectObject. Expected _wxMemoryDC_p.");
5049 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBitmap_p")) {
5050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMemoryDC_SelectObject. Expected _wxBitmap_p.");
5055 wxPy_BEGIN_ALLOW_THREADS
;
5056 wxMemoryDC_SelectObject(_arg0
,*_arg1
);
5058 wxPy_END_ALLOW_THREADS
;
5059 } Py_INCREF(Py_None
);
5060 _resultobj
= Py_None
;
5064 static void *SwigwxScreenDCTowxDC(void *ptr
) {
5067 src
= (wxScreenDC
*) ptr
;
5068 dest
= (wxDC
*) src
;
5069 return (void *) dest
;
5072 #define new_wxScreenDC() (new wxScreenDC())
5073 static PyObject
*_wrap_new_wxScreenDC(PyObject
*self
, PyObject
*args
) {
5074 PyObject
* _resultobj
;
5075 wxScreenDC
* _result
;
5079 if(!PyArg_ParseTuple(args
,":new_wxScreenDC"))
5082 wxPy_BEGIN_ALLOW_THREADS
;
5083 _result
= (wxScreenDC
*)new_wxScreenDC();
5085 wxPy_END_ALLOW_THREADS
;
5086 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScreenDC_p");
5087 _resultobj
= Py_BuildValue("s",_ptemp
);
5091 #define wxScreenDC_StartDrawingOnTop(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
5092 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
) {
5093 PyObject
* _resultobj
;
5101 if(!PyArg_ParseTuple(args
,"ss:wxScreenDC_StartDrawingOnTop",&_argc0
,&_argc1
))
5104 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScreenDC_p")) {
5105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTop. Expected _wxScreenDC_p.");
5110 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
5111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScreenDC_StartDrawingOnTop. Expected _wxWindow_p.");
5116 wxPy_BEGIN_ALLOW_THREADS
;
5117 _result
= (bool )wxScreenDC_StartDrawingOnTop(_arg0
,_arg1
);
5119 wxPy_END_ALLOW_THREADS
;
5120 } _resultobj
= Py_BuildValue("i",_result
);
5124 #define wxScreenDC_StartDrawingOnTopRect(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
5125 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTopRect(PyObject
*self
, PyObject
*args
) {
5126 PyObject
* _resultobj
;
5129 wxRect
* _arg1
= NULL
;
5134 if(!PyArg_ParseTuple(args
,"s|s:wxScreenDC_StartDrawingOnTopRect",&_argc0
,&_argc1
))
5137 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScreenDC_p")) {
5138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTopRect. Expected _wxScreenDC_p.");
5143 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxRect_p")) {
5144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScreenDC_StartDrawingOnTopRect. Expected _wxRect_p.");
5149 wxPy_BEGIN_ALLOW_THREADS
;
5150 _result
= (bool )wxScreenDC_StartDrawingOnTopRect(_arg0
,_arg1
);
5152 wxPy_END_ALLOW_THREADS
;
5153 } _resultobj
= Py_BuildValue("i",_result
);
5157 #define wxScreenDC_EndDrawingOnTop(_swigobj) (_swigobj->EndDrawingOnTop())
5158 static PyObject
*_wrap_wxScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
) {
5159 PyObject
* _resultobj
;
5165 if(!PyArg_ParseTuple(args
,"s:wxScreenDC_EndDrawingOnTop",&_argc0
))
5168 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScreenDC_p")) {
5169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_EndDrawingOnTop. Expected _wxScreenDC_p.");
5174 wxPy_BEGIN_ALLOW_THREADS
;
5175 _result
= (bool )wxScreenDC_EndDrawingOnTop(_arg0
);
5177 wxPy_END_ALLOW_THREADS
;
5178 } _resultobj
= Py_BuildValue("i",_result
);
5182 static void *SwigwxClientDCTowxDC(void *ptr
) {
5185 src
= (wxClientDC
*) ptr
;
5186 dest
= (wxDC
*) src
;
5187 return (void *) dest
;
5190 #define new_wxClientDC(_swigarg0) (new wxClientDC(_swigarg0))
5191 static PyObject
*_wrap_new_wxClientDC(PyObject
*self
, PyObject
*args
) {
5192 PyObject
* _resultobj
;
5193 wxClientDC
* _result
;
5199 if(!PyArg_ParseTuple(args
,"s:new_wxClientDC",&_argc0
))
5202 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
5203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxClientDC. Expected _wxWindow_p.");
5208 wxPy_BEGIN_ALLOW_THREADS
;
5209 _result
= (wxClientDC
*)new_wxClientDC(_arg0
);
5211 wxPy_END_ALLOW_THREADS
;
5212 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxClientDC_p");
5213 _resultobj
= Py_BuildValue("s",_ptemp
);
5217 static void *SwigwxPaintDCTowxDC(void *ptr
) {
5220 src
= (wxPaintDC
*) ptr
;
5221 dest
= (wxDC
*) src
;
5222 return (void *) dest
;
5225 #define new_wxPaintDC(_swigarg0) (new wxPaintDC(_swigarg0))
5226 static PyObject
*_wrap_new_wxPaintDC(PyObject
*self
, PyObject
*args
) {
5227 PyObject
* _resultobj
;
5228 wxPaintDC
* _result
;
5234 if(!PyArg_ParseTuple(args
,"s:new_wxPaintDC",&_argc0
))
5237 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
5238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPaintDC. Expected _wxWindow_p.");
5243 wxPy_BEGIN_ALLOW_THREADS
;
5244 _result
= (wxPaintDC
*)new_wxPaintDC(_arg0
);
5246 wxPy_END_ALLOW_THREADS
;
5247 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPaintDC_p");
5248 _resultobj
= Py_BuildValue("s",_ptemp
);
5252 static void *SwigwxWindowDCTowxDC(void *ptr
) {
5255 src
= (wxWindowDC
*) ptr
;
5256 dest
= (wxDC
*) src
;
5257 return (void *) dest
;
5260 #define new_wxWindowDC(_swigarg0) (new wxWindowDC(_swigarg0))
5261 static PyObject
*_wrap_new_wxWindowDC(PyObject
*self
, PyObject
*args
) {
5262 PyObject
* _resultobj
;
5263 wxWindowDC
* _result
;
5269 if(!PyArg_ParseTuple(args
,"s:new_wxWindowDC",&_argc0
))
5272 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
5273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDC. Expected _wxWindow_p.");
5278 wxPy_BEGIN_ALLOW_THREADS
;
5279 _result
= (wxWindowDC
*)new_wxWindowDC(_arg0
);
5281 wxPy_END_ALLOW_THREADS
;
5282 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDC_p");
5283 _resultobj
= Py_BuildValue("s",_ptemp
);
5287 static void *SwigwxPostScriptDCTowxDC(void *ptr
) {
5288 wxPostScriptDC
*src
;
5290 src
= (wxPostScriptDC
*) ptr
;
5291 dest
= (wxDC
*) src
;
5292 return (void *) dest
;
5295 #define new_wxPostScriptDC(_swigarg0,_swigarg1,_swigarg2) (new wxPostScriptDC(_swigarg0,_swigarg1,_swigarg2))
5296 static PyObject
*_wrap_new_wxPostScriptDC(PyObject
*self
, PyObject
*args
) {
5297 PyObject
* _resultobj
;
5298 wxPostScriptDC
* _result
;
5301 wxWindow
* _arg2
= NULL
;
5302 PyObject
* _obj0
= 0;
5308 if(!PyArg_ParseTuple(args
,"O|is:new_wxPostScriptDC",&_obj0
,&tempbool1
,&_argc2
))
5311 if (!PyString_Check(_obj0
)) {
5312 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5315 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
5317 _arg1
= (bool ) tempbool1
;
5319 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxWindow_p")) {
5320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPostScriptDC. Expected _wxWindow_p.");
5325 wxPy_BEGIN_ALLOW_THREADS
;
5326 _result
= (wxPostScriptDC
*)new_wxPostScriptDC(*_arg0
,_arg1
,_arg2
);
5328 wxPy_END_ALLOW_THREADS
;
5329 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPostScriptDC_p");
5330 _resultobj
= Py_BuildValue("s",_ptemp
);
5338 #define new_wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5339 static PyObject
*_wrap_new_wxPalette(PyObject
*self
, PyObject
*args
) {
5340 PyObject
* _resultobj
;
5341 wxPalette
* _result
;
5346 PyObject
* _obj1
= 0;
5347 PyObject
* _obj2
= 0;
5348 PyObject
* _obj3
= 0;
5352 if(!PyArg_ParseTuple(args
,"OOO:new_wxPalette",&_obj1
,&_obj2
,&_obj3
))
5355 _arg1
= byte_LIST_helper(_obj1
);
5356 if (_arg1
== NULL
) {
5361 _arg2
= byte_LIST_helper(_obj2
);
5362 if (_arg2
== NULL
) {
5368 _arg3
= byte_LIST_helper(_obj3
);
5369 if (_arg3
== NULL
) {
5375 _arg0
= PyList_Size(_obj1
);
5382 wxPy_BEGIN_ALLOW_THREADS
;
5383 _result
= (wxPalette
*)new_wxPalette(_arg0
,_arg1
,_arg2
,_arg3
);
5385 wxPy_END_ALLOW_THREADS
;
5386 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
5387 _resultobj
= Py_BuildValue("s",_ptemp
);
5400 #define delete_wxPalette(_swigobj) (delete _swigobj)
5401 static PyObject
*_wrap_delete_wxPalette(PyObject
*self
, PyObject
*args
) {
5402 PyObject
* _resultobj
;
5407 if(!PyArg_ParseTuple(args
,"s:delete_wxPalette",&_argc0
))
5410 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPalette_p")) {
5411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPalette. Expected _wxPalette_p.");
5416 wxPy_BEGIN_ALLOW_THREADS
;
5417 delete_wxPalette(_arg0
);
5419 wxPy_END_ALLOW_THREADS
;
5420 } Py_INCREF(Py_None
);
5421 _resultobj
= Py_None
;
5425 #define wxPalette_GetPixel(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetPixel(_swigarg0,_swigarg1,_swigarg2))
5426 static PyObject
*_wrap_wxPalette_GetPixel(PyObject
*self
, PyObject
*args
) {
5427 PyObject
* _resultobj
;
5436 if(!PyArg_ParseTuple(args
,"sbbb:wxPalette_GetPixel",&_argc0
,&_arg1
,&_arg2
,&_arg3
))
5439 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPalette_p")) {
5440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetPixel. Expected _wxPalette_p.");
5445 wxPy_BEGIN_ALLOW_THREADS
;
5446 _result
= (int )wxPalette_GetPixel(_arg0
,_arg1
,_arg2
,_arg3
);
5448 wxPy_END_ALLOW_THREADS
;
5449 } _resultobj
= Py_BuildValue("i",_result
);
5453 #define wxPalette_GetRGB(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetRGB(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5454 static PyObject
*_wrap_wxPalette_GetRGB(PyObject
*self
, PyObject
*args
) {
5455 PyObject
* _resultobj
;
5468 if(!PyArg_ParseTuple(args
,"sisss:wxPalette_GetRGB",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_argc4
))
5471 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPalette_p")) {
5472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetRGB. Expected _wxPalette_p.");
5477 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_byte_p")) {
5478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPalette_GetRGB. Expected _byte_p.");
5483 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_byte_p")) {
5484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxPalette_GetRGB. Expected _byte_p.");
5489 if (SWIG_GetPtr(_argc4
,(void **) &_arg4
,"_byte_p")) {
5490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxPalette_GetRGB. Expected _byte_p.");
5495 wxPy_BEGIN_ALLOW_THREADS
;
5496 _result
= (bool )wxPalette_GetRGB(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5498 wxPy_END_ALLOW_THREADS
;
5499 } _resultobj
= Py_BuildValue("i",_result
);
5503 #define wxPalette_Ok(_swigobj) (_swigobj->Ok())
5504 static PyObject
*_wrap_wxPalette_Ok(PyObject
*self
, PyObject
*args
) {
5505 PyObject
* _resultobj
;
5511 if(!PyArg_ParseTuple(args
,"s:wxPalette_Ok",&_argc0
))
5514 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPalette_p")) {
5515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_Ok. Expected _wxPalette_p.");
5520 wxPy_BEGIN_ALLOW_THREADS
;
5521 _result
= (bool )wxPalette_Ok(_arg0
);
5523 wxPy_END_ALLOW_THREADS
;
5524 } _resultobj
= Py_BuildValue("i",_result
);
5528 #define new_wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5529 static PyObject
*_wrap_new_wxImageList(PyObject
*self
, PyObject
*args
) {
5530 PyObject
* _resultobj
;
5531 wxImageList
* _result
;
5540 if(!PyArg_ParseTuple(args
,"ii|ii:new_wxImageList",&_arg0
,&_arg1
,&tempbool2
,&_arg3
))
5542 _arg2
= (bool ) tempbool2
;
5544 wxPy_BEGIN_ALLOW_THREADS
;
5545 _result
= (wxImageList
*)new_wxImageList(_arg0
,_arg1
,_arg2
,_arg3
);
5547 wxPy_END_ALLOW_THREADS
;
5548 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
5549 _resultobj
= Py_BuildValue("s",_ptemp
);
5553 #define delete_wxImageList(_swigobj) (delete _swigobj)
5554 static PyObject
*_wrap_delete_wxImageList(PyObject
*self
, PyObject
*args
) {
5555 PyObject
* _resultobj
;
5556 wxImageList
* _arg0
;
5560 if(!PyArg_ParseTuple(args
,"s:delete_wxImageList",&_argc0
))
5563 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImageList_p")) {
5564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxImageList. Expected _wxImageList_p.");
5569 wxPy_BEGIN_ALLOW_THREADS
;
5570 delete_wxImageList(_arg0
);
5572 wxPy_END_ALLOW_THREADS
;
5573 } Py_INCREF(Py_None
);
5574 _resultobj
= Py_None
;
5578 #define wxImageList_Add(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
5579 static PyObject
*_wrap_wxImageList_Add(PyObject
*self
, PyObject
*args
) {
5580 PyObject
* _resultobj
;
5582 wxImageList
* _arg0
;
5588 if(!PyArg_ParseTuple(args
,"ss:wxImageList_Add",&_argc0
,&_argc1
))
5591 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImageList_p")) {
5592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Add. Expected _wxImageList_p.");
5597 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBitmap_p")) {
5598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_Add. Expected _wxBitmap_p.");
5603 wxPy_BEGIN_ALLOW_THREADS
;
5604 _result
= (int )wxImageList_Add(_arg0
,*_arg1
);
5606 wxPy_END_ALLOW_THREADS
;
5607 } _resultobj
= Py_BuildValue("i",_result
);
5611 #define wxImageList_Replace(_swigobj,_swigarg0,_swigarg1) (_swigobj->Replace(_swigarg0,_swigarg1))
5612 static PyObject
*_wrap_wxImageList_Replace(PyObject
*self
, PyObject
*args
) {
5613 PyObject
* _resultobj
;
5615 wxImageList
* _arg0
;
5622 if(!PyArg_ParseTuple(args
,"sis:wxImageList_Replace",&_argc0
,&_arg1
,&_argc2
))
5625 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImageList_p")) {
5626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Replace. Expected _wxImageList_p.");
5631 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxBitmap_p")) {
5632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Replace. Expected _wxBitmap_p.");
5637 wxPy_BEGIN_ALLOW_THREADS
;
5638 _result
= (bool )wxImageList_Replace(_arg0
,_arg1
,*_arg2
);
5640 wxPy_END_ALLOW_THREADS
;
5641 } _resultobj
= Py_BuildValue("i",_result
);
5645 #define wxImageList_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5646 static PyObject
*_wrap_wxImageList_Draw(PyObject
*self
, PyObject
*args
) {
5647 PyObject
* _resultobj
;
5649 wxImageList
* _arg0
;
5654 int _arg5
= (wxIMAGELIST_DRAW_NORMAL
);
5661 if(!PyArg_ParseTuple(args
,"sisii|ii:wxImageList_Draw",&_argc0
,&_arg1
,&_argc2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
5664 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImageList_p")) {
5665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Draw. Expected _wxImageList_p.");
5670 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxDC_p")) {
5671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Draw. Expected _wxDC_p.");
5675 _arg6
= (bool ) tempbool6
;
5677 wxPy_BEGIN_ALLOW_THREADS
;
5678 _result
= (bool )wxImageList_Draw(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
5680 wxPy_END_ALLOW_THREADS
;
5681 } _resultobj
= Py_BuildValue("i",_result
);
5685 #define wxImageList_GetImageCount(_swigobj) (_swigobj->GetImageCount())
5686 static PyObject
*_wrap_wxImageList_GetImageCount(PyObject
*self
, PyObject
*args
) {
5687 PyObject
* _resultobj
;
5689 wxImageList
* _arg0
;
5693 if(!PyArg_ParseTuple(args
,"s:wxImageList_GetImageCount",&_argc0
))
5696 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImageList_p")) {
5697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_GetImageCount. Expected _wxImageList_p.");
5702 wxPy_BEGIN_ALLOW_THREADS
;
5703 _result
= (int )wxImageList_GetImageCount(_arg0
);
5705 wxPy_END_ALLOW_THREADS
;
5706 } _resultobj
= Py_BuildValue("i",_result
);
5710 #define wxImageList_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
5711 static PyObject
*_wrap_wxImageList_Remove(PyObject
*self
, PyObject
*args
) {
5712 PyObject
* _resultobj
;
5714 wxImageList
* _arg0
;
5719 if(!PyArg_ParseTuple(args
,"si:wxImageList_Remove",&_argc0
,&_arg1
))
5722 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImageList_p")) {
5723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Remove. Expected _wxImageList_p.");
5728 wxPy_BEGIN_ALLOW_THREADS
;
5729 _result
= (bool )wxImageList_Remove(_arg0
,_arg1
);
5731 wxPy_END_ALLOW_THREADS
;
5732 } _resultobj
= Py_BuildValue("i",_result
);
5736 #define wxImageList_RemoveAll(_swigobj) (_swigobj->RemoveAll())
5737 static PyObject
*_wrap_wxImageList_RemoveAll(PyObject
*self
, PyObject
*args
) {
5738 PyObject
* _resultobj
;
5740 wxImageList
* _arg0
;
5744 if(!PyArg_ParseTuple(args
,"s:wxImageList_RemoveAll",&_argc0
))
5747 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImageList_p")) {
5748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_RemoveAll. Expected _wxImageList_p.");
5753 wxPy_BEGIN_ALLOW_THREADS
;
5754 _result
= (bool )wxImageList_RemoveAll(_arg0
);
5756 wxPy_END_ALLOW_THREADS
;
5757 } _resultobj
= Py_BuildValue("i",_result
);
5761 static PyMethodDef gdicMethods
[] = {
5762 { "wxImageList_RemoveAll", _wrap_wxImageList_RemoveAll
, 1 },
5763 { "wxImageList_Remove", _wrap_wxImageList_Remove
, 1 },
5764 { "wxImageList_GetImageCount", _wrap_wxImageList_GetImageCount
, 1 },
5765 { "wxImageList_Draw", _wrap_wxImageList_Draw
, 1 },
5766 { "wxImageList_Replace", _wrap_wxImageList_Replace
, 1 },
5767 { "wxImageList_Add", _wrap_wxImageList_Add
, 1 },
5768 { "delete_wxImageList", _wrap_delete_wxImageList
, 1 },
5769 { "new_wxImageList", _wrap_new_wxImageList
, 1 },
5770 { "wxPalette_Ok", _wrap_wxPalette_Ok
, 1 },
5771 { "wxPalette_GetRGB", _wrap_wxPalette_GetRGB
, 1 },
5772 { "wxPalette_GetPixel", _wrap_wxPalette_GetPixel
, 1 },
5773 { "delete_wxPalette", _wrap_delete_wxPalette
, 1 },
5774 { "new_wxPalette", _wrap_new_wxPalette
, 1 },
5775 { "new_wxPostScriptDC", _wrap_new_wxPostScriptDC
, 1 },
5776 { "new_wxWindowDC", _wrap_new_wxWindowDC
, 1 },
5777 { "new_wxPaintDC", _wrap_new_wxPaintDC
, 1 },
5778 { "new_wxClientDC", _wrap_new_wxClientDC
, 1 },
5779 { "wxScreenDC_EndDrawingOnTop", _wrap_wxScreenDC_EndDrawingOnTop
, 1 },
5780 { "wxScreenDC_StartDrawingOnTopRect", _wrap_wxScreenDC_StartDrawingOnTopRect
, 1 },
5781 { "wxScreenDC_StartDrawingOnTop", _wrap_wxScreenDC_StartDrawingOnTop
, 1 },
5782 { "new_wxScreenDC", _wrap_new_wxScreenDC
, 1 },
5783 { "wxMemoryDC_SelectObject", _wrap_wxMemoryDC_SelectObject
, 1 },
5784 { "new_wxMemoryDC", _wrap_new_wxMemoryDC
, 1 },
5785 { "wxDC_DrawBitmap", _wrap_wxDC_DrawBitmap
, 1 },
5786 { "wxDC_StartPage", _wrap_wxDC_StartPage
, 1 },
5787 { "wxDC_StartDoc", _wrap_wxDC_StartDoc
, 1 },
5788 { "wxDC_SetUserScale", _wrap_wxDC_SetUserScale
, 1 },
5789 { "wxDC_SetTextForeground", _wrap_wxDC_SetTextForeground
, 1 },
5790 { "wxDC_SetTextBackground", _wrap_wxDC_SetTextBackground
, 1 },
5791 { "wxDC_SetPen", _wrap_wxDC_SetPen
, 1 },
5792 { "wxDC_SetOptimization", _wrap_wxDC_SetOptimization
, 1 },
5793 { "wxDC_SetMapMode", _wrap_wxDC_SetMapMode
, 1 },
5794 { "wxDC_SetLogicalFunction", _wrap_wxDC_SetLogicalFunction
, 1 },
5795 { "wxDC_SetFont", _wrap_wxDC_SetFont
, 1 },
5796 { "wxDC_SetBrush", _wrap_wxDC_SetBrush
, 1 },
5797 { "wxDC_SetPalette", _wrap_wxDC_SetPalette
, 1 },
5798 { "wxDC_SetClippingRegion", _wrap_wxDC_SetClippingRegion
, 1 },
5799 { "wxDC_SetBackgroundMode", _wrap_wxDC_SetBackgroundMode
, 1 },
5800 { "wxDC_SetBackground", _wrap_wxDC_SetBackground
, 1 },
5801 { "wxDC_SetDeviceOrigin", _wrap_wxDC_SetDeviceOrigin
, 1 },
5802 { "wxDC_Ok", _wrap_wxDC_Ok
, 1 },
5803 { "wxDC_MinY", _wrap_wxDC_MinY
, 1 },
5804 { "wxDC_MinX", _wrap_wxDC_MinX
, 1 },
5805 { "wxDC_MaxY", _wrap_wxDC_MaxY
, 1 },
5806 { "wxDC_MaxX", _wrap_wxDC_MaxX
, 1 },
5807 { "wxDC_LogicalToDeviceYRel", _wrap_wxDC_LogicalToDeviceYRel
, 1 },
5808 { "wxDC_LogicalToDeviceY", _wrap_wxDC_LogicalToDeviceY
, 1 },
5809 { "wxDC_LogicalToDeviceXRel", _wrap_wxDC_LogicalToDeviceXRel
, 1 },
5810 { "wxDC_LogicalToDeviceX", _wrap_wxDC_LogicalToDeviceX
, 1 },
5811 { "wxDC_GetTextForeground", _wrap_wxDC_GetTextForeground
, 1 },
5812 { "wxDC_GetFullTextExtent", _wrap_wxDC_GetFullTextExtent
, 1 },
5813 { "wxDC_GetTextExtent", _wrap_wxDC_GetTextExtent
, 1 },
5814 { "wxDC_GetTextBackground", _wrap_wxDC_GetTextBackground
, 1 },
5815 { "wxDC_GetSize", _wrap_wxDC_GetSize
, 1 },
5816 { "wxDC_GetPixel", _wrap_wxDC_GetPixel
, 1 },
5817 { "wxDC_GetPen", _wrap_wxDC_GetPen
, 1 },
5818 { "wxDC_GetOptimization", _wrap_wxDC_GetOptimization
, 1 },
5819 { "wxDC_GetMapMode", _wrap_wxDC_GetMapMode
, 1 },
5820 { "wxDC_GetLogicalFunction", _wrap_wxDC_GetLogicalFunction
, 1 },
5821 { "wxDC_GetFont", _wrap_wxDC_GetFont
, 1 },
5822 { "wxDC_GetClippingBox", _wrap_wxDC_GetClippingBox
, 1 },
5823 { "wxDC_GetCharWidth", _wrap_wxDC_GetCharWidth
, 1 },
5824 { "wxDC_GetCharHeight", _wrap_wxDC_GetCharHeight
, 1 },
5825 { "wxDC_GetBrush", _wrap_wxDC_GetBrush
, 1 },
5826 { "wxDC_GetBackground", _wrap_wxDC_GetBackground
, 1 },
5827 { "wxDC_FloodFill", _wrap_wxDC_FloodFill
, 1 },
5828 { "wxDC_EndPage", _wrap_wxDC_EndPage
, 1 },
5829 { "wxDC_EndDrawing", _wrap_wxDC_EndDrawing
, 1 },
5830 { "wxDC_EndDoc", _wrap_wxDC_EndDoc
, 1 },
5831 { "wxDC_DrawText", _wrap_wxDC_DrawText
, 1 },
5832 { "wxDC_DrawSpline", _wrap_wxDC_DrawSpline
, 1 },
5833 { "wxDC_DrawRoundedRectangle", _wrap_wxDC_DrawRoundedRectangle
, 1 },
5834 { "wxDC_DrawRectangle", _wrap_wxDC_DrawRectangle
, 1 },
5835 { "wxDC_DrawPoint", _wrap_wxDC_DrawPoint
, 1 },
5836 { "wxDC_DrawPolygon", _wrap_wxDC_DrawPolygon
, 1 },
5837 { "wxDC_DrawLines", _wrap_wxDC_DrawLines
, 1 },
5838 { "wxDC_DrawLine", _wrap_wxDC_DrawLine
, 1 },
5839 { "wxDC_DrawIcon", _wrap_wxDC_DrawIcon
, 1 },
5840 { "wxDC_DrawEllipticArc", _wrap_wxDC_DrawEllipticArc
, 1 },
5841 { "wxDC_DrawEllipse", _wrap_wxDC_DrawEllipse
, 1 },
5842 { "wxDC_DrawArc", _wrap_wxDC_DrawArc
, 1 },
5843 { "wxDC_DeviceToLogicalYRel", _wrap_wxDC_DeviceToLogicalYRel
, 1 },
5844 { "wxDC_DeviceToLogicalY", _wrap_wxDC_DeviceToLogicalY
, 1 },
5845 { "wxDC_DeviceToLogicalXRel", _wrap_wxDC_DeviceToLogicalXRel
, 1 },
5846 { "wxDC_DeviceToLogicalX", _wrap_wxDC_DeviceToLogicalX
, 1 },
5847 { "wxDC_DestroyClippingRegion", _wrap_wxDC_DestroyClippingRegion
, 1 },
5848 { "wxDC_CrossHair", _wrap_wxDC_CrossHair
, 1 },
5849 { "wxDC_Clear", _wrap_wxDC_Clear
, 1 },
5850 { "wxDC_Blit", _wrap_wxDC_Blit
, 1 },
5851 { "wxDC_BeginDrawing", _wrap_wxDC_BeginDrawing
, 1 },
5852 { "delete_wxDC", _wrap_delete_wxDC
, 1 },
5853 { "wxBrush_SetStyle", _wrap_wxBrush_SetStyle
, 1 },
5854 { "wxBrush_SetStipple", _wrap_wxBrush_SetStipple
, 1 },
5855 { "wxBrush_SetColour", _wrap_wxBrush_SetColour
, 1 },
5856 { "wxBrush_Ok", _wrap_wxBrush_Ok
, 1 },
5857 { "wxBrush_GetStyle", _wrap_wxBrush_GetStyle
, 1 },
5858 { "wxBrush_GetStipple", _wrap_wxBrush_GetStipple
, 1 },
5859 { "wxBrush_GetColour", _wrap_wxBrush_GetColour
, 1 },
5860 { "new_wxBrush", _wrap_new_wxBrush
, 1 },
5861 { "wxPen_SetWidth", _wrap_wxPen_SetWidth
, 1 },
5862 { "wxPen_SetStyle", _wrap_wxPen_SetStyle
, 1 },
5863 { "wxPen_SetJoin", _wrap_wxPen_SetJoin
, 1 },
5864 { "wxPen_SetColour", _wrap_wxPen_SetColour
, 1 },
5865 { "wxPen_SetCap", _wrap_wxPen_SetCap
, 1 },
5866 { "wxPen_Ok", _wrap_wxPen_Ok
, 1 },
5867 { "wxPen_GetWidth", _wrap_wxPen_GetWidth
, 1 },
5868 { "wxPen_GetStyle", _wrap_wxPen_GetStyle
, 1 },
5869 { "wxPen_GetJoin", _wrap_wxPen_GetJoin
, 1 },
5870 { "wxPen_GetColour", _wrap_wxPen_GetColour
, 1 },
5871 { "wxPen_GetCap", _wrap_wxPen_GetCap
, 1 },
5872 { "new_wxPen", _wrap_new_wxPen
, 1 },
5873 { "wxColour_Get", _wrap_wxColour_Get
, 1 },
5874 { "wxColour_Set", _wrap_wxColour_Set
, 1 },
5875 { "wxColour_Ok", _wrap_wxColour_Ok
, 1 },
5876 { "wxColour_Blue", _wrap_wxColour_Blue
, 1 },
5877 { "wxColour_Green", _wrap_wxColour_Green
, 1 },
5878 { "wxColour_Red", _wrap_wxColour_Red
, 1 },
5879 { "delete_wxColour", _wrap_delete_wxColour
, 1 },
5880 { "new_wxColour", _wrap_new_wxColour
, 1 },
5881 { "wxFont_SetWeight", _wrap_wxFont_SetWeight
, 1 },
5882 { "wxFont_SetUnderlined", _wrap_wxFont_SetUnderlined
, 1 },
5883 { "wxFont_SetStyle", _wrap_wxFont_SetStyle
, 1 },
5884 { "wxFont_SetPointSize", _wrap_wxFont_SetPointSize
, 1 },
5885 { "wxFont_SetFamily", _wrap_wxFont_SetFamily
, 1 },
5886 { "wxFont_SetFaceName", _wrap_wxFont_SetFaceName
, 1 },
5887 { "wxFont_GetWeight", _wrap_wxFont_GetWeight
, 1 },
5888 { "wxFont_GetUnderlined", _wrap_wxFont_GetUnderlined
, 1 },
5889 { "wxFont_GetStyle", _wrap_wxFont_GetStyle
, 1 },
5890 { "wxFont_GetPointSize", _wrap_wxFont_GetPointSize
, 1 },
5891 { "wxFont_GetFamily", _wrap_wxFont_GetFamily
, 1 },
5892 { "wxFont_GetFaceName", _wrap_wxFont_GetFaceName
, 1 },
5893 { "new_wxFont", _wrap_new_wxFont
, 1 },
5894 { "wxCursor_Ok", _wrap_wxCursor_Ok
, 1 },
5895 { "delete_wxCursor", _wrap_delete_wxCursor
, 1 },
5896 { "wxIcon_SetWidth", _wrap_wxIcon_SetWidth
, 1 },
5897 { "wxIcon_SetHeight", _wrap_wxIcon_SetHeight
, 1 },
5898 { "wxIcon_SetDepth", _wrap_wxIcon_SetDepth
, 1 },
5899 { "wxIcon_Ok", _wrap_wxIcon_Ok
, 1 },
5900 { "wxIcon_LoadFile", _wrap_wxIcon_LoadFile
, 1 },
5901 { "wxIcon_GetWidth", _wrap_wxIcon_GetWidth
, 1 },
5902 { "wxIcon_GetHeight", _wrap_wxIcon_GetHeight
, 1 },
5903 { "wxIcon_GetDepth", _wrap_wxIcon_GetDepth
, 1 },
5904 { "delete_wxIcon", _wrap_delete_wxIcon
, 1 },
5905 { "delete_wxMask", _wrap_delete_wxMask
, 1 },
5906 { "new_wxMask", _wrap_new_wxMask
, 1 },
5907 { "wxBitmap_SetWidth", _wrap_wxBitmap_SetWidth
, 1 },
5908 { "wxBitmap_SetMask", _wrap_wxBitmap_SetMask
, 1 },
5909 { "wxBitmap_SetHeight", _wrap_wxBitmap_SetHeight
, 1 },
5910 { "wxBitmap_SetDepth", _wrap_wxBitmap_SetDepth
, 1 },
5911 { "wxBitmap_SaveFile", _wrap_wxBitmap_SaveFile
, 1 },
5912 { "wxBitmap_Ok", _wrap_wxBitmap_Ok
, 1 },
5913 { "wxBitmap_LoadFile", _wrap_wxBitmap_LoadFile
, 1 },
5914 { "wxBitmap_GetWidth", _wrap_wxBitmap_GetWidth
, 1 },
5915 { "wxBitmap_GetMask", _wrap_wxBitmap_GetMask
, 1 },
5916 { "wxBitmap_GetPalette", _wrap_wxBitmap_GetPalette
, 1 },
5917 { "wxBitmap_GetHeight", _wrap_wxBitmap_GetHeight
, 1 },
5918 { "wxBitmap_GetDepth", _wrap_wxBitmap_GetDepth
, 1 },
5919 { "delete_wxBitmap", _wrap_delete_wxBitmap
, 1 },
5920 { "new_wxBitmap", _wrap_new_wxBitmap
, 1 },
5921 { "wxMemoryDCFromDC", _wrap_wxMemoryDCFromDC
, 1 },
5922 { "wxNamedColour", _wrap_wxNamedColour
, 1 },
5923 { "wxStockCursor", _wrap_wxStockCursor
, 1 },
5924 { "wxMaskColour", _wrap_wxMaskColour
, 1 },
5925 { "wxNoRefBitmap", _wrap_wxNoRefBitmap
, 1 },
5926 { "wxEmptyBitmap", _wrap_wxEmptyBitmap
, 1 },
5929 static PyObject
*SWIG_globals
;
5933 SWIGEXPORT(void,initgdic
)() {
5935 SWIG_globals
= SWIG_newvarlink();
5936 m
= Py_InitModule("gdic", gdicMethods
);
5937 d
= PyModule_GetDict(m
);
5938 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
5939 SWIG_addvarlink(SWIG_globals
,"wxNORMAL_FONT",_wrap_wxNORMAL_FONT_get
, _wrap_wxNORMAL_FONT_set
);
5940 SWIG_addvarlink(SWIG_globals
,"wxSMALL_FONT",_wrap_wxSMALL_FONT_get
, _wrap_wxSMALL_FONT_set
);
5941 SWIG_addvarlink(SWIG_globals
,"wxITALIC_FONT",_wrap_wxITALIC_FONT_get
, _wrap_wxITALIC_FONT_set
);
5942 SWIG_addvarlink(SWIG_globals
,"wxSWISS_FONT",_wrap_wxSWISS_FONT_get
, _wrap_wxSWISS_FONT_set
);
5943 SWIG_addvarlink(SWIG_globals
,"wxRED_PEN",_wrap_wxRED_PEN_get
, _wrap_wxRED_PEN_set
);
5944 SWIG_addvarlink(SWIG_globals
,"wxCYAN_PEN",_wrap_wxCYAN_PEN_get
, _wrap_wxCYAN_PEN_set
);
5945 SWIG_addvarlink(SWIG_globals
,"wxGREEN_PEN",_wrap_wxGREEN_PEN_get
, _wrap_wxGREEN_PEN_set
);
5946 SWIG_addvarlink(SWIG_globals
,"wxBLACK_PEN",_wrap_wxBLACK_PEN_get
, _wrap_wxBLACK_PEN_set
);
5947 SWIG_addvarlink(SWIG_globals
,"wxWHITE_PEN",_wrap_wxWHITE_PEN_get
, _wrap_wxWHITE_PEN_set
);
5948 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_PEN",_wrap_wxTRANSPARENT_PEN_get
, _wrap_wxTRANSPARENT_PEN_set
);
5949 SWIG_addvarlink(SWIG_globals
,"wxBLACK_DASHED_PEN",_wrap_wxBLACK_DASHED_PEN_get
, _wrap_wxBLACK_DASHED_PEN_set
);
5950 SWIG_addvarlink(SWIG_globals
,"wxGREY_PEN",_wrap_wxGREY_PEN_get
, _wrap_wxGREY_PEN_set
);
5951 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_PEN",_wrap_wxMEDIUM_GREY_PEN_get
, _wrap_wxMEDIUM_GREY_PEN_set
);
5952 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_PEN",_wrap_wxLIGHT_GREY_PEN_get
, _wrap_wxLIGHT_GREY_PEN_set
);
5953 SWIG_addvarlink(SWIG_globals
,"wxBLUE_BRUSH",_wrap_wxBLUE_BRUSH_get
, _wrap_wxBLUE_BRUSH_set
);
5954 SWIG_addvarlink(SWIG_globals
,"wxGREEN_BRUSH",_wrap_wxGREEN_BRUSH_get
, _wrap_wxGREEN_BRUSH_set
);
5955 SWIG_addvarlink(SWIG_globals
,"wxWHITE_BRUSH",_wrap_wxWHITE_BRUSH_get
, _wrap_wxWHITE_BRUSH_set
);
5956 SWIG_addvarlink(SWIG_globals
,"wxBLACK_BRUSH",_wrap_wxBLACK_BRUSH_get
, _wrap_wxBLACK_BRUSH_set
);
5957 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_BRUSH",_wrap_wxTRANSPARENT_BRUSH_get
, _wrap_wxTRANSPARENT_BRUSH_set
);
5958 SWIG_addvarlink(SWIG_globals
,"wxCYAN_BRUSH",_wrap_wxCYAN_BRUSH_get
, _wrap_wxCYAN_BRUSH_set
);
5959 SWIG_addvarlink(SWIG_globals
,"wxRED_BRUSH",_wrap_wxRED_BRUSH_get
, _wrap_wxRED_BRUSH_set
);
5960 SWIG_addvarlink(SWIG_globals
,"wxGREY_BRUSH",_wrap_wxGREY_BRUSH_get
, _wrap_wxGREY_BRUSH_set
);
5961 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_BRUSH",_wrap_wxMEDIUM_GREY_BRUSH_get
, _wrap_wxMEDIUM_GREY_BRUSH_set
);
5962 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_BRUSH",_wrap_wxLIGHT_GREY_BRUSH_get
, _wrap_wxLIGHT_GREY_BRUSH_set
);
5963 SWIG_addvarlink(SWIG_globals
,"wxBLACK",_wrap_wxBLACK_get
, _wrap_wxBLACK_set
);
5964 SWIG_addvarlink(SWIG_globals
,"wxWHITE",_wrap_wxWHITE_get
, _wrap_wxWHITE_set
);
5965 SWIG_addvarlink(SWIG_globals
,"wxRED",_wrap_wxRED_get
, _wrap_wxRED_set
);
5966 SWIG_addvarlink(SWIG_globals
,"wxBLUE",_wrap_wxBLUE_get
, _wrap_wxBLUE_set
);
5967 SWIG_addvarlink(SWIG_globals
,"wxGREEN",_wrap_wxGREEN_get
, _wrap_wxGREEN_set
);
5968 SWIG_addvarlink(SWIG_globals
,"wxCYAN",_wrap_wxCYAN_get
, _wrap_wxCYAN_set
);
5969 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY",_wrap_wxLIGHT_GREY_get
, _wrap_wxLIGHT_GREY_set
);
5970 SWIG_addvarlink(SWIG_globals
,"wxSTANDARD_CURSOR",_wrap_wxSTANDARD_CURSOR_get
, _wrap_wxSTANDARD_CURSOR_set
);
5971 SWIG_addvarlink(SWIG_globals
,"wxHOURGLASS_CURSOR",_wrap_wxHOURGLASS_CURSOR_get
, _wrap_wxHOURGLASS_CURSOR_set
);
5972 SWIG_addvarlink(SWIG_globals
,"wxCROSS_CURSOR",_wrap_wxCROSS_CURSOR_get
, _wrap_wxCROSS_CURSOR_set
);
5973 SWIG_addvarlink(SWIG_globals
,"wxNullBitmap",_wrap_wxNullBitmap_get
, _wrap_wxNullBitmap_set
);
5974 SWIG_addvarlink(SWIG_globals
,"wxNullIcon",_wrap_wxNullIcon_get
, _wrap_wxNullIcon_set
);
5975 SWIG_addvarlink(SWIG_globals
,"wxNullCursor",_wrap_wxNullCursor_get
, _wrap_wxNullCursor_set
);
5976 SWIG_addvarlink(SWIG_globals
,"wxNullPen",_wrap_wxNullPen_get
, _wrap_wxNullPen_set
);
5977 SWIG_addvarlink(SWIG_globals
,"wxNullBrush",_wrap_wxNullBrush_get
, _wrap_wxNullBrush_set
);
5978 SWIG_addvarlink(SWIG_globals
,"wxNullPalette",_wrap_wxNullPalette_get
, _wrap_wxNullPalette_set
);
5979 SWIG_addvarlink(SWIG_globals
,"wxNullFont",_wrap_wxNullFont_get
, _wrap_wxNullFont_set
);
5980 SWIG_addvarlink(SWIG_globals
,"wxNullColour",_wrap_wxNullColour_get
, _wrap_wxNullColour_set
);
5981 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_NORMAL", PyInt_FromLong((long) wxIMAGELIST_DRAW_NORMAL
));
5982 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_TRANSPARENT", PyInt_FromLong((long) wxIMAGELIST_DRAW_TRANSPARENT
));
5983 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_SELECTED", PyInt_FromLong((long) wxIMAGELIST_DRAW_SELECTED
));
5984 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_FOCUSED", PyInt_FromLong((long) wxIMAGELIST_DRAW_FOCUSED
));
5985 PyDict_SetItemString(d
,"wxIMAGE_LIST_NORMAL", PyInt_FromLong((long) wxIMAGE_LIST_NORMAL
));
5986 PyDict_SetItemString(d
,"wxIMAGE_LIST_SMALL", PyInt_FromLong((long) wxIMAGE_LIST_SMALL
));
5987 PyDict_SetItemString(d
,"wxIMAGE_LIST_STATE", PyInt_FromLong((long) wxIMAGE_LIST_STATE
));
5989 * These are the pointer type-equivalency mappings.
5990 * (Used by the SWIG pointer type-checker).
5992 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
5993 SWIG_RegisterMapping("_signed_long","_long",0);
5994 SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
5995 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
5996 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
5997 SWIG_RegisterMapping("_wxToolTip","_class_wxToolTip",0);
5998 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
5999 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
6000 SWIG_RegisterMapping("_byte","_unsigned_char",0);
6001 SWIG_RegisterMapping("_long","_wxDash",0);
6002 SWIG_RegisterMapping("_long","_unsigned_long",0);
6003 SWIG_RegisterMapping("_long","_signed_long",0);
6004 SWIG_RegisterMapping("_wxImageList","_class_wxImageList",0);
6005 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
6006 SWIG_RegisterMapping("_wxDC","_class_wxPostScriptDC",SwigwxPostScriptDCTowxDC
);
6007 SWIG_RegisterMapping("_wxDC","_wxPostScriptDC",SwigwxPostScriptDCTowxDC
);
6008 SWIG_RegisterMapping("_wxDC","_class_wxWindowDC",SwigwxWindowDCTowxDC
);
6009 SWIG_RegisterMapping("_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC
);
6010 SWIG_RegisterMapping("_wxDC","_class_wxPaintDC",SwigwxPaintDCTowxDC
);
6011 SWIG_RegisterMapping("_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
);
6012 SWIG_RegisterMapping("_wxDC","_class_wxClientDC",SwigwxClientDCTowxDC
);
6013 SWIG_RegisterMapping("_wxDC","_wxClientDC",SwigwxClientDCTowxDC
);
6014 SWIG_RegisterMapping("_wxDC","_class_wxScreenDC",SwigwxScreenDCTowxDC
);
6015 SWIG_RegisterMapping("_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
);
6016 SWIG_RegisterMapping("_wxDC","_class_wxMemoryDC",SwigwxMemoryDCTowxDC
);
6017 SWIG_RegisterMapping("_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
);
6018 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
6019 SWIG_RegisterMapping("_size_t","_unsigned_int",0);
6020 SWIG_RegisterMapping("_size_t","_int",0);
6021 SWIG_RegisterMapping("_size_t","_wxWindowID",0);
6022 SWIG_RegisterMapping("_size_t","_uint",0);
6023 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
6024 SWIG_RegisterMapping("_class_wxPostScriptDC","_wxPostScriptDC",0);
6025 SWIG_RegisterMapping("_class_wxToolTip","_wxToolTip",0);
6026 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
6027 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
6028 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
6029 SWIG_RegisterMapping("_uint","_size_t",0);
6030 SWIG_RegisterMapping("_uint","_unsigned_int",0);
6031 SWIG_RegisterMapping("_uint","_int",0);
6032 SWIG_RegisterMapping("_uint","_wxWindowID",0);
6033 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
6034 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
6035 SWIG_RegisterMapping("_wxBitmap","_class_wxCursor",SwigwxCursorTowxBitmap
);
6036 SWIG_RegisterMapping("_wxBitmap","_wxCursor",SwigwxCursorTowxBitmap
);
6037 SWIG_RegisterMapping("_wxBitmap","_class_wxIcon",SwigwxIconTowxBitmap
);
6038 SWIG_RegisterMapping("_wxBitmap","_wxIcon",SwigwxIconTowxBitmap
);
6039 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
6040 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
6041 SWIG_RegisterMapping("_wxWindowDC","_class_wxWindowDC",0);
6042 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
6043 SWIG_RegisterMapping("_EBool","_signed_int",0);
6044 SWIG_RegisterMapping("_EBool","_int",0);
6045 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
6046 SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0);
6047 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
6048 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
6049 SWIG_RegisterMapping("_unsigned_long","_long",0);
6050 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
6051 SWIG_RegisterMapping("_class_wxDC","_class_wxPostScriptDC",SwigwxPostScriptDCTowxDC
);
6052 SWIG_RegisterMapping("_class_wxDC","_wxPostScriptDC",SwigwxPostScriptDCTowxDC
);
6053 SWIG_RegisterMapping("_class_wxDC","_class_wxWindowDC",SwigwxWindowDCTowxDC
);
6054 SWIG_RegisterMapping("_class_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC
);
6055 SWIG_RegisterMapping("_class_wxDC","_class_wxPaintDC",SwigwxPaintDCTowxDC
);
6056 SWIG_RegisterMapping("_class_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
);
6057 SWIG_RegisterMapping("_class_wxDC","_class_wxClientDC",SwigwxClientDCTowxDC
);
6058 SWIG_RegisterMapping("_class_wxDC","_wxClientDC",SwigwxClientDCTowxDC
);
6059 SWIG_RegisterMapping("_class_wxDC","_class_wxScreenDC",SwigwxScreenDCTowxDC
);
6060 SWIG_RegisterMapping("_class_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
);
6061 SWIG_RegisterMapping("_class_wxDC","_class_wxMemoryDC",SwigwxMemoryDCTowxDC
);
6062 SWIG_RegisterMapping("_class_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
);
6063 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
6064 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
6065 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
6066 SWIG_RegisterMapping("_signed_int","_EBool",0);
6067 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
6068 SWIG_RegisterMapping("_signed_int","_int",0);
6069 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
6070 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
6071 SWIG_RegisterMapping("_WXTYPE","_short",0);
6072 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
6073 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
6074 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
6075 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
6076 SWIG_RegisterMapping("_unsigned_short","_short",0);
6077 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
6078 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
6079 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
6080 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
6081 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
6082 SWIG_RegisterMapping("_signed_short","_short",0);
6083 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
6084 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
6085 SWIG_RegisterMapping("_class_wxWindowDC","_wxWindowDC",0);
6086 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
6087 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
6088 SWIG_RegisterMapping("_wxPostScriptDC","_class_wxPostScriptDC",0);
6089 SWIG_RegisterMapping("_unsigned_char","_byte",0);
6090 SWIG_RegisterMapping("_unsigned_int","_size_t",0);
6091 SWIG_RegisterMapping("_unsigned_int","_uint",0);
6092 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
6093 SWIG_RegisterMapping("_unsigned_int","_int",0);
6094 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
6095 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
6096 SWIG_RegisterMapping("_short","_WXTYPE",0);
6097 SWIG_RegisterMapping("_short","_unsigned_short",0);
6098 SWIG_RegisterMapping("_short","_signed_short",0);
6099 SWIG_RegisterMapping("_class_wxImageList","_wxImageList",0);
6100 SWIG_RegisterMapping("_wxWindowID","_size_t",0);
6101 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
6102 SWIG_RegisterMapping("_wxWindowID","_uint",0);
6103 SWIG_RegisterMapping("_wxWindowID","_int",0);
6104 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
6105 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
6106 SWIG_RegisterMapping("_int","_size_t",0);
6107 SWIG_RegisterMapping("_int","_EBool",0);
6108 SWIG_RegisterMapping("_int","_uint",0);
6109 SWIG_RegisterMapping("_int","_wxWindowID",0);
6110 SWIG_RegisterMapping("_int","_unsigned_int",0);
6111 SWIG_RegisterMapping("_int","_signed_int",0);
6112 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
6113 SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0);
6114 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
6115 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
6116 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
6117 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
6118 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
6119 SWIG_RegisterMapping("_wxPalette","_class_wxPalette",0);
6120 SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
6121 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
6122 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
6123 SWIG_RegisterMapping("_class_wxBitmap","_class_wxCursor",SwigwxCursorTowxBitmap
);
6124 SWIG_RegisterMapping("_class_wxBitmap","_wxCursor",SwigwxCursorTowxBitmap
);
6125 SWIG_RegisterMapping("_class_wxBitmap","_class_wxIcon",SwigwxIconTowxBitmap
);
6126 SWIG_RegisterMapping("_class_wxBitmap","_wxIcon",SwigwxIconTowxBitmap
);
6127 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
6128 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
6129 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
6130 SWIG_RegisterMapping("_wxDash","_long",0);
6131 SWIG_RegisterMapping("_class_wxPalette","_wxPalette",0);