4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Patch 6)
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) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
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 char *SWIG_GetPtrObj(PyObject
*, void **, char *);
47 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
48 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initgdic
54 #define SWIG_name "gdic"
57 #include <wx/metafile.h>
58 #include <wx/imaglist.h>
63 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
68 } else if (target
== Py_None
) {
72 if (!PyList_Check(target
)) {
74 target
= PyList_New(0);
75 PyList_Append(target
, o2
);
78 PyList_Append(target
,o
);
84 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
90 } else if (target
== Py_None
) {
94 if (!PyTuple_Check(target
)) {
96 target
= PyTuple_New(1);
97 PyTuple_SetItem(target
, 0, o2
);
100 PyTuple_SetItem(o3
, 0, o
);
103 target
= PySequence_Concat(o2
, o3
);
111 extern byte
* byte_LIST_helper(PyObject
* source
);
112 extern int* int_LIST_helper(PyObject
* source
);
113 extern long* long_LIST_helper(PyObject
* source
);
114 extern char** string_LIST_helper(PyObject
* source
);
115 extern wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
116 extern wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
117 extern wxString
* wxString_LIST_helper(PyObject
* source
);
118 extern wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
121 static char* wxStringErrorMsg
= "string type is required for parameter";
122 // Alternate 'constructor'
123 wxBitmap
* wxEmptyBitmap(int width
, int height
, int depth
=-1) {
124 return new wxBitmap(width
, height
, depth
);
127 // This one won't own the reference, so Python
128 // won't call the dtor, this is good for
129 // toolbars and such where the parent will
130 // manage the bitmap.
131 wxBitmap
* wxNoRefBitmap(char* name
, long flags
) {
132 return new wxBitmap(name
, flags
);
136 wxBitmap
* wxBitmapFromData(char* data
, long type
,
137 int width
, int height
, int depth
= 1) {
138 return new wxBitmap((void*)data
, type
, width
, height
, depth
);
142 wxMask
* wxMaskColour(const wxBitmap
& bitmap
, const wxColour
& colour
) {
143 return new wxMask(bitmap
, colour
);
145 // Alternate 'constructor'
146 wxCursor
* wxPyStockCursor(int id
) {
147 return new wxCursor(id
);
149 // Alternate 'constructor'
150 wxColour
* wxNamedColour(const wxString
& colorName
) {
151 return new wxColour(colorName
);
153 // Alternate 'constructor'
154 wxMemoryDC
* wxMemoryDCFromDC(wxDC
* oldDC
) {
155 return new wxMemoryDC(oldDC
);
159 extern wxFont
* wxNORMAL_FONT
;
160 extern wxFont
* wxSMALL_FONT
;
161 extern wxFont
* wxITALIC_FONT
;
162 extern wxFont
* wxSWISS_FONT
;
163 extern wxPen
* wxRED_PEN
;
164 extern wxPen
* wxCYAN_PEN
;
165 extern wxPen
* wxGREEN_PEN
;
166 extern wxPen
* wxBLACK_PEN
;
167 extern wxPen
* wxWHITE_PEN
;
168 extern wxPen
* wxTRANSPARENT_PEN
;
169 extern wxPen
* wxBLACK_DASHED_PEN
;
170 extern wxPen
* wxGREY_PEN
;
171 extern wxPen
* wxMEDIUM_GREY_PEN
;
172 extern wxPen
* wxLIGHT_GREY_PEN
;
173 extern wxBrush
* wxBLUE_BRUSH
;
174 extern wxBrush
* wxGREEN_BRUSH
;
175 extern wxBrush
* wxWHITE_BRUSH
;
176 extern wxBrush
* wxBLACK_BRUSH
;
177 extern wxBrush
* wxTRANSPARENT_BRUSH
;
178 extern wxBrush
* wxCYAN_BRUSH
;
179 extern wxBrush
* wxRED_BRUSH
;
180 extern wxBrush
* wxGREY_BRUSH
;
181 extern wxBrush
* wxMEDIUM_GREY_BRUSH
;
182 extern wxBrush
* wxLIGHT_GREY_BRUSH
;
183 extern wxColour
* wxBLACK
;
184 extern wxColour
* wxWHITE
;
185 extern wxColour
* wxRED
;
186 extern wxColour
* wxBLUE
;
187 extern wxColour
* wxGREEN
;
188 extern wxColour
* wxCYAN
;
189 extern wxColour
* wxLIGHT_GREY
;
190 extern wxCursor
* wxSTANDARD_CURSOR
;
191 extern wxCursor
* wxHOURGLASS_CURSOR
;
192 extern wxCursor
* wxCROSS_CURSOR
;
193 extern wxBitmap wxNullBitmap
;
194 extern wxIcon wxNullIcon
;
195 extern wxCursor wxNullCursor
;
196 extern wxPen wxNullPen
;
197 extern wxBrush wxNullBrush
;
198 extern wxPalette wxNullPalette
;
199 extern wxFont wxNullFont
;
200 extern wxColour wxNullColour
;
206 static PyObject
*_wrap_wxEmptyBitmap(PyObject
*self
, PyObject
*args
) {
207 PyObject
* _resultobj
;
211 int _arg2
= (int ) -1;
215 if(!PyArg_ParseTuple(args
,"ii|i:wxEmptyBitmap",&_arg0
,&_arg1
,&_arg2
))
218 wxPy_BEGIN_ALLOW_THREADS
;
219 _result
= (wxBitmap
*)wxEmptyBitmap(_arg0
,_arg1
,_arg2
);
221 wxPy_END_ALLOW_THREADS
;
223 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
224 _resultobj
= Py_BuildValue("s",_ptemp
);
227 _resultobj
= Py_None
;
232 static PyObject
*_wrap_wxNoRefBitmap(PyObject
*self
, PyObject
*args
) {
233 PyObject
* _resultobj
;
240 if(!PyArg_ParseTuple(args
,"sl:wxNoRefBitmap",&_arg0
,&_arg1
))
243 wxPy_BEGIN_ALLOW_THREADS
;
244 _result
= (wxBitmap
*)wxNoRefBitmap(_arg0
,_arg1
);
246 wxPy_END_ALLOW_THREADS
;
248 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
249 _resultobj
= Py_BuildValue("s",_ptemp
);
252 _resultobj
= Py_None
;
257 static PyObject
*_wrap_wxMaskColour(PyObject
*self
, PyObject
*args
) {
258 PyObject
* _resultobj
;
262 PyObject
* _argo0
= 0;
263 PyObject
* _argo1
= 0;
267 if(!PyArg_ParseTuple(args
,"OO:wxMaskColour",&_argo0
,&_argo1
))
270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMaskColour. Expected _wxBitmap_p.");
277 if (_argo1
== Py_None
) { _arg1
= NULL
; }
278 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMaskColour. Expected _wxColour_p.");
284 wxPy_BEGIN_ALLOW_THREADS
;
285 _result
= (wxMask
*)wxMaskColour(*_arg0
,*_arg1
);
287 wxPy_END_ALLOW_THREADS
;
289 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
290 _resultobj
= Py_BuildValue("s",_ptemp
);
293 _resultobj
= Py_None
;
298 static PyObject
*_wrap_wxStockCursor(PyObject
*self
, PyObject
*args
) {
299 PyObject
* _resultobj
;
305 if(!PyArg_ParseTuple(args
,"i:wxStockCursor",&_arg0
))
308 wxPy_BEGIN_ALLOW_THREADS
;
309 _result
= (wxCursor
*)wxPyStockCursor(_arg0
);
311 wxPy_END_ALLOW_THREADS
;
313 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCursor_p");
314 _resultobj
= Py_BuildValue("s",_ptemp
);
317 _resultobj
= Py_None
;
322 static PyObject
*_wrap_wxNamedColour(PyObject
*self
, PyObject
*args
) {
323 PyObject
* _resultobj
;
326 PyObject
* _obj0
= 0;
330 if(!PyArg_ParseTuple(args
,"O:wxNamedColour",&_obj0
))
333 if (!PyString_Check(_obj0
)) {
334 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
337 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
340 wxPy_BEGIN_ALLOW_THREADS
;
341 _result
= (wxColour
*)wxNamedColour(*_arg0
);
343 wxPy_END_ALLOW_THREADS
;
345 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
346 _resultobj
= Py_BuildValue("s",_ptemp
);
349 _resultobj
= Py_None
;
358 static PyObject
*_wrap_wxMemoryDCFromDC(PyObject
*self
, PyObject
*args
) {
359 PyObject
* _resultobj
;
360 wxMemoryDC
* _result
;
362 PyObject
* _argo0
= 0;
366 if(!PyArg_ParseTuple(args
,"O:wxMemoryDCFromDC",&_argo0
))
369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDCFromDC. Expected _wxDC_p.");
376 wxPy_BEGIN_ALLOW_THREADS
;
377 _result
= (wxMemoryDC
*)wxMemoryDCFromDC(_arg0
);
379 wxPy_END_ALLOW_THREADS
;
381 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
382 _resultobj
= Py_BuildValue("s",_ptemp
);
385 _resultobj
= Py_None
;
390 static int _wrap_wxNORMAL_FONT_set(PyObject
*val
) {
392 PyErr_SetString(PyExc_TypeError
,"Variable wxNORMAL_FONT is read-only.");
396 static PyObject
*_wrap_wxNORMAL_FONT_get() {
400 SWIG_MakePtr(ptemp
, (char *) wxNORMAL_FONT
,"_wxFont_p");
401 pyobj
= PyString_FromString(ptemp
);
405 static int _wrap_wxSMALL_FONT_set(PyObject
*val
) {
407 PyErr_SetString(PyExc_TypeError
,"Variable wxSMALL_FONT is read-only.");
411 static PyObject
*_wrap_wxSMALL_FONT_get() {
415 SWIG_MakePtr(ptemp
, (char *) wxSMALL_FONT
,"_wxFont_p");
416 pyobj
= PyString_FromString(ptemp
);
420 static int _wrap_wxITALIC_FONT_set(PyObject
*val
) {
422 PyErr_SetString(PyExc_TypeError
,"Variable wxITALIC_FONT is read-only.");
426 static PyObject
*_wrap_wxITALIC_FONT_get() {
430 SWIG_MakePtr(ptemp
, (char *) wxITALIC_FONT
,"_wxFont_p");
431 pyobj
= PyString_FromString(ptemp
);
435 static int _wrap_wxSWISS_FONT_set(PyObject
*val
) {
437 PyErr_SetString(PyExc_TypeError
,"Variable wxSWISS_FONT is read-only.");
441 static PyObject
*_wrap_wxSWISS_FONT_get() {
445 SWIG_MakePtr(ptemp
, (char *) wxSWISS_FONT
,"_wxFont_p");
446 pyobj
= PyString_FromString(ptemp
);
450 static int _wrap_wxRED_PEN_set(PyObject
*val
) {
452 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_PEN is read-only.");
456 static PyObject
*_wrap_wxRED_PEN_get() {
460 SWIG_MakePtr(ptemp
, (char *) wxRED_PEN
,"_wxPen_p");
461 pyobj
= PyString_FromString(ptemp
);
465 static int _wrap_wxCYAN_PEN_set(PyObject
*val
) {
467 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_PEN is read-only.");
471 static PyObject
*_wrap_wxCYAN_PEN_get() {
475 SWIG_MakePtr(ptemp
, (char *) wxCYAN_PEN
,"_wxPen_p");
476 pyobj
= PyString_FromString(ptemp
);
480 static int _wrap_wxGREEN_PEN_set(PyObject
*val
) {
482 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_PEN is read-only.");
486 static PyObject
*_wrap_wxGREEN_PEN_get() {
490 SWIG_MakePtr(ptemp
, (char *) wxGREEN_PEN
,"_wxPen_p");
491 pyobj
= PyString_FromString(ptemp
);
495 static int _wrap_wxBLACK_PEN_set(PyObject
*val
) {
497 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_PEN is read-only.");
501 static PyObject
*_wrap_wxBLACK_PEN_get() {
505 SWIG_MakePtr(ptemp
, (char *) wxBLACK_PEN
,"_wxPen_p");
506 pyobj
= PyString_FromString(ptemp
);
510 static int _wrap_wxWHITE_PEN_set(PyObject
*val
) {
512 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_PEN is read-only.");
516 static PyObject
*_wrap_wxWHITE_PEN_get() {
520 SWIG_MakePtr(ptemp
, (char *) wxWHITE_PEN
,"_wxPen_p");
521 pyobj
= PyString_FromString(ptemp
);
525 static int _wrap_wxTRANSPARENT_PEN_set(PyObject
*val
) {
527 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_PEN is read-only.");
531 static PyObject
*_wrap_wxTRANSPARENT_PEN_get() {
535 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_PEN
,"_wxPen_p");
536 pyobj
= PyString_FromString(ptemp
);
540 static int _wrap_wxBLACK_DASHED_PEN_set(PyObject
*val
) {
542 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_DASHED_PEN is read-only.");
546 static PyObject
*_wrap_wxBLACK_DASHED_PEN_get() {
550 SWIG_MakePtr(ptemp
, (char *) wxBLACK_DASHED_PEN
,"_wxPen_p");
551 pyobj
= PyString_FromString(ptemp
);
555 static int _wrap_wxGREY_PEN_set(PyObject
*val
) {
557 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_PEN is read-only.");
561 static PyObject
*_wrap_wxGREY_PEN_get() {
565 SWIG_MakePtr(ptemp
, (char *) wxGREY_PEN
,"_wxPen_p");
566 pyobj
= PyString_FromString(ptemp
);
570 static int _wrap_wxMEDIUM_GREY_PEN_set(PyObject
*val
) {
572 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_PEN is read-only.");
576 static PyObject
*_wrap_wxMEDIUM_GREY_PEN_get() {
580 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_PEN
,"_wxPen_p");
581 pyobj
= PyString_FromString(ptemp
);
585 static int _wrap_wxLIGHT_GREY_PEN_set(PyObject
*val
) {
587 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_PEN is read-only.");
591 static PyObject
*_wrap_wxLIGHT_GREY_PEN_get() {
595 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_PEN
,"_wxPen_p");
596 pyobj
= PyString_FromString(ptemp
);
600 static int _wrap_wxBLUE_BRUSH_set(PyObject
*val
) {
602 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE_BRUSH is read-only.");
606 static PyObject
*_wrap_wxBLUE_BRUSH_get() {
610 SWIG_MakePtr(ptemp
, (char *) wxBLUE_BRUSH
,"_wxBrush_p");
611 pyobj
= PyString_FromString(ptemp
);
615 static int _wrap_wxGREEN_BRUSH_set(PyObject
*val
) {
617 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_BRUSH is read-only.");
621 static PyObject
*_wrap_wxGREEN_BRUSH_get() {
625 SWIG_MakePtr(ptemp
, (char *) wxGREEN_BRUSH
,"_wxBrush_p");
626 pyobj
= PyString_FromString(ptemp
);
630 static int _wrap_wxWHITE_BRUSH_set(PyObject
*val
) {
632 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_BRUSH is read-only.");
636 static PyObject
*_wrap_wxWHITE_BRUSH_get() {
640 SWIG_MakePtr(ptemp
, (char *) wxWHITE_BRUSH
,"_wxBrush_p");
641 pyobj
= PyString_FromString(ptemp
);
645 static int _wrap_wxBLACK_BRUSH_set(PyObject
*val
) {
647 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_BRUSH is read-only.");
651 static PyObject
*_wrap_wxBLACK_BRUSH_get() {
655 SWIG_MakePtr(ptemp
, (char *) wxBLACK_BRUSH
,"_wxBrush_p");
656 pyobj
= PyString_FromString(ptemp
);
660 static int _wrap_wxTRANSPARENT_BRUSH_set(PyObject
*val
) {
662 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_BRUSH is read-only.");
666 static PyObject
*_wrap_wxTRANSPARENT_BRUSH_get() {
670 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_BRUSH
,"_wxBrush_p");
671 pyobj
= PyString_FromString(ptemp
);
675 static int _wrap_wxCYAN_BRUSH_set(PyObject
*val
) {
677 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_BRUSH is read-only.");
681 static PyObject
*_wrap_wxCYAN_BRUSH_get() {
685 SWIG_MakePtr(ptemp
, (char *) wxCYAN_BRUSH
,"_wxBrush_p");
686 pyobj
= PyString_FromString(ptemp
);
690 static int _wrap_wxRED_BRUSH_set(PyObject
*val
) {
692 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_BRUSH is read-only.");
696 static PyObject
*_wrap_wxRED_BRUSH_get() {
700 SWIG_MakePtr(ptemp
, (char *) wxRED_BRUSH
,"_wxBrush_p");
701 pyobj
= PyString_FromString(ptemp
);
705 static int _wrap_wxGREY_BRUSH_set(PyObject
*val
) {
707 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_BRUSH is read-only.");
711 static PyObject
*_wrap_wxGREY_BRUSH_get() {
715 SWIG_MakePtr(ptemp
, (char *) wxGREY_BRUSH
,"_wxBrush_p");
716 pyobj
= PyString_FromString(ptemp
);
720 static int _wrap_wxMEDIUM_GREY_BRUSH_set(PyObject
*val
) {
722 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_BRUSH is read-only.");
726 static PyObject
*_wrap_wxMEDIUM_GREY_BRUSH_get() {
730 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_BRUSH
,"_wxBrush_p");
731 pyobj
= PyString_FromString(ptemp
);
735 static int _wrap_wxLIGHT_GREY_BRUSH_set(PyObject
*val
) {
737 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_BRUSH is read-only.");
741 static PyObject
*_wrap_wxLIGHT_GREY_BRUSH_get() {
745 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_BRUSH
,"_wxBrush_p");
746 pyobj
= PyString_FromString(ptemp
);
750 static int _wrap_wxBLACK_set(PyObject
*val
) {
752 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK is read-only.");
756 static PyObject
*_wrap_wxBLACK_get() {
760 SWIG_MakePtr(ptemp
, (char *) wxBLACK
,"_wxColour_p");
761 pyobj
= PyString_FromString(ptemp
);
765 static int _wrap_wxWHITE_set(PyObject
*val
) {
767 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE is read-only.");
771 static PyObject
*_wrap_wxWHITE_get() {
775 SWIG_MakePtr(ptemp
, (char *) wxWHITE
,"_wxColour_p");
776 pyobj
= PyString_FromString(ptemp
);
780 static int _wrap_wxRED_set(PyObject
*val
) {
782 PyErr_SetString(PyExc_TypeError
,"Variable wxRED is read-only.");
786 static PyObject
*_wrap_wxRED_get() {
790 SWIG_MakePtr(ptemp
, (char *) wxRED
,"_wxColour_p");
791 pyobj
= PyString_FromString(ptemp
);
795 static int _wrap_wxBLUE_set(PyObject
*val
) {
797 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE is read-only.");
801 static PyObject
*_wrap_wxBLUE_get() {
805 SWIG_MakePtr(ptemp
, (char *) wxBLUE
,"_wxColour_p");
806 pyobj
= PyString_FromString(ptemp
);
810 static int _wrap_wxGREEN_set(PyObject
*val
) {
812 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN is read-only.");
816 static PyObject
*_wrap_wxGREEN_get() {
820 SWIG_MakePtr(ptemp
, (char *) wxGREEN
,"_wxColour_p");
821 pyobj
= PyString_FromString(ptemp
);
825 static int _wrap_wxCYAN_set(PyObject
*val
) {
827 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN is read-only.");
831 static PyObject
*_wrap_wxCYAN_get() {
835 SWIG_MakePtr(ptemp
, (char *) wxCYAN
,"_wxColour_p");
836 pyobj
= PyString_FromString(ptemp
);
840 static int _wrap_wxLIGHT_GREY_set(PyObject
*val
) {
842 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY is read-only.");
846 static PyObject
*_wrap_wxLIGHT_GREY_get() {
850 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY
,"_wxColour_p");
851 pyobj
= PyString_FromString(ptemp
);
855 static int _wrap_wxSTANDARD_CURSOR_set(PyObject
*val
) {
857 PyErr_SetString(PyExc_TypeError
,"Variable wxSTANDARD_CURSOR is read-only.");
861 static PyObject
*_wrap_wxSTANDARD_CURSOR_get() {
865 SWIG_MakePtr(ptemp
, (char *) wxSTANDARD_CURSOR
,"_wxCursor_p");
866 pyobj
= PyString_FromString(ptemp
);
870 static int _wrap_wxHOURGLASS_CURSOR_set(PyObject
*val
) {
872 PyErr_SetString(PyExc_TypeError
,"Variable wxHOURGLASS_CURSOR is read-only.");
876 static PyObject
*_wrap_wxHOURGLASS_CURSOR_get() {
880 SWIG_MakePtr(ptemp
, (char *) wxHOURGLASS_CURSOR
,"_wxCursor_p");
881 pyobj
= PyString_FromString(ptemp
);
885 static int _wrap_wxCROSS_CURSOR_set(PyObject
*val
) {
887 PyErr_SetString(PyExc_TypeError
,"Variable wxCROSS_CURSOR is read-only.");
891 static PyObject
*_wrap_wxCROSS_CURSOR_get() {
895 SWIG_MakePtr(ptemp
, (char *) wxCROSS_CURSOR
,"_wxCursor_p");
896 pyobj
= PyString_FromString(ptemp
);
900 static int _wrap_wxNullBitmap_set(PyObject
*val
) {
902 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBitmap is read-only.");
906 static PyObject
*_wrap_wxNullBitmap_get() {
910 SWIG_MakePtr(ptemp
,(char *) &wxNullBitmap
,"_wxBitmap_p");
911 pyobj
= PyString_FromString(ptemp
);
915 static int _wrap_wxNullIcon_set(PyObject
*val
) {
917 PyErr_SetString(PyExc_TypeError
,"Variable wxNullIcon is read-only.");
921 static PyObject
*_wrap_wxNullIcon_get() {
925 SWIG_MakePtr(ptemp
,(char *) &wxNullIcon
,"_wxIcon_p");
926 pyobj
= PyString_FromString(ptemp
);
930 static int _wrap_wxNullCursor_set(PyObject
*val
) {
932 PyErr_SetString(PyExc_TypeError
,"Variable wxNullCursor is read-only.");
936 static PyObject
*_wrap_wxNullCursor_get() {
940 SWIG_MakePtr(ptemp
,(char *) &wxNullCursor
,"_wxCursor_p");
941 pyobj
= PyString_FromString(ptemp
);
945 static int _wrap_wxNullPen_set(PyObject
*val
) {
947 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPen is read-only.");
951 static PyObject
*_wrap_wxNullPen_get() {
955 SWIG_MakePtr(ptemp
,(char *) &wxNullPen
,"_wxPen_p");
956 pyobj
= PyString_FromString(ptemp
);
960 static int _wrap_wxNullBrush_set(PyObject
*val
) {
962 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBrush is read-only.");
966 static PyObject
*_wrap_wxNullBrush_get() {
970 SWIG_MakePtr(ptemp
,(char *) &wxNullBrush
,"_wxBrush_p");
971 pyobj
= PyString_FromString(ptemp
);
975 static int _wrap_wxNullPalette_set(PyObject
*val
) {
977 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPalette is read-only.");
981 static PyObject
*_wrap_wxNullPalette_get() {
985 SWIG_MakePtr(ptemp
,(char *) &wxNullPalette
,"_wxPalette_p");
986 pyobj
= PyString_FromString(ptemp
);
990 static int _wrap_wxNullFont_set(PyObject
*val
) {
992 PyErr_SetString(PyExc_TypeError
,"Variable wxNullFont is read-only.");
996 static PyObject
*_wrap_wxNullFont_get() {
1000 SWIG_MakePtr(ptemp
,(char *) &wxNullFont
,"_wxFont_p");
1001 pyobj
= PyString_FromString(ptemp
);
1005 static int _wrap_wxNullColour_set(PyObject
*val
) {
1007 PyErr_SetString(PyExc_TypeError
,"Variable wxNullColour is read-only.");
1011 static PyObject
*_wrap_wxNullColour_get() {
1015 SWIG_MakePtr(ptemp
,(char *) &wxNullColour
,"_wxColour_p");
1016 pyobj
= PyString_FromString(ptemp
);
1020 #define new_wxBitmap(_swigarg0,_swigarg1) (new wxBitmap(_swigarg0,_swigarg1))
1021 static PyObject
*_wrap_new_wxBitmap(PyObject
*self
, PyObject
*args
) {
1022 PyObject
* _resultobj
;
1026 PyObject
* _obj0
= 0;
1030 if(!PyArg_ParseTuple(args
,"Ol:new_wxBitmap",&_obj0
,&_arg1
))
1033 if (!PyString_Check(_obj0
)) {
1034 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1037 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
1040 wxPy_BEGIN_ALLOW_THREADS
;
1041 _result
= (wxBitmap
*)new_wxBitmap(*_arg0
,_arg1
);
1043 wxPy_END_ALLOW_THREADS
;
1045 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1046 _resultobj
= Py_BuildValue("s",_ptemp
);
1049 _resultobj
= Py_None
;
1058 #define delete_wxBitmap(_swigobj) (delete _swigobj)
1059 static PyObject
*_wrap_delete_wxBitmap(PyObject
*self
, PyObject
*args
) {
1060 PyObject
* _resultobj
;
1062 PyObject
* _argo0
= 0;
1065 if(!PyArg_ParseTuple(args
,"O:delete_wxBitmap",&_argo0
))
1068 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1069 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBitmap. Expected _wxBitmap_p.");
1075 wxPy_BEGIN_ALLOW_THREADS
;
1076 delete_wxBitmap(_arg0
);
1078 wxPy_END_ALLOW_THREADS
;
1079 } Py_INCREF(Py_None
);
1080 _resultobj
= Py_None
;
1084 #define wxBitmap_GetDepth(_swigobj) (_swigobj->GetDepth())
1085 static PyObject
*_wrap_wxBitmap_GetDepth(PyObject
*self
, PyObject
*args
) {
1086 PyObject
* _resultobj
;
1089 PyObject
* _argo0
= 0;
1092 if(!PyArg_ParseTuple(args
,"O:wxBitmap_GetDepth",&_argo0
))
1095 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1096 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetDepth. Expected _wxBitmap_p.");
1102 wxPy_BEGIN_ALLOW_THREADS
;
1103 _result
= (int )wxBitmap_GetDepth(_arg0
);
1105 wxPy_END_ALLOW_THREADS
;
1106 } _resultobj
= Py_BuildValue("i",_result
);
1110 #define wxBitmap_GetHeight(_swigobj) (_swigobj->GetHeight())
1111 static PyObject
*_wrap_wxBitmap_GetHeight(PyObject
*self
, PyObject
*args
) {
1112 PyObject
* _resultobj
;
1115 PyObject
* _argo0
= 0;
1118 if(!PyArg_ParseTuple(args
,"O:wxBitmap_GetHeight",&_argo0
))
1121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetHeight. Expected _wxBitmap_p.");
1128 wxPy_BEGIN_ALLOW_THREADS
;
1129 _result
= (int )wxBitmap_GetHeight(_arg0
);
1131 wxPy_END_ALLOW_THREADS
;
1132 } _resultobj
= Py_BuildValue("i",_result
);
1136 #define wxBitmap_GetPalette(_swigobj) (_swigobj->GetPalette())
1137 static PyObject
*_wrap_wxBitmap_GetPalette(PyObject
*self
, PyObject
*args
) {
1138 PyObject
* _resultobj
;
1139 wxPalette
* _result
;
1141 PyObject
* _argo0
= 0;
1145 if(!PyArg_ParseTuple(args
,"O:wxBitmap_GetPalette",&_argo0
))
1148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetPalette. Expected _wxBitmap_p.");
1155 wxPy_BEGIN_ALLOW_THREADS
;
1156 _result
= (wxPalette
*)wxBitmap_GetPalette(_arg0
);
1158 wxPy_END_ALLOW_THREADS
;
1160 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
1161 _resultobj
= Py_BuildValue("s",_ptemp
);
1164 _resultobj
= Py_None
;
1169 #define wxBitmap_GetMask(_swigobj) (_swigobj->GetMask())
1170 static PyObject
*_wrap_wxBitmap_GetMask(PyObject
*self
, PyObject
*args
) {
1171 PyObject
* _resultobj
;
1174 PyObject
* _argo0
= 0;
1178 if(!PyArg_ParseTuple(args
,"O:wxBitmap_GetMask",&_argo0
))
1181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetMask. Expected _wxBitmap_p.");
1188 wxPy_BEGIN_ALLOW_THREADS
;
1189 _result
= (wxMask
*)wxBitmap_GetMask(_arg0
);
1191 wxPy_END_ALLOW_THREADS
;
1193 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
1194 _resultobj
= Py_BuildValue("s",_ptemp
);
1197 _resultobj
= Py_None
;
1202 #define wxBitmap_GetWidth(_swigobj) (_swigobj->GetWidth())
1203 static PyObject
*_wrap_wxBitmap_GetWidth(PyObject
*self
, PyObject
*args
) {
1204 PyObject
* _resultobj
;
1207 PyObject
* _argo0
= 0;
1210 if(!PyArg_ParseTuple(args
,"O:wxBitmap_GetWidth",&_argo0
))
1213 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1214 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetWidth. Expected _wxBitmap_p.");
1220 wxPy_BEGIN_ALLOW_THREADS
;
1221 _result
= (int )wxBitmap_GetWidth(_arg0
);
1223 wxPy_END_ALLOW_THREADS
;
1224 } _resultobj
= Py_BuildValue("i",_result
);
1228 #define wxBitmap_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1229 static PyObject
*_wrap_wxBitmap_LoadFile(PyObject
*self
, PyObject
*args
) {
1230 PyObject
* _resultobj
;
1235 PyObject
* _argo0
= 0;
1236 PyObject
* _obj1
= 0;
1239 if(!PyArg_ParseTuple(args
,"OOl:wxBitmap_LoadFile",&_argo0
,&_obj1
,&_arg2
))
1242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_LoadFile. Expected _wxBitmap_p.");
1249 if (!PyString_Check(_obj1
)) {
1250 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1253 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1256 wxPy_BEGIN_ALLOW_THREADS
;
1257 _result
= (bool )wxBitmap_LoadFile(_arg0
,*_arg1
,_arg2
);
1259 wxPy_END_ALLOW_THREADS
;
1260 } _resultobj
= Py_BuildValue("i",_result
);
1268 #define wxBitmap_Ok(_swigobj) (_swigobj->Ok())
1269 static PyObject
*_wrap_wxBitmap_Ok(PyObject
*self
, PyObject
*args
) {
1270 PyObject
* _resultobj
;
1273 PyObject
* _argo0
= 0;
1276 if(!PyArg_ParseTuple(args
,"O:wxBitmap_Ok",&_argo0
))
1279 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1280 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_Ok. Expected _wxBitmap_p.");
1286 wxPy_BEGIN_ALLOW_THREADS
;
1287 _result
= (bool )wxBitmap_Ok(_arg0
);
1289 wxPy_END_ALLOW_THREADS
;
1290 } _resultobj
= Py_BuildValue("i",_result
);
1294 #define wxBitmap_SaveFile(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SaveFile(_swigarg0,_swigarg1,_swigarg2))
1295 static PyObject
*_wrap_wxBitmap_SaveFile(PyObject
*self
, PyObject
*args
) {
1296 PyObject
* _resultobj
;
1301 wxPalette
* _arg3
= (wxPalette
*) NULL
;
1302 PyObject
* _argo0
= 0;
1303 PyObject
* _obj1
= 0;
1304 PyObject
* _argo3
= 0;
1307 if(!PyArg_ParseTuple(args
,"OOi|O:wxBitmap_SaveFile",&_argo0
,&_obj1
,&_arg2
,&_argo3
))
1310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SaveFile. Expected _wxBitmap_p.");
1317 if (!PyString_Check(_obj1
)) {
1318 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1321 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1324 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1325 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxPalette_p")) {
1326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxBitmap_SaveFile. Expected _wxPalette_p.");
1331 wxPy_BEGIN_ALLOW_THREADS
;
1332 _result
= (bool )wxBitmap_SaveFile(_arg0
,*_arg1
,_arg2
,_arg3
);
1334 wxPy_END_ALLOW_THREADS
;
1335 } _resultobj
= Py_BuildValue("i",_result
);
1343 #define wxBitmap_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
1344 static PyObject
*_wrap_wxBitmap_SetDepth(PyObject
*self
, PyObject
*args
) {
1345 PyObject
* _resultobj
;
1348 PyObject
* _argo0
= 0;
1351 if(!PyArg_ParseTuple(args
,"Oi:wxBitmap_SetDepth",&_argo0
,&_arg1
))
1354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetDepth. Expected _wxBitmap_p.");
1361 wxPy_BEGIN_ALLOW_THREADS
;
1362 wxBitmap_SetDepth(_arg0
,_arg1
);
1364 wxPy_END_ALLOW_THREADS
;
1365 } Py_INCREF(Py_None
);
1366 _resultobj
= Py_None
;
1370 #define wxBitmap_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1371 static PyObject
*_wrap_wxBitmap_SetHeight(PyObject
*self
, PyObject
*args
) {
1372 PyObject
* _resultobj
;
1375 PyObject
* _argo0
= 0;
1378 if(!PyArg_ParseTuple(args
,"Oi:wxBitmap_SetHeight",&_argo0
,&_arg1
))
1381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetHeight. Expected _wxBitmap_p.");
1388 wxPy_BEGIN_ALLOW_THREADS
;
1389 wxBitmap_SetHeight(_arg0
,_arg1
);
1391 wxPy_END_ALLOW_THREADS
;
1392 } Py_INCREF(Py_None
);
1393 _resultobj
= Py_None
;
1397 #define wxBitmap_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
1398 static PyObject
*_wrap_wxBitmap_SetMask(PyObject
*self
, PyObject
*args
) {
1399 PyObject
* _resultobj
;
1402 PyObject
* _argo0
= 0;
1403 PyObject
* _argo1
= 0;
1406 if(!PyArg_ParseTuple(args
,"OO:wxBitmap_SetMask",&_argo0
,&_argo1
))
1409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetMask. Expected _wxBitmap_p.");
1416 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1417 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMask_p")) {
1418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_SetMask. Expected _wxMask_p.");
1423 wxPy_BEGIN_ALLOW_THREADS
;
1424 wxBitmap_SetMask(_arg0
,_arg1
);
1426 wxPy_END_ALLOW_THREADS
;
1427 } Py_INCREF(Py_None
);
1428 _resultobj
= Py_None
;
1432 #define wxBitmap_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1433 static PyObject
*_wrap_wxBitmap_SetWidth(PyObject
*self
, PyObject
*args
) {
1434 PyObject
* _resultobj
;
1437 PyObject
* _argo0
= 0;
1440 if(!PyArg_ParseTuple(args
,"Oi:wxBitmap_SetWidth",&_argo0
,&_arg1
))
1443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetWidth. Expected _wxBitmap_p.");
1450 wxPy_BEGIN_ALLOW_THREADS
;
1451 wxBitmap_SetWidth(_arg0
,_arg1
);
1453 wxPy_END_ALLOW_THREADS
;
1454 } Py_INCREF(Py_None
);
1455 _resultobj
= Py_None
;
1459 #define new_wxMask(_swigarg0) (new wxMask(_swigarg0))
1460 static PyObject
*_wrap_new_wxMask(PyObject
*self
, PyObject
*args
) {
1461 PyObject
* _resultobj
;
1464 PyObject
* _argo0
= 0;
1468 if(!PyArg_ParseTuple(args
,"O:new_wxMask",&_argo0
))
1471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMask. Expected _wxBitmap_p.");
1478 wxPy_BEGIN_ALLOW_THREADS
;
1479 _result
= (wxMask
*)new_wxMask(*_arg0
);
1481 wxPy_END_ALLOW_THREADS
;
1483 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
1484 _resultobj
= Py_BuildValue("s",_ptemp
);
1487 _resultobj
= Py_None
;
1492 #define delete_wxMask(_swigobj) (delete _swigobj)
1493 static PyObject
*_wrap_delete_wxMask(PyObject
*self
, PyObject
*args
) {
1494 PyObject
* _resultobj
;
1496 PyObject
* _argo0
= 0;
1499 if(!PyArg_ParseTuple(args
,"O:delete_wxMask",&_argo0
))
1502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMask_p")) {
1504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMask. Expected _wxMask_p.");
1509 wxPy_BEGIN_ALLOW_THREADS
;
1510 delete_wxMask(_arg0
);
1512 wxPy_END_ALLOW_THREADS
;
1513 } Py_INCREF(Py_None
);
1514 _resultobj
= Py_None
;
1518 static void *SwigwxIconTowxBitmap(void *ptr
) {
1521 src
= (wxIcon
*) ptr
;
1522 dest
= (wxBitmap
*) src
;
1523 return (void *) dest
;
1526 #define new_wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1527 static PyObject
*_wrap_new_wxIcon(PyObject
*self
, PyObject
*args
) {
1528 PyObject
* _resultobj
;
1532 int _arg2
= (int ) -1;
1533 int _arg3
= (int ) -1;
1534 PyObject
* _obj0
= 0;
1538 if(!PyArg_ParseTuple(args
,"Ol|ii:new_wxIcon",&_obj0
,&_arg1
,&_arg2
,&_arg3
))
1541 if (!PyString_Check(_obj0
)) {
1542 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1545 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
1548 wxPy_BEGIN_ALLOW_THREADS
;
1549 _result
= (wxIcon
*)new_wxIcon(*_arg0
,_arg1
,_arg2
,_arg3
);
1551 wxPy_END_ALLOW_THREADS
;
1553 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
1554 _resultobj
= Py_BuildValue("s",_ptemp
);
1557 _resultobj
= Py_None
;
1566 #define delete_wxIcon(_swigobj) (delete _swigobj)
1567 static PyObject
*_wrap_delete_wxIcon(PyObject
*self
, PyObject
*args
) {
1568 PyObject
* _resultobj
;
1570 PyObject
* _argo0
= 0;
1573 if(!PyArg_ParseTuple(args
,"O:delete_wxIcon",&_argo0
))
1576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxIcon. Expected _wxIcon_p.");
1583 wxPy_BEGIN_ALLOW_THREADS
;
1584 delete_wxIcon(_arg0
);
1586 wxPy_END_ALLOW_THREADS
;
1587 } Py_INCREF(Py_None
);
1588 _resultobj
= Py_None
;
1592 #define wxIcon_GetDepth(_swigobj) (_swigobj->GetDepth())
1593 static PyObject
*_wrap_wxIcon_GetDepth(PyObject
*self
, PyObject
*args
) {
1594 PyObject
* _resultobj
;
1597 PyObject
* _argo0
= 0;
1600 if(!PyArg_ParseTuple(args
,"O:wxIcon_GetDepth",&_argo0
))
1603 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1604 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetDepth. Expected _wxIcon_p.");
1610 wxPy_BEGIN_ALLOW_THREADS
;
1611 _result
= (int )wxIcon_GetDepth(_arg0
);
1613 wxPy_END_ALLOW_THREADS
;
1614 } _resultobj
= Py_BuildValue("i",_result
);
1618 #define wxIcon_GetHeight(_swigobj) (_swigobj->GetHeight())
1619 static PyObject
*_wrap_wxIcon_GetHeight(PyObject
*self
, PyObject
*args
) {
1620 PyObject
* _resultobj
;
1623 PyObject
* _argo0
= 0;
1626 if(!PyArg_ParseTuple(args
,"O:wxIcon_GetHeight",&_argo0
))
1629 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1630 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetHeight. Expected _wxIcon_p.");
1636 wxPy_BEGIN_ALLOW_THREADS
;
1637 _result
= (int )wxIcon_GetHeight(_arg0
);
1639 wxPy_END_ALLOW_THREADS
;
1640 } _resultobj
= Py_BuildValue("i",_result
);
1644 #define wxIcon_GetWidth(_swigobj) (_swigobj->GetWidth())
1645 static PyObject
*_wrap_wxIcon_GetWidth(PyObject
*self
, PyObject
*args
) {
1646 PyObject
* _resultobj
;
1649 PyObject
* _argo0
= 0;
1652 if(!PyArg_ParseTuple(args
,"O:wxIcon_GetWidth",&_argo0
))
1655 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1656 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetWidth. Expected _wxIcon_p.");
1662 wxPy_BEGIN_ALLOW_THREADS
;
1663 _result
= (int )wxIcon_GetWidth(_arg0
);
1665 wxPy_END_ALLOW_THREADS
;
1666 } _resultobj
= Py_BuildValue("i",_result
);
1670 #define wxIcon_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1671 static PyObject
*_wrap_wxIcon_LoadFile(PyObject
*self
, PyObject
*args
) {
1672 PyObject
* _resultobj
;
1677 PyObject
* _argo0
= 0;
1678 PyObject
* _obj1
= 0;
1681 if(!PyArg_ParseTuple(args
,"OOl:wxIcon_LoadFile",&_argo0
,&_obj1
,&_arg2
))
1684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_LoadFile. Expected _wxIcon_p.");
1691 if (!PyString_Check(_obj1
)) {
1692 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1695 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1698 wxPy_BEGIN_ALLOW_THREADS
;
1699 _result
= (bool )wxIcon_LoadFile(_arg0
,*_arg1
,_arg2
);
1701 wxPy_END_ALLOW_THREADS
;
1702 } _resultobj
= Py_BuildValue("i",_result
);
1710 #define wxIcon_Ok(_swigobj) (_swigobj->Ok())
1711 static PyObject
*_wrap_wxIcon_Ok(PyObject
*self
, PyObject
*args
) {
1712 PyObject
* _resultobj
;
1715 PyObject
* _argo0
= 0;
1718 if(!PyArg_ParseTuple(args
,"O:wxIcon_Ok",&_argo0
))
1721 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1722 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_Ok. Expected _wxIcon_p.");
1728 wxPy_BEGIN_ALLOW_THREADS
;
1729 _result
= (bool )wxIcon_Ok(_arg0
);
1731 wxPy_END_ALLOW_THREADS
;
1732 } _resultobj
= Py_BuildValue("i",_result
);
1736 #define wxIcon_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
1737 static PyObject
*_wrap_wxIcon_SetDepth(PyObject
*self
, PyObject
*args
) {
1738 PyObject
* _resultobj
;
1741 PyObject
* _argo0
= 0;
1744 if(!PyArg_ParseTuple(args
,"Oi:wxIcon_SetDepth",&_argo0
,&_arg1
))
1747 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1748 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetDepth. Expected _wxIcon_p.");
1754 wxPy_BEGIN_ALLOW_THREADS
;
1755 wxIcon_SetDepth(_arg0
,_arg1
);
1757 wxPy_END_ALLOW_THREADS
;
1758 } Py_INCREF(Py_None
);
1759 _resultobj
= Py_None
;
1763 #define wxIcon_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1764 static PyObject
*_wrap_wxIcon_SetHeight(PyObject
*self
, PyObject
*args
) {
1765 PyObject
* _resultobj
;
1768 PyObject
* _argo0
= 0;
1771 if(!PyArg_ParseTuple(args
,"Oi:wxIcon_SetHeight",&_argo0
,&_arg1
))
1774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetHeight. Expected _wxIcon_p.");
1781 wxPy_BEGIN_ALLOW_THREADS
;
1782 wxIcon_SetHeight(_arg0
,_arg1
);
1784 wxPy_END_ALLOW_THREADS
;
1785 } Py_INCREF(Py_None
);
1786 _resultobj
= Py_None
;
1790 #define wxIcon_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1791 static PyObject
*_wrap_wxIcon_SetWidth(PyObject
*self
, PyObject
*args
) {
1792 PyObject
* _resultobj
;
1795 PyObject
* _argo0
= 0;
1798 if(!PyArg_ParseTuple(args
,"Oi:wxIcon_SetWidth",&_argo0
,&_arg1
))
1801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetWidth. Expected _wxIcon_p.");
1808 wxPy_BEGIN_ALLOW_THREADS
;
1809 wxIcon_SetWidth(_arg0
,_arg1
);
1811 wxPy_END_ALLOW_THREADS
;
1812 } Py_INCREF(Py_None
);
1813 _resultobj
= Py_None
;
1817 static void *SwigwxCursorTowxBitmap(void *ptr
) {
1820 src
= (wxCursor
*) ptr
;
1821 dest
= (wxBitmap
*) src
;
1822 return (void *) dest
;
1825 #define delete_wxCursor(_swigobj) (delete _swigobj)
1826 static PyObject
*_wrap_delete_wxCursor(PyObject
*self
, PyObject
*args
) {
1827 PyObject
* _resultobj
;
1829 PyObject
* _argo0
= 0;
1832 if(!PyArg_ParseTuple(args
,"O:delete_wxCursor",&_argo0
))
1835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1836 else if (SWIG_GetPtrObj(_argo0
,(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
;
1856 PyObject
* _argo0
= 0;
1859 if(!PyArg_ParseTuple(args
,"O:wxCursor_Ok",&_argo0
))
1862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_Ok. Expected _wxCursor_p.");
1869 wxPy_BEGIN_ALLOW_THREADS
;
1870 _result
= (bool )wxCursor_Ok(_arg0
);
1872 wxPy_END_ALLOW_THREADS
;
1873 } _resultobj
= Py_BuildValue("i",_result
);
1877 static wxFont
*new_wxFont(int pointSize
,int family
,int style
,int weight
,int underline
,char *faceName
) {
1879 return wxTheFontList
->FindOrCreateFont(pointSize
, family
, style
, weight
,
1880 underline
, faceName
);
1883 static PyObject
*_wrap_new_wxFont(PyObject
*self
, PyObject
*args
) {
1884 PyObject
* _resultobj
;
1890 int _arg4
= (int ) FALSE
;
1891 char * _arg5
= (char *) "";
1895 if(!PyArg_ParseTuple(args
,"iiii|is:new_wxFont",&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
1898 wxPy_BEGIN_ALLOW_THREADS
;
1899 _result
= (wxFont
*)new_wxFont(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1901 wxPy_END_ALLOW_THREADS
;
1903 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1904 _resultobj
= Py_BuildValue("s",_ptemp
);
1907 _resultobj
= Py_None
;
1912 #define wxFont_GetFaceName(_swigobj) (_swigobj->GetFaceName())
1913 static PyObject
*_wrap_wxFont_GetFaceName(PyObject
*self
, PyObject
*args
) {
1914 PyObject
* _resultobj
;
1917 PyObject
* _argo0
= 0;
1920 if(!PyArg_ParseTuple(args
,"O:wxFont_GetFaceName",&_argo0
))
1923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFaceName. Expected _wxFont_p.");
1930 wxPy_BEGIN_ALLOW_THREADS
;
1931 _result
= new wxString (wxFont_GetFaceName(_arg0
));
1933 wxPy_END_ALLOW_THREADS
;
1935 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1943 #define wxFont_GetFamily(_swigobj) (_swigobj->GetFamily())
1944 static PyObject
*_wrap_wxFont_GetFamily(PyObject
*self
, PyObject
*args
) {
1945 PyObject
* _resultobj
;
1948 PyObject
* _argo0
= 0;
1951 if(!PyArg_ParseTuple(args
,"O:wxFont_GetFamily",&_argo0
))
1954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFamily. Expected _wxFont_p.");
1961 wxPy_BEGIN_ALLOW_THREADS
;
1962 _result
= (int )wxFont_GetFamily(_arg0
);
1964 wxPy_END_ALLOW_THREADS
;
1965 } _resultobj
= Py_BuildValue("i",_result
);
1969 #define wxFont_GetPointSize(_swigobj) (_swigobj->GetPointSize())
1970 static PyObject
*_wrap_wxFont_GetPointSize(PyObject
*self
, PyObject
*args
) {
1971 PyObject
* _resultobj
;
1974 PyObject
* _argo0
= 0;
1977 if(!PyArg_ParseTuple(args
,"O:wxFont_GetPointSize",&_argo0
))
1980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetPointSize. Expected _wxFont_p.");
1987 wxPy_BEGIN_ALLOW_THREADS
;
1988 _result
= (int )wxFont_GetPointSize(_arg0
);
1990 wxPy_END_ALLOW_THREADS
;
1991 } _resultobj
= Py_BuildValue("i",_result
);
1995 #define wxFont_GetStyle(_swigobj) (_swigobj->GetStyle())
1996 static PyObject
*_wrap_wxFont_GetStyle(PyObject
*self
, PyObject
*args
) {
1997 PyObject
* _resultobj
;
2000 PyObject
* _argo0
= 0;
2003 if(!PyArg_ParseTuple(args
,"O:wxFont_GetStyle",&_argo0
))
2006 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2007 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetStyle. Expected _wxFont_p.");
2013 wxPy_BEGIN_ALLOW_THREADS
;
2014 _result
= (int )wxFont_GetStyle(_arg0
);
2016 wxPy_END_ALLOW_THREADS
;
2017 } _resultobj
= Py_BuildValue("i",_result
);
2021 #define wxFont_GetUnderlined(_swigobj) (_swigobj->GetUnderlined())
2022 static PyObject
*_wrap_wxFont_GetUnderlined(PyObject
*self
, PyObject
*args
) {
2023 PyObject
* _resultobj
;
2026 PyObject
* _argo0
= 0;
2029 if(!PyArg_ParseTuple(args
,"O:wxFont_GetUnderlined",&_argo0
))
2032 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2033 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetUnderlined. Expected _wxFont_p.");
2039 wxPy_BEGIN_ALLOW_THREADS
;
2040 _result
= (bool )wxFont_GetUnderlined(_arg0
);
2042 wxPy_END_ALLOW_THREADS
;
2043 } _resultobj
= Py_BuildValue("i",_result
);
2047 #define wxFont_GetWeight(_swigobj) (_swigobj->GetWeight())
2048 static PyObject
*_wrap_wxFont_GetWeight(PyObject
*self
, PyObject
*args
) {
2049 PyObject
* _resultobj
;
2052 PyObject
* _argo0
= 0;
2055 if(!PyArg_ParseTuple(args
,"O:wxFont_GetWeight",&_argo0
))
2058 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2059 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetWeight. Expected _wxFont_p.");
2065 wxPy_BEGIN_ALLOW_THREADS
;
2066 _result
= (int )wxFont_GetWeight(_arg0
);
2068 wxPy_END_ALLOW_THREADS
;
2069 } _resultobj
= Py_BuildValue("i",_result
);
2073 #define wxFont_SetFaceName(_swigobj,_swigarg0) (_swigobj->SetFaceName(_swigarg0))
2074 static PyObject
*_wrap_wxFont_SetFaceName(PyObject
*self
, PyObject
*args
) {
2075 PyObject
* _resultobj
;
2078 PyObject
* _argo0
= 0;
2079 PyObject
* _obj1
= 0;
2082 if(!PyArg_ParseTuple(args
,"OO:wxFont_SetFaceName",&_argo0
,&_obj1
))
2085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFaceName. Expected _wxFont_p.");
2092 if (!PyString_Check(_obj1
)) {
2093 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2096 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2099 wxPy_BEGIN_ALLOW_THREADS
;
2100 wxFont_SetFaceName(_arg0
,*_arg1
);
2102 wxPy_END_ALLOW_THREADS
;
2103 } Py_INCREF(Py_None
);
2104 _resultobj
= Py_None
;
2112 #define wxFont_SetFamily(_swigobj,_swigarg0) (_swigobj->SetFamily(_swigarg0))
2113 static PyObject
*_wrap_wxFont_SetFamily(PyObject
*self
, PyObject
*args
) {
2114 PyObject
* _resultobj
;
2117 PyObject
* _argo0
= 0;
2120 if(!PyArg_ParseTuple(args
,"Oi:wxFont_SetFamily",&_argo0
,&_arg1
))
2123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFamily. Expected _wxFont_p.");
2130 wxPy_BEGIN_ALLOW_THREADS
;
2131 wxFont_SetFamily(_arg0
,_arg1
);
2133 wxPy_END_ALLOW_THREADS
;
2134 } Py_INCREF(Py_None
);
2135 _resultobj
= Py_None
;
2139 #define wxFont_SetPointSize(_swigobj,_swigarg0) (_swigobj->SetPointSize(_swigarg0))
2140 static PyObject
*_wrap_wxFont_SetPointSize(PyObject
*self
, PyObject
*args
) {
2141 PyObject
* _resultobj
;
2144 PyObject
* _argo0
= 0;
2147 if(!PyArg_ParseTuple(args
,"Oi:wxFont_SetPointSize",&_argo0
,&_arg1
))
2150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetPointSize. Expected _wxFont_p.");
2157 wxPy_BEGIN_ALLOW_THREADS
;
2158 wxFont_SetPointSize(_arg0
,_arg1
);
2160 wxPy_END_ALLOW_THREADS
;
2161 } Py_INCREF(Py_None
);
2162 _resultobj
= Py_None
;
2166 #define wxFont_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
2167 static PyObject
*_wrap_wxFont_SetStyle(PyObject
*self
, PyObject
*args
) {
2168 PyObject
* _resultobj
;
2171 PyObject
* _argo0
= 0;
2174 if(!PyArg_ParseTuple(args
,"Oi:wxFont_SetStyle",&_argo0
,&_arg1
))
2177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetStyle. Expected _wxFont_p.");
2184 wxPy_BEGIN_ALLOW_THREADS
;
2185 wxFont_SetStyle(_arg0
,_arg1
);
2187 wxPy_END_ALLOW_THREADS
;
2188 } Py_INCREF(Py_None
);
2189 _resultobj
= Py_None
;
2193 #define wxFont_SetUnderlined(_swigobj,_swigarg0) (_swigobj->SetUnderlined(_swigarg0))
2194 static PyObject
*_wrap_wxFont_SetUnderlined(PyObject
*self
, PyObject
*args
) {
2195 PyObject
* _resultobj
;
2198 PyObject
* _argo0
= 0;
2202 if(!PyArg_ParseTuple(args
,"Oi:wxFont_SetUnderlined",&_argo0
,&tempbool1
))
2205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetUnderlined. Expected _wxFont_p.");
2211 _arg1
= (bool ) tempbool1
;
2213 wxPy_BEGIN_ALLOW_THREADS
;
2214 wxFont_SetUnderlined(_arg0
,_arg1
);
2216 wxPy_END_ALLOW_THREADS
;
2217 } Py_INCREF(Py_None
);
2218 _resultobj
= Py_None
;
2222 #define wxFont_SetWeight(_swigobj,_swigarg0) (_swigobj->SetWeight(_swigarg0))
2223 static PyObject
*_wrap_wxFont_SetWeight(PyObject
*self
, PyObject
*args
) {
2224 PyObject
* _resultobj
;
2227 PyObject
* _argo0
= 0;
2230 if(!PyArg_ParseTuple(args
,"Oi:wxFont_SetWeight",&_argo0
,&_arg1
))
2233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetWeight. Expected _wxFont_p.");
2240 wxPy_BEGIN_ALLOW_THREADS
;
2241 wxFont_SetWeight(_arg0
,_arg1
);
2243 wxPy_END_ALLOW_THREADS
;
2244 } Py_INCREF(Py_None
);
2245 _resultobj
= Py_None
;
2249 #define new_wxColour(_swigarg0,_swigarg1,_swigarg2) (new wxColour(_swigarg0,_swigarg1,_swigarg2))
2250 static PyObject
*_wrap_new_wxColour(PyObject
*self
, PyObject
*args
) {
2251 PyObject
* _resultobj
;
2253 unsigned char _arg0
= (unsigned char ) 0;
2254 unsigned char _arg1
= (unsigned char ) 0;
2255 unsigned char _arg2
= (unsigned char ) 0;
2259 if(!PyArg_ParseTuple(args
,"|bbb:new_wxColour",&_arg0
,&_arg1
,&_arg2
))
2262 wxPy_BEGIN_ALLOW_THREADS
;
2263 _result
= (wxColour
*)new_wxColour(_arg0
,_arg1
,_arg2
);
2265 wxPy_END_ALLOW_THREADS
;
2267 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
2268 _resultobj
= Py_BuildValue("s",_ptemp
);
2271 _resultobj
= Py_None
;
2276 #define delete_wxColour(_swigobj) (delete _swigobj)
2277 static PyObject
*_wrap_delete_wxColour(PyObject
*self
, PyObject
*args
) {
2278 PyObject
* _resultobj
;
2280 PyObject
* _argo0
= 0;
2283 if(!PyArg_ParseTuple(args
,"O:delete_wxColour",&_argo0
))
2286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
2288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxColour. Expected _wxColour_p.");
2293 wxPy_BEGIN_ALLOW_THREADS
;
2294 delete_wxColour(_arg0
);
2296 wxPy_END_ALLOW_THREADS
;
2297 } Py_INCREF(Py_None
);
2298 _resultobj
= Py_None
;
2302 #define wxColour_Red(_swigobj) (_swigobj->Red())
2303 static PyObject
*_wrap_wxColour_Red(PyObject
*self
, PyObject
*args
) {
2304 PyObject
* _resultobj
;
2305 unsigned char _result
;
2307 PyObject
* _argo0
= 0;
2310 if(!PyArg_ParseTuple(args
,"O:wxColour_Red",&_argo0
))
2313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2314 else if (SWIG_GetPtrObj(_argo0
,(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
;
2333 PyObject
* _argo0
= 0;
2336 if(!PyArg_ParseTuple(args
,"O:wxColour_Green",&_argo0
))
2339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
2341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Green. Expected _wxColour_p.");
2346 wxPy_BEGIN_ALLOW_THREADS
;
2347 _result
= (unsigned char )wxColour_Green(_arg0
);
2349 wxPy_END_ALLOW_THREADS
;
2350 } _resultobj
= Py_BuildValue("b",_result
);
2354 #define wxColour_Blue(_swigobj) (_swigobj->Blue())
2355 static PyObject
*_wrap_wxColour_Blue(PyObject
*self
, PyObject
*args
) {
2356 PyObject
* _resultobj
;
2357 unsigned char _result
;
2359 PyObject
* _argo0
= 0;
2362 if(!PyArg_ParseTuple(args
,"O:wxColour_Blue",&_argo0
))
2365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
2367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Blue. Expected _wxColour_p.");
2372 wxPy_BEGIN_ALLOW_THREADS
;
2373 _result
= (unsigned char )wxColour_Blue(_arg0
);
2375 wxPy_END_ALLOW_THREADS
;
2376 } _resultobj
= Py_BuildValue("b",_result
);
2380 #define wxColour_Ok(_swigobj) (_swigobj->Ok())
2381 static PyObject
*_wrap_wxColour_Ok(PyObject
*self
, PyObject
*args
) {
2382 PyObject
* _resultobj
;
2385 PyObject
* _argo0
= 0;
2388 if(!PyArg_ParseTuple(args
,"O:wxColour_Ok",&_argo0
))
2391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
2393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Ok. Expected _wxColour_p.");
2398 wxPy_BEGIN_ALLOW_THREADS
;
2399 _result
= (bool )wxColour_Ok(_arg0
);
2401 wxPy_END_ALLOW_THREADS
;
2402 } _resultobj
= Py_BuildValue("i",_result
);
2406 #define wxColour_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
2407 static PyObject
*_wrap_wxColour_Set(PyObject
*self
, PyObject
*args
) {
2408 PyObject
* _resultobj
;
2410 unsigned char _arg1
;
2411 unsigned char _arg2
;
2412 unsigned char _arg3
;
2413 PyObject
* _argo0
= 0;
2416 if(!PyArg_ParseTuple(args
,"Obbb:wxColour_Set",&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
2421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Set. Expected _wxColour_p.");
2426 wxPy_BEGIN_ALLOW_THREADS
;
2427 wxColour_Set(_arg0
,_arg1
,_arg2
,_arg3
);
2429 wxPy_END_ALLOW_THREADS
;
2430 } Py_INCREF(Py_None
);
2431 _resultobj
= Py_None
;
2435 static PyObject
* wxColour_Get(wxColour
*self
) {
2436 PyObject
* rv
= PyTuple_New(3);
2437 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
2438 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
2439 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
2442 static PyObject
*_wrap_wxColour_Get(PyObject
*self
, PyObject
*args
) {
2443 PyObject
* _resultobj
;
2446 PyObject
* _argo0
= 0;
2449 if(!PyArg_ParseTuple(args
,"O:wxColour_Get",&_argo0
))
2452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
2454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Get. Expected _wxColour_p.");
2459 wxPy_BEGIN_ALLOW_THREADS
;
2460 _result
= (PyObject
*)wxColour_Get(_arg0
);
2462 wxPy_END_ALLOW_THREADS
;
2464 _resultobj
= _result
;
2469 static wxPen
*new_wxPen(wxColour
*colour
,int width
,int style
) {
2470 return wxThePenList
->FindOrCreatePen(*colour
, width
, style
);
2473 static PyObject
*_wrap_new_wxPen(PyObject
*self
, PyObject
*args
) {
2474 PyObject
* _resultobj
;
2477 int _arg1
= (int ) 1;
2478 int _arg2
= (int ) wxSOLID
;
2479 PyObject
* _argo0
= 0;
2483 if(!PyArg_ParseTuple(args
,"O|ii:new_wxPen",&_argo0
,&_arg1
,&_arg2
))
2486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
2488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPen. Expected _wxColour_p.");
2493 wxPy_BEGIN_ALLOW_THREADS
;
2494 _result
= (wxPen
*)new_wxPen(_arg0
,_arg1
,_arg2
);
2496 wxPy_END_ALLOW_THREADS
;
2498 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
2499 _resultobj
= Py_BuildValue("s",_ptemp
);
2502 _resultobj
= Py_None
;
2507 #define wxPen_GetCap(_swigobj) (_swigobj->GetCap())
2508 static PyObject
*_wrap_wxPen_GetCap(PyObject
*self
, PyObject
*args
) {
2509 PyObject
* _resultobj
;
2512 PyObject
* _argo0
= 0;
2515 if(!PyArg_ParseTuple(args
,"O:wxPen_GetCap",&_argo0
))
2518 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2519 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetCap. Expected _wxPen_p.");
2525 wxPy_BEGIN_ALLOW_THREADS
;
2526 _result
= (int )wxPen_GetCap(_arg0
);
2528 wxPy_END_ALLOW_THREADS
;
2529 } _resultobj
= Py_BuildValue("i",_result
);
2533 #define wxPen_GetColour(_swigobj) (_swigobj->GetColour())
2534 static PyObject
*_wrap_wxPen_GetColour(PyObject
*self
, PyObject
*args
) {
2535 PyObject
* _resultobj
;
2538 PyObject
* _argo0
= 0;
2542 if(!PyArg_ParseTuple(args
,"O:wxPen_GetColour",&_argo0
))
2545 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2546 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetColour. Expected _wxPen_p.");
2552 wxPy_BEGIN_ALLOW_THREADS
;
2553 wxColour
& _result_ref
= wxPen_GetColour(_arg0
);
2554 _result
= (wxColour
*) &_result_ref
;
2556 wxPy_END_ALLOW_THREADS
;
2558 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
2559 _resultobj
= Py_BuildValue("s",_ptemp
);
2562 _resultobj
= Py_None
;
2567 #define wxPen_GetJoin(_swigobj) (_swigobj->GetJoin())
2568 static PyObject
*_wrap_wxPen_GetJoin(PyObject
*self
, PyObject
*args
) {
2569 PyObject
* _resultobj
;
2572 PyObject
* _argo0
= 0;
2575 if(!PyArg_ParseTuple(args
,"O:wxPen_GetJoin",&_argo0
))
2578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetJoin. Expected _wxPen_p.");
2585 wxPy_BEGIN_ALLOW_THREADS
;
2586 _result
= (int )wxPen_GetJoin(_arg0
);
2588 wxPy_END_ALLOW_THREADS
;
2589 } _resultobj
= Py_BuildValue("i",_result
);
2593 #define wxPen_GetStyle(_swigobj) (_swigobj->GetStyle())
2594 static PyObject
*_wrap_wxPen_GetStyle(PyObject
*self
, PyObject
*args
) {
2595 PyObject
* _resultobj
;
2598 PyObject
* _argo0
= 0;
2601 if(!PyArg_ParseTuple(args
,"O:wxPen_GetStyle",&_argo0
))
2604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetStyle. Expected _wxPen_p.");
2611 wxPy_BEGIN_ALLOW_THREADS
;
2612 _result
= (int )wxPen_GetStyle(_arg0
);
2614 wxPy_END_ALLOW_THREADS
;
2615 } _resultobj
= Py_BuildValue("i",_result
);
2619 #define wxPen_GetWidth(_swigobj) (_swigobj->GetWidth())
2620 static PyObject
*_wrap_wxPen_GetWidth(PyObject
*self
, PyObject
*args
) {
2621 PyObject
* _resultobj
;
2624 PyObject
* _argo0
= 0;
2627 if(!PyArg_ParseTuple(args
,"O:wxPen_GetWidth",&_argo0
))
2630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetWidth. Expected _wxPen_p.");
2637 wxPy_BEGIN_ALLOW_THREADS
;
2638 _result
= (int )wxPen_GetWidth(_arg0
);
2640 wxPy_END_ALLOW_THREADS
;
2641 } _resultobj
= Py_BuildValue("i",_result
);
2645 #define wxPen_Ok(_swigobj) (_swigobj->Ok())
2646 static PyObject
*_wrap_wxPen_Ok(PyObject
*self
, PyObject
*args
) {
2647 PyObject
* _resultobj
;
2650 PyObject
* _argo0
= 0;
2653 if(!PyArg_ParseTuple(args
,"O:wxPen_Ok",&_argo0
))
2656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_Ok. Expected _wxPen_p.");
2663 wxPy_BEGIN_ALLOW_THREADS
;
2664 _result
= (bool )wxPen_Ok(_arg0
);
2666 wxPy_END_ALLOW_THREADS
;
2667 } _resultobj
= Py_BuildValue("i",_result
);
2671 #define wxPen_SetCap(_swigobj,_swigarg0) (_swigobj->SetCap(_swigarg0))
2672 static PyObject
*_wrap_wxPen_SetCap(PyObject
*self
, PyObject
*args
) {
2673 PyObject
* _resultobj
;
2676 PyObject
* _argo0
= 0;
2679 if(!PyArg_ParseTuple(args
,"Oi:wxPen_SetCap",&_argo0
,&_arg1
))
2682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetCap. Expected _wxPen_p.");
2689 wxPy_BEGIN_ALLOW_THREADS
;
2690 wxPen_SetCap(_arg0
,_arg1
);
2692 wxPy_END_ALLOW_THREADS
;
2693 } Py_INCREF(Py_None
);
2694 _resultobj
= Py_None
;
2698 #define wxPen_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
2699 static PyObject
*_wrap_wxPen_SetColour(PyObject
*self
, PyObject
*args
) {
2700 PyObject
* _resultobj
;
2703 PyObject
* _argo0
= 0;
2704 PyObject
* _argo1
= 0;
2707 if(!PyArg_ParseTuple(args
,"OO:wxPen_SetColour",&_argo0
,&_argo1
))
2710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetColour. Expected _wxPen_p.");
2717 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2718 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPen_SetColour. Expected _wxColour_p.");
2724 wxPy_BEGIN_ALLOW_THREADS
;
2725 wxPen_SetColour(_arg0
,*_arg1
);
2727 wxPy_END_ALLOW_THREADS
;
2728 } Py_INCREF(Py_None
);
2729 _resultobj
= Py_None
;
2733 #define wxPen_SetJoin(_swigobj,_swigarg0) (_swigobj->SetJoin(_swigarg0))
2734 static PyObject
*_wrap_wxPen_SetJoin(PyObject
*self
, PyObject
*args
) {
2735 PyObject
* _resultobj
;
2738 PyObject
* _argo0
= 0;
2741 if(!PyArg_ParseTuple(args
,"Oi:wxPen_SetJoin",&_argo0
,&_arg1
))
2744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetJoin. Expected _wxPen_p.");
2751 wxPy_BEGIN_ALLOW_THREADS
;
2752 wxPen_SetJoin(_arg0
,_arg1
);
2754 wxPy_END_ALLOW_THREADS
;
2755 } Py_INCREF(Py_None
);
2756 _resultobj
= Py_None
;
2760 #define wxPen_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
2761 static PyObject
*_wrap_wxPen_SetStyle(PyObject
*self
, PyObject
*args
) {
2762 PyObject
* _resultobj
;
2765 PyObject
* _argo0
= 0;
2768 if(!PyArg_ParseTuple(args
,"Oi:wxPen_SetStyle",&_argo0
,&_arg1
))
2771 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2772 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetStyle. Expected _wxPen_p.");
2778 wxPy_BEGIN_ALLOW_THREADS
;
2779 wxPen_SetStyle(_arg0
,_arg1
);
2781 wxPy_END_ALLOW_THREADS
;
2782 } Py_INCREF(Py_None
);
2783 _resultobj
= Py_None
;
2787 #define wxPen_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2788 static PyObject
*_wrap_wxPen_SetWidth(PyObject
*self
, PyObject
*args
) {
2789 PyObject
* _resultobj
;
2792 PyObject
* _argo0
= 0;
2795 if(!PyArg_ParseTuple(args
,"Oi:wxPen_SetWidth",&_argo0
,&_arg1
))
2798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetWidth. Expected _wxPen_p.");
2805 wxPy_BEGIN_ALLOW_THREADS
;
2806 wxPen_SetWidth(_arg0
,_arg1
);
2808 wxPy_END_ALLOW_THREADS
;
2809 } Py_INCREF(Py_None
);
2810 _resultobj
= Py_None
;
2814 static wxBrush
*new_wxBrush(wxColour
*colour
,int style
) {
2815 return wxTheBrushList
->FindOrCreateBrush(*colour
, style
);
2818 static PyObject
*_wrap_new_wxBrush(PyObject
*self
, PyObject
*args
) {
2819 PyObject
* _resultobj
;
2822 int _arg1
= (int ) wxSOLID
;
2823 PyObject
* _argo0
= 0;
2827 if(!PyArg_ParseTuple(args
,"O|i:new_wxBrush",&_argo0
,&_arg1
))
2830 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2831 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
2832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBrush. Expected _wxColour_p.");
2837 wxPy_BEGIN_ALLOW_THREADS
;
2838 _result
= (wxBrush
*)new_wxBrush(_arg0
,_arg1
);
2840 wxPy_END_ALLOW_THREADS
;
2842 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
2843 _resultobj
= Py_BuildValue("s",_ptemp
);
2846 _resultobj
= Py_None
;
2851 #define wxBrush_GetColour(_swigobj) (_swigobj->GetColour())
2852 static PyObject
*_wrap_wxBrush_GetColour(PyObject
*self
, PyObject
*args
) {
2853 PyObject
* _resultobj
;
2856 PyObject
* _argo0
= 0;
2860 if(!PyArg_ParseTuple(args
,"O:wxBrush_GetColour",&_argo0
))
2863 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2864 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
2865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetColour. Expected _wxBrush_p.");
2870 wxPy_BEGIN_ALLOW_THREADS
;
2871 wxColour
& _result_ref
= wxBrush_GetColour(_arg0
);
2872 _result
= (wxColour
*) &_result_ref
;
2874 wxPy_END_ALLOW_THREADS
;
2876 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
2877 _resultobj
= Py_BuildValue("s",_ptemp
);
2880 _resultobj
= Py_None
;
2885 #define wxBrush_GetStipple(_swigobj) (_swigobj->GetStipple())
2886 static PyObject
*_wrap_wxBrush_GetStipple(PyObject
*self
, PyObject
*args
) {
2887 PyObject
* _resultobj
;
2890 PyObject
* _argo0
= 0;
2894 if(!PyArg_ParseTuple(args
,"O:wxBrush_GetStipple",&_argo0
))
2897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
2899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStipple. Expected _wxBrush_p.");
2904 wxPy_BEGIN_ALLOW_THREADS
;
2905 _result
= (wxBitmap
*)wxBrush_GetStipple(_arg0
);
2907 wxPy_END_ALLOW_THREADS
;
2909 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
2910 _resultobj
= Py_BuildValue("s",_ptemp
);
2913 _resultobj
= Py_None
;
2918 #define wxBrush_GetStyle(_swigobj) (_swigobj->GetStyle())
2919 static PyObject
*_wrap_wxBrush_GetStyle(PyObject
*self
, PyObject
*args
) {
2920 PyObject
* _resultobj
;
2923 PyObject
* _argo0
= 0;
2926 if(!PyArg_ParseTuple(args
,"O:wxBrush_GetStyle",&_argo0
))
2929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
2931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStyle. Expected _wxBrush_p.");
2936 wxPy_BEGIN_ALLOW_THREADS
;
2937 _result
= (int )wxBrush_GetStyle(_arg0
);
2939 wxPy_END_ALLOW_THREADS
;
2940 } _resultobj
= Py_BuildValue("i",_result
);
2944 #define wxBrush_Ok(_swigobj) (_swigobj->Ok())
2945 static PyObject
*_wrap_wxBrush_Ok(PyObject
*self
, PyObject
*args
) {
2946 PyObject
* _resultobj
;
2949 PyObject
* _argo0
= 0;
2952 if(!PyArg_ParseTuple(args
,"O:wxBrush_Ok",&_argo0
))
2955 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2956 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
2957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_Ok. Expected _wxBrush_p.");
2962 wxPy_BEGIN_ALLOW_THREADS
;
2963 _result
= (bool )wxBrush_Ok(_arg0
);
2965 wxPy_END_ALLOW_THREADS
;
2966 } _resultobj
= Py_BuildValue("i",_result
);
2970 #define wxBrush_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
2971 static PyObject
*_wrap_wxBrush_SetColour(PyObject
*self
, PyObject
*args
) {
2972 PyObject
* _resultobj
;
2975 PyObject
* _argo0
= 0;
2976 PyObject
* _argo1
= 0;
2979 if(!PyArg_ParseTuple(args
,"OO:wxBrush_SetColour",&_argo0
,&_argo1
))
2982 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2983 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
2984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetColour. Expected _wxBrush_p.");
2989 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2990 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrush_SetColour. Expected _wxColour_p.");
2996 wxPy_BEGIN_ALLOW_THREADS
;
2997 wxBrush_SetColour(_arg0
,*_arg1
);
2999 wxPy_END_ALLOW_THREADS
;
3000 } Py_INCREF(Py_None
);
3001 _resultobj
= Py_None
;
3005 #define wxBrush_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
3006 static PyObject
*_wrap_wxBrush_SetStipple(PyObject
*self
, PyObject
*args
) {
3007 PyObject
* _resultobj
;
3010 PyObject
* _argo0
= 0;
3011 PyObject
* _argo1
= 0;
3014 if(!PyArg_ParseTuple(args
,"OO:wxBrush_SetStipple",&_argo0
,&_argo1
))
3017 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3018 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStipple. Expected _wxBrush_p.");
3024 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3025 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
3026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrush_SetStipple. Expected _wxBitmap_p.");
3031 wxPy_BEGIN_ALLOW_THREADS
;
3032 wxBrush_SetStipple(_arg0
,*_arg1
);
3034 wxPy_END_ALLOW_THREADS
;
3035 } Py_INCREF(Py_None
);
3036 _resultobj
= Py_None
;
3040 #define wxBrush_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
3041 static PyObject
*_wrap_wxBrush_SetStyle(PyObject
*self
, PyObject
*args
) {
3042 PyObject
* _resultobj
;
3045 PyObject
* _argo0
= 0;
3048 if(!PyArg_ParseTuple(args
,"Oi:wxBrush_SetStyle",&_argo0
,&_arg1
))
3051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStyle. Expected _wxBrush_p.");
3058 wxPy_BEGIN_ALLOW_THREADS
;
3059 wxBrush_SetStyle(_arg0
,_arg1
);
3061 wxPy_END_ALLOW_THREADS
;
3062 } Py_INCREF(Py_None
);
3063 _resultobj
= Py_None
;
3067 #define delete_wxDC(_swigobj) (delete _swigobj)
3068 static PyObject
*_wrap_delete_wxDC(PyObject
*self
, PyObject
*args
) {
3069 PyObject
* _resultobj
;
3071 PyObject
* _argo0
= 0;
3074 if(!PyArg_ParseTuple(args
,"O:delete_wxDC",&_argo0
))
3077 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3078 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDC. Expected _wxDC_p.");
3084 wxPy_BEGIN_ALLOW_THREADS
;
3087 wxPy_END_ALLOW_THREADS
;
3088 } Py_INCREF(Py_None
);
3089 _resultobj
= Py_None
;
3093 #define wxDC_BeginDrawing(_swigobj) (_swigobj->BeginDrawing())
3094 static PyObject
*_wrap_wxDC_BeginDrawing(PyObject
*self
, PyObject
*args
) {
3095 PyObject
* _resultobj
;
3097 PyObject
* _argo0
= 0;
3100 if(!PyArg_ParseTuple(args
,"O:wxDC_BeginDrawing",&_argo0
))
3103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_BeginDrawing. Expected _wxDC_p.");
3110 wxPy_BEGIN_ALLOW_THREADS
;
3111 wxDC_BeginDrawing(_arg0
);
3113 wxPy_END_ALLOW_THREADS
;
3114 } Py_INCREF(Py_None
);
3115 _resultobj
= Py_None
;
3119 #define wxDC_Blit(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Blit(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
3120 static PyObject
*_wrap_wxDC_Blit(PyObject
*self
, PyObject
*args
) {
3121 PyObject
* _resultobj
;
3132 PyObject
* _argo0
= 0;
3133 PyObject
* _argo5
= 0;
3136 if(!PyArg_ParseTuple(args
,"OllllOlll:wxDC_Blit",&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_argo5
,&_arg6
,&_arg7
,&_arg8
))
3139 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3140 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Blit. Expected _wxDC_p.");
3146 if (_argo5
== Py_None
) { _arg5
= NULL
; }
3147 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxDC_p")) {
3148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxDC_Blit. Expected _wxDC_p.");
3153 wxPy_BEGIN_ALLOW_THREADS
;
3154 _result
= (bool )wxDC_Blit(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
);
3156 wxPy_END_ALLOW_THREADS
;
3157 } _resultobj
= Py_BuildValue("i",_result
);
3161 #define wxDC_Clear(_swigobj) (_swigobj->Clear())
3162 static PyObject
*_wrap_wxDC_Clear(PyObject
*self
, PyObject
*args
) {
3163 PyObject
* _resultobj
;
3165 PyObject
* _argo0
= 0;
3168 if(!PyArg_ParseTuple(args
,"O:wxDC_Clear",&_argo0
))
3171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Clear. Expected _wxDC_p.");
3178 wxPy_BEGIN_ALLOW_THREADS
;
3181 wxPy_END_ALLOW_THREADS
;
3182 } Py_INCREF(Py_None
);
3183 _resultobj
= Py_None
;
3187 #define wxDC_CrossHair(_swigobj,_swigarg0,_swigarg1) (_swigobj->CrossHair(_swigarg0,_swigarg1))
3188 static PyObject
*_wrap_wxDC_CrossHair(PyObject
*self
, PyObject
*args
) {
3189 PyObject
* _resultobj
;
3193 PyObject
* _argo0
= 0;
3196 if(!PyArg_ParseTuple(args
,"Oll:wxDC_CrossHair",&_argo0
,&_arg1
,&_arg2
))
3199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CrossHair. Expected _wxDC_p.");
3206 wxPy_BEGIN_ALLOW_THREADS
;
3207 wxDC_CrossHair(_arg0
,_arg1
,_arg2
);
3209 wxPy_END_ALLOW_THREADS
;
3210 } Py_INCREF(Py_None
);
3211 _resultobj
= Py_None
;
3215 #define wxDC_DestroyClippingRegion(_swigobj) (_swigobj->DestroyClippingRegion())
3216 static PyObject
*_wrap_wxDC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
) {
3217 PyObject
* _resultobj
;
3219 PyObject
* _argo0
= 0;
3222 if(!PyArg_ParseTuple(args
,"O:wxDC_DestroyClippingRegion",&_argo0
))
3225 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3226 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DestroyClippingRegion. Expected _wxDC_p.");
3232 wxPy_BEGIN_ALLOW_THREADS
;
3233 wxDC_DestroyClippingRegion(_arg0
);
3235 wxPy_END_ALLOW_THREADS
;
3236 } Py_INCREF(Py_None
);
3237 _resultobj
= Py_None
;
3241 #define wxDC_DeviceToLogicalX(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalX(_swigarg0))
3242 static PyObject
*_wrap_wxDC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
) {
3243 PyObject
* _resultobj
;
3247 PyObject
* _argo0
= 0;
3250 if(!PyArg_ParseTuple(args
,"Ol:wxDC_DeviceToLogicalX",&_argo0
,&_arg1
))
3253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalX. Expected _wxDC_p.");
3260 wxPy_BEGIN_ALLOW_THREADS
;
3261 _result
= (long )wxDC_DeviceToLogicalX(_arg0
,_arg1
);
3263 wxPy_END_ALLOW_THREADS
;
3264 } _resultobj
= Py_BuildValue("l",_result
);
3268 #define wxDC_DeviceToLogicalXRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalXRel(_swigarg0))
3269 static PyObject
*_wrap_wxDC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
) {
3270 PyObject
* _resultobj
;
3274 PyObject
* _argo0
= 0;
3277 if(!PyArg_ParseTuple(args
,"Ol:wxDC_DeviceToLogicalXRel",&_argo0
,&_arg1
))
3280 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3281 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalXRel. Expected _wxDC_p.");
3287 wxPy_BEGIN_ALLOW_THREADS
;
3288 _result
= (long )wxDC_DeviceToLogicalXRel(_arg0
,_arg1
);
3290 wxPy_END_ALLOW_THREADS
;
3291 } _resultobj
= Py_BuildValue("l",_result
);
3295 #define wxDC_DeviceToLogicalY(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalY(_swigarg0))
3296 static PyObject
*_wrap_wxDC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
) {
3297 PyObject
* _resultobj
;
3301 PyObject
* _argo0
= 0;
3304 if(!PyArg_ParseTuple(args
,"Ol:wxDC_DeviceToLogicalY",&_argo0
,&_arg1
))
3307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalY. Expected _wxDC_p.");
3314 wxPy_BEGIN_ALLOW_THREADS
;
3315 _result
= (long )wxDC_DeviceToLogicalY(_arg0
,_arg1
);
3317 wxPy_END_ALLOW_THREADS
;
3318 } _resultobj
= Py_BuildValue("l",_result
);
3322 #define wxDC_DeviceToLogicalYRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalYRel(_swigarg0))
3323 static PyObject
*_wrap_wxDC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
) {
3324 PyObject
* _resultobj
;
3328 PyObject
* _argo0
= 0;
3331 if(!PyArg_ParseTuple(args
,"Ol:wxDC_DeviceToLogicalYRel",&_argo0
,&_arg1
))
3334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalYRel. Expected _wxDC_p.");
3341 wxPy_BEGIN_ALLOW_THREADS
;
3342 _result
= (long )wxDC_DeviceToLogicalYRel(_arg0
,_arg1
);
3344 wxPy_END_ALLOW_THREADS
;
3345 } _resultobj
= Py_BuildValue("l",_result
);
3349 #define wxDC_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3350 static PyObject
*_wrap_wxDC_DrawArc(PyObject
*self
, PyObject
*args
) {
3351 PyObject
* _resultobj
;
3359 PyObject
* _argo0
= 0;
3362 if(!PyArg_ParseTuple(args
,"Ollllll:wxDC_DrawArc",&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
3365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawArc. Expected _wxDC_p.");
3372 wxPy_BEGIN_ALLOW_THREADS
;
3373 wxDC_DrawArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
3375 wxPy_END_ALLOW_THREADS
;
3376 } Py_INCREF(Py_None
);
3377 _resultobj
= Py_None
;
3381 #define wxDC_DrawCircle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawCircle(_swigarg0,_swigarg1,_swigarg2))
3382 static PyObject
*_wrap_wxDC_DrawCircle(PyObject
*self
, PyObject
*args
) {
3383 PyObject
* _resultobj
;
3388 PyObject
* _argo0
= 0;
3391 if(!PyArg_ParseTuple(args
,"Olll:wxDC_DrawCircle",&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawCircle. Expected _wxDC_p.");
3401 wxPy_BEGIN_ALLOW_THREADS
;
3402 wxDC_DrawCircle(_arg0
,_arg1
,_arg2
,_arg3
);
3404 wxPy_END_ALLOW_THREADS
;
3405 } Py_INCREF(Py_None
);
3406 _resultobj
= Py_None
;
3410 #define wxDC_DrawEllipse(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawEllipse(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3411 static PyObject
*_wrap_wxDC_DrawEllipse(PyObject
*self
, PyObject
*args
) {
3412 PyObject
* _resultobj
;
3418 PyObject
* _argo0
= 0;
3421 if(!PyArg_ParseTuple(args
,"Ollll:wxDC_DrawEllipse",&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipse. Expected _wxDC_p.");
3431 wxPy_BEGIN_ALLOW_THREADS
;
3432 wxDC_DrawEllipse(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3434 wxPy_END_ALLOW_THREADS
;
3435 } Py_INCREF(Py_None
);
3436 _resultobj
= Py_None
;
3440 #define wxDC_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3441 static PyObject
*_wrap_wxDC_DrawEllipticArc(PyObject
*self
, PyObject
*args
) {
3442 PyObject
* _resultobj
;
3450 PyObject
* _argo0
= 0;
3453 if(!PyArg_ParseTuple(args
,"Ollllll:wxDC_DrawEllipticArc",&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
3456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipticArc. Expected _wxDC_p.");
3463 wxPy_BEGIN_ALLOW_THREADS
;
3464 wxDC_DrawEllipticArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
3466 wxPy_END_ALLOW_THREADS
;
3467 } Py_INCREF(Py_None
);
3468 _resultobj
= Py_None
;
3472 #define wxDC_DrawIcon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawIcon(_swigarg0,_swigarg1,_swigarg2))
3473 static PyObject
*_wrap_wxDC_DrawIcon(PyObject
*self
, PyObject
*args
) {
3474 PyObject
* _resultobj
;
3479 PyObject
* _argo0
= 0;
3480 PyObject
* _argo1
= 0;
3483 if(!PyArg_ParseTuple(args
,"OOll:wxDC_DrawIcon",&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawIcon. Expected _wxDC_p.");
3493 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3494 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
3495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawIcon. Expected _wxIcon_p.");
3500 wxPy_BEGIN_ALLOW_THREADS
;
3501 wxDC_DrawIcon(_arg0
,*_arg1
,_arg2
,_arg3
);
3503 wxPy_END_ALLOW_THREADS
;
3504 } Py_INCREF(Py_None
);
3505 _resultobj
= Py_None
;
3509 #define wxDC_DrawLine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3510 static PyObject
*_wrap_wxDC_DrawLine(PyObject
*self
, PyObject
*args
) {
3511 PyObject
* _resultobj
;
3517 PyObject
* _argo0
= 0;
3520 if(!PyArg_ParseTuple(args
,"Ollll:wxDC_DrawLine",&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLine. Expected _wxDC_p.");
3530 wxPy_BEGIN_ALLOW_THREADS
;
3531 wxDC_DrawLine(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3533 wxPy_END_ALLOW_THREADS
;
3534 } Py_INCREF(Py_None
);
3535 _resultobj
= Py_None
;
3539 #define wxDC_DrawLines(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLines(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3540 static PyObject
*_wrap_wxDC_DrawLines(PyObject
*self
, PyObject
*args
) {
3541 PyObject
* _resultobj
;
3545 long _arg3
= (long ) 0;
3546 long _arg4
= (long ) 0;
3547 PyObject
* _argo0
= 0;
3548 PyObject
* _obj2
= 0;
3551 if(!PyArg_ParseTuple(args
,"OO|ll:wxDC_DrawLines",&_argo0
,&_obj2
,&_arg3
,&_arg4
))
3554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLines. Expected _wxDC_p.");
3562 _arg2
= wxPoint_LIST_helper(_obj2
);
3563 if (_arg2
== NULL
) {
3569 _arg1
= PyList_Size(_obj2
);
3576 wxPy_BEGIN_ALLOW_THREADS
;
3577 wxDC_DrawLines(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3579 wxPy_END_ALLOW_THREADS
;
3580 } Py_INCREF(Py_None
);
3581 _resultobj
= Py_None
;
3588 #define wxDC_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3589 static PyObject
*_wrap_wxDC_DrawPolygon(PyObject
*self
, PyObject
*args
) {
3590 PyObject
* _resultobj
;
3594 long _arg3
= (long ) 0;
3595 long _arg4
= (long ) 0;
3596 int _arg5
= (int ) wxODDEVEN_RULE
;
3597 PyObject
* _argo0
= 0;
3598 PyObject
* _obj2
= 0;
3601 if(!PyArg_ParseTuple(args
,"OO|lli:wxDC_DrawPolygon",&_argo0
,&_obj2
,&_arg3
,&_arg4
,&_arg5
))
3604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPolygon. Expected _wxDC_p.");
3612 _arg2
= wxPoint_LIST_helper(_obj2
);
3613 if (_arg2
== NULL
) {
3619 _arg1
= PyList_Size(_obj2
);
3626 wxPy_BEGIN_ALLOW_THREADS
;
3627 wxDC_DrawPolygon(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3629 wxPy_END_ALLOW_THREADS
;
3630 } Py_INCREF(Py_None
);
3631 _resultobj
= Py_None
;
3638 #define wxDC_DrawPoint(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawPoint(_swigarg0,_swigarg1))
3639 static PyObject
*_wrap_wxDC_DrawPoint(PyObject
*self
, PyObject
*args
) {
3640 PyObject
* _resultobj
;
3644 PyObject
* _argo0
= 0;
3647 if(!PyArg_ParseTuple(args
,"Oll:wxDC_DrawPoint",&_argo0
,&_arg1
,&_arg2
))
3650 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3651 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPoint. Expected _wxDC_p.");
3657 wxPy_BEGIN_ALLOW_THREADS
;
3658 wxDC_DrawPoint(_arg0
,_arg1
,_arg2
);
3660 wxPy_END_ALLOW_THREADS
;
3661 } Py_INCREF(Py_None
);
3662 _resultobj
= Py_None
;
3666 #define wxDC_DrawRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3667 static PyObject
*_wrap_wxDC_DrawRectangle(PyObject
*self
, PyObject
*args
) {
3668 PyObject
* _resultobj
;
3674 PyObject
* _argo0
= 0;
3677 if(!PyArg_ParseTuple(args
,"Ollll:wxDC_DrawRectangle",&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRectangle. Expected _wxDC_p.");
3687 wxPy_BEGIN_ALLOW_THREADS
;
3688 wxDC_DrawRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3690 wxPy_END_ALLOW_THREADS
;
3691 } Py_INCREF(Py_None
);
3692 _resultobj
= Py_None
;
3696 #define wxDC_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3697 static PyObject
*_wrap_wxDC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
) {
3698 PyObject
* _resultobj
;
3704 long _arg5
= (long ) 20;
3705 PyObject
* _argo0
= 0;
3708 if(!PyArg_ParseTuple(args
,"Ollll|l:wxDC_DrawRoundedRectangle",&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRoundedRectangle. Expected _wxDC_p.");
3718 wxPy_BEGIN_ALLOW_THREADS
;
3719 wxDC_DrawRoundedRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3721 wxPy_END_ALLOW_THREADS
;
3722 } Py_INCREF(Py_None
);
3723 _resultobj
= Py_None
;
3727 #define wxDC_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1))
3728 static PyObject
*_wrap_wxDC_DrawSpline(PyObject
*self
, PyObject
*args
) {
3729 PyObject
* _resultobj
;
3733 PyObject
* _argo0
= 0;
3734 PyObject
* _obj2
= 0;
3737 if(!PyArg_ParseTuple(args
,"OO:wxDC_DrawSpline",&_argo0
,&_obj2
))
3740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawSpline. Expected _wxDC_p.");
3748 _arg2
= wxPoint_LIST_helper(_obj2
);
3749 if (_arg2
== NULL
) {
3755 _arg1
= PyList_Size(_obj2
);
3762 wxPy_BEGIN_ALLOW_THREADS
;
3763 wxDC_DrawSpline(_arg0
,_arg1
,_arg2
);
3765 wxPy_END_ALLOW_THREADS
;
3766 } Py_INCREF(Py_None
);
3767 _resultobj
= Py_None
;
3774 #define wxDC_DrawText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawText(_swigarg0,_swigarg1,_swigarg2))
3775 static PyObject
*_wrap_wxDC_DrawText(PyObject
*self
, PyObject
*args
) {
3776 PyObject
* _resultobj
;
3781 PyObject
* _argo0
= 0;
3782 PyObject
* _obj1
= 0;
3785 if(!PyArg_ParseTuple(args
,"OOll:wxDC_DrawText",&_argo0
,&_obj1
,&_arg2
,&_arg3
))
3788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawText. Expected _wxDC_p.");
3795 if (!PyString_Check(_obj1
)) {
3796 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3799 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3802 wxPy_BEGIN_ALLOW_THREADS
;
3803 wxDC_DrawText(_arg0
,*_arg1
,_arg2
,_arg3
);
3805 wxPy_END_ALLOW_THREADS
;
3806 } Py_INCREF(Py_None
);
3807 _resultobj
= Py_None
;
3815 #define wxDC_EndDoc(_swigobj) (_swigobj->EndDoc())
3816 static PyObject
*_wrap_wxDC_EndDoc(PyObject
*self
, PyObject
*args
) {
3817 PyObject
* _resultobj
;
3819 PyObject
* _argo0
= 0;
3822 if(!PyArg_ParseTuple(args
,"O:wxDC_EndDoc",&_argo0
))
3825 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3826 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDoc. Expected _wxDC_p.");
3832 wxPy_BEGIN_ALLOW_THREADS
;
3835 wxPy_END_ALLOW_THREADS
;
3836 } Py_INCREF(Py_None
);
3837 _resultobj
= Py_None
;
3841 #define wxDC_EndDrawing(_swigobj) (_swigobj->EndDrawing())
3842 static PyObject
*_wrap_wxDC_EndDrawing(PyObject
*self
, PyObject
*args
) {
3843 PyObject
* _resultobj
;
3845 PyObject
* _argo0
= 0;
3848 if(!PyArg_ParseTuple(args
,"O:wxDC_EndDrawing",&_argo0
))
3851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDrawing. Expected _wxDC_p.");
3858 wxPy_BEGIN_ALLOW_THREADS
;
3859 wxDC_EndDrawing(_arg0
);
3861 wxPy_END_ALLOW_THREADS
;
3862 } Py_INCREF(Py_None
);
3863 _resultobj
= Py_None
;
3867 #define wxDC_EndPage(_swigobj) (_swigobj->EndPage())
3868 static PyObject
*_wrap_wxDC_EndPage(PyObject
*self
, PyObject
*args
) {
3869 PyObject
* _resultobj
;
3871 PyObject
* _argo0
= 0;
3874 if(!PyArg_ParseTuple(args
,"O:wxDC_EndPage",&_argo0
))
3877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndPage. Expected _wxDC_p.");
3884 wxPy_BEGIN_ALLOW_THREADS
;
3885 wxDC_EndPage(_arg0
);
3887 wxPy_END_ALLOW_THREADS
;
3888 } Py_INCREF(Py_None
);
3889 _resultobj
= Py_None
;
3893 #define wxDC_FloodFill(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FloodFill(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3894 static PyObject
*_wrap_wxDC_FloodFill(PyObject
*self
, PyObject
*args
) {
3895 PyObject
* _resultobj
;
3900 int _arg4
= (int ) wxFLOOD_SURFACE
;
3901 PyObject
* _argo0
= 0;
3902 PyObject
* _argo3
= 0;
3905 if(!PyArg_ParseTuple(args
,"OllO|i:wxDC_FloodFill",&_argo0
,&_arg1
,&_arg2
,&_argo3
,&_arg4
))
3908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_FloodFill. Expected _wxDC_p.");
3915 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3916 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxColour_p")) {
3917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDC_FloodFill. Expected _wxColour_p.");
3922 wxPy_BEGIN_ALLOW_THREADS
;
3923 wxDC_FloodFill(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
3925 wxPy_END_ALLOW_THREADS
;
3926 } Py_INCREF(Py_None
);
3927 _resultobj
= Py_None
;
3931 #define wxDC_GetBackground(_swigobj) (_swigobj->GetBackground())
3932 static PyObject
*_wrap_wxDC_GetBackground(PyObject
*self
, PyObject
*args
) {
3933 PyObject
* _resultobj
;
3936 PyObject
* _argo0
= 0;
3940 if(!PyArg_ParseTuple(args
,"O:wxDC_GetBackground",&_argo0
))
3943 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3944 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBackground. Expected _wxDC_p.");
3950 wxPy_BEGIN_ALLOW_THREADS
;
3951 wxBrush
& _result_ref
= wxDC_GetBackground(_arg0
);
3952 _result
= (wxBrush
*) &_result_ref
;
3954 wxPy_END_ALLOW_THREADS
;
3956 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
3957 _resultobj
= Py_BuildValue("s",_ptemp
);
3960 _resultobj
= Py_None
;
3965 #define wxDC_GetBrush(_swigobj) (_swigobj->GetBrush())
3966 static PyObject
*_wrap_wxDC_GetBrush(PyObject
*self
, PyObject
*args
) {
3967 PyObject
* _resultobj
;
3970 PyObject
* _argo0
= 0;
3974 if(!PyArg_ParseTuple(args
,"O:wxDC_GetBrush",&_argo0
))
3977 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3978 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBrush. Expected _wxDC_p.");
3984 wxPy_BEGIN_ALLOW_THREADS
;
3985 wxBrush
& _result_ref
= wxDC_GetBrush(_arg0
);
3986 _result
= (wxBrush
*) &_result_ref
;
3988 wxPy_END_ALLOW_THREADS
;
3990 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
3991 _resultobj
= Py_BuildValue("s",_ptemp
);
3994 _resultobj
= Py_None
;
3999 #define wxDC_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
4000 static PyObject
*_wrap_wxDC_GetCharHeight(PyObject
*self
, PyObject
*args
) {
4001 PyObject
* _resultobj
;
4004 PyObject
* _argo0
= 0;
4007 if(!PyArg_ParseTuple(args
,"O:wxDC_GetCharHeight",&_argo0
))
4010 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4011 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharHeight. Expected _wxDC_p.");
4017 wxPy_BEGIN_ALLOW_THREADS
;
4018 _result
= (long )wxDC_GetCharHeight(_arg0
);
4020 wxPy_END_ALLOW_THREADS
;
4021 } _resultobj
= Py_BuildValue("l",_result
);
4025 #define wxDC_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
4026 static PyObject
*_wrap_wxDC_GetCharWidth(PyObject
*self
, PyObject
*args
) {
4027 PyObject
* _resultobj
;
4030 PyObject
* _argo0
= 0;
4033 if(!PyArg_ParseTuple(args
,"O:wxDC_GetCharWidth",&_argo0
))
4036 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4037 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharWidth. Expected _wxDC_p.");
4043 wxPy_BEGIN_ALLOW_THREADS
;
4044 _result
= (long )wxDC_GetCharWidth(_arg0
);
4046 wxPy_END_ALLOW_THREADS
;
4047 } _resultobj
= Py_BuildValue("l",_result
);
4051 #define wxDC_GetClippingBox(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetClippingBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4052 static PyObject
*_wrap_wxDC_GetClippingBox(PyObject
*self
, PyObject
*args
) {
4053 PyObject
* _resultobj
;
4063 PyObject
* _argo0
= 0;
4078 if(!PyArg_ParseTuple(args
,"O:wxDC_GetClippingBox",&_argo0
))
4081 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4082 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetClippingBox. Expected _wxDC_p.");
4088 wxPy_BEGIN_ALLOW_THREADS
;
4089 wxDC_GetClippingBox(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4091 wxPy_END_ALLOW_THREADS
;
4092 } Py_INCREF(Py_None
);
4093 _resultobj
= Py_None
;
4096 o
= PyInt_FromLong((long) (*_arg1
));
4097 _resultobj
= t_output_helper(_resultobj
, o
);
4101 o
= PyInt_FromLong((long) (*_arg2
));
4102 _resultobj
= t_output_helper(_resultobj
, o
);
4106 o
= PyInt_FromLong((long) (*_arg3
));
4107 _resultobj
= t_output_helper(_resultobj
, o
);
4111 o
= PyInt_FromLong((long) (*_arg4
));
4112 _resultobj
= t_output_helper(_resultobj
, o
);
4117 #define wxDC_GetFont(_swigobj) (_swigobj->GetFont())
4118 static PyObject
*_wrap_wxDC_GetFont(PyObject
*self
, PyObject
*args
) {
4119 PyObject
* _resultobj
;
4122 PyObject
* _argo0
= 0;
4126 if(!PyArg_ParseTuple(args
,"O:wxDC_GetFont",&_argo0
))
4129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFont. Expected _wxDC_p.");
4136 wxPy_BEGIN_ALLOW_THREADS
;
4137 wxFont
& _result_ref
= wxDC_GetFont(_arg0
);
4138 _result
= (wxFont
*) &_result_ref
;
4140 wxPy_END_ALLOW_THREADS
;
4142 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
4143 _resultobj
= Py_BuildValue("s",_ptemp
);
4146 _resultobj
= Py_None
;
4151 #define wxDC_GetLogicalFunction(_swigobj) (_swigobj->GetLogicalFunction())
4152 static PyObject
*_wrap_wxDC_GetLogicalFunction(PyObject
*self
, PyObject
*args
) {
4153 PyObject
* _resultobj
;
4156 PyObject
* _argo0
= 0;
4159 if(!PyArg_ParseTuple(args
,"O:wxDC_GetLogicalFunction",&_argo0
))
4162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalFunction. Expected _wxDC_p.");
4169 wxPy_BEGIN_ALLOW_THREADS
;
4170 _result
= (int )wxDC_GetLogicalFunction(_arg0
);
4172 wxPy_END_ALLOW_THREADS
;
4173 } _resultobj
= Py_BuildValue("i",_result
);
4177 #define wxDC_GetMapMode(_swigobj) (_swigobj->GetMapMode())
4178 static PyObject
*_wrap_wxDC_GetMapMode(PyObject
*self
, PyObject
*args
) {
4179 PyObject
* _resultobj
;
4182 PyObject
* _argo0
= 0;
4185 if(!PyArg_ParseTuple(args
,"O:wxDC_GetMapMode",&_argo0
))
4188 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4189 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetMapMode. Expected _wxDC_p.");
4195 wxPy_BEGIN_ALLOW_THREADS
;
4196 _result
= (int )wxDC_GetMapMode(_arg0
);
4198 wxPy_END_ALLOW_THREADS
;
4199 } _resultobj
= Py_BuildValue("i",_result
);
4203 #define wxDC_GetOptimization(_swigobj) (_swigobj->GetOptimization())
4204 static PyObject
*_wrap_wxDC_GetOptimization(PyObject
*self
, PyObject
*args
) {
4205 PyObject
* _resultobj
;
4208 PyObject
* _argo0
= 0;
4211 if(!PyArg_ParseTuple(args
,"O:wxDC_GetOptimization",&_argo0
))
4214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetOptimization. Expected _wxDC_p.");
4221 wxPy_BEGIN_ALLOW_THREADS
;
4222 _result
= (bool )wxDC_GetOptimization(_arg0
);
4224 wxPy_END_ALLOW_THREADS
;
4225 } _resultobj
= Py_BuildValue("i",_result
);
4229 #define wxDC_GetPen(_swigobj) (_swigobj->GetPen())
4230 static PyObject
*_wrap_wxDC_GetPen(PyObject
*self
, PyObject
*args
) {
4231 PyObject
* _resultobj
;
4234 PyObject
* _argo0
= 0;
4238 if(!PyArg_ParseTuple(args
,"O:wxDC_GetPen",&_argo0
))
4241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPen. Expected _wxDC_p.");
4248 wxPy_BEGIN_ALLOW_THREADS
;
4249 wxPen
& _result_ref
= wxDC_GetPen(_arg0
);
4250 _result
= (wxPen
*) &_result_ref
;
4252 wxPy_END_ALLOW_THREADS
;
4254 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
4255 _resultobj
= Py_BuildValue("s",_ptemp
);
4258 _resultobj
= Py_None
;
4263 static wxColour
* wxDC_GetPixel(wxDC
*self
,long x
,long y
) {
4264 wxColour
* wc
= new wxColour();
4265 self
->GetPixel(x
, y
, wc
);
4268 static PyObject
*_wrap_wxDC_GetPixel(PyObject
*self
, PyObject
*args
) {
4269 PyObject
* _resultobj
;
4274 PyObject
* _argo0
= 0;
4278 if(!PyArg_ParseTuple(args
,"Oll:wxDC_GetPixel",&_argo0
,&_arg1
,&_arg2
))
4281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPixel. Expected _wxDC_p.");
4288 wxPy_BEGIN_ALLOW_THREADS
;
4289 _result
= (wxColour
*)wxDC_GetPixel(_arg0
,_arg1
,_arg2
);
4291 wxPy_END_ALLOW_THREADS
;
4293 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
4294 _resultobj
= Py_BuildValue("s",_ptemp
);
4297 _resultobj
= Py_None
;
4302 #define wxDC_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
4303 static PyObject
*_wrap_wxDC_GetSizeTuple(PyObject
*self
, PyObject
*args
) {
4304 PyObject
* _resultobj
;
4310 PyObject
* _argo0
= 0;
4319 if(!PyArg_ParseTuple(args
,"O:wxDC_GetSizeTuple",&_argo0
))
4322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSizeTuple. Expected _wxDC_p.");
4329 wxPy_BEGIN_ALLOW_THREADS
;
4330 wxDC_GetSizeTuple(_arg0
,_arg1
,_arg2
);
4332 wxPy_END_ALLOW_THREADS
;
4333 } Py_INCREF(Py_None
);
4334 _resultobj
= Py_None
;
4337 o
= PyInt_FromLong((long) (*_arg1
));
4338 _resultobj
= t_output_helper(_resultobj
, o
);
4342 o
= PyInt_FromLong((long) (*_arg2
));
4343 _resultobj
= t_output_helper(_resultobj
, o
);
4348 #define wxDC_GetSize(_swigobj) (_swigobj->GetSize())
4349 static PyObject
*_wrap_wxDC_GetSize(PyObject
*self
, PyObject
*args
) {
4350 PyObject
* _resultobj
;
4353 PyObject
* _argo0
= 0;
4357 if(!PyArg_ParseTuple(args
,"O:wxDC_GetSize",&_argo0
))
4360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSize. Expected _wxDC_p.");
4367 wxPy_BEGIN_ALLOW_THREADS
;
4368 _result
= new wxSize (wxDC_GetSize(_arg0
));
4370 wxPy_END_ALLOW_THREADS
;
4371 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4372 _resultobj
= Py_BuildValue("s",_ptemp
);
4376 #define wxDC_GetTextBackground(_swigobj) (_swigobj->GetTextBackground())
4377 static PyObject
*_wrap_wxDC_GetTextBackground(PyObject
*self
, PyObject
*args
) {
4378 PyObject
* _resultobj
;
4381 PyObject
* _argo0
= 0;
4385 if(!PyArg_ParseTuple(args
,"O:wxDC_GetTextBackground",&_argo0
))
4388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextBackground. Expected _wxDC_p.");
4395 wxPy_BEGIN_ALLOW_THREADS
;
4396 wxColour
& _result_ref
= wxDC_GetTextBackground(_arg0
);
4397 _result
= (wxColour
*) &_result_ref
;
4399 wxPy_END_ALLOW_THREADS
;
4401 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
4402 _resultobj
= Py_BuildValue("s",_ptemp
);
4405 _resultobj
= Py_None
;
4410 #define wxDC_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
4411 static PyObject
*_wrap_wxDC_GetTextExtent(PyObject
*self
, PyObject
*args
) {
4412 PyObject
* _resultobj
;
4419 PyObject
* _argo0
= 0;
4420 PyObject
* _obj1
= 0;
4429 if(!PyArg_ParseTuple(args
,"OO:wxDC_GetTextExtent",&_argo0
,&_obj1
))
4432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextExtent. Expected _wxDC_p.");
4439 if (!PyString_Check(_obj1
)) {
4440 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4443 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4446 wxPy_BEGIN_ALLOW_THREADS
;
4447 wxDC_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
4449 wxPy_END_ALLOW_THREADS
;
4450 } Py_INCREF(Py_None
);
4451 _resultobj
= Py_None
;
4454 o
= PyInt_FromLong((long) (*_arg2
));
4455 _resultobj
= t_output_helper(_resultobj
, o
);
4459 o
= PyInt_FromLong((long) (*_arg3
));
4460 _resultobj
= t_output_helper(_resultobj
, o
);
4469 #define wxDC_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4470 static PyObject
*_wrap_wxDC_GetFullTextExtent(PyObject
*self
, PyObject
*args
) {
4471 PyObject
* _resultobj
;
4482 wxFont
* _arg6
= (wxFont
*) NULL
;
4483 PyObject
* _argo0
= 0;
4484 PyObject
* _obj1
= 0;
4485 PyObject
* _argo6
= 0;
4500 if(!PyArg_ParseTuple(args
,"OO|O:wxDC_GetFullTextExtent",&_argo0
,&_obj1
,&_argo6
))
4503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFullTextExtent. Expected _wxDC_p.");
4510 if (!PyString_Check(_obj1
)) {
4511 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4514 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4517 if (_argo6
== Py_None
) { _arg6
= NULL
; }
4518 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
4519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxDC_GetFullTextExtent. Expected _wxFont_p.");
4524 wxPy_BEGIN_ALLOW_THREADS
;
4525 wxDC_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4527 wxPy_END_ALLOW_THREADS
;
4528 } Py_INCREF(Py_None
);
4529 _resultobj
= Py_None
;
4532 o
= PyInt_FromLong((long) (*_arg2
));
4533 _resultobj
= t_output_helper(_resultobj
, o
);
4537 o
= PyInt_FromLong((long) (*_arg3
));
4538 _resultobj
= t_output_helper(_resultobj
, o
);
4542 o
= PyInt_FromLong((long) (*_arg4
));
4543 _resultobj
= t_output_helper(_resultobj
, o
);
4547 o
= PyInt_FromLong((long) (*_arg5
));
4548 _resultobj
= t_output_helper(_resultobj
, o
);
4557 #define wxDC_GetTextForeground(_swigobj) (_swigobj->GetTextForeground())
4558 static PyObject
*_wrap_wxDC_GetTextForeground(PyObject
*self
, PyObject
*args
) {
4559 PyObject
* _resultobj
;
4562 PyObject
* _argo0
= 0;
4566 if(!PyArg_ParseTuple(args
,"O:wxDC_GetTextForeground",&_argo0
))
4569 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4570 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextForeground. Expected _wxDC_p.");
4576 wxPy_BEGIN_ALLOW_THREADS
;
4577 wxColour
& _result_ref
= wxDC_GetTextForeground(_arg0
);
4578 _result
= (wxColour
*) &_result_ref
;
4580 wxPy_END_ALLOW_THREADS
;
4582 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
4583 _resultobj
= Py_BuildValue("s",_ptemp
);
4586 _resultobj
= Py_None
;
4591 #define wxDC_LogicalToDeviceX(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceX(_swigarg0))
4592 static PyObject
*_wrap_wxDC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
) {
4593 PyObject
* _resultobj
;
4597 PyObject
* _argo0
= 0;
4600 if(!PyArg_ParseTuple(args
,"Ol:wxDC_LogicalToDeviceX",&_argo0
,&_arg1
))
4603 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4604 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceX. Expected _wxDC_p.");
4610 wxPy_BEGIN_ALLOW_THREADS
;
4611 _result
= (long )wxDC_LogicalToDeviceX(_arg0
,_arg1
);
4613 wxPy_END_ALLOW_THREADS
;
4614 } _resultobj
= Py_BuildValue("l",_result
);
4618 #define wxDC_LogicalToDeviceXRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceXRel(_swigarg0))
4619 static PyObject
*_wrap_wxDC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
) {
4620 PyObject
* _resultobj
;
4624 PyObject
* _argo0
= 0;
4627 if(!PyArg_ParseTuple(args
,"Ol:wxDC_LogicalToDeviceXRel",&_argo0
,&_arg1
))
4630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceXRel. Expected _wxDC_p.");
4637 wxPy_BEGIN_ALLOW_THREADS
;
4638 _result
= (long )wxDC_LogicalToDeviceXRel(_arg0
,_arg1
);
4640 wxPy_END_ALLOW_THREADS
;
4641 } _resultobj
= Py_BuildValue("l",_result
);
4645 #define wxDC_LogicalToDeviceY(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceY(_swigarg0))
4646 static PyObject
*_wrap_wxDC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
) {
4647 PyObject
* _resultobj
;
4651 PyObject
* _argo0
= 0;
4654 if(!PyArg_ParseTuple(args
,"Ol:wxDC_LogicalToDeviceY",&_argo0
,&_arg1
))
4657 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4658 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceY. Expected _wxDC_p.");
4664 wxPy_BEGIN_ALLOW_THREADS
;
4665 _result
= (long )wxDC_LogicalToDeviceY(_arg0
,_arg1
);
4667 wxPy_END_ALLOW_THREADS
;
4668 } _resultobj
= Py_BuildValue("l",_result
);
4672 #define wxDC_LogicalToDeviceYRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceYRel(_swigarg0))
4673 static PyObject
*_wrap_wxDC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
) {
4674 PyObject
* _resultobj
;
4678 PyObject
* _argo0
= 0;
4681 if(!PyArg_ParseTuple(args
,"Ol:wxDC_LogicalToDeviceYRel",&_argo0
,&_arg1
))
4684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceYRel. Expected _wxDC_p.");
4691 wxPy_BEGIN_ALLOW_THREADS
;
4692 _result
= (long )wxDC_LogicalToDeviceYRel(_arg0
,_arg1
);
4694 wxPy_END_ALLOW_THREADS
;
4695 } _resultobj
= Py_BuildValue("l",_result
);
4699 #define wxDC_MaxX(_swigobj) (_swigobj->MaxX())
4700 static PyObject
*_wrap_wxDC_MaxX(PyObject
*self
, PyObject
*args
) {
4701 PyObject
* _resultobj
;
4704 PyObject
* _argo0
= 0;
4707 if(!PyArg_ParseTuple(args
,"O:wxDC_MaxX",&_argo0
))
4710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxX. Expected _wxDC_p.");
4717 wxPy_BEGIN_ALLOW_THREADS
;
4718 _result
= (long )wxDC_MaxX(_arg0
);
4720 wxPy_END_ALLOW_THREADS
;
4721 } _resultobj
= Py_BuildValue("l",_result
);
4725 #define wxDC_MaxY(_swigobj) (_swigobj->MaxY())
4726 static PyObject
*_wrap_wxDC_MaxY(PyObject
*self
, PyObject
*args
) {
4727 PyObject
* _resultobj
;
4730 PyObject
* _argo0
= 0;
4733 if(!PyArg_ParseTuple(args
,"O:wxDC_MaxY",&_argo0
))
4736 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4737 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxY. Expected _wxDC_p.");
4743 wxPy_BEGIN_ALLOW_THREADS
;
4744 _result
= (long )wxDC_MaxY(_arg0
);
4746 wxPy_END_ALLOW_THREADS
;
4747 } _resultobj
= Py_BuildValue("l",_result
);
4751 #define wxDC_MinX(_swigobj) (_swigobj->MinX())
4752 static PyObject
*_wrap_wxDC_MinX(PyObject
*self
, PyObject
*args
) {
4753 PyObject
* _resultobj
;
4756 PyObject
* _argo0
= 0;
4759 if(!PyArg_ParseTuple(args
,"O:wxDC_MinX",&_argo0
))
4762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinX. Expected _wxDC_p.");
4769 wxPy_BEGIN_ALLOW_THREADS
;
4770 _result
= (long )wxDC_MinX(_arg0
);
4772 wxPy_END_ALLOW_THREADS
;
4773 } _resultobj
= Py_BuildValue("l",_result
);
4777 #define wxDC_MinY(_swigobj) (_swigobj->MinY())
4778 static PyObject
*_wrap_wxDC_MinY(PyObject
*self
, PyObject
*args
) {
4779 PyObject
* _resultobj
;
4782 PyObject
* _argo0
= 0;
4785 if(!PyArg_ParseTuple(args
,"O:wxDC_MinY",&_argo0
))
4788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinY. Expected _wxDC_p.");
4795 wxPy_BEGIN_ALLOW_THREADS
;
4796 _result
= (long )wxDC_MinY(_arg0
);
4798 wxPy_END_ALLOW_THREADS
;
4799 } _resultobj
= Py_BuildValue("l",_result
);
4803 #define wxDC_Ok(_swigobj) (_swigobj->Ok())
4804 static PyObject
*_wrap_wxDC_Ok(PyObject
*self
, PyObject
*args
) {
4805 PyObject
* _resultobj
;
4808 PyObject
* _argo0
= 0;
4811 if(!PyArg_ParseTuple(args
,"O:wxDC_Ok",&_argo0
))
4814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Ok. Expected _wxDC_p.");
4821 wxPy_BEGIN_ALLOW_THREADS
;
4822 _result
= (bool )wxDC_Ok(_arg0
);
4824 wxPy_END_ALLOW_THREADS
;
4825 } _resultobj
= Py_BuildValue("i",_result
);
4829 #define wxDC_SetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDeviceOrigin(_swigarg0,_swigarg1))
4830 static PyObject
*_wrap_wxDC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
) {
4831 PyObject
* _resultobj
;
4835 PyObject
* _argo0
= 0;
4838 if(!PyArg_ParseTuple(args
,"Oll:wxDC_SetDeviceOrigin",&_argo0
,&_arg1
,&_arg2
))
4841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetDeviceOrigin. Expected _wxDC_p.");
4848 wxPy_BEGIN_ALLOW_THREADS
;
4849 wxDC_SetDeviceOrigin(_arg0
,_arg1
,_arg2
);
4851 wxPy_END_ALLOW_THREADS
;
4852 } Py_INCREF(Py_None
);
4853 _resultobj
= Py_None
;
4857 #define wxDC_SetBackground(_swigobj,_swigarg0) (_swigobj->SetBackground(_swigarg0))
4858 static PyObject
*_wrap_wxDC_SetBackground(PyObject
*self
, PyObject
*args
) {
4859 PyObject
* _resultobj
;
4862 PyObject
* _argo0
= 0;
4863 PyObject
* _argo1
= 0;
4866 if(!PyArg_ParseTuple(args
,"OO:wxDC_SetBackground",&_argo0
,&_argo1
))
4869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackground. Expected _wxDC_p.");
4876 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4877 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
4878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBackground. Expected _wxBrush_p.");
4883 wxPy_BEGIN_ALLOW_THREADS
;
4884 wxDC_SetBackground(_arg0
,*_arg1
);
4886 wxPy_END_ALLOW_THREADS
;
4887 } Py_INCREF(Py_None
);
4888 _resultobj
= Py_None
;
4892 #define wxDC_SetBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetBackgroundMode(_swigarg0))
4893 static PyObject
*_wrap_wxDC_SetBackgroundMode(PyObject
*self
, PyObject
*args
) {
4894 PyObject
* _resultobj
;
4897 PyObject
* _argo0
= 0;
4900 if(!PyArg_ParseTuple(args
,"Oi:wxDC_SetBackgroundMode",&_argo0
,&_arg1
))
4903 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4904 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackgroundMode. Expected _wxDC_p.");
4910 wxPy_BEGIN_ALLOW_THREADS
;
4911 wxDC_SetBackgroundMode(_arg0
,_arg1
);
4913 wxPy_END_ALLOW_THREADS
;
4914 } Py_INCREF(Py_None
);
4915 _resultobj
= Py_None
;
4919 #define wxDC_SetClippingRegion(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetClippingRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4920 static PyObject
*_wrap_wxDC_SetClippingRegion(PyObject
*self
, PyObject
*args
) {
4921 PyObject
* _resultobj
;
4927 PyObject
* _argo0
= 0;
4930 if(!PyArg_ParseTuple(args
,"Ollll:wxDC_SetClippingRegion",&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetClippingRegion. Expected _wxDC_p.");
4940 wxPy_BEGIN_ALLOW_THREADS
;
4941 wxDC_SetClippingRegion(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4943 wxPy_END_ALLOW_THREADS
;
4944 } Py_INCREF(Py_None
);
4945 _resultobj
= Py_None
;
4949 #define wxDC_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
4950 static PyObject
*_wrap_wxDC_SetPalette(PyObject
*self
, PyObject
*args
) {
4951 PyObject
* _resultobj
;
4954 PyObject
* _argo0
= 0;
4955 PyObject
* _argo1
= 0;
4958 if(!PyArg_ParseTuple(args
,"OO:wxDC_SetPalette",&_argo0
,&_argo1
))
4961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPalette. Expected _wxDC_p.");
4968 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4969 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPalette_p")) {
4970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPalette. Expected _wxPalette_p.");
4975 wxPy_BEGIN_ALLOW_THREADS
;
4976 wxDC_SetPalette(_arg0
,*_arg1
);
4978 wxPy_END_ALLOW_THREADS
;
4979 } Py_INCREF(Py_None
);
4980 _resultobj
= Py_None
;
4984 #define wxDC_SetBrush(_swigobj,_swigarg0) (_swigobj->SetBrush(_swigarg0))
4985 static PyObject
*_wrap_wxDC_SetBrush(PyObject
*self
, PyObject
*args
) {
4986 PyObject
* _resultobj
;
4989 PyObject
* _argo0
= 0;
4990 PyObject
* _argo1
= 0;
4993 if(!PyArg_ParseTuple(args
,"OO:wxDC_SetBrush",&_argo0
,&_argo1
))
4996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBrush. Expected _wxDC_p.");
5003 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5004 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
5005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBrush. Expected _wxBrush_p.");
5010 wxPy_BEGIN_ALLOW_THREADS
;
5011 wxDC_SetBrush(_arg0
,*_arg1
);
5013 wxPy_END_ALLOW_THREADS
;
5014 } Py_INCREF(Py_None
);
5015 _resultobj
= Py_None
;
5019 #define wxDC_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
5020 static PyObject
*_wrap_wxDC_SetFont(PyObject
*self
, PyObject
*args
) {
5021 PyObject
* _resultobj
;
5024 PyObject
* _argo0
= 0;
5025 PyObject
* _argo1
= 0;
5028 if(!PyArg_ParseTuple(args
,"OO:wxDC_SetFont",&_argo0
,&_argo1
))
5031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetFont. Expected _wxDC_p.");
5038 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5039 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
5040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetFont. Expected _wxFont_p.");
5045 wxPy_BEGIN_ALLOW_THREADS
;
5046 wxDC_SetFont(_arg0
,*_arg1
);
5048 wxPy_END_ALLOW_THREADS
;
5049 } Py_INCREF(Py_None
);
5050 _resultobj
= Py_None
;
5054 #define wxDC_SetLogicalFunction(_swigobj,_swigarg0) (_swigobj->SetLogicalFunction(_swigarg0))
5055 static PyObject
*_wrap_wxDC_SetLogicalFunction(PyObject
*self
, PyObject
*args
) {
5056 PyObject
* _resultobj
;
5059 PyObject
* _argo0
= 0;
5062 if(!PyArg_ParseTuple(args
,"Oi:wxDC_SetLogicalFunction",&_argo0
,&_arg1
))
5065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalFunction. Expected _wxDC_p.");
5072 wxPy_BEGIN_ALLOW_THREADS
;
5073 wxDC_SetLogicalFunction(_arg0
,_arg1
);
5075 wxPy_END_ALLOW_THREADS
;
5076 } Py_INCREF(Py_None
);
5077 _resultobj
= Py_None
;
5081 #define wxDC_SetMapMode(_swigobj,_swigarg0) (_swigobj->SetMapMode(_swigarg0))
5082 static PyObject
*_wrap_wxDC_SetMapMode(PyObject
*self
, PyObject
*args
) {
5083 PyObject
* _resultobj
;
5086 PyObject
* _argo0
= 0;
5089 if(!PyArg_ParseTuple(args
,"Oi:wxDC_SetMapMode",&_argo0
,&_arg1
))
5092 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5093 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetMapMode. Expected _wxDC_p.");
5099 wxPy_BEGIN_ALLOW_THREADS
;
5100 wxDC_SetMapMode(_arg0
,_arg1
);
5102 wxPy_END_ALLOW_THREADS
;
5103 } Py_INCREF(Py_None
);
5104 _resultobj
= Py_None
;
5108 #define wxDC_SetOptimization(_swigobj,_swigarg0) (_swigobj->SetOptimization(_swigarg0))
5109 static PyObject
*_wrap_wxDC_SetOptimization(PyObject
*self
, PyObject
*args
) {
5110 PyObject
* _resultobj
;
5113 PyObject
* _argo0
= 0;
5117 if(!PyArg_ParseTuple(args
,"Oi:wxDC_SetOptimization",&_argo0
,&tempbool1
))
5120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetOptimization. Expected _wxDC_p.");
5126 _arg1
= (bool ) tempbool1
;
5128 wxPy_BEGIN_ALLOW_THREADS
;
5129 wxDC_SetOptimization(_arg0
,_arg1
);
5131 wxPy_END_ALLOW_THREADS
;
5132 } Py_INCREF(Py_None
);
5133 _resultobj
= Py_None
;
5137 #define wxDC_SetPen(_swigobj,_swigarg0) (_swigobj->SetPen(_swigarg0))
5138 static PyObject
*_wrap_wxDC_SetPen(PyObject
*self
, PyObject
*args
) {
5139 PyObject
* _resultobj
;
5142 PyObject
* _argo0
= 0;
5143 PyObject
* _argo1
= 0;
5146 if(!PyArg_ParseTuple(args
,"OO:wxDC_SetPen",&_argo0
,&_argo1
))
5149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPen. Expected _wxDC_p.");
5156 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5157 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
5158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPen. Expected _wxPen_p.");
5163 wxPy_BEGIN_ALLOW_THREADS
;
5164 wxDC_SetPen(_arg0
,*_arg1
);
5166 wxPy_END_ALLOW_THREADS
;
5167 } Py_INCREF(Py_None
);
5168 _resultobj
= Py_None
;
5172 #define wxDC_SetTextBackground(_swigobj,_swigarg0) (_swigobj->SetTextBackground(_swigarg0))
5173 static PyObject
*_wrap_wxDC_SetTextBackground(PyObject
*self
, PyObject
*args
) {
5174 PyObject
* _resultobj
;
5177 PyObject
* _argo0
= 0;
5178 PyObject
* _argo1
= 0;
5181 if(!PyArg_ParseTuple(args
,"OO:wxDC_SetTextBackground",&_argo0
,&_argo1
))
5184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextBackground. Expected _wxDC_p.");
5191 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5192 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
5193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetTextBackground. Expected _wxColour_p.");
5198 wxPy_BEGIN_ALLOW_THREADS
;
5199 wxDC_SetTextBackground(_arg0
,*_arg1
);
5201 wxPy_END_ALLOW_THREADS
;
5202 } Py_INCREF(Py_None
);
5203 _resultobj
= Py_None
;
5207 #define wxDC_SetTextForeground(_swigobj,_swigarg0) (_swigobj->SetTextForeground(_swigarg0))
5208 static PyObject
*_wrap_wxDC_SetTextForeground(PyObject
*self
, PyObject
*args
) {
5209 PyObject
* _resultobj
;
5212 PyObject
* _argo0
= 0;
5213 PyObject
* _argo1
= 0;
5216 if(!PyArg_ParseTuple(args
,"OO:wxDC_SetTextForeground",&_argo0
,&_argo1
))
5219 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5220 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextForeground. Expected _wxDC_p.");
5226 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5227 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
5228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetTextForeground. Expected _wxColour_p.");
5233 wxPy_BEGIN_ALLOW_THREADS
;
5234 wxDC_SetTextForeground(_arg0
,*_arg1
);
5236 wxPy_END_ALLOW_THREADS
;
5237 } Py_INCREF(Py_None
);
5238 _resultobj
= Py_None
;
5242 #define wxDC_SetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetUserScale(_swigarg0,_swigarg1))
5243 static PyObject
*_wrap_wxDC_SetUserScale(PyObject
*self
, PyObject
*args
) {
5244 PyObject
* _resultobj
;
5248 PyObject
* _argo0
= 0;
5251 if(!PyArg_ParseTuple(args
,"Odd:wxDC_SetUserScale",&_argo0
,&_arg1
,&_arg2
))
5254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetUserScale. Expected _wxDC_p.");
5261 wxPy_BEGIN_ALLOW_THREADS
;
5262 wxDC_SetUserScale(_arg0
,_arg1
,_arg2
);
5264 wxPy_END_ALLOW_THREADS
;
5265 } Py_INCREF(Py_None
);
5266 _resultobj
= Py_None
;
5270 #define wxDC_StartDoc(_swigobj,_swigarg0) (_swigobj->StartDoc(_swigarg0))
5271 static PyObject
*_wrap_wxDC_StartDoc(PyObject
*self
, PyObject
*args
) {
5272 PyObject
* _resultobj
;
5276 PyObject
* _argo0
= 0;
5277 PyObject
* _obj1
= 0;
5280 if(!PyArg_ParseTuple(args
,"OO:wxDC_StartDoc",&_argo0
,&_obj1
))
5283 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5284 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartDoc. Expected _wxDC_p.");
5290 if (!PyString_Check(_obj1
)) {
5291 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5294 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5297 wxPy_BEGIN_ALLOW_THREADS
;
5298 _result
= (bool )wxDC_StartDoc(_arg0
,*_arg1
);
5300 wxPy_END_ALLOW_THREADS
;
5301 } _resultobj
= Py_BuildValue("i",_result
);
5309 #define wxDC_StartPage(_swigobj) (_swigobj->StartPage())
5310 static PyObject
*_wrap_wxDC_StartPage(PyObject
*self
, PyObject
*args
) {
5311 PyObject
* _resultobj
;
5313 PyObject
* _argo0
= 0;
5316 if(!PyArg_ParseTuple(args
,"O:wxDC_StartPage",&_argo0
))
5319 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5320 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartPage. Expected _wxDC_p.");
5326 wxPy_BEGIN_ALLOW_THREADS
;
5327 wxDC_StartPage(_arg0
);
5329 wxPy_END_ALLOW_THREADS
;
5330 } Py_INCREF(Py_None
);
5331 _resultobj
= Py_None
;
5335 static void wxDC_DrawBitmap(wxDC
*self
,wxBitmap
& bitmap
,long x
,long y
,bool swapPalette
) {
5336 wxMemoryDC
* memDC
= new wxMemoryDC
;
5337 memDC
->SelectObject(bitmap
);
5340 self
->SetPalette(*bitmap
.GetPalette());
5342 self
->Blit(x
, y
, bitmap
.GetWidth(), bitmap
.GetHeight(), memDC
,
5343 0, 0, self
->GetLogicalFunction());
5344 memDC
->SelectObject(wxNullBitmap
);
5347 static PyObject
*_wrap_wxDC_DrawBitmap(PyObject
*self
, PyObject
*args
) {
5348 PyObject
* _resultobj
;
5353 bool _arg4
= (bool ) TRUE
;
5354 PyObject
* _argo0
= 0;
5355 PyObject
* _argo1
= 0;
5356 int tempbool4
= (int) TRUE
;
5359 if(!PyArg_ParseTuple(args
,"OOll|i:wxDC_DrawBitmap",&_argo0
,&_argo1
,&_arg2
,&_arg3
,&tempbool4
))
5362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawBitmap. Expected _wxDC_p.");
5369 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5370 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
5371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawBitmap. Expected _wxBitmap_p.");
5375 _arg4
= (bool ) tempbool4
;
5377 wxPy_BEGIN_ALLOW_THREADS
;
5378 wxDC_DrawBitmap(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
5380 wxPy_END_ALLOW_THREADS
;
5381 } Py_INCREF(Py_None
);
5382 _resultobj
= Py_None
;
5386 static void *SwigwxMemoryDCTowxDC(void *ptr
) {
5389 src
= (wxMemoryDC
*) ptr
;
5390 dest
= (wxDC
*) src
;
5391 return (void *) dest
;
5394 #define new_wxMemoryDC() (new wxMemoryDC())
5395 static PyObject
*_wrap_new_wxMemoryDC(PyObject
*self
, PyObject
*args
) {
5396 PyObject
* _resultobj
;
5397 wxMemoryDC
* _result
;
5401 if(!PyArg_ParseTuple(args
,":new_wxMemoryDC"))
5404 wxPy_BEGIN_ALLOW_THREADS
;
5405 _result
= (wxMemoryDC
*)new_wxMemoryDC();
5407 wxPy_END_ALLOW_THREADS
;
5409 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
5410 _resultobj
= Py_BuildValue("s",_ptemp
);
5413 _resultobj
= Py_None
;
5418 #define wxMemoryDC_SelectObject(_swigobj,_swigarg0) (_swigobj->SelectObject(_swigarg0))
5419 static PyObject
*_wrap_wxMemoryDC_SelectObject(PyObject
*self
, PyObject
*args
) {
5420 PyObject
* _resultobj
;
5423 PyObject
* _argo0
= 0;
5424 PyObject
* _argo1
= 0;
5427 if(!PyArg_ParseTuple(args
,"OO:wxMemoryDC_SelectObject",&_argo0
,&_argo1
))
5430 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5431 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMemoryDC_p")) {
5432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDC_SelectObject. Expected _wxMemoryDC_p.");
5437 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5438 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
5439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMemoryDC_SelectObject. Expected _wxBitmap_p.");
5444 wxPy_BEGIN_ALLOW_THREADS
;
5445 wxMemoryDC_SelectObject(_arg0
,*_arg1
);
5447 wxPy_END_ALLOW_THREADS
;
5448 } Py_INCREF(Py_None
);
5449 _resultobj
= Py_None
;
5453 static void *SwigwxScreenDCTowxDC(void *ptr
) {
5456 src
= (wxScreenDC
*) ptr
;
5457 dest
= (wxDC
*) src
;
5458 return (void *) dest
;
5461 #define new_wxScreenDC() (new wxScreenDC())
5462 static PyObject
*_wrap_new_wxScreenDC(PyObject
*self
, PyObject
*args
) {
5463 PyObject
* _resultobj
;
5464 wxScreenDC
* _result
;
5468 if(!PyArg_ParseTuple(args
,":new_wxScreenDC"))
5471 wxPy_BEGIN_ALLOW_THREADS
;
5472 _result
= (wxScreenDC
*)new_wxScreenDC();
5474 wxPy_END_ALLOW_THREADS
;
5476 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScreenDC_p");
5477 _resultobj
= Py_BuildValue("s",_ptemp
);
5480 _resultobj
= Py_None
;
5485 #define wxScreenDC_StartDrawingOnTop(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
5486 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
) {
5487 PyObject
* _resultobj
;
5491 PyObject
* _argo0
= 0;
5492 PyObject
* _argo1
= 0;
5495 if(!PyArg_ParseTuple(args
,"OO:wxScreenDC_StartDrawingOnTop",&_argo0
,&_argo1
))
5498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
5500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTop. Expected _wxScreenDC_p.");
5505 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5506 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScreenDC_StartDrawingOnTop. Expected _wxWindow_p.");
5512 wxPy_BEGIN_ALLOW_THREADS
;
5513 _result
= (bool )wxScreenDC_StartDrawingOnTop(_arg0
,_arg1
);
5515 wxPy_END_ALLOW_THREADS
;
5516 } _resultobj
= Py_BuildValue("i",_result
);
5520 #define wxScreenDC_StartDrawingOnTopRect(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
5521 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTopRect(PyObject
*self
, PyObject
*args
) {
5522 PyObject
* _resultobj
;
5525 wxRect
* _arg1
= (wxRect
*) NULL
;
5526 PyObject
* _argo0
= 0;
5527 PyObject
* _argo1
= 0;
5530 if(!PyArg_ParseTuple(args
,"O|O:wxScreenDC_StartDrawingOnTopRect",&_argo0
,&_argo1
))
5533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
5535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTopRect. Expected _wxScreenDC_p.");
5540 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5541 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRect_p")) {
5542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScreenDC_StartDrawingOnTopRect. Expected _wxRect_p.");
5547 wxPy_BEGIN_ALLOW_THREADS
;
5548 _result
= (bool )wxScreenDC_StartDrawingOnTopRect(_arg0
,_arg1
);
5550 wxPy_END_ALLOW_THREADS
;
5551 } _resultobj
= Py_BuildValue("i",_result
);
5555 #define wxScreenDC_EndDrawingOnTop(_swigobj) (_swigobj->EndDrawingOnTop())
5556 static PyObject
*_wrap_wxScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
) {
5557 PyObject
* _resultobj
;
5560 PyObject
* _argo0
= 0;
5563 if(!PyArg_ParseTuple(args
,"O:wxScreenDC_EndDrawingOnTop",&_argo0
))
5566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
5568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_EndDrawingOnTop. Expected _wxScreenDC_p.");
5573 wxPy_BEGIN_ALLOW_THREADS
;
5574 _result
= (bool )wxScreenDC_EndDrawingOnTop(_arg0
);
5576 wxPy_END_ALLOW_THREADS
;
5577 } _resultobj
= Py_BuildValue("i",_result
);
5581 static void *SwigwxClientDCTowxDC(void *ptr
) {
5584 src
= (wxClientDC
*) ptr
;
5585 dest
= (wxDC
*) src
;
5586 return (void *) dest
;
5589 #define new_wxClientDC(_swigarg0) (new wxClientDC(_swigarg0))
5590 static PyObject
*_wrap_new_wxClientDC(PyObject
*self
, PyObject
*args
) {
5591 PyObject
* _resultobj
;
5592 wxClientDC
* _result
;
5594 PyObject
* _argo0
= 0;
5598 if(!PyArg_ParseTuple(args
,"O:new_wxClientDC",&_argo0
))
5601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxClientDC. Expected _wxWindow_p.");
5608 wxPy_BEGIN_ALLOW_THREADS
;
5609 _result
= (wxClientDC
*)new_wxClientDC(_arg0
);
5611 wxPy_END_ALLOW_THREADS
;
5613 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxClientDC_p");
5614 _resultobj
= Py_BuildValue("s",_ptemp
);
5617 _resultobj
= Py_None
;
5622 static void *SwigwxPaintDCTowxDC(void *ptr
) {
5625 src
= (wxPaintDC
*) ptr
;
5626 dest
= (wxDC
*) src
;
5627 return (void *) dest
;
5630 #define new_wxPaintDC(_swigarg0) (new wxPaintDC(_swigarg0))
5631 static PyObject
*_wrap_new_wxPaintDC(PyObject
*self
, PyObject
*args
) {
5632 PyObject
* _resultobj
;
5633 wxPaintDC
* _result
;
5635 PyObject
* _argo0
= 0;
5639 if(!PyArg_ParseTuple(args
,"O:new_wxPaintDC",&_argo0
))
5642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPaintDC. Expected _wxWindow_p.");
5649 wxPy_BEGIN_ALLOW_THREADS
;
5650 _result
= (wxPaintDC
*)new_wxPaintDC(_arg0
);
5652 wxPy_END_ALLOW_THREADS
;
5654 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPaintDC_p");
5655 _resultobj
= Py_BuildValue("s",_ptemp
);
5658 _resultobj
= Py_None
;
5663 static void *SwigwxWindowDCTowxDC(void *ptr
) {
5666 src
= (wxWindowDC
*) ptr
;
5667 dest
= (wxDC
*) src
;
5668 return (void *) dest
;
5671 #define new_wxWindowDC(_swigarg0) (new wxWindowDC(_swigarg0))
5672 static PyObject
*_wrap_new_wxWindowDC(PyObject
*self
, PyObject
*args
) {
5673 PyObject
* _resultobj
;
5674 wxWindowDC
* _result
;
5676 PyObject
* _argo0
= 0;
5680 if(!PyArg_ParseTuple(args
,"O:new_wxWindowDC",&_argo0
))
5683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDC. Expected _wxWindow_p.");
5690 wxPy_BEGIN_ALLOW_THREADS
;
5691 _result
= (wxWindowDC
*)new_wxWindowDC(_arg0
);
5693 wxPy_END_ALLOW_THREADS
;
5695 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDC_p");
5696 _resultobj
= Py_BuildValue("s",_ptemp
);
5699 _resultobj
= Py_None
;
5704 static void *SwigwxPostScriptDCTowxDC(void *ptr
) {
5705 wxPostScriptDC
*src
;
5707 src
= (wxPostScriptDC
*) ptr
;
5708 dest
= (wxDC
*) src
;
5709 return (void *) dest
;
5712 #define new_wxPostScriptDC(_swigarg0,_swigarg1,_swigarg2) (new wxPostScriptDC(_swigarg0,_swigarg1,_swigarg2))
5713 static PyObject
*_wrap_new_wxPostScriptDC(PyObject
*self
, PyObject
*args
) {
5714 PyObject
* _resultobj
;
5715 wxPostScriptDC
* _result
;
5717 bool _arg1
= (bool ) TRUE
;
5718 wxWindow
* _arg2
= (wxWindow
*) NULL
;
5719 PyObject
* _obj0
= 0;
5720 int tempbool1
= (int) TRUE
;
5721 PyObject
* _argo2
= 0;
5725 if(!PyArg_ParseTuple(args
,"O|iO:new_wxPostScriptDC",&_obj0
,&tempbool1
,&_argo2
))
5728 if (!PyString_Check(_obj0
)) {
5729 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5732 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
5734 _arg1
= (bool ) tempbool1
;
5736 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5737 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
5738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPostScriptDC. Expected _wxWindow_p.");
5743 wxPy_BEGIN_ALLOW_THREADS
;
5744 _result
= (wxPostScriptDC
*)new_wxPostScriptDC(*_arg0
,_arg1
,_arg2
);
5746 wxPy_END_ALLOW_THREADS
;
5748 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPostScriptDC_p");
5749 _resultobj
= Py_BuildValue("s",_ptemp
);
5752 _resultobj
= Py_None
;
5761 #define new_wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5762 static PyObject
*_wrap_new_wxPalette(PyObject
*self
, PyObject
*args
) {
5763 PyObject
* _resultobj
;
5764 wxPalette
* _result
;
5769 PyObject
* _obj1
= 0;
5770 PyObject
* _obj2
= 0;
5771 PyObject
* _obj3
= 0;
5775 if(!PyArg_ParseTuple(args
,"OOO:new_wxPalette",&_obj1
,&_obj2
,&_obj3
))
5778 _arg1
= byte_LIST_helper(_obj1
);
5779 if (_arg1
== NULL
) {
5784 _arg2
= byte_LIST_helper(_obj2
);
5785 if (_arg2
== NULL
) {
5791 _arg3
= byte_LIST_helper(_obj3
);
5792 if (_arg3
== NULL
) {
5798 _arg0
= PyList_Size(_obj1
);
5805 wxPy_BEGIN_ALLOW_THREADS
;
5806 _result
= (wxPalette
*)new_wxPalette(_arg0
,_arg1
,_arg2
,_arg3
);
5808 wxPy_END_ALLOW_THREADS
;
5810 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
5811 _resultobj
= Py_BuildValue("s",_ptemp
);
5814 _resultobj
= Py_None
;
5828 #define delete_wxPalette(_swigobj) (delete _swigobj)
5829 static PyObject
*_wrap_delete_wxPalette(PyObject
*self
, PyObject
*args
) {
5830 PyObject
* _resultobj
;
5832 PyObject
* _argo0
= 0;
5835 if(!PyArg_ParseTuple(args
,"O:delete_wxPalette",&_argo0
))
5838 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5839 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
5840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPalette. Expected _wxPalette_p.");
5845 wxPy_BEGIN_ALLOW_THREADS
;
5846 delete_wxPalette(_arg0
);
5848 wxPy_END_ALLOW_THREADS
;
5849 } Py_INCREF(Py_None
);
5850 _resultobj
= Py_None
;
5854 #define wxPalette_GetPixel(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetPixel(_swigarg0,_swigarg1,_swigarg2))
5855 static PyObject
*_wrap_wxPalette_GetPixel(PyObject
*self
, PyObject
*args
) {
5856 PyObject
* _resultobj
;
5862 PyObject
* _argo0
= 0;
5865 if(!PyArg_ParseTuple(args
,"Obbb:wxPalette_GetPixel",&_argo0
,&_arg1
,&_arg2
,&_arg3
))
5868 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5869 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
5870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetPixel. Expected _wxPalette_p.");
5875 wxPy_BEGIN_ALLOW_THREADS
;
5876 _result
= (int )wxPalette_GetPixel(_arg0
,_arg1
,_arg2
,_arg3
);
5878 wxPy_END_ALLOW_THREADS
;
5879 } _resultobj
= Py_BuildValue("i",_result
);
5883 #define wxPalette_GetRGB(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetRGB(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5884 static PyObject
*_wrap_wxPalette_GetRGB(PyObject
*self
, PyObject
*args
) {
5885 PyObject
* _resultobj
;
5892 PyObject
* _argo0
= 0;
5893 PyObject
* _argo2
= 0;
5894 PyObject
* _argo3
= 0;
5895 PyObject
* _argo4
= 0;
5898 if(!PyArg_ParseTuple(args
,"OiOOO:wxPalette_GetRGB",&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_argo4
))
5901 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5902 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
5903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetRGB. Expected _wxPalette_p.");
5908 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5909 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_byte_p")) {
5910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPalette_GetRGB. Expected _byte_p.");
5915 if (_argo3
== Py_None
) { _arg3
= NULL
; }
5916 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_byte_p")) {
5917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxPalette_GetRGB. Expected _byte_p.");
5922 if (_argo4
== Py_None
) { _arg4
= NULL
; }
5923 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_byte_p")) {
5924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxPalette_GetRGB. Expected _byte_p.");
5929 wxPy_BEGIN_ALLOW_THREADS
;
5930 _result
= (bool )wxPalette_GetRGB(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5932 wxPy_END_ALLOW_THREADS
;
5933 } _resultobj
= Py_BuildValue("i",_result
);
5937 #define wxPalette_Ok(_swigobj) (_swigobj->Ok())
5938 static PyObject
*_wrap_wxPalette_Ok(PyObject
*self
, PyObject
*args
) {
5939 PyObject
* _resultobj
;
5942 PyObject
* _argo0
= 0;
5945 if(!PyArg_ParseTuple(args
,"O:wxPalette_Ok",&_argo0
))
5948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
5950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_Ok. Expected _wxPalette_p.");
5955 wxPy_BEGIN_ALLOW_THREADS
;
5956 _result
= (bool )wxPalette_Ok(_arg0
);
5958 wxPy_END_ALLOW_THREADS
;
5959 } _resultobj
= Py_BuildValue("i",_result
);
5963 #define new_wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5964 static PyObject
*_wrap_new_wxImageList(PyObject
*self
, PyObject
*args
) {
5965 PyObject
* _resultobj
;
5966 wxImageList
* _result
;
5969 bool _arg2
= (bool ) TRUE
;
5970 int _arg3
= (int ) 1;
5971 int tempbool2
= (int) TRUE
;
5975 if(!PyArg_ParseTuple(args
,"ii|ii:new_wxImageList",&_arg0
,&_arg1
,&tempbool2
,&_arg3
))
5977 _arg2
= (bool ) tempbool2
;
5979 wxPy_BEGIN_ALLOW_THREADS
;
5980 _result
= (wxImageList
*)new_wxImageList(_arg0
,_arg1
,_arg2
,_arg3
);
5982 wxPy_END_ALLOW_THREADS
;
5984 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
5985 _resultobj
= Py_BuildValue("s",_ptemp
);
5988 _resultobj
= Py_None
;
5993 #define delete_wxImageList(_swigobj) (delete _swigobj)
5994 static PyObject
*_wrap_delete_wxImageList(PyObject
*self
, PyObject
*args
) {
5995 PyObject
* _resultobj
;
5996 wxImageList
* _arg0
;
5997 PyObject
* _argo0
= 0;
6000 if(!PyArg_ParseTuple(args
,"O:delete_wxImageList",&_argo0
))
6003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxImageList. Expected _wxImageList_p.");
6010 wxPy_BEGIN_ALLOW_THREADS
;
6011 delete_wxImageList(_arg0
);
6013 wxPy_END_ALLOW_THREADS
;
6014 } Py_INCREF(Py_None
);
6015 _resultobj
= Py_None
;
6019 #define wxImageList_Add(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
6020 static PyObject
*_wrap_wxImageList_Add(PyObject
*self
, PyObject
*args
) {
6021 PyObject
* _resultobj
;
6023 wxImageList
* _arg0
;
6025 PyObject
* _argo0
= 0;
6026 PyObject
* _argo1
= 0;
6029 if(!PyArg_ParseTuple(args
,"OO:wxImageList_Add",&_argo0
,&_argo1
))
6032 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6033 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Add. Expected _wxImageList_p.");
6039 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6040 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
6041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_Add. Expected _wxBitmap_p.");
6046 wxPy_BEGIN_ALLOW_THREADS
;
6047 _result
= (int )wxImageList_Add(_arg0
,*_arg1
);
6049 wxPy_END_ALLOW_THREADS
;
6050 } _resultobj
= Py_BuildValue("i",_result
);
6054 #define wxImageList_Replace(_swigobj,_swigarg0,_swigarg1) (_swigobj->Replace(_swigarg0,_swigarg1))
6055 static PyObject
*_wrap_wxImageList_Replace(PyObject
*self
, PyObject
*args
) {
6056 PyObject
* _resultobj
;
6058 wxImageList
* _arg0
;
6061 PyObject
* _argo0
= 0;
6062 PyObject
* _argo2
= 0;
6065 if(!PyArg_ParseTuple(args
,"OiO:wxImageList_Replace",&_argo0
,&_arg1
,&_argo2
))
6068 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6069 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Replace. Expected _wxImageList_p.");
6075 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6076 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
6077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Replace. Expected _wxBitmap_p.");
6082 wxPy_BEGIN_ALLOW_THREADS
;
6083 _result
= (bool )wxImageList_Replace(_arg0
,_arg1
,*_arg2
);
6085 wxPy_END_ALLOW_THREADS
;
6086 } _resultobj
= Py_BuildValue("i",_result
);
6090 #define wxImageList_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6091 static PyObject
*_wrap_wxImageList_Draw(PyObject
*self
, PyObject
*args
) {
6092 PyObject
* _resultobj
;
6094 wxImageList
* _arg0
;
6099 int _arg5
= (int ) (wxIMAGELIST_DRAW_NORMAL
);
6100 bool _arg6
= (bool ) FALSE
;
6101 PyObject
* _argo0
= 0;
6102 PyObject
* _argo2
= 0;
6103 int tempbool6
= (int) FALSE
;
6106 if(!PyArg_ParseTuple(args
,"OiOii|ii:wxImageList_Draw",&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
6109 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6110 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Draw. Expected _wxImageList_p.");
6116 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6117 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDC_p")) {
6118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Draw. Expected _wxDC_p.");
6122 _arg6
= (bool ) tempbool6
;
6124 wxPy_BEGIN_ALLOW_THREADS
;
6125 _result
= (bool )wxImageList_Draw(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
6127 wxPy_END_ALLOW_THREADS
;
6128 } _resultobj
= Py_BuildValue("i",_result
);
6132 #define wxImageList_GetImageCount(_swigobj) (_swigobj->GetImageCount())
6133 static PyObject
*_wrap_wxImageList_GetImageCount(PyObject
*self
, PyObject
*args
) {
6134 PyObject
* _resultobj
;
6136 wxImageList
* _arg0
;
6137 PyObject
* _argo0
= 0;
6140 if(!PyArg_ParseTuple(args
,"O:wxImageList_GetImageCount",&_argo0
))
6143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_GetImageCount. Expected _wxImageList_p.");
6150 wxPy_BEGIN_ALLOW_THREADS
;
6151 _result
= (int )wxImageList_GetImageCount(_arg0
);
6153 wxPy_END_ALLOW_THREADS
;
6154 } _resultobj
= Py_BuildValue("i",_result
);
6158 #define wxImageList_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
6159 static PyObject
*_wrap_wxImageList_Remove(PyObject
*self
, PyObject
*args
) {
6160 PyObject
* _resultobj
;
6162 wxImageList
* _arg0
;
6164 PyObject
* _argo0
= 0;
6167 if(!PyArg_ParseTuple(args
,"Oi:wxImageList_Remove",&_argo0
,&_arg1
))
6170 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6171 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Remove. Expected _wxImageList_p.");
6177 wxPy_BEGIN_ALLOW_THREADS
;
6178 _result
= (bool )wxImageList_Remove(_arg0
,_arg1
);
6180 wxPy_END_ALLOW_THREADS
;
6181 } _resultobj
= Py_BuildValue("i",_result
);
6185 #define wxImageList_RemoveAll(_swigobj) (_swigobj->RemoveAll())
6186 static PyObject
*_wrap_wxImageList_RemoveAll(PyObject
*self
, PyObject
*args
) {
6187 PyObject
* _resultobj
;
6189 wxImageList
* _arg0
;
6190 PyObject
* _argo0
= 0;
6193 if(!PyArg_ParseTuple(args
,"O:wxImageList_RemoveAll",&_argo0
))
6196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_RemoveAll. Expected _wxImageList_p.");
6203 wxPy_BEGIN_ALLOW_THREADS
;
6204 _result
= (bool )wxImageList_RemoveAll(_arg0
);
6206 wxPy_END_ALLOW_THREADS
;
6207 } _resultobj
= Py_BuildValue("i",_result
);
6211 static PyMethodDef gdicMethods
[] = {
6212 { "wxImageList_RemoveAll", _wrap_wxImageList_RemoveAll
, METH_VARARGS
},
6213 { "wxImageList_Remove", _wrap_wxImageList_Remove
, METH_VARARGS
},
6214 { "wxImageList_GetImageCount", _wrap_wxImageList_GetImageCount
, METH_VARARGS
},
6215 { "wxImageList_Draw", _wrap_wxImageList_Draw
, METH_VARARGS
},
6216 { "wxImageList_Replace", _wrap_wxImageList_Replace
, METH_VARARGS
},
6217 { "wxImageList_Add", _wrap_wxImageList_Add
, METH_VARARGS
},
6218 { "delete_wxImageList", _wrap_delete_wxImageList
, METH_VARARGS
},
6219 { "new_wxImageList", _wrap_new_wxImageList
, METH_VARARGS
},
6220 { "wxPalette_Ok", _wrap_wxPalette_Ok
, METH_VARARGS
},
6221 { "wxPalette_GetRGB", _wrap_wxPalette_GetRGB
, METH_VARARGS
},
6222 { "wxPalette_GetPixel", _wrap_wxPalette_GetPixel
, METH_VARARGS
},
6223 { "delete_wxPalette", _wrap_delete_wxPalette
, METH_VARARGS
},
6224 { "new_wxPalette", _wrap_new_wxPalette
, METH_VARARGS
},
6225 { "new_wxPostScriptDC", _wrap_new_wxPostScriptDC
, METH_VARARGS
},
6226 { "new_wxWindowDC", _wrap_new_wxWindowDC
, METH_VARARGS
},
6227 { "new_wxPaintDC", _wrap_new_wxPaintDC
, METH_VARARGS
},
6228 { "new_wxClientDC", _wrap_new_wxClientDC
, METH_VARARGS
},
6229 { "wxScreenDC_EndDrawingOnTop", _wrap_wxScreenDC_EndDrawingOnTop
, METH_VARARGS
},
6230 { "wxScreenDC_StartDrawingOnTopRect", _wrap_wxScreenDC_StartDrawingOnTopRect
, METH_VARARGS
},
6231 { "wxScreenDC_StartDrawingOnTop", _wrap_wxScreenDC_StartDrawingOnTop
, METH_VARARGS
},
6232 { "new_wxScreenDC", _wrap_new_wxScreenDC
, METH_VARARGS
},
6233 { "wxMemoryDC_SelectObject", _wrap_wxMemoryDC_SelectObject
, METH_VARARGS
},
6234 { "new_wxMemoryDC", _wrap_new_wxMemoryDC
, METH_VARARGS
},
6235 { "wxDC_DrawBitmap", _wrap_wxDC_DrawBitmap
, METH_VARARGS
},
6236 { "wxDC_StartPage", _wrap_wxDC_StartPage
, METH_VARARGS
},
6237 { "wxDC_StartDoc", _wrap_wxDC_StartDoc
, METH_VARARGS
},
6238 { "wxDC_SetUserScale", _wrap_wxDC_SetUserScale
, METH_VARARGS
},
6239 { "wxDC_SetTextForeground", _wrap_wxDC_SetTextForeground
, METH_VARARGS
},
6240 { "wxDC_SetTextBackground", _wrap_wxDC_SetTextBackground
, METH_VARARGS
},
6241 { "wxDC_SetPen", _wrap_wxDC_SetPen
, METH_VARARGS
},
6242 { "wxDC_SetOptimization", _wrap_wxDC_SetOptimization
, METH_VARARGS
},
6243 { "wxDC_SetMapMode", _wrap_wxDC_SetMapMode
, METH_VARARGS
},
6244 { "wxDC_SetLogicalFunction", _wrap_wxDC_SetLogicalFunction
, METH_VARARGS
},
6245 { "wxDC_SetFont", _wrap_wxDC_SetFont
, METH_VARARGS
},
6246 { "wxDC_SetBrush", _wrap_wxDC_SetBrush
, METH_VARARGS
},
6247 { "wxDC_SetPalette", _wrap_wxDC_SetPalette
, METH_VARARGS
},
6248 { "wxDC_SetClippingRegion", _wrap_wxDC_SetClippingRegion
, METH_VARARGS
},
6249 { "wxDC_SetBackgroundMode", _wrap_wxDC_SetBackgroundMode
, METH_VARARGS
},
6250 { "wxDC_SetBackground", _wrap_wxDC_SetBackground
, METH_VARARGS
},
6251 { "wxDC_SetDeviceOrigin", _wrap_wxDC_SetDeviceOrigin
, METH_VARARGS
},
6252 { "wxDC_Ok", _wrap_wxDC_Ok
, METH_VARARGS
},
6253 { "wxDC_MinY", _wrap_wxDC_MinY
, METH_VARARGS
},
6254 { "wxDC_MinX", _wrap_wxDC_MinX
, METH_VARARGS
},
6255 { "wxDC_MaxY", _wrap_wxDC_MaxY
, METH_VARARGS
},
6256 { "wxDC_MaxX", _wrap_wxDC_MaxX
, METH_VARARGS
},
6257 { "wxDC_LogicalToDeviceYRel", _wrap_wxDC_LogicalToDeviceYRel
, METH_VARARGS
},
6258 { "wxDC_LogicalToDeviceY", _wrap_wxDC_LogicalToDeviceY
, METH_VARARGS
},
6259 { "wxDC_LogicalToDeviceXRel", _wrap_wxDC_LogicalToDeviceXRel
, METH_VARARGS
},
6260 { "wxDC_LogicalToDeviceX", _wrap_wxDC_LogicalToDeviceX
, METH_VARARGS
},
6261 { "wxDC_GetTextForeground", _wrap_wxDC_GetTextForeground
, METH_VARARGS
},
6262 { "wxDC_GetFullTextExtent", _wrap_wxDC_GetFullTextExtent
, METH_VARARGS
},
6263 { "wxDC_GetTextExtent", _wrap_wxDC_GetTextExtent
, METH_VARARGS
},
6264 { "wxDC_GetTextBackground", _wrap_wxDC_GetTextBackground
, METH_VARARGS
},
6265 { "wxDC_GetSize", _wrap_wxDC_GetSize
, METH_VARARGS
},
6266 { "wxDC_GetSizeTuple", _wrap_wxDC_GetSizeTuple
, METH_VARARGS
},
6267 { "wxDC_GetPixel", _wrap_wxDC_GetPixel
, METH_VARARGS
},
6268 { "wxDC_GetPen", _wrap_wxDC_GetPen
, METH_VARARGS
},
6269 { "wxDC_GetOptimization", _wrap_wxDC_GetOptimization
, METH_VARARGS
},
6270 { "wxDC_GetMapMode", _wrap_wxDC_GetMapMode
, METH_VARARGS
},
6271 { "wxDC_GetLogicalFunction", _wrap_wxDC_GetLogicalFunction
, METH_VARARGS
},
6272 { "wxDC_GetFont", _wrap_wxDC_GetFont
, METH_VARARGS
},
6273 { "wxDC_GetClippingBox", _wrap_wxDC_GetClippingBox
, METH_VARARGS
},
6274 { "wxDC_GetCharWidth", _wrap_wxDC_GetCharWidth
, METH_VARARGS
},
6275 { "wxDC_GetCharHeight", _wrap_wxDC_GetCharHeight
, METH_VARARGS
},
6276 { "wxDC_GetBrush", _wrap_wxDC_GetBrush
, METH_VARARGS
},
6277 { "wxDC_GetBackground", _wrap_wxDC_GetBackground
, METH_VARARGS
},
6278 { "wxDC_FloodFill", _wrap_wxDC_FloodFill
, METH_VARARGS
},
6279 { "wxDC_EndPage", _wrap_wxDC_EndPage
, METH_VARARGS
},
6280 { "wxDC_EndDrawing", _wrap_wxDC_EndDrawing
, METH_VARARGS
},
6281 { "wxDC_EndDoc", _wrap_wxDC_EndDoc
, METH_VARARGS
},
6282 { "wxDC_DrawText", _wrap_wxDC_DrawText
, METH_VARARGS
},
6283 { "wxDC_DrawSpline", _wrap_wxDC_DrawSpline
, METH_VARARGS
},
6284 { "wxDC_DrawRoundedRectangle", _wrap_wxDC_DrawRoundedRectangle
, METH_VARARGS
},
6285 { "wxDC_DrawRectangle", _wrap_wxDC_DrawRectangle
, METH_VARARGS
},
6286 { "wxDC_DrawPoint", _wrap_wxDC_DrawPoint
, METH_VARARGS
},
6287 { "wxDC_DrawPolygon", _wrap_wxDC_DrawPolygon
, METH_VARARGS
},
6288 { "wxDC_DrawLines", _wrap_wxDC_DrawLines
, METH_VARARGS
},
6289 { "wxDC_DrawLine", _wrap_wxDC_DrawLine
, METH_VARARGS
},
6290 { "wxDC_DrawIcon", _wrap_wxDC_DrawIcon
, METH_VARARGS
},
6291 { "wxDC_DrawEllipticArc", _wrap_wxDC_DrawEllipticArc
, METH_VARARGS
},
6292 { "wxDC_DrawEllipse", _wrap_wxDC_DrawEllipse
, METH_VARARGS
},
6293 { "wxDC_DrawCircle", _wrap_wxDC_DrawCircle
, METH_VARARGS
},
6294 { "wxDC_DrawArc", _wrap_wxDC_DrawArc
, METH_VARARGS
},
6295 { "wxDC_DeviceToLogicalYRel", _wrap_wxDC_DeviceToLogicalYRel
, METH_VARARGS
},
6296 { "wxDC_DeviceToLogicalY", _wrap_wxDC_DeviceToLogicalY
, METH_VARARGS
},
6297 { "wxDC_DeviceToLogicalXRel", _wrap_wxDC_DeviceToLogicalXRel
, METH_VARARGS
},
6298 { "wxDC_DeviceToLogicalX", _wrap_wxDC_DeviceToLogicalX
, METH_VARARGS
},
6299 { "wxDC_DestroyClippingRegion", _wrap_wxDC_DestroyClippingRegion
, METH_VARARGS
},
6300 { "wxDC_CrossHair", _wrap_wxDC_CrossHair
, METH_VARARGS
},
6301 { "wxDC_Clear", _wrap_wxDC_Clear
, METH_VARARGS
},
6302 { "wxDC_Blit", _wrap_wxDC_Blit
, METH_VARARGS
},
6303 { "wxDC_BeginDrawing", _wrap_wxDC_BeginDrawing
, METH_VARARGS
},
6304 { "delete_wxDC", _wrap_delete_wxDC
, METH_VARARGS
},
6305 { "wxBrush_SetStyle", _wrap_wxBrush_SetStyle
, METH_VARARGS
},
6306 { "wxBrush_SetStipple", _wrap_wxBrush_SetStipple
, METH_VARARGS
},
6307 { "wxBrush_SetColour", _wrap_wxBrush_SetColour
, METH_VARARGS
},
6308 { "wxBrush_Ok", _wrap_wxBrush_Ok
, METH_VARARGS
},
6309 { "wxBrush_GetStyle", _wrap_wxBrush_GetStyle
, METH_VARARGS
},
6310 { "wxBrush_GetStipple", _wrap_wxBrush_GetStipple
, METH_VARARGS
},
6311 { "wxBrush_GetColour", _wrap_wxBrush_GetColour
, METH_VARARGS
},
6312 { "new_wxBrush", _wrap_new_wxBrush
, METH_VARARGS
},
6313 { "wxPen_SetWidth", _wrap_wxPen_SetWidth
, METH_VARARGS
},
6314 { "wxPen_SetStyle", _wrap_wxPen_SetStyle
, METH_VARARGS
},
6315 { "wxPen_SetJoin", _wrap_wxPen_SetJoin
, METH_VARARGS
},
6316 { "wxPen_SetColour", _wrap_wxPen_SetColour
, METH_VARARGS
},
6317 { "wxPen_SetCap", _wrap_wxPen_SetCap
, METH_VARARGS
},
6318 { "wxPen_Ok", _wrap_wxPen_Ok
, METH_VARARGS
},
6319 { "wxPen_GetWidth", _wrap_wxPen_GetWidth
, METH_VARARGS
},
6320 { "wxPen_GetStyle", _wrap_wxPen_GetStyle
, METH_VARARGS
},
6321 { "wxPen_GetJoin", _wrap_wxPen_GetJoin
, METH_VARARGS
},
6322 { "wxPen_GetColour", _wrap_wxPen_GetColour
, METH_VARARGS
},
6323 { "wxPen_GetCap", _wrap_wxPen_GetCap
, METH_VARARGS
},
6324 { "new_wxPen", _wrap_new_wxPen
, METH_VARARGS
},
6325 { "wxColour_Get", _wrap_wxColour_Get
, METH_VARARGS
},
6326 { "wxColour_Set", _wrap_wxColour_Set
, METH_VARARGS
},
6327 { "wxColour_Ok", _wrap_wxColour_Ok
, METH_VARARGS
},
6328 { "wxColour_Blue", _wrap_wxColour_Blue
, METH_VARARGS
},
6329 { "wxColour_Green", _wrap_wxColour_Green
, METH_VARARGS
},
6330 { "wxColour_Red", _wrap_wxColour_Red
, METH_VARARGS
},
6331 { "delete_wxColour", _wrap_delete_wxColour
, METH_VARARGS
},
6332 { "new_wxColour", _wrap_new_wxColour
, METH_VARARGS
},
6333 { "wxFont_SetWeight", _wrap_wxFont_SetWeight
, METH_VARARGS
},
6334 { "wxFont_SetUnderlined", _wrap_wxFont_SetUnderlined
, METH_VARARGS
},
6335 { "wxFont_SetStyle", _wrap_wxFont_SetStyle
, METH_VARARGS
},
6336 { "wxFont_SetPointSize", _wrap_wxFont_SetPointSize
, METH_VARARGS
},
6337 { "wxFont_SetFamily", _wrap_wxFont_SetFamily
, METH_VARARGS
},
6338 { "wxFont_SetFaceName", _wrap_wxFont_SetFaceName
, METH_VARARGS
},
6339 { "wxFont_GetWeight", _wrap_wxFont_GetWeight
, METH_VARARGS
},
6340 { "wxFont_GetUnderlined", _wrap_wxFont_GetUnderlined
, METH_VARARGS
},
6341 { "wxFont_GetStyle", _wrap_wxFont_GetStyle
, METH_VARARGS
},
6342 { "wxFont_GetPointSize", _wrap_wxFont_GetPointSize
, METH_VARARGS
},
6343 { "wxFont_GetFamily", _wrap_wxFont_GetFamily
, METH_VARARGS
},
6344 { "wxFont_GetFaceName", _wrap_wxFont_GetFaceName
, METH_VARARGS
},
6345 { "new_wxFont", _wrap_new_wxFont
, METH_VARARGS
},
6346 { "wxCursor_Ok", _wrap_wxCursor_Ok
, METH_VARARGS
},
6347 { "delete_wxCursor", _wrap_delete_wxCursor
, METH_VARARGS
},
6348 { "wxIcon_SetWidth", _wrap_wxIcon_SetWidth
, METH_VARARGS
},
6349 { "wxIcon_SetHeight", _wrap_wxIcon_SetHeight
, METH_VARARGS
},
6350 { "wxIcon_SetDepth", _wrap_wxIcon_SetDepth
, METH_VARARGS
},
6351 { "wxIcon_Ok", _wrap_wxIcon_Ok
, METH_VARARGS
},
6352 { "wxIcon_LoadFile", _wrap_wxIcon_LoadFile
, METH_VARARGS
},
6353 { "wxIcon_GetWidth", _wrap_wxIcon_GetWidth
, METH_VARARGS
},
6354 { "wxIcon_GetHeight", _wrap_wxIcon_GetHeight
, METH_VARARGS
},
6355 { "wxIcon_GetDepth", _wrap_wxIcon_GetDepth
, METH_VARARGS
},
6356 { "delete_wxIcon", _wrap_delete_wxIcon
, METH_VARARGS
},
6357 { "new_wxIcon", _wrap_new_wxIcon
, METH_VARARGS
},
6358 { "delete_wxMask", _wrap_delete_wxMask
, METH_VARARGS
},
6359 { "new_wxMask", _wrap_new_wxMask
, METH_VARARGS
},
6360 { "wxBitmap_SetWidth", _wrap_wxBitmap_SetWidth
, METH_VARARGS
},
6361 { "wxBitmap_SetMask", _wrap_wxBitmap_SetMask
, METH_VARARGS
},
6362 { "wxBitmap_SetHeight", _wrap_wxBitmap_SetHeight
, METH_VARARGS
},
6363 { "wxBitmap_SetDepth", _wrap_wxBitmap_SetDepth
, METH_VARARGS
},
6364 { "wxBitmap_SaveFile", _wrap_wxBitmap_SaveFile
, METH_VARARGS
},
6365 { "wxBitmap_Ok", _wrap_wxBitmap_Ok
, METH_VARARGS
},
6366 { "wxBitmap_LoadFile", _wrap_wxBitmap_LoadFile
, METH_VARARGS
},
6367 { "wxBitmap_GetWidth", _wrap_wxBitmap_GetWidth
, METH_VARARGS
},
6368 { "wxBitmap_GetMask", _wrap_wxBitmap_GetMask
, METH_VARARGS
},
6369 { "wxBitmap_GetPalette", _wrap_wxBitmap_GetPalette
, METH_VARARGS
},
6370 { "wxBitmap_GetHeight", _wrap_wxBitmap_GetHeight
, METH_VARARGS
},
6371 { "wxBitmap_GetDepth", _wrap_wxBitmap_GetDepth
, METH_VARARGS
},
6372 { "delete_wxBitmap", _wrap_delete_wxBitmap
, METH_VARARGS
},
6373 { "new_wxBitmap", _wrap_new_wxBitmap
, METH_VARARGS
},
6374 { "wxMemoryDCFromDC", _wrap_wxMemoryDCFromDC
, METH_VARARGS
},
6375 { "wxNamedColour", _wrap_wxNamedColour
, METH_VARARGS
},
6376 { "wxStockCursor", _wrap_wxStockCursor
, METH_VARARGS
},
6377 { "wxMaskColour", _wrap_wxMaskColour
, METH_VARARGS
},
6378 { "wxNoRefBitmap", _wrap_wxNoRefBitmap
, METH_VARARGS
},
6379 { "wxEmptyBitmap", _wrap_wxEmptyBitmap
, METH_VARARGS
},
6386 * This table is used by the pointer type-checker
6388 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
6389 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
6390 { "_signed_long","_long",0},
6391 { "_wxPrintQuality","_int",0},
6392 { "_wxPrintQuality","_signed_int",0},
6393 { "_wxPrintQuality","_unsigned_int",0},
6394 { "_wxPrintQuality","_wxWindowID",0},
6395 { "_wxPrintQuality","_uint",0},
6396 { "_wxPrintQuality","_EBool",0},
6397 { "_wxPrintQuality","_size_t",0},
6398 { "_class_wxRegionIterator","_wxRegionIterator",0},
6399 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
6400 { "_wxCursor","_class_wxCursor",0},
6401 { "_wxMask","_class_wxMask",0},
6402 { "_wxPen","_class_wxPen",0},
6403 { "_byte","_unsigned_char",0},
6404 { "_long","_wxDash",0},
6405 { "_long","_unsigned_long",0},
6406 { "_long","_signed_long",0},
6407 { "_wxImageList","_class_wxImageList",0},
6408 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
6409 { "_wxDC","_class_wxPostScriptDC",SwigwxPostScriptDCTowxDC
},
6410 { "_wxDC","_wxPostScriptDC",SwigwxPostScriptDCTowxDC
},
6411 { "_wxDC","_class_wxWindowDC",SwigwxWindowDCTowxDC
},
6412 { "_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC
},
6413 { "_wxDC","_class_wxPaintDC",SwigwxPaintDCTowxDC
},
6414 { "_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
},
6415 { "_wxDC","_class_wxClientDC",SwigwxClientDCTowxDC
},
6416 { "_wxDC","_wxClientDC",SwigwxClientDCTowxDC
},
6417 { "_wxDC","_class_wxScreenDC",SwigwxScreenDCTowxDC
},
6418 { "_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
},
6419 { "_wxDC","_class_wxMemoryDC",SwigwxMemoryDCTowxDC
},
6420 { "_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
},
6421 { "_wxDC","_class_wxDC",0},
6422 { "_size_t","_wxPrintQuality",0},
6423 { "_size_t","_unsigned_int",0},
6424 { "_size_t","_int",0},
6425 { "_size_t","_wxWindowID",0},
6426 { "_size_t","_uint",0},
6427 { "_class_wxRealPoint","_wxRealPoint",0},
6428 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
6429 { "_class_wxMask","_wxMask",0},
6430 { "_wxColour","_class_wxColour",0},
6431 { "_wxBrush","_class_wxBrush",0},
6432 { "_uint","_wxPrintQuality",0},
6433 { "_uint","_size_t",0},
6434 { "_uint","_unsigned_int",0},
6435 { "_uint","_int",0},
6436 { "_uint","_wxWindowID",0},
6437 { "_wxRect","_class_wxRect",0},
6438 { "_wxPoint","_class_wxPoint",0},
6439 { "_wxBitmap","_class_wxCursor",SwigwxCursorTowxBitmap
},
6440 { "_wxBitmap","_wxCursor",SwigwxCursorTowxBitmap
},
6441 { "_wxBitmap","_class_wxIcon",SwigwxIconTowxBitmap
},
6442 { "_wxBitmap","_wxIcon",SwigwxIconTowxBitmap
},
6443 { "_wxBitmap","_class_wxBitmap",0},
6444 { "_wxPyTimer","_class_wxPyTimer",0},
6445 { "_wxWindowDC","_class_wxWindowDC",0},
6446 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
6447 { "_EBool","_wxPrintQuality",0},
6448 { "_EBool","_signed_int",0},
6449 { "_EBool","_int",0},
6450 { "_EBool","_wxWindowID",0},
6451 { "_class_wxRegion","_wxRegion",0},
6452 { "_wxFont","_class_wxFont",0},
6453 { "_unsigned_long","_wxDash",0},
6454 { "_unsigned_long","_long",0},
6455 { "_class_wxRect","_wxRect",0},
6456 { "_class_wxDC","_class_wxPostScriptDC",SwigwxPostScriptDCTowxDC
},
6457 { "_class_wxDC","_wxPostScriptDC",SwigwxPostScriptDCTowxDC
},
6458 { "_class_wxDC","_class_wxWindowDC",SwigwxWindowDCTowxDC
},
6459 { "_class_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC
},
6460 { "_class_wxDC","_class_wxPaintDC",SwigwxPaintDCTowxDC
},
6461 { "_class_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
},
6462 { "_class_wxDC","_class_wxClientDC",SwigwxClientDCTowxDC
},
6463 { "_class_wxDC","_wxClientDC",SwigwxClientDCTowxDC
},
6464 { "_class_wxDC","_class_wxScreenDC",SwigwxScreenDCTowxDC
},
6465 { "_class_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
},
6466 { "_class_wxDC","_class_wxMemoryDC",SwigwxMemoryDCTowxDC
},
6467 { "_class_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
},
6468 { "_class_wxDC","_wxDC",0},
6469 { "_class_wxPyTimer","_wxPyTimer",0},
6470 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
6471 { "_signed_int","_wxPrintQuality",0},
6472 { "_signed_int","_EBool",0},
6473 { "_signed_int","_wxWindowID",0},
6474 { "_signed_int","_int",0},
6475 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
6476 { "_wxScreenDC","_class_wxScreenDC",0},
6477 { "_WXTYPE","_short",0},
6478 { "_WXTYPE","_signed_short",0},
6479 { "_WXTYPE","_unsigned_short",0},
6480 { "_class_wxBrush","_wxBrush",0},
6481 { "_unsigned_short","_WXTYPE",0},
6482 { "_unsigned_short","_short",0},
6483 { "_class_wxFont","_wxFont",0},
6484 { "_wxClientDC","_class_wxClientDC",0},
6485 { "_class_wxPoint","_wxPoint",0},
6486 { "_wxRealPoint","_class_wxRealPoint",0},
6487 { "_signed_short","_WXTYPE",0},
6488 { "_signed_short","_short",0},
6489 { "_wxMemoryDC","_class_wxMemoryDC",0},
6490 { "_wxPaintDC","_class_wxPaintDC",0},
6491 { "_class_wxWindowDC","_wxWindowDC",0},
6492 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
6493 { "_class_wxCursor","_wxCursor",0},
6494 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
6495 { "_unsigned_char","_byte",0},
6496 { "_unsigned_int","_wxPrintQuality",0},
6497 { "_unsigned_int","_size_t",0},
6498 { "_unsigned_int","_uint",0},
6499 { "_unsigned_int","_wxWindowID",0},
6500 { "_unsigned_int","_int",0},
6501 { "_wxIcon","_class_wxIcon",0},
6502 { "_class_wxPen","_wxPen",0},
6503 { "_short","_WXTYPE",0},
6504 { "_short","_unsigned_short",0},
6505 { "_short","_signed_short",0},
6506 { "_class_wxImageList","_wxImageList",0},
6507 { "_wxWindowID","_wxPrintQuality",0},
6508 { "_wxWindowID","_size_t",0},
6509 { "_wxWindowID","_EBool",0},
6510 { "_wxWindowID","_uint",0},
6511 { "_wxWindowID","_int",0},
6512 { "_wxWindowID","_signed_int",0},
6513 { "_wxWindowID","_unsigned_int",0},
6514 { "_int","_wxPrintQuality",0},
6515 { "_int","_size_t",0},
6516 { "_int","_EBool",0},
6517 { "_int","_uint",0},
6518 { "_int","_wxWindowID",0},
6519 { "_int","_unsigned_int",0},
6520 { "_int","_signed_int",0},
6521 { "_wxSize","_class_wxSize",0},
6522 { "_wxRegionIterator","_class_wxRegionIterator",0},
6523 { "_class_wxPaintDC","_wxPaintDC",0},
6524 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
6525 { "_class_wxIcon","_wxIcon",0},
6526 { "_class_wxColour","_wxColour",0},
6527 { "_class_wxScreenDC","_wxScreenDC",0},
6528 { "_wxPalette","_class_wxPalette",0},
6529 { "_wxRegion","_class_wxRegion",0},
6530 { "_class_wxClientDC","_wxClientDC",0},
6531 { "_class_wxSize","_wxSize",0},
6532 { "_class_wxBitmap","_class_wxCursor",SwigwxCursorTowxBitmap
},
6533 { "_class_wxBitmap","_wxCursor",SwigwxCursorTowxBitmap
},
6534 { "_class_wxBitmap","_class_wxIcon",SwigwxIconTowxBitmap
},
6535 { "_class_wxBitmap","_wxIcon",SwigwxIconTowxBitmap
},
6536 { "_class_wxBitmap","_wxBitmap",0},
6537 { "_class_wxMemoryDC","_wxMemoryDC",0},
6538 { "_wxDash","_unsigned_long",0},
6539 { "_wxDash","_long",0},
6540 { "_class_wxPalette","_wxPalette",0},
6543 static PyObject
*SWIG_globals
;
6547 SWIGEXPORT(void) initgdic() {
6549 SWIG_globals
= SWIG_newvarlink();
6550 m
= Py_InitModule("gdic", gdicMethods
);
6551 d
= PyModule_GetDict(m
);
6552 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
6553 SWIG_addvarlink(SWIG_globals
,"wxNORMAL_FONT",_wrap_wxNORMAL_FONT_get
, _wrap_wxNORMAL_FONT_set
);
6554 SWIG_addvarlink(SWIG_globals
,"wxSMALL_FONT",_wrap_wxSMALL_FONT_get
, _wrap_wxSMALL_FONT_set
);
6555 SWIG_addvarlink(SWIG_globals
,"wxITALIC_FONT",_wrap_wxITALIC_FONT_get
, _wrap_wxITALIC_FONT_set
);
6556 SWIG_addvarlink(SWIG_globals
,"wxSWISS_FONT",_wrap_wxSWISS_FONT_get
, _wrap_wxSWISS_FONT_set
);
6557 SWIG_addvarlink(SWIG_globals
,"wxRED_PEN",_wrap_wxRED_PEN_get
, _wrap_wxRED_PEN_set
);
6558 SWIG_addvarlink(SWIG_globals
,"wxCYAN_PEN",_wrap_wxCYAN_PEN_get
, _wrap_wxCYAN_PEN_set
);
6559 SWIG_addvarlink(SWIG_globals
,"wxGREEN_PEN",_wrap_wxGREEN_PEN_get
, _wrap_wxGREEN_PEN_set
);
6560 SWIG_addvarlink(SWIG_globals
,"wxBLACK_PEN",_wrap_wxBLACK_PEN_get
, _wrap_wxBLACK_PEN_set
);
6561 SWIG_addvarlink(SWIG_globals
,"wxWHITE_PEN",_wrap_wxWHITE_PEN_get
, _wrap_wxWHITE_PEN_set
);
6562 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_PEN",_wrap_wxTRANSPARENT_PEN_get
, _wrap_wxTRANSPARENT_PEN_set
);
6563 SWIG_addvarlink(SWIG_globals
,"wxBLACK_DASHED_PEN",_wrap_wxBLACK_DASHED_PEN_get
, _wrap_wxBLACK_DASHED_PEN_set
);
6564 SWIG_addvarlink(SWIG_globals
,"wxGREY_PEN",_wrap_wxGREY_PEN_get
, _wrap_wxGREY_PEN_set
);
6565 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_PEN",_wrap_wxMEDIUM_GREY_PEN_get
, _wrap_wxMEDIUM_GREY_PEN_set
);
6566 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_PEN",_wrap_wxLIGHT_GREY_PEN_get
, _wrap_wxLIGHT_GREY_PEN_set
);
6567 SWIG_addvarlink(SWIG_globals
,"wxBLUE_BRUSH",_wrap_wxBLUE_BRUSH_get
, _wrap_wxBLUE_BRUSH_set
);
6568 SWIG_addvarlink(SWIG_globals
,"wxGREEN_BRUSH",_wrap_wxGREEN_BRUSH_get
, _wrap_wxGREEN_BRUSH_set
);
6569 SWIG_addvarlink(SWIG_globals
,"wxWHITE_BRUSH",_wrap_wxWHITE_BRUSH_get
, _wrap_wxWHITE_BRUSH_set
);
6570 SWIG_addvarlink(SWIG_globals
,"wxBLACK_BRUSH",_wrap_wxBLACK_BRUSH_get
, _wrap_wxBLACK_BRUSH_set
);
6571 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_BRUSH",_wrap_wxTRANSPARENT_BRUSH_get
, _wrap_wxTRANSPARENT_BRUSH_set
);
6572 SWIG_addvarlink(SWIG_globals
,"wxCYAN_BRUSH",_wrap_wxCYAN_BRUSH_get
, _wrap_wxCYAN_BRUSH_set
);
6573 SWIG_addvarlink(SWIG_globals
,"wxRED_BRUSH",_wrap_wxRED_BRUSH_get
, _wrap_wxRED_BRUSH_set
);
6574 SWIG_addvarlink(SWIG_globals
,"wxGREY_BRUSH",_wrap_wxGREY_BRUSH_get
, _wrap_wxGREY_BRUSH_set
);
6575 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_BRUSH",_wrap_wxMEDIUM_GREY_BRUSH_get
, _wrap_wxMEDIUM_GREY_BRUSH_set
);
6576 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_BRUSH",_wrap_wxLIGHT_GREY_BRUSH_get
, _wrap_wxLIGHT_GREY_BRUSH_set
);
6577 SWIG_addvarlink(SWIG_globals
,"wxBLACK",_wrap_wxBLACK_get
, _wrap_wxBLACK_set
);
6578 SWIG_addvarlink(SWIG_globals
,"wxWHITE",_wrap_wxWHITE_get
, _wrap_wxWHITE_set
);
6579 SWIG_addvarlink(SWIG_globals
,"wxRED",_wrap_wxRED_get
, _wrap_wxRED_set
);
6580 SWIG_addvarlink(SWIG_globals
,"wxBLUE",_wrap_wxBLUE_get
, _wrap_wxBLUE_set
);
6581 SWIG_addvarlink(SWIG_globals
,"wxGREEN",_wrap_wxGREEN_get
, _wrap_wxGREEN_set
);
6582 SWIG_addvarlink(SWIG_globals
,"wxCYAN",_wrap_wxCYAN_get
, _wrap_wxCYAN_set
);
6583 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY",_wrap_wxLIGHT_GREY_get
, _wrap_wxLIGHT_GREY_set
);
6584 SWIG_addvarlink(SWIG_globals
,"wxSTANDARD_CURSOR",_wrap_wxSTANDARD_CURSOR_get
, _wrap_wxSTANDARD_CURSOR_set
);
6585 SWIG_addvarlink(SWIG_globals
,"wxHOURGLASS_CURSOR",_wrap_wxHOURGLASS_CURSOR_get
, _wrap_wxHOURGLASS_CURSOR_set
);
6586 SWIG_addvarlink(SWIG_globals
,"wxCROSS_CURSOR",_wrap_wxCROSS_CURSOR_get
, _wrap_wxCROSS_CURSOR_set
);
6587 SWIG_addvarlink(SWIG_globals
,"wxNullBitmap",_wrap_wxNullBitmap_get
, _wrap_wxNullBitmap_set
);
6588 SWIG_addvarlink(SWIG_globals
,"wxNullIcon",_wrap_wxNullIcon_get
, _wrap_wxNullIcon_set
);
6589 SWIG_addvarlink(SWIG_globals
,"wxNullCursor",_wrap_wxNullCursor_get
, _wrap_wxNullCursor_set
);
6590 SWIG_addvarlink(SWIG_globals
,"wxNullPen",_wrap_wxNullPen_get
, _wrap_wxNullPen_set
);
6591 SWIG_addvarlink(SWIG_globals
,"wxNullBrush",_wrap_wxNullBrush_get
, _wrap_wxNullBrush_set
);
6592 SWIG_addvarlink(SWIG_globals
,"wxNullPalette",_wrap_wxNullPalette_get
, _wrap_wxNullPalette_set
);
6593 SWIG_addvarlink(SWIG_globals
,"wxNullFont",_wrap_wxNullFont_get
, _wrap_wxNullFont_set
);
6594 SWIG_addvarlink(SWIG_globals
,"wxNullColour",_wrap_wxNullColour_get
, _wrap_wxNullColour_set
);
6595 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_NORMAL", PyInt_FromLong((long) wxIMAGELIST_DRAW_NORMAL
));
6596 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_TRANSPARENT", PyInt_FromLong((long) wxIMAGELIST_DRAW_TRANSPARENT
));
6597 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_SELECTED", PyInt_FromLong((long) wxIMAGELIST_DRAW_SELECTED
));
6598 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_FOCUSED", PyInt_FromLong((long) wxIMAGELIST_DRAW_FOCUSED
));
6599 PyDict_SetItemString(d
,"wxIMAGE_LIST_NORMAL", PyInt_FromLong((long) wxIMAGE_LIST_NORMAL
));
6600 PyDict_SetItemString(d
,"wxIMAGE_LIST_SMALL", PyInt_FromLong((long) wxIMAGE_LIST_SMALL
));
6601 PyDict_SetItemString(d
,"wxIMAGE_LIST_STATE", PyInt_FromLong((long) wxIMAGE_LIST_STATE
));
6604 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
6605 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);