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
);
136 wxBitmap
* wxBitmapFromData(char* data
, long type
,
137 int width
, int height
, int depth
= 1) {
138 return new wxBitmap((void*)data
, type
, width
, height
, depth
);
142 wxMask
* wxMaskColour(const wxBitmap
& bitmap
, const wxColour
& colour
) {
143 return new wxMask(bitmap
, colour
);
145 // Alternate 'constructor'
146 wxCursor
* wxPyStockCursor(int id
) {
147 return new wxCursor(id
);
149 // Alternate 'constructor'
150 wxColour
* wxNamedColour(const wxString
& colorName
) {
151 return new wxColour(colorName
);
153 // Alternate 'constructor'
154 wxMemoryDC
* wxMemoryDCFromDC(wxDC
* oldDC
) {
155 return new wxMemoryDC(oldDC
);
159 extern wxFont
* wxNORMAL_FONT
;
160 extern wxFont
* wxSMALL_FONT
;
161 extern wxFont
* wxITALIC_FONT
;
162 extern wxFont
* wxSWISS_FONT
;
163 extern wxPen
* wxRED_PEN
;
164 extern wxPen
* wxCYAN_PEN
;
165 extern wxPen
* wxGREEN_PEN
;
166 extern wxPen
* wxBLACK_PEN
;
167 extern wxPen
* wxWHITE_PEN
;
168 extern wxPen
* wxTRANSPARENT_PEN
;
169 extern wxPen
* wxBLACK_DASHED_PEN
;
170 extern wxPen
* wxGREY_PEN
;
171 extern wxPen
* wxMEDIUM_GREY_PEN
;
172 extern wxPen
* wxLIGHT_GREY_PEN
;
173 extern wxBrush
* wxBLUE_BRUSH
;
174 extern wxBrush
* wxGREEN_BRUSH
;
175 extern wxBrush
* wxWHITE_BRUSH
;
176 extern wxBrush
* wxBLACK_BRUSH
;
177 extern wxBrush
* wxTRANSPARENT_BRUSH
;
178 extern wxBrush
* wxCYAN_BRUSH
;
179 extern wxBrush
* wxRED_BRUSH
;
180 extern wxBrush
* wxGREY_BRUSH
;
181 extern wxBrush
* wxMEDIUM_GREY_BRUSH
;
182 extern wxBrush
* wxLIGHT_GREY_BRUSH
;
183 extern wxColour
* wxBLACK
;
184 extern wxColour
* wxWHITE
;
185 extern wxColour
* wxRED
;
186 extern wxColour
* wxBLUE
;
187 extern wxColour
* wxGREEN
;
188 extern wxColour
* wxCYAN
;
189 extern wxColour
* wxLIGHT_GREY
;
190 extern wxCursor
* wxSTANDARD_CURSOR
;
191 extern wxCursor
* wxHOURGLASS_CURSOR
;
192 extern wxCursor
* wxCROSS_CURSOR
;
193 extern wxBitmap wxNullBitmap
;
194 extern wxIcon wxNullIcon
;
195 extern wxCursor wxNullCursor
;
196 extern wxPen wxNullPen
;
197 extern wxBrush wxNullBrush
;
198 extern wxPalette wxNullPalette
;
199 extern wxFont wxNullFont
;
200 extern wxColour wxNullColour
;
203 static PyObject
*_wrap_wxEmptyBitmap(PyObject
*self
, PyObject
*args
) {
204 PyObject
* _resultobj
;
212 if(!PyArg_ParseTuple(args
,"ii|i:wxEmptyBitmap",&_arg0
,&_arg1
,&_arg2
))
215 wxPy_BEGIN_ALLOW_THREADS
;
216 _result
= (wxBitmap
*)wxEmptyBitmap(_arg0
,_arg1
,_arg2
);
218 wxPy_END_ALLOW_THREADS
;
219 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
220 _resultobj
= Py_BuildValue("s",_ptemp
);
224 static PyObject
*_wrap_wxNoRefBitmap(PyObject
*self
, PyObject
*args
) {
225 PyObject
* _resultobj
;
232 if(!PyArg_ParseTuple(args
,"sl:wxNoRefBitmap",&_arg0
,&_arg1
))
235 wxPy_BEGIN_ALLOW_THREADS
;
236 _result
= (wxBitmap
*)wxNoRefBitmap(_arg0
,_arg1
);
238 wxPy_END_ALLOW_THREADS
;
239 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
240 _resultobj
= Py_BuildValue("s",_ptemp
);
244 static PyObject
*_wrap_wxMaskColour(PyObject
*self
, PyObject
*args
) {
245 PyObject
* _resultobj
;
254 if(!PyArg_ParseTuple(args
,"ss:wxMaskColour",&_argc0
,&_argc1
))
257 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMaskColour. Expected _wxBitmap_p.");
263 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMaskColour. Expected _wxColour_p.");
269 wxPy_BEGIN_ALLOW_THREADS
;
270 _result
= (wxMask
*)wxMaskColour(*_arg0
,*_arg1
);
272 wxPy_END_ALLOW_THREADS
;
273 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
274 _resultobj
= Py_BuildValue("s",_ptemp
);
278 static PyObject
*_wrap_wxStockCursor(PyObject
*self
, PyObject
*args
) {
279 PyObject
* _resultobj
;
285 if(!PyArg_ParseTuple(args
,"i:wxStockCursor",&_arg0
))
288 wxPy_BEGIN_ALLOW_THREADS
;
289 _result
= (wxCursor
*)wxPyStockCursor(_arg0
);
291 wxPy_END_ALLOW_THREADS
;
292 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCursor_p");
293 _resultobj
= Py_BuildValue("s",_ptemp
);
297 static PyObject
*_wrap_wxNamedColour(PyObject
*self
, PyObject
*args
) {
298 PyObject
* _resultobj
;
301 PyObject
* _obj0
= 0;
305 if(!PyArg_ParseTuple(args
,"O:wxNamedColour",&_obj0
))
308 if (!PyString_Check(_obj0
)) {
309 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
312 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
315 wxPy_BEGIN_ALLOW_THREADS
;
316 _result
= (wxColour
*)wxNamedColour(*_arg0
);
318 wxPy_END_ALLOW_THREADS
;
319 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
320 _resultobj
= Py_BuildValue("s",_ptemp
);
328 static PyObject
*_wrap_wxMemoryDCFromDC(PyObject
*self
, PyObject
*args
) {
329 PyObject
* _resultobj
;
330 wxMemoryDC
* _result
;
336 if(!PyArg_ParseTuple(args
,"s:wxMemoryDCFromDC",&_argc0
))
339 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDCFromDC. Expected _wxDC_p.");
345 wxPy_BEGIN_ALLOW_THREADS
;
346 _result
= (wxMemoryDC
*)wxMemoryDCFromDC(_arg0
);
348 wxPy_END_ALLOW_THREADS
;
349 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
350 _resultobj
= Py_BuildValue("s",_ptemp
);
354 static int _wrap_wxNORMAL_FONT_set(PyObject
*val
) {
356 PyErr_SetString(PyExc_TypeError
,"Variable wxNORMAL_FONT is read-only.");
360 static PyObject
*_wrap_wxNORMAL_FONT_get() {
364 SWIG_MakePtr(ptemp
, (char *) wxNORMAL_FONT
,"_wxFont_p");
365 pyobj
= PyString_FromString(ptemp
);
369 static int _wrap_wxSMALL_FONT_set(PyObject
*val
) {
371 PyErr_SetString(PyExc_TypeError
,"Variable wxSMALL_FONT is read-only.");
375 static PyObject
*_wrap_wxSMALL_FONT_get() {
379 SWIG_MakePtr(ptemp
, (char *) wxSMALL_FONT
,"_wxFont_p");
380 pyobj
= PyString_FromString(ptemp
);
384 static int _wrap_wxITALIC_FONT_set(PyObject
*val
) {
386 PyErr_SetString(PyExc_TypeError
,"Variable wxITALIC_FONT is read-only.");
390 static PyObject
*_wrap_wxITALIC_FONT_get() {
394 SWIG_MakePtr(ptemp
, (char *) wxITALIC_FONT
,"_wxFont_p");
395 pyobj
= PyString_FromString(ptemp
);
399 static int _wrap_wxSWISS_FONT_set(PyObject
*val
) {
401 PyErr_SetString(PyExc_TypeError
,"Variable wxSWISS_FONT is read-only.");
405 static PyObject
*_wrap_wxSWISS_FONT_get() {
409 SWIG_MakePtr(ptemp
, (char *) wxSWISS_FONT
,"_wxFont_p");
410 pyobj
= PyString_FromString(ptemp
);
414 static int _wrap_wxRED_PEN_set(PyObject
*val
) {
416 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_PEN is read-only.");
420 static PyObject
*_wrap_wxRED_PEN_get() {
424 SWIG_MakePtr(ptemp
, (char *) wxRED_PEN
,"_wxPen_p");
425 pyobj
= PyString_FromString(ptemp
);
429 static int _wrap_wxCYAN_PEN_set(PyObject
*val
) {
431 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_PEN is read-only.");
435 static PyObject
*_wrap_wxCYAN_PEN_get() {
439 SWIG_MakePtr(ptemp
, (char *) wxCYAN_PEN
,"_wxPen_p");
440 pyobj
= PyString_FromString(ptemp
);
444 static int _wrap_wxGREEN_PEN_set(PyObject
*val
) {
446 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_PEN is read-only.");
450 static PyObject
*_wrap_wxGREEN_PEN_get() {
454 SWIG_MakePtr(ptemp
, (char *) wxGREEN_PEN
,"_wxPen_p");
455 pyobj
= PyString_FromString(ptemp
);
459 static int _wrap_wxBLACK_PEN_set(PyObject
*val
) {
461 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_PEN is read-only.");
465 static PyObject
*_wrap_wxBLACK_PEN_get() {
469 SWIG_MakePtr(ptemp
, (char *) wxBLACK_PEN
,"_wxPen_p");
470 pyobj
= PyString_FromString(ptemp
);
474 static int _wrap_wxWHITE_PEN_set(PyObject
*val
) {
476 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_PEN is read-only.");
480 static PyObject
*_wrap_wxWHITE_PEN_get() {
484 SWIG_MakePtr(ptemp
, (char *) wxWHITE_PEN
,"_wxPen_p");
485 pyobj
= PyString_FromString(ptemp
);
489 static int _wrap_wxTRANSPARENT_PEN_set(PyObject
*val
) {
491 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_PEN is read-only.");
495 static PyObject
*_wrap_wxTRANSPARENT_PEN_get() {
499 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_PEN
,"_wxPen_p");
500 pyobj
= PyString_FromString(ptemp
);
504 static int _wrap_wxBLACK_DASHED_PEN_set(PyObject
*val
) {
506 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_DASHED_PEN is read-only.");
510 static PyObject
*_wrap_wxBLACK_DASHED_PEN_get() {
514 SWIG_MakePtr(ptemp
, (char *) wxBLACK_DASHED_PEN
,"_wxPen_p");
515 pyobj
= PyString_FromString(ptemp
);
519 static int _wrap_wxGREY_PEN_set(PyObject
*val
) {
521 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_PEN is read-only.");
525 static PyObject
*_wrap_wxGREY_PEN_get() {
529 SWIG_MakePtr(ptemp
, (char *) wxGREY_PEN
,"_wxPen_p");
530 pyobj
= PyString_FromString(ptemp
);
534 static int _wrap_wxMEDIUM_GREY_PEN_set(PyObject
*val
) {
536 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_PEN is read-only.");
540 static PyObject
*_wrap_wxMEDIUM_GREY_PEN_get() {
544 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_PEN
,"_wxPen_p");
545 pyobj
= PyString_FromString(ptemp
);
549 static int _wrap_wxLIGHT_GREY_PEN_set(PyObject
*val
) {
551 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_PEN is read-only.");
555 static PyObject
*_wrap_wxLIGHT_GREY_PEN_get() {
559 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_PEN
,"_wxPen_p");
560 pyobj
= PyString_FromString(ptemp
);
564 static int _wrap_wxBLUE_BRUSH_set(PyObject
*val
) {
566 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE_BRUSH is read-only.");
570 static PyObject
*_wrap_wxBLUE_BRUSH_get() {
574 SWIG_MakePtr(ptemp
, (char *) wxBLUE_BRUSH
,"_wxBrush_p");
575 pyobj
= PyString_FromString(ptemp
);
579 static int _wrap_wxGREEN_BRUSH_set(PyObject
*val
) {
581 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_BRUSH is read-only.");
585 static PyObject
*_wrap_wxGREEN_BRUSH_get() {
589 SWIG_MakePtr(ptemp
, (char *) wxGREEN_BRUSH
,"_wxBrush_p");
590 pyobj
= PyString_FromString(ptemp
);
594 static int _wrap_wxWHITE_BRUSH_set(PyObject
*val
) {
596 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_BRUSH is read-only.");
600 static PyObject
*_wrap_wxWHITE_BRUSH_get() {
604 SWIG_MakePtr(ptemp
, (char *) wxWHITE_BRUSH
,"_wxBrush_p");
605 pyobj
= PyString_FromString(ptemp
);
609 static int _wrap_wxBLACK_BRUSH_set(PyObject
*val
) {
611 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_BRUSH is read-only.");
615 static PyObject
*_wrap_wxBLACK_BRUSH_get() {
619 SWIG_MakePtr(ptemp
, (char *) wxBLACK_BRUSH
,"_wxBrush_p");
620 pyobj
= PyString_FromString(ptemp
);
624 static int _wrap_wxTRANSPARENT_BRUSH_set(PyObject
*val
) {
626 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_BRUSH is read-only.");
630 static PyObject
*_wrap_wxTRANSPARENT_BRUSH_get() {
634 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_BRUSH
,"_wxBrush_p");
635 pyobj
= PyString_FromString(ptemp
);
639 static int _wrap_wxCYAN_BRUSH_set(PyObject
*val
) {
641 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_BRUSH is read-only.");
645 static PyObject
*_wrap_wxCYAN_BRUSH_get() {
649 SWIG_MakePtr(ptemp
, (char *) wxCYAN_BRUSH
,"_wxBrush_p");
650 pyobj
= PyString_FromString(ptemp
);
654 static int _wrap_wxRED_BRUSH_set(PyObject
*val
) {
656 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_BRUSH is read-only.");
660 static PyObject
*_wrap_wxRED_BRUSH_get() {
664 SWIG_MakePtr(ptemp
, (char *) wxRED_BRUSH
,"_wxBrush_p");
665 pyobj
= PyString_FromString(ptemp
);
669 static int _wrap_wxGREY_BRUSH_set(PyObject
*val
) {
671 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_BRUSH is read-only.");
675 static PyObject
*_wrap_wxGREY_BRUSH_get() {
679 SWIG_MakePtr(ptemp
, (char *) wxGREY_BRUSH
,"_wxBrush_p");
680 pyobj
= PyString_FromString(ptemp
);
684 static int _wrap_wxMEDIUM_GREY_BRUSH_set(PyObject
*val
) {
686 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_BRUSH is read-only.");
690 static PyObject
*_wrap_wxMEDIUM_GREY_BRUSH_get() {
694 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_BRUSH
,"_wxBrush_p");
695 pyobj
= PyString_FromString(ptemp
);
699 static int _wrap_wxLIGHT_GREY_BRUSH_set(PyObject
*val
) {
701 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_BRUSH is read-only.");
705 static PyObject
*_wrap_wxLIGHT_GREY_BRUSH_get() {
709 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_BRUSH
,"_wxBrush_p");
710 pyobj
= PyString_FromString(ptemp
);
714 static int _wrap_wxBLACK_set(PyObject
*val
) {
716 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK is read-only.");
720 static PyObject
*_wrap_wxBLACK_get() {
724 SWIG_MakePtr(ptemp
, (char *) wxBLACK
,"_wxColour_p");
725 pyobj
= PyString_FromString(ptemp
);
729 static int _wrap_wxWHITE_set(PyObject
*val
) {
731 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE is read-only.");
735 static PyObject
*_wrap_wxWHITE_get() {
739 SWIG_MakePtr(ptemp
, (char *) wxWHITE
,"_wxColour_p");
740 pyobj
= PyString_FromString(ptemp
);
744 static int _wrap_wxRED_set(PyObject
*val
) {
746 PyErr_SetString(PyExc_TypeError
,"Variable wxRED is read-only.");
750 static PyObject
*_wrap_wxRED_get() {
754 SWIG_MakePtr(ptemp
, (char *) wxRED
,"_wxColour_p");
755 pyobj
= PyString_FromString(ptemp
);
759 static int _wrap_wxBLUE_set(PyObject
*val
) {
761 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE is read-only.");
765 static PyObject
*_wrap_wxBLUE_get() {
769 SWIG_MakePtr(ptemp
, (char *) wxBLUE
,"_wxColour_p");
770 pyobj
= PyString_FromString(ptemp
);
774 static int _wrap_wxGREEN_set(PyObject
*val
) {
776 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN is read-only.");
780 static PyObject
*_wrap_wxGREEN_get() {
784 SWIG_MakePtr(ptemp
, (char *) wxGREEN
,"_wxColour_p");
785 pyobj
= PyString_FromString(ptemp
);
789 static int _wrap_wxCYAN_set(PyObject
*val
) {
791 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN is read-only.");
795 static PyObject
*_wrap_wxCYAN_get() {
799 SWIG_MakePtr(ptemp
, (char *) wxCYAN
,"_wxColour_p");
800 pyobj
= PyString_FromString(ptemp
);
804 static int _wrap_wxLIGHT_GREY_set(PyObject
*val
) {
806 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY is read-only.");
810 static PyObject
*_wrap_wxLIGHT_GREY_get() {
814 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY
,"_wxColour_p");
815 pyobj
= PyString_FromString(ptemp
);
819 static int _wrap_wxSTANDARD_CURSOR_set(PyObject
*val
) {
821 PyErr_SetString(PyExc_TypeError
,"Variable wxSTANDARD_CURSOR is read-only.");
825 static PyObject
*_wrap_wxSTANDARD_CURSOR_get() {
829 SWIG_MakePtr(ptemp
, (char *) wxSTANDARD_CURSOR
,"_wxCursor_p");
830 pyobj
= PyString_FromString(ptemp
);
834 static int _wrap_wxHOURGLASS_CURSOR_set(PyObject
*val
) {
836 PyErr_SetString(PyExc_TypeError
,"Variable wxHOURGLASS_CURSOR is read-only.");
840 static PyObject
*_wrap_wxHOURGLASS_CURSOR_get() {
844 SWIG_MakePtr(ptemp
, (char *) wxHOURGLASS_CURSOR
,"_wxCursor_p");
845 pyobj
= PyString_FromString(ptemp
);
849 static int _wrap_wxCROSS_CURSOR_set(PyObject
*val
) {
851 PyErr_SetString(PyExc_TypeError
,"Variable wxCROSS_CURSOR is read-only.");
855 static PyObject
*_wrap_wxCROSS_CURSOR_get() {
859 SWIG_MakePtr(ptemp
, (char *) wxCROSS_CURSOR
,"_wxCursor_p");
860 pyobj
= PyString_FromString(ptemp
);
864 static int _wrap_wxNullBitmap_set(PyObject
*val
) {
866 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBitmap is read-only.");
870 static PyObject
*_wrap_wxNullBitmap_get() {
874 SWIG_MakePtr(ptemp
,(char *) &wxNullBitmap
,"_wxBitmap_p");
875 pyobj
= PyString_FromString(ptemp
);
879 static int _wrap_wxNullIcon_set(PyObject
*val
) {
881 PyErr_SetString(PyExc_TypeError
,"Variable wxNullIcon is read-only.");
885 static PyObject
*_wrap_wxNullIcon_get() {
889 SWIG_MakePtr(ptemp
,(char *) &wxNullIcon
,"_wxIcon_p");
890 pyobj
= PyString_FromString(ptemp
);
894 static int _wrap_wxNullCursor_set(PyObject
*val
) {
896 PyErr_SetString(PyExc_TypeError
,"Variable wxNullCursor is read-only.");
900 static PyObject
*_wrap_wxNullCursor_get() {
904 SWIG_MakePtr(ptemp
,(char *) &wxNullCursor
,"_wxCursor_p");
905 pyobj
= PyString_FromString(ptemp
);
909 static int _wrap_wxNullPen_set(PyObject
*val
) {
911 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPen is read-only.");
915 static PyObject
*_wrap_wxNullPen_get() {
919 SWIG_MakePtr(ptemp
,(char *) &wxNullPen
,"_wxPen_p");
920 pyobj
= PyString_FromString(ptemp
);
924 static int _wrap_wxNullBrush_set(PyObject
*val
) {
926 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBrush is read-only.");
930 static PyObject
*_wrap_wxNullBrush_get() {
934 SWIG_MakePtr(ptemp
,(char *) &wxNullBrush
,"_wxBrush_p");
935 pyobj
= PyString_FromString(ptemp
);
939 static int _wrap_wxNullPalette_set(PyObject
*val
) {
941 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPalette is read-only.");
945 static PyObject
*_wrap_wxNullPalette_get() {
949 SWIG_MakePtr(ptemp
,(char *) &wxNullPalette
,"_wxPalette_p");
950 pyobj
= PyString_FromString(ptemp
);
954 static int _wrap_wxNullFont_set(PyObject
*val
) {
956 PyErr_SetString(PyExc_TypeError
,"Variable wxNullFont is read-only.");
960 static PyObject
*_wrap_wxNullFont_get() {
964 SWIG_MakePtr(ptemp
,(char *) &wxNullFont
,"_wxFont_p");
965 pyobj
= PyString_FromString(ptemp
);
969 static int _wrap_wxNullColour_set(PyObject
*val
) {
971 PyErr_SetString(PyExc_TypeError
,"Variable wxNullColour is read-only.");
975 static PyObject
*_wrap_wxNullColour_get() {
979 SWIG_MakePtr(ptemp
,(char *) &wxNullColour
,"_wxColour_p");
980 pyobj
= PyString_FromString(ptemp
);
984 #define new_wxBitmap(_swigarg0,_swigarg1) (new wxBitmap(_swigarg0,_swigarg1))
985 static PyObject
*_wrap_new_wxBitmap(PyObject
*self
, PyObject
*args
) {
986 PyObject
* _resultobj
;
990 PyObject
* _obj0
= 0;
994 if(!PyArg_ParseTuple(args
,"Ol:new_wxBitmap",&_obj0
,&_arg1
))
997 if (!PyString_Check(_obj0
)) {
998 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1001 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
1004 wxPy_BEGIN_ALLOW_THREADS
;
1005 _result
= (wxBitmap
*)new_wxBitmap(*_arg0
,_arg1
);
1007 wxPy_END_ALLOW_THREADS
;
1008 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1009 _resultobj
= Py_BuildValue("s",_ptemp
);
1017 #define delete_wxBitmap(_swigobj) (delete _swigobj)
1018 static PyObject
*_wrap_delete_wxBitmap(PyObject
*self
, PyObject
*args
) {
1019 PyObject
* _resultobj
;
1024 if(!PyArg_ParseTuple(args
,"s:delete_wxBitmap",&_argc0
))
1027 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBitmap. Expected _wxBitmap_p.");
1033 wxPy_BEGIN_ALLOW_THREADS
;
1034 delete_wxBitmap(_arg0
);
1036 wxPy_END_ALLOW_THREADS
;
1037 } Py_INCREF(Py_None
);
1038 _resultobj
= Py_None
;
1042 #define wxBitmap_GetDepth(_swigobj) (_swigobj->GetDepth())
1043 static PyObject
*_wrap_wxBitmap_GetDepth(PyObject
*self
, PyObject
*args
) {
1044 PyObject
* _resultobj
;
1050 if(!PyArg_ParseTuple(args
,"s:wxBitmap_GetDepth",&_argc0
))
1053 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetDepth. Expected _wxBitmap_p.");
1059 wxPy_BEGIN_ALLOW_THREADS
;
1060 _result
= (int )wxBitmap_GetDepth(_arg0
);
1062 wxPy_END_ALLOW_THREADS
;
1063 } _resultobj
= Py_BuildValue("i",_result
);
1067 #define wxBitmap_GetHeight(_swigobj) (_swigobj->GetHeight())
1068 static PyObject
*_wrap_wxBitmap_GetHeight(PyObject
*self
, PyObject
*args
) {
1069 PyObject
* _resultobj
;
1075 if(!PyArg_ParseTuple(args
,"s:wxBitmap_GetHeight",&_argc0
))
1078 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetHeight. Expected _wxBitmap_p.");
1084 wxPy_BEGIN_ALLOW_THREADS
;
1085 _result
= (int )wxBitmap_GetHeight(_arg0
);
1087 wxPy_END_ALLOW_THREADS
;
1088 } _resultobj
= Py_BuildValue("i",_result
);
1092 #define wxBitmap_GetPalette(_swigobj) (_swigobj->GetPalette())
1093 static PyObject
*_wrap_wxBitmap_GetPalette(PyObject
*self
, PyObject
*args
) {
1094 PyObject
* _resultobj
;
1095 wxPalette
* _result
;
1101 if(!PyArg_ParseTuple(args
,"s:wxBitmap_GetPalette",&_argc0
))
1104 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetPalette. Expected _wxBitmap_p.");
1110 wxPy_BEGIN_ALLOW_THREADS
;
1111 _result
= (wxPalette
*)wxBitmap_GetPalette(_arg0
);
1113 wxPy_END_ALLOW_THREADS
;
1114 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
1115 _resultobj
= Py_BuildValue("s",_ptemp
);
1119 #define wxBitmap_GetMask(_swigobj) (_swigobj->GetMask())
1120 static PyObject
*_wrap_wxBitmap_GetMask(PyObject
*self
, PyObject
*args
) {
1121 PyObject
* _resultobj
;
1128 if(!PyArg_ParseTuple(args
,"s:wxBitmap_GetMask",&_argc0
))
1131 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetMask. Expected _wxBitmap_p.");
1137 wxPy_BEGIN_ALLOW_THREADS
;
1138 _result
= (wxMask
*)wxBitmap_GetMask(_arg0
);
1140 wxPy_END_ALLOW_THREADS
;
1141 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
1142 _resultobj
= Py_BuildValue("s",_ptemp
);
1146 #define wxBitmap_GetWidth(_swigobj) (_swigobj->GetWidth())
1147 static PyObject
*_wrap_wxBitmap_GetWidth(PyObject
*self
, PyObject
*args
) {
1148 PyObject
* _resultobj
;
1154 if(!PyArg_ParseTuple(args
,"s:wxBitmap_GetWidth",&_argc0
))
1157 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetWidth. Expected _wxBitmap_p.");
1163 wxPy_BEGIN_ALLOW_THREADS
;
1164 _result
= (int )wxBitmap_GetWidth(_arg0
);
1166 wxPy_END_ALLOW_THREADS
;
1167 } _resultobj
= Py_BuildValue("i",_result
);
1171 #define wxBitmap_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1172 static PyObject
*_wrap_wxBitmap_LoadFile(PyObject
*self
, PyObject
*args
) {
1173 PyObject
* _resultobj
;
1179 PyObject
* _obj1
= 0;
1182 if(!PyArg_ParseTuple(args
,"sOl:wxBitmap_LoadFile",&_argc0
,&_obj1
,&_arg2
))
1185 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_LoadFile. Expected _wxBitmap_p.");
1191 if (!PyString_Check(_obj1
)) {
1192 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1195 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1198 wxPy_BEGIN_ALLOW_THREADS
;
1199 _result
= (bool )wxBitmap_LoadFile(_arg0
,*_arg1
,_arg2
);
1201 wxPy_END_ALLOW_THREADS
;
1202 } _resultobj
= Py_BuildValue("i",_result
);
1210 #define wxBitmap_Ok(_swigobj) (_swigobj->Ok())
1211 static PyObject
*_wrap_wxBitmap_Ok(PyObject
*self
, PyObject
*args
) {
1212 PyObject
* _resultobj
;
1218 if(!PyArg_ParseTuple(args
,"s:wxBitmap_Ok",&_argc0
))
1221 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_Ok. Expected _wxBitmap_p.");
1227 wxPy_BEGIN_ALLOW_THREADS
;
1228 _result
= (bool )wxBitmap_Ok(_arg0
);
1230 wxPy_END_ALLOW_THREADS
;
1231 } _resultobj
= Py_BuildValue("i",_result
);
1235 #define wxBitmap_SaveFile(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SaveFile(_swigarg0,_swigarg1,_swigarg2))
1236 static PyObject
*_wrap_wxBitmap_SaveFile(PyObject
*self
, PyObject
*args
) {
1237 PyObject
* _resultobj
;
1242 wxPalette
* _arg3
= NULL
;
1244 PyObject
* _obj1
= 0;
1248 if(!PyArg_ParseTuple(args
,"sOi|s:wxBitmap_SaveFile",&_argc0
,&_obj1
,&_arg2
,&_argc3
))
1251 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SaveFile. Expected _wxBitmap_p.");
1257 if (!PyString_Check(_obj1
)) {
1258 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1261 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1264 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxPalette_p")) {
1265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxBitmap_SaveFile. Expected _wxPalette_p.");
1270 wxPy_BEGIN_ALLOW_THREADS
;
1271 _result
= (bool )wxBitmap_SaveFile(_arg0
,*_arg1
,_arg2
,_arg3
);
1273 wxPy_END_ALLOW_THREADS
;
1274 } _resultobj
= Py_BuildValue("i",_result
);
1282 #define wxBitmap_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
1283 static PyObject
*_wrap_wxBitmap_SetDepth(PyObject
*self
, PyObject
*args
) {
1284 PyObject
* _resultobj
;
1290 if(!PyArg_ParseTuple(args
,"si:wxBitmap_SetDepth",&_argc0
,&_arg1
))
1293 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetDepth. Expected _wxBitmap_p.");
1299 wxPy_BEGIN_ALLOW_THREADS
;
1300 wxBitmap_SetDepth(_arg0
,_arg1
);
1302 wxPy_END_ALLOW_THREADS
;
1303 } Py_INCREF(Py_None
);
1304 _resultobj
= Py_None
;
1308 #define wxBitmap_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1309 static PyObject
*_wrap_wxBitmap_SetHeight(PyObject
*self
, PyObject
*args
) {
1310 PyObject
* _resultobj
;
1316 if(!PyArg_ParseTuple(args
,"si:wxBitmap_SetHeight",&_argc0
,&_arg1
))
1319 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetHeight. Expected _wxBitmap_p.");
1325 wxPy_BEGIN_ALLOW_THREADS
;
1326 wxBitmap_SetHeight(_arg0
,_arg1
);
1328 wxPy_END_ALLOW_THREADS
;
1329 } Py_INCREF(Py_None
);
1330 _resultobj
= Py_None
;
1334 #define wxBitmap_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
1335 static PyObject
*_wrap_wxBitmap_SetMask(PyObject
*self
, PyObject
*args
) {
1336 PyObject
* _resultobj
;
1343 if(!PyArg_ParseTuple(args
,"ss:wxBitmap_SetMask",&_argc0
,&_argc1
))
1346 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetMask. Expected _wxBitmap_p.");
1352 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxMask_p")) {
1353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_SetMask. Expected _wxMask_p.");
1358 wxPy_BEGIN_ALLOW_THREADS
;
1359 wxBitmap_SetMask(_arg0
,_arg1
);
1361 wxPy_END_ALLOW_THREADS
;
1362 } Py_INCREF(Py_None
);
1363 _resultobj
= Py_None
;
1367 #define wxBitmap_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1368 static PyObject
*_wrap_wxBitmap_SetWidth(PyObject
*self
, PyObject
*args
) {
1369 PyObject
* _resultobj
;
1375 if(!PyArg_ParseTuple(args
,"si:wxBitmap_SetWidth",&_argc0
,&_arg1
))
1378 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetWidth. Expected _wxBitmap_p.");
1384 wxPy_BEGIN_ALLOW_THREADS
;
1385 wxBitmap_SetWidth(_arg0
,_arg1
);
1387 wxPy_END_ALLOW_THREADS
;
1388 } Py_INCREF(Py_None
);
1389 _resultobj
= Py_None
;
1393 #define new_wxMask(_swigarg0) (new wxMask(_swigarg0))
1394 static PyObject
*_wrap_new_wxMask(PyObject
*self
, PyObject
*args
) {
1395 PyObject
* _resultobj
;
1402 if(!PyArg_ParseTuple(args
,"s:new_wxMask",&_argc0
))
1405 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMask. Expected _wxBitmap_p.");
1411 wxPy_BEGIN_ALLOW_THREADS
;
1412 _result
= (wxMask
*)new_wxMask(*_arg0
);
1414 wxPy_END_ALLOW_THREADS
;
1415 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
1416 _resultobj
= Py_BuildValue("s",_ptemp
);
1420 #define delete_wxMask(_swigobj) (delete _swigobj)
1421 static PyObject
*_wrap_delete_wxMask(PyObject
*self
, PyObject
*args
) {
1422 PyObject
* _resultobj
;
1427 if(!PyArg_ParseTuple(args
,"s:delete_wxMask",&_argc0
))
1430 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMask_p")) {
1431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMask. Expected _wxMask_p.");
1436 wxPy_BEGIN_ALLOW_THREADS
;
1437 delete_wxMask(_arg0
);
1439 wxPy_END_ALLOW_THREADS
;
1440 } Py_INCREF(Py_None
);
1441 _resultobj
= Py_None
;
1445 static void *SwigwxIconTowxBitmap(void *ptr
) {
1448 src
= (wxIcon
*) ptr
;
1449 dest
= (wxBitmap
*) src
;
1450 return (void *) dest
;
1453 #define new_wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1454 static PyObject
*_wrap_new_wxIcon(PyObject
*self
, PyObject
*args
) {
1455 PyObject
* _resultobj
;
1461 PyObject
* _obj0
= 0;
1465 if(!PyArg_ParseTuple(args
,"Ol|ii:new_wxIcon",&_obj0
,&_arg1
,&_arg2
,&_arg3
))
1468 if (!PyString_Check(_obj0
)) {
1469 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1472 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
1475 wxPy_BEGIN_ALLOW_THREADS
;
1476 _result
= (wxIcon
*)new_wxIcon(*_arg0
,_arg1
,_arg2
,_arg3
);
1478 wxPy_END_ALLOW_THREADS
;
1479 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
1480 _resultobj
= Py_BuildValue("s",_ptemp
);
1488 #define delete_wxIcon(_swigobj) (delete _swigobj)
1489 static PyObject
*_wrap_delete_wxIcon(PyObject
*self
, PyObject
*args
) {
1490 PyObject
* _resultobj
;
1495 if(!PyArg_ParseTuple(args
,"s:delete_wxIcon",&_argc0
))
1498 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxIcon. Expected _wxIcon_p.");
1504 wxPy_BEGIN_ALLOW_THREADS
;
1505 delete_wxIcon(_arg0
);
1507 wxPy_END_ALLOW_THREADS
;
1508 } Py_INCREF(Py_None
);
1509 _resultobj
= Py_None
;
1513 #define wxIcon_GetDepth(_swigobj) (_swigobj->GetDepth())
1514 static PyObject
*_wrap_wxIcon_GetDepth(PyObject
*self
, PyObject
*args
) {
1515 PyObject
* _resultobj
;
1521 if(!PyArg_ParseTuple(args
,"s:wxIcon_GetDepth",&_argc0
))
1524 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetDepth. Expected _wxIcon_p.");
1530 wxPy_BEGIN_ALLOW_THREADS
;
1531 _result
= (int )wxIcon_GetDepth(_arg0
);
1533 wxPy_END_ALLOW_THREADS
;
1534 } _resultobj
= Py_BuildValue("i",_result
);
1538 #define wxIcon_GetHeight(_swigobj) (_swigobj->GetHeight())
1539 static PyObject
*_wrap_wxIcon_GetHeight(PyObject
*self
, PyObject
*args
) {
1540 PyObject
* _resultobj
;
1546 if(!PyArg_ParseTuple(args
,"s:wxIcon_GetHeight",&_argc0
))
1549 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetHeight. Expected _wxIcon_p.");
1555 wxPy_BEGIN_ALLOW_THREADS
;
1556 _result
= (int )wxIcon_GetHeight(_arg0
);
1558 wxPy_END_ALLOW_THREADS
;
1559 } _resultobj
= Py_BuildValue("i",_result
);
1563 #define wxIcon_GetWidth(_swigobj) (_swigobj->GetWidth())
1564 static PyObject
*_wrap_wxIcon_GetWidth(PyObject
*self
, PyObject
*args
) {
1565 PyObject
* _resultobj
;
1571 if(!PyArg_ParseTuple(args
,"s:wxIcon_GetWidth",&_argc0
))
1574 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetWidth. Expected _wxIcon_p.");
1580 wxPy_BEGIN_ALLOW_THREADS
;
1581 _result
= (int )wxIcon_GetWidth(_arg0
);
1583 wxPy_END_ALLOW_THREADS
;
1584 } _resultobj
= Py_BuildValue("i",_result
);
1588 #define wxIcon_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1589 static PyObject
*_wrap_wxIcon_LoadFile(PyObject
*self
, PyObject
*args
) {
1590 PyObject
* _resultobj
;
1596 PyObject
* _obj1
= 0;
1599 if(!PyArg_ParseTuple(args
,"sOl:wxIcon_LoadFile",&_argc0
,&_obj1
,&_arg2
))
1602 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_LoadFile. Expected _wxIcon_p.");
1608 if (!PyString_Check(_obj1
)) {
1609 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1612 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1615 wxPy_BEGIN_ALLOW_THREADS
;
1616 _result
= (bool )wxIcon_LoadFile(_arg0
,*_arg1
,_arg2
);
1618 wxPy_END_ALLOW_THREADS
;
1619 } _resultobj
= Py_BuildValue("i",_result
);
1627 #define wxIcon_Ok(_swigobj) (_swigobj->Ok())
1628 static PyObject
*_wrap_wxIcon_Ok(PyObject
*self
, PyObject
*args
) {
1629 PyObject
* _resultobj
;
1635 if(!PyArg_ParseTuple(args
,"s:wxIcon_Ok",&_argc0
))
1638 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_Ok. Expected _wxIcon_p.");
1644 wxPy_BEGIN_ALLOW_THREADS
;
1645 _result
= (bool )wxIcon_Ok(_arg0
);
1647 wxPy_END_ALLOW_THREADS
;
1648 } _resultobj
= Py_BuildValue("i",_result
);
1652 #define wxIcon_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
1653 static PyObject
*_wrap_wxIcon_SetDepth(PyObject
*self
, PyObject
*args
) {
1654 PyObject
* _resultobj
;
1660 if(!PyArg_ParseTuple(args
,"si:wxIcon_SetDepth",&_argc0
,&_arg1
))
1663 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetDepth. Expected _wxIcon_p.");
1669 wxPy_BEGIN_ALLOW_THREADS
;
1670 wxIcon_SetDepth(_arg0
,_arg1
);
1672 wxPy_END_ALLOW_THREADS
;
1673 } Py_INCREF(Py_None
);
1674 _resultobj
= Py_None
;
1678 #define wxIcon_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1679 static PyObject
*_wrap_wxIcon_SetHeight(PyObject
*self
, PyObject
*args
) {
1680 PyObject
* _resultobj
;
1686 if(!PyArg_ParseTuple(args
,"si:wxIcon_SetHeight",&_argc0
,&_arg1
))
1689 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetHeight. Expected _wxIcon_p.");
1695 wxPy_BEGIN_ALLOW_THREADS
;
1696 wxIcon_SetHeight(_arg0
,_arg1
);
1698 wxPy_END_ALLOW_THREADS
;
1699 } Py_INCREF(Py_None
);
1700 _resultobj
= Py_None
;
1704 #define wxIcon_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1705 static PyObject
*_wrap_wxIcon_SetWidth(PyObject
*self
, PyObject
*args
) {
1706 PyObject
* _resultobj
;
1712 if(!PyArg_ParseTuple(args
,"si:wxIcon_SetWidth",&_argc0
,&_arg1
))
1715 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetWidth. Expected _wxIcon_p.");
1721 wxPy_BEGIN_ALLOW_THREADS
;
1722 wxIcon_SetWidth(_arg0
,_arg1
);
1724 wxPy_END_ALLOW_THREADS
;
1725 } Py_INCREF(Py_None
);
1726 _resultobj
= Py_None
;
1730 static void *SwigwxCursorTowxBitmap(void *ptr
) {
1733 src
= (wxCursor
*) ptr
;
1734 dest
= (wxBitmap
*) src
;
1735 return (void *) dest
;
1738 #define delete_wxCursor(_swigobj) (delete _swigobj)
1739 static PyObject
*_wrap_delete_wxCursor(PyObject
*self
, PyObject
*args
) {
1740 PyObject
* _resultobj
;
1745 if(!PyArg_ParseTuple(args
,"s:delete_wxCursor",&_argc0
))
1748 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxCursor_p")) {
1749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCursor. Expected _wxCursor_p.");
1754 wxPy_BEGIN_ALLOW_THREADS
;
1755 delete_wxCursor(_arg0
);
1757 wxPy_END_ALLOW_THREADS
;
1758 } Py_INCREF(Py_None
);
1759 _resultobj
= Py_None
;
1763 #define wxCursor_Ok(_swigobj) (_swigobj->Ok())
1764 static PyObject
*_wrap_wxCursor_Ok(PyObject
*self
, PyObject
*args
) {
1765 PyObject
* _resultobj
;
1771 if(!PyArg_ParseTuple(args
,"s:wxCursor_Ok",&_argc0
))
1774 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxCursor_p")) {
1775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_Ok. Expected _wxCursor_p.");
1780 wxPy_BEGIN_ALLOW_THREADS
;
1781 _result
= (bool )wxCursor_Ok(_arg0
);
1783 wxPy_END_ALLOW_THREADS
;
1784 } _resultobj
= Py_BuildValue("i",_result
);
1788 static wxFont
*new_wxFont(int pointSize
,int family
,int style
,int weight
,int underline
,char *faceName
) {
1790 return wxTheFontList
->FindOrCreateFont(pointSize
, family
, style
, weight
,
1791 underline
, faceName
);
1794 static PyObject
*_wrap_new_wxFont(PyObject
*self
, PyObject
*args
) {
1795 PyObject
* _resultobj
;
1806 if(!PyArg_ParseTuple(args
,"iiii|is:new_wxFont",&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
1809 wxPy_BEGIN_ALLOW_THREADS
;
1810 _result
= (wxFont
*)new_wxFont(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1812 wxPy_END_ALLOW_THREADS
;
1813 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1814 _resultobj
= Py_BuildValue("s",_ptemp
);
1818 #define wxFont_GetFaceName(_swigobj) (_swigobj->GetFaceName())
1819 static PyObject
*_wrap_wxFont_GetFaceName(PyObject
*self
, PyObject
*args
) {
1820 PyObject
* _resultobj
;
1826 if(!PyArg_ParseTuple(args
,"s:wxFont_GetFaceName",&_argc0
))
1829 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFaceName. Expected _wxFont_p.");
1835 wxPy_BEGIN_ALLOW_THREADS
;
1836 _result
= new wxString (wxFont_GetFaceName(_arg0
));
1838 wxPy_END_ALLOW_THREADS
;
1840 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1848 #define wxFont_GetFamily(_swigobj) (_swigobj->GetFamily())
1849 static PyObject
*_wrap_wxFont_GetFamily(PyObject
*self
, PyObject
*args
) {
1850 PyObject
* _resultobj
;
1856 if(!PyArg_ParseTuple(args
,"s:wxFont_GetFamily",&_argc0
))
1859 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFamily. Expected _wxFont_p.");
1865 wxPy_BEGIN_ALLOW_THREADS
;
1866 _result
= (int )wxFont_GetFamily(_arg0
);
1868 wxPy_END_ALLOW_THREADS
;
1869 } _resultobj
= Py_BuildValue("i",_result
);
1873 #define wxFont_GetPointSize(_swigobj) (_swigobj->GetPointSize())
1874 static PyObject
*_wrap_wxFont_GetPointSize(PyObject
*self
, PyObject
*args
) {
1875 PyObject
* _resultobj
;
1881 if(!PyArg_ParseTuple(args
,"s:wxFont_GetPointSize",&_argc0
))
1884 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetPointSize. Expected _wxFont_p.");
1890 wxPy_BEGIN_ALLOW_THREADS
;
1891 _result
= (int )wxFont_GetPointSize(_arg0
);
1893 wxPy_END_ALLOW_THREADS
;
1894 } _resultobj
= Py_BuildValue("i",_result
);
1898 #define wxFont_GetStyle(_swigobj) (_swigobj->GetStyle())
1899 static PyObject
*_wrap_wxFont_GetStyle(PyObject
*self
, PyObject
*args
) {
1900 PyObject
* _resultobj
;
1906 if(!PyArg_ParseTuple(args
,"s:wxFont_GetStyle",&_argc0
))
1909 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetStyle. Expected _wxFont_p.");
1915 wxPy_BEGIN_ALLOW_THREADS
;
1916 _result
= (int )wxFont_GetStyle(_arg0
);
1918 wxPy_END_ALLOW_THREADS
;
1919 } _resultobj
= Py_BuildValue("i",_result
);
1923 #define wxFont_GetUnderlined(_swigobj) (_swigobj->GetUnderlined())
1924 static PyObject
*_wrap_wxFont_GetUnderlined(PyObject
*self
, PyObject
*args
) {
1925 PyObject
* _resultobj
;
1931 if(!PyArg_ParseTuple(args
,"s:wxFont_GetUnderlined",&_argc0
))
1934 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetUnderlined. Expected _wxFont_p.");
1940 wxPy_BEGIN_ALLOW_THREADS
;
1941 _result
= (bool )wxFont_GetUnderlined(_arg0
);
1943 wxPy_END_ALLOW_THREADS
;
1944 } _resultobj
= Py_BuildValue("i",_result
);
1948 #define wxFont_GetWeight(_swigobj) (_swigobj->GetWeight())
1949 static PyObject
*_wrap_wxFont_GetWeight(PyObject
*self
, PyObject
*args
) {
1950 PyObject
* _resultobj
;
1956 if(!PyArg_ParseTuple(args
,"s:wxFont_GetWeight",&_argc0
))
1959 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetWeight. Expected _wxFont_p.");
1965 wxPy_BEGIN_ALLOW_THREADS
;
1966 _result
= (int )wxFont_GetWeight(_arg0
);
1968 wxPy_END_ALLOW_THREADS
;
1969 } _resultobj
= Py_BuildValue("i",_result
);
1973 #define wxFont_SetFaceName(_swigobj,_swigarg0) (_swigobj->SetFaceName(_swigarg0))
1974 static PyObject
*_wrap_wxFont_SetFaceName(PyObject
*self
, PyObject
*args
) {
1975 PyObject
* _resultobj
;
1979 PyObject
* _obj1
= 0;
1982 if(!PyArg_ParseTuple(args
,"sO:wxFont_SetFaceName",&_argc0
,&_obj1
))
1985 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFaceName. Expected _wxFont_p.");
1991 if (!PyString_Check(_obj1
)) {
1992 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1995 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1998 wxPy_BEGIN_ALLOW_THREADS
;
1999 wxFont_SetFaceName(_arg0
,*_arg1
);
2001 wxPy_END_ALLOW_THREADS
;
2002 } Py_INCREF(Py_None
);
2003 _resultobj
= Py_None
;
2011 #define wxFont_SetFamily(_swigobj,_swigarg0) (_swigobj->SetFamily(_swigarg0))
2012 static PyObject
*_wrap_wxFont_SetFamily(PyObject
*self
, PyObject
*args
) {
2013 PyObject
* _resultobj
;
2019 if(!PyArg_ParseTuple(args
,"si:wxFont_SetFamily",&_argc0
,&_arg1
))
2022 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
2023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFamily. Expected _wxFont_p.");
2028 wxPy_BEGIN_ALLOW_THREADS
;
2029 wxFont_SetFamily(_arg0
,_arg1
);
2031 wxPy_END_ALLOW_THREADS
;
2032 } Py_INCREF(Py_None
);
2033 _resultobj
= Py_None
;
2037 #define wxFont_SetPointSize(_swigobj,_swigarg0) (_swigobj->SetPointSize(_swigarg0))
2038 static PyObject
*_wrap_wxFont_SetPointSize(PyObject
*self
, PyObject
*args
) {
2039 PyObject
* _resultobj
;
2045 if(!PyArg_ParseTuple(args
,"si:wxFont_SetPointSize",&_argc0
,&_arg1
))
2048 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
2049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetPointSize. Expected _wxFont_p.");
2054 wxPy_BEGIN_ALLOW_THREADS
;
2055 wxFont_SetPointSize(_arg0
,_arg1
);
2057 wxPy_END_ALLOW_THREADS
;
2058 } Py_INCREF(Py_None
);
2059 _resultobj
= Py_None
;
2063 #define wxFont_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
2064 static PyObject
*_wrap_wxFont_SetStyle(PyObject
*self
, PyObject
*args
) {
2065 PyObject
* _resultobj
;
2071 if(!PyArg_ParseTuple(args
,"si:wxFont_SetStyle",&_argc0
,&_arg1
))
2074 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
2075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetStyle. Expected _wxFont_p.");
2080 wxPy_BEGIN_ALLOW_THREADS
;
2081 wxFont_SetStyle(_arg0
,_arg1
);
2083 wxPy_END_ALLOW_THREADS
;
2084 } Py_INCREF(Py_None
);
2085 _resultobj
= Py_None
;
2089 #define wxFont_SetUnderlined(_swigobj,_swigarg0) (_swigobj->SetUnderlined(_swigarg0))
2090 static PyObject
*_wrap_wxFont_SetUnderlined(PyObject
*self
, PyObject
*args
) {
2091 PyObject
* _resultobj
;
2098 if(!PyArg_ParseTuple(args
,"si:wxFont_SetUnderlined",&_argc0
,&tempbool1
))
2101 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
2102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetUnderlined. Expected _wxFont_p.");
2106 _arg1
= (bool ) tempbool1
;
2108 wxPy_BEGIN_ALLOW_THREADS
;
2109 wxFont_SetUnderlined(_arg0
,_arg1
);
2111 wxPy_END_ALLOW_THREADS
;
2112 } Py_INCREF(Py_None
);
2113 _resultobj
= Py_None
;
2117 #define wxFont_SetWeight(_swigobj,_swigarg0) (_swigobj->SetWeight(_swigarg0))
2118 static PyObject
*_wrap_wxFont_SetWeight(PyObject
*self
, PyObject
*args
) {
2119 PyObject
* _resultobj
;
2125 if(!PyArg_ParseTuple(args
,"si:wxFont_SetWeight",&_argc0
,&_arg1
))
2128 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
2129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetWeight. Expected _wxFont_p.");
2134 wxPy_BEGIN_ALLOW_THREADS
;
2135 wxFont_SetWeight(_arg0
,_arg1
);
2137 wxPy_END_ALLOW_THREADS
;
2138 } Py_INCREF(Py_None
);
2139 _resultobj
= Py_None
;
2143 #define new_wxColour(_swigarg0,_swigarg1,_swigarg2) (new wxColour(_swigarg0,_swigarg1,_swigarg2))
2144 static PyObject
*_wrap_new_wxColour(PyObject
*self
, PyObject
*args
) {
2145 PyObject
* _resultobj
;
2147 unsigned char _arg0
= 0;
2148 unsigned char _arg1
= 0;
2149 unsigned char _arg2
= 0;
2153 if(!PyArg_ParseTuple(args
,"|bbb:new_wxColour",&_arg0
,&_arg1
,&_arg2
))
2156 wxPy_BEGIN_ALLOW_THREADS
;
2157 _result
= (wxColour
*)new_wxColour(_arg0
,_arg1
,_arg2
);
2159 wxPy_END_ALLOW_THREADS
;
2160 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
2161 _resultobj
= Py_BuildValue("s",_ptemp
);
2165 #define delete_wxColour(_swigobj) (delete _swigobj)
2166 static PyObject
*_wrap_delete_wxColour(PyObject
*self
, PyObject
*args
) {
2167 PyObject
* _resultobj
;
2172 if(!PyArg_ParseTuple(args
,"s:delete_wxColour",&_argc0
))
2175 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxColour. Expected _wxColour_p.");
2181 wxPy_BEGIN_ALLOW_THREADS
;
2182 delete_wxColour(_arg0
);
2184 wxPy_END_ALLOW_THREADS
;
2185 } Py_INCREF(Py_None
);
2186 _resultobj
= Py_None
;
2190 #define wxColour_Red(_swigobj) (_swigobj->Red())
2191 static PyObject
*_wrap_wxColour_Red(PyObject
*self
, PyObject
*args
) {
2192 PyObject
* _resultobj
;
2193 unsigned char _result
;
2198 if(!PyArg_ParseTuple(args
,"s:wxColour_Red",&_argc0
))
2201 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Red. Expected _wxColour_p.");
2207 wxPy_BEGIN_ALLOW_THREADS
;
2208 _result
= (unsigned char )wxColour_Red(_arg0
);
2210 wxPy_END_ALLOW_THREADS
;
2211 } _resultobj
= Py_BuildValue("b",_result
);
2215 #define wxColour_Green(_swigobj) (_swigobj->Green())
2216 static PyObject
*_wrap_wxColour_Green(PyObject
*self
, PyObject
*args
) {
2217 PyObject
* _resultobj
;
2218 unsigned char _result
;
2223 if(!PyArg_ParseTuple(args
,"s:wxColour_Green",&_argc0
))
2226 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Green. Expected _wxColour_p.");
2232 wxPy_BEGIN_ALLOW_THREADS
;
2233 _result
= (unsigned char )wxColour_Green(_arg0
);
2235 wxPy_END_ALLOW_THREADS
;
2236 } _resultobj
= Py_BuildValue("b",_result
);
2240 #define wxColour_Blue(_swigobj) (_swigobj->Blue())
2241 static PyObject
*_wrap_wxColour_Blue(PyObject
*self
, PyObject
*args
) {
2242 PyObject
* _resultobj
;
2243 unsigned char _result
;
2248 if(!PyArg_ParseTuple(args
,"s:wxColour_Blue",&_argc0
))
2251 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Blue. Expected _wxColour_p.");
2257 wxPy_BEGIN_ALLOW_THREADS
;
2258 _result
= (unsigned char )wxColour_Blue(_arg0
);
2260 wxPy_END_ALLOW_THREADS
;
2261 } _resultobj
= Py_BuildValue("b",_result
);
2265 #define wxColour_Ok(_swigobj) (_swigobj->Ok())
2266 static PyObject
*_wrap_wxColour_Ok(PyObject
*self
, PyObject
*args
) {
2267 PyObject
* _resultobj
;
2273 if(!PyArg_ParseTuple(args
,"s:wxColour_Ok",&_argc0
))
2276 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Ok. Expected _wxColour_p.");
2282 wxPy_BEGIN_ALLOW_THREADS
;
2283 _result
= (bool )wxColour_Ok(_arg0
);
2285 wxPy_END_ALLOW_THREADS
;
2286 } _resultobj
= Py_BuildValue("i",_result
);
2290 #define wxColour_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
2291 static PyObject
*_wrap_wxColour_Set(PyObject
*self
, PyObject
*args
) {
2292 PyObject
* _resultobj
;
2294 unsigned char _arg1
;
2295 unsigned char _arg2
;
2296 unsigned char _arg3
;
2300 if(!PyArg_ParseTuple(args
,"sbbb:wxColour_Set",&_argc0
,&_arg1
,&_arg2
,&_arg3
))
2303 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Set. Expected _wxColour_p.");
2309 wxPy_BEGIN_ALLOW_THREADS
;
2310 wxColour_Set(_arg0
,_arg1
,_arg2
,_arg3
);
2312 wxPy_END_ALLOW_THREADS
;
2313 } Py_INCREF(Py_None
);
2314 _resultobj
= Py_None
;
2318 static PyObject
* wxColour_Get(wxColour
*self
) {
2319 PyObject
* rv
= PyTuple_New(3);
2320 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
2321 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
2322 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
2325 static PyObject
*_wrap_wxColour_Get(PyObject
*self
, PyObject
*args
) {
2326 PyObject
* _resultobj
;
2332 if(!PyArg_ParseTuple(args
,"s:wxColour_Get",&_argc0
))
2335 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Get. Expected _wxColour_p.");
2341 wxPy_BEGIN_ALLOW_THREADS
;
2342 _result
= (PyObject
*)wxColour_Get(_arg0
);
2344 wxPy_END_ALLOW_THREADS
;
2346 _resultobj
= _result
;
2351 static wxPen
*new_wxPen(wxColour
*colour
,int width
,int style
) {
2352 return wxThePenList
->FindOrCreatePen(*colour
, width
, style
);
2355 static PyObject
*_wrap_new_wxPen(PyObject
*self
, PyObject
*args
) {
2356 PyObject
* _resultobj
;
2360 int _arg2
= (wxSOLID
);
2365 if(!PyArg_ParseTuple(args
,"s|ii:new_wxPen",&_argc0
,&_arg1
,&_arg2
))
2368 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPen. Expected _wxColour_p.");
2374 wxPy_BEGIN_ALLOW_THREADS
;
2375 _result
= (wxPen
*)new_wxPen(_arg0
,_arg1
,_arg2
);
2377 wxPy_END_ALLOW_THREADS
;
2378 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
2379 _resultobj
= Py_BuildValue("s",_ptemp
);
2383 #define wxPen_GetCap(_swigobj) (_swigobj->GetCap())
2384 static PyObject
*_wrap_wxPen_GetCap(PyObject
*self
, PyObject
*args
) {
2385 PyObject
* _resultobj
;
2391 if(!PyArg_ParseTuple(args
,"s:wxPen_GetCap",&_argc0
))
2394 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetCap. Expected _wxPen_p.");
2400 wxPy_BEGIN_ALLOW_THREADS
;
2401 _result
= (int )wxPen_GetCap(_arg0
);
2403 wxPy_END_ALLOW_THREADS
;
2404 } _resultobj
= Py_BuildValue("i",_result
);
2408 #define wxPen_GetColour(_swigobj) (_swigobj->GetColour())
2409 static PyObject
*_wrap_wxPen_GetColour(PyObject
*self
, PyObject
*args
) {
2410 PyObject
* _resultobj
;
2417 if(!PyArg_ParseTuple(args
,"s:wxPen_GetColour",&_argc0
))
2420 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetColour. Expected _wxPen_p.");
2426 wxPy_BEGIN_ALLOW_THREADS
;
2427 wxColour
& _result_ref
= wxPen_GetColour(_arg0
);
2428 _result
= (wxColour
*) &_result_ref
;
2430 wxPy_END_ALLOW_THREADS
;
2431 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
2432 _resultobj
= Py_BuildValue("s",_ptemp
);
2436 #define wxPen_GetJoin(_swigobj) (_swigobj->GetJoin())
2437 static PyObject
*_wrap_wxPen_GetJoin(PyObject
*self
, PyObject
*args
) {
2438 PyObject
* _resultobj
;
2444 if(!PyArg_ParseTuple(args
,"s:wxPen_GetJoin",&_argc0
))
2447 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetJoin. Expected _wxPen_p.");
2453 wxPy_BEGIN_ALLOW_THREADS
;
2454 _result
= (int )wxPen_GetJoin(_arg0
);
2456 wxPy_END_ALLOW_THREADS
;
2457 } _resultobj
= Py_BuildValue("i",_result
);
2461 #define wxPen_GetStyle(_swigobj) (_swigobj->GetStyle())
2462 static PyObject
*_wrap_wxPen_GetStyle(PyObject
*self
, PyObject
*args
) {
2463 PyObject
* _resultobj
;
2469 if(!PyArg_ParseTuple(args
,"s:wxPen_GetStyle",&_argc0
))
2472 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetStyle. Expected _wxPen_p.");
2478 wxPy_BEGIN_ALLOW_THREADS
;
2479 _result
= (int )wxPen_GetStyle(_arg0
);
2481 wxPy_END_ALLOW_THREADS
;
2482 } _resultobj
= Py_BuildValue("i",_result
);
2486 #define wxPen_GetWidth(_swigobj) (_swigobj->GetWidth())
2487 static PyObject
*_wrap_wxPen_GetWidth(PyObject
*self
, PyObject
*args
) {
2488 PyObject
* _resultobj
;
2494 if(!PyArg_ParseTuple(args
,"s:wxPen_GetWidth",&_argc0
))
2497 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetWidth. Expected _wxPen_p.");
2503 wxPy_BEGIN_ALLOW_THREADS
;
2504 _result
= (int )wxPen_GetWidth(_arg0
);
2506 wxPy_END_ALLOW_THREADS
;
2507 } _resultobj
= Py_BuildValue("i",_result
);
2511 #define wxPen_Ok(_swigobj) (_swigobj->Ok())
2512 static PyObject
*_wrap_wxPen_Ok(PyObject
*self
, PyObject
*args
) {
2513 PyObject
* _resultobj
;
2519 if(!PyArg_ParseTuple(args
,"s:wxPen_Ok",&_argc0
))
2522 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_Ok. Expected _wxPen_p.");
2528 wxPy_BEGIN_ALLOW_THREADS
;
2529 _result
= (bool )wxPen_Ok(_arg0
);
2531 wxPy_END_ALLOW_THREADS
;
2532 } _resultobj
= Py_BuildValue("i",_result
);
2536 #define wxPen_SetCap(_swigobj,_swigarg0) (_swigobj->SetCap(_swigarg0))
2537 static PyObject
*_wrap_wxPen_SetCap(PyObject
*self
, PyObject
*args
) {
2538 PyObject
* _resultobj
;
2544 if(!PyArg_ParseTuple(args
,"si:wxPen_SetCap",&_argc0
,&_arg1
))
2547 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetCap. Expected _wxPen_p.");
2553 wxPy_BEGIN_ALLOW_THREADS
;
2554 wxPen_SetCap(_arg0
,_arg1
);
2556 wxPy_END_ALLOW_THREADS
;
2557 } Py_INCREF(Py_None
);
2558 _resultobj
= Py_None
;
2562 #define wxPen_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
2563 static PyObject
*_wrap_wxPen_SetColour(PyObject
*self
, PyObject
*args
) {
2564 PyObject
* _resultobj
;
2571 if(!PyArg_ParseTuple(args
,"ss:wxPen_SetColour",&_argc0
,&_argc1
))
2574 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetColour. Expected _wxPen_p.");
2580 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
2581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPen_SetColour. Expected _wxColour_p.");
2586 wxPy_BEGIN_ALLOW_THREADS
;
2587 wxPen_SetColour(_arg0
,*_arg1
);
2589 wxPy_END_ALLOW_THREADS
;
2590 } Py_INCREF(Py_None
);
2591 _resultobj
= Py_None
;
2595 #define wxPen_SetJoin(_swigobj,_swigarg0) (_swigobj->SetJoin(_swigarg0))
2596 static PyObject
*_wrap_wxPen_SetJoin(PyObject
*self
, PyObject
*args
) {
2597 PyObject
* _resultobj
;
2603 if(!PyArg_ParseTuple(args
,"si:wxPen_SetJoin",&_argc0
,&_arg1
))
2606 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetJoin. Expected _wxPen_p.");
2612 wxPy_BEGIN_ALLOW_THREADS
;
2613 wxPen_SetJoin(_arg0
,_arg1
);
2615 wxPy_END_ALLOW_THREADS
;
2616 } Py_INCREF(Py_None
);
2617 _resultobj
= Py_None
;
2621 #define wxPen_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
2622 static PyObject
*_wrap_wxPen_SetStyle(PyObject
*self
, PyObject
*args
) {
2623 PyObject
* _resultobj
;
2629 if(!PyArg_ParseTuple(args
,"si:wxPen_SetStyle",&_argc0
,&_arg1
))
2632 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetStyle. Expected _wxPen_p.");
2638 wxPy_BEGIN_ALLOW_THREADS
;
2639 wxPen_SetStyle(_arg0
,_arg1
);
2641 wxPy_END_ALLOW_THREADS
;
2642 } Py_INCREF(Py_None
);
2643 _resultobj
= Py_None
;
2647 #define wxPen_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2648 static PyObject
*_wrap_wxPen_SetWidth(PyObject
*self
, PyObject
*args
) {
2649 PyObject
* _resultobj
;
2655 if(!PyArg_ParseTuple(args
,"si:wxPen_SetWidth",&_argc0
,&_arg1
))
2658 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetWidth. Expected _wxPen_p.");
2664 wxPy_BEGIN_ALLOW_THREADS
;
2665 wxPen_SetWidth(_arg0
,_arg1
);
2667 wxPy_END_ALLOW_THREADS
;
2668 } Py_INCREF(Py_None
);
2669 _resultobj
= Py_None
;
2673 static wxBrush
*new_wxBrush(wxColour
*colour
,int style
) {
2674 return wxTheBrushList
->FindOrCreateBrush(*colour
, style
);
2677 static PyObject
*_wrap_new_wxBrush(PyObject
*self
, PyObject
*args
) {
2678 PyObject
* _resultobj
;
2681 int _arg1
= (wxSOLID
);
2686 if(!PyArg_ParseTuple(args
,"s|i:new_wxBrush",&_argc0
,&_arg1
))
2689 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBrush. Expected _wxColour_p.");
2695 wxPy_BEGIN_ALLOW_THREADS
;
2696 _result
= (wxBrush
*)new_wxBrush(_arg0
,_arg1
);
2698 wxPy_END_ALLOW_THREADS
;
2699 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
2700 _resultobj
= Py_BuildValue("s",_ptemp
);
2704 #define wxBrush_GetColour(_swigobj) (_swigobj->GetColour())
2705 static PyObject
*_wrap_wxBrush_GetColour(PyObject
*self
, PyObject
*args
) {
2706 PyObject
* _resultobj
;
2713 if(!PyArg_ParseTuple(args
,"s:wxBrush_GetColour",&_argc0
))
2716 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBrush_p")) {
2717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetColour. Expected _wxBrush_p.");
2722 wxPy_BEGIN_ALLOW_THREADS
;
2723 wxColour
& _result_ref
= wxBrush_GetColour(_arg0
);
2724 _result
= (wxColour
*) &_result_ref
;
2726 wxPy_END_ALLOW_THREADS
;
2727 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
2728 _resultobj
= Py_BuildValue("s",_ptemp
);
2732 #define wxBrush_GetStipple(_swigobj) (_swigobj->GetStipple())
2733 static PyObject
*_wrap_wxBrush_GetStipple(PyObject
*self
, PyObject
*args
) {
2734 PyObject
* _resultobj
;
2741 if(!PyArg_ParseTuple(args
,"s:wxBrush_GetStipple",&_argc0
))
2744 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBrush_p")) {
2745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStipple. Expected _wxBrush_p.");
2750 wxPy_BEGIN_ALLOW_THREADS
;
2751 _result
= (wxBitmap
*)wxBrush_GetStipple(_arg0
);
2753 wxPy_END_ALLOW_THREADS
;
2754 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
2755 _resultobj
= Py_BuildValue("s",_ptemp
);
2759 #define wxBrush_GetStyle(_swigobj) (_swigobj->GetStyle())
2760 static PyObject
*_wrap_wxBrush_GetStyle(PyObject
*self
, PyObject
*args
) {
2761 PyObject
* _resultobj
;
2767 if(!PyArg_ParseTuple(args
,"s:wxBrush_GetStyle",&_argc0
))
2770 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBrush_p")) {
2771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStyle. Expected _wxBrush_p.");
2776 wxPy_BEGIN_ALLOW_THREADS
;
2777 _result
= (int )wxBrush_GetStyle(_arg0
);
2779 wxPy_END_ALLOW_THREADS
;
2780 } _resultobj
= Py_BuildValue("i",_result
);
2784 #define wxBrush_Ok(_swigobj) (_swigobj->Ok())
2785 static PyObject
*_wrap_wxBrush_Ok(PyObject
*self
, PyObject
*args
) {
2786 PyObject
* _resultobj
;
2792 if(!PyArg_ParseTuple(args
,"s:wxBrush_Ok",&_argc0
))
2795 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBrush_p")) {
2796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_Ok. Expected _wxBrush_p.");
2801 wxPy_BEGIN_ALLOW_THREADS
;
2802 _result
= (bool )wxBrush_Ok(_arg0
);
2804 wxPy_END_ALLOW_THREADS
;
2805 } _resultobj
= Py_BuildValue("i",_result
);
2809 #define wxBrush_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
2810 static PyObject
*_wrap_wxBrush_SetColour(PyObject
*self
, PyObject
*args
) {
2811 PyObject
* _resultobj
;
2818 if(!PyArg_ParseTuple(args
,"ss:wxBrush_SetColour",&_argc0
,&_argc1
))
2821 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBrush_p")) {
2822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetColour. Expected _wxBrush_p.");
2827 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
2828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrush_SetColour. Expected _wxColour_p.");
2833 wxPy_BEGIN_ALLOW_THREADS
;
2834 wxBrush_SetColour(_arg0
,*_arg1
);
2836 wxPy_END_ALLOW_THREADS
;
2837 } Py_INCREF(Py_None
);
2838 _resultobj
= Py_None
;
2842 #define wxBrush_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
2843 static PyObject
*_wrap_wxBrush_SetStipple(PyObject
*self
, PyObject
*args
) {
2844 PyObject
* _resultobj
;
2851 if(!PyArg_ParseTuple(args
,"ss:wxBrush_SetStipple",&_argc0
,&_argc1
))
2854 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBrush_p")) {
2855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStipple. Expected _wxBrush_p.");
2860 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBitmap_p")) {
2861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrush_SetStipple. Expected _wxBitmap_p.");
2866 wxPy_BEGIN_ALLOW_THREADS
;
2867 wxBrush_SetStipple(_arg0
,*_arg1
);
2869 wxPy_END_ALLOW_THREADS
;
2870 } Py_INCREF(Py_None
);
2871 _resultobj
= Py_None
;
2875 #define wxBrush_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
2876 static PyObject
*_wrap_wxBrush_SetStyle(PyObject
*self
, PyObject
*args
) {
2877 PyObject
* _resultobj
;
2883 if(!PyArg_ParseTuple(args
,"si:wxBrush_SetStyle",&_argc0
,&_arg1
))
2886 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBrush_p")) {
2887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStyle. Expected _wxBrush_p.");
2892 wxPy_BEGIN_ALLOW_THREADS
;
2893 wxBrush_SetStyle(_arg0
,_arg1
);
2895 wxPy_END_ALLOW_THREADS
;
2896 } Py_INCREF(Py_None
);
2897 _resultobj
= Py_None
;
2901 #define delete_wxDC(_swigobj) (delete _swigobj)
2902 static PyObject
*_wrap_delete_wxDC(PyObject
*self
, PyObject
*args
) {
2903 PyObject
* _resultobj
;
2908 if(!PyArg_ParseTuple(args
,"s:delete_wxDC",&_argc0
))
2911 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDC. Expected _wxDC_p.");
2917 wxPy_BEGIN_ALLOW_THREADS
;
2920 wxPy_END_ALLOW_THREADS
;
2921 } Py_INCREF(Py_None
);
2922 _resultobj
= Py_None
;
2926 #define wxDC_BeginDrawing(_swigobj) (_swigobj->BeginDrawing())
2927 static PyObject
*_wrap_wxDC_BeginDrawing(PyObject
*self
, PyObject
*args
) {
2928 PyObject
* _resultobj
;
2933 if(!PyArg_ParseTuple(args
,"s:wxDC_BeginDrawing",&_argc0
))
2936 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_BeginDrawing. Expected _wxDC_p.");
2942 wxPy_BEGIN_ALLOW_THREADS
;
2943 wxDC_BeginDrawing(_arg0
);
2945 wxPy_END_ALLOW_THREADS
;
2946 } Py_INCREF(Py_None
);
2947 _resultobj
= Py_None
;
2951 #define wxDC_Blit(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Blit(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
2952 static PyObject
*_wrap_wxDC_Blit(PyObject
*self
, PyObject
*args
) {
2953 PyObject
* _resultobj
;
2968 if(!PyArg_ParseTuple(args
,"sllllslll:wxDC_Blit",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_argc5
,&_arg6
,&_arg7
,&_arg8
))
2971 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
2972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Blit. Expected _wxDC_p.");
2977 if (SWIG_GetPtr(_argc5
,(void **) &_arg5
,"_wxDC_p")) {
2978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxDC_Blit. Expected _wxDC_p.");
2983 wxPy_BEGIN_ALLOW_THREADS
;
2984 _result
= (bool )wxDC_Blit(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
);
2986 wxPy_END_ALLOW_THREADS
;
2987 } _resultobj
= Py_BuildValue("i",_result
);
2991 #define wxDC_Clear(_swigobj) (_swigobj->Clear())
2992 static PyObject
*_wrap_wxDC_Clear(PyObject
*self
, PyObject
*args
) {
2993 PyObject
* _resultobj
;
2998 if(!PyArg_ParseTuple(args
,"s:wxDC_Clear",&_argc0
))
3001 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Clear. Expected _wxDC_p.");
3007 wxPy_BEGIN_ALLOW_THREADS
;
3010 wxPy_END_ALLOW_THREADS
;
3011 } Py_INCREF(Py_None
);
3012 _resultobj
= Py_None
;
3016 #define wxDC_CrossHair(_swigobj,_swigarg0,_swigarg1) (_swigobj->CrossHair(_swigarg0,_swigarg1))
3017 static PyObject
*_wrap_wxDC_CrossHair(PyObject
*self
, PyObject
*args
) {
3018 PyObject
* _resultobj
;
3025 if(!PyArg_ParseTuple(args
,"sll:wxDC_CrossHair",&_argc0
,&_arg1
,&_arg2
))
3028 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CrossHair. Expected _wxDC_p.");
3034 wxPy_BEGIN_ALLOW_THREADS
;
3035 wxDC_CrossHair(_arg0
,_arg1
,_arg2
);
3037 wxPy_END_ALLOW_THREADS
;
3038 } Py_INCREF(Py_None
);
3039 _resultobj
= Py_None
;
3043 #define wxDC_DestroyClippingRegion(_swigobj) (_swigobj->DestroyClippingRegion())
3044 static PyObject
*_wrap_wxDC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
) {
3045 PyObject
* _resultobj
;
3050 if(!PyArg_ParseTuple(args
,"s:wxDC_DestroyClippingRegion",&_argc0
))
3053 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DestroyClippingRegion. Expected _wxDC_p.");
3059 wxPy_BEGIN_ALLOW_THREADS
;
3060 wxDC_DestroyClippingRegion(_arg0
);
3062 wxPy_END_ALLOW_THREADS
;
3063 } Py_INCREF(Py_None
);
3064 _resultobj
= Py_None
;
3068 #define wxDC_DeviceToLogicalX(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalX(_swigarg0))
3069 static PyObject
*_wrap_wxDC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
) {
3070 PyObject
* _resultobj
;
3077 if(!PyArg_ParseTuple(args
,"sl:wxDC_DeviceToLogicalX",&_argc0
,&_arg1
))
3080 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalX. Expected _wxDC_p.");
3086 wxPy_BEGIN_ALLOW_THREADS
;
3087 _result
= (long )wxDC_DeviceToLogicalX(_arg0
,_arg1
);
3089 wxPy_END_ALLOW_THREADS
;
3090 } _resultobj
= Py_BuildValue("l",_result
);
3094 #define wxDC_DeviceToLogicalXRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalXRel(_swigarg0))
3095 static PyObject
*_wrap_wxDC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
) {
3096 PyObject
* _resultobj
;
3103 if(!PyArg_ParseTuple(args
,"sl:wxDC_DeviceToLogicalXRel",&_argc0
,&_arg1
))
3106 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalXRel. Expected _wxDC_p.");
3112 wxPy_BEGIN_ALLOW_THREADS
;
3113 _result
= (long )wxDC_DeviceToLogicalXRel(_arg0
,_arg1
);
3115 wxPy_END_ALLOW_THREADS
;
3116 } _resultobj
= Py_BuildValue("l",_result
);
3120 #define wxDC_DeviceToLogicalY(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalY(_swigarg0))
3121 static PyObject
*_wrap_wxDC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
) {
3122 PyObject
* _resultobj
;
3129 if(!PyArg_ParseTuple(args
,"sl:wxDC_DeviceToLogicalY",&_argc0
,&_arg1
))
3132 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalY. Expected _wxDC_p.");
3138 wxPy_BEGIN_ALLOW_THREADS
;
3139 _result
= (long )wxDC_DeviceToLogicalY(_arg0
,_arg1
);
3141 wxPy_END_ALLOW_THREADS
;
3142 } _resultobj
= Py_BuildValue("l",_result
);
3146 #define wxDC_DeviceToLogicalYRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalYRel(_swigarg0))
3147 static PyObject
*_wrap_wxDC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
) {
3148 PyObject
* _resultobj
;
3155 if(!PyArg_ParseTuple(args
,"sl:wxDC_DeviceToLogicalYRel",&_argc0
,&_arg1
))
3158 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalYRel. Expected _wxDC_p.");
3164 wxPy_BEGIN_ALLOW_THREADS
;
3165 _result
= (long )wxDC_DeviceToLogicalYRel(_arg0
,_arg1
);
3167 wxPy_END_ALLOW_THREADS
;
3168 } _resultobj
= Py_BuildValue("l",_result
);
3172 #define wxDC_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3173 static PyObject
*_wrap_wxDC_DrawArc(PyObject
*self
, PyObject
*args
) {
3174 PyObject
* _resultobj
;
3185 if(!PyArg_ParseTuple(args
,"sllllll:wxDC_DrawArc",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
3188 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawArc. Expected _wxDC_p.");
3194 wxPy_BEGIN_ALLOW_THREADS
;
3195 wxDC_DrawArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
3197 wxPy_END_ALLOW_THREADS
;
3198 } Py_INCREF(Py_None
);
3199 _resultobj
= Py_None
;
3203 #define wxDC_DrawCircle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawCircle(_swigarg0,_swigarg1,_swigarg2))
3204 static PyObject
*_wrap_wxDC_DrawCircle(PyObject
*self
, PyObject
*args
) {
3205 PyObject
* _resultobj
;
3213 if(!PyArg_ParseTuple(args
,"slll:wxDC_DrawCircle",&_argc0
,&_arg1
,&_arg2
,&_arg3
))
3216 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawCircle. Expected _wxDC_p.");
3222 wxPy_BEGIN_ALLOW_THREADS
;
3223 wxDC_DrawCircle(_arg0
,_arg1
,_arg2
,_arg3
);
3225 wxPy_END_ALLOW_THREADS
;
3226 } Py_INCREF(Py_None
);
3227 _resultobj
= Py_None
;
3231 #define wxDC_DrawEllipse(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawEllipse(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3232 static PyObject
*_wrap_wxDC_DrawEllipse(PyObject
*self
, PyObject
*args
) {
3233 PyObject
* _resultobj
;
3242 if(!PyArg_ParseTuple(args
,"sllll:wxDC_DrawEllipse",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3245 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipse. Expected _wxDC_p.");
3251 wxPy_BEGIN_ALLOW_THREADS
;
3252 wxDC_DrawEllipse(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3254 wxPy_END_ALLOW_THREADS
;
3255 } Py_INCREF(Py_None
);
3256 _resultobj
= Py_None
;
3260 #define wxDC_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3261 static PyObject
*_wrap_wxDC_DrawEllipticArc(PyObject
*self
, PyObject
*args
) {
3262 PyObject
* _resultobj
;
3273 if(!PyArg_ParseTuple(args
,"sllllll:wxDC_DrawEllipticArc",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
3276 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipticArc. Expected _wxDC_p.");
3282 wxPy_BEGIN_ALLOW_THREADS
;
3283 wxDC_DrawEllipticArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
3285 wxPy_END_ALLOW_THREADS
;
3286 } Py_INCREF(Py_None
);
3287 _resultobj
= Py_None
;
3291 #define wxDC_DrawIcon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawIcon(_swigarg0,_swigarg1,_swigarg2))
3292 static PyObject
*_wrap_wxDC_DrawIcon(PyObject
*self
, PyObject
*args
) {
3293 PyObject
* _resultobj
;
3302 if(!PyArg_ParseTuple(args
,"ssll:wxDC_DrawIcon",&_argc0
,&_argc1
,&_arg2
,&_arg3
))
3305 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawIcon. Expected _wxDC_p.");
3311 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxIcon_p")) {
3312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawIcon. Expected _wxIcon_p.");
3317 wxPy_BEGIN_ALLOW_THREADS
;
3318 wxDC_DrawIcon(_arg0
,*_arg1
,_arg2
,_arg3
);
3320 wxPy_END_ALLOW_THREADS
;
3321 } Py_INCREF(Py_None
);
3322 _resultobj
= Py_None
;
3326 #define wxDC_DrawLine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3327 static PyObject
*_wrap_wxDC_DrawLine(PyObject
*self
, PyObject
*args
) {
3328 PyObject
* _resultobj
;
3337 if(!PyArg_ParseTuple(args
,"sllll:wxDC_DrawLine",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3340 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLine. Expected _wxDC_p.");
3346 wxPy_BEGIN_ALLOW_THREADS
;
3347 wxDC_DrawLine(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3349 wxPy_END_ALLOW_THREADS
;
3350 } Py_INCREF(Py_None
);
3351 _resultobj
= Py_None
;
3355 #define wxDC_DrawLines(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLines(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3356 static PyObject
*_wrap_wxDC_DrawLines(PyObject
*self
, PyObject
*args
) {
3357 PyObject
* _resultobj
;
3364 PyObject
* _obj2
= 0;
3367 if(!PyArg_ParseTuple(args
,"sO|ll:wxDC_DrawLines",&_argc0
,&_obj2
,&_arg3
,&_arg4
))
3370 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLines. Expected _wxDC_p.");
3377 _arg2
= wxPoint_LIST_helper(_obj2
);
3378 if (_arg2
== NULL
) {
3384 _arg1
= PyList_Size(_obj2
);
3391 wxPy_BEGIN_ALLOW_THREADS
;
3392 wxDC_DrawLines(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3394 wxPy_END_ALLOW_THREADS
;
3395 } Py_INCREF(Py_None
);
3396 _resultobj
= Py_None
;
3403 #define wxDC_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3404 static PyObject
*_wrap_wxDC_DrawPolygon(PyObject
*self
, PyObject
*args
) {
3405 PyObject
* _resultobj
;
3411 int _arg5
= (wxODDEVEN_RULE
);
3413 PyObject
* _obj2
= 0;
3416 if(!PyArg_ParseTuple(args
,"sO|lli:wxDC_DrawPolygon",&_argc0
,&_obj2
,&_arg3
,&_arg4
,&_arg5
))
3419 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPolygon. Expected _wxDC_p.");
3426 _arg2
= wxPoint_LIST_helper(_obj2
);
3427 if (_arg2
== NULL
) {
3433 _arg1
= PyList_Size(_obj2
);
3440 wxPy_BEGIN_ALLOW_THREADS
;
3441 wxDC_DrawPolygon(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3443 wxPy_END_ALLOW_THREADS
;
3444 } Py_INCREF(Py_None
);
3445 _resultobj
= Py_None
;
3452 #define wxDC_DrawPoint(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawPoint(_swigarg0,_swigarg1))
3453 static PyObject
*_wrap_wxDC_DrawPoint(PyObject
*self
, PyObject
*args
) {
3454 PyObject
* _resultobj
;
3461 if(!PyArg_ParseTuple(args
,"sll:wxDC_DrawPoint",&_argc0
,&_arg1
,&_arg2
))
3464 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPoint. Expected _wxDC_p.");
3470 wxPy_BEGIN_ALLOW_THREADS
;
3471 wxDC_DrawPoint(_arg0
,_arg1
,_arg2
);
3473 wxPy_END_ALLOW_THREADS
;
3474 } Py_INCREF(Py_None
);
3475 _resultobj
= Py_None
;
3479 #define wxDC_DrawRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3480 static PyObject
*_wrap_wxDC_DrawRectangle(PyObject
*self
, PyObject
*args
) {
3481 PyObject
* _resultobj
;
3490 if(!PyArg_ParseTuple(args
,"sllll:wxDC_DrawRectangle",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3493 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRectangle. Expected _wxDC_p.");
3499 wxPy_BEGIN_ALLOW_THREADS
;
3500 wxDC_DrawRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3502 wxPy_END_ALLOW_THREADS
;
3503 } Py_INCREF(Py_None
);
3504 _resultobj
= Py_None
;
3508 #define wxDC_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3509 static PyObject
*_wrap_wxDC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
) {
3510 PyObject
* _resultobj
;
3520 if(!PyArg_ParseTuple(args
,"sllll|l:wxDC_DrawRoundedRectangle",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3523 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRoundedRectangle. Expected _wxDC_p.");
3529 wxPy_BEGIN_ALLOW_THREADS
;
3530 wxDC_DrawRoundedRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3532 wxPy_END_ALLOW_THREADS
;
3533 } Py_INCREF(Py_None
);
3534 _resultobj
= Py_None
;
3538 #define wxDC_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1))
3539 static PyObject
*_wrap_wxDC_DrawSpline(PyObject
*self
, PyObject
*args
) {
3540 PyObject
* _resultobj
;
3545 PyObject
* _obj2
= 0;
3548 if(!PyArg_ParseTuple(args
,"sO:wxDC_DrawSpline",&_argc0
,&_obj2
))
3551 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawSpline. Expected _wxDC_p.");
3558 _arg2
= wxPoint_LIST_helper(_obj2
);
3559 if (_arg2
== NULL
) {
3565 _arg1
= PyList_Size(_obj2
);
3572 wxPy_BEGIN_ALLOW_THREADS
;
3573 wxDC_DrawSpline(_arg0
,_arg1
,_arg2
);
3575 wxPy_END_ALLOW_THREADS
;
3576 } Py_INCREF(Py_None
);
3577 _resultobj
= Py_None
;
3584 #define wxDC_DrawText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawText(_swigarg0,_swigarg1,_swigarg2))
3585 static PyObject
*_wrap_wxDC_DrawText(PyObject
*self
, PyObject
*args
) {
3586 PyObject
* _resultobj
;
3592 PyObject
* _obj1
= 0;
3595 if(!PyArg_ParseTuple(args
,"sOll:wxDC_DrawText",&_argc0
,&_obj1
,&_arg2
,&_arg3
))
3598 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawText. Expected _wxDC_p.");
3604 if (!PyString_Check(_obj1
)) {
3605 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3608 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3611 wxPy_BEGIN_ALLOW_THREADS
;
3612 wxDC_DrawText(_arg0
,*_arg1
,_arg2
,_arg3
);
3614 wxPy_END_ALLOW_THREADS
;
3615 } Py_INCREF(Py_None
);
3616 _resultobj
= Py_None
;
3624 #define wxDC_EndDoc(_swigobj) (_swigobj->EndDoc())
3625 static PyObject
*_wrap_wxDC_EndDoc(PyObject
*self
, PyObject
*args
) {
3626 PyObject
* _resultobj
;
3631 if(!PyArg_ParseTuple(args
,"s:wxDC_EndDoc",&_argc0
))
3634 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDoc. Expected _wxDC_p.");
3640 wxPy_BEGIN_ALLOW_THREADS
;
3643 wxPy_END_ALLOW_THREADS
;
3644 } Py_INCREF(Py_None
);
3645 _resultobj
= Py_None
;
3649 #define wxDC_EndDrawing(_swigobj) (_swigobj->EndDrawing())
3650 static PyObject
*_wrap_wxDC_EndDrawing(PyObject
*self
, PyObject
*args
) {
3651 PyObject
* _resultobj
;
3656 if(!PyArg_ParseTuple(args
,"s:wxDC_EndDrawing",&_argc0
))
3659 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDrawing. Expected _wxDC_p.");
3665 wxPy_BEGIN_ALLOW_THREADS
;
3666 wxDC_EndDrawing(_arg0
);
3668 wxPy_END_ALLOW_THREADS
;
3669 } Py_INCREF(Py_None
);
3670 _resultobj
= Py_None
;
3674 #define wxDC_EndPage(_swigobj) (_swigobj->EndPage())
3675 static PyObject
*_wrap_wxDC_EndPage(PyObject
*self
, PyObject
*args
) {
3676 PyObject
* _resultobj
;
3681 if(!PyArg_ParseTuple(args
,"s:wxDC_EndPage",&_argc0
))
3684 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndPage. Expected _wxDC_p.");
3690 wxPy_BEGIN_ALLOW_THREADS
;
3691 wxDC_EndPage(_arg0
);
3693 wxPy_END_ALLOW_THREADS
;
3694 } Py_INCREF(Py_None
);
3695 _resultobj
= Py_None
;
3699 #define wxDC_FloodFill(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FloodFill(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3700 static PyObject
*_wrap_wxDC_FloodFill(PyObject
*self
, PyObject
*args
) {
3701 PyObject
* _resultobj
;
3706 int _arg4
= (wxFLOOD_SURFACE
);
3711 if(!PyArg_ParseTuple(args
,"slls|i:wxDC_FloodFill",&_argc0
,&_arg1
,&_arg2
,&_argc3
,&_arg4
))
3714 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_FloodFill. Expected _wxDC_p.");
3720 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxColour_p")) {
3721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDC_FloodFill. Expected _wxColour_p.");
3726 wxPy_BEGIN_ALLOW_THREADS
;
3727 wxDC_FloodFill(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
3729 wxPy_END_ALLOW_THREADS
;
3730 } Py_INCREF(Py_None
);
3731 _resultobj
= Py_None
;
3735 #define wxDC_GetBackground(_swigobj) (_swigobj->GetBackground())
3736 static PyObject
*_wrap_wxDC_GetBackground(PyObject
*self
, PyObject
*args
) {
3737 PyObject
* _resultobj
;
3744 if(!PyArg_ParseTuple(args
,"s:wxDC_GetBackground",&_argc0
))
3747 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBackground. Expected _wxDC_p.");
3753 wxPy_BEGIN_ALLOW_THREADS
;
3754 wxBrush
& _result_ref
= wxDC_GetBackground(_arg0
);
3755 _result
= (wxBrush
*) &_result_ref
;
3757 wxPy_END_ALLOW_THREADS
;
3758 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
3759 _resultobj
= Py_BuildValue("s",_ptemp
);
3763 #define wxDC_GetBrush(_swigobj) (_swigobj->GetBrush())
3764 static PyObject
*_wrap_wxDC_GetBrush(PyObject
*self
, PyObject
*args
) {
3765 PyObject
* _resultobj
;
3772 if(!PyArg_ParseTuple(args
,"s:wxDC_GetBrush",&_argc0
))
3775 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBrush. Expected _wxDC_p.");
3781 wxPy_BEGIN_ALLOW_THREADS
;
3782 wxBrush
& _result_ref
= wxDC_GetBrush(_arg0
);
3783 _result
= (wxBrush
*) &_result_ref
;
3785 wxPy_END_ALLOW_THREADS
;
3786 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
3787 _resultobj
= Py_BuildValue("s",_ptemp
);
3791 #define wxDC_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
3792 static PyObject
*_wrap_wxDC_GetCharHeight(PyObject
*self
, PyObject
*args
) {
3793 PyObject
* _resultobj
;
3799 if(!PyArg_ParseTuple(args
,"s:wxDC_GetCharHeight",&_argc0
))
3802 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharHeight. Expected _wxDC_p.");
3808 wxPy_BEGIN_ALLOW_THREADS
;
3809 _result
= (long )wxDC_GetCharHeight(_arg0
);
3811 wxPy_END_ALLOW_THREADS
;
3812 } _resultobj
= Py_BuildValue("l",_result
);
3816 #define wxDC_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
3817 static PyObject
*_wrap_wxDC_GetCharWidth(PyObject
*self
, PyObject
*args
) {
3818 PyObject
* _resultobj
;
3824 if(!PyArg_ParseTuple(args
,"s:wxDC_GetCharWidth",&_argc0
))
3827 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharWidth. Expected _wxDC_p.");
3833 wxPy_BEGIN_ALLOW_THREADS
;
3834 _result
= (long )wxDC_GetCharWidth(_arg0
);
3836 wxPy_END_ALLOW_THREADS
;
3837 } _resultobj
= Py_BuildValue("l",_result
);
3841 #define wxDC_GetClippingBox(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetClippingBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3842 static PyObject
*_wrap_wxDC_GetClippingBox(PyObject
*self
, PyObject
*args
) {
3843 PyObject
* _resultobj
;
3868 if(!PyArg_ParseTuple(args
,"s:wxDC_GetClippingBox",&_argc0
))
3871 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetClippingBox. Expected _wxDC_p.");
3877 wxPy_BEGIN_ALLOW_THREADS
;
3878 wxDC_GetClippingBox(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3880 wxPy_END_ALLOW_THREADS
;
3881 } Py_INCREF(Py_None
);
3882 _resultobj
= Py_None
;
3885 o
= PyInt_FromLong((long) (*_arg1
));
3886 _resultobj
= t_output_helper(_resultobj
, o
);
3890 o
= PyInt_FromLong((long) (*_arg2
));
3891 _resultobj
= t_output_helper(_resultobj
, o
);
3895 o
= PyInt_FromLong((long) (*_arg3
));
3896 _resultobj
= t_output_helper(_resultobj
, o
);
3900 o
= PyInt_FromLong((long) (*_arg4
));
3901 _resultobj
= t_output_helper(_resultobj
, o
);
3906 #define wxDC_GetFont(_swigobj) (_swigobj->GetFont())
3907 static PyObject
*_wrap_wxDC_GetFont(PyObject
*self
, PyObject
*args
) {
3908 PyObject
* _resultobj
;
3915 if(!PyArg_ParseTuple(args
,"s:wxDC_GetFont",&_argc0
))
3918 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFont. Expected _wxDC_p.");
3924 wxPy_BEGIN_ALLOW_THREADS
;
3925 wxFont
& _result_ref
= wxDC_GetFont(_arg0
);
3926 _result
= (wxFont
*) &_result_ref
;
3928 wxPy_END_ALLOW_THREADS
;
3929 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
3930 _resultobj
= Py_BuildValue("s",_ptemp
);
3934 #define wxDC_GetLogicalFunction(_swigobj) (_swigobj->GetLogicalFunction())
3935 static PyObject
*_wrap_wxDC_GetLogicalFunction(PyObject
*self
, PyObject
*args
) {
3936 PyObject
* _resultobj
;
3942 if(!PyArg_ParseTuple(args
,"s:wxDC_GetLogicalFunction",&_argc0
))
3945 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalFunction. Expected _wxDC_p.");
3951 wxPy_BEGIN_ALLOW_THREADS
;
3952 _result
= (int )wxDC_GetLogicalFunction(_arg0
);
3954 wxPy_END_ALLOW_THREADS
;
3955 } _resultobj
= Py_BuildValue("i",_result
);
3959 #define wxDC_GetMapMode(_swigobj) (_swigobj->GetMapMode())
3960 static PyObject
*_wrap_wxDC_GetMapMode(PyObject
*self
, PyObject
*args
) {
3961 PyObject
* _resultobj
;
3967 if(!PyArg_ParseTuple(args
,"s:wxDC_GetMapMode",&_argc0
))
3970 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetMapMode. Expected _wxDC_p.");
3976 wxPy_BEGIN_ALLOW_THREADS
;
3977 _result
= (int )wxDC_GetMapMode(_arg0
);
3979 wxPy_END_ALLOW_THREADS
;
3980 } _resultobj
= Py_BuildValue("i",_result
);
3984 #define wxDC_GetOptimization(_swigobj) (_swigobj->GetOptimization())
3985 static PyObject
*_wrap_wxDC_GetOptimization(PyObject
*self
, PyObject
*args
) {
3986 PyObject
* _resultobj
;
3992 if(!PyArg_ParseTuple(args
,"s:wxDC_GetOptimization",&_argc0
))
3995 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetOptimization. Expected _wxDC_p.");
4001 wxPy_BEGIN_ALLOW_THREADS
;
4002 _result
= (bool )wxDC_GetOptimization(_arg0
);
4004 wxPy_END_ALLOW_THREADS
;
4005 } _resultobj
= Py_BuildValue("i",_result
);
4009 #define wxDC_GetPen(_swigobj) (_swigobj->GetPen())
4010 static PyObject
*_wrap_wxDC_GetPen(PyObject
*self
, PyObject
*args
) {
4011 PyObject
* _resultobj
;
4018 if(!PyArg_ParseTuple(args
,"s:wxDC_GetPen",&_argc0
))
4021 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPen. Expected _wxDC_p.");
4027 wxPy_BEGIN_ALLOW_THREADS
;
4028 wxPen
& _result_ref
= wxDC_GetPen(_arg0
);
4029 _result
= (wxPen
*) &_result_ref
;
4031 wxPy_END_ALLOW_THREADS
;
4032 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
4033 _resultobj
= Py_BuildValue("s",_ptemp
);
4037 static wxColour
* wxDC_GetPixel(wxDC
*self
,long x
,long y
) {
4038 wxColour
* wc
= new wxColour();
4039 self
->GetPixel(x
, y
, wc
);
4042 static PyObject
*_wrap_wxDC_GetPixel(PyObject
*self
, PyObject
*args
) {
4043 PyObject
* _resultobj
;
4052 if(!PyArg_ParseTuple(args
,"sll:wxDC_GetPixel",&_argc0
,&_arg1
,&_arg2
))
4055 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPixel. Expected _wxDC_p.");
4061 wxPy_BEGIN_ALLOW_THREADS
;
4062 _result
= (wxColour
*)wxDC_GetPixel(_arg0
,_arg1
,_arg2
);
4064 wxPy_END_ALLOW_THREADS
;
4065 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
4066 _resultobj
= Py_BuildValue("s",_ptemp
);
4070 #define wxDC_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
4071 static PyObject
*_wrap_wxDC_GetSizeTuple(PyObject
*self
, PyObject
*args
) {
4072 PyObject
* _resultobj
;
4087 if(!PyArg_ParseTuple(args
,"s:wxDC_GetSizeTuple",&_argc0
))
4090 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSizeTuple. Expected _wxDC_p.");
4096 wxPy_BEGIN_ALLOW_THREADS
;
4097 wxDC_GetSizeTuple(_arg0
,_arg1
,_arg2
);
4099 wxPy_END_ALLOW_THREADS
;
4100 } Py_INCREF(Py_None
);
4101 _resultobj
= Py_None
;
4104 o
= PyInt_FromLong((long) (*_arg1
));
4105 _resultobj
= t_output_helper(_resultobj
, o
);
4109 o
= PyInt_FromLong((long) (*_arg2
));
4110 _resultobj
= t_output_helper(_resultobj
, o
);
4115 #define wxDC_GetSize(_swigobj) (_swigobj->GetSize())
4116 static PyObject
*_wrap_wxDC_GetSize(PyObject
*self
, PyObject
*args
) {
4117 PyObject
* _resultobj
;
4124 if(!PyArg_ParseTuple(args
,"s:wxDC_GetSize",&_argc0
))
4127 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSize. Expected _wxDC_p.");
4133 wxPy_BEGIN_ALLOW_THREADS
;
4134 _result
= new wxSize (wxDC_GetSize(_arg0
));
4136 wxPy_END_ALLOW_THREADS
;
4137 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4138 _resultobj
= Py_BuildValue("s",_ptemp
);
4142 #define wxDC_GetTextBackground(_swigobj) (_swigobj->GetTextBackground())
4143 static PyObject
*_wrap_wxDC_GetTextBackground(PyObject
*self
, PyObject
*args
) {
4144 PyObject
* _resultobj
;
4151 if(!PyArg_ParseTuple(args
,"s:wxDC_GetTextBackground",&_argc0
))
4154 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextBackground. Expected _wxDC_p.");
4160 wxPy_BEGIN_ALLOW_THREADS
;
4161 wxColour
& _result_ref
= wxDC_GetTextBackground(_arg0
);
4162 _result
= (wxColour
*) &_result_ref
;
4164 wxPy_END_ALLOW_THREADS
;
4165 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
4166 _resultobj
= Py_BuildValue("s",_ptemp
);
4170 #define wxDC_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
4171 static PyObject
*_wrap_wxDC_GetTextExtent(PyObject
*self
, PyObject
*args
) {
4172 PyObject
* _resultobj
;
4180 PyObject
* _obj1
= 0;
4189 if(!PyArg_ParseTuple(args
,"sO:wxDC_GetTextExtent",&_argc0
,&_obj1
))
4192 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextExtent. Expected _wxDC_p.");
4198 if (!PyString_Check(_obj1
)) {
4199 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4202 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4205 wxPy_BEGIN_ALLOW_THREADS
;
4206 wxDC_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
4208 wxPy_END_ALLOW_THREADS
;
4209 } Py_INCREF(Py_None
);
4210 _resultobj
= Py_None
;
4213 o
= PyInt_FromLong((long) (*_arg2
));
4214 _resultobj
= t_output_helper(_resultobj
, o
);
4218 o
= PyInt_FromLong((long) (*_arg3
));
4219 _resultobj
= t_output_helper(_resultobj
, o
);
4228 #define wxDC_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4229 static PyObject
*_wrap_wxDC_GetFullTextExtent(PyObject
*self
, PyObject
*args
) {
4230 PyObject
* _resultobj
;
4241 wxFont
* _arg6
= NULL
;
4243 PyObject
* _obj1
= 0;
4259 if(!PyArg_ParseTuple(args
,"sO|s:wxDC_GetFullTextExtent",&_argc0
,&_obj1
,&_argc6
))
4262 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFullTextExtent. Expected _wxDC_p.");
4268 if (!PyString_Check(_obj1
)) {
4269 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4272 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4275 if (SWIG_GetPtr(_argc6
,(void **) &_arg6
,"_wxFont_p")) {
4276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxDC_GetFullTextExtent. Expected _wxFont_p.");
4281 wxPy_BEGIN_ALLOW_THREADS
;
4282 wxDC_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4284 wxPy_END_ALLOW_THREADS
;
4285 } Py_INCREF(Py_None
);
4286 _resultobj
= Py_None
;
4289 o
= PyInt_FromLong((long) (*_arg2
));
4290 _resultobj
= t_output_helper(_resultobj
, o
);
4294 o
= PyInt_FromLong((long) (*_arg3
));
4295 _resultobj
= t_output_helper(_resultobj
, o
);
4299 o
= PyInt_FromLong((long) (*_arg4
));
4300 _resultobj
= t_output_helper(_resultobj
, o
);
4304 o
= PyInt_FromLong((long) (*_arg5
));
4305 _resultobj
= t_output_helper(_resultobj
, o
);
4314 #define wxDC_GetTextForeground(_swigobj) (_swigobj->GetTextForeground())
4315 static PyObject
*_wrap_wxDC_GetTextForeground(PyObject
*self
, PyObject
*args
) {
4316 PyObject
* _resultobj
;
4323 if(!PyArg_ParseTuple(args
,"s:wxDC_GetTextForeground",&_argc0
))
4326 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextForeground. Expected _wxDC_p.");
4332 wxPy_BEGIN_ALLOW_THREADS
;
4333 wxColour
& _result_ref
= wxDC_GetTextForeground(_arg0
);
4334 _result
= (wxColour
*) &_result_ref
;
4336 wxPy_END_ALLOW_THREADS
;
4337 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
4338 _resultobj
= Py_BuildValue("s",_ptemp
);
4342 #define wxDC_LogicalToDeviceX(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceX(_swigarg0))
4343 static PyObject
*_wrap_wxDC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
) {
4344 PyObject
* _resultobj
;
4351 if(!PyArg_ParseTuple(args
,"sl:wxDC_LogicalToDeviceX",&_argc0
,&_arg1
))
4354 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceX. Expected _wxDC_p.");
4360 wxPy_BEGIN_ALLOW_THREADS
;
4361 _result
= (long )wxDC_LogicalToDeviceX(_arg0
,_arg1
);
4363 wxPy_END_ALLOW_THREADS
;
4364 } _resultobj
= Py_BuildValue("l",_result
);
4368 #define wxDC_LogicalToDeviceXRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceXRel(_swigarg0))
4369 static PyObject
*_wrap_wxDC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
) {
4370 PyObject
* _resultobj
;
4377 if(!PyArg_ParseTuple(args
,"sl:wxDC_LogicalToDeviceXRel",&_argc0
,&_arg1
))
4380 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceXRel. Expected _wxDC_p.");
4386 wxPy_BEGIN_ALLOW_THREADS
;
4387 _result
= (long )wxDC_LogicalToDeviceXRel(_arg0
,_arg1
);
4389 wxPy_END_ALLOW_THREADS
;
4390 } _resultobj
= Py_BuildValue("l",_result
);
4394 #define wxDC_LogicalToDeviceY(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceY(_swigarg0))
4395 static PyObject
*_wrap_wxDC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
) {
4396 PyObject
* _resultobj
;
4403 if(!PyArg_ParseTuple(args
,"sl:wxDC_LogicalToDeviceY",&_argc0
,&_arg1
))
4406 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceY. Expected _wxDC_p.");
4412 wxPy_BEGIN_ALLOW_THREADS
;
4413 _result
= (long )wxDC_LogicalToDeviceY(_arg0
,_arg1
);
4415 wxPy_END_ALLOW_THREADS
;
4416 } _resultobj
= Py_BuildValue("l",_result
);
4420 #define wxDC_LogicalToDeviceYRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceYRel(_swigarg0))
4421 static PyObject
*_wrap_wxDC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
) {
4422 PyObject
* _resultobj
;
4429 if(!PyArg_ParseTuple(args
,"sl:wxDC_LogicalToDeviceYRel",&_argc0
,&_arg1
))
4432 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceYRel. Expected _wxDC_p.");
4438 wxPy_BEGIN_ALLOW_THREADS
;
4439 _result
= (long )wxDC_LogicalToDeviceYRel(_arg0
,_arg1
);
4441 wxPy_END_ALLOW_THREADS
;
4442 } _resultobj
= Py_BuildValue("l",_result
);
4446 #define wxDC_MaxX(_swigobj) (_swigobj->MaxX())
4447 static PyObject
*_wrap_wxDC_MaxX(PyObject
*self
, PyObject
*args
) {
4448 PyObject
* _resultobj
;
4454 if(!PyArg_ParseTuple(args
,"s:wxDC_MaxX",&_argc0
))
4457 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxX. Expected _wxDC_p.");
4463 wxPy_BEGIN_ALLOW_THREADS
;
4464 _result
= (long )wxDC_MaxX(_arg0
);
4466 wxPy_END_ALLOW_THREADS
;
4467 } _resultobj
= Py_BuildValue("l",_result
);
4471 #define wxDC_MaxY(_swigobj) (_swigobj->MaxY())
4472 static PyObject
*_wrap_wxDC_MaxY(PyObject
*self
, PyObject
*args
) {
4473 PyObject
* _resultobj
;
4479 if(!PyArg_ParseTuple(args
,"s:wxDC_MaxY",&_argc0
))
4482 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxY. Expected _wxDC_p.");
4488 wxPy_BEGIN_ALLOW_THREADS
;
4489 _result
= (long )wxDC_MaxY(_arg0
);
4491 wxPy_END_ALLOW_THREADS
;
4492 } _resultobj
= Py_BuildValue("l",_result
);
4496 #define wxDC_MinX(_swigobj) (_swigobj->MinX())
4497 static PyObject
*_wrap_wxDC_MinX(PyObject
*self
, PyObject
*args
) {
4498 PyObject
* _resultobj
;
4504 if(!PyArg_ParseTuple(args
,"s:wxDC_MinX",&_argc0
))
4507 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinX. Expected _wxDC_p.");
4513 wxPy_BEGIN_ALLOW_THREADS
;
4514 _result
= (long )wxDC_MinX(_arg0
);
4516 wxPy_END_ALLOW_THREADS
;
4517 } _resultobj
= Py_BuildValue("l",_result
);
4521 #define wxDC_MinY(_swigobj) (_swigobj->MinY())
4522 static PyObject
*_wrap_wxDC_MinY(PyObject
*self
, PyObject
*args
) {
4523 PyObject
* _resultobj
;
4529 if(!PyArg_ParseTuple(args
,"s:wxDC_MinY",&_argc0
))
4532 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinY. Expected _wxDC_p.");
4538 wxPy_BEGIN_ALLOW_THREADS
;
4539 _result
= (long )wxDC_MinY(_arg0
);
4541 wxPy_END_ALLOW_THREADS
;
4542 } _resultobj
= Py_BuildValue("l",_result
);
4546 #define wxDC_Ok(_swigobj) (_swigobj->Ok())
4547 static PyObject
*_wrap_wxDC_Ok(PyObject
*self
, PyObject
*args
) {
4548 PyObject
* _resultobj
;
4554 if(!PyArg_ParseTuple(args
,"s:wxDC_Ok",&_argc0
))
4557 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Ok. Expected _wxDC_p.");
4563 wxPy_BEGIN_ALLOW_THREADS
;
4564 _result
= (bool )wxDC_Ok(_arg0
);
4566 wxPy_END_ALLOW_THREADS
;
4567 } _resultobj
= Py_BuildValue("i",_result
);
4571 #define wxDC_SetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDeviceOrigin(_swigarg0,_swigarg1))
4572 static PyObject
*_wrap_wxDC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
) {
4573 PyObject
* _resultobj
;
4580 if(!PyArg_ParseTuple(args
,"sll:wxDC_SetDeviceOrigin",&_argc0
,&_arg1
,&_arg2
))
4583 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetDeviceOrigin. Expected _wxDC_p.");
4589 wxPy_BEGIN_ALLOW_THREADS
;
4590 wxDC_SetDeviceOrigin(_arg0
,_arg1
,_arg2
);
4592 wxPy_END_ALLOW_THREADS
;
4593 } Py_INCREF(Py_None
);
4594 _resultobj
= Py_None
;
4598 #define wxDC_SetBackground(_swigobj,_swigarg0) (_swigobj->SetBackground(_swigarg0))
4599 static PyObject
*_wrap_wxDC_SetBackground(PyObject
*self
, PyObject
*args
) {
4600 PyObject
* _resultobj
;
4607 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetBackground",&_argc0
,&_argc1
))
4610 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackground. Expected _wxDC_p.");
4616 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBrush_p")) {
4617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBackground. Expected _wxBrush_p.");
4622 wxPy_BEGIN_ALLOW_THREADS
;
4623 wxDC_SetBackground(_arg0
,*_arg1
);
4625 wxPy_END_ALLOW_THREADS
;
4626 } Py_INCREF(Py_None
);
4627 _resultobj
= Py_None
;
4631 #define wxDC_SetBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetBackgroundMode(_swigarg0))
4632 static PyObject
*_wrap_wxDC_SetBackgroundMode(PyObject
*self
, PyObject
*args
) {
4633 PyObject
* _resultobj
;
4639 if(!PyArg_ParseTuple(args
,"si:wxDC_SetBackgroundMode",&_argc0
,&_arg1
))
4642 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackgroundMode. Expected _wxDC_p.");
4648 wxPy_BEGIN_ALLOW_THREADS
;
4649 wxDC_SetBackgroundMode(_arg0
,_arg1
);
4651 wxPy_END_ALLOW_THREADS
;
4652 } Py_INCREF(Py_None
);
4653 _resultobj
= Py_None
;
4657 #define wxDC_SetClippingRegion(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetClippingRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4658 static PyObject
*_wrap_wxDC_SetClippingRegion(PyObject
*self
, PyObject
*args
) {
4659 PyObject
* _resultobj
;
4668 if(!PyArg_ParseTuple(args
,"sllll:wxDC_SetClippingRegion",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4671 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetClippingRegion. Expected _wxDC_p.");
4677 wxPy_BEGIN_ALLOW_THREADS
;
4678 wxDC_SetClippingRegion(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4680 wxPy_END_ALLOW_THREADS
;
4681 } Py_INCREF(Py_None
);
4682 _resultobj
= Py_None
;
4686 #define wxDC_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
4687 static PyObject
*_wrap_wxDC_SetPalette(PyObject
*self
, PyObject
*args
) {
4688 PyObject
* _resultobj
;
4695 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetPalette",&_argc0
,&_argc1
))
4698 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPalette. Expected _wxDC_p.");
4704 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPalette_p")) {
4705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPalette. Expected _wxPalette_p.");
4710 wxPy_BEGIN_ALLOW_THREADS
;
4711 wxDC_SetPalette(_arg0
,*_arg1
);
4713 wxPy_END_ALLOW_THREADS
;
4714 } Py_INCREF(Py_None
);
4715 _resultobj
= Py_None
;
4719 #define wxDC_SetBrush(_swigobj,_swigarg0) (_swigobj->SetBrush(_swigarg0))
4720 static PyObject
*_wrap_wxDC_SetBrush(PyObject
*self
, PyObject
*args
) {
4721 PyObject
* _resultobj
;
4728 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetBrush",&_argc0
,&_argc1
))
4731 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBrush. Expected _wxDC_p.");
4737 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBrush_p")) {
4738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBrush. Expected _wxBrush_p.");
4743 wxPy_BEGIN_ALLOW_THREADS
;
4744 wxDC_SetBrush(_arg0
,*_arg1
);
4746 wxPy_END_ALLOW_THREADS
;
4747 } Py_INCREF(Py_None
);
4748 _resultobj
= Py_None
;
4752 #define wxDC_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
4753 static PyObject
*_wrap_wxDC_SetFont(PyObject
*self
, PyObject
*args
) {
4754 PyObject
* _resultobj
;
4761 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetFont",&_argc0
,&_argc1
))
4764 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetFont. Expected _wxDC_p.");
4770 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxFont_p")) {
4771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetFont. Expected _wxFont_p.");
4776 wxPy_BEGIN_ALLOW_THREADS
;
4777 wxDC_SetFont(_arg0
,*_arg1
);
4779 wxPy_END_ALLOW_THREADS
;
4780 } Py_INCREF(Py_None
);
4781 _resultobj
= Py_None
;
4785 #define wxDC_SetLogicalFunction(_swigobj,_swigarg0) (_swigobj->SetLogicalFunction(_swigarg0))
4786 static PyObject
*_wrap_wxDC_SetLogicalFunction(PyObject
*self
, PyObject
*args
) {
4787 PyObject
* _resultobj
;
4793 if(!PyArg_ParseTuple(args
,"si:wxDC_SetLogicalFunction",&_argc0
,&_arg1
))
4796 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalFunction. Expected _wxDC_p.");
4802 wxPy_BEGIN_ALLOW_THREADS
;
4803 wxDC_SetLogicalFunction(_arg0
,_arg1
);
4805 wxPy_END_ALLOW_THREADS
;
4806 } Py_INCREF(Py_None
);
4807 _resultobj
= Py_None
;
4811 #define wxDC_SetMapMode(_swigobj,_swigarg0) (_swigobj->SetMapMode(_swigarg0))
4812 static PyObject
*_wrap_wxDC_SetMapMode(PyObject
*self
, PyObject
*args
) {
4813 PyObject
* _resultobj
;
4819 if(!PyArg_ParseTuple(args
,"si:wxDC_SetMapMode",&_argc0
,&_arg1
))
4822 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetMapMode. Expected _wxDC_p.");
4828 wxPy_BEGIN_ALLOW_THREADS
;
4829 wxDC_SetMapMode(_arg0
,_arg1
);
4831 wxPy_END_ALLOW_THREADS
;
4832 } Py_INCREF(Py_None
);
4833 _resultobj
= Py_None
;
4837 #define wxDC_SetOptimization(_swigobj,_swigarg0) (_swigobj->SetOptimization(_swigarg0))
4838 static PyObject
*_wrap_wxDC_SetOptimization(PyObject
*self
, PyObject
*args
) {
4839 PyObject
* _resultobj
;
4846 if(!PyArg_ParseTuple(args
,"si:wxDC_SetOptimization",&_argc0
,&tempbool1
))
4849 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetOptimization. Expected _wxDC_p.");
4854 _arg1
= (bool ) tempbool1
;
4856 wxPy_BEGIN_ALLOW_THREADS
;
4857 wxDC_SetOptimization(_arg0
,_arg1
);
4859 wxPy_END_ALLOW_THREADS
;
4860 } Py_INCREF(Py_None
);
4861 _resultobj
= Py_None
;
4865 #define wxDC_SetPen(_swigobj,_swigarg0) (_swigobj->SetPen(_swigarg0))
4866 static PyObject
*_wrap_wxDC_SetPen(PyObject
*self
, PyObject
*args
) {
4867 PyObject
* _resultobj
;
4874 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetPen",&_argc0
,&_argc1
))
4877 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPen. Expected _wxDC_p.");
4883 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPen_p")) {
4884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPen. Expected _wxPen_p.");
4889 wxPy_BEGIN_ALLOW_THREADS
;
4890 wxDC_SetPen(_arg0
,*_arg1
);
4892 wxPy_END_ALLOW_THREADS
;
4893 } Py_INCREF(Py_None
);
4894 _resultobj
= Py_None
;
4898 #define wxDC_SetTextBackground(_swigobj,_swigarg0) (_swigobj->SetTextBackground(_swigarg0))
4899 static PyObject
*_wrap_wxDC_SetTextBackground(PyObject
*self
, PyObject
*args
) {
4900 PyObject
* _resultobj
;
4907 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetTextBackground",&_argc0
,&_argc1
))
4910 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextBackground. Expected _wxDC_p.");
4916 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
4917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetTextBackground. Expected _wxColour_p.");
4922 wxPy_BEGIN_ALLOW_THREADS
;
4923 wxDC_SetTextBackground(_arg0
,*_arg1
);
4925 wxPy_END_ALLOW_THREADS
;
4926 } Py_INCREF(Py_None
);
4927 _resultobj
= Py_None
;
4931 #define wxDC_SetTextForeground(_swigobj,_swigarg0) (_swigobj->SetTextForeground(_swigarg0))
4932 static PyObject
*_wrap_wxDC_SetTextForeground(PyObject
*self
, PyObject
*args
) {
4933 PyObject
* _resultobj
;
4940 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetTextForeground",&_argc0
,&_argc1
))
4943 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextForeground. Expected _wxDC_p.");
4949 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
4950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetTextForeground. Expected _wxColour_p.");
4955 wxPy_BEGIN_ALLOW_THREADS
;
4956 wxDC_SetTextForeground(_arg0
,*_arg1
);
4958 wxPy_END_ALLOW_THREADS
;
4959 } Py_INCREF(Py_None
);
4960 _resultobj
= Py_None
;
4964 #define wxDC_SetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetUserScale(_swigarg0,_swigarg1))
4965 static PyObject
*_wrap_wxDC_SetUserScale(PyObject
*self
, PyObject
*args
) {
4966 PyObject
* _resultobj
;
4973 if(!PyArg_ParseTuple(args
,"sdd:wxDC_SetUserScale",&_argc0
,&_arg1
,&_arg2
))
4976 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetUserScale. Expected _wxDC_p.");
4982 wxPy_BEGIN_ALLOW_THREADS
;
4983 wxDC_SetUserScale(_arg0
,_arg1
,_arg2
);
4985 wxPy_END_ALLOW_THREADS
;
4986 } Py_INCREF(Py_None
);
4987 _resultobj
= Py_None
;
4991 #define wxDC_StartDoc(_swigobj,_swigarg0) (_swigobj->StartDoc(_swigarg0))
4992 static PyObject
*_wrap_wxDC_StartDoc(PyObject
*self
, PyObject
*args
) {
4993 PyObject
* _resultobj
;
4998 PyObject
* _obj1
= 0;
5001 if(!PyArg_ParseTuple(args
,"sO:wxDC_StartDoc",&_argc0
,&_obj1
))
5004 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
5005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartDoc. Expected _wxDC_p.");
5010 if (!PyString_Check(_obj1
)) {
5011 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5014 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5017 wxPy_BEGIN_ALLOW_THREADS
;
5018 _result
= (bool )wxDC_StartDoc(_arg0
,*_arg1
);
5020 wxPy_END_ALLOW_THREADS
;
5021 } _resultobj
= Py_BuildValue("i",_result
);
5029 #define wxDC_StartPage(_swigobj) (_swigobj->StartPage())
5030 static PyObject
*_wrap_wxDC_StartPage(PyObject
*self
, PyObject
*args
) {
5031 PyObject
* _resultobj
;
5036 if(!PyArg_ParseTuple(args
,"s:wxDC_StartPage",&_argc0
))
5039 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
5040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartPage. Expected _wxDC_p.");
5045 wxPy_BEGIN_ALLOW_THREADS
;
5046 wxDC_StartPage(_arg0
);
5048 wxPy_END_ALLOW_THREADS
;
5049 } Py_INCREF(Py_None
);
5050 _resultobj
= Py_None
;
5054 static void wxDC_DrawBitmap(wxDC
*self
,wxBitmap
& bitmap
,long x
,long y
,bool swapPalette
) {
5055 wxMemoryDC
* memDC
= new wxMemoryDC
;
5056 memDC
->SelectObject(bitmap
);
5059 self
->SetPalette(*bitmap
.GetPalette());
5061 self
->Blit(x
, y
, bitmap
.GetWidth(), bitmap
.GetHeight(), memDC
,
5062 0, 0, self
->GetLogicalFunction());
5063 memDC
->SelectObject(wxNullBitmap
);
5066 static PyObject
*_wrap_wxDC_DrawBitmap(PyObject
*self
, PyObject
*args
) {
5067 PyObject
* _resultobj
;
5078 if(!PyArg_ParseTuple(args
,"ssll|i:wxDC_DrawBitmap",&_argc0
,&_argc1
,&_arg2
,&_arg3
,&tempbool4
))
5081 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
5082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawBitmap. Expected _wxDC_p.");
5087 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBitmap_p")) {
5088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawBitmap. Expected _wxBitmap_p.");
5092 _arg4
= (bool ) tempbool4
;
5094 wxPy_BEGIN_ALLOW_THREADS
;
5095 wxDC_DrawBitmap(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
5097 wxPy_END_ALLOW_THREADS
;
5098 } Py_INCREF(Py_None
);
5099 _resultobj
= Py_None
;
5103 static void *SwigwxMemoryDCTowxDC(void *ptr
) {
5106 src
= (wxMemoryDC
*) ptr
;
5107 dest
= (wxDC
*) src
;
5108 return (void *) dest
;
5111 #define new_wxMemoryDC() (new wxMemoryDC())
5112 static PyObject
*_wrap_new_wxMemoryDC(PyObject
*self
, PyObject
*args
) {
5113 PyObject
* _resultobj
;
5114 wxMemoryDC
* _result
;
5118 if(!PyArg_ParseTuple(args
,":new_wxMemoryDC"))
5121 wxPy_BEGIN_ALLOW_THREADS
;
5122 _result
= (wxMemoryDC
*)new_wxMemoryDC();
5124 wxPy_END_ALLOW_THREADS
;
5125 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
5126 _resultobj
= Py_BuildValue("s",_ptemp
);
5130 #define wxMemoryDC_SelectObject(_swigobj,_swigarg0) (_swigobj->SelectObject(_swigarg0))
5131 static PyObject
*_wrap_wxMemoryDC_SelectObject(PyObject
*self
, PyObject
*args
) {
5132 PyObject
* _resultobj
;
5139 if(!PyArg_ParseTuple(args
,"ss:wxMemoryDC_SelectObject",&_argc0
,&_argc1
))
5142 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMemoryDC_p")) {
5143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDC_SelectObject. Expected _wxMemoryDC_p.");
5148 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBitmap_p")) {
5149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMemoryDC_SelectObject. Expected _wxBitmap_p.");
5154 wxPy_BEGIN_ALLOW_THREADS
;
5155 wxMemoryDC_SelectObject(_arg0
,*_arg1
);
5157 wxPy_END_ALLOW_THREADS
;
5158 } Py_INCREF(Py_None
);
5159 _resultobj
= Py_None
;
5163 static void *SwigwxScreenDCTowxDC(void *ptr
) {
5166 src
= (wxScreenDC
*) ptr
;
5167 dest
= (wxDC
*) src
;
5168 return (void *) dest
;
5171 #define new_wxScreenDC() (new wxScreenDC())
5172 static PyObject
*_wrap_new_wxScreenDC(PyObject
*self
, PyObject
*args
) {
5173 PyObject
* _resultobj
;
5174 wxScreenDC
* _result
;
5178 if(!PyArg_ParseTuple(args
,":new_wxScreenDC"))
5181 wxPy_BEGIN_ALLOW_THREADS
;
5182 _result
= (wxScreenDC
*)new_wxScreenDC();
5184 wxPy_END_ALLOW_THREADS
;
5185 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScreenDC_p");
5186 _resultobj
= Py_BuildValue("s",_ptemp
);
5190 #define wxScreenDC_StartDrawingOnTop(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
5191 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
) {
5192 PyObject
* _resultobj
;
5200 if(!PyArg_ParseTuple(args
,"ss:wxScreenDC_StartDrawingOnTop",&_argc0
,&_argc1
))
5203 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScreenDC_p")) {
5204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTop. Expected _wxScreenDC_p.");
5209 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
5210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScreenDC_StartDrawingOnTop. Expected _wxWindow_p.");
5215 wxPy_BEGIN_ALLOW_THREADS
;
5216 _result
= (bool )wxScreenDC_StartDrawingOnTop(_arg0
,_arg1
);
5218 wxPy_END_ALLOW_THREADS
;
5219 } _resultobj
= Py_BuildValue("i",_result
);
5223 #define wxScreenDC_StartDrawingOnTopRect(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
5224 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTopRect(PyObject
*self
, PyObject
*args
) {
5225 PyObject
* _resultobj
;
5228 wxRect
* _arg1
= NULL
;
5233 if(!PyArg_ParseTuple(args
,"s|s:wxScreenDC_StartDrawingOnTopRect",&_argc0
,&_argc1
))
5236 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScreenDC_p")) {
5237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTopRect. Expected _wxScreenDC_p.");
5242 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxRect_p")) {
5243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScreenDC_StartDrawingOnTopRect. Expected _wxRect_p.");
5248 wxPy_BEGIN_ALLOW_THREADS
;
5249 _result
= (bool )wxScreenDC_StartDrawingOnTopRect(_arg0
,_arg1
);
5251 wxPy_END_ALLOW_THREADS
;
5252 } _resultobj
= Py_BuildValue("i",_result
);
5256 #define wxScreenDC_EndDrawingOnTop(_swigobj) (_swigobj->EndDrawingOnTop())
5257 static PyObject
*_wrap_wxScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
) {
5258 PyObject
* _resultobj
;
5264 if(!PyArg_ParseTuple(args
,"s:wxScreenDC_EndDrawingOnTop",&_argc0
))
5267 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScreenDC_p")) {
5268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_EndDrawingOnTop. Expected _wxScreenDC_p.");
5273 wxPy_BEGIN_ALLOW_THREADS
;
5274 _result
= (bool )wxScreenDC_EndDrawingOnTop(_arg0
);
5276 wxPy_END_ALLOW_THREADS
;
5277 } _resultobj
= Py_BuildValue("i",_result
);
5281 static void *SwigwxClientDCTowxDC(void *ptr
) {
5284 src
= (wxClientDC
*) ptr
;
5285 dest
= (wxDC
*) src
;
5286 return (void *) dest
;
5289 #define new_wxClientDC(_swigarg0) (new wxClientDC(_swigarg0))
5290 static PyObject
*_wrap_new_wxClientDC(PyObject
*self
, PyObject
*args
) {
5291 PyObject
* _resultobj
;
5292 wxClientDC
* _result
;
5298 if(!PyArg_ParseTuple(args
,"s:new_wxClientDC",&_argc0
))
5301 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
5302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxClientDC. Expected _wxWindow_p.");
5307 wxPy_BEGIN_ALLOW_THREADS
;
5308 _result
= (wxClientDC
*)new_wxClientDC(_arg0
);
5310 wxPy_END_ALLOW_THREADS
;
5311 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxClientDC_p");
5312 _resultobj
= Py_BuildValue("s",_ptemp
);
5316 static void *SwigwxPaintDCTowxDC(void *ptr
) {
5319 src
= (wxPaintDC
*) ptr
;
5320 dest
= (wxDC
*) src
;
5321 return (void *) dest
;
5324 #define new_wxPaintDC(_swigarg0) (new wxPaintDC(_swigarg0))
5325 static PyObject
*_wrap_new_wxPaintDC(PyObject
*self
, PyObject
*args
) {
5326 PyObject
* _resultobj
;
5327 wxPaintDC
* _result
;
5333 if(!PyArg_ParseTuple(args
,"s:new_wxPaintDC",&_argc0
))
5336 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
5337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPaintDC. Expected _wxWindow_p.");
5342 wxPy_BEGIN_ALLOW_THREADS
;
5343 _result
= (wxPaintDC
*)new_wxPaintDC(_arg0
);
5345 wxPy_END_ALLOW_THREADS
;
5346 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPaintDC_p");
5347 _resultobj
= Py_BuildValue("s",_ptemp
);
5351 static void *SwigwxWindowDCTowxDC(void *ptr
) {
5354 src
= (wxWindowDC
*) ptr
;
5355 dest
= (wxDC
*) src
;
5356 return (void *) dest
;
5359 #define new_wxWindowDC(_swigarg0) (new wxWindowDC(_swigarg0))
5360 static PyObject
*_wrap_new_wxWindowDC(PyObject
*self
, PyObject
*args
) {
5361 PyObject
* _resultobj
;
5362 wxWindowDC
* _result
;
5368 if(!PyArg_ParseTuple(args
,"s:new_wxWindowDC",&_argc0
))
5371 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
5372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDC. Expected _wxWindow_p.");
5377 wxPy_BEGIN_ALLOW_THREADS
;
5378 _result
= (wxWindowDC
*)new_wxWindowDC(_arg0
);
5380 wxPy_END_ALLOW_THREADS
;
5381 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDC_p");
5382 _resultobj
= Py_BuildValue("s",_ptemp
);
5386 static void *SwigwxPostScriptDCTowxDC(void *ptr
) {
5387 wxPostScriptDC
*src
;
5389 src
= (wxPostScriptDC
*) ptr
;
5390 dest
= (wxDC
*) src
;
5391 return (void *) dest
;
5394 #define new_wxPostScriptDC(_swigarg0,_swigarg1,_swigarg2) (new wxPostScriptDC(_swigarg0,_swigarg1,_swigarg2))
5395 static PyObject
*_wrap_new_wxPostScriptDC(PyObject
*self
, PyObject
*args
) {
5396 PyObject
* _resultobj
;
5397 wxPostScriptDC
* _result
;
5400 wxWindow
* _arg2
= NULL
;
5401 PyObject
* _obj0
= 0;
5407 if(!PyArg_ParseTuple(args
,"O|is:new_wxPostScriptDC",&_obj0
,&tempbool1
,&_argc2
))
5410 if (!PyString_Check(_obj0
)) {
5411 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5414 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
5416 _arg1
= (bool ) tempbool1
;
5418 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxWindow_p")) {
5419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPostScriptDC. Expected _wxWindow_p.");
5424 wxPy_BEGIN_ALLOW_THREADS
;
5425 _result
= (wxPostScriptDC
*)new_wxPostScriptDC(*_arg0
,_arg1
,_arg2
);
5427 wxPy_END_ALLOW_THREADS
;
5428 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPostScriptDC_p");
5429 _resultobj
= Py_BuildValue("s",_ptemp
);
5437 #define new_wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5438 static PyObject
*_wrap_new_wxPalette(PyObject
*self
, PyObject
*args
) {
5439 PyObject
* _resultobj
;
5440 wxPalette
* _result
;
5445 PyObject
* _obj1
= 0;
5446 PyObject
* _obj2
= 0;
5447 PyObject
* _obj3
= 0;
5451 if(!PyArg_ParseTuple(args
,"OOO:new_wxPalette",&_obj1
,&_obj2
,&_obj3
))
5454 _arg1
= byte_LIST_helper(_obj1
);
5455 if (_arg1
== NULL
) {
5460 _arg2
= byte_LIST_helper(_obj2
);
5461 if (_arg2
== NULL
) {
5467 _arg3
= byte_LIST_helper(_obj3
);
5468 if (_arg3
== NULL
) {
5474 _arg0
= PyList_Size(_obj1
);
5481 wxPy_BEGIN_ALLOW_THREADS
;
5482 _result
= (wxPalette
*)new_wxPalette(_arg0
,_arg1
,_arg2
,_arg3
);
5484 wxPy_END_ALLOW_THREADS
;
5485 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
5486 _resultobj
= Py_BuildValue("s",_ptemp
);
5499 #define delete_wxPalette(_swigobj) (delete _swigobj)
5500 static PyObject
*_wrap_delete_wxPalette(PyObject
*self
, PyObject
*args
) {
5501 PyObject
* _resultobj
;
5506 if(!PyArg_ParseTuple(args
,"s:delete_wxPalette",&_argc0
))
5509 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPalette_p")) {
5510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPalette. Expected _wxPalette_p.");
5515 wxPy_BEGIN_ALLOW_THREADS
;
5516 delete_wxPalette(_arg0
);
5518 wxPy_END_ALLOW_THREADS
;
5519 } Py_INCREF(Py_None
);
5520 _resultobj
= Py_None
;
5524 #define wxPalette_GetPixel(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetPixel(_swigarg0,_swigarg1,_swigarg2))
5525 static PyObject
*_wrap_wxPalette_GetPixel(PyObject
*self
, PyObject
*args
) {
5526 PyObject
* _resultobj
;
5535 if(!PyArg_ParseTuple(args
,"sbbb:wxPalette_GetPixel",&_argc0
,&_arg1
,&_arg2
,&_arg3
))
5538 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPalette_p")) {
5539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetPixel. Expected _wxPalette_p.");
5544 wxPy_BEGIN_ALLOW_THREADS
;
5545 _result
= (int )wxPalette_GetPixel(_arg0
,_arg1
,_arg2
,_arg3
);
5547 wxPy_END_ALLOW_THREADS
;
5548 } _resultobj
= Py_BuildValue("i",_result
);
5552 #define wxPalette_GetRGB(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetRGB(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5553 static PyObject
*_wrap_wxPalette_GetRGB(PyObject
*self
, PyObject
*args
) {
5554 PyObject
* _resultobj
;
5567 if(!PyArg_ParseTuple(args
,"sisss:wxPalette_GetRGB",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_argc4
))
5570 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPalette_p")) {
5571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetRGB. Expected _wxPalette_p.");
5576 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_byte_p")) {
5577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPalette_GetRGB. Expected _byte_p.");
5582 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_byte_p")) {
5583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxPalette_GetRGB. Expected _byte_p.");
5588 if (SWIG_GetPtr(_argc4
,(void **) &_arg4
,"_byte_p")) {
5589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxPalette_GetRGB. Expected _byte_p.");
5594 wxPy_BEGIN_ALLOW_THREADS
;
5595 _result
= (bool )wxPalette_GetRGB(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5597 wxPy_END_ALLOW_THREADS
;
5598 } _resultobj
= Py_BuildValue("i",_result
);
5602 #define wxPalette_Ok(_swigobj) (_swigobj->Ok())
5603 static PyObject
*_wrap_wxPalette_Ok(PyObject
*self
, PyObject
*args
) {
5604 PyObject
* _resultobj
;
5610 if(!PyArg_ParseTuple(args
,"s:wxPalette_Ok",&_argc0
))
5613 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPalette_p")) {
5614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_Ok. Expected _wxPalette_p.");
5619 wxPy_BEGIN_ALLOW_THREADS
;
5620 _result
= (bool )wxPalette_Ok(_arg0
);
5622 wxPy_END_ALLOW_THREADS
;
5623 } _resultobj
= Py_BuildValue("i",_result
);
5627 #define new_wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5628 static PyObject
*_wrap_new_wxImageList(PyObject
*self
, PyObject
*args
) {
5629 PyObject
* _resultobj
;
5630 wxImageList
* _result
;
5639 if(!PyArg_ParseTuple(args
,"ii|ii:new_wxImageList",&_arg0
,&_arg1
,&tempbool2
,&_arg3
))
5641 _arg2
= (bool ) tempbool2
;
5643 wxPy_BEGIN_ALLOW_THREADS
;
5644 _result
= (wxImageList
*)new_wxImageList(_arg0
,_arg1
,_arg2
,_arg3
);
5646 wxPy_END_ALLOW_THREADS
;
5647 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
5648 _resultobj
= Py_BuildValue("s",_ptemp
);
5652 #define delete_wxImageList(_swigobj) (delete _swigobj)
5653 static PyObject
*_wrap_delete_wxImageList(PyObject
*self
, PyObject
*args
) {
5654 PyObject
* _resultobj
;
5655 wxImageList
* _arg0
;
5659 if(!PyArg_ParseTuple(args
,"s:delete_wxImageList",&_argc0
))
5662 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImageList_p")) {
5663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxImageList. Expected _wxImageList_p.");
5668 wxPy_BEGIN_ALLOW_THREADS
;
5669 delete_wxImageList(_arg0
);
5671 wxPy_END_ALLOW_THREADS
;
5672 } Py_INCREF(Py_None
);
5673 _resultobj
= Py_None
;
5677 #define wxImageList_Add(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
5678 static PyObject
*_wrap_wxImageList_Add(PyObject
*self
, PyObject
*args
) {
5679 PyObject
* _resultobj
;
5681 wxImageList
* _arg0
;
5687 if(!PyArg_ParseTuple(args
,"ss:wxImageList_Add",&_argc0
,&_argc1
))
5690 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImageList_p")) {
5691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Add. Expected _wxImageList_p.");
5696 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBitmap_p")) {
5697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_Add. Expected _wxBitmap_p.");
5702 wxPy_BEGIN_ALLOW_THREADS
;
5703 _result
= (int )wxImageList_Add(_arg0
,*_arg1
);
5705 wxPy_END_ALLOW_THREADS
;
5706 } _resultobj
= Py_BuildValue("i",_result
);
5710 #define wxImageList_Replace(_swigobj,_swigarg0,_swigarg1) (_swigobj->Replace(_swigarg0,_swigarg1))
5711 static PyObject
*_wrap_wxImageList_Replace(PyObject
*self
, PyObject
*args
) {
5712 PyObject
* _resultobj
;
5714 wxImageList
* _arg0
;
5721 if(!PyArg_ParseTuple(args
,"sis:wxImageList_Replace",&_argc0
,&_arg1
,&_argc2
))
5724 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImageList_p")) {
5725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Replace. Expected _wxImageList_p.");
5730 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxBitmap_p")) {
5731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Replace. Expected _wxBitmap_p.");
5736 wxPy_BEGIN_ALLOW_THREADS
;
5737 _result
= (bool )wxImageList_Replace(_arg0
,_arg1
,*_arg2
);
5739 wxPy_END_ALLOW_THREADS
;
5740 } _resultobj
= Py_BuildValue("i",_result
);
5744 #define wxImageList_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5745 static PyObject
*_wrap_wxImageList_Draw(PyObject
*self
, PyObject
*args
) {
5746 PyObject
* _resultobj
;
5748 wxImageList
* _arg0
;
5753 int _arg5
= (wxIMAGELIST_DRAW_NORMAL
);
5760 if(!PyArg_ParseTuple(args
,"sisii|ii:wxImageList_Draw",&_argc0
,&_arg1
,&_argc2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
5763 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImageList_p")) {
5764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Draw. Expected _wxImageList_p.");
5769 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxDC_p")) {
5770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Draw. Expected _wxDC_p.");
5774 _arg6
= (bool ) tempbool6
;
5776 wxPy_BEGIN_ALLOW_THREADS
;
5777 _result
= (bool )wxImageList_Draw(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
5779 wxPy_END_ALLOW_THREADS
;
5780 } _resultobj
= Py_BuildValue("i",_result
);
5784 #define wxImageList_GetImageCount(_swigobj) (_swigobj->GetImageCount())
5785 static PyObject
*_wrap_wxImageList_GetImageCount(PyObject
*self
, PyObject
*args
) {
5786 PyObject
* _resultobj
;
5788 wxImageList
* _arg0
;
5792 if(!PyArg_ParseTuple(args
,"s:wxImageList_GetImageCount",&_argc0
))
5795 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImageList_p")) {
5796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_GetImageCount. Expected _wxImageList_p.");
5801 wxPy_BEGIN_ALLOW_THREADS
;
5802 _result
= (int )wxImageList_GetImageCount(_arg0
);
5804 wxPy_END_ALLOW_THREADS
;
5805 } _resultobj
= Py_BuildValue("i",_result
);
5809 #define wxImageList_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
5810 static PyObject
*_wrap_wxImageList_Remove(PyObject
*self
, PyObject
*args
) {
5811 PyObject
* _resultobj
;
5813 wxImageList
* _arg0
;
5818 if(!PyArg_ParseTuple(args
,"si:wxImageList_Remove",&_argc0
,&_arg1
))
5821 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImageList_p")) {
5822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Remove. Expected _wxImageList_p.");
5827 wxPy_BEGIN_ALLOW_THREADS
;
5828 _result
= (bool )wxImageList_Remove(_arg0
,_arg1
);
5830 wxPy_END_ALLOW_THREADS
;
5831 } _resultobj
= Py_BuildValue("i",_result
);
5835 #define wxImageList_RemoveAll(_swigobj) (_swigobj->RemoveAll())
5836 static PyObject
*_wrap_wxImageList_RemoveAll(PyObject
*self
, PyObject
*args
) {
5837 PyObject
* _resultobj
;
5839 wxImageList
* _arg0
;
5843 if(!PyArg_ParseTuple(args
,"s:wxImageList_RemoveAll",&_argc0
))
5846 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImageList_p")) {
5847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_RemoveAll. Expected _wxImageList_p.");
5852 wxPy_BEGIN_ALLOW_THREADS
;
5853 _result
= (bool )wxImageList_RemoveAll(_arg0
);
5855 wxPy_END_ALLOW_THREADS
;
5856 } _resultobj
= Py_BuildValue("i",_result
);
5860 static PyMethodDef gdicMethods
[] = {
5861 { "wxImageList_RemoveAll", _wrap_wxImageList_RemoveAll
, 1 },
5862 { "wxImageList_Remove", _wrap_wxImageList_Remove
, 1 },
5863 { "wxImageList_GetImageCount", _wrap_wxImageList_GetImageCount
, 1 },
5864 { "wxImageList_Draw", _wrap_wxImageList_Draw
, 1 },
5865 { "wxImageList_Replace", _wrap_wxImageList_Replace
, 1 },
5866 { "wxImageList_Add", _wrap_wxImageList_Add
, 1 },
5867 { "delete_wxImageList", _wrap_delete_wxImageList
, 1 },
5868 { "new_wxImageList", _wrap_new_wxImageList
, 1 },
5869 { "wxPalette_Ok", _wrap_wxPalette_Ok
, 1 },
5870 { "wxPalette_GetRGB", _wrap_wxPalette_GetRGB
, 1 },
5871 { "wxPalette_GetPixel", _wrap_wxPalette_GetPixel
, 1 },
5872 { "delete_wxPalette", _wrap_delete_wxPalette
, 1 },
5873 { "new_wxPalette", _wrap_new_wxPalette
, 1 },
5874 { "new_wxPostScriptDC", _wrap_new_wxPostScriptDC
, 1 },
5875 { "new_wxWindowDC", _wrap_new_wxWindowDC
, 1 },
5876 { "new_wxPaintDC", _wrap_new_wxPaintDC
, 1 },
5877 { "new_wxClientDC", _wrap_new_wxClientDC
, 1 },
5878 { "wxScreenDC_EndDrawingOnTop", _wrap_wxScreenDC_EndDrawingOnTop
, 1 },
5879 { "wxScreenDC_StartDrawingOnTopRect", _wrap_wxScreenDC_StartDrawingOnTopRect
, 1 },
5880 { "wxScreenDC_StartDrawingOnTop", _wrap_wxScreenDC_StartDrawingOnTop
, 1 },
5881 { "new_wxScreenDC", _wrap_new_wxScreenDC
, 1 },
5882 { "wxMemoryDC_SelectObject", _wrap_wxMemoryDC_SelectObject
, 1 },
5883 { "new_wxMemoryDC", _wrap_new_wxMemoryDC
, 1 },
5884 { "wxDC_DrawBitmap", _wrap_wxDC_DrawBitmap
, 1 },
5885 { "wxDC_StartPage", _wrap_wxDC_StartPage
, 1 },
5886 { "wxDC_StartDoc", _wrap_wxDC_StartDoc
, 1 },
5887 { "wxDC_SetUserScale", _wrap_wxDC_SetUserScale
, 1 },
5888 { "wxDC_SetTextForeground", _wrap_wxDC_SetTextForeground
, 1 },
5889 { "wxDC_SetTextBackground", _wrap_wxDC_SetTextBackground
, 1 },
5890 { "wxDC_SetPen", _wrap_wxDC_SetPen
, 1 },
5891 { "wxDC_SetOptimization", _wrap_wxDC_SetOptimization
, 1 },
5892 { "wxDC_SetMapMode", _wrap_wxDC_SetMapMode
, 1 },
5893 { "wxDC_SetLogicalFunction", _wrap_wxDC_SetLogicalFunction
, 1 },
5894 { "wxDC_SetFont", _wrap_wxDC_SetFont
, 1 },
5895 { "wxDC_SetBrush", _wrap_wxDC_SetBrush
, 1 },
5896 { "wxDC_SetPalette", _wrap_wxDC_SetPalette
, 1 },
5897 { "wxDC_SetClippingRegion", _wrap_wxDC_SetClippingRegion
, 1 },
5898 { "wxDC_SetBackgroundMode", _wrap_wxDC_SetBackgroundMode
, 1 },
5899 { "wxDC_SetBackground", _wrap_wxDC_SetBackground
, 1 },
5900 { "wxDC_SetDeviceOrigin", _wrap_wxDC_SetDeviceOrigin
, 1 },
5901 { "wxDC_Ok", _wrap_wxDC_Ok
, 1 },
5902 { "wxDC_MinY", _wrap_wxDC_MinY
, 1 },
5903 { "wxDC_MinX", _wrap_wxDC_MinX
, 1 },
5904 { "wxDC_MaxY", _wrap_wxDC_MaxY
, 1 },
5905 { "wxDC_MaxX", _wrap_wxDC_MaxX
, 1 },
5906 { "wxDC_LogicalToDeviceYRel", _wrap_wxDC_LogicalToDeviceYRel
, 1 },
5907 { "wxDC_LogicalToDeviceY", _wrap_wxDC_LogicalToDeviceY
, 1 },
5908 { "wxDC_LogicalToDeviceXRel", _wrap_wxDC_LogicalToDeviceXRel
, 1 },
5909 { "wxDC_LogicalToDeviceX", _wrap_wxDC_LogicalToDeviceX
, 1 },
5910 { "wxDC_GetTextForeground", _wrap_wxDC_GetTextForeground
, 1 },
5911 { "wxDC_GetFullTextExtent", _wrap_wxDC_GetFullTextExtent
, 1 },
5912 { "wxDC_GetTextExtent", _wrap_wxDC_GetTextExtent
, 1 },
5913 { "wxDC_GetTextBackground", _wrap_wxDC_GetTextBackground
, 1 },
5914 { "wxDC_GetSize", _wrap_wxDC_GetSize
, 1 },
5915 { "wxDC_GetSizeTuple", _wrap_wxDC_GetSizeTuple
, 1 },
5916 { "wxDC_GetPixel", _wrap_wxDC_GetPixel
, 1 },
5917 { "wxDC_GetPen", _wrap_wxDC_GetPen
, 1 },
5918 { "wxDC_GetOptimization", _wrap_wxDC_GetOptimization
, 1 },
5919 { "wxDC_GetMapMode", _wrap_wxDC_GetMapMode
, 1 },
5920 { "wxDC_GetLogicalFunction", _wrap_wxDC_GetLogicalFunction
, 1 },
5921 { "wxDC_GetFont", _wrap_wxDC_GetFont
, 1 },
5922 { "wxDC_GetClippingBox", _wrap_wxDC_GetClippingBox
, 1 },
5923 { "wxDC_GetCharWidth", _wrap_wxDC_GetCharWidth
, 1 },
5924 { "wxDC_GetCharHeight", _wrap_wxDC_GetCharHeight
, 1 },
5925 { "wxDC_GetBrush", _wrap_wxDC_GetBrush
, 1 },
5926 { "wxDC_GetBackground", _wrap_wxDC_GetBackground
, 1 },
5927 { "wxDC_FloodFill", _wrap_wxDC_FloodFill
, 1 },
5928 { "wxDC_EndPage", _wrap_wxDC_EndPage
, 1 },
5929 { "wxDC_EndDrawing", _wrap_wxDC_EndDrawing
, 1 },
5930 { "wxDC_EndDoc", _wrap_wxDC_EndDoc
, 1 },
5931 { "wxDC_DrawText", _wrap_wxDC_DrawText
, 1 },
5932 { "wxDC_DrawSpline", _wrap_wxDC_DrawSpline
, 1 },
5933 { "wxDC_DrawRoundedRectangle", _wrap_wxDC_DrawRoundedRectangle
, 1 },
5934 { "wxDC_DrawRectangle", _wrap_wxDC_DrawRectangle
, 1 },
5935 { "wxDC_DrawPoint", _wrap_wxDC_DrawPoint
, 1 },
5936 { "wxDC_DrawPolygon", _wrap_wxDC_DrawPolygon
, 1 },
5937 { "wxDC_DrawLines", _wrap_wxDC_DrawLines
, 1 },
5938 { "wxDC_DrawLine", _wrap_wxDC_DrawLine
, 1 },
5939 { "wxDC_DrawIcon", _wrap_wxDC_DrawIcon
, 1 },
5940 { "wxDC_DrawEllipticArc", _wrap_wxDC_DrawEllipticArc
, 1 },
5941 { "wxDC_DrawEllipse", _wrap_wxDC_DrawEllipse
, 1 },
5942 { "wxDC_DrawCircle", _wrap_wxDC_DrawCircle
, 1 },
5943 { "wxDC_DrawArc", _wrap_wxDC_DrawArc
, 1 },
5944 { "wxDC_DeviceToLogicalYRel", _wrap_wxDC_DeviceToLogicalYRel
, 1 },
5945 { "wxDC_DeviceToLogicalY", _wrap_wxDC_DeviceToLogicalY
, 1 },
5946 { "wxDC_DeviceToLogicalXRel", _wrap_wxDC_DeviceToLogicalXRel
, 1 },
5947 { "wxDC_DeviceToLogicalX", _wrap_wxDC_DeviceToLogicalX
, 1 },
5948 { "wxDC_DestroyClippingRegion", _wrap_wxDC_DestroyClippingRegion
, 1 },
5949 { "wxDC_CrossHair", _wrap_wxDC_CrossHair
, 1 },
5950 { "wxDC_Clear", _wrap_wxDC_Clear
, 1 },
5951 { "wxDC_Blit", _wrap_wxDC_Blit
, 1 },
5952 { "wxDC_BeginDrawing", _wrap_wxDC_BeginDrawing
, 1 },
5953 { "delete_wxDC", _wrap_delete_wxDC
, 1 },
5954 { "wxBrush_SetStyle", _wrap_wxBrush_SetStyle
, 1 },
5955 { "wxBrush_SetStipple", _wrap_wxBrush_SetStipple
, 1 },
5956 { "wxBrush_SetColour", _wrap_wxBrush_SetColour
, 1 },
5957 { "wxBrush_Ok", _wrap_wxBrush_Ok
, 1 },
5958 { "wxBrush_GetStyle", _wrap_wxBrush_GetStyle
, 1 },
5959 { "wxBrush_GetStipple", _wrap_wxBrush_GetStipple
, 1 },
5960 { "wxBrush_GetColour", _wrap_wxBrush_GetColour
, 1 },
5961 { "new_wxBrush", _wrap_new_wxBrush
, 1 },
5962 { "wxPen_SetWidth", _wrap_wxPen_SetWidth
, 1 },
5963 { "wxPen_SetStyle", _wrap_wxPen_SetStyle
, 1 },
5964 { "wxPen_SetJoin", _wrap_wxPen_SetJoin
, 1 },
5965 { "wxPen_SetColour", _wrap_wxPen_SetColour
, 1 },
5966 { "wxPen_SetCap", _wrap_wxPen_SetCap
, 1 },
5967 { "wxPen_Ok", _wrap_wxPen_Ok
, 1 },
5968 { "wxPen_GetWidth", _wrap_wxPen_GetWidth
, 1 },
5969 { "wxPen_GetStyle", _wrap_wxPen_GetStyle
, 1 },
5970 { "wxPen_GetJoin", _wrap_wxPen_GetJoin
, 1 },
5971 { "wxPen_GetColour", _wrap_wxPen_GetColour
, 1 },
5972 { "wxPen_GetCap", _wrap_wxPen_GetCap
, 1 },
5973 { "new_wxPen", _wrap_new_wxPen
, 1 },
5974 { "wxColour_Get", _wrap_wxColour_Get
, 1 },
5975 { "wxColour_Set", _wrap_wxColour_Set
, 1 },
5976 { "wxColour_Ok", _wrap_wxColour_Ok
, 1 },
5977 { "wxColour_Blue", _wrap_wxColour_Blue
, 1 },
5978 { "wxColour_Green", _wrap_wxColour_Green
, 1 },
5979 { "wxColour_Red", _wrap_wxColour_Red
, 1 },
5980 { "delete_wxColour", _wrap_delete_wxColour
, 1 },
5981 { "new_wxColour", _wrap_new_wxColour
, 1 },
5982 { "wxFont_SetWeight", _wrap_wxFont_SetWeight
, 1 },
5983 { "wxFont_SetUnderlined", _wrap_wxFont_SetUnderlined
, 1 },
5984 { "wxFont_SetStyle", _wrap_wxFont_SetStyle
, 1 },
5985 { "wxFont_SetPointSize", _wrap_wxFont_SetPointSize
, 1 },
5986 { "wxFont_SetFamily", _wrap_wxFont_SetFamily
, 1 },
5987 { "wxFont_SetFaceName", _wrap_wxFont_SetFaceName
, 1 },
5988 { "wxFont_GetWeight", _wrap_wxFont_GetWeight
, 1 },
5989 { "wxFont_GetUnderlined", _wrap_wxFont_GetUnderlined
, 1 },
5990 { "wxFont_GetStyle", _wrap_wxFont_GetStyle
, 1 },
5991 { "wxFont_GetPointSize", _wrap_wxFont_GetPointSize
, 1 },
5992 { "wxFont_GetFamily", _wrap_wxFont_GetFamily
, 1 },
5993 { "wxFont_GetFaceName", _wrap_wxFont_GetFaceName
, 1 },
5994 { "new_wxFont", _wrap_new_wxFont
, 1 },
5995 { "wxCursor_Ok", _wrap_wxCursor_Ok
, 1 },
5996 { "delete_wxCursor", _wrap_delete_wxCursor
, 1 },
5997 { "wxIcon_SetWidth", _wrap_wxIcon_SetWidth
, 1 },
5998 { "wxIcon_SetHeight", _wrap_wxIcon_SetHeight
, 1 },
5999 { "wxIcon_SetDepth", _wrap_wxIcon_SetDepth
, 1 },
6000 { "wxIcon_Ok", _wrap_wxIcon_Ok
, 1 },
6001 { "wxIcon_LoadFile", _wrap_wxIcon_LoadFile
, 1 },
6002 { "wxIcon_GetWidth", _wrap_wxIcon_GetWidth
, 1 },
6003 { "wxIcon_GetHeight", _wrap_wxIcon_GetHeight
, 1 },
6004 { "wxIcon_GetDepth", _wrap_wxIcon_GetDepth
, 1 },
6005 { "delete_wxIcon", _wrap_delete_wxIcon
, 1 },
6006 { "new_wxIcon", _wrap_new_wxIcon
, 1 },
6007 { "delete_wxMask", _wrap_delete_wxMask
, 1 },
6008 { "new_wxMask", _wrap_new_wxMask
, 1 },
6009 { "wxBitmap_SetWidth", _wrap_wxBitmap_SetWidth
, 1 },
6010 { "wxBitmap_SetMask", _wrap_wxBitmap_SetMask
, 1 },
6011 { "wxBitmap_SetHeight", _wrap_wxBitmap_SetHeight
, 1 },
6012 { "wxBitmap_SetDepth", _wrap_wxBitmap_SetDepth
, 1 },
6013 { "wxBitmap_SaveFile", _wrap_wxBitmap_SaveFile
, 1 },
6014 { "wxBitmap_Ok", _wrap_wxBitmap_Ok
, 1 },
6015 { "wxBitmap_LoadFile", _wrap_wxBitmap_LoadFile
, 1 },
6016 { "wxBitmap_GetWidth", _wrap_wxBitmap_GetWidth
, 1 },
6017 { "wxBitmap_GetMask", _wrap_wxBitmap_GetMask
, 1 },
6018 { "wxBitmap_GetPalette", _wrap_wxBitmap_GetPalette
, 1 },
6019 { "wxBitmap_GetHeight", _wrap_wxBitmap_GetHeight
, 1 },
6020 { "wxBitmap_GetDepth", _wrap_wxBitmap_GetDepth
, 1 },
6021 { "delete_wxBitmap", _wrap_delete_wxBitmap
, 1 },
6022 { "new_wxBitmap", _wrap_new_wxBitmap
, 1 },
6023 { "wxMemoryDCFromDC", _wrap_wxMemoryDCFromDC
, 1 },
6024 { "wxNamedColour", _wrap_wxNamedColour
, 1 },
6025 { "wxStockCursor", _wrap_wxStockCursor
, 1 },
6026 { "wxMaskColour", _wrap_wxMaskColour
, 1 },
6027 { "wxNoRefBitmap", _wrap_wxNoRefBitmap
, 1 },
6028 { "wxEmptyBitmap", _wrap_wxEmptyBitmap
, 1 },
6031 static PyObject
*SWIG_globals
;
6035 SWIGEXPORT(void,initgdic
)() {
6037 SWIG_globals
= SWIG_newvarlink();
6038 m
= Py_InitModule("gdic", gdicMethods
);
6039 d
= PyModule_GetDict(m
);
6040 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
6041 SWIG_addvarlink(SWIG_globals
,"wxNORMAL_FONT",_wrap_wxNORMAL_FONT_get
, _wrap_wxNORMAL_FONT_set
);
6042 SWIG_addvarlink(SWIG_globals
,"wxSMALL_FONT",_wrap_wxSMALL_FONT_get
, _wrap_wxSMALL_FONT_set
);
6043 SWIG_addvarlink(SWIG_globals
,"wxITALIC_FONT",_wrap_wxITALIC_FONT_get
, _wrap_wxITALIC_FONT_set
);
6044 SWIG_addvarlink(SWIG_globals
,"wxSWISS_FONT",_wrap_wxSWISS_FONT_get
, _wrap_wxSWISS_FONT_set
);
6045 SWIG_addvarlink(SWIG_globals
,"wxRED_PEN",_wrap_wxRED_PEN_get
, _wrap_wxRED_PEN_set
);
6046 SWIG_addvarlink(SWIG_globals
,"wxCYAN_PEN",_wrap_wxCYAN_PEN_get
, _wrap_wxCYAN_PEN_set
);
6047 SWIG_addvarlink(SWIG_globals
,"wxGREEN_PEN",_wrap_wxGREEN_PEN_get
, _wrap_wxGREEN_PEN_set
);
6048 SWIG_addvarlink(SWIG_globals
,"wxBLACK_PEN",_wrap_wxBLACK_PEN_get
, _wrap_wxBLACK_PEN_set
);
6049 SWIG_addvarlink(SWIG_globals
,"wxWHITE_PEN",_wrap_wxWHITE_PEN_get
, _wrap_wxWHITE_PEN_set
);
6050 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_PEN",_wrap_wxTRANSPARENT_PEN_get
, _wrap_wxTRANSPARENT_PEN_set
);
6051 SWIG_addvarlink(SWIG_globals
,"wxBLACK_DASHED_PEN",_wrap_wxBLACK_DASHED_PEN_get
, _wrap_wxBLACK_DASHED_PEN_set
);
6052 SWIG_addvarlink(SWIG_globals
,"wxGREY_PEN",_wrap_wxGREY_PEN_get
, _wrap_wxGREY_PEN_set
);
6053 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_PEN",_wrap_wxMEDIUM_GREY_PEN_get
, _wrap_wxMEDIUM_GREY_PEN_set
);
6054 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_PEN",_wrap_wxLIGHT_GREY_PEN_get
, _wrap_wxLIGHT_GREY_PEN_set
);
6055 SWIG_addvarlink(SWIG_globals
,"wxBLUE_BRUSH",_wrap_wxBLUE_BRUSH_get
, _wrap_wxBLUE_BRUSH_set
);
6056 SWIG_addvarlink(SWIG_globals
,"wxGREEN_BRUSH",_wrap_wxGREEN_BRUSH_get
, _wrap_wxGREEN_BRUSH_set
);
6057 SWIG_addvarlink(SWIG_globals
,"wxWHITE_BRUSH",_wrap_wxWHITE_BRUSH_get
, _wrap_wxWHITE_BRUSH_set
);
6058 SWIG_addvarlink(SWIG_globals
,"wxBLACK_BRUSH",_wrap_wxBLACK_BRUSH_get
, _wrap_wxBLACK_BRUSH_set
);
6059 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_BRUSH",_wrap_wxTRANSPARENT_BRUSH_get
, _wrap_wxTRANSPARENT_BRUSH_set
);
6060 SWIG_addvarlink(SWIG_globals
,"wxCYAN_BRUSH",_wrap_wxCYAN_BRUSH_get
, _wrap_wxCYAN_BRUSH_set
);
6061 SWIG_addvarlink(SWIG_globals
,"wxRED_BRUSH",_wrap_wxRED_BRUSH_get
, _wrap_wxRED_BRUSH_set
);
6062 SWIG_addvarlink(SWIG_globals
,"wxGREY_BRUSH",_wrap_wxGREY_BRUSH_get
, _wrap_wxGREY_BRUSH_set
);
6063 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_BRUSH",_wrap_wxMEDIUM_GREY_BRUSH_get
, _wrap_wxMEDIUM_GREY_BRUSH_set
);
6064 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_BRUSH",_wrap_wxLIGHT_GREY_BRUSH_get
, _wrap_wxLIGHT_GREY_BRUSH_set
);
6065 SWIG_addvarlink(SWIG_globals
,"wxBLACK",_wrap_wxBLACK_get
, _wrap_wxBLACK_set
);
6066 SWIG_addvarlink(SWIG_globals
,"wxWHITE",_wrap_wxWHITE_get
, _wrap_wxWHITE_set
);
6067 SWIG_addvarlink(SWIG_globals
,"wxRED",_wrap_wxRED_get
, _wrap_wxRED_set
);
6068 SWIG_addvarlink(SWIG_globals
,"wxBLUE",_wrap_wxBLUE_get
, _wrap_wxBLUE_set
);
6069 SWIG_addvarlink(SWIG_globals
,"wxGREEN",_wrap_wxGREEN_get
, _wrap_wxGREEN_set
);
6070 SWIG_addvarlink(SWIG_globals
,"wxCYAN",_wrap_wxCYAN_get
, _wrap_wxCYAN_set
);
6071 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY",_wrap_wxLIGHT_GREY_get
, _wrap_wxLIGHT_GREY_set
);
6072 SWIG_addvarlink(SWIG_globals
,"wxSTANDARD_CURSOR",_wrap_wxSTANDARD_CURSOR_get
, _wrap_wxSTANDARD_CURSOR_set
);
6073 SWIG_addvarlink(SWIG_globals
,"wxHOURGLASS_CURSOR",_wrap_wxHOURGLASS_CURSOR_get
, _wrap_wxHOURGLASS_CURSOR_set
);
6074 SWIG_addvarlink(SWIG_globals
,"wxCROSS_CURSOR",_wrap_wxCROSS_CURSOR_get
, _wrap_wxCROSS_CURSOR_set
);
6075 SWIG_addvarlink(SWIG_globals
,"wxNullBitmap",_wrap_wxNullBitmap_get
, _wrap_wxNullBitmap_set
);
6076 SWIG_addvarlink(SWIG_globals
,"wxNullIcon",_wrap_wxNullIcon_get
, _wrap_wxNullIcon_set
);
6077 SWIG_addvarlink(SWIG_globals
,"wxNullCursor",_wrap_wxNullCursor_get
, _wrap_wxNullCursor_set
);
6078 SWIG_addvarlink(SWIG_globals
,"wxNullPen",_wrap_wxNullPen_get
, _wrap_wxNullPen_set
);
6079 SWIG_addvarlink(SWIG_globals
,"wxNullBrush",_wrap_wxNullBrush_get
, _wrap_wxNullBrush_set
);
6080 SWIG_addvarlink(SWIG_globals
,"wxNullPalette",_wrap_wxNullPalette_get
, _wrap_wxNullPalette_set
);
6081 SWIG_addvarlink(SWIG_globals
,"wxNullFont",_wrap_wxNullFont_get
, _wrap_wxNullFont_set
);
6082 SWIG_addvarlink(SWIG_globals
,"wxNullColour",_wrap_wxNullColour_get
, _wrap_wxNullColour_set
);
6083 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_NORMAL", PyInt_FromLong((long) wxIMAGELIST_DRAW_NORMAL
));
6084 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_TRANSPARENT", PyInt_FromLong((long) wxIMAGELIST_DRAW_TRANSPARENT
));
6085 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_SELECTED", PyInt_FromLong((long) wxIMAGELIST_DRAW_SELECTED
));
6086 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_FOCUSED", PyInt_FromLong((long) wxIMAGELIST_DRAW_FOCUSED
));
6087 PyDict_SetItemString(d
,"wxIMAGE_LIST_NORMAL", PyInt_FromLong((long) wxIMAGE_LIST_NORMAL
));
6088 PyDict_SetItemString(d
,"wxIMAGE_LIST_SMALL", PyInt_FromLong((long) wxIMAGE_LIST_SMALL
));
6089 PyDict_SetItemString(d
,"wxIMAGE_LIST_STATE", PyInt_FromLong((long) wxIMAGE_LIST_STATE
));
6091 * These are the pointer type-equivalency mappings.
6092 * (Used by the SWIG pointer type-checker).
6094 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
6095 SWIG_RegisterMapping("_signed_long","_long",0);
6096 SWIG_RegisterMapping("_wxPrintQuality","_int",0);
6097 SWIG_RegisterMapping("_wxPrintQuality","_signed_int",0);
6098 SWIG_RegisterMapping("_wxPrintQuality","_unsigned_int",0);
6099 SWIG_RegisterMapping("_wxPrintQuality","_wxWindowID",0);
6100 SWIG_RegisterMapping("_wxPrintQuality","_uint",0);
6101 SWIG_RegisterMapping("_wxPrintQuality","_EBool",0);
6102 SWIG_RegisterMapping("_wxPrintQuality","_size_t",0);
6103 SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
6104 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
6105 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
6106 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
6107 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
6108 SWIG_RegisterMapping("_byte","_unsigned_char",0);
6109 SWIG_RegisterMapping("_long","_wxDash",0);
6110 SWIG_RegisterMapping("_long","_unsigned_long",0);
6111 SWIG_RegisterMapping("_long","_signed_long",0);
6112 SWIG_RegisterMapping("_wxImageList","_class_wxImageList",0);
6113 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
6114 SWIG_RegisterMapping("_wxDC","_class_wxPostScriptDC",SwigwxPostScriptDCTowxDC
);
6115 SWIG_RegisterMapping("_wxDC","_wxPostScriptDC",SwigwxPostScriptDCTowxDC
);
6116 SWIG_RegisterMapping("_wxDC","_class_wxWindowDC",SwigwxWindowDCTowxDC
);
6117 SWIG_RegisterMapping("_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC
);
6118 SWIG_RegisterMapping("_wxDC","_class_wxPaintDC",SwigwxPaintDCTowxDC
);
6119 SWIG_RegisterMapping("_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
);
6120 SWIG_RegisterMapping("_wxDC","_class_wxClientDC",SwigwxClientDCTowxDC
);
6121 SWIG_RegisterMapping("_wxDC","_wxClientDC",SwigwxClientDCTowxDC
);
6122 SWIG_RegisterMapping("_wxDC","_class_wxScreenDC",SwigwxScreenDCTowxDC
);
6123 SWIG_RegisterMapping("_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
);
6124 SWIG_RegisterMapping("_wxDC","_class_wxMemoryDC",SwigwxMemoryDCTowxDC
);
6125 SWIG_RegisterMapping("_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
);
6126 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
6127 SWIG_RegisterMapping("_size_t","_wxPrintQuality",0);
6128 SWIG_RegisterMapping("_size_t","_unsigned_int",0);
6129 SWIG_RegisterMapping("_size_t","_int",0);
6130 SWIG_RegisterMapping("_size_t","_wxWindowID",0);
6131 SWIG_RegisterMapping("_size_t","_uint",0);
6132 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
6133 SWIG_RegisterMapping("_class_wxPostScriptDC","_wxPostScriptDC",0);
6134 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
6135 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
6136 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
6137 SWIG_RegisterMapping("_uint","_wxPrintQuality",0);
6138 SWIG_RegisterMapping("_uint","_size_t",0);
6139 SWIG_RegisterMapping("_uint","_unsigned_int",0);
6140 SWIG_RegisterMapping("_uint","_int",0);
6141 SWIG_RegisterMapping("_uint","_wxWindowID",0);
6142 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
6143 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
6144 SWIG_RegisterMapping("_wxBitmap","_class_wxCursor",SwigwxCursorTowxBitmap
);
6145 SWIG_RegisterMapping("_wxBitmap","_wxCursor",SwigwxCursorTowxBitmap
);
6146 SWIG_RegisterMapping("_wxBitmap","_class_wxIcon",SwigwxIconTowxBitmap
);
6147 SWIG_RegisterMapping("_wxBitmap","_wxIcon",SwigwxIconTowxBitmap
);
6148 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
6149 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
6150 SWIG_RegisterMapping("_wxWindowDC","_class_wxWindowDC",0);
6151 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
6152 SWIG_RegisterMapping("_EBool","_wxPrintQuality",0);
6153 SWIG_RegisterMapping("_EBool","_signed_int",0);
6154 SWIG_RegisterMapping("_EBool","_int",0);
6155 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
6156 SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0);
6157 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
6158 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
6159 SWIG_RegisterMapping("_unsigned_long","_long",0);
6160 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
6161 SWIG_RegisterMapping("_class_wxDC","_class_wxPostScriptDC",SwigwxPostScriptDCTowxDC
);
6162 SWIG_RegisterMapping("_class_wxDC","_wxPostScriptDC",SwigwxPostScriptDCTowxDC
);
6163 SWIG_RegisterMapping("_class_wxDC","_class_wxWindowDC",SwigwxWindowDCTowxDC
);
6164 SWIG_RegisterMapping("_class_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC
);
6165 SWIG_RegisterMapping("_class_wxDC","_class_wxPaintDC",SwigwxPaintDCTowxDC
);
6166 SWIG_RegisterMapping("_class_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
);
6167 SWIG_RegisterMapping("_class_wxDC","_class_wxClientDC",SwigwxClientDCTowxDC
);
6168 SWIG_RegisterMapping("_class_wxDC","_wxClientDC",SwigwxClientDCTowxDC
);
6169 SWIG_RegisterMapping("_class_wxDC","_class_wxScreenDC",SwigwxScreenDCTowxDC
);
6170 SWIG_RegisterMapping("_class_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
);
6171 SWIG_RegisterMapping("_class_wxDC","_class_wxMemoryDC",SwigwxMemoryDCTowxDC
);
6172 SWIG_RegisterMapping("_class_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
);
6173 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
6174 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
6175 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
6176 SWIG_RegisterMapping("_signed_int","_wxPrintQuality",0);
6177 SWIG_RegisterMapping("_signed_int","_EBool",0);
6178 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
6179 SWIG_RegisterMapping("_signed_int","_int",0);
6180 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
6181 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
6182 SWIG_RegisterMapping("_WXTYPE","_short",0);
6183 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
6184 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
6185 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
6186 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
6187 SWIG_RegisterMapping("_unsigned_short","_short",0);
6188 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
6189 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
6190 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
6191 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
6192 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
6193 SWIG_RegisterMapping("_signed_short","_short",0);
6194 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
6195 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
6196 SWIG_RegisterMapping("_class_wxWindowDC","_wxWindowDC",0);
6197 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
6198 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
6199 SWIG_RegisterMapping("_wxPostScriptDC","_class_wxPostScriptDC",0);
6200 SWIG_RegisterMapping("_unsigned_char","_byte",0);
6201 SWIG_RegisterMapping("_unsigned_int","_wxPrintQuality",0);
6202 SWIG_RegisterMapping("_unsigned_int","_size_t",0);
6203 SWIG_RegisterMapping("_unsigned_int","_uint",0);
6204 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
6205 SWIG_RegisterMapping("_unsigned_int","_int",0);
6206 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
6207 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
6208 SWIG_RegisterMapping("_short","_WXTYPE",0);
6209 SWIG_RegisterMapping("_short","_unsigned_short",0);
6210 SWIG_RegisterMapping("_short","_signed_short",0);
6211 SWIG_RegisterMapping("_class_wxImageList","_wxImageList",0);
6212 SWIG_RegisterMapping("_wxWindowID","_wxPrintQuality",0);
6213 SWIG_RegisterMapping("_wxWindowID","_size_t",0);
6214 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
6215 SWIG_RegisterMapping("_wxWindowID","_uint",0);
6216 SWIG_RegisterMapping("_wxWindowID","_int",0);
6217 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
6218 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
6219 SWIG_RegisterMapping("_int","_wxPrintQuality",0);
6220 SWIG_RegisterMapping("_int","_size_t",0);
6221 SWIG_RegisterMapping("_int","_EBool",0);
6222 SWIG_RegisterMapping("_int","_uint",0);
6223 SWIG_RegisterMapping("_int","_wxWindowID",0);
6224 SWIG_RegisterMapping("_int","_unsigned_int",0);
6225 SWIG_RegisterMapping("_int","_signed_int",0);
6226 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
6227 SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0);
6228 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
6229 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
6230 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
6231 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
6232 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
6233 SWIG_RegisterMapping("_wxPalette","_class_wxPalette",0);
6234 SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
6235 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
6236 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
6237 SWIG_RegisterMapping("_class_wxBitmap","_class_wxCursor",SwigwxCursorTowxBitmap
);
6238 SWIG_RegisterMapping("_class_wxBitmap","_wxCursor",SwigwxCursorTowxBitmap
);
6239 SWIG_RegisterMapping("_class_wxBitmap","_class_wxIcon",SwigwxIconTowxBitmap
);
6240 SWIG_RegisterMapping("_class_wxBitmap","_wxIcon",SwigwxIconTowxBitmap
);
6241 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
6242 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
6243 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
6244 SWIG_RegisterMapping("_wxDash","_long",0);
6245 SWIG_RegisterMapping("_class_wxPalette","_wxPalette",0);