2 * FILE : src/msw/gdi.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
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
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initgdic
56 #define SWIG_name "gdic"
59 #include <wx/metafile.h>
60 #include <wx/imaglist.h>
65 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
69 } else if (target
== Py_None
) {
73 if (!PyList_Check(target
)) {
75 target
= PyList_New(0);
76 PyList_Append(target
, o2
);
79 PyList_Append(target
,o
);
85 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
91 } else if (target
== Py_None
) {
95 if (!PyTuple_Check(target
)) {
97 target
= PyTuple_New(1);
98 PyTuple_SetItem(target
, 0, o2
);
101 PyTuple_SetItem(o3
, 0, o
);
104 target
= PySequence_Concat(o2
, o3
);
111 static char* wxStringErrorMsg
= "string type is required for parameter";
113 static wxString
wxPyEmptyStr("");
114 // Alternate 'constructor'
115 wxBitmap
* wxEmptyBitmap(int width
, int height
, int depth
=-1) {
116 return new wxBitmap(width
, height
, depth
);
120 wxBitmap
* wxBitmapFromData(PyObject
* data
, long type
,
121 int width
, int height
, int depth
= 1) {
122 if (! PyString_Check(data
)) {
123 PyErr_SetString(PyExc_TypeError
, "Expected string object");
127 return new wxBitmap((void*)PyString_AsString(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
;
198 extern wxFontList
* wxTheFontList
;
199 extern wxPenList
* wxThePenList
;
200 extern wxBrushlist
* wxTheBrushList
;
201 extern wxColourDatabase
* wxTheColourDatabase
;
207 static PyObject
*_wrap_wxEmptyBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
208 PyObject
* _resultobj
;
212 int _arg2
= (int ) -1;
213 char *_kwnames
[] = { "width","height","depth", NULL
};
217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ii|i:wxEmptyBitmap",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
220 wxPy_BEGIN_ALLOW_THREADS
;
221 _result
= (wxBitmap
*)wxEmptyBitmap(_arg0
,_arg1
,_arg2
);
223 wxPy_END_ALLOW_THREADS
;
225 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
226 _resultobj
= Py_BuildValue("s",_ptemp
);
229 _resultobj
= Py_None
;
234 static PyObject
*_wrap_wxBitmapFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
235 PyObject
* _resultobj
;
241 int _arg4
= (int ) 1;
242 PyObject
* _obj0
= 0;
243 char *_kwnames
[] = { "data","type","width","height","depth", NULL
};
247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olii|i:wxBitmapFromData",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
253 wxPy_BEGIN_ALLOW_THREADS
;
254 _result
= (wxBitmap
*)wxBitmapFromData(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
256 wxPy_END_ALLOW_THREADS
;
258 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
259 _resultobj
= Py_BuildValue("s",_ptemp
);
262 _resultobj
= Py_None
;
267 static PyObject
*_wrap_wxMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
268 PyObject
* _resultobj
;
272 PyObject
* _argo0
= 0;
274 PyObject
* _obj1
= 0;
275 char *_kwnames
[] = { "bitmap","colour", NULL
};
279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMaskColour",_kwnames
,&_argo0
,&_obj1
))
282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMaskColour. Expected _wxBitmap_p.");
290 if (! wxColour_helper(_obj1
, &_arg1
))
294 wxPy_BEGIN_ALLOW_THREADS
;
295 _result
= (wxMask
*)wxMaskColour(*_arg0
,*_arg1
);
297 wxPy_END_ALLOW_THREADS
;
299 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
300 _resultobj
= Py_BuildValue("s",_ptemp
);
303 _resultobj
= Py_None
;
308 static PyObject
*_wrap_wxStockCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
309 PyObject
* _resultobj
;
312 char *_kwnames
[] = { "id", NULL
};
316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxStockCursor",_kwnames
,&_arg0
))
319 wxPy_BEGIN_ALLOW_THREADS
;
320 _result
= (wxCursor
*)wxPyStockCursor(_arg0
);
322 wxPy_END_ALLOW_THREADS
;
324 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCursor_p");
325 _resultobj
= Py_BuildValue("s",_ptemp
);
328 _resultobj
= Py_None
;
333 static PyObject
*_wrap_wxFont_GetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
334 PyObject
* _resultobj
;
335 wxFontEncoding _result
;
336 char *_kwnames
[] = { NULL
};
339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFont_GetDefaultEncoding",_kwnames
))
342 wxPy_BEGIN_ALLOW_THREADS
;
343 _result
= (wxFontEncoding
)wxFont_GetDefaultEncoding();
345 wxPy_END_ALLOW_THREADS
;
346 } _resultobj
= Py_BuildValue("i",_result
);
350 static PyObject
*_wrap_wxFont_SetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
351 PyObject
* _resultobj
;
352 wxFontEncoding _arg0
;
353 char *_kwnames
[] = { "encoding", NULL
};
356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxFont_SetDefaultEncoding",_kwnames
,&_arg0
))
359 wxPy_BEGIN_ALLOW_THREADS
;
360 wxFont_SetDefaultEncoding(_arg0
);
362 wxPy_END_ALLOW_THREADS
;
363 } Py_INCREF(Py_None
);
364 _resultobj
= Py_None
;
368 static PyObject
*_wrap_wxNamedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
369 PyObject
* _resultobj
;
372 PyObject
* _obj0
= 0;
373 char *_kwnames
[] = { "colorName", NULL
};
377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNamedColour",_kwnames
,&_obj0
))
380 #if PYTHON_API_VERSION >= 1009
381 char* tmpPtr
; int tmpSize
;
382 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
383 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
386 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
388 _arg0
= new wxString(tmpPtr
, tmpSize
);
390 if (!PyString_Check(_obj0
)) {
391 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
394 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
398 wxPy_BEGIN_ALLOW_THREADS
;
399 _result
= (wxColour
*)wxNamedColour(*_arg0
);
401 wxPy_END_ALLOW_THREADS
;
403 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
404 _resultobj
= Py_BuildValue("s",_ptemp
);
407 _resultobj
= Py_None
;
416 static PyObject
*_wrap_wxMemoryDCFromDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
417 PyObject
* _resultobj
;
418 wxMemoryDC
* _result
;
420 PyObject
* _argo0
= 0;
421 char *_kwnames
[] = { "oldDC", NULL
};
425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMemoryDCFromDC",_kwnames
,&_argo0
))
428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDCFromDC. Expected _wxDC_p.");
435 wxPy_BEGIN_ALLOW_THREADS
;
436 _result
= (wxMemoryDC
*)wxMemoryDCFromDC(_arg0
);
438 wxPy_END_ALLOW_THREADS
;
440 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
441 _resultobj
= Py_BuildValue("s",_ptemp
);
444 _resultobj
= Py_None
;
449 static int _wrap_wxNORMAL_FONT_set(PyObject
*val
) {
451 PyErr_SetString(PyExc_TypeError
,"Variable wxNORMAL_FONT is read-only.");
455 static PyObject
*_wrap_wxNORMAL_FONT_get() {
459 SWIG_MakePtr(ptemp
, (char *) wxNORMAL_FONT
,"_wxFont_p");
460 pyobj
= PyString_FromString(ptemp
);
464 static int _wrap_wxSMALL_FONT_set(PyObject
*val
) {
466 PyErr_SetString(PyExc_TypeError
,"Variable wxSMALL_FONT is read-only.");
470 static PyObject
*_wrap_wxSMALL_FONT_get() {
474 SWIG_MakePtr(ptemp
, (char *) wxSMALL_FONT
,"_wxFont_p");
475 pyobj
= PyString_FromString(ptemp
);
479 static int _wrap_wxITALIC_FONT_set(PyObject
*val
) {
481 PyErr_SetString(PyExc_TypeError
,"Variable wxITALIC_FONT is read-only.");
485 static PyObject
*_wrap_wxITALIC_FONT_get() {
489 SWIG_MakePtr(ptemp
, (char *) wxITALIC_FONT
,"_wxFont_p");
490 pyobj
= PyString_FromString(ptemp
);
494 static int _wrap_wxSWISS_FONT_set(PyObject
*val
) {
496 PyErr_SetString(PyExc_TypeError
,"Variable wxSWISS_FONT is read-only.");
500 static PyObject
*_wrap_wxSWISS_FONT_get() {
504 SWIG_MakePtr(ptemp
, (char *) wxSWISS_FONT
,"_wxFont_p");
505 pyobj
= PyString_FromString(ptemp
);
509 static int _wrap_wxRED_PEN_set(PyObject
*val
) {
511 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_PEN is read-only.");
515 static PyObject
*_wrap_wxRED_PEN_get() {
519 SWIG_MakePtr(ptemp
, (char *) wxRED_PEN
,"_wxPen_p");
520 pyobj
= PyString_FromString(ptemp
);
524 static int _wrap_wxCYAN_PEN_set(PyObject
*val
) {
526 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_PEN is read-only.");
530 static PyObject
*_wrap_wxCYAN_PEN_get() {
534 SWIG_MakePtr(ptemp
, (char *) wxCYAN_PEN
,"_wxPen_p");
535 pyobj
= PyString_FromString(ptemp
);
539 static int _wrap_wxGREEN_PEN_set(PyObject
*val
) {
541 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_PEN is read-only.");
545 static PyObject
*_wrap_wxGREEN_PEN_get() {
549 SWIG_MakePtr(ptemp
, (char *) wxGREEN_PEN
,"_wxPen_p");
550 pyobj
= PyString_FromString(ptemp
);
554 static int _wrap_wxBLACK_PEN_set(PyObject
*val
) {
556 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_PEN is read-only.");
560 static PyObject
*_wrap_wxBLACK_PEN_get() {
564 SWIG_MakePtr(ptemp
, (char *) wxBLACK_PEN
,"_wxPen_p");
565 pyobj
= PyString_FromString(ptemp
);
569 static int _wrap_wxWHITE_PEN_set(PyObject
*val
) {
571 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_PEN is read-only.");
575 static PyObject
*_wrap_wxWHITE_PEN_get() {
579 SWIG_MakePtr(ptemp
, (char *) wxWHITE_PEN
,"_wxPen_p");
580 pyobj
= PyString_FromString(ptemp
);
584 static int _wrap_wxTRANSPARENT_PEN_set(PyObject
*val
) {
586 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_PEN is read-only.");
590 static PyObject
*_wrap_wxTRANSPARENT_PEN_get() {
594 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_PEN
,"_wxPen_p");
595 pyobj
= PyString_FromString(ptemp
);
599 static int _wrap_wxBLACK_DASHED_PEN_set(PyObject
*val
) {
601 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_DASHED_PEN is read-only.");
605 static PyObject
*_wrap_wxBLACK_DASHED_PEN_get() {
609 SWIG_MakePtr(ptemp
, (char *) wxBLACK_DASHED_PEN
,"_wxPen_p");
610 pyobj
= PyString_FromString(ptemp
);
614 static int _wrap_wxGREY_PEN_set(PyObject
*val
) {
616 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_PEN is read-only.");
620 static PyObject
*_wrap_wxGREY_PEN_get() {
624 SWIG_MakePtr(ptemp
, (char *) wxGREY_PEN
,"_wxPen_p");
625 pyobj
= PyString_FromString(ptemp
);
629 static int _wrap_wxMEDIUM_GREY_PEN_set(PyObject
*val
) {
631 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_PEN is read-only.");
635 static PyObject
*_wrap_wxMEDIUM_GREY_PEN_get() {
639 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_PEN
,"_wxPen_p");
640 pyobj
= PyString_FromString(ptemp
);
644 static int _wrap_wxLIGHT_GREY_PEN_set(PyObject
*val
) {
646 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_PEN is read-only.");
650 static PyObject
*_wrap_wxLIGHT_GREY_PEN_get() {
654 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_PEN
,"_wxPen_p");
655 pyobj
= PyString_FromString(ptemp
);
659 static int _wrap_wxBLUE_BRUSH_set(PyObject
*val
) {
661 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE_BRUSH is read-only.");
665 static PyObject
*_wrap_wxBLUE_BRUSH_get() {
669 SWIG_MakePtr(ptemp
, (char *) wxBLUE_BRUSH
,"_wxBrush_p");
670 pyobj
= PyString_FromString(ptemp
);
674 static int _wrap_wxGREEN_BRUSH_set(PyObject
*val
) {
676 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_BRUSH is read-only.");
680 static PyObject
*_wrap_wxGREEN_BRUSH_get() {
684 SWIG_MakePtr(ptemp
, (char *) wxGREEN_BRUSH
,"_wxBrush_p");
685 pyobj
= PyString_FromString(ptemp
);
689 static int _wrap_wxWHITE_BRUSH_set(PyObject
*val
) {
691 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_BRUSH is read-only.");
695 static PyObject
*_wrap_wxWHITE_BRUSH_get() {
699 SWIG_MakePtr(ptemp
, (char *) wxWHITE_BRUSH
,"_wxBrush_p");
700 pyobj
= PyString_FromString(ptemp
);
704 static int _wrap_wxBLACK_BRUSH_set(PyObject
*val
) {
706 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_BRUSH is read-only.");
710 static PyObject
*_wrap_wxBLACK_BRUSH_get() {
714 SWIG_MakePtr(ptemp
, (char *) wxBLACK_BRUSH
,"_wxBrush_p");
715 pyobj
= PyString_FromString(ptemp
);
719 static int _wrap_wxTRANSPARENT_BRUSH_set(PyObject
*val
) {
721 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_BRUSH is read-only.");
725 static PyObject
*_wrap_wxTRANSPARENT_BRUSH_get() {
729 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_BRUSH
,"_wxBrush_p");
730 pyobj
= PyString_FromString(ptemp
);
734 static int _wrap_wxCYAN_BRUSH_set(PyObject
*val
) {
736 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_BRUSH is read-only.");
740 static PyObject
*_wrap_wxCYAN_BRUSH_get() {
744 SWIG_MakePtr(ptemp
, (char *) wxCYAN_BRUSH
,"_wxBrush_p");
745 pyobj
= PyString_FromString(ptemp
);
749 static int _wrap_wxRED_BRUSH_set(PyObject
*val
) {
751 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_BRUSH is read-only.");
755 static PyObject
*_wrap_wxRED_BRUSH_get() {
759 SWIG_MakePtr(ptemp
, (char *) wxRED_BRUSH
,"_wxBrush_p");
760 pyobj
= PyString_FromString(ptemp
);
764 static int _wrap_wxGREY_BRUSH_set(PyObject
*val
) {
766 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_BRUSH is read-only.");
770 static PyObject
*_wrap_wxGREY_BRUSH_get() {
774 SWIG_MakePtr(ptemp
, (char *) wxGREY_BRUSH
,"_wxBrush_p");
775 pyobj
= PyString_FromString(ptemp
);
779 static int _wrap_wxMEDIUM_GREY_BRUSH_set(PyObject
*val
) {
781 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_BRUSH is read-only.");
785 static PyObject
*_wrap_wxMEDIUM_GREY_BRUSH_get() {
789 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_BRUSH
,"_wxBrush_p");
790 pyobj
= PyString_FromString(ptemp
);
794 static int _wrap_wxLIGHT_GREY_BRUSH_set(PyObject
*val
) {
796 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_BRUSH is read-only.");
800 static PyObject
*_wrap_wxLIGHT_GREY_BRUSH_get() {
804 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_BRUSH
,"_wxBrush_p");
805 pyobj
= PyString_FromString(ptemp
);
809 static int _wrap_wxBLACK_set(PyObject
*val
) {
811 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK is read-only.");
815 static PyObject
*_wrap_wxBLACK_get() {
819 SWIG_MakePtr(ptemp
, (char *) wxBLACK
,"_wxColour_p");
820 pyobj
= PyString_FromString(ptemp
);
824 static int _wrap_wxWHITE_set(PyObject
*val
) {
826 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE is read-only.");
830 static PyObject
*_wrap_wxWHITE_get() {
834 SWIG_MakePtr(ptemp
, (char *) wxWHITE
,"_wxColour_p");
835 pyobj
= PyString_FromString(ptemp
);
839 static int _wrap_wxRED_set(PyObject
*val
) {
841 PyErr_SetString(PyExc_TypeError
,"Variable wxRED is read-only.");
845 static PyObject
*_wrap_wxRED_get() {
849 SWIG_MakePtr(ptemp
, (char *) wxRED
,"_wxColour_p");
850 pyobj
= PyString_FromString(ptemp
);
854 static int _wrap_wxBLUE_set(PyObject
*val
) {
856 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE is read-only.");
860 static PyObject
*_wrap_wxBLUE_get() {
864 SWIG_MakePtr(ptemp
, (char *) wxBLUE
,"_wxColour_p");
865 pyobj
= PyString_FromString(ptemp
);
869 static int _wrap_wxGREEN_set(PyObject
*val
) {
871 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN is read-only.");
875 static PyObject
*_wrap_wxGREEN_get() {
879 SWIG_MakePtr(ptemp
, (char *) wxGREEN
,"_wxColour_p");
880 pyobj
= PyString_FromString(ptemp
);
884 static int _wrap_wxCYAN_set(PyObject
*val
) {
886 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN is read-only.");
890 static PyObject
*_wrap_wxCYAN_get() {
894 SWIG_MakePtr(ptemp
, (char *) wxCYAN
,"_wxColour_p");
895 pyobj
= PyString_FromString(ptemp
);
899 static int _wrap_wxLIGHT_GREY_set(PyObject
*val
) {
901 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY is read-only.");
905 static PyObject
*_wrap_wxLIGHT_GREY_get() {
909 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY
,"_wxColour_p");
910 pyobj
= PyString_FromString(ptemp
);
914 static int _wrap_wxSTANDARD_CURSOR_set(PyObject
*val
) {
916 PyErr_SetString(PyExc_TypeError
,"Variable wxSTANDARD_CURSOR is read-only.");
920 static PyObject
*_wrap_wxSTANDARD_CURSOR_get() {
924 SWIG_MakePtr(ptemp
, (char *) wxSTANDARD_CURSOR
,"_wxCursor_p");
925 pyobj
= PyString_FromString(ptemp
);
929 static int _wrap_wxHOURGLASS_CURSOR_set(PyObject
*val
) {
931 PyErr_SetString(PyExc_TypeError
,"Variable wxHOURGLASS_CURSOR is read-only.");
935 static PyObject
*_wrap_wxHOURGLASS_CURSOR_get() {
939 SWIG_MakePtr(ptemp
, (char *) wxHOURGLASS_CURSOR
,"_wxCursor_p");
940 pyobj
= PyString_FromString(ptemp
);
944 static int _wrap_wxCROSS_CURSOR_set(PyObject
*val
) {
946 PyErr_SetString(PyExc_TypeError
,"Variable wxCROSS_CURSOR is read-only.");
950 static PyObject
*_wrap_wxCROSS_CURSOR_get() {
954 SWIG_MakePtr(ptemp
, (char *) wxCROSS_CURSOR
,"_wxCursor_p");
955 pyobj
= PyString_FromString(ptemp
);
959 static int _wrap_wxNullBitmap_set(PyObject
*val
) {
961 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBitmap is read-only.");
965 static PyObject
*_wrap_wxNullBitmap_get() {
969 SWIG_MakePtr(ptemp
,(char *) &wxNullBitmap
,"_wxBitmap_p");
970 pyobj
= PyString_FromString(ptemp
);
974 static int _wrap_wxNullIcon_set(PyObject
*val
) {
976 PyErr_SetString(PyExc_TypeError
,"Variable wxNullIcon is read-only.");
980 static PyObject
*_wrap_wxNullIcon_get() {
984 SWIG_MakePtr(ptemp
,(char *) &wxNullIcon
,"_wxIcon_p");
985 pyobj
= PyString_FromString(ptemp
);
989 static int _wrap_wxNullCursor_set(PyObject
*val
) {
991 PyErr_SetString(PyExc_TypeError
,"Variable wxNullCursor is read-only.");
995 static PyObject
*_wrap_wxNullCursor_get() {
999 SWIG_MakePtr(ptemp
,(char *) &wxNullCursor
,"_wxCursor_p");
1000 pyobj
= PyString_FromString(ptemp
);
1004 static int _wrap_wxNullPen_set(PyObject
*val
) {
1006 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPen is read-only.");
1010 static PyObject
*_wrap_wxNullPen_get() {
1014 SWIG_MakePtr(ptemp
,(char *) &wxNullPen
,"_wxPen_p");
1015 pyobj
= PyString_FromString(ptemp
);
1019 static int _wrap_wxNullBrush_set(PyObject
*val
) {
1021 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBrush is read-only.");
1025 static PyObject
*_wrap_wxNullBrush_get() {
1029 SWIG_MakePtr(ptemp
,(char *) &wxNullBrush
,"_wxBrush_p");
1030 pyobj
= PyString_FromString(ptemp
);
1034 static int _wrap_wxNullPalette_set(PyObject
*val
) {
1036 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPalette is read-only.");
1040 static PyObject
*_wrap_wxNullPalette_get() {
1044 SWIG_MakePtr(ptemp
,(char *) &wxNullPalette
,"_wxPalette_p");
1045 pyobj
= PyString_FromString(ptemp
);
1049 static int _wrap_wxNullFont_set(PyObject
*val
) {
1051 PyErr_SetString(PyExc_TypeError
,"Variable wxNullFont is read-only.");
1055 static PyObject
*_wrap_wxNullFont_get() {
1059 SWIG_MakePtr(ptemp
,(char *) &wxNullFont
,"_wxFont_p");
1060 pyobj
= PyString_FromString(ptemp
);
1064 static int _wrap_wxNullColour_set(PyObject
*val
) {
1066 PyErr_SetString(PyExc_TypeError
,"Variable wxNullColour is read-only.");
1070 static PyObject
*_wrap_wxNullColour_get() {
1074 SWIG_MakePtr(ptemp
,(char *) &wxNullColour
,"_wxColour_p");
1075 pyobj
= PyString_FromString(ptemp
);
1079 static int _wrap_wxTheFontList_set(PyObject
*val
) {
1081 PyErr_SetString(PyExc_TypeError
,"Variable wxTheFontList is read-only.");
1085 static PyObject
*_wrap_wxTheFontList_get() {
1089 SWIG_MakePtr(ptemp
, (char *) wxTheFontList
,"_wxFontList_p");
1090 pyobj
= PyString_FromString(ptemp
);
1094 static int _wrap_wxThePenList_set(PyObject
*val
) {
1096 PyErr_SetString(PyExc_TypeError
,"Variable wxThePenList is read-only.");
1100 static PyObject
*_wrap_wxThePenList_get() {
1104 SWIG_MakePtr(ptemp
, (char *) wxThePenList
,"_wxPenList_p");
1105 pyobj
= PyString_FromString(ptemp
);
1109 static int _wrap_wxTheBrushList_set(PyObject
*val
) {
1111 PyErr_SetString(PyExc_TypeError
,"Variable wxTheBrushList is read-only.");
1115 static PyObject
*_wrap_wxTheBrushList_get() {
1119 SWIG_MakePtr(ptemp
, (char *) wxTheBrushList
,"_wxBrushlist_p");
1120 pyobj
= PyString_FromString(ptemp
);
1124 static int _wrap_wxTheColourDatabase_set(PyObject
*val
) {
1126 PyErr_SetString(PyExc_TypeError
,"Variable wxTheColourDatabase is read-only.");
1130 static PyObject
*_wrap_wxTheColourDatabase_get() {
1134 SWIG_MakePtr(ptemp
, (char *) wxTheColourDatabase
,"_wxColourDatabase_p");
1135 pyobj
= PyString_FromString(ptemp
);
1139 #define new_wxBitmap(_swigarg0,_swigarg1) (new wxBitmap(_swigarg0,_swigarg1))
1140 static PyObject
*_wrap_new_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1141 PyObject
* _resultobj
;
1145 PyObject
* _obj0
= 0;
1146 char *_kwnames
[] = { "name","type", NULL
};
1150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:new_wxBitmap",_kwnames
,&_obj0
,&_arg1
))
1153 #if PYTHON_API_VERSION >= 1009
1154 char* tmpPtr
; int tmpSize
;
1155 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1156 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1159 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1161 _arg0
= new wxString(tmpPtr
, tmpSize
);
1163 if (!PyString_Check(_obj0
)) {
1164 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1167 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1171 wxPy_BEGIN_ALLOW_THREADS
;
1172 _result
= (wxBitmap
*)new_wxBitmap(*_arg0
,_arg1
);
1174 wxPy_END_ALLOW_THREADS
;
1176 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1177 _resultobj
= Py_BuildValue("s",_ptemp
);
1180 _resultobj
= Py_None
;
1189 #define delete_wxBitmap(_swigobj) (delete _swigobj)
1190 static PyObject
*_wrap_delete_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1191 PyObject
* _resultobj
;
1193 PyObject
* _argo0
= 0;
1194 char *_kwnames
[] = { "self", NULL
};
1197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBitmap",_kwnames
,&_argo0
))
1200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBitmap. Expected _wxBitmap_p.");
1207 wxPy_BEGIN_ALLOW_THREADS
;
1208 delete_wxBitmap(_arg0
);
1210 wxPy_END_ALLOW_THREADS
;
1211 } Py_INCREF(Py_None
);
1212 _resultobj
= Py_None
;
1216 #define wxBitmap_GetPalette(_swigobj) (_swigobj->GetPalette())
1217 static PyObject
*_wrap_wxBitmap_GetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1218 PyObject
* _resultobj
;
1219 wxPalette
* _result
;
1221 PyObject
* _argo0
= 0;
1222 char *_kwnames
[] = { "self", NULL
};
1226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetPalette",_kwnames
,&_argo0
))
1229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetPalette. Expected _wxBitmap_p.");
1236 wxPy_BEGIN_ALLOW_THREADS
;
1237 _result
= (wxPalette
*)wxBitmap_GetPalette(_arg0
);
1239 wxPy_END_ALLOW_THREADS
;
1241 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
1242 _resultobj
= Py_BuildValue("s",_ptemp
);
1245 _resultobj
= Py_None
;
1250 #define wxBitmap_GetMask(_swigobj) (_swigobj->GetMask())
1251 static PyObject
*_wrap_wxBitmap_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1252 PyObject
* _resultobj
;
1255 PyObject
* _argo0
= 0;
1256 char *_kwnames
[] = { "self", NULL
};
1260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetMask",_kwnames
,&_argo0
))
1263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetMask. Expected _wxBitmap_p.");
1270 wxPy_BEGIN_ALLOW_THREADS
;
1271 _result
= (wxMask
*)wxBitmap_GetMask(_arg0
);
1273 wxPy_END_ALLOW_THREADS
;
1275 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
1276 _resultobj
= Py_BuildValue("s",_ptemp
);
1279 _resultobj
= Py_None
;
1284 #define wxBitmap_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1285 static PyObject
*_wrap_wxBitmap_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1286 PyObject
* _resultobj
;
1291 PyObject
* _argo0
= 0;
1292 PyObject
* _obj1
= 0;
1293 char *_kwnames
[] = { "self","name","flags", NULL
};
1296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOl:wxBitmap_LoadFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_LoadFile. Expected _wxBitmap_p.");
1306 #if PYTHON_API_VERSION >= 1009
1307 char* tmpPtr
; int tmpSize
;
1308 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1309 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1312 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1314 _arg1
= new wxString(tmpPtr
, tmpSize
);
1316 if (!PyString_Check(_obj1
)) {
1317 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1320 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1324 wxPy_BEGIN_ALLOW_THREADS
;
1325 _result
= (bool )wxBitmap_LoadFile(_arg0
,*_arg1
,_arg2
);
1327 wxPy_END_ALLOW_THREADS
;
1328 } _resultobj
= Py_BuildValue("i",_result
);
1336 #define wxBitmap_SaveFile(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SaveFile(_swigarg0,_swigarg1,_swigarg2))
1337 static PyObject
*_wrap_wxBitmap_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1338 PyObject
* _resultobj
;
1343 wxPalette
* _arg3
= (wxPalette
*) NULL
;
1344 PyObject
* _argo0
= 0;
1345 PyObject
* _obj1
= 0;
1346 PyObject
* _argo3
= 0;
1347 char *_kwnames
[] = { "self","name","type","palette", NULL
};
1350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|O:wxBitmap_SaveFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_argo3
))
1353 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1354 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SaveFile. Expected _wxBitmap_p.");
1360 #if PYTHON_API_VERSION >= 1009
1361 char* tmpPtr
; int tmpSize
;
1362 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1363 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1366 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1368 _arg1
= new wxString(tmpPtr
, tmpSize
);
1370 if (!PyString_Check(_obj1
)) {
1371 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1374 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1378 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1379 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxPalette_p")) {
1380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxBitmap_SaveFile. Expected _wxPalette_p.");
1385 wxPy_BEGIN_ALLOW_THREADS
;
1386 _result
= (bool )wxBitmap_SaveFile(_arg0
,*_arg1
,_arg2
,_arg3
);
1388 wxPy_END_ALLOW_THREADS
;
1389 } _resultobj
= Py_BuildValue("i",_result
);
1397 #define wxBitmap_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
1398 static PyObject
*_wrap_wxBitmap_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1399 PyObject
* _resultobj
;
1402 PyObject
* _argo0
= 0;
1403 PyObject
* _argo1
= 0;
1404 char *_kwnames
[] = { "self","mask", NULL
};
1407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_SetMask",_kwnames
,&_argo0
,&_argo1
))
1410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetMask. Expected _wxBitmap_p.");
1417 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1418 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMask_p")) {
1419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_SetMask. Expected _wxMask_p.");
1424 wxPy_BEGIN_ALLOW_THREADS
;
1425 wxBitmap_SetMask(_arg0
,_arg1
);
1427 wxPy_END_ALLOW_THREADS
;
1428 } Py_INCREF(Py_None
);
1429 _resultobj
= Py_None
;
1433 #define wxBitmap_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
1434 static PyObject
*_wrap_wxBitmap_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1435 PyObject
* _resultobj
;
1438 PyObject
* _argo0
= 0;
1439 PyObject
* _argo1
= 0;
1440 char *_kwnames
[] = { "self","palette", NULL
};
1443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_SetPalette",_kwnames
,&_argo0
,&_argo1
))
1446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetPalette. Expected _wxBitmap_p.");
1453 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1454 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPalette_p")) {
1455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_SetPalette. Expected _wxPalette_p.");
1460 wxPy_BEGIN_ALLOW_THREADS
;
1461 wxBitmap_SetPalette(_arg0
,*_arg1
);
1463 wxPy_END_ALLOW_THREADS
;
1464 } Py_INCREF(Py_None
);
1465 _resultobj
= Py_None
;
1469 #define wxBitmap_GetHandle(_swigobj) (_swigobj->GetHandle())
1470 static PyObject
*_wrap_wxBitmap_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1471 PyObject
* _resultobj
;
1474 PyObject
* _argo0
= 0;
1475 char *_kwnames
[] = { "self", NULL
};
1478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetHandle",_kwnames
,&_argo0
))
1481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetHandle. Expected _wxBitmap_p.");
1488 wxPy_BEGIN_ALLOW_THREADS
;
1489 _result
= (long )wxBitmap_GetHandle(_arg0
);
1491 wxPy_END_ALLOW_THREADS
;
1492 } _resultobj
= Py_BuildValue("l",_result
);
1496 #define wxBitmap_SetHandle(_swigobj,_swigarg0) (_swigobj->SetHandle(_swigarg0))
1497 static PyObject
*_wrap_wxBitmap_SetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1498 PyObject
* _resultobj
;
1501 PyObject
* _argo0
= 0;
1502 char *_kwnames
[] = { "self","handle", NULL
};
1505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxBitmap_SetHandle",_kwnames
,&_argo0
,&_arg1
))
1508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetHandle. Expected _wxBitmap_p.");
1515 wxPy_BEGIN_ALLOW_THREADS
;
1516 wxBitmap_SetHandle(_arg0
,_arg1
);
1518 wxPy_END_ALLOW_THREADS
;
1519 } Py_INCREF(Py_None
);
1520 _resultobj
= Py_None
;
1524 #define wxBitmap_Ok(_swigobj) (_swigobj->Ok())
1525 static PyObject
*_wrap_wxBitmap_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1526 PyObject
* _resultobj
;
1529 PyObject
* _argo0
= 0;
1530 char *_kwnames
[] = { "self", NULL
};
1533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_Ok",_kwnames
,&_argo0
))
1536 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1537 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_Ok. Expected _wxBitmap_p.");
1543 wxPy_BEGIN_ALLOW_THREADS
;
1544 _result
= (bool )wxBitmap_Ok(_arg0
);
1546 wxPy_END_ALLOW_THREADS
;
1547 } _resultobj
= Py_BuildValue("i",_result
);
1551 #define wxBitmap_GetWidth(_swigobj) (_swigobj->GetWidth())
1552 static PyObject
*_wrap_wxBitmap_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1553 PyObject
* _resultobj
;
1556 PyObject
* _argo0
= 0;
1557 char *_kwnames
[] = { "self", NULL
};
1560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetWidth",_kwnames
,&_argo0
))
1563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetWidth. Expected _wxBitmap_p.");
1570 wxPy_BEGIN_ALLOW_THREADS
;
1571 _result
= (int )wxBitmap_GetWidth(_arg0
);
1573 wxPy_END_ALLOW_THREADS
;
1574 } _resultobj
= Py_BuildValue("i",_result
);
1578 #define wxBitmap_GetHeight(_swigobj) (_swigobj->GetHeight())
1579 static PyObject
*_wrap_wxBitmap_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1580 PyObject
* _resultobj
;
1583 PyObject
* _argo0
= 0;
1584 char *_kwnames
[] = { "self", NULL
};
1587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetHeight",_kwnames
,&_argo0
))
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_GetHeight. Expected _wxBitmap_p.");
1597 wxPy_BEGIN_ALLOW_THREADS
;
1598 _result
= (int )wxBitmap_GetHeight(_arg0
);
1600 wxPy_END_ALLOW_THREADS
;
1601 } _resultobj
= Py_BuildValue("i",_result
);
1605 #define wxBitmap_GetDepth(_swigobj) (_swigobj->GetDepth())
1606 static PyObject
*_wrap_wxBitmap_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1607 PyObject
* _resultobj
;
1610 PyObject
* _argo0
= 0;
1611 char *_kwnames
[] = { "self", NULL
};
1614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetDepth",_kwnames
,&_argo0
))
1617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetDepth. Expected _wxBitmap_p.");
1624 wxPy_BEGIN_ALLOW_THREADS
;
1625 _result
= (int )wxBitmap_GetDepth(_arg0
);
1627 wxPy_END_ALLOW_THREADS
;
1628 } _resultobj
= Py_BuildValue("i",_result
);
1632 #define wxBitmap_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1633 static PyObject
*_wrap_wxBitmap_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1634 PyObject
* _resultobj
;
1637 PyObject
* _argo0
= 0;
1638 char *_kwnames
[] = { "self","w", NULL
};
1641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetWidth",_kwnames
,&_argo0
,&_arg1
))
1644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetWidth. Expected _wxBitmap_p.");
1651 wxPy_BEGIN_ALLOW_THREADS
;
1652 wxBitmap_SetWidth(_arg0
,_arg1
);
1654 wxPy_END_ALLOW_THREADS
;
1655 } Py_INCREF(Py_None
);
1656 _resultobj
= Py_None
;
1660 #define wxBitmap_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1661 static PyObject
*_wrap_wxBitmap_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1662 PyObject
* _resultobj
;
1665 PyObject
* _argo0
= 0;
1666 char *_kwnames
[] = { "self","h", NULL
};
1669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetHeight",_kwnames
,&_argo0
,&_arg1
))
1672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetHeight. Expected _wxBitmap_p.");
1679 wxPy_BEGIN_ALLOW_THREADS
;
1680 wxBitmap_SetHeight(_arg0
,_arg1
);
1682 wxPy_END_ALLOW_THREADS
;
1683 } Py_INCREF(Py_None
);
1684 _resultobj
= Py_None
;
1688 #define wxBitmap_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
1689 static PyObject
*_wrap_wxBitmap_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1690 PyObject
* _resultobj
;
1693 PyObject
* _argo0
= 0;
1694 char *_kwnames
[] = { "self","d", NULL
};
1697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetDepth",_kwnames
,&_argo0
,&_arg1
))
1700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetDepth. Expected _wxBitmap_p.");
1707 wxPy_BEGIN_ALLOW_THREADS
;
1708 wxBitmap_SetDepth(_arg0
,_arg1
);
1710 wxPy_END_ALLOW_THREADS
;
1711 } Py_INCREF(Py_None
);
1712 _resultobj
= Py_None
;
1716 #define wxBitmap_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
1717 static PyObject
*_wrap_wxBitmap_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1718 PyObject
* _resultobj
;
1721 PyObject
* _argo0
= 0;
1723 PyObject
* _obj1
= 0;
1724 char *_kwnames
[] = { "self","size", NULL
};
1727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_SetSize",_kwnames
,&_argo0
,&_obj1
))
1730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetSize. Expected _wxBitmap_p.");
1738 if (! wxSize_helper(_obj1
, &_arg1
))
1742 wxPy_BEGIN_ALLOW_THREADS
;
1743 wxBitmap_SetSize(_arg0
,*_arg1
);
1745 wxPy_END_ALLOW_THREADS
;
1746 } Py_INCREF(Py_None
);
1747 _resultobj
= Py_None
;
1751 #define wxBitmap_GetSubBitmap(_swigobj,_swigarg0) (_swigobj->GetSubBitmap(_swigarg0))
1752 static PyObject
*_wrap_wxBitmap_GetSubBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1753 PyObject
* _resultobj
;
1757 PyObject
* _argo0
= 0;
1759 PyObject
* _obj1
= 0;
1760 char *_kwnames
[] = { "self","rect", NULL
};
1764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_GetSubBitmap",_kwnames
,&_argo0
,&_obj1
))
1767 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1768 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetSubBitmap. Expected _wxBitmap_p.");
1775 if (! wxRect_helper(_obj1
, &_arg1
))
1779 wxPy_BEGIN_ALLOW_THREADS
;
1780 _result
= new wxBitmap (wxBitmap_GetSubBitmap(_arg0
,*_arg1
));
1782 wxPy_END_ALLOW_THREADS
;
1783 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1784 _resultobj
= Py_BuildValue("s",_ptemp
);
1788 #define wxBitmap_CopyFromIcon(_swigobj,_swigarg0) (_swigobj->CopyFromIcon(_swigarg0))
1789 static PyObject
*_wrap_wxBitmap_CopyFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1790 PyObject
* _resultobj
;
1794 PyObject
* _argo0
= 0;
1795 PyObject
* _argo1
= 0;
1796 char *_kwnames
[] = { "self","icon", NULL
};
1799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_CopyFromIcon",_kwnames
,&_argo0
,&_argo1
))
1802 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1803 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_CopyFromIcon. Expected _wxBitmap_p.");
1809 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1810 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
1811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_CopyFromIcon. Expected _wxIcon_p.");
1816 wxPy_BEGIN_ALLOW_THREADS
;
1817 _result
= (bool )wxBitmap_CopyFromIcon(_arg0
,*_arg1
);
1819 wxPy_END_ALLOW_THREADS
;
1820 } _resultobj
= Py_BuildValue("i",_result
);
1824 #define wxBitmap_CopyFromCursor(_swigobj,_swigarg0) (_swigobj->CopyFromCursor(_swigarg0))
1825 static PyObject
*_wrap_wxBitmap_CopyFromCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1826 PyObject
* _resultobj
;
1830 PyObject
* _argo0
= 0;
1831 PyObject
* _argo1
= 0;
1832 char *_kwnames
[] = { "self","cursor", NULL
};
1835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_CopyFromCursor",_kwnames
,&_argo0
,&_argo1
))
1838 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1839 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_CopyFromCursor. Expected _wxBitmap_p.");
1845 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1846 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
1847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_CopyFromCursor. Expected _wxCursor_p.");
1852 wxPy_BEGIN_ALLOW_THREADS
;
1853 _result
= (bool )wxBitmap_CopyFromCursor(_arg0
,*_arg1
);
1855 wxPy_END_ALLOW_THREADS
;
1856 } _resultobj
= Py_BuildValue("i",_result
);
1860 #define wxBitmap_GetQuality(_swigobj) (_swigobj->GetQuality())
1861 static PyObject
*_wrap_wxBitmap_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1862 PyObject
* _resultobj
;
1865 PyObject
* _argo0
= 0;
1866 char *_kwnames
[] = { "self", NULL
};
1869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetQuality",_kwnames
,&_argo0
))
1872 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1873 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetQuality. Expected _wxBitmap_p.");
1879 wxPy_BEGIN_ALLOW_THREADS
;
1880 _result
= (int )wxBitmap_GetQuality(_arg0
);
1882 wxPy_END_ALLOW_THREADS
;
1883 } _resultobj
= Py_BuildValue("i",_result
);
1887 #define wxBitmap_SetQuality(_swigobj,_swigarg0) (_swigobj->SetQuality(_swigarg0))
1888 static PyObject
*_wrap_wxBitmap_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1889 PyObject
* _resultobj
;
1892 PyObject
* _argo0
= 0;
1893 char *_kwnames
[] = { "self","q", NULL
};
1896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetQuality",_kwnames
,&_argo0
,&_arg1
))
1899 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1900 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetQuality. Expected _wxBitmap_p.");
1906 wxPy_BEGIN_ALLOW_THREADS
;
1907 wxBitmap_SetQuality(_arg0
,_arg1
);
1909 wxPy_END_ALLOW_THREADS
;
1910 } Py_INCREF(Py_None
);
1911 _resultobj
= Py_None
;
1915 #define new_wxMask(_swigarg0) (new wxMask(_swigarg0))
1916 static PyObject
*_wrap_new_wxMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1917 PyObject
* _resultobj
;
1920 PyObject
* _argo0
= 0;
1921 char *_kwnames
[] = { "bitmap", NULL
};
1925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxMask",_kwnames
,&_argo0
))
1928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMask. Expected _wxBitmap_p.");
1935 wxPy_BEGIN_ALLOW_THREADS
;
1936 _result
= (wxMask
*)new_wxMask(*_arg0
);
1938 wxPy_END_ALLOW_THREADS
;
1940 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
1941 _resultobj
= Py_BuildValue("s",_ptemp
);
1944 _resultobj
= Py_None
;
1949 #define new_wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1950 static PyObject
*_wrap_new_wxIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1951 PyObject
* _resultobj
;
1955 int _arg2
= (int ) -1;
1956 int _arg3
= (int ) -1;
1957 PyObject
* _obj0
= 0;
1958 char *_kwnames
[] = { "name","flags","desiredWidth","desiredHeight", NULL
};
1962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:new_wxIcon",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
))
1965 #if PYTHON_API_VERSION >= 1009
1966 char* tmpPtr
; int tmpSize
;
1967 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1968 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1971 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1973 _arg0
= new wxString(tmpPtr
, tmpSize
);
1975 if (!PyString_Check(_obj0
)) {
1976 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1979 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1983 wxPy_BEGIN_ALLOW_THREADS
;
1984 _result
= (wxIcon
*)new_wxIcon(*_arg0
,_arg1
,_arg2
,_arg3
);
1986 wxPy_END_ALLOW_THREADS
;
1988 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
1989 _resultobj
= Py_BuildValue("s",_ptemp
);
1992 _resultobj
= Py_None
;
2001 #define delete_wxIcon(_swigobj) (delete _swigobj)
2002 static PyObject
*_wrap_delete_wxIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2003 PyObject
* _resultobj
;
2005 PyObject
* _argo0
= 0;
2006 char *_kwnames
[] = { "self", NULL
};
2009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxIcon",_kwnames
,&_argo0
))
2012 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2013 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxIcon. Expected _wxIcon_p.");
2019 wxPy_BEGIN_ALLOW_THREADS
;
2020 delete_wxIcon(_arg0
);
2022 wxPy_END_ALLOW_THREADS
;
2023 } Py_INCREF(Py_None
);
2024 _resultobj
= Py_None
;
2028 #define wxIcon_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
2029 static PyObject
*_wrap_wxIcon_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2030 PyObject
* _resultobj
;
2035 PyObject
* _argo0
= 0;
2036 PyObject
* _obj1
= 0;
2037 char *_kwnames
[] = { "self","name","flags", NULL
};
2040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOl:wxIcon_LoadFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
2043 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2044 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_LoadFile. Expected _wxIcon_p.");
2050 #if PYTHON_API_VERSION >= 1009
2051 char* tmpPtr
; int tmpSize
;
2052 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2053 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
2056 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2058 _arg1
= new wxString(tmpPtr
, tmpSize
);
2060 if (!PyString_Check(_obj1
)) {
2061 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2064 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2068 wxPy_BEGIN_ALLOW_THREADS
;
2069 _result
= (bool )wxIcon_LoadFile(_arg0
,*_arg1
,_arg2
);
2071 wxPy_END_ALLOW_THREADS
;
2072 } _resultobj
= Py_BuildValue("i",_result
);
2080 #define wxIcon_GetHandle(_swigobj) (_swigobj->GetHandle())
2081 static PyObject
*_wrap_wxIcon_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2082 PyObject
* _resultobj
;
2085 PyObject
* _argo0
= 0;
2086 char *_kwnames
[] = { "self", NULL
};
2089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetHandle",_kwnames
,&_argo0
))
2092 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2093 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetHandle. Expected _wxIcon_p.");
2099 wxPy_BEGIN_ALLOW_THREADS
;
2100 _result
= (long )wxIcon_GetHandle(_arg0
);
2102 wxPy_END_ALLOW_THREADS
;
2103 } _resultobj
= Py_BuildValue("l",_result
);
2107 #define wxIcon_SetHandle(_swigobj,_swigarg0) (_swigobj->SetHandle(_swigarg0))
2108 static PyObject
*_wrap_wxIcon_SetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2109 PyObject
* _resultobj
;
2112 PyObject
* _argo0
= 0;
2113 char *_kwnames
[] = { "self","handle", NULL
};
2116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxIcon_SetHandle",_kwnames
,&_argo0
,&_arg1
))
2119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetHandle. Expected _wxIcon_p.");
2126 wxPy_BEGIN_ALLOW_THREADS
;
2127 wxIcon_SetHandle(_arg0
,_arg1
);
2129 wxPy_END_ALLOW_THREADS
;
2130 } Py_INCREF(Py_None
);
2131 _resultobj
= Py_None
;
2135 #define wxIcon_Ok(_swigobj) (_swigobj->Ok())
2136 static PyObject
*_wrap_wxIcon_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2137 PyObject
* _resultobj
;
2140 PyObject
* _argo0
= 0;
2141 char *_kwnames
[] = { "self", NULL
};
2144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_Ok",_kwnames
,&_argo0
))
2147 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2148 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_Ok. Expected _wxIcon_p.");
2154 wxPy_BEGIN_ALLOW_THREADS
;
2155 _result
= (bool )wxIcon_Ok(_arg0
);
2157 wxPy_END_ALLOW_THREADS
;
2158 } _resultobj
= Py_BuildValue("i",_result
);
2162 #define wxIcon_GetWidth(_swigobj) (_swigobj->GetWidth())
2163 static PyObject
*_wrap_wxIcon_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2164 PyObject
* _resultobj
;
2167 PyObject
* _argo0
= 0;
2168 char *_kwnames
[] = { "self", NULL
};
2171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetWidth",_kwnames
,&_argo0
))
2174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetWidth. Expected _wxIcon_p.");
2181 wxPy_BEGIN_ALLOW_THREADS
;
2182 _result
= (int )wxIcon_GetWidth(_arg0
);
2184 wxPy_END_ALLOW_THREADS
;
2185 } _resultobj
= Py_BuildValue("i",_result
);
2189 #define wxIcon_GetHeight(_swigobj) (_swigobj->GetHeight())
2190 static PyObject
*_wrap_wxIcon_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2191 PyObject
* _resultobj
;
2194 PyObject
* _argo0
= 0;
2195 char *_kwnames
[] = { "self", NULL
};
2198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetHeight",_kwnames
,&_argo0
))
2201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetHeight. Expected _wxIcon_p.");
2208 wxPy_BEGIN_ALLOW_THREADS
;
2209 _result
= (int )wxIcon_GetHeight(_arg0
);
2211 wxPy_END_ALLOW_THREADS
;
2212 } _resultobj
= Py_BuildValue("i",_result
);
2216 #define wxIcon_GetDepth(_swigobj) (_swigobj->GetDepth())
2217 static PyObject
*_wrap_wxIcon_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2218 PyObject
* _resultobj
;
2221 PyObject
* _argo0
= 0;
2222 char *_kwnames
[] = { "self", NULL
};
2225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetDepth",_kwnames
,&_argo0
))
2228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetDepth. Expected _wxIcon_p.");
2235 wxPy_BEGIN_ALLOW_THREADS
;
2236 _result
= (int )wxIcon_GetDepth(_arg0
);
2238 wxPy_END_ALLOW_THREADS
;
2239 } _resultobj
= Py_BuildValue("i",_result
);
2243 #define wxIcon_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2244 static PyObject
*_wrap_wxIcon_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2245 PyObject
* _resultobj
;
2248 PyObject
* _argo0
= 0;
2249 char *_kwnames
[] = { "self","w", NULL
};
2252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetWidth",_kwnames
,&_argo0
,&_arg1
))
2255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetWidth. Expected _wxIcon_p.");
2262 wxPy_BEGIN_ALLOW_THREADS
;
2263 wxIcon_SetWidth(_arg0
,_arg1
);
2265 wxPy_END_ALLOW_THREADS
;
2266 } Py_INCREF(Py_None
);
2267 _resultobj
= Py_None
;
2271 #define wxIcon_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
2272 static PyObject
*_wrap_wxIcon_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2273 PyObject
* _resultobj
;
2276 PyObject
* _argo0
= 0;
2277 char *_kwnames
[] = { "self","h", NULL
};
2280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetHeight",_kwnames
,&_argo0
,&_arg1
))
2283 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2284 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetHeight. Expected _wxIcon_p.");
2290 wxPy_BEGIN_ALLOW_THREADS
;
2291 wxIcon_SetHeight(_arg0
,_arg1
);
2293 wxPy_END_ALLOW_THREADS
;
2294 } Py_INCREF(Py_None
);
2295 _resultobj
= Py_None
;
2299 #define wxIcon_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
2300 static PyObject
*_wrap_wxIcon_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2301 PyObject
* _resultobj
;
2304 PyObject
* _argo0
= 0;
2305 char *_kwnames
[] = { "self","d", NULL
};
2308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetDepth",_kwnames
,&_argo0
,&_arg1
))
2311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetDepth. Expected _wxIcon_p.");
2318 wxPy_BEGIN_ALLOW_THREADS
;
2319 wxIcon_SetDepth(_arg0
,_arg1
);
2321 wxPy_END_ALLOW_THREADS
;
2322 } Py_INCREF(Py_None
);
2323 _resultobj
= Py_None
;
2327 #define wxIcon_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2328 static PyObject
*_wrap_wxIcon_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2329 PyObject
* _resultobj
;
2332 PyObject
* _argo0
= 0;
2334 PyObject
* _obj1
= 0;
2335 char *_kwnames
[] = { "self","size", NULL
};
2338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIcon_SetSize",_kwnames
,&_argo0
,&_obj1
))
2341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetSize. Expected _wxIcon_p.");
2349 if (! wxSize_helper(_obj1
, &_arg1
))
2353 wxPy_BEGIN_ALLOW_THREADS
;
2354 wxIcon_SetSize(_arg0
,*_arg1
);
2356 wxPy_END_ALLOW_THREADS
;
2357 } Py_INCREF(Py_None
);
2358 _resultobj
= Py_None
;
2362 #define new_wxCursor(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxCursor(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2363 static PyObject
*_wrap_new_wxCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2364 PyObject
* _resultobj
;
2368 int _arg2
= (int ) 0;
2369 int _arg3
= (int ) 0;
2370 PyObject
* _obj0
= 0;
2371 char *_kwnames
[] = { "cursorName","flags","hotSpotX","hotSpotY", NULL
};
2375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:new_wxCursor",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
))
2378 #if PYTHON_API_VERSION >= 1009
2379 char* tmpPtr
; int tmpSize
;
2380 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2381 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
2384 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2386 _arg0
= new wxString(tmpPtr
, tmpSize
);
2388 if (!PyString_Check(_obj0
)) {
2389 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2392 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2396 wxPy_BEGIN_ALLOW_THREADS
;
2397 _result
= (wxCursor
*)new_wxCursor(*_arg0
,_arg1
,_arg2
,_arg3
);
2399 wxPy_END_ALLOW_THREADS
;
2401 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCursor_p");
2402 _resultobj
= Py_BuildValue("s",_ptemp
);
2405 _resultobj
= Py_None
;
2414 #define delete_wxCursor(_swigobj) (delete _swigobj)
2415 static PyObject
*_wrap_delete_wxCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2416 PyObject
* _resultobj
;
2418 PyObject
* _argo0
= 0;
2419 char *_kwnames
[] = { "self", NULL
};
2422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCursor",_kwnames
,&_argo0
))
2425 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2426 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCursor. Expected _wxCursor_p.");
2432 wxPy_BEGIN_ALLOW_THREADS
;
2433 delete_wxCursor(_arg0
);
2435 wxPy_END_ALLOW_THREADS
;
2436 } Py_INCREF(Py_None
);
2437 _resultobj
= Py_None
;
2441 #define wxCursor_GetHandle(_swigobj) (_swigobj->GetHandle())
2442 static PyObject
*_wrap_wxCursor_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2443 PyObject
* _resultobj
;
2446 PyObject
* _argo0
= 0;
2447 char *_kwnames
[] = { "self", NULL
};
2450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCursor_GetHandle",_kwnames
,&_argo0
))
2453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_GetHandle. Expected _wxCursor_p.");
2460 wxPy_BEGIN_ALLOW_THREADS
;
2461 _result
= (long )wxCursor_GetHandle(_arg0
);
2463 wxPy_END_ALLOW_THREADS
;
2464 } _resultobj
= Py_BuildValue("l",_result
);
2468 #define wxCursor_SetHandle(_swigobj,_swigarg0) (_swigobj->SetHandle(_swigarg0))
2469 static PyObject
*_wrap_wxCursor_SetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2470 PyObject
* _resultobj
;
2473 PyObject
* _argo0
= 0;
2474 char *_kwnames
[] = { "self","handle", NULL
};
2477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxCursor_SetHandle",_kwnames
,&_argo0
,&_arg1
))
2480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_SetHandle. Expected _wxCursor_p.");
2487 wxPy_BEGIN_ALLOW_THREADS
;
2488 wxCursor_SetHandle(_arg0
,_arg1
);
2490 wxPy_END_ALLOW_THREADS
;
2491 } Py_INCREF(Py_None
);
2492 _resultobj
= Py_None
;
2496 #define wxCursor_Ok(_swigobj) (_swigobj->Ok())
2497 static PyObject
*_wrap_wxCursor_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2498 PyObject
* _resultobj
;
2501 PyObject
* _argo0
= 0;
2502 char *_kwnames
[] = { "self", NULL
};
2505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCursor_Ok",_kwnames
,&_argo0
))
2508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_Ok. Expected _wxCursor_p.");
2515 wxPy_BEGIN_ALLOW_THREADS
;
2516 _result
= (bool )wxCursor_Ok(_arg0
);
2518 wxPy_END_ALLOW_THREADS
;
2519 } _resultobj
= Py_BuildValue("i",_result
);
2523 #define wxCursor_GetWidth(_swigobj) (_swigobj->GetWidth())
2524 static PyObject
*_wrap_wxCursor_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2525 PyObject
* _resultobj
;
2528 PyObject
* _argo0
= 0;
2529 char *_kwnames
[] = { "self", NULL
};
2532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCursor_GetWidth",_kwnames
,&_argo0
))
2535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_GetWidth. Expected _wxCursor_p.");
2542 wxPy_BEGIN_ALLOW_THREADS
;
2543 _result
= (int )wxCursor_GetWidth(_arg0
);
2545 wxPy_END_ALLOW_THREADS
;
2546 } _resultobj
= Py_BuildValue("i",_result
);
2550 #define wxCursor_GetHeight(_swigobj) (_swigobj->GetHeight())
2551 static PyObject
*_wrap_wxCursor_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2552 PyObject
* _resultobj
;
2555 PyObject
* _argo0
= 0;
2556 char *_kwnames
[] = { "self", NULL
};
2559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCursor_GetHeight",_kwnames
,&_argo0
))
2562 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2563 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_GetHeight. Expected _wxCursor_p.");
2569 wxPy_BEGIN_ALLOW_THREADS
;
2570 _result
= (int )wxCursor_GetHeight(_arg0
);
2572 wxPy_END_ALLOW_THREADS
;
2573 } _resultobj
= Py_BuildValue("i",_result
);
2577 #define wxCursor_GetDepth(_swigobj) (_swigobj->GetDepth())
2578 static PyObject
*_wrap_wxCursor_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2579 PyObject
* _resultobj
;
2582 PyObject
* _argo0
= 0;
2583 char *_kwnames
[] = { "self", NULL
};
2586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCursor_GetDepth",_kwnames
,&_argo0
))
2589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_GetDepth. Expected _wxCursor_p.");
2596 wxPy_BEGIN_ALLOW_THREADS
;
2597 _result
= (int )wxCursor_GetDepth(_arg0
);
2599 wxPy_END_ALLOW_THREADS
;
2600 } _resultobj
= Py_BuildValue("i",_result
);
2604 #define wxCursor_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2605 static PyObject
*_wrap_wxCursor_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2606 PyObject
* _resultobj
;
2609 PyObject
* _argo0
= 0;
2610 char *_kwnames
[] = { "self","w", NULL
};
2613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCursor_SetWidth",_kwnames
,&_argo0
,&_arg1
))
2616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_SetWidth. Expected _wxCursor_p.");
2623 wxPy_BEGIN_ALLOW_THREADS
;
2624 wxCursor_SetWidth(_arg0
,_arg1
);
2626 wxPy_END_ALLOW_THREADS
;
2627 } Py_INCREF(Py_None
);
2628 _resultobj
= Py_None
;
2632 #define wxCursor_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
2633 static PyObject
*_wrap_wxCursor_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2634 PyObject
* _resultobj
;
2637 PyObject
* _argo0
= 0;
2638 char *_kwnames
[] = { "self","h", NULL
};
2641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCursor_SetHeight",_kwnames
,&_argo0
,&_arg1
))
2644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_SetHeight. Expected _wxCursor_p.");
2651 wxPy_BEGIN_ALLOW_THREADS
;
2652 wxCursor_SetHeight(_arg0
,_arg1
);
2654 wxPy_END_ALLOW_THREADS
;
2655 } Py_INCREF(Py_None
);
2656 _resultobj
= Py_None
;
2660 #define wxCursor_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
2661 static PyObject
*_wrap_wxCursor_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2662 PyObject
* _resultobj
;
2665 PyObject
* _argo0
= 0;
2666 char *_kwnames
[] = { "self","d", NULL
};
2669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCursor_SetDepth",_kwnames
,&_argo0
,&_arg1
))
2672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_SetDepth. Expected _wxCursor_p.");
2679 wxPy_BEGIN_ALLOW_THREADS
;
2680 wxCursor_SetDepth(_arg0
,_arg1
);
2682 wxPy_END_ALLOW_THREADS
;
2683 } Py_INCREF(Py_None
);
2684 _resultobj
= Py_None
;
2688 #define wxCursor_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2689 static PyObject
*_wrap_wxCursor_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2690 PyObject
* _resultobj
;
2693 PyObject
* _argo0
= 0;
2695 PyObject
* _obj1
= 0;
2696 char *_kwnames
[] = { "self","size", NULL
};
2699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCursor_SetSize",_kwnames
,&_argo0
,&_obj1
))
2702 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2703 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_SetSize. Expected _wxCursor_p.");
2710 if (! wxSize_helper(_obj1
, &_arg1
))
2714 wxPy_BEGIN_ALLOW_THREADS
;
2715 wxCursor_SetSize(_arg0
,*_arg1
);
2717 wxPy_END_ALLOW_THREADS
;
2718 } Py_INCREF(Py_None
);
2719 _resultobj
= Py_None
;
2723 #define new_wxFont(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFont(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2724 static PyObject
*_wrap_new_wxFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2725 PyObject
* _resultobj
;
2731 int _arg4
= (int ) FALSE
;
2732 char * _arg5
= (char *) "";
2733 wxFontEncoding _arg6
= (wxFontEncoding
) (wxFONTENCODING_DEFAULT
);
2734 char *_kwnames
[] = { "pointSize","family","style","weight","underline","faceName","encoding", NULL
};
2738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiii|isi:new_wxFont",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
2741 wxPy_BEGIN_ALLOW_THREADS
;
2742 _result
= (wxFont
*)new_wxFont(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2744 wxPy_END_ALLOW_THREADS
;
2746 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
2747 _resultobj
= Py_BuildValue("s",_ptemp
);
2750 _resultobj
= Py_None
;
2755 #define delete_wxFont(_swigobj) (delete _swigobj)
2756 static PyObject
*_wrap_delete_wxFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2757 PyObject
* _resultobj
;
2759 PyObject
* _argo0
= 0;
2760 char *_kwnames
[] = { "self", NULL
};
2763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFont",_kwnames
,&_argo0
))
2766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFont. Expected _wxFont_p.");
2773 wxPy_BEGIN_ALLOW_THREADS
;
2774 delete_wxFont(_arg0
);
2776 wxPy_END_ALLOW_THREADS
;
2777 } Py_INCREF(Py_None
);
2778 _resultobj
= Py_None
;
2782 #define wxFont_Ok(_swigobj) (_swigobj->Ok())
2783 static PyObject
*_wrap_wxFont_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2784 PyObject
* _resultobj
;
2787 PyObject
* _argo0
= 0;
2788 char *_kwnames
[] = { "self", NULL
};
2791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_Ok",_kwnames
,&_argo0
))
2794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_Ok. Expected _wxFont_p.");
2801 wxPy_BEGIN_ALLOW_THREADS
;
2802 _result
= (bool )wxFont_Ok(_arg0
);
2804 wxPy_END_ALLOW_THREADS
;
2805 } _resultobj
= Py_BuildValue("i",_result
);
2809 #define wxFont_GetFaceName(_swigobj) (_swigobj->GetFaceName())
2810 static PyObject
*_wrap_wxFont_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2811 PyObject
* _resultobj
;
2814 PyObject
* _argo0
= 0;
2815 char *_kwnames
[] = { "self", NULL
};
2818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFaceName",_kwnames
,&_argo0
))
2821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFaceName. Expected _wxFont_p.");
2828 wxPy_BEGIN_ALLOW_THREADS
;
2829 _result
= new wxString (wxFont_GetFaceName(_arg0
));
2831 wxPy_END_ALLOW_THREADS
;
2833 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2841 #define wxFont_GetFamily(_swigobj) (_swigobj->GetFamily())
2842 static PyObject
*_wrap_wxFont_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2843 PyObject
* _resultobj
;
2846 PyObject
* _argo0
= 0;
2847 char *_kwnames
[] = { "self", NULL
};
2850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFamily",_kwnames
,&_argo0
))
2853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFamily. Expected _wxFont_p.");
2860 wxPy_BEGIN_ALLOW_THREADS
;
2861 _result
= (int )wxFont_GetFamily(_arg0
);
2863 wxPy_END_ALLOW_THREADS
;
2864 } _resultobj
= Py_BuildValue("i",_result
);
2868 #define wxFont_GetFontId(_swigobj) (_swigobj->GetFontId())
2869 static PyObject
*_wrap_wxFont_GetFontId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2870 PyObject
* _resultobj
;
2873 PyObject
* _argo0
= 0;
2874 char *_kwnames
[] = { "self", NULL
};
2877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFontId",_kwnames
,&_argo0
))
2880 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2881 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFontId. Expected _wxFont_p.");
2887 wxPy_BEGIN_ALLOW_THREADS
;
2888 _result
= (int )wxFont_GetFontId(_arg0
);
2890 wxPy_END_ALLOW_THREADS
;
2891 } _resultobj
= Py_BuildValue("i",_result
);
2895 #define wxFont_GetPointSize(_swigobj) (_swigobj->GetPointSize())
2896 static PyObject
*_wrap_wxFont_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2897 PyObject
* _resultobj
;
2900 PyObject
* _argo0
= 0;
2901 char *_kwnames
[] = { "self", NULL
};
2904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetPointSize",_kwnames
,&_argo0
))
2907 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2908 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetPointSize. Expected _wxFont_p.");
2914 wxPy_BEGIN_ALLOW_THREADS
;
2915 _result
= (int )wxFont_GetPointSize(_arg0
);
2917 wxPy_END_ALLOW_THREADS
;
2918 } _resultobj
= Py_BuildValue("i",_result
);
2922 #define wxFont_GetStyle(_swigobj) (_swigobj->GetStyle())
2923 static PyObject
*_wrap_wxFont_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2924 PyObject
* _resultobj
;
2927 PyObject
* _argo0
= 0;
2928 char *_kwnames
[] = { "self", NULL
};
2931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetStyle",_kwnames
,&_argo0
))
2934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetStyle. Expected _wxFont_p.");
2941 wxPy_BEGIN_ALLOW_THREADS
;
2942 _result
= (int )wxFont_GetStyle(_arg0
);
2944 wxPy_END_ALLOW_THREADS
;
2945 } _resultobj
= Py_BuildValue("i",_result
);
2949 #define wxFont_GetUnderlined(_swigobj) (_swigobj->GetUnderlined())
2950 static PyObject
*_wrap_wxFont_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2951 PyObject
* _resultobj
;
2954 PyObject
* _argo0
= 0;
2955 char *_kwnames
[] = { "self", NULL
};
2958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetUnderlined",_kwnames
,&_argo0
))
2961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetUnderlined. Expected _wxFont_p.");
2968 wxPy_BEGIN_ALLOW_THREADS
;
2969 _result
= (bool )wxFont_GetUnderlined(_arg0
);
2971 wxPy_END_ALLOW_THREADS
;
2972 } _resultobj
= Py_BuildValue("i",_result
);
2976 #define wxFont_GetWeight(_swigobj) (_swigobj->GetWeight())
2977 static PyObject
*_wrap_wxFont_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2978 PyObject
* _resultobj
;
2981 PyObject
* _argo0
= 0;
2982 char *_kwnames
[] = { "self", NULL
};
2985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetWeight",_kwnames
,&_argo0
))
2988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetWeight. Expected _wxFont_p.");
2995 wxPy_BEGIN_ALLOW_THREADS
;
2996 _result
= (int )wxFont_GetWeight(_arg0
);
2998 wxPy_END_ALLOW_THREADS
;
2999 } _resultobj
= Py_BuildValue("i",_result
);
3003 #define wxFont_GetEncoding(_swigobj) (_swigobj->GetEncoding())
3004 static PyObject
*_wrap_wxFont_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3005 PyObject
* _resultobj
;
3006 wxFontEncoding _result
;
3008 PyObject
* _argo0
= 0;
3009 char *_kwnames
[] = { "self", NULL
};
3012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetEncoding",_kwnames
,&_argo0
))
3015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetEncoding. Expected _wxFont_p.");
3022 wxPy_BEGIN_ALLOW_THREADS
;
3023 _result
= (wxFontEncoding
)wxFont_GetEncoding(_arg0
);
3025 wxPy_END_ALLOW_THREADS
;
3026 } _resultobj
= Py_BuildValue("i",_result
);
3030 #define wxFont_SetFaceName(_swigobj,_swigarg0) (_swigobj->SetFaceName(_swigarg0))
3031 static PyObject
*_wrap_wxFont_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3032 PyObject
* _resultobj
;
3035 PyObject
* _argo0
= 0;
3036 PyObject
* _obj1
= 0;
3037 char *_kwnames
[] = { "self","faceName", NULL
};
3040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFont_SetFaceName",_kwnames
,&_argo0
,&_obj1
))
3043 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3044 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFaceName. Expected _wxFont_p.");
3050 #if PYTHON_API_VERSION >= 1009
3051 char* tmpPtr
; int tmpSize
;
3052 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3053 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
3056 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3058 _arg1
= new wxString(tmpPtr
, tmpSize
);
3060 if (!PyString_Check(_obj1
)) {
3061 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3064 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3068 wxPy_BEGIN_ALLOW_THREADS
;
3069 wxFont_SetFaceName(_arg0
,*_arg1
);
3071 wxPy_END_ALLOW_THREADS
;
3072 } Py_INCREF(Py_None
);
3073 _resultobj
= Py_None
;
3081 #define wxFont_SetFamily(_swigobj,_swigarg0) (_swigobj->SetFamily(_swigarg0))
3082 static PyObject
*_wrap_wxFont_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3083 PyObject
* _resultobj
;
3086 PyObject
* _argo0
= 0;
3087 char *_kwnames
[] = { "self","family", NULL
};
3090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetFamily",_kwnames
,&_argo0
,&_arg1
))
3093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFamily. Expected _wxFont_p.");
3100 wxPy_BEGIN_ALLOW_THREADS
;
3101 wxFont_SetFamily(_arg0
,_arg1
);
3103 wxPy_END_ALLOW_THREADS
;
3104 } Py_INCREF(Py_None
);
3105 _resultobj
= Py_None
;
3109 #define wxFont_SetPointSize(_swigobj,_swigarg0) (_swigobj->SetPointSize(_swigarg0))
3110 static PyObject
*_wrap_wxFont_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3111 PyObject
* _resultobj
;
3114 PyObject
* _argo0
= 0;
3115 char *_kwnames
[] = { "self","pointSize", NULL
};
3118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetPointSize",_kwnames
,&_argo0
,&_arg1
))
3121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetPointSize. Expected _wxFont_p.");
3128 wxPy_BEGIN_ALLOW_THREADS
;
3129 wxFont_SetPointSize(_arg0
,_arg1
);
3131 wxPy_END_ALLOW_THREADS
;
3132 } Py_INCREF(Py_None
);
3133 _resultobj
= Py_None
;
3137 #define wxFont_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
3138 static PyObject
*_wrap_wxFont_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3139 PyObject
* _resultobj
;
3142 PyObject
* _argo0
= 0;
3143 char *_kwnames
[] = { "self","style", NULL
};
3146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetStyle",_kwnames
,&_argo0
,&_arg1
))
3149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetStyle. Expected _wxFont_p.");
3156 wxPy_BEGIN_ALLOW_THREADS
;
3157 wxFont_SetStyle(_arg0
,_arg1
);
3159 wxPy_END_ALLOW_THREADS
;
3160 } Py_INCREF(Py_None
);
3161 _resultobj
= Py_None
;
3165 #define wxFont_SetUnderlined(_swigobj,_swigarg0) (_swigobj->SetUnderlined(_swigarg0))
3166 static PyObject
*_wrap_wxFont_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3167 PyObject
* _resultobj
;
3170 PyObject
* _argo0
= 0;
3172 char *_kwnames
[] = { "self","underlined", NULL
};
3175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetUnderlined",_kwnames
,&_argo0
,&tempbool1
))
3178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetUnderlined. Expected _wxFont_p.");
3184 _arg1
= (bool ) tempbool1
;
3186 wxPy_BEGIN_ALLOW_THREADS
;
3187 wxFont_SetUnderlined(_arg0
,_arg1
);
3189 wxPy_END_ALLOW_THREADS
;
3190 } Py_INCREF(Py_None
);
3191 _resultobj
= Py_None
;
3195 #define wxFont_SetWeight(_swigobj,_swigarg0) (_swigobj->SetWeight(_swigarg0))
3196 static PyObject
*_wrap_wxFont_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3197 PyObject
* _resultobj
;
3200 PyObject
* _argo0
= 0;
3201 char *_kwnames
[] = { "self","weight", NULL
};
3204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetWeight",_kwnames
,&_argo0
,&_arg1
))
3207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetWeight. Expected _wxFont_p.");
3214 wxPy_BEGIN_ALLOW_THREADS
;
3215 wxFont_SetWeight(_arg0
,_arg1
);
3217 wxPy_END_ALLOW_THREADS
;
3218 } Py_INCREF(Py_None
);
3219 _resultobj
= Py_None
;
3223 #define wxFont_SetEncoding(_swigobj,_swigarg0) (_swigobj->SetEncoding(_swigarg0))
3224 static PyObject
*_wrap_wxFont_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3225 PyObject
* _resultobj
;
3227 wxFontEncoding _arg1
;
3228 PyObject
* _argo0
= 0;
3229 char *_kwnames
[] = { "self","encoding", NULL
};
3232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetEncoding",_kwnames
,&_argo0
,&_arg1
))
3235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetEncoding. Expected _wxFont_p.");
3242 wxPy_BEGIN_ALLOW_THREADS
;
3243 wxFont_SetEncoding(_arg0
,_arg1
);
3245 wxPy_END_ALLOW_THREADS
;
3246 } Py_INCREF(Py_None
);
3247 _resultobj
= Py_None
;
3251 #define wxFont_GetFamilyString(_swigobj) (_swigobj->GetFamilyString())
3252 static PyObject
*_wrap_wxFont_GetFamilyString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3253 PyObject
* _resultobj
;
3256 PyObject
* _argo0
= 0;
3257 char *_kwnames
[] = { "self", NULL
};
3260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFamilyString",_kwnames
,&_argo0
))
3263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFamilyString. Expected _wxFont_p.");
3270 wxPy_BEGIN_ALLOW_THREADS
;
3271 _result
= new wxString (wxFont_GetFamilyString(_arg0
));
3273 wxPy_END_ALLOW_THREADS
;
3275 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3283 #define wxFont_GetStyleString(_swigobj) (_swigobj->GetStyleString())
3284 static PyObject
*_wrap_wxFont_GetStyleString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3285 PyObject
* _resultobj
;
3288 PyObject
* _argo0
= 0;
3289 char *_kwnames
[] = { "self", NULL
};
3292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetStyleString",_kwnames
,&_argo0
))
3295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetStyleString. Expected _wxFont_p.");
3302 wxPy_BEGIN_ALLOW_THREADS
;
3303 _result
= new wxString (wxFont_GetStyleString(_arg0
));
3305 wxPy_END_ALLOW_THREADS
;
3307 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3315 #define wxFont_GetWeightString(_swigobj) (_swigobj->GetWeightString())
3316 static PyObject
*_wrap_wxFont_GetWeightString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3317 PyObject
* _resultobj
;
3320 PyObject
* _argo0
= 0;
3321 char *_kwnames
[] = { "self", NULL
};
3324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetWeightString",_kwnames
,&_argo0
))
3327 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3328 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetWeightString. Expected _wxFont_p.");
3334 wxPy_BEGIN_ALLOW_THREADS
;
3335 _result
= new wxString (wxFont_GetWeightString(_arg0
));
3337 wxPy_END_ALLOW_THREADS
;
3339 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3347 #define wxFontList_AddFont(_swigobj,_swigarg0) (_swigobj->AddFont(_swigarg0))
3348 static PyObject
*_wrap_wxFontList_AddFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3349 PyObject
* _resultobj
;
3352 PyObject
* _argo0
= 0;
3353 PyObject
* _argo1
= 0;
3354 char *_kwnames
[] = { "self","font", NULL
};
3357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontList_AddFont",_kwnames
,&_argo0
,&_argo1
))
3360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) {
3362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_AddFont. Expected _wxFontList_p.");
3367 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3368 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
3369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontList_AddFont. Expected _wxFont_p.");
3374 wxPy_BEGIN_ALLOW_THREADS
;
3375 wxFontList_AddFont(_arg0
,_arg1
);
3377 wxPy_END_ALLOW_THREADS
;
3378 } Py_INCREF(Py_None
);
3379 _resultobj
= Py_None
;
3383 #define wxFontList_FindOrCreateFont(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->FindOrCreateFont(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3384 static PyObject
*_wrap_wxFontList_FindOrCreateFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3385 PyObject
* _resultobj
;
3392 bool _arg5
= (bool ) FALSE
;
3393 char * _arg6
= (char *) NULL
;
3394 wxFontEncoding _arg7
= (wxFontEncoding
) (wxFONTENCODING_DEFAULT
);
3395 PyObject
* _argo0
= 0;
3396 int tempbool5
= (int) FALSE
;
3397 char *_kwnames
[] = { "self","point_size","family","style","weight","underline","facename","encoding", NULL
};
3401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|isi:wxFontList_FindOrCreateFont",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
,&_arg6
,&_arg7
))
3404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) {
3406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_FindOrCreateFont. Expected _wxFontList_p.");
3410 _arg5
= (bool ) tempbool5
;
3412 wxPy_BEGIN_ALLOW_THREADS
;
3413 _result
= (wxFont
*)wxFontList_FindOrCreateFont(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
);
3415 wxPy_END_ALLOW_THREADS
;
3417 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
3418 _resultobj
= Py_BuildValue("s",_ptemp
);
3421 _resultobj
= Py_None
;
3426 #define wxFontList_RemoveFont(_swigobj,_swigarg0) (_swigobj->RemoveFont(_swigarg0))
3427 static PyObject
*_wrap_wxFontList_RemoveFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3428 PyObject
* _resultobj
;
3431 PyObject
* _argo0
= 0;
3432 PyObject
* _argo1
= 0;
3433 char *_kwnames
[] = { "self","font", NULL
};
3436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontList_RemoveFont",_kwnames
,&_argo0
,&_argo1
))
3439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) {
3441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_RemoveFont. Expected _wxFontList_p.");
3446 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3447 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
3448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontList_RemoveFont. Expected _wxFont_p.");
3453 wxPy_BEGIN_ALLOW_THREADS
;
3454 wxFontList_RemoveFont(_arg0
,_arg1
);
3456 wxPy_END_ALLOW_THREADS
;
3457 } Py_INCREF(Py_None
);
3458 _resultobj
= Py_None
;
3462 #define new_wxColour(_swigarg0,_swigarg1,_swigarg2) (new wxColour(_swigarg0,_swigarg1,_swigarg2))
3463 static PyObject
*_wrap_new_wxColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3464 PyObject
* _resultobj
;
3466 unsigned char _arg0
= (unsigned char ) 0;
3467 unsigned char _arg1
= (unsigned char ) 0;
3468 unsigned char _arg2
= (unsigned char ) 0;
3469 char *_kwnames
[] = { "red","green","blue", NULL
};
3473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|bbb:new_wxColour",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
3476 wxPy_BEGIN_ALLOW_THREADS
;
3477 _result
= (wxColour
*)new_wxColour(_arg0
,_arg1
,_arg2
);
3479 wxPy_END_ALLOW_THREADS
;
3481 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3482 _resultobj
= Py_BuildValue("s",_ptemp
);
3485 _resultobj
= Py_None
;
3490 #define delete_wxColour(_swigobj) (delete _swigobj)
3491 static PyObject
*_wrap_delete_wxColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3492 PyObject
* _resultobj
;
3495 PyObject
* _obj0
= 0;
3496 char *_kwnames
[] = { "self", NULL
};
3499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxColour",_kwnames
,&_obj0
))
3503 if (! wxColour_helper(_obj0
, &_arg0
))
3507 wxPy_BEGIN_ALLOW_THREADS
;
3508 delete_wxColour(_arg0
);
3510 wxPy_END_ALLOW_THREADS
;
3511 } Py_INCREF(Py_None
);
3512 _resultobj
= Py_None
;
3516 #define wxColour_Red(_swigobj) (_swigobj->Red())
3517 static PyObject
*_wrap_wxColour_Red(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3518 PyObject
* _resultobj
;
3519 unsigned char _result
;
3522 PyObject
* _obj0
= 0;
3523 char *_kwnames
[] = { "self", NULL
};
3526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Red",_kwnames
,&_obj0
))
3530 if (! wxColour_helper(_obj0
, &_arg0
))
3534 wxPy_BEGIN_ALLOW_THREADS
;
3535 _result
= (unsigned char )wxColour_Red(_arg0
);
3537 wxPy_END_ALLOW_THREADS
;
3538 } _resultobj
= Py_BuildValue("b",_result
);
3542 #define wxColour_Green(_swigobj) (_swigobj->Green())
3543 static PyObject
*_wrap_wxColour_Green(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3544 PyObject
* _resultobj
;
3545 unsigned char _result
;
3548 PyObject
* _obj0
= 0;
3549 char *_kwnames
[] = { "self", NULL
};
3552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Green",_kwnames
,&_obj0
))
3556 if (! wxColour_helper(_obj0
, &_arg0
))
3560 wxPy_BEGIN_ALLOW_THREADS
;
3561 _result
= (unsigned char )wxColour_Green(_arg0
);
3563 wxPy_END_ALLOW_THREADS
;
3564 } _resultobj
= Py_BuildValue("b",_result
);
3568 #define wxColour_Blue(_swigobj) (_swigobj->Blue())
3569 static PyObject
*_wrap_wxColour_Blue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3570 PyObject
* _resultobj
;
3571 unsigned char _result
;
3574 PyObject
* _obj0
= 0;
3575 char *_kwnames
[] = { "self", NULL
};
3578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Blue",_kwnames
,&_obj0
))
3582 if (! wxColour_helper(_obj0
, &_arg0
))
3586 wxPy_BEGIN_ALLOW_THREADS
;
3587 _result
= (unsigned char )wxColour_Blue(_arg0
);
3589 wxPy_END_ALLOW_THREADS
;
3590 } _resultobj
= Py_BuildValue("b",_result
);
3594 #define wxColour_Ok(_swigobj) (_swigobj->Ok())
3595 static PyObject
*_wrap_wxColour_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3596 PyObject
* _resultobj
;
3600 PyObject
* _obj0
= 0;
3601 char *_kwnames
[] = { "self", NULL
};
3604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Ok",_kwnames
,&_obj0
))
3608 if (! wxColour_helper(_obj0
, &_arg0
))
3612 wxPy_BEGIN_ALLOW_THREADS
;
3613 _result
= (bool )wxColour_Ok(_arg0
);
3615 wxPy_END_ALLOW_THREADS
;
3616 } _resultobj
= Py_BuildValue("i",_result
);
3620 #define wxColour_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
3621 static PyObject
*_wrap_wxColour_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3622 PyObject
* _resultobj
;
3624 unsigned char _arg1
;
3625 unsigned char _arg2
;
3626 unsigned char _arg3
;
3628 PyObject
* _obj0
= 0;
3629 char *_kwnames
[] = { "self","red","green","blue", NULL
};
3632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Obbb:wxColour_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
))
3636 if (! wxColour_helper(_obj0
, &_arg0
))
3640 wxPy_BEGIN_ALLOW_THREADS
;
3641 wxColour_Set(_arg0
,_arg1
,_arg2
,_arg3
);
3643 wxPy_END_ALLOW_THREADS
;
3644 } Py_INCREF(Py_None
);
3645 _resultobj
= Py_None
;
3649 static PyObject
* wxColour_Get(wxColour
*self
) {
3650 PyObject
* rv
= PyTuple_New(3);
3651 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3652 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3653 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3656 static PyObject
*_wrap_wxColour_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3657 PyObject
* _resultobj
;
3661 PyObject
* _obj0
= 0;
3662 char *_kwnames
[] = { "self", NULL
};
3665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Get",_kwnames
,&_obj0
))
3669 if (! wxColour_helper(_obj0
, &_arg0
))
3673 wxPy_BEGIN_ALLOW_THREADS
;
3674 _result
= (PyObject
*)wxColour_Get(_arg0
);
3676 wxPy_END_ALLOW_THREADS
;
3678 _resultobj
= _result
;
3683 #define wxColourDatabase_FindColour(_swigobj,_swigarg0) (_swigobj->FindColour(_swigarg0))
3684 static PyObject
*_wrap_wxColourDatabase_FindColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3685 PyObject
* _resultobj
;
3687 wxColourDatabase
* _arg0
;
3689 PyObject
* _argo0
= 0;
3690 PyObject
* _obj1
= 0;
3691 char *_kwnames
[] = { "self","colour", NULL
};
3695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxColourDatabase_FindColour",_kwnames
,&_argo0
,&_obj1
))
3698 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3699 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
3700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_FindColour. Expected _wxColourDatabase_p.");
3705 #if PYTHON_API_VERSION >= 1009
3706 char* tmpPtr
; int tmpSize
;
3707 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3708 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
3711 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3713 _arg1
= new wxString(tmpPtr
, tmpSize
);
3715 if (!PyString_Check(_obj1
)) {
3716 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3719 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3723 wxPy_BEGIN_ALLOW_THREADS
;
3724 _result
= (wxColour
*)wxColourDatabase_FindColour(_arg0
,*_arg1
);
3726 wxPy_END_ALLOW_THREADS
;
3728 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3729 _resultobj
= Py_BuildValue("s",_ptemp
);
3732 _resultobj
= Py_None
;
3741 #define wxColourDatabase_FindName(_swigobj,_swigarg0) (_swigobj->FindName(_swigarg0))
3742 static PyObject
*_wrap_wxColourDatabase_FindName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3743 PyObject
* _resultobj
;
3745 wxColourDatabase
* _arg0
;
3747 PyObject
* _argo0
= 0;
3749 PyObject
* _obj1
= 0;
3750 char *_kwnames
[] = { "self","colour", NULL
};
3753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxColourDatabase_FindName",_kwnames
,&_argo0
,&_obj1
))
3756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
3758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_FindName. Expected _wxColourDatabase_p.");
3764 if (! wxColour_helper(_obj1
, &_arg1
))
3768 wxPy_BEGIN_ALLOW_THREADS
;
3769 _result
= new wxString (wxColourDatabase_FindName(_arg0
,*_arg1
));
3771 wxPy_END_ALLOW_THREADS
;
3773 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3781 static void wxColourDatabase_Append(wxColourDatabase
*self
,const wxString
& name
,int red
,int green
,int blue
) {
3782 self
->Append(name
.c_str(), new wxColour(red
, green
, blue
));
3784 static PyObject
*_wrap_wxColourDatabase_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3785 PyObject
* _resultobj
;
3786 wxColourDatabase
* _arg0
;
3791 PyObject
* _argo0
= 0;
3792 PyObject
* _obj1
= 0;
3793 char *_kwnames
[] = { "self","name","red","green","blue", NULL
};
3796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiii:wxColourDatabase_Append",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_arg4
))
3799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
3801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_Append. Expected _wxColourDatabase_p.");
3806 #if PYTHON_API_VERSION >= 1009
3807 char* tmpPtr
; int tmpSize
;
3808 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3809 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
3812 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3814 _arg1
= new wxString(tmpPtr
, tmpSize
);
3816 if (!PyString_Check(_obj1
)) {
3817 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3820 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3824 wxPy_BEGIN_ALLOW_THREADS
;
3825 wxColourDatabase_Append(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3827 wxPy_END_ALLOW_THREADS
;
3828 } Py_INCREF(Py_None
);
3829 _resultobj
= Py_None
;
3837 #define new_wxPen(_swigarg0,_swigarg1,_swigarg2) (new wxPen(_swigarg0,_swigarg1,_swigarg2))
3838 static PyObject
*_wrap_new_wxPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3839 PyObject
* _resultobj
;
3842 int _arg1
= (int ) 1;
3843 int _arg2
= (int ) wxSOLID
;
3845 PyObject
* _obj0
= 0;
3846 char *_kwnames
[] = { "colour","width","style", NULL
};
3850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:new_wxPen",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
3854 if (! wxColour_helper(_obj0
, &_arg0
))
3858 wxPy_BEGIN_ALLOW_THREADS
;
3859 _result
= (wxPen
*)new_wxPen(*_arg0
,_arg1
,_arg2
);
3861 wxPy_END_ALLOW_THREADS
;
3863 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
3864 _resultobj
= Py_BuildValue("s",_ptemp
);
3867 _resultobj
= Py_None
;
3872 #define delete_wxPen(_swigobj) (delete _swigobj)
3873 static PyObject
*_wrap_delete_wxPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3874 PyObject
* _resultobj
;
3876 PyObject
* _argo0
= 0;
3877 char *_kwnames
[] = { "self", NULL
};
3880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPen",_kwnames
,&_argo0
))
3883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPen. Expected _wxPen_p.");
3890 wxPy_BEGIN_ALLOW_THREADS
;
3891 delete_wxPen(_arg0
);
3893 wxPy_END_ALLOW_THREADS
;
3894 } Py_INCREF(Py_None
);
3895 _resultobj
= Py_None
;
3899 #define wxPen_GetCap(_swigobj) (_swigobj->GetCap())
3900 static PyObject
*_wrap_wxPen_GetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3901 PyObject
* _resultobj
;
3904 PyObject
* _argo0
= 0;
3905 char *_kwnames
[] = { "self", NULL
};
3908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetCap",_kwnames
,&_argo0
))
3911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetCap. Expected _wxPen_p.");
3918 wxPy_BEGIN_ALLOW_THREADS
;
3919 _result
= (int )wxPen_GetCap(_arg0
);
3921 wxPy_END_ALLOW_THREADS
;
3922 } _resultobj
= Py_BuildValue("i",_result
);
3926 #define wxPen_GetColour(_swigobj) (_swigobj->GetColour())
3927 static PyObject
*_wrap_wxPen_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3928 PyObject
* _resultobj
;
3931 PyObject
* _argo0
= 0;
3932 char *_kwnames
[] = { "self", NULL
};
3936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetColour",_kwnames
,&_argo0
))
3939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetColour. Expected _wxPen_p.");
3946 wxPy_BEGIN_ALLOW_THREADS
;
3947 wxColour
& _result_ref
= wxPen_GetColour(_arg0
);
3948 _result
= (wxColour
*) &_result_ref
;
3950 wxPy_END_ALLOW_THREADS
;
3952 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3953 _resultobj
= Py_BuildValue("s",_ptemp
);
3956 _resultobj
= Py_None
;
3961 #define wxPen_GetJoin(_swigobj) (_swigobj->GetJoin())
3962 static PyObject
*_wrap_wxPen_GetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3963 PyObject
* _resultobj
;
3966 PyObject
* _argo0
= 0;
3967 char *_kwnames
[] = { "self", NULL
};
3970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetJoin",_kwnames
,&_argo0
))
3973 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3974 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetJoin. Expected _wxPen_p.");
3980 wxPy_BEGIN_ALLOW_THREADS
;
3981 _result
= (int )wxPen_GetJoin(_arg0
);
3983 wxPy_END_ALLOW_THREADS
;
3984 } _resultobj
= Py_BuildValue("i",_result
);
3988 #define wxPen_GetStyle(_swigobj) (_swigobj->GetStyle())
3989 static PyObject
*_wrap_wxPen_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3990 PyObject
* _resultobj
;
3993 PyObject
* _argo0
= 0;
3994 char *_kwnames
[] = { "self", NULL
};
3997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetStyle",_kwnames
,&_argo0
))
4000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetStyle. Expected _wxPen_p.");
4007 wxPy_BEGIN_ALLOW_THREADS
;
4008 _result
= (int )wxPen_GetStyle(_arg0
);
4010 wxPy_END_ALLOW_THREADS
;
4011 } _resultobj
= Py_BuildValue("i",_result
);
4015 #define wxPen_GetWidth(_swigobj) (_swigobj->GetWidth())
4016 static PyObject
*_wrap_wxPen_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4017 PyObject
* _resultobj
;
4020 PyObject
* _argo0
= 0;
4021 char *_kwnames
[] = { "self", NULL
};
4024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetWidth",_kwnames
,&_argo0
))
4027 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4028 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetWidth. Expected _wxPen_p.");
4034 wxPy_BEGIN_ALLOW_THREADS
;
4035 _result
= (int )wxPen_GetWidth(_arg0
);
4037 wxPy_END_ALLOW_THREADS
;
4038 } _resultobj
= Py_BuildValue("i",_result
);
4042 #define wxPen_Ok(_swigobj) (_swigobj->Ok())
4043 static PyObject
*_wrap_wxPen_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4044 PyObject
* _resultobj
;
4047 PyObject
* _argo0
= 0;
4048 char *_kwnames
[] = { "self", NULL
};
4051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_Ok",_kwnames
,&_argo0
))
4054 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4055 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_Ok. Expected _wxPen_p.");
4061 wxPy_BEGIN_ALLOW_THREADS
;
4062 _result
= (bool )wxPen_Ok(_arg0
);
4064 wxPy_END_ALLOW_THREADS
;
4065 } _resultobj
= Py_BuildValue("i",_result
);
4069 #define wxPen_SetCap(_swigobj,_swigarg0) (_swigobj->SetCap(_swigarg0))
4070 static PyObject
*_wrap_wxPen_SetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4071 PyObject
* _resultobj
;
4074 PyObject
* _argo0
= 0;
4075 char *_kwnames
[] = { "self","cap_style", NULL
};
4078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetCap",_kwnames
,&_argo0
,&_arg1
))
4081 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4082 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetCap. Expected _wxPen_p.");
4088 wxPy_BEGIN_ALLOW_THREADS
;
4089 wxPen_SetCap(_arg0
,_arg1
);
4091 wxPy_END_ALLOW_THREADS
;
4092 } Py_INCREF(Py_None
);
4093 _resultobj
= Py_None
;
4097 #define wxPen_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
4098 static PyObject
*_wrap_wxPen_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4099 PyObject
* _resultobj
;
4102 PyObject
* _argo0
= 0;
4104 PyObject
* _obj1
= 0;
4105 char *_kwnames
[] = { "self","colour", NULL
};
4108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetColour",_kwnames
,&_argo0
,&_obj1
))
4111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetColour. Expected _wxPen_p.");
4119 if (! wxColour_helper(_obj1
, &_arg1
))
4123 wxPy_BEGIN_ALLOW_THREADS
;
4124 wxPen_SetColour(_arg0
,*_arg1
);
4126 wxPy_END_ALLOW_THREADS
;
4127 } Py_INCREF(Py_None
);
4128 _resultobj
= Py_None
;
4132 #define wxPen_SetJoin(_swigobj,_swigarg0) (_swigobj->SetJoin(_swigarg0))
4133 static PyObject
*_wrap_wxPen_SetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4134 PyObject
* _resultobj
;
4137 PyObject
* _argo0
= 0;
4138 char *_kwnames
[] = { "self","join_style", NULL
};
4141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetJoin",_kwnames
,&_argo0
,&_arg1
))
4144 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4145 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetJoin. Expected _wxPen_p.");
4151 wxPy_BEGIN_ALLOW_THREADS
;
4152 wxPen_SetJoin(_arg0
,_arg1
);
4154 wxPy_END_ALLOW_THREADS
;
4155 } Py_INCREF(Py_None
);
4156 _resultobj
= Py_None
;
4160 #define wxPen_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
4161 static PyObject
*_wrap_wxPen_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4162 PyObject
* _resultobj
;
4165 PyObject
* _argo0
= 0;
4166 char *_kwnames
[] = { "self","style", NULL
};
4169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetStyle",_kwnames
,&_argo0
,&_arg1
))
4172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetStyle. Expected _wxPen_p.");
4179 wxPy_BEGIN_ALLOW_THREADS
;
4180 wxPen_SetStyle(_arg0
,_arg1
);
4182 wxPy_END_ALLOW_THREADS
;
4183 } Py_INCREF(Py_None
);
4184 _resultobj
= Py_None
;
4188 #define wxPen_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
4189 static PyObject
*_wrap_wxPen_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4190 PyObject
* _resultobj
;
4193 PyObject
* _argo0
= 0;
4194 char *_kwnames
[] = { "self","width", NULL
};
4197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetWidth",_kwnames
,&_argo0
,&_arg1
))
4200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetWidth. Expected _wxPen_p.");
4207 wxPy_BEGIN_ALLOW_THREADS
;
4208 wxPen_SetWidth(_arg0
,_arg1
);
4210 wxPy_END_ALLOW_THREADS
;
4211 } Py_INCREF(Py_None
);
4212 _resultobj
= Py_None
;
4216 #define wxPen_GetDashes(_swigobj,_swigarg0) (_swigobj->GetDashes(_swigarg0))
4217 static PyObject
*_wrap_wxPen_GetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4218 PyObject
* _resultobj
;
4222 PyObject
* _argo0
= 0;
4223 PyObject
* _argo1
= 0;
4224 char *_kwnames
[] = { "self","dashes", NULL
};
4227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_GetDashes",_kwnames
,&_argo0
,&_argo1
))
4230 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4231 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetDashes. Expected _wxPen_p.");
4237 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4238 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDash_pp")) {
4239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPen_GetDashes. Expected _wxDash_pp.");
4244 wxPy_BEGIN_ALLOW_THREADS
;
4245 _result
= (int )wxPen_GetDashes(_arg0
,_arg1
);
4247 wxPy_END_ALLOW_THREADS
;
4248 } _resultobj
= Py_BuildValue("i",_result
);
4252 #define wxPen_SetDashes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDashes(_swigarg0,_swigarg1))
4253 static PyObject
*_wrap_wxPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4254 PyObject
* _resultobj
;
4258 PyObject
* _argo0
= 0;
4259 PyObject
* _obj2
= 0;
4260 char *_kwnames
[] = { "self","choices", NULL
};
4263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetDashes",_kwnames
,&_argo0
,&_obj2
))
4266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetDashes. Expected _wxPen_p.");
4274 _arg2
= (wxDash
*)byte_LIST_helper(_obj2
);
4275 if (_arg2
== NULL
) {
4281 _arg1
= PyList_Size(_obj2
);
4288 wxPy_BEGIN_ALLOW_THREADS
;
4289 wxPen_SetDashes(_arg0
,_arg1
,_arg2
);
4291 wxPy_END_ALLOW_THREADS
;
4292 } Py_INCREF(Py_None
);
4293 _resultobj
= Py_None
;
4300 #define wxPen_GetStipple(_swigobj) (_swigobj->GetStipple())
4301 static PyObject
*_wrap_wxPen_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4302 PyObject
* _resultobj
;
4305 PyObject
* _argo0
= 0;
4306 char *_kwnames
[] = { "self", NULL
};
4310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetStipple",_kwnames
,&_argo0
))
4313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetStipple. Expected _wxPen_p.");
4320 wxPy_BEGIN_ALLOW_THREADS
;
4321 _result
= (wxBitmap
*)wxPen_GetStipple(_arg0
);
4323 wxPy_END_ALLOW_THREADS
;
4325 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
4326 _resultobj
= Py_BuildValue("s",_ptemp
);
4329 _resultobj
= Py_None
;
4334 #define wxPen_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
4335 static PyObject
*_wrap_wxPen_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4336 PyObject
* _resultobj
;
4339 PyObject
* _argo0
= 0;
4340 PyObject
* _argo1
= 0;
4341 char *_kwnames
[] = { "self","stipple", NULL
};
4344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetStipple",_kwnames
,&_argo0
,&_argo1
))
4347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetStipple. Expected _wxPen_p.");
4354 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4355 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
4356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPen_SetStipple. Expected _wxBitmap_p.");
4361 wxPy_BEGIN_ALLOW_THREADS
;
4362 wxPen_SetStipple(_arg0
,*_arg1
);
4364 wxPy_END_ALLOW_THREADS
;
4365 } Py_INCREF(Py_None
);
4366 _resultobj
= Py_None
;
4370 #define wxPenList_AddPen(_swigobj,_swigarg0) (_swigobj->AddPen(_swigarg0))
4371 static PyObject
*_wrap_wxPenList_AddPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4372 PyObject
* _resultobj
;
4375 PyObject
* _argo0
= 0;
4376 PyObject
* _argo1
= 0;
4377 char *_kwnames
[] = { "self","pen", NULL
};
4380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPenList_AddPen",_kwnames
,&_argo0
,&_argo1
))
4383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
4385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_AddPen. Expected _wxPenList_p.");
4390 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4391 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
4392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPenList_AddPen. Expected _wxPen_p.");
4397 wxPy_BEGIN_ALLOW_THREADS
;
4398 wxPenList_AddPen(_arg0
,_arg1
);
4400 wxPy_END_ALLOW_THREADS
;
4401 } Py_INCREF(Py_None
);
4402 _resultobj
= Py_None
;
4406 #define wxPenList_FindOrCreatePen(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindOrCreatePen(_swigarg0,_swigarg1,_swigarg2))
4407 static PyObject
*_wrap_wxPenList_FindOrCreatePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4408 PyObject
* _resultobj
;
4414 PyObject
* _argo0
= 0;
4416 PyObject
* _obj1
= 0;
4417 char *_kwnames
[] = { "self","colour","width","style", NULL
};
4421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxPenList_FindOrCreatePen",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
))
4424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
4426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_FindOrCreatePen. Expected _wxPenList_p.");
4432 if (! wxColour_helper(_obj1
, &_arg1
))
4436 wxPy_BEGIN_ALLOW_THREADS
;
4437 _result
= (wxPen
*)wxPenList_FindOrCreatePen(_arg0
,*_arg1
,_arg2
,_arg3
);
4439 wxPy_END_ALLOW_THREADS
;
4441 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
4442 _resultobj
= Py_BuildValue("s",_ptemp
);
4445 _resultobj
= Py_None
;
4450 #define wxPenList_RemovePen(_swigobj,_swigarg0) (_swigobj->RemovePen(_swigarg0))
4451 static PyObject
*_wrap_wxPenList_RemovePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4452 PyObject
* _resultobj
;
4455 PyObject
* _argo0
= 0;
4456 PyObject
* _argo1
= 0;
4457 char *_kwnames
[] = { "self","pen", NULL
};
4460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPenList_RemovePen",_kwnames
,&_argo0
,&_argo1
))
4463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
4465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_RemovePen. Expected _wxPenList_p.");
4470 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4471 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
4472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPenList_RemovePen. Expected _wxPen_p.");
4477 wxPy_BEGIN_ALLOW_THREADS
;
4478 wxPenList_RemovePen(_arg0
,_arg1
);
4480 wxPy_END_ALLOW_THREADS
;
4481 } Py_INCREF(Py_None
);
4482 _resultobj
= Py_None
;
4486 #define new_wxBrush(_swigarg0,_swigarg1) (new wxBrush(_swigarg0,_swigarg1))
4487 static PyObject
*_wrap_new_wxBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4488 PyObject
* _resultobj
;
4491 int _arg1
= (int ) wxSOLID
;
4493 PyObject
* _obj0
= 0;
4494 char *_kwnames
[] = { "colour","style", NULL
};
4498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxBrush",_kwnames
,&_obj0
,&_arg1
))
4502 if (! wxColour_helper(_obj0
, &_arg0
))
4506 wxPy_BEGIN_ALLOW_THREADS
;
4507 _result
= (wxBrush
*)new_wxBrush(*_arg0
,_arg1
);
4509 wxPy_END_ALLOW_THREADS
;
4511 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
4512 _resultobj
= Py_BuildValue("s",_ptemp
);
4515 _resultobj
= Py_None
;
4520 #define delete_wxBrush(_swigobj) (delete _swigobj)
4521 static PyObject
*_wrap_delete_wxBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4522 PyObject
* _resultobj
;
4524 PyObject
* _argo0
= 0;
4525 char *_kwnames
[] = { "self", NULL
};
4528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBrush",_kwnames
,&_argo0
))
4531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBrush. Expected _wxBrush_p.");
4538 wxPy_BEGIN_ALLOW_THREADS
;
4539 delete_wxBrush(_arg0
);
4541 wxPy_END_ALLOW_THREADS
;
4542 } Py_INCREF(Py_None
);
4543 _resultobj
= Py_None
;
4547 #define wxBrush_GetColour(_swigobj) (_swigobj->GetColour())
4548 static PyObject
*_wrap_wxBrush_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4549 PyObject
* _resultobj
;
4552 PyObject
* _argo0
= 0;
4553 char *_kwnames
[] = { "self", NULL
};
4557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetColour",_kwnames
,&_argo0
))
4560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetColour. Expected _wxBrush_p.");
4567 wxPy_BEGIN_ALLOW_THREADS
;
4568 wxColour
& _result_ref
= wxBrush_GetColour(_arg0
);
4569 _result
= (wxColour
*) &_result_ref
;
4571 wxPy_END_ALLOW_THREADS
;
4573 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
4574 _resultobj
= Py_BuildValue("s",_ptemp
);
4577 _resultobj
= Py_None
;
4582 #define wxBrush_GetStipple(_swigobj) (_swigobj->GetStipple())
4583 static PyObject
*_wrap_wxBrush_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4584 PyObject
* _resultobj
;
4587 PyObject
* _argo0
= 0;
4588 char *_kwnames
[] = { "self", NULL
};
4592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetStipple",_kwnames
,&_argo0
))
4595 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4596 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStipple. Expected _wxBrush_p.");
4602 wxPy_BEGIN_ALLOW_THREADS
;
4603 _result
= (wxBitmap
*)wxBrush_GetStipple(_arg0
);
4605 wxPy_END_ALLOW_THREADS
;
4607 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
4608 _resultobj
= Py_BuildValue("s",_ptemp
);
4611 _resultobj
= Py_None
;
4616 #define wxBrush_GetStyle(_swigobj) (_swigobj->GetStyle())
4617 static PyObject
*_wrap_wxBrush_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4618 PyObject
* _resultobj
;
4621 PyObject
* _argo0
= 0;
4622 char *_kwnames
[] = { "self", NULL
};
4625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetStyle",_kwnames
,&_argo0
))
4628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStyle. Expected _wxBrush_p.");
4635 wxPy_BEGIN_ALLOW_THREADS
;
4636 _result
= (int )wxBrush_GetStyle(_arg0
);
4638 wxPy_END_ALLOW_THREADS
;
4639 } _resultobj
= Py_BuildValue("i",_result
);
4643 #define wxBrush_Ok(_swigobj) (_swigobj->Ok())
4644 static PyObject
*_wrap_wxBrush_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4645 PyObject
* _resultobj
;
4648 PyObject
* _argo0
= 0;
4649 char *_kwnames
[] = { "self", NULL
};
4652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_Ok",_kwnames
,&_argo0
))
4655 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4656 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_Ok. Expected _wxBrush_p.");
4662 wxPy_BEGIN_ALLOW_THREADS
;
4663 _result
= (bool )wxBrush_Ok(_arg0
);
4665 wxPy_END_ALLOW_THREADS
;
4666 } _resultobj
= Py_BuildValue("i",_result
);
4670 #define wxBrush_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
4671 static PyObject
*_wrap_wxBrush_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4672 PyObject
* _resultobj
;
4675 PyObject
* _argo0
= 0;
4677 PyObject
* _obj1
= 0;
4678 char *_kwnames
[] = { "self","colour", NULL
};
4681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrush_SetColour",_kwnames
,&_argo0
,&_obj1
))
4684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetColour. Expected _wxBrush_p.");
4692 if (! wxColour_helper(_obj1
, &_arg1
))
4696 wxPy_BEGIN_ALLOW_THREADS
;
4697 wxBrush_SetColour(_arg0
,*_arg1
);
4699 wxPy_END_ALLOW_THREADS
;
4700 } Py_INCREF(Py_None
);
4701 _resultobj
= Py_None
;
4705 #define wxBrush_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
4706 static PyObject
*_wrap_wxBrush_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4707 PyObject
* _resultobj
;
4710 PyObject
* _argo0
= 0;
4711 PyObject
* _argo1
= 0;
4712 char *_kwnames
[] = { "self","bitmap", NULL
};
4715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrush_SetStipple",_kwnames
,&_argo0
,&_argo1
))
4718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStipple. Expected _wxBrush_p.");
4725 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4726 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
4727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrush_SetStipple. Expected _wxBitmap_p.");
4732 wxPy_BEGIN_ALLOW_THREADS
;
4733 wxBrush_SetStipple(_arg0
,*_arg1
);
4735 wxPy_END_ALLOW_THREADS
;
4736 } Py_INCREF(Py_None
);
4737 _resultobj
= Py_None
;
4741 #define wxBrush_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
4742 static PyObject
*_wrap_wxBrush_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4743 PyObject
* _resultobj
;
4746 PyObject
* _argo0
= 0;
4747 char *_kwnames
[] = { "self","style", NULL
};
4750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBrush_SetStyle",_kwnames
,&_argo0
,&_arg1
))
4753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStyle. Expected _wxBrush_p.");
4760 wxPy_BEGIN_ALLOW_THREADS
;
4761 wxBrush_SetStyle(_arg0
,_arg1
);
4763 wxPy_END_ALLOW_THREADS
;
4764 } Py_INCREF(Py_None
);
4765 _resultobj
= Py_None
;
4769 #define wxBrushList_AddBrush(_swigobj,_swigarg0) (_swigobj->AddBrush(_swigarg0))
4770 static PyObject
*_wrap_wxBrushList_AddBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4771 PyObject
* _resultobj
;
4772 wxBrushList
* _arg0
;
4774 PyObject
* _argo0
= 0;
4775 PyObject
* _argo1
= 0;
4776 char *_kwnames
[] = { "self","brush", NULL
};
4779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrushList_AddBrush",_kwnames
,&_argo0
,&_argo1
))
4782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
4784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_AddBrush. Expected _wxBrushList_p.");
4789 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4790 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
4791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrushList_AddBrush. Expected _wxBrush_p.");
4796 wxPy_BEGIN_ALLOW_THREADS
;
4797 wxBrushList_AddBrush(_arg0
,_arg1
);
4799 wxPy_END_ALLOW_THREADS
;
4800 } Py_INCREF(Py_None
);
4801 _resultobj
= Py_None
;
4805 #define wxBrushList_FindOrCreateBrush(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindOrCreateBrush(_swigarg0,_swigarg1))
4806 static PyObject
*_wrap_wxBrushList_FindOrCreateBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4807 PyObject
* _resultobj
;
4809 wxBrushList
* _arg0
;
4812 PyObject
* _argo0
= 0;
4814 PyObject
* _obj1
= 0;
4815 char *_kwnames
[] = { "self","colour","style", NULL
};
4819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxBrushList_FindOrCreateBrush",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
4822 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4823 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
4824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_FindOrCreateBrush. Expected _wxBrushList_p.");
4830 if (! wxColour_helper(_obj1
, &_arg1
))
4834 wxPy_BEGIN_ALLOW_THREADS
;
4835 _result
= (wxBrush
*)wxBrushList_FindOrCreateBrush(_arg0
,*_arg1
,_arg2
);
4837 wxPy_END_ALLOW_THREADS
;
4839 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
4840 _resultobj
= Py_BuildValue("s",_ptemp
);
4843 _resultobj
= Py_None
;
4848 #define wxBrushList_RemoveBrush(_swigobj,_swigarg0) (_swigobj->RemoveBrush(_swigarg0))
4849 static PyObject
*_wrap_wxBrushList_RemoveBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4850 PyObject
* _resultobj
;
4851 wxBrushList
* _arg0
;
4853 PyObject
* _argo0
= 0;
4854 PyObject
* _argo1
= 0;
4855 char *_kwnames
[] = { "self","brush", NULL
};
4858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrushList_RemoveBrush",_kwnames
,&_argo0
,&_argo1
))
4861 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4862 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
4863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_RemoveBrush. Expected _wxBrushList_p.");
4868 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4869 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
4870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrushList_RemoveBrush. Expected _wxBrush_p.");
4875 wxPy_BEGIN_ALLOW_THREADS
;
4876 wxBrushList_RemoveBrush(_arg0
,_arg1
);
4878 wxPy_END_ALLOW_THREADS
;
4879 } Py_INCREF(Py_None
);
4880 _resultobj
= Py_None
;
4884 #define delete_wxDC(_swigobj) (delete _swigobj)
4885 static PyObject
*_wrap_delete_wxDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4886 PyObject
* _resultobj
;
4888 PyObject
* _argo0
= 0;
4889 char *_kwnames
[] = { "self", NULL
};
4892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDC",_kwnames
,&_argo0
))
4895 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4896 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDC. Expected _wxDC_p.");
4902 wxPy_BEGIN_ALLOW_THREADS
;
4905 wxPy_END_ALLOW_THREADS
;
4906 } Py_INCREF(Py_None
);
4907 _resultobj
= Py_None
;
4911 #define wxDC_BeginDrawing(_swigobj) (_swigobj->BeginDrawing())
4912 static PyObject
*_wrap_wxDC_BeginDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4913 PyObject
* _resultobj
;
4915 PyObject
* _argo0
= 0;
4916 char *_kwnames
[] = { "self", NULL
};
4919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_BeginDrawing",_kwnames
,&_argo0
))
4922 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4923 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_BeginDrawing. Expected _wxDC_p.");
4929 wxPy_BEGIN_ALLOW_THREADS
;
4930 wxDC_BeginDrawing(_arg0
);
4932 wxPy_END_ALLOW_THREADS
;
4933 } Py_INCREF(Py_None
);
4934 _resultobj
= Py_None
;
4938 #define wxDC_Blit(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Blit(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4939 static PyObject
*_wrap_wxDC_Blit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4940 PyObject
* _resultobj
;
4950 int _arg8
= (int ) wxCOPY
;
4951 int _arg9
= (int ) FALSE
;
4952 PyObject
* _argo0
= 0;
4953 PyObject
* _argo5
= 0;
4954 char *_kwnames
[] = { "self","xdest","ydest","width","height","source","xsrc","ysrc","logicalFunc","useMask", NULL
};
4957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllllOll|ii:wxDC_Blit",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_argo5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
))
4960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Blit. Expected _wxDC_p.");
4967 if (_argo5
== Py_None
) { _arg5
= NULL
; }
4968 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxDC_p")) {
4969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxDC_Blit. Expected _wxDC_p.");
4974 wxPy_BEGIN_ALLOW_THREADS
;
4975 _result
= (bool )wxDC_Blit(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
4977 wxPy_END_ALLOW_THREADS
;
4978 } _resultobj
= Py_BuildValue("i",_result
);
4982 #define wxDC_Clear(_swigobj) (_swigobj->Clear())
4983 static PyObject
*_wrap_wxDC_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4984 PyObject
* _resultobj
;
4986 PyObject
* _argo0
= 0;
4987 char *_kwnames
[] = { "self", NULL
};
4990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_Clear",_kwnames
,&_argo0
))
4993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Clear. Expected _wxDC_p.");
5000 wxPy_BEGIN_ALLOW_THREADS
;
5003 wxPy_END_ALLOW_THREADS
;
5004 } Py_INCREF(Py_None
);
5005 _resultobj
= Py_None
;
5009 #define wxDC_CrossHair(_swigobj,_swigarg0,_swigarg1) (_swigobj->CrossHair(_swigarg0,_swigarg1))
5010 static PyObject
*_wrap_wxDC_CrossHair(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5011 PyObject
* _resultobj
;
5015 PyObject
* _argo0
= 0;
5016 char *_kwnames
[] = { "self","x","y", NULL
};
5019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_CrossHair",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5022 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5023 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CrossHair. Expected _wxDC_p.");
5029 wxPy_BEGIN_ALLOW_THREADS
;
5030 wxDC_CrossHair(_arg0
,_arg1
,_arg2
);
5032 wxPy_END_ALLOW_THREADS
;
5033 } Py_INCREF(Py_None
);
5034 _resultobj
= Py_None
;
5038 #define wxDC_DestroyClippingRegion(_swigobj) (_swigobj->DestroyClippingRegion())
5039 static PyObject
*_wrap_wxDC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5040 PyObject
* _resultobj
;
5042 PyObject
* _argo0
= 0;
5043 char *_kwnames
[] = { "self", NULL
};
5046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_DestroyClippingRegion",_kwnames
,&_argo0
))
5049 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5050 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DestroyClippingRegion. Expected _wxDC_p.");
5056 wxPy_BEGIN_ALLOW_THREADS
;
5057 wxDC_DestroyClippingRegion(_arg0
);
5059 wxPy_END_ALLOW_THREADS
;
5060 } Py_INCREF(Py_None
);
5061 _resultobj
= Py_None
;
5065 #define wxDC_DeviceToLogicalX(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalX(_swigarg0))
5066 static PyObject
*_wrap_wxDC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5067 PyObject
* _resultobj
;
5071 PyObject
* _argo0
= 0;
5072 char *_kwnames
[] = { "self","x", NULL
};
5075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalX",_kwnames
,&_argo0
,&_arg1
))
5078 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5079 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalX. Expected _wxDC_p.");
5085 wxPy_BEGIN_ALLOW_THREADS
;
5086 _result
= (long )wxDC_DeviceToLogicalX(_arg0
,_arg1
);
5088 wxPy_END_ALLOW_THREADS
;
5089 } _resultobj
= Py_BuildValue("l",_result
);
5093 #define wxDC_DeviceToLogicalXRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalXRel(_swigarg0))
5094 static PyObject
*_wrap_wxDC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5095 PyObject
* _resultobj
;
5099 PyObject
* _argo0
= 0;
5100 char *_kwnames
[] = { "self","x", NULL
};
5103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalXRel",_kwnames
,&_argo0
,&_arg1
))
5106 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5107 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalXRel. Expected _wxDC_p.");
5113 wxPy_BEGIN_ALLOW_THREADS
;
5114 _result
= (long )wxDC_DeviceToLogicalXRel(_arg0
,_arg1
);
5116 wxPy_END_ALLOW_THREADS
;
5117 } _resultobj
= Py_BuildValue("l",_result
);
5121 #define wxDC_DeviceToLogicalY(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalY(_swigarg0))
5122 static PyObject
*_wrap_wxDC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5123 PyObject
* _resultobj
;
5127 PyObject
* _argo0
= 0;
5128 char *_kwnames
[] = { "self","y", NULL
};
5131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalY",_kwnames
,&_argo0
,&_arg1
))
5134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalY. Expected _wxDC_p.");
5141 wxPy_BEGIN_ALLOW_THREADS
;
5142 _result
= (long )wxDC_DeviceToLogicalY(_arg0
,_arg1
);
5144 wxPy_END_ALLOW_THREADS
;
5145 } _resultobj
= Py_BuildValue("l",_result
);
5149 #define wxDC_DeviceToLogicalYRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalYRel(_swigarg0))
5150 static PyObject
*_wrap_wxDC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5151 PyObject
* _resultobj
;
5155 PyObject
* _argo0
= 0;
5156 char *_kwnames
[] = { "self","y", NULL
};
5159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalYRel",_kwnames
,&_argo0
,&_arg1
))
5162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalYRel. Expected _wxDC_p.");
5169 wxPy_BEGIN_ALLOW_THREADS
;
5170 _result
= (long )wxDC_DeviceToLogicalYRel(_arg0
,_arg1
);
5172 wxPy_END_ALLOW_THREADS
;
5173 } _resultobj
= Py_BuildValue("l",_result
);
5177 #define wxDC_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5178 static PyObject
*_wrap_wxDC_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5179 PyObject
* _resultobj
;
5187 PyObject
* _argo0
= 0;
5188 char *_kwnames
[] = { "self","x1","y1","x2","y2","xc","yc", NULL
};
5191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollllll:wxDC_DrawArc",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
5194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawArc. Expected _wxDC_p.");
5201 wxPy_BEGIN_ALLOW_THREADS
;
5202 wxDC_DrawArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
5204 wxPy_END_ALLOW_THREADS
;
5205 } Py_INCREF(Py_None
);
5206 _resultobj
= Py_None
;
5210 #define wxDC_DrawCircle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawCircle(_swigarg0,_swigarg1,_swigarg2))
5211 static PyObject
*_wrap_wxDC_DrawCircle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5212 PyObject
* _resultobj
;
5217 PyObject
* _argo0
= 0;
5218 char *_kwnames
[] = { "self","x","y","radius", NULL
};
5221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olll:wxDC_DrawCircle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
5224 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5225 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawCircle. Expected _wxDC_p.");
5231 wxPy_BEGIN_ALLOW_THREADS
;
5232 wxDC_DrawCircle(_arg0
,_arg1
,_arg2
,_arg3
);
5234 wxPy_END_ALLOW_THREADS
;
5235 } Py_INCREF(Py_None
);
5236 _resultobj
= Py_None
;
5240 #define wxDC_DrawEllipse(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawEllipse(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5241 static PyObject
*_wrap_wxDC_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5242 PyObject
* _resultobj
;
5248 PyObject
* _argo0
= 0;
5249 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
5252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawEllipse",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
5255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipse. Expected _wxDC_p.");
5262 wxPy_BEGIN_ALLOW_THREADS
;
5263 wxDC_DrawEllipse(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5265 wxPy_END_ALLOW_THREADS
;
5266 } Py_INCREF(Py_None
);
5267 _resultobj
= Py_None
;
5271 #define wxDC_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5272 static PyObject
*_wrap_wxDC_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5273 PyObject
* _resultobj
;
5281 PyObject
* _argo0
= 0;
5282 char *_kwnames
[] = { "self","x","y","width","height","start","end", NULL
};
5285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollllll:wxDC_DrawEllipticArc",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
5288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipticArc. Expected _wxDC_p.");
5295 wxPy_BEGIN_ALLOW_THREADS
;
5296 wxDC_DrawEllipticArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
5298 wxPy_END_ALLOW_THREADS
;
5299 } Py_INCREF(Py_None
);
5300 _resultobj
= Py_None
;
5304 #define wxDC_DrawIcon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawIcon(_swigarg0,_swigarg1,_swigarg2))
5305 static PyObject
*_wrap_wxDC_DrawIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5306 PyObject
* _resultobj
;
5311 PyObject
* _argo0
= 0;
5312 PyObject
* _argo1
= 0;
5313 char *_kwnames
[] = { "self","icon","x","y", NULL
};
5316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll:wxDC_DrawIcon",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
5319 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5320 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawIcon. Expected _wxDC_p.");
5326 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5327 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
5328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawIcon. Expected _wxIcon_p.");
5333 wxPy_BEGIN_ALLOW_THREADS
;
5334 wxDC_DrawIcon(_arg0
,*_arg1
,_arg2
,_arg3
);
5336 wxPy_END_ALLOW_THREADS
;
5337 } Py_INCREF(Py_None
);
5338 _resultobj
= Py_None
;
5342 #define wxDC_DrawLine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5343 static PyObject
*_wrap_wxDC_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5344 PyObject
* _resultobj
;
5350 PyObject
* _argo0
= 0;
5351 char *_kwnames
[] = { "self","x1","y1","x2","y2", NULL
};
5354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawLine",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
5357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLine. Expected _wxDC_p.");
5364 wxPy_BEGIN_ALLOW_THREADS
;
5365 wxDC_DrawLine(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5367 wxPy_END_ALLOW_THREADS
;
5368 } Py_INCREF(Py_None
);
5369 _resultobj
= Py_None
;
5373 #define wxDC_DrawLines(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLines(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5374 static PyObject
*_wrap_wxDC_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5375 PyObject
* _resultobj
;
5379 long _arg3
= (long ) 0;
5380 long _arg4
= (long ) 0;
5381 PyObject
* _argo0
= 0;
5382 PyObject
* _obj2
= 0;
5383 char *_kwnames
[] = { "self","points","xoffset","yoffset", NULL
};
5386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ll:wxDC_DrawLines",_kwnames
,&_argo0
,&_obj2
,&_arg3
,&_arg4
))
5389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLines. Expected _wxDC_p.");
5397 _arg2
= wxPoint_LIST_helper(_obj2
);
5398 if (_arg2
== NULL
) {
5404 _arg1
= PyList_Size(_obj2
);
5411 wxPy_BEGIN_ALLOW_THREADS
;
5412 wxDC_DrawLines(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5414 wxPy_END_ALLOW_THREADS
;
5415 } Py_INCREF(Py_None
);
5416 _resultobj
= Py_None
;
5423 #define wxDC_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5424 static PyObject
*_wrap_wxDC_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5425 PyObject
* _resultobj
;
5429 long _arg3
= (long ) 0;
5430 long _arg4
= (long ) 0;
5431 int _arg5
= (int ) wxODDEVEN_RULE
;
5432 PyObject
* _argo0
= 0;
5433 PyObject
* _obj2
= 0;
5434 char *_kwnames
[] = { "self","points","xoffset","yoffset","fill_style", NULL
};
5437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|lli:wxDC_DrawPolygon",_kwnames
,&_argo0
,&_obj2
,&_arg3
,&_arg4
,&_arg5
))
5440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPolygon. Expected _wxDC_p.");
5448 _arg2
= wxPoint_LIST_helper(_obj2
);
5449 if (_arg2
== NULL
) {
5455 _arg1
= PyList_Size(_obj2
);
5462 wxPy_BEGIN_ALLOW_THREADS
;
5463 wxDC_DrawPolygon(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
5465 wxPy_END_ALLOW_THREADS
;
5466 } Py_INCREF(Py_None
);
5467 _resultobj
= Py_None
;
5474 #define wxDC_DrawPoint(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawPoint(_swigarg0,_swigarg1))
5475 static PyObject
*_wrap_wxDC_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5476 PyObject
* _resultobj
;
5480 PyObject
* _argo0
= 0;
5481 char *_kwnames
[] = { "self","x","y", NULL
};
5484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_DrawPoint",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPoint. Expected _wxDC_p.");
5494 wxPy_BEGIN_ALLOW_THREADS
;
5495 wxDC_DrawPoint(_arg0
,_arg1
,_arg2
);
5497 wxPy_END_ALLOW_THREADS
;
5498 } Py_INCREF(Py_None
);
5499 _resultobj
= Py_None
;
5503 #define wxDC_DrawRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5504 static PyObject
*_wrap_wxDC_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5505 PyObject
* _resultobj
;
5511 PyObject
* _argo0
= 0;
5512 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
5515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawRectangle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
5518 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5519 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRectangle. Expected _wxDC_p.");
5525 wxPy_BEGIN_ALLOW_THREADS
;
5526 wxDC_DrawRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5528 wxPy_END_ALLOW_THREADS
;
5529 } Py_INCREF(Py_None
);
5530 _resultobj
= Py_None
;
5534 #define wxDC_DrawRotatedText(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRotatedText(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5535 static PyObject
*_wrap_wxDC_DrawRotatedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5536 PyObject
* _resultobj
;
5542 PyObject
* _argo0
= 0;
5543 PyObject
* _obj1
= 0;
5544 char *_kwnames
[] = { "self","text","x","y","angle", NULL
};
5547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiid:wxDC_DrawRotatedText",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_arg4
))
5550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRotatedText. Expected _wxDC_p.");
5557 #if PYTHON_API_VERSION >= 1009
5558 char* tmpPtr
; int tmpSize
;
5559 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5560 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
5563 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5565 _arg1
= new wxString(tmpPtr
, tmpSize
);
5567 if (!PyString_Check(_obj1
)) {
5568 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5571 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5575 wxPy_BEGIN_ALLOW_THREADS
;
5576 wxDC_DrawRotatedText(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
5578 wxPy_END_ALLOW_THREADS
;
5579 } Py_INCREF(Py_None
);
5580 _resultobj
= Py_None
;
5588 #define wxDC_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5589 static PyObject
*_wrap_wxDC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5590 PyObject
* _resultobj
;
5596 long _arg5
= (long ) 20;
5597 PyObject
* _argo0
= 0;
5598 char *_kwnames
[] = { "self","x","y","width","height","radius", NULL
};
5601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll|l:wxDC_DrawRoundedRectangle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
5604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRoundedRectangle. Expected _wxDC_p.");
5611 wxPy_BEGIN_ALLOW_THREADS
;
5612 wxDC_DrawRoundedRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
5614 wxPy_END_ALLOW_THREADS
;
5615 } Py_INCREF(Py_None
);
5616 _resultobj
= Py_None
;
5620 #define wxDC_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1))
5621 static PyObject
*_wrap_wxDC_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5622 PyObject
* _resultobj
;
5626 PyObject
* _argo0
= 0;
5627 PyObject
* _obj2
= 0;
5628 char *_kwnames
[] = { "self","points", NULL
};
5631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_DrawSpline",_kwnames
,&_argo0
,&_obj2
))
5634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawSpline. Expected _wxDC_p.");
5642 _arg2
= wxPoint_LIST_helper(_obj2
);
5643 if (_arg2
== NULL
) {
5649 _arg1
= PyList_Size(_obj2
);
5656 wxPy_BEGIN_ALLOW_THREADS
;
5657 wxDC_DrawSpline(_arg0
,_arg1
,_arg2
);
5659 wxPy_END_ALLOW_THREADS
;
5660 } Py_INCREF(Py_None
);
5661 _resultobj
= Py_None
;
5668 #define wxDC_DrawText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawText(_swigarg0,_swigarg1,_swigarg2))
5669 static PyObject
*_wrap_wxDC_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5670 PyObject
* _resultobj
;
5675 PyObject
* _argo0
= 0;
5676 PyObject
* _obj1
= 0;
5677 char *_kwnames
[] = { "self","text","x","y", NULL
};
5680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll:wxDC_DrawText",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
))
5683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawText. Expected _wxDC_p.");
5690 #if PYTHON_API_VERSION >= 1009
5691 char* tmpPtr
; int tmpSize
;
5692 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5693 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
5696 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5698 _arg1
= new wxString(tmpPtr
, tmpSize
);
5700 if (!PyString_Check(_obj1
)) {
5701 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5704 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5708 wxPy_BEGIN_ALLOW_THREADS
;
5709 wxDC_DrawText(_arg0
,*_arg1
,_arg2
,_arg3
);
5711 wxPy_END_ALLOW_THREADS
;
5712 } Py_INCREF(Py_None
);
5713 _resultobj
= Py_None
;
5721 #define wxDC_EndDoc(_swigobj) (_swigobj->EndDoc())
5722 static PyObject
*_wrap_wxDC_EndDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5723 PyObject
* _resultobj
;
5725 PyObject
* _argo0
= 0;
5726 char *_kwnames
[] = { "self", NULL
};
5729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndDoc",_kwnames
,&_argo0
))
5732 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5733 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDoc. Expected _wxDC_p.");
5739 wxPy_BEGIN_ALLOW_THREADS
;
5742 wxPy_END_ALLOW_THREADS
;
5743 } Py_INCREF(Py_None
);
5744 _resultobj
= Py_None
;
5748 #define wxDC_EndDrawing(_swigobj) (_swigobj->EndDrawing())
5749 static PyObject
*_wrap_wxDC_EndDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5750 PyObject
* _resultobj
;
5752 PyObject
* _argo0
= 0;
5753 char *_kwnames
[] = { "self", NULL
};
5756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndDrawing",_kwnames
,&_argo0
))
5759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDrawing. Expected _wxDC_p.");
5766 wxPy_BEGIN_ALLOW_THREADS
;
5767 wxDC_EndDrawing(_arg0
);
5769 wxPy_END_ALLOW_THREADS
;
5770 } Py_INCREF(Py_None
);
5771 _resultobj
= Py_None
;
5775 #define wxDC_EndPage(_swigobj) (_swigobj->EndPage())
5776 static PyObject
*_wrap_wxDC_EndPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5777 PyObject
* _resultobj
;
5779 PyObject
* _argo0
= 0;
5780 char *_kwnames
[] = { "self", NULL
};
5783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndPage",_kwnames
,&_argo0
))
5786 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5787 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndPage. Expected _wxDC_p.");
5793 wxPy_BEGIN_ALLOW_THREADS
;
5794 wxDC_EndPage(_arg0
);
5796 wxPy_END_ALLOW_THREADS
;
5797 } Py_INCREF(Py_None
);
5798 _resultobj
= Py_None
;
5802 #define wxDC_FloodFill(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FloodFill(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5803 static PyObject
*_wrap_wxDC_FloodFill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5804 PyObject
* _resultobj
;
5809 int _arg4
= (int ) wxFLOOD_SURFACE
;
5810 PyObject
* _argo0
= 0;
5812 PyObject
* _obj3
= 0;
5813 char *_kwnames
[] = { "self","x","y","colour","style", NULL
};
5816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO|i:wxDC_FloodFill",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
5819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_FloodFill. Expected _wxDC_p.");
5827 if (! wxColour_helper(_obj3
, &_arg3
))
5831 wxPy_BEGIN_ALLOW_THREADS
;
5832 wxDC_FloodFill(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
5834 wxPy_END_ALLOW_THREADS
;
5835 } Py_INCREF(Py_None
);
5836 _resultobj
= Py_None
;
5840 #define wxDC_GetBackground(_swigobj) (_swigobj->GetBackground())
5841 static PyObject
*_wrap_wxDC_GetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5842 PyObject
* _resultobj
;
5845 PyObject
* _argo0
= 0;
5846 char *_kwnames
[] = { "self", NULL
};
5850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBackground",_kwnames
,&_argo0
))
5853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBackground. Expected _wxDC_p.");
5860 wxPy_BEGIN_ALLOW_THREADS
;
5861 wxBrush
& _result_ref
= wxDC_GetBackground(_arg0
);
5862 _result
= (wxBrush
*) &_result_ref
;
5864 wxPy_END_ALLOW_THREADS
;
5866 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
5867 _resultobj
= Py_BuildValue("s",_ptemp
);
5870 _resultobj
= Py_None
;
5875 #define wxDC_GetBrush(_swigobj) (_swigobj->GetBrush())
5876 static PyObject
*_wrap_wxDC_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5877 PyObject
* _resultobj
;
5880 PyObject
* _argo0
= 0;
5881 char *_kwnames
[] = { "self", NULL
};
5885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBrush",_kwnames
,&_argo0
))
5888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBrush. Expected _wxDC_p.");
5895 wxPy_BEGIN_ALLOW_THREADS
;
5896 wxBrush
& _result_ref
= wxDC_GetBrush(_arg0
);
5897 _result
= (wxBrush
*) &_result_ref
;
5899 wxPy_END_ALLOW_THREADS
;
5901 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
5902 _resultobj
= Py_BuildValue("s",_ptemp
);
5905 _resultobj
= Py_None
;
5910 #define wxDC_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
5911 static PyObject
*_wrap_wxDC_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5912 PyObject
* _resultobj
;
5915 PyObject
* _argo0
= 0;
5916 char *_kwnames
[] = { "self", NULL
};
5919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetCharHeight",_kwnames
,&_argo0
))
5922 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5923 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharHeight. Expected _wxDC_p.");
5929 wxPy_BEGIN_ALLOW_THREADS
;
5930 _result
= (long )wxDC_GetCharHeight(_arg0
);
5932 wxPy_END_ALLOW_THREADS
;
5933 } _resultobj
= Py_BuildValue("l",_result
);
5937 #define wxDC_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
5938 static PyObject
*_wrap_wxDC_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5939 PyObject
* _resultobj
;
5942 PyObject
* _argo0
= 0;
5943 char *_kwnames
[] = { "self", NULL
};
5946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetCharWidth",_kwnames
,&_argo0
))
5949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharWidth. Expected _wxDC_p.");
5956 wxPy_BEGIN_ALLOW_THREADS
;
5957 _result
= (long )wxDC_GetCharWidth(_arg0
);
5959 wxPy_END_ALLOW_THREADS
;
5960 } _resultobj
= Py_BuildValue("l",_result
);
5964 #define wxDC_GetClippingBox(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetClippingBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5965 static PyObject
*_wrap_wxDC_GetClippingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5966 PyObject
* _resultobj
;
5976 PyObject
* _argo0
= 0;
5977 char *_kwnames
[] = { "self", NULL
};
5992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetClippingBox",_kwnames
,&_argo0
))
5995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetClippingBox. Expected _wxDC_p.");
6002 wxPy_BEGIN_ALLOW_THREADS
;
6003 wxDC_GetClippingBox(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6005 wxPy_END_ALLOW_THREADS
;
6006 } Py_INCREF(Py_None
);
6007 _resultobj
= Py_None
;
6010 o
= PyInt_FromLong((long) (*_arg1
));
6011 _resultobj
= t_output_helper(_resultobj
, o
);
6015 o
= PyInt_FromLong((long) (*_arg2
));
6016 _resultobj
= t_output_helper(_resultobj
, o
);
6020 o
= PyInt_FromLong((long) (*_arg3
));
6021 _resultobj
= t_output_helper(_resultobj
, o
);
6025 o
= PyInt_FromLong((long) (*_arg4
));
6026 _resultobj
= t_output_helper(_resultobj
, o
);
6031 #define wxDC_GetFont(_swigobj) (_swigobj->GetFont())
6032 static PyObject
*_wrap_wxDC_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6033 PyObject
* _resultobj
;
6036 PyObject
* _argo0
= 0;
6037 char *_kwnames
[] = { "self", NULL
};
6041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetFont",_kwnames
,&_argo0
))
6044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFont. Expected _wxDC_p.");
6051 wxPy_BEGIN_ALLOW_THREADS
;
6052 wxFont
& _result_ref
= wxDC_GetFont(_arg0
);
6053 _result
= (wxFont
*) &_result_ref
;
6055 wxPy_END_ALLOW_THREADS
;
6057 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
6058 _resultobj
= Py_BuildValue("s",_ptemp
);
6061 _resultobj
= Py_None
;
6066 #define wxDC_GetLogicalFunction(_swigobj) (_swigobj->GetLogicalFunction())
6067 static PyObject
*_wrap_wxDC_GetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6068 PyObject
* _resultobj
;
6071 PyObject
* _argo0
= 0;
6072 char *_kwnames
[] = { "self", NULL
};
6075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalFunction",_kwnames
,&_argo0
))
6078 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6079 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalFunction. Expected _wxDC_p.");
6085 wxPy_BEGIN_ALLOW_THREADS
;
6086 _result
= (int )wxDC_GetLogicalFunction(_arg0
);
6088 wxPy_END_ALLOW_THREADS
;
6089 } _resultobj
= Py_BuildValue("i",_result
);
6093 #define wxDC_GetLogicalScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLogicalScale(_swigarg0,_swigarg1))
6094 static PyObject
*_wrap_wxDC_GetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6095 PyObject
* _resultobj
;
6101 PyObject
* _argo0
= 0;
6102 char *_kwnames
[] = { "self", NULL
};
6111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalScale",_kwnames
,&_argo0
))
6114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalScale. Expected _wxDC_p.");
6121 wxPy_BEGIN_ALLOW_THREADS
;
6122 wxDC_GetLogicalScale(_arg0
,_arg1
,_arg2
);
6124 wxPy_END_ALLOW_THREADS
;
6125 } Py_INCREF(Py_None
);
6126 _resultobj
= Py_None
;
6129 o
= PyFloat_FromDouble((double) (*_arg1
));
6130 _resultobj
= t_output_helper(_resultobj
, o
);
6134 o
= PyFloat_FromDouble((double) (*_arg2
));
6135 _resultobj
= t_output_helper(_resultobj
, o
);
6140 #define wxDC_GetMapMode(_swigobj) (_swigobj->GetMapMode())
6141 static PyObject
*_wrap_wxDC_GetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6142 PyObject
* _resultobj
;
6145 PyObject
* _argo0
= 0;
6146 char *_kwnames
[] = { "self", NULL
};
6149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetMapMode",_kwnames
,&_argo0
))
6152 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6153 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetMapMode. Expected _wxDC_p.");
6159 wxPy_BEGIN_ALLOW_THREADS
;
6160 _result
= (int )wxDC_GetMapMode(_arg0
);
6162 wxPy_END_ALLOW_THREADS
;
6163 } _resultobj
= Py_BuildValue("i",_result
);
6167 #define wxDC_GetOptimization(_swigobj) (_swigobj->GetOptimization())
6168 static PyObject
*_wrap_wxDC_GetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6169 PyObject
* _resultobj
;
6172 PyObject
* _argo0
= 0;
6173 char *_kwnames
[] = { "self", NULL
};
6176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetOptimization",_kwnames
,&_argo0
))
6179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetOptimization. Expected _wxDC_p.");
6186 wxPy_BEGIN_ALLOW_THREADS
;
6187 _result
= (bool )wxDC_GetOptimization(_arg0
);
6189 wxPy_END_ALLOW_THREADS
;
6190 } _resultobj
= Py_BuildValue("i",_result
);
6194 #define wxDC_GetPen(_swigobj) (_swigobj->GetPen())
6195 static PyObject
*_wrap_wxDC_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6196 PyObject
* _resultobj
;
6199 PyObject
* _argo0
= 0;
6200 char *_kwnames
[] = { "self", NULL
};
6204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetPen",_kwnames
,&_argo0
))
6207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPen. Expected _wxDC_p.");
6214 wxPy_BEGIN_ALLOW_THREADS
;
6215 wxPen
& _result_ref
= wxDC_GetPen(_arg0
);
6216 _result
= (wxPen
*) &_result_ref
;
6218 wxPy_END_ALLOW_THREADS
;
6220 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
6221 _resultobj
= Py_BuildValue("s",_ptemp
);
6224 _resultobj
= Py_None
;
6229 static wxColour
* wxDC_GetPixel(wxDC
*self
,long x
,long y
) {
6230 wxColour
* wc
= new wxColour();
6231 self
->GetPixel(x
, y
, wc
);
6234 static PyObject
*_wrap_wxDC_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6235 PyObject
* _resultobj
;
6240 PyObject
* _argo0
= 0;
6241 char *_kwnames
[] = { "self","x","y", NULL
};
6245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_GetPixel",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6248 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6249 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPixel. Expected _wxDC_p.");
6255 wxPy_BEGIN_ALLOW_THREADS
;
6256 _result
= (wxColour
*)wxDC_GetPixel(_arg0
,_arg1
,_arg2
);
6258 wxPy_END_ALLOW_THREADS
;
6260 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
6261 _resultobj
= Py_BuildValue("s",_ptemp
);
6264 _resultobj
= Py_None
;
6269 #define wxDC_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
6270 static PyObject
*_wrap_wxDC_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6271 PyObject
* _resultobj
;
6277 PyObject
* _argo0
= 0;
6278 char *_kwnames
[] = { "self", NULL
};
6287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSizeTuple",_kwnames
,&_argo0
))
6290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSizeTuple. Expected _wxDC_p.");
6297 wxPy_BEGIN_ALLOW_THREADS
;
6298 wxDC_GetSizeTuple(_arg0
,_arg1
,_arg2
);
6300 wxPy_END_ALLOW_THREADS
;
6301 } Py_INCREF(Py_None
);
6302 _resultobj
= Py_None
;
6305 o
= PyInt_FromLong((long) (*_arg1
));
6306 _resultobj
= t_output_helper(_resultobj
, o
);
6310 o
= PyInt_FromLong((long) (*_arg2
));
6311 _resultobj
= t_output_helper(_resultobj
, o
);
6316 #define wxDC_GetSize(_swigobj) (_swigobj->GetSize())
6317 static PyObject
*_wrap_wxDC_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6318 PyObject
* _resultobj
;
6321 PyObject
* _argo0
= 0;
6322 char *_kwnames
[] = { "self", NULL
};
6326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSize",_kwnames
,&_argo0
))
6329 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6330 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSize. Expected _wxDC_p.");
6336 wxPy_BEGIN_ALLOW_THREADS
;
6337 _result
= new wxSize (wxDC_GetSize(_arg0
));
6339 wxPy_END_ALLOW_THREADS
;
6340 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
6341 _resultobj
= Py_BuildValue("s",_ptemp
);
6345 #define wxDC_GetSizeMM(_swigobj) (_swigobj->GetSizeMM())
6346 static PyObject
*_wrap_wxDC_GetSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6347 PyObject
* _resultobj
;
6350 PyObject
* _argo0
= 0;
6351 char *_kwnames
[] = { "self", NULL
};
6355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSizeMM",_kwnames
,&_argo0
))
6358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSizeMM. Expected _wxDC_p.");
6365 wxPy_BEGIN_ALLOW_THREADS
;
6366 _result
= new wxSize (wxDC_GetSizeMM(_arg0
));
6368 wxPy_END_ALLOW_THREADS
;
6369 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
6370 _resultobj
= Py_BuildValue("s",_ptemp
);
6374 #define wxDC_GetTextBackground(_swigobj) (_swigobj->GetTextBackground())
6375 static PyObject
*_wrap_wxDC_GetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6376 PyObject
* _resultobj
;
6379 PyObject
* _argo0
= 0;
6380 char *_kwnames
[] = { "self", NULL
};
6384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetTextBackground",_kwnames
,&_argo0
))
6387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextBackground. Expected _wxDC_p.");
6394 wxPy_BEGIN_ALLOW_THREADS
;
6395 wxColour
& _result_ref
= wxDC_GetTextBackground(_arg0
);
6396 _result
= (wxColour
*) &_result_ref
;
6398 wxPy_END_ALLOW_THREADS
;
6400 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
6401 _resultobj
= Py_BuildValue("s",_ptemp
);
6404 _resultobj
= Py_None
;
6409 #define wxDC_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
6410 static PyObject
*_wrap_wxDC_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6411 PyObject
* _resultobj
;
6418 PyObject
* _argo0
= 0;
6419 PyObject
* _obj1
= 0;
6420 char *_kwnames
[] = { "self","string", NULL
};
6429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
6432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextExtent. Expected _wxDC_p.");
6439 #if PYTHON_API_VERSION >= 1009
6440 char* tmpPtr
; int tmpSize
;
6441 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6442 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
6445 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6447 _arg1
= new wxString(tmpPtr
, tmpSize
);
6449 if (!PyString_Check(_obj1
)) {
6450 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6453 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6457 wxPy_BEGIN_ALLOW_THREADS
;
6458 wxDC_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
6460 wxPy_END_ALLOW_THREADS
;
6461 } Py_INCREF(Py_None
);
6462 _resultobj
= Py_None
;
6465 o
= PyInt_FromLong((long) (*_arg2
));
6466 _resultobj
= t_output_helper(_resultobj
, o
);
6470 o
= PyInt_FromLong((long) (*_arg3
));
6471 _resultobj
= t_output_helper(_resultobj
, o
);
6480 #define wxDC_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6481 static PyObject
*_wrap_wxDC_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6482 PyObject
* _resultobj
;
6493 wxFont
* _arg6
= (wxFont
*) NULL
;
6494 PyObject
* _argo0
= 0;
6495 PyObject
* _obj1
= 0;
6496 PyObject
* _argo6
= 0;
6497 char *_kwnames
[] = { "self","string","font", NULL
};
6512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxDC_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
6515 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6516 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFullTextExtent. Expected _wxDC_p.");
6522 #if PYTHON_API_VERSION >= 1009
6523 char* tmpPtr
; int tmpSize
;
6524 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6525 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
6528 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6530 _arg1
= new wxString(tmpPtr
, tmpSize
);
6532 if (!PyString_Check(_obj1
)) {
6533 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6536 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6540 if (_argo6
== Py_None
) { _arg6
= NULL
; }
6541 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
6542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxDC_GetFullTextExtent. Expected _wxFont_p.");
6547 wxPy_BEGIN_ALLOW_THREADS
;
6548 wxDC_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
6550 wxPy_END_ALLOW_THREADS
;
6551 } Py_INCREF(Py_None
);
6552 _resultobj
= Py_None
;
6555 o
= PyInt_FromLong((long) (*_arg2
));
6556 _resultobj
= t_output_helper(_resultobj
, o
);
6560 o
= PyInt_FromLong((long) (*_arg3
));
6561 _resultobj
= t_output_helper(_resultobj
, o
);
6565 o
= PyInt_FromLong((long) (*_arg4
));
6566 _resultobj
= t_output_helper(_resultobj
, o
);
6570 o
= PyInt_FromLong((long) (*_arg5
));
6571 _resultobj
= t_output_helper(_resultobj
, o
);
6580 #define wxDC_GetTextForeground(_swigobj) (_swigobj->GetTextForeground())
6581 static PyObject
*_wrap_wxDC_GetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6582 PyObject
* _resultobj
;
6585 PyObject
* _argo0
= 0;
6586 char *_kwnames
[] = { "self", NULL
};
6590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetTextForeground",_kwnames
,&_argo0
))
6593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextForeground. Expected _wxDC_p.");
6600 wxPy_BEGIN_ALLOW_THREADS
;
6601 wxColour
& _result_ref
= wxDC_GetTextForeground(_arg0
);
6602 _result
= (wxColour
*) &_result_ref
;
6604 wxPy_END_ALLOW_THREADS
;
6606 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
6607 _resultobj
= Py_BuildValue("s",_ptemp
);
6610 _resultobj
= Py_None
;
6615 #define wxDC_GetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetUserScale(_swigarg0,_swigarg1))
6616 static PyObject
*_wrap_wxDC_GetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6617 PyObject
* _resultobj
;
6623 PyObject
* _argo0
= 0;
6624 char *_kwnames
[] = { "self", NULL
};
6633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetUserScale",_kwnames
,&_argo0
))
6636 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6637 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetUserScale. Expected _wxDC_p.");
6643 wxPy_BEGIN_ALLOW_THREADS
;
6644 wxDC_GetUserScale(_arg0
,_arg1
,_arg2
);
6646 wxPy_END_ALLOW_THREADS
;
6647 } Py_INCREF(Py_None
);
6648 _resultobj
= Py_None
;
6651 o
= PyFloat_FromDouble((double) (*_arg1
));
6652 _resultobj
= t_output_helper(_resultobj
, o
);
6656 o
= PyFloat_FromDouble((double) (*_arg2
));
6657 _resultobj
= t_output_helper(_resultobj
, o
);
6662 #define wxDC_LogicalToDeviceX(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceX(_swigarg0))
6663 static PyObject
*_wrap_wxDC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6664 PyObject
* _resultobj
;
6668 PyObject
* _argo0
= 0;
6669 char *_kwnames
[] = { "self","x", NULL
};
6672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceX",_kwnames
,&_argo0
,&_arg1
))
6675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceX. Expected _wxDC_p.");
6682 wxPy_BEGIN_ALLOW_THREADS
;
6683 _result
= (long )wxDC_LogicalToDeviceX(_arg0
,_arg1
);
6685 wxPy_END_ALLOW_THREADS
;
6686 } _resultobj
= Py_BuildValue("l",_result
);
6690 #define wxDC_LogicalToDeviceXRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceXRel(_swigarg0))
6691 static PyObject
*_wrap_wxDC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6692 PyObject
* _resultobj
;
6696 PyObject
* _argo0
= 0;
6697 char *_kwnames
[] = { "self","x", NULL
};
6700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceXRel",_kwnames
,&_argo0
,&_arg1
))
6703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceXRel. Expected _wxDC_p.");
6710 wxPy_BEGIN_ALLOW_THREADS
;
6711 _result
= (long )wxDC_LogicalToDeviceXRel(_arg0
,_arg1
);
6713 wxPy_END_ALLOW_THREADS
;
6714 } _resultobj
= Py_BuildValue("l",_result
);
6718 #define wxDC_LogicalToDeviceY(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceY(_swigarg0))
6719 static PyObject
*_wrap_wxDC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6720 PyObject
* _resultobj
;
6724 PyObject
* _argo0
= 0;
6725 char *_kwnames
[] = { "self","y", NULL
};
6728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceY",_kwnames
,&_argo0
,&_arg1
))
6731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceY. Expected _wxDC_p.");
6738 wxPy_BEGIN_ALLOW_THREADS
;
6739 _result
= (long )wxDC_LogicalToDeviceY(_arg0
,_arg1
);
6741 wxPy_END_ALLOW_THREADS
;
6742 } _resultobj
= Py_BuildValue("l",_result
);
6746 #define wxDC_LogicalToDeviceYRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceYRel(_swigarg0))
6747 static PyObject
*_wrap_wxDC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6748 PyObject
* _resultobj
;
6752 PyObject
* _argo0
= 0;
6753 char *_kwnames
[] = { "self","y", NULL
};
6756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceYRel",_kwnames
,&_argo0
,&_arg1
))
6759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceYRel. Expected _wxDC_p.");
6766 wxPy_BEGIN_ALLOW_THREADS
;
6767 _result
= (long )wxDC_LogicalToDeviceYRel(_arg0
,_arg1
);
6769 wxPy_END_ALLOW_THREADS
;
6770 } _resultobj
= Py_BuildValue("l",_result
);
6774 #define wxDC_MaxX(_swigobj) (_swigobj->MaxX())
6775 static PyObject
*_wrap_wxDC_MaxX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6776 PyObject
* _resultobj
;
6779 PyObject
* _argo0
= 0;
6780 char *_kwnames
[] = { "self", NULL
};
6783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MaxX",_kwnames
,&_argo0
))
6786 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6787 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxX. Expected _wxDC_p.");
6793 wxPy_BEGIN_ALLOW_THREADS
;
6794 _result
= (long )wxDC_MaxX(_arg0
);
6796 wxPy_END_ALLOW_THREADS
;
6797 } _resultobj
= Py_BuildValue("l",_result
);
6801 #define wxDC_MaxY(_swigobj) (_swigobj->MaxY())
6802 static PyObject
*_wrap_wxDC_MaxY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6803 PyObject
* _resultobj
;
6806 PyObject
* _argo0
= 0;
6807 char *_kwnames
[] = { "self", NULL
};
6810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MaxY",_kwnames
,&_argo0
))
6813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxY. Expected _wxDC_p.");
6820 wxPy_BEGIN_ALLOW_THREADS
;
6821 _result
= (long )wxDC_MaxY(_arg0
);
6823 wxPy_END_ALLOW_THREADS
;
6824 } _resultobj
= Py_BuildValue("l",_result
);
6828 #define wxDC_MinX(_swigobj) (_swigobj->MinX())
6829 static PyObject
*_wrap_wxDC_MinX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6830 PyObject
* _resultobj
;
6833 PyObject
* _argo0
= 0;
6834 char *_kwnames
[] = { "self", NULL
};
6837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MinX",_kwnames
,&_argo0
))
6840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinX. Expected _wxDC_p.");
6847 wxPy_BEGIN_ALLOW_THREADS
;
6848 _result
= (long )wxDC_MinX(_arg0
);
6850 wxPy_END_ALLOW_THREADS
;
6851 } _resultobj
= Py_BuildValue("l",_result
);
6855 #define wxDC_MinY(_swigobj) (_swigobj->MinY())
6856 static PyObject
*_wrap_wxDC_MinY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6857 PyObject
* _resultobj
;
6860 PyObject
* _argo0
= 0;
6861 char *_kwnames
[] = { "self", NULL
};
6864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MinY",_kwnames
,&_argo0
))
6867 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6868 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinY. Expected _wxDC_p.");
6874 wxPy_BEGIN_ALLOW_THREADS
;
6875 _result
= (long )wxDC_MinY(_arg0
);
6877 wxPy_END_ALLOW_THREADS
;
6878 } _resultobj
= Py_BuildValue("l",_result
);
6882 #define wxDC_Ok(_swigobj) (_swigobj->Ok())
6883 static PyObject
*_wrap_wxDC_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6884 PyObject
* _resultobj
;
6887 PyObject
* _argo0
= 0;
6888 char *_kwnames
[] = { "self", NULL
};
6891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_Ok",_kwnames
,&_argo0
))
6894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Ok. Expected _wxDC_p.");
6901 wxPy_BEGIN_ALLOW_THREADS
;
6902 _result
= (bool )wxDC_Ok(_arg0
);
6904 wxPy_END_ALLOW_THREADS
;
6905 } _resultobj
= Py_BuildValue("i",_result
);
6909 #define wxDC_SetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDeviceOrigin(_swigarg0,_swigarg1))
6910 static PyObject
*_wrap_wxDC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6911 PyObject
* _resultobj
;
6915 PyObject
* _argo0
= 0;
6916 char *_kwnames
[] = { "self","x","y", NULL
};
6919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_SetDeviceOrigin",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6922 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6923 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetDeviceOrigin. Expected _wxDC_p.");
6929 wxPy_BEGIN_ALLOW_THREADS
;
6930 wxDC_SetDeviceOrigin(_arg0
,_arg1
,_arg2
);
6932 wxPy_END_ALLOW_THREADS
;
6933 } Py_INCREF(Py_None
);
6934 _resultobj
= Py_None
;
6938 #define wxDC_SetBackground(_swigobj,_swigarg0) (_swigobj->SetBackground(_swigarg0))
6939 static PyObject
*_wrap_wxDC_SetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6940 PyObject
* _resultobj
;
6943 PyObject
* _argo0
= 0;
6944 PyObject
* _argo1
= 0;
6945 char *_kwnames
[] = { "self","brush", NULL
};
6948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetBackground",_kwnames
,&_argo0
,&_argo1
))
6951 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6952 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackground. Expected _wxDC_p.");
6958 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6959 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
6960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBackground. Expected _wxBrush_p.");
6965 wxPy_BEGIN_ALLOW_THREADS
;
6966 wxDC_SetBackground(_arg0
,*_arg1
);
6968 wxPy_END_ALLOW_THREADS
;
6969 } Py_INCREF(Py_None
);
6970 _resultobj
= Py_None
;
6974 #define wxDC_SetBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetBackgroundMode(_swigarg0))
6975 static PyObject
*_wrap_wxDC_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6976 PyObject
* _resultobj
;
6979 PyObject
* _argo0
= 0;
6980 char *_kwnames
[] = { "self","mode", NULL
};
6983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetBackgroundMode",_kwnames
,&_argo0
,&_arg1
))
6986 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6987 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackgroundMode. Expected _wxDC_p.");
6993 wxPy_BEGIN_ALLOW_THREADS
;
6994 wxDC_SetBackgroundMode(_arg0
,_arg1
);
6996 wxPy_END_ALLOW_THREADS
;
6997 } Py_INCREF(Py_None
);
6998 _resultobj
= Py_None
;
7002 #define wxDC_SetClippingRegion(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetClippingRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7003 static PyObject
*_wrap_wxDC_SetClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7004 PyObject
* _resultobj
;
7010 PyObject
* _argo0
= 0;
7011 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
7014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_SetClippingRegion",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7017 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7018 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetClippingRegion. Expected _wxDC_p.");
7024 wxPy_BEGIN_ALLOW_THREADS
;
7025 wxDC_SetClippingRegion(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7027 wxPy_END_ALLOW_THREADS
;
7028 } Py_INCREF(Py_None
);
7029 _resultobj
= Py_None
;
7033 #define wxDC_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
7034 static PyObject
*_wrap_wxDC_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7035 PyObject
* _resultobj
;
7038 PyObject
* _argo0
= 0;
7039 PyObject
* _argo1
= 0;
7040 char *_kwnames
[] = { "self","colourMap", NULL
};
7043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetPalette",_kwnames
,&_argo0
,&_argo1
))
7046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPalette. Expected _wxDC_p.");
7053 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7054 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPalette_p")) {
7055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPalette. Expected _wxPalette_p.");
7060 wxPy_BEGIN_ALLOW_THREADS
;
7061 wxDC_SetPalette(_arg0
,*_arg1
);
7063 wxPy_END_ALLOW_THREADS
;
7064 } Py_INCREF(Py_None
);
7065 _resultobj
= Py_None
;
7069 #define wxDC_SetBrush(_swigobj,_swigarg0) (_swigobj->SetBrush(_swigarg0))
7070 static PyObject
*_wrap_wxDC_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7071 PyObject
* _resultobj
;
7074 PyObject
* _argo0
= 0;
7075 PyObject
* _argo1
= 0;
7076 char *_kwnames
[] = { "self","brush", NULL
};
7079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetBrush",_kwnames
,&_argo0
,&_argo1
))
7082 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7083 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBrush. Expected _wxDC_p.");
7089 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7090 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
7091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBrush. Expected _wxBrush_p.");
7096 wxPy_BEGIN_ALLOW_THREADS
;
7097 wxDC_SetBrush(_arg0
,*_arg1
);
7099 wxPy_END_ALLOW_THREADS
;
7100 } Py_INCREF(Py_None
);
7101 _resultobj
= Py_None
;
7105 #define wxDC_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
7106 static PyObject
*_wrap_wxDC_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7107 PyObject
* _resultobj
;
7110 PyObject
* _argo0
= 0;
7111 PyObject
* _argo1
= 0;
7112 char *_kwnames
[] = { "self","font", NULL
};
7115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetFont",_kwnames
,&_argo0
,&_argo1
))
7118 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7119 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetFont. Expected _wxDC_p.");
7125 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7126 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
7127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetFont. Expected _wxFont_p.");
7132 wxPy_BEGIN_ALLOW_THREADS
;
7133 wxDC_SetFont(_arg0
,*_arg1
);
7135 wxPy_END_ALLOW_THREADS
;
7136 } Py_INCREF(Py_None
);
7137 _resultobj
= Py_None
;
7141 #define wxDC_SetLogicalFunction(_swigobj,_swigarg0) (_swigobj->SetLogicalFunction(_swigarg0))
7142 static PyObject
*_wrap_wxDC_SetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7143 PyObject
* _resultobj
;
7146 PyObject
* _argo0
= 0;
7147 char *_kwnames
[] = { "self","function", NULL
};
7150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetLogicalFunction",_kwnames
,&_argo0
,&_arg1
))
7153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalFunction. Expected _wxDC_p.");
7160 wxPy_BEGIN_ALLOW_THREADS
;
7161 wxDC_SetLogicalFunction(_arg0
,_arg1
);
7163 wxPy_END_ALLOW_THREADS
;
7164 } Py_INCREF(Py_None
);
7165 _resultobj
= Py_None
;
7169 #define wxDC_SetLogicalScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLogicalScale(_swigarg0,_swigarg1))
7170 static PyObject
*_wrap_wxDC_SetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7171 PyObject
* _resultobj
;
7175 PyObject
* _argo0
= 0;
7176 char *_kwnames
[] = { "self","x","y", NULL
};
7179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxDC_SetLogicalScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7182 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7183 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalScale. Expected _wxDC_p.");
7189 wxPy_BEGIN_ALLOW_THREADS
;
7190 wxDC_SetLogicalScale(_arg0
,_arg1
,_arg2
);
7192 wxPy_END_ALLOW_THREADS
;
7193 } Py_INCREF(Py_None
);
7194 _resultobj
= Py_None
;
7198 #define wxDC_SetMapMode(_swigobj,_swigarg0) (_swigobj->SetMapMode(_swigarg0))
7199 static PyObject
*_wrap_wxDC_SetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7200 PyObject
* _resultobj
;
7203 PyObject
* _argo0
= 0;
7204 char *_kwnames
[] = { "self","mode", NULL
};
7207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetMapMode",_kwnames
,&_argo0
,&_arg1
))
7210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetMapMode. Expected _wxDC_p.");
7217 wxPy_BEGIN_ALLOW_THREADS
;
7218 wxDC_SetMapMode(_arg0
,_arg1
);
7220 wxPy_END_ALLOW_THREADS
;
7221 } Py_INCREF(Py_None
);
7222 _resultobj
= Py_None
;
7226 #define wxDC_SetOptimization(_swigobj,_swigarg0) (_swigobj->SetOptimization(_swigarg0))
7227 static PyObject
*_wrap_wxDC_SetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7228 PyObject
* _resultobj
;
7231 PyObject
* _argo0
= 0;
7233 char *_kwnames
[] = { "self","optimize", NULL
};
7236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetOptimization",_kwnames
,&_argo0
,&tempbool1
))
7239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetOptimization. Expected _wxDC_p.");
7245 _arg1
= (bool ) tempbool1
;
7247 wxPy_BEGIN_ALLOW_THREADS
;
7248 wxDC_SetOptimization(_arg0
,_arg1
);
7250 wxPy_END_ALLOW_THREADS
;
7251 } Py_INCREF(Py_None
);
7252 _resultobj
= Py_None
;
7256 #define wxDC_SetPen(_swigobj,_swigarg0) (_swigobj->SetPen(_swigarg0))
7257 static PyObject
*_wrap_wxDC_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7258 PyObject
* _resultobj
;
7261 PyObject
* _argo0
= 0;
7262 PyObject
* _argo1
= 0;
7263 char *_kwnames
[] = { "self","pen", NULL
};
7266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetPen",_kwnames
,&_argo0
,&_argo1
))
7269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPen. Expected _wxDC_p.");
7276 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7277 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
7278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPen. Expected _wxPen_p.");
7283 wxPy_BEGIN_ALLOW_THREADS
;
7284 wxDC_SetPen(_arg0
,*_arg1
);
7286 wxPy_END_ALLOW_THREADS
;
7287 } Py_INCREF(Py_None
);
7288 _resultobj
= Py_None
;
7292 #define wxDC_SetTextBackground(_swigobj,_swigarg0) (_swigobj->SetTextBackground(_swigarg0))
7293 static PyObject
*_wrap_wxDC_SetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7294 PyObject
* _resultobj
;
7297 PyObject
* _argo0
= 0;
7299 PyObject
* _obj1
= 0;
7300 char *_kwnames
[] = { "self","colour", NULL
};
7303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetTextBackground",_kwnames
,&_argo0
,&_obj1
))
7306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextBackground. Expected _wxDC_p.");
7314 if (! wxColour_helper(_obj1
, &_arg1
))
7318 wxPy_BEGIN_ALLOW_THREADS
;
7319 wxDC_SetTextBackground(_arg0
,*_arg1
);
7321 wxPy_END_ALLOW_THREADS
;
7322 } Py_INCREF(Py_None
);
7323 _resultobj
= Py_None
;
7327 #define wxDC_SetTextForeground(_swigobj,_swigarg0) (_swigobj->SetTextForeground(_swigarg0))
7328 static PyObject
*_wrap_wxDC_SetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7329 PyObject
* _resultobj
;
7332 PyObject
* _argo0
= 0;
7334 PyObject
* _obj1
= 0;
7335 char *_kwnames
[] = { "self","colour", NULL
};
7338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetTextForeground",_kwnames
,&_argo0
,&_obj1
))
7341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextForeground. Expected _wxDC_p.");
7349 if (! wxColour_helper(_obj1
, &_arg1
))
7353 wxPy_BEGIN_ALLOW_THREADS
;
7354 wxDC_SetTextForeground(_arg0
,*_arg1
);
7356 wxPy_END_ALLOW_THREADS
;
7357 } Py_INCREF(Py_None
);
7358 _resultobj
= Py_None
;
7362 #define wxDC_SetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetUserScale(_swigarg0,_swigarg1))
7363 static PyObject
*_wrap_wxDC_SetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7364 PyObject
* _resultobj
;
7368 PyObject
* _argo0
= 0;
7369 char *_kwnames
[] = { "self","x_scale","y_scale", NULL
};
7372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxDC_SetUserScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetUserScale. Expected _wxDC_p.");
7382 wxPy_BEGIN_ALLOW_THREADS
;
7383 wxDC_SetUserScale(_arg0
,_arg1
,_arg2
);
7385 wxPy_END_ALLOW_THREADS
;
7386 } Py_INCREF(Py_None
);
7387 _resultobj
= Py_None
;
7391 #define wxDC_StartDoc(_swigobj,_swigarg0) (_swigobj->StartDoc(_swigarg0))
7392 static PyObject
*_wrap_wxDC_StartDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7393 PyObject
* _resultobj
;
7397 PyObject
* _argo0
= 0;
7398 PyObject
* _obj1
= 0;
7399 char *_kwnames
[] = { "self","message", NULL
};
7402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_StartDoc",_kwnames
,&_argo0
,&_obj1
))
7405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartDoc. Expected _wxDC_p.");
7412 #if PYTHON_API_VERSION >= 1009
7413 char* tmpPtr
; int tmpSize
;
7414 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7415 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
7418 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7420 _arg1
= new wxString(tmpPtr
, tmpSize
);
7422 if (!PyString_Check(_obj1
)) {
7423 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7426 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7430 wxPy_BEGIN_ALLOW_THREADS
;
7431 _result
= (bool )wxDC_StartDoc(_arg0
,*_arg1
);
7433 wxPy_END_ALLOW_THREADS
;
7434 } _resultobj
= Py_BuildValue("i",_result
);
7442 #define wxDC_StartPage(_swigobj) (_swigobj->StartPage())
7443 static PyObject
*_wrap_wxDC_StartPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7444 PyObject
* _resultobj
;
7446 PyObject
* _argo0
= 0;
7447 char *_kwnames
[] = { "self", NULL
};
7450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_StartPage",_kwnames
,&_argo0
))
7453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartPage. Expected _wxDC_p.");
7460 wxPy_BEGIN_ALLOW_THREADS
;
7461 wxDC_StartPage(_arg0
);
7463 wxPy_END_ALLOW_THREADS
;
7464 } Py_INCREF(Py_None
);
7465 _resultobj
= Py_None
;
7469 #define wxDC_DrawBitmap(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7470 static PyObject
*_wrap_wxDC_DrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7471 PyObject
* _resultobj
;
7476 int _arg4
= (int ) FALSE
;
7477 PyObject
* _argo0
= 0;
7478 PyObject
* _argo1
= 0;
7479 char *_kwnames
[] = { "self","bitmap","x","y","useMask", NULL
};
7482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll|i:wxDC_DrawBitmap",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
))
7485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawBitmap. Expected _wxDC_p.");
7492 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7493 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
7494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawBitmap. Expected _wxBitmap_p.");
7499 wxPy_BEGIN_ALLOW_THREADS
;
7500 wxDC_DrawBitmap(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
7502 wxPy_END_ALLOW_THREADS
;
7503 } Py_INCREF(Py_None
);
7504 _resultobj
= Py_None
;
7508 #define wxDC_CanDrawBitmap(_swigobj) (_swigobj->CanDrawBitmap())
7509 static PyObject
*_wrap_wxDC_CanDrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7510 PyObject
* _resultobj
;
7513 PyObject
* _argo0
= 0;
7514 char *_kwnames
[] = { "self", NULL
};
7517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_CanDrawBitmap",_kwnames
,&_argo0
))
7520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CanDrawBitmap. Expected _wxDC_p.");
7527 wxPy_BEGIN_ALLOW_THREADS
;
7528 _result
= (bool )wxDC_CanDrawBitmap(_arg0
);
7530 wxPy_END_ALLOW_THREADS
;
7531 } _resultobj
= Py_BuildValue("i",_result
);
7535 #define wxDC_CanGetTextExtent(_swigobj) (_swigobj->CanGetTextExtent())
7536 static PyObject
*_wrap_wxDC_CanGetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7537 PyObject
* _resultobj
;
7540 PyObject
* _argo0
= 0;
7541 char *_kwnames
[] = { "self", NULL
};
7544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_CanGetTextExtent",_kwnames
,&_argo0
))
7547 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7548 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CanGetTextExtent. Expected _wxDC_p.");
7554 wxPy_BEGIN_ALLOW_THREADS
;
7555 _result
= (bool )wxDC_CanGetTextExtent(_arg0
);
7557 wxPy_END_ALLOW_THREADS
;
7558 } _resultobj
= Py_BuildValue("i",_result
);
7562 #define wxDC_GetDepth(_swigobj) (_swigobj->GetDepth())
7563 static PyObject
*_wrap_wxDC_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7564 PyObject
* _resultobj
;
7567 PyObject
* _argo0
= 0;
7568 char *_kwnames
[] = { "self", NULL
};
7571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetDepth",_kwnames
,&_argo0
))
7574 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7575 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetDepth. Expected _wxDC_p.");
7581 wxPy_BEGIN_ALLOW_THREADS
;
7582 _result
= (int )wxDC_GetDepth(_arg0
);
7584 wxPy_END_ALLOW_THREADS
;
7585 } _resultobj
= Py_BuildValue("i",_result
);
7589 #define wxDC_GetPPI(_swigobj) (_swigobj->GetPPI())
7590 static PyObject
*_wrap_wxDC_GetPPI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7591 PyObject
* _resultobj
;
7594 PyObject
* _argo0
= 0;
7595 char *_kwnames
[] = { "self", NULL
};
7599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetPPI",_kwnames
,&_argo0
))
7602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPPI. Expected _wxDC_p.");
7609 wxPy_BEGIN_ALLOW_THREADS
;
7610 _result
= new wxSize (wxDC_GetPPI(_arg0
));
7612 wxPy_END_ALLOW_THREADS
;
7613 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
7614 _resultobj
= Py_BuildValue("s",_ptemp
);
7618 #define wxDC_GetLogicalOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLogicalOrigin(_swigarg0,_swigarg1))
7619 static PyObject
*_wrap_wxDC_GetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7620 PyObject
* _resultobj
;
7626 PyObject
* _argo0
= 0;
7627 char *_kwnames
[] = { "self", NULL
};
7636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalOrigin",_kwnames
,&_argo0
))
7639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalOrigin. Expected _wxDC_p.");
7646 wxPy_BEGIN_ALLOW_THREADS
;
7647 wxDC_GetLogicalOrigin(_arg0
,_arg1
,_arg2
);
7649 wxPy_END_ALLOW_THREADS
;
7650 } Py_INCREF(Py_None
);
7651 _resultobj
= Py_None
;
7654 o
= PyInt_FromLong((long) (*_arg1
));
7655 _resultobj
= t_output_helper(_resultobj
, o
);
7659 o
= PyInt_FromLong((long) (*_arg2
));
7660 _resultobj
= t_output_helper(_resultobj
, o
);
7665 #define wxDC_SetLogicalOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLogicalOrigin(_swigarg0,_swigarg1))
7666 static PyObject
*_wrap_wxDC_SetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7667 PyObject
* _resultobj
;
7671 PyObject
* _argo0
= 0;
7672 char *_kwnames
[] = { "self","x","y", NULL
};
7675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_SetLogicalOrigin",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalOrigin. Expected _wxDC_p.");
7685 wxPy_BEGIN_ALLOW_THREADS
;
7686 wxDC_SetLogicalOrigin(_arg0
,_arg1
,_arg2
);
7688 wxPy_END_ALLOW_THREADS
;
7689 } Py_INCREF(Py_None
);
7690 _resultobj
= Py_None
;
7694 #define wxDC_GetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDeviceOrigin(_swigarg0,_swigarg1))
7695 static PyObject
*_wrap_wxDC_GetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7696 PyObject
* _resultobj
;
7702 PyObject
* _argo0
= 0;
7703 char *_kwnames
[] = { "self", NULL
};
7712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetDeviceOrigin",_kwnames
,&_argo0
))
7715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetDeviceOrigin. Expected _wxDC_p.");
7722 wxPy_BEGIN_ALLOW_THREADS
;
7723 wxDC_GetDeviceOrigin(_arg0
,_arg1
,_arg2
);
7725 wxPy_END_ALLOW_THREADS
;
7726 } Py_INCREF(Py_None
);
7727 _resultobj
= Py_None
;
7730 o
= PyInt_FromLong((long) (*_arg1
));
7731 _resultobj
= t_output_helper(_resultobj
, o
);
7735 o
= PyInt_FromLong((long) (*_arg2
));
7736 _resultobj
= t_output_helper(_resultobj
, o
);
7741 #define wxDC_SetAxisOrientation(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAxisOrientation(_swigarg0,_swigarg1))
7742 static PyObject
*_wrap_wxDC_SetAxisOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7743 PyObject
* _resultobj
;
7747 PyObject
* _argo0
= 0;
7750 char *_kwnames
[] = { "self","xLeftRight","yBottomUp", NULL
};
7753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_SetAxisOrientation",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
7756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetAxisOrientation. Expected _wxDC_p.");
7762 _arg1
= (bool ) tempbool1
;
7763 _arg2
= (bool ) tempbool2
;
7765 wxPy_BEGIN_ALLOW_THREADS
;
7766 wxDC_SetAxisOrientation(_arg0
,_arg1
,_arg2
);
7768 wxPy_END_ALLOW_THREADS
;
7769 } Py_INCREF(Py_None
);
7770 _resultobj
= Py_None
;
7774 #define wxDC_CalcBoundingBox(_swigobj,_swigarg0,_swigarg1) (_swigobj->CalcBoundingBox(_swigarg0,_swigarg1))
7775 static PyObject
*_wrap_wxDC_CalcBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7776 PyObject
* _resultobj
;
7780 PyObject
* _argo0
= 0;
7781 char *_kwnames
[] = { "self","x","y", NULL
};
7784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_CalcBoundingBox",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7787 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7788 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CalcBoundingBox. Expected _wxDC_p.");
7794 wxPy_BEGIN_ALLOW_THREADS
;
7795 wxDC_CalcBoundingBox(_arg0
,_arg1
,_arg2
);
7797 wxPy_END_ALLOW_THREADS
;
7798 } Py_INCREF(Py_None
);
7799 _resultobj
= Py_None
;
7803 #define wxDC_ResetBoundingBox(_swigobj) (_swigobj->ResetBoundingBox())
7804 static PyObject
*_wrap_wxDC_ResetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7805 PyObject
* _resultobj
;
7807 PyObject
* _argo0
= 0;
7808 char *_kwnames
[] = { "self", NULL
};
7811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_ResetBoundingBox",_kwnames
,&_argo0
))
7814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_ResetBoundingBox. Expected _wxDC_p.");
7821 wxPy_BEGIN_ALLOW_THREADS
;
7822 wxDC_ResetBoundingBox(_arg0
);
7824 wxPy_END_ALLOW_THREADS
;
7825 } Py_INCREF(Py_None
);
7826 _resultobj
= Py_None
;
7830 static void *SwigwxMemoryDCTowxDC(void *ptr
) {
7833 src
= (wxMemoryDC
*) ptr
;
7834 dest
= (wxDC
*) src
;
7835 return (void *) dest
;
7838 #define new_wxMemoryDC() (new wxMemoryDC())
7839 static PyObject
*_wrap_new_wxMemoryDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7840 PyObject
* _resultobj
;
7841 wxMemoryDC
* _result
;
7842 char *_kwnames
[] = { NULL
};
7846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMemoryDC",_kwnames
))
7849 wxPy_BEGIN_ALLOW_THREADS
;
7850 _result
= (wxMemoryDC
*)new_wxMemoryDC();
7852 wxPy_END_ALLOW_THREADS
;
7854 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
7855 _resultobj
= Py_BuildValue("s",_ptemp
);
7858 _resultobj
= Py_None
;
7863 #define wxMemoryDC_SelectObject(_swigobj,_swigarg0) (_swigobj->SelectObject(_swigarg0))
7864 static PyObject
*_wrap_wxMemoryDC_SelectObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7865 PyObject
* _resultobj
;
7868 PyObject
* _argo0
= 0;
7869 PyObject
* _argo1
= 0;
7870 char *_kwnames
[] = { "self","bitmap", NULL
};
7873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMemoryDC_SelectObject",_kwnames
,&_argo0
,&_argo1
))
7876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMemoryDC_p")) {
7878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDC_SelectObject. Expected _wxMemoryDC_p.");
7883 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7884 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
7885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMemoryDC_SelectObject. Expected _wxBitmap_p.");
7890 wxPy_BEGIN_ALLOW_THREADS
;
7891 wxMemoryDC_SelectObject(_arg0
,*_arg1
);
7893 wxPy_END_ALLOW_THREADS
;
7894 } Py_INCREF(Py_None
);
7895 _resultobj
= Py_None
;
7899 static void *SwigwxScreenDCTowxDC(void *ptr
) {
7902 src
= (wxScreenDC
*) ptr
;
7903 dest
= (wxDC
*) src
;
7904 return (void *) dest
;
7907 #define new_wxScreenDC() (new wxScreenDC())
7908 static PyObject
*_wrap_new_wxScreenDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7909 PyObject
* _resultobj
;
7910 wxScreenDC
* _result
;
7911 char *_kwnames
[] = { NULL
};
7915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxScreenDC",_kwnames
))
7918 wxPy_BEGIN_ALLOW_THREADS
;
7919 _result
= (wxScreenDC
*)new_wxScreenDC();
7921 wxPy_END_ALLOW_THREADS
;
7923 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScreenDC_p");
7924 _resultobj
= Py_BuildValue("s",_ptemp
);
7927 _resultobj
= Py_None
;
7932 #define wxScreenDC_StartDrawingOnTopWin(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
7933 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTopWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7934 PyObject
* _resultobj
;
7938 PyObject
* _argo0
= 0;
7939 PyObject
* _argo1
= 0;
7940 char *_kwnames
[] = { "self","window", NULL
};
7943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScreenDC_StartDrawingOnTopWin",_kwnames
,&_argo0
,&_argo1
))
7946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
7948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTopWin. Expected _wxScreenDC_p.");
7953 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7954 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScreenDC_StartDrawingOnTopWin. Expected _wxWindow_p.");
7960 wxPy_BEGIN_ALLOW_THREADS
;
7961 _result
= (bool )wxScreenDC_StartDrawingOnTopWin(_arg0
,_arg1
);
7963 wxPy_END_ALLOW_THREADS
;
7964 } _resultobj
= Py_BuildValue("i",_result
);
7968 #define wxScreenDC_StartDrawingOnTop(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
7969 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7970 PyObject
* _resultobj
;
7973 wxRect
* _arg1
= (wxRect
*) NULL
;
7974 PyObject
* _argo0
= 0;
7976 PyObject
* _obj1
= 0;
7977 char *_kwnames
[] = { "self","rect", NULL
};
7980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxScreenDC_StartDrawingOnTop",_kwnames
,&_argo0
,&_obj1
))
7983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
7985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTop. Expected _wxScreenDC_p.");
7992 if (! wxRect_helper(_obj1
, &_arg1
))
7996 wxPy_BEGIN_ALLOW_THREADS
;
7997 _result
= (bool )wxScreenDC_StartDrawingOnTop(_arg0
,_arg1
);
7999 wxPy_END_ALLOW_THREADS
;
8000 } _resultobj
= Py_BuildValue("i",_result
);
8004 #define wxScreenDC_EndDrawingOnTop(_swigobj) (_swigobj->EndDrawingOnTop())
8005 static PyObject
*_wrap_wxScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8006 PyObject
* _resultobj
;
8009 PyObject
* _argo0
= 0;
8010 char *_kwnames
[] = { "self", NULL
};
8013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScreenDC_EndDrawingOnTop",_kwnames
,&_argo0
))
8016 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8017 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
8018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_EndDrawingOnTop. Expected _wxScreenDC_p.");
8023 wxPy_BEGIN_ALLOW_THREADS
;
8024 _result
= (bool )wxScreenDC_EndDrawingOnTop(_arg0
);
8026 wxPy_END_ALLOW_THREADS
;
8027 } _resultobj
= Py_BuildValue("i",_result
);
8031 static void *SwigwxClientDCTowxDC(void *ptr
) {
8034 src
= (wxClientDC
*) ptr
;
8035 dest
= (wxDC
*) src
;
8036 return (void *) dest
;
8039 #define new_wxClientDC(_swigarg0) (new wxClientDC(_swigarg0))
8040 static PyObject
*_wrap_new_wxClientDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8041 PyObject
* _resultobj
;
8042 wxClientDC
* _result
;
8044 PyObject
* _argo0
= 0;
8045 char *_kwnames
[] = { "win", NULL
};
8049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxClientDC",_kwnames
,&_argo0
))
8052 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8053 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxClientDC. Expected _wxWindow_p.");
8059 wxPy_BEGIN_ALLOW_THREADS
;
8060 _result
= (wxClientDC
*)new_wxClientDC(_arg0
);
8062 wxPy_END_ALLOW_THREADS
;
8064 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxClientDC_p");
8065 _resultobj
= Py_BuildValue("s",_ptemp
);
8068 _resultobj
= Py_None
;
8073 static void *SwigwxPaintDCTowxDC(void *ptr
) {
8076 src
= (wxPaintDC
*) ptr
;
8077 dest
= (wxDC
*) src
;
8078 return (void *) dest
;
8081 #define new_wxPaintDC(_swigarg0) (new wxPaintDC(_swigarg0))
8082 static PyObject
*_wrap_new_wxPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8083 PyObject
* _resultobj
;
8084 wxPaintDC
* _result
;
8086 PyObject
* _argo0
= 0;
8087 char *_kwnames
[] = { "win", NULL
};
8091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPaintDC",_kwnames
,&_argo0
))
8094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPaintDC. Expected _wxWindow_p.");
8101 wxPy_BEGIN_ALLOW_THREADS
;
8102 _result
= (wxPaintDC
*)new_wxPaintDC(_arg0
);
8104 wxPy_END_ALLOW_THREADS
;
8106 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPaintDC_p");
8107 _resultobj
= Py_BuildValue("s",_ptemp
);
8110 _resultobj
= Py_None
;
8115 static void *SwigwxWindowDCTowxDC(void *ptr
) {
8118 src
= (wxWindowDC
*) ptr
;
8119 dest
= (wxDC
*) src
;
8120 return (void *) dest
;
8123 #define new_wxWindowDC(_swigarg0) (new wxWindowDC(_swigarg0))
8124 static PyObject
*_wrap_new_wxWindowDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8125 PyObject
* _resultobj
;
8126 wxWindowDC
* _result
;
8128 PyObject
* _argo0
= 0;
8129 char *_kwnames
[] = { "win", NULL
};
8133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxWindowDC",_kwnames
,&_argo0
))
8136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDC. Expected _wxWindow_p.");
8143 wxPy_BEGIN_ALLOW_THREADS
;
8144 _result
= (wxWindowDC
*)new_wxWindowDC(_arg0
);
8146 wxPy_END_ALLOW_THREADS
;
8148 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDC_p");
8149 _resultobj
= Py_BuildValue("s",_ptemp
);
8152 _resultobj
= Py_None
;
8157 static void *SwigwxMetaFileDCTowxDC(void *ptr
) {
8160 src
= (wxMetaFileDC
*) ptr
;
8161 dest
= (wxDC
*) src
;
8162 return (void *) dest
;
8165 #define new_wxMetaFileDC(_swigarg0) (new wxMetaFileDC(_swigarg0))
8166 static PyObject
*_wrap_new_wxMetaFileDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8167 PyObject
* _resultobj
;
8168 wxMetaFileDC
* _result
;
8169 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
8170 PyObject
* _obj0
= 0;
8171 char *_kwnames
[] = { "filename", NULL
};
8175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxMetaFileDC",_kwnames
,&_obj0
))
8179 #if PYTHON_API_VERSION >= 1009
8180 char* tmpPtr
; int tmpSize
;
8181 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
8182 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
8185 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
8187 _arg0
= new wxString(tmpPtr
, tmpSize
);
8189 if (!PyString_Check(_obj0
)) {
8190 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8193 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
8197 wxPy_BEGIN_ALLOW_THREADS
;
8198 _result
= (wxMetaFileDC
*)new_wxMetaFileDC(*_arg0
);
8200 wxPy_END_ALLOW_THREADS
;
8202 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMetaFileDC_p");
8203 _resultobj
= Py_BuildValue("s",_ptemp
);
8206 _resultobj
= Py_None
;
8215 #define wxMetaFileDC_Close(_swigobj) (_swigobj->Close())
8216 static PyObject
*_wrap_wxMetaFileDC_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8217 PyObject
* _resultobj
;
8218 wxMetaFile
* _result
;
8219 wxMetaFileDC
* _arg0
;
8220 PyObject
* _argo0
= 0;
8221 char *_kwnames
[] = { "self", NULL
};
8225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMetaFileDC_Close",_kwnames
,&_argo0
))
8228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMetaFileDC_p")) {
8230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMetaFileDC_Close. Expected _wxMetaFileDC_p.");
8235 wxPy_BEGIN_ALLOW_THREADS
;
8236 _result
= (wxMetaFile
*)wxMetaFileDC_Close(_arg0
);
8238 wxPy_END_ALLOW_THREADS
;
8240 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMetaFile_p");
8241 _resultobj
= Py_BuildValue("s",_ptemp
);
8244 _resultobj
= Py_None
;
8249 #define new_wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8250 static PyObject
*_wrap_new_wxPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8251 PyObject
* _resultobj
;
8252 wxPalette
* _result
;
8257 PyObject
* _obj1
= 0;
8258 PyObject
* _obj2
= 0;
8259 PyObject
* _obj3
= 0;
8260 char *_kwnames
[] = { "choices","choices","choices", NULL
};
8264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:new_wxPalette",_kwnames
,&_obj1
,&_obj2
,&_obj3
))
8267 _arg1
= byte_LIST_helper(_obj1
);
8268 if (_arg1
== NULL
) {
8273 _arg2
= byte_LIST_helper(_obj2
);
8274 if (_arg2
== NULL
) {
8280 _arg3
= byte_LIST_helper(_obj3
);
8281 if (_arg3
== NULL
) {
8287 _arg0
= PyList_Size(_obj1
);
8294 wxPy_BEGIN_ALLOW_THREADS
;
8295 _result
= (wxPalette
*)new_wxPalette(_arg0
,_arg1
,_arg2
,_arg3
);
8297 wxPy_END_ALLOW_THREADS
;
8299 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
8300 _resultobj
= Py_BuildValue("s",_ptemp
);
8303 _resultobj
= Py_None
;
8317 #define delete_wxPalette(_swigobj) (delete _swigobj)
8318 static PyObject
*_wrap_delete_wxPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8319 PyObject
* _resultobj
;
8321 PyObject
* _argo0
= 0;
8322 char *_kwnames
[] = { "self", NULL
};
8325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPalette",_kwnames
,&_argo0
))
8328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
8330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPalette. Expected _wxPalette_p.");
8335 wxPy_BEGIN_ALLOW_THREADS
;
8336 delete_wxPalette(_arg0
);
8338 wxPy_END_ALLOW_THREADS
;
8339 } Py_INCREF(Py_None
);
8340 _resultobj
= Py_None
;
8344 #define wxPalette_GetPixel(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetPixel(_swigarg0,_swigarg1,_swigarg2))
8345 static PyObject
*_wrap_wxPalette_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8346 PyObject
* _resultobj
;
8352 PyObject
* _argo0
= 0;
8353 char *_kwnames
[] = { "self","red","green","blue", NULL
};
8356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Obbb:wxPalette_GetPixel",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
8359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
8361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetPixel. Expected _wxPalette_p.");
8366 wxPy_BEGIN_ALLOW_THREADS
;
8367 _result
= (int )wxPalette_GetPixel(_arg0
,_arg1
,_arg2
,_arg3
);
8369 wxPy_END_ALLOW_THREADS
;
8370 } _resultobj
= Py_BuildValue("i",_result
);
8374 #define wxPalette_GetRGB(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetRGB(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8375 static PyObject
*_wrap_wxPalette_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8376 PyObject
* _resultobj
;
8383 PyObject
* _argo0
= 0;
8384 PyObject
* _argo2
= 0;
8385 PyObject
* _argo3
= 0;
8386 PyObject
* _argo4
= 0;
8387 char *_kwnames
[] = { "self","pixel","OUTPUT","OUTPUT","OUTPUT", NULL
};
8390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOOO:wxPalette_GetRGB",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_argo4
))
8393 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8394 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
8395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetRGB. Expected _wxPalette_p.");
8400 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8401 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_byte_p")) {
8402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPalette_GetRGB. Expected _byte_p.");
8407 if (_argo3
== Py_None
) { _arg3
= NULL
; }
8408 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_byte_p")) {
8409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxPalette_GetRGB. Expected _byte_p.");
8414 if (_argo4
== Py_None
) { _arg4
= NULL
; }
8415 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_byte_p")) {
8416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxPalette_GetRGB. Expected _byte_p.");
8421 wxPy_BEGIN_ALLOW_THREADS
;
8422 _result
= (bool )wxPalette_GetRGB(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
8424 wxPy_END_ALLOW_THREADS
;
8425 } _resultobj
= Py_BuildValue("i",_result
);
8429 #define wxPalette_Ok(_swigobj) (_swigobj->Ok())
8430 static PyObject
*_wrap_wxPalette_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8431 PyObject
* _resultobj
;
8434 PyObject
* _argo0
= 0;
8435 char *_kwnames
[] = { "self", NULL
};
8438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPalette_Ok",_kwnames
,&_argo0
))
8441 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8442 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
8443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_Ok. Expected _wxPalette_p.");
8448 wxPy_BEGIN_ALLOW_THREADS
;
8449 _result
= (bool )wxPalette_Ok(_arg0
);
8451 wxPy_END_ALLOW_THREADS
;
8452 } _resultobj
= Py_BuildValue("i",_result
);
8456 #define new_wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8457 static PyObject
*_wrap_new_wxImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8458 PyObject
* _resultobj
;
8459 wxImageList
* _result
;
8462 int _arg2
= (int ) TRUE
;
8463 int _arg3
= (int ) 1;
8464 char *_kwnames
[] = { "width","height","mask","initialCount", NULL
};
8468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ii|ii:new_wxImageList",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
8471 wxPy_BEGIN_ALLOW_THREADS
;
8472 _result
= (wxImageList
*)new_wxImageList(_arg0
,_arg1
,_arg2
,_arg3
);
8474 wxPy_END_ALLOW_THREADS
;
8476 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
8477 _resultobj
= Py_BuildValue("s",_ptemp
);
8480 _resultobj
= Py_None
;
8485 #define delete_wxImageList(_swigobj) (delete _swigobj)
8486 static PyObject
*_wrap_delete_wxImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8487 PyObject
* _resultobj
;
8488 wxImageList
* _arg0
;
8489 PyObject
* _argo0
= 0;
8490 char *_kwnames
[] = { "self", NULL
};
8493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxImageList",_kwnames
,&_argo0
))
8496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
8498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxImageList. Expected _wxImageList_p.");
8503 wxPy_BEGIN_ALLOW_THREADS
;
8504 delete_wxImageList(_arg0
);
8506 wxPy_END_ALLOW_THREADS
;
8507 } Py_INCREF(Py_None
);
8508 _resultobj
= Py_None
;
8512 #define wxImageList_Add(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
8513 static PyObject
*_wrap_wxImageList_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8514 PyObject
* _resultobj
;
8516 wxImageList
* _arg0
;
8518 wxBitmap
* _arg2
= (wxBitmap
*) &wxNullBitmap
;
8519 PyObject
* _argo0
= 0;
8520 PyObject
* _argo1
= 0;
8521 PyObject
* _argo2
= 0;
8522 char *_kwnames
[] = { "self","bitmap","mask", NULL
};
8525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxImageList_Add",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
8528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
8530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Add. Expected _wxImageList_p.");
8535 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8536 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
8537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_Add. Expected _wxBitmap_p.");
8542 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8543 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
8544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Add. Expected _wxBitmap_p.");
8549 wxPy_BEGIN_ALLOW_THREADS
;
8550 _result
= (int )wxImageList_Add(_arg0
,*_arg1
,*_arg2
);
8552 wxPy_END_ALLOW_THREADS
;
8553 } _resultobj
= Py_BuildValue("i",_result
);
8557 #define wxImageList_AddWithColourMask(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
8558 static PyObject
*_wrap_wxImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8559 PyObject
* _resultobj
;
8561 wxImageList
* _arg0
;
8564 PyObject
* _argo0
= 0;
8565 PyObject
* _argo1
= 0;
8567 PyObject
* _obj2
= 0;
8568 char *_kwnames
[] = { "self","bitmap","maskColour", NULL
};
8571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxImageList_AddWithColourMask",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
8574 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8575 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
8576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_AddWithColourMask. Expected _wxImageList_p.");
8581 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8582 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
8583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_AddWithColourMask. Expected _wxBitmap_p.");
8589 if (! wxColour_helper(_obj2
, &_arg2
))
8593 wxPy_BEGIN_ALLOW_THREADS
;
8594 _result
= (int )wxImageList_AddWithColourMask(_arg0
,*_arg1
,*_arg2
);
8596 wxPy_END_ALLOW_THREADS
;
8597 } _resultobj
= Py_BuildValue("i",_result
);
8601 #define wxImageList_AddIcon(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
8602 static PyObject
*_wrap_wxImageList_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8603 PyObject
* _resultobj
;
8605 wxImageList
* _arg0
;
8607 PyObject
* _argo0
= 0;
8608 PyObject
* _argo1
= 0;
8609 char *_kwnames
[] = { "self","icon", NULL
};
8612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxImageList_AddIcon",_kwnames
,&_argo0
,&_argo1
))
8615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
8617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_AddIcon. Expected _wxImageList_p.");
8622 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8623 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
8624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_AddIcon. Expected _wxIcon_p.");
8629 wxPy_BEGIN_ALLOW_THREADS
;
8630 _result
= (int )wxImageList_AddIcon(_arg0
,*_arg1
);
8632 wxPy_END_ALLOW_THREADS
;
8633 } _resultobj
= Py_BuildValue("i",_result
);
8637 #define wxImageList_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
8638 static PyObject
*_wrap_wxImageList_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8639 PyObject
* _resultobj
;
8641 wxImageList
* _arg0
;
8644 wxBitmap
* _arg3
= (wxBitmap
*) &wxNullBitmap
;
8645 PyObject
* _argo0
= 0;
8646 PyObject
* _argo2
= 0;
8647 PyObject
* _argo3
= 0;
8648 char *_kwnames
[] = { "self","index","bitmap","mask", NULL
};
8651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxImageList_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
))
8654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
8656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Replace. Expected _wxImageList_p.");
8661 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8662 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
8663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Replace. Expected _wxBitmap_p.");
8668 if (_argo3
== Py_None
) { _arg3
= NULL
; }
8669 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
8670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxImageList_Replace. Expected _wxBitmap_p.");
8675 wxPy_BEGIN_ALLOW_THREADS
;
8676 _result
= (bool )wxImageList_Replace(_arg0
,_arg1
,*_arg2
,*_arg3
);
8678 wxPy_END_ALLOW_THREADS
;
8679 } _resultobj
= Py_BuildValue("i",_result
);
8683 #define wxImageList_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8684 static PyObject
*_wrap_wxImageList_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8685 PyObject
* _resultobj
;
8687 wxImageList
* _arg0
;
8692 int _arg5
= (int ) (wxIMAGELIST_DRAW_NORMAL
);
8693 bool _arg6
= (bool ) FALSE
;
8694 PyObject
* _argo0
= 0;
8695 PyObject
* _argo2
= 0;
8696 int tempbool6
= (int) FALSE
;
8697 char *_kwnames
[] = { "self","index","dc","x","x","flags","solidBackground", NULL
};
8700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOii|ii:wxImageList_Draw",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
8703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
8705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Draw. Expected _wxImageList_p.");
8710 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8711 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDC_p")) {
8712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Draw. Expected _wxDC_p.");
8716 _arg6
= (bool ) tempbool6
;
8718 wxPy_BEGIN_ALLOW_THREADS
;
8719 _result
= (bool )wxImageList_Draw(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
8721 wxPy_END_ALLOW_THREADS
;
8722 } _resultobj
= Py_BuildValue("i",_result
);
8726 #define wxImageList_GetImageCount(_swigobj) (_swigobj->GetImageCount())
8727 static PyObject
*_wrap_wxImageList_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8728 PyObject
* _resultobj
;
8730 wxImageList
* _arg0
;
8731 PyObject
* _argo0
= 0;
8732 char *_kwnames
[] = { "self", NULL
};
8735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImageList_GetImageCount",_kwnames
,&_argo0
))
8738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
8740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_GetImageCount. Expected _wxImageList_p.");
8745 wxPy_BEGIN_ALLOW_THREADS
;
8746 _result
= (int )wxImageList_GetImageCount(_arg0
);
8748 wxPy_END_ALLOW_THREADS
;
8749 } _resultobj
= Py_BuildValue("i",_result
);
8753 #define wxImageList_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
8754 static PyObject
*_wrap_wxImageList_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8755 PyObject
* _resultobj
;
8757 wxImageList
* _arg0
;
8759 PyObject
* _argo0
= 0;
8760 char *_kwnames
[] = { "self","index", NULL
};
8763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxImageList_Remove",_kwnames
,&_argo0
,&_arg1
))
8766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
8768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Remove. Expected _wxImageList_p.");
8773 wxPy_BEGIN_ALLOW_THREADS
;
8774 _result
= (bool )wxImageList_Remove(_arg0
,_arg1
);
8776 wxPy_END_ALLOW_THREADS
;
8777 } _resultobj
= Py_BuildValue("i",_result
);
8781 #define wxImageList_RemoveAll(_swigobj) (_swigobj->RemoveAll())
8782 static PyObject
*_wrap_wxImageList_RemoveAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8783 PyObject
* _resultobj
;
8785 wxImageList
* _arg0
;
8786 PyObject
* _argo0
= 0;
8787 char *_kwnames
[] = { "self", NULL
};
8790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImageList_RemoveAll",_kwnames
,&_argo0
))
8793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
8795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_RemoveAll. Expected _wxImageList_p.");
8800 wxPy_BEGIN_ALLOW_THREADS
;
8801 _result
= (bool )wxImageList_RemoveAll(_arg0
);
8803 wxPy_END_ALLOW_THREADS
;
8804 } _resultobj
= Py_BuildValue("i",_result
);
8808 #define wxImageList_GetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetSize(_swigarg0,_swigarg1,_swigarg2))
8809 static PyObject
*_wrap_wxImageList_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8810 PyObject
* _resultobj
;
8811 wxImageList
* _arg0
;
8817 PyObject
* _argo0
= 0;
8818 char *_kwnames
[] = { "self","index", NULL
};
8827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxImageList_GetSize",_kwnames
,&_argo0
,&_arg1
))
8830 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8831 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
8832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_GetSize. Expected _wxImageList_p.");
8837 wxPy_BEGIN_ALLOW_THREADS
;
8838 wxImageList_GetSize(_arg0
,_arg1
,*_arg2
,*_arg3
);
8840 wxPy_END_ALLOW_THREADS
;
8841 } Py_INCREF(Py_None
);
8842 _resultobj
= Py_None
;
8845 o
= PyInt_FromLong((long) (*_arg2
));
8846 _resultobj
= t_output_helper(_resultobj
, o
);
8850 o
= PyInt_FromLong((long) (*_arg3
));
8851 _resultobj
= t_output_helper(_resultobj
, o
);
8856 static PyMethodDef gdicMethods
[] = {
8857 { "wxImageList_GetSize", (PyCFunction
) _wrap_wxImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
8858 { "wxImageList_RemoveAll", (PyCFunction
) _wrap_wxImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
},
8859 { "wxImageList_Remove", (PyCFunction
) _wrap_wxImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
},
8860 { "wxImageList_GetImageCount", (PyCFunction
) _wrap_wxImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
8861 { "wxImageList_Draw", (PyCFunction
) _wrap_wxImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
},
8862 { "wxImageList_Replace", (PyCFunction
) _wrap_wxImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
},
8863 { "wxImageList_AddIcon", (PyCFunction
) _wrap_wxImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
8864 { "wxImageList_AddWithColourMask", (PyCFunction
) _wrap_wxImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
},
8865 { "wxImageList_Add", (PyCFunction
) _wrap_wxImageList_Add
, METH_VARARGS
| METH_KEYWORDS
},
8866 { "delete_wxImageList", (PyCFunction
) _wrap_delete_wxImageList
, METH_VARARGS
| METH_KEYWORDS
},
8867 { "new_wxImageList", (PyCFunction
) _wrap_new_wxImageList
, METH_VARARGS
| METH_KEYWORDS
},
8868 { "wxPalette_Ok", (PyCFunction
) _wrap_wxPalette_Ok
, METH_VARARGS
| METH_KEYWORDS
},
8869 { "wxPalette_GetRGB", (PyCFunction
) _wrap_wxPalette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
8870 { "wxPalette_GetPixel", (PyCFunction
) _wrap_wxPalette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
8871 { "delete_wxPalette", (PyCFunction
) _wrap_delete_wxPalette
, METH_VARARGS
| METH_KEYWORDS
},
8872 { "new_wxPalette", (PyCFunction
) _wrap_new_wxPalette
, METH_VARARGS
| METH_KEYWORDS
},
8873 { "wxMetaFileDC_Close", (PyCFunction
) _wrap_wxMetaFileDC_Close
, METH_VARARGS
| METH_KEYWORDS
},
8874 { "new_wxMetaFileDC", (PyCFunction
) _wrap_new_wxMetaFileDC
, METH_VARARGS
| METH_KEYWORDS
},
8875 { "new_wxWindowDC", (PyCFunction
) _wrap_new_wxWindowDC
, METH_VARARGS
| METH_KEYWORDS
},
8876 { "new_wxPaintDC", (PyCFunction
) _wrap_new_wxPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
8877 { "new_wxClientDC", (PyCFunction
) _wrap_new_wxClientDC
, METH_VARARGS
| METH_KEYWORDS
},
8878 { "wxScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_wxScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
8879 { "wxScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_wxScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
8880 { "wxScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_wxScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
},
8881 { "new_wxScreenDC", (PyCFunction
) _wrap_new_wxScreenDC
, METH_VARARGS
| METH_KEYWORDS
},
8882 { "wxMemoryDC_SelectObject", (PyCFunction
) _wrap_wxMemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
},
8883 { "new_wxMemoryDC", (PyCFunction
) _wrap_new_wxMemoryDC
, METH_VARARGS
| METH_KEYWORDS
},
8884 { "wxDC_ResetBoundingBox", (PyCFunction
) _wrap_wxDC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
8885 { "wxDC_CalcBoundingBox", (PyCFunction
) _wrap_wxDC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
8886 { "wxDC_SetAxisOrientation", (PyCFunction
) _wrap_wxDC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
},
8887 { "wxDC_GetDeviceOrigin", (PyCFunction
) _wrap_wxDC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
8888 { "wxDC_SetLogicalOrigin", (PyCFunction
) _wrap_wxDC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
8889 { "wxDC_GetLogicalOrigin", (PyCFunction
) _wrap_wxDC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
8890 { "wxDC_GetPPI", (PyCFunction
) _wrap_wxDC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
},
8891 { "wxDC_GetDepth", (PyCFunction
) _wrap_wxDC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
8892 { "wxDC_CanGetTextExtent", (PyCFunction
) _wrap_wxDC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
8893 { "wxDC_CanDrawBitmap", (PyCFunction
) _wrap_wxDC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
8894 { "wxDC_DrawBitmap", (PyCFunction
) _wrap_wxDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
8895 { "wxDC_StartPage", (PyCFunction
) _wrap_wxDC_StartPage
, METH_VARARGS
| METH_KEYWORDS
},
8896 { "wxDC_StartDoc", (PyCFunction
) _wrap_wxDC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
},
8897 { "wxDC_SetUserScale", (PyCFunction
) _wrap_wxDC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
8898 { "wxDC_SetTextForeground", (PyCFunction
) _wrap_wxDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
8899 { "wxDC_SetTextBackground", (PyCFunction
) _wrap_wxDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
8900 { "wxDC_SetPen", (PyCFunction
) _wrap_wxDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
8901 { "wxDC_SetOptimization", (PyCFunction
) _wrap_wxDC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
8902 { "wxDC_SetMapMode", (PyCFunction
) _wrap_wxDC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
8903 { "wxDC_SetLogicalScale", (PyCFunction
) _wrap_wxDC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
8904 { "wxDC_SetLogicalFunction", (PyCFunction
) _wrap_wxDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
8905 { "wxDC_SetFont", (PyCFunction
) _wrap_wxDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
8906 { "wxDC_SetBrush", (PyCFunction
) _wrap_wxDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
8907 { "wxDC_SetPalette", (PyCFunction
) _wrap_wxDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
8908 { "wxDC_SetClippingRegion", (PyCFunction
) _wrap_wxDC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
8909 { "wxDC_SetBackgroundMode", (PyCFunction
) _wrap_wxDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
8910 { "wxDC_SetBackground", (PyCFunction
) _wrap_wxDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
},
8911 { "wxDC_SetDeviceOrigin", (PyCFunction
) _wrap_wxDC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
8912 { "wxDC_Ok", (PyCFunction
) _wrap_wxDC_Ok
, METH_VARARGS
| METH_KEYWORDS
},
8913 { "wxDC_MinY", (PyCFunction
) _wrap_wxDC_MinY
, METH_VARARGS
| METH_KEYWORDS
},
8914 { "wxDC_MinX", (PyCFunction
) _wrap_wxDC_MinX
, METH_VARARGS
| METH_KEYWORDS
},
8915 { "wxDC_MaxY", (PyCFunction
) _wrap_wxDC_MaxY
, METH_VARARGS
| METH_KEYWORDS
},
8916 { "wxDC_MaxX", (PyCFunction
) _wrap_wxDC_MaxX
, METH_VARARGS
| METH_KEYWORDS
},
8917 { "wxDC_LogicalToDeviceYRel", (PyCFunction
) _wrap_wxDC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
},
8918 { "wxDC_LogicalToDeviceY", (PyCFunction
) _wrap_wxDC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
},
8919 { "wxDC_LogicalToDeviceXRel", (PyCFunction
) _wrap_wxDC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
},
8920 { "wxDC_LogicalToDeviceX", (PyCFunction
) _wrap_wxDC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
},
8921 { "wxDC_GetUserScale", (PyCFunction
) _wrap_wxDC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
8922 { "wxDC_GetTextForeground", (PyCFunction
) _wrap_wxDC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
8923 { "wxDC_GetFullTextExtent", (PyCFunction
) _wrap_wxDC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
8924 { "wxDC_GetTextExtent", (PyCFunction
) _wrap_wxDC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
8925 { "wxDC_GetTextBackground", (PyCFunction
) _wrap_wxDC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
8926 { "wxDC_GetSizeMM", (PyCFunction
) _wrap_wxDC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
8927 { "wxDC_GetSize", (PyCFunction
) _wrap_wxDC_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
8928 { "wxDC_GetSizeTuple", (PyCFunction
) _wrap_wxDC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
8929 { "wxDC_GetPixel", (PyCFunction
) _wrap_wxDC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
8930 { "wxDC_GetPen", (PyCFunction
) _wrap_wxDC_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
8931 { "wxDC_GetOptimization", (PyCFunction
) _wrap_wxDC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
8932 { "wxDC_GetMapMode", (PyCFunction
) _wrap_wxDC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
8933 { "wxDC_GetLogicalScale", (PyCFunction
) _wrap_wxDC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
8934 { "wxDC_GetLogicalFunction", (PyCFunction
) _wrap_wxDC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
8935 { "wxDC_GetFont", (PyCFunction
) _wrap_wxDC_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
8936 { "wxDC_GetClippingBox", (PyCFunction
) _wrap_wxDC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
},
8937 { "wxDC_GetCharWidth", (PyCFunction
) _wrap_wxDC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
8938 { "wxDC_GetCharHeight", (PyCFunction
) _wrap_wxDC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
8939 { "wxDC_GetBrush", (PyCFunction
) _wrap_wxDC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
8940 { "wxDC_GetBackground", (PyCFunction
) _wrap_wxDC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
},
8941 { "wxDC_FloodFill", (PyCFunction
) _wrap_wxDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
},
8942 { "wxDC_EndPage", (PyCFunction
) _wrap_wxDC_EndPage
, METH_VARARGS
| METH_KEYWORDS
},
8943 { "wxDC_EndDrawing", (PyCFunction
) _wrap_wxDC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
},
8944 { "wxDC_EndDoc", (PyCFunction
) _wrap_wxDC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
},
8945 { "wxDC_DrawText", (PyCFunction
) _wrap_wxDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
8946 { "wxDC_DrawSpline", (PyCFunction
) _wrap_wxDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
8947 { "wxDC_DrawRoundedRectangle", (PyCFunction
) _wrap_wxDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
8948 { "wxDC_DrawRotatedText", (PyCFunction
) _wrap_wxDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
},
8949 { "wxDC_DrawRectangle", (PyCFunction
) _wrap_wxDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
8950 { "wxDC_DrawPoint", (PyCFunction
) _wrap_wxDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
8951 { "wxDC_DrawPolygon", (PyCFunction
) _wrap_wxDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
8952 { "wxDC_DrawLines", (PyCFunction
) _wrap_wxDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
8953 { "wxDC_DrawLine", (PyCFunction
) _wrap_wxDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
8954 { "wxDC_DrawIcon", (PyCFunction
) _wrap_wxDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
},
8955 { "wxDC_DrawEllipticArc", (PyCFunction
) _wrap_wxDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
8956 { "wxDC_DrawEllipse", (PyCFunction
) _wrap_wxDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
8957 { "wxDC_DrawCircle", (PyCFunction
) _wrap_wxDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
},
8958 { "wxDC_DrawArc", (PyCFunction
) _wrap_wxDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
8959 { "wxDC_DeviceToLogicalYRel", (PyCFunction
) _wrap_wxDC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
},
8960 { "wxDC_DeviceToLogicalY", (PyCFunction
) _wrap_wxDC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
},
8961 { "wxDC_DeviceToLogicalXRel", (PyCFunction
) _wrap_wxDC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
},
8962 { "wxDC_DeviceToLogicalX", (PyCFunction
) _wrap_wxDC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
},
8963 { "wxDC_DestroyClippingRegion", (PyCFunction
) _wrap_wxDC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
8964 { "wxDC_CrossHair", (PyCFunction
) _wrap_wxDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
},
8965 { "wxDC_Clear", (PyCFunction
) _wrap_wxDC_Clear
, METH_VARARGS
| METH_KEYWORDS
},
8966 { "wxDC_Blit", (PyCFunction
) _wrap_wxDC_Blit
, METH_VARARGS
| METH_KEYWORDS
},
8967 { "wxDC_BeginDrawing", (PyCFunction
) _wrap_wxDC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
},
8968 { "delete_wxDC", (PyCFunction
) _wrap_delete_wxDC
, METH_VARARGS
| METH_KEYWORDS
},
8969 { "wxBrushList_RemoveBrush", (PyCFunction
) _wrap_wxBrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
},
8970 { "wxBrushList_FindOrCreateBrush", (PyCFunction
) _wrap_wxBrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
},
8971 { "wxBrushList_AddBrush", (PyCFunction
) _wrap_wxBrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
},
8972 { "wxBrush_SetStyle", (PyCFunction
) _wrap_wxBrush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
8973 { "wxBrush_SetStipple", (PyCFunction
) _wrap_wxBrush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
8974 { "wxBrush_SetColour", (PyCFunction
) _wrap_wxBrush_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
8975 { "wxBrush_Ok", (PyCFunction
) _wrap_wxBrush_Ok
, METH_VARARGS
| METH_KEYWORDS
},
8976 { "wxBrush_GetStyle", (PyCFunction
) _wrap_wxBrush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
8977 { "wxBrush_GetStipple", (PyCFunction
) _wrap_wxBrush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
8978 { "wxBrush_GetColour", (PyCFunction
) _wrap_wxBrush_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
8979 { "delete_wxBrush", (PyCFunction
) _wrap_delete_wxBrush
, METH_VARARGS
| METH_KEYWORDS
},
8980 { "new_wxBrush", (PyCFunction
) _wrap_new_wxBrush
, METH_VARARGS
| METH_KEYWORDS
},
8981 { "wxPenList_RemovePen", (PyCFunction
) _wrap_wxPenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
},
8982 { "wxPenList_FindOrCreatePen", (PyCFunction
) _wrap_wxPenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
},
8983 { "wxPenList_AddPen", (PyCFunction
) _wrap_wxPenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
},
8984 { "wxPen_SetStipple", (PyCFunction
) _wrap_wxPen_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
8985 { "wxPen_GetStipple", (PyCFunction
) _wrap_wxPen_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
8986 { "wxPen_SetDashes", (PyCFunction
) _wrap_wxPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
8987 { "wxPen_GetDashes", (PyCFunction
) _wrap_wxPen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
},
8988 { "wxPen_SetWidth", (PyCFunction
) _wrap_wxPen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
8989 { "wxPen_SetStyle", (PyCFunction
) _wrap_wxPen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
8990 { "wxPen_SetJoin", (PyCFunction
) _wrap_wxPen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
},
8991 { "wxPen_SetColour", (PyCFunction
) _wrap_wxPen_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
8992 { "wxPen_SetCap", (PyCFunction
) _wrap_wxPen_SetCap
, METH_VARARGS
| METH_KEYWORDS
},
8993 { "wxPen_Ok", (PyCFunction
) _wrap_wxPen_Ok
, METH_VARARGS
| METH_KEYWORDS
},
8994 { "wxPen_GetWidth", (PyCFunction
) _wrap_wxPen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
8995 { "wxPen_GetStyle", (PyCFunction
) _wrap_wxPen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
8996 { "wxPen_GetJoin", (PyCFunction
) _wrap_wxPen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
},
8997 { "wxPen_GetColour", (PyCFunction
) _wrap_wxPen_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
8998 { "wxPen_GetCap", (PyCFunction
) _wrap_wxPen_GetCap
, METH_VARARGS
| METH_KEYWORDS
},
8999 { "delete_wxPen", (PyCFunction
) _wrap_delete_wxPen
, METH_VARARGS
| METH_KEYWORDS
},
9000 { "new_wxPen", (PyCFunction
) _wrap_new_wxPen
, METH_VARARGS
| METH_KEYWORDS
},
9001 { "wxColourDatabase_Append", (PyCFunction
) _wrap_wxColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
},
9002 { "wxColourDatabase_FindName", (PyCFunction
) _wrap_wxColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
},
9003 { "wxColourDatabase_FindColour", (PyCFunction
) _wrap_wxColourDatabase_FindColour
, METH_VARARGS
| METH_KEYWORDS
},
9004 { "wxColour_Get", (PyCFunction
) _wrap_wxColour_Get
, METH_VARARGS
| METH_KEYWORDS
},
9005 { "wxColour_Set", (PyCFunction
) _wrap_wxColour_Set
, METH_VARARGS
| METH_KEYWORDS
},
9006 { "wxColour_Ok", (PyCFunction
) _wrap_wxColour_Ok
, METH_VARARGS
| METH_KEYWORDS
},
9007 { "wxColour_Blue", (PyCFunction
) _wrap_wxColour_Blue
, METH_VARARGS
| METH_KEYWORDS
},
9008 { "wxColour_Green", (PyCFunction
) _wrap_wxColour_Green
, METH_VARARGS
| METH_KEYWORDS
},
9009 { "wxColour_Red", (PyCFunction
) _wrap_wxColour_Red
, METH_VARARGS
| METH_KEYWORDS
},
9010 { "delete_wxColour", (PyCFunction
) _wrap_delete_wxColour
, METH_VARARGS
| METH_KEYWORDS
},
9011 { "new_wxColour", (PyCFunction
) _wrap_new_wxColour
, METH_VARARGS
| METH_KEYWORDS
},
9012 { "wxFontList_RemoveFont", (PyCFunction
) _wrap_wxFontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
},
9013 { "wxFontList_FindOrCreateFont", (PyCFunction
) _wrap_wxFontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
},
9014 { "wxFontList_AddFont", (PyCFunction
) _wrap_wxFontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
},
9015 { "wxFont_GetWeightString", (PyCFunction
) _wrap_wxFont_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
},
9016 { "wxFont_GetStyleString", (PyCFunction
) _wrap_wxFont_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
},
9017 { "wxFont_GetFamilyString", (PyCFunction
) _wrap_wxFont_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
},
9018 { "wxFont_SetEncoding", (PyCFunction
) _wrap_wxFont_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
9019 { "wxFont_SetWeight", (PyCFunction
) _wrap_wxFont_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
9020 { "wxFont_SetUnderlined", (PyCFunction
) _wrap_wxFont_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
9021 { "wxFont_SetStyle", (PyCFunction
) _wrap_wxFont_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
9022 { "wxFont_SetPointSize", (PyCFunction
) _wrap_wxFont_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
9023 { "wxFont_SetFamily", (PyCFunction
) _wrap_wxFont_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
9024 { "wxFont_SetFaceName", (PyCFunction
) _wrap_wxFont_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
9025 { "wxFont_GetEncoding", (PyCFunction
) _wrap_wxFont_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
9026 { "wxFont_GetWeight", (PyCFunction
) _wrap_wxFont_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
9027 { "wxFont_GetUnderlined", (PyCFunction
) _wrap_wxFont_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
9028 { "wxFont_GetStyle", (PyCFunction
) _wrap_wxFont_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
9029 { "wxFont_GetPointSize", (PyCFunction
) _wrap_wxFont_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
9030 { "wxFont_GetFontId", (PyCFunction
) _wrap_wxFont_GetFontId
, METH_VARARGS
| METH_KEYWORDS
},
9031 { "wxFont_GetFamily", (PyCFunction
) _wrap_wxFont_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
9032 { "wxFont_GetFaceName", (PyCFunction
) _wrap_wxFont_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
9033 { "wxFont_Ok", (PyCFunction
) _wrap_wxFont_Ok
, METH_VARARGS
| METH_KEYWORDS
},
9034 { "delete_wxFont", (PyCFunction
) _wrap_delete_wxFont
, METH_VARARGS
| METH_KEYWORDS
},
9035 { "new_wxFont", (PyCFunction
) _wrap_new_wxFont
, METH_VARARGS
| METH_KEYWORDS
},
9036 { "wxCursor_SetSize", (PyCFunction
) _wrap_wxCursor_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
9037 { "wxCursor_SetDepth", (PyCFunction
) _wrap_wxCursor_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
9038 { "wxCursor_SetHeight", (PyCFunction
) _wrap_wxCursor_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
9039 { "wxCursor_SetWidth", (PyCFunction
) _wrap_wxCursor_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
9040 { "wxCursor_GetDepth", (PyCFunction
) _wrap_wxCursor_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
9041 { "wxCursor_GetHeight", (PyCFunction
) _wrap_wxCursor_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
9042 { "wxCursor_GetWidth", (PyCFunction
) _wrap_wxCursor_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
9043 { "wxCursor_Ok", (PyCFunction
) _wrap_wxCursor_Ok
, METH_VARARGS
| METH_KEYWORDS
},
9044 { "wxCursor_SetHandle", (PyCFunction
) _wrap_wxCursor_SetHandle
, METH_VARARGS
| METH_KEYWORDS
},
9045 { "wxCursor_GetHandle", (PyCFunction
) _wrap_wxCursor_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
9046 { "delete_wxCursor", (PyCFunction
) _wrap_delete_wxCursor
, METH_VARARGS
| METH_KEYWORDS
},
9047 { "new_wxCursor", (PyCFunction
) _wrap_new_wxCursor
, METH_VARARGS
| METH_KEYWORDS
},
9048 { "wxIcon_SetSize", (PyCFunction
) _wrap_wxIcon_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
9049 { "wxIcon_SetDepth", (PyCFunction
) _wrap_wxIcon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
9050 { "wxIcon_SetHeight", (PyCFunction
) _wrap_wxIcon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
9051 { "wxIcon_SetWidth", (PyCFunction
) _wrap_wxIcon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
9052 { "wxIcon_GetDepth", (PyCFunction
) _wrap_wxIcon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
9053 { "wxIcon_GetHeight", (PyCFunction
) _wrap_wxIcon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
9054 { "wxIcon_GetWidth", (PyCFunction
) _wrap_wxIcon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
9055 { "wxIcon_Ok", (PyCFunction
) _wrap_wxIcon_Ok
, METH_VARARGS
| METH_KEYWORDS
},
9056 { "wxIcon_SetHandle", (PyCFunction
) _wrap_wxIcon_SetHandle
, METH_VARARGS
| METH_KEYWORDS
},
9057 { "wxIcon_GetHandle", (PyCFunction
) _wrap_wxIcon_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
9058 { "wxIcon_LoadFile", (PyCFunction
) _wrap_wxIcon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
9059 { "delete_wxIcon", (PyCFunction
) _wrap_delete_wxIcon
, METH_VARARGS
| METH_KEYWORDS
},
9060 { "new_wxIcon", (PyCFunction
) _wrap_new_wxIcon
, METH_VARARGS
| METH_KEYWORDS
},
9061 { "new_wxMask", (PyCFunction
) _wrap_new_wxMask
, METH_VARARGS
| METH_KEYWORDS
},
9062 { "wxBitmap_SetQuality", (PyCFunction
) _wrap_wxBitmap_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
9063 { "wxBitmap_GetQuality", (PyCFunction
) _wrap_wxBitmap_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
9064 { "wxBitmap_CopyFromCursor", (PyCFunction
) _wrap_wxBitmap_CopyFromCursor
, METH_VARARGS
| METH_KEYWORDS
},
9065 { "wxBitmap_CopyFromIcon", (PyCFunction
) _wrap_wxBitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
9066 { "wxBitmap_GetSubBitmap", (PyCFunction
) _wrap_wxBitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
},
9067 { "wxBitmap_SetSize", (PyCFunction
) _wrap_wxBitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
9068 { "wxBitmap_SetDepth", (PyCFunction
) _wrap_wxBitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
9069 { "wxBitmap_SetHeight", (PyCFunction
) _wrap_wxBitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
9070 { "wxBitmap_SetWidth", (PyCFunction
) _wrap_wxBitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
9071 { "wxBitmap_GetDepth", (PyCFunction
) _wrap_wxBitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
9072 { "wxBitmap_GetHeight", (PyCFunction
) _wrap_wxBitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
9073 { "wxBitmap_GetWidth", (PyCFunction
) _wrap_wxBitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
9074 { "wxBitmap_Ok", (PyCFunction
) _wrap_wxBitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
},
9075 { "wxBitmap_SetHandle", (PyCFunction
) _wrap_wxBitmap_SetHandle
, METH_VARARGS
| METH_KEYWORDS
},
9076 { "wxBitmap_GetHandle", (PyCFunction
) _wrap_wxBitmap_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
9077 { "wxBitmap_SetPalette", (PyCFunction
) _wrap_wxBitmap_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
9078 { "wxBitmap_SetMask", (PyCFunction
) _wrap_wxBitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
9079 { "wxBitmap_SaveFile", (PyCFunction
) _wrap_wxBitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
9080 { "wxBitmap_LoadFile", (PyCFunction
) _wrap_wxBitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
9081 { "wxBitmap_GetMask", (PyCFunction
) _wrap_wxBitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
9082 { "wxBitmap_GetPalette", (PyCFunction
) _wrap_wxBitmap_GetPalette
, METH_VARARGS
| METH_KEYWORDS
},
9083 { "delete_wxBitmap", (PyCFunction
) _wrap_delete_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
9084 { "new_wxBitmap", (PyCFunction
) _wrap_new_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
9085 { "wxMemoryDCFromDC", (PyCFunction
) _wrap_wxMemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
},
9086 { "wxNamedColour", (PyCFunction
) _wrap_wxNamedColour
, METH_VARARGS
| METH_KEYWORDS
},
9087 { "wxFont_SetDefaultEncoding", (PyCFunction
) _wrap_wxFont_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
9088 { "wxFont_GetDefaultEncoding", (PyCFunction
) _wrap_wxFont_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
9089 { "wxStockCursor", (PyCFunction
) _wrap_wxStockCursor
, METH_VARARGS
| METH_KEYWORDS
},
9090 { "wxMaskColour", (PyCFunction
) _wrap_wxMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
9091 { "wxBitmapFromData", (PyCFunction
) _wrap_wxBitmapFromData
, METH_VARARGS
| METH_KEYWORDS
},
9092 { "wxEmptyBitmap", (PyCFunction
) _wrap_wxEmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
},
9099 * This table is used by the pointer type-checker
9101 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
9102 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
9103 { "_signed_long","_long",0},
9104 { "_wxPrintQuality","_wxCoord",0},
9105 { "_wxPrintQuality","_int",0},
9106 { "_wxPrintQuality","_signed_int",0},
9107 { "_wxPrintQuality","_unsigned_int",0},
9108 { "_wxPrintQuality","_wxWindowID",0},
9109 { "_wxPrintQuality","_uint",0},
9110 { "_wxPrintQuality","_EBool",0},
9111 { "_wxPrintQuality","_size_t",0},
9112 { "_wxPrintQuality","_time_t",0},
9113 { "_class_wxRegionIterator","_wxRegionIterator",0},
9114 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
9115 { "_wxCursor","_class_wxCursor",0},
9116 { "_wxMask","_class_wxMask",0},
9117 { "_wxPen","_class_wxPen",0},
9118 { "_byte","_unsigned_char",0},
9119 { "_wxColourDatabase","_class_wxColourDatabase",0},
9120 { "_long","_unsigned_long",0},
9121 { "_long","_signed_long",0},
9122 { "_wxImageList","_class_wxImageList",0},
9123 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
9124 { "_wxDC","_class_wxMetaFileDC",SwigwxMetaFileDCTowxDC
},
9125 { "_wxDC","_wxMetaFileDC",SwigwxMetaFileDCTowxDC
},
9126 { "_wxDC","_class_wxWindowDC",SwigwxWindowDCTowxDC
},
9127 { "_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC
},
9128 { "_wxDC","_class_wxPaintDC",SwigwxPaintDCTowxDC
},
9129 { "_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
},
9130 { "_wxDC","_class_wxClientDC",SwigwxClientDCTowxDC
},
9131 { "_wxDC","_wxClientDC",SwigwxClientDCTowxDC
},
9132 { "_wxDC","_class_wxScreenDC",SwigwxScreenDCTowxDC
},
9133 { "_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
},
9134 { "_wxDC","_class_wxMemoryDC",SwigwxMemoryDCTowxDC
},
9135 { "_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
},
9136 { "_wxDC","_class_wxDC",0},
9137 { "_size_t","_wxCoord",0},
9138 { "_size_t","_wxPrintQuality",0},
9139 { "_size_t","_time_t",0},
9140 { "_size_t","_unsigned_int",0},
9141 { "_size_t","_int",0},
9142 { "_size_t","_wxWindowID",0},
9143 { "_size_t","_uint",0},
9144 { "_class_wxRealPoint","_wxRealPoint",0},
9145 { "_class_wxMask","_wxMask",0},
9146 { "_wxColour","_class_wxColour",0},
9147 { "_wxBrush","_class_wxBrush",0},
9148 { "_uint","_wxCoord",0},
9149 { "_uint","_wxPrintQuality",0},
9150 { "_uint","_time_t",0},
9151 { "_uint","_size_t",0},
9152 { "_uint","_unsigned_int",0},
9153 { "_uint","_int",0},
9154 { "_uint","_wxWindowID",0},
9155 { "_wxChar","_char",0},
9156 { "_wxRect","_class_wxRect",0},
9157 { "_wxPoint","_class_wxPoint",0},
9158 { "_char","_wxChar",0},
9159 { "_wxBitmap","_class_wxBitmap",0},
9160 { "_wxPenList","_class_wxPenList",0},
9161 { "_wxWindowDC","_class_wxWindowDC",0},
9162 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
9163 { "_class_wxColourDatabase","_wxColourDatabase",0},
9164 { "_EBool","_wxCoord",0},
9165 { "_EBool","_wxPrintQuality",0},
9166 { "_EBool","_signed_int",0},
9167 { "_EBool","_int",0},
9168 { "_EBool","_wxWindowID",0},
9169 { "_class_wxRegion","_wxRegion",0},
9170 { "_wxFont","_class_wxFont",0},
9171 { "_unsigned_long","_long",0},
9172 { "_class_wxRect","_wxRect",0},
9173 { "_class_wxDC","_class_wxMetaFileDC",SwigwxMetaFileDCTowxDC
},
9174 { "_class_wxDC","_wxMetaFileDC",SwigwxMetaFileDCTowxDC
},
9175 { "_class_wxDC","_class_wxWindowDC",SwigwxWindowDCTowxDC
},
9176 { "_class_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC
},
9177 { "_class_wxDC","_class_wxPaintDC",SwigwxPaintDCTowxDC
},
9178 { "_class_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
},
9179 { "_class_wxDC","_class_wxClientDC",SwigwxClientDCTowxDC
},
9180 { "_class_wxDC","_wxClientDC",SwigwxClientDCTowxDC
},
9181 { "_class_wxDC","_class_wxScreenDC",SwigwxScreenDCTowxDC
},
9182 { "_class_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
},
9183 { "_class_wxDC","_class_wxMemoryDC",SwigwxMemoryDCTowxDC
},
9184 { "_class_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
},
9185 { "_class_wxDC","_wxDC",0},
9186 { "_class_wxBrushList","_wxBrushList",0},
9187 { "_class_wxPenList","_wxPenList",0},
9188 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
9189 { "_signed_int","_wxCoord",0},
9190 { "_signed_int","_wxPrintQuality",0},
9191 { "_signed_int","_EBool",0},
9192 { "_signed_int","_wxWindowID",0},
9193 { "_signed_int","_int",0},
9194 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
9195 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
9196 { "_wxScreenDC","_class_wxScreenDC",0},
9197 { "_WXTYPE","_short",0},
9198 { "_WXTYPE","_signed_short",0},
9199 { "_WXTYPE","_unsigned_short",0},
9200 { "_class_wxBrush","_wxBrush",0},
9201 { "_unsigned_short","_WXTYPE",0},
9202 { "_unsigned_short","_short",0},
9203 { "_class_wxFont","_wxFont",0},
9204 { "_wxBusyInfo","_class_wxBusyInfo",0},
9205 { "_wxFontList","_class_wxFontList",0},
9206 { "_wxClientDC","_class_wxClientDC",0},
9207 { "_class_wxPoint","_wxPoint",0},
9208 { "_wxRealPoint","_class_wxRealPoint",0},
9209 { "_signed_short","_WXTYPE",0},
9210 { "_signed_short","_short",0},
9211 { "_wxMemoryDC","_class_wxMemoryDC",0},
9212 { "_wxPaintDC","_class_wxPaintDC",0},
9213 { "_class_wxWindowDC","_wxWindowDC",0},
9214 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
9215 { "_class_wxCursor","_wxCursor",0},
9216 { "_unsigned_char","_byte",0},
9217 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
9218 { "_unsigned_int","_wxCoord",0},
9219 { "_unsigned_int","_wxPrintQuality",0},
9220 { "_unsigned_int","_time_t",0},
9221 { "_unsigned_int","_size_t",0},
9222 { "_unsigned_int","_uint",0},
9223 { "_unsigned_int","_wxWindowID",0},
9224 { "_unsigned_int","_int",0},
9225 { "_wxIcon","_class_wxIcon",0},
9226 { "_class_wxPen","_wxPen",0},
9227 { "_short","_WXTYPE",0},
9228 { "_short","_unsigned_short",0},
9229 { "_short","_signed_short",0},
9230 { "_class_wxImageList","_wxImageList",0},
9231 { "_wxWindowID","_wxCoord",0},
9232 { "_wxWindowID","_wxPrintQuality",0},
9233 { "_wxWindowID","_time_t",0},
9234 { "_wxWindowID","_size_t",0},
9235 { "_wxWindowID","_EBool",0},
9236 { "_wxWindowID","_uint",0},
9237 { "_wxWindowID","_int",0},
9238 { "_wxWindowID","_signed_int",0},
9239 { "_wxWindowID","_unsigned_int",0},
9240 { "_int","_wxCoord",0},
9241 { "_int","_wxPrintQuality",0},
9242 { "_int","_time_t",0},
9243 { "_int","_size_t",0},
9244 { "_int","_EBool",0},
9245 { "_int","_uint",0},
9246 { "_int","_wxWindowID",0},
9247 { "_int","_unsigned_int",0},
9248 { "_int","_signed_int",0},
9249 { "_time_t","_wxCoord",0},
9250 { "_time_t","_wxPrintQuality",0},
9251 { "_time_t","_unsigned_int",0},
9252 { "_time_t","_int",0},
9253 { "_time_t","_wxWindowID",0},
9254 { "_time_t","_uint",0},
9255 { "_time_t","_size_t",0},
9256 { "_wxSize","_class_wxSize",0},
9257 { "_wxRegionIterator","_class_wxRegionIterator",0},
9258 { "_class_wxPaintDC","_wxPaintDC",0},
9259 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
9260 { "_class_wxIcon","_wxIcon",0},
9261 { "_class_wxColour","_wxColour",0},
9262 { "_class_wxScreenDC","_wxScreenDC",0},
9263 { "_wxPalette","_class_wxPalette",0},
9264 { "_wxCoord","_int",0},
9265 { "_wxCoord","_signed_int",0},
9266 { "_wxCoord","_unsigned_int",0},
9267 { "_wxCoord","_wxWindowID",0},
9268 { "_wxCoord","_uint",0},
9269 { "_wxCoord","_EBool",0},
9270 { "_wxCoord","_size_t",0},
9271 { "_wxCoord","_time_t",0},
9272 { "_wxCoord","_wxPrintQuality",0},
9273 { "_wxRegion","_class_wxRegion",0},
9274 { "_class_wxBusyInfo","_wxBusyInfo",0},
9275 { "_class_wxFontList","_wxFontList",0},
9276 { "_class_wxClientDC","_wxClientDC",0},
9277 { "_wxBrushList","_class_wxBrushList",0},
9278 { "_class_wxSize","_wxSize",0},
9279 { "_class_wxBitmap","_wxBitmap",0},
9280 { "_class_wxMemoryDC","_wxMemoryDC",0},
9281 { "_class_wxPalette","_wxPalette",0},
9284 static PyObject
*SWIG_globals
;
9288 SWIGEXPORT(void) initgdic() {
9290 SWIG_globals
= SWIG_newvarlink();
9291 m
= Py_InitModule("gdic", gdicMethods
);
9292 d
= PyModule_GetDict(m
);
9293 PyDict_SetItemString(d
,"wxFONTENCODING_SYSTEM", PyInt_FromLong((long) wxFONTENCODING_SYSTEM
));
9294 PyDict_SetItemString(d
,"wxFONTENCODING_DEFAULT", PyInt_FromLong((long) wxFONTENCODING_DEFAULT
));
9295 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_1", PyInt_FromLong((long) wxFONTENCODING_ISO8859_1
));
9296 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_2", PyInt_FromLong((long) wxFONTENCODING_ISO8859_2
));
9297 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_3", PyInt_FromLong((long) wxFONTENCODING_ISO8859_3
));
9298 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_4", PyInt_FromLong((long) wxFONTENCODING_ISO8859_4
));
9299 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_5", PyInt_FromLong((long) wxFONTENCODING_ISO8859_5
));
9300 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_6", PyInt_FromLong((long) wxFONTENCODING_ISO8859_6
));
9301 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_7", PyInt_FromLong((long) wxFONTENCODING_ISO8859_7
));
9302 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_8", PyInt_FromLong((long) wxFONTENCODING_ISO8859_8
));
9303 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_9", PyInt_FromLong((long) wxFONTENCODING_ISO8859_9
));
9304 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_10", PyInt_FromLong((long) wxFONTENCODING_ISO8859_10
));
9305 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_11", PyInt_FromLong((long) wxFONTENCODING_ISO8859_11
));
9306 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_12", PyInt_FromLong((long) wxFONTENCODING_ISO8859_12
));
9307 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_13", PyInt_FromLong((long) wxFONTENCODING_ISO8859_13
));
9308 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_14", PyInt_FromLong((long) wxFONTENCODING_ISO8859_14
));
9309 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_15", PyInt_FromLong((long) wxFONTENCODING_ISO8859_15
));
9310 PyDict_SetItemString(d
,"wxFONTENCODING_KOI8", PyInt_FromLong((long) wxFONTENCODING_KOI8
));
9311 PyDict_SetItemString(d
,"wxFONTENCODING_ALTERNATIVE", PyInt_FromLong((long) wxFONTENCODING_ALTERNATIVE
));
9312 PyDict_SetItemString(d
,"wxFONTENCODING_BULGARIAN", PyInt_FromLong((long) wxFONTENCODING_BULGARIAN
));
9313 PyDict_SetItemString(d
,"wxFONTENCODING_CP437", PyInt_FromLong((long) wxFONTENCODING_CP437
));
9314 PyDict_SetItemString(d
,"wxFONTENCODING_CP850", PyInt_FromLong((long) wxFONTENCODING_CP850
));
9315 PyDict_SetItemString(d
,"wxFONTENCODING_CP852", PyInt_FromLong((long) wxFONTENCODING_CP852
));
9316 PyDict_SetItemString(d
,"wxFONTENCODING_CP855", PyInt_FromLong((long) wxFONTENCODING_CP855
));
9317 PyDict_SetItemString(d
,"wxFONTENCODING_CP866", PyInt_FromLong((long) wxFONTENCODING_CP866
));
9318 PyDict_SetItemString(d
,"wxFONTENCODING_CP1250", PyInt_FromLong((long) wxFONTENCODING_CP1250
));
9319 PyDict_SetItemString(d
,"wxFONTENCODING_CP1251", PyInt_FromLong((long) wxFONTENCODING_CP1251
));
9320 PyDict_SetItemString(d
,"wxFONTENCODING_CP1252", PyInt_FromLong((long) wxFONTENCODING_CP1252
));
9321 PyDict_SetItemString(d
,"wxFONTENCODING_MAX", PyInt_FromLong((long) wxFONTENCODING_MAX
));
9322 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
9323 SWIG_addvarlink(SWIG_globals
,"wxNORMAL_FONT",_wrap_wxNORMAL_FONT_get
, _wrap_wxNORMAL_FONT_set
);
9324 SWIG_addvarlink(SWIG_globals
,"wxSMALL_FONT",_wrap_wxSMALL_FONT_get
, _wrap_wxSMALL_FONT_set
);
9325 SWIG_addvarlink(SWIG_globals
,"wxITALIC_FONT",_wrap_wxITALIC_FONT_get
, _wrap_wxITALIC_FONT_set
);
9326 SWIG_addvarlink(SWIG_globals
,"wxSWISS_FONT",_wrap_wxSWISS_FONT_get
, _wrap_wxSWISS_FONT_set
);
9327 SWIG_addvarlink(SWIG_globals
,"wxRED_PEN",_wrap_wxRED_PEN_get
, _wrap_wxRED_PEN_set
);
9328 SWIG_addvarlink(SWIG_globals
,"wxCYAN_PEN",_wrap_wxCYAN_PEN_get
, _wrap_wxCYAN_PEN_set
);
9329 SWIG_addvarlink(SWIG_globals
,"wxGREEN_PEN",_wrap_wxGREEN_PEN_get
, _wrap_wxGREEN_PEN_set
);
9330 SWIG_addvarlink(SWIG_globals
,"wxBLACK_PEN",_wrap_wxBLACK_PEN_get
, _wrap_wxBLACK_PEN_set
);
9331 SWIG_addvarlink(SWIG_globals
,"wxWHITE_PEN",_wrap_wxWHITE_PEN_get
, _wrap_wxWHITE_PEN_set
);
9332 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_PEN",_wrap_wxTRANSPARENT_PEN_get
, _wrap_wxTRANSPARENT_PEN_set
);
9333 SWIG_addvarlink(SWIG_globals
,"wxBLACK_DASHED_PEN",_wrap_wxBLACK_DASHED_PEN_get
, _wrap_wxBLACK_DASHED_PEN_set
);
9334 SWIG_addvarlink(SWIG_globals
,"wxGREY_PEN",_wrap_wxGREY_PEN_get
, _wrap_wxGREY_PEN_set
);
9335 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_PEN",_wrap_wxMEDIUM_GREY_PEN_get
, _wrap_wxMEDIUM_GREY_PEN_set
);
9336 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_PEN",_wrap_wxLIGHT_GREY_PEN_get
, _wrap_wxLIGHT_GREY_PEN_set
);
9337 SWIG_addvarlink(SWIG_globals
,"wxBLUE_BRUSH",_wrap_wxBLUE_BRUSH_get
, _wrap_wxBLUE_BRUSH_set
);
9338 SWIG_addvarlink(SWIG_globals
,"wxGREEN_BRUSH",_wrap_wxGREEN_BRUSH_get
, _wrap_wxGREEN_BRUSH_set
);
9339 SWIG_addvarlink(SWIG_globals
,"wxWHITE_BRUSH",_wrap_wxWHITE_BRUSH_get
, _wrap_wxWHITE_BRUSH_set
);
9340 SWIG_addvarlink(SWIG_globals
,"wxBLACK_BRUSH",_wrap_wxBLACK_BRUSH_get
, _wrap_wxBLACK_BRUSH_set
);
9341 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_BRUSH",_wrap_wxTRANSPARENT_BRUSH_get
, _wrap_wxTRANSPARENT_BRUSH_set
);
9342 SWIG_addvarlink(SWIG_globals
,"wxCYAN_BRUSH",_wrap_wxCYAN_BRUSH_get
, _wrap_wxCYAN_BRUSH_set
);
9343 SWIG_addvarlink(SWIG_globals
,"wxRED_BRUSH",_wrap_wxRED_BRUSH_get
, _wrap_wxRED_BRUSH_set
);
9344 SWIG_addvarlink(SWIG_globals
,"wxGREY_BRUSH",_wrap_wxGREY_BRUSH_get
, _wrap_wxGREY_BRUSH_set
);
9345 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_BRUSH",_wrap_wxMEDIUM_GREY_BRUSH_get
, _wrap_wxMEDIUM_GREY_BRUSH_set
);
9346 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_BRUSH",_wrap_wxLIGHT_GREY_BRUSH_get
, _wrap_wxLIGHT_GREY_BRUSH_set
);
9347 SWIG_addvarlink(SWIG_globals
,"wxBLACK",_wrap_wxBLACK_get
, _wrap_wxBLACK_set
);
9348 SWIG_addvarlink(SWIG_globals
,"wxWHITE",_wrap_wxWHITE_get
, _wrap_wxWHITE_set
);
9349 SWIG_addvarlink(SWIG_globals
,"wxRED",_wrap_wxRED_get
, _wrap_wxRED_set
);
9350 SWIG_addvarlink(SWIG_globals
,"wxBLUE",_wrap_wxBLUE_get
, _wrap_wxBLUE_set
);
9351 SWIG_addvarlink(SWIG_globals
,"wxGREEN",_wrap_wxGREEN_get
, _wrap_wxGREEN_set
);
9352 SWIG_addvarlink(SWIG_globals
,"wxCYAN",_wrap_wxCYAN_get
, _wrap_wxCYAN_set
);
9353 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY",_wrap_wxLIGHT_GREY_get
, _wrap_wxLIGHT_GREY_set
);
9354 SWIG_addvarlink(SWIG_globals
,"wxSTANDARD_CURSOR",_wrap_wxSTANDARD_CURSOR_get
, _wrap_wxSTANDARD_CURSOR_set
);
9355 SWIG_addvarlink(SWIG_globals
,"wxHOURGLASS_CURSOR",_wrap_wxHOURGLASS_CURSOR_get
, _wrap_wxHOURGLASS_CURSOR_set
);
9356 SWIG_addvarlink(SWIG_globals
,"wxCROSS_CURSOR",_wrap_wxCROSS_CURSOR_get
, _wrap_wxCROSS_CURSOR_set
);
9357 SWIG_addvarlink(SWIG_globals
,"wxNullBitmap",_wrap_wxNullBitmap_get
, _wrap_wxNullBitmap_set
);
9358 SWIG_addvarlink(SWIG_globals
,"wxNullIcon",_wrap_wxNullIcon_get
, _wrap_wxNullIcon_set
);
9359 SWIG_addvarlink(SWIG_globals
,"wxNullCursor",_wrap_wxNullCursor_get
, _wrap_wxNullCursor_set
);
9360 SWIG_addvarlink(SWIG_globals
,"wxNullPen",_wrap_wxNullPen_get
, _wrap_wxNullPen_set
);
9361 SWIG_addvarlink(SWIG_globals
,"wxNullBrush",_wrap_wxNullBrush_get
, _wrap_wxNullBrush_set
);
9362 SWIG_addvarlink(SWIG_globals
,"wxNullPalette",_wrap_wxNullPalette_get
, _wrap_wxNullPalette_set
);
9363 SWIG_addvarlink(SWIG_globals
,"wxNullFont",_wrap_wxNullFont_get
, _wrap_wxNullFont_set
);
9364 SWIG_addvarlink(SWIG_globals
,"wxNullColour",_wrap_wxNullColour_get
, _wrap_wxNullColour_set
);
9365 SWIG_addvarlink(SWIG_globals
,"wxTheFontList",_wrap_wxTheFontList_get
, _wrap_wxTheFontList_set
);
9366 SWIG_addvarlink(SWIG_globals
,"wxThePenList",_wrap_wxThePenList_get
, _wrap_wxThePenList_set
);
9367 SWIG_addvarlink(SWIG_globals
,"wxTheBrushList",_wrap_wxTheBrushList_get
, _wrap_wxTheBrushList_set
);
9368 SWIG_addvarlink(SWIG_globals
,"wxTheColourDatabase",_wrap_wxTheColourDatabase_get
, _wrap_wxTheColourDatabase_set
);
9369 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_NORMAL", PyInt_FromLong((long) wxIMAGELIST_DRAW_NORMAL
));
9370 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_TRANSPARENT", PyInt_FromLong((long) wxIMAGELIST_DRAW_TRANSPARENT
));
9371 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_SELECTED", PyInt_FromLong((long) wxIMAGELIST_DRAW_SELECTED
));
9372 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_FOCUSED", PyInt_FromLong((long) wxIMAGELIST_DRAW_FOCUSED
));
9373 PyDict_SetItemString(d
,"wxIMAGE_LIST_NORMAL", PyInt_FromLong((long) wxIMAGE_LIST_NORMAL
));
9374 PyDict_SetItemString(d
,"wxIMAGE_LIST_SMALL", PyInt_FromLong((long) wxIMAGE_LIST_SMALL
));
9375 PyDict_SetItemString(d
,"wxIMAGE_LIST_STATE", PyInt_FromLong((long) wxIMAGE_LIST_STATE
));
9378 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
9379 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);