4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 802)
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_wxBitmapFromData(PyObject
*self
, PyObject
*args
) {
258 PyObject
* _resultobj
;
264 int _arg4
= (int ) 1;
268 if(!PyArg_ParseTuple(args
,"slii|i:wxBitmapFromData",&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
271 wxPy_BEGIN_ALLOW_THREADS
;
272 _result
= (wxBitmap
*)wxBitmapFromData(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
274 wxPy_END_ALLOW_THREADS
;
276 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
277 _resultobj
= Py_BuildValue("s",_ptemp
);
280 _resultobj
= Py_None
;
285 static PyObject
*_wrap_wxMaskColour(PyObject
*self
, PyObject
*args
) {
286 PyObject
* _resultobj
;
290 PyObject
* _argo0
= 0;
291 PyObject
* _argo1
= 0;
295 if(!PyArg_ParseTuple(args
,"OO:wxMaskColour",&_argo0
,&_argo1
))
298 if (_argo0
== Py_None
) { _arg0
= NULL
; }
299 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMaskColour. Expected _wxBitmap_p.");
305 if (_argo1
== Py_None
) { _arg1
= NULL
; }
306 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMaskColour. Expected _wxColour_p.");
312 wxPy_BEGIN_ALLOW_THREADS
;
313 _result
= (wxMask
*)wxMaskColour(*_arg0
,*_arg1
);
315 wxPy_END_ALLOW_THREADS
;
317 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
318 _resultobj
= Py_BuildValue("s",_ptemp
);
321 _resultobj
= Py_None
;
326 static PyObject
*_wrap_wxStockCursor(PyObject
*self
, PyObject
*args
) {
327 PyObject
* _resultobj
;
333 if(!PyArg_ParseTuple(args
,"i:wxStockCursor",&_arg0
))
336 wxPy_BEGIN_ALLOW_THREADS
;
337 _result
= (wxCursor
*)wxPyStockCursor(_arg0
);
339 wxPy_END_ALLOW_THREADS
;
341 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCursor_p");
342 _resultobj
= Py_BuildValue("s",_ptemp
);
345 _resultobj
= Py_None
;
350 static PyObject
*_wrap_wxNamedColour(PyObject
*self
, PyObject
*args
) {
351 PyObject
* _resultobj
;
354 PyObject
* _obj0
= 0;
358 if(!PyArg_ParseTuple(args
,"O:wxNamedColour",&_obj0
))
361 if (!PyString_Check(_obj0
)) {
362 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
365 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
368 wxPy_BEGIN_ALLOW_THREADS
;
369 _result
= (wxColour
*)wxNamedColour(*_arg0
);
371 wxPy_END_ALLOW_THREADS
;
373 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
374 _resultobj
= Py_BuildValue("s",_ptemp
);
377 _resultobj
= Py_None
;
386 static PyObject
*_wrap_wxMemoryDCFromDC(PyObject
*self
, PyObject
*args
) {
387 PyObject
* _resultobj
;
388 wxMemoryDC
* _result
;
390 PyObject
* _argo0
= 0;
394 if(!PyArg_ParseTuple(args
,"O:wxMemoryDCFromDC",&_argo0
))
397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDCFromDC. Expected _wxDC_p.");
404 wxPy_BEGIN_ALLOW_THREADS
;
405 _result
= (wxMemoryDC
*)wxMemoryDCFromDC(_arg0
);
407 wxPy_END_ALLOW_THREADS
;
409 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
410 _resultobj
= Py_BuildValue("s",_ptemp
);
413 _resultobj
= Py_None
;
418 static int _wrap_wxNORMAL_FONT_set(PyObject
*val
) {
420 PyErr_SetString(PyExc_TypeError
,"Variable wxNORMAL_FONT is read-only.");
424 static PyObject
*_wrap_wxNORMAL_FONT_get() {
428 SWIG_MakePtr(ptemp
, (char *) wxNORMAL_FONT
,"_wxFont_p");
429 pyobj
= PyString_FromString(ptemp
);
433 static int _wrap_wxSMALL_FONT_set(PyObject
*val
) {
435 PyErr_SetString(PyExc_TypeError
,"Variable wxSMALL_FONT is read-only.");
439 static PyObject
*_wrap_wxSMALL_FONT_get() {
443 SWIG_MakePtr(ptemp
, (char *) wxSMALL_FONT
,"_wxFont_p");
444 pyobj
= PyString_FromString(ptemp
);
448 static int _wrap_wxITALIC_FONT_set(PyObject
*val
) {
450 PyErr_SetString(PyExc_TypeError
,"Variable wxITALIC_FONT is read-only.");
454 static PyObject
*_wrap_wxITALIC_FONT_get() {
458 SWIG_MakePtr(ptemp
, (char *) wxITALIC_FONT
,"_wxFont_p");
459 pyobj
= PyString_FromString(ptemp
);
463 static int _wrap_wxSWISS_FONT_set(PyObject
*val
) {
465 PyErr_SetString(PyExc_TypeError
,"Variable wxSWISS_FONT is read-only.");
469 static PyObject
*_wrap_wxSWISS_FONT_get() {
473 SWIG_MakePtr(ptemp
, (char *) wxSWISS_FONT
,"_wxFont_p");
474 pyobj
= PyString_FromString(ptemp
);
478 static int _wrap_wxRED_PEN_set(PyObject
*val
) {
480 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_PEN is read-only.");
484 static PyObject
*_wrap_wxRED_PEN_get() {
488 SWIG_MakePtr(ptemp
, (char *) wxRED_PEN
,"_wxPen_p");
489 pyobj
= PyString_FromString(ptemp
);
493 static int _wrap_wxCYAN_PEN_set(PyObject
*val
) {
495 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_PEN is read-only.");
499 static PyObject
*_wrap_wxCYAN_PEN_get() {
503 SWIG_MakePtr(ptemp
, (char *) wxCYAN_PEN
,"_wxPen_p");
504 pyobj
= PyString_FromString(ptemp
);
508 static int _wrap_wxGREEN_PEN_set(PyObject
*val
) {
510 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_PEN is read-only.");
514 static PyObject
*_wrap_wxGREEN_PEN_get() {
518 SWIG_MakePtr(ptemp
, (char *) wxGREEN_PEN
,"_wxPen_p");
519 pyobj
= PyString_FromString(ptemp
);
523 static int _wrap_wxBLACK_PEN_set(PyObject
*val
) {
525 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_PEN is read-only.");
529 static PyObject
*_wrap_wxBLACK_PEN_get() {
533 SWIG_MakePtr(ptemp
, (char *) wxBLACK_PEN
,"_wxPen_p");
534 pyobj
= PyString_FromString(ptemp
);
538 static int _wrap_wxWHITE_PEN_set(PyObject
*val
) {
540 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_PEN is read-only.");
544 static PyObject
*_wrap_wxWHITE_PEN_get() {
548 SWIG_MakePtr(ptemp
, (char *) wxWHITE_PEN
,"_wxPen_p");
549 pyobj
= PyString_FromString(ptemp
);
553 static int _wrap_wxTRANSPARENT_PEN_set(PyObject
*val
) {
555 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_PEN is read-only.");
559 static PyObject
*_wrap_wxTRANSPARENT_PEN_get() {
563 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_PEN
,"_wxPen_p");
564 pyobj
= PyString_FromString(ptemp
);
568 static int _wrap_wxBLACK_DASHED_PEN_set(PyObject
*val
) {
570 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_DASHED_PEN is read-only.");
574 static PyObject
*_wrap_wxBLACK_DASHED_PEN_get() {
578 SWIG_MakePtr(ptemp
, (char *) wxBLACK_DASHED_PEN
,"_wxPen_p");
579 pyobj
= PyString_FromString(ptemp
);
583 static int _wrap_wxGREY_PEN_set(PyObject
*val
) {
585 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_PEN is read-only.");
589 static PyObject
*_wrap_wxGREY_PEN_get() {
593 SWIG_MakePtr(ptemp
, (char *) wxGREY_PEN
,"_wxPen_p");
594 pyobj
= PyString_FromString(ptemp
);
598 static int _wrap_wxMEDIUM_GREY_PEN_set(PyObject
*val
) {
600 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_PEN is read-only.");
604 static PyObject
*_wrap_wxMEDIUM_GREY_PEN_get() {
608 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_PEN
,"_wxPen_p");
609 pyobj
= PyString_FromString(ptemp
);
613 static int _wrap_wxLIGHT_GREY_PEN_set(PyObject
*val
) {
615 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_PEN is read-only.");
619 static PyObject
*_wrap_wxLIGHT_GREY_PEN_get() {
623 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_PEN
,"_wxPen_p");
624 pyobj
= PyString_FromString(ptemp
);
628 static int _wrap_wxBLUE_BRUSH_set(PyObject
*val
) {
630 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE_BRUSH is read-only.");
634 static PyObject
*_wrap_wxBLUE_BRUSH_get() {
638 SWIG_MakePtr(ptemp
, (char *) wxBLUE_BRUSH
,"_wxBrush_p");
639 pyobj
= PyString_FromString(ptemp
);
643 static int _wrap_wxGREEN_BRUSH_set(PyObject
*val
) {
645 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_BRUSH is read-only.");
649 static PyObject
*_wrap_wxGREEN_BRUSH_get() {
653 SWIG_MakePtr(ptemp
, (char *) wxGREEN_BRUSH
,"_wxBrush_p");
654 pyobj
= PyString_FromString(ptemp
);
658 static int _wrap_wxWHITE_BRUSH_set(PyObject
*val
) {
660 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_BRUSH is read-only.");
664 static PyObject
*_wrap_wxWHITE_BRUSH_get() {
668 SWIG_MakePtr(ptemp
, (char *) wxWHITE_BRUSH
,"_wxBrush_p");
669 pyobj
= PyString_FromString(ptemp
);
673 static int _wrap_wxBLACK_BRUSH_set(PyObject
*val
) {
675 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_BRUSH is read-only.");
679 static PyObject
*_wrap_wxBLACK_BRUSH_get() {
683 SWIG_MakePtr(ptemp
, (char *) wxBLACK_BRUSH
,"_wxBrush_p");
684 pyobj
= PyString_FromString(ptemp
);
688 static int _wrap_wxTRANSPARENT_BRUSH_set(PyObject
*val
) {
690 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_BRUSH is read-only.");
694 static PyObject
*_wrap_wxTRANSPARENT_BRUSH_get() {
698 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_BRUSH
,"_wxBrush_p");
699 pyobj
= PyString_FromString(ptemp
);
703 static int _wrap_wxCYAN_BRUSH_set(PyObject
*val
) {
705 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_BRUSH is read-only.");
709 static PyObject
*_wrap_wxCYAN_BRUSH_get() {
713 SWIG_MakePtr(ptemp
, (char *) wxCYAN_BRUSH
,"_wxBrush_p");
714 pyobj
= PyString_FromString(ptemp
);
718 static int _wrap_wxRED_BRUSH_set(PyObject
*val
) {
720 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_BRUSH is read-only.");
724 static PyObject
*_wrap_wxRED_BRUSH_get() {
728 SWIG_MakePtr(ptemp
, (char *) wxRED_BRUSH
,"_wxBrush_p");
729 pyobj
= PyString_FromString(ptemp
);
733 static int _wrap_wxGREY_BRUSH_set(PyObject
*val
) {
735 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_BRUSH is read-only.");
739 static PyObject
*_wrap_wxGREY_BRUSH_get() {
743 SWIG_MakePtr(ptemp
, (char *) wxGREY_BRUSH
,"_wxBrush_p");
744 pyobj
= PyString_FromString(ptemp
);
748 static int _wrap_wxMEDIUM_GREY_BRUSH_set(PyObject
*val
) {
750 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_BRUSH is read-only.");
754 static PyObject
*_wrap_wxMEDIUM_GREY_BRUSH_get() {
758 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_BRUSH
,"_wxBrush_p");
759 pyobj
= PyString_FromString(ptemp
);
763 static int _wrap_wxLIGHT_GREY_BRUSH_set(PyObject
*val
) {
765 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_BRUSH is read-only.");
769 static PyObject
*_wrap_wxLIGHT_GREY_BRUSH_get() {
773 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_BRUSH
,"_wxBrush_p");
774 pyobj
= PyString_FromString(ptemp
);
778 static int _wrap_wxBLACK_set(PyObject
*val
) {
780 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK is read-only.");
784 static PyObject
*_wrap_wxBLACK_get() {
788 SWIG_MakePtr(ptemp
, (char *) wxBLACK
,"_wxColour_p");
789 pyobj
= PyString_FromString(ptemp
);
793 static int _wrap_wxWHITE_set(PyObject
*val
) {
795 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE is read-only.");
799 static PyObject
*_wrap_wxWHITE_get() {
803 SWIG_MakePtr(ptemp
, (char *) wxWHITE
,"_wxColour_p");
804 pyobj
= PyString_FromString(ptemp
);
808 static int _wrap_wxRED_set(PyObject
*val
) {
810 PyErr_SetString(PyExc_TypeError
,"Variable wxRED is read-only.");
814 static PyObject
*_wrap_wxRED_get() {
818 SWIG_MakePtr(ptemp
, (char *) wxRED
,"_wxColour_p");
819 pyobj
= PyString_FromString(ptemp
);
823 static int _wrap_wxBLUE_set(PyObject
*val
) {
825 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE is read-only.");
829 static PyObject
*_wrap_wxBLUE_get() {
833 SWIG_MakePtr(ptemp
, (char *) wxBLUE
,"_wxColour_p");
834 pyobj
= PyString_FromString(ptemp
);
838 static int _wrap_wxGREEN_set(PyObject
*val
) {
840 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN is read-only.");
844 static PyObject
*_wrap_wxGREEN_get() {
848 SWIG_MakePtr(ptemp
, (char *) wxGREEN
,"_wxColour_p");
849 pyobj
= PyString_FromString(ptemp
);
853 static int _wrap_wxCYAN_set(PyObject
*val
) {
855 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN is read-only.");
859 static PyObject
*_wrap_wxCYAN_get() {
863 SWIG_MakePtr(ptemp
, (char *) wxCYAN
,"_wxColour_p");
864 pyobj
= PyString_FromString(ptemp
);
868 static int _wrap_wxLIGHT_GREY_set(PyObject
*val
) {
870 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY is read-only.");
874 static PyObject
*_wrap_wxLIGHT_GREY_get() {
878 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY
,"_wxColour_p");
879 pyobj
= PyString_FromString(ptemp
);
883 static int _wrap_wxSTANDARD_CURSOR_set(PyObject
*val
) {
885 PyErr_SetString(PyExc_TypeError
,"Variable wxSTANDARD_CURSOR is read-only.");
889 static PyObject
*_wrap_wxSTANDARD_CURSOR_get() {
893 SWIG_MakePtr(ptemp
, (char *) wxSTANDARD_CURSOR
,"_wxCursor_p");
894 pyobj
= PyString_FromString(ptemp
);
898 static int _wrap_wxHOURGLASS_CURSOR_set(PyObject
*val
) {
900 PyErr_SetString(PyExc_TypeError
,"Variable wxHOURGLASS_CURSOR is read-only.");
904 static PyObject
*_wrap_wxHOURGLASS_CURSOR_get() {
908 SWIG_MakePtr(ptemp
, (char *) wxHOURGLASS_CURSOR
,"_wxCursor_p");
909 pyobj
= PyString_FromString(ptemp
);
913 static int _wrap_wxCROSS_CURSOR_set(PyObject
*val
) {
915 PyErr_SetString(PyExc_TypeError
,"Variable wxCROSS_CURSOR is read-only.");
919 static PyObject
*_wrap_wxCROSS_CURSOR_get() {
923 SWIG_MakePtr(ptemp
, (char *) wxCROSS_CURSOR
,"_wxCursor_p");
924 pyobj
= PyString_FromString(ptemp
);
928 static int _wrap_wxNullBitmap_set(PyObject
*val
) {
930 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBitmap is read-only.");
934 static PyObject
*_wrap_wxNullBitmap_get() {
938 SWIG_MakePtr(ptemp
,(char *) &wxNullBitmap
,"_wxBitmap_p");
939 pyobj
= PyString_FromString(ptemp
);
943 static int _wrap_wxNullIcon_set(PyObject
*val
) {
945 PyErr_SetString(PyExc_TypeError
,"Variable wxNullIcon is read-only.");
949 static PyObject
*_wrap_wxNullIcon_get() {
953 SWIG_MakePtr(ptemp
,(char *) &wxNullIcon
,"_wxIcon_p");
954 pyobj
= PyString_FromString(ptemp
);
958 static int _wrap_wxNullCursor_set(PyObject
*val
) {
960 PyErr_SetString(PyExc_TypeError
,"Variable wxNullCursor is read-only.");
964 static PyObject
*_wrap_wxNullCursor_get() {
968 SWIG_MakePtr(ptemp
,(char *) &wxNullCursor
,"_wxCursor_p");
969 pyobj
= PyString_FromString(ptemp
);
973 static int _wrap_wxNullPen_set(PyObject
*val
) {
975 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPen is read-only.");
979 static PyObject
*_wrap_wxNullPen_get() {
983 SWIG_MakePtr(ptemp
,(char *) &wxNullPen
,"_wxPen_p");
984 pyobj
= PyString_FromString(ptemp
);
988 static int _wrap_wxNullBrush_set(PyObject
*val
) {
990 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBrush is read-only.");
994 static PyObject
*_wrap_wxNullBrush_get() {
998 SWIG_MakePtr(ptemp
,(char *) &wxNullBrush
,"_wxBrush_p");
999 pyobj
= PyString_FromString(ptemp
);
1003 static int _wrap_wxNullPalette_set(PyObject
*val
) {
1005 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPalette is read-only.");
1009 static PyObject
*_wrap_wxNullPalette_get() {
1013 SWIG_MakePtr(ptemp
,(char *) &wxNullPalette
,"_wxPalette_p");
1014 pyobj
= PyString_FromString(ptemp
);
1018 static int _wrap_wxNullFont_set(PyObject
*val
) {
1020 PyErr_SetString(PyExc_TypeError
,"Variable wxNullFont is read-only.");
1024 static PyObject
*_wrap_wxNullFont_get() {
1028 SWIG_MakePtr(ptemp
,(char *) &wxNullFont
,"_wxFont_p");
1029 pyobj
= PyString_FromString(ptemp
);
1033 static int _wrap_wxNullColour_set(PyObject
*val
) {
1035 PyErr_SetString(PyExc_TypeError
,"Variable wxNullColour is read-only.");
1039 static PyObject
*_wrap_wxNullColour_get() {
1043 SWIG_MakePtr(ptemp
,(char *) &wxNullColour
,"_wxColour_p");
1044 pyobj
= PyString_FromString(ptemp
);
1048 #define new_wxBitmap(_swigarg0,_swigarg1) (new wxBitmap(_swigarg0,_swigarg1))
1049 static PyObject
*_wrap_new_wxBitmap(PyObject
*self
, PyObject
*args
) {
1050 PyObject
* _resultobj
;
1054 PyObject
* _obj0
= 0;
1058 if(!PyArg_ParseTuple(args
,"Ol:new_wxBitmap",&_obj0
,&_arg1
))
1061 if (!PyString_Check(_obj0
)) {
1062 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1065 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
1068 wxPy_BEGIN_ALLOW_THREADS
;
1069 _result
= (wxBitmap
*)new_wxBitmap(*_arg0
,_arg1
);
1071 wxPy_END_ALLOW_THREADS
;
1073 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1074 _resultobj
= Py_BuildValue("s",_ptemp
);
1077 _resultobj
= Py_None
;
1086 #define delete_wxBitmap(_swigobj) (delete _swigobj)
1087 static PyObject
*_wrap_delete_wxBitmap(PyObject
*self
, PyObject
*args
) {
1088 PyObject
* _resultobj
;
1090 PyObject
* _argo0
= 0;
1093 if(!PyArg_ParseTuple(args
,"O:delete_wxBitmap",&_argo0
))
1096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBitmap. Expected _wxBitmap_p.");
1103 wxPy_BEGIN_ALLOW_THREADS
;
1104 delete_wxBitmap(_arg0
);
1106 wxPy_END_ALLOW_THREADS
;
1107 } Py_INCREF(Py_None
);
1108 _resultobj
= Py_None
;
1112 #define wxBitmap_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2))
1113 static PyObject
*_wrap_wxBitmap_Create(PyObject
*self
, PyObject
*args
) {
1114 PyObject
* _resultobj
;
1118 int _arg3
= (int ) -1;
1119 PyObject
* _argo0
= 0;
1122 if(!PyArg_ParseTuple(args
,"Oii|i:wxBitmap_Create",&_argo0
,&_arg1
,&_arg2
,&_arg3
))
1125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_Create. Expected _wxBitmap_p.");
1132 wxPy_BEGIN_ALLOW_THREADS
;
1133 wxBitmap_Create(_arg0
,_arg1
,_arg2
,_arg3
);
1135 wxPy_END_ALLOW_THREADS
;
1136 } Py_INCREF(Py_None
);
1137 _resultobj
= Py_None
;
1141 #define wxBitmap_GetDepth(_swigobj) (_swigobj->GetDepth())
1142 static PyObject
*_wrap_wxBitmap_GetDepth(PyObject
*self
, PyObject
*args
) {
1143 PyObject
* _resultobj
;
1146 PyObject
* _argo0
= 0;
1149 if(!PyArg_ParseTuple(args
,"O:wxBitmap_GetDepth",&_argo0
))
1152 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1153 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetDepth. Expected _wxBitmap_p.");
1159 wxPy_BEGIN_ALLOW_THREADS
;
1160 _result
= (int )wxBitmap_GetDepth(_arg0
);
1162 wxPy_END_ALLOW_THREADS
;
1163 } _resultobj
= Py_BuildValue("i",_result
);
1167 #define wxBitmap_GetHeight(_swigobj) (_swigobj->GetHeight())
1168 static PyObject
*_wrap_wxBitmap_GetHeight(PyObject
*self
, PyObject
*args
) {
1169 PyObject
* _resultobj
;
1172 PyObject
* _argo0
= 0;
1175 if(!PyArg_ParseTuple(args
,"O:wxBitmap_GetHeight",&_argo0
))
1178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetHeight. Expected _wxBitmap_p.");
1185 wxPy_BEGIN_ALLOW_THREADS
;
1186 _result
= (int )wxBitmap_GetHeight(_arg0
);
1188 wxPy_END_ALLOW_THREADS
;
1189 } _resultobj
= Py_BuildValue("i",_result
);
1193 #define wxBitmap_GetPalette(_swigobj) (_swigobj->GetPalette())
1194 static PyObject
*_wrap_wxBitmap_GetPalette(PyObject
*self
, PyObject
*args
) {
1195 PyObject
* _resultobj
;
1196 wxPalette
* _result
;
1198 PyObject
* _argo0
= 0;
1202 if(!PyArg_ParseTuple(args
,"O:wxBitmap_GetPalette",&_argo0
))
1205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetPalette. Expected _wxBitmap_p.");
1212 wxPy_BEGIN_ALLOW_THREADS
;
1213 _result
= (wxPalette
*)wxBitmap_GetPalette(_arg0
);
1215 wxPy_END_ALLOW_THREADS
;
1217 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
1218 _resultobj
= Py_BuildValue("s",_ptemp
);
1221 _resultobj
= Py_None
;
1226 #define wxBitmap_GetMask(_swigobj) (_swigobj->GetMask())
1227 static PyObject
*_wrap_wxBitmap_GetMask(PyObject
*self
, PyObject
*args
) {
1228 PyObject
* _resultobj
;
1231 PyObject
* _argo0
= 0;
1235 if(!PyArg_ParseTuple(args
,"O:wxBitmap_GetMask",&_argo0
))
1238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetMask. Expected _wxBitmap_p.");
1245 wxPy_BEGIN_ALLOW_THREADS
;
1246 _result
= (wxMask
*)wxBitmap_GetMask(_arg0
);
1248 wxPy_END_ALLOW_THREADS
;
1250 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
1251 _resultobj
= Py_BuildValue("s",_ptemp
);
1254 _resultobj
= Py_None
;
1259 #define wxBitmap_GetWidth(_swigobj) (_swigobj->GetWidth())
1260 static PyObject
*_wrap_wxBitmap_GetWidth(PyObject
*self
, PyObject
*args
) {
1261 PyObject
* _resultobj
;
1264 PyObject
* _argo0
= 0;
1267 if(!PyArg_ParseTuple(args
,"O:wxBitmap_GetWidth",&_argo0
))
1270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetWidth. Expected _wxBitmap_p.");
1277 wxPy_BEGIN_ALLOW_THREADS
;
1278 _result
= (int )wxBitmap_GetWidth(_arg0
);
1280 wxPy_END_ALLOW_THREADS
;
1281 } _resultobj
= Py_BuildValue("i",_result
);
1285 #define wxBitmap_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1286 static PyObject
*_wrap_wxBitmap_LoadFile(PyObject
*self
, PyObject
*args
) {
1287 PyObject
* _resultobj
;
1292 PyObject
* _argo0
= 0;
1293 PyObject
* _obj1
= 0;
1296 if(!PyArg_ParseTuple(args
,"OOl:wxBitmap_LoadFile",&_argo0
,&_obj1
,&_arg2
))
1299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_LoadFile. Expected _wxBitmap_p.");
1306 if (!PyString_Check(_obj1
)) {
1307 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1310 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1313 wxPy_BEGIN_ALLOW_THREADS
;
1314 _result
= (bool )wxBitmap_LoadFile(_arg0
,*_arg1
,_arg2
);
1316 wxPy_END_ALLOW_THREADS
;
1317 } _resultobj
= Py_BuildValue("i",_result
);
1325 #define wxBitmap_Ok(_swigobj) (_swigobj->Ok())
1326 static PyObject
*_wrap_wxBitmap_Ok(PyObject
*self
, PyObject
*args
) {
1327 PyObject
* _resultobj
;
1330 PyObject
* _argo0
= 0;
1333 if(!PyArg_ParseTuple(args
,"O:wxBitmap_Ok",&_argo0
))
1336 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1337 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_Ok. Expected _wxBitmap_p.");
1343 wxPy_BEGIN_ALLOW_THREADS
;
1344 _result
= (bool )wxBitmap_Ok(_arg0
);
1346 wxPy_END_ALLOW_THREADS
;
1347 } _resultobj
= Py_BuildValue("i",_result
);
1351 #define wxBitmap_SaveFile(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SaveFile(_swigarg0,_swigarg1,_swigarg2))
1352 static PyObject
*_wrap_wxBitmap_SaveFile(PyObject
*self
, PyObject
*args
) {
1353 PyObject
* _resultobj
;
1358 wxPalette
* _arg3
= (wxPalette
*) NULL
;
1359 PyObject
* _argo0
= 0;
1360 PyObject
* _obj1
= 0;
1361 PyObject
* _argo3
= 0;
1364 if(!PyArg_ParseTuple(args
,"OOi|O:wxBitmap_SaveFile",&_argo0
,&_obj1
,&_arg2
,&_argo3
))
1367 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1368 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SaveFile. Expected _wxBitmap_p.");
1374 if (!PyString_Check(_obj1
)) {
1375 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1378 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1381 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1382 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxPalette_p")) {
1383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxBitmap_SaveFile. Expected _wxPalette_p.");
1388 wxPy_BEGIN_ALLOW_THREADS
;
1389 _result
= (bool )wxBitmap_SaveFile(_arg0
,*_arg1
,_arg2
,_arg3
);
1391 wxPy_END_ALLOW_THREADS
;
1392 } _resultobj
= Py_BuildValue("i",_result
);
1400 #define wxBitmap_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
1401 static PyObject
*_wrap_wxBitmap_SetDepth(PyObject
*self
, PyObject
*args
) {
1402 PyObject
* _resultobj
;
1405 PyObject
* _argo0
= 0;
1408 if(!PyArg_ParseTuple(args
,"Oi:wxBitmap_SetDepth",&_argo0
,&_arg1
))
1411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetDepth. Expected _wxBitmap_p.");
1418 wxPy_BEGIN_ALLOW_THREADS
;
1419 wxBitmap_SetDepth(_arg0
,_arg1
);
1421 wxPy_END_ALLOW_THREADS
;
1422 } Py_INCREF(Py_None
);
1423 _resultobj
= Py_None
;
1427 #define wxBitmap_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1428 static PyObject
*_wrap_wxBitmap_SetHeight(PyObject
*self
, PyObject
*args
) {
1429 PyObject
* _resultobj
;
1432 PyObject
* _argo0
= 0;
1435 if(!PyArg_ParseTuple(args
,"Oi:wxBitmap_SetHeight",&_argo0
,&_arg1
))
1438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetHeight. Expected _wxBitmap_p.");
1445 wxPy_BEGIN_ALLOW_THREADS
;
1446 wxBitmap_SetHeight(_arg0
,_arg1
);
1448 wxPy_END_ALLOW_THREADS
;
1449 } Py_INCREF(Py_None
);
1450 _resultobj
= Py_None
;
1454 #define wxBitmap_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
1455 static PyObject
*_wrap_wxBitmap_SetMask(PyObject
*self
, PyObject
*args
) {
1456 PyObject
* _resultobj
;
1459 PyObject
* _argo0
= 0;
1460 PyObject
* _argo1
= 0;
1463 if(!PyArg_ParseTuple(args
,"OO:wxBitmap_SetMask",&_argo0
,&_argo1
))
1466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetMask. Expected _wxBitmap_p.");
1473 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1474 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMask_p")) {
1475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_SetMask. Expected _wxMask_p.");
1480 wxPy_BEGIN_ALLOW_THREADS
;
1481 wxBitmap_SetMask(_arg0
,_arg1
);
1483 wxPy_END_ALLOW_THREADS
;
1484 } Py_INCREF(Py_None
);
1485 _resultobj
= Py_None
;
1489 #define wxBitmap_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
1490 static PyObject
*_wrap_wxBitmap_SetPalette(PyObject
*self
, PyObject
*args
) {
1491 PyObject
* _resultobj
;
1494 PyObject
* _argo0
= 0;
1495 PyObject
* _argo1
= 0;
1498 if(!PyArg_ParseTuple(args
,"OO:wxBitmap_SetPalette",&_argo0
,&_argo1
))
1501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetPalette. Expected _wxBitmap_p.");
1508 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1509 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPalette_p")) {
1510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_SetPalette. Expected _wxPalette_p.");
1515 wxPy_BEGIN_ALLOW_THREADS
;
1516 wxBitmap_SetPalette(_arg0
,*_arg1
);
1518 wxPy_END_ALLOW_THREADS
;
1519 } Py_INCREF(Py_None
);
1520 _resultobj
= Py_None
;
1524 #define wxBitmap_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1525 static PyObject
*_wrap_wxBitmap_SetWidth(PyObject
*self
, PyObject
*args
) {
1526 PyObject
* _resultobj
;
1529 PyObject
* _argo0
= 0;
1532 if(!PyArg_ParseTuple(args
,"Oi:wxBitmap_SetWidth",&_argo0
,&_arg1
))
1535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetWidth. Expected _wxBitmap_p.");
1542 wxPy_BEGIN_ALLOW_THREADS
;
1543 wxBitmap_SetWidth(_arg0
,_arg1
);
1545 wxPy_END_ALLOW_THREADS
;
1546 } Py_INCREF(Py_None
);
1547 _resultobj
= Py_None
;
1551 #define new_wxMask(_swigarg0) (new wxMask(_swigarg0))
1552 static PyObject
*_wrap_new_wxMask(PyObject
*self
, PyObject
*args
) {
1553 PyObject
* _resultobj
;
1556 PyObject
* _argo0
= 0;
1560 if(!PyArg_ParseTuple(args
,"O:new_wxMask",&_argo0
))
1563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMask. Expected _wxBitmap_p.");
1570 wxPy_BEGIN_ALLOW_THREADS
;
1571 _result
= (wxMask
*)new_wxMask(*_arg0
);
1573 wxPy_END_ALLOW_THREADS
;
1575 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
1576 _resultobj
= Py_BuildValue("s",_ptemp
);
1579 _resultobj
= Py_None
;
1584 #define delete_wxMask(_swigobj) (delete _swigobj)
1585 static PyObject
*_wrap_delete_wxMask(PyObject
*self
, PyObject
*args
) {
1586 PyObject
* _resultobj
;
1588 PyObject
* _argo0
= 0;
1591 if(!PyArg_ParseTuple(args
,"O:delete_wxMask",&_argo0
))
1594 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1595 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMask_p")) {
1596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMask. Expected _wxMask_p.");
1601 wxPy_BEGIN_ALLOW_THREADS
;
1602 delete_wxMask(_arg0
);
1604 wxPy_END_ALLOW_THREADS
;
1605 } Py_INCREF(Py_None
);
1606 _resultobj
= Py_None
;
1610 static void *SwigwxIconTowxBitmap(void *ptr
) {
1613 src
= (wxIcon
*) ptr
;
1614 dest
= (wxBitmap
*) src
;
1615 return (void *) dest
;
1618 #define new_wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1619 static PyObject
*_wrap_new_wxIcon(PyObject
*self
, PyObject
*args
) {
1620 PyObject
* _resultobj
;
1624 int _arg2
= (int ) -1;
1625 int _arg3
= (int ) -1;
1626 PyObject
* _obj0
= 0;
1630 if(!PyArg_ParseTuple(args
,"Ol|ii:new_wxIcon",&_obj0
,&_arg1
,&_arg2
,&_arg3
))
1633 if (!PyString_Check(_obj0
)) {
1634 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1637 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
1640 wxPy_BEGIN_ALLOW_THREADS
;
1641 _result
= (wxIcon
*)new_wxIcon(*_arg0
,_arg1
,_arg2
,_arg3
);
1643 wxPy_END_ALLOW_THREADS
;
1645 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
1646 _resultobj
= Py_BuildValue("s",_ptemp
);
1649 _resultobj
= Py_None
;
1658 #define delete_wxIcon(_swigobj) (delete _swigobj)
1659 static PyObject
*_wrap_delete_wxIcon(PyObject
*self
, PyObject
*args
) {
1660 PyObject
* _resultobj
;
1662 PyObject
* _argo0
= 0;
1665 if(!PyArg_ParseTuple(args
,"O:delete_wxIcon",&_argo0
))
1668 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1669 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxIcon. Expected _wxIcon_p.");
1675 wxPy_BEGIN_ALLOW_THREADS
;
1676 delete_wxIcon(_arg0
);
1678 wxPy_END_ALLOW_THREADS
;
1679 } Py_INCREF(Py_None
);
1680 _resultobj
= Py_None
;
1684 #define wxIcon_GetDepth(_swigobj) (_swigobj->GetDepth())
1685 static PyObject
*_wrap_wxIcon_GetDepth(PyObject
*self
, PyObject
*args
) {
1686 PyObject
* _resultobj
;
1689 PyObject
* _argo0
= 0;
1692 if(!PyArg_ParseTuple(args
,"O:wxIcon_GetDepth",&_argo0
))
1695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetDepth. Expected _wxIcon_p.");
1702 wxPy_BEGIN_ALLOW_THREADS
;
1703 _result
= (int )wxIcon_GetDepth(_arg0
);
1705 wxPy_END_ALLOW_THREADS
;
1706 } _resultobj
= Py_BuildValue("i",_result
);
1710 #define wxIcon_GetHeight(_swigobj) (_swigobj->GetHeight())
1711 static PyObject
*_wrap_wxIcon_GetHeight(PyObject
*self
, PyObject
*args
) {
1712 PyObject
* _resultobj
;
1715 PyObject
* _argo0
= 0;
1718 if(!PyArg_ParseTuple(args
,"O:wxIcon_GetHeight",&_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_GetHeight. Expected _wxIcon_p.");
1728 wxPy_BEGIN_ALLOW_THREADS
;
1729 _result
= (int )wxIcon_GetHeight(_arg0
);
1731 wxPy_END_ALLOW_THREADS
;
1732 } _resultobj
= Py_BuildValue("i",_result
);
1736 #define wxIcon_GetWidth(_swigobj) (_swigobj->GetWidth())
1737 static PyObject
*_wrap_wxIcon_GetWidth(PyObject
*self
, PyObject
*args
) {
1738 PyObject
* _resultobj
;
1741 PyObject
* _argo0
= 0;
1744 if(!PyArg_ParseTuple(args
,"O:wxIcon_GetWidth",&_argo0
))
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_GetWidth. Expected _wxIcon_p.");
1754 wxPy_BEGIN_ALLOW_THREADS
;
1755 _result
= (int )wxIcon_GetWidth(_arg0
);
1757 wxPy_END_ALLOW_THREADS
;
1758 } _resultobj
= Py_BuildValue("i",_result
);
1762 #define wxIcon_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1763 static PyObject
*_wrap_wxIcon_LoadFile(PyObject
*self
, PyObject
*args
) {
1764 PyObject
* _resultobj
;
1769 PyObject
* _argo0
= 0;
1770 PyObject
* _obj1
= 0;
1773 if(!PyArg_ParseTuple(args
,"OOl:wxIcon_LoadFile",&_argo0
,&_obj1
,&_arg2
))
1776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_LoadFile. Expected _wxIcon_p.");
1783 if (!PyString_Check(_obj1
)) {
1784 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1787 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1790 wxPy_BEGIN_ALLOW_THREADS
;
1791 _result
= (bool )wxIcon_LoadFile(_arg0
,*_arg1
,_arg2
);
1793 wxPy_END_ALLOW_THREADS
;
1794 } _resultobj
= Py_BuildValue("i",_result
);
1802 #define wxIcon_Ok(_swigobj) (_swigobj->Ok())
1803 static PyObject
*_wrap_wxIcon_Ok(PyObject
*self
, PyObject
*args
) {
1804 PyObject
* _resultobj
;
1807 PyObject
* _argo0
= 0;
1810 if(!PyArg_ParseTuple(args
,"O:wxIcon_Ok",&_argo0
))
1813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_Ok. Expected _wxIcon_p.");
1820 wxPy_BEGIN_ALLOW_THREADS
;
1821 _result
= (bool )wxIcon_Ok(_arg0
);
1823 wxPy_END_ALLOW_THREADS
;
1824 } _resultobj
= Py_BuildValue("i",_result
);
1828 #define wxIcon_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
1829 static PyObject
*_wrap_wxIcon_SetDepth(PyObject
*self
, PyObject
*args
) {
1830 PyObject
* _resultobj
;
1833 PyObject
* _argo0
= 0;
1836 if(!PyArg_ParseTuple(args
,"Oi:wxIcon_SetDepth",&_argo0
,&_arg1
))
1839 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1840 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetDepth. Expected _wxIcon_p.");
1846 wxPy_BEGIN_ALLOW_THREADS
;
1847 wxIcon_SetDepth(_arg0
,_arg1
);
1849 wxPy_END_ALLOW_THREADS
;
1850 } Py_INCREF(Py_None
);
1851 _resultobj
= Py_None
;
1855 #define wxIcon_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1856 static PyObject
*_wrap_wxIcon_SetHeight(PyObject
*self
, PyObject
*args
) {
1857 PyObject
* _resultobj
;
1860 PyObject
* _argo0
= 0;
1863 if(!PyArg_ParseTuple(args
,"Oi:wxIcon_SetHeight",&_argo0
,&_arg1
))
1866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetHeight. Expected _wxIcon_p.");
1873 wxPy_BEGIN_ALLOW_THREADS
;
1874 wxIcon_SetHeight(_arg0
,_arg1
);
1876 wxPy_END_ALLOW_THREADS
;
1877 } Py_INCREF(Py_None
);
1878 _resultobj
= Py_None
;
1882 #define wxIcon_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1883 static PyObject
*_wrap_wxIcon_SetWidth(PyObject
*self
, PyObject
*args
) {
1884 PyObject
* _resultobj
;
1887 PyObject
* _argo0
= 0;
1890 if(!PyArg_ParseTuple(args
,"Oi:wxIcon_SetWidth",&_argo0
,&_arg1
))
1893 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1894 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetWidth. Expected _wxIcon_p.");
1900 wxPy_BEGIN_ALLOW_THREADS
;
1901 wxIcon_SetWidth(_arg0
,_arg1
);
1903 wxPy_END_ALLOW_THREADS
;
1904 } Py_INCREF(Py_None
);
1905 _resultobj
= Py_None
;
1909 static void *SwigwxCursorTowxBitmap(void *ptr
) {
1912 src
= (wxCursor
*) ptr
;
1913 dest
= (wxBitmap
*) src
;
1914 return (void *) dest
;
1917 #define new_wxCursor(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxCursor(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1918 static PyObject
*_wrap_new_wxCursor(PyObject
*self
, PyObject
*args
) {
1919 PyObject
* _resultobj
;
1923 int _arg2
= (int ) 0;
1924 int _arg3
= (int ) 0;
1925 PyObject
* _obj0
= 0;
1929 if(!PyArg_ParseTuple(args
,"Ol|ii:new_wxCursor",&_obj0
,&_arg1
,&_arg2
,&_arg3
))
1932 if (!PyString_Check(_obj0
)) {
1933 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1936 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
1939 wxPy_BEGIN_ALLOW_THREADS
;
1940 _result
= (wxCursor
*)new_wxCursor(*_arg0
,_arg1
,_arg2
,_arg3
);
1942 wxPy_END_ALLOW_THREADS
;
1944 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCursor_p");
1945 _resultobj
= Py_BuildValue("s",_ptemp
);
1948 _resultobj
= Py_None
;
1957 #define delete_wxCursor(_swigobj) (delete _swigobj)
1958 static PyObject
*_wrap_delete_wxCursor(PyObject
*self
, PyObject
*args
) {
1959 PyObject
* _resultobj
;
1961 PyObject
* _argo0
= 0;
1964 if(!PyArg_ParseTuple(args
,"O:delete_wxCursor",&_argo0
))
1967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCursor. Expected _wxCursor_p.");
1974 wxPy_BEGIN_ALLOW_THREADS
;
1975 delete_wxCursor(_arg0
);
1977 wxPy_END_ALLOW_THREADS
;
1978 } Py_INCREF(Py_None
);
1979 _resultobj
= Py_None
;
1983 #define wxCursor_Ok(_swigobj) (_swigobj->Ok())
1984 static PyObject
*_wrap_wxCursor_Ok(PyObject
*self
, PyObject
*args
) {
1985 PyObject
* _resultobj
;
1988 PyObject
* _argo0
= 0;
1991 if(!PyArg_ParseTuple(args
,"O:wxCursor_Ok",&_argo0
))
1994 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1995 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_Ok. Expected _wxCursor_p.");
2001 wxPy_BEGIN_ALLOW_THREADS
;
2002 _result
= (bool )wxCursor_Ok(_arg0
);
2004 wxPy_END_ALLOW_THREADS
;
2005 } _resultobj
= Py_BuildValue("i",_result
);
2009 static wxFont
*new_wxFont(int pointSize
,int family
,int style
,int weight
,int underline
,char *faceName
) {
2011 return wxTheFontList
->FindOrCreateFont(pointSize
, family
, style
, weight
,
2012 underline
, faceName
);
2015 static PyObject
*_wrap_new_wxFont(PyObject
*self
, PyObject
*args
) {
2016 PyObject
* _resultobj
;
2022 int _arg4
= (int ) FALSE
;
2023 char * _arg5
= (char *) "";
2027 if(!PyArg_ParseTuple(args
,"iiii|is:new_wxFont",&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2030 wxPy_BEGIN_ALLOW_THREADS
;
2031 _result
= (wxFont
*)new_wxFont(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2033 wxPy_END_ALLOW_THREADS
;
2035 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
2036 _resultobj
= Py_BuildValue("s",_ptemp
);
2039 _resultobj
= Py_None
;
2044 #define wxFont_GetFaceName(_swigobj) (_swigobj->GetFaceName())
2045 static PyObject
*_wrap_wxFont_GetFaceName(PyObject
*self
, PyObject
*args
) {
2046 PyObject
* _resultobj
;
2049 PyObject
* _argo0
= 0;
2052 if(!PyArg_ParseTuple(args
,"O:wxFont_GetFaceName",&_argo0
))
2055 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2056 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFaceName. Expected _wxFont_p.");
2062 wxPy_BEGIN_ALLOW_THREADS
;
2063 _result
= new wxString (wxFont_GetFaceName(_arg0
));
2065 wxPy_END_ALLOW_THREADS
;
2067 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
2075 #define wxFont_GetFamily(_swigobj) (_swigobj->GetFamily())
2076 static PyObject
*_wrap_wxFont_GetFamily(PyObject
*self
, PyObject
*args
) {
2077 PyObject
* _resultobj
;
2080 PyObject
* _argo0
= 0;
2083 if(!PyArg_ParseTuple(args
,"O:wxFont_GetFamily",&_argo0
))
2086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFamily. Expected _wxFont_p.");
2093 wxPy_BEGIN_ALLOW_THREADS
;
2094 _result
= (int )wxFont_GetFamily(_arg0
);
2096 wxPy_END_ALLOW_THREADS
;
2097 } _resultobj
= Py_BuildValue("i",_result
);
2101 #define wxFont_GetFontId(_swigobj) (_swigobj->GetFontId())
2102 static PyObject
*_wrap_wxFont_GetFontId(PyObject
*self
, PyObject
*args
) {
2103 PyObject
* _resultobj
;
2106 PyObject
* _argo0
= 0;
2109 if(!PyArg_ParseTuple(args
,"O:wxFont_GetFontId",&_argo0
))
2112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFontId. Expected _wxFont_p.");
2119 wxPy_BEGIN_ALLOW_THREADS
;
2120 _result
= (int )wxFont_GetFontId(_arg0
);
2122 wxPy_END_ALLOW_THREADS
;
2123 } _resultobj
= Py_BuildValue("i",_result
);
2127 #define wxFont_GetPointSize(_swigobj) (_swigobj->GetPointSize())
2128 static PyObject
*_wrap_wxFont_GetPointSize(PyObject
*self
, PyObject
*args
) {
2129 PyObject
* _resultobj
;
2132 PyObject
* _argo0
= 0;
2135 if(!PyArg_ParseTuple(args
,"O:wxFont_GetPointSize",&_argo0
))
2138 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2139 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetPointSize. Expected _wxFont_p.");
2145 wxPy_BEGIN_ALLOW_THREADS
;
2146 _result
= (int )wxFont_GetPointSize(_arg0
);
2148 wxPy_END_ALLOW_THREADS
;
2149 } _resultobj
= Py_BuildValue("i",_result
);
2153 #define wxFont_GetStyle(_swigobj) (_swigobj->GetStyle())
2154 static PyObject
*_wrap_wxFont_GetStyle(PyObject
*self
, PyObject
*args
) {
2155 PyObject
* _resultobj
;
2158 PyObject
* _argo0
= 0;
2161 if(!PyArg_ParseTuple(args
,"O:wxFont_GetStyle",&_argo0
))
2164 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2165 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetStyle. Expected _wxFont_p.");
2171 wxPy_BEGIN_ALLOW_THREADS
;
2172 _result
= (int )wxFont_GetStyle(_arg0
);
2174 wxPy_END_ALLOW_THREADS
;
2175 } _resultobj
= Py_BuildValue("i",_result
);
2179 #define wxFont_GetUnderlined(_swigobj) (_swigobj->GetUnderlined())
2180 static PyObject
*_wrap_wxFont_GetUnderlined(PyObject
*self
, PyObject
*args
) {
2181 PyObject
* _resultobj
;
2184 PyObject
* _argo0
= 0;
2187 if(!PyArg_ParseTuple(args
,"O:wxFont_GetUnderlined",&_argo0
))
2190 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2191 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetUnderlined. Expected _wxFont_p.");
2197 wxPy_BEGIN_ALLOW_THREADS
;
2198 _result
= (bool )wxFont_GetUnderlined(_arg0
);
2200 wxPy_END_ALLOW_THREADS
;
2201 } _resultobj
= Py_BuildValue("i",_result
);
2205 #define wxFont_GetWeight(_swigobj) (_swigobj->GetWeight())
2206 static PyObject
*_wrap_wxFont_GetWeight(PyObject
*self
, PyObject
*args
) {
2207 PyObject
* _resultobj
;
2210 PyObject
* _argo0
= 0;
2213 if(!PyArg_ParseTuple(args
,"O:wxFont_GetWeight",&_argo0
))
2216 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2217 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetWeight. Expected _wxFont_p.");
2223 wxPy_BEGIN_ALLOW_THREADS
;
2224 _result
= (int )wxFont_GetWeight(_arg0
);
2226 wxPy_END_ALLOW_THREADS
;
2227 } _resultobj
= Py_BuildValue("i",_result
);
2231 #define wxFont_SetFaceName(_swigobj,_swigarg0) (_swigobj->SetFaceName(_swigarg0))
2232 static PyObject
*_wrap_wxFont_SetFaceName(PyObject
*self
, PyObject
*args
) {
2233 PyObject
* _resultobj
;
2236 PyObject
* _argo0
= 0;
2237 PyObject
* _obj1
= 0;
2240 if(!PyArg_ParseTuple(args
,"OO:wxFont_SetFaceName",&_argo0
,&_obj1
))
2243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFaceName. Expected _wxFont_p.");
2250 if (!PyString_Check(_obj1
)) {
2251 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2254 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2257 wxPy_BEGIN_ALLOW_THREADS
;
2258 wxFont_SetFaceName(_arg0
,*_arg1
);
2260 wxPy_END_ALLOW_THREADS
;
2261 } Py_INCREF(Py_None
);
2262 _resultobj
= Py_None
;
2270 #define wxFont_SetFamily(_swigobj,_swigarg0) (_swigobj->SetFamily(_swigarg0))
2271 static PyObject
*_wrap_wxFont_SetFamily(PyObject
*self
, PyObject
*args
) {
2272 PyObject
* _resultobj
;
2275 PyObject
* _argo0
= 0;
2278 if(!PyArg_ParseTuple(args
,"Oi:wxFont_SetFamily",&_argo0
,&_arg1
))
2281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFamily. Expected _wxFont_p.");
2288 wxPy_BEGIN_ALLOW_THREADS
;
2289 wxFont_SetFamily(_arg0
,_arg1
);
2291 wxPy_END_ALLOW_THREADS
;
2292 } Py_INCREF(Py_None
);
2293 _resultobj
= Py_None
;
2297 #define wxFont_SetPointSize(_swigobj,_swigarg0) (_swigobj->SetPointSize(_swigarg0))
2298 static PyObject
*_wrap_wxFont_SetPointSize(PyObject
*self
, PyObject
*args
) {
2299 PyObject
* _resultobj
;
2302 PyObject
* _argo0
= 0;
2305 if(!PyArg_ParseTuple(args
,"Oi:wxFont_SetPointSize",&_argo0
,&_arg1
))
2308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetPointSize. Expected _wxFont_p.");
2315 wxPy_BEGIN_ALLOW_THREADS
;
2316 wxFont_SetPointSize(_arg0
,_arg1
);
2318 wxPy_END_ALLOW_THREADS
;
2319 } Py_INCREF(Py_None
);
2320 _resultobj
= Py_None
;
2324 #define wxFont_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
2325 static PyObject
*_wrap_wxFont_SetStyle(PyObject
*self
, PyObject
*args
) {
2326 PyObject
* _resultobj
;
2329 PyObject
* _argo0
= 0;
2332 if(!PyArg_ParseTuple(args
,"Oi:wxFont_SetStyle",&_argo0
,&_arg1
))
2335 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2336 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetStyle. Expected _wxFont_p.");
2342 wxPy_BEGIN_ALLOW_THREADS
;
2343 wxFont_SetStyle(_arg0
,_arg1
);
2345 wxPy_END_ALLOW_THREADS
;
2346 } Py_INCREF(Py_None
);
2347 _resultobj
= Py_None
;
2351 #define wxFont_SetUnderlined(_swigobj,_swigarg0) (_swigobj->SetUnderlined(_swigarg0))
2352 static PyObject
*_wrap_wxFont_SetUnderlined(PyObject
*self
, PyObject
*args
) {
2353 PyObject
* _resultobj
;
2356 PyObject
* _argo0
= 0;
2360 if(!PyArg_ParseTuple(args
,"Oi:wxFont_SetUnderlined",&_argo0
,&tempbool1
))
2363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetUnderlined. Expected _wxFont_p.");
2369 _arg1
= (bool ) tempbool1
;
2371 wxPy_BEGIN_ALLOW_THREADS
;
2372 wxFont_SetUnderlined(_arg0
,_arg1
);
2374 wxPy_END_ALLOW_THREADS
;
2375 } Py_INCREF(Py_None
);
2376 _resultobj
= Py_None
;
2380 #define wxFont_SetWeight(_swigobj,_swigarg0) (_swigobj->SetWeight(_swigarg0))
2381 static PyObject
*_wrap_wxFont_SetWeight(PyObject
*self
, PyObject
*args
) {
2382 PyObject
* _resultobj
;
2385 PyObject
* _argo0
= 0;
2388 if(!PyArg_ParseTuple(args
,"Oi:wxFont_SetWeight",&_argo0
,&_arg1
))
2391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetWeight. Expected _wxFont_p.");
2398 wxPy_BEGIN_ALLOW_THREADS
;
2399 wxFont_SetWeight(_arg0
,_arg1
);
2401 wxPy_END_ALLOW_THREADS
;
2402 } Py_INCREF(Py_None
);
2403 _resultobj
= Py_None
;
2407 #define new_wxColour(_swigarg0,_swigarg1,_swigarg2) (new wxColour(_swigarg0,_swigarg1,_swigarg2))
2408 static PyObject
*_wrap_new_wxColour(PyObject
*self
, PyObject
*args
) {
2409 PyObject
* _resultobj
;
2411 unsigned char _arg0
= (unsigned char ) 0;
2412 unsigned char _arg1
= (unsigned char ) 0;
2413 unsigned char _arg2
= (unsigned char ) 0;
2417 if(!PyArg_ParseTuple(args
,"|bbb:new_wxColour",&_arg0
,&_arg1
,&_arg2
))
2420 wxPy_BEGIN_ALLOW_THREADS
;
2421 _result
= (wxColour
*)new_wxColour(_arg0
,_arg1
,_arg2
);
2423 wxPy_END_ALLOW_THREADS
;
2425 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
2426 _resultobj
= Py_BuildValue("s",_ptemp
);
2429 _resultobj
= Py_None
;
2434 #define delete_wxColour(_swigobj) (delete _swigobj)
2435 static PyObject
*_wrap_delete_wxColour(PyObject
*self
, PyObject
*args
) {
2436 PyObject
* _resultobj
;
2438 PyObject
* _argo0
= 0;
2441 if(!PyArg_ParseTuple(args
,"O:delete_wxColour",&_argo0
))
2444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
2446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxColour. Expected _wxColour_p.");
2451 wxPy_BEGIN_ALLOW_THREADS
;
2452 delete_wxColour(_arg0
);
2454 wxPy_END_ALLOW_THREADS
;
2455 } Py_INCREF(Py_None
);
2456 _resultobj
= Py_None
;
2460 #define wxColour_Red(_swigobj) (_swigobj->Red())
2461 static PyObject
*_wrap_wxColour_Red(PyObject
*self
, PyObject
*args
) {
2462 PyObject
* _resultobj
;
2463 unsigned char _result
;
2465 PyObject
* _argo0
= 0;
2468 if(!PyArg_ParseTuple(args
,"O:wxColour_Red",&_argo0
))
2471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
2473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Red. Expected _wxColour_p.");
2478 wxPy_BEGIN_ALLOW_THREADS
;
2479 _result
= (unsigned char )wxColour_Red(_arg0
);
2481 wxPy_END_ALLOW_THREADS
;
2482 } _resultobj
= Py_BuildValue("b",_result
);
2486 #define wxColour_Green(_swigobj) (_swigobj->Green())
2487 static PyObject
*_wrap_wxColour_Green(PyObject
*self
, PyObject
*args
) {
2488 PyObject
* _resultobj
;
2489 unsigned char _result
;
2491 PyObject
* _argo0
= 0;
2494 if(!PyArg_ParseTuple(args
,"O:wxColour_Green",&_argo0
))
2497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
2499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Green. Expected _wxColour_p.");
2504 wxPy_BEGIN_ALLOW_THREADS
;
2505 _result
= (unsigned char )wxColour_Green(_arg0
);
2507 wxPy_END_ALLOW_THREADS
;
2508 } _resultobj
= Py_BuildValue("b",_result
);
2512 #define wxColour_Blue(_swigobj) (_swigobj->Blue())
2513 static PyObject
*_wrap_wxColour_Blue(PyObject
*self
, PyObject
*args
) {
2514 PyObject
* _resultobj
;
2515 unsigned char _result
;
2517 PyObject
* _argo0
= 0;
2520 if(!PyArg_ParseTuple(args
,"O:wxColour_Blue",&_argo0
))
2523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
2525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Blue. Expected _wxColour_p.");
2530 wxPy_BEGIN_ALLOW_THREADS
;
2531 _result
= (unsigned char )wxColour_Blue(_arg0
);
2533 wxPy_END_ALLOW_THREADS
;
2534 } _resultobj
= Py_BuildValue("b",_result
);
2538 #define wxColour_Ok(_swigobj) (_swigobj->Ok())
2539 static PyObject
*_wrap_wxColour_Ok(PyObject
*self
, PyObject
*args
) {
2540 PyObject
* _resultobj
;
2543 PyObject
* _argo0
= 0;
2546 if(!PyArg_ParseTuple(args
,"O:wxColour_Ok",&_argo0
))
2549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
2551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Ok. Expected _wxColour_p.");
2556 wxPy_BEGIN_ALLOW_THREADS
;
2557 _result
= (bool )wxColour_Ok(_arg0
);
2559 wxPy_END_ALLOW_THREADS
;
2560 } _resultobj
= Py_BuildValue("i",_result
);
2564 #define wxColour_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
2565 static PyObject
*_wrap_wxColour_Set(PyObject
*self
, PyObject
*args
) {
2566 PyObject
* _resultobj
;
2568 unsigned char _arg1
;
2569 unsigned char _arg2
;
2570 unsigned char _arg3
;
2571 PyObject
* _argo0
= 0;
2574 if(!PyArg_ParseTuple(args
,"Obbb:wxColour_Set",&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
2579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Set. Expected _wxColour_p.");
2584 wxPy_BEGIN_ALLOW_THREADS
;
2585 wxColour_Set(_arg0
,_arg1
,_arg2
,_arg3
);
2587 wxPy_END_ALLOW_THREADS
;
2588 } Py_INCREF(Py_None
);
2589 _resultobj
= Py_None
;
2593 static PyObject
* wxColour_Get(wxColour
*self
) {
2594 PyObject
* rv
= PyTuple_New(3);
2595 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
2596 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
2597 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
2600 static PyObject
*_wrap_wxColour_Get(PyObject
*self
, PyObject
*args
) {
2601 PyObject
* _resultobj
;
2604 PyObject
* _argo0
= 0;
2607 if(!PyArg_ParseTuple(args
,"O:wxColour_Get",&_argo0
))
2610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
2612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Get. Expected _wxColour_p.");
2617 wxPy_BEGIN_ALLOW_THREADS
;
2618 _result
= (PyObject
*)wxColour_Get(_arg0
);
2620 wxPy_END_ALLOW_THREADS
;
2622 _resultobj
= _result
;
2627 static wxPen
*new_wxPen(wxColour
*colour
,int width
,int style
) {
2628 return wxThePenList
->FindOrCreatePen(*colour
, width
, style
);
2631 static PyObject
*_wrap_new_wxPen(PyObject
*self
, PyObject
*args
) {
2632 PyObject
* _resultobj
;
2635 int _arg1
= (int ) 1;
2636 int _arg2
= (int ) wxSOLID
;
2637 PyObject
* _argo0
= 0;
2641 if(!PyArg_ParseTuple(args
,"O|ii:new_wxPen",&_argo0
,&_arg1
,&_arg2
))
2644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
2646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPen. Expected _wxColour_p.");
2651 wxPy_BEGIN_ALLOW_THREADS
;
2652 _result
= (wxPen
*)new_wxPen(_arg0
,_arg1
,_arg2
);
2654 wxPy_END_ALLOW_THREADS
;
2656 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
2657 _resultobj
= Py_BuildValue("s",_ptemp
);
2660 _resultobj
= Py_None
;
2665 #define wxPen_GetCap(_swigobj) (_swigobj->GetCap())
2666 static PyObject
*_wrap_wxPen_GetCap(PyObject
*self
, PyObject
*args
) {
2667 PyObject
* _resultobj
;
2670 PyObject
* _argo0
= 0;
2673 if(!PyArg_ParseTuple(args
,"O:wxPen_GetCap",&_argo0
))
2676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetCap. Expected _wxPen_p.");
2683 wxPy_BEGIN_ALLOW_THREADS
;
2684 _result
= (int )wxPen_GetCap(_arg0
);
2686 wxPy_END_ALLOW_THREADS
;
2687 } _resultobj
= Py_BuildValue("i",_result
);
2691 #define wxPen_GetColour(_swigobj) (_swigobj->GetColour())
2692 static PyObject
*_wrap_wxPen_GetColour(PyObject
*self
, PyObject
*args
) {
2693 PyObject
* _resultobj
;
2696 PyObject
* _argo0
= 0;
2700 if(!PyArg_ParseTuple(args
,"O:wxPen_GetColour",&_argo0
))
2703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetColour. Expected _wxPen_p.");
2710 wxPy_BEGIN_ALLOW_THREADS
;
2711 wxColour
& _result_ref
= wxPen_GetColour(_arg0
);
2712 _result
= (wxColour
*) &_result_ref
;
2714 wxPy_END_ALLOW_THREADS
;
2716 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
2717 _resultobj
= Py_BuildValue("s",_ptemp
);
2720 _resultobj
= Py_None
;
2725 #define wxPen_GetJoin(_swigobj) (_swigobj->GetJoin())
2726 static PyObject
*_wrap_wxPen_GetJoin(PyObject
*self
, PyObject
*args
) {
2727 PyObject
* _resultobj
;
2730 PyObject
* _argo0
= 0;
2733 if(!PyArg_ParseTuple(args
,"O:wxPen_GetJoin",&_argo0
))
2736 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2737 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetJoin. Expected _wxPen_p.");
2743 wxPy_BEGIN_ALLOW_THREADS
;
2744 _result
= (int )wxPen_GetJoin(_arg0
);
2746 wxPy_END_ALLOW_THREADS
;
2747 } _resultobj
= Py_BuildValue("i",_result
);
2751 #define wxPen_GetStyle(_swigobj) (_swigobj->GetStyle())
2752 static PyObject
*_wrap_wxPen_GetStyle(PyObject
*self
, PyObject
*args
) {
2753 PyObject
* _resultobj
;
2756 PyObject
* _argo0
= 0;
2759 if(!PyArg_ParseTuple(args
,"O:wxPen_GetStyle",&_argo0
))
2762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetStyle. Expected _wxPen_p.");
2769 wxPy_BEGIN_ALLOW_THREADS
;
2770 _result
= (int )wxPen_GetStyle(_arg0
);
2772 wxPy_END_ALLOW_THREADS
;
2773 } _resultobj
= Py_BuildValue("i",_result
);
2777 #define wxPen_GetWidth(_swigobj) (_swigobj->GetWidth())
2778 static PyObject
*_wrap_wxPen_GetWidth(PyObject
*self
, PyObject
*args
) {
2779 PyObject
* _resultobj
;
2782 PyObject
* _argo0
= 0;
2785 if(!PyArg_ParseTuple(args
,"O:wxPen_GetWidth",&_argo0
))
2788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetWidth. Expected _wxPen_p.");
2795 wxPy_BEGIN_ALLOW_THREADS
;
2796 _result
= (int )wxPen_GetWidth(_arg0
);
2798 wxPy_END_ALLOW_THREADS
;
2799 } _resultobj
= Py_BuildValue("i",_result
);
2803 #define wxPen_Ok(_swigobj) (_swigobj->Ok())
2804 static PyObject
*_wrap_wxPen_Ok(PyObject
*self
, PyObject
*args
) {
2805 PyObject
* _resultobj
;
2808 PyObject
* _argo0
= 0;
2811 if(!PyArg_ParseTuple(args
,"O:wxPen_Ok",&_argo0
))
2814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_Ok. Expected _wxPen_p.");
2821 wxPy_BEGIN_ALLOW_THREADS
;
2822 _result
= (bool )wxPen_Ok(_arg0
);
2824 wxPy_END_ALLOW_THREADS
;
2825 } _resultobj
= Py_BuildValue("i",_result
);
2829 #define wxPen_SetCap(_swigobj,_swigarg0) (_swigobj->SetCap(_swigarg0))
2830 static PyObject
*_wrap_wxPen_SetCap(PyObject
*self
, PyObject
*args
) {
2831 PyObject
* _resultobj
;
2834 PyObject
* _argo0
= 0;
2837 if(!PyArg_ParseTuple(args
,"Oi:wxPen_SetCap",&_argo0
,&_arg1
))
2840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetCap. Expected _wxPen_p.");
2847 wxPy_BEGIN_ALLOW_THREADS
;
2848 wxPen_SetCap(_arg0
,_arg1
);
2850 wxPy_END_ALLOW_THREADS
;
2851 } Py_INCREF(Py_None
);
2852 _resultobj
= Py_None
;
2856 #define wxPen_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
2857 static PyObject
*_wrap_wxPen_SetColour(PyObject
*self
, PyObject
*args
) {
2858 PyObject
* _resultobj
;
2861 PyObject
* _argo0
= 0;
2862 PyObject
* _argo1
= 0;
2865 if(!PyArg_ParseTuple(args
,"OO:wxPen_SetColour",&_argo0
,&_argo1
))
2868 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2869 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetColour. Expected _wxPen_p.");
2875 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2876 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPen_SetColour. Expected _wxColour_p.");
2882 wxPy_BEGIN_ALLOW_THREADS
;
2883 wxPen_SetColour(_arg0
,*_arg1
);
2885 wxPy_END_ALLOW_THREADS
;
2886 } Py_INCREF(Py_None
);
2887 _resultobj
= Py_None
;
2891 #define wxPen_SetJoin(_swigobj,_swigarg0) (_swigobj->SetJoin(_swigarg0))
2892 static PyObject
*_wrap_wxPen_SetJoin(PyObject
*self
, PyObject
*args
) {
2893 PyObject
* _resultobj
;
2896 PyObject
* _argo0
= 0;
2899 if(!PyArg_ParseTuple(args
,"Oi:wxPen_SetJoin",&_argo0
,&_arg1
))
2902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetJoin. Expected _wxPen_p.");
2909 wxPy_BEGIN_ALLOW_THREADS
;
2910 wxPen_SetJoin(_arg0
,_arg1
);
2912 wxPy_END_ALLOW_THREADS
;
2913 } Py_INCREF(Py_None
);
2914 _resultobj
= Py_None
;
2918 #define wxPen_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
2919 static PyObject
*_wrap_wxPen_SetStyle(PyObject
*self
, PyObject
*args
) {
2920 PyObject
* _resultobj
;
2923 PyObject
* _argo0
= 0;
2926 if(!PyArg_ParseTuple(args
,"Oi:wxPen_SetStyle",&_argo0
,&_arg1
))
2929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetStyle. Expected _wxPen_p.");
2936 wxPy_BEGIN_ALLOW_THREADS
;
2937 wxPen_SetStyle(_arg0
,_arg1
);
2939 wxPy_END_ALLOW_THREADS
;
2940 } Py_INCREF(Py_None
);
2941 _resultobj
= Py_None
;
2945 #define wxPen_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2946 static PyObject
*_wrap_wxPen_SetWidth(PyObject
*self
, PyObject
*args
) {
2947 PyObject
* _resultobj
;
2950 PyObject
* _argo0
= 0;
2953 if(!PyArg_ParseTuple(args
,"Oi:wxPen_SetWidth",&_argo0
,&_arg1
))
2956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetWidth. Expected _wxPen_p.");
2963 wxPy_BEGIN_ALLOW_THREADS
;
2964 wxPen_SetWidth(_arg0
,_arg1
);
2966 wxPy_END_ALLOW_THREADS
;
2967 } Py_INCREF(Py_None
);
2968 _resultobj
= Py_None
;
2972 #define wxPen_GetDashes(_swigobj,_swigarg0) (_swigobj->GetDashes(_swigarg0))
2973 static PyObject
*_wrap_wxPen_GetDashes(PyObject
*self
, PyObject
*args
) {
2974 PyObject
* _resultobj
;
2978 PyObject
* _argo0
= 0;
2979 PyObject
* _argo1
= 0;
2982 if(!PyArg_ParseTuple(args
,"OO:wxPen_GetDashes",&_argo0
,&_argo1
))
2985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetDashes. Expected _wxPen_p.");
2992 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2993 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDash_pp")) {
2994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPen_GetDashes. Expected _wxDash_pp.");
2999 wxPy_BEGIN_ALLOW_THREADS
;
3000 _result
= (int )wxPen_GetDashes(_arg0
,_arg1
);
3002 wxPy_END_ALLOW_THREADS
;
3003 } _resultobj
= Py_BuildValue("i",_result
);
3007 #define wxPen_GetStipple(_swigobj) (_swigobj->GetStipple())
3008 static PyObject
*_wrap_wxPen_GetStipple(PyObject
*self
, PyObject
*args
) {
3009 PyObject
* _resultobj
;
3012 PyObject
* _argo0
= 0;
3016 if(!PyArg_ParseTuple(args
,"O:wxPen_GetStipple",&_argo0
))
3019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetStipple. Expected _wxPen_p.");
3026 wxPy_BEGIN_ALLOW_THREADS
;
3027 _result
= (wxBitmap
*)wxPen_GetStipple(_arg0
);
3029 wxPy_END_ALLOW_THREADS
;
3031 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
3032 _resultobj
= Py_BuildValue("s",_ptemp
);
3035 _resultobj
= Py_None
;
3040 #define wxPen_SetDashes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDashes(_swigarg0,_swigarg1))
3041 static PyObject
*_wrap_wxPen_SetDashes(PyObject
*self
, PyObject
*args
) {
3042 PyObject
* _resultobj
;
3046 PyObject
* _argo0
= 0;
3047 PyObject
* _obj2
= 0;
3050 if(!PyArg_ParseTuple(args
,"OO:wxPen_SetDashes",&_argo0
,&_obj2
))
3053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetDashes. Expected _wxPen_p.");
3061 _arg2
= (unsigned long*)long_LIST_helper(_obj2
);
3062 if (_arg2
== NULL
) {
3068 _arg1
= PyList_Size(_obj2
);
3075 wxPy_BEGIN_ALLOW_THREADS
;
3076 wxPen_SetDashes(_arg0
,_arg1
,_arg2
);
3078 wxPy_END_ALLOW_THREADS
;
3079 } Py_INCREF(Py_None
);
3080 _resultobj
= Py_None
;
3087 #define wxPen_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
3088 static PyObject
*_wrap_wxPen_SetStipple(PyObject
*self
, PyObject
*args
) {
3089 PyObject
* _resultobj
;
3092 PyObject
* _argo0
= 0;
3093 PyObject
* _argo1
= 0;
3096 if(!PyArg_ParseTuple(args
,"OO:wxPen_SetStipple",&_argo0
,&_argo1
))
3099 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3100 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetStipple. Expected _wxPen_p.");
3106 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3107 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
3108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPen_SetStipple. Expected _wxBitmap_p.");
3113 wxPy_BEGIN_ALLOW_THREADS
;
3114 wxPen_SetStipple(_arg0
,*_arg1
);
3116 wxPy_END_ALLOW_THREADS
;
3117 } Py_INCREF(Py_None
);
3118 _resultobj
= Py_None
;
3122 static wxBrush
*new_wxBrush(wxColour
*colour
,int style
) {
3123 return wxTheBrushList
->FindOrCreateBrush(*colour
, style
);
3126 static PyObject
*_wrap_new_wxBrush(PyObject
*self
, PyObject
*args
) {
3127 PyObject
* _resultobj
;
3130 int _arg1
= (int ) wxSOLID
;
3131 PyObject
* _argo0
= 0;
3135 if(!PyArg_ParseTuple(args
,"O|i:new_wxBrush",&_argo0
,&_arg1
))
3138 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3139 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
3140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBrush. Expected _wxColour_p.");
3145 wxPy_BEGIN_ALLOW_THREADS
;
3146 _result
= (wxBrush
*)new_wxBrush(_arg0
,_arg1
);
3148 wxPy_END_ALLOW_THREADS
;
3150 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
3151 _resultobj
= Py_BuildValue("s",_ptemp
);
3154 _resultobj
= Py_None
;
3159 #define wxBrush_GetColour(_swigobj) (_swigobj->GetColour())
3160 static PyObject
*_wrap_wxBrush_GetColour(PyObject
*self
, PyObject
*args
) {
3161 PyObject
* _resultobj
;
3164 PyObject
* _argo0
= 0;
3168 if(!PyArg_ParseTuple(args
,"O:wxBrush_GetColour",&_argo0
))
3171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetColour. Expected _wxBrush_p.");
3178 wxPy_BEGIN_ALLOW_THREADS
;
3179 wxColour
& _result_ref
= wxBrush_GetColour(_arg0
);
3180 _result
= (wxColour
*) &_result_ref
;
3182 wxPy_END_ALLOW_THREADS
;
3184 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3185 _resultobj
= Py_BuildValue("s",_ptemp
);
3188 _resultobj
= Py_None
;
3193 #define wxBrush_GetStipple(_swigobj) (_swigobj->GetStipple())
3194 static PyObject
*_wrap_wxBrush_GetStipple(PyObject
*self
, PyObject
*args
) {
3195 PyObject
* _resultobj
;
3198 PyObject
* _argo0
= 0;
3202 if(!PyArg_ParseTuple(args
,"O:wxBrush_GetStipple",&_argo0
))
3205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStipple. Expected _wxBrush_p.");
3212 wxPy_BEGIN_ALLOW_THREADS
;
3213 _result
= (wxBitmap
*)wxBrush_GetStipple(_arg0
);
3215 wxPy_END_ALLOW_THREADS
;
3217 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
3218 _resultobj
= Py_BuildValue("s",_ptemp
);
3221 _resultobj
= Py_None
;
3226 #define wxBrush_GetStyle(_swigobj) (_swigobj->GetStyle())
3227 static PyObject
*_wrap_wxBrush_GetStyle(PyObject
*self
, PyObject
*args
) {
3228 PyObject
* _resultobj
;
3231 PyObject
* _argo0
= 0;
3234 if(!PyArg_ParseTuple(args
,"O:wxBrush_GetStyle",&_argo0
))
3237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStyle. Expected _wxBrush_p.");
3244 wxPy_BEGIN_ALLOW_THREADS
;
3245 _result
= (int )wxBrush_GetStyle(_arg0
);
3247 wxPy_END_ALLOW_THREADS
;
3248 } _resultobj
= Py_BuildValue("i",_result
);
3252 #define wxBrush_Ok(_swigobj) (_swigobj->Ok())
3253 static PyObject
*_wrap_wxBrush_Ok(PyObject
*self
, PyObject
*args
) {
3254 PyObject
* _resultobj
;
3257 PyObject
* _argo0
= 0;
3260 if(!PyArg_ParseTuple(args
,"O:wxBrush_Ok",&_argo0
))
3263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_Ok. Expected _wxBrush_p.");
3270 wxPy_BEGIN_ALLOW_THREADS
;
3271 _result
= (bool )wxBrush_Ok(_arg0
);
3273 wxPy_END_ALLOW_THREADS
;
3274 } _resultobj
= Py_BuildValue("i",_result
);
3278 #define wxBrush_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
3279 static PyObject
*_wrap_wxBrush_SetColour(PyObject
*self
, PyObject
*args
) {
3280 PyObject
* _resultobj
;
3283 PyObject
* _argo0
= 0;
3284 PyObject
* _argo1
= 0;
3287 if(!PyArg_ParseTuple(args
,"OO:wxBrush_SetColour",&_argo0
,&_argo1
))
3290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetColour. Expected _wxBrush_p.");
3297 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3298 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
3299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrush_SetColour. Expected _wxColour_p.");
3304 wxPy_BEGIN_ALLOW_THREADS
;
3305 wxBrush_SetColour(_arg0
,*_arg1
);
3307 wxPy_END_ALLOW_THREADS
;
3308 } Py_INCREF(Py_None
);
3309 _resultobj
= Py_None
;
3313 #define wxBrush_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
3314 static PyObject
*_wrap_wxBrush_SetStipple(PyObject
*self
, PyObject
*args
) {
3315 PyObject
* _resultobj
;
3318 PyObject
* _argo0
= 0;
3319 PyObject
* _argo1
= 0;
3322 if(!PyArg_ParseTuple(args
,"OO:wxBrush_SetStipple",&_argo0
,&_argo1
))
3325 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3326 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStipple. Expected _wxBrush_p.");
3332 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3333 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
3334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrush_SetStipple. Expected _wxBitmap_p.");
3339 wxPy_BEGIN_ALLOW_THREADS
;
3340 wxBrush_SetStipple(_arg0
,*_arg1
);
3342 wxPy_END_ALLOW_THREADS
;
3343 } Py_INCREF(Py_None
);
3344 _resultobj
= Py_None
;
3348 #define wxBrush_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
3349 static PyObject
*_wrap_wxBrush_SetStyle(PyObject
*self
, PyObject
*args
) {
3350 PyObject
* _resultobj
;
3353 PyObject
* _argo0
= 0;
3356 if(!PyArg_ParseTuple(args
,"Oi:wxBrush_SetStyle",&_argo0
,&_arg1
))
3359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStyle. Expected _wxBrush_p.");
3366 wxPy_BEGIN_ALLOW_THREADS
;
3367 wxBrush_SetStyle(_arg0
,_arg1
);
3369 wxPy_END_ALLOW_THREADS
;
3370 } Py_INCREF(Py_None
);
3371 _resultobj
= Py_None
;
3375 #define delete_wxDC(_swigobj) (delete _swigobj)
3376 static PyObject
*_wrap_delete_wxDC(PyObject
*self
, PyObject
*args
) {
3377 PyObject
* _resultobj
;
3379 PyObject
* _argo0
= 0;
3382 if(!PyArg_ParseTuple(args
,"O:delete_wxDC",&_argo0
))
3385 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3386 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDC. Expected _wxDC_p.");
3392 wxPy_BEGIN_ALLOW_THREADS
;
3395 wxPy_END_ALLOW_THREADS
;
3396 } Py_INCREF(Py_None
);
3397 _resultobj
= Py_None
;
3401 #define wxDC_BeginDrawing(_swigobj) (_swigobj->BeginDrawing())
3402 static PyObject
*_wrap_wxDC_BeginDrawing(PyObject
*self
, PyObject
*args
) {
3403 PyObject
* _resultobj
;
3405 PyObject
* _argo0
= 0;
3408 if(!PyArg_ParseTuple(args
,"O:wxDC_BeginDrawing",&_argo0
))
3411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_BeginDrawing. Expected _wxDC_p.");
3418 wxPy_BEGIN_ALLOW_THREADS
;
3419 wxDC_BeginDrawing(_arg0
);
3421 wxPy_END_ALLOW_THREADS
;
3422 } Py_INCREF(Py_None
);
3423 _resultobj
= Py_None
;
3427 #define wxDC_Blit(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Blit(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
3428 static PyObject
*_wrap_wxDC_Blit(PyObject
*self
, PyObject
*args
) {
3429 PyObject
* _resultobj
;
3439 int _arg8
= (int ) wxCOPY
;
3440 int _arg9
= (int ) FALSE
;
3441 PyObject
* _argo0
= 0;
3442 PyObject
* _argo5
= 0;
3445 if(!PyArg_ParseTuple(args
,"OllllOll|ii:wxDC_Blit",&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_argo5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
))
3448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Blit. Expected _wxDC_p.");
3455 if (_argo5
== Py_None
) { _arg5
= NULL
; }
3456 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxDC_p")) {
3457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxDC_Blit. Expected _wxDC_p.");
3462 wxPy_BEGIN_ALLOW_THREADS
;
3463 _result
= (bool )wxDC_Blit(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
3465 wxPy_END_ALLOW_THREADS
;
3466 } _resultobj
= Py_BuildValue("i",_result
);
3470 #define wxDC_Clear(_swigobj) (_swigobj->Clear())
3471 static PyObject
*_wrap_wxDC_Clear(PyObject
*self
, PyObject
*args
) {
3472 PyObject
* _resultobj
;
3474 PyObject
* _argo0
= 0;
3477 if(!PyArg_ParseTuple(args
,"O:wxDC_Clear",&_argo0
))
3480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Clear. Expected _wxDC_p.");
3487 wxPy_BEGIN_ALLOW_THREADS
;
3490 wxPy_END_ALLOW_THREADS
;
3491 } Py_INCREF(Py_None
);
3492 _resultobj
= Py_None
;
3496 #define wxDC_CrossHair(_swigobj,_swigarg0,_swigarg1) (_swigobj->CrossHair(_swigarg0,_swigarg1))
3497 static PyObject
*_wrap_wxDC_CrossHair(PyObject
*self
, PyObject
*args
) {
3498 PyObject
* _resultobj
;
3502 PyObject
* _argo0
= 0;
3505 if(!PyArg_ParseTuple(args
,"Oll:wxDC_CrossHair",&_argo0
,&_arg1
,&_arg2
))
3508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CrossHair. Expected _wxDC_p.");
3515 wxPy_BEGIN_ALLOW_THREADS
;
3516 wxDC_CrossHair(_arg0
,_arg1
,_arg2
);
3518 wxPy_END_ALLOW_THREADS
;
3519 } Py_INCREF(Py_None
);
3520 _resultobj
= Py_None
;
3524 #define wxDC_DestroyClippingRegion(_swigobj) (_swigobj->DestroyClippingRegion())
3525 static PyObject
*_wrap_wxDC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
) {
3526 PyObject
* _resultobj
;
3528 PyObject
* _argo0
= 0;
3531 if(!PyArg_ParseTuple(args
,"O:wxDC_DestroyClippingRegion",&_argo0
))
3534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DestroyClippingRegion. Expected _wxDC_p.");
3541 wxPy_BEGIN_ALLOW_THREADS
;
3542 wxDC_DestroyClippingRegion(_arg0
);
3544 wxPy_END_ALLOW_THREADS
;
3545 } Py_INCREF(Py_None
);
3546 _resultobj
= Py_None
;
3550 #define wxDC_DeviceToLogicalX(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalX(_swigarg0))
3551 static PyObject
*_wrap_wxDC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
) {
3552 PyObject
* _resultobj
;
3556 PyObject
* _argo0
= 0;
3559 if(!PyArg_ParseTuple(args
,"Ol:wxDC_DeviceToLogicalX",&_argo0
,&_arg1
))
3562 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3563 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalX. Expected _wxDC_p.");
3569 wxPy_BEGIN_ALLOW_THREADS
;
3570 _result
= (long )wxDC_DeviceToLogicalX(_arg0
,_arg1
);
3572 wxPy_END_ALLOW_THREADS
;
3573 } _resultobj
= Py_BuildValue("l",_result
);
3577 #define wxDC_DeviceToLogicalXRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalXRel(_swigarg0))
3578 static PyObject
*_wrap_wxDC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
) {
3579 PyObject
* _resultobj
;
3583 PyObject
* _argo0
= 0;
3586 if(!PyArg_ParseTuple(args
,"Ol:wxDC_DeviceToLogicalXRel",&_argo0
,&_arg1
))
3589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalXRel. Expected _wxDC_p.");
3596 wxPy_BEGIN_ALLOW_THREADS
;
3597 _result
= (long )wxDC_DeviceToLogicalXRel(_arg0
,_arg1
);
3599 wxPy_END_ALLOW_THREADS
;
3600 } _resultobj
= Py_BuildValue("l",_result
);
3604 #define wxDC_DeviceToLogicalY(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalY(_swigarg0))
3605 static PyObject
*_wrap_wxDC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
) {
3606 PyObject
* _resultobj
;
3610 PyObject
* _argo0
= 0;
3613 if(!PyArg_ParseTuple(args
,"Ol:wxDC_DeviceToLogicalY",&_argo0
,&_arg1
))
3616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalY. Expected _wxDC_p.");
3623 wxPy_BEGIN_ALLOW_THREADS
;
3624 _result
= (long )wxDC_DeviceToLogicalY(_arg0
,_arg1
);
3626 wxPy_END_ALLOW_THREADS
;
3627 } _resultobj
= Py_BuildValue("l",_result
);
3631 #define wxDC_DeviceToLogicalYRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalYRel(_swigarg0))
3632 static PyObject
*_wrap_wxDC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
) {
3633 PyObject
* _resultobj
;
3637 PyObject
* _argo0
= 0;
3640 if(!PyArg_ParseTuple(args
,"Ol:wxDC_DeviceToLogicalYRel",&_argo0
,&_arg1
))
3643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalYRel. Expected _wxDC_p.");
3650 wxPy_BEGIN_ALLOW_THREADS
;
3651 _result
= (long )wxDC_DeviceToLogicalYRel(_arg0
,_arg1
);
3653 wxPy_END_ALLOW_THREADS
;
3654 } _resultobj
= Py_BuildValue("l",_result
);
3658 #define wxDC_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3659 static PyObject
*_wrap_wxDC_DrawArc(PyObject
*self
, PyObject
*args
) {
3660 PyObject
* _resultobj
;
3668 PyObject
* _argo0
= 0;
3671 if(!PyArg_ParseTuple(args
,"Ollllll:wxDC_DrawArc",&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
3674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawArc. Expected _wxDC_p.");
3681 wxPy_BEGIN_ALLOW_THREADS
;
3682 wxDC_DrawArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
3684 wxPy_END_ALLOW_THREADS
;
3685 } Py_INCREF(Py_None
);
3686 _resultobj
= Py_None
;
3690 #define wxDC_DrawCircle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawCircle(_swigarg0,_swigarg1,_swigarg2))
3691 static PyObject
*_wrap_wxDC_DrawCircle(PyObject
*self
, PyObject
*args
) {
3692 PyObject
* _resultobj
;
3697 PyObject
* _argo0
= 0;
3700 if(!PyArg_ParseTuple(args
,"Olll:wxDC_DrawCircle",&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawCircle. Expected _wxDC_p.");
3710 wxPy_BEGIN_ALLOW_THREADS
;
3711 wxDC_DrawCircle(_arg0
,_arg1
,_arg2
,_arg3
);
3713 wxPy_END_ALLOW_THREADS
;
3714 } Py_INCREF(Py_None
);
3715 _resultobj
= Py_None
;
3719 #define wxDC_DrawEllipse(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawEllipse(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3720 static PyObject
*_wrap_wxDC_DrawEllipse(PyObject
*self
, PyObject
*args
) {
3721 PyObject
* _resultobj
;
3727 PyObject
* _argo0
= 0;
3730 if(!PyArg_ParseTuple(args
,"Ollll:wxDC_DrawEllipse",&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3733 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3734 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipse. Expected _wxDC_p.");
3740 wxPy_BEGIN_ALLOW_THREADS
;
3741 wxDC_DrawEllipse(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3743 wxPy_END_ALLOW_THREADS
;
3744 } Py_INCREF(Py_None
);
3745 _resultobj
= Py_None
;
3749 #define wxDC_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3750 static PyObject
*_wrap_wxDC_DrawEllipticArc(PyObject
*self
, PyObject
*args
) {
3751 PyObject
* _resultobj
;
3759 PyObject
* _argo0
= 0;
3762 if(!PyArg_ParseTuple(args
,"Ollllll:wxDC_DrawEllipticArc",&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
3765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipticArc. Expected _wxDC_p.");
3772 wxPy_BEGIN_ALLOW_THREADS
;
3773 wxDC_DrawEllipticArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
3775 wxPy_END_ALLOW_THREADS
;
3776 } Py_INCREF(Py_None
);
3777 _resultobj
= Py_None
;
3781 #define wxDC_DrawIcon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawIcon(_swigarg0,_swigarg1,_swigarg2))
3782 static PyObject
*_wrap_wxDC_DrawIcon(PyObject
*self
, PyObject
*args
) {
3783 PyObject
* _resultobj
;
3788 PyObject
* _argo0
= 0;
3789 PyObject
* _argo1
= 0;
3792 if(!PyArg_ParseTuple(args
,"OOll:wxDC_DrawIcon",&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3795 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3796 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawIcon. Expected _wxDC_p.");
3802 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3803 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
3804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawIcon. Expected _wxIcon_p.");
3809 wxPy_BEGIN_ALLOW_THREADS
;
3810 wxDC_DrawIcon(_arg0
,*_arg1
,_arg2
,_arg3
);
3812 wxPy_END_ALLOW_THREADS
;
3813 } Py_INCREF(Py_None
);
3814 _resultobj
= Py_None
;
3818 #define wxDC_DrawLine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3819 static PyObject
*_wrap_wxDC_DrawLine(PyObject
*self
, PyObject
*args
) {
3820 PyObject
* _resultobj
;
3826 PyObject
* _argo0
= 0;
3829 if(!PyArg_ParseTuple(args
,"Ollll:wxDC_DrawLine",&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3832 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3833 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLine. Expected _wxDC_p.");
3839 wxPy_BEGIN_ALLOW_THREADS
;
3840 wxDC_DrawLine(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3842 wxPy_END_ALLOW_THREADS
;
3843 } Py_INCREF(Py_None
);
3844 _resultobj
= Py_None
;
3848 #define wxDC_DrawLines(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLines(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3849 static PyObject
*_wrap_wxDC_DrawLines(PyObject
*self
, PyObject
*args
) {
3850 PyObject
* _resultobj
;
3854 long _arg3
= (long ) 0;
3855 long _arg4
= (long ) 0;
3856 PyObject
* _argo0
= 0;
3857 PyObject
* _obj2
= 0;
3860 if(!PyArg_ParseTuple(args
,"OO|ll:wxDC_DrawLines",&_argo0
,&_obj2
,&_arg3
,&_arg4
))
3863 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3864 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLines. Expected _wxDC_p.");
3871 _arg2
= wxPoint_LIST_helper(_obj2
);
3872 if (_arg2
== NULL
) {
3878 _arg1
= PyList_Size(_obj2
);
3885 wxPy_BEGIN_ALLOW_THREADS
;
3886 wxDC_DrawLines(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3888 wxPy_END_ALLOW_THREADS
;
3889 } Py_INCREF(Py_None
);
3890 _resultobj
= Py_None
;
3897 #define wxDC_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3898 static PyObject
*_wrap_wxDC_DrawPolygon(PyObject
*self
, PyObject
*args
) {
3899 PyObject
* _resultobj
;
3903 long _arg3
= (long ) 0;
3904 long _arg4
= (long ) 0;
3905 int _arg5
= (int ) wxODDEVEN_RULE
;
3906 PyObject
* _argo0
= 0;
3907 PyObject
* _obj2
= 0;
3910 if(!PyArg_ParseTuple(args
,"OO|lli:wxDC_DrawPolygon",&_argo0
,&_obj2
,&_arg3
,&_arg4
,&_arg5
))
3913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPolygon. Expected _wxDC_p.");
3921 _arg2
= wxPoint_LIST_helper(_obj2
);
3922 if (_arg2
== NULL
) {
3928 _arg1
= PyList_Size(_obj2
);
3935 wxPy_BEGIN_ALLOW_THREADS
;
3936 wxDC_DrawPolygon(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3938 wxPy_END_ALLOW_THREADS
;
3939 } Py_INCREF(Py_None
);
3940 _resultobj
= Py_None
;
3947 #define wxDC_DrawPoint(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawPoint(_swigarg0,_swigarg1))
3948 static PyObject
*_wrap_wxDC_DrawPoint(PyObject
*self
, PyObject
*args
) {
3949 PyObject
* _resultobj
;
3953 PyObject
* _argo0
= 0;
3956 if(!PyArg_ParseTuple(args
,"Oll:wxDC_DrawPoint",&_argo0
,&_arg1
,&_arg2
))
3959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPoint. Expected _wxDC_p.");
3966 wxPy_BEGIN_ALLOW_THREADS
;
3967 wxDC_DrawPoint(_arg0
,_arg1
,_arg2
);
3969 wxPy_END_ALLOW_THREADS
;
3970 } Py_INCREF(Py_None
);
3971 _resultobj
= Py_None
;
3975 #define wxDC_DrawRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3976 static PyObject
*_wrap_wxDC_DrawRectangle(PyObject
*self
, PyObject
*args
) {
3977 PyObject
* _resultobj
;
3983 PyObject
* _argo0
= 0;
3986 if(!PyArg_ParseTuple(args
,"Ollll:wxDC_DrawRectangle",&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3989 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3990 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRectangle. Expected _wxDC_p.");
3996 wxPy_BEGIN_ALLOW_THREADS
;
3997 wxDC_DrawRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3999 wxPy_END_ALLOW_THREADS
;
4000 } Py_INCREF(Py_None
);
4001 _resultobj
= Py_None
;
4005 #define wxDC_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4006 static PyObject
*_wrap_wxDC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
) {
4007 PyObject
* _resultobj
;
4013 long _arg5
= (long ) 20;
4014 PyObject
* _argo0
= 0;
4017 if(!PyArg_ParseTuple(args
,"Ollll|l:wxDC_DrawRoundedRectangle",&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
4020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRoundedRectangle. Expected _wxDC_p.");
4027 wxPy_BEGIN_ALLOW_THREADS
;
4028 wxDC_DrawRoundedRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4030 wxPy_END_ALLOW_THREADS
;
4031 } Py_INCREF(Py_None
);
4032 _resultobj
= Py_None
;
4036 #define wxDC_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1))
4037 static PyObject
*_wrap_wxDC_DrawSpline(PyObject
*self
, PyObject
*args
) {
4038 PyObject
* _resultobj
;
4042 PyObject
* _argo0
= 0;
4043 PyObject
* _obj2
= 0;
4046 if(!PyArg_ParseTuple(args
,"OO:wxDC_DrawSpline",&_argo0
,&_obj2
))
4049 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4050 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawSpline. Expected _wxDC_p.");
4057 _arg2
= wxPoint_LIST_helper(_obj2
);
4058 if (_arg2
== NULL
) {
4064 _arg1
= PyList_Size(_obj2
);
4071 wxPy_BEGIN_ALLOW_THREADS
;
4072 wxDC_DrawSpline(_arg0
,_arg1
,_arg2
);
4074 wxPy_END_ALLOW_THREADS
;
4075 } Py_INCREF(Py_None
);
4076 _resultobj
= Py_None
;
4083 #define wxDC_DrawText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawText(_swigarg0,_swigarg1,_swigarg2))
4084 static PyObject
*_wrap_wxDC_DrawText(PyObject
*self
, PyObject
*args
) {
4085 PyObject
* _resultobj
;
4090 PyObject
* _argo0
= 0;
4091 PyObject
* _obj1
= 0;
4094 if(!PyArg_ParseTuple(args
,"OOll:wxDC_DrawText",&_argo0
,&_obj1
,&_arg2
,&_arg3
))
4097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawText. Expected _wxDC_p.");
4104 if (!PyString_Check(_obj1
)) {
4105 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4108 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4111 wxPy_BEGIN_ALLOW_THREADS
;
4112 wxDC_DrawText(_arg0
,*_arg1
,_arg2
,_arg3
);
4114 wxPy_END_ALLOW_THREADS
;
4115 } Py_INCREF(Py_None
);
4116 _resultobj
= Py_None
;
4124 #define wxDC_EndDoc(_swigobj) (_swigobj->EndDoc())
4125 static PyObject
*_wrap_wxDC_EndDoc(PyObject
*self
, PyObject
*args
) {
4126 PyObject
* _resultobj
;
4128 PyObject
* _argo0
= 0;
4131 if(!PyArg_ParseTuple(args
,"O:wxDC_EndDoc",&_argo0
))
4134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDoc. Expected _wxDC_p.");
4141 wxPy_BEGIN_ALLOW_THREADS
;
4144 wxPy_END_ALLOW_THREADS
;
4145 } Py_INCREF(Py_None
);
4146 _resultobj
= Py_None
;
4150 #define wxDC_EndDrawing(_swigobj) (_swigobj->EndDrawing())
4151 static PyObject
*_wrap_wxDC_EndDrawing(PyObject
*self
, PyObject
*args
) {
4152 PyObject
* _resultobj
;
4154 PyObject
* _argo0
= 0;
4157 if(!PyArg_ParseTuple(args
,"O:wxDC_EndDrawing",&_argo0
))
4160 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4161 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDrawing. Expected _wxDC_p.");
4167 wxPy_BEGIN_ALLOW_THREADS
;
4168 wxDC_EndDrawing(_arg0
);
4170 wxPy_END_ALLOW_THREADS
;
4171 } Py_INCREF(Py_None
);
4172 _resultobj
= Py_None
;
4176 #define wxDC_EndPage(_swigobj) (_swigobj->EndPage())
4177 static PyObject
*_wrap_wxDC_EndPage(PyObject
*self
, PyObject
*args
) {
4178 PyObject
* _resultobj
;
4180 PyObject
* _argo0
= 0;
4183 if(!PyArg_ParseTuple(args
,"O:wxDC_EndPage",&_argo0
))
4186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndPage. Expected _wxDC_p.");
4193 wxPy_BEGIN_ALLOW_THREADS
;
4194 wxDC_EndPage(_arg0
);
4196 wxPy_END_ALLOW_THREADS
;
4197 } Py_INCREF(Py_None
);
4198 _resultobj
= Py_None
;
4202 #define wxDC_FloodFill(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FloodFill(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4203 static PyObject
*_wrap_wxDC_FloodFill(PyObject
*self
, PyObject
*args
) {
4204 PyObject
* _resultobj
;
4209 int _arg4
= (int ) wxFLOOD_SURFACE
;
4210 PyObject
* _argo0
= 0;
4211 PyObject
* _argo3
= 0;
4214 if(!PyArg_ParseTuple(args
,"OllO|i:wxDC_FloodFill",&_argo0
,&_arg1
,&_arg2
,&_argo3
,&_arg4
))
4217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_FloodFill. Expected _wxDC_p.");
4224 if (_argo3
== Py_None
) { _arg3
= NULL
; }
4225 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxColour_p")) {
4226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDC_FloodFill. Expected _wxColour_p.");
4231 wxPy_BEGIN_ALLOW_THREADS
;
4232 wxDC_FloodFill(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
4234 wxPy_END_ALLOW_THREADS
;
4235 } Py_INCREF(Py_None
);
4236 _resultobj
= Py_None
;
4240 #define wxDC_GetBackground(_swigobj) (_swigobj->GetBackground())
4241 static PyObject
*_wrap_wxDC_GetBackground(PyObject
*self
, PyObject
*args
) {
4242 PyObject
* _resultobj
;
4245 PyObject
* _argo0
= 0;
4249 if(!PyArg_ParseTuple(args
,"O:wxDC_GetBackground",&_argo0
))
4252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBackground. Expected _wxDC_p.");
4259 wxPy_BEGIN_ALLOW_THREADS
;
4260 wxBrush
& _result_ref
= wxDC_GetBackground(_arg0
);
4261 _result
= (wxBrush
*) &_result_ref
;
4263 wxPy_END_ALLOW_THREADS
;
4265 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
4266 _resultobj
= Py_BuildValue("s",_ptemp
);
4269 _resultobj
= Py_None
;
4274 #define wxDC_GetBrush(_swigobj) (_swigobj->GetBrush())
4275 static PyObject
*_wrap_wxDC_GetBrush(PyObject
*self
, PyObject
*args
) {
4276 PyObject
* _resultobj
;
4279 PyObject
* _argo0
= 0;
4283 if(!PyArg_ParseTuple(args
,"O:wxDC_GetBrush",&_argo0
))
4286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBrush. Expected _wxDC_p.");
4293 wxPy_BEGIN_ALLOW_THREADS
;
4294 wxBrush
& _result_ref
= wxDC_GetBrush(_arg0
);
4295 _result
= (wxBrush
*) &_result_ref
;
4297 wxPy_END_ALLOW_THREADS
;
4299 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
4300 _resultobj
= Py_BuildValue("s",_ptemp
);
4303 _resultobj
= Py_None
;
4308 #define wxDC_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
4309 static PyObject
*_wrap_wxDC_GetCharHeight(PyObject
*self
, PyObject
*args
) {
4310 PyObject
* _resultobj
;
4313 PyObject
* _argo0
= 0;
4316 if(!PyArg_ParseTuple(args
,"O:wxDC_GetCharHeight",&_argo0
))
4319 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4320 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharHeight. Expected _wxDC_p.");
4326 wxPy_BEGIN_ALLOW_THREADS
;
4327 _result
= (long )wxDC_GetCharHeight(_arg0
);
4329 wxPy_END_ALLOW_THREADS
;
4330 } _resultobj
= Py_BuildValue("l",_result
);
4334 #define wxDC_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
4335 static PyObject
*_wrap_wxDC_GetCharWidth(PyObject
*self
, PyObject
*args
) {
4336 PyObject
* _resultobj
;
4339 PyObject
* _argo0
= 0;
4342 if(!PyArg_ParseTuple(args
,"O:wxDC_GetCharWidth",&_argo0
))
4345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharWidth. Expected _wxDC_p.");
4352 wxPy_BEGIN_ALLOW_THREADS
;
4353 _result
= (long )wxDC_GetCharWidth(_arg0
);
4355 wxPy_END_ALLOW_THREADS
;
4356 } _resultobj
= Py_BuildValue("l",_result
);
4360 #define wxDC_GetClippingBox(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetClippingBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4361 static PyObject
*_wrap_wxDC_GetClippingBox(PyObject
*self
, PyObject
*args
) {
4362 PyObject
* _resultobj
;
4372 PyObject
* _argo0
= 0;
4387 if(!PyArg_ParseTuple(args
,"O:wxDC_GetClippingBox",&_argo0
))
4390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetClippingBox. Expected _wxDC_p.");
4397 wxPy_BEGIN_ALLOW_THREADS
;
4398 wxDC_GetClippingBox(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4400 wxPy_END_ALLOW_THREADS
;
4401 } Py_INCREF(Py_None
);
4402 _resultobj
= Py_None
;
4405 o
= PyInt_FromLong((long) (*_arg1
));
4406 _resultobj
= t_output_helper(_resultobj
, o
);
4410 o
= PyInt_FromLong((long) (*_arg2
));
4411 _resultobj
= t_output_helper(_resultobj
, o
);
4415 o
= PyInt_FromLong((long) (*_arg3
));
4416 _resultobj
= t_output_helper(_resultobj
, o
);
4420 o
= PyInt_FromLong((long) (*_arg4
));
4421 _resultobj
= t_output_helper(_resultobj
, o
);
4426 #define wxDC_GetFont(_swigobj) (_swigobj->GetFont())
4427 static PyObject
*_wrap_wxDC_GetFont(PyObject
*self
, PyObject
*args
) {
4428 PyObject
* _resultobj
;
4431 PyObject
* _argo0
= 0;
4435 if(!PyArg_ParseTuple(args
,"O:wxDC_GetFont",&_argo0
))
4438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFont. Expected _wxDC_p.");
4445 wxPy_BEGIN_ALLOW_THREADS
;
4446 wxFont
& _result_ref
= wxDC_GetFont(_arg0
);
4447 _result
= (wxFont
*) &_result_ref
;
4449 wxPy_END_ALLOW_THREADS
;
4451 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
4452 _resultobj
= Py_BuildValue("s",_ptemp
);
4455 _resultobj
= Py_None
;
4460 #define wxDC_GetLogicalFunction(_swigobj) (_swigobj->GetLogicalFunction())
4461 static PyObject
*_wrap_wxDC_GetLogicalFunction(PyObject
*self
, PyObject
*args
) {
4462 PyObject
* _resultobj
;
4465 PyObject
* _argo0
= 0;
4468 if(!PyArg_ParseTuple(args
,"O:wxDC_GetLogicalFunction",&_argo0
))
4471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalFunction. Expected _wxDC_p.");
4478 wxPy_BEGIN_ALLOW_THREADS
;
4479 _result
= (int )wxDC_GetLogicalFunction(_arg0
);
4481 wxPy_END_ALLOW_THREADS
;
4482 } _resultobj
= Py_BuildValue("i",_result
);
4486 #define wxDC_GetMapMode(_swigobj) (_swigobj->GetMapMode())
4487 static PyObject
*_wrap_wxDC_GetMapMode(PyObject
*self
, PyObject
*args
) {
4488 PyObject
* _resultobj
;
4491 PyObject
* _argo0
= 0;
4494 if(!PyArg_ParseTuple(args
,"O:wxDC_GetMapMode",&_argo0
))
4497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetMapMode. Expected _wxDC_p.");
4504 wxPy_BEGIN_ALLOW_THREADS
;
4505 _result
= (int )wxDC_GetMapMode(_arg0
);
4507 wxPy_END_ALLOW_THREADS
;
4508 } _resultobj
= Py_BuildValue("i",_result
);
4512 #define wxDC_GetOptimization(_swigobj) (_swigobj->GetOptimization())
4513 static PyObject
*_wrap_wxDC_GetOptimization(PyObject
*self
, PyObject
*args
) {
4514 PyObject
* _resultobj
;
4517 PyObject
* _argo0
= 0;
4520 if(!PyArg_ParseTuple(args
,"O:wxDC_GetOptimization",&_argo0
))
4523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetOptimization. Expected _wxDC_p.");
4530 wxPy_BEGIN_ALLOW_THREADS
;
4531 _result
= (bool )wxDC_GetOptimization(_arg0
);
4533 wxPy_END_ALLOW_THREADS
;
4534 } _resultobj
= Py_BuildValue("i",_result
);
4538 #define wxDC_GetPen(_swigobj) (_swigobj->GetPen())
4539 static PyObject
*_wrap_wxDC_GetPen(PyObject
*self
, PyObject
*args
) {
4540 PyObject
* _resultobj
;
4543 PyObject
* _argo0
= 0;
4547 if(!PyArg_ParseTuple(args
,"O:wxDC_GetPen",&_argo0
))
4550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPen. Expected _wxDC_p.");
4557 wxPy_BEGIN_ALLOW_THREADS
;
4558 wxPen
& _result_ref
= wxDC_GetPen(_arg0
);
4559 _result
= (wxPen
*) &_result_ref
;
4561 wxPy_END_ALLOW_THREADS
;
4563 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
4564 _resultobj
= Py_BuildValue("s",_ptemp
);
4567 _resultobj
= Py_None
;
4572 static wxColour
* wxDC_GetPixel(wxDC
*self
,long x
,long y
) {
4573 wxColour
* wc
= new wxColour();
4574 self
->GetPixel(x
, y
, wc
);
4577 static PyObject
*_wrap_wxDC_GetPixel(PyObject
*self
, PyObject
*args
) {
4578 PyObject
* _resultobj
;
4583 PyObject
* _argo0
= 0;
4587 if(!PyArg_ParseTuple(args
,"Oll:wxDC_GetPixel",&_argo0
,&_arg1
,&_arg2
))
4590 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4591 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPixel. Expected _wxDC_p.");
4597 wxPy_BEGIN_ALLOW_THREADS
;
4598 _result
= (wxColour
*)wxDC_GetPixel(_arg0
,_arg1
,_arg2
);
4600 wxPy_END_ALLOW_THREADS
;
4602 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
4603 _resultobj
= Py_BuildValue("s",_ptemp
);
4606 _resultobj
= Py_None
;
4611 #define wxDC_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
4612 static PyObject
*_wrap_wxDC_GetSizeTuple(PyObject
*self
, PyObject
*args
) {
4613 PyObject
* _resultobj
;
4619 PyObject
* _argo0
= 0;
4628 if(!PyArg_ParseTuple(args
,"O:wxDC_GetSizeTuple",&_argo0
))
4631 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4632 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSizeTuple. Expected _wxDC_p.");
4638 wxPy_BEGIN_ALLOW_THREADS
;
4639 wxDC_GetSizeTuple(_arg0
,_arg1
,_arg2
);
4641 wxPy_END_ALLOW_THREADS
;
4642 } Py_INCREF(Py_None
);
4643 _resultobj
= Py_None
;
4646 o
= PyInt_FromLong((long) (*_arg1
));
4647 _resultobj
= t_output_helper(_resultobj
, o
);
4651 o
= PyInt_FromLong((long) (*_arg2
));
4652 _resultobj
= t_output_helper(_resultobj
, o
);
4657 #define wxDC_GetSize(_swigobj) (_swigobj->GetSize())
4658 static PyObject
*_wrap_wxDC_GetSize(PyObject
*self
, PyObject
*args
) {
4659 PyObject
* _resultobj
;
4662 PyObject
* _argo0
= 0;
4666 if(!PyArg_ParseTuple(args
,"O:wxDC_GetSize",&_argo0
))
4669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSize. Expected _wxDC_p.");
4676 wxPy_BEGIN_ALLOW_THREADS
;
4677 _result
= new wxSize (wxDC_GetSize(_arg0
));
4679 wxPy_END_ALLOW_THREADS
;
4680 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4681 _resultobj
= Py_BuildValue("s",_ptemp
);
4685 #define wxDC_GetTextBackground(_swigobj) (_swigobj->GetTextBackground())
4686 static PyObject
*_wrap_wxDC_GetTextBackground(PyObject
*self
, PyObject
*args
) {
4687 PyObject
* _resultobj
;
4690 PyObject
* _argo0
= 0;
4694 if(!PyArg_ParseTuple(args
,"O:wxDC_GetTextBackground",&_argo0
))
4697 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4698 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextBackground. Expected _wxDC_p.");
4704 wxPy_BEGIN_ALLOW_THREADS
;
4705 wxColour
& _result_ref
= wxDC_GetTextBackground(_arg0
);
4706 _result
= (wxColour
*) &_result_ref
;
4708 wxPy_END_ALLOW_THREADS
;
4710 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
4711 _resultobj
= Py_BuildValue("s",_ptemp
);
4714 _resultobj
= Py_None
;
4719 #define wxDC_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
4720 static PyObject
*_wrap_wxDC_GetTextExtent(PyObject
*self
, PyObject
*args
) {
4721 PyObject
* _resultobj
;
4728 PyObject
* _argo0
= 0;
4729 PyObject
* _obj1
= 0;
4738 if(!PyArg_ParseTuple(args
,"OO:wxDC_GetTextExtent",&_argo0
,&_obj1
))
4741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextExtent. Expected _wxDC_p.");
4748 if (!PyString_Check(_obj1
)) {
4749 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4752 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4755 wxPy_BEGIN_ALLOW_THREADS
;
4756 wxDC_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
4758 wxPy_END_ALLOW_THREADS
;
4759 } Py_INCREF(Py_None
);
4760 _resultobj
= Py_None
;
4763 o
= PyInt_FromLong((long) (*_arg2
));
4764 _resultobj
= t_output_helper(_resultobj
, o
);
4768 o
= PyInt_FromLong((long) (*_arg3
));
4769 _resultobj
= t_output_helper(_resultobj
, o
);
4778 #define wxDC_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4779 static PyObject
*_wrap_wxDC_GetFullTextExtent(PyObject
*self
, PyObject
*args
) {
4780 PyObject
* _resultobj
;
4791 wxFont
* _arg6
= (wxFont
*) NULL
;
4792 PyObject
* _argo0
= 0;
4793 PyObject
* _obj1
= 0;
4794 PyObject
* _argo6
= 0;
4809 if(!PyArg_ParseTuple(args
,"OO|O:wxDC_GetFullTextExtent",&_argo0
,&_obj1
,&_argo6
))
4812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFullTextExtent. Expected _wxDC_p.");
4819 if (!PyString_Check(_obj1
)) {
4820 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4823 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4826 if (_argo6
== Py_None
) { _arg6
= NULL
; }
4827 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
4828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxDC_GetFullTextExtent. Expected _wxFont_p.");
4833 wxPy_BEGIN_ALLOW_THREADS
;
4834 wxDC_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4836 wxPy_END_ALLOW_THREADS
;
4837 } Py_INCREF(Py_None
);
4838 _resultobj
= Py_None
;
4841 o
= PyInt_FromLong((long) (*_arg2
));
4842 _resultobj
= t_output_helper(_resultobj
, o
);
4846 o
= PyInt_FromLong((long) (*_arg3
));
4847 _resultobj
= t_output_helper(_resultobj
, o
);
4851 o
= PyInt_FromLong((long) (*_arg4
));
4852 _resultobj
= t_output_helper(_resultobj
, o
);
4856 o
= PyInt_FromLong((long) (*_arg5
));
4857 _resultobj
= t_output_helper(_resultobj
, o
);
4866 #define wxDC_GetTextForeground(_swigobj) (_swigobj->GetTextForeground())
4867 static PyObject
*_wrap_wxDC_GetTextForeground(PyObject
*self
, PyObject
*args
) {
4868 PyObject
* _resultobj
;
4871 PyObject
* _argo0
= 0;
4875 if(!PyArg_ParseTuple(args
,"O:wxDC_GetTextForeground",&_argo0
))
4878 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4879 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextForeground. Expected _wxDC_p.");
4885 wxPy_BEGIN_ALLOW_THREADS
;
4886 wxColour
& _result_ref
= wxDC_GetTextForeground(_arg0
);
4887 _result
= (wxColour
*) &_result_ref
;
4889 wxPy_END_ALLOW_THREADS
;
4891 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
4892 _resultobj
= Py_BuildValue("s",_ptemp
);
4895 _resultobj
= Py_None
;
4900 #define wxDC_LogicalToDeviceX(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceX(_swigarg0))
4901 static PyObject
*_wrap_wxDC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
) {
4902 PyObject
* _resultobj
;
4906 PyObject
* _argo0
= 0;
4909 if(!PyArg_ParseTuple(args
,"Ol:wxDC_LogicalToDeviceX",&_argo0
,&_arg1
))
4912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceX. Expected _wxDC_p.");
4919 wxPy_BEGIN_ALLOW_THREADS
;
4920 _result
= (long )wxDC_LogicalToDeviceX(_arg0
,_arg1
);
4922 wxPy_END_ALLOW_THREADS
;
4923 } _resultobj
= Py_BuildValue("l",_result
);
4927 #define wxDC_LogicalToDeviceXRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceXRel(_swigarg0))
4928 static PyObject
*_wrap_wxDC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
) {
4929 PyObject
* _resultobj
;
4933 PyObject
* _argo0
= 0;
4936 if(!PyArg_ParseTuple(args
,"Ol:wxDC_LogicalToDeviceXRel",&_argo0
,&_arg1
))
4939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceXRel. Expected _wxDC_p.");
4946 wxPy_BEGIN_ALLOW_THREADS
;
4947 _result
= (long )wxDC_LogicalToDeviceXRel(_arg0
,_arg1
);
4949 wxPy_END_ALLOW_THREADS
;
4950 } _resultobj
= Py_BuildValue("l",_result
);
4954 #define wxDC_LogicalToDeviceY(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceY(_swigarg0))
4955 static PyObject
*_wrap_wxDC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
) {
4956 PyObject
* _resultobj
;
4960 PyObject
* _argo0
= 0;
4963 if(!PyArg_ParseTuple(args
,"Ol:wxDC_LogicalToDeviceY",&_argo0
,&_arg1
))
4966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceY. Expected _wxDC_p.");
4973 wxPy_BEGIN_ALLOW_THREADS
;
4974 _result
= (long )wxDC_LogicalToDeviceY(_arg0
,_arg1
);
4976 wxPy_END_ALLOW_THREADS
;
4977 } _resultobj
= Py_BuildValue("l",_result
);
4981 #define wxDC_LogicalToDeviceYRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceYRel(_swigarg0))
4982 static PyObject
*_wrap_wxDC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
) {
4983 PyObject
* _resultobj
;
4987 PyObject
* _argo0
= 0;
4990 if(!PyArg_ParseTuple(args
,"Ol:wxDC_LogicalToDeviceYRel",&_argo0
,&_arg1
))
4993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceYRel. Expected _wxDC_p.");
5000 wxPy_BEGIN_ALLOW_THREADS
;
5001 _result
= (long )wxDC_LogicalToDeviceYRel(_arg0
,_arg1
);
5003 wxPy_END_ALLOW_THREADS
;
5004 } _resultobj
= Py_BuildValue("l",_result
);
5008 #define wxDC_MaxX(_swigobj) (_swigobj->MaxX())
5009 static PyObject
*_wrap_wxDC_MaxX(PyObject
*self
, PyObject
*args
) {
5010 PyObject
* _resultobj
;
5013 PyObject
* _argo0
= 0;
5016 if(!PyArg_ParseTuple(args
,"O:wxDC_MaxX",&_argo0
))
5019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxX. Expected _wxDC_p.");
5026 wxPy_BEGIN_ALLOW_THREADS
;
5027 _result
= (long )wxDC_MaxX(_arg0
);
5029 wxPy_END_ALLOW_THREADS
;
5030 } _resultobj
= Py_BuildValue("l",_result
);
5034 #define wxDC_MaxY(_swigobj) (_swigobj->MaxY())
5035 static PyObject
*_wrap_wxDC_MaxY(PyObject
*self
, PyObject
*args
) {
5036 PyObject
* _resultobj
;
5039 PyObject
* _argo0
= 0;
5042 if(!PyArg_ParseTuple(args
,"O:wxDC_MaxY",&_argo0
))
5045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxY. Expected _wxDC_p.");
5052 wxPy_BEGIN_ALLOW_THREADS
;
5053 _result
= (long )wxDC_MaxY(_arg0
);
5055 wxPy_END_ALLOW_THREADS
;
5056 } _resultobj
= Py_BuildValue("l",_result
);
5060 #define wxDC_MinX(_swigobj) (_swigobj->MinX())
5061 static PyObject
*_wrap_wxDC_MinX(PyObject
*self
, PyObject
*args
) {
5062 PyObject
* _resultobj
;
5065 PyObject
* _argo0
= 0;
5068 if(!PyArg_ParseTuple(args
,"O:wxDC_MinX",&_argo0
))
5071 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5072 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinX. Expected _wxDC_p.");
5078 wxPy_BEGIN_ALLOW_THREADS
;
5079 _result
= (long )wxDC_MinX(_arg0
);
5081 wxPy_END_ALLOW_THREADS
;
5082 } _resultobj
= Py_BuildValue("l",_result
);
5086 #define wxDC_MinY(_swigobj) (_swigobj->MinY())
5087 static PyObject
*_wrap_wxDC_MinY(PyObject
*self
, PyObject
*args
) {
5088 PyObject
* _resultobj
;
5091 PyObject
* _argo0
= 0;
5094 if(!PyArg_ParseTuple(args
,"O:wxDC_MinY",&_argo0
))
5097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinY. Expected _wxDC_p.");
5104 wxPy_BEGIN_ALLOW_THREADS
;
5105 _result
= (long )wxDC_MinY(_arg0
);
5107 wxPy_END_ALLOW_THREADS
;
5108 } _resultobj
= Py_BuildValue("l",_result
);
5112 #define wxDC_Ok(_swigobj) (_swigobj->Ok())
5113 static PyObject
*_wrap_wxDC_Ok(PyObject
*self
, PyObject
*args
) {
5114 PyObject
* _resultobj
;
5117 PyObject
* _argo0
= 0;
5120 if(!PyArg_ParseTuple(args
,"O:wxDC_Ok",&_argo0
))
5123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Ok. Expected _wxDC_p.");
5130 wxPy_BEGIN_ALLOW_THREADS
;
5131 _result
= (bool )wxDC_Ok(_arg0
);
5133 wxPy_END_ALLOW_THREADS
;
5134 } _resultobj
= Py_BuildValue("i",_result
);
5138 #define wxDC_SetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDeviceOrigin(_swigarg0,_swigarg1))
5139 static PyObject
*_wrap_wxDC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
) {
5140 PyObject
* _resultobj
;
5144 PyObject
* _argo0
= 0;
5147 if(!PyArg_ParseTuple(args
,"Oll:wxDC_SetDeviceOrigin",&_argo0
,&_arg1
,&_arg2
))
5150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetDeviceOrigin. Expected _wxDC_p.");
5157 wxPy_BEGIN_ALLOW_THREADS
;
5158 wxDC_SetDeviceOrigin(_arg0
,_arg1
,_arg2
);
5160 wxPy_END_ALLOW_THREADS
;
5161 } Py_INCREF(Py_None
);
5162 _resultobj
= Py_None
;
5166 #define wxDC_SetBackground(_swigobj,_swigarg0) (_swigobj->SetBackground(_swigarg0))
5167 static PyObject
*_wrap_wxDC_SetBackground(PyObject
*self
, PyObject
*args
) {
5168 PyObject
* _resultobj
;
5171 PyObject
* _argo0
= 0;
5172 PyObject
* _argo1
= 0;
5175 if(!PyArg_ParseTuple(args
,"OO:wxDC_SetBackground",&_argo0
,&_argo1
))
5178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackground. Expected _wxDC_p.");
5185 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5186 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
5187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBackground. Expected _wxBrush_p.");
5192 wxPy_BEGIN_ALLOW_THREADS
;
5193 wxDC_SetBackground(_arg0
,*_arg1
);
5195 wxPy_END_ALLOW_THREADS
;
5196 } Py_INCREF(Py_None
);
5197 _resultobj
= Py_None
;
5201 #define wxDC_SetBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetBackgroundMode(_swigarg0))
5202 static PyObject
*_wrap_wxDC_SetBackgroundMode(PyObject
*self
, PyObject
*args
) {
5203 PyObject
* _resultobj
;
5206 PyObject
* _argo0
= 0;
5209 if(!PyArg_ParseTuple(args
,"Oi:wxDC_SetBackgroundMode",&_argo0
,&_arg1
))
5212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackgroundMode. Expected _wxDC_p.");
5219 wxPy_BEGIN_ALLOW_THREADS
;
5220 wxDC_SetBackgroundMode(_arg0
,_arg1
);
5222 wxPy_END_ALLOW_THREADS
;
5223 } Py_INCREF(Py_None
);
5224 _resultobj
= Py_None
;
5228 #define wxDC_SetClippingRegion(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetClippingRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5229 static PyObject
*_wrap_wxDC_SetClippingRegion(PyObject
*self
, PyObject
*args
) {
5230 PyObject
* _resultobj
;
5236 PyObject
* _argo0
= 0;
5239 if(!PyArg_ParseTuple(args
,"Ollll:wxDC_SetClippingRegion",&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
5242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetClippingRegion. Expected _wxDC_p.");
5249 wxPy_BEGIN_ALLOW_THREADS
;
5250 wxDC_SetClippingRegion(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5252 wxPy_END_ALLOW_THREADS
;
5253 } Py_INCREF(Py_None
);
5254 _resultobj
= Py_None
;
5258 #define wxDC_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
5259 static PyObject
*_wrap_wxDC_SetPalette(PyObject
*self
, PyObject
*args
) {
5260 PyObject
* _resultobj
;
5263 PyObject
* _argo0
= 0;
5264 PyObject
* _argo1
= 0;
5267 if(!PyArg_ParseTuple(args
,"OO:wxDC_SetPalette",&_argo0
,&_argo1
))
5270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPalette. Expected _wxDC_p.");
5277 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5278 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPalette_p")) {
5279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPalette. Expected _wxPalette_p.");
5284 wxPy_BEGIN_ALLOW_THREADS
;
5285 wxDC_SetPalette(_arg0
,*_arg1
);
5287 wxPy_END_ALLOW_THREADS
;
5288 } Py_INCREF(Py_None
);
5289 _resultobj
= Py_None
;
5293 #define wxDC_SetBrush(_swigobj,_swigarg0) (_swigobj->SetBrush(_swigarg0))
5294 static PyObject
*_wrap_wxDC_SetBrush(PyObject
*self
, PyObject
*args
) {
5295 PyObject
* _resultobj
;
5298 PyObject
* _argo0
= 0;
5299 PyObject
* _argo1
= 0;
5302 if(!PyArg_ParseTuple(args
,"OO:wxDC_SetBrush",&_argo0
,&_argo1
))
5305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBrush. Expected _wxDC_p.");
5312 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5313 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
5314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBrush. Expected _wxBrush_p.");
5319 wxPy_BEGIN_ALLOW_THREADS
;
5320 wxDC_SetBrush(_arg0
,*_arg1
);
5322 wxPy_END_ALLOW_THREADS
;
5323 } Py_INCREF(Py_None
);
5324 _resultobj
= Py_None
;
5328 #define wxDC_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
5329 static PyObject
*_wrap_wxDC_SetFont(PyObject
*self
, PyObject
*args
) {
5330 PyObject
* _resultobj
;
5333 PyObject
* _argo0
= 0;
5334 PyObject
* _argo1
= 0;
5337 if(!PyArg_ParseTuple(args
,"OO:wxDC_SetFont",&_argo0
,&_argo1
))
5340 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5341 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetFont. Expected _wxDC_p.");
5347 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5348 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
5349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetFont. Expected _wxFont_p.");
5354 wxPy_BEGIN_ALLOW_THREADS
;
5355 wxDC_SetFont(_arg0
,*_arg1
);
5357 wxPy_END_ALLOW_THREADS
;
5358 } Py_INCREF(Py_None
);
5359 _resultobj
= Py_None
;
5363 #define wxDC_SetLogicalFunction(_swigobj,_swigarg0) (_swigobj->SetLogicalFunction(_swigarg0))
5364 static PyObject
*_wrap_wxDC_SetLogicalFunction(PyObject
*self
, PyObject
*args
) {
5365 PyObject
* _resultobj
;
5368 PyObject
* _argo0
= 0;
5371 if(!PyArg_ParseTuple(args
,"Oi:wxDC_SetLogicalFunction",&_argo0
,&_arg1
))
5374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalFunction. Expected _wxDC_p.");
5381 wxPy_BEGIN_ALLOW_THREADS
;
5382 wxDC_SetLogicalFunction(_arg0
,_arg1
);
5384 wxPy_END_ALLOW_THREADS
;
5385 } Py_INCREF(Py_None
);
5386 _resultobj
= Py_None
;
5390 #define wxDC_SetMapMode(_swigobj,_swigarg0) (_swigobj->SetMapMode(_swigarg0))
5391 static PyObject
*_wrap_wxDC_SetMapMode(PyObject
*self
, PyObject
*args
) {
5392 PyObject
* _resultobj
;
5395 PyObject
* _argo0
= 0;
5398 if(!PyArg_ParseTuple(args
,"Oi:wxDC_SetMapMode",&_argo0
,&_arg1
))
5401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetMapMode. Expected _wxDC_p.");
5408 wxPy_BEGIN_ALLOW_THREADS
;
5409 wxDC_SetMapMode(_arg0
,_arg1
);
5411 wxPy_END_ALLOW_THREADS
;
5412 } Py_INCREF(Py_None
);
5413 _resultobj
= Py_None
;
5417 #define wxDC_SetOptimization(_swigobj,_swigarg0) (_swigobj->SetOptimization(_swigarg0))
5418 static PyObject
*_wrap_wxDC_SetOptimization(PyObject
*self
, PyObject
*args
) {
5419 PyObject
* _resultobj
;
5422 PyObject
* _argo0
= 0;
5426 if(!PyArg_ParseTuple(args
,"Oi:wxDC_SetOptimization",&_argo0
,&tempbool1
))
5429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetOptimization. Expected _wxDC_p.");
5435 _arg1
= (bool ) tempbool1
;
5437 wxPy_BEGIN_ALLOW_THREADS
;
5438 wxDC_SetOptimization(_arg0
,_arg1
);
5440 wxPy_END_ALLOW_THREADS
;
5441 } Py_INCREF(Py_None
);
5442 _resultobj
= Py_None
;
5446 #define wxDC_SetPen(_swigobj,_swigarg0) (_swigobj->SetPen(_swigarg0))
5447 static PyObject
*_wrap_wxDC_SetPen(PyObject
*self
, PyObject
*args
) {
5448 PyObject
* _resultobj
;
5451 PyObject
* _argo0
= 0;
5452 PyObject
* _argo1
= 0;
5455 if(!PyArg_ParseTuple(args
,"OO:wxDC_SetPen",&_argo0
,&_argo1
))
5458 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5459 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPen. Expected _wxDC_p.");
5465 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5466 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
5467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPen. Expected _wxPen_p.");
5472 wxPy_BEGIN_ALLOW_THREADS
;
5473 wxDC_SetPen(_arg0
,*_arg1
);
5475 wxPy_END_ALLOW_THREADS
;
5476 } Py_INCREF(Py_None
);
5477 _resultobj
= Py_None
;
5481 #define wxDC_SetTextBackground(_swigobj,_swigarg0) (_swigobj->SetTextBackground(_swigarg0))
5482 static PyObject
*_wrap_wxDC_SetTextBackground(PyObject
*self
, PyObject
*args
) {
5483 PyObject
* _resultobj
;
5486 PyObject
* _argo0
= 0;
5487 PyObject
* _argo1
= 0;
5490 if(!PyArg_ParseTuple(args
,"OO:wxDC_SetTextBackground",&_argo0
,&_argo1
))
5493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextBackground. Expected _wxDC_p.");
5500 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5501 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
5502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetTextBackground. Expected _wxColour_p.");
5507 wxPy_BEGIN_ALLOW_THREADS
;
5508 wxDC_SetTextBackground(_arg0
,*_arg1
);
5510 wxPy_END_ALLOW_THREADS
;
5511 } Py_INCREF(Py_None
);
5512 _resultobj
= Py_None
;
5516 #define wxDC_SetTextForeground(_swigobj,_swigarg0) (_swigobj->SetTextForeground(_swigarg0))
5517 static PyObject
*_wrap_wxDC_SetTextForeground(PyObject
*self
, PyObject
*args
) {
5518 PyObject
* _resultobj
;
5521 PyObject
* _argo0
= 0;
5522 PyObject
* _argo1
= 0;
5525 if(!PyArg_ParseTuple(args
,"OO:wxDC_SetTextForeground",&_argo0
,&_argo1
))
5528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextForeground. Expected _wxDC_p.");
5535 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5536 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
5537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetTextForeground. Expected _wxColour_p.");
5542 wxPy_BEGIN_ALLOW_THREADS
;
5543 wxDC_SetTextForeground(_arg0
,*_arg1
);
5545 wxPy_END_ALLOW_THREADS
;
5546 } Py_INCREF(Py_None
);
5547 _resultobj
= Py_None
;
5551 #define wxDC_SetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetUserScale(_swigarg0,_swigarg1))
5552 static PyObject
*_wrap_wxDC_SetUserScale(PyObject
*self
, PyObject
*args
) {
5553 PyObject
* _resultobj
;
5557 PyObject
* _argo0
= 0;
5560 if(!PyArg_ParseTuple(args
,"Odd:wxDC_SetUserScale",&_argo0
,&_arg1
,&_arg2
))
5563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetUserScale. Expected _wxDC_p.");
5570 wxPy_BEGIN_ALLOW_THREADS
;
5571 wxDC_SetUserScale(_arg0
,_arg1
,_arg2
);
5573 wxPy_END_ALLOW_THREADS
;
5574 } Py_INCREF(Py_None
);
5575 _resultobj
= Py_None
;
5579 #define wxDC_StartDoc(_swigobj,_swigarg0) (_swigobj->StartDoc(_swigarg0))
5580 static PyObject
*_wrap_wxDC_StartDoc(PyObject
*self
, PyObject
*args
) {
5581 PyObject
* _resultobj
;
5585 PyObject
* _argo0
= 0;
5586 PyObject
* _obj1
= 0;
5589 if(!PyArg_ParseTuple(args
,"OO:wxDC_StartDoc",&_argo0
,&_obj1
))
5592 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5593 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartDoc. Expected _wxDC_p.");
5599 if (!PyString_Check(_obj1
)) {
5600 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5603 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5606 wxPy_BEGIN_ALLOW_THREADS
;
5607 _result
= (bool )wxDC_StartDoc(_arg0
,*_arg1
);
5609 wxPy_END_ALLOW_THREADS
;
5610 } _resultobj
= Py_BuildValue("i",_result
);
5618 #define wxDC_StartPage(_swigobj) (_swigobj->StartPage())
5619 static PyObject
*_wrap_wxDC_StartPage(PyObject
*self
, PyObject
*args
) {
5620 PyObject
* _resultobj
;
5622 PyObject
* _argo0
= 0;
5625 if(!PyArg_ParseTuple(args
,"O:wxDC_StartPage",&_argo0
))
5628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartPage. Expected _wxDC_p.");
5635 wxPy_BEGIN_ALLOW_THREADS
;
5636 wxDC_StartPage(_arg0
);
5638 wxPy_END_ALLOW_THREADS
;
5639 } Py_INCREF(Py_None
);
5640 _resultobj
= Py_None
;
5644 #define wxDC_DrawBitmap(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5645 static PyObject
*_wrap_wxDC_DrawBitmap(PyObject
*self
, PyObject
*args
) {
5646 PyObject
* _resultobj
;
5651 int _arg4
= (int ) FALSE
;
5652 PyObject
* _argo0
= 0;
5653 PyObject
* _argo1
= 0;
5656 if(!PyArg_ParseTuple(args
,"OOll|i:wxDC_DrawBitmap",&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
))
5659 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5660 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawBitmap. Expected _wxDC_p.");
5666 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5667 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
5668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawBitmap. Expected _wxBitmap_p.");
5673 wxPy_BEGIN_ALLOW_THREADS
;
5674 wxDC_DrawBitmap(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
5676 wxPy_END_ALLOW_THREADS
;
5677 } Py_INCREF(Py_None
);
5678 _resultobj
= Py_None
;
5682 static void *SwigwxMemoryDCTowxDC(void *ptr
) {
5685 src
= (wxMemoryDC
*) ptr
;
5686 dest
= (wxDC
*) src
;
5687 return (void *) dest
;
5690 #define new_wxMemoryDC() (new wxMemoryDC())
5691 static PyObject
*_wrap_new_wxMemoryDC(PyObject
*self
, PyObject
*args
) {
5692 PyObject
* _resultobj
;
5693 wxMemoryDC
* _result
;
5697 if(!PyArg_ParseTuple(args
,":new_wxMemoryDC"))
5700 wxPy_BEGIN_ALLOW_THREADS
;
5701 _result
= (wxMemoryDC
*)new_wxMemoryDC();
5703 wxPy_END_ALLOW_THREADS
;
5705 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
5706 _resultobj
= Py_BuildValue("s",_ptemp
);
5709 _resultobj
= Py_None
;
5714 #define wxMemoryDC_SelectObject(_swigobj,_swigarg0) (_swigobj->SelectObject(_swigarg0))
5715 static PyObject
*_wrap_wxMemoryDC_SelectObject(PyObject
*self
, PyObject
*args
) {
5716 PyObject
* _resultobj
;
5719 PyObject
* _argo0
= 0;
5720 PyObject
* _argo1
= 0;
5723 if(!PyArg_ParseTuple(args
,"OO:wxMemoryDC_SelectObject",&_argo0
,&_argo1
))
5726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMemoryDC_p")) {
5728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDC_SelectObject. Expected _wxMemoryDC_p.");
5733 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5734 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
5735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMemoryDC_SelectObject. Expected _wxBitmap_p.");
5740 wxPy_BEGIN_ALLOW_THREADS
;
5741 wxMemoryDC_SelectObject(_arg0
,*_arg1
);
5743 wxPy_END_ALLOW_THREADS
;
5744 } Py_INCREF(Py_None
);
5745 _resultobj
= Py_None
;
5749 static void *SwigwxScreenDCTowxDC(void *ptr
) {
5752 src
= (wxScreenDC
*) ptr
;
5753 dest
= (wxDC
*) src
;
5754 return (void *) dest
;
5757 #define new_wxScreenDC() (new wxScreenDC())
5758 static PyObject
*_wrap_new_wxScreenDC(PyObject
*self
, PyObject
*args
) {
5759 PyObject
* _resultobj
;
5760 wxScreenDC
* _result
;
5764 if(!PyArg_ParseTuple(args
,":new_wxScreenDC"))
5767 wxPy_BEGIN_ALLOW_THREADS
;
5768 _result
= (wxScreenDC
*)new_wxScreenDC();
5770 wxPy_END_ALLOW_THREADS
;
5772 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScreenDC_p");
5773 _resultobj
= Py_BuildValue("s",_ptemp
);
5776 _resultobj
= Py_None
;
5781 #define wxScreenDC_StartDrawingOnTop(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
5782 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
) {
5783 PyObject
* _resultobj
;
5787 PyObject
* _argo0
= 0;
5788 PyObject
* _argo1
= 0;
5791 if(!PyArg_ParseTuple(args
,"OO:wxScreenDC_StartDrawingOnTop",&_argo0
,&_argo1
))
5794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
5796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTop. Expected _wxScreenDC_p.");
5801 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5802 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScreenDC_StartDrawingOnTop. Expected _wxWindow_p.");
5808 wxPy_BEGIN_ALLOW_THREADS
;
5809 _result
= (bool )wxScreenDC_StartDrawingOnTop(_arg0
,_arg1
);
5811 wxPy_END_ALLOW_THREADS
;
5812 } _resultobj
= Py_BuildValue("i",_result
);
5816 #define wxScreenDC_StartDrawingOnTopRect(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
5817 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTopRect(PyObject
*self
, PyObject
*args
) {
5818 PyObject
* _resultobj
;
5821 wxRect
* _arg1
= (wxRect
*) NULL
;
5822 PyObject
* _argo0
= 0;
5823 PyObject
* _argo1
= 0;
5826 if(!PyArg_ParseTuple(args
,"O|O:wxScreenDC_StartDrawingOnTopRect",&_argo0
,&_argo1
))
5829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
5831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTopRect. Expected _wxScreenDC_p.");
5836 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5837 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRect_p")) {
5838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScreenDC_StartDrawingOnTopRect. Expected _wxRect_p.");
5843 wxPy_BEGIN_ALLOW_THREADS
;
5844 _result
= (bool )wxScreenDC_StartDrawingOnTopRect(_arg0
,_arg1
);
5846 wxPy_END_ALLOW_THREADS
;
5847 } _resultobj
= Py_BuildValue("i",_result
);
5851 #define wxScreenDC_EndDrawingOnTop(_swigobj) (_swigobj->EndDrawingOnTop())
5852 static PyObject
*_wrap_wxScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
) {
5853 PyObject
* _resultobj
;
5856 PyObject
* _argo0
= 0;
5859 if(!PyArg_ParseTuple(args
,"O:wxScreenDC_EndDrawingOnTop",&_argo0
))
5862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
5864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_EndDrawingOnTop. Expected _wxScreenDC_p.");
5869 wxPy_BEGIN_ALLOW_THREADS
;
5870 _result
= (bool )wxScreenDC_EndDrawingOnTop(_arg0
);
5872 wxPy_END_ALLOW_THREADS
;
5873 } _resultobj
= Py_BuildValue("i",_result
);
5877 static void *SwigwxClientDCTowxDC(void *ptr
) {
5880 src
= (wxClientDC
*) ptr
;
5881 dest
= (wxDC
*) src
;
5882 return (void *) dest
;
5885 #define new_wxClientDC(_swigarg0) (new wxClientDC(_swigarg0))
5886 static PyObject
*_wrap_new_wxClientDC(PyObject
*self
, PyObject
*args
) {
5887 PyObject
* _resultobj
;
5888 wxClientDC
* _result
;
5890 PyObject
* _argo0
= 0;
5894 if(!PyArg_ParseTuple(args
,"O:new_wxClientDC",&_argo0
))
5897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxClientDC. Expected _wxWindow_p.");
5904 wxPy_BEGIN_ALLOW_THREADS
;
5905 _result
= (wxClientDC
*)new_wxClientDC(_arg0
);
5907 wxPy_END_ALLOW_THREADS
;
5909 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxClientDC_p");
5910 _resultobj
= Py_BuildValue("s",_ptemp
);
5913 _resultobj
= Py_None
;
5918 static void *SwigwxPaintDCTowxDC(void *ptr
) {
5921 src
= (wxPaintDC
*) ptr
;
5922 dest
= (wxDC
*) src
;
5923 return (void *) dest
;
5926 #define new_wxPaintDC(_swigarg0) (new wxPaintDC(_swigarg0))
5927 static PyObject
*_wrap_new_wxPaintDC(PyObject
*self
, PyObject
*args
) {
5928 PyObject
* _resultobj
;
5929 wxPaintDC
* _result
;
5931 PyObject
* _argo0
= 0;
5935 if(!PyArg_ParseTuple(args
,"O:new_wxPaintDC",&_argo0
))
5938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPaintDC. Expected _wxWindow_p.");
5945 wxPy_BEGIN_ALLOW_THREADS
;
5946 _result
= (wxPaintDC
*)new_wxPaintDC(_arg0
);
5948 wxPy_END_ALLOW_THREADS
;
5950 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPaintDC_p");
5951 _resultobj
= Py_BuildValue("s",_ptemp
);
5954 _resultobj
= Py_None
;
5959 static void *SwigwxWindowDCTowxDC(void *ptr
) {
5962 src
= (wxWindowDC
*) ptr
;
5963 dest
= (wxDC
*) src
;
5964 return (void *) dest
;
5967 #define new_wxWindowDC(_swigarg0) (new wxWindowDC(_swigarg0))
5968 static PyObject
*_wrap_new_wxWindowDC(PyObject
*self
, PyObject
*args
) {
5969 PyObject
* _resultobj
;
5970 wxWindowDC
* _result
;
5972 PyObject
* _argo0
= 0;
5976 if(!PyArg_ParseTuple(args
,"O:new_wxWindowDC",&_argo0
))
5979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDC. Expected _wxWindow_p.");
5986 wxPy_BEGIN_ALLOW_THREADS
;
5987 _result
= (wxWindowDC
*)new_wxWindowDC(_arg0
);
5989 wxPy_END_ALLOW_THREADS
;
5991 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDC_p");
5992 _resultobj
= Py_BuildValue("s",_ptemp
);
5995 _resultobj
= Py_None
;
6000 static void *SwigwxPrinterDCTowxDC(void *ptr
) {
6003 src
= (wxPrinterDC
*) ptr
;
6004 dest
= (wxDC
*) src
;
6005 return (void *) dest
;
6008 #define new_wxPrinterDC(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxPrinterDC(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6009 static PyObject
*_wrap_new_wxPrinterDC(PyObject
*self
, PyObject
*args
) {
6010 PyObject
* _resultobj
;
6011 wxPrinterDC
* _result
;
6015 bool _arg3
= (bool ) TRUE
;
6016 int _arg4
= (int ) wxPORTRAIT
;
6017 PyObject
* _obj0
= 0;
6018 PyObject
* _obj1
= 0;
6019 PyObject
* _obj2
= 0;
6020 int tempbool3
= (int) TRUE
;
6024 if(!PyArg_ParseTuple(args
,"OOO|ii:new_wxPrinterDC",&_obj0
,&_obj1
,&_obj2
,&tempbool3
,&_arg4
))
6027 if (!PyString_Check(_obj0
)) {
6028 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6031 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
6034 if (!PyString_Check(_obj1
)) {
6035 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6038 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
6041 if (!PyString_Check(_obj2
)) {
6042 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6045 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6047 _arg3
= (bool ) tempbool3
;
6049 wxPy_BEGIN_ALLOW_THREADS
;
6050 _result
= (wxPrinterDC
*)new_wxPrinterDC(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
6052 wxPy_END_ALLOW_THREADS
;
6054 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrinterDC_p");
6055 _resultobj
= Py_BuildValue("s",_ptemp
);
6058 _resultobj
= Py_None
;
6075 static void *SwigwxMetaFileDCTowxDC(void *ptr
) {
6078 src
= (wxMetaFileDC
*) ptr
;
6079 dest
= (wxDC
*) src
;
6080 return (void *) dest
;
6083 #define new_wxMetaFileDC(_swigarg0) (new wxMetaFileDC(_swigarg0))
6084 static PyObject
*_wrap_new_wxMetaFileDC(PyObject
*self
, PyObject
*args
) {
6085 PyObject
* _resultobj
;
6086 wxMetaFileDC
* _result
;
6087 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
6088 PyObject
* _obj0
= 0;
6092 if(!PyArg_ParseTuple(args
,"|O:new_wxMetaFileDC",&_obj0
))
6096 if (!PyString_Check(_obj0
)) {
6097 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6100 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
6103 wxPy_BEGIN_ALLOW_THREADS
;
6104 _result
= (wxMetaFileDC
*)new_wxMetaFileDC(*_arg0
);
6106 wxPy_END_ALLOW_THREADS
;
6108 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMetaFileDC_p");
6109 _resultobj
= Py_BuildValue("s",_ptemp
);
6112 _resultobj
= Py_None
;
6121 #define wxMetaFileDC_Close(_swigobj) (_swigobj->Close())
6122 static PyObject
*_wrap_wxMetaFileDC_Close(PyObject
*self
, PyObject
*args
) {
6123 PyObject
* _resultobj
;
6124 wxMetaFile
* _result
;
6125 wxMetaFileDC
* _arg0
;
6126 PyObject
* _argo0
= 0;
6130 if(!PyArg_ParseTuple(args
,"O:wxMetaFileDC_Close",&_argo0
))
6133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMetaFileDC_p")) {
6135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMetaFileDC_Close. Expected _wxMetaFileDC_p.");
6140 wxPy_BEGIN_ALLOW_THREADS
;
6141 _result
= (wxMetaFile
*)wxMetaFileDC_Close(_arg0
);
6143 wxPy_END_ALLOW_THREADS
;
6145 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMetaFile_p");
6146 _resultobj
= Py_BuildValue("s",_ptemp
);
6149 _resultobj
= Py_None
;
6154 #define new_wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6155 static PyObject
*_wrap_new_wxPalette(PyObject
*self
, PyObject
*args
) {
6156 PyObject
* _resultobj
;
6157 wxPalette
* _result
;
6162 PyObject
* _obj1
= 0;
6163 PyObject
* _obj2
= 0;
6164 PyObject
* _obj3
= 0;
6168 if(!PyArg_ParseTuple(args
,"OOO:new_wxPalette",&_obj1
,&_obj2
,&_obj3
))
6171 _arg1
= byte_LIST_helper(_obj1
);
6172 if (_arg1
== NULL
) {
6177 _arg2
= byte_LIST_helper(_obj2
);
6178 if (_arg2
== NULL
) {
6184 _arg3
= byte_LIST_helper(_obj3
);
6185 if (_arg3
== NULL
) {
6191 _arg0
= PyList_Size(_obj1
);
6198 wxPy_BEGIN_ALLOW_THREADS
;
6199 _result
= (wxPalette
*)new_wxPalette(_arg0
,_arg1
,_arg2
,_arg3
);
6201 wxPy_END_ALLOW_THREADS
;
6203 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
6204 _resultobj
= Py_BuildValue("s",_ptemp
);
6207 _resultobj
= Py_None
;
6221 #define delete_wxPalette(_swigobj) (delete _swigobj)
6222 static PyObject
*_wrap_delete_wxPalette(PyObject
*self
, PyObject
*args
) {
6223 PyObject
* _resultobj
;
6225 PyObject
* _argo0
= 0;
6228 if(!PyArg_ParseTuple(args
,"O:delete_wxPalette",&_argo0
))
6231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
6233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPalette. Expected _wxPalette_p.");
6238 wxPy_BEGIN_ALLOW_THREADS
;
6239 delete_wxPalette(_arg0
);
6241 wxPy_END_ALLOW_THREADS
;
6242 } Py_INCREF(Py_None
);
6243 _resultobj
= Py_None
;
6247 #define wxPalette_GetPixel(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetPixel(_swigarg0,_swigarg1,_swigarg2))
6248 static PyObject
*_wrap_wxPalette_GetPixel(PyObject
*self
, PyObject
*args
) {
6249 PyObject
* _resultobj
;
6255 PyObject
* _argo0
= 0;
6258 if(!PyArg_ParseTuple(args
,"Obbb:wxPalette_GetPixel",&_argo0
,&_arg1
,&_arg2
,&_arg3
))
6261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
6263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetPixel. Expected _wxPalette_p.");
6268 wxPy_BEGIN_ALLOW_THREADS
;
6269 _result
= (int )wxPalette_GetPixel(_arg0
,_arg1
,_arg2
,_arg3
);
6271 wxPy_END_ALLOW_THREADS
;
6272 } _resultobj
= Py_BuildValue("i",_result
);
6276 #define wxPalette_GetRGB(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetRGB(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6277 static PyObject
*_wrap_wxPalette_GetRGB(PyObject
*self
, PyObject
*args
) {
6278 PyObject
* _resultobj
;
6285 PyObject
* _argo0
= 0;
6286 PyObject
* _argo2
= 0;
6287 PyObject
* _argo3
= 0;
6288 PyObject
* _argo4
= 0;
6291 if(!PyArg_ParseTuple(args
,"OiOOO:wxPalette_GetRGB",&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_argo4
))
6294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
6296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetRGB. Expected _wxPalette_p.");
6301 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6302 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_byte_p")) {
6303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPalette_GetRGB. Expected _byte_p.");
6308 if (_argo3
== Py_None
) { _arg3
= NULL
; }
6309 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_byte_p")) {
6310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxPalette_GetRGB. Expected _byte_p.");
6315 if (_argo4
== Py_None
) { _arg4
= NULL
; }
6316 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_byte_p")) {
6317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxPalette_GetRGB. Expected _byte_p.");
6322 wxPy_BEGIN_ALLOW_THREADS
;
6323 _result
= (bool )wxPalette_GetRGB(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6325 wxPy_END_ALLOW_THREADS
;
6326 } _resultobj
= Py_BuildValue("i",_result
);
6330 #define wxPalette_Ok(_swigobj) (_swigobj->Ok())
6331 static PyObject
*_wrap_wxPalette_Ok(PyObject
*self
, PyObject
*args
) {
6332 PyObject
* _resultobj
;
6335 PyObject
* _argo0
= 0;
6338 if(!PyArg_ParseTuple(args
,"O:wxPalette_Ok",&_argo0
))
6341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
6343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_Ok. Expected _wxPalette_p.");
6348 wxPy_BEGIN_ALLOW_THREADS
;
6349 _result
= (bool )wxPalette_Ok(_arg0
);
6351 wxPy_END_ALLOW_THREADS
;
6352 } _resultobj
= Py_BuildValue("i",_result
);
6356 #define new_wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6357 static PyObject
*_wrap_new_wxImageList(PyObject
*self
, PyObject
*args
) {
6358 PyObject
* _resultobj
;
6359 wxImageList
* _result
;
6362 bool _arg2
= (bool ) TRUE
;
6363 int _arg3
= (int ) 1;
6364 int tempbool2
= (int) TRUE
;
6368 if(!PyArg_ParseTuple(args
,"ii|ii:new_wxImageList",&_arg0
,&_arg1
,&tempbool2
,&_arg3
))
6370 _arg2
= (bool ) tempbool2
;
6372 wxPy_BEGIN_ALLOW_THREADS
;
6373 _result
= (wxImageList
*)new_wxImageList(_arg0
,_arg1
,_arg2
,_arg3
);
6375 wxPy_END_ALLOW_THREADS
;
6377 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
6378 _resultobj
= Py_BuildValue("s",_ptemp
);
6381 _resultobj
= Py_None
;
6386 #define delete_wxImageList(_swigobj) (delete _swigobj)
6387 static PyObject
*_wrap_delete_wxImageList(PyObject
*self
, PyObject
*args
) {
6388 PyObject
* _resultobj
;
6389 wxImageList
* _arg0
;
6390 PyObject
* _argo0
= 0;
6393 if(!PyArg_ParseTuple(args
,"O:delete_wxImageList",&_argo0
))
6396 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6397 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxImageList. Expected _wxImageList_p.");
6403 wxPy_BEGIN_ALLOW_THREADS
;
6404 delete_wxImageList(_arg0
);
6406 wxPy_END_ALLOW_THREADS
;
6407 } Py_INCREF(Py_None
);
6408 _resultobj
= Py_None
;
6412 #define wxImageList_Add(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
6413 static PyObject
*_wrap_wxImageList_Add(PyObject
*self
, PyObject
*args
) {
6414 PyObject
* _resultobj
;
6416 wxImageList
* _arg0
;
6418 wxBitmap
* _arg2
= (wxBitmap
*) &wxNullBitmap
;
6419 PyObject
* _argo0
= 0;
6420 PyObject
* _argo1
= 0;
6421 PyObject
* _argo2
= 0;
6424 if(!PyArg_ParseTuple(args
,"OO|O:wxImageList_Add",&_argo0
,&_argo1
,&_argo2
))
6427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Add. Expected _wxImageList_p.");
6434 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6435 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
6436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_Add. Expected _wxBitmap_p.");
6441 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6442 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
6443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Add. Expected _wxBitmap_p.");
6448 wxPy_BEGIN_ALLOW_THREADS
;
6449 _result
= (int )wxImageList_Add(_arg0
,*_arg1
,*_arg2
);
6451 wxPy_END_ALLOW_THREADS
;
6452 } _resultobj
= Py_BuildValue("i",_result
);
6456 #define wxImageList_AddWithColourMask(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
6457 static PyObject
*_wrap_wxImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
) {
6458 PyObject
* _resultobj
;
6460 wxImageList
* _arg0
;
6463 PyObject
* _argo0
= 0;
6464 PyObject
* _argo1
= 0;
6465 PyObject
* _argo2
= 0;
6468 if(!PyArg_ParseTuple(args
,"OOO:wxImageList_AddWithColourMask",&_argo0
,&_argo1
,&_argo2
))
6471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_AddWithColourMask. Expected _wxImageList_p.");
6478 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6479 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
6480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_AddWithColourMask. Expected _wxBitmap_p.");
6485 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6486 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxColour_p")) {
6487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_AddWithColourMask. Expected _wxColour_p.");
6492 wxPy_BEGIN_ALLOW_THREADS
;
6493 _result
= (int )wxImageList_AddWithColourMask(_arg0
,*_arg1
,*_arg2
);
6495 wxPy_END_ALLOW_THREADS
;
6496 } _resultobj
= Py_BuildValue("i",_result
);
6500 #define wxImageList_AddIcon(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
6501 static PyObject
*_wrap_wxImageList_AddIcon(PyObject
*self
, PyObject
*args
) {
6502 PyObject
* _resultobj
;
6504 wxImageList
* _arg0
;
6506 PyObject
* _argo0
= 0;
6507 PyObject
* _argo1
= 0;
6510 if(!PyArg_ParseTuple(args
,"OO:wxImageList_AddIcon",&_argo0
,&_argo1
))
6513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_AddIcon. Expected _wxImageList_p.");
6520 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6521 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
6522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_AddIcon. Expected _wxIcon_p.");
6527 wxPy_BEGIN_ALLOW_THREADS
;
6528 _result
= (int )wxImageList_AddIcon(_arg0
,*_arg1
);
6530 wxPy_END_ALLOW_THREADS
;
6531 } _resultobj
= Py_BuildValue("i",_result
);
6535 #define wxImageList_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
6536 static PyObject
*_wrap_wxImageList_Replace(PyObject
*self
, PyObject
*args
) {
6537 PyObject
* _resultobj
;
6539 wxImageList
* _arg0
;
6542 wxBitmap
* _arg3
= (wxBitmap
*) &wxNullBitmap
;
6543 PyObject
* _argo0
= 0;
6544 PyObject
* _argo2
= 0;
6545 PyObject
* _argo3
= 0;
6548 if(!PyArg_ParseTuple(args
,"OiO|O:wxImageList_Replace",&_argo0
,&_arg1
,&_argo2
,&_argo3
))
6551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Replace. Expected _wxImageList_p.");
6558 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6559 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
6560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Replace. Expected _wxBitmap_p.");
6565 if (_argo3
== Py_None
) { _arg3
= NULL
; }
6566 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
6567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxImageList_Replace. Expected _wxBitmap_p.");
6572 wxPy_BEGIN_ALLOW_THREADS
;
6573 _result
= (bool )wxImageList_Replace(_arg0
,_arg1
,*_arg2
,*_arg3
);
6575 wxPy_END_ALLOW_THREADS
;
6576 } _resultobj
= Py_BuildValue("i",_result
);
6580 #define wxImageList_ReplaceIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->Replace(_swigarg0,_swigarg1))
6581 static PyObject
*_wrap_wxImageList_ReplaceIcon(PyObject
*self
, PyObject
*args
) {
6582 PyObject
* _resultobj
;
6584 wxImageList
* _arg0
;
6587 PyObject
* _argo0
= 0;
6588 PyObject
* _argo2
= 0;
6591 if(!PyArg_ParseTuple(args
,"OiO:wxImageList_ReplaceIcon",&_argo0
,&_arg1
,&_argo2
))
6594 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6595 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_ReplaceIcon. Expected _wxImageList_p.");
6601 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6602 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxIcon_p")) {
6603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_ReplaceIcon. Expected _wxIcon_p.");
6608 wxPy_BEGIN_ALLOW_THREADS
;
6609 _result
= (bool )wxImageList_ReplaceIcon(_arg0
,_arg1
,*_arg2
);
6611 wxPy_END_ALLOW_THREADS
;
6612 } _resultobj
= Py_BuildValue("i",_result
);
6616 #define wxImageList_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6617 static PyObject
*_wrap_wxImageList_Draw(PyObject
*self
, PyObject
*args
) {
6618 PyObject
* _resultobj
;
6620 wxImageList
* _arg0
;
6625 int _arg5
= (int ) (wxIMAGELIST_DRAW_NORMAL
);
6626 bool _arg6
= (bool ) FALSE
;
6627 PyObject
* _argo0
= 0;
6628 PyObject
* _argo2
= 0;
6629 int tempbool6
= (int) FALSE
;
6632 if(!PyArg_ParseTuple(args
,"OiOii|ii:wxImageList_Draw",&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
6635 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6636 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Draw. Expected _wxImageList_p.");
6642 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6643 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDC_p")) {
6644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Draw. Expected _wxDC_p.");
6648 _arg6
= (bool ) tempbool6
;
6650 wxPy_BEGIN_ALLOW_THREADS
;
6651 _result
= (bool )wxImageList_Draw(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
6653 wxPy_END_ALLOW_THREADS
;
6654 } _resultobj
= Py_BuildValue("i",_result
);
6658 #define wxImageList_GetImageCount(_swigobj) (_swigobj->GetImageCount())
6659 static PyObject
*_wrap_wxImageList_GetImageCount(PyObject
*self
, PyObject
*args
) {
6660 PyObject
* _resultobj
;
6662 wxImageList
* _arg0
;
6663 PyObject
* _argo0
= 0;
6666 if(!PyArg_ParseTuple(args
,"O:wxImageList_GetImageCount",&_argo0
))
6669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_GetImageCount. Expected _wxImageList_p.");
6676 wxPy_BEGIN_ALLOW_THREADS
;
6677 _result
= (int )wxImageList_GetImageCount(_arg0
);
6679 wxPy_END_ALLOW_THREADS
;
6680 } _resultobj
= Py_BuildValue("i",_result
);
6684 #define wxImageList_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
6685 static PyObject
*_wrap_wxImageList_Remove(PyObject
*self
, PyObject
*args
) {
6686 PyObject
* _resultobj
;
6688 wxImageList
* _arg0
;
6690 PyObject
* _argo0
= 0;
6693 if(!PyArg_ParseTuple(args
,"Oi:wxImageList_Remove",&_argo0
,&_arg1
))
6696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Remove. Expected _wxImageList_p.");
6703 wxPy_BEGIN_ALLOW_THREADS
;
6704 _result
= (bool )wxImageList_Remove(_arg0
,_arg1
);
6706 wxPy_END_ALLOW_THREADS
;
6707 } _resultobj
= Py_BuildValue("i",_result
);
6711 #define wxImageList_RemoveAll(_swigobj) (_swigobj->RemoveAll())
6712 static PyObject
*_wrap_wxImageList_RemoveAll(PyObject
*self
, PyObject
*args
) {
6713 PyObject
* _resultobj
;
6715 wxImageList
* _arg0
;
6716 PyObject
* _argo0
= 0;
6719 if(!PyArg_ParseTuple(args
,"O:wxImageList_RemoveAll",&_argo0
))
6722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_RemoveAll. Expected _wxImageList_p.");
6729 wxPy_BEGIN_ALLOW_THREADS
;
6730 _result
= (bool )wxImageList_RemoveAll(_arg0
);
6732 wxPy_END_ALLOW_THREADS
;
6733 } _resultobj
= Py_BuildValue("i",_result
);
6737 static PyMethodDef gdicMethods
[] = {
6738 { "wxImageList_RemoveAll", _wrap_wxImageList_RemoveAll
, METH_VARARGS
},
6739 { "wxImageList_Remove", _wrap_wxImageList_Remove
, METH_VARARGS
},
6740 { "wxImageList_GetImageCount", _wrap_wxImageList_GetImageCount
, METH_VARARGS
},
6741 { "wxImageList_Draw", _wrap_wxImageList_Draw
, METH_VARARGS
},
6742 { "wxImageList_ReplaceIcon", _wrap_wxImageList_ReplaceIcon
, METH_VARARGS
},
6743 { "wxImageList_Replace", _wrap_wxImageList_Replace
, METH_VARARGS
},
6744 { "wxImageList_AddIcon", _wrap_wxImageList_AddIcon
, METH_VARARGS
},
6745 { "wxImageList_AddWithColourMask", _wrap_wxImageList_AddWithColourMask
, METH_VARARGS
},
6746 { "wxImageList_Add", _wrap_wxImageList_Add
, METH_VARARGS
},
6747 { "delete_wxImageList", _wrap_delete_wxImageList
, METH_VARARGS
},
6748 { "new_wxImageList", _wrap_new_wxImageList
, METH_VARARGS
},
6749 { "wxPalette_Ok", _wrap_wxPalette_Ok
, METH_VARARGS
},
6750 { "wxPalette_GetRGB", _wrap_wxPalette_GetRGB
, METH_VARARGS
},
6751 { "wxPalette_GetPixel", _wrap_wxPalette_GetPixel
, METH_VARARGS
},
6752 { "delete_wxPalette", _wrap_delete_wxPalette
, METH_VARARGS
},
6753 { "new_wxPalette", _wrap_new_wxPalette
, METH_VARARGS
},
6754 { "wxMetaFileDC_Close", _wrap_wxMetaFileDC_Close
, METH_VARARGS
},
6755 { "new_wxMetaFileDC", _wrap_new_wxMetaFileDC
, METH_VARARGS
},
6756 { "new_wxPrinterDC", _wrap_new_wxPrinterDC
, METH_VARARGS
},
6757 { "new_wxWindowDC", _wrap_new_wxWindowDC
, METH_VARARGS
},
6758 { "new_wxPaintDC", _wrap_new_wxPaintDC
, METH_VARARGS
},
6759 { "new_wxClientDC", _wrap_new_wxClientDC
, METH_VARARGS
},
6760 { "wxScreenDC_EndDrawingOnTop", _wrap_wxScreenDC_EndDrawingOnTop
, METH_VARARGS
},
6761 { "wxScreenDC_StartDrawingOnTopRect", _wrap_wxScreenDC_StartDrawingOnTopRect
, METH_VARARGS
},
6762 { "wxScreenDC_StartDrawingOnTop", _wrap_wxScreenDC_StartDrawingOnTop
, METH_VARARGS
},
6763 { "new_wxScreenDC", _wrap_new_wxScreenDC
, METH_VARARGS
},
6764 { "wxMemoryDC_SelectObject", _wrap_wxMemoryDC_SelectObject
, METH_VARARGS
},
6765 { "new_wxMemoryDC", _wrap_new_wxMemoryDC
, METH_VARARGS
},
6766 { "wxDC_DrawBitmap", _wrap_wxDC_DrawBitmap
, METH_VARARGS
},
6767 { "wxDC_StartPage", _wrap_wxDC_StartPage
, METH_VARARGS
},
6768 { "wxDC_StartDoc", _wrap_wxDC_StartDoc
, METH_VARARGS
},
6769 { "wxDC_SetUserScale", _wrap_wxDC_SetUserScale
, METH_VARARGS
},
6770 { "wxDC_SetTextForeground", _wrap_wxDC_SetTextForeground
, METH_VARARGS
},
6771 { "wxDC_SetTextBackground", _wrap_wxDC_SetTextBackground
, METH_VARARGS
},
6772 { "wxDC_SetPen", _wrap_wxDC_SetPen
, METH_VARARGS
},
6773 { "wxDC_SetOptimization", _wrap_wxDC_SetOptimization
, METH_VARARGS
},
6774 { "wxDC_SetMapMode", _wrap_wxDC_SetMapMode
, METH_VARARGS
},
6775 { "wxDC_SetLogicalFunction", _wrap_wxDC_SetLogicalFunction
, METH_VARARGS
},
6776 { "wxDC_SetFont", _wrap_wxDC_SetFont
, METH_VARARGS
},
6777 { "wxDC_SetBrush", _wrap_wxDC_SetBrush
, METH_VARARGS
},
6778 { "wxDC_SetPalette", _wrap_wxDC_SetPalette
, METH_VARARGS
},
6779 { "wxDC_SetClippingRegion", _wrap_wxDC_SetClippingRegion
, METH_VARARGS
},
6780 { "wxDC_SetBackgroundMode", _wrap_wxDC_SetBackgroundMode
, METH_VARARGS
},
6781 { "wxDC_SetBackground", _wrap_wxDC_SetBackground
, METH_VARARGS
},
6782 { "wxDC_SetDeviceOrigin", _wrap_wxDC_SetDeviceOrigin
, METH_VARARGS
},
6783 { "wxDC_Ok", _wrap_wxDC_Ok
, METH_VARARGS
},
6784 { "wxDC_MinY", _wrap_wxDC_MinY
, METH_VARARGS
},
6785 { "wxDC_MinX", _wrap_wxDC_MinX
, METH_VARARGS
},
6786 { "wxDC_MaxY", _wrap_wxDC_MaxY
, METH_VARARGS
},
6787 { "wxDC_MaxX", _wrap_wxDC_MaxX
, METH_VARARGS
},
6788 { "wxDC_LogicalToDeviceYRel", _wrap_wxDC_LogicalToDeviceYRel
, METH_VARARGS
},
6789 { "wxDC_LogicalToDeviceY", _wrap_wxDC_LogicalToDeviceY
, METH_VARARGS
},
6790 { "wxDC_LogicalToDeviceXRel", _wrap_wxDC_LogicalToDeviceXRel
, METH_VARARGS
},
6791 { "wxDC_LogicalToDeviceX", _wrap_wxDC_LogicalToDeviceX
, METH_VARARGS
},
6792 { "wxDC_GetTextForeground", _wrap_wxDC_GetTextForeground
, METH_VARARGS
},
6793 { "wxDC_GetFullTextExtent", _wrap_wxDC_GetFullTextExtent
, METH_VARARGS
},
6794 { "wxDC_GetTextExtent", _wrap_wxDC_GetTextExtent
, METH_VARARGS
},
6795 { "wxDC_GetTextBackground", _wrap_wxDC_GetTextBackground
, METH_VARARGS
},
6796 { "wxDC_GetSize", _wrap_wxDC_GetSize
, METH_VARARGS
},
6797 { "wxDC_GetSizeTuple", _wrap_wxDC_GetSizeTuple
, METH_VARARGS
},
6798 { "wxDC_GetPixel", _wrap_wxDC_GetPixel
, METH_VARARGS
},
6799 { "wxDC_GetPen", _wrap_wxDC_GetPen
, METH_VARARGS
},
6800 { "wxDC_GetOptimization", _wrap_wxDC_GetOptimization
, METH_VARARGS
},
6801 { "wxDC_GetMapMode", _wrap_wxDC_GetMapMode
, METH_VARARGS
},
6802 { "wxDC_GetLogicalFunction", _wrap_wxDC_GetLogicalFunction
, METH_VARARGS
},
6803 { "wxDC_GetFont", _wrap_wxDC_GetFont
, METH_VARARGS
},
6804 { "wxDC_GetClippingBox", _wrap_wxDC_GetClippingBox
, METH_VARARGS
},
6805 { "wxDC_GetCharWidth", _wrap_wxDC_GetCharWidth
, METH_VARARGS
},
6806 { "wxDC_GetCharHeight", _wrap_wxDC_GetCharHeight
, METH_VARARGS
},
6807 { "wxDC_GetBrush", _wrap_wxDC_GetBrush
, METH_VARARGS
},
6808 { "wxDC_GetBackground", _wrap_wxDC_GetBackground
, METH_VARARGS
},
6809 { "wxDC_FloodFill", _wrap_wxDC_FloodFill
, METH_VARARGS
},
6810 { "wxDC_EndPage", _wrap_wxDC_EndPage
, METH_VARARGS
},
6811 { "wxDC_EndDrawing", _wrap_wxDC_EndDrawing
, METH_VARARGS
},
6812 { "wxDC_EndDoc", _wrap_wxDC_EndDoc
, METH_VARARGS
},
6813 { "wxDC_DrawText", _wrap_wxDC_DrawText
, METH_VARARGS
},
6814 { "wxDC_DrawSpline", _wrap_wxDC_DrawSpline
, METH_VARARGS
},
6815 { "wxDC_DrawRoundedRectangle", _wrap_wxDC_DrawRoundedRectangle
, METH_VARARGS
},
6816 { "wxDC_DrawRectangle", _wrap_wxDC_DrawRectangle
, METH_VARARGS
},
6817 { "wxDC_DrawPoint", _wrap_wxDC_DrawPoint
, METH_VARARGS
},
6818 { "wxDC_DrawPolygon", _wrap_wxDC_DrawPolygon
, METH_VARARGS
},
6819 { "wxDC_DrawLines", _wrap_wxDC_DrawLines
, METH_VARARGS
},
6820 { "wxDC_DrawLine", _wrap_wxDC_DrawLine
, METH_VARARGS
},
6821 { "wxDC_DrawIcon", _wrap_wxDC_DrawIcon
, METH_VARARGS
},
6822 { "wxDC_DrawEllipticArc", _wrap_wxDC_DrawEllipticArc
, METH_VARARGS
},
6823 { "wxDC_DrawEllipse", _wrap_wxDC_DrawEllipse
, METH_VARARGS
},
6824 { "wxDC_DrawCircle", _wrap_wxDC_DrawCircle
, METH_VARARGS
},
6825 { "wxDC_DrawArc", _wrap_wxDC_DrawArc
, METH_VARARGS
},
6826 { "wxDC_DeviceToLogicalYRel", _wrap_wxDC_DeviceToLogicalYRel
, METH_VARARGS
},
6827 { "wxDC_DeviceToLogicalY", _wrap_wxDC_DeviceToLogicalY
, METH_VARARGS
},
6828 { "wxDC_DeviceToLogicalXRel", _wrap_wxDC_DeviceToLogicalXRel
, METH_VARARGS
},
6829 { "wxDC_DeviceToLogicalX", _wrap_wxDC_DeviceToLogicalX
, METH_VARARGS
},
6830 { "wxDC_DestroyClippingRegion", _wrap_wxDC_DestroyClippingRegion
, METH_VARARGS
},
6831 { "wxDC_CrossHair", _wrap_wxDC_CrossHair
, METH_VARARGS
},
6832 { "wxDC_Clear", _wrap_wxDC_Clear
, METH_VARARGS
},
6833 { "wxDC_Blit", _wrap_wxDC_Blit
, METH_VARARGS
},
6834 { "wxDC_BeginDrawing", _wrap_wxDC_BeginDrawing
, METH_VARARGS
},
6835 { "delete_wxDC", _wrap_delete_wxDC
, METH_VARARGS
},
6836 { "wxBrush_SetStyle", _wrap_wxBrush_SetStyle
, METH_VARARGS
},
6837 { "wxBrush_SetStipple", _wrap_wxBrush_SetStipple
, METH_VARARGS
},
6838 { "wxBrush_SetColour", _wrap_wxBrush_SetColour
, METH_VARARGS
},
6839 { "wxBrush_Ok", _wrap_wxBrush_Ok
, METH_VARARGS
},
6840 { "wxBrush_GetStyle", _wrap_wxBrush_GetStyle
, METH_VARARGS
},
6841 { "wxBrush_GetStipple", _wrap_wxBrush_GetStipple
, METH_VARARGS
},
6842 { "wxBrush_GetColour", _wrap_wxBrush_GetColour
, METH_VARARGS
},
6843 { "new_wxBrush", _wrap_new_wxBrush
, METH_VARARGS
},
6844 { "wxPen_SetStipple", _wrap_wxPen_SetStipple
, METH_VARARGS
},
6845 { "wxPen_SetDashes", _wrap_wxPen_SetDashes
, METH_VARARGS
},
6846 { "wxPen_GetStipple", _wrap_wxPen_GetStipple
, METH_VARARGS
},
6847 { "wxPen_GetDashes", _wrap_wxPen_GetDashes
, METH_VARARGS
},
6848 { "wxPen_SetWidth", _wrap_wxPen_SetWidth
, METH_VARARGS
},
6849 { "wxPen_SetStyle", _wrap_wxPen_SetStyle
, METH_VARARGS
},
6850 { "wxPen_SetJoin", _wrap_wxPen_SetJoin
, METH_VARARGS
},
6851 { "wxPen_SetColour", _wrap_wxPen_SetColour
, METH_VARARGS
},
6852 { "wxPen_SetCap", _wrap_wxPen_SetCap
, METH_VARARGS
},
6853 { "wxPen_Ok", _wrap_wxPen_Ok
, METH_VARARGS
},
6854 { "wxPen_GetWidth", _wrap_wxPen_GetWidth
, METH_VARARGS
},
6855 { "wxPen_GetStyle", _wrap_wxPen_GetStyle
, METH_VARARGS
},
6856 { "wxPen_GetJoin", _wrap_wxPen_GetJoin
, METH_VARARGS
},
6857 { "wxPen_GetColour", _wrap_wxPen_GetColour
, METH_VARARGS
},
6858 { "wxPen_GetCap", _wrap_wxPen_GetCap
, METH_VARARGS
},
6859 { "new_wxPen", _wrap_new_wxPen
, METH_VARARGS
},
6860 { "wxColour_Get", _wrap_wxColour_Get
, METH_VARARGS
},
6861 { "wxColour_Set", _wrap_wxColour_Set
, METH_VARARGS
},
6862 { "wxColour_Ok", _wrap_wxColour_Ok
, METH_VARARGS
},
6863 { "wxColour_Blue", _wrap_wxColour_Blue
, METH_VARARGS
},
6864 { "wxColour_Green", _wrap_wxColour_Green
, METH_VARARGS
},
6865 { "wxColour_Red", _wrap_wxColour_Red
, METH_VARARGS
},
6866 { "delete_wxColour", _wrap_delete_wxColour
, METH_VARARGS
},
6867 { "new_wxColour", _wrap_new_wxColour
, METH_VARARGS
},
6868 { "wxFont_SetWeight", _wrap_wxFont_SetWeight
, METH_VARARGS
},
6869 { "wxFont_SetUnderlined", _wrap_wxFont_SetUnderlined
, METH_VARARGS
},
6870 { "wxFont_SetStyle", _wrap_wxFont_SetStyle
, METH_VARARGS
},
6871 { "wxFont_SetPointSize", _wrap_wxFont_SetPointSize
, METH_VARARGS
},
6872 { "wxFont_SetFamily", _wrap_wxFont_SetFamily
, METH_VARARGS
},
6873 { "wxFont_SetFaceName", _wrap_wxFont_SetFaceName
, METH_VARARGS
},
6874 { "wxFont_GetWeight", _wrap_wxFont_GetWeight
, METH_VARARGS
},
6875 { "wxFont_GetUnderlined", _wrap_wxFont_GetUnderlined
, METH_VARARGS
},
6876 { "wxFont_GetStyle", _wrap_wxFont_GetStyle
, METH_VARARGS
},
6877 { "wxFont_GetPointSize", _wrap_wxFont_GetPointSize
, METH_VARARGS
},
6878 { "wxFont_GetFontId", _wrap_wxFont_GetFontId
, METH_VARARGS
},
6879 { "wxFont_GetFamily", _wrap_wxFont_GetFamily
, METH_VARARGS
},
6880 { "wxFont_GetFaceName", _wrap_wxFont_GetFaceName
, METH_VARARGS
},
6881 { "new_wxFont", _wrap_new_wxFont
, METH_VARARGS
},
6882 { "wxCursor_Ok", _wrap_wxCursor_Ok
, METH_VARARGS
},
6883 { "delete_wxCursor", _wrap_delete_wxCursor
, METH_VARARGS
},
6884 { "new_wxCursor", _wrap_new_wxCursor
, METH_VARARGS
},
6885 { "wxIcon_SetWidth", _wrap_wxIcon_SetWidth
, METH_VARARGS
},
6886 { "wxIcon_SetHeight", _wrap_wxIcon_SetHeight
, METH_VARARGS
},
6887 { "wxIcon_SetDepth", _wrap_wxIcon_SetDepth
, METH_VARARGS
},
6888 { "wxIcon_Ok", _wrap_wxIcon_Ok
, METH_VARARGS
},
6889 { "wxIcon_LoadFile", _wrap_wxIcon_LoadFile
, METH_VARARGS
},
6890 { "wxIcon_GetWidth", _wrap_wxIcon_GetWidth
, METH_VARARGS
},
6891 { "wxIcon_GetHeight", _wrap_wxIcon_GetHeight
, METH_VARARGS
},
6892 { "wxIcon_GetDepth", _wrap_wxIcon_GetDepth
, METH_VARARGS
},
6893 { "delete_wxIcon", _wrap_delete_wxIcon
, METH_VARARGS
},
6894 { "new_wxIcon", _wrap_new_wxIcon
, METH_VARARGS
},
6895 { "delete_wxMask", _wrap_delete_wxMask
, METH_VARARGS
},
6896 { "new_wxMask", _wrap_new_wxMask
, METH_VARARGS
},
6897 { "wxBitmap_SetWidth", _wrap_wxBitmap_SetWidth
, METH_VARARGS
},
6898 { "wxBitmap_SetPalette", _wrap_wxBitmap_SetPalette
, METH_VARARGS
},
6899 { "wxBitmap_SetMask", _wrap_wxBitmap_SetMask
, METH_VARARGS
},
6900 { "wxBitmap_SetHeight", _wrap_wxBitmap_SetHeight
, METH_VARARGS
},
6901 { "wxBitmap_SetDepth", _wrap_wxBitmap_SetDepth
, METH_VARARGS
},
6902 { "wxBitmap_SaveFile", _wrap_wxBitmap_SaveFile
, METH_VARARGS
},
6903 { "wxBitmap_Ok", _wrap_wxBitmap_Ok
, METH_VARARGS
},
6904 { "wxBitmap_LoadFile", _wrap_wxBitmap_LoadFile
, METH_VARARGS
},
6905 { "wxBitmap_GetWidth", _wrap_wxBitmap_GetWidth
, METH_VARARGS
},
6906 { "wxBitmap_GetMask", _wrap_wxBitmap_GetMask
, METH_VARARGS
},
6907 { "wxBitmap_GetPalette", _wrap_wxBitmap_GetPalette
, METH_VARARGS
},
6908 { "wxBitmap_GetHeight", _wrap_wxBitmap_GetHeight
, METH_VARARGS
},
6909 { "wxBitmap_GetDepth", _wrap_wxBitmap_GetDepth
, METH_VARARGS
},
6910 { "wxBitmap_Create", _wrap_wxBitmap_Create
, METH_VARARGS
},
6911 { "delete_wxBitmap", _wrap_delete_wxBitmap
, METH_VARARGS
},
6912 { "new_wxBitmap", _wrap_new_wxBitmap
, METH_VARARGS
},
6913 { "wxMemoryDCFromDC", _wrap_wxMemoryDCFromDC
, METH_VARARGS
},
6914 { "wxNamedColour", _wrap_wxNamedColour
, METH_VARARGS
},
6915 { "wxStockCursor", _wrap_wxStockCursor
, METH_VARARGS
},
6916 { "wxMaskColour", _wrap_wxMaskColour
, METH_VARARGS
},
6917 { "wxBitmapFromData", _wrap_wxBitmapFromData
, METH_VARARGS
},
6918 { "wxNoRefBitmap", _wrap_wxNoRefBitmap
, METH_VARARGS
},
6919 { "wxEmptyBitmap", _wrap_wxEmptyBitmap
, METH_VARARGS
},
6926 * This table is used by the pointer type-checker
6928 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
6929 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
6930 { "_signed_long","_long",0},
6931 { "_wxPrintQuality","_int",0},
6932 { "_wxPrintQuality","_signed_int",0},
6933 { "_wxPrintQuality","_unsigned_int",0},
6934 { "_wxPrintQuality","_wxWindowID",0},
6935 { "_wxPrintQuality","_uint",0},
6936 { "_wxPrintQuality","_EBool",0},
6937 { "_wxPrintQuality","_size_t",0},
6938 { "_class_wxRegionIterator","_wxRegionIterator",0},
6939 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
6940 { "_wxCursor","_class_wxCursor",0},
6941 { "_wxMask","_class_wxMask",0},
6942 { "_wxPen","_class_wxPen",0},
6943 { "_byte","_unsigned_char",0},
6944 { "_long","_wxDash",0},
6945 { "_long","_unsigned_long",0},
6946 { "_long","_signed_long",0},
6947 { "_wxImageList","_class_wxImageList",0},
6948 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
6949 { "_wxDC","_class_wxMetaFileDC",SwigwxMetaFileDCTowxDC
},
6950 { "_wxDC","_wxMetaFileDC",SwigwxMetaFileDCTowxDC
},
6951 { "_wxDC","_class_wxPrinterDC",SwigwxPrinterDCTowxDC
},
6952 { "_wxDC","_wxPrinterDC",SwigwxPrinterDCTowxDC
},
6953 { "_wxDC","_class_wxWindowDC",SwigwxWindowDCTowxDC
},
6954 { "_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC
},
6955 { "_wxDC","_class_wxPaintDC",SwigwxPaintDCTowxDC
},
6956 { "_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
},
6957 { "_wxDC","_class_wxClientDC",SwigwxClientDCTowxDC
},
6958 { "_wxDC","_wxClientDC",SwigwxClientDCTowxDC
},
6959 { "_wxDC","_class_wxScreenDC",SwigwxScreenDCTowxDC
},
6960 { "_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
},
6961 { "_wxDC","_class_wxMemoryDC",SwigwxMemoryDCTowxDC
},
6962 { "_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
},
6963 { "_wxDC","_class_wxDC",0},
6964 { "_size_t","_wxPrintQuality",0},
6965 { "_size_t","_unsigned_int",0},
6966 { "_size_t","_int",0},
6967 { "_size_t","_wxWindowID",0},
6968 { "_size_t","_uint",0},
6969 { "_class_wxRealPoint","_wxRealPoint",0},
6970 { "_wxPrinterDC","_class_wxPrinterDC",0},
6971 { "_class_wxMask","_wxMask",0},
6972 { "_wxColour","_class_wxColour",0},
6973 { "_wxBrush","_class_wxBrush",0},
6974 { "_uint","_wxPrintQuality",0},
6975 { "_uint","_size_t",0},
6976 { "_uint","_unsigned_int",0},
6977 { "_uint","_int",0},
6978 { "_uint","_wxWindowID",0},
6979 { "_wxRect","_class_wxRect",0},
6980 { "_wxPoint","_class_wxPoint",0},
6981 { "_wxBitmap","_class_wxCursor",SwigwxCursorTowxBitmap
},
6982 { "_wxBitmap","_wxCursor",SwigwxCursorTowxBitmap
},
6983 { "_wxBitmap","_class_wxIcon",SwigwxIconTowxBitmap
},
6984 { "_wxBitmap","_wxIcon",SwigwxIconTowxBitmap
},
6985 { "_wxBitmap","_class_wxBitmap",0},
6986 { "_wxPyTimer","_class_wxPyTimer",0},
6987 { "_wxWindowDC","_class_wxWindowDC",0},
6988 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
6989 { "_EBool","_wxPrintQuality",0},
6990 { "_EBool","_signed_int",0},
6991 { "_EBool","_int",0},
6992 { "_EBool","_wxWindowID",0},
6993 { "_class_wxRegion","_wxRegion",0},
6994 { "_wxFont","_class_wxFont",0},
6995 { "_unsigned_long","_wxDash",0},
6996 { "_unsigned_long","_long",0},
6997 { "_class_wxRect","_wxRect",0},
6998 { "_class_wxDC","_class_wxMetaFileDC",SwigwxMetaFileDCTowxDC
},
6999 { "_class_wxDC","_wxMetaFileDC",SwigwxMetaFileDCTowxDC
},
7000 { "_class_wxDC","_class_wxPrinterDC",SwigwxPrinterDCTowxDC
},
7001 { "_class_wxDC","_wxPrinterDC",SwigwxPrinterDCTowxDC
},
7002 { "_class_wxDC","_class_wxWindowDC",SwigwxWindowDCTowxDC
},
7003 { "_class_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC
},
7004 { "_class_wxDC","_class_wxPaintDC",SwigwxPaintDCTowxDC
},
7005 { "_class_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
},
7006 { "_class_wxDC","_class_wxClientDC",SwigwxClientDCTowxDC
},
7007 { "_class_wxDC","_wxClientDC",SwigwxClientDCTowxDC
},
7008 { "_class_wxDC","_class_wxScreenDC",SwigwxScreenDCTowxDC
},
7009 { "_class_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
},
7010 { "_class_wxDC","_class_wxMemoryDC",SwigwxMemoryDCTowxDC
},
7011 { "_class_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
},
7012 { "_class_wxDC","_wxDC",0},
7013 { "_class_wxPyTimer","_wxPyTimer",0},
7014 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
7015 { "_signed_int","_wxPrintQuality",0},
7016 { "_signed_int","_EBool",0},
7017 { "_signed_int","_wxWindowID",0},
7018 { "_signed_int","_int",0},
7019 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
7020 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
7021 { "_wxScreenDC","_class_wxScreenDC",0},
7022 { "_WXTYPE","_short",0},
7023 { "_WXTYPE","_signed_short",0},
7024 { "_WXTYPE","_unsigned_short",0},
7025 { "_class_wxBrush","_wxBrush",0},
7026 { "_unsigned_short","_WXTYPE",0},
7027 { "_unsigned_short","_short",0},
7028 { "_class_wxFont","_wxFont",0},
7029 { "_wxClientDC","_class_wxClientDC",0},
7030 { "_class_wxPoint","_wxPoint",0},
7031 { "_wxRealPoint","_class_wxRealPoint",0},
7032 { "_signed_short","_WXTYPE",0},
7033 { "_signed_short","_short",0},
7034 { "_wxMemoryDC","_class_wxMemoryDC",0},
7035 { "_wxPaintDC","_class_wxPaintDC",0},
7036 { "_class_wxWindowDC","_wxWindowDC",0},
7037 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
7038 { "_class_wxCursor","_wxCursor",0},
7039 { "_unsigned_char","_byte",0},
7040 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
7041 { "_unsigned_int","_wxPrintQuality",0},
7042 { "_unsigned_int","_size_t",0},
7043 { "_unsigned_int","_uint",0},
7044 { "_unsigned_int","_wxWindowID",0},
7045 { "_unsigned_int","_int",0},
7046 { "_wxIcon","_class_wxIcon",0},
7047 { "_class_wxPen","_wxPen",0},
7048 { "_short","_WXTYPE",0},
7049 { "_short","_unsigned_short",0},
7050 { "_short","_signed_short",0},
7051 { "_class_wxImageList","_wxImageList",0},
7052 { "_wxWindowID","_wxPrintQuality",0},
7053 { "_wxWindowID","_size_t",0},
7054 { "_wxWindowID","_EBool",0},
7055 { "_wxWindowID","_uint",0},
7056 { "_wxWindowID","_int",0},
7057 { "_wxWindowID","_signed_int",0},
7058 { "_wxWindowID","_unsigned_int",0},
7059 { "_int","_wxPrintQuality",0},
7060 { "_int","_size_t",0},
7061 { "_int","_EBool",0},
7062 { "_int","_uint",0},
7063 { "_int","_wxWindowID",0},
7064 { "_int","_unsigned_int",0},
7065 { "_int","_signed_int",0},
7066 { "_wxSize","_class_wxSize",0},
7067 { "_wxRegionIterator","_class_wxRegionIterator",0},
7068 { "_class_wxPrinterDC","_wxPrinterDC",0},
7069 { "_class_wxPaintDC","_wxPaintDC",0},
7070 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
7071 { "_class_wxIcon","_wxIcon",0},
7072 { "_class_wxColour","_wxColour",0},
7073 { "_class_wxScreenDC","_wxScreenDC",0},
7074 { "_wxPalette","_class_wxPalette",0},
7075 { "_wxRegion","_class_wxRegion",0},
7076 { "_class_wxClientDC","_wxClientDC",0},
7077 { "_class_wxSize","_wxSize",0},
7078 { "_class_wxBitmap","_class_wxCursor",SwigwxCursorTowxBitmap
},
7079 { "_class_wxBitmap","_wxCursor",SwigwxCursorTowxBitmap
},
7080 { "_class_wxBitmap","_class_wxIcon",SwigwxIconTowxBitmap
},
7081 { "_class_wxBitmap","_wxIcon",SwigwxIconTowxBitmap
},
7082 { "_class_wxBitmap","_wxBitmap",0},
7083 { "_class_wxMemoryDC","_wxMemoryDC",0},
7084 { "_wxDash","_unsigned_long",0},
7085 { "_wxDash","_long",0},
7086 { "_class_wxPalette","_wxPalette",0},
7089 static PyObject
*SWIG_globals
;
7093 SWIGEXPORT(void) initgdic() {
7095 SWIG_globals
= SWIG_newvarlink();
7096 m
= Py_InitModule("gdic", gdicMethods
);
7097 d
= PyModule_GetDict(m
);
7098 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
7099 SWIG_addvarlink(SWIG_globals
,"wxNORMAL_FONT",_wrap_wxNORMAL_FONT_get
, _wrap_wxNORMAL_FONT_set
);
7100 SWIG_addvarlink(SWIG_globals
,"wxSMALL_FONT",_wrap_wxSMALL_FONT_get
, _wrap_wxSMALL_FONT_set
);
7101 SWIG_addvarlink(SWIG_globals
,"wxITALIC_FONT",_wrap_wxITALIC_FONT_get
, _wrap_wxITALIC_FONT_set
);
7102 SWIG_addvarlink(SWIG_globals
,"wxSWISS_FONT",_wrap_wxSWISS_FONT_get
, _wrap_wxSWISS_FONT_set
);
7103 SWIG_addvarlink(SWIG_globals
,"wxRED_PEN",_wrap_wxRED_PEN_get
, _wrap_wxRED_PEN_set
);
7104 SWIG_addvarlink(SWIG_globals
,"wxCYAN_PEN",_wrap_wxCYAN_PEN_get
, _wrap_wxCYAN_PEN_set
);
7105 SWIG_addvarlink(SWIG_globals
,"wxGREEN_PEN",_wrap_wxGREEN_PEN_get
, _wrap_wxGREEN_PEN_set
);
7106 SWIG_addvarlink(SWIG_globals
,"wxBLACK_PEN",_wrap_wxBLACK_PEN_get
, _wrap_wxBLACK_PEN_set
);
7107 SWIG_addvarlink(SWIG_globals
,"wxWHITE_PEN",_wrap_wxWHITE_PEN_get
, _wrap_wxWHITE_PEN_set
);
7108 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_PEN",_wrap_wxTRANSPARENT_PEN_get
, _wrap_wxTRANSPARENT_PEN_set
);
7109 SWIG_addvarlink(SWIG_globals
,"wxBLACK_DASHED_PEN",_wrap_wxBLACK_DASHED_PEN_get
, _wrap_wxBLACK_DASHED_PEN_set
);
7110 SWIG_addvarlink(SWIG_globals
,"wxGREY_PEN",_wrap_wxGREY_PEN_get
, _wrap_wxGREY_PEN_set
);
7111 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_PEN",_wrap_wxMEDIUM_GREY_PEN_get
, _wrap_wxMEDIUM_GREY_PEN_set
);
7112 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_PEN",_wrap_wxLIGHT_GREY_PEN_get
, _wrap_wxLIGHT_GREY_PEN_set
);
7113 SWIG_addvarlink(SWIG_globals
,"wxBLUE_BRUSH",_wrap_wxBLUE_BRUSH_get
, _wrap_wxBLUE_BRUSH_set
);
7114 SWIG_addvarlink(SWIG_globals
,"wxGREEN_BRUSH",_wrap_wxGREEN_BRUSH_get
, _wrap_wxGREEN_BRUSH_set
);
7115 SWIG_addvarlink(SWIG_globals
,"wxWHITE_BRUSH",_wrap_wxWHITE_BRUSH_get
, _wrap_wxWHITE_BRUSH_set
);
7116 SWIG_addvarlink(SWIG_globals
,"wxBLACK_BRUSH",_wrap_wxBLACK_BRUSH_get
, _wrap_wxBLACK_BRUSH_set
);
7117 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_BRUSH",_wrap_wxTRANSPARENT_BRUSH_get
, _wrap_wxTRANSPARENT_BRUSH_set
);
7118 SWIG_addvarlink(SWIG_globals
,"wxCYAN_BRUSH",_wrap_wxCYAN_BRUSH_get
, _wrap_wxCYAN_BRUSH_set
);
7119 SWIG_addvarlink(SWIG_globals
,"wxRED_BRUSH",_wrap_wxRED_BRUSH_get
, _wrap_wxRED_BRUSH_set
);
7120 SWIG_addvarlink(SWIG_globals
,"wxGREY_BRUSH",_wrap_wxGREY_BRUSH_get
, _wrap_wxGREY_BRUSH_set
);
7121 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_BRUSH",_wrap_wxMEDIUM_GREY_BRUSH_get
, _wrap_wxMEDIUM_GREY_BRUSH_set
);
7122 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_BRUSH",_wrap_wxLIGHT_GREY_BRUSH_get
, _wrap_wxLIGHT_GREY_BRUSH_set
);
7123 SWIG_addvarlink(SWIG_globals
,"wxBLACK",_wrap_wxBLACK_get
, _wrap_wxBLACK_set
);
7124 SWIG_addvarlink(SWIG_globals
,"wxWHITE",_wrap_wxWHITE_get
, _wrap_wxWHITE_set
);
7125 SWIG_addvarlink(SWIG_globals
,"wxRED",_wrap_wxRED_get
, _wrap_wxRED_set
);
7126 SWIG_addvarlink(SWIG_globals
,"wxBLUE",_wrap_wxBLUE_get
, _wrap_wxBLUE_set
);
7127 SWIG_addvarlink(SWIG_globals
,"wxGREEN",_wrap_wxGREEN_get
, _wrap_wxGREEN_set
);
7128 SWIG_addvarlink(SWIG_globals
,"wxCYAN",_wrap_wxCYAN_get
, _wrap_wxCYAN_set
);
7129 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY",_wrap_wxLIGHT_GREY_get
, _wrap_wxLIGHT_GREY_set
);
7130 SWIG_addvarlink(SWIG_globals
,"wxSTANDARD_CURSOR",_wrap_wxSTANDARD_CURSOR_get
, _wrap_wxSTANDARD_CURSOR_set
);
7131 SWIG_addvarlink(SWIG_globals
,"wxHOURGLASS_CURSOR",_wrap_wxHOURGLASS_CURSOR_get
, _wrap_wxHOURGLASS_CURSOR_set
);
7132 SWIG_addvarlink(SWIG_globals
,"wxCROSS_CURSOR",_wrap_wxCROSS_CURSOR_get
, _wrap_wxCROSS_CURSOR_set
);
7133 SWIG_addvarlink(SWIG_globals
,"wxNullBitmap",_wrap_wxNullBitmap_get
, _wrap_wxNullBitmap_set
);
7134 SWIG_addvarlink(SWIG_globals
,"wxNullIcon",_wrap_wxNullIcon_get
, _wrap_wxNullIcon_set
);
7135 SWIG_addvarlink(SWIG_globals
,"wxNullCursor",_wrap_wxNullCursor_get
, _wrap_wxNullCursor_set
);
7136 SWIG_addvarlink(SWIG_globals
,"wxNullPen",_wrap_wxNullPen_get
, _wrap_wxNullPen_set
);
7137 SWIG_addvarlink(SWIG_globals
,"wxNullBrush",_wrap_wxNullBrush_get
, _wrap_wxNullBrush_set
);
7138 SWIG_addvarlink(SWIG_globals
,"wxNullPalette",_wrap_wxNullPalette_get
, _wrap_wxNullPalette_set
);
7139 SWIG_addvarlink(SWIG_globals
,"wxNullFont",_wrap_wxNullFont_get
, _wrap_wxNullFont_set
);
7140 SWIG_addvarlink(SWIG_globals
,"wxNullColour",_wrap_wxNullColour_get
, _wrap_wxNullColour_set
);
7141 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_NORMAL", PyInt_FromLong((long) wxIMAGELIST_DRAW_NORMAL
));
7142 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_TRANSPARENT", PyInt_FromLong((long) wxIMAGELIST_DRAW_TRANSPARENT
));
7143 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_SELECTED", PyInt_FromLong((long) wxIMAGELIST_DRAW_SELECTED
));
7144 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_FOCUSED", PyInt_FromLong((long) wxIMAGELIST_DRAW_FOCUSED
));
7145 PyDict_SetItemString(d
,"wxIMAGE_LIST_NORMAL", PyInt_FromLong((long) wxIMAGE_LIST_NORMAL
));
7146 PyDict_SetItemString(d
,"wxIMAGE_LIST_SMALL", PyInt_FromLong((long) wxIMAGE_LIST_SMALL
));
7147 PyDict_SetItemString(d
,"wxIMAGE_LIST_STATE", PyInt_FromLong((long) wxIMAGE_LIST_STATE
));
7150 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
7151 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);