4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Patch 5)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a,b) __declspec(dllexport) a b
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a,b) a _export b
32 # define SWIGEXPORT(a,b) a b
36 # define SWIGEXPORT(a,b) a b
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
47 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initgdic
54 #define SWIG_name "gdic"
57 #include <wx/metafile.h>
58 #include <wx/imaglist.h>
63 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
67 } else if (target
== Py_None
) {
71 if (!PyList_Check(target
)) {
73 target
= PyList_New(0);
74 PyList_Append(target
, o2
);
77 PyList_Append(target
,o
);
83 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
89 } else if (target
== Py_None
) {
93 if (!PyTuple_Check(target
)) {
95 target
= PyTuple_New(1);
96 PyTuple_SetItem(target
, 0, o2
);
99 PyTuple_SetItem(o3
, 0, o
);
102 target
= PySequence_Concat(o2
, o3
);
110 extern byte
* byte_LIST_helper(PyObject
* source
);
111 extern int* int_LIST_helper(PyObject
* source
);
112 extern long* long_LIST_helper(PyObject
* source
);
113 extern char** string_LIST_helper(PyObject
* source
);
114 extern wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
115 extern wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
116 extern wxString
* wxString_LIST_helper(PyObject
* source
);
117 extern wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
120 static char* wxStringErrorMsg
= "string type is required for parameter";
121 // Alternate 'constructor'
122 wxBitmap
* wxEmptyBitmap(int width
, int height
, int depth
=-1) {
123 return new wxBitmap(width
, height
, depth
);
126 // This one won't own the reference, so Python
127 // won't call the dtor, this is good for
128 // toolbars and such where the parent will
129 // manage the bitmap.
130 wxBitmap
* wxNoRefBitmap(char* name
, long flags
) {
131 return new wxBitmap(name
, flags
);
134 wxMask
* wxMaskColour(const wxBitmap
& bitmap
, const wxColour
& colour
) {
135 return new wxMask(bitmap
, colour
);
137 // Alternate 'constructor'
138 wxCursor
* wxPyStockCursor(int id
) {
139 return new wxCursor(id
);
141 // Alternate 'constructor'
142 wxColour
* wxNamedColour(const wxString
& colorName
) {
143 return new wxColour(colorName
);
145 // Alternate 'constructor'
146 wxMemoryDC
* wxMemoryDCFromDC(wxDC
* oldDC
) {
147 return new wxMemoryDC(oldDC
);
151 extern wxFont
* wxNORMAL_FONT
;
152 extern wxFont
* wxSMALL_FONT
;
153 extern wxFont
* wxITALIC_FONT
;
154 extern wxFont
* wxSWISS_FONT
;
155 extern wxPen
* wxRED_PEN
;
156 extern wxPen
* wxCYAN_PEN
;
157 extern wxPen
* wxGREEN_PEN
;
158 extern wxPen
* wxBLACK_PEN
;
159 extern wxPen
* wxWHITE_PEN
;
160 extern wxPen
* wxTRANSPARENT_PEN
;
161 extern wxPen
* wxBLACK_DASHED_PEN
;
162 extern wxPen
* wxGREY_PEN
;
163 extern wxPen
* wxMEDIUM_GREY_PEN
;
164 extern wxPen
* wxLIGHT_GREY_PEN
;
165 extern wxBrush
* wxBLUE_BRUSH
;
166 extern wxBrush
* wxGREEN_BRUSH
;
167 extern wxBrush
* wxWHITE_BRUSH
;
168 extern wxBrush
* wxBLACK_BRUSH
;
169 extern wxBrush
* wxTRANSPARENT_BRUSH
;
170 extern wxBrush
* wxCYAN_BRUSH
;
171 extern wxBrush
* wxRED_BRUSH
;
172 extern wxBrush
* wxGREY_BRUSH
;
173 extern wxBrush
* wxMEDIUM_GREY_BRUSH
;
174 extern wxBrush
* wxLIGHT_GREY_BRUSH
;
175 extern wxColour
* wxBLACK
;
176 extern wxColour
* wxWHITE
;
177 extern wxColour
* wxRED
;
178 extern wxColour
* wxBLUE
;
179 extern wxColour
* wxGREEN
;
180 extern wxColour
* wxCYAN
;
181 extern wxColour
* wxLIGHT_GREY
;
182 extern wxCursor
* wxSTANDARD_CURSOR
;
183 extern wxCursor
* wxHOURGLASS_CURSOR
;
184 extern wxCursor
* wxCROSS_CURSOR
;
185 extern wxBitmap wxNullBitmap
;
186 extern wxIcon wxNullIcon
;
187 extern wxCursor wxNullCursor
;
188 extern wxPen wxNullPen
;
189 extern wxBrush wxNullBrush
;
190 extern wxPalette wxNullPalette
;
191 extern wxFont wxNullFont
;
192 extern wxColour wxNullColour
;
195 static PyObject
*_wrap_wxEmptyBitmap(PyObject
*self
, PyObject
*args
) {
196 PyObject
* _resultobj
;
204 if(!PyArg_ParseTuple(args
,"ii|i:wxEmptyBitmap",&_arg0
,&_arg1
,&_arg2
))
207 wxPy_BEGIN_ALLOW_THREADS
;
208 _result
= (wxBitmap
*)wxEmptyBitmap(_arg0
,_arg1
,_arg2
);
210 wxPy_END_ALLOW_THREADS
;
211 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
212 _resultobj
= Py_BuildValue("s",_ptemp
);
216 static PyObject
*_wrap_wxNoRefBitmap(PyObject
*self
, PyObject
*args
) {
217 PyObject
* _resultobj
;
224 if(!PyArg_ParseTuple(args
,"sl:wxNoRefBitmap",&_arg0
,&_arg1
))
227 wxPy_BEGIN_ALLOW_THREADS
;
228 _result
= (wxBitmap
*)wxNoRefBitmap(_arg0
,_arg1
);
230 wxPy_END_ALLOW_THREADS
;
231 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
232 _resultobj
= Py_BuildValue("s",_ptemp
);
236 static PyObject
*_wrap_wxMaskColour(PyObject
*self
, PyObject
*args
) {
237 PyObject
* _resultobj
;
246 if(!PyArg_ParseTuple(args
,"ss:wxMaskColour",&_argc0
,&_argc1
))
249 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMaskColour. Expected _wxBitmap_p.");
255 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMaskColour. Expected _wxColour_p.");
261 wxPy_BEGIN_ALLOW_THREADS
;
262 _result
= (wxMask
*)wxMaskColour(*_arg0
,*_arg1
);
264 wxPy_END_ALLOW_THREADS
;
265 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
266 _resultobj
= Py_BuildValue("s",_ptemp
);
270 static PyObject
*_wrap_wxStockCursor(PyObject
*self
, PyObject
*args
) {
271 PyObject
* _resultobj
;
277 if(!PyArg_ParseTuple(args
,"i:wxStockCursor",&_arg0
))
280 wxPy_BEGIN_ALLOW_THREADS
;
281 _result
= (wxCursor
*)wxPyStockCursor(_arg0
);
283 wxPy_END_ALLOW_THREADS
;
284 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCursor_p");
285 _resultobj
= Py_BuildValue("s",_ptemp
);
289 static PyObject
*_wrap_wxNamedColour(PyObject
*self
, PyObject
*args
) {
290 PyObject
* _resultobj
;
293 PyObject
* _obj0
= 0;
297 if(!PyArg_ParseTuple(args
,"O:wxNamedColour",&_obj0
))
300 if (!PyString_Check(_obj0
)) {
301 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
304 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
307 wxPy_BEGIN_ALLOW_THREADS
;
308 _result
= (wxColour
*)wxNamedColour(*_arg0
);
310 wxPy_END_ALLOW_THREADS
;
311 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
312 _resultobj
= Py_BuildValue("s",_ptemp
);
320 static PyObject
*_wrap_wxMemoryDCFromDC(PyObject
*self
, PyObject
*args
) {
321 PyObject
* _resultobj
;
322 wxMemoryDC
* _result
;
328 if(!PyArg_ParseTuple(args
,"s:wxMemoryDCFromDC",&_argc0
))
331 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDCFromDC. Expected _wxDC_p.");
337 wxPy_BEGIN_ALLOW_THREADS
;
338 _result
= (wxMemoryDC
*)wxMemoryDCFromDC(_arg0
);
340 wxPy_END_ALLOW_THREADS
;
341 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
342 _resultobj
= Py_BuildValue("s",_ptemp
);
346 static int _wrap_wxNORMAL_FONT_set(PyObject
*val
) {
348 PyErr_SetString(PyExc_TypeError
,"Variable wxNORMAL_FONT is read-only.");
352 static PyObject
*_wrap_wxNORMAL_FONT_get() {
356 SWIG_MakePtr(ptemp
, (char *) wxNORMAL_FONT
,"_wxFont_p");
357 pyobj
= PyString_FromString(ptemp
);
361 static int _wrap_wxSMALL_FONT_set(PyObject
*val
) {
363 PyErr_SetString(PyExc_TypeError
,"Variable wxSMALL_FONT is read-only.");
367 static PyObject
*_wrap_wxSMALL_FONT_get() {
371 SWIG_MakePtr(ptemp
, (char *) wxSMALL_FONT
,"_wxFont_p");
372 pyobj
= PyString_FromString(ptemp
);
376 static int _wrap_wxITALIC_FONT_set(PyObject
*val
) {
378 PyErr_SetString(PyExc_TypeError
,"Variable wxITALIC_FONT is read-only.");
382 static PyObject
*_wrap_wxITALIC_FONT_get() {
386 SWIG_MakePtr(ptemp
, (char *) wxITALIC_FONT
,"_wxFont_p");
387 pyobj
= PyString_FromString(ptemp
);
391 static int _wrap_wxSWISS_FONT_set(PyObject
*val
) {
393 PyErr_SetString(PyExc_TypeError
,"Variable wxSWISS_FONT is read-only.");
397 static PyObject
*_wrap_wxSWISS_FONT_get() {
401 SWIG_MakePtr(ptemp
, (char *) wxSWISS_FONT
,"_wxFont_p");
402 pyobj
= PyString_FromString(ptemp
);
406 static int _wrap_wxRED_PEN_set(PyObject
*val
) {
408 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_PEN is read-only.");
412 static PyObject
*_wrap_wxRED_PEN_get() {
416 SWIG_MakePtr(ptemp
, (char *) wxRED_PEN
,"_wxPen_p");
417 pyobj
= PyString_FromString(ptemp
);
421 static int _wrap_wxCYAN_PEN_set(PyObject
*val
) {
423 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_PEN is read-only.");
427 static PyObject
*_wrap_wxCYAN_PEN_get() {
431 SWIG_MakePtr(ptemp
, (char *) wxCYAN_PEN
,"_wxPen_p");
432 pyobj
= PyString_FromString(ptemp
);
436 static int _wrap_wxGREEN_PEN_set(PyObject
*val
) {
438 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_PEN is read-only.");
442 static PyObject
*_wrap_wxGREEN_PEN_get() {
446 SWIG_MakePtr(ptemp
, (char *) wxGREEN_PEN
,"_wxPen_p");
447 pyobj
= PyString_FromString(ptemp
);
451 static int _wrap_wxBLACK_PEN_set(PyObject
*val
) {
453 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_PEN is read-only.");
457 static PyObject
*_wrap_wxBLACK_PEN_get() {
461 SWIG_MakePtr(ptemp
, (char *) wxBLACK_PEN
,"_wxPen_p");
462 pyobj
= PyString_FromString(ptemp
);
466 static int _wrap_wxWHITE_PEN_set(PyObject
*val
) {
468 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_PEN is read-only.");
472 static PyObject
*_wrap_wxWHITE_PEN_get() {
476 SWIG_MakePtr(ptemp
, (char *) wxWHITE_PEN
,"_wxPen_p");
477 pyobj
= PyString_FromString(ptemp
);
481 static int _wrap_wxTRANSPARENT_PEN_set(PyObject
*val
) {
483 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_PEN is read-only.");
487 static PyObject
*_wrap_wxTRANSPARENT_PEN_get() {
491 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_PEN
,"_wxPen_p");
492 pyobj
= PyString_FromString(ptemp
);
496 static int _wrap_wxBLACK_DASHED_PEN_set(PyObject
*val
) {
498 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_DASHED_PEN is read-only.");
502 static PyObject
*_wrap_wxBLACK_DASHED_PEN_get() {
506 SWIG_MakePtr(ptemp
, (char *) wxBLACK_DASHED_PEN
,"_wxPen_p");
507 pyobj
= PyString_FromString(ptemp
);
511 static int _wrap_wxGREY_PEN_set(PyObject
*val
) {
513 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_PEN is read-only.");
517 static PyObject
*_wrap_wxGREY_PEN_get() {
521 SWIG_MakePtr(ptemp
, (char *) wxGREY_PEN
,"_wxPen_p");
522 pyobj
= PyString_FromString(ptemp
);
526 static int _wrap_wxMEDIUM_GREY_PEN_set(PyObject
*val
) {
528 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_PEN is read-only.");
532 static PyObject
*_wrap_wxMEDIUM_GREY_PEN_get() {
536 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_PEN
,"_wxPen_p");
537 pyobj
= PyString_FromString(ptemp
);
541 static int _wrap_wxLIGHT_GREY_PEN_set(PyObject
*val
) {
543 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_PEN is read-only.");
547 static PyObject
*_wrap_wxLIGHT_GREY_PEN_get() {
551 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_PEN
,"_wxPen_p");
552 pyobj
= PyString_FromString(ptemp
);
556 static int _wrap_wxBLUE_BRUSH_set(PyObject
*val
) {
558 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE_BRUSH is read-only.");
562 static PyObject
*_wrap_wxBLUE_BRUSH_get() {
566 SWIG_MakePtr(ptemp
, (char *) wxBLUE_BRUSH
,"_wxBrush_p");
567 pyobj
= PyString_FromString(ptemp
);
571 static int _wrap_wxGREEN_BRUSH_set(PyObject
*val
) {
573 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_BRUSH is read-only.");
577 static PyObject
*_wrap_wxGREEN_BRUSH_get() {
581 SWIG_MakePtr(ptemp
, (char *) wxGREEN_BRUSH
,"_wxBrush_p");
582 pyobj
= PyString_FromString(ptemp
);
586 static int _wrap_wxWHITE_BRUSH_set(PyObject
*val
) {
588 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_BRUSH is read-only.");
592 static PyObject
*_wrap_wxWHITE_BRUSH_get() {
596 SWIG_MakePtr(ptemp
, (char *) wxWHITE_BRUSH
,"_wxBrush_p");
597 pyobj
= PyString_FromString(ptemp
);
601 static int _wrap_wxBLACK_BRUSH_set(PyObject
*val
) {
603 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_BRUSH is read-only.");
607 static PyObject
*_wrap_wxBLACK_BRUSH_get() {
611 SWIG_MakePtr(ptemp
, (char *) wxBLACK_BRUSH
,"_wxBrush_p");
612 pyobj
= PyString_FromString(ptemp
);
616 static int _wrap_wxTRANSPARENT_BRUSH_set(PyObject
*val
) {
618 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_BRUSH is read-only.");
622 static PyObject
*_wrap_wxTRANSPARENT_BRUSH_get() {
626 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_BRUSH
,"_wxBrush_p");
627 pyobj
= PyString_FromString(ptemp
);
631 static int _wrap_wxCYAN_BRUSH_set(PyObject
*val
) {
633 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_BRUSH is read-only.");
637 static PyObject
*_wrap_wxCYAN_BRUSH_get() {
641 SWIG_MakePtr(ptemp
, (char *) wxCYAN_BRUSH
,"_wxBrush_p");
642 pyobj
= PyString_FromString(ptemp
);
646 static int _wrap_wxRED_BRUSH_set(PyObject
*val
) {
648 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_BRUSH is read-only.");
652 static PyObject
*_wrap_wxRED_BRUSH_get() {
656 SWIG_MakePtr(ptemp
, (char *) wxRED_BRUSH
,"_wxBrush_p");
657 pyobj
= PyString_FromString(ptemp
);
661 static int _wrap_wxGREY_BRUSH_set(PyObject
*val
) {
663 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_BRUSH is read-only.");
667 static PyObject
*_wrap_wxGREY_BRUSH_get() {
671 SWIG_MakePtr(ptemp
, (char *) wxGREY_BRUSH
,"_wxBrush_p");
672 pyobj
= PyString_FromString(ptemp
);
676 static int _wrap_wxMEDIUM_GREY_BRUSH_set(PyObject
*val
) {
678 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_BRUSH is read-only.");
682 static PyObject
*_wrap_wxMEDIUM_GREY_BRUSH_get() {
686 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_BRUSH
,"_wxBrush_p");
687 pyobj
= PyString_FromString(ptemp
);
691 static int _wrap_wxLIGHT_GREY_BRUSH_set(PyObject
*val
) {
693 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_BRUSH is read-only.");
697 static PyObject
*_wrap_wxLIGHT_GREY_BRUSH_get() {
701 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_BRUSH
,"_wxBrush_p");
702 pyobj
= PyString_FromString(ptemp
);
706 static int _wrap_wxBLACK_set(PyObject
*val
) {
708 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK is read-only.");
712 static PyObject
*_wrap_wxBLACK_get() {
716 SWIG_MakePtr(ptemp
, (char *) wxBLACK
,"_wxColour_p");
717 pyobj
= PyString_FromString(ptemp
);
721 static int _wrap_wxWHITE_set(PyObject
*val
) {
723 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE is read-only.");
727 static PyObject
*_wrap_wxWHITE_get() {
731 SWIG_MakePtr(ptemp
, (char *) wxWHITE
,"_wxColour_p");
732 pyobj
= PyString_FromString(ptemp
);
736 static int _wrap_wxRED_set(PyObject
*val
) {
738 PyErr_SetString(PyExc_TypeError
,"Variable wxRED is read-only.");
742 static PyObject
*_wrap_wxRED_get() {
746 SWIG_MakePtr(ptemp
, (char *) wxRED
,"_wxColour_p");
747 pyobj
= PyString_FromString(ptemp
);
751 static int _wrap_wxBLUE_set(PyObject
*val
) {
753 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE is read-only.");
757 static PyObject
*_wrap_wxBLUE_get() {
761 SWIG_MakePtr(ptemp
, (char *) wxBLUE
,"_wxColour_p");
762 pyobj
= PyString_FromString(ptemp
);
766 static int _wrap_wxGREEN_set(PyObject
*val
) {
768 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN is read-only.");
772 static PyObject
*_wrap_wxGREEN_get() {
776 SWIG_MakePtr(ptemp
, (char *) wxGREEN
,"_wxColour_p");
777 pyobj
= PyString_FromString(ptemp
);
781 static int _wrap_wxCYAN_set(PyObject
*val
) {
783 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN is read-only.");
787 static PyObject
*_wrap_wxCYAN_get() {
791 SWIG_MakePtr(ptemp
, (char *) wxCYAN
,"_wxColour_p");
792 pyobj
= PyString_FromString(ptemp
);
796 static int _wrap_wxLIGHT_GREY_set(PyObject
*val
) {
798 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY is read-only.");
802 static PyObject
*_wrap_wxLIGHT_GREY_get() {
806 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY
,"_wxColour_p");
807 pyobj
= PyString_FromString(ptemp
);
811 static int _wrap_wxSTANDARD_CURSOR_set(PyObject
*val
) {
813 PyErr_SetString(PyExc_TypeError
,"Variable wxSTANDARD_CURSOR is read-only.");
817 static PyObject
*_wrap_wxSTANDARD_CURSOR_get() {
821 SWIG_MakePtr(ptemp
, (char *) wxSTANDARD_CURSOR
,"_wxCursor_p");
822 pyobj
= PyString_FromString(ptemp
);
826 static int _wrap_wxHOURGLASS_CURSOR_set(PyObject
*val
) {
828 PyErr_SetString(PyExc_TypeError
,"Variable wxHOURGLASS_CURSOR is read-only.");
832 static PyObject
*_wrap_wxHOURGLASS_CURSOR_get() {
836 SWIG_MakePtr(ptemp
, (char *) wxHOURGLASS_CURSOR
,"_wxCursor_p");
837 pyobj
= PyString_FromString(ptemp
);
841 static int _wrap_wxCROSS_CURSOR_set(PyObject
*val
) {
843 PyErr_SetString(PyExc_TypeError
,"Variable wxCROSS_CURSOR is read-only.");
847 static PyObject
*_wrap_wxCROSS_CURSOR_get() {
851 SWIG_MakePtr(ptemp
, (char *) wxCROSS_CURSOR
,"_wxCursor_p");
852 pyobj
= PyString_FromString(ptemp
);
856 static int _wrap_wxNullBitmap_set(PyObject
*val
) {
858 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBitmap is read-only.");
862 static PyObject
*_wrap_wxNullBitmap_get() {
866 SWIG_MakePtr(ptemp
,(char *) &wxNullBitmap
,"_wxBitmap_p");
867 pyobj
= PyString_FromString(ptemp
);
871 static int _wrap_wxNullIcon_set(PyObject
*val
) {
873 PyErr_SetString(PyExc_TypeError
,"Variable wxNullIcon is read-only.");
877 static PyObject
*_wrap_wxNullIcon_get() {
881 SWIG_MakePtr(ptemp
,(char *) &wxNullIcon
,"_wxIcon_p");
882 pyobj
= PyString_FromString(ptemp
);
886 static int _wrap_wxNullCursor_set(PyObject
*val
) {
888 PyErr_SetString(PyExc_TypeError
,"Variable wxNullCursor is read-only.");
892 static PyObject
*_wrap_wxNullCursor_get() {
896 SWIG_MakePtr(ptemp
,(char *) &wxNullCursor
,"_wxCursor_p");
897 pyobj
= PyString_FromString(ptemp
);
901 static int _wrap_wxNullPen_set(PyObject
*val
) {
903 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPen is read-only.");
907 static PyObject
*_wrap_wxNullPen_get() {
911 SWIG_MakePtr(ptemp
,(char *) &wxNullPen
,"_wxPen_p");
912 pyobj
= PyString_FromString(ptemp
);
916 static int _wrap_wxNullBrush_set(PyObject
*val
) {
918 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBrush is read-only.");
922 static PyObject
*_wrap_wxNullBrush_get() {
926 SWIG_MakePtr(ptemp
,(char *) &wxNullBrush
,"_wxBrush_p");
927 pyobj
= PyString_FromString(ptemp
);
931 static int _wrap_wxNullPalette_set(PyObject
*val
) {
933 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPalette is read-only.");
937 static PyObject
*_wrap_wxNullPalette_get() {
941 SWIG_MakePtr(ptemp
,(char *) &wxNullPalette
,"_wxPalette_p");
942 pyobj
= PyString_FromString(ptemp
);
946 static int _wrap_wxNullFont_set(PyObject
*val
) {
948 PyErr_SetString(PyExc_TypeError
,"Variable wxNullFont is read-only.");
952 static PyObject
*_wrap_wxNullFont_get() {
956 SWIG_MakePtr(ptemp
,(char *) &wxNullFont
,"_wxFont_p");
957 pyobj
= PyString_FromString(ptemp
);
961 static int _wrap_wxNullColour_set(PyObject
*val
) {
963 PyErr_SetString(PyExc_TypeError
,"Variable wxNullColour is read-only.");
967 static PyObject
*_wrap_wxNullColour_get() {
971 SWIG_MakePtr(ptemp
,(char *) &wxNullColour
,"_wxColour_p");
972 pyobj
= PyString_FromString(ptemp
);
976 #define new_wxBitmap(_swigarg0,_swigarg1) (new wxBitmap(_swigarg0,_swigarg1))
977 static PyObject
*_wrap_new_wxBitmap(PyObject
*self
, PyObject
*args
) {
978 PyObject
* _resultobj
;
982 PyObject
* _obj0
= 0;
986 if(!PyArg_ParseTuple(args
,"Ol:new_wxBitmap",&_obj0
,&_arg1
))
989 if (!PyString_Check(_obj0
)) {
990 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
993 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
996 wxPy_BEGIN_ALLOW_THREADS
;
997 _result
= (wxBitmap
*)new_wxBitmap(*_arg0
,_arg1
);
999 wxPy_END_ALLOW_THREADS
;
1000 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1001 _resultobj
= Py_BuildValue("s",_ptemp
);
1009 #define delete_wxBitmap(_swigobj) (delete _swigobj)
1010 static PyObject
*_wrap_delete_wxBitmap(PyObject
*self
, PyObject
*args
) {
1011 PyObject
* _resultobj
;
1016 if(!PyArg_ParseTuple(args
,"s:delete_wxBitmap",&_argc0
))
1019 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBitmap. Expected _wxBitmap_p.");
1025 wxPy_BEGIN_ALLOW_THREADS
;
1026 delete_wxBitmap(_arg0
);
1028 wxPy_END_ALLOW_THREADS
;
1029 } Py_INCREF(Py_None
);
1030 _resultobj
= Py_None
;
1034 #define wxBitmap_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2))
1035 static PyObject
*_wrap_wxBitmap_Create(PyObject
*self
, PyObject
*args
) {
1036 PyObject
* _resultobj
;
1044 if(!PyArg_ParseTuple(args
,"sii|i:wxBitmap_Create",&_argc0
,&_arg1
,&_arg2
,&_arg3
))
1047 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_Create. Expected _wxBitmap_p.");
1053 wxPy_BEGIN_ALLOW_THREADS
;
1054 wxBitmap_Create(_arg0
,_arg1
,_arg2
,_arg3
);
1056 wxPy_END_ALLOW_THREADS
;
1057 } Py_INCREF(Py_None
);
1058 _resultobj
= Py_None
;
1062 #define wxBitmap_GetDepth(_swigobj) (_swigobj->GetDepth())
1063 static PyObject
*_wrap_wxBitmap_GetDepth(PyObject
*self
, PyObject
*args
) {
1064 PyObject
* _resultobj
;
1070 if(!PyArg_ParseTuple(args
,"s:wxBitmap_GetDepth",&_argc0
))
1073 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetDepth. Expected _wxBitmap_p.");
1079 wxPy_BEGIN_ALLOW_THREADS
;
1080 _result
= (int )wxBitmap_GetDepth(_arg0
);
1082 wxPy_END_ALLOW_THREADS
;
1083 } _resultobj
= Py_BuildValue("i",_result
);
1087 #define wxBitmap_GetHeight(_swigobj) (_swigobj->GetHeight())
1088 static PyObject
*_wrap_wxBitmap_GetHeight(PyObject
*self
, PyObject
*args
) {
1089 PyObject
* _resultobj
;
1095 if(!PyArg_ParseTuple(args
,"s:wxBitmap_GetHeight",&_argc0
))
1098 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetHeight. Expected _wxBitmap_p.");
1104 wxPy_BEGIN_ALLOW_THREADS
;
1105 _result
= (int )wxBitmap_GetHeight(_arg0
);
1107 wxPy_END_ALLOW_THREADS
;
1108 } _resultobj
= Py_BuildValue("i",_result
);
1112 #define wxBitmap_GetPalette(_swigobj) (_swigobj->GetPalette())
1113 static PyObject
*_wrap_wxBitmap_GetPalette(PyObject
*self
, PyObject
*args
) {
1114 PyObject
* _resultobj
;
1115 wxPalette
* _result
;
1121 if(!PyArg_ParseTuple(args
,"s:wxBitmap_GetPalette",&_argc0
))
1124 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetPalette. Expected _wxBitmap_p.");
1130 wxPy_BEGIN_ALLOW_THREADS
;
1131 _result
= (wxPalette
*)wxBitmap_GetPalette(_arg0
);
1133 wxPy_END_ALLOW_THREADS
;
1134 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
1135 _resultobj
= Py_BuildValue("s",_ptemp
);
1139 #define wxBitmap_GetMask(_swigobj) (_swigobj->GetMask())
1140 static PyObject
*_wrap_wxBitmap_GetMask(PyObject
*self
, PyObject
*args
) {
1141 PyObject
* _resultobj
;
1148 if(!PyArg_ParseTuple(args
,"s:wxBitmap_GetMask",&_argc0
))
1151 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetMask. Expected _wxBitmap_p.");
1157 wxPy_BEGIN_ALLOW_THREADS
;
1158 _result
= (wxMask
*)wxBitmap_GetMask(_arg0
);
1160 wxPy_END_ALLOW_THREADS
;
1161 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
1162 _resultobj
= Py_BuildValue("s",_ptemp
);
1166 #define wxBitmap_GetWidth(_swigobj) (_swigobj->GetWidth())
1167 static PyObject
*_wrap_wxBitmap_GetWidth(PyObject
*self
, PyObject
*args
) {
1168 PyObject
* _resultobj
;
1174 if(!PyArg_ParseTuple(args
,"s:wxBitmap_GetWidth",&_argc0
))
1177 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetWidth. Expected _wxBitmap_p.");
1183 wxPy_BEGIN_ALLOW_THREADS
;
1184 _result
= (int )wxBitmap_GetWidth(_arg0
);
1186 wxPy_END_ALLOW_THREADS
;
1187 } _resultobj
= Py_BuildValue("i",_result
);
1191 #define wxBitmap_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1192 static PyObject
*_wrap_wxBitmap_LoadFile(PyObject
*self
, PyObject
*args
) {
1193 PyObject
* _resultobj
;
1199 PyObject
* _obj1
= 0;
1202 if(!PyArg_ParseTuple(args
,"sOl:wxBitmap_LoadFile",&_argc0
,&_obj1
,&_arg2
))
1205 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_LoadFile. Expected _wxBitmap_p.");
1211 if (!PyString_Check(_obj1
)) {
1212 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1215 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1218 wxPy_BEGIN_ALLOW_THREADS
;
1219 _result
= (bool )wxBitmap_LoadFile(_arg0
,*_arg1
,_arg2
);
1221 wxPy_END_ALLOW_THREADS
;
1222 } _resultobj
= Py_BuildValue("i",_result
);
1230 #define wxBitmap_Ok(_swigobj) (_swigobj->Ok())
1231 static PyObject
*_wrap_wxBitmap_Ok(PyObject
*self
, PyObject
*args
) {
1232 PyObject
* _resultobj
;
1238 if(!PyArg_ParseTuple(args
,"s:wxBitmap_Ok",&_argc0
))
1241 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_Ok. Expected _wxBitmap_p.");
1247 wxPy_BEGIN_ALLOW_THREADS
;
1248 _result
= (bool )wxBitmap_Ok(_arg0
);
1250 wxPy_END_ALLOW_THREADS
;
1251 } _resultobj
= Py_BuildValue("i",_result
);
1255 #define wxBitmap_SaveFile(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SaveFile(_swigarg0,_swigarg1,_swigarg2))
1256 static PyObject
*_wrap_wxBitmap_SaveFile(PyObject
*self
, PyObject
*args
) {
1257 PyObject
* _resultobj
;
1262 wxPalette
* _arg3
= NULL
;
1264 PyObject
* _obj1
= 0;
1268 if(!PyArg_ParseTuple(args
,"sOi|s:wxBitmap_SaveFile",&_argc0
,&_obj1
,&_arg2
,&_argc3
))
1271 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SaveFile. Expected _wxBitmap_p.");
1277 if (!PyString_Check(_obj1
)) {
1278 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1281 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1284 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxPalette_p")) {
1285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxBitmap_SaveFile. Expected _wxPalette_p.");
1290 wxPy_BEGIN_ALLOW_THREADS
;
1291 _result
= (bool )wxBitmap_SaveFile(_arg0
,*_arg1
,_arg2
,_arg3
);
1293 wxPy_END_ALLOW_THREADS
;
1294 } _resultobj
= Py_BuildValue("i",_result
);
1302 #define wxBitmap_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
1303 static PyObject
*_wrap_wxBitmap_SetDepth(PyObject
*self
, PyObject
*args
) {
1304 PyObject
* _resultobj
;
1310 if(!PyArg_ParseTuple(args
,"si:wxBitmap_SetDepth",&_argc0
,&_arg1
))
1313 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetDepth. Expected _wxBitmap_p.");
1319 wxPy_BEGIN_ALLOW_THREADS
;
1320 wxBitmap_SetDepth(_arg0
,_arg1
);
1322 wxPy_END_ALLOW_THREADS
;
1323 } Py_INCREF(Py_None
);
1324 _resultobj
= Py_None
;
1328 #define wxBitmap_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1329 static PyObject
*_wrap_wxBitmap_SetHeight(PyObject
*self
, PyObject
*args
) {
1330 PyObject
* _resultobj
;
1336 if(!PyArg_ParseTuple(args
,"si:wxBitmap_SetHeight",&_argc0
,&_arg1
))
1339 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetHeight. Expected _wxBitmap_p.");
1345 wxPy_BEGIN_ALLOW_THREADS
;
1346 wxBitmap_SetHeight(_arg0
,_arg1
);
1348 wxPy_END_ALLOW_THREADS
;
1349 } Py_INCREF(Py_None
);
1350 _resultobj
= Py_None
;
1354 #define wxBitmap_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
1355 static PyObject
*_wrap_wxBitmap_SetMask(PyObject
*self
, PyObject
*args
) {
1356 PyObject
* _resultobj
;
1363 if(!PyArg_ParseTuple(args
,"ss:wxBitmap_SetMask",&_argc0
,&_argc1
))
1366 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetMask. Expected _wxBitmap_p.");
1372 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxMask_p")) {
1373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_SetMask. Expected _wxMask_p.");
1378 wxPy_BEGIN_ALLOW_THREADS
;
1379 wxBitmap_SetMask(_arg0
,_arg1
);
1381 wxPy_END_ALLOW_THREADS
;
1382 } Py_INCREF(Py_None
);
1383 _resultobj
= Py_None
;
1387 #define wxBitmap_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
1388 static PyObject
*_wrap_wxBitmap_SetPalette(PyObject
*self
, PyObject
*args
) {
1389 PyObject
* _resultobj
;
1396 if(!PyArg_ParseTuple(args
,"ss:wxBitmap_SetPalette",&_argc0
,&_argc1
))
1399 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetPalette. Expected _wxBitmap_p.");
1405 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPalette_p")) {
1406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_SetPalette. Expected _wxPalette_p.");
1411 wxPy_BEGIN_ALLOW_THREADS
;
1412 wxBitmap_SetPalette(_arg0
,*_arg1
);
1414 wxPy_END_ALLOW_THREADS
;
1415 } Py_INCREF(Py_None
);
1416 _resultobj
= Py_None
;
1420 #define wxBitmap_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1421 static PyObject
*_wrap_wxBitmap_SetWidth(PyObject
*self
, PyObject
*args
) {
1422 PyObject
* _resultobj
;
1428 if(!PyArg_ParseTuple(args
,"si:wxBitmap_SetWidth",&_argc0
,&_arg1
))
1431 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetWidth. Expected _wxBitmap_p.");
1437 wxPy_BEGIN_ALLOW_THREADS
;
1438 wxBitmap_SetWidth(_arg0
,_arg1
);
1440 wxPy_END_ALLOW_THREADS
;
1441 } Py_INCREF(Py_None
);
1442 _resultobj
= Py_None
;
1446 #define new_wxMask(_swigarg0) (new wxMask(_swigarg0))
1447 static PyObject
*_wrap_new_wxMask(PyObject
*self
, PyObject
*args
) {
1448 PyObject
* _resultobj
;
1455 if(!PyArg_ParseTuple(args
,"s:new_wxMask",&_argc0
))
1458 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
1459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMask. Expected _wxBitmap_p.");
1464 wxPy_BEGIN_ALLOW_THREADS
;
1465 _result
= (wxMask
*)new_wxMask(*_arg0
);
1467 wxPy_END_ALLOW_THREADS
;
1468 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
1469 _resultobj
= Py_BuildValue("s",_ptemp
);
1473 #define delete_wxMask(_swigobj) (delete _swigobj)
1474 static PyObject
*_wrap_delete_wxMask(PyObject
*self
, PyObject
*args
) {
1475 PyObject
* _resultobj
;
1480 if(!PyArg_ParseTuple(args
,"s:delete_wxMask",&_argc0
))
1483 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMask_p")) {
1484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMask. Expected _wxMask_p.");
1489 wxPy_BEGIN_ALLOW_THREADS
;
1490 delete_wxMask(_arg0
);
1492 wxPy_END_ALLOW_THREADS
;
1493 } Py_INCREF(Py_None
);
1494 _resultobj
= Py_None
;
1498 static void *SwigwxIconTowxBitmap(void *ptr
) {
1501 src
= (wxIcon
*) ptr
;
1502 dest
= (wxBitmap
*) src
;
1503 return (void *) dest
;
1506 #define new_wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1507 static PyObject
*_wrap_new_wxIcon(PyObject
*self
, PyObject
*args
) {
1508 PyObject
* _resultobj
;
1514 PyObject
* _obj0
= 0;
1518 if(!PyArg_ParseTuple(args
,"Ol|ii:new_wxIcon",&_obj0
,&_arg1
,&_arg2
,&_arg3
))
1521 if (!PyString_Check(_obj0
)) {
1522 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1525 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
1528 wxPy_BEGIN_ALLOW_THREADS
;
1529 _result
= (wxIcon
*)new_wxIcon(*_arg0
,_arg1
,_arg2
,_arg3
);
1531 wxPy_END_ALLOW_THREADS
;
1532 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
1533 _resultobj
= Py_BuildValue("s",_ptemp
);
1541 #define delete_wxIcon(_swigobj) (delete _swigobj)
1542 static PyObject
*_wrap_delete_wxIcon(PyObject
*self
, PyObject
*args
) {
1543 PyObject
* _resultobj
;
1548 if(!PyArg_ParseTuple(args
,"s:delete_wxIcon",&_argc0
))
1551 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxIcon. Expected _wxIcon_p.");
1557 wxPy_BEGIN_ALLOW_THREADS
;
1558 delete_wxIcon(_arg0
);
1560 wxPy_END_ALLOW_THREADS
;
1561 } Py_INCREF(Py_None
);
1562 _resultobj
= Py_None
;
1566 #define wxIcon_GetDepth(_swigobj) (_swigobj->GetDepth())
1567 static PyObject
*_wrap_wxIcon_GetDepth(PyObject
*self
, PyObject
*args
) {
1568 PyObject
* _resultobj
;
1574 if(!PyArg_ParseTuple(args
,"s:wxIcon_GetDepth",&_argc0
))
1577 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetDepth. Expected _wxIcon_p.");
1583 wxPy_BEGIN_ALLOW_THREADS
;
1584 _result
= (int )wxIcon_GetDepth(_arg0
);
1586 wxPy_END_ALLOW_THREADS
;
1587 } _resultobj
= Py_BuildValue("i",_result
);
1591 #define wxIcon_GetHeight(_swigobj) (_swigobj->GetHeight())
1592 static PyObject
*_wrap_wxIcon_GetHeight(PyObject
*self
, PyObject
*args
) {
1593 PyObject
* _resultobj
;
1599 if(!PyArg_ParseTuple(args
,"s:wxIcon_GetHeight",&_argc0
))
1602 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetHeight. Expected _wxIcon_p.");
1608 wxPy_BEGIN_ALLOW_THREADS
;
1609 _result
= (int )wxIcon_GetHeight(_arg0
);
1611 wxPy_END_ALLOW_THREADS
;
1612 } _resultobj
= Py_BuildValue("i",_result
);
1616 #define wxIcon_GetWidth(_swigobj) (_swigobj->GetWidth())
1617 static PyObject
*_wrap_wxIcon_GetWidth(PyObject
*self
, PyObject
*args
) {
1618 PyObject
* _resultobj
;
1624 if(!PyArg_ParseTuple(args
,"s:wxIcon_GetWidth",&_argc0
))
1627 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetWidth. Expected _wxIcon_p.");
1633 wxPy_BEGIN_ALLOW_THREADS
;
1634 _result
= (int )wxIcon_GetWidth(_arg0
);
1636 wxPy_END_ALLOW_THREADS
;
1637 } _resultobj
= Py_BuildValue("i",_result
);
1641 #define wxIcon_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1642 static PyObject
*_wrap_wxIcon_LoadFile(PyObject
*self
, PyObject
*args
) {
1643 PyObject
* _resultobj
;
1649 PyObject
* _obj1
= 0;
1652 if(!PyArg_ParseTuple(args
,"sOl:wxIcon_LoadFile",&_argc0
,&_obj1
,&_arg2
))
1655 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_LoadFile. Expected _wxIcon_p.");
1661 if (!PyString_Check(_obj1
)) {
1662 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1665 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1668 wxPy_BEGIN_ALLOW_THREADS
;
1669 _result
= (bool )wxIcon_LoadFile(_arg0
,*_arg1
,_arg2
);
1671 wxPy_END_ALLOW_THREADS
;
1672 } _resultobj
= Py_BuildValue("i",_result
);
1680 #define wxIcon_Ok(_swigobj) (_swigobj->Ok())
1681 static PyObject
*_wrap_wxIcon_Ok(PyObject
*self
, PyObject
*args
) {
1682 PyObject
* _resultobj
;
1688 if(!PyArg_ParseTuple(args
,"s:wxIcon_Ok",&_argc0
))
1691 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_Ok. Expected _wxIcon_p.");
1697 wxPy_BEGIN_ALLOW_THREADS
;
1698 _result
= (bool )wxIcon_Ok(_arg0
);
1700 wxPy_END_ALLOW_THREADS
;
1701 } _resultobj
= Py_BuildValue("i",_result
);
1705 #define wxIcon_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
1706 static PyObject
*_wrap_wxIcon_SetDepth(PyObject
*self
, PyObject
*args
) {
1707 PyObject
* _resultobj
;
1713 if(!PyArg_ParseTuple(args
,"si:wxIcon_SetDepth",&_argc0
,&_arg1
))
1716 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetDepth. Expected _wxIcon_p.");
1722 wxPy_BEGIN_ALLOW_THREADS
;
1723 wxIcon_SetDepth(_arg0
,_arg1
);
1725 wxPy_END_ALLOW_THREADS
;
1726 } Py_INCREF(Py_None
);
1727 _resultobj
= Py_None
;
1731 #define wxIcon_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1732 static PyObject
*_wrap_wxIcon_SetHeight(PyObject
*self
, PyObject
*args
) {
1733 PyObject
* _resultobj
;
1739 if(!PyArg_ParseTuple(args
,"si:wxIcon_SetHeight",&_argc0
,&_arg1
))
1742 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetHeight. Expected _wxIcon_p.");
1748 wxPy_BEGIN_ALLOW_THREADS
;
1749 wxIcon_SetHeight(_arg0
,_arg1
);
1751 wxPy_END_ALLOW_THREADS
;
1752 } Py_INCREF(Py_None
);
1753 _resultobj
= Py_None
;
1757 #define wxIcon_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1758 static PyObject
*_wrap_wxIcon_SetWidth(PyObject
*self
, PyObject
*args
) {
1759 PyObject
* _resultobj
;
1765 if(!PyArg_ParseTuple(args
,"si:wxIcon_SetWidth",&_argc0
,&_arg1
))
1768 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIcon_p")) {
1769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetWidth. Expected _wxIcon_p.");
1774 wxPy_BEGIN_ALLOW_THREADS
;
1775 wxIcon_SetWidth(_arg0
,_arg1
);
1777 wxPy_END_ALLOW_THREADS
;
1778 } Py_INCREF(Py_None
);
1779 _resultobj
= Py_None
;
1783 static void *SwigwxCursorTowxBitmap(void *ptr
) {
1786 src
= (wxCursor
*) ptr
;
1787 dest
= (wxBitmap
*) src
;
1788 return (void *) dest
;
1791 #define new_wxCursor(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxCursor(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1792 static PyObject
*_wrap_new_wxCursor(PyObject
*self
, PyObject
*args
) {
1793 PyObject
* _resultobj
;
1799 PyObject
* _obj0
= 0;
1803 if(!PyArg_ParseTuple(args
,"Ol|ii:new_wxCursor",&_obj0
,&_arg1
,&_arg2
,&_arg3
))
1806 if (!PyString_Check(_obj0
)) {
1807 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1810 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
1813 wxPy_BEGIN_ALLOW_THREADS
;
1814 _result
= (wxCursor
*)new_wxCursor(*_arg0
,_arg1
,_arg2
,_arg3
);
1816 wxPy_END_ALLOW_THREADS
;
1817 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCursor_p");
1818 _resultobj
= Py_BuildValue("s",_ptemp
);
1826 #define delete_wxCursor(_swigobj) (delete _swigobj)
1827 static PyObject
*_wrap_delete_wxCursor(PyObject
*self
, PyObject
*args
) {
1828 PyObject
* _resultobj
;
1833 if(!PyArg_ParseTuple(args
,"s:delete_wxCursor",&_argc0
))
1836 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxCursor_p")) {
1837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCursor. Expected _wxCursor_p.");
1842 wxPy_BEGIN_ALLOW_THREADS
;
1843 delete_wxCursor(_arg0
);
1845 wxPy_END_ALLOW_THREADS
;
1846 } Py_INCREF(Py_None
);
1847 _resultobj
= Py_None
;
1851 #define wxCursor_Ok(_swigobj) (_swigobj->Ok())
1852 static PyObject
*_wrap_wxCursor_Ok(PyObject
*self
, PyObject
*args
) {
1853 PyObject
* _resultobj
;
1859 if(!PyArg_ParseTuple(args
,"s:wxCursor_Ok",&_argc0
))
1862 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxCursor_p")) {
1863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_Ok. Expected _wxCursor_p.");
1868 wxPy_BEGIN_ALLOW_THREADS
;
1869 _result
= (bool )wxCursor_Ok(_arg0
);
1871 wxPy_END_ALLOW_THREADS
;
1872 } _resultobj
= Py_BuildValue("i",_result
);
1876 static wxFont
*new_wxFont(int pointSize
,int family
,int style
,int weight
,int underline
,char *faceName
) {
1878 return wxTheFontList
->FindOrCreateFont(pointSize
, family
, style
, weight
,
1879 underline
, faceName
);
1882 static PyObject
*_wrap_new_wxFont(PyObject
*self
, PyObject
*args
) {
1883 PyObject
* _resultobj
;
1894 if(!PyArg_ParseTuple(args
,"iiii|is:new_wxFont",&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
1897 wxPy_BEGIN_ALLOW_THREADS
;
1898 _result
= (wxFont
*)new_wxFont(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1900 wxPy_END_ALLOW_THREADS
;
1901 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1902 _resultobj
= Py_BuildValue("s",_ptemp
);
1906 #define wxFont_GetFaceName(_swigobj) (_swigobj->GetFaceName())
1907 static PyObject
*_wrap_wxFont_GetFaceName(PyObject
*self
, PyObject
*args
) {
1908 PyObject
* _resultobj
;
1914 if(!PyArg_ParseTuple(args
,"s:wxFont_GetFaceName",&_argc0
))
1917 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFaceName. Expected _wxFont_p.");
1923 wxPy_BEGIN_ALLOW_THREADS
;
1924 _result
= new wxString (wxFont_GetFaceName(_arg0
));
1926 wxPy_END_ALLOW_THREADS
;
1928 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1936 #define wxFont_GetFamily(_swigobj) (_swigobj->GetFamily())
1937 static PyObject
*_wrap_wxFont_GetFamily(PyObject
*self
, PyObject
*args
) {
1938 PyObject
* _resultobj
;
1944 if(!PyArg_ParseTuple(args
,"s:wxFont_GetFamily",&_argc0
))
1947 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFamily. Expected _wxFont_p.");
1953 wxPy_BEGIN_ALLOW_THREADS
;
1954 _result
= (int )wxFont_GetFamily(_arg0
);
1956 wxPy_END_ALLOW_THREADS
;
1957 } _resultobj
= Py_BuildValue("i",_result
);
1961 #define wxFont_GetFontId(_swigobj) (_swigobj->GetFontId())
1962 static PyObject
*_wrap_wxFont_GetFontId(PyObject
*self
, PyObject
*args
) {
1963 PyObject
* _resultobj
;
1969 if(!PyArg_ParseTuple(args
,"s:wxFont_GetFontId",&_argc0
))
1972 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFontId. Expected _wxFont_p.");
1978 wxPy_BEGIN_ALLOW_THREADS
;
1979 _result
= (int )wxFont_GetFontId(_arg0
);
1981 wxPy_END_ALLOW_THREADS
;
1982 } _resultobj
= Py_BuildValue("i",_result
);
1986 #define wxFont_GetPointSize(_swigobj) (_swigobj->GetPointSize())
1987 static PyObject
*_wrap_wxFont_GetPointSize(PyObject
*self
, PyObject
*args
) {
1988 PyObject
* _resultobj
;
1994 if(!PyArg_ParseTuple(args
,"s:wxFont_GetPointSize",&_argc0
))
1997 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
1998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetPointSize. Expected _wxFont_p.");
2003 wxPy_BEGIN_ALLOW_THREADS
;
2004 _result
= (int )wxFont_GetPointSize(_arg0
);
2006 wxPy_END_ALLOW_THREADS
;
2007 } _resultobj
= Py_BuildValue("i",_result
);
2011 #define wxFont_GetStyle(_swigobj) (_swigobj->GetStyle())
2012 static PyObject
*_wrap_wxFont_GetStyle(PyObject
*self
, PyObject
*args
) {
2013 PyObject
* _resultobj
;
2019 if(!PyArg_ParseTuple(args
,"s:wxFont_GetStyle",&_argc0
))
2022 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
2023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetStyle. Expected _wxFont_p.");
2028 wxPy_BEGIN_ALLOW_THREADS
;
2029 _result
= (int )wxFont_GetStyle(_arg0
);
2031 wxPy_END_ALLOW_THREADS
;
2032 } _resultobj
= Py_BuildValue("i",_result
);
2036 #define wxFont_GetUnderlined(_swigobj) (_swigobj->GetUnderlined())
2037 static PyObject
*_wrap_wxFont_GetUnderlined(PyObject
*self
, PyObject
*args
) {
2038 PyObject
* _resultobj
;
2044 if(!PyArg_ParseTuple(args
,"s:wxFont_GetUnderlined",&_argc0
))
2047 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
2048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetUnderlined. Expected _wxFont_p.");
2053 wxPy_BEGIN_ALLOW_THREADS
;
2054 _result
= (bool )wxFont_GetUnderlined(_arg0
);
2056 wxPy_END_ALLOW_THREADS
;
2057 } _resultobj
= Py_BuildValue("i",_result
);
2061 #define wxFont_GetWeight(_swigobj) (_swigobj->GetWeight())
2062 static PyObject
*_wrap_wxFont_GetWeight(PyObject
*self
, PyObject
*args
) {
2063 PyObject
* _resultobj
;
2069 if(!PyArg_ParseTuple(args
,"s:wxFont_GetWeight",&_argc0
))
2072 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
2073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetWeight. Expected _wxFont_p.");
2078 wxPy_BEGIN_ALLOW_THREADS
;
2079 _result
= (int )wxFont_GetWeight(_arg0
);
2081 wxPy_END_ALLOW_THREADS
;
2082 } _resultobj
= Py_BuildValue("i",_result
);
2086 #define wxFont_SetFaceName(_swigobj,_swigarg0) (_swigobj->SetFaceName(_swigarg0))
2087 static PyObject
*_wrap_wxFont_SetFaceName(PyObject
*self
, PyObject
*args
) {
2088 PyObject
* _resultobj
;
2092 PyObject
* _obj1
= 0;
2095 if(!PyArg_ParseTuple(args
,"sO:wxFont_SetFaceName",&_argc0
,&_obj1
))
2098 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
2099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFaceName. Expected _wxFont_p.");
2104 if (!PyString_Check(_obj1
)) {
2105 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2108 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2111 wxPy_BEGIN_ALLOW_THREADS
;
2112 wxFont_SetFaceName(_arg0
,*_arg1
);
2114 wxPy_END_ALLOW_THREADS
;
2115 } Py_INCREF(Py_None
);
2116 _resultobj
= Py_None
;
2124 #define wxFont_SetFamily(_swigobj,_swigarg0) (_swigobj->SetFamily(_swigarg0))
2125 static PyObject
*_wrap_wxFont_SetFamily(PyObject
*self
, PyObject
*args
) {
2126 PyObject
* _resultobj
;
2132 if(!PyArg_ParseTuple(args
,"si:wxFont_SetFamily",&_argc0
,&_arg1
))
2135 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
2136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFamily. Expected _wxFont_p.");
2141 wxPy_BEGIN_ALLOW_THREADS
;
2142 wxFont_SetFamily(_arg0
,_arg1
);
2144 wxPy_END_ALLOW_THREADS
;
2145 } Py_INCREF(Py_None
);
2146 _resultobj
= Py_None
;
2150 #define wxFont_SetPointSize(_swigobj,_swigarg0) (_swigobj->SetPointSize(_swigarg0))
2151 static PyObject
*_wrap_wxFont_SetPointSize(PyObject
*self
, PyObject
*args
) {
2152 PyObject
* _resultobj
;
2158 if(!PyArg_ParseTuple(args
,"si:wxFont_SetPointSize",&_argc0
,&_arg1
))
2161 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
2162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetPointSize. Expected _wxFont_p.");
2167 wxPy_BEGIN_ALLOW_THREADS
;
2168 wxFont_SetPointSize(_arg0
,_arg1
);
2170 wxPy_END_ALLOW_THREADS
;
2171 } Py_INCREF(Py_None
);
2172 _resultobj
= Py_None
;
2176 #define wxFont_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
2177 static PyObject
*_wrap_wxFont_SetStyle(PyObject
*self
, PyObject
*args
) {
2178 PyObject
* _resultobj
;
2184 if(!PyArg_ParseTuple(args
,"si:wxFont_SetStyle",&_argc0
,&_arg1
))
2187 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
2188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetStyle. Expected _wxFont_p.");
2193 wxPy_BEGIN_ALLOW_THREADS
;
2194 wxFont_SetStyle(_arg0
,_arg1
);
2196 wxPy_END_ALLOW_THREADS
;
2197 } Py_INCREF(Py_None
);
2198 _resultobj
= Py_None
;
2202 #define wxFont_SetUnderlined(_swigobj,_swigarg0) (_swigobj->SetUnderlined(_swigarg0))
2203 static PyObject
*_wrap_wxFont_SetUnderlined(PyObject
*self
, PyObject
*args
) {
2204 PyObject
* _resultobj
;
2211 if(!PyArg_ParseTuple(args
,"si:wxFont_SetUnderlined",&_argc0
,&tempbool1
))
2214 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
2215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetUnderlined. Expected _wxFont_p.");
2219 _arg1
= (bool ) tempbool1
;
2221 wxPy_BEGIN_ALLOW_THREADS
;
2222 wxFont_SetUnderlined(_arg0
,_arg1
);
2224 wxPy_END_ALLOW_THREADS
;
2225 } Py_INCREF(Py_None
);
2226 _resultobj
= Py_None
;
2230 #define wxFont_SetWeight(_swigobj,_swigarg0) (_swigobj->SetWeight(_swigarg0))
2231 static PyObject
*_wrap_wxFont_SetWeight(PyObject
*self
, PyObject
*args
) {
2232 PyObject
* _resultobj
;
2238 if(!PyArg_ParseTuple(args
,"si:wxFont_SetWeight",&_argc0
,&_arg1
))
2241 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxFont_p")) {
2242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetWeight. Expected _wxFont_p.");
2247 wxPy_BEGIN_ALLOW_THREADS
;
2248 wxFont_SetWeight(_arg0
,_arg1
);
2250 wxPy_END_ALLOW_THREADS
;
2251 } Py_INCREF(Py_None
);
2252 _resultobj
= Py_None
;
2256 #define new_wxColour(_swigarg0,_swigarg1,_swigarg2) (new wxColour(_swigarg0,_swigarg1,_swigarg2))
2257 static PyObject
*_wrap_new_wxColour(PyObject
*self
, PyObject
*args
) {
2258 PyObject
* _resultobj
;
2260 unsigned char _arg0
= 0;
2261 unsigned char _arg1
= 0;
2262 unsigned char _arg2
= 0;
2266 if(!PyArg_ParseTuple(args
,"|bbb:new_wxColour",&_arg0
,&_arg1
,&_arg2
))
2269 wxPy_BEGIN_ALLOW_THREADS
;
2270 _result
= (wxColour
*)new_wxColour(_arg0
,_arg1
,_arg2
);
2272 wxPy_END_ALLOW_THREADS
;
2273 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
2274 _resultobj
= Py_BuildValue("s",_ptemp
);
2278 #define delete_wxColour(_swigobj) (delete _swigobj)
2279 static PyObject
*_wrap_delete_wxColour(PyObject
*self
, PyObject
*args
) {
2280 PyObject
* _resultobj
;
2285 if(!PyArg_ParseTuple(args
,"s:delete_wxColour",&_argc0
))
2288 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxColour. Expected _wxColour_p.");
2294 wxPy_BEGIN_ALLOW_THREADS
;
2295 delete_wxColour(_arg0
);
2297 wxPy_END_ALLOW_THREADS
;
2298 } Py_INCREF(Py_None
);
2299 _resultobj
= Py_None
;
2303 #define wxColour_Red(_swigobj) (_swigobj->Red())
2304 static PyObject
*_wrap_wxColour_Red(PyObject
*self
, PyObject
*args
) {
2305 PyObject
* _resultobj
;
2306 unsigned char _result
;
2311 if(!PyArg_ParseTuple(args
,"s:wxColour_Red",&_argc0
))
2314 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Red. Expected _wxColour_p.");
2320 wxPy_BEGIN_ALLOW_THREADS
;
2321 _result
= (unsigned char )wxColour_Red(_arg0
);
2323 wxPy_END_ALLOW_THREADS
;
2324 } _resultobj
= Py_BuildValue("b",_result
);
2328 #define wxColour_Green(_swigobj) (_swigobj->Green())
2329 static PyObject
*_wrap_wxColour_Green(PyObject
*self
, PyObject
*args
) {
2330 PyObject
* _resultobj
;
2331 unsigned char _result
;
2336 if(!PyArg_ParseTuple(args
,"s:wxColour_Green",&_argc0
))
2339 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Green. Expected _wxColour_p.");
2345 wxPy_BEGIN_ALLOW_THREADS
;
2346 _result
= (unsigned char )wxColour_Green(_arg0
);
2348 wxPy_END_ALLOW_THREADS
;
2349 } _resultobj
= Py_BuildValue("b",_result
);
2353 #define wxColour_Blue(_swigobj) (_swigobj->Blue())
2354 static PyObject
*_wrap_wxColour_Blue(PyObject
*self
, PyObject
*args
) {
2355 PyObject
* _resultobj
;
2356 unsigned char _result
;
2361 if(!PyArg_ParseTuple(args
,"s:wxColour_Blue",&_argc0
))
2364 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Blue. Expected _wxColour_p.");
2370 wxPy_BEGIN_ALLOW_THREADS
;
2371 _result
= (unsigned char )wxColour_Blue(_arg0
);
2373 wxPy_END_ALLOW_THREADS
;
2374 } _resultobj
= Py_BuildValue("b",_result
);
2378 #define wxColour_Ok(_swigobj) (_swigobj->Ok())
2379 static PyObject
*_wrap_wxColour_Ok(PyObject
*self
, PyObject
*args
) {
2380 PyObject
* _resultobj
;
2386 if(!PyArg_ParseTuple(args
,"s:wxColour_Ok",&_argc0
))
2389 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Ok. Expected _wxColour_p.");
2395 wxPy_BEGIN_ALLOW_THREADS
;
2396 _result
= (bool )wxColour_Ok(_arg0
);
2398 wxPy_END_ALLOW_THREADS
;
2399 } _resultobj
= Py_BuildValue("i",_result
);
2403 #define wxColour_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
2404 static PyObject
*_wrap_wxColour_Set(PyObject
*self
, PyObject
*args
) {
2405 PyObject
* _resultobj
;
2407 unsigned char _arg1
;
2408 unsigned char _arg2
;
2409 unsigned char _arg3
;
2413 if(!PyArg_ParseTuple(args
,"sbbb:wxColour_Set",&_argc0
,&_arg1
,&_arg2
,&_arg3
))
2416 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Set. Expected _wxColour_p.");
2422 wxPy_BEGIN_ALLOW_THREADS
;
2423 wxColour_Set(_arg0
,_arg1
,_arg2
,_arg3
);
2425 wxPy_END_ALLOW_THREADS
;
2426 } Py_INCREF(Py_None
);
2427 _resultobj
= Py_None
;
2431 static PyObject
* wxColour_Get(wxColour
*self
) {
2432 PyObject
* rv
= PyTuple_New(3);
2433 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
2434 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
2435 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
2438 static PyObject
*_wrap_wxColour_Get(PyObject
*self
, PyObject
*args
) {
2439 PyObject
* _resultobj
;
2445 if(!PyArg_ParseTuple(args
,"s:wxColour_Get",&_argc0
))
2448 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Get. Expected _wxColour_p.");
2454 wxPy_BEGIN_ALLOW_THREADS
;
2455 _result
= (PyObject
*)wxColour_Get(_arg0
);
2457 wxPy_END_ALLOW_THREADS
;
2459 _resultobj
= _result
;
2464 static wxPen
*new_wxPen(wxColour
*colour
,int width
,int style
) {
2465 return wxThePenList
->FindOrCreatePen(*colour
, width
, style
);
2468 static PyObject
*_wrap_new_wxPen(PyObject
*self
, PyObject
*args
) {
2469 PyObject
* _resultobj
;
2473 int _arg2
= (wxSOLID
);
2478 if(!PyArg_ParseTuple(args
,"s|ii:new_wxPen",&_argc0
,&_arg1
,&_arg2
))
2481 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPen. Expected _wxColour_p.");
2487 wxPy_BEGIN_ALLOW_THREADS
;
2488 _result
= (wxPen
*)new_wxPen(_arg0
,_arg1
,_arg2
);
2490 wxPy_END_ALLOW_THREADS
;
2491 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
2492 _resultobj
= Py_BuildValue("s",_ptemp
);
2496 #define wxPen_GetCap(_swigobj) (_swigobj->GetCap())
2497 static PyObject
*_wrap_wxPen_GetCap(PyObject
*self
, PyObject
*args
) {
2498 PyObject
* _resultobj
;
2504 if(!PyArg_ParseTuple(args
,"s:wxPen_GetCap",&_argc0
))
2507 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetCap. Expected _wxPen_p.");
2513 wxPy_BEGIN_ALLOW_THREADS
;
2514 _result
= (int )wxPen_GetCap(_arg0
);
2516 wxPy_END_ALLOW_THREADS
;
2517 } _resultobj
= Py_BuildValue("i",_result
);
2521 #define wxPen_GetColour(_swigobj) (_swigobj->GetColour())
2522 static PyObject
*_wrap_wxPen_GetColour(PyObject
*self
, PyObject
*args
) {
2523 PyObject
* _resultobj
;
2530 if(!PyArg_ParseTuple(args
,"s:wxPen_GetColour",&_argc0
))
2533 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetColour. Expected _wxPen_p.");
2539 wxPy_BEGIN_ALLOW_THREADS
;
2540 wxColour
& _result_ref
= wxPen_GetColour(_arg0
);
2541 _result
= (wxColour
*) &_result_ref
;
2543 wxPy_END_ALLOW_THREADS
;
2544 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
2545 _resultobj
= Py_BuildValue("s",_ptemp
);
2549 #define wxPen_GetJoin(_swigobj) (_swigobj->GetJoin())
2550 static PyObject
*_wrap_wxPen_GetJoin(PyObject
*self
, PyObject
*args
) {
2551 PyObject
* _resultobj
;
2557 if(!PyArg_ParseTuple(args
,"s:wxPen_GetJoin",&_argc0
))
2560 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetJoin. Expected _wxPen_p.");
2566 wxPy_BEGIN_ALLOW_THREADS
;
2567 _result
= (int )wxPen_GetJoin(_arg0
);
2569 wxPy_END_ALLOW_THREADS
;
2570 } _resultobj
= Py_BuildValue("i",_result
);
2574 #define wxPen_GetStyle(_swigobj) (_swigobj->GetStyle())
2575 static PyObject
*_wrap_wxPen_GetStyle(PyObject
*self
, PyObject
*args
) {
2576 PyObject
* _resultobj
;
2582 if(!PyArg_ParseTuple(args
,"s:wxPen_GetStyle",&_argc0
))
2585 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetStyle. Expected _wxPen_p.");
2591 wxPy_BEGIN_ALLOW_THREADS
;
2592 _result
= (int )wxPen_GetStyle(_arg0
);
2594 wxPy_END_ALLOW_THREADS
;
2595 } _resultobj
= Py_BuildValue("i",_result
);
2599 #define wxPen_GetWidth(_swigobj) (_swigobj->GetWidth())
2600 static PyObject
*_wrap_wxPen_GetWidth(PyObject
*self
, PyObject
*args
) {
2601 PyObject
* _resultobj
;
2607 if(!PyArg_ParseTuple(args
,"s:wxPen_GetWidth",&_argc0
))
2610 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetWidth. Expected _wxPen_p.");
2616 wxPy_BEGIN_ALLOW_THREADS
;
2617 _result
= (int )wxPen_GetWidth(_arg0
);
2619 wxPy_END_ALLOW_THREADS
;
2620 } _resultobj
= Py_BuildValue("i",_result
);
2624 #define wxPen_Ok(_swigobj) (_swigobj->Ok())
2625 static PyObject
*_wrap_wxPen_Ok(PyObject
*self
, PyObject
*args
) {
2626 PyObject
* _resultobj
;
2632 if(!PyArg_ParseTuple(args
,"s:wxPen_Ok",&_argc0
))
2635 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_Ok. Expected _wxPen_p.");
2641 wxPy_BEGIN_ALLOW_THREADS
;
2642 _result
= (bool )wxPen_Ok(_arg0
);
2644 wxPy_END_ALLOW_THREADS
;
2645 } _resultobj
= Py_BuildValue("i",_result
);
2649 #define wxPen_SetCap(_swigobj,_swigarg0) (_swigobj->SetCap(_swigarg0))
2650 static PyObject
*_wrap_wxPen_SetCap(PyObject
*self
, PyObject
*args
) {
2651 PyObject
* _resultobj
;
2657 if(!PyArg_ParseTuple(args
,"si:wxPen_SetCap",&_argc0
,&_arg1
))
2660 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetCap. Expected _wxPen_p.");
2666 wxPy_BEGIN_ALLOW_THREADS
;
2667 wxPen_SetCap(_arg0
,_arg1
);
2669 wxPy_END_ALLOW_THREADS
;
2670 } Py_INCREF(Py_None
);
2671 _resultobj
= Py_None
;
2675 #define wxPen_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
2676 static PyObject
*_wrap_wxPen_SetColour(PyObject
*self
, PyObject
*args
) {
2677 PyObject
* _resultobj
;
2684 if(!PyArg_ParseTuple(args
,"ss:wxPen_SetColour",&_argc0
,&_argc1
))
2687 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetColour. Expected _wxPen_p.");
2693 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
2694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPen_SetColour. Expected _wxColour_p.");
2699 wxPy_BEGIN_ALLOW_THREADS
;
2700 wxPen_SetColour(_arg0
,*_arg1
);
2702 wxPy_END_ALLOW_THREADS
;
2703 } Py_INCREF(Py_None
);
2704 _resultobj
= Py_None
;
2708 #define wxPen_SetJoin(_swigobj,_swigarg0) (_swigobj->SetJoin(_swigarg0))
2709 static PyObject
*_wrap_wxPen_SetJoin(PyObject
*self
, PyObject
*args
) {
2710 PyObject
* _resultobj
;
2716 if(!PyArg_ParseTuple(args
,"si:wxPen_SetJoin",&_argc0
,&_arg1
))
2719 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetJoin. Expected _wxPen_p.");
2725 wxPy_BEGIN_ALLOW_THREADS
;
2726 wxPen_SetJoin(_arg0
,_arg1
);
2728 wxPy_END_ALLOW_THREADS
;
2729 } Py_INCREF(Py_None
);
2730 _resultobj
= Py_None
;
2734 #define wxPen_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
2735 static PyObject
*_wrap_wxPen_SetStyle(PyObject
*self
, PyObject
*args
) {
2736 PyObject
* _resultobj
;
2742 if(!PyArg_ParseTuple(args
,"si:wxPen_SetStyle",&_argc0
,&_arg1
))
2745 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetStyle. Expected _wxPen_p.");
2751 wxPy_BEGIN_ALLOW_THREADS
;
2752 wxPen_SetStyle(_arg0
,_arg1
);
2754 wxPy_END_ALLOW_THREADS
;
2755 } Py_INCREF(Py_None
);
2756 _resultobj
= Py_None
;
2760 #define wxPen_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2761 static PyObject
*_wrap_wxPen_SetWidth(PyObject
*self
, PyObject
*args
) {
2762 PyObject
* _resultobj
;
2768 if(!PyArg_ParseTuple(args
,"si:wxPen_SetWidth",&_argc0
,&_arg1
))
2771 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetWidth. Expected _wxPen_p.");
2777 wxPy_BEGIN_ALLOW_THREADS
;
2778 wxPen_SetWidth(_arg0
,_arg1
);
2780 wxPy_END_ALLOW_THREADS
;
2781 } Py_INCREF(Py_None
);
2782 _resultobj
= Py_None
;
2786 #define wxPen_GetDashes(_swigobj,_swigarg0) (_swigobj->GetDashes(_swigarg0))
2787 static PyObject
*_wrap_wxPen_GetDashes(PyObject
*self
, PyObject
*args
) {
2788 PyObject
* _resultobj
;
2796 if(!PyArg_ParseTuple(args
,"ss:wxPen_GetDashes",&_argc0
,&_argc1
))
2799 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetDashes. Expected _wxPen_p.");
2805 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxDash_pp")) {
2806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPen_GetDashes. Expected _wxDash_pp.");
2811 wxPy_BEGIN_ALLOW_THREADS
;
2812 _result
= (int )wxPen_GetDashes(_arg0
,_arg1
);
2814 wxPy_END_ALLOW_THREADS
;
2815 } _resultobj
= Py_BuildValue("i",_result
);
2819 #define wxPen_GetStipple(_swigobj) (_swigobj->GetStipple())
2820 static PyObject
*_wrap_wxPen_GetStipple(PyObject
*self
, PyObject
*args
) {
2821 PyObject
* _resultobj
;
2828 if(!PyArg_ParseTuple(args
,"s:wxPen_GetStipple",&_argc0
))
2831 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetStipple. Expected _wxPen_p.");
2837 wxPy_BEGIN_ALLOW_THREADS
;
2838 _result
= (wxBitmap
*)wxPen_GetStipple(_arg0
);
2840 wxPy_END_ALLOW_THREADS
;
2841 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
2842 _resultobj
= Py_BuildValue("s",_ptemp
);
2846 #define wxPen_SetDashes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDashes(_swigarg0,_swigarg1))
2847 static PyObject
*_wrap_wxPen_SetDashes(PyObject
*self
, PyObject
*args
) {
2848 PyObject
* _resultobj
;
2853 PyObject
* _obj2
= 0;
2856 if(!PyArg_ParseTuple(args
,"sO:wxPen_SetDashes",&_argc0
,&_obj2
))
2859 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetDashes. Expected _wxPen_p.");
2866 _arg2
= (unsigned long*)long_LIST_helper(_obj2
);
2867 if (_arg2
== NULL
) {
2873 _arg1
= PyList_Size(_obj2
);
2880 wxPy_BEGIN_ALLOW_THREADS
;
2881 wxPen_SetDashes(_arg0
,_arg1
,_arg2
);
2883 wxPy_END_ALLOW_THREADS
;
2884 } Py_INCREF(Py_None
);
2885 _resultobj
= Py_None
;
2892 #define wxPen_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
2893 static PyObject
*_wrap_wxPen_SetStipple(PyObject
*self
, PyObject
*args
) {
2894 PyObject
* _resultobj
;
2901 if(!PyArg_ParseTuple(args
,"ss:wxPen_SetStipple",&_argc0
,&_argc1
))
2904 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPen_p")) {
2905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetStipple. Expected _wxPen_p.");
2910 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBitmap_p")) {
2911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPen_SetStipple. Expected _wxBitmap_p.");
2916 wxPy_BEGIN_ALLOW_THREADS
;
2917 wxPen_SetStipple(_arg0
,*_arg1
);
2919 wxPy_END_ALLOW_THREADS
;
2920 } Py_INCREF(Py_None
);
2921 _resultobj
= Py_None
;
2925 static wxBrush
*new_wxBrush(wxColour
*colour
,int style
) {
2926 return wxTheBrushList
->FindOrCreateBrush(*colour
, style
);
2929 static PyObject
*_wrap_new_wxBrush(PyObject
*self
, PyObject
*args
) {
2930 PyObject
* _resultobj
;
2933 int _arg1
= (wxSOLID
);
2938 if(!PyArg_ParseTuple(args
,"s|i:new_wxBrush",&_argc0
,&_arg1
))
2941 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxColour_p")) {
2942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBrush. Expected _wxColour_p.");
2947 wxPy_BEGIN_ALLOW_THREADS
;
2948 _result
= (wxBrush
*)new_wxBrush(_arg0
,_arg1
);
2950 wxPy_END_ALLOW_THREADS
;
2951 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
2952 _resultobj
= Py_BuildValue("s",_ptemp
);
2956 #define wxBrush_GetColour(_swigobj) (_swigobj->GetColour())
2957 static PyObject
*_wrap_wxBrush_GetColour(PyObject
*self
, PyObject
*args
) {
2958 PyObject
* _resultobj
;
2965 if(!PyArg_ParseTuple(args
,"s:wxBrush_GetColour",&_argc0
))
2968 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBrush_p")) {
2969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetColour. Expected _wxBrush_p.");
2974 wxPy_BEGIN_ALLOW_THREADS
;
2975 wxColour
& _result_ref
= wxBrush_GetColour(_arg0
);
2976 _result
= (wxColour
*) &_result_ref
;
2978 wxPy_END_ALLOW_THREADS
;
2979 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
2980 _resultobj
= Py_BuildValue("s",_ptemp
);
2984 #define wxBrush_GetStipple(_swigobj) (_swigobj->GetStipple())
2985 static PyObject
*_wrap_wxBrush_GetStipple(PyObject
*self
, PyObject
*args
) {
2986 PyObject
* _resultobj
;
2993 if(!PyArg_ParseTuple(args
,"s:wxBrush_GetStipple",&_argc0
))
2996 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBrush_p")) {
2997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStipple. Expected _wxBrush_p.");
3002 wxPy_BEGIN_ALLOW_THREADS
;
3003 _result
= (wxBitmap
*)wxBrush_GetStipple(_arg0
);
3005 wxPy_END_ALLOW_THREADS
;
3006 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
3007 _resultobj
= Py_BuildValue("s",_ptemp
);
3011 #define wxBrush_GetStyle(_swigobj) (_swigobj->GetStyle())
3012 static PyObject
*_wrap_wxBrush_GetStyle(PyObject
*self
, PyObject
*args
) {
3013 PyObject
* _resultobj
;
3019 if(!PyArg_ParseTuple(args
,"s:wxBrush_GetStyle",&_argc0
))
3022 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBrush_p")) {
3023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStyle. Expected _wxBrush_p.");
3028 wxPy_BEGIN_ALLOW_THREADS
;
3029 _result
= (int )wxBrush_GetStyle(_arg0
);
3031 wxPy_END_ALLOW_THREADS
;
3032 } _resultobj
= Py_BuildValue("i",_result
);
3036 #define wxBrush_Ok(_swigobj) (_swigobj->Ok())
3037 static PyObject
*_wrap_wxBrush_Ok(PyObject
*self
, PyObject
*args
) {
3038 PyObject
* _resultobj
;
3044 if(!PyArg_ParseTuple(args
,"s:wxBrush_Ok",&_argc0
))
3047 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBrush_p")) {
3048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_Ok. Expected _wxBrush_p.");
3053 wxPy_BEGIN_ALLOW_THREADS
;
3054 _result
= (bool )wxBrush_Ok(_arg0
);
3056 wxPy_END_ALLOW_THREADS
;
3057 } _resultobj
= Py_BuildValue("i",_result
);
3061 #define wxBrush_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
3062 static PyObject
*_wrap_wxBrush_SetColour(PyObject
*self
, PyObject
*args
) {
3063 PyObject
* _resultobj
;
3070 if(!PyArg_ParseTuple(args
,"ss:wxBrush_SetColour",&_argc0
,&_argc1
))
3073 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBrush_p")) {
3074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetColour. Expected _wxBrush_p.");
3079 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
3080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrush_SetColour. Expected _wxColour_p.");
3085 wxPy_BEGIN_ALLOW_THREADS
;
3086 wxBrush_SetColour(_arg0
,*_arg1
);
3088 wxPy_END_ALLOW_THREADS
;
3089 } Py_INCREF(Py_None
);
3090 _resultobj
= Py_None
;
3094 #define wxBrush_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
3095 static PyObject
*_wrap_wxBrush_SetStipple(PyObject
*self
, PyObject
*args
) {
3096 PyObject
* _resultobj
;
3103 if(!PyArg_ParseTuple(args
,"ss:wxBrush_SetStipple",&_argc0
,&_argc1
))
3106 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBrush_p")) {
3107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStipple. Expected _wxBrush_p.");
3112 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBitmap_p")) {
3113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrush_SetStipple. Expected _wxBitmap_p.");
3118 wxPy_BEGIN_ALLOW_THREADS
;
3119 wxBrush_SetStipple(_arg0
,*_arg1
);
3121 wxPy_END_ALLOW_THREADS
;
3122 } Py_INCREF(Py_None
);
3123 _resultobj
= Py_None
;
3127 #define wxBrush_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
3128 static PyObject
*_wrap_wxBrush_SetStyle(PyObject
*self
, PyObject
*args
) {
3129 PyObject
* _resultobj
;
3135 if(!PyArg_ParseTuple(args
,"si:wxBrush_SetStyle",&_argc0
,&_arg1
))
3138 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBrush_p")) {
3139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStyle. Expected _wxBrush_p.");
3144 wxPy_BEGIN_ALLOW_THREADS
;
3145 wxBrush_SetStyle(_arg0
,_arg1
);
3147 wxPy_END_ALLOW_THREADS
;
3148 } Py_INCREF(Py_None
);
3149 _resultobj
= Py_None
;
3153 #define delete_wxDC(_swigobj) (delete _swigobj)
3154 static PyObject
*_wrap_delete_wxDC(PyObject
*self
, PyObject
*args
) {
3155 PyObject
* _resultobj
;
3160 if(!PyArg_ParseTuple(args
,"s:delete_wxDC",&_argc0
))
3163 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDC. Expected _wxDC_p.");
3169 wxPy_BEGIN_ALLOW_THREADS
;
3172 wxPy_END_ALLOW_THREADS
;
3173 } Py_INCREF(Py_None
);
3174 _resultobj
= Py_None
;
3178 #define wxDC_BeginDrawing(_swigobj) (_swigobj->BeginDrawing())
3179 static PyObject
*_wrap_wxDC_BeginDrawing(PyObject
*self
, PyObject
*args
) {
3180 PyObject
* _resultobj
;
3185 if(!PyArg_ParseTuple(args
,"s:wxDC_BeginDrawing",&_argc0
))
3188 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_BeginDrawing. Expected _wxDC_p.");
3194 wxPy_BEGIN_ALLOW_THREADS
;
3195 wxDC_BeginDrawing(_arg0
);
3197 wxPy_END_ALLOW_THREADS
;
3198 } Py_INCREF(Py_None
);
3199 _resultobj
= Py_None
;
3203 #define wxDC_Blit(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Blit(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
3204 static PyObject
*_wrap_wxDC_Blit(PyObject
*self
, PyObject
*args
) {
3205 PyObject
* _resultobj
;
3220 if(!PyArg_ParseTuple(args
,"sllllslll:wxDC_Blit",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_argc5
,&_arg6
,&_arg7
,&_arg8
))
3223 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Blit. Expected _wxDC_p.");
3229 if (SWIG_GetPtr(_argc5
,(void **) &_arg5
,"_wxDC_p")) {
3230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxDC_Blit. Expected _wxDC_p.");
3235 wxPy_BEGIN_ALLOW_THREADS
;
3236 _result
= (bool )wxDC_Blit(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
);
3238 wxPy_END_ALLOW_THREADS
;
3239 } _resultobj
= Py_BuildValue("i",_result
);
3243 #define wxDC_Clear(_swigobj) (_swigobj->Clear())
3244 static PyObject
*_wrap_wxDC_Clear(PyObject
*self
, PyObject
*args
) {
3245 PyObject
* _resultobj
;
3250 if(!PyArg_ParseTuple(args
,"s:wxDC_Clear",&_argc0
))
3253 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Clear. Expected _wxDC_p.");
3259 wxPy_BEGIN_ALLOW_THREADS
;
3262 wxPy_END_ALLOW_THREADS
;
3263 } Py_INCREF(Py_None
);
3264 _resultobj
= Py_None
;
3268 #define wxDC_CrossHair(_swigobj,_swigarg0,_swigarg1) (_swigobj->CrossHair(_swigarg0,_swigarg1))
3269 static PyObject
*_wrap_wxDC_CrossHair(PyObject
*self
, PyObject
*args
) {
3270 PyObject
* _resultobj
;
3277 if(!PyArg_ParseTuple(args
,"sll:wxDC_CrossHair",&_argc0
,&_arg1
,&_arg2
))
3280 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CrossHair. Expected _wxDC_p.");
3286 wxPy_BEGIN_ALLOW_THREADS
;
3287 wxDC_CrossHair(_arg0
,_arg1
,_arg2
);
3289 wxPy_END_ALLOW_THREADS
;
3290 } Py_INCREF(Py_None
);
3291 _resultobj
= Py_None
;
3295 #define wxDC_DestroyClippingRegion(_swigobj) (_swigobj->DestroyClippingRegion())
3296 static PyObject
*_wrap_wxDC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
) {
3297 PyObject
* _resultobj
;
3302 if(!PyArg_ParseTuple(args
,"s:wxDC_DestroyClippingRegion",&_argc0
))
3305 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DestroyClippingRegion. Expected _wxDC_p.");
3311 wxPy_BEGIN_ALLOW_THREADS
;
3312 wxDC_DestroyClippingRegion(_arg0
);
3314 wxPy_END_ALLOW_THREADS
;
3315 } Py_INCREF(Py_None
);
3316 _resultobj
= Py_None
;
3320 #define wxDC_DeviceToLogicalX(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalX(_swigarg0))
3321 static PyObject
*_wrap_wxDC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
) {
3322 PyObject
* _resultobj
;
3329 if(!PyArg_ParseTuple(args
,"sl:wxDC_DeviceToLogicalX",&_argc0
,&_arg1
))
3332 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalX. Expected _wxDC_p.");
3338 wxPy_BEGIN_ALLOW_THREADS
;
3339 _result
= (long )wxDC_DeviceToLogicalX(_arg0
,_arg1
);
3341 wxPy_END_ALLOW_THREADS
;
3342 } _resultobj
= Py_BuildValue("l",_result
);
3346 #define wxDC_DeviceToLogicalXRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalXRel(_swigarg0))
3347 static PyObject
*_wrap_wxDC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
) {
3348 PyObject
* _resultobj
;
3355 if(!PyArg_ParseTuple(args
,"sl:wxDC_DeviceToLogicalXRel",&_argc0
,&_arg1
))
3358 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalXRel. Expected _wxDC_p.");
3364 wxPy_BEGIN_ALLOW_THREADS
;
3365 _result
= (long )wxDC_DeviceToLogicalXRel(_arg0
,_arg1
);
3367 wxPy_END_ALLOW_THREADS
;
3368 } _resultobj
= Py_BuildValue("l",_result
);
3372 #define wxDC_DeviceToLogicalY(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalY(_swigarg0))
3373 static PyObject
*_wrap_wxDC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
) {
3374 PyObject
* _resultobj
;
3381 if(!PyArg_ParseTuple(args
,"sl:wxDC_DeviceToLogicalY",&_argc0
,&_arg1
))
3384 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalY. Expected _wxDC_p.");
3390 wxPy_BEGIN_ALLOW_THREADS
;
3391 _result
= (long )wxDC_DeviceToLogicalY(_arg0
,_arg1
);
3393 wxPy_END_ALLOW_THREADS
;
3394 } _resultobj
= Py_BuildValue("l",_result
);
3398 #define wxDC_DeviceToLogicalYRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalYRel(_swigarg0))
3399 static PyObject
*_wrap_wxDC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
) {
3400 PyObject
* _resultobj
;
3407 if(!PyArg_ParseTuple(args
,"sl:wxDC_DeviceToLogicalYRel",&_argc0
,&_arg1
))
3410 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalYRel. Expected _wxDC_p.");
3416 wxPy_BEGIN_ALLOW_THREADS
;
3417 _result
= (long )wxDC_DeviceToLogicalYRel(_arg0
,_arg1
);
3419 wxPy_END_ALLOW_THREADS
;
3420 } _resultobj
= Py_BuildValue("l",_result
);
3424 #define wxDC_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3425 static PyObject
*_wrap_wxDC_DrawArc(PyObject
*self
, PyObject
*args
) {
3426 PyObject
* _resultobj
;
3437 if(!PyArg_ParseTuple(args
,"sllllll:wxDC_DrawArc",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
3440 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawArc. Expected _wxDC_p.");
3446 wxPy_BEGIN_ALLOW_THREADS
;
3447 wxDC_DrawArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
3449 wxPy_END_ALLOW_THREADS
;
3450 } Py_INCREF(Py_None
);
3451 _resultobj
= Py_None
;
3455 #define wxDC_DrawEllipse(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawEllipse(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3456 static PyObject
*_wrap_wxDC_DrawEllipse(PyObject
*self
, PyObject
*args
) {
3457 PyObject
* _resultobj
;
3466 if(!PyArg_ParseTuple(args
,"sllll:wxDC_DrawEllipse",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3469 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipse. Expected _wxDC_p.");
3475 wxPy_BEGIN_ALLOW_THREADS
;
3476 wxDC_DrawEllipse(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3478 wxPy_END_ALLOW_THREADS
;
3479 } Py_INCREF(Py_None
);
3480 _resultobj
= Py_None
;
3484 #define wxDC_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3485 static PyObject
*_wrap_wxDC_DrawEllipticArc(PyObject
*self
, PyObject
*args
) {
3486 PyObject
* _resultobj
;
3497 if(!PyArg_ParseTuple(args
,"sllllll:wxDC_DrawEllipticArc",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
3500 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipticArc. Expected _wxDC_p.");
3506 wxPy_BEGIN_ALLOW_THREADS
;
3507 wxDC_DrawEllipticArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
3509 wxPy_END_ALLOW_THREADS
;
3510 } Py_INCREF(Py_None
);
3511 _resultobj
= Py_None
;
3515 #define wxDC_DrawIcon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawIcon(_swigarg0,_swigarg1,_swigarg2))
3516 static PyObject
*_wrap_wxDC_DrawIcon(PyObject
*self
, PyObject
*args
) {
3517 PyObject
* _resultobj
;
3526 if(!PyArg_ParseTuple(args
,"ssll:wxDC_DrawIcon",&_argc0
,&_argc1
,&_arg2
,&_arg3
))
3529 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawIcon. Expected _wxDC_p.");
3535 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxIcon_p")) {
3536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawIcon. Expected _wxIcon_p.");
3541 wxPy_BEGIN_ALLOW_THREADS
;
3542 wxDC_DrawIcon(_arg0
,*_arg1
,_arg2
,_arg3
);
3544 wxPy_END_ALLOW_THREADS
;
3545 } Py_INCREF(Py_None
);
3546 _resultobj
= Py_None
;
3550 #define wxDC_DrawLine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3551 static PyObject
*_wrap_wxDC_DrawLine(PyObject
*self
, PyObject
*args
) {
3552 PyObject
* _resultobj
;
3561 if(!PyArg_ParseTuple(args
,"sllll:wxDC_DrawLine",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3564 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLine. Expected _wxDC_p.");
3570 wxPy_BEGIN_ALLOW_THREADS
;
3571 wxDC_DrawLine(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3573 wxPy_END_ALLOW_THREADS
;
3574 } Py_INCREF(Py_None
);
3575 _resultobj
= Py_None
;
3579 #define wxDC_DrawLines(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLines(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3580 static PyObject
*_wrap_wxDC_DrawLines(PyObject
*self
, PyObject
*args
) {
3581 PyObject
* _resultobj
;
3588 PyObject
* _obj2
= 0;
3591 if(!PyArg_ParseTuple(args
,"sO|ll:wxDC_DrawLines",&_argc0
,&_obj2
,&_arg3
,&_arg4
))
3594 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLines. Expected _wxDC_p.");
3601 _arg2
= wxPoint_LIST_helper(_obj2
);
3602 if (_arg2
== NULL
) {
3608 _arg1
= PyList_Size(_obj2
);
3615 wxPy_BEGIN_ALLOW_THREADS
;
3616 wxDC_DrawLines(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3618 wxPy_END_ALLOW_THREADS
;
3619 } Py_INCREF(Py_None
);
3620 _resultobj
= Py_None
;
3627 #define wxDC_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3628 static PyObject
*_wrap_wxDC_DrawPolygon(PyObject
*self
, PyObject
*args
) {
3629 PyObject
* _resultobj
;
3635 int _arg5
= (wxODDEVEN_RULE
);
3637 PyObject
* _obj2
= 0;
3640 if(!PyArg_ParseTuple(args
,"sO|lli:wxDC_DrawPolygon",&_argc0
,&_obj2
,&_arg3
,&_arg4
,&_arg5
))
3643 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPolygon. Expected _wxDC_p.");
3650 _arg2
= wxPoint_LIST_helper(_obj2
);
3651 if (_arg2
== NULL
) {
3657 _arg1
= PyList_Size(_obj2
);
3664 wxPy_BEGIN_ALLOW_THREADS
;
3665 wxDC_DrawPolygon(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3667 wxPy_END_ALLOW_THREADS
;
3668 } Py_INCREF(Py_None
);
3669 _resultobj
= Py_None
;
3676 #define wxDC_DrawPoint(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawPoint(_swigarg0,_swigarg1))
3677 static PyObject
*_wrap_wxDC_DrawPoint(PyObject
*self
, PyObject
*args
) {
3678 PyObject
* _resultobj
;
3685 if(!PyArg_ParseTuple(args
,"sll:wxDC_DrawPoint",&_argc0
,&_arg1
,&_arg2
))
3688 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPoint. Expected _wxDC_p.");
3694 wxPy_BEGIN_ALLOW_THREADS
;
3695 wxDC_DrawPoint(_arg0
,_arg1
,_arg2
);
3697 wxPy_END_ALLOW_THREADS
;
3698 } Py_INCREF(Py_None
);
3699 _resultobj
= Py_None
;
3703 #define wxDC_DrawRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3704 static PyObject
*_wrap_wxDC_DrawRectangle(PyObject
*self
, PyObject
*args
) {
3705 PyObject
* _resultobj
;
3714 if(!PyArg_ParseTuple(args
,"sllll:wxDC_DrawRectangle",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3717 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRectangle. Expected _wxDC_p.");
3723 wxPy_BEGIN_ALLOW_THREADS
;
3724 wxDC_DrawRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3726 wxPy_END_ALLOW_THREADS
;
3727 } Py_INCREF(Py_None
);
3728 _resultobj
= Py_None
;
3732 #define wxDC_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3733 static PyObject
*_wrap_wxDC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
) {
3734 PyObject
* _resultobj
;
3744 if(!PyArg_ParseTuple(args
,"sllll|l:wxDC_DrawRoundedRectangle",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3747 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRoundedRectangle. Expected _wxDC_p.");
3753 wxPy_BEGIN_ALLOW_THREADS
;
3754 wxDC_DrawRoundedRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3756 wxPy_END_ALLOW_THREADS
;
3757 } Py_INCREF(Py_None
);
3758 _resultobj
= Py_None
;
3762 #define wxDC_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1))
3763 static PyObject
*_wrap_wxDC_DrawSpline(PyObject
*self
, PyObject
*args
) {
3764 PyObject
* _resultobj
;
3769 PyObject
* _obj2
= 0;
3772 if(!PyArg_ParseTuple(args
,"sO:wxDC_DrawSpline",&_argc0
,&_obj2
))
3775 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawSpline. Expected _wxDC_p.");
3782 _arg2
= wxPoint_LIST_helper(_obj2
);
3783 if (_arg2
== NULL
) {
3789 _arg1
= PyList_Size(_obj2
);
3796 wxPy_BEGIN_ALLOW_THREADS
;
3797 wxDC_DrawSpline(_arg0
,_arg1
,_arg2
);
3799 wxPy_END_ALLOW_THREADS
;
3800 } Py_INCREF(Py_None
);
3801 _resultobj
= Py_None
;
3808 #define wxDC_DrawText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawText(_swigarg0,_swigarg1,_swigarg2))
3809 static PyObject
*_wrap_wxDC_DrawText(PyObject
*self
, PyObject
*args
) {
3810 PyObject
* _resultobj
;
3816 PyObject
* _obj1
= 0;
3819 if(!PyArg_ParseTuple(args
,"sOll:wxDC_DrawText",&_argc0
,&_obj1
,&_arg2
,&_arg3
))
3822 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawText. Expected _wxDC_p.");
3828 if (!PyString_Check(_obj1
)) {
3829 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3832 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3835 wxPy_BEGIN_ALLOW_THREADS
;
3836 wxDC_DrawText(_arg0
,*_arg1
,_arg2
,_arg3
);
3838 wxPy_END_ALLOW_THREADS
;
3839 } Py_INCREF(Py_None
);
3840 _resultobj
= Py_None
;
3848 #define wxDC_EndDoc(_swigobj) (_swigobj->EndDoc())
3849 static PyObject
*_wrap_wxDC_EndDoc(PyObject
*self
, PyObject
*args
) {
3850 PyObject
* _resultobj
;
3855 if(!PyArg_ParseTuple(args
,"s:wxDC_EndDoc",&_argc0
))
3858 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDoc. Expected _wxDC_p.");
3864 wxPy_BEGIN_ALLOW_THREADS
;
3867 wxPy_END_ALLOW_THREADS
;
3868 } Py_INCREF(Py_None
);
3869 _resultobj
= Py_None
;
3873 #define wxDC_EndDrawing(_swigobj) (_swigobj->EndDrawing())
3874 static PyObject
*_wrap_wxDC_EndDrawing(PyObject
*self
, PyObject
*args
) {
3875 PyObject
* _resultobj
;
3880 if(!PyArg_ParseTuple(args
,"s:wxDC_EndDrawing",&_argc0
))
3883 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDrawing. Expected _wxDC_p.");
3889 wxPy_BEGIN_ALLOW_THREADS
;
3890 wxDC_EndDrawing(_arg0
);
3892 wxPy_END_ALLOW_THREADS
;
3893 } Py_INCREF(Py_None
);
3894 _resultobj
= Py_None
;
3898 #define wxDC_EndPage(_swigobj) (_swigobj->EndPage())
3899 static PyObject
*_wrap_wxDC_EndPage(PyObject
*self
, PyObject
*args
) {
3900 PyObject
* _resultobj
;
3905 if(!PyArg_ParseTuple(args
,"s:wxDC_EndPage",&_argc0
))
3908 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndPage. Expected _wxDC_p.");
3914 wxPy_BEGIN_ALLOW_THREADS
;
3915 wxDC_EndPage(_arg0
);
3917 wxPy_END_ALLOW_THREADS
;
3918 } Py_INCREF(Py_None
);
3919 _resultobj
= Py_None
;
3923 #define wxDC_FloodFill(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FloodFill(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3924 static PyObject
*_wrap_wxDC_FloodFill(PyObject
*self
, PyObject
*args
) {
3925 PyObject
* _resultobj
;
3930 int _arg4
= (wxFLOOD_SURFACE
);
3935 if(!PyArg_ParseTuple(args
,"slls|i:wxDC_FloodFill",&_argc0
,&_arg1
,&_arg2
,&_argc3
,&_arg4
))
3938 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_FloodFill. Expected _wxDC_p.");
3944 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxColour_p")) {
3945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDC_FloodFill. Expected _wxColour_p.");
3950 wxPy_BEGIN_ALLOW_THREADS
;
3951 wxDC_FloodFill(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
3953 wxPy_END_ALLOW_THREADS
;
3954 } Py_INCREF(Py_None
);
3955 _resultobj
= Py_None
;
3959 #define wxDC_GetBackground(_swigobj) (_swigobj->GetBackground())
3960 static PyObject
*_wrap_wxDC_GetBackground(PyObject
*self
, PyObject
*args
) {
3961 PyObject
* _resultobj
;
3968 if(!PyArg_ParseTuple(args
,"s:wxDC_GetBackground",&_argc0
))
3971 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
3972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBackground. Expected _wxDC_p.");
3977 wxPy_BEGIN_ALLOW_THREADS
;
3978 wxBrush
& _result_ref
= wxDC_GetBackground(_arg0
);
3979 _result
= (wxBrush
*) &_result_ref
;
3981 wxPy_END_ALLOW_THREADS
;
3982 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
3983 _resultobj
= Py_BuildValue("s",_ptemp
);
3987 #define wxDC_GetBrush(_swigobj) (_swigobj->GetBrush())
3988 static PyObject
*_wrap_wxDC_GetBrush(PyObject
*self
, PyObject
*args
) {
3989 PyObject
* _resultobj
;
3996 if(!PyArg_ParseTuple(args
,"s:wxDC_GetBrush",&_argc0
))
3999 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBrush. Expected _wxDC_p.");
4005 wxPy_BEGIN_ALLOW_THREADS
;
4006 wxBrush
& _result_ref
= wxDC_GetBrush(_arg0
);
4007 _result
= (wxBrush
*) &_result_ref
;
4009 wxPy_END_ALLOW_THREADS
;
4010 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
4011 _resultobj
= Py_BuildValue("s",_ptemp
);
4015 #define wxDC_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
4016 static PyObject
*_wrap_wxDC_GetCharHeight(PyObject
*self
, PyObject
*args
) {
4017 PyObject
* _resultobj
;
4023 if(!PyArg_ParseTuple(args
,"s:wxDC_GetCharHeight",&_argc0
))
4026 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharHeight. Expected _wxDC_p.");
4032 wxPy_BEGIN_ALLOW_THREADS
;
4033 _result
= (long )wxDC_GetCharHeight(_arg0
);
4035 wxPy_END_ALLOW_THREADS
;
4036 } _resultobj
= Py_BuildValue("l",_result
);
4040 #define wxDC_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
4041 static PyObject
*_wrap_wxDC_GetCharWidth(PyObject
*self
, PyObject
*args
) {
4042 PyObject
* _resultobj
;
4048 if(!PyArg_ParseTuple(args
,"s:wxDC_GetCharWidth",&_argc0
))
4051 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharWidth. Expected _wxDC_p.");
4057 wxPy_BEGIN_ALLOW_THREADS
;
4058 _result
= (long )wxDC_GetCharWidth(_arg0
);
4060 wxPy_END_ALLOW_THREADS
;
4061 } _resultobj
= Py_BuildValue("l",_result
);
4065 #define wxDC_GetClippingBox(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetClippingBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4066 static PyObject
*_wrap_wxDC_GetClippingBox(PyObject
*self
, PyObject
*args
) {
4067 PyObject
* _resultobj
;
4092 if(!PyArg_ParseTuple(args
,"s:wxDC_GetClippingBox",&_argc0
))
4095 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetClippingBox. Expected _wxDC_p.");
4101 wxPy_BEGIN_ALLOW_THREADS
;
4102 wxDC_GetClippingBox(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4104 wxPy_END_ALLOW_THREADS
;
4105 } Py_INCREF(Py_None
);
4106 _resultobj
= Py_None
;
4109 o
= PyInt_FromLong((long) (*_arg1
));
4110 _resultobj
= t_output_helper(_resultobj
, o
);
4114 o
= PyInt_FromLong((long) (*_arg2
));
4115 _resultobj
= t_output_helper(_resultobj
, o
);
4119 o
= PyInt_FromLong((long) (*_arg3
));
4120 _resultobj
= t_output_helper(_resultobj
, o
);
4124 o
= PyInt_FromLong((long) (*_arg4
));
4125 _resultobj
= t_output_helper(_resultobj
, o
);
4130 #define wxDC_GetFont(_swigobj) (_swigobj->GetFont())
4131 static PyObject
*_wrap_wxDC_GetFont(PyObject
*self
, PyObject
*args
) {
4132 PyObject
* _resultobj
;
4139 if(!PyArg_ParseTuple(args
,"s:wxDC_GetFont",&_argc0
))
4142 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFont. Expected _wxDC_p.");
4148 wxPy_BEGIN_ALLOW_THREADS
;
4149 wxFont
& _result_ref
= wxDC_GetFont(_arg0
);
4150 _result
= (wxFont
*) &_result_ref
;
4152 wxPy_END_ALLOW_THREADS
;
4153 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
4154 _resultobj
= Py_BuildValue("s",_ptemp
);
4158 #define wxDC_GetLogicalFunction(_swigobj) (_swigobj->GetLogicalFunction())
4159 static PyObject
*_wrap_wxDC_GetLogicalFunction(PyObject
*self
, PyObject
*args
) {
4160 PyObject
* _resultobj
;
4166 if(!PyArg_ParseTuple(args
,"s:wxDC_GetLogicalFunction",&_argc0
))
4169 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalFunction. Expected _wxDC_p.");
4175 wxPy_BEGIN_ALLOW_THREADS
;
4176 _result
= (int )wxDC_GetLogicalFunction(_arg0
);
4178 wxPy_END_ALLOW_THREADS
;
4179 } _resultobj
= Py_BuildValue("i",_result
);
4183 #define wxDC_GetMapMode(_swigobj) (_swigobj->GetMapMode())
4184 static PyObject
*_wrap_wxDC_GetMapMode(PyObject
*self
, PyObject
*args
) {
4185 PyObject
* _resultobj
;
4191 if(!PyArg_ParseTuple(args
,"s:wxDC_GetMapMode",&_argc0
))
4194 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetMapMode. Expected _wxDC_p.");
4200 wxPy_BEGIN_ALLOW_THREADS
;
4201 _result
= (int )wxDC_GetMapMode(_arg0
);
4203 wxPy_END_ALLOW_THREADS
;
4204 } _resultobj
= Py_BuildValue("i",_result
);
4208 #define wxDC_GetOptimization(_swigobj) (_swigobj->GetOptimization())
4209 static PyObject
*_wrap_wxDC_GetOptimization(PyObject
*self
, PyObject
*args
) {
4210 PyObject
* _resultobj
;
4216 if(!PyArg_ParseTuple(args
,"s:wxDC_GetOptimization",&_argc0
))
4219 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetOptimization. Expected _wxDC_p.");
4225 wxPy_BEGIN_ALLOW_THREADS
;
4226 _result
= (bool )wxDC_GetOptimization(_arg0
);
4228 wxPy_END_ALLOW_THREADS
;
4229 } _resultobj
= Py_BuildValue("i",_result
);
4233 #define wxDC_GetPen(_swigobj) (_swigobj->GetPen())
4234 static PyObject
*_wrap_wxDC_GetPen(PyObject
*self
, PyObject
*args
) {
4235 PyObject
* _resultobj
;
4242 if(!PyArg_ParseTuple(args
,"s:wxDC_GetPen",&_argc0
))
4245 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPen. Expected _wxDC_p.");
4251 wxPy_BEGIN_ALLOW_THREADS
;
4252 wxPen
& _result_ref
= wxDC_GetPen(_arg0
);
4253 _result
= (wxPen
*) &_result_ref
;
4255 wxPy_END_ALLOW_THREADS
;
4256 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
4257 _resultobj
= Py_BuildValue("s",_ptemp
);
4261 static wxColour
* wxDC_GetPixel(wxDC
*self
,long x
,long y
) {
4262 wxColour
* wc
= new wxColour();
4263 self
->GetPixel(x
, y
, wc
);
4266 static PyObject
*_wrap_wxDC_GetPixel(PyObject
*self
, PyObject
*args
) {
4267 PyObject
* _resultobj
;
4276 if(!PyArg_ParseTuple(args
,"sll:wxDC_GetPixel",&_argc0
,&_arg1
,&_arg2
))
4279 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPixel. Expected _wxDC_p.");
4285 wxPy_BEGIN_ALLOW_THREADS
;
4286 _result
= (wxColour
*)wxDC_GetPixel(_arg0
,_arg1
,_arg2
);
4288 wxPy_END_ALLOW_THREADS
;
4289 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
4290 _resultobj
= Py_BuildValue("s",_ptemp
);
4294 #define wxDC_GetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
4295 static PyObject
*_wrap_wxDC_GetSize(PyObject
*self
, PyObject
*args
) {
4296 PyObject
* _resultobj
;
4311 if(!PyArg_ParseTuple(args
,"s:wxDC_GetSize",&_argc0
))
4314 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSize. Expected _wxDC_p.");
4320 wxPy_BEGIN_ALLOW_THREADS
;
4321 wxDC_GetSize(_arg0
,_arg1
,_arg2
);
4323 wxPy_END_ALLOW_THREADS
;
4324 } Py_INCREF(Py_None
);
4325 _resultobj
= Py_None
;
4328 o
= PyInt_FromLong((long) (*_arg1
));
4329 _resultobj
= t_output_helper(_resultobj
, o
);
4333 o
= PyInt_FromLong((long) (*_arg2
));
4334 _resultobj
= t_output_helper(_resultobj
, o
);
4339 #define wxDC_GetTextBackground(_swigobj) (_swigobj->GetTextBackground())
4340 static PyObject
*_wrap_wxDC_GetTextBackground(PyObject
*self
, PyObject
*args
) {
4341 PyObject
* _resultobj
;
4348 if(!PyArg_ParseTuple(args
,"s:wxDC_GetTextBackground",&_argc0
))
4351 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextBackground. Expected _wxDC_p.");
4357 wxPy_BEGIN_ALLOW_THREADS
;
4358 wxColour
& _result_ref
= wxDC_GetTextBackground(_arg0
);
4359 _result
= (wxColour
*) &_result_ref
;
4361 wxPy_END_ALLOW_THREADS
;
4362 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
4363 _resultobj
= Py_BuildValue("s",_ptemp
);
4367 #define wxDC_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
4368 static PyObject
*_wrap_wxDC_GetTextExtent(PyObject
*self
, PyObject
*args
) {
4369 PyObject
* _resultobj
;
4377 PyObject
* _obj1
= 0;
4386 if(!PyArg_ParseTuple(args
,"sO:wxDC_GetTextExtent",&_argc0
,&_obj1
))
4389 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextExtent. Expected _wxDC_p.");
4395 if (!PyString_Check(_obj1
)) {
4396 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4399 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4402 wxPy_BEGIN_ALLOW_THREADS
;
4403 wxDC_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
4405 wxPy_END_ALLOW_THREADS
;
4406 } Py_INCREF(Py_None
);
4407 _resultobj
= Py_None
;
4410 o
= PyInt_FromLong((long) (*_arg2
));
4411 _resultobj
= t_output_helper(_resultobj
, o
);
4415 o
= PyInt_FromLong((long) (*_arg3
));
4416 _resultobj
= t_output_helper(_resultobj
, o
);
4425 #define wxDC_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4426 static PyObject
*_wrap_wxDC_GetFullTextExtent(PyObject
*self
, PyObject
*args
) {
4427 PyObject
* _resultobj
;
4438 wxFont
* _arg6
= NULL
;
4440 PyObject
* _obj1
= 0;
4456 if(!PyArg_ParseTuple(args
,"sO|s:wxDC_GetFullTextExtent",&_argc0
,&_obj1
,&_argc6
))
4459 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFullTextExtent. Expected _wxDC_p.");
4465 if (!PyString_Check(_obj1
)) {
4466 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4469 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4472 if (SWIG_GetPtr(_argc6
,(void **) &_arg6
,"_wxFont_p")) {
4473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxDC_GetFullTextExtent. Expected _wxFont_p.");
4478 wxPy_BEGIN_ALLOW_THREADS
;
4479 wxDC_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4481 wxPy_END_ALLOW_THREADS
;
4482 } Py_INCREF(Py_None
);
4483 _resultobj
= Py_None
;
4486 o
= PyInt_FromLong((long) (*_arg2
));
4487 _resultobj
= t_output_helper(_resultobj
, o
);
4491 o
= PyInt_FromLong((long) (*_arg3
));
4492 _resultobj
= t_output_helper(_resultobj
, o
);
4496 o
= PyInt_FromLong((long) (*_arg4
));
4497 _resultobj
= t_output_helper(_resultobj
, o
);
4501 o
= PyInt_FromLong((long) (*_arg5
));
4502 _resultobj
= t_output_helper(_resultobj
, o
);
4511 #define wxDC_GetTextForeground(_swigobj) (_swigobj->GetTextForeground())
4512 static PyObject
*_wrap_wxDC_GetTextForeground(PyObject
*self
, PyObject
*args
) {
4513 PyObject
* _resultobj
;
4520 if(!PyArg_ParseTuple(args
,"s:wxDC_GetTextForeground",&_argc0
))
4523 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextForeground. Expected _wxDC_p.");
4529 wxPy_BEGIN_ALLOW_THREADS
;
4530 wxColour
& _result_ref
= wxDC_GetTextForeground(_arg0
);
4531 _result
= (wxColour
*) &_result_ref
;
4533 wxPy_END_ALLOW_THREADS
;
4534 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
4535 _resultobj
= Py_BuildValue("s",_ptemp
);
4539 #define wxDC_LogicalToDeviceX(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceX(_swigarg0))
4540 static PyObject
*_wrap_wxDC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
) {
4541 PyObject
* _resultobj
;
4548 if(!PyArg_ParseTuple(args
,"sl:wxDC_LogicalToDeviceX",&_argc0
,&_arg1
))
4551 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceX. Expected _wxDC_p.");
4557 wxPy_BEGIN_ALLOW_THREADS
;
4558 _result
= (long )wxDC_LogicalToDeviceX(_arg0
,_arg1
);
4560 wxPy_END_ALLOW_THREADS
;
4561 } _resultobj
= Py_BuildValue("l",_result
);
4565 #define wxDC_LogicalToDeviceXRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceXRel(_swigarg0))
4566 static PyObject
*_wrap_wxDC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
) {
4567 PyObject
* _resultobj
;
4574 if(!PyArg_ParseTuple(args
,"sl:wxDC_LogicalToDeviceXRel",&_argc0
,&_arg1
))
4577 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceXRel. Expected _wxDC_p.");
4583 wxPy_BEGIN_ALLOW_THREADS
;
4584 _result
= (long )wxDC_LogicalToDeviceXRel(_arg0
,_arg1
);
4586 wxPy_END_ALLOW_THREADS
;
4587 } _resultobj
= Py_BuildValue("l",_result
);
4591 #define wxDC_LogicalToDeviceY(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceY(_swigarg0))
4592 static PyObject
*_wrap_wxDC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
) {
4593 PyObject
* _resultobj
;
4600 if(!PyArg_ParseTuple(args
,"sl:wxDC_LogicalToDeviceY",&_argc0
,&_arg1
))
4603 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceY. Expected _wxDC_p.");
4609 wxPy_BEGIN_ALLOW_THREADS
;
4610 _result
= (long )wxDC_LogicalToDeviceY(_arg0
,_arg1
);
4612 wxPy_END_ALLOW_THREADS
;
4613 } _resultobj
= Py_BuildValue("l",_result
);
4617 #define wxDC_LogicalToDeviceYRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceYRel(_swigarg0))
4618 static PyObject
*_wrap_wxDC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
) {
4619 PyObject
* _resultobj
;
4626 if(!PyArg_ParseTuple(args
,"sl:wxDC_LogicalToDeviceYRel",&_argc0
,&_arg1
))
4629 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceYRel. Expected _wxDC_p.");
4635 wxPy_BEGIN_ALLOW_THREADS
;
4636 _result
= (long )wxDC_LogicalToDeviceYRel(_arg0
,_arg1
);
4638 wxPy_END_ALLOW_THREADS
;
4639 } _resultobj
= Py_BuildValue("l",_result
);
4643 #define wxDC_MaxX(_swigobj) (_swigobj->MaxX())
4644 static PyObject
*_wrap_wxDC_MaxX(PyObject
*self
, PyObject
*args
) {
4645 PyObject
* _resultobj
;
4651 if(!PyArg_ParseTuple(args
,"s:wxDC_MaxX",&_argc0
))
4654 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxX. Expected _wxDC_p.");
4660 wxPy_BEGIN_ALLOW_THREADS
;
4661 _result
= (long )wxDC_MaxX(_arg0
);
4663 wxPy_END_ALLOW_THREADS
;
4664 } _resultobj
= Py_BuildValue("l",_result
);
4668 #define wxDC_MaxY(_swigobj) (_swigobj->MaxY())
4669 static PyObject
*_wrap_wxDC_MaxY(PyObject
*self
, PyObject
*args
) {
4670 PyObject
* _resultobj
;
4676 if(!PyArg_ParseTuple(args
,"s:wxDC_MaxY",&_argc0
))
4679 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxY. Expected _wxDC_p.");
4685 wxPy_BEGIN_ALLOW_THREADS
;
4686 _result
= (long )wxDC_MaxY(_arg0
);
4688 wxPy_END_ALLOW_THREADS
;
4689 } _resultobj
= Py_BuildValue("l",_result
);
4693 #define wxDC_MinX(_swigobj) (_swigobj->MinX())
4694 static PyObject
*_wrap_wxDC_MinX(PyObject
*self
, PyObject
*args
) {
4695 PyObject
* _resultobj
;
4701 if(!PyArg_ParseTuple(args
,"s:wxDC_MinX",&_argc0
))
4704 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinX. Expected _wxDC_p.");
4710 wxPy_BEGIN_ALLOW_THREADS
;
4711 _result
= (long )wxDC_MinX(_arg0
);
4713 wxPy_END_ALLOW_THREADS
;
4714 } _resultobj
= Py_BuildValue("l",_result
);
4718 #define wxDC_MinY(_swigobj) (_swigobj->MinY())
4719 static PyObject
*_wrap_wxDC_MinY(PyObject
*self
, PyObject
*args
) {
4720 PyObject
* _resultobj
;
4726 if(!PyArg_ParseTuple(args
,"s:wxDC_MinY",&_argc0
))
4729 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinY. Expected _wxDC_p.");
4735 wxPy_BEGIN_ALLOW_THREADS
;
4736 _result
= (long )wxDC_MinY(_arg0
);
4738 wxPy_END_ALLOW_THREADS
;
4739 } _resultobj
= Py_BuildValue("l",_result
);
4743 #define wxDC_Ok(_swigobj) (_swigobj->Ok())
4744 static PyObject
*_wrap_wxDC_Ok(PyObject
*self
, PyObject
*args
) {
4745 PyObject
* _resultobj
;
4751 if(!PyArg_ParseTuple(args
,"s:wxDC_Ok",&_argc0
))
4754 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Ok. Expected _wxDC_p.");
4760 wxPy_BEGIN_ALLOW_THREADS
;
4761 _result
= (bool )wxDC_Ok(_arg0
);
4763 wxPy_END_ALLOW_THREADS
;
4764 } _resultobj
= Py_BuildValue("i",_result
);
4768 #define wxDC_SetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDeviceOrigin(_swigarg0,_swigarg1))
4769 static PyObject
*_wrap_wxDC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
) {
4770 PyObject
* _resultobj
;
4777 if(!PyArg_ParseTuple(args
,"sll:wxDC_SetDeviceOrigin",&_argc0
,&_arg1
,&_arg2
))
4780 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetDeviceOrigin. Expected _wxDC_p.");
4786 wxPy_BEGIN_ALLOW_THREADS
;
4787 wxDC_SetDeviceOrigin(_arg0
,_arg1
,_arg2
);
4789 wxPy_END_ALLOW_THREADS
;
4790 } Py_INCREF(Py_None
);
4791 _resultobj
= Py_None
;
4795 #define wxDC_SetBackground(_swigobj,_swigarg0) (_swigobj->SetBackground(_swigarg0))
4796 static PyObject
*_wrap_wxDC_SetBackground(PyObject
*self
, PyObject
*args
) {
4797 PyObject
* _resultobj
;
4804 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetBackground",&_argc0
,&_argc1
))
4807 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackground. Expected _wxDC_p.");
4813 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBrush_p")) {
4814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBackground. Expected _wxBrush_p.");
4819 wxPy_BEGIN_ALLOW_THREADS
;
4820 wxDC_SetBackground(_arg0
,*_arg1
);
4822 wxPy_END_ALLOW_THREADS
;
4823 } Py_INCREF(Py_None
);
4824 _resultobj
= Py_None
;
4828 #define wxDC_SetBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetBackgroundMode(_swigarg0))
4829 static PyObject
*_wrap_wxDC_SetBackgroundMode(PyObject
*self
, PyObject
*args
) {
4830 PyObject
* _resultobj
;
4836 if(!PyArg_ParseTuple(args
,"si:wxDC_SetBackgroundMode",&_argc0
,&_arg1
))
4839 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackgroundMode. Expected _wxDC_p.");
4845 wxPy_BEGIN_ALLOW_THREADS
;
4846 wxDC_SetBackgroundMode(_arg0
,_arg1
);
4848 wxPy_END_ALLOW_THREADS
;
4849 } Py_INCREF(Py_None
);
4850 _resultobj
= Py_None
;
4854 #define wxDC_SetClippingRegion(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetClippingRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4855 static PyObject
*_wrap_wxDC_SetClippingRegion(PyObject
*self
, PyObject
*args
) {
4856 PyObject
* _resultobj
;
4865 if(!PyArg_ParseTuple(args
,"sllll:wxDC_SetClippingRegion",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4868 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetClippingRegion. Expected _wxDC_p.");
4874 wxPy_BEGIN_ALLOW_THREADS
;
4875 wxDC_SetClippingRegion(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4877 wxPy_END_ALLOW_THREADS
;
4878 } Py_INCREF(Py_None
);
4879 _resultobj
= Py_None
;
4883 #define wxDC_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
4884 static PyObject
*_wrap_wxDC_SetPalette(PyObject
*self
, PyObject
*args
) {
4885 PyObject
* _resultobj
;
4892 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetPalette",&_argc0
,&_argc1
))
4895 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPalette. Expected _wxDC_p.");
4901 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPalette_p")) {
4902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPalette. Expected _wxPalette_p.");
4907 wxPy_BEGIN_ALLOW_THREADS
;
4908 wxDC_SetPalette(_arg0
,*_arg1
);
4910 wxPy_END_ALLOW_THREADS
;
4911 } Py_INCREF(Py_None
);
4912 _resultobj
= Py_None
;
4916 #define wxDC_SetBrush(_swigobj,_swigarg0) (_swigobj->SetBrush(_swigarg0))
4917 static PyObject
*_wrap_wxDC_SetBrush(PyObject
*self
, PyObject
*args
) {
4918 PyObject
* _resultobj
;
4925 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetBrush",&_argc0
,&_argc1
))
4928 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBrush. Expected _wxDC_p.");
4934 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBrush_p")) {
4935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBrush. Expected _wxBrush_p.");
4940 wxPy_BEGIN_ALLOW_THREADS
;
4941 wxDC_SetBrush(_arg0
,*_arg1
);
4943 wxPy_END_ALLOW_THREADS
;
4944 } Py_INCREF(Py_None
);
4945 _resultobj
= Py_None
;
4949 #define wxDC_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
4950 static PyObject
*_wrap_wxDC_SetFont(PyObject
*self
, PyObject
*args
) {
4951 PyObject
* _resultobj
;
4958 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetFont",&_argc0
,&_argc1
))
4961 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetFont. Expected _wxDC_p.");
4967 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxFont_p")) {
4968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetFont. Expected _wxFont_p.");
4973 wxPy_BEGIN_ALLOW_THREADS
;
4974 wxDC_SetFont(_arg0
,*_arg1
);
4976 wxPy_END_ALLOW_THREADS
;
4977 } Py_INCREF(Py_None
);
4978 _resultobj
= Py_None
;
4982 #define wxDC_SetLogicalFunction(_swigobj,_swigarg0) (_swigobj->SetLogicalFunction(_swigarg0))
4983 static PyObject
*_wrap_wxDC_SetLogicalFunction(PyObject
*self
, PyObject
*args
) {
4984 PyObject
* _resultobj
;
4990 if(!PyArg_ParseTuple(args
,"si:wxDC_SetLogicalFunction",&_argc0
,&_arg1
))
4993 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
4994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalFunction. Expected _wxDC_p.");
4999 wxPy_BEGIN_ALLOW_THREADS
;
5000 wxDC_SetLogicalFunction(_arg0
,_arg1
);
5002 wxPy_END_ALLOW_THREADS
;
5003 } Py_INCREF(Py_None
);
5004 _resultobj
= Py_None
;
5008 #define wxDC_SetMapMode(_swigobj,_swigarg0) (_swigobj->SetMapMode(_swigarg0))
5009 static PyObject
*_wrap_wxDC_SetMapMode(PyObject
*self
, PyObject
*args
) {
5010 PyObject
* _resultobj
;
5016 if(!PyArg_ParseTuple(args
,"si:wxDC_SetMapMode",&_argc0
,&_arg1
))
5019 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
5020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetMapMode. Expected _wxDC_p.");
5025 wxPy_BEGIN_ALLOW_THREADS
;
5026 wxDC_SetMapMode(_arg0
,_arg1
);
5028 wxPy_END_ALLOW_THREADS
;
5029 } Py_INCREF(Py_None
);
5030 _resultobj
= Py_None
;
5034 #define wxDC_SetOptimization(_swigobj,_swigarg0) (_swigobj->SetOptimization(_swigarg0))
5035 static PyObject
*_wrap_wxDC_SetOptimization(PyObject
*self
, PyObject
*args
) {
5036 PyObject
* _resultobj
;
5043 if(!PyArg_ParseTuple(args
,"si:wxDC_SetOptimization",&_argc0
,&tempbool1
))
5046 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
5047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetOptimization. Expected _wxDC_p.");
5051 _arg1
= (bool ) tempbool1
;
5053 wxPy_BEGIN_ALLOW_THREADS
;
5054 wxDC_SetOptimization(_arg0
,_arg1
);
5056 wxPy_END_ALLOW_THREADS
;
5057 } Py_INCREF(Py_None
);
5058 _resultobj
= Py_None
;
5062 #define wxDC_SetPen(_swigobj,_swigarg0) (_swigobj->SetPen(_swigarg0))
5063 static PyObject
*_wrap_wxDC_SetPen(PyObject
*self
, PyObject
*args
) {
5064 PyObject
* _resultobj
;
5071 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetPen",&_argc0
,&_argc1
))
5074 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
5075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPen. Expected _wxDC_p.");
5080 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPen_p")) {
5081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPen. Expected _wxPen_p.");
5086 wxPy_BEGIN_ALLOW_THREADS
;
5087 wxDC_SetPen(_arg0
,*_arg1
);
5089 wxPy_END_ALLOW_THREADS
;
5090 } Py_INCREF(Py_None
);
5091 _resultobj
= Py_None
;
5095 #define wxDC_SetTextBackground(_swigobj,_swigarg0) (_swigobj->SetTextBackground(_swigarg0))
5096 static PyObject
*_wrap_wxDC_SetTextBackground(PyObject
*self
, PyObject
*args
) {
5097 PyObject
* _resultobj
;
5104 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetTextBackground",&_argc0
,&_argc1
))
5107 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
5108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextBackground. Expected _wxDC_p.");
5113 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
5114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetTextBackground. Expected _wxColour_p.");
5119 wxPy_BEGIN_ALLOW_THREADS
;
5120 wxDC_SetTextBackground(_arg0
,*_arg1
);
5122 wxPy_END_ALLOW_THREADS
;
5123 } Py_INCREF(Py_None
);
5124 _resultobj
= Py_None
;
5128 #define wxDC_SetTextForeground(_swigobj,_swigarg0) (_swigobj->SetTextForeground(_swigarg0))
5129 static PyObject
*_wrap_wxDC_SetTextForeground(PyObject
*self
, PyObject
*args
) {
5130 PyObject
* _resultobj
;
5137 if(!PyArg_ParseTuple(args
,"ss:wxDC_SetTextForeground",&_argc0
,&_argc1
))
5140 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
5141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextForeground. Expected _wxDC_p.");
5146 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxColour_p")) {
5147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetTextForeground. Expected _wxColour_p.");
5152 wxPy_BEGIN_ALLOW_THREADS
;
5153 wxDC_SetTextForeground(_arg0
,*_arg1
);
5155 wxPy_END_ALLOW_THREADS
;
5156 } Py_INCREF(Py_None
);
5157 _resultobj
= Py_None
;
5161 #define wxDC_SetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetUserScale(_swigarg0,_swigarg1))
5162 static PyObject
*_wrap_wxDC_SetUserScale(PyObject
*self
, PyObject
*args
) {
5163 PyObject
* _resultobj
;
5170 if(!PyArg_ParseTuple(args
,"sdd:wxDC_SetUserScale",&_argc0
,&_arg1
,&_arg2
))
5173 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
5174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetUserScale. Expected _wxDC_p.");
5179 wxPy_BEGIN_ALLOW_THREADS
;
5180 wxDC_SetUserScale(_arg0
,_arg1
,_arg2
);
5182 wxPy_END_ALLOW_THREADS
;
5183 } Py_INCREF(Py_None
);
5184 _resultobj
= Py_None
;
5188 #define wxDC_StartDoc(_swigobj,_swigarg0) (_swigobj->StartDoc(_swigarg0))
5189 static PyObject
*_wrap_wxDC_StartDoc(PyObject
*self
, PyObject
*args
) {
5190 PyObject
* _resultobj
;
5195 PyObject
* _obj1
= 0;
5198 if(!PyArg_ParseTuple(args
,"sO:wxDC_StartDoc",&_argc0
,&_obj1
))
5201 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
5202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartDoc. Expected _wxDC_p.");
5207 if (!PyString_Check(_obj1
)) {
5208 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5211 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5214 wxPy_BEGIN_ALLOW_THREADS
;
5215 _result
= (bool )wxDC_StartDoc(_arg0
,*_arg1
);
5217 wxPy_END_ALLOW_THREADS
;
5218 } _resultobj
= Py_BuildValue("i",_result
);
5226 #define wxDC_StartPage(_swigobj) (_swigobj->StartPage())
5227 static PyObject
*_wrap_wxDC_StartPage(PyObject
*self
, PyObject
*args
) {
5228 PyObject
* _resultobj
;
5233 if(!PyArg_ParseTuple(args
,"s:wxDC_StartPage",&_argc0
))
5236 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
5237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartPage. Expected _wxDC_p.");
5242 wxPy_BEGIN_ALLOW_THREADS
;
5243 wxDC_StartPage(_arg0
);
5245 wxPy_END_ALLOW_THREADS
;
5246 } Py_INCREF(Py_None
);
5247 _resultobj
= Py_None
;
5251 static void wxDC_DrawBitmap(wxDC
*self
,wxBitmap
& bitmap
,long x
,long y
,bool swapPalette
) {
5252 wxMemoryDC
* memDC
= new wxMemoryDC
;
5253 memDC
->SelectObject(bitmap
);
5255 self
->SetPalette(*bitmap
.GetPalette());
5256 self
->Blit(x
, y
, bitmap
.GetWidth(), bitmap
.GetHeight(), memDC
,
5257 0, 0, self
->GetLogicalFunction());
5258 memDC
->SelectObject(wxNullBitmap
);
5261 static PyObject
*_wrap_wxDC_DrawBitmap(PyObject
*self
, PyObject
*args
) {
5262 PyObject
* _resultobj
;
5273 if(!PyArg_ParseTuple(args
,"ssll|i:wxDC_DrawBitmap",&_argc0
,&_argc1
,&_arg2
,&_arg3
,&tempbool4
))
5276 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxDC_p")) {
5277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawBitmap. Expected _wxDC_p.");
5282 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBitmap_p")) {
5283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawBitmap. Expected _wxBitmap_p.");
5287 _arg4
= (bool ) tempbool4
;
5289 wxPy_BEGIN_ALLOW_THREADS
;
5290 wxDC_DrawBitmap(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
5292 wxPy_END_ALLOW_THREADS
;
5293 } Py_INCREF(Py_None
);
5294 _resultobj
= Py_None
;
5298 static void *SwigwxMemoryDCTowxDC(void *ptr
) {
5301 src
= (wxMemoryDC
*) ptr
;
5302 dest
= (wxDC
*) src
;
5303 return (void *) dest
;
5306 #define new_wxMemoryDC() (new wxMemoryDC())
5307 static PyObject
*_wrap_new_wxMemoryDC(PyObject
*self
, PyObject
*args
) {
5308 PyObject
* _resultobj
;
5309 wxMemoryDC
* _result
;
5313 if(!PyArg_ParseTuple(args
,":new_wxMemoryDC"))
5316 wxPy_BEGIN_ALLOW_THREADS
;
5317 _result
= (wxMemoryDC
*)new_wxMemoryDC();
5319 wxPy_END_ALLOW_THREADS
;
5320 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
5321 _resultobj
= Py_BuildValue("s",_ptemp
);
5325 #define wxMemoryDC_SelectObject(_swigobj,_swigarg0) (_swigobj->SelectObject(_swigarg0))
5326 static PyObject
*_wrap_wxMemoryDC_SelectObject(PyObject
*self
, PyObject
*args
) {
5327 PyObject
* _resultobj
;
5334 if(!PyArg_ParseTuple(args
,"ss:wxMemoryDC_SelectObject",&_argc0
,&_argc1
))
5337 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMemoryDC_p")) {
5338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDC_SelectObject. Expected _wxMemoryDC_p.");
5343 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBitmap_p")) {
5344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMemoryDC_SelectObject. Expected _wxBitmap_p.");
5349 wxPy_BEGIN_ALLOW_THREADS
;
5350 wxMemoryDC_SelectObject(_arg0
,*_arg1
);
5352 wxPy_END_ALLOW_THREADS
;
5353 } Py_INCREF(Py_None
);
5354 _resultobj
= Py_None
;
5358 static void *SwigwxScreenDCTowxDC(void *ptr
) {
5361 src
= (wxScreenDC
*) ptr
;
5362 dest
= (wxDC
*) src
;
5363 return (void *) dest
;
5366 #define new_wxScreenDC() (new wxScreenDC())
5367 static PyObject
*_wrap_new_wxScreenDC(PyObject
*self
, PyObject
*args
) {
5368 PyObject
* _resultobj
;
5369 wxScreenDC
* _result
;
5373 if(!PyArg_ParseTuple(args
,":new_wxScreenDC"))
5376 wxPy_BEGIN_ALLOW_THREADS
;
5377 _result
= (wxScreenDC
*)new_wxScreenDC();
5379 wxPy_END_ALLOW_THREADS
;
5380 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScreenDC_p");
5381 _resultobj
= Py_BuildValue("s",_ptemp
);
5385 #define wxScreenDC_StartDrawingOnTop(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
5386 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
) {
5387 PyObject
* _resultobj
;
5395 if(!PyArg_ParseTuple(args
,"ss:wxScreenDC_StartDrawingOnTop",&_argc0
,&_argc1
))
5398 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScreenDC_p")) {
5399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTop. Expected _wxScreenDC_p.");
5404 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
5405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScreenDC_StartDrawingOnTop. Expected _wxWindow_p.");
5410 wxPy_BEGIN_ALLOW_THREADS
;
5411 _result
= (bool )wxScreenDC_StartDrawingOnTop(_arg0
,_arg1
);
5413 wxPy_END_ALLOW_THREADS
;
5414 } _resultobj
= Py_BuildValue("i",_result
);
5418 #define wxScreenDC_StartDrawingOnTopRect(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
5419 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTopRect(PyObject
*self
, PyObject
*args
) {
5420 PyObject
* _resultobj
;
5423 wxRect
* _arg1
= NULL
;
5428 if(!PyArg_ParseTuple(args
,"s|s:wxScreenDC_StartDrawingOnTopRect",&_argc0
,&_argc1
))
5431 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScreenDC_p")) {
5432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTopRect. Expected _wxScreenDC_p.");
5437 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxRect_p")) {
5438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScreenDC_StartDrawingOnTopRect. Expected _wxRect_p.");
5443 wxPy_BEGIN_ALLOW_THREADS
;
5444 _result
= (bool )wxScreenDC_StartDrawingOnTopRect(_arg0
,_arg1
);
5446 wxPy_END_ALLOW_THREADS
;
5447 } _resultobj
= Py_BuildValue("i",_result
);
5451 #define wxScreenDC_EndDrawingOnTop(_swigobj) (_swigobj->EndDrawingOnTop())
5452 static PyObject
*_wrap_wxScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
) {
5453 PyObject
* _resultobj
;
5459 if(!PyArg_ParseTuple(args
,"s:wxScreenDC_EndDrawingOnTop",&_argc0
))
5462 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxScreenDC_p")) {
5463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_EndDrawingOnTop. Expected _wxScreenDC_p.");
5468 wxPy_BEGIN_ALLOW_THREADS
;
5469 _result
= (bool )wxScreenDC_EndDrawingOnTop(_arg0
);
5471 wxPy_END_ALLOW_THREADS
;
5472 } _resultobj
= Py_BuildValue("i",_result
);
5476 static void *SwigwxClientDCTowxDC(void *ptr
) {
5479 src
= (wxClientDC
*) ptr
;
5480 dest
= (wxDC
*) src
;
5481 return (void *) dest
;
5484 #define new_wxClientDC(_swigarg0) (new wxClientDC(_swigarg0))
5485 static PyObject
*_wrap_new_wxClientDC(PyObject
*self
, PyObject
*args
) {
5486 PyObject
* _resultobj
;
5487 wxClientDC
* _result
;
5493 if(!PyArg_ParseTuple(args
,"s:new_wxClientDC",&_argc0
))
5496 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
5497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxClientDC. Expected _wxWindow_p.");
5502 wxPy_BEGIN_ALLOW_THREADS
;
5503 _result
= (wxClientDC
*)new_wxClientDC(_arg0
);
5505 wxPy_END_ALLOW_THREADS
;
5506 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxClientDC_p");
5507 _resultobj
= Py_BuildValue("s",_ptemp
);
5511 static void *SwigwxPaintDCTowxDC(void *ptr
) {
5514 src
= (wxPaintDC
*) ptr
;
5515 dest
= (wxDC
*) src
;
5516 return (void *) dest
;
5519 #define new_wxPaintDC(_swigarg0) (new wxPaintDC(_swigarg0))
5520 static PyObject
*_wrap_new_wxPaintDC(PyObject
*self
, PyObject
*args
) {
5521 PyObject
* _resultobj
;
5522 wxPaintDC
* _result
;
5528 if(!PyArg_ParseTuple(args
,"s:new_wxPaintDC",&_argc0
))
5531 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
5532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPaintDC. Expected _wxWindow_p.");
5537 wxPy_BEGIN_ALLOW_THREADS
;
5538 _result
= (wxPaintDC
*)new_wxPaintDC(_arg0
);
5540 wxPy_END_ALLOW_THREADS
;
5541 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPaintDC_p");
5542 _resultobj
= Py_BuildValue("s",_ptemp
);
5546 static void *SwigwxWindowDCTowxDC(void *ptr
) {
5549 src
= (wxWindowDC
*) ptr
;
5550 dest
= (wxDC
*) src
;
5551 return (void *) dest
;
5554 #define new_wxWindowDC(_swigarg0) (new wxWindowDC(_swigarg0))
5555 static PyObject
*_wrap_new_wxWindowDC(PyObject
*self
, PyObject
*args
) {
5556 PyObject
* _resultobj
;
5557 wxWindowDC
* _result
;
5563 if(!PyArg_ParseTuple(args
,"s:new_wxWindowDC",&_argc0
))
5566 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
5567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDC. Expected _wxWindow_p.");
5572 wxPy_BEGIN_ALLOW_THREADS
;
5573 _result
= (wxWindowDC
*)new_wxWindowDC(_arg0
);
5575 wxPy_END_ALLOW_THREADS
;
5576 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDC_p");
5577 _resultobj
= Py_BuildValue("s",_ptemp
);
5581 static void *SwigwxPrinterDCTowxDC(void *ptr
) {
5584 src
= (wxPrinterDC
*) ptr
;
5585 dest
= (wxDC
*) src
;
5586 return (void *) dest
;
5589 #define new_wxPrinterDC(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxPrinterDC(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5590 static PyObject
*_wrap_new_wxPrinterDC(PyObject
*self
, PyObject
*args
) {
5591 PyObject
* _resultobj
;
5592 wxPrinterDC
* _result
;
5597 int _arg4
= (wxPORTRAIT
);
5598 PyObject
* _obj0
= 0;
5599 PyObject
* _obj1
= 0;
5600 PyObject
* _obj2
= 0;
5605 if(!PyArg_ParseTuple(args
,"OOO|ii:new_wxPrinterDC",&_obj0
,&_obj1
,&_obj2
,&tempbool3
,&_arg4
))
5608 if (!PyString_Check(_obj0
)) {
5609 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5612 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
5615 if (!PyString_Check(_obj1
)) {
5616 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5619 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5622 if (!PyString_Check(_obj2
)) {
5623 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5626 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5628 _arg3
= (bool ) tempbool3
;
5630 wxPy_BEGIN_ALLOW_THREADS
;
5631 _result
= (wxPrinterDC
*)new_wxPrinterDC(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
5633 wxPy_END_ALLOW_THREADS
;
5634 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrinterDC_p");
5635 _resultobj
= Py_BuildValue("s",_ptemp
);
5651 static void *SwigwxMetaFileDCTowxDC(void *ptr
) {
5654 src
= (wxMetaFileDC
*) ptr
;
5655 dest
= (wxDC
*) src
;
5656 return (void *) dest
;
5659 #define new_wxMetaFileDC(_swigarg0) (new wxMetaFileDC(_swigarg0))
5660 static PyObject
*_wrap_new_wxMetaFileDC(PyObject
*self
, PyObject
*args
) {
5661 PyObject
* _resultobj
;
5662 wxMetaFileDC
* _result
;
5663 wxString
* _arg0
= &wxPyEmptyStr
;
5664 PyObject
* _obj0
= 0;
5668 if(!PyArg_ParseTuple(args
,"|O:new_wxMetaFileDC",&_obj0
))
5672 if (!PyString_Check(_obj0
)) {
5673 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5676 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
5679 wxPy_BEGIN_ALLOW_THREADS
;
5680 _result
= (wxMetaFileDC
*)new_wxMetaFileDC(*_arg0
);
5682 wxPy_END_ALLOW_THREADS
;
5683 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMetaFileDC_p");
5684 _resultobj
= Py_BuildValue("s",_ptemp
);
5692 #define wxMetaFileDC_Close(_swigobj) (_swigobj->Close())
5693 static PyObject
*_wrap_wxMetaFileDC_Close(PyObject
*self
, PyObject
*args
) {
5694 PyObject
* _resultobj
;
5695 wxMetaFile
* _result
;
5696 wxMetaFileDC
* _arg0
;
5701 if(!PyArg_ParseTuple(args
,"s:wxMetaFileDC_Close",&_argc0
))
5704 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMetaFileDC_p")) {
5705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMetaFileDC_Close. Expected _wxMetaFileDC_p.");
5710 wxPy_BEGIN_ALLOW_THREADS
;
5711 _result
= (wxMetaFile
*)wxMetaFileDC_Close(_arg0
);
5713 wxPy_END_ALLOW_THREADS
;
5714 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMetaFile_p");
5715 _resultobj
= Py_BuildValue("s",_ptemp
);
5719 #define new_wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5720 static PyObject
*_wrap_new_wxPalette(PyObject
*self
, PyObject
*args
) {
5721 PyObject
* _resultobj
;
5722 wxPalette
* _result
;
5727 PyObject
* _obj1
= 0;
5728 PyObject
* _obj2
= 0;
5729 PyObject
* _obj3
= 0;
5733 if(!PyArg_ParseTuple(args
,"OOO:new_wxPalette",&_obj1
,&_obj2
,&_obj3
))
5736 _arg1
= byte_LIST_helper(_obj1
);
5737 if (_arg1
== NULL
) {
5742 _arg2
= byte_LIST_helper(_obj2
);
5743 if (_arg2
== NULL
) {
5749 _arg3
= byte_LIST_helper(_obj3
);
5750 if (_arg3
== NULL
) {
5756 _arg0
= PyList_Size(_obj1
);
5763 wxPy_BEGIN_ALLOW_THREADS
;
5764 _result
= (wxPalette
*)new_wxPalette(_arg0
,_arg1
,_arg2
,_arg3
);
5766 wxPy_END_ALLOW_THREADS
;
5767 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
5768 _resultobj
= Py_BuildValue("s",_ptemp
);
5781 #define delete_wxPalette(_swigobj) (delete _swigobj)
5782 static PyObject
*_wrap_delete_wxPalette(PyObject
*self
, PyObject
*args
) {
5783 PyObject
* _resultobj
;
5788 if(!PyArg_ParseTuple(args
,"s:delete_wxPalette",&_argc0
))
5791 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPalette_p")) {
5792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPalette. Expected _wxPalette_p.");
5797 wxPy_BEGIN_ALLOW_THREADS
;
5798 delete_wxPalette(_arg0
);
5800 wxPy_END_ALLOW_THREADS
;
5801 } Py_INCREF(Py_None
);
5802 _resultobj
= Py_None
;
5806 #define wxPalette_GetPixel(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetPixel(_swigarg0,_swigarg1,_swigarg2))
5807 static PyObject
*_wrap_wxPalette_GetPixel(PyObject
*self
, PyObject
*args
) {
5808 PyObject
* _resultobj
;
5817 if(!PyArg_ParseTuple(args
,"sbbb:wxPalette_GetPixel",&_argc0
,&_arg1
,&_arg2
,&_arg3
))
5820 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPalette_p")) {
5821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetPixel. Expected _wxPalette_p.");
5826 wxPy_BEGIN_ALLOW_THREADS
;
5827 _result
= (int )wxPalette_GetPixel(_arg0
,_arg1
,_arg2
,_arg3
);
5829 wxPy_END_ALLOW_THREADS
;
5830 } _resultobj
= Py_BuildValue("i",_result
);
5834 #define wxPalette_GetRGB(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetRGB(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5835 static PyObject
*_wrap_wxPalette_GetRGB(PyObject
*self
, PyObject
*args
) {
5836 PyObject
* _resultobj
;
5849 if(!PyArg_ParseTuple(args
,"sisss:wxPalette_GetRGB",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_argc4
))
5852 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPalette_p")) {
5853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetRGB. Expected _wxPalette_p.");
5858 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_byte_p")) {
5859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPalette_GetRGB. Expected _byte_p.");
5864 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_byte_p")) {
5865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxPalette_GetRGB. Expected _byte_p.");
5870 if (SWIG_GetPtr(_argc4
,(void **) &_arg4
,"_byte_p")) {
5871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxPalette_GetRGB. Expected _byte_p.");
5876 wxPy_BEGIN_ALLOW_THREADS
;
5877 _result
= (bool )wxPalette_GetRGB(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5879 wxPy_END_ALLOW_THREADS
;
5880 } _resultobj
= Py_BuildValue("i",_result
);
5884 #define wxPalette_Ok(_swigobj) (_swigobj->Ok())
5885 static PyObject
*_wrap_wxPalette_Ok(PyObject
*self
, PyObject
*args
) {
5886 PyObject
* _resultobj
;
5892 if(!PyArg_ParseTuple(args
,"s:wxPalette_Ok",&_argc0
))
5895 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPalette_p")) {
5896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_Ok. Expected _wxPalette_p.");
5901 wxPy_BEGIN_ALLOW_THREADS
;
5902 _result
= (bool )wxPalette_Ok(_arg0
);
5904 wxPy_END_ALLOW_THREADS
;
5905 } _resultobj
= Py_BuildValue("i",_result
);
5909 #define new_wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5910 static PyObject
*_wrap_new_wxImageList(PyObject
*self
, PyObject
*args
) {
5911 PyObject
* _resultobj
;
5912 wxImageList
* _result
;
5921 if(!PyArg_ParseTuple(args
,"ii|ii:new_wxImageList",&_arg0
,&_arg1
,&tempbool2
,&_arg3
))
5923 _arg2
= (bool ) tempbool2
;
5925 wxPy_BEGIN_ALLOW_THREADS
;
5926 _result
= (wxImageList
*)new_wxImageList(_arg0
,_arg1
,_arg2
,_arg3
);
5928 wxPy_END_ALLOW_THREADS
;
5929 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
5930 _resultobj
= Py_BuildValue("s",_ptemp
);
5934 #define delete_wxImageList(_swigobj) (delete _swigobj)
5935 static PyObject
*_wrap_delete_wxImageList(PyObject
*self
, PyObject
*args
) {
5936 PyObject
* _resultobj
;
5937 wxImageList
* _arg0
;
5941 if(!PyArg_ParseTuple(args
,"s:delete_wxImageList",&_argc0
))
5944 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImageList_p")) {
5945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxImageList. Expected _wxImageList_p.");
5950 wxPy_BEGIN_ALLOW_THREADS
;
5951 delete_wxImageList(_arg0
);
5953 wxPy_END_ALLOW_THREADS
;
5954 } Py_INCREF(Py_None
);
5955 _resultobj
= Py_None
;
5959 #define wxImageList_Add(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
5960 static PyObject
*_wrap_wxImageList_Add(PyObject
*self
, PyObject
*args
) {
5961 PyObject
* _resultobj
;
5963 wxImageList
* _arg0
;
5965 wxBitmap
* _arg2
= &wxNullBitmap
;
5971 if(!PyArg_ParseTuple(args
,"ss|s:wxImageList_Add",&_argc0
,&_argc1
,&_argc2
))
5974 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImageList_p")) {
5975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Add. Expected _wxImageList_p.");
5980 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBitmap_p")) {
5981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_Add. Expected _wxBitmap_p.");
5986 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxBitmap_p")) {
5987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Add. Expected _wxBitmap_p.");
5992 wxPy_BEGIN_ALLOW_THREADS
;
5993 _result
= (int )wxImageList_Add(_arg0
,*_arg1
,*_arg2
);
5995 wxPy_END_ALLOW_THREADS
;
5996 } _resultobj
= Py_BuildValue("i",_result
);
6000 #define wxImageList_AddWithColourMask(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
6001 static PyObject
*_wrap_wxImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
) {
6002 PyObject
* _resultobj
;
6004 wxImageList
* _arg0
;
6012 if(!PyArg_ParseTuple(args
,"sss:wxImageList_AddWithColourMask",&_argc0
,&_argc1
,&_argc2
))
6015 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImageList_p")) {
6016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_AddWithColourMask. Expected _wxImageList_p.");
6021 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBitmap_p")) {
6022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_AddWithColourMask. Expected _wxBitmap_p.");
6027 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxColour_p")) {
6028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_AddWithColourMask. Expected _wxColour_p.");
6033 wxPy_BEGIN_ALLOW_THREADS
;
6034 _result
= (int )wxImageList_AddWithColourMask(_arg0
,*_arg1
,*_arg2
);
6036 wxPy_END_ALLOW_THREADS
;
6037 } _resultobj
= Py_BuildValue("i",_result
);
6041 #define wxImageList_AddIcon(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
6042 static PyObject
*_wrap_wxImageList_AddIcon(PyObject
*self
, PyObject
*args
) {
6043 PyObject
* _resultobj
;
6045 wxImageList
* _arg0
;
6051 if(!PyArg_ParseTuple(args
,"ss:wxImageList_AddIcon",&_argc0
,&_argc1
))
6054 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImageList_p")) {
6055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_AddIcon. Expected _wxImageList_p.");
6060 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxIcon_p")) {
6061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_AddIcon. Expected _wxIcon_p.");
6066 wxPy_BEGIN_ALLOW_THREADS
;
6067 _result
= (int )wxImageList_AddIcon(_arg0
,*_arg1
);
6069 wxPy_END_ALLOW_THREADS
;
6070 } _resultobj
= Py_BuildValue("i",_result
);
6074 #define wxImageList_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
6075 static PyObject
*_wrap_wxImageList_Replace(PyObject
*self
, PyObject
*args
) {
6076 PyObject
* _resultobj
;
6078 wxImageList
* _arg0
;
6081 wxBitmap
* _arg3
= &wxNullBitmap
;
6087 if(!PyArg_ParseTuple(args
,"sis|s:wxImageList_Replace",&_argc0
,&_arg1
,&_argc2
,&_argc3
))
6090 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImageList_p")) {
6091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Replace. Expected _wxImageList_p.");
6096 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxBitmap_p")) {
6097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Replace. Expected _wxBitmap_p.");
6102 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxBitmap_p")) {
6103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxImageList_Replace. Expected _wxBitmap_p.");
6108 wxPy_BEGIN_ALLOW_THREADS
;
6109 _result
= (bool )wxImageList_Replace(_arg0
,_arg1
,*_arg2
,*_arg3
);
6111 wxPy_END_ALLOW_THREADS
;
6112 } _resultobj
= Py_BuildValue("i",_result
);
6116 #define wxImageList_ReplaceIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->Replace(_swigarg0,_swigarg1))
6117 static PyObject
*_wrap_wxImageList_ReplaceIcon(PyObject
*self
, PyObject
*args
) {
6118 PyObject
* _resultobj
;
6120 wxImageList
* _arg0
;
6127 if(!PyArg_ParseTuple(args
,"sis:wxImageList_ReplaceIcon",&_argc0
,&_arg1
,&_argc2
))
6130 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImageList_p")) {
6131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_ReplaceIcon. Expected _wxImageList_p.");
6136 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxIcon_p")) {
6137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_ReplaceIcon. Expected _wxIcon_p.");
6142 wxPy_BEGIN_ALLOW_THREADS
;
6143 _result
= (bool )wxImageList_ReplaceIcon(_arg0
,_arg1
,*_arg2
);
6145 wxPy_END_ALLOW_THREADS
;
6146 } _resultobj
= Py_BuildValue("i",_result
);
6150 #define wxImageList_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6151 static PyObject
*_wrap_wxImageList_Draw(PyObject
*self
, PyObject
*args
) {
6152 PyObject
* _resultobj
;
6154 wxImageList
* _arg0
;
6159 int _arg5
= (wxIMAGELIST_DRAW_NORMAL
);
6166 if(!PyArg_ParseTuple(args
,"sisii|ii:wxImageList_Draw",&_argc0
,&_arg1
,&_argc2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
6169 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImageList_p")) {
6170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Draw. Expected _wxImageList_p.");
6175 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxDC_p")) {
6176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Draw. Expected _wxDC_p.");
6180 _arg6
= (bool ) tempbool6
;
6182 wxPy_BEGIN_ALLOW_THREADS
;
6183 _result
= (bool )wxImageList_Draw(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
6185 wxPy_END_ALLOW_THREADS
;
6186 } _resultobj
= Py_BuildValue("i",_result
);
6190 #define wxImageList_GetImageCount(_swigobj) (_swigobj->GetImageCount())
6191 static PyObject
*_wrap_wxImageList_GetImageCount(PyObject
*self
, PyObject
*args
) {
6192 PyObject
* _resultobj
;
6194 wxImageList
* _arg0
;
6198 if(!PyArg_ParseTuple(args
,"s:wxImageList_GetImageCount",&_argc0
))
6201 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImageList_p")) {
6202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_GetImageCount. Expected _wxImageList_p.");
6207 wxPy_BEGIN_ALLOW_THREADS
;
6208 _result
= (int )wxImageList_GetImageCount(_arg0
);
6210 wxPy_END_ALLOW_THREADS
;
6211 } _resultobj
= Py_BuildValue("i",_result
);
6215 #define wxImageList_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
6216 static PyObject
*_wrap_wxImageList_Remove(PyObject
*self
, PyObject
*args
) {
6217 PyObject
* _resultobj
;
6219 wxImageList
* _arg0
;
6224 if(!PyArg_ParseTuple(args
,"si:wxImageList_Remove",&_argc0
,&_arg1
))
6227 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImageList_p")) {
6228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Remove. Expected _wxImageList_p.");
6233 wxPy_BEGIN_ALLOW_THREADS
;
6234 _result
= (bool )wxImageList_Remove(_arg0
,_arg1
);
6236 wxPy_END_ALLOW_THREADS
;
6237 } _resultobj
= Py_BuildValue("i",_result
);
6241 #define wxImageList_RemoveAll(_swigobj) (_swigobj->RemoveAll())
6242 static PyObject
*_wrap_wxImageList_RemoveAll(PyObject
*self
, PyObject
*args
) {
6243 PyObject
* _resultobj
;
6245 wxImageList
* _arg0
;
6249 if(!PyArg_ParseTuple(args
,"s:wxImageList_RemoveAll",&_argc0
))
6252 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImageList_p")) {
6253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_RemoveAll. Expected _wxImageList_p.");
6258 wxPy_BEGIN_ALLOW_THREADS
;
6259 _result
= (bool )wxImageList_RemoveAll(_arg0
);
6261 wxPy_END_ALLOW_THREADS
;
6262 } _resultobj
= Py_BuildValue("i",_result
);
6266 static PyMethodDef gdicMethods
[] = {
6267 { "wxImageList_RemoveAll", _wrap_wxImageList_RemoveAll
, 1 },
6268 { "wxImageList_Remove", _wrap_wxImageList_Remove
, 1 },
6269 { "wxImageList_GetImageCount", _wrap_wxImageList_GetImageCount
, 1 },
6270 { "wxImageList_Draw", _wrap_wxImageList_Draw
, 1 },
6271 { "wxImageList_ReplaceIcon", _wrap_wxImageList_ReplaceIcon
, 1 },
6272 { "wxImageList_Replace", _wrap_wxImageList_Replace
, 1 },
6273 { "wxImageList_AddIcon", _wrap_wxImageList_AddIcon
, 1 },
6274 { "wxImageList_AddWithColourMask", _wrap_wxImageList_AddWithColourMask
, 1 },
6275 { "wxImageList_Add", _wrap_wxImageList_Add
, 1 },
6276 { "delete_wxImageList", _wrap_delete_wxImageList
, 1 },
6277 { "new_wxImageList", _wrap_new_wxImageList
, 1 },
6278 { "wxPalette_Ok", _wrap_wxPalette_Ok
, 1 },
6279 { "wxPalette_GetRGB", _wrap_wxPalette_GetRGB
, 1 },
6280 { "wxPalette_GetPixel", _wrap_wxPalette_GetPixel
, 1 },
6281 { "delete_wxPalette", _wrap_delete_wxPalette
, 1 },
6282 { "new_wxPalette", _wrap_new_wxPalette
, 1 },
6283 { "wxMetaFileDC_Close", _wrap_wxMetaFileDC_Close
, 1 },
6284 { "new_wxMetaFileDC", _wrap_new_wxMetaFileDC
, 1 },
6285 { "new_wxPrinterDC", _wrap_new_wxPrinterDC
, 1 },
6286 { "new_wxWindowDC", _wrap_new_wxWindowDC
, 1 },
6287 { "new_wxPaintDC", _wrap_new_wxPaintDC
, 1 },
6288 { "new_wxClientDC", _wrap_new_wxClientDC
, 1 },
6289 { "wxScreenDC_EndDrawingOnTop", _wrap_wxScreenDC_EndDrawingOnTop
, 1 },
6290 { "wxScreenDC_StartDrawingOnTopRect", _wrap_wxScreenDC_StartDrawingOnTopRect
, 1 },
6291 { "wxScreenDC_StartDrawingOnTop", _wrap_wxScreenDC_StartDrawingOnTop
, 1 },
6292 { "new_wxScreenDC", _wrap_new_wxScreenDC
, 1 },
6293 { "wxMemoryDC_SelectObject", _wrap_wxMemoryDC_SelectObject
, 1 },
6294 { "new_wxMemoryDC", _wrap_new_wxMemoryDC
, 1 },
6295 { "wxDC_DrawBitmap", _wrap_wxDC_DrawBitmap
, 1 },
6296 { "wxDC_StartPage", _wrap_wxDC_StartPage
, 1 },
6297 { "wxDC_StartDoc", _wrap_wxDC_StartDoc
, 1 },
6298 { "wxDC_SetUserScale", _wrap_wxDC_SetUserScale
, 1 },
6299 { "wxDC_SetTextForeground", _wrap_wxDC_SetTextForeground
, 1 },
6300 { "wxDC_SetTextBackground", _wrap_wxDC_SetTextBackground
, 1 },
6301 { "wxDC_SetPen", _wrap_wxDC_SetPen
, 1 },
6302 { "wxDC_SetOptimization", _wrap_wxDC_SetOptimization
, 1 },
6303 { "wxDC_SetMapMode", _wrap_wxDC_SetMapMode
, 1 },
6304 { "wxDC_SetLogicalFunction", _wrap_wxDC_SetLogicalFunction
, 1 },
6305 { "wxDC_SetFont", _wrap_wxDC_SetFont
, 1 },
6306 { "wxDC_SetBrush", _wrap_wxDC_SetBrush
, 1 },
6307 { "wxDC_SetPalette", _wrap_wxDC_SetPalette
, 1 },
6308 { "wxDC_SetClippingRegion", _wrap_wxDC_SetClippingRegion
, 1 },
6309 { "wxDC_SetBackgroundMode", _wrap_wxDC_SetBackgroundMode
, 1 },
6310 { "wxDC_SetBackground", _wrap_wxDC_SetBackground
, 1 },
6311 { "wxDC_SetDeviceOrigin", _wrap_wxDC_SetDeviceOrigin
, 1 },
6312 { "wxDC_Ok", _wrap_wxDC_Ok
, 1 },
6313 { "wxDC_MinY", _wrap_wxDC_MinY
, 1 },
6314 { "wxDC_MinX", _wrap_wxDC_MinX
, 1 },
6315 { "wxDC_MaxY", _wrap_wxDC_MaxY
, 1 },
6316 { "wxDC_MaxX", _wrap_wxDC_MaxX
, 1 },
6317 { "wxDC_LogicalToDeviceYRel", _wrap_wxDC_LogicalToDeviceYRel
, 1 },
6318 { "wxDC_LogicalToDeviceY", _wrap_wxDC_LogicalToDeviceY
, 1 },
6319 { "wxDC_LogicalToDeviceXRel", _wrap_wxDC_LogicalToDeviceXRel
, 1 },
6320 { "wxDC_LogicalToDeviceX", _wrap_wxDC_LogicalToDeviceX
, 1 },
6321 { "wxDC_GetTextForeground", _wrap_wxDC_GetTextForeground
, 1 },
6322 { "wxDC_GetFullTextExtent", _wrap_wxDC_GetFullTextExtent
, 1 },
6323 { "wxDC_GetTextExtent", _wrap_wxDC_GetTextExtent
, 1 },
6324 { "wxDC_GetTextBackground", _wrap_wxDC_GetTextBackground
, 1 },
6325 { "wxDC_GetSize", _wrap_wxDC_GetSize
, 1 },
6326 { "wxDC_GetPixel", _wrap_wxDC_GetPixel
, 1 },
6327 { "wxDC_GetPen", _wrap_wxDC_GetPen
, 1 },
6328 { "wxDC_GetOptimization", _wrap_wxDC_GetOptimization
, 1 },
6329 { "wxDC_GetMapMode", _wrap_wxDC_GetMapMode
, 1 },
6330 { "wxDC_GetLogicalFunction", _wrap_wxDC_GetLogicalFunction
, 1 },
6331 { "wxDC_GetFont", _wrap_wxDC_GetFont
, 1 },
6332 { "wxDC_GetClippingBox", _wrap_wxDC_GetClippingBox
, 1 },
6333 { "wxDC_GetCharWidth", _wrap_wxDC_GetCharWidth
, 1 },
6334 { "wxDC_GetCharHeight", _wrap_wxDC_GetCharHeight
, 1 },
6335 { "wxDC_GetBrush", _wrap_wxDC_GetBrush
, 1 },
6336 { "wxDC_GetBackground", _wrap_wxDC_GetBackground
, 1 },
6337 { "wxDC_FloodFill", _wrap_wxDC_FloodFill
, 1 },
6338 { "wxDC_EndPage", _wrap_wxDC_EndPage
, 1 },
6339 { "wxDC_EndDrawing", _wrap_wxDC_EndDrawing
, 1 },
6340 { "wxDC_EndDoc", _wrap_wxDC_EndDoc
, 1 },
6341 { "wxDC_DrawText", _wrap_wxDC_DrawText
, 1 },
6342 { "wxDC_DrawSpline", _wrap_wxDC_DrawSpline
, 1 },
6343 { "wxDC_DrawRoundedRectangle", _wrap_wxDC_DrawRoundedRectangle
, 1 },
6344 { "wxDC_DrawRectangle", _wrap_wxDC_DrawRectangle
, 1 },
6345 { "wxDC_DrawPoint", _wrap_wxDC_DrawPoint
, 1 },
6346 { "wxDC_DrawPolygon", _wrap_wxDC_DrawPolygon
, 1 },
6347 { "wxDC_DrawLines", _wrap_wxDC_DrawLines
, 1 },
6348 { "wxDC_DrawLine", _wrap_wxDC_DrawLine
, 1 },
6349 { "wxDC_DrawIcon", _wrap_wxDC_DrawIcon
, 1 },
6350 { "wxDC_DrawEllipticArc", _wrap_wxDC_DrawEllipticArc
, 1 },
6351 { "wxDC_DrawEllipse", _wrap_wxDC_DrawEllipse
, 1 },
6352 { "wxDC_DrawArc", _wrap_wxDC_DrawArc
, 1 },
6353 { "wxDC_DeviceToLogicalYRel", _wrap_wxDC_DeviceToLogicalYRel
, 1 },
6354 { "wxDC_DeviceToLogicalY", _wrap_wxDC_DeviceToLogicalY
, 1 },
6355 { "wxDC_DeviceToLogicalXRel", _wrap_wxDC_DeviceToLogicalXRel
, 1 },
6356 { "wxDC_DeviceToLogicalX", _wrap_wxDC_DeviceToLogicalX
, 1 },
6357 { "wxDC_DestroyClippingRegion", _wrap_wxDC_DestroyClippingRegion
, 1 },
6358 { "wxDC_CrossHair", _wrap_wxDC_CrossHair
, 1 },
6359 { "wxDC_Clear", _wrap_wxDC_Clear
, 1 },
6360 { "wxDC_Blit", _wrap_wxDC_Blit
, 1 },
6361 { "wxDC_BeginDrawing", _wrap_wxDC_BeginDrawing
, 1 },
6362 { "delete_wxDC", _wrap_delete_wxDC
, 1 },
6363 { "wxBrush_SetStyle", _wrap_wxBrush_SetStyle
, 1 },
6364 { "wxBrush_SetStipple", _wrap_wxBrush_SetStipple
, 1 },
6365 { "wxBrush_SetColour", _wrap_wxBrush_SetColour
, 1 },
6366 { "wxBrush_Ok", _wrap_wxBrush_Ok
, 1 },
6367 { "wxBrush_GetStyle", _wrap_wxBrush_GetStyle
, 1 },
6368 { "wxBrush_GetStipple", _wrap_wxBrush_GetStipple
, 1 },
6369 { "wxBrush_GetColour", _wrap_wxBrush_GetColour
, 1 },
6370 { "new_wxBrush", _wrap_new_wxBrush
, 1 },
6371 { "wxPen_SetStipple", _wrap_wxPen_SetStipple
, 1 },
6372 { "wxPen_SetDashes", _wrap_wxPen_SetDashes
, 1 },
6373 { "wxPen_GetStipple", _wrap_wxPen_GetStipple
, 1 },
6374 { "wxPen_GetDashes", _wrap_wxPen_GetDashes
, 1 },
6375 { "wxPen_SetWidth", _wrap_wxPen_SetWidth
, 1 },
6376 { "wxPen_SetStyle", _wrap_wxPen_SetStyle
, 1 },
6377 { "wxPen_SetJoin", _wrap_wxPen_SetJoin
, 1 },
6378 { "wxPen_SetColour", _wrap_wxPen_SetColour
, 1 },
6379 { "wxPen_SetCap", _wrap_wxPen_SetCap
, 1 },
6380 { "wxPen_Ok", _wrap_wxPen_Ok
, 1 },
6381 { "wxPen_GetWidth", _wrap_wxPen_GetWidth
, 1 },
6382 { "wxPen_GetStyle", _wrap_wxPen_GetStyle
, 1 },
6383 { "wxPen_GetJoin", _wrap_wxPen_GetJoin
, 1 },
6384 { "wxPen_GetColour", _wrap_wxPen_GetColour
, 1 },
6385 { "wxPen_GetCap", _wrap_wxPen_GetCap
, 1 },
6386 { "new_wxPen", _wrap_new_wxPen
, 1 },
6387 { "wxColour_Get", _wrap_wxColour_Get
, 1 },
6388 { "wxColour_Set", _wrap_wxColour_Set
, 1 },
6389 { "wxColour_Ok", _wrap_wxColour_Ok
, 1 },
6390 { "wxColour_Blue", _wrap_wxColour_Blue
, 1 },
6391 { "wxColour_Green", _wrap_wxColour_Green
, 1 },
6392 { "wxColour_Red", _wrap_wxColour_Red
, 1 },
6393 { "delete_wxColour", _wrap_delete_wxColour
, 1 },
6394 { "new_wxColour", _wrap_new_wxColour
, 1 },
6395 { "wxFont_SetWeight", _wrap_wxFont_SetWeight
, 1 },
6396 { "wxFont_SetUnderlined", _wrap_wxFont_SetUnderlined
, 1 },
6397 { "wxFont_SetStyle", _wrap_wxFont_SetStyle
, 1 },
6398 { "wxFont_SetPointSize", _wrap_wxFont_SetPointSize
, 1 },
6399 { "wxFont_SetFamily", _wrap_wxFont_SetFamily
, 1 },
6400 { "wxFont_SetFaceName", _wrap_wxFont_SetFaceName
, 1 },
6401 { "wxFont_GetWeight", _wrap_wxFont_GetWeight
, 1 },
6402 { "wxFont_GetUnderlined", _wrap_wxFont_GetUnderlined
, 1 },
6403 { "wxFont_GetStyle", _wrap_wxFont_GetStyle
, 1 },
6404 { "wxFont_GetPointSize", _wrap_wxFont_GetPointSize
, 1 },
6405 { "wxFont_GetFontId", _wrap_wxFont_GetFontId
, 1 },
6406 { "wxFont_GetFamily", _wrap_wxFont_GetFamily
, 1 },
6407 { "wxFont_GetFaceName", _wrap_wxFont_GetFaceName
, 1 },
6408 { "new_wxFont", _wrap_new_wxFont
, 1 },
6409 { "wxCursor_Ok", _wrap_wxCursor_Ok
, 1 },
6410 { "delete_wxCursor", _wrap_delete_wxCursor
, 1 },
6411 { "new_wxCursor", _wrap_new_wxCursor
, 1 },
6412 { "wxIcon_SetWidth", _wrap_wxIcon_SetWidth
, 1 },
6413 { "wxIcon_SetHeight", _wrap_wxIcon_SetHeight
, 1 },
6414 { "wxIcon_SetDepth", _wrap_wxIcon_SetDepth
, 1 },
6415 { "wxIcon_Ok", _wrap_wxIcon_Ok
, 1 },
6416 { "wxIcon_LoadFile", _wrap_wxIcon_LoadFile
, 1 },
6417 { "wxIcon_GetWidth", _wrap_wxIcon_GetWidth
, 1 },
6418 { "wxIcon_GetHeight", _wrap_wxIcon_GetHeight
, 1 },
6419 { "wxIcon_GetDepth", _wrap_wxIcon_GetDepth
, 1 },
6420 { "delete_wxIcon", _wrap_delete_wxIcon
, 1 },
6421 { "new_wxIcon", _wrap_new_wxIcon
, 1 },
6422 { "delete_wxMask", _wrap_delete_wxMask
, 1 },
6423 { "new_wxMask", _wrap_new_wxMask
, 1 },
6424 { "wxBitmap_SetWidth", _wrap_wxBitmap_SetWidth
, 1 },
6425 { "wxBitmap_SetPalette", _wrap_wxBitmap_SetPalette
, 1 },
6426 { "wxBitmap_SetMask", _wrap_wxBitmap_SetMask
, 1 },
6427 { "wxBitmap_SetHeight", _wrap_wxBitmap_SetHeight
, 1 },
6428 { "wxBitmap_SetDepth", _wrap_wxBitmap_SetDepth
, 1 },
6429 { "wxBitmap_SaveFile", _wrap_wxBitmap_SaveFile
, 1 },
6430 { "wxBitmap_Ok", _wrap_wxBitmap_Ok
, 1 },
6431 { "wxBitmap_LoadFile", _wrap_wxBitmap_LoadFile
, 1 },
6432 { "wxBitmap_GetWidth", _wrap_wxBitmap_GetWidth
, 1 },
6433 { "wxBitmap_GetMask", _wrap_wxBitmap_GetMask
, 1 },
6434 { "wxBitmap_GetPalette", _wrap_wxBitmap_GetPalette
, 1 },
6435 { "wxBitmap_GetHeight", _wrap_wxBitmap_GetHeight
, 1 },
6436 { "wxBitmap_GetDepth", _wrap_wxBitmap_GetDepth
, 1 },
6437 { "wxBitmap_Create", _wrap_wxBitmap_Create
, 1 },
6438 { "delete_wxBitmap", _wrap_delete_wxBitmap
, 1 },
6439 { "new_wxBitmap", _wrap_new_wxBitmap
, 1 },
6440 { "wxMemoryDCFromDC", _wrap_wxMemoryDCFromDC
, 1 },
6441 { "wxNamedColour", _wrap_wxNamedColour
, 1 },
6442 { "wxStockCursor", _wrap_wxStockCursor
, 1 },
6443 { "wxMaskColour", _wrap_wxMaskColour
, 1 },
6444 { "wxNoRefBitmap", _wrap_wxNoRefBitmap
, 1 },
6445 { "wxEmptyBitmap", _wrap_wxEmptyBitmap
, 1 },
6448 static PyObject
*SWIG_globals
;
6452 SWIGEXPORT(void,initgdic
)() {
6454 SWIG_globals
= SWIG_newvarlink();
6455 m
= Py_InitModule("gdic", gdicMethods
);
6456 d
= PyModule_GetDict(m
);
6457 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
6458 SWIG_addvarlink(SWIG_globals
,"wxNORMAL_FONT",_wrap_wxNORMAL_FONT_get
, _wrap_wxNORMAL_FONT_set
);
6459 SWIG_addvarlink(SWIG_globals
,"wxSMALL_FONT",_wrap_wxSMALL_FONT_get
, _wrap_wxSMALL_FONT_set
);
6460 SWIG_addvarlink(SWIG_globals
,"wxITALIC_FONT",_wrap_wxITALIC_FONT_get
, _wrap_wxITALIC_FONT_set
);
6461 SWIG_addvarlink(SWIG_globals
,"wxSWISS_FONT",_wrap_wxSWISS_FONT_get
, _wrap_wxSWISS_FONT_set
);
6462 SWIG_addvarlink(SWIG_globals
,"wxRED_PEN",_wrap_wxRED_PEN_get
, _wrap_wxRED_PEN_set
);
6463 SWIG_addvarlink(SWIG_globals
,"wxCYAN_PEN",_wrap_wxCYAN_PEN_get
, _wrap_wxCYAN_PEN_set
);
6464 SWIG_addvarlink(SWIG_globals
,"wxGREEN_PEN",_wrap_wxGREEN_PEN_get
, _wrap_wxGREEN_PEN_set
);
6465 SWIG_addvarlink(SWIG_globals
,"wxBLACK_PEN",_wrap_wxBLACK_PEN_get
, _wrap_wxBLACK_PEN_set
);
6466 SWIG_addvarlink(SWIG_globals
,"wxWHITE_PEN",_wrap_wxWHITE_PEN_get
, _wrap_wxWHITE_PEN_set
);
6467 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_PEN",_wrap_wxTRANSPARENT_PEN_get
, _wrap_wxTRANSPARENT_PEN_set
);
6468 SWIG_addvarlink(SWIG_globals
,"wxBLACK_DASHED_PEN",_wrap_wxBLACK_DASHED_PEN_get
, _wrap_wxBLACK_DASHED_PEN_set
);
6469 SWIG_addvarlink(SWIG_globals
,"wxGREY_PEN",_wrap_wxGREY_PEN_get
, _wrap_wxGREY_PEN_set
);
6470 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_PEN",_wrap_wxMEDIUM_GREY_PEN_get
, _wrap_wxMEDIUM_GREY_PEN_set
);
6471 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_PEN",_wrap_wxLIGHT_GREY_PEN_get
, _wrap_wxLIGHT_GREY_PEN_set
);
6472 SWIG_addvarlink(SWIG_globals
,"wxBLUE_BRUSH",_wrap_wxBLUE_BRUSH_get
, _wrap_wxBLUE_BRUSH_set
);
6473 SWIG_addvarlink(SWIG_globals
,"wxGREEN_BRUSH",_wrap_wxGREEN_BRUSH_get
, _wrap_wxGREEN_BRUSH_set
);
6474 SWIG_addvarlink(SWIG_globals
,"wxWHITE_BRUSH",_wrap_wxWHITE_BRUSH_get
, _wrap_wxWHITE_BRUSH_set
);
6475 SWIG_addvarlink(SWIG_globals
,"wxBLACK_BRUSH",_wrap_wxBLACK_BRUSH_get
, _wrap_wxBLACK_BRUSH_set
);
6476 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_BRUSH",_wrap_wxTRANSPARENT_BRUSH_get
, _wrap_wxTRANSPARENT_BRUSH_set
);
6477 SWIG_addvarlink(SWIG_globals
,"wxCYAN_BRUSH",_wrap_wxCYAN_BRUSH_get
, _wrap_wxCYAN_BRUSH_set
);
6478 SWIG_addvarlink(SWIG_globals
,"wxRED_BRUSH",_wrap_wxRED_BRUSH_get
, _wrap_wxRED_BRUSH_set
);
6479 SWIG_addvarlink(SWIG_globals
,"wxGREY_BRUSH",_wrap_wxGREY_BRUSH_get
, _wrap_wxGREY_BRUSH_set
);
6480 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_BRUSH",_wrap_wxMEDIUM_GREY_BRUSH_get
, _wrap_wxMEDIUM_GREY_BRUSH_set
);
6481 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_BRUSH",_wrap_wxLIGHT_GREY_BRUSH_get
, _wrap_wxLIGHT_GREY_BRUSH_set
);
6482 SWIG_addvarlink(SWIG_globals
,"wxBLACK",_wrap_wxBLACK_get
, _wrap_wxBLACK_set
);
6483 SWIG_addvarlink(SWIG_globals
,"wxWHITE",_wrap_wxWHITE_get
, _wrap_wxWHITE_set
);
6484 SWIG_addvarlink(SWIG_globals
,"wxRED",_wrap_wxRED_get
, _wrap_wxRED_set
);
6485 SWIG_addvarlink(SWIG_globals
,"wxBLUE",_wrap_wxBLUE_get
, _wrap_wxBLUE_set
);
6486 SWIG_addvarlink(SWIG_globals
,"wxGREEN",_wrap_wxGREEN_get
, _wrap_wxGREEN_set
);
6487 SWIG_addvarlink(SWIG_globals
,"wxCYAN",_wrap_wxCYAN_get
, _wrap_wxCYAN_set
);
6488 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY",_wrap_wxLIGHT_GREY_get
, _wrap_wxLIGHT_GREY_set
);
6489 SWIG_addvarlink(SWIG_globals
,"wxSTANDARD_CURSOR",_wrap_wxSTANDARD_CURSOR_get
, _wrap_wxSTANDARD_CURSOR_set
);
6490 SWIG_addvarlink(SWIG_globals
,"wxHOURGLASS_CURSOR",_wrap_wxHOURGLASS_CURSOR_get
, _wrap_wxHOURGLASS_CURSOR_set
);
6491 SWIG_addvarlink(SWIG_globals
,"wxCROSS_CURSOR",_wrap_wxCROSS_CURSOR_get
, _wrap_wxCROSS_CURSOR_set
);
6492 SWIG_addvarlink(SWIG_globals
,"wxNullBitmap",_wrap_wxNullBitmap_get
, _wrap_wxNullBitmap_set
);
6493 SWIG_addvarlink(SWIG_globals
,"wxNullIcon",_wrap_wxNullIcon_get
, _wrap_wxNullIcon_set
);
6494 SWIG_addvarlink(SWIG_globals
,"wxNullCursor",_wrap_wxNullCursor_get
, _wrap_wxNullCursor_set
);
6495 SWIG_addvarlink(SWIG_globals
,"wxNullPen",_wrap_wxNullPen_get
, _wrap_wxNullPen_set
);
6496 SWIG_addvarlink(SWIG_globals
,"wxNullBrush",_wrap_wxNullBrush_get
, _wrap_wxNullBrush_set
);
6497 SWIG_addvarlink(SWIG_globals
,"wxNullPalette",_wrap_wxNullPalette_get
, _wrap_wxNullPalette_set
);
6498 SWIG_addvarlink(SWIG_globals
,"wxNullFont",_wrap_wxNullFont_get
, _wrap_wxNullFont_set
);
6499 SWIG_addvarlink(SWIG_globals
,"wxNullColour",_wrap_wxNullColour_get
, _wrap_wxNullColour_set
);
6500 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_NORMAL", PyInt_FromLong((long) wxIMAGELIST_DRAW_NORMAL
));
6501 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_TRANSPARENT", PyInt_FromLong((long) wxIMAGELIST_DRAW_TRANSPARENT
));
6502 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_SELECTED", PyInt_FromLong((long) wxIMAGELIST_DRAW_SELECTED
));
6503 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_FOCUSED", PyInt_FromLong((long) wxIMAGELIST_DRAW_FOCUSED
));
6504 PyDict_SetItemString(d
,"wxIMAGE_LIST_NORMAL", PyInt_FromLong((long) wxIMAGE_LIST_NORMAL
));
6505 PyDict_SetItemString(d
,"wxIMAGE_LIST_SMALL", PyInt_FromLong((long) wxIMAGE_LIST_SMALL
));
6506 PyDict_SetItemString(d
,"wxIMAGE_LIST_STATE", PyInt_FromLong((long) wxIMAGE_LIST_STATE
));
6508 * These are the pointer type-equivalency mappings.
6509 * (Used by the SWIG pointer type-checker).
6511 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
6512 SWIG_RegisterMapping("_signed_long","_long",0);
6513 SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
6514 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
6515 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
6516 SWIG_RegisterMapping("_wxToolTip","_class_wxToolTip",0);
6517 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
6518 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
6519 SWIG_RegisterMapping("_byte","_unsigned_char",0);
6520 SWIG_RegisterMapping("_long","_wxDash",0);
6521 SWIG_RegisterMapping("_long","_unsigned_long",0);
6522 SWIG_RegisterMapping("_long","_signed_long",0);
6523 SWIG_RegisterMapping("_wxImageList","_class_wxImageList",0);
6524 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
6525 SWIG_RegisterMapping("_wxDC","_class_wxMetaFileDC",SwigwxMetaFileDCTowxDC
);
6526 SWIG_RegisterMapping("_wxDC","_wxMetaFileDC",SwigwxMetaFileDCTowxDC
);
6527 SWIG_RegisterMapping("_wxDC","_class_wxPrinterDC",SwigwxPrinterDCTowxDC
);
6528 SWIG_RegisterMapping("_wxDC","_wxPrinterDC",SwigwxPrinterDCTowxDC
);
6529 SWIG_RegisterMapping("_wxDC","_class_wxWindowDC",SwigwxWindowDCTowxDC
);
6530 SWIG_RegisterMapping("_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC
);
6531 SWIG_RegisterMapping("_wxDC","_class_wxPaintDC",SwigwxPaintDCTowxDC
);
6532 SWIG_RegisterMapping("_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
);
6533 SWIG_RegisterMapping("_wxDC","_class_wxClientDC",SwigwxClientDCTowxDC
);
6534 SWIG_RegisterMapping("_wxDC","_wxClientDC",SwigwxClientDCTowxDC
);
6535 SWIG_RegisterMapping("_wxDC","_class_wxScreenDC",SwigwxScreenDCTowxDC
);
6536 SWIG_RegisterMapping("_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
);
6537 SWIG_RegisterMapping("_wxDC","_class_wxMemoryDC",SwigwxMemoryDCTowxDC
);
6538 SWIG_RegisterMapping("_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
);
6539 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
6540 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
6541 SWIG_RegisterMapping("_wxPrinterDC","_class_wxPrinterDC",0);
6542 SWIG_RegisterMapping("_class_wxToolTip","_wxToolTip",0);
6543 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
6544 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
6545 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
6546 SWIG_RegisterMapping("_uint","_unsigned_int",0);
6547 SWIG_RegisterMapping("_uint","_int",0);
6548 SWIG_RegisterMapping("_uint","_wxWindowID",0);
6549 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
6550 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
6551 SWIG_RegisterMapping("_wxBitmap","_class_wxCursor",SwigwxCursorTowxBitmap
);
6552 SWIG_RegisterMapping("_wxBitmap","_wxCursor",SwigwxCursorTowxBitmap
);
6553 SWIG_RegisterMapping("_wxBitmap","_class_wxIcon",SwigwxIconTowxBitmap
);
6554 SWIG_RegisterMapping("_wxBitmap","_wxIcon",SwigwxIconTowxBitmap
);
6555 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
6556 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
6557 SWIG_RegisterMapping("_wxWindowDC","_class_wxWindowDC",0);
6558 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
6559 SWIG_RegisterMapping("_EBool","_signed_int",0);
6560 SWIG_RegisterMapping("_EBool","_int",0);
6561 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
6562 SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0);
6563 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
6564 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
6565 SWIG_RegisterMapping("_unsigned_long","_long",0);
6566 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
6567 SWIG_RegisterMapping("_class_wxDC","_class_wxMetaFileDC",SwigwxMetaFileDCTowxDC
);
6568 SWIG_RegisterMapping("_class_wxDC","_wxMetaFileDC",SwigwxMetaFileDCTowxDC
);
6569 SWIG_RegisterMapping("_class_wxDC","_class_wxPrinterDC",SwigwxPrinterDCTowxDC
);
6570 SWIG_RegisterMapping("_class_wxDC","_wxPrinterDC",SwigwxPrinterDCTowxDC
);
6571 SWIG_RegisterMapping("_class_wxDC","_class_wxWindowDC",SwigwxWindowDCTowxDC
);
6572 SWIG_RegisterMapping("_class_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC
);
6573 SWIG_RegisterMapping("_class_wxDC","_class_wxPaintDC",SwigwxPaintDCTowxDC
);
6574 SWIG_RegisterMapping("_class_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
);
6575 SWIG_RegisterMapping("_class_wxDC","_class_wxClientDC",SwigwxClientDCTowxDC
);
6576 SWIG_RegisterMapping("_class_wxDC","_wxClientDC",SwigwxClientDCTowxDC
);
6577 SWIG_RegisterMapping("_class_wxDC","_class_wxScreenDC",SwigwxScreenDCTowxDC
);
6578 SWIG_RegisterMapping("_class_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
);
6579 SWIG_RegisterMapping("_class_wxDC","_class_wxMemoryDC",SwigwxMemoryDCTowxDC
);
6580 SWIG_RegisterMapping("_class_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
);
6581 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
6582 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
6583 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
6584 SWIG_RegisterMapping("_signed_int","_EBool",0);
6585 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
6586 SWIG_RegisterMapping("_signed_int","_int",0);
6587 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
6588 SWIG_RegisterMapping("_wxMetaFileDC","_class_wxMetaFileDC",0);
6589 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
6590 SWIG_RegisterMapping("_WXTYPE","_short",0);
6591 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
6592 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
6593 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
6594 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
6595 SWIG_RegisterMapping("_unsigned_short","_short",0);
6596 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
6597 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
6598 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
6599 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
6600 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
6601 SWIG_RegisterMapping("_signed_short","_short",0);
6602 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
6603 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
6604 SWIG_RegisterMapping("_class_wxWindowDC","_wxWindowDC",0);
6605 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
6606 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
6607 SWIG_RegisterMapping("_unsigned_char","_byte",0);
6608 SWIG_RegisterMapping("_class_wxMetaFileDC","_wxMetaFileDC",0);
6609 SWIG_RegisterMapping("_unsigned_int","_uint",0);
6610 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
6611 SWIG_RegisterMapping("_unsigned_int","_int",0);
6612 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
6613 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
6614 SWIG_RegisterMapping("_short","_WXTYPE",0);
6615 SWIG_RegisterMapping("_short","_unsigned_short",0);
6616 SWIG_RegisterMapping("_short","_signed_short",0);
6617 SWIG_RegisterMapping("_class_wxImageList","_wxImageList",0);
6618 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
6619 SWIG_RegisterMapping("_wxWindowID","_uint",0);
6620 SWIG_RegisterMapping("_wxWindowID","_int",0);
6621 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
6622 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
6623 SWIG_RegisterMapping("_int","_EBool",0);
6624 SWIG_RegisterMapping("_int","_uint",0);
6625 SWIG_RegisterMapping("_int","_wxWindowID",0);
6626 SWIG_RegisterMapping("_int","_unsigned_int",0);
6627 SWIG_RegisterMapping("_int","_signed_int",0);
6628 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
6629 SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0);
6630 SWIG_RegisterMapping("_class_wxPrinterDC","_wxPrinterDC",0);
6631 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
6632 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
6633 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
6634 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
6635 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
6636 SWIG_RegisterMapping("_wxPalette","_class_wxPalette",0);
6637 SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
6638 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
6639 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
6640 SWIG_RegisterMapping("_class_wxBitmap","_class_wxCursor",SwigwxCursorTowxBitmap
);
6641 SWIG_RegisterMapping("_class_wxBitmap","_wxCursor",SwigwxCursorTowxBitmap
);
6642 SWIG_RegisterMapping("_class_wxBitmap","_class_wxIcon",SwigwxIconTowxBitmap
);
6643 SWIG_RegisterMapping("_class_wxBitmap","_wxIcon",SwigwxIconTowxBitmap
);
6644 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
6645 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
6646 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
6647 SWIG_RegisterMapping("_wxDash","_long",0);
6648 SWIG_RegisterMapping("_class_wxPalette","_wxPalette",0);