4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 810)
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
);
110 static char* wxStringErrorMsg
= "string type is required for parameter";
111 // Alternate 'constructor'
112 wxBitmap
* wxEmptyBitmap(int width
, int height
, int depth
=-1) {
113 return new wxBitmap(width
, height
, depth
);
116 // This one won't own the reference, so Python
117 // won't call the dtor, this is good for
118 // toolbars and such where the parent will
119 // manage the bitmap.
120 wxBitmap
* wxNoRefBitmap(char* name
, long flags
) {
121 return new wxBitmap(name
, flags
);
125 wxBitmap
* wxBitmapFromData(char* data
, long type
,
126 int width
, int height
, int depth
= 1) {
127 return new wxBitmap((void*)data
, type
, width
, height
, depth
);
131 wxMask
* wxMaskColour(const wxBitmap
& bitmap
, const wxColour
& colour
) {
132 return new wxMask(bitmap
, colour
);
134 // Alternate 'constructor'
135 wxCursor
* wxPyStockCursor(int id
) {
136 return new wxCursor(id
);
139 wxFontEncoding
wxFont_GetDefaultEncoding() {
140 return wxFont::GetDefaultEncoding();
143 void wxFont_SetDefaultEncoding(wxFontEncoding encoding
) {
144 wxFont::SetDefaultEncoding(encoding
);
146 // Alternate 'constructor'
147 wxColour
* wxNamedColour(const wxString
& colorName
) {
148 return new wxColour(colorName
);
150 // Alternate 'constructor'
151 wxMemoryDC
* wxMemoryDCFromDC(wxDC
* oldDC
) {
152 return new wxMemoryDC(oldDC
);
156 extern wxFont
* wxNORMAL_FONT
;
157 extern wxFont
* wxSMALL_FONT
;
158 extern wxFont
* wxITALIC_FONT
;
159 extern wxFont
* wxSWISS_FONT
;
160 extern wxPen
* wxRED_PEN
;
161 extern wxPen
* wxCYAN_PEN
;
162 extern wxPen
* wxGREEN_PEN
;
163 extern wxPen
* wxBLACK_PEN
;
164 extern wxPen
* wxWHITE_PEN
;
165 extern wxPen
* wxTRANSPARENT_PEN
;
166 extern wxPen
* wxBLACK_DASHED_PEN
;
167 extern wxPen
* wxGREY_PEN
;
168 extern wxPen
* wxMEDIUM_GREY_PEN
;
169 extern wxPen
* wxLIGHT_GREY_PEN
;
170 extern wxBrush
* wxBLUE_BRUSH
;
171 extern wxBrush
* wxGREEN_BRUSH
;
172 extern wxBrush
* wxWHITE_BRUSH
;
173 extern wxBrush
* wxBLACK_BRUSH
;
174 extern wxBrush
* wxTRANSPARENT_BRUSH
;
175 extern wxBrush
* wxCYAN_BRUSH
;
176 extern wxBrush
* wxRED_BRUSH
;
177 extern wxBrush
* wxGREY_BRUSH
;
178 extern wxBrush
* wxMEDIUM_GREY_BRUSH
;
179 extern wxBrush
* wxLIGHT_GREY_BRUSH
;
180 extern wxColour
* wxBLACK
;
181 extern wxColour
* wxWHITE
;
182 extern wxColour
* wxRED
;
183 extern wxColour
* wxBLUE
;
184 extern wxColour
* wxGREEN
;
185 extern wxColour
* wxCYAN
;
186 extern wxColour
* wxLIGHT_GREY
;
187 extern wxCursor
* wxSTANDARD_CURSOR
;
188 extern wxCursor
* wxHOURGLASS_CURSOR
;
189 extern wxCursor
* wxCROSS_CURSOR
;
190 extern wxBitmap wxNullBitmap
;
191 extern wxIcon wxNullIcon
;
192 extern wxCursor wxNullCursor
;
193 extern wxPen wxNullPen
;
194 extern wxBrush wxNullBrush
;
195 extern wxPalette wxNullPalette
;
196 extern wxFont wxNullFont
;
197 extern wxColour wxNullColour
;
203 static PyObject
*_wrap_wxEmptyBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
204 PyObject
* _resultobj
;
208 int _arg2
= (int ) -1;
209 char *_kwnames
[] = { "width","height","depth", NULL
};
213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ii|i:wxEmptyBitmap",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
216 wxPy_BEGIN_ALLOW_THREADS
;
217 _result
= (wxBitmap
*)wxEmptyBitmap(_arg0
,_arg1
,_arg2
);
219 wxPy_END_ALLOW_THREADS
;
221 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
222 _resultobj
= Py_BuildValue("s",_ptemp
);
225 _resultobj
= Py_None
;
230 static PyObject
*_wrap_wxNoRefBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
231 PyObject
* _resultobj
;
235 char *_kwnames
[] = { "name","flags", NULL
};
239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"sl:wxNoRefBitmap",_kwnames
,&_arg0
,&_arg1
))
242 wxPy_BEGIN_ALLOW_THREADS
;
243 _result
= (wxBitmap
*)wxNoRefBitmap(_arg0
,_arg1
);
245 wxPy_END_ALLOW_THREADS
;
247 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
248 _resultobj
= Py_BuildValue("s",_ptemp
);
251 _resultobj
= Py_None
;
256 static PyObject
*_wrap_wxBitmapFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
257 PyObject
* _resultobj
;
263 int _arg4
= (int ) 1;
264 char *_kwnames
[] = { "data","type","width","height","depth", NULL
};
268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"slii|i:wxBitmapFromData",_kwnames
,&_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
, PyObject
*kwargs
) {
286 PyObject
* _resultobj
;
290 PyObject
* _argo0
= 0;
291 PyObject
* _argo1
= 0;
292 char *_kwnames
[] = { "bitmap","colour", NULL
};
296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMaskColour",_kwnames
,&_argo0
,&_argo1
))
299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMaskColour. Expected _wxBitmap_p.");
306 if (_argo1
== Py_None
) { _arg1
= NULL
; }
307 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMaskColour. Expected _wxColour_p.");
313 wxPy_BEGIN_ALLOW_THREADS
;
314 _result
= (wxMask
*)wxMaskColour(*_arg0
,*_arg1
);
316 wxPy_END_ALLOW_THREADS
;
318 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
319 _resultobj
= Py_BuildValue("s",_ptemp
);
322 _resultobj
= Py_None
;
327 static PyObject
*_wrap_wxStockCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
328 PyObject
* _resultobj
;
331 char *_kwnames
[] = { "id", NULL
};
335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxStockCursor",_kwnames
,&_arg0
))
338 wxPy_BEGIN_ALLOW_THREADS
;
339 _result
= (wxCursor
*)wxPyStockCursor(_arg0
);
341 wxPy_END_ALLOW_THREADS
;
343 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCursor_p");
344 _resultobj
= Py_BuildValue("s",_ptemp
);
347 _resultobj
= Py_None
;
352 static PyObject
*_wrap_wxFont_GetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
353 PyObject
* _resultobj
;
354 wxFontEncoding _result
;
355 char *_kwnames
[] = { NULL
};
358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFont_GetDefaultEncoding",_kwnames
))
361 wxPy_BEGIN_ALLOW_THREADS
;
362 _result
= (wxFontEncoding
)wxFont_GetDefaultEncoding();
364 wxPy_END_ALLOW_THREADS
;
365 } _resultobj
= Py_BuildValue("i",_result
);
369 static PyObject
*_wrap_wxFont_SetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
370 PyObject
* _resultobj
;
371 wxFontEncoding _arg0
;
372 char *_kwnames
[] = { "encoding", NULL
};
375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxFont_SetDefaultEncoding",_kwnames
,&_arg0
))
378 wxPy_BEGIN_ALLOW_THREADS
;
379 wxFont_SetDefaultEncoding(_arg0
);
381 wxPy_END_ALLOW_THREADS
;
382 } Py_INCREF(Py_None
);
383 _resultobj
= Py_None
;
387 static PyObject
*_wrap_wxNamedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
388 PyObject
* _resultobj
;
391 PyObject
* _obj0
= 0;
392 char *_kwnames
[] = { "colorName", NULL
};
396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNamedColour",_kwnames
,&_obj0
))
399 if (!PyString_Check(_obj0
)) {
400 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
403 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
406 wxPy_BEGIN_ALLOW_THREADS
;
407 _result
= (wxColour
*)wxNamedColour(*_arg0
);
409 wxPy_END_ALLOW_THREADS
;
411 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
412 _resultobj
= Py_BuildValue("s",_ptemp
);
415 _resultobj
= Py_None
;
424 static PyObject
*_wrap_wxMemoryDCFromDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
425 PyObject
* _resultobj
;
426 wxMemoryDC
* _result
;
428 PyObject
* _argo0
= 0;
429 char *_kwnames
[] = { "oldDC", NULL
};
433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMemoryDCFromDC",_kwnames
,&_argo0
))
436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDCFromDC. Expected _wxDC_p.");
443 wxPy_BEGIN_ALLOW_THREADS
;
444 _result
= (wxMemoryDC
*)wxMemoryDCFromDC(_arg0
);
446 wxPy_END_ALLOW_THREADS
;
448 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
449 _resultobj
= Py_BuildValue("s",_ptemp
);
452 _resultobj
= Py_None
;
457 static int _wrap_wxNORMAL_FONT_set(PyObject
*val
) {
459 PyErr_SetString(PyExc_TypeError
,"Variable wxNORMAL_FONT is read-only.");
463 static PyObject
*_wrap_wxNORMAL_FONT_get() {
467 SWIG_MakePtr(ptemp
, (char *) wxNORMAL_FONT
,"_wxFont_p");
468 pyobj
= PyString_FromString(ptemp
);
472 static int _wrap_wxSMALL_FONT_set(PyObject
*val
) {
474 PyErr_SetString(PyExc_TypeError
,"Variable wxSMALL_FONT is read-only.");
478 static PyObject
*_wrap_wxSMALL_FONT_get() {
482 SWIG_MakePtr(ptemp
, (char *) wxSMALL_FONT
,"_wxFont_p");
483 pyobj
= PyString_FromString(ptemp
);
487 static int _wrap_wxITALIC_FONT_set(PyObject
*val
) {
489 PyErr_SetString(PyExc_TypeError
,"Variable wxITALIC_FONT is read-only.");
493 static PyObject
*_wrap_wxITALIC_FONT_get() {
497 SWIG_MakePtr(ptemp
, (char *) wxITALIC_FONT
,"_wxFont_p");
498 pyobj
= PyString_FromString(ptemp
);
502 static int _wrap_wxSWISS_FONT_set(PyObject
*val
) {
504 PyErr_SetString(PyExc_TypeError
,"Variable wxSWISS_FONT is read-only.");
508 static PyObject
*_wrap_wxSWISS_FONT_get() {
512 SWIG_MakePtr(ptemp
, (char *) wxSWISS_FONT
,"_wxFont_p");
513 pyobj
= PyString_FromString(ptemp
);
517 static int _wrap_wxRED_PEN_set(PyObject
*val
) {
519 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_PEN is read-only.");
523 static PyObject
*_wrap_wxRED_PEN_get() {
527 SWIG_MakePtr(ptemp
, (char *) wxRED_PEN
,"_wxPen_p");
528 pyobj
= PyString_FromString(ptemp
);
532 static int _wrap_wxCYAN_PEN_set(PyObject
*val
) {
534 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_PEN is read-only.");
538 static PyObject
*_wrap_wxCYAN_PEN_get() {
542 SWIG_MakePtr(ptemp
, (char *) wxCYAN_PEN
,"_wxPen_p");
543 pyobj
= PyString_FromString(ptemp
);
547 static int _wrap_wxGREEN_PEN_set(PyObject
*val
) {
549 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_PEN is read-only.");
553 static PyObject
*_wrap_wxGREEN_PEN_get() {
557 SWIG_MakePtr(ptemp
, (char *) wxGREEN_PEN
,"_wxPen_p");
558 pyobj
= PyString_FromString(ptemp
);
562 static int _wrap_wxBLACK_PEN_set(PyObject
*val
) {
564 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_PEN is read-only.");
568 static PyObject
*_wrap_wxBLACK_PEN_get() {
572 SWIG_MakePtr(ptemp
, (char *) wxBLACK_PEN
,"_wxPen_p");
573 pyobj
= PyString_FromString(ptemp
);
577 static int _wrap_wxWHITE_PEN_set(PyObject
*val
) {
579 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_PEN is read-only.");
583 static PyObject
*_wrap_wxWHITE_PEN_get() {
587 SWIG_MakePtr(ptemp
, (char *) wxWHITE_PEN
,"_wxPen_p");
588 pyobj
= PyString_FromString(ptemp
);
592 static int _wrap_wxTRANSPARENT_PEN_set(PyObject
*val
) {
594 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_PEN is read-only.");
598 static PyObject
*_wrap_wxTRANSPARENT_PEN_get() {
602 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_PEN
,"_wxPen_p");
603 pyobj
= PyString_FromString(ptemp
);
607 static int _wrap_wxBLACK_DASHED_PEN_set(PyObject
*val
) {
609 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_DASHED_PEN is read-only.");
613 static PyObject
*_wrap_wxBLACK_DASHED_PEN_get() {
617 SWIG_MakePtr(ptemp
, (char *) wxBLACK_DASHED_PEN
,"_wxPen_p");
618 pyobj
= PyString_FromString(ptemp
);
622 static int _wrap_wxGREY_PEN_set(PyObject
*val
) {
624 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_PEN is read-only.");
628 static PyObject
*_wrap_wxGREY_PEN_get() {
632 SWIG_MakePtr(ptemp
, (char *) wxGREY_PEN
,"_wxPen_p");
633 pyobj
= PyString_FromString(ptemp
);
637 static int _wrap_wxMEDIUM_GREY_PEN_set(PyObject
*val
) {
639 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_PEN is read-only.");
643 static PyObject
*_wrap_wxMEDIUM_GREY_PEN_get() {
647 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_PEN
,"_wxPen_p");
648 pyobj
= PyString_FromString(ptemp
);
652 static int _wrap_wxLIGHT_GREY_PEN_set(PyObject
*val
) {
654 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_PEN is read-only.");
658 static PyObject
*_wrap_wxLIGHT_GREY_PEN_get() {
662 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_PEN
,"_wxPen_p");
663 pyobj
= PyString_FromString(ptemp
);
667 static int _wrap_wxBLUE_BRUSH_set(PyObject
*val
) {
669 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE_BRUSH is read-only.");
673 static PyObject
*_wrap_wxBLUE_BRUSH_get() {
677 SWIG_MakePtr(ptemp
, (char *) wxBLUE_BRUSH
,"_wxBrush_p");
678 pyobj
= PyString_FromString(ptemp
);
682 static int _wrap_wxGREEN_BRUSH_set(PyObject
*val
) {
684 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_BRUSH is read-only.");
688 static PyObject
*_wrap_wxGREEN_BRUSH_get() {
692 SWIG_MakePtr(ptemp
, (char *) wxGREEN_BRUSH
,"_wxBrush_p");
693 pyobj
= PyString_FromString(ptemp
);
697 static int _wrap_wxWHITE_BRUSH_set(PyObject
*val
) {
699 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_BRUSH is read-only.");
703 static PyObject
*_wrap_wxWHITE_BRUSH_get() {
707 SWIG_MakePtr(ptemp
, (char *) wxWHITE_BRUSH
,"_wxBrush_p");
708 pyobj
= PyString_FromString(ptemp
);
712 static int _wrap_wxBLACK_BRUSH_set(PyObject
*val
) {
714 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_BRUSH is read-only.");
718 static PyObject
*_wrap_wxBLACK_BRUSH_get() {
722 SWIG_MakePtr(ptemp
, (char *) wxBLACK_BRUSH
,"_wxBrush_p");
723 pyobj
= PyString_FromString(ptemp
);
727 static int _wrap_wxTRANSPARENT_BRUSH_set(PyObject
*val
) {
729 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_BRUSH is read-only.");
733 static PyObject
*_wrap_wxTRANSPARENT_BRUSH_get() {
737 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_BRUSH
,"_wxBrush_p");
738 pyobj
= PyString_FromString(ptemp
);
742 static int _wrap_wxCYAN_BRUSH_set(PyObject
*val
) {
744 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_BRUSH is read-only.");
748 static PyObject
*_wrap_wxCYAN_BRUSH_get() {
752 SWIG_MakePtr(ptemp
, (char *) wxCYAN_BRUSH
,"_wxBrush_p");
753 pyobj
= PyString_FromString(ptemp
);
757 static int _wrap_wxRED_BRUSH_set(PyObject
*val
) {
759 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_BRUSH is read-only.");
763 static PyObject
*_wrap_wxRED_BRUSH_get() {
767 SWIG_MakePtr(ptemp
, (char *) wxRED_BRUSH
,"_wxBrush_p");
768 pyobj
= PyString_FromString(ptemp
);
772 static int _wrap_wxGREY_BRUSH_set(PyObject
*val
) {
774 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_BRUSH is read-only.");
778 static PyObject
*_wrap_wxGREY_BRUSH_get() {
782 SWIG_MakePtr(ptemp
, (char *) wxGREY_BRUSH
,"_wxBrush_p");
783 pyobj
= PyString_FromString(ptemp
);
787 static int _wrap_wxMEDIUM_GREY_BRUSH_set(PyObject
*val
) {
789 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_BRUSH is read-only.");
793 static PyObject
*_wrap_wxMEDIUM_GREY_BRUSH_get() {
797 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_BRUSH
,"_wxBrush_p");
798 pyobj
= PyString_FromString(ptemp
);
802 static int _wrap_wxLIGHT_GREY_BRUSH_set(PyObject
*val
) {
804 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_BRUSH is read-only.");
808 static PyObject
*_wrap_wxLIGHT_GREY_BRUSH_get() {
812 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_BRUSH
,"_wxBrush_p");
813 pyobj
= PyString_FromString(ptemp
);
817 static int _wrap_wxBLACK_set(PyObject
*val
) {
819 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK is read-only.");
823 static PyObject
*_wrap_wxBLACK_get() {
827 SWIG_MakePtr(ptemp
, (char *) wxBLACK
,"_wxColour_p");
828 pyobj
= PyString_FromString(ptemp
);
832 static int _wrap_wxWHITE_set(PyObject
*val
) {
834 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE is read-only.");
838 static PyObject
*_wrap_wxWHITE_get() {
842 SWIG_MakePtr(ptemp
, (char *) wxWHITE
,"_wxColour_p");
843 pyobj
= PyString_FromString(ptemp
);
847 static int _wrap_wxRED_set(PyObject
*val
) {
849 PyErr_SetString(PyExc_TypeError
,"Variable wxRED is read-only.");
853 static PyObject
*_wrap_wxRED_get() {
857 SWIG_MakePtr(ptemp
, (char *) wxRED
,"_wxColour_p");
858 pyobj
= PyString_FromString(ptemp
);
862 static int _wrap_wxBLUE_set(PyObject
*val
) {
864 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE is read-only.");
868 static PyObject
*_wrap_wxBLUE_get() {
872 SWIG_MakePtr(ptemp
, (char *) wxBLUE
,"_wxColour_p");
873 pyobj
= PyString_FromString(ptemp
);
877 static int _wrap_wxGREEN_set(PyObject
*val
) {
879 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN is read-only.");
883 static PyObject
*_wrap_wxGREEN_get() {
887 SWIG_MakePtr(ptemp
, (char *) wxGREEN
,"_wxColour_p");
888 pyobj
= PyString_FromString(ptemp
);
892 static int _wrap_wxCYAN_set(PyObject
*val
) {
894 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN is read-only.");
898 static PyObject
*_wrap_wxCYAN_get() {
902 SWIG_MakePtr(ptemp
, (char *) wxCYAN
,"_wxColour_p");
903 pyobj
= PyString_FromString(ptemp
);
907 static int _wrap_wxLIGHT_GREY_set(PyObject
*val
) {
909 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY is read-only.");
913 static PyObject
*_wrap_wxLIGHT_GREY_get() {
917 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY
,"_wxColour_p");
918 pyobj
= PyString_FromString(ptemp
);
922 static int _wrap_wxSTANDARD_CURSOR_set(PyObject
*val
) {
924 PyErr_SetString(PyExc_TypeError
,"Variable wxSTANDARD_CURSOR is read-only.");
928 static PyObject
*_wrap_wxSTANDARD_CURSOR_get() {
932 SWIG_MakePtr(ptemp
, (char *) wxSTANDARD_CURSOR
,"_wxCursor_p");
933 pyobj
= PyString_FromString(ptemp
);
937 static int _wrap_wxHOURGLASS_CURSOR_set(PyObject
*val
) {
939 PyErr_SetString(PyExc_TypeError
,"Variable wxHOURGLASS_CURSOR is read-only.");
943 static PyObject
*_wrap_wxHOURGLASS_CURSOR_get() {
947 SWIG_MakePtr(ptemp
, (char *) wxHOURGLASS_CURSOR
,"_wxCursor_p");
948 pyobj
= PyString_FromString(ptemp
);
952 static int _wrap_wxCROSS_CURSOR_set(PyObject
*val
) {
954 PyErr_SetString(PyExc_TypeError
,"Variable wxCROSS_CURSOR is read-only.");
958 static PyObject
*_wrap_wxCROSS_CURSOR_get() {
962 SWIG_MakePtr(ptemp
, (char *) wxCROSS_CURSOR
,"_wxCursor_p");
963 pyobj
= PyString_FromString(ptemp
);
967 static int _wrap_wxNullBitmap_set(PyObject
*val
) {
969 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBitmap is read-only.");
973 static PyObject
*_wrap_wxNullBitmap_get() {
977 SWIG_MakePtr(ptemp
,(char *) &wxNullBitmap
,"_wxBitmap_p");
978 pyobj
= PyString_FromString(ptemp
);
982 static int _wrap_wxNullIcon_set(PyObject
*val
) {
984 PyErr_SetString(PyExc_TypeError
,"Variable wxNullIcon is read-only.");
988 static PyObject
*_wrap_wxNullIcon_get() {
992 SWIG_MakePtr(ptemp
,(char *) &wxNullIcon
,"_wxIcon_p");
993 pyobj
= PyString_FromString(ptemp
);
997 static int _wrap_wxNullCursor_set(PyObject
*val
) {
999 PyErr_SetString(PyExc_TypeError
,"Variable wxNullCursor is read-only.");
1003 static PyObject
*_wrap_wxNullCursor_get() {
1007 SWIG_MakePtr(ptemp
,(char *) &wxNullCursor
,"_wxCursor_p");
1008 pyobj
= PyString_FromString(ptemp
);
1012 static int _wrap_wxNullPen_set(PyObject
*val
) {
1014 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPen is read-only.");
1018 static PyObject
*_wrap_wxNullPen_get() {
1022 SWIG_MakePtr(ptemp
,(char *) &wxNullPen
,"_wxPen_p");
1023 pyobj
= PyString_FromString(ptemp
);
1027 static int _wrap_wxNullBrush_set(PyObject
*val
) {
1029 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBrush is read-only.");
1033 static PyObject
*_wrap_wxNullBrush_get() {
1037 SWIG_MakePtr(ptemp
,(char *) &wxNullBrush
,"_wxBrush_p");
1038 pyobj
= PyString_FromString(ptemp
);
1042 static int _wrap_wxNullPalette_set(PyObject
*val
) {
1044 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPalette is read-only.");
1048 static PyObject
*_wrap_wxNullPalette_get() {
1052 SWIG_MakePtr(ptemp
,(char *) &wxNullPalette
,"_wxPalette_p");
1053 pyobj
= PyString_FromString(ptemp
);
1057 static int _wrap_wxNullFont_set(PyObject
*val
) {
1059 PyErr_SetString(PyExc_TypeError
,"Variable wxNullFont is read-only.");
1063 static PyObject
*_wrap_wxNullFont_get() {
1067 SWIG_MakePtr(ptemp
,(char *) &wxNullFont
,"_wxFont_p");
1068 pyobj
= PyString_FromString(ptemp
);
1072 static int _wrap_wxNullColour_set(PyObject
*val
) {
1074 PyErr_SetString(PyExc_TypeError
,"Variable wxNullColour is read-only.");
1078 static PyObject
*_wrap_wxNullColour_get() {
1082 SWIG_MakePtr(ptemp
,(char *) &wxNullColour
,"_wxColour_p");
1083 pyobj
= PyString_FromString(ptemp
);
1087 #define new_wxBitmap(_swigarg0,_swigarg1) (new wxBitmap(_swigarg0,_swigarg1))
1088 static PyObject
*_wrap_new_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1089 PyObject
* _resultobj
;
1093 PyObject
* _obj0
= 0;
1094 char *_kwnames
[] = { "name","type", NULL
};
1098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:new_wxBitmap",_kwnames
,&_obj0
,&_arg1
))
1101 if (!PyString_Check(_obj0
)) {
1102 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1105 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
1108 wxPy_BEGIN_ALLOW_THREADS
;
1109 _result
= (wxBitmap
*)new_wxBitmap(*_arg0
,_arg1
);
1111 wxPy_END_ALLOW_THREADS
;
1113 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1114 _resultobj
= Py_BuildValue("s",_ptemp
);
1117 _resultobj
= Py_None
;
1126 #define delete_wxBitmap(_swigobj) (delete _swigobj)
1127 static PyObject
*_wrap_delete_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1128 PyObject
* _resultobj
;
1130 PyObject
* _argo0
= 0;
1131 char *_kwnames
[] = { "self", NULL
};
1134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBitmap",_kwnames
,&_argo0
))
1137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBitmap. Expected _wxBitmap_p.");
1144 wxPy_BEGIN_ALLOW_THREADS
;
1145 delete_wxBitmap(_arg0
);
1147 wxPy_END_ALLOW_THREADS
;
1148 } Py_INCREF(Py_None
);
1149 _resultobj
= Py_None
;
1153 #define wxBitmap_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2))
1154 static PyObject
*_wrap_wxBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1155 PyObject
* _resultobj
;
1159 int _arg3
= (int ) -1;
1160 PyObject
* _argo0
= 0;
1161 char *_kwnames
[] = { "self","width","height","depth", NULL
};
1164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxBitmap_Create",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
1167 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1168 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_Create. Expected _wxBitmap_p.");
1174 wxPy_BEGIN_ALLOW_THREADS
;
1175 wxBitmap_Create(_arg0
,_arg1
,_arg2
,_arg3
);
1177 wxPy_END_ALLOW_THREADS
;
1178 } Py_INCREF(Py_None
);
1179 _resultobj
= Py_None
;
1183 #define wxBitmap_GetDepth(_swigobj) (_swigobj->GetDepth())
1184 static PyObject
*_wrap_wxBitmap_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1185 PyObject
* _resultobj
;
1188 PyObject
* _argo0
= 0;
1189 char *_kwnames
[] = { "self", NULL
};
1192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetDepth",_kwnames
,&_argo0
))
1195 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1196 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetDepth. Expected _wxBitmap_p.");
1202 wxPy_BEGIN_ALLOW_THREADS
;
1203 _result
= (int )wxBitmap_GetDepth(_arg0
);
1205 wxPy_END_ALLOW_THREADS
;
1206 } _resultobj
= Py_BuildValue("i",_result
);
1210 #define wxBitmap_GetHeight(_swigobj) (_swigobj->GetHeight())
1211 static PyObject
*_wrap_wxBitmap_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1212 PyObject
* _resultobj
;
1215 PyObject
* _argo0
= 0;
1216 char *_kwnames
[] = { "self", NULL
};
1219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetHeight",_kwnames
,&_argo0
))
1222 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1223 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetHeight. Expected _wxBitmap_p.");
1229 wxPy_BEGIN_ALLOW_THREADS
;
1230 _result
= (int )wxBitmap_GetHeight(_arg0
);
1232 wxPy_END_ALLOW_THREADS
;
1233 } _resultobj
= Py_BuildValue("i",_result
);
1237 #define wxBitmap_GetPalette(_swigobj) (_swigobj->GetPalette())
1238 static PyObject
*_wrap_wxBitmap_GetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1239 PyObject
* _resultobj
;
1240 wxPalette
* _result
;
1242 PyObject
* _argo0
= 0;
1243 char *_kwnames
[] = { "self", NULL
};
1247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetPalette",_kwnames
,&_argo0
))
1250 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1251 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetPalette. Expected _wxBitmap_p.");
1257 wxPy_BEGIN_ALLOW_THREADS
;
1258 _result
= (wxPalette
*)wxBitmap_GetPalette(_arg0
);
1260 wxPy_END_ALLOW_THREADS
;
1262 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
1263 _resultobj
= Py_BuildValue("s",_ptemp
);
1266 _resultobj
= Py_None
;
1271 #define wxBitmap_GetMask(_swigobj) (_swigobj->GetMask())
1272 static PyObject
*_wrap_wxBitmap_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1273 PyObject
* _resultobj
;
1276 PyObject
* _argo0
= 0;
1277 char *_kwnames
[] = { "self", NULL
};
1281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetMask",_kwnames
,&_argo0
))
1284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetMask. Expected _wxBitmap_p.");
1291 wxPy_BEGIN_ALLOW_THREADS
;
1292 _result
= (wxMask
*)wxBitmap_GetMask(_arg0
);
1294 wxPy_END_ALLOW_THREADS
;
1296 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
1297 _resultobj
= Py_BuildValue("s",_ptemp
);
1300 _resultobj
= Py_None
;
1305 #define wxBitmap_GetWidth(_swigobj) (_swigobj->GetWidth())
1306 static PyObject
*_wrap_wxBitmap_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1307 PyObject
* _resultobj
;
1310 PyObject
* _argo0
= 0;
1311 char *_kwnames
[] = { "self", NULL
};
1314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetWidth",_kwnames
,&_argo0
))
1317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetWidth. Expected _wxBitmap_p.");
1324 wxPy_BEGIN_ALLOW_THREADS
;
1325 _result
= (int )wxBitmap_GetWidth(_arg0
);
1327 wxPy_END_ALLOW_THREADS
;
1328 } _resultobj
= Py_BuildValue("i",_result
);
1332 #define wxBitmap_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1333 static PyObject
*_wrap_wxBitmap_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1334 PyObject
* _resultobj
;
1339 PyObject
* _argo0
= 0;
1340 PyObject
* _obj1
= 0;
1341 char *_kwnames
[] = { "self","name","flags", NULL
};
1344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOl:wxBitmap_LoadFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_LoadFile. Expected _wxBitmap_p.");
1354 if (!PyString_Check(_obj1
)) {
1355 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1358 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1361 wxPy_BEGIN_ALLOW_THREADS
;
1362 _result
= (bool )wxBitmap_LoadFile(_arg0
,*_arg1
,_arg2
);
1364 wxPy_END_ALLOW_THREADS
;
1365 } _resultobj
= Py_BuildValue("i",_result
);
1373 #define wxBitmap_Ok(_swigobj) (_swigobj->Ok())
1374 static PyObject
*_wrap_wxBitmap_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1375 PyObject
* _resultobj
;
1378 PyObject
* _argo0
= 0;
1379 char *_kwnames
[] = { "self", NULL
};
1382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_Ok",_kwnames
,&_argo0
))
1385 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1386 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_Ok. Expected _wxBitmap_p.");
1392 wxPy_BEGIN_ALLOW_THREADS
;
1393 _result
= (bool )wxBitmap_Ok(_arg0
);
1395 wxPy_END_ALLOW_THREADS
;
1396 } _resultobj
= Py_BuildValue("i",_result
);
1400 #define wxBitmap_SaveFile(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SaveFile(_swigarg0,_swigarg1,_swigarg2))
1401 static PyObject
*_wrap_wxBitmap_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1402 PyObject
* _resultobj
;
1407 wxPalette
* _arg3
= (wxPalette
*) NULL
;
1408 PyObject
* _argo0
= 0;
1409 PyObject
* _obj1
= 0;
1410 PyObject
* _argo3
= 0;
1411 char *_kwnames
[] = { "self","name","type","palette", NULL
};
1414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|O:wxBitmap_SaveFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_argo3
))
1417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SaveFile. Expected _wxBitmap_p.");
1424 if (!PyString_Check(_obj1
)) {
1425 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1428 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1431 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1432 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxPalette_p")) {
1433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxBitmap_SaveFile. Expected _wxPalette_p.");
1438 wxPy_BEGIN_ALLOW_THREADS
;
1439 _result
= (bool )wxBitmap_SaveFile(_arg0
,*_arg1
,_arg2
,_arg3
);
1441 wxPy_END_ALLOW_THREADS
;
1442 } _resultobj
= Py_BuildValue("i",_result
);
1450 #define wxBitmap_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
1451 static PyObject
*_wrap_wxBitmap_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1452 PyObject
* _resultobj
;
1455 PyObject
* _argo0
= 0;
1456 char *_kwnames
[] = { "self","depth", NULL
};
1459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetDepth",_kwnames
,&_argo0
,&_arg1
))
1462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetDepth. Expected _wxBitmap_p.");
1469 wxPy_BEGIN_ALLOW_THREADS
;
1470 wxBitmap_SetDepth(_arg0
,_arg1
);
1472 wxPy_END_ALLOW_THREADS
;
1473 } Py_INCREF(Py_None
);
1474 _resultobj
= Py_None
;
1478 #define wxBitmap_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1479 static PyObject
*_wrap_wxBitmap_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1480 PyObject
* _resultobj
;
1483 PyObject
* _argo0
= 0;
1484 char *_kwnames
[] = { "self","height", NULL
};
1487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetHeight",_kwnames
,&_argo0
,&_arg1
))
1490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetHeight. Expected _wxBitmap_p.");
1497 wxPy_BEGIN_ALLOW_THREADS
;
1498 wxBitmap_SetHeight(_arg0
,_arg1
);
1500 wxPy_END_ALLOW_THREADS
;
1501 } Py_INCREF(Py_None
);
1502 _resultobj
= Py_None
;
1506 #define wxBitmap_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
1507 static PyObject
*_wrap_wxBitmap_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1508 PyObject
* _resultobj
;
1511 PyObject
* _argo0
= 0;
1512 PyObject
* _argo1
= 0;
1513 char *_kwnames
[] = { "self","mask", NULL
};
1516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_SetMask",_kwnames
,&_argo0
,&_argo1
))
1519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetMask. Expected _wxBitmap_p.");
1526 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1527 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMask_p")) {
1528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_SetMask. Expected _wxMask_p.");
1533 wxPy_BEGIN_ALLOW_THREADS
;
1534 wxBitmap_SetMask(_arg0
,_arg1
);
1536 wxPy_END_ALLOW_THREADS
;
1537 } Py_INCREF(Py_None
);
1538 _resultobj
= Py_None
;
1542 #define wxBitmap_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
1543 static PyObject
*_wrap_wxBitmap_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1544 PyObject
* _resultobj
;
1547 PyObject
* _argo0
= 0;
1548 PyObject
* _argo1
= 0;
1549 char *_kwnames
[] = { "self","palette", NULL
};
1552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_SetPalette",_kwnames
,&_argo0
,&_argo1
))
1555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetPalette. Expected _wxBitmap_p.");
1562 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1563 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPalette_p")) {
1564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_SetPalette. Expected _wxPalette_p.");
1569 wxPy_BEGIN_ALLOW_THREADS
;
1570 wxBitmap_SetPalette(_arg0
,*_arg1
);
1572 wxPy_END_ALLOW_THREADS
;
1573 } Py_INCREF(Py_None
);
1574 _resultobj
= Py_None
;
1578 #define wxBitmap_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1579 static PyObject
*_wrap_wxBitmap_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1580 PyObject
* _resultobj
;
1583 PyObject
* _argo0
= 0;
1584 char *_kwnames
[] = { "self","width", NULL
};
1587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetWidth",_kwnames
,&_argo0
,&_arg1
))
1590 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1591 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetWidth. Expected _wxBitmap_p.");
1597 wxPy_BEGIN_ALLOW_THREADS
;
1598 wxBitmap_SetWidth(_arg0
,_arg1
);
1600 wxPy_END_ALLOW_THREADS
;
1601 } Py_INCREF(Py_None
);
1602 _resultobj
= Py_None
;
1606 #define new_wxMask(_swigarg0) (new wxMask(_swigarg0))
1607 static PyObject
*_wrap_new_wxMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1608 PyObject
* _resultobj
;
1611 PyObject
* _argo0
= 0;
1612 char *_kwnames
[] = { "bitmap", NULL
};
1616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxMask",_kwnames
,&_argo0
))
1619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMask. Expected _wxBitmap_p.");
1626 wxPy_BEGIN_ALLOW_THREADS
;
1627 _result
= (wxMask
*)new_wxMask(*_arg0
);
1629 wxPy_END_ALLOW_THREADS
;
1631 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
1632 _resultobj
= Py_BuildValue("s",_ptemp
);
1635 _resultobj
= Py_None
;
1640 #define delete_wxMask(_swigobj) (delete _swigobj)
1641 static PyObject
*_wrap_delete_wxMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1642 PyObject
* _resultobj
;
1644 PyObject
* _argo0
= 0;
1645 char *_kwnames
[] = { "self", NULL
};
1648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMask",_kwnames
,&_argo0
))
1651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMask_p")) {
1653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMask. Expected _wxMask_p.");
1658 wxPy_BEGIN_ALLOW_THREADS
;
1659 delete_wxMask(_arg0
);
1661 wxPy_END_ALLOW_THREADS
;
1662 } Py_INCREF(Py_None
);
1663 _resultobj
= Py_None
;
1667 static void *SwigwxIconTowxBitmap(void *ptr
) {
1670 src
= (wxIcon
*) ptr
;
1671 dest
= (wxBitmap
*) src
;
1672 return (void *) dest
;
1675 #define new_wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1676 static PyObject
*_wrap_new_wxIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1677 PyObject
* _resultobj
;
1681 int _arg2
= (int ) -1;
1682 int _arg3
= (int ) -1;
1683 PyObject
* _obj0
= 0;
1684 char *_kwnames
[] = { "name","flags","desiredWidth","desiredHeight", NULL
};
1688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:new_wxIcon",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
))
1691 if (!PyString_Check(_obj0
)) {
1692 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1695 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
1698 wxPy_BEGIN_ALLOW_THREADS
;
1699 _result
= (wxIcon
*)new_wxIcon(*_arg0
,_arg1
,_arg2
,_arg3
);
1701 wxPy_END_ALLOW_THREADS
;
1703 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
1704 _resultobj
= Py_BuildValue("s",_ptemp
);
1707 _resultobj
= Py_None
;
1716 #define delete_wxIcon(_swigobj) (delete _swigobj)
1717 static PyObject
*_wrap_delete_wxIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1718 PyObject
* _resultobj
;
1720 PyObject
* _argo0
= 0;
1721 char *_kwnames
[] = { "self", NULL
};
1724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxIcon",_kwnames
,&_argo0
))
1727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxIcon. Expected _wxIcon_p.");
1734 wxPy_BEGIN_ALLOW_THREADS
;
1735 delete_wxIcon(_arg0
);
1737 wxPy_END_ALLOW_THREADS
;
1738 } Py_INCREF(Py_None
);
1739 _resultobj
= Py_None
;
1743 #define wxIcon_GetDepth(_swigobj) (_swigobj->GetDepth())
1744 static PyObject
*_wrap_wxIcon_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1745 PyObject
* _resultobj
;
1748 PyObject
* _argo0
= 0;
1749 char *_kwnames
[] = { "self", NULL
};
1752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetDepth",_kwnames
,&_argo0
))
1755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetDepth. Expected _wxIcon_p.");
1762 wxPy_BEGIN_ALLOW_THREADS
;
1763 _result
= (int )wxIcon_GetDepth(_arg0
);
1765 wxPy_END_ALLOW_THREADS
;
1766 } _resultobj
= Py_BuildValue("i",_result
);
1770 #define wxIcon_GetHeight(_swigobj) (_swigobj->GetHeight())
1771 static PyObject
*_wrap_wxIcon_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1772 PyObject
* _resultobj
;
1775 PyObject
* _argo0
= 0;
1776 char *_kwnames
[] = { "self", NULL
};
1779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetHeight",_kwnames
,&_argo0
))
1782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetHeight. Expected _wxIcon_p.");
1789 wxPy_BEGIN_ALLOW_THREADS
;
1790 _result
= (int )wxIcon_GetHeight(_arg0
);
1792 wxPy_END_ALLOW_THREADS
;
1793 } _resultobj
= Py_BuildValue("i",_result
);
1797 #define wxIcon_GetWidth(_swigobj) (_swigobj->GetWidth())
1798 static PyObject
*_wrap_wxIcon_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1799 PyObject
* _resultobj
;
1802 PyObject
* _argo0
= 0;
1803 char *_kwnames
[] = { "self", NULL
};
1806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetWidth",_kwnames
,&_argo0
))
1809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetWidth. Expected _wxIcon_p.");
1816 wxPy_BEGIN_ALLOW_THREADS
;
1817 _result
= (int )wxIcon_GetWidth(_arg0
);
1819 wxPy_END_ALLOW_THREADS
;
1820 } _resultobj
= Py_BuildValue("i",_result
);
1824 #define wxIcon_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1825 static PyObject
*_wrap_wxIcon_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1826 PyObject
* _resultobj
;
1831 PyObject
* _argo0
= 0;
1832 PyObject
* _obj1
= 0;
1833 char *_kwnames
[] = { "self","name","flags", NULL
};
1836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOl:wxIcon_LoadFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
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_LoadFile. Expected _wxIcon_p.");
1846 if (!PyString_Check(_obj1
)) {
1847 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1850 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1853 wxPy_BEGIN_ALLOW_THREADS
;
1854 _result
= (bool )wxIcon_LoadFile(_arg0
,*_arg1
,_arg2
);
1856 wxPy_END_ALLOW_THREADS
;
1857 } _resultobj
= Py_BuildValue("i",_result
);
1865 #define wxIcon_Ok(_swigobj) (_swigobj->Ok())
1866 static PyObject
*_wrap_wxIcon_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1867 PyObject
* _resultobj
;
1870 PyObject
* _argo0
= 0;
1871 char *_kwnames
[] = { "self", NULL
};
1874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_Ok",_kwnames
,&_argo0
))
1877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_Ok. Expected _wxIcon_p.");
1884 wxPy_BEGIN_ALLOW_THREADS
;
1885 _result
= (bool )wxIcon_Ok(_arg0
);
1887 wxPy_END_ALLOW_THREADS
;
1888 } _resultobj
= Py_BuildValue("i",_result
);
1892 #define wxIcon_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
1893 static PyObject
*_wrap_wxIcon_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1894 PyObject
* _resultobj
;
1897 PyObject
* _argo0
= 0;
1898 char *_kwnames
[] = { "self","depth", NULL
};
1901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetDepth",_kwnames
,&_argo0
,&_arg1
))
1904 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1905 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetDepth. Expected _wxIcon_p.");
1911 wxPy_BEGIN_ALLOW_THREADS
;
1912 wxIcon_SetDepth(_arg0
,_arg1
);
1914 wxPy_END_ALLOW_THREADS
;
1915 } Py_INCREF(Py_None
);
1916 _resultobj
= Py_None
;
1920 #define wxIcon_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1921 static PyObject
*_wrap_wxIcon_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1922 PyObject
* _resultobj
;
1925 PyObject
* _argo0
= 0;
1926 char *_kwnames
[] = { "self","height", NULL
};
1929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetHeight",_kwnames
,&_argo0
,&_arg1
))
1932 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1933 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetHeight. Expected _wxIcon_p.");
1939 wxPy_BEGIN_ALLOW_THREADS
;
1940 wxIcon_SetHeight(_arg0
,_arg1
);
1942 wxPy_END_ALLOW_THREADS
;
1943 } Py_INCREF(Py_None
);
1944 _resultobj
= Py_None
;
1948 #define wxIcon_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1949 static PyObject
*_wrap_wxIcon_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1950 PyObject
* _resultobj
;
1953 PyObject
* _argo0
= 0;
1954 char *_kwnames
[] = { "self","width", NULL
};
1957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetWidth",_kwnames
,&_argo0
,&_arg1
))
1960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetWidth. Expected _wxIcon_p.");
1967 wxPy_BEGIN_ALLOW_THREADS
;
1968 wxIcon_SetWidth(_arg0
,_arg1
);
1970 wxPy_END_ALLOW_THREADS
;
1971 } Py_INCREF(Py_None
);
1972 _resultobj
= Py_None
;
1976 static void *SwigwxCursorTowxBitmap(void *ptr
) {
1979 src
= (wxCursor
*) ptr
;
1980 dest
= (wxBitmap
*) src
;
1981 return (void *) dest
;
1984 #define new_wxCursor(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxCursor(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1985 static PyObject
*_wrap_new_wxCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1986 PyObject
* _resultobj
;
1990 int _arg2
= (int ) 0;
1991 int _arg3
= (int ) 0;
1992 PyObject
* _obj0
= 0;
1993 char *_kwnames
[] = { "cursorName","flags","hotSpotX","hotSpotY", NULL
};
1997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:new_wxCursor",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
))
2000 if (!PyString_Check(_obj0
)) {
2001 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2004 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
2007 wxPy_BEGIN_ALLOW_THREADS
;
2008 _result
= (wxCursor
*)new_wxCursor(*_arg0
,_arg1
,_arg2
,_arg3
);
2010 wxPy_END_ALLOW_THREADS
;
2012 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCursor_p");
2013 _resultobj
= Py_BuildValue("s",_ptemp
);
2016 _resultobj
= Py_None
;
2025 #define delete_wxCursor(_swigobj) (delete _swigobj)
2026 static PyObject
*_wrap_delete_wxCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2027 PyObject
* _resultobj
;
2029 PyObject
* _argo0
= 0;
2030 char *_kwnames
[] = { "self", NULL
};
2033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCursor",_kwnames
,&_argo0
))
2036 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2037 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCursor. Expected _wxCursor_p.");
2043 wxPy_BEGIN_ALLOW_THREADS
;
2044 delete_wxCursor(_arg0
);
2046 wxPy_END_ALLOW_THREADS
;
2047 } Py_INCREF(Py_None
);
2048 _resultobj
= Py_None
;
2052 #define wxCursor_Ok(_swigobj) (_swigobj->Ok())
2053 static PyObject
*_wrap_wxCursor_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2054 PyObject
* _resultobj
;
2057 PyObject
* _argo0
= 0;
2058 char *_kwnames
[] = { "self", NULL
};
2061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCursor_Ok",_kwnames
,&_argo0
))
2064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_Ok. Expected _wxCursor_p.");
2071 wxPy_BEGIN_ALLOW_THREADS
;
2072 _result
= (bool )wxCursor_Ok(_arg0
);
2074 wxPy_END_ALLOW_THREADS
;
2075 } _resultobj
= Py_BuildValue("i",_result
);
2079 static wxFont
*new_wxFont(int pointSize
,int family
,int style
,int weight
,int underline
,char *faceName
,wxFontEncoding encoding
) {
2081 return wxTheFontList
->FindOrCreateFont(pointSize
, family
, style
, weight
,
2082 underline
, faceName
);
2085 static PyObject
*_wrap_new_wxFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2086 PyObject
* _resultobj
;
2092 int _arg4
= (int ) FALSE
;
2093 char * _arg5
= (char *) "";
2094 wxFontEncoding _arg6
= (wxFontEncoding
) (wxFONTENCODING_DEFAULT
);
2095 char *_kwnames
[] = { "pointSize","family","style","weight","underline","faceName","encoding", NULL
};
2099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiii|isi:new_wxFont",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
2102 wxPy_BEGIN_ALLOW_THREADS
;
2103 _result
= (wxFont
*)new_wxFont(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2105 wxPy_END_ALLOW_THREADS
;
2107 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
2108 _resultobj
= Py_BuildValue("s",_ptemp
);
2111 _resultobj
= Py_None
;
2116 #define wxFont_GetFaceName(_swigobj) (_swigobj->GetFaceName())
2117 static PyObject
*_wrap_wxFont_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2118 PyObject
* _resultobj
;
2121 PyObject
* _argo0
= 0;
2122 char *_kwnames
[] = { "self", NULL
};
2125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFaceName",_kwnames
,&_argo0
))
2128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFaceName. Expected _wxFont_p.");
2135 wxPy_BEGIN_ALLOW_THREADS
;
2136 _result
= new wxString (wxFont_GetFaceName(_arg0
));
2138 wxPy_END_ALLOW_THREADS
;
2140 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
2148 #define wxFont_GetFamily(_swigobj) (_swigobj->GetFamily())
2149 static PyObject
*_wrap_wxFont_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2150 PyObject
* _resultobj
;
2153 PyObject
* _argo0
= 0;
2154 char *_kwnames
[] = { "self", NULL
};
2157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFamily",_kwnames
,&_argo0
))
2160 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2161 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFamily. Expected _wxFont_p.");
2167 wxPy_BEGIN_ALLOW_THREADS
;
2168 _result
= (int )wxFont_GetFamily(_arg0
);
2170 wxPy_END_ALLOW_THREADS
;
2171 } _resultobj
= Py_BuildValue("i",_result
);
2175 #define wxFont_GetFontId(_swigobj) (_swigobj->GetFontId())
2176 static PyObject
*_wrap_wxFont_GetFontId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2177 PyObject
* _resultobj
;
2180 PyObject
* _argo0
= 0;
2181 char *_kwnames
[] = { "self", NULL
};
2184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFontId",_kwnames
,&_argo0
))
2187 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2188 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFontId. Expected _wxFont_p.");
2194 wxPy_BEGIN_ALLOW_THREADS
;
2195 _result
= (int )wxFont_GetFontId(_arg0
);
2197 wxPy_END_ALLOW_THREADS
;
2198 } _resultobj
= Py_BuildValue("i",_result
);
2202 #define wxFont_GetPointSize(_swigobj) (_swigobj->GetPointSize())
2203 static PyObject
*_wrap_wxFont_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2204 PyObject
* _resultobj
;
2207 PyObject
* _argo0
= 0;
2208 char *_kwnames
[] = { "self", NULL
};
2211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetPointSize",_kwnames
,&_argo0
))
2214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetPointSize. Expected _wxFont_p.");
2221 wxPy_BEGIN_ALLOW_THREADS
;
2222 _result
= (int )wxFont_GetPointSize(_arg0
);
2224 wxPy_END_ALLOW_THREADS
;
2225 } _resultobj
= Py_BuildValue("i",_result
);
2229 #define wxFont_GetStyle(_swigobj) (_swigobj->GetStyle())
2230 static PyObject
*_wrap_wxFont_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2231 PyObject
* _resultobj
;
2234 PyObject
* _argo0
= 0;
2235 char *_kwnames
[] = { "self", NULL
};
2238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetStyle",_kwnames
,&_argo0
))
2241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetStyle. Expected _wxFont_p.");
2248 wxPy_BEGIN_ALLOW_THREADS
;
2249 _result
= (int )wxFont_GetStyle(_arg0
);
2251 wxPy_END_ALLOW_THREADS
;
2252 } _resultobj
= Py_BuildValue("i",_result
);
2256 #define wxFont_GetUnderlined(_swigobj) (_swigobj->GetUnderlined())
2257 static PyObject
*_wrap_wxFont_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2258 PyObject
* _resultobj
;
2261 PyObject
* _argo0
= 0;
2262 char *_kwnames
[] = { "self", NULL
};
2265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetUnderlined",_kwnames
,&_argo0
))
2268 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2269 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetUnderlined. Expected _wxFont_p.");
2275 wxPy_BEGIN_ALLOW_THREADS
;
2276 _result
= (bool )wxFont_GetUnderlined(_arg0
);
2278 wxPy_END_ALLOW_THREADS
;
2279 } _resultobj
= Py_BuildValue("i",_result
);
2283 #define wxFont_GetWeight(_swigobj) (_swigobj->GetWeight())
2284 static PyObject
*_wrap_wxFont_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2285 PyObject
* _resultobj
;
2288 PyObject
* _argo0
= 0;
2289 char *_kwnames
[] = { "self", NULL
};
2292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetWeight",_kwnames
,&_argo0
))
2295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetWeight. Expected _wxFont_p.");
2302 wxPy_BEGIN_ALLOW_THREADS
;
2303 _result
= (int )wxFont_GetWeight(_arg0
);
2305 wxPy_END_ALLOW_THREADS
;
2306 } _resultobj
= Py_BuildValue("i",_result
);
2310 #define wxFont_GetEncoding(_swigobj) (_swigobj->GetEncoding())
2311 static PyObject
*_wrap_wxFont_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2312 PyObject
* _resultobj
;
2313 wxFontEncoding _result
;
2315 PyObject
* _argo0
= 0;
2316 char *_kwnames
[] = { "self", NULL
};
2319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetEncoding",_kwnames
,&_argo0
))
2322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetEncoding. Expected _wxFont_p.");
2329 wxPy_BEGIN_ALLOW_THREADS
;
2330 _result
= (wxFontEncoding
)wxFont_GetEncoding(_arg0
);
2332 wxPy_END_ALLOW_THREADS
;
2333 } _resultobj
= Py_BuildValue("i",_result
);
2337 #define wxFont_SetFaceName(_swigobj,_swigarg0) (_swigobj->SetFaceName(_swigarg0))
2338 static PyObject
*_wrap_wxFont_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2339 PyObject
* _resultobj
;
2342 PyObject
* _argo0
= 0;
2343 PyObject
* _obj1
= 0;
2344 char *_kwnames
[] = { "self","faceName", NULL
};
2347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFont_SetFaceName",_kwnames
,&_argo0
,&_obj1
))
2350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFaceName. Expected _wxFont_p.");
2357 if (!PyString_Check(_obj1
)) {
2358 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2361 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2364 wxPy_BEGIN_ALLOW_THREADS
;
2365 wxFont_SetFaceName(_arg0
,*_arg1
);
2367 wxPy_END_ALLOW_THREADS
;
2368 } Py_INCREF(Py_None
);
2369 _resultobj
= Py_None
;
2377 #define wxFont_SetFamily(_swigobj,_swigarg0) (_swigobj->SetFamily(_swigarg0))
2378 static PyObject
*_wrap_wxFont_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2379 PyObject
* _resultobj
;
2382 PyObject
* _argo0
= 0;
2383 char *_kwnames
[] = { "self","family", NULL
};
2386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetFamily",_kwnames
,&_argo0
,&_arg1
))
2389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFamily. Expected _wxFont_p.");
2396 wxPy_BEGIN_ALLOW_THREADS
;
2397 wxFont_SetFamily(_arg0
,_arg1
);
2399 wxPy_END_ALLOW_THREADS
;
2400 } Py_INCREF(Py_None
);
2401 _resultobj
= Py_None
;
2405 #define wxFont_SetPointSize(_swigobj,_swigarg0) (_swigobj->SetPointSize(_swigarg0))
2406 static PyObject
*_wrap_wxFont_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2407 PyObject
* _resultobj
;
2410 PyObject
* _argo0
= 0;
2411 char *_kwnames
[] = { "self","pointSize", NULL
};
2414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetPointSize",_kwnames
,&_argo0
,&_arg1
))
2417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetPointSize. Expected _wxFont_p.");
2424 wxPy_BEGIN_ALLOW_THREADS
;
2425 wxFont_SetPointSize(_arg0
,_arg1
);
2427 wxPy_END_ALLOW_THREADS
;
2428 } Py_INCREF(Py_None
);
2429 _resultobj
= Py_None
;
2433 #define wxFont_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
2434 static PyObject
*_wrap_wxFont_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2435 PyObject
* _resultobj
;
2438 PyObject
* _argo0
= 0;
2439 char *_kwnames
[] = { "self","style", NULL
};
2442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetStyle",_kwnames
,&_argo0
,&_arg1
))
2445 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2446 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetStyle. Expected _wxFont_p.");
2452 wxPy_BEGIN_ALLOW_THREADS
;
2453 wxFont_SetStyle(_arg0
,_arg1
);
2455 wxPy_END_ALLOW_THREADS
;
2456 } Py_INCREF(Py_None
);
2457 _resultobj
= Py_None
;
2461 #define wxFont_SetUnderlined(_swigobj,_swigarg0) (_swigobj->SetUnderlined(_swigarg0))
2462 static PyObject
*_wrap_wxFont_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2463 PyObject
* _resultobj
;
2466 PyObject
* _argo0
= 0;
2468 char *_kwnames
[] = { "self","underlined", NULL
};
2471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetUnderlined",_kwnames
,&_argo0
,&tempbool1
))
2474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetUnderlined. Expected _wxFont_p.");
2480 _arg1
= (bool ) tempbool1
;
2482 wxPy_BEGIN_ALLOW_THREADS
;
2483 wxFont_SetUnderlined(_arg0
,_arg1
);
2485 wxPy_END_ALLOW_THREADS
;
2486 } Py_INCREF(Py_None
);
2487 _resultobj
= Py_None
;
2491 #define wxFont_SetWeight(_swigobj,_swigarg0) (_swigobj->SetWeight(_swigarg0))
2492 static PyObject
*_wrap_wxFont_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2493 PyObject
* _resultobj
;
2496 PyObject
* _argo0
= 0;
2497 char *_kwnames
[] = { "self","weight", NULL
};
2500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetWeight",_kwnames
,&_argo0
,&_arg1
))
2503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetWeight. Expected _wxFont_p.");
2510 wxPy_BEGIN_ALLOW_THREADS
;
2511 wxFont_SetWeight(_arg0
,_arg1
);
2513 wxPy_END_ALLOW_THREADS
;
2514 } Py_INCREF(Py_None
);
2515 _resultobj
= Py_None
;
2519 #define wxFont_SetEncoding(_swigobj,_swigarg0) (_swigobj->SetEncoding(_swigarg0))
2520 static PyObject
*_wrap_wxFont_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2521 PyObject
* _resultobj
;
2523 wxFontEncoding _arg1
;
2524 PyObject
* _argo0
= 0;
2525 char *_kwnames
[] = { "self","encoding", NULL
};
2528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetEncoding",_kwnames
,&_argo0
,&_arg1
))
2531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetEncoding. Expected _wxFont_p.");
2538 wxPy_BEGIN_ALLOW_THREADS
;
2539 wxFont_SetEncoding(_arg0
,_arg1
);
2541 wxPy_END_ALLOW_THREADS
;
2542 } Py_INCREF(Py_None
);
2543 _resultobj
= Py_None
;
2547 #define wxFont_GetFamilyString(_swigobj) (_swigobj->GetFamilyString())
2548 static PyObject
*_wrap_wxFont_GetFamilyString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2549 PyObject
* _resultobj
;
2552 PyObject
* _argo0
= 0;
2553 char *_kwnames
[] = { "self", NULL
};
2556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFamilyString",_kwnames
,&_argo0
))
2559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFamilyString. Expected _wxFont_p.");
2566 wxPy_BEGIN_ALLOW_THREADS
;
2567 _result
= new wxString (wxFont_GetFamilyString(_arg0
));
2569 wxPy_END_ALLOW_THREADS
;
2571 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
2579 #define wxFont_GetStyleString(_swigobj) (_swigobj->GetStyleString())
2580 static PyObject
*_wrap_wxFont_GetStyleString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2581 PyObject
* _resultobj
;
2584 PyObject
* _argo0
= 0;
2585 char *_kwnames
[] = { "self", NULL
};
2588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetStyleString",_kwnames
,&_argo0
))
2591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetStyleString. Expected _wxFont_p.");
2598 wxPy_BEGIN_ALLOW_THREADS
;
2599 _result
= new wxString (wxFont_GetStyleString(_arg0
));
2601 wxPy_END_ALLOW_THREADS
;
2603 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
2611 #define wxFont_GetWeightString(_swigobj) (_swigobj->GetWeightString())
2612 static PyObject
*_wrap_wxFont_GetWeightString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2613 PyObject
* _resultobj
;
2616 PyObject
* _argo0
= 0;
2617 char *_kwnames
[] = { "self", NULL
};
2620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetWeightString",_kwnames
,&_argo0
))
2623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetWeightString. Expected _wxFont_p.");
2630 wxPy_BEGIN_ALLOW_THREADS
;
2631 _result
= new wxString (wxFont_GetWeightString(_arg0
));
2633 wxPy_END_ALLOW_THREADS
;
2635 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
2643 #define new_wxColour(_swigarg0,_swigarg1,_swigarg2) (new wxColour(_swigarg0,_swigarg1,_swigarg2))
2644 static PyObject
*_wrap_new_wxColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2645 PyObject
* _resultobj
;
2647 unsigned char _arg0
= (unsigned char ) 0;
2648 unsigned char _arg1
= (unsigned char ) 0;
2649 unsigned char _arg2
= (unsigned char ) 0;
2650 char *_kwnames
[] = { "red","green","blue", NULL
};
2654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|bbb:new_wxColour",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
2657 wxPy_BEGIN_ALLOW_THREADS
;
2658 _result
= (wxColour
*)new_wxColour(_arg0
,_arg1
,_arg2
);
2660 wxPy_END_ALLOW_THREADS
;
2662 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
2663 _resultobj
= Py_BuildValue("s",_ptemp
);
2666 _resultobj
= Py_None
;
2671 #define delete_wxColour(_swigobj) (delete _swigobj)
2672 static PyObject
*_wrap_delete_wxColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2673 PyObject
* _resultobj
;
2675 PyObject
* _argo0
= 0;
2676 char *_kwnames
[] = { "self", NULL
};
2679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxColour",_kwnames
,&_argo0
))
2682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
2684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxColour. Expected _wxColour_p.");
2689 wxPy_BEGIN_ALLOW_THREADS
;
2690 delete_wxColour(_arg0
);
2692 wxPy_END_ALLOW_THREADS
;
2693 } Py_INCREF(Py_None
);
2694 _resultobj
= Py_None
;
2698 #define wxColour_Red(_swigobj) (_swigobj->Red())
2699 static PyObject
*_wrap_wxColour_Red(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2700 PyObject
* _resultobj
;
2701 unsigned char _result
;
2703 PyObject
* _argo0
= 0;
2704 char *_kwnames
[] = { "self", NULL
};
2707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Red",_kwnames
,&_argo0
))
2710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
2712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Red. Expected _wxColour_p.");
2717 wxPy_BEGIN_ALLOW_THREADS
;
2718 _result
= (unsigned char )wxColour_Red(_arg0
);
2720 wxPy_END_ALLOW_THREADS
;
2721 } _resultobj
= Py_BuildValue("b",_result
);
2725 #define wxColour_Green(_swigobj) (_swigobj->Green())
2726 static PyObject
*_wrap_wxColour_Green(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2727 PyObject
* _resultobj
;
2728 unsigned char _result
;
2730 PyObject
* _argo0
= 0;
2731 char *_kwnames
[] = { "self", NULL
};
2734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Green",_kwnames
,&_argo0
))
2737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
2739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Green. Expected _wxColour_p.");
2744 wxPy_BEGIN_ALLOW_THREADS
;
2745 _result
= (unsigned char )wxColour_Green(_arg0
);
2747 wxPy_END_ALLOW_THREADS
;
2748 } _resultobj
= Py_BuildValue("b",_result
);
2752 #define wxColour_Blue(_swigobj) (_swigobj->Blue())
2753 static PyObject
*_wrap_wxColour_Blue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2754 PyObject
* _resultobj
;
2755 unsigned char _result
;
2757 PyObject
* _argo0
= 0;
2758 char *_kwnames
[] = { "self", NULL
};
2761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Blue",_kwnames
,&_argo0
))
2764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
2766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Blue. Expected _wxColour_p.");
2771 wxPy_BEGIN_ALLOW_THREADS
;
2772 _result
= (unsigned char )wxColour_Blue(_arg0
);
2774 wxPy_END_ALLOW_THREADS
;
2775 } _resultobj
= Py_BuildValue("b",_result
);
2779 #define wxColour_Ok(_swigobj) (_swigobj->Ok())
2780 static PyObject
*_wrap_wxColour_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2781 PyObject
* _resultobj
;
2784 PyObject
* _argo0
= 0;
2785 char *_kwnames
[] = { "self", NULL
};
2788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Ok",_kwnames
,&_argo0
))
2791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
2793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Ok. Expected _wxColour_p.");
2798 wxPy_BEGIN_ALLOW_THREADS
;
2799 _result
= (bool )wxColour_Ok(_arg0
);
2801 wxPy_END_ALLOW_THREADS
;
2802 } _resultobj
= Py_BuildValue("i",_result
);
2806 #define wxColour_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
2807 static PyObject
*_wrap_wxColour_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2808 PyObject
* _resultobj
;
2810 unsigned char _arg1
;
2811 unsigned char _arg2
;
2812 unsigned char _arg3
;
2813 PyObject
* _argo0
= 0;
2814 char *_kwnames
[] = { "self","red","green","blue", NULL
};
2817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Obbb:wxColour_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
2822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Set. Expected _wxColour_p.");
2827 wxPy_BEGIN_ALLOW_THREADS
;
2828 wxColour_Set(_arg0
,_arg1
,_arg2
,_arg3
);
2830 wxPy_END_ALLOW_THREADS
;
2831 } Py_INCREF(Py_None
);
2832 _resultobj
= Py_None
;
2836 static PyObject
* wxColour_Get(wxColour
*self
) {
2837 PyObject
* rv
= PyTuple_New(3);
2838 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
2839 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
2840 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
2843 static PyObject
*_wrap_wxColour_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2844 PyObject
* _resultobj
;
2847 PyObject
* _argo0
= 0;
2848 char *_kwnames
[] = { "self", NULL
};
2851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Get",_kwnames
,&_argo0
))
2854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
2856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Get. Expected _wxColour_p.");
2861 wxPy_BEGIN_ALLOW_THREADS
;
2862 _result
= (PyObject
*)wxColour_Get(_arg0
);
2864 wxPy_END_ALLOW_THREADS
;
2866 _resultobj
= _result
;
2871 static wxPen
*new_wxPen(wxColour
*colour
,int width
,int style
) {
2872 return wxThePenList
->FindOrCreatePen(*colour
, width
, style
);
2875 static PyObject
*_wrap_new_wxPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2876 PyObject
* _resultobj
;
2879 int _arg1
= (int ) 1;
2880 int _arg2
= (int ) wxSOLID
;
2881 PyObject
* _argo0
= 0;
2882 char *_kwnames
[] = { "colour","width","style", NULL
};
2886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:new_wxPen",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2889 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2890 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
2891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPen. Expected _wxColour_p.");
2896 wxPy_BEGIN_ALLOW_THREADS
;
2897 _result
= (wxPen
*)new_wxPen(_arg0
,_arg1
,_arg2
);
2899 wxPy_END_ALLOW_THREADS
;
2901 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
2902 _resultobj
= Py_BuildValue("s",_ptemp
);
2905 _resultobj
= Py_None
;
2910 #define wxPen_GetCap(_swigobj) (_swigobj->GetCap())
2911 static PyObject
*_wrap_wxPen_GetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2912 PyObject
* _resultobj
;
2915 PyObject
* _argo0
= 0;
2916 char *_kwnames
[] = { "self", NULL
};
2919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetCap",_kwnames
,&_argo0
))
2922 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2923 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetCap. Expected _wxPen_p.");
2929 wxPy_BEGIN_ALLOW_THREADS
;
2930 _result
= (int )wxPen_GetCap(_arg0
);
2932 wxPy_END_ALLOW_THREADS
;
2933 } _resultobj
= Py_BuildValue("i",_result
);
2937 #define wxPen_GetColour(_swigobj) (_swigobj->GetColour())
2938 static PyObject
*_wrap_wxPen_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2939 PyObject
* _resultobj
;
2942 PyObject
* _argo0
= 0;
2943 char *_kwnames
[] = { "self", NULL
};
2947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetColour",_kwnames
,&_argo0
))
2950 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2951 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetColour. Expected _wxPen_p.");
2957 wxPy_BEGIN_ALLOW_THREADS
;
2958 wxColour
& _result_ref
= wxPen_GetColour(_arg0
);
2959 _result
= (wxColour
*) &_result_ref
;
2961 wxPy_END_ALLOW_THREADS
;
2963 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
2964 _resultobj
= Py_BuildValue("s",_ptemp
);
2967 _resultobj
= Py_None
;
2972 #define wxPen_GetJoin(_swigobj) (_swigobj->GetJoin())
2973 static PyObject
*_wrap_wxPen_GetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2974 PyObject
* _resultobj
;
2977 PyObject
* _argo0
= 0;
2978 char *_kwnames
[] = { "self", NULL
};
2981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetJoin",_kwnames
,&_argo0
))
2984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetJoin. Expected _wxPen_p.");
2991 wxPy_BEGIN_ALLOW_THREADS
;
2992 _result
= (int )wxPen_GetJoin(_arg0
);
2994 wxPy_END_ALLOW_THREADS
;
2995 } _resultobj
= Py_BuildValue("i",_result
);
2999 #define wxPen_GetStyle(_swigobj) (_swigobj->GetStyle())
3000 static PyObject
*_wrap_wxPen_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3001 PyObject
* _resultobj
;
3004 PyObject
* _argo0
= 0;
3005 char *_kwnames
[] = { "self", NULL
};
3008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetStyle",_kwnames
,&_argo0
))
3011 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3012 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetStyle. Expected _wxPen_p.");
3018 wxPy_BEGIN_ALLOW_THREADS
;
3019 _result
= (int )wxPen_GetStyle(_arg0
);
3021 wxPy_END_ALLOW_THREADS
;
3022 } _resultobj
= Py_BuildValue("i",_result
);
3026 #define wxPen_GetWidth(_swigobj) (_swigobj->GetWidth())
3027 static PyObject
*_wrap_wxPen_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3028 PyObject
* _resultobj
;
3031 PyObject
* _argo0
= 0;
3032 char *_kwnames
[] = { "self", NULL
};
3035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetWidth",_kwnames
,&_argo0
))
3038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetWidth. Expected _wxPen_p.");
3045 wxPy_BEGIN_ALLOW_THREADS
;
3046 _result
= (int )wxPen_GetWidth(_arg0
);
3048 wxPy_END_ALLOW_THREADS
;
3049 } _resultobj
= Py_BuildValue("i",_result
);
3053 #define wxPen_Ok(_swigobj) (_swigobj->Ok())
3054 static PyObject
*_wrap_wxPen_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3055 PyObject
* _resultobj
;
3058 PyObject
* _argo0
= 0;
3059 char *_kwnames
[] = { "self", NULL
};
3062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_Ok",_kwnames
,&_argo0
))
3065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_Ok. Expected _wxPen_p.");
3072 wxPy_BEGIN_ALLOW_THREADS
;
3073 _result
= (bool )wxPen_Ok(_arg0
);
3075 wxPy_END_ALLOW_THREADS
;
3076 } _resultobj
= Py_BuildValue("i",_result
);
3080 #define wxPen_SetCap(_swigobj,_swigarg0) (_swigobj->SetCap(_swigarg0))
3081 static PyObject
*_wrap_wxPen_SetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3082 PyObject
* _resultobj
;
3085 PyObject
* _argo0
= 0;
3086 char *_kwnames
[] = { "self","cap_style", NULL
};
3089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetCap",_kwnames
,&_argo0
,&_arg1
))
3092 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3093 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetCap. Expected _wxPen_p.");
3099 wxPy_BEGIN_ALLOW_THREADS
;
3100 wxPen_SetCap(_arg0
,_arg1
);
3102 wxPy_END_ALLOW_THREADS
;
3103 } Py_INCREF(Py_None
);
3104 _resultobj
= Py_None
;
3108 #define wxPen_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
3109 static PyObject
*_wrap_wxPen_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3110 PyObject
* _resultobj
;
3113 PyObject
* _argo0
= 0;
3114 PyObject
* _argo1
= 0;
3115 char *_kwnames
[] = { "self","colour", NULL
};
3118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetColour",_kwnames
,&_argo0
,&_argo1
))
3121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetColour. Expected _wxPen_p.");
3128 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3129 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
3130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPen_SetColour. Expected _wxColour_p.");
3135 wxPy_BEGIN_ALLOW_THREADS
;
3136 wxPen_SetColour(_arg0
,*_arg1
);
3138 wxPy_END_ALLOW_THREADS
;
3139 } Py_INCREF(Py_None
);
3140 _resultobj
= Py_None
;
3144 #define wxPen_SetJoin(_swigobj,_swigarg0) (_swigobj->SetJoin(_swigarg0))
3145 static PyObject
*_wrap_wxPen_SetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3146 PyObject
* _resultobj
;
3149 PyObject
* _argo0
= 0;
3150 char *_kwnames
[] = { "self","join_style", NULL
};
3153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetJoin",_kwnames
,&_argo0
,&_arg1
))
3156 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3157 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetJoin. Expected _wxPen_p.");
3163 wxPy_BEGIN_ALLOW_THREADS
;
3164 wxPen_SetJoin(_arg0
,_arg1
);
3166 wxPy_END_ALLOW_THREADS
;
3167 } Py_INCREF(Py_None
);
3168 _resultobj
= Py_None
;
3172 #define wxPen_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
3173 static PyObject
*_wrap_wxPen_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3174 PyObject
* _resultobj
;
3177 PyObject
* _argo0
= 0;
3178 char *_kwnames
[] = { "self","style", NULL
};
3181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetStyle",_kwnames
,&_argo0
,&_arg1
))
3184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetStyle. Expected _wxPen_p.");
3191 wxPy_BEGIN_ALLOW_THREADS
;
3192 wxPen_SetStyle(_arg0
,_arg1
);
3194 wxPy_END_ALLOW_THREADS
;
3195 } Py_INCREF(Py_None
);
3196 _resultobj
= Py_None
;
3200 #define wxPen_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
3201 static PyObject
*_wrap_wxPen_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3202 PyObject
* _resultobj
;
3205 PyObject
* _argo0
= 0;
3206 char *_kwnames
[] = { "self","width", NULL
};
3209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetWidth",_kwnames
,&_argo0
,&_arg1
))
3212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetWidth. Expected _wxPen_p.");
3219 wxPy_BEGIN_ALLOW_THREADS
;
3220 wxPen_SetWidth(_arg0
,_arg1
);
3222 wxPy_END_ALLOW_THREADS
;
3223 } Py_INCREF(Py_None
);
3224 _resultobj
= Py_None
;
3228 #define wxPen_GetDashes(_swigobj,_swigarg0) (_swigobj->GetDashes(_swigarg0))
3229 static PyObject
*_wrap_wxPen_GetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3230 PyObject
* _resultobj
;
3234 PyObject
* _argo0
= 0;
3235 PyObject
* _argo1
= 0;
3236 char *_kwnames
[] = { "self","dashes", NULL
};
3239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_GetDashes",_kwnames
,&_argo0
,&_argo1
))
3242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetDashes. Expected _wxPen_p.");
3249 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3250 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDash_pp")) {
3251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPen_GetDashes. Expected _wxDash_pp.");
3256 wxPy_BEGIN_ALLOW_THREADS
;
3257 _result
= (int )wxPen_GetDashes(_arg0
,_arg1
);
3259 wxPy_END_ALLOW_THREADS
;
3260 } _resultobj
= Py_BuildValue("i",_result
);
3264 #define wxPen_GetStipple(_swigobj) (_swigobj->GetStipple())
3265 static PyObject
*_wrap_wxPen_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3266 PyObject
* _resultobj
;
3269 PyObject
* _argo0
= 0;
3270 char *_kwnames
[] = { "self", NULL
};
3274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetStipple",_kwnames
,&_argo0
))
3277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetStipple. Expected _wxPen_p.");
3284 wxPy_BEGIN_ALLOW_THREADS
;
3285 _result
= (wxBitmap
*)wxPen_GetStipple(_arg0
);
3287 wxPy_END_ALLOW_THREADS
;
3289 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
3290 _resultobj
= Py_BuildValue("s",_ptemp
);
3293 _resultobj
= Py_None
;
3298 #define wxPen_SetDashes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDashes(_swigarg0,_swigarg1))
3299 static PyObject
*_wrap_wxPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3300 PyObject
* _resultobj
;
3304 PyObject
* _argo0
= 0;
3305 PyObject
* _obj2
= 0;
3306 char *_kwnames
[] = { "self","LIST", NULL
};
3309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetDashes",_kwnames
,&_argo0
,&_obj2
))
3312 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3313 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetDashes. Expected _wxPen_p.");
3320 _arg2
= (unsigned long*)long_LIST_helper(_obj2
);
3321 if (_arg2
== NULL
) {
3327 _arg1
= PyList_Size(_obj2
);
3334 wxPy_BEGIN_ALLOW_THREADS
;
3335 wxPen_SetDashes(_arg0
,_arg1
,_arg2
);
3337 wxPy_END_ALLOW_THREADS
;
3338 } Py_INCREF(Py_None
);
3339 _resultobj
= Py_None
;
3346 #define wxPen_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
3347 static PyObject
*_wrap_wxPen_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3348 PyObject
* _resultobj
;
3351 PyObject
* _argo0
= 0;
3352 PyObject
* _argo1
= 0;
3353 char *_kwnames
[] = { "self","stipple", NULL
};
3356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetStipple",_kwnames
,&_argo0
,&_argo1
))
3359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetStipple. Expected _wxPen_p.");
3366 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3367 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
3368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPen_SetStipple. Expected _wxBitmap_p.");
3373 wxPy_BEGIN_ALLOW_THREADS
;
3374 wxPen_SetStipple(_arg0
,*_arg1
);
3376 wxPy_END_ALLOW_THREADS
;
3377 } Py_INCREF(Py_None
);
3378 _resultobj
= Py_None
;
3382 static wxBrush
*new_wxBrush(wxColour
*colour
,int style
) {
3383 return wxTheBrushList
->FindOrCreateBrush(*colour
, style
);
3386 static PyObject
*_wrap_new_wxBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3387 PyObject
* _resultobj
;
3390 int _arg1
= (int ) wxSOLID
;
3391 PyObject
* _argo0
= 0;
3392 char *_kwnames
[] = { "colour","style", NULL
};
3396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxBrush",_kwnames
,&_argo0
,&_arg1
))
3399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
3401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBrush. Expected _wxColour_p.");
3406 wxPy_BEGIN_ALLOW_THREADS
;
3407 _result
= (wxBrush
*)new_wxBrush(_arg0
,_arg1
);
3409 wxPy_END_ALLOW_THREADS
;
3411 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
3412 _resultobj
= Py_BuildValue("s",_ptemp
);
3415 _resultobj
= Py_None
;
3420 #define wxBrush_GetColour(_swigobj) (_swigobj->GetColour())
3421 static PyObject
*_wrap_wxBrush_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3422 PyObject
* _resultobj
;
3425 PyObject
* _argo0
= 0;
3426 char *_kwnames
[] = { "self", NULL
};
3430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetColour",_kwnames
,&_argo0
))
3433 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3434 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetColour. Expected _wxBrush_p.");
3440 wxPy_BEGIN_ALLOW_THREADS
;
3441 wxColour
& _result_ref
= wxBrush_GetColour(_arg0
);
3442 _result
= (wxColour
*) &_result_ref
;
3444 wxPy_END_ALLOW_THREADS
;
3446 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3447 _resultobj
= Py_BuildValue("s",_ptemp
);
3450 _resultobj
= Py_None
;
3455 #define wxBrush_GetStipple(_swigobj) (_swigobj->GetStipple())
3456 static PyObject
*_wrap_wxBrush_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3457 PyObject
* _resultobj
;
3460 PyObject
* _argo0
= 0;
3461 char *_kwnames
[] = { "self", NULL
};
3465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetStipple",_kwnames
,&_argo0
))
3468 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3469 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStipple. Expected _wxBrush_p.");
3475 wxPy_BEGIN_ALLOW_THREADS
;
3476 _result
= (wxBitmap
*)wxBrush_GetStipple(_arg0
);
3478 wxPy_END_ALLOW_THREADS
;
3480 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
3481 _resultobj
= Py_BuildValue("s",_ptemp
);
3484 _resultobj
= Py_None
;
3489 #define wxBrush_GetStyle(_swigobj) (_swigobj->GetStyle())
3490 static PyObject
*_wrap_wxBrush_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3491 PyObject
* _resultobj
;
3494 PyObject
* _argo0
= 0;
3495 char *_kwnames
[] = { "self", NULL
};
3498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetStyle",_kwnames
,&_argo0
))
3501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStyle. Expected _wxBrush_p.");
3508 wxPy_BEGIN_ALLOW_THREADS
;
3509 _result
= (int )wxBrush_GetStyle(_arg0
);
3511 wxPy_END_ALLOW_THREADS
;
3512 } _resultobj
= Py_BuildValue("i",_result
);
3516 #define wxBrush_Ok(_swigobj) (_swigobj->Ok())
3517 static PyObject
*_wrap_wxBrush_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3518 PyObject
* _resultobj
;
3521 PyObject
* _argo0
= 0;
3522 char *_kwnames
[] = { "self", NULL
};
3525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_Ok",_kwnames
,&_argo0
))
3528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_Ok. Expected _wxBrush_p.");
3535 wxPy_BEGIN_ALLOW_THREADS
;
3536 _result
= (bool )wxBrush_Ok(_arg0
);
3538 wxPy_END_ALLOW_THREADS
;
3539 } _resultobj
= Py_BuildValue("i",_result
);
3543 #define wxBrush_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
3544 static PyObject
*_wrap_wxBrush_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3545 PyObject
* _resultobj
;
3548 PyObject
* _argo0
= 0;
3549 PyObject
* _argo1
= 0;
3550 char *_kwnames
[] = { "self","colour", NULL
};
3553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrush_SetColour",_kwnames
,&_argo0
,&_argo1
))
3556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetColour. Expected _wxBrush_p.");
3563 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3564 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
3565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrush_SetColour. Expected _wxColour_p.");
3570 wxPy_BEGIN_ALLOW_THREADS
;
3571 wxBrush_SetColour(_arg0
,*_arg1
);
3573 wxPy_END_ALLOW_THREADS
;
3574 } Py_INCREF(Py_None
);
3575 _resultobj
= Py_None
;
3579 #define wxBrush_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
3580 static PyObject
*_wrap_wxBrush_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3581 PyObject
* _resultobj
;
3584 PyObject
* _argo0
= 0;
3585 PyObject
* _argo1
= 0;
3586 char *_kwnames
[] = { "self","bitmap", NULL
};
3589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrush_SetStipple",_kwnames
,&_argo0
,&_argo1
))
3592 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3593 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStipple. Expected _wxBrush_p.");
3599 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3600 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
3601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrush_SetStipple. Expected _wxBitmap_p.");
3606 wxPy_BEGIN_ALLOW_THREADS
;
3607 wxBrush_SetStipple(_arg0
,*_arg1
);
3609 wxPy_END_ALLOW_THREADS
;
3610 } Py_INCREF(Py_None
);
3611 _resultobj
= Py_None
;
3615 #define wxBrush_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
3616 static PyObject
*_wrap_wxBrush_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3617 PyObject
* _resultobj
;
3620 PyObject
* _argo0
= 0;
3621 char *_kwnames
[] = { "self","style", NULL
};
3624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBrush_SetStyle",_kwnames
,&_argo0
,&_arg1
))
3627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStyle. Expected _wxBrush_p.");
3634 wxPy_BEGIN_ALLOW_THREADS
;
3635 wxBrush_SetStyle(_arg0
,_arg1
);
3637 wxPy_END_ALLOW_THREADS
;
3638 } Py_INCREF(Py_None
);
3639 _resultobj
= Py_None
;
3643 #define delete_wxDC(_swigobj) (delete _swigobj)
3644 static PyObject
*_wrap_delete_wxDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3645 PyObject
* _resultobj
;
3647 PyObject
* _argo0
= 0;
3648 char *_kwnames
[] = { "self", NULL
};
3651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDC",_kwnames
,&_argo0
))
3654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDC. Expected _wxDC_p.");
3661 wxPy_BEGIN_ALLOW_THREADS
;
3664 wxPy_END_ALLOW_THREADS
;
3665 } Py_INCREF(Py_None
);
3666 _resultobj
= Py_None
;
3670 #define wxDC_BeginDrawing(_swigobj) (_swigobj->BeginDrawing())
3671 static PyObject
*_wrap_wxDC_BeginDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3672 PyObject
* _resultobj
;
3674 PyObject
* _argo0
= 0;
3675 char *_kwnames
[] = { "self", NULL
};
3678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_BeginDrawing",_kwnames
,&_argo0
))
3681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_BeginDrawing. Expected _wxDC_p.");
3688 wxPy_BEGIN_ALLOW_THREADS
;
3689 wxDC_BeginDrawing(_arg0
);
3691 wxPy_END_ALLOW_THREADS
;
3692 } Py_INCREF(Py_None
);
3693 _resultobj
= Py_None
;
3697 #define wxDC_Blit(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Blit(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
3698 static PyObject
*_wrap_wxDC_Blit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3699 PyObject
* _resultobj
;
3709 int _arg8
= (int ) wxCOPY
;
3710 int _arg9
= (int ) FALSE
;
3711 PyObject
* _argo0
= 0;
3712 PyObject
* _argo5
= 0;
3713 char *_kwnames
[] = { "self","xdest","ydest","width","height","source","xsrc","ysrc","logicalFunc","useMask", NULL
};
3716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllllOll|ii:wxDC_Blit",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_argo5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
))
3719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Blit. Expected _wxDC_p.");
3726 if (_argo5
== Py_None
) { _arg5
= NULL
; }
3727 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxDC_p")) {
3728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxDC_Blit. Expected _wxDC_p.");
3733 wxPy_BEGIN_ALLOW_THREADS
;
3734 _result
= (bool )wxDC_Blit(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
3736 wxPy_END_ALLOW_THREADS
;
3737 } _resultobj
= Py_BuildValue("i",_result
);
3741 #define wxDC_Clear(_swigobj) (_swigobj->Clear())
3742 static PyObject
*_wrap_wxDC_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3743 PyObject
* _resultobj
;
3745 PyObject
* _argo0
= 0;
3746 char *_kwnames
[] = { "self", NULL
};
3749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_Clear",_kwnames
,&_argo0
))
3752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Clear. Expected _wxDC_p.");
3759 wxPy_BEGIN_ALLOW_THREADS
;
3762 wxPy_END_ALLOW_THREADS
;
3763 } Py_INCREF(Py_None
);
3764 _resultobj
= Py_None
;
3768 #define wxDC_CrossHair(_swigobj,_swigarg0,_swigarg1) (_swigobj->CrossHair(_swigarg0,_swigarg1))
3769 static PyObject
*_wrap_wxDC_CrossHair(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3770 PyObject
* _resultobj
;
3774 PyObject
* _argo0
= 0;
3775 char *_kwnames
[] = { "self","x","y", NULL
};
3778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_CrossHair",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3781 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3782 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CrossHair. Expected _wxDC_p.");
3788 wxPy_BEGIN_ALLOW_THREADS
;
3789 wxDC_CrossHair(_arg0
,_arg1
,_arg2
);
3791 wxPy_END_ALLOW_THREADS
;
3792 } Py_INCREF(Py_None
);
3793 _resultobj
= Py_None
;
3797 #define wxDC_DestroyClippingRegion(_swigobj) (_swigobj->DestroyClippingRegion())
3798 static PyObject
*_wrap_wxDC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3799 PyObject
* _resultobj
;
3801 PyObject
* _argo0
= 0;
3802 char *_kwnames
[] = { "self", NULL
};
3805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_DestroyClippingRegion",_kwnames
,&_argo0
))
3808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DestroyClippingRegion. Expected _wxDC_p.");
3815 wxPy_BEGIN_ALLOW_THREADS
;
3816 wxDC_DestroyClippingRegion(_arg0
);
3818 wxPy_END_ALLOW_THREADS
;
3819 } Py_INCREF(Py_None
);
3820 _resultobj
= Py_None
;
3824 #define wxDC_DeviceToLogicalX(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalX(_swigarg0))
3825 static PyObject
*_wrap_wxDC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3826 PyObject
* _resultobj
;
3830 PyObject
* _argo0
= 0;
3831 char *_kwnames
[] = { "self","x", NULL
};
3834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalX",_kwnames
,&_argo0
,&_arg1
))
3837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalX. Expected _wxDC_p.");
3844 wxPy_BEGIN_ALLOW_THREADS
;
3845 _result
= (long )wxDC_DeviceToLogicalX(_arg0
,_arg1
);
3847 wxPy_END_ALLOW_THREADS
;
3848 } _resultobj
= Py_BuildValue("l",_result
);
3852 #define wxDC_DeviceToLogicalXRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalXRel(_swigarg0))
3853 static PyObject
*_wrap_wxDC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3854 PyObject
* _resultobj
;
3858 PyObject
* _argo0
= 0;
3859 char *_kwnames
[] = { "self","x", NULL
};
3862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalXRel",_kwnames
,&_argo0
,&_arg1
))
3865 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3866 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalXRel. Expected _wxDC_p.");
3872 wxPy_BEGIN_ALLOW_THREADS
;
3873 _result
= (long )wxDC_DeviceToLogicalXRel(_arg0
,_arg1
);
3875 wxPy_END_ALLOW_THREADS
;
3876 } _resultobj
= Py_BuildValue("l",_result
);
3880 #define wxDC_DeviceToLogicalY(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalY(_swigarg0))
3881 static PyObject
*_wrap_wxDC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3882 PyObject
* _resultobj
;
3886 PyObject
* _argo0
= 0;
3887 char *_kwnames
[] = { "self","y", NULL
};
3890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalY",_kwnames
,&_argo0
,&_arg1
))
3893 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3894 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalY. Expected _wxDC_p.");
3900 wxPy_BEGIN_ALLOW_THREADS
;
3901 _result
= (long )wxDC_DeviceToLogicalY(_arg0
,_arg1
);
3903 wxPy_END_ALLOW_THREADS
;
3904 } _resultobj
= Py_BuildValue("l",_result
);
3908 #define wxDC_DeviceToLogicalYRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalYRel(_swigarg0))
3909 static PyObject
*_wrap_wxDC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3910 PyObject
* _resultobj
;
3914 PyObject
* _argo0
= 0;
3915 char *_kwnames
[] = { "self","y", NULL
};
3918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalYRel",_kwnames
,&_argo0
,&_arg1
))
3921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalYRel. Expected _wxDC_p.");
3928 wxPy_BEGIN_ALLOW_THREADS
;
3929 _result
= (long )wxDC_DeviceToLogicalYRel(_arg0
,_arg1
);
3931 wxPy_END_ALLOW_THREADS
;
3932 } _resultobj
= Py_BuildValue("l",_result
);
3936 #define wxDC_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3937 static PyObject
*_wrap_wxDC_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3938 PyObject
* _resultobj
;
3946 PyObject
* _argo0
= 0;
3947 char *_kwnames
[] = { "self","x1","y1","x2","y2","xc","yc", NULL
};
3950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollllll:wxDC_DrawArc",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
3953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawArc. Expected _wxDC_p.");
3960 wxPy_BEGIN_ALLOW_THREADS
;
3961 wxDC_DrawArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
3963 wxPy_END_ALLOW_THREADS
;
3964 } Py_INCREF(Py_None
);
3965 _resultobj
= Py_None
;
3969 #define wxDC_DrawCircle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawCircle(_swigarg0,_swigarg1,_swigarg2))
3970 static PyObject
*_wrap_wxDC_DrawCircle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3971 PyObject
* _resultobj
;
3976 PyObject
* _argo0
= 0;
3977 char *_kwnames
[] = { "self","x","y","radius", NULL
};
3980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olll:wxDC_DrawCircle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawCircle. Expected _wxDC_p.");
3990 wxPy_BEGIN_ALLOW_THREADS
;
3991 wxDC_DrawCircle(_arg0
,_arg1
,_arg2
,_arg3
);
3993 wxPy_END_ALLOW_THREADS
;
3994 } Py_INCREF(Py_None
);
3995 _resultobj
= Py_None
;
3999 #define wxDC_DrawEllipse(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawEllipse(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4000 static PyObject
*_wrap_wxDC_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4001 PyObject
* _resultobj
;
4007 PyObject
* _argo0
= 0;
4008 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
4011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawEllipse",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipse. Expected _wxDC_p.");
4021 wxPy_BEGIN_ALLOW_THREADS
;
4022 wxDC_DrawEllipse(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4024 wxPy_END_ALLOW_THREADS
;
4025 } Py_INCREF(Py_None
);
4026 _resultobj
= Py_None
;
4030 #define wxDC_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4031 static PyObject
*_wrap_wxDC_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4032 PyObject
* _resultobj
;
4040 PyObject
* _argo0
= 0;
4041 char *_kwnames
[] = { "self","x","y","width","height","start","end", NULL
};
4044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollllll:wxDC_DrawEllipticArc",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
4047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipticArc. Expected _wxDC_p.");
4054 wxPy_BEGIN_ALLOW_THREADS
;
4055 wxDC_DrawEllipticArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4057 wxPy_END_ALLOW_THREADS
;
4058 } Py_INCREF(Py_None
);
4059 _resultobj
= Py_None
;
4063 #define wxDC_DrawIcon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawIcon(_swigarg0,_swigarg1,_swigarg2))
4064 static PyObject
*_wrap_wxDC_DrawIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4065 PyObject
* _resultobj
;
4070 PyObject
* _argo0
= 0;
4071 PyObject
* _argo1
= 0;
4072 char *_kwnames
[] = { "self","icon","x","y", NULL
};
4075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll:wxDC_DrawIcon",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
4078 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4079 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawIcon. Expected _wxDC_p.");
4085 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4086 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
4087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawIcon. Expected _wxIcon_p.");
4092 wxPy_BEGIN_ALLOW_THREADS
;
4093 wxDC_DrawIcon(_arg0
,*_arg1
,_arg2
,_arg3
);
4095 wxPy_END_ALLOW_THREADS
;
4096 } Py_INCREF(Py_None
);
4097 _resultobj
= Py_None
;
4101 #define wxDC_DrawLine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4102 static PyObject
*_wrap_wxDC_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4103 PyObject
* _resultobj
;
4109 PyObject
* _argo0
= 0;
4110 char *_kwnames
[] = { "self","x1","y1","x2","y2", NULL
};
4113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawLine",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4116 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4117 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLine. Expected _wxDC_p.");
4123 wxPy_BEGIN_ALLOW_THREADS
;
4124 wxDC_DrawLine(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4126 wxPy_END_ALLOW_THREADS
;
4127 } Py_INCREF(Py_None
);
4128 _resultobj
= Py_None
;
4132 #define wxDC_DrawLines(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLines(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4133 static PyObject
*_wrap_wxDC_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4134 PyObject
* _resultobj
;
4138 long _arg3
= (long ) 0;
4139 long _arg4
= (long ) 0;
4140 PyObject
* _argo0
= 0;
4141 PyObject
* _obj2
= 0;
4142 char *_kwnames
[] = { "self","LIST","xoffset","yoffset", NULL
};
4145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ll:wxDC_DrawLines",_kwnames
,&_argo0
,&_obj2
,&_arg3
,&_arg4
))
4148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLines. Expected _wxDC_p.");
4156 _arg2
= wxPoint_LIST_helper(_obj2
);
4157 if (_arg2
== NULL
) {
4163 _arg1
= PyList_Size(_obj2
);
4170 wxPy_BEGIN_ALLOW_THREADS
;
4171 wxDC_DrawLines(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4173 wxPy_END_ALLOW_THREADS
;
4174 } Py_INCREF(Py_None
);
4175 _resultobj
= Py_None
;
4182 #define wxDC_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4183 static PyObject
*_wrap_wxDC_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4184 PyObject
* _resultobj
;
4188 long _arg3
= (long ) 0;
4189 long _arg4
= (long ) 0;
4190 int _arg5
= (int ) wxODDEVEN_RULE
;
4191 PyObject
* _argo0
= 0;
4192 PyObject
* _obj2
= 0;
4193 char *_kwnames
[] = { "self","LIST","xoffset","yoffset","fill_style", NULL
};
4196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|lli:wxDC_DrawPolygon",_kwnames
,&_argo0
,&_obj2
,&_arg3
,&_arg4
,&_arg5
))
4199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPolygon. Expected _wxDC_p.");
4207 _arg2
= wxPoint_LIST_helper(_obj2
);
4208 if (_arg2
== NULL
) {
4214 _arg1
= PyList_Size(_obj2
);
4221 wxPy_BEGIN_ALLOW_THREADS
;
4222 wxDC_DrawPolygon(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4224 wxPy_END_ALLOW_THREADS
;
4225 } Py_INCREF(Py_None
);
4226 _resultobj
= Py_None
;
4233 #define wxDC_DrawPoint(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawPoint(_swigarg0,_swigarg1))
4234 static PyObject
*_wrap_wxDC_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4235 PyObject
* _resultobj
;
4239 PyObject
* _argo0
= 0;
4240 char *_kwnames
[] = { "self","x","y", NULL
};
4243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_DrawPoint",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPoint. Expected _wxDC_p.");
4253 wxPy_BEGIN_ALLOW_THREADS
;
4254 wxDC_DrawPoint(_arg0
,_arg1
,_arg2
);
4256 wxPy_END_ALLOW_THREADS
;
4257 } Py_INCREF(Py_None
);
4258 _resultobj
= Py_None
;
4262 #define wxDC_DrawRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4263 static PyObject
*_wrap_wxDC_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4264 PyObject
* _resultobj
;
4270 PyObject
* _argo0
= 0;
4271 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
4274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawRectangle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRectangle. Expected _wxDC_p.");
4284 wxPy_BEGIN_ALLOW_THREADS
;
4285 wxDC_DrawRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4287 wxPy_END_ALLOW_THREADS
;
4288 } Py_INCREF(Py_None
);
4289 _resultobj
= Py_None
;
4293 #define wxDC_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4294 static PyObject
*_wrap_wxDC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4295 PyObject
* _resultobj
;
4301 long _arg5
= (long ) 20;
4302 PyObject
* _argo0
= 0;
4303 char *_kwnames
[] = { "self","x","y","width","height","radius", NULL
};
4306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll|l:wxDC_DrawRoundedRectangle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
4309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRoundedRectangle. Expected _wxDC_p.");
4316 wxPy_BEGIN_ALLOW_THREADS
;
4317 wxDC_DrawRoundedRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4319 wxPy_END_ALLOW_THREADS
;
4320 } Py_INCREF(Py_None
);
4321 _resultobj
= Py_None
;
4325 #define wxDC_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1))
4326 static PyObject
*_wrap_wxDC_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4327 PyObject
* _resultobj
;
4331 PyObject
* _argo0
= 0;
4332 PyObject
* _obj2
= 0;
4333 char *_kwnames
[] = { "self","LIST", NULL
};
4336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_DrawSpline",_kwnames
,&_argo0
,&_obj2
))
4339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawSpline. Expected _wxDC_p.");
4347 _arg2
= wxPoint_LIST_helper(_obj2
);
4348 if (_arg2
== NULL
) {
4354 _arg1
= PyList_Size(_obj2
);
4361 wxPy_BEGIN_ALLOW_THREADS
;
4362 wxDC_DrawSpline(_arg0
,_arg1
,_arg2
);
4364 wxPy_END_ALLOW_THREADS
;
4365 } Py_INCREF(Py_None
);
4366 _resultobj
= Py_None
;
4373 #define wxDC_DrawText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawText(_swigarg0,_swigarg1,_swigarg2))
4374 static PyObject
*_wrap_wxDC_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4375 PyObject
* _resultobj
;
4380 PyObject
* _argo0
= 0;
4381 PyObject
* _obj1
= 0;
4382 char *_kwnames
[] = { "self","text","x","y", NULL
};
4385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll:wxDC_DrawText",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
))
4388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawText. Expected _wxDC_p.");
4395 if (!PyString_Check(_obj1
)) {
4396 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4399 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4402 wxPy_BEGIN_ALLOW_THREADS
;
4403 wxDC_DrawText(_arg0
,*_arg1
,_arg2
,_arg3
);
4405 wxPy_END_ALLOW_THREADS
;
4406 } Py_INCREF(Py_None
);
4407 _resultobj
= Py_None
;
4415 #define wxDC_EndDoc(_swigobj) (_swigobj->EndDoc())
4416 static PyObject
*_wrap_wxDC_EndDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4417 PyObject
* _resultobj
;
4419 PyObject
* _argo0
= 0;
4420 char *_kwnames
[] = { "self", NULL
};
4423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndDoc",_kwnames
,&_argo0
))
4426 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4427 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDoc. Expected _wxDC_p.");
4433 wxPy_BEGIN_ALLOW_THREADS
;
4436 wxPy_END_ALLOW_THREADS
;
4437 } Py_INCREF(Py_None
);
4438 _resultobj
= Py_None
;
4442 #define wxDC_EndDrawing(_swigobj) (_swigobj->EndDrawing())
4443 static PyObject
*_wrap_wxDC_EndDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4444 PyObject
* _resultobj
;
4446 PyObject
* _argo0
= 0;
4447 char *_kwnames
[] = { "self", NULL
};
4450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndDrawing",_kwnames
,&_argo0
))
4453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDrawing. Expected _wxDC_p.");
4460 wxPy_BEGIN_ALLOW_THREADS
;
4461 wxDC_EndDrawing(_arg0
);
4463 wxPy_END_ALLOW_THREADS
;
4464 } Py_INCREF(Py_None
);
4465 _resultobj
= Py_None
;
4469 #define wxDC_EndPage(_swigobj) (_swigobj->EndPage())
4470 static PyObject
*_wrap_wxDC_EndPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4471 PyObject
* _resultobj
;
4473 PyObject
* _argo0
= 0;
4474 char *_kwnames
[] = { "self", NULL
};
4477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndPage",_kwnames
,&_argo0
))
4480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndPage. Expected _wxDC_p.");
4487 wxPy_BEGIN_ALLOW_THREADS
;
4488 wxDC_EndPage(_arg0
);
4490 wxPy_END_ALLOW_THREADS
;
4491 } Py_INCREF(Py_None
);
4492 _resultobj
= Py_None
;
4496 #define wxDC_FloodFill(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FloodFill(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4497 static PyObject
*_wrap_wxDC_FloodFill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4498 PyObject
* _resultobj
;
4503 int _arg4
= (int ) wxFLOOD_SURFACE
;
4504 PyObject
* _argo0
= 0;
4505 PyObject
* _argo3
= 0;
4506 char *_kwnames
[] = { "self","x","y","colour","style", NULL
};
4509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO|i:wxDC_FloodFill",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
,&_arg4
))
4512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_FloodFill. Expected _wxDC_p.");
4519 if (_argo3
== Py_None
) { _arg3
= NULL
; }
4520 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxColour_p")) {
4521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDC_FloodFill. Expected _wxColour_p.");
4526 wxPy_BEGIN_ALLOW_THREADS
;
4527 wxDC_FloodFill(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
4529 wxPy_END_ALLOW_THREADS
;
4530 } Py_INCREF(Py_None
);
4531 _resultobj
= Py_None
;
4535 #define wxDC_GetBackground(_swigobj) (_swigobj->GetBackground())
4536 static PyObject
*_wrap_wxDC_GetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4537 PyObject
* _resultobj
;
4540 PyObject
* _argo0
= 0;
4541 char *_kwnames
[] = { "self", NULL
};
4545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBackground",_kwnames
,&_argo0
))
4548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBackground. Expected _wxDC_p.");
4555 wxPy_BEGIN_ALLOW_THREADS
;
4556 wxBrush
& _result_ref
= wxDC_GetBackground(_arg0
);
4557 _result
= (wxBrush
*) &_result_ref
;
4559 wxPy_END_ALLOW_THREADS
;
4561 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
4562 _resultobj
= Py_BuildValue("s",_ptemp
);
4565 _resultobj
= Py_None
;
4570 #define wxDC_GetBrush(_swigobj) (_swigobj->GetBrush())
4571 static PyObject
*_wrap_wxDC_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4572 PyObject
* _resultobj
;
4575 PyObject
* _argo0
= 0;
4576 char *_kwnames
[] = { "self", NULL
};
4580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBrush",_kwnames
,&_argo0
))
4583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBrush. Expected _wxDC_p.");
4590 wxPy_BEGIN_ALLOW_THREADS
;
4591 wxBrush
& _result_ref
= wxDC_GetBrush(_arg0
);
4592 _result
= (wxBrush
*) &_result_ref
;
4594 wxPy_END_ALLOW_THREADS
;
4596 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
4597 _resultobj
= Py_BuildValue("s",_ptemp
);
4600 _resultobj
= Py_None
;
4605 #define wxDC_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
4606 static PyObject
*_wrap_wxDC_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4607 PyObject
* _resultobj
;
4610 PyObject
* _argo0
= 0;
4611 char *_kwnames
[] = { "self", NULL
};
4614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetCharHeight",_kwnames
,&_argo0
))
4617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharHeight. Expected _wxDC_p.");
4624 wxPy_BEGIN_ALLOW_THREADS
;
4625 _result
= (long )wxDC_GetCharHeight(_arg0
);
4627 wxPy_END_ALLOW_THREADS
;
4628 } _resultobj
= Py_BuildValue("l",_result
);
4632 #define wxDC_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
4633 static PyObject
*_wrap_wxDC_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4634 PyObject
* _resultobj
;
4637 PyObject
* _argo0
= 0;
4638 char *_kwnames
[] = { "self", NULL
};
4641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetCharWidth",_kwnames
,&_argo0
))
4644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharWidth. Expected _wxDC_p.");
4651 wxPy_BEGIN_ALLOW_THREADS
;
4652 _result
= (long )wxDC_GetCharWidth(_arg0
);
4654 wxPy_END_ALLOW_THREADS
;
4655 } _resultobj
= Py_BuildValue("l",_result
);
4659 #define wxDC_GetClippingBox(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetClippingBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4660 static PyObject
*_wrap_wxDC_GetClippingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4661 PyObject
* _resultobj
;
4671 PyObject
* _argo0
= 0;
4672 char *_kwnames
[] = { "self", NULL
};
4687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetClippingBox",_kwnames
,&_argo0
))
4690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetClippingBox. Expected _wxDC_p.");
4697 wxPy_BEGIN_ALLOW_THREADS
;
4698 wxDC_GetClippingBox(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4700 wxPy_END_ALLOW_THREADS
;
4701 } Py_INCREF(Py_None
);
4702 _resultobj
= Py_None
;
4705 o
= PyInt_FromLong((long) (*_arg1
));
4706 _resultobj
= t_output_helper(_resultobj
, o
);
4710 o
= PyInt_FromLong((long) (*_arg2
));
4711 _resultobj
= t_output_helper(_resultobj
, o
);
4715 o
= PyInt_FromLong((long) (*_arg3
));
4716 _resultobj
= t_output_helper(_resultobj
, o
);
4720 o
= PyInt_FromLong((long) (*_arg4
));
4721 _resultobj
= t_output_helper(_resultobj
, o
);
4726 #define wxDC_GetFont(_swigobj) (_swigobj->GetFont())
4727 static PyObject
*_wrap_wxDC_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4728 PyObject
* _resultobj
;
4731 PyObject
* _argo0
= 0;
4732 char *_kwnames
[] = { "self", NULL
};
4736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetFont",_kwnames
,&_argo0
))
4739 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4740 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFont. Expected _wxDC_p.");
4746 wxPy_BEGIN_ALLOW_THREADS
;
4747 wxFont
& _result_ref
= wxDC_GetFont(_arg0
);
4748 _result
= (wxFont
*) &_result_ref
;
4750 wxPy_END_ALLOW_THREADS
;
4752 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
4753 _resultobj
= Py_BuildValue("s",_ptemp
);
4756 _resultobj
= Py_None
;
4761 #define wxDC_GetLogicalFunction(_swigobj) (_swigobj->GetLogicalFunction())
4762 static PyObject
*_wrap_wxDC_GetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4763 PyObject
* _resultobj
;
4766 PyObject
* _argo0
= 0;
4767 char *_kwnames
[] = { "self", NULL
};
4770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalFunction",_kwnames
,&_argo0
))
4773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalFunction. Expected _wxDC_p.");
4780 wxPy_BEGIN_ALLOW_THREADS
;
4781 _result
= (int )wxDC_GetLogicalFunction(_arg0
);
4783 wxPy_END_ALLOW_THREADS
;
4784 } _resultobj
= Py_BuildValue("i",_result
);
4788 #define wxDC_GetMapMode(_swigobj) (_swigobj->GetMapMode())
4789 static PyObject
*_wrap_wxDC_GetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4790 PyObject
* _resultobj
;
4793 PyObject
* _argo0
= 0;
4794 char *_kwnames
[] = { "self", NULL
};
4797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetMapMode",_kwnames
,&_argo0
))
4800 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4801 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetMapMode. Expected _wxDC_p.");
4807 wxPy_BEGIN_ALLOW_THREADS
;
4808 _result
= (int )wxDC_GetMapMode(_arg0
);
4810 wxPy_END_ALLOW_THREADS
;
4811 } _resultobj
= Py_BuildValue("i",_result
);
4815 #define wxDC_GetOptimization(_swigobj) (_swigobj->GetOptimization())
4816 static PyObject
*_wrap_wxDC_GetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4817 PyObject
* _resultobj
;
4820 PyObject
* _argo0
= 0;
4821 char *_kwnames
[] = { "self", NULL
};
4824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetOptimization",_kwnames
,&_argo0
))
4827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetOptimization. Expected _wxDC_p.");
4834 wxPy_BEGIN_ALLOW_THREADS
;
4835 _result
= (bool )wxDC_GetOptimization(_arg0
);
4837 wxPy_END_ALLOW_THREADS
;
4838 } _resultobj
= Py_BuildValue("i",_result
);
4842 #define wxDC_GetPen(_swigobj) (_swigobj->GetPen())
4843 static PyObject
*_wrap_wxDC_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4844 PyObject
* _resultobj
;
4847 PyObject
* _argo0
= 0;
4848 char *_kwnames
[] = { "self", NULL
};
4852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetPen",_kwnames
,&_argo0
))
4855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPen. Expected _wxDC_p.");
4862 wxPy_BEGIN_ALLOW_THREADS
;
4863 wxPen
& _result_ref
= wxDC_GetPen(_arg0
);
4864 _result
= (wxPen
*) &_result_ref
;
4866 wxPy_END_ALLOW_THREADS
;
4868 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
4869 _resultobj
= Py_BuildValue("s",_ptemp
);
4872 _resultobj
= Py_None
;
4877 static wxColour
* wxDC_GetPixel(wxDC
*self
,long x
,long y
) {
4878 wxColour
* wc
= new wxColour();
4879 self
->GetPixel(x
, y
, wc
);
4882 static PyObject
*_wrap_wxDC_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4883 PyObject
* _resultobj
;
4888 PyObject
* _argo0
= 0;
4889 char *_kwnames
[] = { "self","x","y", NULL
};
4893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_GetPixel",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4896 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4897 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPixel. Expected _wxDC_p.");
4903 wxPy_BEGIN_ALLOW_THREADS
;
4904 _result
= (wxColour
*)wxDC_GetPixel(_arg0
,_arg1
,_arg2
);
4906 wxPy_END_ALLOW_THREADS
;
4908 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
4909 _resultobj
= Py_BuildValue("s",_ptemp
);
4912 _resultobj
= Py_None
;
4917 #define wxDC_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
4918 static PyObject
*_wrap_wxDC_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4919 PyObject
* _resultobj
;
4925 PyObject
* _argo0
= 0;
4926 char *_kwnames
[] = { "self", NULL
};
4935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSizeTuple",_kwnames
,&_argo0
))
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_GetSizeTuple. Expected _wxDC_p.");
4945 wxPy_BEGIN_ALLOW_THREADS
;
4946 wxDC_GetSizeTuple(_arg0
,_arg1
,_arg2
);
4948 wxPy_END_ALLOW_THREADS
;
4949 } Py_INCREF(Py_None
);
4950 _resultobj
= Py_None
;
4953 o
= PyInt_FromLong((long) (*_arg1
));
4954 _resultobj
= t_output_helper(_resultobj
, o
);
4958 o
= PyInt_FromLong((long) (*_arg2
));
4959 _resultobj
= t_output_helper(_resultobj
, o
);
4964 #define wxDC_GetSize(_swigobj) (_swigobj->GetSize())
4965 static PyObject
*_wrap_wxDC_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4966 PyObject
* _resultobj
;
4969 PyObject
* _argo0
= 0;
4970 char *_kwnames
[] = { "self", NULL
};
4974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSize",_kwnames
,&_argo0
))
4977 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4978 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSize. Expected _wxDC_p.");
4984 wxPy_BEGIN_ALLOW_THREADS
;
4985 _result
= new wxSize (wxDC_GetSize(_arg0
));
4987 wxPy_END_ALLOW_THREADS
;
4988 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4989 _resultobj
= Py_BuildValue("s",_ptemp
);
4993 #define wxDC_GetTextBackground(_swigobj) (_swigobj->GetTextBackground())
4994 static PyObject
*_wrap_wxDC_GetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4995 PyObject
* _resultobj
;
4998 PyObject
* _argo0
= 0;
4999 char *_kwnames
[] = { "self", NULL
};
5003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetTextBackground",_kwnames
,&_argo0
))
5006 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5007 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextBackground. Expected _wxDC_p.");
5013 wxPy_BEGIN_ALLOW_THREADS
;
5014 wxColour
& _result_ref
= wxDC_GetTextBackground(_arg0
);
5015 _result
= (wxColour
*) &_result_ref
;
5017 wxPy_END_ALLOW_THREADS
;
5019 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
5020 _resultobj
= Py_BuildValue("s",_ptemp
);
5023 _resultobj
= Py_None
;
5028 #define wxDC_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
5029 static PyObject
*_wrap_wxDC_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5030 PyObject
* _resultobj
;
5037 PyObject
* _argo0
= 0;
5038 PyObject
* _obj1
= 0;
5039 char *_kwnames
[] = { "self","string", NULL
};
5048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
5051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextExtent. Expected _wxDC_p.");
5058 if (!PyString_Check(_obj1
)) {
5059 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5062 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5065 wxPy_BEGIN_ALLOW_THREADS
;
5066 wxDC_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
5068 wxPy_END_ALLOW_THREADS
;
5069 } Py_INCREF(Py_None
);
5070 _resultobj
= Py_None
;
5073 o
= PyInt_FromLong((long) (*_arg2
));
5074 _resultobj
= t_output_helper(_resultobj
, o
);
5078 o
= PyInt_FromLong((long) (*_arg3
));
5079 _resultobj
= t_output_helper(_resultobj
, o
);
5088 #define wxDC_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5089 static PyObject
*_wrap_wxDC_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5090 PyObject
* _resultobj
;
5101 wxFont
* _arg6
= (wxFont
*) NULL
;
5102 PyObject
* _argo0
= 0;
5103 PyObject
* _obj1
= 0;
5104 PyObject
* _argo6
= 0;
5105 char *_kwnames
[] = { "self","string","font", NULL
};
5120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxDC_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
5123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFullTextExtent. Expected _wxDC_p.");
5130 if (!PyString_Check(_obj1
)) {
5131 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5134 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5137 if (_argo6
== Py_None
) { _arg6
= NULL
; }
5138 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
5139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxDC_GetFullTextExtent. Expected _wxFont_p.");
5144 wxPy_BEGIN_ALLOW_THREADS
;
5145 wxDC_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
5147 wxPy_END_ALLOW_THREADS
;
5148 } Py_INCREF(Py_None
);
5149 _resultobj
= Py_None
;
5152 o
= PyInt_FromLong((long) (*_arg2
));
5153 _resultobj
= t_output_helper(_resultobj
, o
);
5157 o
= PyInt_FromLong((long) (*_arg3
));
5158 _resultobj
= t_output_helper(_resultobj
, o
);
5162 o
= PyInt_FromLong((long) (*_arg4
));
5163 _resultobj
= t_output_helper(_resultobj
, o
);
5167 o
= PyInt_FromLong((long) (*_arg5
));
5168 _resultobj
= t_output_helper(_resultobj
, o
);
5177 #define wxDC_GetTextForeground(_swigobj) (_swigobj->GetTextForeground())
5178 static PyObject
*_wrap_wxDC_GetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5179 PyObject
* _resultobj
;
5182 PyObject
* _argo0
= 0;
5183 char *_kwnames
[] = { "self", NULL
};
5187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetTextForeground",_kwnames
,&_argo0
))
5190 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5191 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextForeground. Expected _wxDC_p.");
5197 wxPy_BEGIN_ALLOW_THREADS
;
5198 wxColour
& _result_ref
= wxDC_GetTextForeground(_arg0
);
5199 _result
= (wxColour
*) &_result_ref
;
5201 wxPy_END_ALLOW_THREADS
;
5203 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
5204 _resultobj
= Py_BuildValue("s",_ptemp
);
5207 _resultobj
= Py_None
;
5212 #define wxDC_LogicalToDeviceX(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceX(_swigarg0))
5213 static PyObject
*_wrap_wxDC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5214 PyObject
* _resultobj
;
5218 PyObject
* _argo0
= 0;
5219 char *_kwnames
[] = { "self","x", NULL
};
5222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceX",_kwnames
,&_argo0
,&_arg1
))
5225 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5226 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceX. Expected _wxDC_p.");
5232 wxPy_BEGIN_ALLOW_THREADS
;
5233 _result
= (long )wxDC_LogicalToDeviceX(_arg0
,_arg1
);
5235 wxPy_END_ALLOW_THREADS
;
5236 } _resultobj
= Py_BuildValue("l",_result
);
5240 #define wxDC_LogicalToDeviceXRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceXRel(_swigarg0))
5241 static PyObject
*_wrap_wxDC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5242 PyObject
* _resultobj
;
5246 PyObject
* _argo0
= 0;
5247 char *_kwnames
[] = { "self","x", NULL
};
5250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceXRel",_kwnames
,&_argo0
,&_arg1
))
5253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceXRel. Expected _wxDC_p.");
5260 wxPy_BEGIN_ALLOW_THREADS
;
5261 _result
= (long )wxDC_LogicalToDeviceXRel(_arg0
,_arg1
);
5263 wxPy_END_ALLOW_THREADS
;
5264 } _resultobj
= Py_BuildValue("l",_result
);
5268 #define wxDC_LogicalToDeviceY(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceY(_swigarg0))
5269 static PyObject
*_wrap_wxDC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5270 PyObject
* _resultobj
;
5274 PyObject
* _argo0
= 0;
5275 char *_kwnames
[] = { "self","y", NULL
};
5278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceY",_kwnames
,&_argo0
,&_arg1
))
5281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceY. Expected _wxDC_p.");
5288 wxPy_BEGIN_ALLOW_THREADS
;
5289 _result
= (long )wxDC_LogicalToDeviceY(_arg0
,_arg1
);
5291 wxPy_END_ALLOW_THREADS
;
5292 } _resultobj
= Py_BuildValue("l",_result
);
5296 #define wxDC_LogicalToDeviceYRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceYRel(_swigarg0))
5297 static PyObject
*_wrap_wxDC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5298 PyObject
* _resultobj
;
5302 PyObject
* _argo0
= 0;
5303 char *_kwnames
[] = { "self","y", NULL
};
5306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceYRel",_kwnames
,&_argo0
,&_arg1
))
5309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceYRel. Expected _wxDC_p.");
5316 wxPy_BEGIN_ALLOW_THREADS
;
5317 _result
= (long )wxDC_LogicalToDeviceYRel(_arg0
,_arg1
);
5319 wxPy_END_ALLOW_THREADS
;
5320 } _resultobj
= Py_BuildValue("l",_result
);
5324 #define wxDC_MaxX(_swigobj) (_swigobj->MaxX())
5325 static PyObject
*_wrap_wxDC_MaxX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5326 PyObject
* _resultobj
;
5329 PyObject
* _argo0
= 0;
5330 char *_kwnames
[] = { "self", NULL
};
5333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MaxX",_kwnames
,&_argo0
))
5336 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5337 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxX. Expected _wxDC_p.");
5343 wxPy_BEGIN_ALLOW_THREADS
;
5344 _result
= (long )wxDC_MaxX(_arg0
);
5346 wxPy_END_ALLOW_THREADS
;
5347 } _resultobj
= Py_BuildValue("l",_result
);
5351 #define wxDC_MaxY(_swigobj) (_swigobj->MaxY())
5352 static PyObject
*_wrap_wxDC_MaxY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5353 PyObject
* _resultobj
;
5356 PyObject
* _argo0
= 0;
5357 char *_kwnames
[] = { "self", NULL
};
5360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MaxY",_kwnames
,&_argo0
))
5363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxY. Expected _wxDC_p.");
5370 wxPy_BEGIN_ALLOW_THREADS
;
5371 _result
= (long )wxDC_MaxY(_arg0
);
5373 wxPy_END_ALLOW_THREADS
;
5374 } _resultobj
= Py_BuildValue("l",_result
);
5378 #define wxDC_MinX(_swigobj) (_swigobj->MinX())
5379 static PyObject
*_wrap_wxDC_MinX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5380 PyObject
* _resultobj
;
5383 PyObject
* _argo0
= 0;
5384 char *_kwnames
[] = { "self", NULL
};
5387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MinX",_kwnames
,&_argo0
))
5390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinX. Expected _wxDC_p.");
5397 wxPy_BEGIN_ALLOW_THREADS
;
5398 _result
= (long )wxDC_MinX(_arg0
);
5400 wxPy_END_ALLOW_THREADS
;
5401 } _resultobj
= Py_BuildValue("l",_result
);
5405 #define wxDC_MinY(_swigobj) (_swigobj->MinY())
5406 static PyObject
*_wrap_wxDC_MinY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5407 PyObject
* _resultobj
;
5410 PyObject
* _argo0
= 0;
5411 char *_kwnames
[] = { "self", NULL
};
5414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MinY",_kwnames
,&_argo0
))
5417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinY. Expected _wxDC_p.");
5424 wxPy_BEGIN_ALLOW_THREADS
;
5425 _result
= (long )wxDC_MinY(_arg0
);
5427 wxPy_END_ALLOW_THREADS
;
5428 } _resultobj
= Py_BuildValue("l",_result
);
5432 #define wxDC_Ok(_swigobj) (_swigobj->Ok())
5433 static PyObject
*_wrap_wxDC_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5434 PyObject
* _resultobj
;
5437 PyObject
* _argo0
= 0;
5438 char *_kwnames
[] = { "self", NULL
};
5441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_Ok",_kwnames
,&_argo0
))
5444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Ok. Expected _wxDC_p.");
5451 wxPy_BEGIN_ALLOW_THREADS
;
5452 _result
= (bool )wxDC_Ok(_arg0
);
5454 wxPy_END_ALLOW_THREADS
;
5455 } _resultobj
= Py_BuildValue("i",_result
);
5459 #define wxDC_SetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDeviceOrigin(_swigarg0,_swigarg1))
5460 static PyObject
*_wrap_wxDC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5461 PyObject
* _resultobj
;
5465 PyObject
* _argo0
= 0;
5466 char *_kwnames
[] = { "self","x","y", NULL
};
5469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_SetDeviceOrigin",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetDeviceOrigin. Expected _wxDC_p.");
5479 wxPy_BEGIN_ALLOW_THREADS
;
5480 wxDC_SetDeviceOrigin(_arg0
,_arg1
,_arg2
);
5482 wxPy_END_ALLOW_THREADS
;
5483 } Py_INCREF(Py_None
);
5484 _resultobj
= Py_None
;
5488 #define wxDC_SetBackground(_swigobj,_swigarg0) (_swigobj->SetBackground(_swigarg0))
5489 static PyObject
*_wrap_wxDC_SetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5490 PyObject
* _resultobj
;
5493 PyObject
* _argo0
= 0;
5494 PyObject
* _argo1
= 0;
5495 char *_kwnames
[] = { "self","brush", NULL
};
5498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetBackground",_kwnames
,&_argo0
,&_argo1
))
5501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackground. Expected _wxDC_p.");
5508 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5509 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
5510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBackground. Expected _wxBrush_p.");
5515 wxPy_BEGIN_ALLOW_THREADS
;
5516 wxDC_SetBackground(_arg0
,*_arg1
);
5518 wxPy_END_ALLOW_THREADS
;
5519 } Py_INCREF(Py_None
);
5520 _resultobj
= Py_None
;
5524 #define wxDC_SetBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetBackgroundMode(_swigarg0))
5525 static PyObject
*_wrap_wxDC_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5526 PyObject
* _resultobj
;
5529 PyObject
* _argo0
= 0;
5530 char *_kwnames
[] = { "self","mode", NULL
};
5533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetBackgroundMode",_kwnames
,&_argo0
,&_arg1
))
5536 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5537 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackgroundMode. Expected _wxDC_p.");
5543 wxPy_BEGIN_ALLOW_THREADS
;
5544 wxDC_SetBackgroundMode(_arg0
,_arg1
);
5546 wxPy_END_ALLOW_THREADS
;
5547 } Py_INCREF(Py_None
);
5548 _resultobj
= Py_None
;
5552 #define wxDC_SetClippingRegion(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetClippingRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5553 static PyObject
*_wrap_wxDC_SetClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5554 PyObject
* _resultobj
;
5560 PyObject
* _argo0
= 0;
5561 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
5564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_SetClippingRegion",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
5567 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5568 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetClippingRegion. Expected _wxDC_p.");
5574 wxPy_BEGIN_ALLOW_THREADS
;
5575 wxDC_SetClippingRegion(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5577 wxPy_END_ALLOW_THREADS
;
5578 } Py_INCREF(Py_None
);
5579 _resultobj
= Py_None
;
5583 #define wxDC_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
5584 static PyObject
*_wrap_wxDC_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5585 PyObject
* _resultobj
;
5588 PyObject
* _argo0
= 0;
5589 PyObject
* _argo1
= 0;
5590 char *_kwnames
[] = { "self","colourMap", NULL
};
5593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetPalette",_kwnames
,&_argo0
,&_argo1
))
5596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPalette. Expected _wxDC_p.");
5603 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5604 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPalette_p")) {
5605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPalette. Expected _wxPalette_p.");
5610 wxPy_BEGIN_ALLOW_THREADS
;
5611 wxDC_SetPalette(_arg0
,*_arg1
);
5613 wxPy_END_ALLOW_THREADS
;
5614 } Py_INCREF(Py_None
);
5615 _resultobj
= Py_None
;
5619 #define wxDC_SetBrush(_swigobj,_swigarg0) (_swigobj->SetBrush(_swigarg0))
5620 static PyObject
*_wrap_wxDC_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5621 PyObject
* _resultobj
;
5624 PyObject
* _argo0
= 0;
5625 PyObject
* _argo1
= 0;
5626 char *_kwnames
[] = { "self","brush", NULL
};
5629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetBrush",_kwnames
,&_argo0
,&_argo1
))
5632 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5633 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBrush. Expected _wxDC_p.");
5639 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5640 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
5641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBrush. Expected _wxBrush_p.");
5646 wxPy_BEGIN_ALLOW_THREADS
;
5647 wxDC_SetBrush(_arg0
,*_arg1
);
5649 wxPy_END_ALLOW_THREADS
;
5650 } Py_INCREF(Py_None
);
5651 _resultobj
= Py_None
;
5655 #define wxDC_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
5656 static PyObject
*_wrap_wxDC_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5657 PyObject
* _resultobj
;
5660 PyObject
* _argo0
= 0;
5661 PyObject
* _argo1
= 0;
5662 char *_kwnames
[] = { "self","font", NULL
};
5665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetFont",_kwnames
,&_argo0
,&_argo1
))
5668 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5669 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetFont. Expected _wxDC_p.");
5675 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5676 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
5677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetFont. Expected _wxFont_p.");
5682 wxPy_BEGIN_ALLOW_THREADS
;
5683 wxDC_SetFont(_arg0
,*_arg1
);
5685 wxPy_END_ALLOW_THREADS
;
5686 } Py_INCREF(Py_None
);
5687 _resultobj
= Py_None
;
5691 #define wxDC_SetLogicalFunction(_swigobj,_swigarg0) (_swigobj->SetLogicalFunction(_swigarg0))
5692 static PyObject
*_wrap_wxDC_SetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5693 PyObject
* _resultobj
;
5696 PyObject
* _argo0
= 0;
5697 char *_kwnames
[] = { "self","function", NULL
};
5700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetLogicalFunction",_kwnames
,&_argo0
,&_arg1
))
5703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalFunction. Expected _wxDC_p.");
5710 wxPy_BEGIN_ALLOW_THREADS
;
5711 wxDC_SetLogicalFunction(_arg0
,_arg1
);
5713 wxPy_END_ALLOW_THREADS
;
5714 } Py_INCREF(Py_None
);
5715 _resultobj
= Py_None
;
5719 #define wxDC_SetMapMode(_swigobj,_swigarg0) (_swigobj->SetMapMode(_swigarg0))
5720 static PyObject
*_wrap_wxDC_SetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5721 PyObject
* _resultobj
;
5724 PyObject
* _argo0
= 0;
5725 char *_kwnames
[] = { "self","mode", NULL
};
5728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetMapMode",_kwnames
,&_argo0
,&_arg1
))
5731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetMapMode. Expected _wxDC_p.");
5738 wxPy_BEGIN_ALLOW_THREADS
;
5739 wxDC_SetMapMode(_arg0
,_arg1
);
5741 wxPy_END_ALLOW_THREADS
;
5742 } Py_INCREF(Py_None
);
5743 _resultobj
= Py_None
;
5747 #define wxDC_SetOptimization(_swigobj,_swigarg0) (_swigobj->SetOptimization(_swigarg0))
5748 static PyObject
*_wrap_wxDC_SetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5749 PyObject
* _resultobj
;
5752 PyObject
* _argo0
= 0;
5754 char *_kwnames
[] = { "self","optimize", NULL
};
5757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetOptimization",_kwnames
,&_argo0
,&tempbool1
))
5760 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5761 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetOptimization. Expected _wxDC_p.");
5766 _arg1
= (bool ) tempbool1
;
5768 wxPy_BEGIN_ALLOW_THREADS
;
5769 wxDC_SetOptimization(_arg0
,_arg1
);
5771 wxPy_END_ALLOW_THREADS
;
5772 } Py_INCREF(Py_None
);
5773 _resultobj
= Py_None
;
5777 #define wxDC_SetPen(_swigobj,_swigarg0) (_swigobj->SetPen(_swigarg0))
5778 static PyObject
*_wrap_wxDC_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5779 PyObject
* _resultobj
;
5782 PyObject
* _argo0
= 0;
5783 PyObject
* _argo1
= 0;
5784 char *_kwnames
[] = { "self","pen", NULL
};
5787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetPen",_kwnames
,&_argo0
,&_argo1
))
5790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPen. Expected _wxDC_p.");
5797 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5798 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
5799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPen. Expected _wxPen_p.");
5804 wxPy_BEGIN_ALLOW_THREADS
;
5805 wxDC_SetPen(_arg0
,*_arg1
);
5807 wxPy_END_ALLOW_THREADS
;
5808 } Py_INCREF(Py_None
);
5809 _resultobj
= Py_None
;
5813 #define wxDC_SetTextBackground(_swigobj,_swigarg0) (_swigobj->SetTextBackground(_swigarg0))
5814 static PyObject
*_wrap_wxDC_SetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5815 PyObject
* _resultobj
;
5818 PyObject
* _argo0
= 0;
5819 PyObject
* _argo1
= 0;
5820 char *_kwnames
[] = { "self","colour", NULL
};
5823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetTextBackground",_kwnames
,&_argo0
,&_argo1
))
5826 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5827 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextBackground. Expected _wxDC_p.");
5833 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5834 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
5835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetTextBackground. Expected _wxColour_p.");
5840 wxPy_BEGIN_ALLOW_THREADS
;
5841 wxDC_SetTextBackground(_arg0
,*_arg1
);
5843 wxPy_END_ALLOW_THREADS
;
5844 } Py_INCREF(Py_None
);
5845 _resultobj
= Py_None
;
5849 #define wxDC_SetTextForeground(_swigobj,_swigarg0) (_swigobj->SetTextForeground(_swigarg0))
5850 static PyObject
*_wrap_wxDC_SetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5851 PyObject
* _resultobj
;
5854 PyObject
* _argo0
= 0;
5855 PyObject
* _argo1
= 0;
5856 char *_kwnames
[] = { "self","colour", NULL
};
5859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetTextForeground",_kwnames
,&_argo0
,&_argo1
))
5862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextForeground. Expected _wxDC_p.");
5869 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5870 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
5871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetTextForeground. Expected _wxColour_p.");
5876 wxPy_BEGIN_ALLOW_THREADS
;
5877 wxDC_SetTextForeground(_arg0
,*_arg1
);
5879 wxPy_END_ALLOW_THREADS
;
5880 } Py_INCREF(Py_None
);
5881 _resultobj
= Py_None
;
5885 #define wxDC_SetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetUserScale(_swigarg0,_swigarg1))
5886 static PyObject
*_wrap_wxDC_SetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5887 PyObject
* _resultobj
;
5891 PyObject
* _argo0
= 0;
5892 char *_kwnames
[] = { "self","x_scale","y_scale", NULL
};
5895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxDC_SetUserScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetUserScale. Expected _wxDC_p.");
5905 wxPy_BEGIN_ALLOW_THREADS
;
5906 wxDC_SetUserScale(_arg0
,_arg1
,_arg2
);
5908 wxPy_END_ALLOW_THREADS
;
5909 } Py_INCREF(Py_None
);
5910 _resultobj
= Py_None
;
5914 #define wxDC_StartDoc(_swigobj,_swigarg0) (_swigobj->StartDoc(_swigarg0))
5915 static PyObject
*_wrap_wxDC_StartDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5916 PyObject
* _resultobj
;
5920 PyObject
* _argo0
= 0;
5921 PyObject
* _obj1
= 0;
5922 char *_kwnames
[] = { "self","message", NULL
};
5925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_StartDoc",_kwnames
,&_argo0
,&_obj1
))
5928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartDoc. Expected _wxDC_p.");
5935 if (!PyString_Check(_obj1
)) {
5936 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5939 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5942 wxPy_BEGIN_ALLOW_THREADS
;
5943 _result
= (bool )wxDC_StartDoc(_arg0
,*_arg1
);
5945 wxPy_END_ALLOW_THREADS
;
5946 } _resultobj
= Py_BuildValue("i",_result
);
5954 #define wxDC_StartPage(_swigobj) (_swigobj->StartPage())
5955 static PyObject
*_wrap_wxDC_StartPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5956 PyObject
* _resultobj
;
5958 PyObject
* _argo0
= 0;
5959 char *_kwnames
[] = { "self", NULL
};
5962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_StartPage",_kwnames
,&_argo0
))
5965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartPage. Expected _wxDC_p.");
5972 wxPy_BEGIN_ALLOW_THREADS
;
5973 wxDC_StartPage(_arg0
);
5975 wxPy_END_ALLOW_THREADS
;
5976 } Py_INCREF(Py_None
);
5977 _resultobj
= Py_None
;
5981 #define wxDC_DrawBitmap(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5982 static PyObject
*_wrap_wxDC_DrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5983 PyObject
* _resultobj
;
5988 int _arg4
= (int ) FALSE
;
5989 PyObject
* _argo0
= 0;
5990 PyObject
* _argo1
= 0;
5991 char *_kwnames
[] = { "self","bitmap","x","y","useMask", NULL
};
5994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll|i:wxDC_DrawBitmap",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
))
5997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawBitmap. Expected _wxDC_p.");
6004 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6005 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
6006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawBitmap. Expected _wxBitmap_p.");
6011 wxPy_BEGIN_ALLOW_THREADS
;
6012 wxDC_DrawBitmap(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
6014 wxPy_END_ALLOW_THREADS
;
6015 } Py_INCREF(Py_None
);
6016 _resultobj
= Py_None
;
6020 static void *SwigwxMemoryDCTowxDC(void *ptr
) {
6023 src
= (wxMemoryDC
*) ptr
;
6024 dest
= (wxDC
*) src
;
6025 return (void *) dest
;
6028 #define new_wxMemoryDC() (new wxMemoryDC())
6029 static PyObject
*_wrap_new_wxMemoryDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6030 PyObject
* _resultobj
;
6031 wxMemoryDC
* _result
;
6032 char *_kwnames
[] = { NULL
};
6036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMemoryDC",_kwnames
))
6039 wxPy_BEGIN_ALLOW_THREADS
;
6040 _result
= (wxMemoryDC
*)new_wxMemoryDC();
6042 wxPy_END_ALLOW_THREADS
;
6044 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
6045 _resultobj
= Py_BuildValue("s",_ptemp
);
6048 _resultobj
= Py_None
;
6053 #define wxMemoryDC_SelectObject(_swigobj,_swigarg0) (_swigobj->SelectObject(_swigarg0))
6054 static PyObject
*_wrap_wxMemoryDC_SelectObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6055 PyObject
* _resultobj
;
6058 PyObject
* _argo0
= 0;
6059 PyObject
* _argo1
= 0;
6060 char *_kwnames
[] = { "self","bitmap", NULL
};
6063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMemoryDC_SelectObject",_kwnames
,&_argo0
,&_argo1
))
6066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMemoryDC_p")) {
6068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDC_SelectObject. Expected _wxMemoryDC_p.");
6073 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6074 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
6075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMemoryDC_SelectObject. Expected _wxBitmap_p.");
6080 wxPy_BEGIN_ALLOW_THREADS
;
6081 wxMemoryDC_SelectObject(_arg0
,*_arg1
);
6083 wxPy_END_ALLOW_THREADS
;
6084 } Py_INCREF(Py_None
);
6085 _resultobj
= Py_None
;
6089 static void *SwigwxScreenDCTowxDC(void *ptr
) {
6092 src
= (wxScreenDC
*) ptr
;
6093 dest
= (wxDC
*) src
;
6094 return (void *) dest
;
6097 #define new_wxScreenDC() (new wxScreenDC())
6098 static PyObject
*_wrap_new_wxScreenDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6099 PyObject
* _resultobj
;
6100 wxScreenDC
* _result
;
6101 char *_kwnames
[] = { NULL
};
6105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxScreenDC",_kwnames
))
6108 wxPy_BEGIN_ALLOW_THREADS
;
6109 _result
= (wxScreenDC
*)new_wxScreenDC();
6111 wxPy_END_ALLOW_THREADS
;
6113 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScreenDC_p");
6114 _resultobj
= Py_BuildValue("s",_ptemp
);
6117 _resultobj
= Py_None
;
6122 #define wxScreenDC_StartDrawingOnTop(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
6123 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6124 PyObject
* _resultobj
;
6128 PyObject
* _argo0
= 0;
6129 PyObject
* _argo1
= 0;
6130 char *_kwnames
[] = { "self","window", NULL
};
6133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScreenDC_StartDrawingOnTop",_kwnames
,&_argo0
,&_argo1
))
6136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
6138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTop. Expected _wxScreenDC_p.");
6143 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6144 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScreenDC_StartDrawingOnTop. Expected _wxWindow_p.");
6150 wxPy_BEGIN_ALLOW_THREADS
;
6151 _result
= (bool )wxScreenDC_StartDrawingOnTop(_arg0
,_arg1
);
6153 wxPy_END_ALLOW_THREADS
;
6154 } _resultobj
= Py_BuildValue("i",_result
);
6158 #define wxScreenDC_StartDrawingOnTopRect(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
6159 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTopRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6160 PyObject
* _resultobj
;
6163 wxRect
* _arg1
= (wxRect
*) NULL
;
6164 PyObject
* _argo0
= 0;
6166 PyObject
* _obj1
= 0;
6167 char *_kwnames
[] = { "self","rect", NULL
};
6170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxScreenDC_StartDrawingOnTopRect",_kwnames
,&_argo0
,&_obj1
))
6173 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6174 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
6175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTopRect. Expected _wxScreenDC_p.");
6182 if (! wxRect_helper(_obj1
, &_arg1
))
6186 wxPy_BEGIN_ALLOW_THREADS
;
6187 _result
= (bool )wxScreenDC_StartDrawingOnTopRect(_arg0
,_arg1
);
6189 wxPy_END_ALLOW_THREADS
;
6190 } _resultobj
= Py_BuildValue("i",_result
);
6194 #define wxScreenDC_EndDrawingOnTop(_swigobj) (_swigobj->EndDrawingOnTop())
6195 static PyObject
*_wrap_wxScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6196 PyObject
* _resultobj
;
6199 PyObject
* _argo0
= 0;
6200 char *_kwnames
[] = { "self", NULL
};
6203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScreenDC_EndDrawingOnTop",_kwnames
,&_argo0
))
6206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
6208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_EndDrawingOnTop. Expected _wxScreenDC_p.");
6213 wxPy_BEGIN_ALLOW_THREADS
;
6214 _result
= (bool )wxScreenDC_EndDrawingOnTop(_arg0
);
6216 wxPy_END_ALLOW_THREADS
;
6217 } _resultobj
= Py_BuildValue("i",_result
);
6221 static void *SwigwxClientDCTowxDC(void *ptr
) {
6224 src
= (wxClientDC
*) ptr
;
6225 dest
= (wxDC
*) src
;
6226 return (void *) dest
;
6229 #define new_wxClientDC(_swigarg0) (new wxClientDC(_swigarg0))
6230 static PyObject
*_wrap_new_wxClientDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6231 PyObject
* _resultobj
;
6232 wxClientDC
* _result
;
6234 PyObject
* _argo0
= 0;
6235 char *_kwnames
[] = { "win", NULL
};
6239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxClientDC",_kwnames
,&_argo0
))
6242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxClientDC. Expected _wxWindow_p.");
6249 wxPy_BEGIN_ALLOW_THREADS
;
6250 _result
= (wxClientDC
*)new_wxClientDC(_arg0
);
6252 wxPy_END_ALLOW_THREADS
;
6254 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxClientDC_p");
6255 _resultobj
= Py_BuildValue("s",_ptemp
);
6258 _resultobj
= Py_None
;
6263 static void *SwigwxPaintDCTowxDC(void *ptr
) {
6266 src
= (wxPaintDC
*) ptr
;
6267 dest
= (wxDC
*) src
;
6268 return (void *) dest
;
6271 #define new_wxPaintDC(_swigarg0) (new wxPaintDC(_swigarg0))
6272 static PyObject
*_wrap_new_wxPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6273 PyObject
* _resultobj
;
6274 wxPaintDC
* _result
;
6276 PyObject
* _argo0
= 0;
6277 char *_kwnames
[] = { "win", NULL
};
6281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPaintDC",_kwnames
,&_argo0
))
6284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPaintDC. Expected _wxWindow_p.");
6291 wxPy_BEGIN_ALLOW_THREADS
;
6292 _result
= (wxPaintDC
*)new_wxPaintDC(_arg0
);
6294 wxPy_END_ALLOW_THREADS
;
6296 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPaintDC_p");
6297 _resultobj
= Py_BuildValue("s",_ptemp
);
6300 _resultobj
= Py_None
;
6305 static void *SwigwxWindowDCTowxDC(void *ptr
) {
6308 src
= (wxWindowDC
*) ptr
;
6309 dest
= (wxDC
*) src
;
6310 return (void *) dest
;
6313 #define new_wxWindowDC(_swigarg0) (new wxWindowDC(_swigarg0))
6314 static PyObject
*_wrap_new_wxWindowDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6315 PyObject
* _resultobj
;
6316 wxWindowDC
* _result
;
6318 PyObject
* _argo0
= 0;
6319 char *_kwnames
[] = { "win", NULL
};
6323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxWindowDC",_kwnames
,&_argo0
))
6326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDC. Expected _wxWindow_p.");
6333 wxPy_BEGIN_ALLOW_THREADS
;
6334 _result
= (wxWindowDC
*)new_wxWindowDC(_arg0
);
6336 wxPy_END_ALLOW_THREADS
;
6338 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDC_p");
6339 _resultobj
= Py_BuildValue("s",_ptemp
);
6342 _resultobj
= Py_None
;
6347 static void *SwigwxPrinterDCTowxDC(void *ptr
) {
6350 src
= (wxPrinterDC
*) ptr
;
6351 dest
= (wxDC
*) src
;
6352 return (void *) dest
;
6355 #define new_wxPrinterDC(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxPrinterDC(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6356 static PyObject
*_wrap_new_wxPrinterDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6357 PyObject
* _resultobj
;
6358 wxPrinterDC
* _result
;
6362 bool _arg3
= (bool ) TRUE
;
6363 int _arg4
= (int ) wxPORTRAIT
;
6364 PyObject
* _obj0
= 0;
6365 PyObject
* _obj1
= 0;
6366 PyObject
* _obj2
= 0;
6367 int tempbool3
= (int) TRUE
;
6368 char *_kwnames
[] = { "driver","device","output","interactive","orientation", NULL
};
6372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|ii:new_wxPrinterDC",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&tempbool3
,&_arg4
))
6375 if (!PyString_Check(_obj0
)) {
6376 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6379 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
6382 if (!PyString_Check(_obj1
)) {
6383 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6386 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
6389 if (!PyString_Check(_obj2
)) {
6390 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6393 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6395 _arg3
= (bool ) tempbool3
;
6397 wxPy_BEGIN_ALLOW_THREADS
;
6398 _result
= (wxPrinterDC
*)new_wxPrinterDC(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
6400 wxPy_END_ALLOW_THREADS
;
6402 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrinterDC_p");
6403 _resultobj
= Py_BuildValue("s",_ptemp
);
6406 _resultobj
= Py_None
;
6423 static void *SwigwxMetaFileDCTowxDC(void *ptr
) {
6426 src
= (wxMetaFileDC
*) ptr
;
6427 dest
= (wxDC
*) src
;
6428 return (void *) dest
;
6431 #define new_wxMetaFileDC(_swigarg0) (new wxMetaFileDC(_swigarg0))
6432 static PyObject
*_wrap_new_wxMetaFileDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6433 PyObject
* _resultobj
;
6434 wxMetaFileDC
* _result
;
6435 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
6436 PyObject
* _obj0
= 0;
6437 char *_kwnames
[] = { "filename", NULL
};
6441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxMetaFileDC",_kwnames
,&_obj0
))
6445 if (!PyString_Check(_obj0
)) {
6446 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6449 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
6452 wxPy_BEGIN_ALLOW_THREADS
;
6453 _result
= (wxMetaFileDC
*)new_wxMetaFileDC(*_arg0
);
6455 wxPy_END_ALLOW_THREADS
;
6457 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMetaFileDC_p");
6458 _resultobj
= Py_BuildValue("s",_ptemp
);
6461 _resultobj
= Py_None
;
6470 #define wxMetaFileDC_Close(_swigobj) (_swigobj->Close())
6471 static PyObject
*_wrap_wxMetaFileDC_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6472 PyObject
* _resultobj
;
6473 wxMetaFile
* _result
;
6474 wxMetaFileDC
* _arg0
;
6475 PyObject
* _argo0
= 0;
6476 char *_kwnames
[] = { "self", NULL
};
6480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMetaFileDC_Close",_kwnames
,&_argo0
))
6483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMetaFileDC_p")) {
6485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMetaFileDC_Close. Expected _wxMetaFileDC_p.");
6490 wxPy_BEGIN_ALLOW_THREADS
;
6491 _result
= (wxMetaFile
*)wxMetaFileDC_Close(_arg0
);
6493 wxPy_END_ALLOW_THREADS
;
6495 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMetaFile_p");
6496 _resultobj
= Py_BuildValue("s",_ptemp
);
6499 _resultobj
= Py_None
;
6504 #define new_wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6505 static PyObject
*_wrap_new_wxPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6506 PyObject
* _resultobj
;
6507 wxPalette
* _result
;
6512 PyObject
* _obj1
= 0;
6513 PyObject
* _obj2
= 0;
6514 PyObject
* _obj3
= 0;
6515 char *_kwnames
[] = { "LIST","LIST","LIST", NULL
};
6519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:new_wxPalette",_kwnames
,&_obj1
,&_obj2
,&_obj3
))
6522 _arg1
= byte_LIST_helper(_obj1
);
6523 if (_arg1
== NULL
) {
6528 _arg2
= byte_LIST_helper(_obj2
);
6529 if (_arg2
== NULL
) {
6535 _arg3
= byte_LIST_helper(_obj3
);
6536 if (_arg3
== NULL
) {
6542 _arg0
= PyList_Size(_obj1
);
6549 wxPy_BEGIN_ALLOW_THREADS
;
6550 _result
= (wxPalette
*)new_wxPalette(_arg0
,_arg1
,_arg2
,_arg3
);
6552 wxPy_END_ALLOW_THREADS
;
6554 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
6555 _resultobj
= Py_BuildValue("s",_ptemp
);
6558 _resultobj
= Py_None
;
6572 #define delete_wxPalette(_swigobj) (delete _swigobj)
6573 static PyObject
*_wrap_delete_wxPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6574 PyObject
* _resultobj
;
6576 PyObject
* _argo0
= 0;
6577 char *_kwnames
[] = { "self", NULL
};
6580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPalette",_kwnames
,&_argo0
))
6583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
6585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPalette. Expected _wxPalette_p.");
6590 wxPy_BEGIN_ALLOW_THREADS
;
6591 delete_wxPalette(_arg0
);
6593 wxPy_END_ALLOW_THREADS
;
6594 } Py_INCREF(Py_None
);
6595 _resultobj
= Py_None
;
6599 #define wxPalette_GetPixel(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetPixel(_swigarg0,_swigarg1,_swigarg2))
6600 static PyObject
*_wrap_wxPalette_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6601 PyObject
* _resultobj
;
6607 PyObject
* _argo0
= 0;
6608 char *_kwnames
[] = { "self","red","green","blue", NULL
};
6611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Obbb:wxPalette_GetPixel",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
6614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
6616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetPixel. Expected _wxPalette_p.");
6621 wxPy_BEGIN_ALLOW_THREADS
;
6622 _result
= (int )wxPalette_GetPixel(_arg0
,_arg1
,_arg2
,_arg3
);
6624 wxPy_END_ALLOW_THREADS
;
6625 } _resultobj
= Py_BuildValue("i",_result
);
6629 #define wxPalette_GetRGB(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetRGB(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6630 static PyObject
*_wrap_wxPalette_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6631 PyObject
* _resultobj
;
6638 PyObject
* _argo0
= 0;
6639 PyObject
* _argo2
= 0;
6640 PyObject
* _argo3
= 0;
6641 PyObject
* _argo4
= 0;
6642 char *_kwnames
[] = { "self","pixel","OUTPUT","OUTPUT","OUTPUT", NULL
};
6645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOOO:wxPalette_GetRGB",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_argo4
))
6648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
6650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetRGB. Expected _wxPalette_p.");
6655 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6656 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_byte_p")) {
6657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPalette_GetRGB. Expected _byte_p.");
6662 if (_argo3
== Py_None
) { _arg3
= NULL
; }
6663 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_byte_p")) {
6664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxPalette_GetRGB. Expected _byte_p.");
6669 if (_argo4
== Py_None
) { _arg4
= NULL
; }
6670 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_byte_p")) {
6671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxPalette_GetRGB. Expected _byte_p.");
6676 wxPy_BEGIN_ALLOW_THREADS
;
6677 _result
= (bool )wxPalette_GetRGB(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6679 wxPy_END_ALLOW_THREADS
;
6680 } _resultobj
= Py_BuildValue("i",_result
);
6684 #define wxPalette_Ok(_swigobj) (_swigobj->Ok())
6685 static PyObject
*_wrap_wxPalette_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6686 PyObject
* _resultobj
;
6689 PyObject
* _argo0
= 0;
6690 char *_kwnames
[] = { "self", NULL
};
6693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPalette_Ok",_kwnames
,&_argo0
))
6696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
6698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_Ok. Expected _wxPalette_p.");
6703 wxPy_BEGIN_ALLOW_THREADS
;
6704 _result
= (bool )wxPalette_Ok(_arg0
);
6706 wxPy_END_ALLOW_THREADS
;
6707 } _resultobj
= Py_BuildValue("i",_result
);
6711 #define new_wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6712 static PyObject
*_wrap_new_wxImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6713 PyObject
* _resultobj
;
6714 wxImageList
* _result
;
6717 bool _arg2
= (bool ) TRUE
;
6718 int _arg3
= (int ) 1;
6719 int tempbool2
= (int) TRUE
;
6720 char *_kwnames
[] = { "width","height","mask","initialCount", NULL
};
6724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ii|ii:new_wxImageList",_kwnames
,&_arg0
,&_arg1
,&tempbool2
,&_arg3
))
6726 _arg2
= (bool ) tempbool2
;
6728 wxPy_BEGIN_ALLOW_THREADS
;
6729 _result
= (wxImageList
*)new_wxImageList(_arg0
,_arg1
,_arg2
,_arg3
);
6731 wxPy_END_ALLOW_THREADS
;
6733 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
6734 _resultobj
= Py_BuildValue("s",_ptemp
);
6737 _resultobj
= Py_None
;
6742 #define delete_wxImageList(_swigobj) (delete _swigobj)
6743 static PyObject
*_wrap_delete_wxImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6744 PyObject
* _resultobj
;
6745 wxImageList
* _arg0
;
6746 PyObject
* _argo0
= 0;
6747 char *_kwnames
[] = { "self", NULL
};
6750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxImageList",_kwnames
,&_argo0
))
6753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxImageList. Expected _wxImageList_p.");
6760 wxPy_BEGIN_ALLOW_THREADS
;
6761 delete_wxImageList(_arg0
);
6763 wxPy_END_ALLOW_THREADS
;
6764 } Py_INCREF(Py_None
);
6765 _resultobj
= Py_None
;
6769 #define wxImageList_Add(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
6770 static PyObject
*_wrap_wxImageList_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6771 PyObject
* _resultobj
;
6773 wxImageList
* _arg0
;
6775 wxBitmap
* _arg2
= (wxBitmap
*) &wxNullBitmap
;
6776 PyObject
* _argo0
= 0;
6777 PyObject
* _argo1
= 0;
6778 PyObject
* _argo2
= 0;
6779 char *_kwnames
[] = { "self","bitmap","mask", NULL
};
6782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxImageList_Add",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
6785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Add. Expected _wxImageList_p.");
6792 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6793 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
6794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_Add. Expected _wxBitmap_p.");
6799 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6800 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
6801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Add. Expected _wxBitmap_p.");
6806 wxPy_BEGIN_ALLOW_THREADS
;
6807 _result
= (int )wxImageList_Add(_arg0
,*_arg1
,*_arg2
);
6809 wxPy_END_ALLOW_THREADS
;
6810 } _resultobj
= Py_BuildValue("i",_result
);
6814 #define wxImageList_AddWithColourMask(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
6815 static PyObject
*_wrap_wxImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6816 PyObject
* _resultobj
;
6818 wxImageList
* _arg0
;
6821 PyObject
* _argo0
= 0;
6822 PyObject
* _argo1
= 0;
6823 PyObject
* _argo2
= 0;
6824 char *_kwnames
[] = { "self","bitmap","maskColour", NULL
};
6827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxImageList_AddWithColourMask",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
6830 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6831 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_AddWithColourMask. Expected _wxImageList_p.");
6837 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6838 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
6839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_AddWithColourMask. Expected _wxBitmap_p.");
6844 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6845 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxColour_p")) {
6846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_AddWithColourMask. Expected _wxColour_p.");
6851 wxPy_BEGIN_ALLOW_THREADS
;
6852 _result
= (int )wxImageList_AddWithColourMask(_arg0
,*_arg1
,*_arg2
);
6854 wxPy_END_ALLOW_THREADS
;
6855 } _resultobj
= Py_BuildValue("i",_result
);
6859 #define wxImageList_AddIcon(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
6860 static PyObject
*_wrap_wxImageList_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6861 PyObject
* _resultobj
;
6863 wxImageList
* _arg0
;
6865 PyObject
* _argo0
= 0;
6866 PyObject
* _argo1
= 0;
6867 char *_kwnames
[] = { "self","icon", NULL
};
6870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxImageList_AddIcon",_kwnames
,&_argo0
,&_argo1
))
6873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_AddIcon. Expected _wxImageList_p.");
6880 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6881 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
6882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_AddIcon. Expected _wxIcon_p.");
6887 wxPy_BEGIN_ALLOW_THREADS
;
6888 _result
= (int )wxImageList_AddIcon(_arg0
,*_arg1
);
6890 wxPy_END_ALLOW_THREADS
;
6891 } _resultobj
= Py_BuildValue("i",_result
);
6895 #define wxImageList_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
6896 static PyObject
*_wrap_wxImageList_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6897 PyObject
* _resultobj
;
6899 wxImageList
* _arg0
;
6902 wxBitmap
* _arg3
= (wxBitmap
*) &wxNullBitmap
;
6903 PyObject
* _argo0
= 0;
6904 PyObject
* _argo2
= 0;
6905 PyObject
* _argo3
= 0;
6906 char *_kwnames
[] = { "self","index","bitmap","mask", NULL
};
6909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxImageList_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
))
6912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Replace. Expected _wxImageList_p.");
6919 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6920 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
6921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Replace. Expected _wxBitmap_p.");
6926 if (_argo3
== Py_None
) { _arg3
= NULL
; }
6927 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
6928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxImageList_Replace. Expected _wxBitmap_p.");
6933 wxPy_BEGIN_ALLOW_THREADS
;
6934 _result
= (bool )wxImageList_Replace(_arg0
,_arg1
,*_arg2
,*_arg3
);
6936 wxPy_END_ALLOW_THREADS
;
6937 } _resultobj
= Py_BuildValue("i",_result
);
6941 #define wxImageList_ReplaceIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->Replace(_swigarg0,_swigarg1))
6942 static PyObject
*_wrap_wxImageList_ReplaceIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6943 PyObject
* _resultobj
;
6945 wxImageList
* _arg0
;
6948 PyObject
* _argo0
= 0;
6949 PyObject
* _argo2
= 0;
6950 char *_kwnames
[] = { "self","index","icon", NULL
};
6953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxImageList_ReplaceIcon",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
6956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_ReplaceIcon. Expected _wxImageList_p.");
6963 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6964 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxIcon_p")) {
6965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_ReplaceIcon. Expected _wxIcon_p.");
6970 wxPy_BEGIN_ALLOW_THREADS
;
6971 _result
= (bool )wxImageList_ReplaceIcon(_arg0
,_arg1
,*_arg2
);
6973 wxPy_END_ALLOW_THREADS
;
6974 } _resultobj
= Py_BuildValue("i",_result
);
6978 #define wxImageList_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6979 static PyObject
*_wrap_wxImageList_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6980 PyObject
* _resultobj
;
6982 wxImageList
* _arg0
;
6987 int _arg5
= (int ) (wxIMAGELIST_DRAW_NORMAL
);
6988 bool _arg6
= (bool ) FALSE
;
6989 PyObject
* _argo0
= 0;
6990 PyObject
* _argo2
= 0;
6991 int tempbool6
= (int) FALSE
;
6992 char *_kwnames
[] = { "self","index","dc","x","x","flags","solidBackground", NULL
};
6995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOii|ii:wxImageList_Draw",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
6998 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6999 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
7000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Draw. Expected _wxImageList_p.");
7005 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7006 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDC_p")) {
7007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Draw. Expected _wxDC_p.");
7011 _arg6
= (bool ) tempbool6
;
7013 wxPy_BEGIN_ALLOW_THREADS
;
7014 _result
= (bool )wxImageList_Draw(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
7016 wxPy_END_ALLOW_THREADS
;
7017 } _resultobj
= Py_BuildValue("i",_result
);
7021 #define wxImageList_GetImageCount(_swigobj) (_swigobj->GetImageCount())
7022 static PyObject
*_wrap_wxImageList_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7023 PyObject
* _resultobj
;
7025 wxImageList
* _arg0
;
7026 PyObject
* _argo0
= 0;
7027 char *_kwnames
[] = { "self", NULL
};
7030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImageList_GetImageCount",_kwnames
,&_argo0
))
7033 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7034 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
7035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_GetImageCount. Expected _wxImageList_p.");
7040 wxPy_BEGIN_ALLOW_THREADS
;
7041 _result
= (int )wxImageList_GetImageCount(_arg0
);
7043 wxPy_END_ALLOW_THREADS
;
7044 } _resultobj
= Py_BuildValue("i",_result
);
7048 #define wxImageList_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
7049 static PyObject
*_wrap_wxImageList_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7050 PyObject
* _resultobj
;
7052 wxImageList
* _arg0
;
7054 PyObject
* _argo0
= 0;
7055 char *_kwnames
[] = { "self","index", NULL
};
7058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxImageList_Remove",_kwnames
,&_argo0
,&_arg1
))
7061 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7062 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
7063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Remove. Expected _wxImageList_p.");
7068 wxPy_BEGIN_ALLOW_THREADS
;
7069 _result
= (bool )wxImageList_Remove(_arg0
,_arg1
);
7071 wxPy_END_ALLOW_THREADS
;
7072 } _resultobj
= Py_BuildValue("i",_result
);
7076 #define wxImageList_RemoveAll(_swigobj) (_swigobj->RemoveAll())
7077 static PyObject
*_wrap_wxImageList_RemoveAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7078 PyObject
* _resultobj
;
7080 wxImageList
* _arg0
;
7081 PyObject
* _argo0
= 0;
7082 char *_kwnames
[] = { "self", NULL
};
7085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImageList_RemoveAll",_kwnames
,&_argo0
))
7088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
7090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_RemoveAll. Expected _wxImageList_p.");
7095 wxPy_BEGIN_ALLOW_THREADS
;
7096 _result
= (bool )wxImageList_RemoveAll(_arg0
);
7098 wxPy_END_ALLOW_THREADS
;
7099 } _resultobj
= Py_BuildValue("i",_result
);
7103 static PyMethodDef gdicMethods
[] = {
7104 { "wxImageList_RemoveAll", (PyCFunction
) _wrap_wxImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
},
7105 { "wxImageList_Remove", (PyCFunction
) _wrap_wxImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
},
7106 { "wxImageList_GetImageCount", (PyCFunction
) _wrap_wxImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
7107 { "wxImageList_Draw", (PyCFunction
) _wrap_wxImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
},
7108 { "wxImageList_ReplaceIcon", (PyCFunction
) _wrap_wxImageList_ReplaceIcon
, METH_VARARGS
| METH_KEYWORDS
},
7109 { "wxImageList_Replace", (PyCFunction
) _wrap_wxImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
},
7110 { "wxImageList_AddIcon", (PyCFunction
) _wrap_wxImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
7111 { "wxImageList_AddWithColourMask", (PyCFunction
) _wrap_wxImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
},
7112 { "wxImageList_Add", (PyCFunction
) _wrap_wxImageList_Add
, METH_VARARGS
| METH_KEYWORDS
},
7113 { "delete_wxImageList", (PyCFunction
) _wrap_delete_wxImageList
, METH_VARARGS
| METH_KEYWORDS
},
7114 { "new_wxImageList", (PyCFunction
) _wrap_new_wxImageList
, METH_VARARGS
| METH_KEYWORDS
},
7115 { "wxPalette_Ok", (PyCFunction
) _wrap_wxPalette_Ok
, METH_VARARGS
| METH_KEYWORDS
},
7116 { "wxPalette_GetRGB", (PyCFunction
) _wrap_wxPalette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
7117 { "wxPalette_GetPixel", (PyCFunction
) _wrap_wxPalette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
7118 { "delete_wxPalette", (PyCFunction
) _wrap_delete_wxPalette
, METH_VARARGS
| METH_KEYWORDS
},
7119 { "new_wxPalette", (PyCFunction
) _wrap_new_wxPalette
, METH_VARARGS
| METH_KEYWORDS
},
7120 { "wxMetaFileDC_Close", (PyCFunction
) _wrap_wxMetaFileDC_Close
, METH_VARARGS
| METH_KEYWORDS
},
7121 { "new_wxMetaFileDC", (PyCFunction
) _wrap_new_wxMetaFileDC
, METH_VARARGS
| METH_KEYWORDS
},
7122 { "new_wxPrinterDC", (PyCFunction
) _wrap_new_wxPrinterDC
, METH_VARARGS
| METH_KEYWORDS
},
7123 { "new_wxWindowDC", (PyCFunction
) _wrap_new_wxWindowDC
, METH_VARARGS
| METH_KEYWORDS
},
7124 { "new_wxPaintDC", (PyCFunction
) _wrap_new_wxPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
7125 { "new_wxClientDC", (PyCFunction
) _wrap_new_wxClientDC
, METH_VARARGS
| METH_KEYWORDS
},
7126 { "wxScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_wxScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
7127 { "wxScreenDC_StartDrawingOnTopRect", (PyCFunction
) _wrap_wxScreenDC_StartDrawingOnTopRect
, METH_VARARGS
| METH_KEYWORDS
},
7128 { "wxScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_wxScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
7129 { "new_wxScreenDC", (PyCFunction
) _wrap_new_wxScreenDC
, METH_VARARGS
| METH_KEYWORDS
},
7130 { "wxMemoryDC_SelectObject", (PyCFunction
) _wrap_wxMemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
},
7131 { "new_wxMemoryDC", (PyCFunction
) _wrap_new_wxMemoryDC
, METH_VARARGS
| METH_KEYWORDS
},
7132 { "wxDC_DrawBitmap", (PyCFunction
) _wrap_wxDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
7133 { "wxDC_StartPage", (PyCFunction
) _wrap_wxDC_StartPage
, METH_VARARGS
| METH_KEYWORDS
},
7134 { "wxDC_StartDoc", (PyCFunction
) _wrap_wxDC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
},
7135 { "wxDC_SetUserScale", (PyCFunction
) _wrap_wxDC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
7136 { "wxDC_SetTextForeground", (PyCFunction
) _wrap_wxDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
7137 { "wxDC_SetTextBackground", (PyCFunction
) _wrap_wxDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
7138 { "wxDC_SetPen", (PyCFunction
) _wrap_wxDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
7139 { "wxDC_SetOptimization", (PyCFunction
) _wrap_wxDC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
7140 { "wxDC_SetMapMode", (PyCFunction
) _wrap_wxDC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
7141 { "wxDC_SetLogicalFunction", (PyCFunction
) _wrap_wxDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
7142 { "wxDC_SetFont", (PyCFunction
) _wrap_wxDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
7143 { "wxDC_SetBrush", (PyCFunction
) _wrap_wxDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
7144 { "wxDC_SetPalette", (PyCFunction
) _wrap_wxDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
7145 { "wxDC_SetClippingRegion", (PyCFunction
) _wrap_wxDC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
7146 { "wxDC_SetBackgroundMode", (PyCFunction
) _wrap_wxDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
7147 { "wxDC_SetBackground", (PyCFunction
) _wrap_wxDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
},
7148 { "wxDC_SetDeviceOrigin", (PyCFunction
) _wrap_wxDC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
7149 { "wxDC_Ok", (PyCFunction
) _wrap_wxDC_Ok
, METH_VARARGS
| METH_KEYWORDS
},
7150 { "wxDC_MinY", (PyCFunction
) _wrap_wxDC_MinY
, METH_VARARGS
| METH_KEYWORDS
},
7151 { "wxDC_MinX", (PyCFunction
) _wrap_wxDC_MinX
, METH_VARARGS
| METH_KEYWORDS
},
7152 { "wxDC_MaxY", (PyCFunction
) _wrap_wxDC_MaxY
, METH_VARARGS
| METH_KEYWORDS
},
7153 { "wxDC_MaxX", (PyCFunction
) _wrap_wxDC_MaxX
, METH_VARARGS
| METH_KEYWORDS
},
7154 { "wxDC_LogicalToDeviceYRel", (PyCFunction
) _wrap_wxDC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
},
7155 { "wxDC_LogicalToDeviceY", (PyCFunction
) _wrap_wxDC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
},
7156 { "wxDC_LogicalToDeviceXRel", (PyCFunction
) _wrap_wxDC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
},
7157 { "wxDC_LogicalToDeviceX", (PyCFunction
) _wrap_wxDC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
},
7158 { "wxDC_GetTextForeground", (PyCFunction
) _wrap_wxDC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
7159 { "wxDC_GetFullTextExtent", (PyCFunction
) _wrap_wxDC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
7160 { "wxDC_GetTextExtent", (PyCFunction
) _wrap_wxDC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
7161 { "wxDC_GetTextBackground", (PyCFunction
) _wrap_wxDC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
7162 { "wxDC_GetSize", (PyCFunction
) _wrap_wxDC_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
7163 { "wxDC_GetSizeTuple", (PyCFunction
) _wrap_wxDC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
7164 { "wxDC_GetPixel", (PyCFunction
) _wrap_wxDC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
7165 { "wxDC_GetPen", (PyCFunction
) _wrap_wxDC_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
7166 { "wxDC_GetOptimization", (PyCFunction
) _wrap_wxDC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
7167 { "wxDC_GetMapMode", (PyCFunction
) _wrap_wxDC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
7168 { "wxDC_GetLogicalFunction", (PyCFunction
) _wrap_wxDC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
7169 { "wxDC_GetFont", (PyCFunction
) _wrap_wxDC_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
7170 { "wxDC_GetClippingBox", (PyCFunction
) _wrap_wxDC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
},
7171 { "wxDC_GetCharWidth", (PyCFunction
) _wrap_wxDC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
7172 { "wxDC_GetCharHeight", (PyCFunction
) _wrap_wxDC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
7173 { "wxDC_GetBrush", (PyCFunction
) _wrap_wxDC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
7174 { "wxDC_GetBackground", (PyCFunction
) _wrap_wxDC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
},
7175 { "wxDC_FloodFill", (PyCFunction
) _wrap_wxDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
},
7176 { "wxDC_EndPage", (PyCFunction
) _wrap_wxDC_EndPage
, METH_VARARGS
| METH_KEYWORDS
},
7177 { "wxDC_EndDrawing", (PyCFunction
) _wrap_wxDC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
},
7178 { "wxDC_EndDoc", (PyCFunction
) _wrap_wxDC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
},
7179 { "wxDC_DrawText", (PyCFunction
) _wrap_wxDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
7180 { "wxDC_DrawSpline", (PyCFunction
) _wrap_wxDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
7181 { "wxDC_DrawRoundedRectangle", (PyCFunction
) _wrap_wxDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
7182 { "wxDC_DrawRectangle", (PyCFunction
) _wrap_wxDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
7183 { "wxDC_DrawPoint", (PyCFunction
) _wrap_wxDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
7184 { "wxDC_DrawPolygon", (PyCFunction
) _wrap_wxDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
7185 { "wxDC_DrawLines", (PyCFunction
) _wrap_wxDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
7186 { "wxDC_DrawLine", (PyCFunction
) _wrap_wxDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
7187 { "wxDC_DrawIcon", (PyCFunction
) _wrap_wxDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
},
7188 { "wxDC_DrawEllipticArc", (PyCFunction
) _wrap_wxDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
7189 { "wxDC_DrawEllipse", (PyCFunction
) _wrap_wxDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
7190 { "wxDC_DrawCircle", (PyCFunction
) _wrap_wxDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
},
7191 { "wxDC_DrawArc", (PyCFunction
) _wrap_wxDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
7192 { "wxDC_DeviceToLogicalYRel", (PyCFunction
) _wrap_wxDC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
},
7193 { "wxDC_DeviceToLogicalY", (PyCFunction
) _wrap_wxDC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
},
7194 { "wxDC_DeviceToLogicalXRel", (PyCFunction
) _wrap_wxDC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
},
7195 { "wxDC_DeviceToLogicalX", (PyCFunction
) _wrap_wxDC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
},
7196 { "wxDC_DestroyClippingRegion", (PyCFunction
) _wrap_wxDC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
7197 { "wxDC_CrossHair", (PyCFunction
) _wrap_wxDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
},
7198 { "wxDC_Clear", (PyCFunction
) _wrap_wxDC_Clear
, METH_VARARGS
| METH_KEYWORDS
},
7199 { "wxDC_Blit", (PyCFunction
) _wrap_wxDC_Blit
, METH_VARARGS
| METH_KEYWORDS
},
7200 { "wxDC_BeginDrawing", (PyCFunction
) _wrap_wxDC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
},
7201 { "delete_wxDC", (PyCFunction
) _wrap_delete_wxDC
, METH_VARARGS
| METH_KEYWORDS
},
7202 { "wxBrush_SetStyle", (PyCFunction
) _wrap_wxBrush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
7203 { "wxBrush_SetStipple", (PyCFunction
) _wrap_wxBrush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
7204 { "wxBrush_SetColour", (PyCFunction
) _wrap_wxBrush_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
7205 { "wxBrush_Ok", (PyCFunction
) _wrap_wxBrush_Ok
, METH_VARARGS
| METH_KEYWORDS
},
7206 { "wxBrush_GetStyle", (PyCFunction
) _wrap_wxBrush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
7207 { "wxBrush_GetStipple", (PyCFunction
) _wrap_wxBrush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
7208 { "wxBrush_GetColour", (PyCFunction
) _wrap_wxBrush_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
7209 { "new_wxBrush", (PyCFunction
) _wrap_new_wxBrush
, METH_VARARGS
| METH_KEYWORDS
},
7210 { "wxPen_SetStipple", (PyCFunction
) _wrap_wxPen_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
7211 { "wxPen_SetDashes", (PyCFunction
) _wrap_wxPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
7212 { "wxPen_GetStipple", (PyCFunction
) _wrap_wxPen_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
7213 { "wxPen_GetDashes", (PyCFunction
) _wrap_wxPen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
},
7214 { "wxPen_SetWidth", (PyCFunction
) _wrap_wxPen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
7215 { "wxPen_SetStyle", (PyCFunction
) _wrap_wxPen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
7216 { "wxPen_SetJoin", (PyCFunction
) _wrap_wxPen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
},
7217 { "wxPen_SetColour", (PyCFunction
) _wrap_wxPen_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
7218 { "wxPen_SetCap", (PyCFunction
) _wrap_wxPen_SetCap
, METH_VARARGS
| METH_KEYWORDS
},
7219 { "wxPen_Ok", (PyCFunction
) _wrap_wxPen_Ok
, METH_VARARGS
| METH_KEYWORDS
},
7220 { "wxPen_GetWidth", (PyCFunction
) _wrap_wxPen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
7221 { "wxPen_GetStyle", (PyCFunction
) _wrap_wxPen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
7222 { "wxPen_GetJoin", (PyCFunction
) _wrap_wxPen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
},
7223 { "wxPen_GetColour", (PyCFunction
) _wrap_wxPen_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
7224 { "wxPen_GetCap", (PyCFunction
) _wrap_wxPen_GetCap
, METH_VARARGS
| METH_KEYWORDS
},
7225 { "new_wxPen", (PyCFunction
) _wrap_new_wxPen
, METH_VARARGS
| METH_KEYWORDS
},
7226 { "wxColour_Get", (PyCFunction
) _wrap_wxColour_Get
, METH_VARARGS
| METH_KEYWORDS
},
7227 { "wxColour_Set", (PyCFunction
) _wrap_wxColour_Set
, METH_VARARGS
| METH_KEYWORDS
},
7228 { "wxColour_Ok", (PyCFunction
) _wrap_wxColour_Ok
, METH_VARARGS
| METH_KEYWORDS
},
7229 { "wxColour_Blue", (PyCFunction
) _wrap_wxColour_Blue
, METH_VARARGS
| METH_KEYWORDS
},
7230 { "wxColour_Green", (PyCFunction
) _wrap_wxColour_Green
, METH_VARARGS
| METH_KEYWORDS
},
7231 { "wxColour_Red", (PyCFunction
) _wrap_wxColour_Red
, METH_VARARGS
| METH_KEYWORDS
},
7232 { "delete_wxColour", (PyCFunction
) _wrap_delete_wxColour
, METH_VARARGS
| METH_KEYWORDS
},
7233 { "new_wxColour", (PyCFunction
) _wrap_new_wxColour
, METH_VARARGS
| METH_KEYWORDS
},
7234 { "wxFont_GetWeightString", (PyCFunction
) _wrap_wxFont_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
},
7235 { "wxFont_GetStyleString", (PyCFunction
) _wrap_wxFont_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
},
7236 { "wxFont_GetFamilyString", (PyCFunction
) _wrap_wxFont_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
},
7237 { "wxFont_SetEncoding", (PyCFunction
) _wrap_wxFont_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
7238 { "wxFont_SetWeight", (PyCFunction
) _wrap_wxFont_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
7239 { "wxFont_SetUnderlined", (PyCFunction
) _wrap_wxFont_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
7240 { "wxFont_SetStyle", (PyCFunction
) _wrap_wxFont_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
7241 { "wxFont_SetPointSize", (PyCFunction
) _wrap_wxFont_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
7242 { "wxFont_SetFamily", (PyCFunction
) _wrap_wxFont_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
7243 { "wxFont_SetFaceName", (PyCFunction
) _wrap_wxFont_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
7244 { "wxFont_GetEncoding", (PyCFunction
) _wrap_wxFont_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
7245 { "wxFont_GetWeight", (PyCFunction
) _wrap_wxFont_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
7246 { "wxFont_GetUnderlined", (PyCFunction
) _wrap_wxFont_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
7247 { "wxFont_GetStyle", (PyCFunction
) _wrap_wxFont_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
7248 { "wxFont_GetPointSize", (PyCFunction
) _wrap_wxFont_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
7249 { "wxFont_GetFontId", (PyCFunction
) _wrap_wxFont_GetFontId
, METH_VARARGS
| METH_KEYWORDS
},
7250 { "wxFont_GetFamily", (PyCFunction
) _wrap_wxFont_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
7251 { "wxFont_GetFaceName", (PyCFunction
) _wrap_wxFont_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
7252 { "new_wxFont", (PyCFunction
) _wrap_new_wxFont
, METH_VARARGS
| METH_KEYWORDS
},
7253 { "wxCursor_Ok", (PyCFunction
) _wrap_wxCursor_Ok
, METH_VARARGS
| METH_KEYWORDS
},
7254 { "delete_wxCursor", (PyCFunction
) _wrap_delete_wxCursor
, METH_VARARGS
| METH_KEYWORDS
},
7255 { "new_wxCursor", (PyCFunction
) _wrap_new_wxCursor
, METH_VARARGS
| METH_KEYWORDS
},
7256 { "wxIcon_SetWidth", (PyCFunction
) _wrap_wxIcon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
7257 { "wxIcon_SetHeight", (PyCFunction
) _wrap_wxIcon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
7258 { "wxIcon_SetDepth", (PyCFunction
) _wrap_wxIcon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
7259 { "wxIcon_Ok", (PyCFunction
) _wrap_wxIcon_Ok
, METH_VARARGS
| METH_KEYWORDS
},
7260 { "wxIcon_LoadFile", (PyCFunction
) _wrap_wxIcon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
7261 { "wxIcon_GetWidth", (PyCFunction
) _wrap_wxIcon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
7262 { "wxIcon_GetHeight", (PyCFunction
) _wrap_wxIcon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
7263 { "wxIcon_GetDepth", (PyCFunction
) _wrap_wxIcon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
7264 { "delete_wxIcon", (PyCFunction
) _wrap_delete_wxIcon
, METH_VARARGS
| METH_KEYWORDS
},
7265 { "new_wxIcon", (PyCFunction
) _wrap_new_wxIcon
, METH_VARARGS
| METH_KEYWORDS
},
7266 { "delete_wxMask", (PyCFunction
) _wrap_delete_wxMask
, METH_VARARGS
| METH_KEYWORDS
},
7267 { "new_wxMask", (PyCFunction
) _wrap_new_wxMask
, METH_VARARGS
| METH_KEYWORDS
},
7268 { "wxBitmap_SetWidth", (PyCFunction
) _wrap_wxBitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
7269 { "wxBitmap_SetPalette", (PyCFunction
) _wrap_wxBitmap_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
7270 { "wxBitmap_SetMask", (PyCFunction
) _wrap_wxBitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
7271 { "wxBitmap_SetHeight", (PyCFunction
) _wrap_wxBitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
7272 { "wxBitmap_SetDepth", (PyCFunction
) _wrap_wxBitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
7273 { "wxBitmap_SaveFile", (PyCFunction
) _wrap_wxBitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
7274 { "wxBitmap_Ok", (PyCFunction
) _wrap_wxBitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
},
7275 { "wxBitmap_LoadFile", (PyCFunction
) _wrap_wxBitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
7276 { "wxBitmap_GetWidth", (PyCFunction
) _wrap_wxBitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
7277 { "wxBitmap_GetMask", (PyCFunction
) _wrap_wxBitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
7278 { "wxBitmap_GetPalette", (PyCFunction
) _wrap_wxBitmap_GetPalette
, METH_VARARGS
| METH_KEYWORDS
},
7279 { "wxBitmap_GetHeight", (PyCFunction
) _wrap_wxBitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
7280 { "wxBitmap_GetDepth", (PyCFunction
) _wrap_wxBitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
7281 { "wxBitmap_Create", (PyCFunction
) _wrap_wxBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
7282 { "delete_wxBitmap", (PyCFunction
) _wrap_delete_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
7283 { "new_wxBitmap", (PyCFunction
) _wrap_new_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
7284 { "wxMemoryDCFromDC", (PyCFunction
) _wrap_wxMemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
},
7285 { "wxNamedColour", (PyCFunction
) _wrap_wxNamedColour
, METH_VARARGS
| METH_KEYWORDS
},
7286 { "wxFont_SetDefaultEncoding", (PyCFunction
) _wrap_wxFont_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
7287 { "wxFont_GetDefaultEncoding", (PyCFunction
) _wrap_wxFont_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
7288 { "wxStockCursor", (PyCFunction
) _wrap_wxStockCursor
, METH_VARARGS
| METH_KEYWORDS
},
7289 { "wxMaskColour", (PyCFunction
) _wrap_wxMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
7290 { "wxBitmapFromData", (PyCFunction
) _wrap_wxBitmapFromData
, METH_VARARGS
| METH_KEYWORDS
},
7291 { "wxNoRefBitmap", (PyCFunction
) _wrap_wxNoRefBitmap
, METH_VARARGS
| METH_KEYWORDS
},
7292 { "wxEmptyBitmap", (PyCFunction
) _wrap_wxEmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
},
7299 * This table is used by the pointer type-checker
7301 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
7302 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
7303 { "_signed_long","_long",0},
7304 { "_wxPrintQuality","_int",0},
7305 { "_wxPrintQuality","_signed_int",0},
7306 { "_wxPrintQuality","_unsigned_int",0},
7307 { "_wxPrintQuality","_wxWindowID",0},
7308 { "_wxPrintQuality","_uint",0},
7309 { "_wxPrintQuality","_EBool",0},
7310 { "_wxPrintQuality","_size_t",0},
7311 { "_class_wxRegionIterator","_wxRegionIterator",0},
7312 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
7313 { "_wxCursor","_class_wxCursor",0},
7314 { "_wxMask","_class_wxMask",0},
7315 { "_wxPen","_class_wxPen",0},
7316 { "_byte","_unsigned_char",0},
7317 { "_long","_wxDash",0},
7318 { "_long","_unsigned_long",0},
7319 { "_long","_signed_long",0},
7320 { "_wxImageList","_class_wxImageList",0},
7321 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
7322 { "_wxDC","_class_wxMetaFileDC",SwigwxMetaFileDCTowxDC
},
7323 { "_wxDC","_wxMetaFileDC",SwigwxMetaFileDCTowxDC
},
7324 { "_wxDC","_class_wxPrinterDC",SwigwxPrinterDCTowxDC
},
7325 { "_wxDC","_wxPrinterDC",SwigwxPrinterDCTowxDC
},
7326 { "_wxDC","_class_wxWindowDC",SwigwxWindowDCTowxDC
},
7327 { "_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC
},
7328 { "_wxDC","_class_wxPaintDC",SwigwxPaintDCTowxDC
},
7329 { "_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
},
7330 { "_wxDC","_class_wxClientDC",SwigwxClientDCTowxDC
},
7331 { "_wxDC","_wxClientDC",SwigwxClientDCTowxDC
},
7332 { "_wxDC","_class_wxScreenDC",SwigwxScreenDCTowxDC
},
7333 { "_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
},
7334 { "_wxDC","_class_wxMemoryDC",SwigwxMemoryDCTowxDC
},
7335 { "_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
},
7336 { "_wxDC","_class_wxDC",0},
7337 { "_size_t","_wxPrintQuality",0},
7338 { "_size_t","_unsigned_int",0},
7339 { "_size_t","_int",0},
7340 { "_size_t","_wxWindowID",0},
7341 { "_size_t","_uint",0},
7342 { "_class_wxRealPoint","_wxRealPoint",0},
7343 { "_wxPrinterDC","_class_wxPrinterDC",0},
7344 { "_class_wxMask","_wxMask",0},
7345 { "_wxColour","_class_wxColour",0},
7346 { "_wxBrush","_class_wxBrush",0},
7347 { "_uint","_wxPrintQuality",0},
7348 { "_uint","_size_t",0},
7349 { "_uint","_unsigned_int",0},
7350 { "_uint","_int",0},
7351 { "_uint","_wxWindowID",0},
7352 { "_wxRect","_class_wxRect",0},
7353 { "_wxPoint","_class_wxPoint",0},
7354 { "_wxBitmap","_class_wxCursor",SwigwxCursorTowxBitmap
},
7355 { "_wxBitmap","_wxCursor",SwigwxCursorTowxBitmap
},
7356 { "_wxBitmap","_class_wxIcon",SwigwxIconTowxBitmap
},
7357 { "_wxBitmap","_wxIcon",SwigwxIconTowxBitmap
},
7358 { "_wxBitmap","_class_wxBitmap",0},
7359 { "_wxPyTimer","_class_wxPyTimer",0},
7360 { "_wxWindowDC","_class_wxWindowDC",0},
7361 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
7362 { "_EBool","_wxPrintQuality",0},
7363 { "_EBool","_signed_int",0},
7364 { "_EBool","_int",0},
7365 { "_EBool","_wxWindowID",0},
7366 { "_class_wxRegion","_wxRegion",0},
7367 { "_wxFont","_class_wxFont",0},
7368 { "_unsigned_long","_wxDash",0},
7369 { "_unsigned_long","_long",0},
7370 { "_class_wxRect","_wxRect",0},
7371 { "_class_wxDC","_class_wxMetaFileDC",SwigwxMetaFileDCTowxDC
},
7372 { "_class_wxDC","_wxMetaFileDC",SwigwxMetaFileDCTowxDC
},
7373 { "_class_wxDC","_class_wxPrinterDC",SwigwxPrinterDCTowxDC
},
7374 { "_class_wxDC","_wxPrinterDC",SwigwxPrinterDCTowxDC
},
7375 { "_class_wxDC","_class_wxWindowDC",SwigwxWindowDCTowxDC
},
7376 { "_class_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC
},
7377 { "_class_wxDC","_class_wxPaintDC",SwigwxPaintDCTowxDC
},
7378 { "_class_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
},
7379 { "_class_wxDC","_class_wxClientDC",SwigwxClientDCTowxDC
},
7380 { "_class_wxDC","_wxClientDC",SwigwxClientDCTowxDC
},
7381 { "_class_wxDC","_class_wxScreenDC",SwigwxScreenDCTowxDC
},
7382 { "_class_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
},
7383 { "_class_wxDC","_class_wxMemoryDC",SwigwxMemoryDCTowxDC
},
7384 { "_class_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
},
7385 { "_class_wxDC","_wxDC",0},
7386 { "_class_wxPyTimer","_wxPyTimer",0},
7387 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
7388 { "_signed_int","_wxPrintQuality",0},
7389 { "_signed_int","_EBool",0},
7390 { "_signed_int","_wxWindowID",0},
7391 { "_signed_int","_int",0},
7392 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
7393 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
7394 { "_wxScreenDC","_class_wxScreenDC",0},
7395 { "_WXTYPE","_short",0},
7396 { "_WXTYPE","_signed_short",0},
7397 { "_WXTYPE","_unsigned_short",0},
7398 { "_class_wxBrush","_wxBrush",0},
7399 { "_unsigned_short","_WXTYPE",0},
7400 { "_unsigned_short","_short",0},
7401 { "_class_wxFont","_wxFont",0},
7402 { "_wxClientDC","_class_wxClientDC",0},
7403 { "_class_wxPoint","_wxPoint",0},
7404 { "_wxRealPoint","_class_wxRealPoint",0},
7405 { "_signed_short","_WXTYPE",0},
7406 { "_signed_short","_short",0},
7407 { "_wxMemoryDC","_class_wxMemoryDC",0},
7408 { "_wxPaintDC","_class_wxPaintDC",0},
7409 { "_class_wxWindowDC","_wxWindowDC",0},
7410 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
7411 { "_class_wxCursor","_wxCursor",0},
7412 { "_unsigned_char","_byte",0},
7413 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
7414 { "_unsigned_int","_wxPrintQuality",0},
7415 { "_unsigned_int","_size_t",0},
7416 { "_unsigned_int","_uint",0},
7417 { "_unsigned_int","_wxWindowID",0},
7418 { "_unsigned_int","_int",0},
7419 { "_wxIcon","_class_wxIcon",0},
7420 { "_class_wxPen","_wxPen",0},
7421 { "_short","_WXTYPE",0},
7422 { "_short","_unsigned_short",0},
7423 { "_short","_signed_short",0},
7424 { "_class_wxImageList","_wxImageList",0},
7425 { "_wxWindowID","_wxPrintQuality",0},
7426 { "_wxWindowID","_size_t",0},
7427 { "_wxWindowID","_EBool",0},
7428 { "_wxWindowID","_uint",0},
7429 { "_wxWindowID","_int",0},
7430 { "_wxWindowID","_signed_int",0},
7431 { "_wxWindowID","_unsigned_int",0},
7432 { "_int","_wxPrintQuality",0},
7433 { "_int","_size_t",0},
7434 { "_int","_EBool",0},
7435 { "_int","_uint",0},
7436 { "_int","_wxWindowID",0},
7437 { "_int","_unsigned_int",0},
7438 { "_int","_signed_int",0},
7439 { "_wxSize","_class_wxSize",0},
7440 { "_wxRegionIterator","_class_wxRegionIterator",0},
7441 { "_class_wxPrinterDC","_wxPrinterDC",0},
7442 { "_class_wxPaintDC","_wxPaintDC",0},
7443 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
7444 { "_class_wxIcon","_wxIcon",0},
7445 { "_class_wxColour","_wxColour",0},
7446 { "_class_wxScreenDC","_wxScreenDC",0},
7447 { "_wxPalette","_class_wxPalette",0},
7448 { "_wxRegion","_class_wxRegion",0},
7449 { "_class_wxClientDC","_wxClientDC",0},
7450 { "_class_wxSize","_wxSize",0},
7451 { "_class_wxBitmap","_class_wxCursor",SwigwxCursorTowxBitmap
},
7452 { "_class_wxBitmap","_wxCursor",SwigwxCursorTowxBitmap
},
7453 { "_class_wxBitmap","_class_wxIcon",SwigwxIconTowxBitmap
},
7454 { "_class_wxBitmap","_wxIcon",SwigwxIconTowxBitmap
},
7455 { "_class_wxBitmap","_wxBitmap",0},
7456 { "_class_wxMemoryDC","_wxMemoryDC",0},
7457 { "_wxDash","_unsigned_long",0},
7458 { "_wxDash","_long",0},
7459 { "_class_wxPalette","_wxPalette",0},
7462 static PyObject
*SWIG_globals
;
7466 SWIGEXPORT(void) initgdic() {
7468 SWIG_globals
= SWIG_newvarlink();
7469 m
= Py_InitModule("gdic", gdicMethods
);
7470 d
= PyModule_GetDict(m
);
7471 PyDict_SetItemString(d
,"wxFONTENCODING_SYSTEM", PyInt_FromLong((long) wxFONTENCODING_SYSTEM
));
7472 PyDict_SetItemString(d
,"wxFONTENCODING_DEFAULT", PyInt_FromLong((long) wxFONTENCODING_DEFAULT
));
7473 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_1", PyInt_FromLong((long) wxFONTENCODING_ISO8859_1
));
7474 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_2", PyInt_FromLong((long) wxFONTENCODING_ISO8859_2
));
7475 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_3", PyInt_FromLong((long) wxFONTENCODING_ISO8859_3
));
7476 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_4", PyInt_FromLong((long) wxFONTENCODING_ISO8859_4
));
7477 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_5", PyInt_FromLong((long) wxFONTENCODING_ISO8859_5
));
7478 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_6", PyInt_FromLong((long) wxFONTENCODING_ISO8859_6
));
7479 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_7", PyInt_FromLong((long) wxFONTENCODING_ISO8859_7
));
7480 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_8", PyInt_FromLong((long) wxFONTENCODING_ISO8859_8
));
7481 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_9", PyInt_FromLong((long) wxFONTENCODING_ISO8859_9
));
7482 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_10", PyInt_FromLong((long) wxFONTENCODING_ISO8859_10
));
7483 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_11", PyInt_FromLong((long) wxFONTENCODING_ISO8859_11
));
7484 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_12", PyInt_FromLong((long) wxFONTENCODING_ISO8859_12
));
7485 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_13", PyInt_FromLong((long) wxFONTENCODING_ISO8859_13
));
7486 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_14", PyInt_FromLong((long) wxFONTENCODING_ISO8859_14
));
7487 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_15", PyInt_FromLong((long) wxFONTENCODING_ISO8859_15
));
7488 PyDict_SetItemString(d
,"wxFONTENCODING_KOI8", PyInt_FromLong((long) wxFONTENCODING_KOI8
));
7489 PyDict_SetItemString(d
,"wxFONTENCODING_ALTERNATIVE", PyInt_FromLong((long) wxFONTENCODING_ALTERNATIVE
));
7490 PyDict_SetItemString(d
,"wxFONTENCODING_BULGARIAN", PyInt_FromLong((long) wxFONTENCODING_BULGARIAN
));
7491 PyDict_SetItemString(d
,"wxFONTENCODING_CP437", PyInt_FromLong((long) wxFONTENCODING_CP437
));
7492 PyDict_SetItemString(d
,"wxFONTENCODING_CP850", PyInt_FromLong((long) wxFONTENCODING_CP850
));
7493 PyDict_SetItemString(d
,"wxFONTENCODING_CP852", PyInt_FromLong((long) wxFONTENCODING_CP852
));
7494 PyDict_SetItemString(d
,"wxFONTENCODING_CP855", PyInt_FromLong((long) wxFONTENCODING_CP855
));
7495 PyDict_SetItemString(d
,"wxFONTENCODING_CP866", PyInt_FromLong((long) wxFONTENCODING_CP866
));
7496 PyDict_SetItemString(d
,"wxFONTENCODING_CP1250", PyInt_FromLong((long) wxFONTENCODING_CP1250
));
7497 PyDict_SetItemString(d
,"wxFONTENCODING_CP1251", PyInt_FromLong((long) wxFONTENCODING_CP1251
));
7498 PyDict_SetItemString(d
,"wxFONTENCODING_CP1252", PyInt_FromLong((long) wxFONTENCODING_CP1252
));
7499 PyDict_SetItemString(d
,"wxFONTENCODING_MAX", PyInt_FromLong((long) wxFONTENCODING_MAX
));
7500 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
7501 SWIG_addvarlink(SWIG_globals
,"wxNORMAL_FONT",_wrap_wxNORMAL_FONT_get
, _wrap_wxNORMAL_FONT_set
);
7502 SWIG_addvarlink(SWIG_globals
,"wxSMALL_FONT",_wrap_wxSMALL_FONT_get
, _wrap_wxSMALL_FONT_set
);
7503 SWIG_addvarlink(SWIG_globals
,"wxITALIC_FONT",_wrap_wxITALIC_FONT_get
, _wrap_wxITALIC_FONT_set
);
7504 SWIG_addvarlink(SWIG_globals
,"wxSWISS_FONT",_wrap_wxSWISS_FONT_get
, _wrap_wxSWISS_FONT_set
);
7505 SWIG_addvarlink(SWIG_globals
,"wxRED_PEN",_wrap_wxRED_PEN_get
, _wrap_wxRED_PEN_set
);
7506 SWIG_addvarlink(SWIG_globals
,"wxCYAN_PEN",_wrap_wxCYAN_PEN_get
, _wrap_wxCYAN_PEN_set
);
7507 SWIG_addvarlink(SWIG_globals
,"wxGREEN_PEN",_wrap_wxGREEN_PEN_get
, _wrap_wxGREEN_PEN_set
);
7508 SWIG_addvarlink(SWIG_globals
,"wxBLACK_PEN",_wrap_wxBLACK_PEN_get
, _wrap_wxBLACK_PEN_set
);
7509 SWIG_addvarlink(SWIG_globals
,"wxWHITE_PEN",_wrap_wxWHITE_PEN_get
, _wrap_wxWHITE_PEN_set
);
7510 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_PEN",_wrap_wxTRANSPARENT_PEN_get
, _wrap_wxTRANSPARENT_PEN_set
);
7511 SWIG_addvarlink(SWIG_globals
,"wxBLACK_DASHED_PEN",_wrap_wxBLACK_DASHED_PEN_get
, _wrap_wxBLACK_DASHED_PEN_set
);
7512 SWIG_addvarlink(SWIG_globals
,"wxGREY_PEN",_wrap_wxGREY_PEN_get
, _wrap_wxGREY_PEN_set
);
7513 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_PEN",_wrap_wxMEDIUM_GREY_PEN_get
, _wrap_wxMEDIUM_GREY_PEN_set
);
7514 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_PEN",_wrap_wxLIGHT_GREY_PEN_get
, _wrap_wxLIGHT_GREY_PEN_set
);
7515 SWIG_addvarlink(SWIG_globals
,"wxBLUE_BRUSH",_wrap_wxBLUE_BRUSH_get
, _wrap_wxBLUE_BRUSH_set
);
7516 SWIG_addvarlink(SWIG_globals
,"wxGREEN_BRUSH",_wrap_wxGREEN_BRUSH_get
, _wrap_wxGREEN_BRUSH_set
);
7517 SWIG_addvarlink(SWIG_globals
,"wxWHITE_BRUSH",_wrap_wxWHITE_BRUSH_get
, _wrap_wxWHITE_BRUSH_set
);
7518 SWIG_addvarlink(SWIG_globals
,"wxBLACK_BRUSH",_wrap_wxBLACK_BRUSH_get
, _wrap_wxBLACK_BRUSH_set
);
7519 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_BRUSH",_wrap_wxTRANSPARENT_BRUSH_get
, _wrap_wxTRANSPARENT_BRUSH_set
);
7520 SWIG_addvarlink(SWIG_globals
,"wxCYAN_BRUSH",_wrap_wxCYAN_BRUSH_get
, _wrap_wxCYAN_BRUSH_set
);
7521 SWIG_addvarlink(SWIG_globals
,"wxRED_BRUSH",_wrap_wxRED_BRUSH_get
, _wrap_wxRED_BRUSH_set
);
7522 SWIG_addvarlink(SWIG_globals
,"wxGREY_BRUSH",_wrap_wxGREY_BRUSH_get
, _wrap_wxGREY_BRUSH_set
);
7523 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_BRUSH",_wrap_wxMEDIUM_GREY_BRUSH_get
, _wrap_wxMEDIUM_GREY_BRUSH_set
);
7524 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_BRUSH",_wrap_wxLIGHT_GREY_BRUSH_get
, _wrap_wxLIGHT_GREY_BRUSH_set
);
7525 SWIG_addvarlink(SWIG_globals
,"wxBLACK",_wrap_wxBLACK_get
, _wrap_wxBLACK_set
);
7526 SWIG_addvarlink(SWIG_globals
,"wxWHITE",_wrap_wxWHITE_get
, _wrap_wxWHITE_set
);
7527 SWIG_addvarlink(SWIG_globals
,"wxRED",_wrap_wxRED_get
, _wrap_wxRED_set
);
7528 SWIG_addvarlink(SWIG_globals
,"wxBLUE",_wrap_wxBLUE_get
, _wrap_wxBLUE_set
);
7529 SWIG_addvarlink(SWIG_globals
,"wxGREEN",_wrap_wxGREEN_get
, _wrap_wxGREEN_set
);
7530 SWIG_addvarlink(SWIG_globals
,"wxCYAN",_wrap_wxCYAN_get
, _wrap_wxCYAN_set
);
7531 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY",_wrap_wxLIGHT_GREY_get
, _wrap_wxLIGHT_GREY_set
);
7532 SWIG_addvarlink(SWIG_globals
,"wxSTANDARD_CURSOR",_wrap_wxSTANDARD_CURSOR_get
, _wrap_wxSTANDARD_CURSOR_set
);
7533 SWIG_addvarlink(SWIG_globals
,"wxHOURGLASS_CURSOR",_wrap_wxHOURGLASS_CURSOR_get
, _wrap_wxHOURGLASS_CURSOR_set
);
7534 SWIG_addvarlink(SWIG_globals
,"wxCROSS_CURSOR",_wrap_wxCROSS_CURSOR_get
, _wrap_wxCROSS_CURSOR_set
);
7535 SWIG_addvarlink(SWIG_globals
,"wxNullBitmap",_wrap_wxNullBitmap_get
, _wrap_wxNullBitmap_set
);
7536 SWIG_addvarlink(SWIG_globals
,"wxNullIcon",_wrap_wxNullIcon_get
, _wrap_wxNullIcon_set
);
7537 SWIG_addvarlink(SWIG_globals
,"wxNullCursor",_wrap_wxNullCursor_get
, _wrap_wxNullCursor_set
);
7538 SWIG_addvarlink(SWIG_globals
,"wxNullPen",_wrap_wxNullPen_get
, _wrap_wxNullPen_set
);
7539 SWIG_addvarlink(SWIG_globals
,"wxNullBrush",_wrap_wxNullBrush_get
, _wrap_wxNullBrush_set
);
7540 SWIG_addvarlink(SWIG_globals
,"wxNullPalette",_wrap_wxNullPalette_get
, _wrap_wxNullPalette_set
);
7541 SWIG_addvarlink(SWIG_globals
,"wxNullFont",_wrap_wxNullFont_get
, _wrap_wxNullFont_set
);
7542 SWIG_addvarlink(SWIG_globals
,"wxNullColour",_wrap_wxNullColour_get
, _wrap_wxNullColour_set
);
7543 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_NORMAL", PyInt_FromLong((long) wxIMAGELIST_DRAW_NORMAL
));
7544 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_TRANSPARENT", PyInt_FromLong((long) wxIMAGELIST_DRAW_TRANSPARENT
));
7545 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_SELECTED", PyInt_FromLong((long) wxIMAGELIST_DRAW_SELECTED
));
7546 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_FOCUSED", PyInt_FromLong((long) wxIMAGELIST_DRAW_FOCUSED
));
7547 PyDict_SetItemString(d
,"wxIMAGE_LIST_NORMAL", PyInt_FromLong((long) wxIMAGE_LIST_NORMAL
));
7548 PyDict_SetItemString(d
,"wxIMAGE_LIST_SMALL", PyInt_FromLong((long) wxIMAGE_LIST_SMALL
));
7549 PyDict_SetItemString(d
,"wxIMAGE_LIST_STATE", PyInt_FromLong((long) wxIMAGE_LIST_STATE
));
7552 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
7553 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);