4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Patch 6)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
47 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
48 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initgdic
54 #define SWIG_name "gdic"
57 #include <wx/metafile.h>
58 #include <wx/imaglist.h>
63 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
68 } else if (target
== Py_None
) {
72 if (!PyList_Check(target
)) {
74 target
= PyList_New(0);
75 PyList_Append(target
, o2
);
78 PyList_Append(target
,o
);
84 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
90 } else if (target
== Py_None
) {
94 if (!PyTuple_Check(target
)) {
96 target
= PyTuple_New(1);
97 PyTuple_SetItem(target
, 0, o2
);
100 PyTuple_SetItem(o3
, 0, o
);
103 target
= PySequence_Concat(o2
, o3
);
111 extern byte
* byte_LIST_helper(PyObject
* source
);
112 extern int* int_LIST_helper(PyObject
* source
);
113 extern long* long_LIST_helper(PyObject
* source
);
114 extern char** string_LIST_helper(PyObject
* source
);
115 extern wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
116 extern wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
117 extern wxString
* wxString_LIST_helper(PyObject
* source
);
118 extern wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
121 static char* wxStringErrorMsg
= "string type is required for parameter";
122 // Alternate 'constructor'
123 wxBitmap
* wxEmptyBitmap(int width
, int height
, int depth
=-1) {
124 return new wxBitmap(width
, height
, depth
);
127 // This one won't own the reference, so Python
128 // won't call the dtor, this is good for
129 // toolbars and such where the parent will
130 // manage the bitmap.
131 wxBitmap
* wxNoRefBitmap(char* name
, long flags
) {
132 return new wxBitmap(name
, flags
);
136 wxBitmap
* wxBitmapFromData(char* data
, long type
,
137 int width
, int height
, int depth
= 1) {
138 return new wxBitmap((void*)data
, type
, width
, height
, depth
);
142 wxMask
* wxMaskColour(const wxBitmap
& bitmap
, const wxColour
& colour
) {
143 return new wxMask(bitmap
, colour
);
145 // Alternate 'constructor'
146 wxCursor
* wxPyStockCursor(int id
) {
147 return new wxCursor(id
);
149 // Alternate 'constructor'
150 wxColour
* wxNamedColour(const wxString
& colorName
) {
151 return new wxColour(colorName
);
153 // Alternate 'constructor'
154 wxMemoryDC
* wxMemoryDCFromDC(wxDC
* oldDC
) {
155 return new wxMemoryDC(oldDC
);
159 extern wxFont
* wxNORMAL_FONT
;
160 extern wxFont
* wxSMALL_FONT
;
161 extern wxFont
* wxITALIC_FONT
;
162 extern wxFont
* wxSWISS_FONT
;
163 extern wxPen
* wxRED_PEN
;
164 extern wxPen
* wxCYAN_PEN
;
165 extern wxPen
* wxGREEN_PEN
;
166 extern wxPen
* wxBLACK_PEN
;
167 extern wxPen
* wxWHITE_PEN
;
168 extern wxPen
* wxTRANSPARENT_PEN
;
169 extern wxPen
* wxBLACK_DASHED_PEN
;
170 extern wxPen
* wxGREY_PEN
;
171 extern wxPen
* wxMEDIUM_GREY_PEN
;
172 extern wxPen
* wxLIGHT_GREY_PEN
;
173 extern wxBrush
* wxBLUE_BRUSH
;
174 extern wxBrush
* wxGREEN_BRUSH
;
175 extern wxBrush
* wxWHITE_BRUSH
;
176 extern wxBrush
* wxBLACK_BRUSH
;
177 extern wxBrush
* wxTRANSPARENT_BRUSH
;
178 extern wxBrush
* wxCYAN_BRUSH
;
179 extern wxBrush
* wxRED_BRUSH
;
180 extern wxBrush
* wxGREY_BRUSH
;
181 extern wxBrush
* wxMEDIUM_GREY_BRUSH
;
182 extern wxBrush
* wxLIGHT_GREY_BRUSH
;
183 extern wxColour
* wxBLACK
;
184 extern wxColour
* wxWHITE
;
185 extern wxColour
* wxRED
;
186 extern wxColour
* wxBLUE
;
187 extern wxColour
* wxGREEN
;
188 extern wxColour
* wxCYAN
;
189 extern wxColour
* wxLIGHT_GREY
;
190 extern wxCursor
* wxSTANDARD_CURSOR
;
191 extern wxCursor
* wxHOURGLASS_CURSOR
;
192 extern wxCursor
* wxCROSS_CURSOR
;
193 extern wxBitmap wxNullBitmap
;
194 extern wxIcon wxNullIcon
;
195 extern wxCursor wxNullCursor
;
196 extern wxPen wxNullPen
;
197 extern wxBrush wxNullBrush
;
198 extern wxPalette wxNullPalette
;
199 extern wxFont wxNullFont
;
200 extern wxColour wxNullColour
;
206 static PyObject
*_wrap_wxEmptyBitmap(PyObject
*self
, PyObject
*args
) {
207 PyObject
* _resultobj
;
211 int _arg2
= (int ) -1;
215 if(!PyArg_ParseTuple(args
,"ii|i:wxEmptyBitmap",&_arg0
,&_arg1
,&_arg2
))
218 wxPy_BEGIN_ALLOW_THREADS
;
219 _result
= (wxBitmap
*)wxEmptyBitmap(_arg0
,_arg1
,_arg2
);
221 wxPy_END_ALLOW_THREADS
;
223 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
224 _resultobj
= Py_BuildValue("s",_ptemp
);
227 _resultobj
= Py_None
;
232 static PyObject
*_wrap_wxNoRefBitmap(PyObject
*self
, PyObject
*args
) {
233 PyObject
* _resultobj
;
240 if(!PyArg_ParseTuple(args
,"sl:wxNoRefBitmap",&_arg0
,&_arg1
))
243 wxPy_BEGIN_ALLOW_THREADS
;
244 _result
= (wxBitmap
*)wxNoRefBitmap(_arg0
,_arg1
);
246 wxPy_END_ALLOW_THREADS
;
248 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
249 _resultobj
= Py_BuildValue("s",_ptemp
);
252 _resultobj
= Py_None
;
257 static PyObject
*_wrap_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) (_swigobj->Blit(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
3428 static PyObject
*_wrap_wxDC_Blit(PyObject
*self
, PyObject
*args
) {
3429 PyObject
* _resultobj
;
3440 PyObject
* _argo0
= 0;
3441 PyObject
* _argo5
= 0;
3444 if(!PyArg_ParseTuple(args
,"OllllOlll:wxDC_Blit",&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_argo5
,&_arg6
,&_arg7
,&_arg8
))
3447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Blit. Expected _wxDC_p.");
3454 if (_argo5
== Py_None
) { _arg5
= NULL
; }
3455 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxDC_p")) {
3456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxDC_Blit. Expected _wxDC_p.");
3461 wxPy_BEGIN_ALLOW_THREADS
;
3462 _result
= (bool )wxDC_Blit(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
);
3464 wxPy_END_ALLOW_THREADS
;
3465 } _resultobj
= Py_BuildValue("i",_result
);
3469 #define wxDC_Clear(_swigobj) (_swigobj->Clear())
3470 static PyObject
*_wrap_wxDC_Clear(PyObject
*self
, PyObject
*args
) {
3471 PyObject
* _resultobj
;
3473 PyObject
* _argo0
= 0;
3476 if(!PyArg_ParseTuple(args
,"O:wxDC_Clear",&_argo0
))
3479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Clear. Expected _wxDC_p.");
3486 wxPy_BEGIN_ALLOW_THREADS
;
3489 wxPy_END_ALLOW_THREADS
;
3490 } Py_INCREF(Py_None
);
3491 _resultobj
= Py_None
;
3495 #define wxDC_CrossHair(_swigobj,_swigarg0,_swigarg1) (_swigobj->CrossHair(_swigarg0,_swigarg1))
3496 static PyObject
*_wrap_wxDC_CrossHair(PyObject
*self
, PyObject
*args
) {
3497 PyObject
* _resultobj
;
3501 PyObject
* _argo0
= 0;
3504 if(!PyArg_ParseTuple(args
,"Oll:wxDC_CrossHair",&_argo0
,&_arg1
,&_arg2
))
3507 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3508 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CrossHair. Expected _wxDC_p.");
3514 wxPy_BEGIN_ALLOW_THREADS
;
3515 wxDC_CrossHair(_arg0
,_arg1
,_arg2
);
3517 wxPy_END_ALLOW_THREADS
;
3518 } Py_INCREF(Py_None
);
3519 _resultobj
= Py_None
;
3523 #define wxDC_DestroyClippingRegion(_swigobj) (_swigobj->DestroyClippingRegion())
3524 static PyObject
*_wrap_wxDC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
) {
3525 PyObject
* _resultobj
;
3527 PyObject
* _argo0
= 0;
3530 if(!PyArg_ParseTuple(args
,"O:wxDC_DestroyClippingRegion",&_argo0
))
3533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DestroyClippingRegion. Expected _wxDC_p.");
3540 wxPy_BEGIN_ALLOW_THREADS
;
3541 wxDC_DestroyClippingRegion(_arg0
);
3543 wxPy_END_ALLOW_THREADS
;
3544 } Py_INCREF(Py_None
);
3545 _resultobj
= Py_None
;
3549 #define wxDC_DeviceToLogicalX(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalX(_swigarg0))
3550 static PyObject
*_wrap_wxDC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
) {
3551 PyObject
* _resultobj
;
3555 PyObject
* _argo0
= 0;
3558 if(!PyArg_ParseTuple(args
,"Ol:wxDC_DeviceToLogicalX",&_argo0
,&_arg1
))
3561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalX. Expected _wxDC_p.");
3568 wxPy_BEGIN_ALLOW_THREADS
;
3569 _result
= (long )wxDC_DeviceToLogicalX(_arg0
,_arg1
);
3571 wxPy_END_ALLOW_THREADS
;
3572 } _resultobj
= Py_BuildValue("l",_result
);
3576 #define wxDC_DeviceToLogicalXRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalXRel(_swigarg0))
3577 static PyObject
*_wrap_wxDC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
) {
3578 PyObject
* _resultobj
;
3582 PyObject
* _argo0
= 0;
3585 if(!PyArg_ParseTuple(args
,"Ol:wxDC_DeviceToLogicalXRel",&_argo0
,&_arg1
))
3588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalXRel. Expected _wxDC_p.");
3595 wxPy_BEGIN_ALLOW_THREADS
;
3596 _result
= (long )wxDC_DeviceToLogicalXRel(_arg0
,_arg1
);
3598 wxPy_END_ALLOW_THREADS
;
3599 } _resultobj
= Py_BuildValue("l",_result
);
3603 #define wxDC_DeviceToLogicalY(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalY(_swigarg0))
3604 static PyObject
*_wrap_wxDC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
) {
3605 PyObject
* _resultobj
;
3609 PyObject
* _argo0
= 0;
3612 if(!PyArg_ParseTuple(args
,"Ol:wxDC_DeviceToLogicalY",&_argo0
,&_arg1
))
3615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalY. Expected _wxDC_p.");
3622 wxPy_BEGIN_ALLOW_THREADS
;
3623 _result
= (long )wxDC_DeviceToLogicalY(_arg0
,_arg1
);
3625 wxPy_END_ALLOW_THREADS
;
3626 } _resultobj
= Py_BuildValue("l",_result
);
3630 #define wxDC_DeviceToLogicalYRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalYRel(_swigarg0))
3631 static PyObject
*_wrap_wxDC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
) {
3632 PyObject
* _resultobj
;
3636 PyObject
* _argo0
= 0;
3639 if(!PyArg_ParseTuple(args
,"Ol:wxDC_DeviceToLogicalYRel",&_argo0
,&_arg1
))
3642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalYRel. Expected _wxDC_p.");
3649 wxPy_BEGIN_ALLOW_THREADS
;
3650 _result
= (long )wxDC_DeviceToLogicalYRel(_arg0
,_arg1
);
3652 wxPy_END_ALLOW_THREADS
;
3653 } _resultobj
= Py_BuildValue("l",_result
);
3657 #define wxDC_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3658 static PyObject
*_wrap_wxDC_DrawArc(PyObject
*self
, PyObject
*args
) {
3659 PyObject
* _resultobj
;
3667 PyObject
* _argo0
= 0;
3670 if(!PyArg_ParseTuple(args
,"Ollllll:wxDC_DrawArc",&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
3673 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3674 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawArc. Expected _wxDC_p.");
3680 wxPy_BEGIN_ALLOW_THREADS
;
3681 wxDC_DrawArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
3683 wxPy_END_ALLOW_THREADS
;
3684 } Py_INCREF(Py_None
);
3685 _resultobj
= Py_None
;
3689 #define wxDC_DrawCircle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawCircle(_swigarg0,_swigarg1,_swigarg2))
3690 static PyObject
*_wrap_wxDC_DrawCircle(PyObject
*self
, PyObject
*args
) {
3691 PyObject
* _resultobj
;
3696 PyObject
* _argo0
= 0;
3699 if(!PyArg_ParseTuple(args
,"Olll:wxDC_DrawCircle",&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3702 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3703 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawCircle. Expected _wxDC_p.");
3709 wxPy_BEGIN_ALLOW_THREADS
;
3710 wxDC_DrawCircle(_arg0
,_arg1
,_arg2
,_arg3
);
3712 wxPy_END_ALLOW_THREADS
;
3713 } Py_INCREF(Py_None
);
3714 _resultobj
= Py_None
;
3718 #define wxDC_DrawEllipse(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawEllipse(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3719 static PyObject
*_wrap_wxDC_DrawEllipse(PyObject
*self
, PyObject
*args
) {
3720 PyObject
* _resultobj
;
3726 PyObject
* _argo0
= 0;
3729 if(!PyArg_ParseTuple(args
,"Ollll:wxDC_DrawEllipse",&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3732 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3733 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipse. Expected _wxDC_p.");
3739 wxPy_BEGIN_ALLOW_THREADS
;
3740 wxDC_DrawEllipse(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3742 wxPy_END_ALLOW_THREADS
;
3743 } Py_INCREF(Py_None
);
3744 _resultobj
= Py_None
;
3748 #define wxDC_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3749 static PyObject
*_wrap_wxDC_DrawEllipticArc(PyObject
*self
, PyObject
*args
) {
3750 PyObject
* _resultobj
;
3758 PyObject
* _argo0
= 0;
3761 if(!PyArg_ParseTuple(args
,"Ollllll:wxDC_DrawEllipticArc",&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
3764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipticArc. Expected _wxDC_p.");
3771 wxPy_BEGIN_ALLOW_THREADS
;
3772 wxDC_DrawEllipticArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
3774 wxPy_END_ALLOW_THREADS
;
3775 } Py_INCREF(Py_None
);
3776 _resultobj
= Py_None
;
3780 #define wxDC_DrawIcon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawIcon(_swigarg0,_swigarg1,_swigarg2))
3781 static PyObject
*_wrap_wxDC_DrawIcon(PyObject
*self
, PyObject
*args
) {
3782 PyObject
* _resultobj
;
3787 PyObject
* _argo0
= 0;
3788 PyObject
* _argo1
= 0;
3791 if(!PyArg_ParseTuple(args
,"OOll:wxDC_DrawIcon",&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawIcon. Expected _wxDC_p.");
3801 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3802 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
3803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawIcon. Expected _wxIcon_p.");
3808 wxPy_BEGIN_ALLOW_THREADS
;
3809 wxDC_DrawIcon(_arg0
,*_arg1
,_arg2
,_arg3
);
3811 wxPy_END_ALLOW_THREADS
;
3812 } Py_INCREF(Py_None
);
3813 _resultobj
= Py_None
;
3817 #define wxDC_DrawLine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3818 static PyObject
*_wrap_wxDC_DrawLine(PyObject
*self
, PyObject
*args
) {
3819 PyObject
* _resultobj
;
3825 PyObject
* _argo0
= 0;
3828 if(!PyArg_ParseTuple(args
,"Ollll:wxDC_DrawLine",&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLine. Expected _wxDC_p.");
3838 wxPy_BEGIN_ALLOW_THREADS
;
3839 wxDC_DrawLine(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3841 wxPy_END_ALLOW_THREADS
;
3842 } Py_INCREF(Py_None
);
3843 _resultobj
= Py_None
;
3847 #define wxDC_DrawLines(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLines(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3848 static PyObject
*_wrap_wxDC_DrawLines(PyObject
*self
, PyObject
*args
) {
3849 PyObject
* _resultobj
;
3853 long _arg3
= (long ) 0;
3854 long _arg4
= (long ) 0;
3855 PyObject
* _argo0
= 0;
3856 PyObject
* _obj2
= 0;
3859 if(!PyArg_ParseTuple(args
,"OO|ll:wxDC_DrawLines",&_argo0
,&_obj2
,&_arg3
,&_arg4
))
3862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLines. Expected _wxDC_p.");
3870 _arg2
= wxPoint_LIST_helper(_obj2
);
3871 if (_arg2
== NULL
) {
3877 _arg1
= PyList_Size(_obj2
);
3884 wxPy_BEGIN_ALLOW_THREADS
;
3885 wxDC_DrawLines(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3887 wxPy_END_ALLOW_THREADS
;
3888 } Py_INCREF(Py_None
);
3889 _resultobj
= Py_None
;
3896 #define wxDC_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3897 static PyObject
*_wrap_wxDC_DrawPolygon(PyObject
*self
, PyObject
*args
) {
3898 PyObject
* _resultobj
;
3902 long _arg3
= (long ) 0;
3903 long _arg4
= (long ) 0;
3904 int _arg5
= (int ) wxODDEVEN_RULE
;
3905 PyObject
* _argo0
= 0;
3906 PyObject
* _obj2
= 0;
3909 if(!PyArg_ParseTuple(args
,"OO|lli:wxDC_DrawPolygon",&_argo0
,&_obj2
,&_arg3
,&_arg4
,&_arg5
))
3912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPolygon. Expected _wxDC_p.");
3920 _arg2
= wxPoint_LIST_helper(_obj2
);
3921 if (_arg2
== NULL
) {
3927 _arg1
= PyList_Size(_obj2
);
3934 wxPy_BEGIN_ALLOW_THREADS
;
3935 wxDC_DrawPolygon(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3937 wxPy_END_ALLOW_THREADS
;
3938 } Py_INCREF(Py_None
);
3939 _resultobj
= Py_None
;
3946 #define wxDC_DrawPoint(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawPoint(_swigarg0,_swigarg1))
3947 static PyObject
*_wrap_wxDC_DrawPoint(PyObject
*self
, PyObject
*args
) {
3948 PyObject
* _resultobj
;
3952 PyObject
* _argo0
= 0;
3955 if(!PyArg_ParseTuple(args
,"Oll:wxDC_DrawPoint",&_argo0
,&_arg1
,&_arg2
))
3958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPoint. Expected _wxDC_p.");
3965 wxPy_BEGIN_ALLOW_THREADS
;
3966 wxDC_DrawPoint(_arg0
,_arg1
,_arg2
);
3968 wxPy_END_ALLOW_THREADS
;
3969 } Py_INCREF(Py_None
);
3970 _resultobj
= Py_None
;
3974 #define wxDC_DrawRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3975 static PyObject
*_wrap_wxDC_DrawRectangle(PyObject
*self
, PyObject
*args
) {
3976 PyObject
* _resultobj
;
3982 PyObject
* _argo0
= 0;
3985 if(!PyArg_ParseTuple(args
,"Ollll:wxDC_DrawRectangle",&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRectangle. Expected _wxDC_p.");
3995 wxPy_BEGIN_ALLOW_THREADS
;
3996 wxDC_DrawRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3998 wxPy_END_ALLOW_THREADS
;
3999 } Py_INCREF(Py_None
);
4000 _resultobj
= Py_None
;
4004 #define wxDC_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4005 static PyObject
*_wrap_wxDC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
) {
4006 PyObject
* _resultobj
;
4012 long _arg5
= (long ) 20;
4013 PyObject
* _argo0
= 0;
4016 if(!PyArg_ParseTuple(args
,"Ollll|l:wxDC_DrawRoundedRectangle",&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
4019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRoundedRectangle. Expected _wxDC_p.");
4026 wxPy_BEGIN_ALLOW_THREADS
;
4027 wxDC_DrawRoundedRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4029 wxPy_END_ALLOW_THREADS
;
4030 } Py_INCREF(Py_None
);
4031 _resultobj
= Py_None
;
4035 #define wxDC_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1))
4036 static PyObject
*_wrap_wxDC_DrawSpline(PyObject
*self
, PyObject
*args
) {
4037 PyObject
* _resultobj
;
4041 PyObject
* _argo0
= 0;
4042 PyObject
* _obj2
= 0;
4045 if(!PyArg_ParseTuple(args
,"OO:wxDC_DrawSpline",&_argo0
,&_obj2
))
4048 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4049 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawSpline. Expected _wxDC_p.");
4056 _arg2
= wxPoint_LIST_helper(_obj2
);
4057 if (_arg2
== NULL
) {
4063 _arg1
= PyList_Size(_obj2
);
4070 wxPy_BEGIN_ALLOW_THREADS
;
4071 wxDC_DrawSpline(_arg0
,_arg1
,_arg2
);
4073 wxPy_END_ALLOW_THREADS
;
4074 } Py_INCREF(Py_None
);
4075 _resultobj
= Py_None
;
4082 #define wxDC_DrawText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawText(_swigarg0,_swigarg1,_swigarg2))
4083 static PyObject
*_wrap_wxDC_DrawText(PyObject
*self
, PyObject
*args
) {
4084 PyObject
* _resultobj
;
4089 PyObject
* _argo0
= 0;
4090 PyObject
* _obj1
= 0;
4093 if(!PyArg_ParseTuple(args
,"OOll:wxDC_DrawText",&_argo0
,&_obj1
,&_arg2
,&_arg3
))
4096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawText. Expected _wxDC_p.");
4103 if (!PyString_Check(_obj1
)) {
4104 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4107 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4110 wxPy_BEGIN_ALLOW_THREADS
;
4111 wxDC_DrawText(_arg0
,*_arg1
,_arg2
,_arg3
);
4113 wxPy_END_ALLOW_THREADS
;
4114 } Py_INCREF(Py_None
);
4115 _resultobj
= Py_None
;
4123 #define wxDC_EndDoc(_swigobj) (_swigobj->EndDoc())
4124 static PyObject
*_wrap_wxDC_EndDoc(PyObject
*self
, PyObject
*args
) {
4125 PyObject
* _resultobj
;
4127 PyObject
* _argo0
= 0;
4130 if(!PyArg_ParseTuple(args
,"O:wxDC_EndDoc",&_argo0
))
4133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDoc. Expected _wxDC_p.");
4140 wxPy_BEGIN_ALLOW_THREADS
;
4143 wxPy_END_ALLOW_THREADS
;
4144 } Py_INCREF(Py_None
);
4145 _resultobj
= Py_None
;
4149 #define wxDC_EndDrawing(_swigobj) (_swigobj->EndDrawing())
4150 static PyObject
*_wrap_wxDC_EndDrawing(PyObject
*self
, PyObject
*args
) {
4151 PyObject
* _resultobj
;
4153 PyObject
* _argo0
= 0;
4156 if(!PyArg_ParseTuple(args
,"O:wxDC_EndDrawing",&_argo0
))
4159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDrawing. Expected _wxDC_p.");
4166 wxPy_BEGIN_ALLOW_THREADS
;
4167 wxDC_EndDrawing(_arg0
);
4169 wxPy_END_ALLOW_THREADS
;
4170 } Py_INCREF(Py_None
);
4171 _resultobj
= Py_None
;
4175 #define wxDC_EndPage(_swigobj) (_swigobj->EndPage())
4176 static PyObject
*_wrap_wxDC_EndPage(PyObject
*self
, PyObject
*args
) {
4177 PyObject
* _resultobj
;
4179 PyObject
* _argo0
= 0;
4182 if(!PyArg_ParseTuple(args
,"O:wxDC_EndPage",&_argo0
))
4185 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4186 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndPage. Expected _wxDC_p.");
4192 wxPy_BEGIN_ALLOW_THREADS
;
4193 wxDC_EndPage(_arg0
);
4195 wxPy_END_ALLOW_THREADS
;
4196 } Py_INCREF(Py_None
);
4197 _resultobj
= Py_None
;
4201 #define wxDC_FloodFill(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FloodFill(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4202 static PyObject
*_wrap_wxDC_FloodFill(PyObject
*self
, PyObject
*args
) {
4203 PyObject
* _resultobj
;
4208 int _arg4
= (int ) wxFLOOD_SURFACE
;
4209 PyObject
* _argo0
= 0;
4210 PyObject
* _argo3
= 0;
4213 if(!PyArg_ParseTuple(args
,"OllO|i:wxDC_FloodFill",&_argo0
,&_arg1
,&_arg2
,&_argo3
,&_arg4
))
4216 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4217 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_FloodFill. Expected _wxDC_p.");
4223 if (_argo3
== Py_None
) { _arg3
= NULL
; }
4224 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxColour_p")) {
4225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDC_FloodFill. Expected _wxColour_p.");
4230 wxPy_BEGIN_ALLOW_THREADS
;
4231 wxDC_FloodFill(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
4233 wxPy_END_ALLOW_THREADS
;
4234 } Py_INCREF(Py_None
);
4235 _resultobj
= Py_None
;
4239 #define wxDC_GetBackground(_swigobj) (_swigobj->GetBackground())
4240 static PyObject
*_wrap_wxDC_GetBackground(PyObject
*self
, PyObject
*args
) {
4241 PyObject
* _resultobj
;
4244 PyObject
* _argo0
= 0;
4248 if(!PyArg_ParseTuple(args
,"O:wxDC_GetBackground",&_argo0
))
4251 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4252 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBackground. Expected _wxDC_p.");
4258 wxPy_BEGIN_ALLOW_THREADS
;
4259 wxBrush
& _result_ref
= wxDC_GetBackground(_arg0
);
4260 _result
= (wxBrush
*) &_result_ref
;
4262 wxPy_END_ALLOW_THREADS
;
4264 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
4265 _resultobj
= Py_BuildValue("s",_ptemp
);
4268 _resultobj
= Py_None
;
4273 #define wxDC_GetBrush(_swigobj) (_swigobj->GetBrush())
4274 static PyObject
*_wrap_wxDC_GetBrush(PyObject
*self
, PyObject
*args
) {
4275 PyObject
* _resultobj
;
4278 PyObject
* _argo0
= 0;
4282 if(!PyArg_ParseTuple(args
,"O:wxDC_GetBrush",&_argo0
))
4285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBrush. Expected _wxDC_p.");
4292 wxPy_BEGIN_ALLOW_THREADS
;
4293 wxBrush
& _result_ref
= wxDC_GetBrush(_arg0
);
4294 _result
= (wxBrush
*) &_result_ref
;
4296 wxPy_END_ALLOW_THREADS
;
4298 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
4299 _resultobj
= Py_BuildValue("s",_ptemp
);
4302 _resultobj
= Py_None
;
4307 #define wxDC_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
4308 static PyObject
*_wrap_wxDC_GetCharHeight(PyObject
*self
, PyObject
*args
) {
4309 PyObject
* _resultobj
;
4312 PyObject
* _argo0
= 0;
4315 if(!PyArg_ParseTuple(args
,"O:wxDC_GetCharHeight",&_argo0
))
4318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharHeight. Expected _wxDC_p.");
4325 wxPy_BEGIN_ALLOW_THREADS
;
4326 _result
= (long )wxDC_GetCharHeight(_arg0
);
4328 wxPy_END_ALLOW_THREADS
;
4329 } _resultobj
= Py_BuildValue("l",_result
);
4333 #define wxDC_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
4334 static PyObject
*_wrap_wxDC_GetCharWidth(PyObject
*self
, PyObject
*args
) {
4335 PyObject
* _resultobj
;
4338 PyObject
* _argo0
= 0;
4341 if(!PyArg_ParseTuple(args
,"O:wxDC_GetCharWidth",&_argo0
))
4344 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4345 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharWidth. Expected _wxDC_p.");
4351 wxPy_BEGIN_ALLOW_THREADS
;
4352 _result
= (long )wxDC_GetCharWidth(_arg0
);
4354 wxPy_END_ALLOW_THREADS
;
4355 } _resultobj
= Py_BuildValue("l",_result
);
4359 #define wxDC_GetClippingBox(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetClippingBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4360 static PyObject
*_wrap_wxDC_GetClippingBox(PyObject
*self
, PyObject
*args
) {
4361 PyObject
* _resultobj
;
4371 PyObject
* _argo0
= 0;
4386 if(!PyArg_ParseTuple(args
,"O:wxDC_GetClippingBox",&_argo0
))
4389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetClippingBox. Expected _wxDC_p.");
4396 wxPy_BEGIN_ALLOW_THREADS
;
4397 wxDC_GetClippingBox(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4399 wxPy_END_ALLOW_THREADS
;
4400 } Py_INCREF(Py_None
);
4401 _resultobj
= Py_None
;
4404 o
= PyInt_FromLong((long) (*_arg1
));
4405 _resultobj
= t_output_helper(_resultobj
, o
);
4409 o
= PyInt_FromLong((long) (*_arg2
));
4410 _resultobj
= t_output_helper(_resultobj
, o
);
4414 o
= PyInt_FromLong((long) (*_arg3
));
4415 _resultobj
= t_output_helper(_resultobj
, o
);
4419 o
= PyInt_FromLong((long) (*_arg4
));
4420 _resultobj
= t_output_helper(_resultobj
, o
);
4425 #define wxDC_GetFont(_swigobj) (_swigobj->GetFont())
4426 static PyObject
*_wrap_wxDC_GetFont(PyObject
*self
, PyObject
*args
) {
4427 PyObject
* _resultobj
;
4430 PyObject
* _argo0
= 0;
4434 if(!PyArg_ParseTuple(args
,"O:wxDC_GetFont",&_argo0
))
4437 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4438 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFont. Expected _wxDC_p.");
4444 wxPy_BEGIN_ALLOW_THREADS
;
4445 wxFont
& _result_ref
= wxDC_GetFont(_arg0
);
4446 _result
= (wxFont
*) &_result_ref
;
4448 wxPy_END_ALLOW_THREADS
;
4450 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
4451 _resultobj
= Py_BuildValue("s",_ptemp
);
4454 _resultobj
= Py_None
;
4459 #define wxDC_GetLogicalFunction(_swigobj) (_swigobj->GetLogicalFunction())
4460 static PyObject
*_wrap_wxDC_GetLogicalFunction(PyObject
*self
, PyObject
*args
) {
4461 PyObject
* _resultobj
;
4464 PyObject
* _argo0
= 0;
4467 if(!PyArg_ParseTuple(args
,"O:wxDC_GetLogicalFunction",&_argo0
))
4470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalFunction. Expected _wxDC_p.");
4477 wxPy_BEGIN_ALLOW_THREADS
;
4478 _result
= (int )wxDC_GetLogicalFunction(_arg0
);
4480 wxPy_END_ALLOW_THREADS
;
4481 } _resultobj
= Py_BuildValue("i",_result
);
4485 #define wxDC_GetMapMode(_swigobj) (_swigobj->GetMapMode())
4486 static PyObject
*_wrap_wxDC_GetMapMode(PyObject
*self
, PyObject
*args
) {
4487 PyObject
* _resultobj
;
4490 PyObject
* _argo0
= 0;
4493 if(!PyArg_ParseTuple(args
,"O:wxDC_GetMapMode",&_argo0
))
4496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetMapMode. Expected _wxDC_p.");
4503 wxPy_BEGIN_ALLOW_THREADS
;
4504 _result
= (int )wxDC_GetMapMode(_arg0
);
4506 wxPy_END_ALLOW_THREADS
;
4507 } _resultobj
= Py_BuildValue("i",_result
);
4511 #define wxDC_GetOptimization(_swigobj) (_swigobj->GetOptimization())
4512 static PyObject
*_wrap_wxDC_GetOptimization(PyObject
*self
, PyObject
*args
) {
4513 PyObject
* _resultobj
;
4516 PyObject
* _argo0
= 0;
4519 if(!PyArg_ParseTuple(args
,"O:wxDC_GetOptimization",&_argo0
))
4522 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4523 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetOptimization. Expected _wxDC_p.");
4529 wxPy_BEGIN_ALLOW_THREADS
;
4530 _result
= (bool )wxDC_GetOptimization(_arg0
);
4532 wxPy_END_ALLOW_THREADS
;
4533 } _resultobj
= Py_BuildValue("i",_result
);
4537 #define wxDC_GetPen(_swigobj) (_swigobj->GetPen())
4538 static PyObject
*_wrap_wxDC_GetPen(PyObject
*self
, PyObject
*args
) {
4539 PyObject
* _resultobj
;
4542 PyObject
* _argo0
= 0;
4546 if(!PyArg_ParseTuple(args
,"O:wxDC_GetPen",&_argo0
))
4549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPen. Expected _wxDC_p.");
4556 wxPy_BEGIN_ALLOW_THREADS
;
4557 wxPen
& _result_ref
= wxDC_GetPen(_arg0
);
4558 _result
= (wxPen
*) &_result_ref
;
4560 wxPy_END_ALLOW_THREADS
;
4562 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
4563 _resultobj
= Py_BuildValue("s",_ptemp
);
4566 _resultobj
= Py_None
;
4571 static wxColour
* wxDC_GetPixel(wxDC
*self
,long x
,long y
) {
4572 wxColour
* wc
= new wxColour();
4573 self
->GetPixel(x
, y
, wc
);
4576 static PyObject
*_wrap_wxDC_GetPixel(PyObject
*self
, PyObject
*args
) {
4577 PyObject
* _resultobj
;
4582 PyObject
* _argo0
= 0;
4586 if(!PyArg_ParseTuple(args
,"Oll:wxDC_GetPixel",&_argo0
,&_arg1
,&_arg2
))
4589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPixel. Expected _wxDC_p.");
4596 wxPy_BEGIN_ALLOW_THREADS
;
4597 _result
= (wxColour
*)wxDC_GetPixel(_arg0
,_arg1
,_arg2
);
4599 wxPy_END_ALLOW_THREADS
;
4601 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
4602 _resultobj
= Py_BuildValue("s",_ptemp
);
4605 _resultobj
= Py_None
;
4610 #define wxDC_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
4611 static PyObject
*_wrap_wxDC_GetSizeTuple(PyObject
*self
, PyObject
*args
) {
4612 PyObject
* _resultobj
;
4618 PyObject
* _argo0
= 0;
4627 if(!PyArg_ParseTuple(args
,"O:wxDC_GetSizeTuple",&_argo0
))
4630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSizeTuple. Expected _wxDC_p.");
4637 wxPy_BEGIN_ALLOW_THREADS
;
4638 wxDC_GetSizeTuple(_arg0
,_arg1
,_arg2
);
4640 wxPy_END_ALLOW_THREADS
;
4641 } Py_INCREF(Py_None
);
4642 _resultobj
= Py_None
;
4645 o
= PyInt_FromLong((long) (*_arg1
));
4646 _resultobj
= t_output_helper(_resultobj
, o
);
4650 o
= PyInt_FromLong((long) (*_arg2
));
4651 _resultobj
= t_output_helper(_resultobj
, o
);
4656 #define wxDC_GetSize(_swigobj) (_swigobj->GetSize())
4657 static PyObject
*_wrap_wxDC_GetSize(PyObject
*self
, PyObject
*args
) {
4658 PyObject
* _resultobj
;
4661 PyObject
* _argo0
= 0;
4665 if(!PyArg_ParseTuple(args
,"O:wxDC_GetSize",&_argo0
))
4668 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4669 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSize. Expected _wxDC_p.");
4675 wxPy_BEGIN_ALLOW_THREADS
;
4676 _result
= new wxSize (wxDC_GetSize(_arg0
));
4678 wxPy_END_ALLOW_THREADS
;
4679 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4680 _resultobj
= Py_BuildValue("s",_ptemp
);
4684 #define wxDC_GetTextBackground(_swigobj) (_swigobj->GetTextBackground())
4685 static PyObject
*_wrap_wxDC_GetTextBackground(PyObject
*self
, PyObject
*args
) {
4686 PyObject
* _resultobj
;
4689 PyObject
* _argo0
= 0;
4693 if(!PyArg_ParseTuple(args
,"O:wxDC_GetTextBackground",&_argo0
))
4696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextBackground. Expected _wxDC_p.");
4703 wxPy_BEGIN_ALLOW_THREADS
;
4704 wxColour
& _result_ref
= wxDC_GetTextBackground(_arg0
);
4705 _result
= (wxColour
*) &_result_ref
;
4707 wxPy_END_ALLOW_THREADS
;
4709 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
4710 _resultobj
= Py_BuildValue("s",_ptemp
);
4713 _resultobj
= Py_None
;
4718 #define wxDC_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
4719 static PyObject
*_wrap_wxDC_GetTextExtent(PyObject
*self
, PyObject
*args
) {
4720 PyObject
* _resultobj
;
4727 PyObject
* _argo0
= 0;
4728 PyObject
* _obj1
= 0;
4737 if(!PyArg_ParseTuple(args
,"OO:wxDC_GetTextExtent",&_argo0
,&_obj1
))
4740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextExtent. Expected _wxDC_p.");
4747 if (!PyString_Check(_obj1
)) {
4748 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4751 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4754 wxPy_BEGIN_ALLOW_THREADS
;
4755 wxDC_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
4757 wxPy_END_ALLOW_THREADS
;
4758 } Py_INCREF(Py_None
);
4759 _resultobj
= Py_None
;
4762 o
= PyInt_FromLong((long) (*_arg2
));
4763 _resultobj
= t_output_helper(_resultobj
, o
);
4767 o
= PyInt_FromLong((long) (*_arg3
));
4768 _resultobj
= t_output_helper(_resultobj
, o
);
4777 #define wxDC_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4778 static PyObject
*_wrap_wxDC_GetFullTextExtent(PyObject
*self
, PyObject
*args
) {
4779 PyObject
* _resultobj
;
4790 wxFont
* _arg6
= (wxFont
*) NULL
;
4791 PyObject
* _argo0
= 0;
4792 PyObject
* _obj1
= 0;
4793 PyObject
* _argo6
= 0;
4808 if(!PyArg_ParseTuple(args
,"OO|O:wxDC_GetFullTextExtent",&_argo0
,&_obj1
,&_argo6
))
4811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFullTextExtent. Expected _wxDC_p.");
4818 if (!PyString_Check(_obj1
)) {
4819 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4822 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4825 if (_argo6
== Py_None
) { _arg6
= NULL
; }
4826 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
4827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxDC_GetFullTextExtent. Expected _wxFont_p.");
4832 wxPy_BEGIN_ALLOW_THREADS
;
4833 wxDC_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4835 wxPy_END_ALLOW_THREADS
;
4836 } Py_INCREF(Py_None
);
4837 _resultobj
= Py_None
;
4840 o
= PyInt_FromLong((long) (*_arg2
));
4841 _resultobj
= t_output_helper(_resultobj
, o
);
4845 o
= PyInt_FromLong((long) (*_arg3
));
4846 _resultobj
= t_output_helper(_resultobj
, o
);
4850 o
= PyInt_FromLong((long) (*_arg4
));
4851 _resultobj
= t_output_helper(_resultobj
, o
);
4855 o
= PyInt_FromLong((long) (*_arg5
));
4856 _resultobj
= t_output_helper(_resultobj
, o
);
4865 #define wxDC_GetTextForeground(_swigobj) (_swigobj->GetTextForeground())
4866 static PyObject
*_wrap_wxDC_GetTextForeground(PyObject
*self
, PyObject
*args
) {
4867 PyObject
* _resultobj
;
4870 PyObject
* _argo0
= 0;
4874 if(!PyArg_ParseTuple(args
,"O:wxDC_GetTextForeground",&_argo0
))
4877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextForeground. Expected _wxDC_p.");
4884 wxPy_BEGIN_ALLOW_THREADS
;
4885 wxColour
& _result_ref
= wxDC_GetTextForeground(_arg0
);
4886 _result
= (wxColour
*) &_result_ref
;
4888 wxPy_END_ALLOW_THREADS
;
4890 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
4891 _resultobj
= Py_BuildValue("s",_ptemp
);
4894 _resultobj
= Py_None
;
4899 #define wxDC_LogicalToDeviceX(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceX(_swigarg0))
4900 static PyObject
*_wrap_wxDC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
) {
4901 PyObject
* _resultobj
;
4905 PyObject
* _argo0
= 0;
4908 if(!PyArg_ParseTuple(args
,"Ol:wxDC_LogicalToDeviceX",&_argo0
,&_arg1
))
4911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceX. Expected _wxDC_p.");
4918 wxPy_BEGIN_ALLOW_THREADS
;
4919 _result
= (long )wxDC_LogicalToDeviceX(_arg0
,_arg1
);
4921 wxPy_END_ALLOW_THREADS
;
4922 } _resultobj
= Py_BuildValue("l",_result
);
4926 #define wxDC_LogicalToDeviceXRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceXRel(_swigarg0))
4927 static PyObject
*_wrap_wxDC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
) {
4928 PyObject
* _resultobj
;
4932 PyObject
* _argo0
= 0;
4935 if(!PyArg_ParseTuple(args
,"Ol:wxDC_LogicalToDeviceXRel",&_argo0
,&_arg1
))
4938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceXRel. Expected _wxDC_p.");
4945 wxPy_BEGIN_ALLOW_THREADS
;
4946 _result
= (long )wxDC_LogicalToDeviceXRel(_arg0
,_arg1
);
4948 wxPy_END_ALLOW_THREADS
;
4949 } _resultobj
= Py_BuildValue("l",_result
);
4953 #define wxDC_LogicalToDeviceY(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceY(_swigarg0))
4954 static PyObject
*_wrap_wxDC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
) {
4955 PyObject
* _resultobj
;
4959 PyObject
* _argo0
= 0;
4962 if(!PyArg_ParseTuple(args
,"Ol:wxDC_LogicalToDeviceY",&_argo0
,&_arg1
))
4965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceY. Expected _wxDC_p.");
4972 wxPy_BEGIN_ALLOW_THREADS
;
4973 _result
= (long )wxDC_LogicalToDeviceY(_arg0
,_arg1
);
4975 wxPy_END_ALLOW_THREADS
;
4976 } _resultobj
= Py_BuildValue("l",_result
);
4980 #define wxDC_LogicalToDeviceYRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceYRel(_swigarg0))
4981 static PyObject
*_wrap_wxDC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
) {
4982 PyObject
* _resultobj
;
4986 PyObject
* _argo0
= 0;
4989 if(!PyArg_ParseTuple(args
,"Ol:wxDC_LogicalToDeviceYRel",&_argo0
,&_arg1
))
4992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceYRel. Expected _wxDC_p.");
4999 wxPy_BEGIN_ALLOW_THREADS
;
5000 _result
= (long )wxDC_LogicalToDeviceYRel(_arg0
,_arg1
);
5002 wxPy_END_ALLOW_THREADS
;
5003 } _resultobj
= Py_BuildValue("l",_result
);
5007 #define wxDC_MaxX(_swigobj) (_swigobj->MaxX())
5008 static PyObject
*_wrap_wxDC_MaxX(PyObject
*self
, PyObject
*args
) {
5009 PyObject
* _resultobj
;
5012 PyObject
* _argo0
= 0;
5015 if(!PyArg_ParseTuple(args
,"O:wxDC_MaxX",&_argo0
))
5018 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5019 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxX. Expected _wxDC_p.");
5025 wxPy_BEGIN_ALLOW_THREADS
;
5026 _result
= (long )wxDC_MaxX(_arg0
);
5028 wxPy_END_ALLOW_THREADS
;
5029 } _resultobj
= Py_BuildValue("l",_result
);
5033 #define wxDC_MaxY(_swigobj) (_swigobj->MaxY())
5034 static PyObject
*_wrap_wxDC_MaxY(PyObject
*self
, PyObject
*args
) {
5035 PyObject
* _resultobj
;
5038 PyObject
* _argo0
= 0;
5041 if(!PyArg_ParseTuple(args
,"O:wxDC_MaxY",&_argo0
))
5044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxY. Expected _wxDC_p.");
5051 wxPy_BEGIN_ALLOW_THREADS
;
5052 _result
= (long )wxDC_MaxY(_arg0
);
5054 wxPy_END_ALLOW_THREADS
;
5055 } _resultobj
= Py_BuildValue("l",_result
);
5059 #define wxDC_MinX(_swigobj) (_swigobj->MinX())
5060 static PyObject
*_wrap_wxDC_MinX(PyObject
*self
, PyObject
*args
) {
5061 PyObject
* _resultobj
;
5064 PyObject
* _argo0
= 0;
5067 if(!PyArg_ParseTuple(args
,"O:wxDC_MinX",&_argo0
))
5070 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5071 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinX. Expected _wxDC_p.");
5077 wxPy_BEGIN_ALLOW_THREADS
;
5078 _result
= (long )wxDC_MinX(_arg0
);
5080 wxPy_END_ALLOW_THREADS
;
5081 } _resultobj
= Py_BuildValue("l",_result
);
5085 #define wxDC_MinY(_swigobj) (_swigobj->MinY())
5086 static PyObject
*_wrap_wxDC_MinY(PyObject
*self
, PyObject
*args
) {
5087 PyObject
* _resultobj
;
5090 PyObject
* _argo0
= 0;
5093 if(!PyArg_ParseTuple(args
,"O:wxDC_MinY",&_argo0
))
5096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinY. Expected _wxDC_p.");
5103 wxPy_BEGIN_ALLOW_THREADS
;
5104 _result
= (long )wxDC_MinY(_arg0
);
5106 wxPy_END_ALLOW_THREADS
;
5107 } _resultobj
= Py_BuildValue("l",_result
);
5111 #define wxDC_Ok(_swigobj) (_swigobj->Ok())
5112 static PyObject
*_wrap_wxDC_Ok(PyObject
*self
, PyObject
*args
) {
5113 PyObject
* _resultobj
;
5116 PyObject
* _argo0
= 0;
5119 if(!PyArg_ParseTuple(args
,"O:wxDC_Ok",&_argo0
))
5122 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5123 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Ok. Expected _wxDC_p.");
5129 wxPy_BEGIN_ALLOW_THREADS
;
5130 _result
= (bool )wxDC_Ok(_arg0
);
5132 wxPy_END_ALLOW_THREADS
;
5133 } _resultobj
= Py_BuildValue("i",_result
);
5137 #define wxDC_SetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDeviceOrigin(_swigarg0,_swigarg1))
5138 static PyObject
*_wrap_wxDC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
) {
5139 PyObject
* _resultobj
;
5143 PyObject
* _argo0
= 0;
5146 if(!PyArg_ParseTuple(args
,"Oll:wxDC_SetDeviceOrigin",&_argo0
,&_arg1
,&_arg2
))
5149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetDeviceOrigin. Expected _wxDC_p.");
5156 wxPy_BEGIN_ALLOW_THREADS
;
5157 wxDC_SetDeviceOrigin(_arg0
,_arg1
,_arg2
);
5159 wxPy_END_ALLOW_THREADS
;
5160 } Py_INCREF(Py_None
);
5161 _resultobj
= Py_None
;
5165 #define wxDC_SetBackground(_swigobj,_swigarg0) (_swigobj->SetBackground(_swigarg0))
5166 static PyObject
*_wrap_wxDC_SetBackground(PyObject
*self
, PyObject
*args
) {
5167 PyObject
* _resultobj
;
5170 PyObject
* _argo0
= 0;
5171 PyObject
* _argo1
= 0;
5174 if(!PyArg_ParseTuple(args
,"OO:wxDC_SetBackground",&_argo0
,&_argo1
))
5177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackground. Expected _wxDC_p.");
5184 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5185 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
5186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBackground. Expected _wxBrush_p.");
5191 wxPy_BEGIN_ALLOW_THREADS
;
5192 wxDC_SetBackground(_arg0
,*_arg1
);
5194 wxPy_END_ALLOW_THREADS
;
5195 } Py_INCREF(Py_None
);
5196 _resultobj
= Py_None
;
5200 #define wxDC_SetBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetBackgroundMode(_swigarg0))
5201 static PyObject
*_wrap_wxDC_SetBackgroundMode(PyObject
*self
, PyObject
*args
) {
5202 PyObject
* _resultobj
;
5205 PyObject
* _argo0
= 0;
5208 if(!PyArg_ParseTuple(args
,"Oi:wxDC_SetBackgroundMode",&_argo0
,&_arg1
))
5211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackgroundMode. Expected _wxDC_p.");
5218 wxPy_BEGIN_ALLOW_THREADS
;
5219 wxDC_SetBackgroundMode(_arg0
,_arg1
);
5221 wxPy_END_ALLOW_THREADS
;
5222 } Py_INCREF(Py_None
);
5223 _resultobj
= Py_None
;
5227 #define wxDC_SetClippingRegion(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetClippingRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5228 static PyObject
*_wrap_wxDC_SetClippingRegion(PyObject
*self
, PyObject
*args
) {
5229 PyObject
* _resultobj
;
5235 PyObject
* _argo0
= 0;
5238 if(!PyArg_ParseTuple(args
,"Ollll:wxDC_SetClippingRegion",&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
5241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetClippingRegion. Expected _wxDC_p.");
5248 wxPy_BEGIN_ALLOW_THREADS
;
5249 wxDC_SetClippingRegion(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5251 wxPy_END_ALLOW_THREADS
;
5252 } Py_INCREF(Py_None
);
5253 _resultobj
= Py_None
;
5257 #define wxDC_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
5258 static PyObject
*_wrap_wxDC_SetPalette(PyObject
*self
, PyObject
*args
) {
5259 PyObject
* _resultobj
;
5262 PyObject
* _argo0
= 0;
5263 PyObject
* _argo1
= 0;
5266 if(!PyArg_ParseTuple(args
,"OO:wxDC_SetPalette",&_argo0
,&_argo1
))
5269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPalette. Expected _wxDC_p.");
5276 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5277 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPalette_p")) {
5278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPalette. Expected _wxPalette_p.");
5283 wxPy_BEGIN_ALLOW_THREADS
;
5284 wxDC_SetPalette(_arg0
,*_arg1
);
5286 wxPy_END_ALLOW_THREADS
;
5287 } Py_INCREF(Py_None
);
5288 _resultobj
= Py_None
;
5292 #define wxDC_SetBrush(_swigobj,_swigarg0) (_swigobj->SetBrush(_swigarg0))
5293 static PyObject
*_wrap_wxDC_SetBrush(PyObject
*self
, PyObject
*args
) {
5294 PyObject
* _resultobj
;
5297 PyObject
* _argo0
= 0;
5298 PyObject
* _argo1
= 0;
5301 if(!PyArg_ParseTuple(args
,"OO:wxDC_SetBrush",&_argo0
,&_argo1
))
5304 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5305 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBrush. Expected _wxDC_p.");
5311 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5312 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
5313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBrush. Expected _wxBrush_p.");
5318 wxPy_BEGIN_ALLOW_THREADS
;
5319 wxDC_SetBrush(_arg0
,*_arg1
);
5321 wxPy_END_ALLOW_THREADS
;
5322 } Py_INCREF(Py_None
);
5323 _resultobj
= Py_None
;
5327 #define wxDC_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
5328 static PyObject
*_wrap_wxDC_SetFont(PyObject
*self
, PyObject
*args
) {
5329 PyObject
* _resultobj
;
5332 PyObject
* _argo0
= 0;
5333 PyObject
* _argo1
= 0;
5336 if(!PyArg_ParseTuple(args
,"OO:wxDC_SetFont",&_argo0
,&_argo1
))
5339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetFont. Expected _wxDC_p.");
5346 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5347 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
5348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetFont. Expected _wxFont_p.");
5353 wxPy_BEGIN_ALLOW_THREADS
;
5354 wxDC_SetFont(_arg0
,*_arg1
);
5356 wxPy_END_ALLOW_THREADS
;
5357 } Py_INCREF(Py_None
);
5358 _resultobj
= Py_None
;
5362 #define wxDC_SetLogicalFunction(_swigobj,_swigarg0) (_swigobj->SetLogicalFunction(_swigarg0))
5363 static PyObject
*_wrap_wxDC_SetLogicalFunction(PyObject
*self
, PyObject
*args
) {
5364 PyObject
* _resultobj
;
5367 PyObject
* _argo0
= 0;
5370 if(!PyArg_ParseTuple(args
,"Oi:wxDC_SetLogicalFunction",&_argo0
,&_arg1
))
5373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalFunction. Expected _wxDC_p.");
5380 wxPy_BEGIN_ALLOW_THREADS
;
5381 wxDC_SetLogicalFunction(_arg0
,_arg1
);
5383 wxPy_END_ALLOW_THREADS
;
5384 } Py_INCREF(Py_None
);
5385 _resultobj
= Py_None
;
5389 #define wxDC_SetMapMode(_swigobj,_swigarg0) (_swigobj->SetMapMode(_swigarg0))
5390 static PyObject
*_wrap_wxDC_SetMapMode(PyObject
*self
, PyObject
*args
) {
5391 PyObject
* _resultobj
;
5394 PyObject
* _argo0
= 0;
5397 if(!PyArg_ParseTuple(args
,"Oi:wxDC_SetMapMode",&_argo0
,&_arg1
))
5400 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5401 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetMapMode. Expected _wxDC_p.");
5407 wxPy_BEGIN_ALLOW_THREADS
;
5408 wxDC_SetMapMode(_arg0
,_arg1
);
5410 wxPy_END_ALLOW_THREADS
;
5411 } Py_INCREF(Py_None
);
5412 _resultobj
= Py_None
;
5416 #define wxDC_SetOptimization(_swigobj,_swigarg0) (_swigobj->SetOptimization(_swigarg0))
5417 static PyObject
*_wrap_wxDC_SetOptimization(PyObject
*self
, PyObject
*args
) {
5418 PyObject
* _resultobj
;
5421 PyObject
* _argo0
= 0;
5425 if(!PyArg_ParseTuple(args
,"Oi:wxDC_SetOptimization",&_argo0
,&tempbool1
))
5428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetOptimization. Expected _wxDC_p.");
5434 _arg1
= (bool ) tempbool1
;
5436 wxPy_BEGIN_ALLOW_THREADS
;
5437 wxDC_SetOptimization(_arg0
,_arg1
);
5439 wxPy_END_ALLOW_THREADS
;
5440 } Py_INCREF(Py_None
);
5441 _resultobj
= Py_None
;
5445 #define wxDC_SetPen(_swigobj,_swigarg0) (_swigobj->SetPen(_swigarg0))
5446 static PyObject
*_wrap_wxDC_SetPen(PyObject
*self
, PyObject
*args
) {
5447 PyObject
* _resultobj
;
5450 PyObject
* _argo0
= 0;
5451 PyObject
* _argo1
= 0;
5454 if(!PyArg_ParseTuple(args
,"OO:wxDC_SetPen",&_argo0
,&_argo1
))
5457 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5458 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPen. Expected _wxDC_p.");
5464 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5465 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
5466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPen. Expected _wxPen_p.");
5471 wxPy_BEGIN_ALLOW_THREADS
;
5472 wxDC_SetPen(_arg0
,*_arg1
);
5474 wxPy_END_ALLOW_THREADS
;
5475 } Py_INCREF(Py_None
);
5476 _resultobj
= Py_None
;
5480 #define wxDC_SetTextBackground(_swigobj,_swigarg0) (_swigobj->SetTextBackground(_swigarg0))
5481 static PyObject
*_wrap_wxDC_SetTextBackground(PyObject
*self
, PyObject
*args
) {
5482 PyObject
* _resultobj
;
5485 PyObject
* _argo0
= 0;
5486 PyObject
* _argo1
= 0;
5489 if(!PyArg_ParseTuple(args
,"OO:wxDC_SetTextBackground",&_argo0
,&_argo1
))
5492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextBackground. Expected _wxDC_p.");
5499 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5500 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
5501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetTextBackground. Expected _wxColour_p.");
5506 wxPy_BEGIN_ALLOW_THREADS
;
5507 wxDC_SetTextBackground(_arg0
,*_arg1
);
5509 wxPy_END_ALLOW_THREADS
;
5510 } Py_INCREF(Py_None
);
5511 _resultobj
= Py_None
;
5515 #define wxDC_SetTextForeground(_swigobj,_swigarg0) (_swigobj->SetTextForeground(_swigarg0))
5516 static PyObject
*_wrap_wxDC_SetTextForeground(PyObject
*self
, PyObject
*args
) {
5517 PyObject
* _resultobj
;
5520 PyObject
* _argo0
= 0;
5521 PyObject
* _argo1
= 0;
5524 if(!PyArg_ParseTuple(args
,"OO:wxDC_SetTextForeground",&_argo0
,&_argo1
))
5527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextForeground. Expected _wxDC_p.");
5534 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5535 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
5536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetTextForeground. Expected _wxColour_p.");
5541 wxPy_BEGIN_ALLOW_THREADS
;
5542 wxDC_SetTextForeground(_arg0
,*_arg1
);
5544 wxPy_END_ALLOW_THREADS
;
5545 } Py_INCREF(Py_None
);
5546 _resultobj
= Py_None
;
5550 #define wxDC_SetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetUserScale(_swigarg0,_swigarg1))
5551 static PyObject
*_wrap_wxDC_SetUserScale(PyObject
*self
, PyObject
*args
) {
5552 PyObject
* _resultobj
;
5556 PyObject
* _argo0
= 0;
5559 if(!PyArg_ParseTuple(args
,"Odd:wxDC_SetUserScale",&_argo0
,&_arg1
,&_arg2
))
5562 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5563 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetUserScale. Expected _wxDC_p.");
5569 wxPy_BEGIN_ALLOW_THREADS
;
5570 wxDC_SetUserScale(_arg0
,_arg1
,_arg2
);
5572 wxPy_END_ALLOW_THREADS
;
5573 } Py_INCREF(Py_None
);
5574 _resultobj
= Py_None
;
5578 #define wxDC_StartDoc(_swigobj,_swigarg0) (_swigobj->StartDoc(_swigarg0))
5579 static PyObject
*_wrap_wxDC_StartDoc(PyObject
*self
, PyObject
*args
) {
5580 PyObject
* _resultobj
;
5584 PyObject
* _argo0
= 0;
5585 PyObject
* _obj1
= 0;
5588 if(!PyArg_ParseTuple(args
,"OO:wxDC_StartDoc",&_argo0
,&_obj1
))
5591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartDoc. Expected _wxDC_p.");
5598 if (!PyString_Check(_obj1
)) {
5599 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5602 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5605 wxPy_BEGIN_ALLOW_THREADS
;
5606 _result
= (bool )wxDC_StartDoc(_arg0
,*_arg1
);
5608 wxPy_END_ALLOW_THREADS
;
5609 } _resultobj
= Py_BuildValue("i",_result
);
5617 #define wxDC_StartPage(_swigobj) (_swigobj->StartPage())
5618 static PyObject
*_wrap_wxDC_StartPage(PyObject
*self
, PyObject
*args
) {
5619 PyObject
* _resultobj
;
5621 PyObject
* _argo0
= 0;
5624 if(!PyArg_ParseTuple(args
,"O:wxDC_StartPage",&_argo0
))
5627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartPage. Expected _wxDC_p.");
5634 wxPy_BEGIN_ALLOW_THREADS
;
5635 wxDC_StartPage(_arg0
);
5637 wxPy_END_ALLOW_THREADS
;
5638 } Py_INCREF(Py_None
);
5639 _resultobj
= Py_None
;
5643 static void wxDC_DrawBitmap(wxDC
*self
,wxBitmap
& bitmap
,long x
,long y
,bool swapPalette
) {
5644 wxMemoryDC
* memDC
= new wxMemoryDC
;
5645 memDC
->SelectObject(bitmap
);
5648 self
->SetPalette(*bitmap
.GetPalette());
5650 self
->Blit(x
, y
, bitmap
.GetWidth(), bitmap
.GetHeight(), memDC
,
5651 0, 0, self
->GetLogicalFunction());
5652 memDC
->SelectObject(wxNullBitmap
);
5655 static PyObject
*_wrap_wxDC_DrawBitmap(PyObject
*self
, PyObject
*args
) {
5656 PyObject
* _resultobj
;
5661 bool _arg4
= (bool ) TRUE
;
5662 PyObject
* _argo0
= 0;
5663 PyObject
* _argo1
= 0;
5664 int tempbool4
= (int) TRUE
;
5667 if(!PyArg_ParseTuple(args
,"OOll|i:wxDC_DrawBitmap",&_argo0
,&_argo1
,&_arg2
,&_arg3
,&tempbool4
))
5670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawBitmap. Expected _wxDC_p.");
5677 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5678 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
5679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawBitmap. Expected _wxBitmap_p.");
5683 _arg4
= (bool ) tempbool4
;
5685 wxPy_BEGIN_ALLOW_THREADS
;
5686 wxDC_DrawBitmap(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
5688 wxPy_END_ALLOW_THREADS
;
5689 } Py_INCREF(Py_None
);
5690 _resultobj
= Py_None
;
5694 static void *SwigwxMemoryDCTowxDC(void *ptr
) {
5697 src
= (wxMemoryDC
*) ptr
;
5698 dest
= (wxDC
*) src
;
5699 return (void *) dest
;
5702 #define new_wxMemoryDC() (new wxMemoryDC())
5703 static PyObject
*_wrap_new_wxMemoryDC(PyObject
*self
, PyObject
*args
) {
5704 PyObject
* _resultobj
;
5705 wxMemoryDC
* _result
;
5709 if(!PyArg_ParseTuple(args
,":new_wxMemoryDC"))
5712 wxPy_BEGIN_ALLOW_THREADS
;
5713 _result
= (wxMemoryDC
*)new_wxMemoryDC();
5715 wxPy_END_ALLOW_THREADS
;
5717 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
5718 _resultobj
= Py_BuildValue("s",_ptemp
);
5721 _resultobj
= Py_None
;
5726 #define wxMemoryDC_SelectObject(_swigobj,_swigarg0) (_swigobj->SelectObject(_swigarg0))
5727 static PyObject
*_wrap_wxMemoryDC_SelectObject(PyObject
*self
, PyObject
*args
) {
5728 PyObject
* _resultobj
;
5731 PyObject
* _argo0
= 0;
5732 PyObject
* _argo1
= 0;
5735 if(!PyArg_ParseTuple(args
,"OO:wxMemoryDC_SelectObject",&_argo0
,&_argo1
))
5738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMemoryDC_p")) {
5740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDC_SelectObject. Expected _wxMemoryDC_p.");
5745 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5746 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
5747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMemoryDC_SelectObject. Expected _wxBitmap_p.");
5752 wxPy_BEGIN_ALLOW_THREADS
;
5753 wxMemoryDC_SelectObject(_arg0
,*_arg1
);
5755 wxPy_END_ALLOW_THREADS
;
5756 } Py_INCREF(Py_None
);
5757 _resultobj
= Py_None
;
5761 static void *SwigwxScreenDCTowxDC(void *ptr
) {
5764 src
= (wxScreenDC
*) ptr
;
5765 dest
= (wxDC
*) src
;
5766 return (void *) dest
;
5769 #define new_wxScreenDC() (new wxScreenDC())
5770 static PyObject
*_wrap_new_wxScreenDC(PyObject
*self
, PyObject
*args
) {
5771 PyObject
* _resultobj
;
5772 wxScreenDC
* _result
;
5776 if(!PyArg_ParseTuple(args
,":new_wxScreenDC"))
5779 wxPy_BEGIN_ALLOW_THREADS
;
5780 _result
= (wxScreenDC
*)new_wxScreenDC();
5782 wxPy_END_ALLOW_THREADS
;
5784 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScreenDC_p");
5785 _resultobj
= Py_BuildValue("s",_ptemp
);
5788 _resultobj
= Py_None
;
5793 #define wxScreenDC_StartDrawingOnTop(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
5794 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
) {
5795 PyObject
* _resultobj
;
5799 PyObject
* _argo0
= 0;
5800 PyObject
* _argo1
= 0;
5803 if(!PyArg_ParseTuple(args
,"OO:wxScreenDC_StartDrawingOnTop",&_argo0
,&_argo1
))
5806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
5808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTop. Expected _wxScreenDC_p.");
5813 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5814 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScreenDC_StartDrawingOnTop. Expected _wxWindow_p.");
5820 wxPy_BEGIN_ALLOW_THREADS
;
5821 _result
= (bool )wxScreenDC_StartDrawingOnTop(_arg0
,_arg1
);
5823 wxPy_END_ALLOW_THREADS
;
5824 } _resultobj
= Py_BuildValue("i",_result
);
5828 #define wxScreenDC_StartDrawingOnTopRect(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
5829 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTopRect(PyObject
*self
, PyObject
*args
) {
5830 PyObject
* _resultobj
;
5833 wxRect
* _arg1
= (wxRect
*) NULL
;
5834 PyObject
* _argo0
= 0;
5835 PyObject
* _argo1
= 0;
5838 if(!PyArg_ParseTuple(args
,"O|O:wxScreenDC_StartDrawingOnTopRect",&_argo0
,&_argo1
))
5841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
5843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTopRect. Expected _wxScreenDC_p.");
5848 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5849 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRect_p")) {
5850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScreenDC_StartDrawingOnTopRect. Expected _wxRect_p.");
5855 wxPy_BEGIN_ALLOW_THREADS
;
5856 _result
= (bool )wxScreenDC_StartDrawingOnTopRect(_arg0
,_arg1
);
5858 wxPy_END_ALLOW_THREADS
;
5859 } _resultobj
= Py_BuildValue("i",_result
);
5863 #define wxScreenDC_EndDrawingOnTop(_swigobj) (_swigobj->EndDrawingOnTop())
5864 static PyObject
*_wrap_wxScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
) {
5865 PyObject
* _resultobj
;
5868 PyObject
* _argo0
= 0;
5871 if(!PyArg_ParseTuple(args
,"O:wxScreenDC_EndDrawingOnTop",&_argo0
))
5874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
5876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_EndDrawingOnTop. Expected _wxScreenDC_p.");
5881 wxPy_BEGIN_ALLOW_THREADS
;
5882 _result
= (bool )wxScreenDC_EndDrawingOnTop(_arg0
);
5884 wxPy_END_ALLOW_THREADS
;
5885 } _resultobj
= Py_BuildValue("i",_result
);
5889 static void *SwigwxClientDCTowxDC(void *ptr
) {
5892 src
= (wxClientDC
*) ptr
;
5893 dest
= (wxDC
*) src
;
5894 return (void *) dest
;
5897 #define new_wxClientDC(_swigarg0) (new wxClientDC(_swigarg0))
5898 static PyObject
*_wrap_new_wxClientDC(PyObject
*self
, PyObject
*args
) {
5899 PyObject
* _resultobj
;
5900 wxClientDC
* _result
;
5902 PyObject
* _argo0
= 0;
5906 if(!PyArg_ParseTuple(args
,"O:new_wxClientDC",&_argo0
))
5909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxClientDC. Expected _wxWindow_p.");
5916 wxPy_BEGIN_ALLOW_THREADS
;
5917 _result
= (wxClientDC
*)new_wxClientDC(_arg0
);
5919 wxPy_END_ALLOW_THREADS
;
5921 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxClientDC_p");
5922 _resultobj
= Py_BuildValue("s",_ptemp
);
5925 _resultobj
= Py_None
;
5930 static void *SwigwxPaintDCTowxDC(void *ptr
) {
5933 src
= (wxPaintDC
*) ptr
;
5934 dest
= (wxDC
*) src
;
5935 return (void *) dest
;
5938 #define new_wxPaintDC(_swigarg0) (new wxPaintDC(_swigarg0))
5939 static PyObject
*_wrap_new_wxPaintDC(PyObject
*self
, PyObject
*args
) {
5940 PyObject
* _resultobj
;
5941 wxPaintDC
* _result
;
5943 PyObject
* _argo0
= 0;
5947 if(!PyArg_ParseTuple(args
,"O:new_wxPaintDC",&_argo0
))
5950 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5951 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPaintDC. Expected _wxWindow_p.");
5957 wxPy_BEGIN_ALLOW_THREADS
;
5958 _result
= (wxPaintDC
*)new_wxPaintDC(_arg0
);
5960 wxPy_END_ALLOW_THREADS
;
5962 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPaintDC_p");
5963 _resultobj
= Py_BuildValue("s",_ptemp
);
5966 _resultobj
= Py_None
;
5971 static void *SwigwxWindowDCTowxDC(void *ptr
) {
5974 src
= (wxWindowDC
*) ptr
;
5975 dest
= (wxDC
*) src
;
5976 return (void *) dest
;
5979 #define new_wxWindowDC(_swigarg0) (new wxWindowDC(_swigarg0))
5980 static PyObject
*_wrap_new_wxWindowDC(PyObject
*self
, PyObject
*args
) {
5981 PyObject
* _resultobj
;
5982 wxWindowDC
* _result
;
5984 PyObject
* _argo0
= 0;
5988 if(!PyArg_ParseTuple(args
,"O:new_wxWindowDC",&_argo0
))
5991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDC. Expected _wxWindow_p.");
5998 wxPy_BEGIN_ALLOW_THREADS
;
5999 _result
= (wxWindowDC
*)new_wxWindowDC(_arg0
);
6001 wxPy_END_ALLOW_THREADS
;
6003 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDC_p");
6004 _resultobj
= Py_BuildValue("s",_ptemp
);
6007 _resultobj
= Py_None
;
6012 static void *SwigwxPrinterDCTowxDC(void *ptr
) {
6015 src
= (wxPrinterDC
*) ptr
;
6016 dest
= (wxDC
*) src
;
6017 return (void *) dest
;
6020 #define new_wxPrinterDC(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxPrinterDC(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6021 static PyObject
*_wrap_new_wxPrinterDC(PyObject
*self
, PyObject
*args
) {
6022 PyObject
* _resultobj
;
6023 wxPrinterDC
* _result
;
6027 bool _arg3
= (bool ) TRUE
;
6028 int _arg4
= (int ) wxPORTRAIT
;
6029 PyObject
* _obj0
= 0;
6030 PyObject
* _obj1
= 0;
6031 PyObject
* _obj2
= 0;
6032 int tempbool3
= (int) TRUE
;
6036 if(!PyArg_ParseTuple(args
,"OOO|ii:new_wxPrinterDC",&_obj0
,&_obj1
,&_obj2
,&tempbool3
,&_arg4
))
6039 if (!PyString_Check(_obj0
)) {
6040 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6043 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
6046 if (!PyString_Check(_obj1
)) {
6047 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6050 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
6053 if (!PyString_Check(_obj2
)) {
6054 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6057 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6059 _arg3
= (bool ) tempbool3
;
6061 wxPy_BEGIN_ALLOW_THREADS
;
6062 _result
= (wxPrinterDC
*)new_wxPrinterDC(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
6064 wxPy_END_ALLOW_THREADS
;
6066 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrinterDC_p");
6067 _resultobj
= Py_BuildValue("s",_ptemp
);
6070 _resultobj
= Py_None
;
6087 static void *SwigwxMetaFileDCTowxDC(void *ptr
) {
6090 src
= (wxMetaFileDC
*) ptr
;
6091 dest
= (wxDC
*) src
;
6092 return (void *) dest
;
6095 #define new_wxMetaFileDC(_swigarg0) (new wxMetaFileDC(_swigarg0))
6096 static PyObject
*_wrap_new_wxMetaFileDC(PyObject
*self
, PyObject
*args
) {
6097 PyObject
* _resultobj
;
6098 wxMetaFileDC
* _result
;
6099 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
6100 PyObject
* _obj0
= 0;
6104 if(!PyArg_ParseTuple(args
,"|O:new_wxMetaFileDC",&_obj0
))
6108 if (!PyString_Check(_obj0
)) {
6109 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6112 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
6115 wxPy_BEGIN_ALLOW_THREADS
;
6116 _result
= (wxMetaFileDC
*)new_wxMetaFileDC(*_arg0
);
6118 wxPy_END_ALLOW_THREADS
;
6120 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMetaFileDC_p");
6121 _resultobj
= Py_BuildValue("s",_ptemp
);
6124 _resultobj
= Py_None
;
6133 #define wxMetaFileDC_Close(_swigobj) (_swigobj->Close())
6134 static PyObject
*_wrap_wxMetaFileDC_Close(PyObject
*self
, PyObject
*args
) {
6135 PyObject
* _resultobj
;
6136 wxMetaFile
* _result
;
6137 wxMetaFileDC
* _arg0
;
6138 PyObject
* _argo0
= 0;
6142 if(!PyArg_ParseTuple(args
,"O:wxMetaFileDC_Close",&_argo0
))
6145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMetaFileDC_p")) {
6147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMetaFileDC_Close. Expected _wxMetaFileDC_p.");
6152 wxPy_BEGIN_ALLOW_THREADS
;
6153 _result
= (wxMetaFile
*)wxMetaFileDC_Close(_arg0
);
6155 wxPy_END_ALLOW_THREADS
;
6157 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMetaFile_p");
6158 _resultobj
= Py_BuildValue("s",_ptemp
);
6161 _resultobj
= Py_None
;
6166 #define new_wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6167 static PyObject
*_wrap_new_wxPalette(PyObject
*self
, PyObject
*args
) {
6168 PyObject
* _resultobj
;
6169 wxPalette
* _result
;
6174 PyObject
* _obj1
= 0;
6175 PyObject
* _obj2
= 0;
6176 PyObject
* _obj3
= 0;
6180 if(!PyArg_ParseTuple(args
,"OOO:new_wxPalette",&_obj1
,&_obj2
,&_obj3
))
6183 _arg1
= byte_LIST_helper(_obj1
);
6184 if (_arg1
== NULL
) {
6189 _arg2
= byte_LIST_helper(_obj2
);
6190 if (_arg2
== NULL
) {
6196 _arg3
= byte_LIST_helper(_obj3
);
6197 if (_arg3
== NULL
) {
6203 _arg0
= PyList_Size(_obj1
);
6210 wxPy_BEGIN_ALLOW_THREADS
;
6211 _result
= (wxPalette
*)new_wxPalette(_arg0
,_arg1
,_arg2
,_arg3
);
6213 wxPy_END_ALLOW_THREADS
;
6215 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
6216 _resultobj
= Py_BuildValue("s",_ptemp
);
6219 _resultobj
= Py_None
;
6233 #define delete_wxPalette(_swigobj) (delete _swigobj)
6234 static PyObject
*_wrap_delete_wxPalette(PyObject
*self
, PyObject
*args
) {
6235 PyObject
* _resultobj
;
6237 PyObject
* _argo0
= 0;
6240 if(!PyArg_ParseTuple(args
,"O:delete_wxPalette",&_argo0
))
6243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
6245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPalette. Expected _wxPalette_p.");
6250 wxPy_BEGIN_ALLOW_THREADS
;
6251 delete_wxPalette(_arg0
);
6253 wxPy_END_ALLOW_THREADS
;
6254 } Py_INCREF(Py_None
);
6255 _resultobj
= Py_None
;
6259 #define wxPalette_GetPixel(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetPixel(_swigarg0,_swigarg1,_swigarg2))
6260 static PyObject
*_wrap_wxPalette_GetPixel(PyObject
*self
, PyObject
*args
) {
6261 PyObject
* _resultobj
;
6267 PyObject
* _argo0
= 0;
6270 if(!PyArg_ParseTuple(args
,"Obbb:wxPalette_GetPixel",&_argo0
,&_arg1
,&_arg2
,&_arg3
))
6273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
6275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetPixel. Expected _wxPalette_p.");
6280 wxPy_BEGIN_ALLOW_THREADS
;
6281 _result
= (int )wxPalette_GetPixel(_arg0
,_arg1
,_arg2
,_arg3
);
6283 wxPy_END_ALLOW_THREADS
;
6284 } _resultobj
= Py_BuildValue("i",_result
);
6288 #define wxPalette_GetRGB(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetRGB(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6289 static PyObject
*_wrap_wxPalette_GetRGB(PyObject
*self
, PyObject
*args
) {
6290 PyObject
* _resultobj
;
6297 PyObject
* _argo0
= 0;
6298 PyObject
* _argo2
= 0;
6299 PyObject
* _argo3
= 0;
6300 PyObject
* _argo4
= 0;
6303 if(!PyArg_ParseTuple(args
,"OiOOO:wxPalette_GetRGB",&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_argo4
))
6306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
6308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetRGB. Expected _wxPalette_p.");
6313 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6314 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_byte_p")) {
6315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPalette_GetRGB. Expected _byte_p.");
6320 if (_argo3
== Py_None
) { _arg3
= NULL
; }
6321 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_byte_p")) {
6322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxPalette_GetRGB. Expected _byte_p.");
6327 if (_argo4
== Py_None
) { _arg4
= NULL
; }
6328 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_byte_p")) {
6329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxPalette_GetRGB. Expected _byte_p.");
6334 wxPy_BEGIN_ALLOW_THREADS
;
6335 _result
= (bool )wxPalette_GetRGB(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6337 wxPy_END_ALLOW_THREADS
;
6338 } _resultobj
= Py_BuildValue("i",_result
);
6342 #define wxPalette_Ok(_swigobj) (_swigobj->Ok())
6343 static PyObject
*_wrap_wxPalette_Ok(PyObject
*self
, PyObject
*args
) {
6344 PyObject
* _resultobj
;
6347 PyObject
* _argo0
= 0;
6350 if(!PyArg_ParseTuple(args
,"O:wxPalette_Ok",&_argo0
))
6353 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6354 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
6355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_Ok. Expected _wxPalette_p.");
6360 wxPy_BEGIN_ALLOW_THREADS
;
6361 _result
= (bool )wxPalette_Ok(_arg0
);
6363 wxPy_END_ALLOW_THREADS
;
6364 } _resultobj
= Py_BuildValue("i",_result
);
6368 #define new_wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6369 static PyObject
*_wrap_new_wxImageList(PyObject
*self
, PyObject
*args
) {
6370 PyObject
* _resultobj
;
6371 wxImageList
* _result
;
6374 bool _arg2
= (bool ) TRUE
;
6375 int _arg3
= (int ) 1;
6376 int tempbool2
= (int) TRUE
;
6380 if(!PyArg_ParseTuple(args
,"ii|ii:new_wxImageList",&_arg0
,&_arg1
,&tempbool2
,&_arg3
))
6382 _arg2
= (bool ) tempbool2
;
6384 wxPy_BEGIN_ALLOW_THREADS
;
6385 _result
= (wxImageList
*)new_wxImageList(_arg0
,_arg1
,_arg2
,_arg3
);
6387 wxPy_END_ALLOW_THREADS
;
6389 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
6390 _resultobj
= Py_BuildValue("s",_ptemp
);
6393 _resultobj
= Py_None
;
6398 #define delete_wxImageList(_swigobj) (delete _swigobj)
6399 static PyObject
*_wrap_delete_wxImageList(PyObject
*self
, PyObject
*args
) {
6400 PyObject
* _resultobj
;
6401 wxImageList
* _arg0
;
6402 PyObject
* _argo0
= 0;
6405 if(!PyArg_ParseTuple(args
,"O:delete_wxImageList",&_argo0
))
6408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxImageList. Expected _wxImageList_p.");
6415 wxPy_BEGIN_ALLOW_THREADS
;
6416 delete_wxImageList(_arg0
);
6418 wxPy_END_ALLOW_THREADS
;
6419 } Py_INCREF(Py_None
);
6420 _resultobj
= Py_None
;
6424 #define wxImageList_Add(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
6425 static PyObject
*_wrap_wxImageList_Add(PyObject
*self
, PyObject
*args
) {
6426 PyObject
* _resultobj
;
6428 wxImageList
* _arg0
;
6430 wxBitmap
* _arg2
= (wxBitmap
*) &wxNullBitmap
;
6431 PyObject
* _argo0
= 0;
6432 PyObject
* _argo1
= 0;
6433 PyObject
* _argo2
= 0;
6436 if(!PyArg_ParseTuple(args
,"OO|O:wxImageList_Add",&_argo0
,&_argo1
,&_argo2
))
6439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Add. Expected _wxImageList_p.");
6446 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6447 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
6448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_Add. Expected _wxBitmap_p.");
6453 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6454 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
6455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Add. Expected _wxBitmap_p.");
6460 wxPy_BEGIN_ALLOW_THREADS
;
6461 _result
= (int )wxImageList_Add(_arg0
,*_arg1
,*_arg2
);
6463 wxPy_END_ALLOW_THREADS
;
6464 } _resultobj
= Py_BuildValue("i",_result
);
6468 #define wxImageList_AddWithColourMask(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
6469 static PyObject
*_wrap_wxImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
) {
6470 PyObject
* _resultobj
;
6472 wxImageList
* _arg0
;
6475 PyObject
* _argo0
= 0;
6476 PyObject
* _argo1
= 0;
6477 PyObject
* _argo2
= 0;
6480 if(!PyArg_ParseTuple(args
,"OOO:wxImageList_AddWithColourMask",&_argo0
,&_argo1
,&_argo2
))
6483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_AddWithColourMask. Expected _wxImageList_p.");
6490 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6491 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
6492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_AddWithColourMask. Expected _wxBitmap_p.");
6497 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6498 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxColour_p")) {
6499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_AddWithColourMask. Expected _wxColour_p.");
6504 wxPy_BEGIN_ALLOW_THREADS
;
6505 _result
= (int )wxImageList_AddWithColourMask(_arg0
,*_arg1
,*_arg2
);
6507 wxPy_END_ALLOW_THREADS
;
6508 } _resultobj
= Py_BuildValue("i",_result
);
6512 #define wxImageList_AddIcon(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
6513 static PyObject
*_wrap_wxImageList_AddIcon(PyObject
*self
, PyObject
*args
) {
6514 PyObject
* _resultobj
;
6516 wxImageList
* _arg0
;
6518 PyObject
* _argo0
= 0;
6519 PyObject
* _argo1
= 0;
6522 if(!PyArg_ParseTuple(args
,"OO:wxImageList_AddIcon",&_argo0
,&_argo1
))
6525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_AddIcon. Expected _wxImageList_p.");
6532 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6533 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
6534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_AddIcon. Expected _wxIcon_p.");
6539 wxPy_BEGIN_ALLOW_THREADS
;
6540 _result
= (int )wxImageList_AddIcon(_arg0
,*_arg1
);
6542 wxPy_END_ALLOW_THREADS
;
6543 } _resultobj
= Py_BuildValue("i",_result
);
6547 #define wxImageList_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
6548 static PyObject
*_wrap_wxImageList_Replace(PyObject
*self
, PyObject
*args
) {
6549 PyObject
* _resultobj
;
6551 wxImageList
* _arg0
;
6554 wxBitmap
* _arg3
= (wxBitmap
*) &wxNullBitmap
;
6555 PyObject
* _argo0
= 0;
6556 PyObject
* _argo2
= 0;
6557 PyObject
* _argo3
= 0;
6560 if(!PyArg_ParseTuple(args
,"OiO|O:wxImageList_Replace",&_argo0
,&_arg1
,&_argo2
,&_argo3
))
6563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Replace. Expected _wxImageList_p.");
6570 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6571 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
6572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Replace. Expected _wxBitmap_p.");
6577 if (_argo3
== Py_None
) { _arg3
= NULL
; }
6578 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
6579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxImageList_Replace. Expected _wxBitmap_p.");
6584 wxPy_BEGIN_ALLOW_THREADS
;
6585 _result
= (bool )wxImageList_Replace(_arg0
,_arg1
,*_arg2
,*_arg3
);
6587 wxPy_END_ALLOW_THREADS
;
6588 } _resultobj
= Py_BuildValue("i",_result
);
6592 #define wxImageList_ReplaceIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->Replace(_swigarg0,_swigarg1))
6593 static PyObject
*_wrap_wxImageList_ReplaceIcon(PyObject
*self
, PyObject
*args
) {
6594 PyObject
* _resultobj
;
6596 wxImageList
* _arg0
;
6599 PyObject
* _argo0
= 0;
6600 PyObject
* _argo2
= 0;
6603 if(!PyArg_ParseTuple(args
,"OiO:wxImageList_ReplaceIcon",&_argo0
,&_arg1
,&_argo2
))
6606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_ReplaceIcon. Expected _wxImageList_p.");
6613 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6614 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxIcon_p")) {
6615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_ReplaceIcon. Expected _wxIcon_p.");
6620 wxPy_BEGIN_ALLOW_THREADS
;
6621 _result
= (bool )wxImageList_ReplaceIcon(_arg0
,_arg1
,*_arg2
);
6623 wxPy_END_ALLOW_THREADS
;
6624 } _resultobj
= Py_BuildValue("i",_result
);
6628 #define wxImageList_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6629 static PyObject
*_wrap_wxImageList_Draw(PyObject
*self
, PyObject
*args
) {
6630 PyObject
* _resultobj
;
6632 wxImageList
* _arg0
;
6637 int _arg5
= (int ) (wxIMAGELIST_DRAW_NORMAL
);
6638 bool _arg6
= (bool ) FALSE
;
6639 PyObject
* _argo0
= 0;
6640 PyObject
* _argo2
= 0;
6641 int tempbool6
= (int) FALSE
;
6644 if(!PyArg_ParseTuple(args
,"OiOii|ii:wxImageList_Draw",&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
6647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Draw. Expected _wxImageList_p.");
6654 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6655 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDC_p")) {
6656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Draw. Expected _wxDC_p.");
6660 _arg6
= (bool ) tempbool6
;
6662 wxPy_BEGIN_ALLOW_THREADS
;
6663 _result
= (bool )wxImageList_Draw(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
6665 wxPy_END_ALLOW_THREADS
;
6666 } _resultobj
= Py_BuildValue("i",_result
);
6670 #define wxImageList_GetImageCount(_swigobj) (_swigobj->GetImageCount())
6671 static PyObject
*_wrap_wxImageList_GetImageCount(PyObject
*self
, PyObject
*args
) {
6672 PyObject
* _resultobj
;
6674 wxImageList
* _arg0
;
6675 PyObject
* _argo0
= 0;
6678 if(!PyArg_ParseTuple(args
,"O:wxImageList_GetImageCount",&_argo0
))
6681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_GetImageCount. Expected _wxImageList_p.");
6688 wxPy_BEGIN_ALLOW_THREADS
;
6689 _result
= (int )wxImageList_GetImageCount(_arg0
);
6691 wxPy_END_ALLOW_THREADS
;
6692 } _resultobj
= Py_BuildValue("i",_result
);
6696 #define wxImageList_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
6697 static PyObject
*_wrap_wxImageList_Remove(PyObject
*self
, PyObject
*args
) {
6698 PyObject
* _resultobj
;
6700 wxImageList
* _arg0
;
6702 PyObject
* _argo0
= 0;
6705 if(!PyArg_ParseTuple(args
,"Oi:wxImageList_Remove",&_argo0
,&_arg1
))
6708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Remove. Expected _wxImageList_p.");
6715 wxPy_BEGIN_ALLOW_THREADS
;
6716 _result
= (bool )wxImageList_Remove(_arg0
,_arg1
);
6718 wxPy_END_ALLOW_THREADS
;
6719 } _resultobj
= Py_BuildValue("i",_result
);
6723 #define wxImageList_RemoveAll(_swigobj) (_swigobj->RemoveAll())
6724 static PyObject
*_wrap_wxImageList_RemoveAll(PyObject
*self
, PyObject
*args
) {
6725 PyObject
* _resultobj
;
6727 wxImageList
* _arg0
;
6728 PyObject
* _argo0
= 0;
6731 if(!PyArg_ParseTuple(args
,"O:wxImageList_RemoveAll",&_argo0
))
6734 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6735 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_RemoveAll. Expected _wxImageList_p.");
6741 wxPy_BEGIN_ALLOW_THREADS
;
6742 _result
= (bool )wxImageList_RemoveAll(_arg0
);
6744 wxPy_END_ALLOW_THREADS
;
6745 } _resultobj
= Py_BuildValue("i",_result
);
6749 static PyMethodDef gdicMethods
[] = {
6750 { "wxImageList_RemoveAll", _wrap_wxImageList_RemoveAll
, METH_VARARGS
},
6751 { "wxImageList_Remove", _wrap_wxImageList_Remove
, METH_VARARGS
},
6752 { "wxImageList_GetImageCount", _wrap_wxImageList_GetImageCount
, METH_VARARGS
},
6753 { "wxImageList_Draw", _wrap_wxImageList_Draw
, METH_VARARGS
},
6754 { "wxImageList_ReplaceIcon", _wrap_wxImageList_ReplaceIcon
, METH_VARARGS
},
6755 { "wxImageList_Replace", _wrap_wxImageList_Replace
, METH_VARARGS
},
6756 { "wxImageList_AddIcon", _wrap_wxImageList_AddIcon
, METH_VARARGS
},
6757 { "wxImageList_AddWithColourMask", _wrap_wxImageList_AddWithColourMask
, METH_VARARGS
},
6758 { "wxImageList_Add", _wrap_wxImageList_Add
, METH_VARARGS
},
6759 { "delete_wxImageList", _wrap_delete_wxImageList
, METH_VARARGS
},
6760 { "new_wxImageList", _wrap_new_wxImageList
, METH_VARARGS
},
6761 { "wxPalette_Ok", _wrap_wxPalette_Ok
, METH_VARARGS
},
6762 { "wxPalette_GetRGB", _wrap_wxPalette_GetRGB
, METH_VARARGS
},
6763 { "wxPalette_GetPixel", _wrap_wxPalette_GetPixel
, METH_VARARGS
},
6764 { "delete_wxPalette", _wrap_delete_wxPalette
, METH_VARARGS
},
6765 { "new_wxPalette", _wrap_new_wxPalette
, METH_VARARGS
},
6766 { "wxMetaFileDC_Close", _wrap_wxMetaFileDC_Close
, METH_VARARGS
},
6767 { "new_wxMetaFileDC", _wrap_new_wxMetaFileDC
, METH_VARARGS
},
6768 { "new_wxPrinterDC", _wrap_new_wxPrinterDC
, METH_VARARGS
},
6769 { "new_wxWindowDC", _wrap_new_wxWindowDC
, METH_VARARGS
},
6770 { "new_wxPaintDC", _wrap_new_wxPaintDC
, METH_VARARGS
},
6771 { "new_wxClientDC", _wrap_new_wxClientDC
, METH_VARARGS
},
6772 { "wxScreenDC_EndDrawingOnTop", _wrap_wxScreenDC_EndDrawingOnTop
, METH_VARARGS
},
6773 { "wxScreenDC_StartDrawingOnTopRect", _wrap_wxScreenDC_StartDrawingOnTopRect
, METH_VARARGS
},
6774 { "wxScreenDC_StartDrawingOnTop", _wrap_wxScreenDC_StartDrawingOnTop
, METH_VARARGS
},
6775 { "new_wxScreenDC", _wrap_new_wxScreenDC
, METH_VARARGS
},
6776 { "wxMemoryDC_SelectObject", _wrap_wxMemoryDC_SelectObject
, METH_VARARGS
},
6777 { "new_wxMemoryDC", _wrap_new_wxMemoryDC
, METH_VARARGS
},
6778 { "wxDC_DrawBitmap", _wrap_wxDC_DrawBitmap
, METH_VARARGS
},
6779 { "wxDC_StartPage", _wrap_wxDC_StartPage
, METH_VARARGS
},
6780 { "wxDC_StartDoc", _wrap_wxDC_StartDoc
, METH_VARARGS
},
6781 { "wxDC_SetUserScale", _wrap_wxDC_SetUserScale
, METH_VARARGS
},
6782 { "wxDC_SetTextForeground", _wrap_wxDC_SetTextForeground
, METH_VARARGS
},
6783 { "wxDC_SetTextBackground", _wrap_wxDC_SetTextBackground
, METH_VARARGS
},
6784 { "wxDC_SetPen", _wrap_wxDC_SetPen
, METH_VARARGS
},
6785 { "wxDC_SetOptimization", _wrap_wxDC_SetOptimization
, METH_VARARGS
},
6786 { "wxDC_SetMapMode", _wrap_wxDC_SetMapMode
, METH_VARARGS
},
6787 { "wxDC_SetLogicalFunction", _wrap_wxDC_SetLogicalFunction
, METH_VARARGS
},
6788 { "wxDC_SetFont", _wrap_wxDC_SetFont
, METH_VARARGS
},
6789 { "wxDC_SetBrush", _wrap_wxDC_SetBrush
, METH_VARARGS
},
6790 { "wxDC_SetPalette", _wrap_wxDC_SetPalette
, METH_VARARGS
},
6791 { "wxDC_SetClippingRegion", _wrap_wxDC_SetClippingRegion
, METH_VARARGS
},
6792 { "wxDC_SetBackgroundMode", _wrap_wxDC_SetBackgroundMode
, METH_VARARGS
},
6793 { "wxDC_SetBackground", _wrap_wxDC_SetBackground
, METH_VARARGS
},
6794 { "wxDC_SetDeviceOrigin", _wrap_wxDC_SetDeviceOrigin
, METH_VARARGS
},
6795 { "wxDC_Ok", _wrap_wxDC_Ok
, METH_VARARGS
},
6796 { "wxDC_MinY", _wrap_wxDC_MinY
, METH_VARARGS
},
6797 { "wxDC_MinX", _wrap_wxDC_MinX
, METH_VARARGS
},
6798 { "wxDC_MaxY", _wrap_wxDC_MaxY
, METH_VARARGS
},
6799 { "wxDC_MaxX", _wrap_wxDC_MaxX
, METH_VARARGS
},
6800 { "wxDC_LogicalToDeviceYRel", _wrap_wxDC_LogicalToDeviceYRel
, METH_VARARGS
},
6801 { "wxDC_LogicalToDeviceY", _wrap_wxDC_LogicalToDeviceY
, METH_VARARGS
},
6802 { "wxDC_LogicalToDeviceXRel", _wrap_wxDC_LogicalToDeviceXRel
, METH_VARARGS
},
6803 { "wxDC_LogicalToDeviceX", _wrap_wxDC_LogicalToDeviceX
, METH_VARARGS
},
6804 { "wxDC_GetTextForeground", _wrap_wxDC_GetTextForeground
, METH_VARARGS
},
6805 { "wxDC_GetFullTextExtent", _wrap_wxDC_GetFullTextExtent
, METH_VARARGS
},
6806 { "wxDC_GetTextExtent", _wrap_wxDC_GetTextExtent
, METH_VARARGS
},
6807 { "wxDC_GetTextBackground", _wrap_wxDC_GetTextBackground
, METH_VARARGS
},
6808 { "wxDC_GetSize", _wrap_wxDC_GetSize
, METH_VARARGS
},
6809 { "wxDC_GetSizeTuple", _wrap_wxDC_GetSizeTuple
, METH_VARARGS
},
6810 { "wxDC_GetPixel", _wrap_wxDC_GetPixel
, METH_VARARGS
},
6811 { "wxDC_GetPen", _wrap_wxDC_GetPen
, METH_VARARGS
},
6812 { "wxDC_GetOptimization", _wrap_wxDC_GetOptimization
, METH_VARARGS
},
6813 { "wxDC_GetMapMode", _wrap_wxDC_GetMapMode
, METH_VARARGS
},
6814 { "wxDC_GetLogicalFunction", _wrap_wxDC_GetLogicalFunction
, METH_VARARGS
},
6815 { "wxDC_GetFont", _wrap_wxDC_GetFont
, METH_VARARGS
},
6816 { "wxDC_GetClippingBox", _wrap_wxDC_GetClippingBox
, METH_VARARGS
},
6817 { "wxDC_GetCharWidth", _wrap_wxDC_GetCharWidth
, METH_VARARGS
},
6818 { "wxDC_GetCharHeight", _wrap_wxDC_GetCharHeight
, METH_VARARGS
},
6819 { "wxDC_GetBrush", _wrap_wxDC_GetBrush
, METH_VARARGS
},
6820 { "wxDC_GetBackground", _wrap_wxDC_GetBackground
, METH_VARARGS
},
6821 { "wxDC_FloodFill", _wrap_wxDC_FloodFill
, METH_VARARGS
},
6822 { "wxDC_EndPage", _wrap_wxDC_EndPage
, METH_VARARGS
},
6823 { "wxDC_EndDrawing", _wrap_wxDC_EndDrawing
, METH_VARARGS
},
6824 { "wxDC_EndDoc", _wrap_wxDC_EndDoc
, METH_VARARGS
},
6825 { "wxDC_DrawText", _wrap_wxDC_DrawText
, METH_VARARGS
},
6826 { "wxDC_DrawSpline", _wrap_wxDC_DrawSpline
, METH_VARARGS
},
6827 { "wxDC_DrawRoundedRectangle", _wrap_wxDC_DrawRoundedRectangle
, METH_VARARGS
},
6828 { "wxDC_DrawRectangle", _wrap_wxDC_DrawRectangle
, METH_VARARGS
},
6829 { "wxDC_DrawPoint", _wrap_wxDC_DrawPoint
, METH_VARARGS
},
6830 { "wxDC_DrawPolygon", _wrap_wxDC_DrawPolygon
, METH_VARARGS
},
6831 { "wxDC_DrawLines", _wrap_wxDC_DrawLines
, METH_VARARGS
},
6832 { "wxDC_DrawLine", _wrap_wxDC_DrawLine
, METH_VARARGS
},
6833 { "wxDC_DrawIcon", _wrap_wxDC_DrawIcon
, METH_VARARGS
},
6834 { "wxDC_DrawEllipticArc", _wrap_wxDC_DrawEllipticArc
, METH_VARARGS
},
6835 { "wxDC_DrawEllipse", _wrap_wxDC_DrawEllipse
, METH_VARARGS
},
6836 { "wxDC_DrawCircle", _wrap_wxDC_DrawCircle
, METH_VARARGS
},
6837 { "wxDC_DrawArc", _wrap_wxDC_DrawArc
, METH_VARARGS
},
6838 { "wxDC_DeviceToLogicalYRel", _wrap_wxDC_DeviceToLogicalYRel
, METH_VARARGS
},
6839 { "wxDC_DeviceToLogicalY", _wrap_wxDC_DeviceToLogicalY
, METH_VARARGS
},
6840 { "wxDC_DeviceToLogicalXRel", _wrap_wxDC_DeviceToLogicalXRel
, METH_VARARGS
},
6841 { "wxDC_DeviceToLogicalX", _wrap_wxDC_DeviceToLogicalX
, METH_VARARGS
},
6842 { "wxDC_DestroyClippingRegion", _wrap_wxDC_DestroyClippingRegion
, METH_VARARGS
},
6843 { "wxDC_CrossHair", _wrap_wxDC_CrossHair
, METH_VARARGS
},
6844 { "wxDC_Clear", _wrap_wxDC_Clear
, METH_VARARGS
},
6845 { "wxDC_Blit", _wrap_wxDC_Blit
, METH_VARARGS
},
6846 { "wxDC_BeginDrawing", _wrap_wxDC_BeginDrawing
, METH_VARARGS
},
6847 { "delete_wxDC", _wrap_delete_wxDC
, METH_VARARGS
},
6848 { "wxBrush_SetStyle", _wrap_wxBrush_SetStyle
, METH_VARARGS
},
6849 { "wxBrush_SetStipple", _wrap_wxBrush_SetStipple
, METH_VARARGS
},
6850 { "wxBrush_SetColour", _wrap_wxBrush_SetColour
, METH_VARARGS
},
6851 { "wxBrush_Ok", _wrap_wxBrush_Ok
, METH_VARARGS
},
6852 { "wxBrush_GetStyle", _wrap_wxBrush_GetStyle
, METH_VARARGS
},
6853 { "wxBrush_GetStipple", _wrap_wxBrush_GetStipple
, METH_VARARGS
},
6854 { "wxBrush_GetColour", _wrap_wxBrush_GetColour
, METH_VARARGS
},
6855 { "new_wxBrush", _wrap_new_wxBrush
, METH_VARARGS
},
6856 { "wxPen_SetStipple", _wrap_wxPen_SetStipple
, METH_VARARGS
},
6857 { "wxPen_SetDashes", _wrap_wxPen_SetDashes
, METH_VARARGS
},
6858 { "wxPen_GetStipple", _wrap_wxPen_GetStipple
, METH_VARARGS
},
6859 { "wxPen_GetDashes", _wrap_wxPen_GetDashes
, METH_VARARGS
},
6860 { "wxPen_SetWidth", _wrap_wxPen_SetWidth
, METH_VARARGS
},
6861 { "wxPen_SetStyle", _wrap_wxPen_SetStyle
, METH_VARARGS
},
6862 { "wxPen_SetJoin", _wrap_wxPen_SetJoin
, METH_VARARGS
},
6863 { "wxPen_SetColour", _wrap_wxPen_SetColour
, METH_VARARGS
},
6864 { "wxPen_SetCap", _wrap_wxPen_SetCap
, METH_VARARGS
},
6865 { "wxPen_Ok", _wrap_wxPen_Ok
, METH_VARARGS
},
6866 { "wxPen_GetWidth", _wrap_wxPen_GetWidth
, METH_VARARGS
},
6867 { "wxPen_GetStyle", _wrap_wxPen_GetStyle
, METH_VARARGS
},
6868 { "wxPen_GetJoin", _wrap_wxPen_GetJoin
, METH_VARARGS
},
6869 { "wxPen_GetColour", _wrap_wxPen_GetColour
, METH_VARARGS
},
6870 { "wxPen_GetCap", _wrap_wxPen_GetCap
, METH_VARARGS
},
6871 { "new_wxPen", _wrap_new_wxPen
, METH_VARARGS
},
6872 { "wxColour_Get", _wrap_wxColour_Get
, METH_VARARGS
},
6873 { "wxColour_Set", _wrap_wxColour_Set
, METH_VARARGS
},
6874 { "wxColour_Ok", _wrap_wxColour_Ok
, METH_VARARGS
},
6875 { "wxColour_Blue", _wrap_wxColour_Blue
, METH_VARARGS
},
6876 { "wxColour_Green", _wrap_wxColour_Green
, METH_VARARGS
},
6877 { "wxColour_Red", _wrap_wxColour_Red
, METH_VARARGS
},
6878 { "delete_wxColour", _wrap_delete_wxColour
, METH_VARARGS
},
6879 { "new_wxColour", _wrap_new_wxColour
, METH_VARARGS
},
6880 { "wxFont_SetWeight", _wrap_wxFont_SetWeight
, METH_VARARGS
},
6881 { "wxFont_SetUnderlined", _wrap_wxFont_SetUnderlined
, METH_VARARGS
},
6882 { "wxFont_SetStyle", _wrap_wxFont_SetStyle
, METH_VARARGS
},
6883 { "wxFont_SetPointSize", _wrap_wxFont_SetPointSize
, METH_VARARGS
},
6884 { "wxFont_SetFamily", _wrap_wxFont_SetFamily
, METH_VARARGS
},
6885 { "wxFont_SetFaceName", _wrap_wxFont_SetFaceName
, METH_VARARGS
},
6886 { "wxFont_GetWeight", _wrap_wxFont_GetWeight
, METH_VARARGS
},
6887 { "wxFont_GetUnderlined", _wrap_wxFont_GetUnderlined
, METH_VARARGS
},
6888 { "wxFont_GetStyle", _wrap_wxFont_GetStyle
, METH_VARARGS
},
6889 { "wxFont_GetPointSize", _wrap_wxFont_GetPointSize
, METH_VARARGS
},
6890 { "wxFont_GetFontId", _wrap_wxFont_GetFontId
, METH_VARARGS
},
6891 { "wxFont_GetFamily", _wrap_wxFont_GetFamily
, METH_VARARGS
},
6892 { "wxFont_GetFaceName", _wrap_wxFont_GetFaceName
, METH_VARARGS
},
6893 { "new_wxFont", _wrap_new_wxFont
, METH_VARARGS
},
6894 { "wxCursor_Ok", _wrap_wxCursor_Ok
, METH_VARARGS
},
6895 { "delete_wxCursor", _wrap_delete_wxCursor
, METH_VARARGS
},
6896 { "new_wxCursor", _wrap_new_wxCursor
, METH_VARARGS
},
6897 { "wxIcon_SetWidth", _wrap_wxIcon_SetWidth
, METH_VARARGS
},
6898 { "wxIcon_SetHeight", _wrap_wxIcon_SetHeight
, METH_VARARGS
},
6899 { "wxIcon_SetDepth", _wrap_wxIcon_SetDepth
, METH_VARARGS
},
6900 { "wxIcon_Ok", _wrap_wxIcon_Ok
, METH_VARARGS
},
6901 { "wxIcon_LoadFile", _wrap_wxIcon_LoadFile
, METH_VARARGS
},
6902 { "wxIcon_GetWidth", _wrap_wxIcon_GetWidth
, METH_VARARGS
},
6903 { "wxIcon_GetHeight", _wrap_wxIcon_GetHeight
, METH_VARARGS
},
6904 { "wxIcon_GetDepth", _wrap_wxIcon_GetDepth
, METH_VARARGS
},
6905 { "delete_wxIcon", _wrap_delete_wxIcon
, METH_VARARGS
},
6906 { "new_wxIcon", _wrap_new_wxIcon
, METH_VARARGS
},
6907 { "delete_wxMask", _wrap_delete_wxMask
, METH_VARARGS
},
6908 { "new_wxMask", _wrap_new_wxMask
, METH_VARARGS
},
6909 { "wxBitmap_SetWidth", _wrap_wxBitmap_SetWidth
, METH_VARARGS
},
6910 { "wxBitmap_SetPalette", _wrap_wxBitmap_SetPalette
, METH_VARARGS
},
6911 { "wxBitmap_SetMask", _wrap_wxBitmap_SetMask
, METH_VARARGS
},
6912 { "wxBitmap_SetHeight", _wrap_wxBitmap_SetHeight
, METH_VARARGS
},
6913 { "wxBitmap_SetDepth", _wrap_wxBitmap_SetDepth
, METH_VARARGS
},
6914 { "wxBitmap_SaveFile", _wrap_wxBitmap_SaveFile
, METH_VARARGS
},
6915 { "wxBitmap_Ok", _wrap_wxBitmap_Ok
, METH_VARARGS
},
6916 { "wxBitmap_LoadFile", _wrap_wxBitmap_LoadFile
, METH_VARARGS
},
6917 { "wxBitmap_GetWidth", _wrap_wxBitmap_GetWidth
, METH_VARARGS
},
6918 { "wxBitmap_GetMask", _wrap_wxBitmap_GetMask
, METH_VARARGS
},
6919 { "wxBitmap_GetPalette", _wrap_wxBitmap_GetPalette
, METH_VARARGS
},
6920 { "wxBitmap_GetHeight", _wrap_wxBitmap_GetHeight
, METH_VARARGS
},
6921 { "wxBitmap_GetDepth", _wrap_wxBitmap_GetDepth
, METH_VARARGS
},
6922 { "wxBitmap_Create", _wrap_wxBitmap_Create
, METH_VARARGS
},
6923 { "delete_wxBitmap", _wrap_delete_wxBitmap
, METH_VARARGS
},
6924 { "new_wxBitmap", _wrap_new_wxBitmap
, METH_VARARGS
},
6925 { "wxMemoryDCFromDC", _wrap_wxMemoryDCFromDC
, METH_VARARGS
},
6926 { "wxNamedColour", _wrap_wxNamedColour
, METH_VARARGS
},
6927 { "wxStockCursor", _wrap_wxStockCursor
, METH_VARARGS
},
6928 { "wxMaskColour", _wrap_wxMaskColour
, METH_VARARGS
},
6929 { "wxBitmapFromData", _wrap_wxBitmapFromData
, METH_VARARGS
},
6930 { "wxNoRefBitmap", _wrap_wxNoRefBitmap
, METH_VARARGS
},
6931 { "wxEmptyBitmap", _wrap_wxEmptyBitmap
, METH_VARARGS
},
6938 * This table is used by the pointer type-checker
6940 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
6941 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
6942 { "_signed_long","_long",0},
6943 { "_wxPrintQuality","_int",0},
6944 { "_wxPrintQuality","_signed_int",0},
6945 { "_wxPrintQuality","_unsigned_int",0},
6946 { "_wxPrintQuality","_wxWindowID",0},
6947 { "_wxPrintQuality","_uint",0},
6948 { "_wxPrintQuality","_EBool",0},
6949 { "_wxPrintQuality","_size_t",0},
6950 { "_class_wxRegionIterator","_wxRegionIterator",0},
6951 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
6952 { "_wxCursor","_class_wxCursor",0},
6953 { "_wxMask","_class_wxMask",0},
6954 { "_wxPen","_class_wxPen",0},
6955 { "_byte","_unsigned_char",0},
6956 { "_long","_wxDash",0},
6957 { "_long","_unsigned_long",0},
6958 { "_long","_signed_long",0},
6959 { "_wxImageList","_class_wxImageList",0},
6960 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
6961 { "_wxDC","_class_wxMetaFileDC",SwigwxMetaFileDCTowxDC
},
6962 { "_wxDC","_wxMetaFileDC",SwigwxMetaFileDCTowxDC
},
6963 { "_wxDC","_class_wxPrinterDC",SwigwxPrinterDCTowxDC
},
6964 { "_wxDC","_wxPrinterDC",SwigwxPrinterDCTowxDC
},
6965 { "_wxDC","_class_wxWindowDC",SwigwxWindowDCTowxDC
},
6966 { "_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC
},
6967 { "_wxDC","_class_wxPaintDC",SwigwxPaintDCTowxDC
},
6968 { "_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
},
6969 { "_wxDC","_class_wxClientDC",SwigwxClientDCTowxDC
},
6970 { "_wxDC","_wxClientDC",SwigwxClientDCTowxDC
},
6971 { "_wxDC","_class_wxScreenDC",SwigwxScreenDCTowxDC
},
6972 { "_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
},
6973 { "_wxDC","_class_wxMemoryDC",SwigwxMemoryDCTowxDC
},
6974 { "_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
},
6975 { "_wxDC","_class_wxDC",0},
6976 { "_size_t","_wxPrintQuality",0},
6977 { "_size_t","_unsigned_int",0},
6978 { "_size_t","_int",0},
6979 { "_size_t","_wxWindowID",0},
6980 { "_size_t","_uint",0},
6981 { "_class_wxRealPoint","_wxRealPoint",0},
6982 { "_wxPrinterDC","_class_wxPrinterDC",0},
6983 { "_class_wxMask","_wxMask",0},
6984 { "_wxColour","_class_wxColour",0},
6985 { "_wxBrush","_class_wxBrush",0},
6986 { "_uint","_wxPrintQuality",0},
6987 { "_uint","_size_t",0},
6988 { "_uint","_unsigned_int",0},
6989 { "_uint","_int",0},
6990 { "_uint","_wxWindowID",0},
6991 { "_wxRect","_class_wxRect",0},
6992 { "_wxPoint","_class_wxPoint",0},
6993 { "_wxBitmap","_class_wxCursor",SwigwxCursorTowxBitmap
},
6994 { "_wxBitmap","_wxCursor",SwigwxCursorTowxBitmap
},
6995 { "_wxBitmap","_class_wxIcon",SwigwxIconTowxBitmap
},
6996 { "_wxBitmap","_wxIcon",SwigwxIconTowxBitmap
},
6997 { "_wxBitmap","_class_wxBitmap",0},
6998 { "_wxPyTimer","_class_wxPyTimer",0},
6999 { "_wxWindowDC","_class_wxWindowDC",0},
7000 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
7001 { "_EBool","_wxPrintQuality",0},
7002 { "_EBool","_signed_int",0},
7003 { "_EBool","_int",0},
7004 { "_EBool","_wxWindowID",0},
7005 { "_class_wxRegion","_wxRegion",0},
7006 { "_wxFont","_class_wxFont",0},
7007 { "_unsigned_long","_wxDash",0},
7008 { "_unsigned_long","_long",0},
7009 { "_class_wxRect","_wxRect",0},
7010 { "_class_wxDC","_class_wxMetaFileDC",SwigwxMetaFileDCTowxDC
},
7011 { "_class_wxDC","_wxMetaFileDC",SwigwxMetaFileDCTowxDC
},
7012 { "_class_wxDC","_class_wxPrinterDC",SwigwxPrinterDCTowxDC
},
7013 { "_class_wxDC","_wxPrinterDC",SwigwxPrinterDCTowxDC
},
7014 { "_class_wxDC","_class_wxWindowDC",SwigwxWindowDCTowxDC
},
7015 { "_class_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC
},
7016 { "_class_wxDC","_class_wxPaintDC",SwigwxPaintDCTowxDC
},
7017 { "_class_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
},
7018 { "_class_wxDC","_class_wxClientDC",SwigwxClientDCTowxDC
},
7019 { "_class_wxDC","_wxClientDC",SwigwxClientDCTowxDC
},
7020 { "_class_wxDC","_class_wxScreenDC",SwigwxScreenDCTowxDC
},
7021 { "_class_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
},
7022 { "_class_wxDC","_class_wxMemoryDC",SwigwxMemoryDCTowxDC
},
7023 { "_class_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
},
7024 { "_class_wxDC","_wxDC",0},
7025 { "_class_wxPyTimer","_wxPyTimer",0},
7026 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
7027 { "_signed_int","_wxPrintQuality",0},
7028 { "_signed_int","_EBool",0},
7029 { "_signed_int","_wxWindowID",0},
7030 { "_signed_int","_int",0},
7031 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
7032 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
7033 { "_wxScreenDC","_class_wxScreenDC",0},
7034 { "_WXTYPE","_short",0},
7035 { "_WXTYPE","_signed_short",0},
7036 { "_WXTYPE","_unsigned_short",0},
7037 { "_class_wxBrush","_wxBrush",0},
7038 { "_unsigned_short","_WXTYPE",0},
7039 { "_unsigned_short","_short",0},
7040 { "_class_wxFont","_wxFont",0},
7041 { "_wxClientDC","_class_wxClientDC",0},
7042 { "_class_wxPoint","_wxPoint",0},
7043 { "_wxRealPoint","_class_wxRealPoint",0},
7044 { "_signed_short","_WXTYPE",0},
7045 { "_signed_short","_short",0},
7046 { "_wxMemoryDC","_class_wxMemoryDC",0},
7047 { "_wxPaintDC","_class_wxPaintDC",0},
7048 { "_class_wxWindowDC","_wxWindowDC",0},
7049 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
7050 { "_class_wxCursor","_wxCursor",0},
7051 { "_unsigned_char","_byte",0},
7052 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
7053 { "_unsigned_int","_wxPrintQuality",0},
7054 { "_unsigned_int","_size_t",0},
7055 { "_unsigned_int","_uint",0},
7056 { "_unsigned_int","_wxWindowID",0},
7057 { "_unsigned_int","_int",0},
7058 { "_wxIcon","_class_wxIcon",0},
7059 { "_class_wxPen","_wxPen",0},
7060 { "_short","_WXTYPE",0},
7061 { "_short","_unsigned_short",0},
7062 { "_short","_signed_short",0},
7063 { "_class_wxImageList","_wxImageList",0},
7064 { "_wxWindowID","_wxPrintQuality",0},
7065 { "_wxWindowID","_size_t",0},
7066 { "_wxWindowID","_EBool",0},
7067 { "_wxWindowID","_uint",0},
7068 { "_wxWindowID","_int",0},
7069 { "_wxWindowID","_signed_int",0},
7070 { "_wxWindowID","_unsigned_int",0},
7071 { "_int","_wxPrintQuality",0},
7072 { "_int","_size_t",0},
7073 { "_int","_EBool",0},
7074 { "_int","_uint",0},
7075 { "_int","_wxWindowID",0},
7076 { "_int","_unsigned_int",0},
7077 { "_int","_signed_int",0},
7078 { "_wxSize","_class_wxSize",0},
7079 { "_wxRegionIterator","_class_wxRegionIterator",0},
7080 { "_class_wxPrinterDC","_wxPrinterDC",0},
7081 { "_class_wxPaintDC","_wxPaintDC",0},
7082 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
7083 { "_class_wxIcon","_wxIcon",0},
7084 { "_class_wxColour","_wxColour",0},
7085 { "_class_wxScreenDC","_wxScreenDC",0},
7086 { "_wxPalette","_class_wxPalette",0},
7087 { "_wxRegion","_class_wxRegion",0},
7088 { "_class_wxClientDC","_wxClientDC",0},
7089 { "_class_wxSize","_wxSize",0},
7090 { "_class_wxBitmap","_class_wxCursor",SwigwxCursorTowxBitmap
},
7091 { "_class_wxBitmap","_wxCursor",SwigwxCursorTowxBitmap
},
7092 { "_class_wxBitmap","_class_wxIcon",SwigwxIconTowxBitmap
},
7093 { "_class_wxBitmap","_wxIcon",SwigwxIconTowxBitmap
},
7094 { "_class_wxBitmap","_wxBitmap",0},
7095 { "_class_wxMemoryDC","_wxMemoryDC",0},
7096 { "_wxDash","_unsigned_long",0},
7097 { "_wxDash","_long",0},
7098 { "_class_wxPalette","_wxPalette",0},
7101 static PyObject
*SWIG_globals
;
7105 SWIGEXPORT(void) initgdic() {
7107 SWIG_globals
= SWIG_newvarlink();
7108 m
= Py_InitModule("gdic", gdicMethods
);
7109 d
= PyModule_GetDict(m
);
7110 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
7111 SWIG_addvarlink(SWIG_globals
,"wxNORMAL_FONT",_wrap_wxNORMAL_FONT_get
, _wrap_wxNORMAL_FONT_set
);
7112 SWIG_addvarlink(SWIG_globals
,"wxSMALL_FONT",_wrap_wxSMALL_FONT_get
, _wrap_wxSMALL_FONT_set
);
7113 SWIG_addvarlink(SWIG_globals
,"wxITALIC_FONT",_wrap_wxITALIC_FONT_get
, _wrap_wxITALIC_FONT_set
);
7114 SWIG_addvarlink(SWIG_globals
,"wxSWISS_FONT",_wrap_wxSWISS_FONT_get
, _wrap_wxSWISS_FONT_set
);
7115 SWIG_addvarlink(SWIG_globals
,"wxRED_PEN",_wrap_wxRED_PEN_get
, _wrap_wxRED_PEN_set
);
7116 SWIG_addvarlink(SWIG_globals
,"wxCYAN_PEN",_wrap_wxCYAN_PEN_get
, _wrap_wxCYAN_PEN_set
);
7117 SWIG_addvarlink(SWIG_globals
,"wxGREEN_PEN",_wrap_wxGREEN_PEN_get
, _wrap_wxGREEN_PEN_set
);
7118 SWIG_addvarlink(SWIG_globals
,"wxBLACK_PEN",_wrap_wxBLACK_PEN_get
, _wrap_wxBLACK_PEN_set
);
7119 SWIG_addvarlink(SWIG_globals
,"wxWHITE_PEN",_wrap_wxWHITE_PEN_get
, _wrap_wxWHITE_PEN_set
);
7120 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_PEN",_wrap_wxTRANSPARENT_PEN_get
, _wrap_wxTRANSPARENT_PEN_set
);
7121 SWIG_addvarlink(SWIG_globals
,"wxBLACK_DASHED_PEN",_wrap_wxBLACK_DASHED_PEN_get
, _wrap_wxBLACK_DASHED_PEN_set
);
7122 SWIG_addvarlink(SWIG_globals
,"wxGREY_PEN",_wrap_wxGREY_PEN_get
, _wrap_wxGREY_PEN_set
);
7123 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_PEN",_wrap_wxMEDIUM_GREY_PEN_get
, _wrap_wxMEDIUM_GREY_PEN_set
);
7124 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_PEN",_wrap_wxLIGHT_GREY_PEN_get
, _wrap_wxLIGHT_GREY_PEN_set
);
7125 SWIG_addvarlink(SWIG_globals
,"wxBLUE_BRUSH",_wrap_wxBLUE_BRUSH_get
, _wrap_wxBLUE_BRUSH_set
);
7126 SWIG_addvarlink(SWIG_globals
,"wxGREEN_BRUSH",_wrap_wxGREEN_BRUSH_get
, _wrap_wxGREEN_BRUSH_set
);
7127 SWIG_addvarlink(SWIG_globals
,"wxWHITE_BRUSH",_wrap_wxWHITE_BRUSH_get
, _wrap_wxWHITE_BRUSH_set
);
7128 SWIG_addvarlink(SWIG_globals
,"wxBLACK_BRUSH",_wrap_wxBLACK_BRUSH_get
, _wrap_wxBLACK_BRUSH_set
);
7129 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_BRUSH",_wrap_wxTRANSPARENT_BRUSH_get
, _wrap_wxTRANSPARENT_BRUSH_set
);
7130 SWIG_addvarlink(SWIG_globals
,"wxCYAN_BRUSH",_wrap_wxCYAN_BRUSH_get
, _wrap_wxCYAN_BRUSH_set
);
7131 SWIG_addvarlink(SWIG_globals
,"wxRED_BRUSH",_wrap_wxRED_BRUSH_get
, _wrap_wxRED_BRUSH_set
);
7132 SWIG_addvarlink(SWIG_globals
,"wxGREY_BRUSH",_wrap_wxGREY_BRUSH_get
, _wrap_wxGREY_BRUSH_set
);
7133 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_BRUSH",_wrap_wxMEDIUM_GREY_BRUSH_get
, _wrap_wxMEDIUM_GREY_BRUSH_set
);
7134 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_BRUSH",_wrap_wxLIGHT_GREY_BRUSH_get
, _wrap_wxLIGHT_GREY_BRUSH_set
);
7135 SWIG_addvarlink(SWIG_globals
,"wxBLACK",_wrap_wxBLACK_get
, _wrap_wxBLACK_set
);
7136 SWIG_addvarlink(SWIG_globals
,"wxWHITE",_wrap_wxWHITE_get
, _wrap_wxWHITE_set
);
7137 SWIG_addvarlink(SWIG_globals
,"wxRED",_wrap_wxRED_get
, _wrap_wxRED_set
);
7138 SWIG_addvarlink(SWIG_globals
,"wxBLUE",_wrap_wxBLUE_get
, _wrap_wxBLUE_set
);
7139 SWIG_addvarlink(SWIG_globals
,"wxGREEN",_wrap_wxGREEN_get
, _wrap_wxGREEN_set
);
7140 SWIG_addvarlink(SWIG_globals
,"wxCYAN",_wrap_wxCYAN_get
, _wrap_wxCYAN_set
);
7141 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY",_wrap_wxLIGHT_GREY_get
, _wrap_wxLIGHT_GREY_set
);
7142 SWIG_addvarlink(SWIG_globals
,"wxSTANDARD_CURSOR",_wrap_wxSTANDARD_CURSOR_get
, _wrap_wxSTANDARD_CURSOR_set
);
7143 SWIG_addvarlink(SWIG_globals
,"wxHOURGLASS_CURSOR",_wrap_wxHOURGLASS_CURSOR_get
, _wrap_wxHOURGLASS_CURSOR_set
);
7144 SWIG_addvarlink(SWIG_globals
,"wxCROSS_CURSOR",_wrap_wxCROSS_CURSOR_get
, _wrap_wxCROSS_CURSOR_set
);
7145 SWIG_addvarlink(SWIG_globals
,"wxNullBitmap",_wrap_wxNullBitmap_get
, _wrap_wxNullBitmap_set
);
7146 SWIG_addvarlink(SWIG_globals
,"wxNullIcon",_wrap_wxNullIcon_get
, _wrap_wxNullIcon_set
);
7147 SWIG_addvarlink(SWIG_globals
,"wxNullCursor",_wrap_wxNullCursor_get
, _wrap_wxNullCursor_set
);
7148 SWIG_addvarlink(SWIG_globals
,"wxNullPen",_wrap_wxNullPen_get
, _wrap_wxNullPen_set
);
7149 SWIG_addvarlink(SWIG_globals
,"wxNullBrush",_wrap_wxNullBrush_get
, _wrap_wxNullBrush_set
);
7150 SWIG_addvarlink(SWIG_globals
,"wxNullPalette",_wrap_wxNullPalette_get
, _wrap_wxNullPalette_set
);
7151 SWIG_addvarlink(SWIG_globals
,"wxNullFont",_wrap_wxNullFont_get
, _wrap_wxNullFont_set
);
7152 SWIG_addvarlink(SWIG_globals
,"wxNullColour",_wrap_wxNullColour_get
, _wrap_wxNullColour_set
);
7153 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_NORMAL", PyInt_FromLong((long) wxIMAGELIST_DRAW_NORMAL
));
7154 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_TRANSPARENT", PyInt_FromLong((long) wxIMAGELIST_DRAW_TRANSPARENT
));
7155 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_SELECTED", PyInt_FromLong((long) wxIMAGELIST_DRAW_SELECTED
));
7156 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_FOCUSED", PyInt_FromLong((long) wxIMAGELIST_DRAW_FOCUSED
));
7157 PyDict_SetItemString(d
,"wxIMAGE_LIST_NORMAL", PyInt_FromLong((long) wxIMAGE_LIST_NORMAL
));
7158 PyDict_SetItemString(d
,"wxIMAGE_LIST_SMALL", PyInt_FromLong((long) wxIMAGE_LIST_SMALL
));
7159 PyDict_SetItemString(d
,"wxIMAGE_LIST_STATE", PyInt_FromLong((long) wxIMAGE_LIST_STATE
));
7162 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
7163 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);