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
;
203 static PyObject
*_wrap_wxEmptyBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
204 PyObject
* _resultobj
;
208 int _arg2
= (int ) -1;
209 char *_kwnames
[] = { "width","height","depth", NULL
};
213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ii|i:wxEmptyBitmap",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
216 wxPy_BEGIN_ALLOW_THREADS
;
217 _result
= (wxBitmap
*)wxEmptyBitmap(_arg0
,_arg1
,_arg2
);
219 wxPy_END_ALLOW_THREADS
;
221 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
222 _resultobj
= Py_BuildValue("s",_ptemp
);
225 _resultobj
= Py_None
;
230 static PyObject
*_wrap_wxBitmapFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
231 PyObject
* _resultobj
;
237 int _arg4
= (int ) 1;
238 PyObject
* _obj0
= 0;
239 char *_kwnames
[] = { "data","type","width","height","depth", NULL
};
243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olii|i:wxBitmapFromData",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
249 wxPy_BEGIN_ALLOW_THREADS
;
250 _result
= (wxBitmap
*)wxBitmapFromData(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
252 wxPy_END_ALLOW_THREADS
;
254 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
255 _resultobj
= Py_BuildValue("s",_ptemp
);
258 _resultobj
= Py_None
;
263 static PyObject
*_wrap_wxMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
264 PyObject
* _resultobj
;
268 PyObject
* _argo0
= 0;
270 PyObject
* _obj1
= 0;
271 char *_kwnames
[] = { "bitmap","colour", NULL
};
275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMaskColour",_kwnames
,&_argo0
,&_obj1
))
278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMaskColour. Expected _wxBitmap_p.");
286 if (! wxColour_helper(_obj1
, &_arg1
))
290 wxPy_BEGIN_ALLOW_THREADS
;
291 _result
= (wxMask
*)wxMaskColour(*_arg0
,*_arg1
);
293 wxPy_END_ALLOW_THREADS
;
295 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
296 _resultobj
= Py_BuildValue("s",_ptemp
);
299 _resultobj
= Py_None
;
304 static PyObject
*_wrap_wxStockCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
305 PyObject
* _resultobj
;
308 char *_kwnames
[] = { "id", NULL
};
312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxStockCursor",_kwnames
,&_arg0
))
315 wxPy_BEGIN_ALLOW_THREADS
;
316 _result
= (wxCursor
*)wxPyStockCursor(_arg0
);
318 wxPy_END_ALLOW_THREADS
;
320 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCursor_p");
321 _resultobj
= Py_BuildValue("s",_ptemp
);
324 _resultobj
= Py_None
;
329 static PyObject
*_wrap_wxFont_GetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
330 PyObject
* _resultobj
;
331 wxFontEncoding _result
;
332 char *_kwnames
[] = { NULL
};
335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFont_GetDefaultEncoding",_kwnames
))
338 wxPy_BEGIN_ALLOW_THREADS
;
339 _result
= (wxFontEncoding
)wxFont_GetDefaultEncoding();
341 wxPy_END_ALLOW_THREADS
;
342 } _resultobj
= Py_BuildValue("i",_result
);
346 static PyObject
*_wrap_wxFont_SetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
347 PyObject
* _resultobj
;
348 wxFontEncoding _arg0
;
349 char *_kwnames
[] = { "encoding", NULL
};
352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxFont_SetDefaultEncoding",_kwnames
,&_arg0
))
355 wxPy_BEGIN_ALLOW_THREADS
;
356 wxFont_SetDefaultEncoding(_arg0
);
358 wxPy_END_ALLOW_THREADS
;
359 } Py_INCREF(Py_None
);
360 _resultobj
= Py_None
;
364 static PyObject
*_wrap_wxNamedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
365 PyObject
* _resultobj
;
368 PyObject
* _obj0
= 0;
369 char *_kwnames
[] = { "colorName", NULL
};
373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNamedColour",_kwnames
,&_obj0
))
376 #if PYTHON_API_VERSION >= 1009
377 char* tmpPtr
; int tmpSize
;
378 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
379 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
382 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
384 _arg0
= new wxString(tmpPtr
, tmpSize
);
386 if (!PyString_Check(_obj0
)) {
387 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
390 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
394 wxPy_BEGIN_ALLOW_THREADS
;
395 _result
= (wxColour
*)wxNamedColour(*_arg0
);
397 wxPy_END_ALLOW_THREADS
;
399 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
400 _resultobj
= Py_BuildValue("s",_ptemp
);
403 _resultobj
= Py_None
;
412 static PyObject
*_wrap_wxMemoryDCFromDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
413 PyObject
* _resultobj
;
414 wxMemoryDC
* _result
;
416 PyObject
* _argo0
= 0;
417 char *_kwnames
[] = { "oldDC", NULL
};
421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMemoryDCFromDC",_kwnames
,&_argo0
))
424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDCFromDC. Expected _wxDC_p.");
431 wxPy_BEGIN_ALLOW_THREADS
;
432 _result
= (wxMemoryDC
*)wxMemoryDCFromDC(_arg0
);
434 wxPy_END_ALLOW_THREADS
;
436 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
437 _resultobj
= Py_BuildValue("s",_ptemp
);
440 _resultobj
= Py_None
;
445 static int _wrap_wxNORMAL_FONT_set(PyObject
*val
) {
447 PyErr_SetString(PyExc_TypeError
,"Variable wxNORMAL_FONT is read-only.");
451 static PyObject
*_wrap_wxNORMAL_FONT_get() {
455 SWIG_MakePtr(ptemp
, (char *) wxNORMAL_FONT
,"_wxFont_p");
456 pyobj
= PyString_FromString(ptemp
);
460 static int _wrap_wxSMALL_FONT_set(PyObject
*val
) {
462 PyErr_SetString(PyExc_TypeError
,"Variable wxSMALL_FONT is read-only.");
466 static PyObject
*_wrap_wxSMALL_FONT_get() {
470 SWIG_MakePtr(ptemp
, (char *) wxSMALL_FONT
,"_wxFont_p");
471 pyobj
= PyString_FromString(ptemp
);
475 static int _wrap_wxITALIC_FONT_set(PyObject
*val
) {
477 PyErr_SetString(PyExc_TypeError
,"Variable wxITALIC_FONT is read-only.");
481 static PyObject
*_wrap_wxITALIC_FONT_get() {
485 SWIG_MakePtr(ptemp
, (char *) wxITALIC_FONT
,"_wxFont_p");
486 pyobj
= PyString_FromString(ptemp
);
490 static int _wrap_wxSWISS_FONT_set(PyObject
*val
) {
492 PyErr_SetString(PyExc_TypeError
,"Variable wxSWISS_FONT is read-only.");
496 static PyObject
*_wrap_wxSWISS_FONT_get() {
500 SWIG_MakePtr(ptemp
, (char *) wxSWISS_FONT
,"_wxFont_p");
501 pyobj
= PyString_FromString(ptemp
);
505 static int _wrap_wxRED_PEN_set(PyObject
*val
) {
507 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_PEN is read-only.");
511 static PyObject
*_wrap_wxRED_PEN_get() {
515 SWIG_MakePtr(ptemp
, (char *) wxRED_PEN
,"_wxPen_p");
516 pyobj
= PyString_FromString(ptemp
);
520 static int _wrap_wxCYAN_PEN_set(PyObject
*val
) {
522 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_PEN is read-only.");
526 static PyObject
*_wrap_wxCYAN_PEN_get() {
530 SWIG_MakePtr(ptemp
, (char *) wxCYAN_PEN
,"_wxPen_p");
531 pyobj
= PyString_FromString(ptemp
);
535 static int _wrap_wxGREEN_PEN_set(PyObject
*val
) {
537 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_PEN is read-only.");
541 static PyObject
*_wrap_wxGREEN_PEN_get() {
545 SWIG_MakePtr(ptemp
, (char *) wxGREEN_PEN
,"_wxPen_p");
546 pyobj
= PyString_FromString(ptemp
);
550 static int _wrap_wxBLACK_PEN_set(PyObject
*val
) {
552 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_PEN is read-only.");
556 static PyObject
*_wrap_wxBLACK_PEN_get() {
560 SWIG_MakePtr(ptemp
, (char *) wxBLACK_PEN
,"_wxPen_p");
561 pyobj
= PyString_FromString(ptemp
);
565 static int _wrap_wxWHITE_PEN_set(PyObject
*val
) {
567 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_PEN is read-only.");
571 static PyObject
*_wrap_wxWHITE_PEN_get() {
575 SWIG_MakePtr(ptemp
, (char *) wxWHITE_PEN
,"_wxPen_p");
576 pyobj
= PyString_FromString(ptemp
);
580 static int _wrap_wxTRANSPARENT_PEN_set(PyObject
*val
) {
582 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_PEN is read-only.");
586 static PyObject
*_wrap_wxTRANSPARENT_PEN_get() {
590 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_PEN
,"_wxPen_p");
591 pyobj
= PyString_FromString(ptemp
);
595 static int _wrap_wxBLACK_DASHED_PEN_set(PyObject
*val
) {
597 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_DASHED_PEN is read-only.");
601 static PyObject
*_wrap_wxBLACK_DASHED_PEN_get() {
605 SWIG_MakePtr(ptemp
, (char *) wxBLACK_DASHED_PEN
,"_wxPen_p");
606 pyobj
= PyString_FromString(ptemp
);
610 static int _wrap_wxGREY_PEN_set(PyObject
*val
) {
612 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_PEN is read-only.");
616 static PyObject
*_wrap_wxGREY_PEN_get() {
620 SWIG_MakePtr(ptemp
, (char *) wxGREY_PEN
,"_wxPen_p");
621 pyobj
= PyString_FromString(ptemp
);
625 static int _wrap_wxMEDIUM_GREY_PEN_set(PyObject
*val
) {
627 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_PEN is read-only.");
631 static PyObject
*_wrap_wxMEDIUM_GREY_PEN_get() {
635 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_PEN
,"_wxPen_p");
636 pyobj
= PyString_FromString(ptemp
);
640 static int _wrap_wxLIGHT_GREY_PEN_set(PyObject
*val
) {
642 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_PEN is read-only.");
646 static PyObject
*_wrap_wxLIGHT_GREY_PEN_get() {
650 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_PEN
,"_wxPen_p");
651 pyobj
= PyString_FromString(ptemp
);
655 static int _wrap_wxBLUE_BRUSH_set(PyObject
*val
) {
657 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE_BRUSH is read-only.");
661 static PyObject
*_wrap_wxBLUE_BRUSH_get() {
665 SWIG_MakePtr(ptemp
, (char *) wxBLUE_BRUSH
,"_wxBrush_p");
666 pyobj
= PyString_FromString(ptemp
);
670 static int _wrap_wxGREEN_BRUSH_set(PyObject
*val
) {
672 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_BRUSH is read-only.");
676 static PyObject
*_wrap_wxGREEN_BRUSH_get() {
680 SWIG_MakePtr(ptemp
, (char *) wxGREEN_BRUSH
,"_wxBrush_p");
681 pyobj
= PyString_FromString(ptemp
);
685 static int _wrap_wxWHITE_BRUSH_set(PyObject
*val
) {
687 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_BRUSH is read-only.");
691 static PyObject
*_wrap_wxWHITE_BRUSH_get() {
695 SWIG_MakePtr(ptemp
, (char *) wxWHITE_BRUSH
,"_wxBrush_p");
696 pyobj
= PyString_FromString(ptemp
);
700 static int _wrap_wxBLACK_BRUSH_set(PyObject
*val
) {
702 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_BRUSH is read-only.");
706 static PyObject
*_wrap_wxBLACK_BRUSH_get() {
710 SWIG_MakePtr(ptemp
, (char *) wxBLACK_BRUSH
,"_wxBrush_p");
711 pyobj
= PyString_FromString(ptemp
);
715 static int _wrap_wxTRANSPARENT_BRUSH_set(PyObject
*val
) {
717 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_BRUSH is read-only.");
721 static PyObject
*_wrap_wxTRANSPARENT_BRUSH_get() {
725 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_BRUSH
,"_wxBrush_p");
726 pyobj
= PyString_FromString(ptemp
);
730 static int _wrap_wxCYAN_BRUSH_set(PyObject
*val
) {
732 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_BRUSH is read-only.");
736 static PyObject
*_wrap_wxCYAN_BRUSH_get() {
740 SWIG_MakePtr(ptemp
, (char *) wxCYAN_BRUSH
,"_wxBrush_p");
741 pyobj
= PyString_FromString(ptemp
);
745 static int _wrap_wxRED_BRUSH_set(PyObject
*val
) {
747 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_BRUSH is read-only.");
751 static PyObject
*_wrap_wxRED_BRUSH_get() {
755 SWIG_MakePtr(ptemp
, (char *) wxRED_BRUSH
,"_wxBrush_p");
756 pyobj
= PyString_FromString(ptemp
);
760 static int _wrap_wxGREY_BRUSH_set(PyObject
*val
) {
762 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_BRUSH is read-only.");
766 static PyObject
*_wrap_wxGREY_BRUSH_get() {
770 SWIG_MakePtr(ptemp
, (char *) wxGREY_BRUSH
,"_wxBrush_p");
771 pyobj
= PyString_FromString(ptemp
);
775 static int _wrap_wxMEDIUM_GREY_BRUSH_set(PyObject
*val
) {
777 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_BRUSH is read-only.");
781 static PyObject
*_wrap_wxMEDIUM_GREY_BRUSH_get() {
785 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_BRUSH
,"_wxBrush_p");
786 pyobj
= PyString_FromString(ptemp
);
790 static int _wrap_wxLIGHT_GREY_BRUSH_set(PyObject
*val
) {
792 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_BRUSH is read-only.");
796 static PyObject
*_wrap_wxLIGHT_GREY_BRUSH_get() {
800 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_BRUSH
,"_wxBrush_p");
801 pyobj
= PyString_FromString(ptemp
);
805 static int _wrap_wxBLACK_set(PyObject
*val
) {
807 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK is read-only.");
811 static PyObject
*_wrap_wxBLACK_get() {
815 SWIG_MakePtr(ptemp
, (char *) wxBLACK
,"_wxColour_p");
816 pyobj
= PyString_FromString(ptemp
);
820 static int _wrap_wxWHITE_set(PyObject
*val
) {
822 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE is read-only.");
826 static PyObject
*_wrap_wxWHITE_get() {
830 SWIG_MakePtr(ptemp
, (char *) wxWHITE
,"_wxColour_p");
831 pyobj
= PyString_FromString(ptemp
);
835 static int _wrap_wxRED_set(PyObject
*val
) {
837 PyErr_SetString(PyExc_TypeError
,"Variable wxRED is read-only.");
841 static PyObject
*_wrap_wxRED_get() {
845 SWIG_MakePtr(ptemp
, (char *) wxRED
,"_wxColour_p");
846 pyobj
= PyString_FromString(ptemp
);
850 static int _wrap_wxBLUE_set(PyObject
*val
) {
852 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE is read-only.");
856 static PyObject
*_wrap_wxBLUE_get() {
860 SWIG_MakePtr(ptemp
, (char *) wxBLUE
,"_wxColour_p");
861 pyobj
= PyString_FromString(ptemp
);
865 static int _wrap_wxGREEN_set(PyObject
*val
) {
867 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN is read-only.");
871 static PyObject
*_wrap_wxGREEN_get() {
875 SWIG_MakePtr(ptemp
, (char *) wxGREEN
,"_wxColour_p");
876 pyobj
= PyString_FromString(ptemp
);
880 static int _wrap_wxCYAN_set(PyObject
*val
) {
882 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN is read-only.");
886 static PyObject
*_wrap_wxCYAN_get() {
890 SWIG_MakePtr(ptemp
, (char *) wxCYAN
,"_wxColour_p");
891 pyobj
= PyString_FromString(ptemp
);
895 static int _wrap_wxLIGHT_GREY_set(PyObject
*val
) {
897 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY is read-only.");
901 static PyObject
*_wrap_wxLIGHT_GREY_get() {
905 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY
,"_wxColour_p");
906 pyobj
= PyString_FromString(ptemp
);
910 static int _wrap_wxSTANDARD_CURSOR_set(PyObject
*val
) {
912 PyErr_SetString(PyExc_TypeError
,"Variable wxSTANDARD_CURSOR is read-only.");
916 static PyObject
*_wrap_wxSTANDARD_CURSOR_get() {
920 SWIG_MakePtr(ptemp
, (char *) wxSTANDARD_CURSOR
,"_wxCursor_p");
921 pyobj
= PyString_FromString(ptemp
);
925 static int _wrap_wxHOURGLASS_CURSOR_set(PyObject
*val
) {
927 PyErr_SetString(PyExc_TypeError
,"Variable wxHOURGLASS_CURSOR is read-only.");
931 static PyObject
*_wrap_wxHOURGLASS_CURSOR_get() {
935 SWIG_MakePtr(ptemp
, (char *) wxHOURGLASS_CURSOR
,"_wxCursor_p");
936 pyobj
= PyString_FromString(ptemp
);
940 static int _wrap_wxCROSS_CURSOR_set(PyObject
*val
) {
942 PyErr_SetString(PyExc_TypeError
,"Variable wxCROSS_CURSOR is read-only.");
946 static PyObject
*_wrap_wxCROSS_CURSOR_get() {
950 SWIG_MakePtr(ptemp
, (char *) wxCROSS_CURSOR
,"_wxCursor_p");
951 pyobj
= PyString_FromString(ptemp
);
955 static int _wrap_wxNullBitmap_set(PyObject
*val
) {
957 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBitmap is read-only.");
961 static PyObject
*_wrap_wxNullBitmap_get() {
965 SWIG_MakePtr(ptemp
,(char *) &wxNullBitmap
,"_wxBitmap_p");
966 pyobj
= PyString_FromString(ptemp
);
970 static int _wrap_wxNullIcon_set(PyObject
*val
) {
972 PyErr_SetString(PyExc_TypeError
,"Variable wxNullIcon is read-only.");
976 static PyObject
*_wrap_wxNullIcon_get() {
980 SWIG_MakePtr(ptemp
,(char *) &wxNullIcon
,"_wxIcon_p");
981 pyobj
= PyString_FromString(ptemp
);
985 static int _wrap_wxNullCursor_set(PyObject
*val
) {
987 PyErr_SetString(PyExc_TypeError
,"Variable wxNullCursor is read-only.");
991 static PyObject
*_wrap_wxNullCursor_get() {
995 SWIG_MakePtr(ptemp
,(char *) &wxNullCursor
,"_wxCursor_p");
996 pyobj
= PyString_FromString(ptemp
);
1000 static int _wrap_wxNullPen_set(PyObject
*val
) {
1002 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPen is read-only.");
1006 static PyObject
*_wrap_wxNullPen_get() {
1010 SWIG_MakePtr(ptemp
,(char *) &wxNullPen
,"_wxPen_p");
1011 pyobj
= PyString_FromString(ptemp
);
1015 static int _wrap_wxNullBrush_set(PyObject
*val
) {
1017 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBrush is read-only.");
1021 static PyObject
*_wrap_wxNullBrush_get() {
1025 SWIG_MakePtr(ptemp
,(char *) &wxNullBrush
,"_wxBrush_p");
1026 pyobj
= PyString_FromString(ptemp
);
1030 static int _wrap_wxNullPalette_set(PyObject
*val
) {
1032 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPalette is read-only.");
1036 static PyObject
*_wrap_wxNullPalette_get() {
1040 SWIG_MakePtr(ptemp
,(char *) &wxNullPalette
,"_wxPalette_p");
1041 pyobj
= PyString_FromString(ptemp
);
1045 static int _wrap_wxNullFont_set(PyObject
*val
) {
1047 PyErr_SetString(PyExc_TypeError
,"Variable wxNullFont is read-only.");
1051 static PyObject
*_wrap_wxNullFont_get() {
1055 SWIG_MakePtr(ptemp
,(char *) &wxNullFont
,"_wxFont_p");
1056 pyobj
= PyString_FromString(ptemp
);
1060 static int _wrap_wxNullColour_set(PyObject
*val
) {
1062 PyErr_SetString(PyExc_TypeError
,"Variable wxNullColour is read-only.");
1066 static PyObject
*_wrap_wxNullColour_get() {
1070 SWIG_MakePtr(ptemp
,(char *) &wxNullColour
,"_wxColour_p");
1071 pyobj
= PyString_FromString(ptemp
);
1075 #define new_wxBitmap(_swigarg0,_swigarg1) (new wxBitmap(_swigarg0,_swigarg1))
1076 static PyObject
*_wrap_new_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1077 PyObject
* _resultobj
;
1081 PyObject
* _obj0
= 0;
1082 char *_kwnames
[] = { "name","type", NULL
};
1086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:new_wxBitmap",_kwnames
,&_obj0
,&_arg1
))
1089 #if PYTHON_API_VERSION >= 1009
1090 char* tmpPtr
; int tmpSize
;
1091 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1092 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1095 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1097 _arg0
= new wxString(tmpPtr
, tmpSize
);
1099 if (!PyString_Check(_obj0
)) {
1100 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1103 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1107 wxPy_BEGIN_ALLOW_THREADS
;
1108 _result
= (wxBitmap
*)new_wxBitmap(*_arg0
,_arg1
);
1110 wxPy_END_ALLOW_THREADS
;
1112 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1113 _resultobj
= Py_BuildValue("s",_ptemp
);
1116 _resultobj
= Py_None
;
1125 #define delete_wxBitmap(_swigobj) (delete _swigobj)
1126 static PyObject
*_wrap_delete_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1127 PyObject
* _resultobj
;
1129 PyObject
* _argo0
= 0;
1130 char *_kwnames
[] = { "self", NULL
};
1133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBitmap",_kwnames
,&_argo0
))
1136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBitmap. Expected _wxBitmap_p.");
1143 wxPy_BEGIN_ALLOW_THREADS
;
1144 delete_wxBitmap(_arg0
);
1146 wxPy_END_ALLOW_THREADS
;
1147 } Py_INCREF(Py_None
);
1148 _resultobj
= Py_None
;
1152 #define wxBitmap_GetPalette(_swigobj) (_swigobj->GetPalette())
1153 static PyObject
*_wrap_wxBitmap_GetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1154 PyObject
* _resultobj
;
1155 wxPalette
* _result
;
1157 PyObject
* _argo0
= 0;
1158 char *_kwnames
[] = { "self", NULL
};
1162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetPalette",_kwnames
,&_argo0
))
1165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetPalette. Expected _wxBitmap_p.");
1172 wxPy_BEGIN_ALLOW_THREADS
;
1173 _result
= (wxPalette
*)wxBitmap_GetPalette(_arg0
);
1175 wxPy_END_ALLOW_THREADS
;
1177 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
1178 _resultobj
= Py_BuildValue("s",_ptemp
);
1181 _resultobj
= Py_None
;
1186 #define wxBitmap_GetMask(_swigobj) (_swigobj->GetMask())
1187 static PyObject
*_wrap_wxBitmap_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1188 PyObject
* _resultobj
;
1191 PyObject
* _argo0
= 0;
1192 char *_kwnames
[] = { "self", NULL
};
1196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetMask",_kwnames
,&_argo0
))
1199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetMask. Expected _wxBitmap_p.");
1206 wxPy_BEGIN_ALLOW_THREADS
;
1207 _result
= (wxMask
*)wxBitmap_GetMask(_arg0
);
1209 wxPy_END_ALLOW_THREADS
;
1211 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
1212 _resultobj
= Py_BuildValue("s",_ptemp
);
1215 _resultobj
= Py_None
;
1220 #define wxBitmap_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1221 static PyObject
*_wrap_wxBitmap_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1222 PyObject
* _resultobj
;
1227 PyObject
* _argo0
= 0;
1228 PyObject
* _obj1
= 0;
1229 char *_kwnames
[] = { "self","name","flags", NULL
};
1232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOl:wxBitmap_LoadFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_LoadFile. Expected _wxBitmap_p.");
1242 #if PYTHON_API_VERSION >= 1009
1243 char* tmpPtr
; int tmpSize
;
1244 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1245 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1248 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1250 _arg1
= new wxString(tmpPtr
, tmpSize
);
1252 if (!PyString_Check(_obj1
)) {
1253 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1256 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1260 wxPy_BEGIN_ALLOW_THREADS
;
1261 _result
= (bool )wxBitmap_LoadFile(_arg0
,*_arg1
,_arg2
);
1263 wxPy_END_ALLOW_THREADS
;
1264 } _resultobj
= Py_BuildValue("i",_result
);
1272 #define wxBitmap_SaveFile(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SaveFile(_swigarg0,_swigarg1,_swigarg2))
1273 static PyObject
*_wrap_wxBitmap_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1274 PyObject
* _resultobj
;
1279 wxPalette
* _arg3
= (wxPalette
*) NULL
;
1280 PyObject
* _argo0
= 0;
1281 PyObject
* _obj1
= 0;
1282 PyObject
* _argo3
= 0;
1283 char *_kwnames
[] = { "self","name","type","palette", NULL
};
1286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|O:wxBitmap_SaveFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_argo3
))
1289 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1290 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SaveFile. Expected _wxBitmap_p.");
1296 #if PYTHON_API_VERSION >= 1009
1297 char* tmpPtr
; int tmpSize
;
1298 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1299 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1302 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1304 _arg1
= new wxString(tmpPtr
, tmpSize
);
1306 if (!PyString_Check(_obj1
)) {
1307 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1310 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1314 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1315 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxPalette_p")) {
1316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxBitmap_SaveFile. Expected _wxPalette_p.");
1321 wxPy_BEGIN_ALLOW_THREADS
;
1322 _result
= (bool )wxBitmap_SaveFile(_arg0
,*_arg1
,_arg2
,_arg3
);
1324 wxPy_END_ALLOW_THREADS
;
1325 } _resultobj
= Py_BuildValue("i",_result
);
1333 #define wxBitmap_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
1334 static PyObject
*_wrap_wxBitmap_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1335 PyObject
* _resultobj
;
1338 PyObject
* _argo0
= 0;
1339 PyObject
* _argo1
= 0;
1340 char *_kwnames
[] = { "self","mask", NULL
};
1343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_SetMask",_kwnames
,&_argo0
,&_argo1
))
1346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetMask. Expected _wxBitmap_p.");
1353 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1354 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMask_p")) {
1355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_SetMask. Expected _wxMask_p.");
1360 wxPy_BEGIN_ALLOW_THREADS
;
1361 wxBitmap_SetMask(_arg0
,_arg1
);
1363 wxPy_END_ALLOW_THREADS
;
1364 } Py_INCREF(Py_None
);
1365 _resultobj
= Py_None
;
1369 #define wxBitmap_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
1370 static PyObject
*_wrap_wxBitmap_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1371 PyObject
* _resultobj
;
1374 PyObject
* _argo0
= 0;
1375 PyObject
* _argo1
= 0;
1376 char *_kwnames
[] = { "self","palette", NULL
};
1379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_SetPalette",_kwnames
,&_argo0
,&_argo1
))
1382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetPalette. Expected _wxBitmap_p.");
1389 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1390 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPalette_p")) {
1391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_SetPalette. Expected _wxPalette_p.");
1396 wxPy_BEGIN_ALLOW_THREADS
;
1397 wxBitmap_SetPalette(_arg0
,*_arg1
);
1399 wxPy_END_ALLOW_THREADS
;
1400 } Py_INCREF(Py_None
);
1401 _resultobj
= Py_None
;
1405 #define wxBitmap_GetHandle(_swigobj) (_swigobj->GetHandle())
1406 static PyObject
*_wrap_wxBitmap_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1407 PyObject
* _resultobj
;
1410 PyObject
* _argo0
= 0;
1411 char *_kwnames
[] = { "self", NULL
};
1414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetHandle",_kwnames
,&_argo0
))
1417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetHandle. Expected _wxBitmap_p.");
1424 wxPy_BEGIN_ALLOW_THREADS
;
1425 _result
= (long )wxBitmap_GetHandle(_arg0
);
1427 wxPy_END_ALLOW_THREADS
;
1428 } _resultobj
= Py_BuildValue("l",_result
);
1432 #define wxBitmap_SetHandle(_swigobj,_swigarg0) (_swigobj->SetHandle(_swigarg0))
1433 static PyObject
*_wrap_wxBitmap_SetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1434 PyObject
* _resultobj
;
1437 PyObject
* _argo0
= 0;
1438 char *_kwnames
[] = { "self","handle", NULL
};
1441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxBitmap_SetHandle",_kwnames
,&_argo0
,&_arg1
))
1444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetHandle. Expected _wxBitmap_p.");
1451 wxPy_BEGIN_ALLOW_THREADS
;
1452 wxBitmap_SetHandle(_arg0
,_arg1
);
1454 wxPy_END_ALLOW_THREADS
;
1455 } Py_INCREF(Py_None
);
1456 _resultobj
= Py_None
;
1460 #define wxBitmap_Ok(_swigobj) (_swigobj->Ok())
1461 static PyObject
*_wrap_wxBitmap_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1462 PyObject
* _resultobj
;
1465 PyObject
* _argo0
= 0;
1466 char *_kwnames
[] = { "self", NULL
};
1469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_Ok",_kwnames
,&_argo0
))
1472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_Ok. Expected _wxBitmap_p.");
1479 wxPy_BEGIN_ALLOW_THREADS
;
1480 _result
= (bool )wxBitmap_Ok(_arg0
);
1482 wxPy_END_ALLOW_THREADS
;
1483 } _resultobj
= Py_BuildValue("i",_result
);
1487 #define wxBitmap_GetWidth(_swigobj) (_swigobj->GetWidth())
1488 static PyObject
*_wrap_wxBitmap_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1489 PyObject
* _resultobj
;
1492 PyObject
* _argo0
= 0;
1493 char *_kwnames
[] = { "self", NULL
};
1496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetWidth",_kwnames
,&_argo0
))
1499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetWidth. Expected _wxBitmap_p.");
1506 wxPy_BEGIN_ALLOW_THREADS
;
1507 _result
= (int )wxBitmap_GetWidth(_arg0
);
1509 wxPy_END_ALLOW_THREADS
;
1510 } _resultobj
= Py_BuildValue("i",_result
);
1514 #define wxBitmap_GetHeight(_swigobj) (_swigobj->GetHeight())
1515 static PyObject
*_wrap_wxBitmap_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1516 PyObject
* _resultobj
;
1519 PyObject
* _argo0
= 0;
1520 char *_kwnames
[] = { "self", NULL
};
1523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetHeight",_kwnames
,&_argo0
))
1526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetHeight. Expected _wxBitmap_p.");
1533 wxPy_BEGIN_ALLOW_THREADS
;
1534 _result
= (int )wxBitmap_GetHeight(_arg0
);
1536 wxPy_END_ALLOW_THREADS
;
1537 } _resultobj
= Py_BuildValue("i",_result
);
1541 #define wxBitmap_GetDepth(_swigobj) (_swigobj->GetDepth())
1542 static PyObject
*_wrap_wxBitmap_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1543 PyObject
* _resultobj
;
1546 PyObject
* _argo0
= 0;
1547 char *_kwnames
[] = { "self", NULL
};
1550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetDepth",_kwnames
,&_argo0
))
1553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetDepth. Expected _wxBitmap_p.");
1560 wxPy_BEGIN_ALLOW_THREADS
;
1561 _result
= (int )wxBitmap_GetDepth(_arg0
);
1563 wxPy_END_ALLOW_THREADS
;
1564 } _resultobj
= Py_BuildValue("i",_result
);
1568 #define wxBitmap_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1569 static PyObject
*_wrap_wxBitmap_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1570 PyObject
* _resultobj
;
1573 PyObject
* _argo0
= 0;
1574 char *_kwnames
[] = { "self","w", NULL
};
1577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetWidth",_kwnames
,&_argo0
,&_arg1
))
1580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetWidth. Expected _wxBitmap_p.");
1587 wxPy_BEGIN_ALLOW_THREADS
;
1588 wxBitmap_SetWidth(_arg0
,_arg1
);
1590 wxPy_END_ALLOW_THREADS
;
1591 } Py_INCREF(Py_None
);
1592 _resultobj
= Py_None
;
1596 #define wxBitmap_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1597 static PyObject
*_wrap_wxBitmap_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1598 PyObject
* _resultobj
;
1601 PyObject
* _argo0
= 0;
1602 char *_kwnames
[] = { "self","h", NULL
};
1605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetHeight",_kwnames
,&_argo0
,&_arg1
))
1608 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1609 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetHeight. Expected _wxBitmap_p.");
1615 wxPy_BEGIN_ALLOW_THREADS
;
1616 wxBitmap_SetHeight(_arg0
,_arg1
);
1618 wxPy_END_ALLOW_THREADS
;
1619 } Py_INCREF(Py_None
);
1620 _resultobj
= Py_None
;
1624 #define wxBitmap_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
1625 static PyObject
*_wrap_wxBitmap_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1626 PyObject
* _resultobj
;
1629 PyObject
* _argo0
= 0;
1630 char *_kwnames
[] = { "self","d", NULL
};
1633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetDepth",_kwnames
,&_argo0
,&_arg1
))
1636 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1637 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetDepth. Expected _wxBitmap_p.");
1643 wxPy_BEGIN_ALLOW_THREADS
;
1644 wxBitmap_SetDepth(_arg0
,_arg1
);
1646 wxPy_END_ALLOW_THREADS
;
1647 } Py_INCREF(Py_None
);
1648 _resultobj
= Py_None
;
1652 #define wxBitmap_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
1653 static PyObject
*_wrap_wxBitmap_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1654 PyObject
* _resultobj
;
1657 PyObject
* _argo0
= 0;
1659 PyObject
* _obj1
= 0;
1660 char *_kwnames
[] = { "self","size", NULL
};
1663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_SetSize",_kwnames
,&_argo0
,&_obj1
))
1666 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1667 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetSize. Expected _wxBitmap_p.");
1674 if (! wxSize_helper(_obj1
, &_arg1
))
1678 wxPy_BEGIN_ALLOW_THREADS
;
1679 wxBitmap_SetSize(_arg0
,*_arg1
);
1681 wxPy_END_ALLOW_THREADS
;
1682 } Py_INCREF(Py_None
);
1683 _resultobj
= Py_None
;
1687 #define wxBitmap_GetSubBitmap(_swigobj,_swigarg0) (_swigobj->GetSubBitmap(_swigarg0))
1688 static PyObject
*_wrap_wxBitmap_GetSubBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1689 PyObject
* _resultobj
;
1693 PyObject
* _argo0
= 0;
1695 PyObject
* _obj1
= 0;
1696 char *_kwnames
[] = { "self","rect", NULL
};
1700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_GetSubBitmap",_kwnames
,&_argo0
,&_obj1
))
1703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetSubBitmap. Expected _wxBitmap_p.");
1711 if (! wxRect_helper(_obj1
, &_arg1
))
1715 wxPy_BEGIN_ALLOW_THREADS
;
1716 _result
= new wxBitmap (wxBitmap_GetSubBitmap(_arg0
,*_arg1
));
1718 wxPy_END_ALLOW_THREADS
;
1719 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1720 _resultobj
= Py_BuildValue("s",_ptemp
);
1724 #define wxBitmap_CopyFromIcon(_swigobj,_swigarg0) (_swigobj->CopyFromIcon(_swigarg0))
1725 static PyObject
*_wrap_wxBitmap_CopyFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1726 PyObject
* _resultobj
;
1730 PyObject
* _argo0
= 0;
1731 PyObject
* _argo1
= 0;
1732 char *_kwnames
[] = { "self","icon", NULL
};
1735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_CopyFromIcon",_kwnames
,&_argo0
,&_argo1
))
1738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_CopyFromIcon. Expected _wxBitmap_p.");
1745 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1746 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
1747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_CopyFromIcon. Expected _wxIcon_p.");
1752 wxPy_BEGIN_ALLOW_THREADS
;
1753 _result
= (bool )wxBitmap_CopyFromIcon(_arg0
,*_arg1
);
1755 wxPy_END_ALLOW_THREADS
;
1756 } _resultobj
= Py_BuildValue("i",_result
);
1760 #define wxBitmap_CopyFromCursor(_swigobj,_swigarg0) (_swigobj->CopyFromCursor(_swigarg0))
1761 static PyObject
*_wrap_wxBitmap_CopyFromCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1762 PyObject
* _resultobj
;
1766 PyObject
* _argo0
= 0;
1767 PyObject
* _argo1
= 0;
1768 char *_kwnames
[] = { "self","cursor", NULL
};
1771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_CopyFromCursor",_kwnames
,&_argo0
,&_argo1
))
1774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_CopyFromCursor. Expected _wxBitmap_p.");
1781 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1782 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
1783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_CopyFromCursor. Expected _wxCursor_p.");
1788 wxPy_BEGIN_ALLOW_THREADS
;
1789 _result
= (bool )wxBitmap_CopyFromCursor(_arg0
,*_arg1
);
1791 wxPy_END_ALLOW_THREADS
;
1792 } _resultobj
= Py_BuildValue("i",_result
);
1796 #define wxBitmap_GetQuality(_swigobj) (_swigobj->GetQuality())
1797 static PyObject
*_wrap_wxBitmap_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1798 PyObject
* _resultobj
;
1801 PyObject
* _argo0
= 0;
1802 char *_kwnames
[] = { "self", NULL
};
1805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetQuality",_kwnames
,&_argo0
))
1808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetQuality. Expected _wxBitmap_p.");
1815 wxPy_BEGIN_ALLOW_THREADS
;
1816 _result
= (int )wxBitmap_GetQuality(_arg0
);
1818 wxPy_END_ALLOW_THREADS
;
1819 } _resultobj
= Py_BuildValue("i",_result
);
1823 #define wxBitmap_SetQuality(_swigobj,_swigarg0) (_swigobj->SetQuality(_swigarg0))
1824 static PyObject
*_wrap_wxBitmap_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1825 PyObject
* _resultobj
;
1828 PyObject
* _argo0
= 0;
1829 char *_kwnames
[] = { "self","q", NULL
};
1832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetQuality",_kwnames
,&_argo0
,&_arg1
))
1835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetQuality. Expected _wxBitmap_p.");
1842 wxPy_BEGIN_ALLOW_THREADS
;
1843 wxBitmap_SetQuality(_arg0
,_arg1
);
1845 wxPy_END_ALLOW_THREADS
;
1846 } Py_INCREF(Py_None
);
1847 _resultobj
= Py_None
;
1851 #define new_wxMask(_swigarg0) (new wxMask(_swigarg0))
1852 static PyObject
*_wrap_new_wxMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1853 PyObject
* _resultobj
;
1856 PyObject
* _argo0
= 0;
1857 char *_kwnames
[] = { "bitmap", NULL
};
1861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxMask",_kwnames
,&_argo0
))
1864 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1865 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMask. Expected _wxBitmap_p.");
1871 wxPy_BEGIN_ALLOW_THREADS
;
1872 _result
= (wxMask
*)new_wxMask(*_arg0
);
1874 wxPy_END_ALLOW_THREADS
;
1876 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
1877 _resultobj
= Py_BuildValue("s",_ptemp
);
1880 _resultobj
= Py_None
;
1885 #define new_wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1886 static PyObject
*_wrap_new_wxIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1887 PyObject
* _resultobj
;
1891 int _arg2
= (int ) -1;
1892 int _arg3
= (int ) -1;
1893 PyObject
* _obj0
= 0;
1894 char *_kwnames
[] = { "name","flags","desiredWidth","desiredHeight", NULL
};
1898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:new_wxIcon",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
))
1901 #if PYTHON_API_VERSION >= 1009
1902 char* tmpPtr
; int tmpSize
;
1903 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1904 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1907 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1909 _arg0
= new wxString(tmpPtr
, tmpSize
);
1911 if (!PyString_Check(_obj0
)) {
1912 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1915 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1919 wxPy_BEGIN_ALLOW_THREADS
;
1920 _result
= (wxIcon
*)new_wxIcon(*_arg0
,_arg1
,_arg2
,_arg3
);
1922 wxPy_END_ALLOW_THREADS
;
1924 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
1925 _resultobj
= Py_BuildValue("s",_ptemp
);
1928 _resultobj
= Py_None
;
1937 #define delete_wxIcon(_swigobj) (delete _swigobj)
1938 static PyObject
*_wrap_delete_wxIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1939 PyObject
* _resultobj
;
1941 PyObject
* _argo0
= 0;
1942 char *_kwnames
[] = { "self", NULL
};
1945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxIcon",_kwnames
,&_argo0
))
1948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxIcon. Expected _wxIcon_p.");
1955 wxPy_BEGIN_ALLOW_THREADS
;
1956 delete_wxIcon(_arg0
);
1958 wxPy_END_ALLOW_THREADS
;
1959 } Py_INCREF(Py_None
);
1960 _resultobj
= Py_None
;
1964 #define wxIcon_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1965 static PyObject
*_wrap_wxIcon_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1966 PyObject
* _resultobj
;
1971 PyObject
* _argo0
= 0;
1972 PyObject
* _obj1
= 0;
1973 char *_kwnames
[] = { "self","name","flags", NULL
};
1976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOl:wxIcon_LoadFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_LoadFile. Expected _wxIcon_p.");
1986 #if PYTHON_API_VERSION >= 1009
1987 char* tmpPtr
; int tmpSize
;
1988 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1989 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1992 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1994 _arg1
= new wxString(tmpPtr
, tmpSize
);
1996 if (!PyString_Check(_obj1
)) {
1997 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2000 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2004 wxPy_BEGIN_ALLOW_THREADS
;
2005 _result
= (bool )wxIcon_LoadFile(_arg0
,*_arg1
,_arg2
);
2007 wxPy_END_ALLOW_THREADS
;
2008 } _resultobj
= Py_BuildValue("i",_result
);
2016 #define wxIcon_GetHandle(_swigobj) (_swigobj->GetHandle())
2017 static PyObject
*_wrap_wxIcon_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2018 PyObject
* _resultobj
;
2021 PyObject
* _argo0
= 0;
2022 char *_kwnames
[] = { "self", NULL
};
2025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetHandle",_kwnames
,&_argo0
))
2028 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2029 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetHandle. Expected _wxIcon_p.");
2035 wxPy_BEGIN_ALLOW_THREADS
;
2036 _result
= (long )wxIcon_GetHandle(_arg0
);
2038 wxPy_END_ALLOW_THREADS
;
2039 } _resultobj
= Py_BuildValue("l",_result
);
2043 #define wxIcon_SetHandle(_swigobj,_swigarg0) (_swigobj->SetHandle(_swigarg0))
2044 static PyObject
*_wrap_wxIcon_SetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2045 PyObject
* _resultobj
;
2048 PyObject
* _argo0
= 0;
2049 char *_kwnames
[] = { "self","handle", NULL
};
2052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxIcon_SetHandle",_kwnames
,&_argo0
,&_arg1
))
2055 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2056 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetHandle. Expected _wxIcon_p.");
2062 wxPy_BEGIN_ALLOW_THREADS
;
2063 wxIcon_SetHandle(_arg0
,_arg1
);
2065 wxPy_END_ALLOW_THREADS
;
2066 } Py_INCREF(Py_None
);
2067 _resultobj
= Py_None
;
2071 #define wxIcon_Ok(_swigobj) (_swigobj->Ok())
2072 static PyObject
*_wrap_wxIcon_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2073 PyObject
* _resultobj
;
2076 PyObject
* _argo0
= 0;
2077 char *_kwnames
[] = { "self", NULL
};
2080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_Ok",_kwnames
,&_argo0
))
2083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_Ok. Expected _wxIcon_p.");
2090 wxPy_BEGIN_ALLOW_THREADS
;
2091 _result
= (bool )wxIcon_Ok(_arg0
);
2093 wxPy_END_ALLOW_THREADS
;
2094 } _resultobj
= Py_BuildValue("i",_result
);
2098 #define wxIcon_GetWidth(_swigobj) (_swigobj->GetWidth())
2099 static PyObject
*_wrap_wxIcon_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2100 PyObject
* _resultobj
;
2103 PyObject
* _argo0
= 0;
2104 char *_kwnames
[] = { "self", NULL
};
2107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetWidth",_kwnames
,&_argo0
))
2110 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2111 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetWidth. Expected _wxIcon_p.");
2117 wxPy_BEGIN_ALLOW_THREADS
;
2118 _result
= (int )wxIcon_GetWidth(_arg0
);
2120 wxPy_END_ALLOW_THREADS
;
2121 } _resultobj
= Py_BuildValue("i",_result
);
2125 #define wxIcon_GetHeight(_swigobj) (_swigobj->GetHeight())
2126 static PyObject
*_wrap_wxIcon_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2127 PyObject
* _resultobj
;
2130 PyObject
* _argo0
= 0;
2131 char *_kwnames
[] = { "self", NULL
};
2134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetHeight",_kwnames
,&_argo0
))
2137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetHeight. Expected _wxIcon_p.");
2144 wxPy_BEGIN_ALLOW_THREADS
;
2145 _result
= (int )wxIcon_GetHeight(_arg0
);
2147 wxPy_END_ALLOW_THREADS
;
2148 } _resultobj
= Py_BuildValue("i",_result
);
2152 #define wxIcon_GetDepth(_swigobj) (_swigobj->GetDepth())
2153 static PyObject
*_wrap_wxIcon_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2154 PyObject
* _resultobj
;
2157 PyObject
* _argo0
= 0;
2158 char *_kwnames
[] = { "self", NULL
};
2161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetDepth",_kwnames
,&_argo0
))
2164 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2165 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetDepth. Expected _wxIcon_p.");
2171 wxPy_BEGIN_ALLOW_THREADS
;
2172 _result
= (int )wxIcon_GetDepth(_arg0
);
2174 wxPy_END_ALLOW_THREADS
;
2175 } _resultobj
= Py_BuildValue("i",_result
);
2179 #define wxIcon_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2180 static PyObject
*_wrap_wxIcon_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2181 PyObject
* _resultobj
;
2184 PyObject
* _argo0
= 0;
2185 char *_kwnames
[] = { "self","w", NULL
};
2188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetWidth",_kwnames
,&_argo0
,&_arg1
))
2191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetWidth. Expected _wxIcon_p.");
2198 wxPy_BEGIN_ALLOW_THREADS
;
2199 wxIcon_SetWidth(_arg0
,_arg1
);
2201 wxPy_END_ALLOW_THREADS
;
2202 } Py_INCREF(Py_None
);
2203 _resultobj
= Py_None
;
2207 #define wxIcon_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
2208 static PyObject
*_wrap_wxIcon_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2209 PyObject
* _resultobj
;
2212 PyObject
* _argo0
= 0;
2213 char *_kwnames
[] = { "self","h", NULL
};
2216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetHeight",_kwnames
,&_argo0
,&_arg1
))
2219 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2220 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetHeight. Expected _wxIcon_p.");
2226 wxPy_BEGIN_ALLOW_THREADS
;
2227 wxIcon_SetHeight(_arg0
,_arg1
);
2229 wxPy_END_ALLOW_THREADS
;
2230 } Py_INCREF(Py_None
);
2231 _resultobj
= Py_None
;
2235 #define wxIcon_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
2236 static PyObject
*_wrap_wxIcon_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2237 PyObject
* _resultobj
;
2240 PyObject
* _argo0
= 0;
2241 char *_kwnames
[] = { "self","d", NULL
};
2244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetDepth",_kwnames
,&_argo0
,&_arg1
))
2247 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2248 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetDepth. Expected _wxIcon_p.");
2254 wxPy_BEGIN_ALLOW_THREADS
;
2255 wxIcon_SetDepth(_arg0
,_arg1
);
2257 wxPy_END_ALLOW_THREADS
;
2258 } Py_INCREF(Py_None
);
2259 _resultobj
= Py_None
;
2263 #define wxIcon_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2264 static PyObject
*_wrap_wxIcon_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2265 PyObject
* _resultobj
;
2268 PyObject
* _argo0
= 0;
2270 PyObject
* _obj1
= 0;
2271 char *_kwnames
[] = { "self","size", NULL
};
2274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIcon_SetSize",_kwnames
,&_argo0
,&_obj1
))
2277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetSize. Expected _wxIcon_p.");
2285 if (! wxSize_helper(_obj1
, &_arg1
))
2289 wxPy_BEGIN_ALLOW_THREADS
;
2290 wxIcon_SetSize(_arg0
,*_arg1
);
2292 wxPy_END_ALLOW_THREADS
;
2293 } Py_INCREF(Py_None
);
2294 _resultobj
= Py_None
;
2298 #define new_wxCursor(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxCursor(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2299 static PyObject
*_wrap_new_wxCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2300 PyObject
* _resultobj
;
2304 int _arg2
= (int ) 0;
2305 int _arg3
= (int ) 0;
2306 PyObject
* _obj0
= 0;
2307 char *_kwnames
[] = { "cursorName","flags","hotSpotX","hotSpotY", NULL
};
2311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:new_wxCursor",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
))
2314 #if PYTHON_API_VERSION >= 1009
2315 char* tmpPtr
; int tmpSize
;
2316 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2317 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
2320 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2322 _arg0
= new wxString(tmpPtr
, tmpSize
);
2324 if (!PyString_Check(_obj0
)) {
2325 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2328 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2332 wxPy_BEGIN_ALLOW_THREADS
;
2333 _result
= (wxCursor
*)new_wxCursor(*_arg0
,_arg1
,_arg2
,_arg3
);
2335 wxPy_END_ALLOW_THREADS
;
2337 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCursor_p");
2338 _resultobj
= Py_BuildValue("s",_ptemp
);
2341 _resultobj
= Py_None
;
2350 #define delete_wxCursor(_swigobj) (delete _swigobj)
2351 static PyObject
*_wrap_delete_wxCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2352 PyObject
* _resultobj
;
2354 PyObject
* _argo0
= 0;
2355 char *_kwnames
[] = { "self", NULL
};
2358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCursor",_kwnames
,&_argo0
))
2361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCursor. Expected _wxCursor_p.");
2368 wxPy_BEGIN_ALLOW_THREADS
;
2369 delete_wxCursor(_arg0
);
2371 wxPy_END_ALLOW_THREADS
;
2372 } Py_INCREF(Py_None
);
2373 _resultobj
= Py_None
;
2377 #define wxCursor_GetHandle(_swigobj) (_swigobj->GetHandle())
2378 static PyObject
*_wrap_wxCursor_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2379 PyObject
* _resultobj
;
2382 PyObject
* _argo0
= 0;
2383 char *_kwnames
[] = { "self", NULL
};
2386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCursor_GetHandle",_kwnames
,&_argo0
))
2389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_GetHandle. Expected _wxCursor_p.");
2396 wxPy_BEGIN_ALLOW_THREADS
;
2397 _result
= (long )wxCursor_GetHandle(_arg0
);
2399 wxPy_END_ALLOW_THREADS
;
2400 } _resultobj
= Py_BuildValue("l",_result
);
2404 #define wxCursor_SetHandle(_swigobj,_swigarg0) (_swigobj->SetHandle(_swigarg0))
2405 static PyObject
*_wrap_wxCursor_SetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2406 PyObject
* _resultobj
;
2409 PyObject
* _argo0
= 0;
2410 char *_kwnames
[] = { "self","handle", NULL
};
2413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxCursor_SetHandle",_kwnames
,&_argo0
,&_arg1
))
2416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_SetHandle. Expected _wxCursor_p.");
2423 wxPy_BEGIN_ALLOW_THREADS
;
2424 wxCursor_SetHandle(_arg0
,_arg1
);
2426 wxPy_END_ALLOW_THREADS
;
2427 } Py_INCREF(Py_None
);
2428 _resultobj
= Py_None
;
2432 #define wxCursor_Ok(_swigobj) (_swigobj->Ok())
2433 static PyObject
*_wrap_wxCursor_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2434 PyObject
* _resultobj
;
2437 PyObject
* _argo0
= 0;
2438 char *_kwnames
[] = { "self", NULL
};
2441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCursor_Ok",_kwnames
,&_argo0
))
2444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_Ok. Expected _wxCursor_p.");
2451 wxPy_BEGIN_ALLOW_THREADS
;
2452 _result
= (bool )wxCursor_Ok(_arg0
);
2454 wxPy_END_ALLOW_THREADS
;
2455 } _resultobj
= Py_BuildValue("i",_result
);
2459 #define wxCursor_GetWidth(_swigobj) (_swigobj->GetWidth())
2460 static PyObject
*_wrap_wxCursor_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2461 PyObject
* _resultobj
;
2464 PyObject
* _argo0
= 0;
2465 char *_kwnames
[] = { "self", NULL
};
2468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCursor_GetWidth",_kwnames
,&_argo0
))
2471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_GetWidth. Expected _wxCursor_p.");
2478 wxPy_BEGIN_ALLOW_THREADS
;
2479 _result
= (int )wxCursor_GetWidth(_arg0
);
2481 wxPy_END_ALLOW_THREADS
;
2482 } _resultobj
= Py_BuildValue("i",_result
);
2486 #define wxCursor_GetHeight(_swigobj) (_swigobj->GetHeight())
2487 static PyObject
*_wrap_wxCursor_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2488 PyObject
* _resultobj
;
2491 PyObject
* _argo0
= 0;
2492 char *_kwnames
[] = { "self", NULL
};
2495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCursor_GetHeight",_kwnames
,&_argo0
))
2498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_GetHeight. Expected _wxCursor_p.");
2505 wxPy_BEGIN_ALLOW_THREADS
;
2506 _result
= (int )wxCursor_GetHeight(_arg0
);
2508 wxPy_END_ALLOW_THREADS
;
2509 } _resultobj
= Py_BuildValue("i",_result
);
2513 #define wxCursor_GetDepth(_swigobj) (_swigobj->GetDepth())
2514 static PyObject
*_wrap_wxCursor_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2515 PyObject
* _resultobj
;
2518 PyObject
* _argo0
= 0;
2519 char *_kwnames
[] = { "self", NULL
};
2522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCursor_GetDepth",_kwnames
,&_argo0
))
2525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_GetDepth. Expected _wxCursor_p.");
2532 wxPy_BEGIN_ALLOW_THREADS
;
2533 _result
= (int )wxCursor_GetDepth(_arg0
);
2535 wxPy_END_ALLOW_THREADS
;
2536 } _resultobj
= Py_BuildValue("i",_result
);
2540 #define wxCursor_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2541 static PyObject
*_wrap_wxCursor_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2542 PyObject
* _resultobj
;
2545 PyObject
* _argo0
= 0;
2546 char *_kwnames
[] = { "self","w", NULL
};
2549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCursor_SetWidth",_kwnames
,&_argo0
,&_arg1
))
2552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_SetWidth. Expected _wxCursor_p.");
2559 wxPy_BEGIN_ALLOW_THREADS
;
2560 wxCursor_SetWidth(_arg0
,_arg1
);
2562 wxPy_END_ALLOW_THREADS
;
2563 } Py_INCREF(Py_None
);
2564 _resultobj
= Py_None
;
2568 #define wxCursor_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
2569 static PyObject
*_wrap_wxCursor_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2570 PyObject
* _resultobj
;
2573 PyObject
* _argo0
= 0;
2574 char *_kwnames
[] = { "self","h", NULL
};
2577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCursor_SetHeight",_kwnames
,&_argo0
,&_arg1
))
2580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_SetHeight. Expected _wxCursor_p.");
2587 wxPy_BEGIN_ALLOW_THREADS
;
2588 wxCursor_SetHeight(_arg0
,_arg1
);
2590 wxPy_END_ALLOW_THREADS
;
2591 } Py_INCREF(Py_None
);
2592 _resultobj
= Py_None
;
2596 #define wxCursor_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
2597 static PyObject
*_wrap_wxCursor_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2598 PyObject
* _resultobj
;
2601 PyObject
* _argo0
= 0;
2602 char *_kwnames
[] = { "self","d", NULL
};
2605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCursor_SetDepth",_kwnames
,&_argo0
,&_arg1
))
2608 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2609 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_SetDepth. Expected _wxCursor_p.");
2615 wxPy_BEGIN_ALLOW_THREADS
;
2616 wxCursor_SetDepth(_arg0
,_arg1
);
2618 wxPy_END_ALLOW_THREADS
;
2619 } Py_INCREF(Py_None
);
2620 _resultobj
= Py_None
;
2624 #define wxCursor_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2625 static PyObject
*_wrap_wxCursor_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2626 PyObject
* _resultobj
;
2629 PyObject
* _argo0
= 0;
2631 PyObject
* _obj1
= 0;
2632 char *_kwnames
[] = { "self","size", NULL
};
2635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCursor_SetSize",_kwnames
,&_argo0
,&_obj1
))
2638 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2639 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_SetSize. Expected _wxCursor_p.");
2646 if (! wxSize_helper(_obj1
, &_arg1
))
2650 wxPy_BEGIN_ALLOW_THREADS
;
2651 wxCursor_SetSize(_arg0
,*_arg1
);
2653 wxPy_END_ALLOW_THREADS
;
2654 } Py_INCREF(Py_None
);
2655 _resultobj
= Py_None
;
2659 static wxFont
*new_wxFont(int pointSize
,int family
,int style
,int weight
,int underline
,char *faceName
,wxFontEncoding encoding
) {
2661 return wxTheFontList
->FindOrCreateFont(pointSize
, family
, style
, weight
,
2662 underline
, faceName
, encoding
);
2665 static PyObject
*_wrap_new_wxFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2666 PyObject
* _resultobj
;
2672 int _arg4
= (int ) FALSE
;
2673 char * _arg5
= (char *) "";
2674 wxFontEncoding _arg6
= (wxFontEncoding
) (wxFONTENCODING_DEFAULT
);
2675 char *_kwnames
[] = { "pointSize","family","style","weight","underline","faceName","encoding", NULL
};
2679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiii|isi:new_wxFont",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
2682 wxPy_BEGIN_ALLOW_THREADS
;
2683 _result
= (wxFont
*)new_wxFont(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2685 wxPy_END_ALLOW_THREADS
;
2687 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
2688 _resultobj
= Py_BuildValue("s",_ptemp
);
2691 _resultobj
= Py_None
;
2696 #define wxFont_Ok(_swigobj) (_swigobj->Ok())
2697 static PyObject
*_wrap_wxFont_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2698 PyObject
* _resultobj
;
2701 PyObject
* _argo0
= 0;
2702 char *_kwnames
[] = { "self", NULL
};
2705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_Ok",_kwnames
,&_argo0
))
2708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_Ok. Expected _wxFont_p.");
2715 wxPy_BEGIN_ALLOW_THREADS
;
2716 _result
= (bool )wxFont_Ok(_arg0
);
2718 wxPy_END_ALLOW_THREADS
;
2719 } _resultobj
= Py_BuildValue("i",_result
);
2723 #define wxFont_GetFaceName(_swigobj) (_swigobj->GetFaceName())
2724 static PyObject
*_wrap_wxFont_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2725 PyObject
* _resultobj
;
2728 PyObject
* _argo0
= 0;
2729 char *_kwnames
[] = { "self", NULL
};
2732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFaceName",_kwnames
,&_argo0
))
2735 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2736 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFaceName. Expected _wxFont_p.");
2742 wxPy_BEGIN_ALLOW_THREADS
;
2743 _result
= new wxString (wxFont_GetFaceName(_arg0
));
2745 wxPy_END_ALLOW_THREADS
;
2747 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2755 #define wxFont_GetFamily(_swigobj) (_swigobj->GetFamily())
2756 static PyObject
*_wrap_wxFont_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2757 PyObject
* _resultobj
;
2760 PyObject
* _argo0
= 0;
2761 char *_kwnames
[] = { "self", NULL
};
2764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFamily",_kwnames
,&_argo0
))
2767 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2768 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFamily. Expected _wxFont_p.");
2774 wxPy_BEGIN_ALLOW_THREADS
;
2775 _result
= (int )wxFont_GetFamily(_arg0
);
2777 wxPy_END_ALLOW_THREADS
;
2778 } _resultobj
= Py_BuildValue("i",_result
);
2782 #define wxFont_GetFontId(_swigobj) (_swigobj->GetFontId())
2783 static PyObject
*_wrap_wxFont_GetFontId(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_GetFontId",_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_GetFontId. Expected _wxFont_p.");
2801 wxPy_BEGIN_ALLOW_THREADS
;
2802 _result
= (int )wxFont_GetFontId(_arg0
);
2804 wxPy_END_ALLOW_THREADS
;
2805 } _resultobj
= Py_BuildValue("i",_result
);
2809 #define wxFont_GetPointSize(_swigobj) (_swigobj->GetPointSize())
2810 static PyObject
*_wrap_wxFont_GetPointSize(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_GetPointSize",_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_GetPointSize. Expected _wxFont_p.");
2828 wxPy_BEGIN_ALLOW_THREADS
;
2829 _result
= (int )wxFont_GetPointSize(_arg0
);
2831 wxPy_END_ALLOW_THREADS
;
2832 } _resultobj
= Py_BuildValue("i",_result
);
2836 #define wxFont_GetStyle(_swigobj) (_swigobj->GetStyle())
2837 static PyObject
*_wrap_wxFont_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2838 PyObject
* _resultobj
;
2841 PyObject
* _argo0
= 0;
2842 char *_kwnames
[] = { "self", NULL
};
2845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetStyle",_kwnames
,&_argo0
))
2848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetStyle. Expected _wxFont_p.");
2855 wxPy_BEGIN_ALLOW_THREADS
;
2856 _result
= (int )wxFont_GetStyle(_arg0
);
2858 wxPy_END_ALLOW_THREADS
;
2859 } _resultobj
= Py_BuildValue("i",_result
);
2863 #define wxFont_GetUnderlined(_swigobj) (_swigobj->GetUnderlined())
2864 static PyObject
*_wrap_wxFont_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2865 PyObject
* _resultobj
;
2868 PyObject
* _argo0
= 0;
2869 char *_kwnames
[] = { "self", NULL
};
2872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetUnderlined",_kwnames
,&_argo0
))
2875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetUnderlined. Expected _wxFont_p.");
2882 wxPy_BEGIN_ALLOW_THREADS
;
2883 _result
= (bool )wxFont_GetUnderlined(_arg0
);
2885 wxPy_END_ALLOW_THREADS
;
2886 } _resultobj
= Py_BuildValue("i",_result
);
2890 #define wxFont_GetWeight(_swigobj) (_swigobj->GetWeight())
2891 static PyObject
*_wrap_wxFont_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2892 PyObject
* _resultobj
;
2895 PyObject
* _argo0
= 0;
2896 char *_kwnames
[] = { "self", NULL
};
2899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetWeight",_kwnames
,&_argo0
))
2902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetWeight. Expected _wxFont_p.");
2909 wxPy_BEGIN_ALLOW_THREADS
;
2910 _result
= (int )wxFont_GetWeight(_arg0
);
2912 wxPy_END_ALLOW_THREADS
;
2913 } _resultobj
= Py_BuildValue("i",_result
);
2917 #define wxFont_GetEncoding(_swigobj) (_swigobj->GetEncoding())
2918 static PyObject
*_wrap_wxFont_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2919 PyObject
* _resultobj
;
2920 wxFontEncoding _result
;
2922 PyObject
* _argo0
= 0;
2923 char *_kwnames
[] = { "self", NULL
};
2926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetEncoding",_kwnames
,&_argo0
))
2929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetEncoding. Expected _wxFont_p.");
2936 wxPy_BEGIN_ALLOW_THREADS
;
2937 _result
= (wxFontEncoding
)wxFont_GetEncoding(_arg0
);
2939 wxPy_END_ALLOW_THREADS
;
2940 } _resultobj
= Py_BuildValue("i",_result
);
2944 #define wxFont_SetFaceName(_swigobj,_swigarg0) (_swigobj->SetFaceName(_swigarg0))
2945 static PyObject
*_wrap_wxFont_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2946 PyObject
* _resultobj
;
2949 PyObject
* _argo0
= 0;
2950 PyObject
* _obj1
= 0;
2951 char *_kwnames
[] = { "self","faceName", NULL
};
2954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFont_SetFaceName",_kwnames
,&_argo0
,&_obj1
))
2957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFaceName. Expected _wxFont_p.");
2964 #if PYTHON_API_VERSION >= 1009
2965 char* tmpPtr
; int tmpSize
;
2966 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2967 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
2970 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2972 _arg1
= new wxString(tmpPtr
, tmpSize
);
2974 if (!PyString_Check(_obj1
)) {
2975 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2978 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2982 wxPy_BEGIN_ALLOW_THREADS
;
2983 wxFont_SetFaceName(_arg0
,*_arg1
);
2985 wxPy_END_ALLOW_THREADS
;
2986 } Py_INCREF(Py_None
);
2987 _resultobj
= Py_None
;
2995 #define wxFont_SetFamily(_swigobj,_swigarg0) (_swigobj->SetFamily(_swigarg0))
2996 static PyObject
*_wrap_wxFont_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2997 PyObject
* _resultobj
;
3000 PyObject
* _argo0
= 0;
3001 char *_kwnames
[] = { "self","family", NULL
};
3004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetFamily",_kwnames
,&_argo0
,&_arg1
))
3007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFamily. Expected _wxFont_p.");
3014 wxPy_BEGIN_ALLOW_THREADS
;
3015 wxFont_SetFamily(_arg0
,_arg1
);
3017 wxPy_END_ALLOW_THREADS
;
3018 } Py_INCREF(Py_None
);
3019 _resultobj
= Py_None
;
3023 #define wxFont_SetPointSize(_swigobj,_swigarg0) (_swigobj->SetPointSize(_swigarg0))
3024 static PyObject
*_wrap_wxFont_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3025 PyObject
* _resultobj
;
3028 PyObject
* _argo0
= 0;
3029 char *_kwnames
[] = { "self","pointSize", NULL
};
3032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetPointSize",_kwnames
,&_argo0
,&_arg1
))
3035 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3036 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetPointSize. Expected _wxFont_p.");
3042 wxPy_BEGIN_ALLOW_THREADS
;
3043 wxFont_SetPointSize(_arg0
,_arg1
);
3045 wxPy_END_ALLOW_THREADS
;
3046 } Py_INCREF(Py_None
);
3047 _resultobj
= Py_None
;
3051 #define wxFont_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
3052 static PyObject
*_wrap_wxFont_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3053 PyObject
* _resultobj
;
3056 PyObject
* _argo0
= 0;
3057 char *_kwnames
[] = { "self","style", NULL
};
3060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetStyle",_kwnames
,&_argo0
,&_arg1
))
3063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetStyle. Expected _wxFont_p.");
3070 wxPy_BEGIN_ALLOW_THREADS
;
3071 wxFont_SetStyle(_arg0
,_arg1
);
3073 wxPy_END_ALLOW_THREADS
;
3074 } Py_INCREF(Py_None
);
3075 _resultobj
= Py_None
;
3079 #define wxFont_SetUnderlined(_swigobj,_swigarg0) (_swigobj->SetUnderlined(_swigarg0))
3080 static PyObject
*_wrap_wxFont_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3081 PyObject
* _resultobj
;
3084 PyObject
* _argo0
= 0;
3086 char *_kwnames
[] = { "self","underlined", NULL
};
3089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetUnderlined",_kwnames
,&_argo0
,&tempbool1
))
3092 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3093 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetUnderlined. Expected _wxFont_p.");
3098 _arg1
= (bool ) tempbool1
;
3100 wxPy_BEGIN_ALLOW_THREADS
;
3101 wxFont_SetUnderlined(_arg0
,_arg1
);
3103 wxPy_END_ALLOW_THREADS
;
3104 } Py_INCREF(Py_None
);
3105 _resultobj
= Py_None
;
3109 #define wxFont_SetWeight(_swigobj,_swigarg0) (_swigobj->SetWeight(_swigarg0))
3110 static PyObject
*_wrap_wxFont_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3111 PyObject
* _resultobj
;
3114 PyObject
* _argo0
= 0;
3115 char *_kwnames
[] = { "self","weight", NULL
};
3118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetWeight",_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_SetWeight. Expected _wxFont_p.");
3128 wxPy_BEGIN_ALLOW_THREADS
;
3129 wxFont_SetWeight(_arg0
,_arg1
);
3131 wxPy_END_ALLOW_THREADS
;
3132 } Py_INCREF(Py_None
);
3133 _resultobj
= Py_None
;
3137 #define wxFont_SetEncoding(_swigobj,_swigarg0) (_swigobj->SetEncoding(_swigarg0))
3138 static PyObject
*_wrap_wxFont_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3139 PyObject
* _resultobj
;
3141 wxFontEncoding _arg1
;
3142 PyObject
* _argo0
= 0;
3143 char *_kwnames
[] = { "self","encoding", NULL
};
3146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetEncoding",_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_SetEncoding. Expected _wxFont_p.");
3156 wxPy_BEGIN_ALLOW_THREADS
;
3157 wxFont_SetEncoding(_arg0
,_arg1
);
3159 wxPy_END_ALLOW_THREADS
;
3160 } Py_INCREF(Py_None
);
3161 _resultobj
= Py_None
;
3165 #define wxFont_GetFamilyString(_swigobj) (_swigobj->GetFamilyString())
3166 static PyObject
*_wrap_wxFont_GetFamilyString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3167 PyObject
* _resultobj
;
3170 PyObject
* _argo0
= 0;
3171 char *_kwnames
[] = { "self", NULL
};
3174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFamilyString",_kwnames
,&_argo0
))
3177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFamilyString. Expected _wxFont_p.");
3184 wxPy_BEGIN_ALLOW_THREADS
;
3185 _result
= new wxString (wxFont_GetFamilyString(_arg0
));
3187 wxPy_END_ALLOW_THREADS
;
3189 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3197 #define wxFont_GetStyleString(_swigobj) (_swigobj->GetStyleString())
3198 static PyObject
*_wrap_wxFont_GetStyleString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3199 PyObject
* _resultobj
;
3202 PyObject
* _argo0
= 0;
3203 char *_kwnames
[] = { "self", NULL
};
3206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetStyleString",_kwnames
,&_argo0
))
3209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetStyleString. Expected _wxFont_p.");
3216 wxPy_BEGIN_ALLOW_THREADS
;
3217 _result
= new wxString (wxFont_GetStyleString(_arg0
));
3219 wxPy_END_ALLOW_THREADS
;
3221 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3229 #define wxFont_GetWeightString(_swigobj) (_swigobj->GetWeightString())
3230 static PyObject
*_wrap_wxFont_GetWeightString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3231 PyObject
* _resultobj
;
3234 PyObject
* _argo0
= 0;
3235 char *_kwnames
[] = { "self", NULL
};
3238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetWeightString",_kwnames
,&_argo0
))
3241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetWeightString. Expected _wxFont_p.");
3248 wxPy_BEGIN_ALLOW_THREADS
;
3249 _result
= new wxString (wxFont_GetWeightString(_arg0
));
3251 wxPy_END_ALLOW_THREADS
;
3253 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3261 #define new_wxColour(_swigarg0,_swigarg1,_swigarg2) (new wxColour(_swigarg0,_swigarg1,_swigarg2))
3262 static PyObject
*_wrap_new_wxColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3263 PyObject
* _resultobj
;
3265 unsigned char _arg0
= (unsigned char ) 0;
3266 unsigned char _arg1
= (unsigned char ) 0;
3267 unsigned char _arg2
= (unsigned char ) 0;
3268 char *_kwnames
[] = { "red","green","blue", NULL
};
3272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|bbb:new_wxColour",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
3275 wxPy_BEGIN_ALLOW_THREADS
;
3276 _result
= (wxColour
*)new_wxColour(_arg0
,_arg1
,_arg2
);
3278 wxPy_END_ALLOW_THREADS
;
3280 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3281 _resultobj
= Py_BuildValue("s",_ptemp
);
3284 _resultobj
= Py_None
;
3289 #define delete_wxColour(_swigobj) (delete _swigobj)
3290 static PyObject
*_wrap_delete_wxColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3291 PyObject
* _resultobj
;
3294 PyObject
* _obj0
= 0;
3295 char *_kwnames
[] = { "self", NULL
};
3298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxColour",_kwnames
,&_obj0
))
3302 if (! wxColour_helper(_obj0
, &_arg0
))
3306 wxPy_BEGIN_ALLOW_THREADS
;
3307 delete_wxColour(_arg0
);
3309 wxPy_END_ALLOW_THREADS
;
3310 } Py_INCREF(Py_None
);
3311 _resultobj
= Py_None
;
3315 #define wxColour_Red(_swigobj) (_swigobj->Red())
3316 static PyObject
*_wrap_wxColour_Red(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3317 PyObject
* _resultobj
;
3318 unsigned char _result
;
3321 PyObject
* _obj0
= 0;
3322 char *_kwnames
[] = { "self", NULL
};
3325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Red",_kwnames
,&_obj0
))
3329 if (! wxColour_helper(_obj0
, &_arg0
))
3333 wxPy_BEGIN_ALLOW_THREADS
;
3334 _result
= (unsigned char )wxColour_Red(_arg0
);
3336 wxPy_END_ALLOW_THREADS
;
3337 } _resultobj
= Py_BuildValue("b",_result
);
3341 #define wxColour_Green(_swigobj) (_swigobj->Green())
3342 static PyObject
*_wrap_wxColour_Green(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3343 PyObject
* _resultobj
;
3344 unsigned char _result
;
3347 PyObject
* _obj0
= 0;
3348 char *_kwnames
[] = { "self", NULL
};
3351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Green",_kwnames
,&_obj0
))
3355 if (! wxColour_helper(_obj0
, &_arg0
))
3359 wxPy_BEGIN_ALLOW_THREADS
;
3360 _result
= (unsigned char )wxColour_Green(_arg0
);
3362 wxPy_END_ALLOW_THREADS
;
3363 } _resultobj
= Py_BuildValue("b",_result
);
3367 #define wxColour_Blue(_swigobj) (_swigobj->Blue())
3368 static PyObject
*_wrap_wxColour_Blue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3369 PyObject
* _resultobj
;
3370 unsigned char _result
;
3373 PyObject
* _obj0
= 0;
3374 char *_kwnames
[] = { "self", NULL
};
3377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Blue",_kwnames
,&_obj0
))
3381 if (! wxColour_helper(_obj0
, &_arg0
))
3385 wxPy_BEGIN_ALLOW_THREADS
;
3386 _result
= (unsigned char )wxColour_Blue(_arg0
);
3388 wxPy_END_ALLOW_THREADS
;
3389 } _resultobj
= Py_BuildValue("b",_result
);
3393 #define wxColour_Ok(_swigobj) (_swigobj->Ok())
3394 static PyObject
*_wrap_wxColour_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3395 PyObject
* _resultobj
;
3399 PyObject
* _obj0
= 0;
3400 char *_kwnames
[] = { "self", NULL
};
3403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Ok",_kwnames
,&_obj0
))
3407 if (! wxColour_helper(_obj0
, &_arg0
))
3411 wxPy_BEGIN_ALLOW_THREADS
;
3412 _result
= (bool )wxColour_Ok(_arg0
);
3414 wxPy_END_ALLOW_THREADS
;
3415 } _resultobj
= Py_BuildValue("i",_result
);
3419 #define wxColour_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
3420 static PyObject
*_wrap_wxColour_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3421 PyObject
* _resultobj
;
3423 unsigned char _arg1
;
3424 unsigned char _arg2
;
3425 unsigned char _arg3
;
3427 PyObject
* _obj0
= 0;
3428 char *_kwnames
[] = { "self","red","green","blue", NULL
};
3431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Obbb:wxColour_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
))
3435 if (! wxColour_helper(_obj0
, &_arg0
))
3439 wxPy_BEGIN_ALLOW_THREADS
;
3440 wxColour_Set(_arg0
,_arg1
,_arg2
,_arg3
);
3442 wxPy_END_ALLOW_THREADS
;
3443 } Py_INCREF(Py_None
);
3444 _resultobj
= Py_None
;
3448 static PyObject
* wxColour_Get(wxColour
*self
) {
3449 PyObject
* rv
= PyTuple_New(3);
3450 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3451 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3452 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3455 static PyObject
*_wrap_wxColour_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3456 PyObject
* _resultobj
;
3460 PyObject
* _obj0
= 0;
3461 char *_kwnames
[] = { "self", NULL
};
3464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Get",_kwnames
,&_obj0
))
3468 if (! wxColour_helper(_obj0
, &_arg0
))
3472 wxPy_BEGIN_ALLOW_THREADS
;
3473 _result
= (PyObject
*)wxColour_Get(_arg0
);
3475 wxPy_END_ALLOW_THREADS
;
3477 _resultobj
= _result
;
3482 static wxPen
*new_wxPen(wxColour
*colour
,int width
,int style
) {
3483 return wxThePenList
->FindOrCreatePen(*colour
, width
, style
);
3486 static PyObject
*_wrap_new_wxPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3487 PyObject
* _resultobj
;
3490 int _arg1
= (int ) 1;
3491 int _arg2
= (int ) wxSOLID
;
3493 PyObject
* _obj0
= 0;
3494 char *_kwnames
[] = { "colour","width","style", NULL
};
3498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:new_wxPen",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
3502 if (! wxColour_helper(_obj0
, &_arg0
))
3506 wxPy_BEGIN_ALLOW_THREADS
;
3507 _result
= (wxPen
*)new_wxPen(_arg0
,_arg1
,_arg2
);
3509 wxPy_END_ALLOW_THREADS
;
3511 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
3512 _resultobj
= Py_BuildValue("s",_ptemp
);
3515 _resultobj
= Py_None
;
3520 #define wxPen_GetCap(_swigobj) (_swigobj->GetCap())
3521 static PyObject
*_wrap_wxPen_GetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3522 PyObject
* _resultobj
;
3525 PyObject
* _argo0
= 0;
3526 char *_kwnames
[] = { "self", NULL
};
3529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetCap",_kwnames
,&_argo0
))
3532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetCap. Expected _wxPen_p.");
3539 wxPy_BEGIN_ALLOW_THREADS
;
3540 _result
= (int )wxPen_GetCap(_arg0
);
3542 wxPy_END_ALLOW_THREADS
;
3543 } _resultobj
= Py_BuildValue("i",_result
);
3547 #define wxPen_GetColour(_swigobj) (_swigobj->GetColour())
3548 static PyObject
*_wrap_wxPen_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3549 PyObject
* _resultobj
;
3552 PyObject
* _argo0
= 0;
3553 char *_kwnames
[] = { "self", NULL
};
3557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetColour",_kwnames
,&_argo0
))
3560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetColour. Expected _wxPen_p.");
3567 wxPy_BEGIN_ALLOW_THREADS
;
3568 wxColour
& _result_ref
= wxPen_GetColour(_arg0
);
3569 _result
= (wxColour
*) &_result_ref
;
3571 wxPy_END_ALLOW_THREADS
;
3573 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3574 _resultobj
= Py_BuildValue("s",_ptemp
);
3577 _resultobj
= Py_None
;
3582 #define wxPen_GetJoin(_swigobj) (_swigobj->GetJoin())
3583 static PyObject
*_wrap_wxPen_GetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3584 PyObject
* _resultobj
;
3587 PyObject
* _argo0
= 0;
3588 char *_kwnames
[] = { "self", NULL
};
3591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetJoin",_kwnames
,&_argo0
))
3594 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3595 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetJoin. Expected _wxPen_p.");
3601 wxPy_BEGIN_ALLOW_THREADS
;
3602 _result
= (int )wxPen_GetJoin(_arg0
);
3604 wxPy_END_ALLOW_THREADS
;
3605 } _resultobj
= Py_BuildValue("i",_result
);
3609 #define wxPen_GetStyle(_swigobj) (_swigobj->GetStyle())
3610 static PyObject
*_wrap_wxPen_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3611 PyObject
* _resultobj
;
3614 PyObject
* _argo0
= 0;
3615 char *_kwnames
[] = { "self", NULL
};
3618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetStyle",_kwnames
,&_argo0
))
3621 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3622 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetStyle. Expected _wxPen_p.");
3628 wxPy_BEGIN_ALLOW_THREADS
;
3629 _result
= (int )wxPen_GetStyle(_arg0
);
3631 wxPy_END_ALLOW_THREADS
;
3632 } _resultobj
= Py_BuildValue("i",_result
);
3636 #define wxPen_GetWidth(_swigobj) (_swigobj->GetWidth())
3637 static PyObject
*_wrap_wxPen_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3638 PyObject
* _resultobj
;
3641 PyObject
* _argo0
= 0;
3642 char *_kwnames
[] = { "self", NULL
};
3645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetWidth",_kwnames
,&_argo0
))
3648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetWidth. Expected _wxPen_p.");
3655 wxPy_BEGIN_ALLOW_THREADS
;
3656 _result
= (int )wxPen_GetWidth(_arg0
);
3658 wxPy_END_ALLOW_THREADS
;
3659 } _resultobj
= Py_BuildValue("i",_result
);
3663 #define wxPen_Ok(_swigobj) (_swigobj->Ok())
3664 static PyObject
*_wrap_wxPen_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3665 PyObject
* _resultobj
;
3668 PyObject
* _argo0
= 0;
3669 char *_kwnames
[] = { "self", NULL
};
3672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_Ok",_kwnames
,&_argo0
))
3675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_Ok. Expected _wxPen_p.");
3682 wxPy_BEGIN_ALLOW_THREADS
;
3683 _result
= (bool )wxPen_Ok(_arg0
);
3685 wxPy_END_ALLOW_THREADS
;
3686 } _resultobj
= Py_BuildValue("i",_result
);
3690 #define wxPen_SetCap(_swigobj,_swigarg0) (_swigobj->SetCap(_swigarg0))
3691 static PyObject
*_wrap_wxPen_SetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3692 PyObject
* _resultobj
;
3695 PyObject
* _argo0
= 0;
3696 char *_kwnames
[] = { "self","cap_style", NULL
};
3699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetCap",_kwnames
,&_argo0
,&_arg1
))
3702 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3703 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetCap. Expected _wxPen_p.");
3709 wxPy_BEGIN_ALLOW_THREADS
;
3710 wxPen_SetCap(_arg0
,_arg1
);
3712 wxPy_END_ALLOW_THREADS
;
3713 } Py_INCREF(Py_None
);
3714 _resultobj
= Py_None
;
3718 #define wxPen_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
3719 static PyObject
*_wrap_wxPen_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3720 PyObject
* _resultobj
;
3723 PyObject
* _argo0
= 0;
3725 PyObject
* _obj1
= 0;
3726 char *_kwnames
[] = { "self","colour", NULL
};
3729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetColour",_kwnames
,&_argo0
,&_obj1
))
3732 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3733 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetColour. Expected _wxPen_p.");
3740 if (! wxColour_helper(_obj1
, &_arg1
))
3744 wxPy_BEGIN_ALLOW_THREADS
;
3745 wxPen_SetColour(_arg0
,*_arg1
);
3747 wxPy_END_ALLOW_THREADS
;
3748 } Py_INCREF(Py_None
);
3749 _resultobj
= Py_None
;
3753 #define wxPen_SetJoin(_swigobj,_swigarg0) (_swigobj->SetJoin(_swigarg0))
3754 static PyObject
*_wrap_wxPen_SetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3755 PyObject
* _resultobj
;
3758 PyObject
* _argo0
= 0;
3759 char *_kwnames
[] = { "self","join_style", NULL
};
3762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetJoin",_kwnames
,&_argo0
,&_arg1
))
3765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetJoin. Expected _wxPen_p.");
3772 wxPy_BEGIN_ALLOW_THREADS
;
3773 wxPen_SetJoin(_arg0
,_arg1
);
3775 wxPy_END_ALLOW_THREADS
;
3776 } Py_INCREF(Py_None
);
3777 _resultobj
= Py_None
;
3781 #define wxPen_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
3782 static PyObject
*_wrap_wxPen_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3783 PyObject
* _resultobj
;
3786 PyObject
* _argo0
= 0;
3787 char *_kwnames
[] = { "self","style", NULL
};
3790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetStyle",_kwnames
,&_argo0
,&_arg1
))
3793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetStyle. Expected _wxPen_p.");
3800 wxPy_BEGIN_ALLOW_THREADS
;
3801 wxPen_SetStyle(_arg0
,_arg1
);
3803 wxPy_END_ALLOW_THREADS
;
3804 } Py_INCREF(Py_None
);
3805 _resultobj
= Py_None
;
3809 #define wxPen_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
3810 static PyObject
*_wrap_wxPen_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3811 PyObject
* _resultobj
;
3814 PyObject
* _argo0
= 0;
3815 char *_kwnames
[] = { "self","width", NULL
};
3818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetWidth",_kwnames
,&_argo0
,&_arg1
))
3821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetWidth. Expected _wxPen_p.");
3828 wxPy_BEGIN_ALLOW_THREADS
;
3829 wxPen_SetWidth(_arg0
,_arg1
);
3831 wxPy_END_ALLOW_THREADS
;
3832 } Py_INCREF(Py_None
);
3833 _resultobj
= Py_None
;
3837 #define wxPen_GetDashes(_swigobj,_swigarg0) (_swigobj->GetDashes(_swigarg0))
3838 static PyObject
*_wrap_wxPen_GetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3839 PyObject
* _resultobj
;
3843 PyObject
* _argo0
= 0;
3844 PyObject
* _argo1
= 0;
3845 char *_kwnames
[] = { "self","dashes", NULL
};
3848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_GetDashes",_kwnames
,&_argo0
,&_argo1
))
3851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetDashes. Expected _wxPen_p.");
3858 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3859 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDash_pp")) {
3860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPen_GetDashes. Expected _wxDash_pp.");
3865 wxPy_BEGIN_ALLOW_THREADS
;
3866 _result
= (int )wxPen_GetDashes(_arg0
,_arg1
);
3868 wxPy_END_ALLOW_THREADS
;
3869 } _resultobj
= Py_BuildValue("i",_result
);
3873 #define wxPen_SetDashes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDashes(_swigarg0,_swigarg1))
3874 static PyObject
*_wrap_wxPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3875 PyObject
* _resultobj
;
3879 PyObject
* _argo0
= 0;
3880 PyObject
* _obj2
= 0;
3881 char *_kwnames
[] = { "self","choices", NULL
};
3884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetDashes",_kwnames
,&_argo0
,&_obj2
))
3887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetDashes. Expected _wxPen_p.");
3895 _arg2
= (wxDash
*)byte_LIST_helper(_obj2
);
3896 if (_arg2
== NULL
) {
3902 _arg1
= PyList_Size(_obj2
);
3909 wxPy_BEGIN_ALLOW_THREADS
;
3910 wxPen_SetDashes(_arg0
,_arg1
,_arg2
);
3912 wxPy_END_ALLOW_THREADS
;
3913 } Py_INCREF(Py_None
);
3914 _resultobj
= Py_None
;
3921 #define wxPen_GetStipple(_swigobj) (_swigobj->GetStipple())
3922 static PyObject
*_wrap_wxPen_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3923 PyObject
* _resultobj
;
3926 PyObject
* _argo0
= 0;
3927 char *_kwnames
[] = { "self", NULL
};
3931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetStipple",_kwnames
,&_argo0
))
3934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetStipple. Expected _wxPen_p.");
3941 wxPy_BEGIN_ALLOW_THREADS
;
3942 _result
= (wxBitmap
*)wxPen_GetStipple(_arg0
);
3944 wxPy_END_ALLOW_THREADS
;
3946 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
3947 _resultobj
= Py_BuildValue("s",_ptemp
);
3950 _resultobj
= Py_None
;
3955 #define wxPen_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
3956 static PyObject
*_wrap_wxPen_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3957 PyObject
* _resultobj
;
3960 PyObject
* _argo0
= 0;
3961 PyObject
* _argo1
= 0;
3962 char *_kwnames
[] = { "self","stipple", NULL
};
3965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetStipple",_kwnames
,&_argo0
,&_argo1
))
3968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetStipple. Expected _wxPen_p.");
3975 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3976 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
3977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPen_SetStipple. Expected _wxBitmap_p.");
3982 wxPy_BEGIN_ALLOW_THREADS
;
3983 wxPen_SetStipple(_arg0
,*_arg1
);
3985 wxPy_END_ALLOW_THREADS
;
3986 } Py_INCREF(Py_None
);
3987 _resultobj
= Py_None
;
3991 static wxBrush
*new_wxBrush(const wxColour
*colour
,int style
) {
3992 return wxTheBrushList
->FindOrCreateBrush(*colour
, style
);
3995 static PyObject
*_wrap_new_wxBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3996 PyObject
* _resultobj
;
3999 int _arg1
= (int ) wxSOLID
;
4001 PyObject
* _obj0
= 0;
4002 char *_kwnames
[] = { "colour","style", NULL
};
4006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxBrush",_kwnames
,&_obj0
,&_arg1
))
4010 if (! wxColour_helper(_obj0
, &_arg0
))
4014 wxPy_BEGIN_ALLOW_THREADS
;
4015 _result
= (wxBrush
*)new_wxBrush(_arg0
,_arg1
);
4017 wxPy_END_ALLOW_THREADS
;
4019 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
4020 _resultobj
= Py_BuildValue("s",_ptemp
);
4023 _resultobj
= Py_None
;
4028 #define wxBrush_GetColour(_swigobj) (_swigobj->GetColour())
4029 static PyObject
*_wrap_wxBrush_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4030 PyObject
* _resultobj
;
4033 PyObject
* _argo0
= 0;
4034 char *_kwnames
[] = { "self", NULL
};
4038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetColour",_kwnames
,&_argo0
))
4041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetColour. Expected _wxBrush_p.");
4048 wxPy_BEGIN_ALLOW_THREADS
;
4049 wxColour
& _result_ref
= wxBrush_GetColour(_arg0
);
4050 _result
= (wxColour
*) &_result_ref
;
4052 wxPy_END_ALLOW_THREADS
;
4054 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
4055 _resultobj
= Py_BuildValue("s",_ptemp
);
4058 _resultobj
= Py_None
;
4063 #define wxBrush_GetStipple(_swigobj) (_swigobj->GetStipple())
4064 static PyObject
*_wrap_wxBrush_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4065 PyObject
* _resultobj
;
4068 PyObject
* _argo0
= 0;
4069 char *_kwnames
[] = { "self", NULL
};
4073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetStipple",_kwnames
,&_argo0
))
4076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStipple. Expected _wxBrush_p.");
4083 wxPy_BEGIN_ALLOW_THREADS
;
4084 _result
= (wxBitmap
*)wxBrush_GetStipple(_arg0
);
4086 wxPy_END_ALLOW_THREADS
;
4088 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
4089 _resultobj
= Py_BuildValue("s",_ptemp
);
4092 _resultobj
= Py_None
;
4097 #define wxBrush_GetStyle(_swigobj) (_swigobj->GetStyle())
4098 static PyObject
*_wrap_wxBrush_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4099 PyObject
* _resultobj
;
4102 PyObject
* _argo0
= 0;
4103 char *_kwnames
[] = { "self", NULL
};
4106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetStyle",_kwnames
,&_argo0
))
4109 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4110 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStyle. Expected _wxBrush_p.");
4116 wxPy_BEGIN_ALLOW_THREADS
;
4117 _result
= (int )wxBrush_GetStyle(_arg0
);
4119 wxPy_END_ALLOW_THREADS
;
4120 } _resultobj
= Py_BuildValue("i",_result
);
4124 #define wxBrush_Ok(_swigobj) (_swigobj->Ok())
4125 static PyObject
*_wrap_wxBrush_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4126 PyObject
* _resultobj
;
4129 PyObject
* _argo0
= 0;
4130 char *_kwnames
[] = { "self", NULL
};
4133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_Ok",_kwnames
,&_argo0
))
4136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_Ok. Expected _wxBrush_p.");
4143 wxPy_BEGIN_ALLOW_THREADS
;
4144 _result
= (bool )wxBrush_Ok(_arg0
);
4146 wxPy_END_ALLOW_THREADS
;
4147 } _resultobj
= Py_BuildValue("i",_result
);
4151 #define wxBrush_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
4152 static PyObject
*_wrap_wxBrush_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4153 PyObject
* _resultobj
;
4156 PyObject
* _argo0
= 0;
4158 PyObject
* _obj1
= 0;
4159 char *_kwnames
[] = { "self","colour", NULL
};
4162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrush_SetColour",_kwnames
,&_argo0
,&_obj1
))
4165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetColour. Expected _wxBrush_p.");
4173 if (! wxColour_helper(_obj1
, &_arg1
))
4177 wxPy_BEGIN_ALLOW_THREADS
;
4178 wxBrush_SetColour(_arg0
,*_arg1
);
4180 wxPy_END_ALLOW_THREADS
;
4181 } Py_INCREF(Py_None
);
4182 _resultobj
= Py_None
;
4186 #define wxBrush_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
4187 static PyObject
*_wrap_wxBrush_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4188 PyObject
* _resultobj
;
4191 PyObject
* _argo0
= 0;
4192 PyObject
* _argo1
= 0;
4193 char *_kwnames
[] = { "self","bitmap", NULL
};
4196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrush_SetStipple",_kwnames
,&_argo0
,&_argo1
))
4199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStipple. Expected _wxBrush_p.");
4206 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4207 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
4208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrush_SetStipple. Expected _wxBitmap_p.");
4213 wxPy_BEGIN_ALLOW_THREADS
;
4214 wxBrush_SetStipple(_arg0
,*_arg1
);
4216 wxPy_END_ALLOW_THREADS
;
4217 } Py_INCREF(Py_None
);
4218 _resultobj
= Py_None
;
4222 #define wxBrush_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
4223 static PyObject
*_wrap_wxBrush_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4224 PyObject
* _resultobj
;
4227 PyObject
* _argo0
= 0;
4228 char *_kwnames
[] = { "self","style", NULL
};
4231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBrush_SetStyle",_kwnames
,&_argo0
,&_arg1
))
4234 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4235 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStyle. Expected _wxBrush_p.");
4241 wxPy_BEGIN_ALLOW_THREADS
;
4242 wxBrush_SetStyle(_arg0
,_arg1
);
4244 wxPy_END_ALLOW_THREADS
;
4245 } Py_INCREF(Py_None
);
4246 _resultobj
= Py_None
;
4250 #define delete_wxDC(_swigobj) (delete _swigobj)
4251 static PyObject
*_wrap_delete_wxDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4252 PyObject
* _resultobj
;
4254 PyObject
* _argo0
= 0;
4255 char *_kwnames
[] = { "self", NULL
};
4258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDC",_kwnames
,&_argo0
))
4261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDC. Expected _wxDC_p.");
4268 wxPy_BEGIN_ALLOW_THREADS
;
4271 wxPy_END_ALLOW_THREADS
;
4272 } Py_INCREF(Py_None
);
4273 _resultobj
= Py_None
;
4277 #define wxDC_BeginDrawing(_swigobj) (_swigobj->BeginDrawing())
4278 static PyObject
*_wrap_wxDC_BeginDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4279 PyObject
* _resultobj
;
4281 PyObject
* _argo0
= 0;
4282 char *_kwnames
[] = { "self", NULL
};
4285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_BeginDrawing",_kwnames
,&_argo0
))
4288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_BeginDrawing. Expected _wxDC_p.");
4295 wxPy_BEGIN_ALLOW_THREADS
;
4296 wxDC_BeginDrawing(_arg0
);
4298 wxPy_END_ALLOW_THREADS
;
4299 } Py_INCREF(Py_None
);
4300 _resultobj
= Py_None
;
4304 #define wxDC_Blit(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Blit(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4305 static PyObject
*_wrap_wxDC_Blit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4306 PyObject
* _resultobj
;
4316 int _arg8
= (int ) wxCOPY
;
4317 int _arg9
= (int ) FALSE
;
4318 PyObject
* _argo0
= 0;
4319 PyObject
* _argo5
= 0;
4320 char *_kwnames
[] = { "self","xdest","ydest","width","height","source","xsrc","ysrc","logicalFunc","useMask", NULL
};
4323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllllOll|ii:wxDC_Blit",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_argo5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
))
4326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Blit. Expected _wxDC_p.");
4333 if (_argo5
== Py_None
) { _arg5
= NULL
; }
4334 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxDC_p")) {
4335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxDC_Blit. Expected _wxDC_p.");
4340 wxPy_BEGIN_ALLOW_THREADS
;
4341 _result
= (bool )wxDC_Blit(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
4343 wxPy_END_ALLOW_THREADS
;
4344 } _resultobj
= Py_BuildValue("i",_result
);
4348 #define wxDC_Clear(_swigobj) (_swigobj->Clear())
4349 static PyObject
*_wrap_wxDC_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4350 PyObject
* _resultobj
;
4352 PyObject
* _argo0
= 0;
4353 char *_kwnames
[] = { "self", NULL
};
4356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_Clear",_kwnames
,&_argo0
))
4359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Clear. Expected _wxDC_p.");
4366 wxPy_BEGIN_ALLOW_THREADS
;
4369 wxPy_END_ALLOW_THREADS
;
4370 } Py_INCREF(Py_None
);
4371 _resultobj
= Py_None
;
4375 #define wxDC_CrossHair(_swigobj,_swigarg0,_swigarg1) (_swigobj->CrossHair(_swigarg0,_swigarg1))
4376 static PyObject
*_wrap_wxDC_CrossHair(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4377 PyObject
* _resultobj
;
4381 PyObject
* _argo0
= 0;
4382 char *_kwnames
[] = { "self","x","y", NULL
};
4385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_CrossHair",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CrossHair. Expected _wxDC_p.");
4395 wxPy_BEGIN_ALLOW_THREADS
;
4396 wxDC_CrossHair(_arg0
,_arg1
,_arg2
);
4398 wxPy_END_ALLOW_THREADS
;
4399 } Py_INCREF(Py_None
);
4400 _resultobj
= Py_None
;
4404 #define wxDC_DestroyClippingRegion(_swigobj) (_swigobj->DestroyClippingRegion())
4405 static PyObject
*_wrap_wxDC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4406 PyObject
* _resultobj
;
4408 PyObject
* _argo0
= 0;
4409 char *_kwnames
[] = { "self", NULL
};
4412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_DestroyClippingRegion",_kwnames
,&_argo0
))
4415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DestroyClippingRegion. Expected _wxDC_p.");
4422 wxPy_BEGIN_ALLOW_THREADS
;
4423 wxDC_DestroyClippingRegion(_arg0
);
4425 wxPy_END_ALLOW_THREADS
;
4426 } Py_INCREF(Py_None
);
4427 _resultobj
= Py_None
;
4431 #define wxDC_DeviceToLogicalX(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalX(_swigarg0))
4432 static PyObject
*_wrap_wxDC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4433 PyObject
* _resultobj
;
4437 PyObject
* _argo0
= 0;
4438 char *_kwnames
[] = { "self","x", NULL
};
4441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalX",_kwnames
,&_argo0
,&_arg1
))
4444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalX. Expected _wxDC_p.");
4451 wxPy_BEGIN_ALLOW_THREADS
;
4452 _result
= (long )wxDC_DeviceToLogicalX(_arg0
,_arg1
);
4454 wxPy_END_ALLOW_THREADS
;
4455 } _resultobj
= Py_BuildValue("l",_result
);
4459 #define wxDC_DeviceToLogicalXRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalXRel(_swigarg0))
4460 static PyObject
*_wrap_wxDC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4461 PyObject
* _resultobj
;
4465 PyObject
* _argo0
= 0;
4466 char *_kwnames
[] = { "self","x", NULL
};
4469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalXRel",_kwnames
,&_argo0
,&_arg1
))
4472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalXRel. Expected _wxDC_p.");
4479 wxPy_BEGIN_ALLOW_THREADS
;
4480 _result
= (long )wxDC_DeviceToLogicalXRel(_arg0
,_arg1
);
4482 wxPy_END_ALLOW_THREADS
;
4483 } _resultobj
= Py_BuildValue("l",_result
);
4487 #define wxDC_DeviceToLogicalY(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalY(_swigarg0))
4488 static PyObject
*_wrap_wxDC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4489 PyObject
* _resultobj
;
4493 PyObject
* _argo0
= 0;
4494 char *_kwnames
[] = { "self","y", NULL
};
4497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalY",_kwnames
,&_argo0
,&_arg1
))
4500 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4501 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalY. Expected _wxDC_p.");
4507 wxPy_BEGIN_ALLOW_THREADS
;
4508 _result
= (long )wxDC_DeviceToLogicalY(_arg0
,_arg1
);
4510 wxPy_END_ALLOW_THREADS
;
4511 } _resultobj
= Py_BuildValue("l",_result
);
4515 #define wxDC_DeviceToLogicalYRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalYRel(_swigarg0))
4516 static PyObject
*_wrap_wxDC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4517 PyObject
* _resultobj
;
4521 PyObject
* _argo0
= 0;
4522 char *_kwnames
[] = { "self","y", NULL
};
4525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalYRel",_kwnames
,&_argo0
,&_arg1
))
4528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalYRel. Expected _wxDC_p.");
4535 wxPy_BEGIN_ALLOW_THREADS
;
4536 _result
= (long )wxDC_DeviceToLogicalYRel(_arg0
,_arg1
);
4538 wxPy_END_ALLOW_THREADS
;
4539 } _resultobj
= Py_BuildValue("l",_result
);
4543 #define wxDC_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4544 static PyObject
*_wrap_wxDC_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4545 PyObject
* _resultobj
;
4553 PyObject
* _argo0
= 0;
4554 char *_kwnames
[] = { "self","x1","y1","x2","y2","xc","yc", NULL
};
4557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollllll:wxDC_DrawArc",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
4560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawArc. Expected _wxDC_p.");
4567 wxPy_BEGIN_ALLOW_THREADS
;
4568 wxDC_DrawArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4570 wxPy_END_ALLOW_THREADS
;
4571 } Py_INCREF(Py_None
);
4572 _resultobj
= Py_None
;
4576 #define wxDC_DrawCircle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawCircle(_swigarg0,_swigarg1,_swigarg2))
4577 static PyObject
*_wrap_wxDC_DrawCircle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4578 PyObject
* _resultobj
;
4583 PyObject
* _argo0
= 0;
4584 char *_kwnames
[] = { "self","x","y","radius", NULL
};
4587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olll:wxDC_DrawCircle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4590 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4591 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawCircle. Expected _wxDC_p.");
4597 wxPy_BEGIN_ALLOW_THREADS
;
4598 wxDC_DrawCircle(_arg0
,_arg1
,_arg2
,_arg3
);
4600 wxPy_END_ALLOW_THREADS
;
4601 } Py_INCREF(Py_None
);
4602 _resultobj
= Py_None
;
4606 #define wxDC_DrawEllipse(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawEllipse(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4607 static PyObject
*_wrap_wxDC_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4608 PyObject
* _resultobj
;
4614 PyObject
* _argo0
= 0;
4615 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
4618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawEllipse",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4621 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4622 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipse. Expected _wxDC_p.");
4628 wxPy_BEGIN_ALLOW_THREADS
;
4629 wxDC_DrawEllipse(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4631 wxPy_END_ALLOW_THREADS
;
4632 } Py_INCREF(Py_None
);
4633 _resultobj
= Py_None
;
4637 #define wxDC_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4638 static PyObject
*_wrap_wxDC_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4639 PyObject
* _resultobj
;
4647 PyObject
* _argo0
= 0;
4648 char *_kwnames
[] = { "self","x","y","width","height","start","end", NULL
};
4651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollllll:wxDC_DrawEllipticArc",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
4654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipticArc. Expected _wxDC_p.");
4661 wxPy_BEGIN_ALLOW_THREADS
;
4662 wxDC_DrawEllipticArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4664 wxPy_END_ALLOW_THREADS
;
4665 } Py_INCREF(Py_None
);
4666 _resultobj
= Py_None
;
4670 #define wxDC_DrawIcon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawIcon(_swigarg0,_swigarg1,_swigarg2))
4671 static PyObject
*_wrap_wxDC_DrawIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4672 PyObject
* _resultobj
;
4677 PyObject
* _argo0
= 0;
4678 PyObject
* _argo1
= 0;
4679 char *_kwnames
[] = { "self","icon","x","y", NULL
};
4682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll:wxDC_DrawIcon",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
4685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawIcon. Expected _wxDC_p.");
4692 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4693 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
4694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawIcon. Expected _wxIcon_p.");
4699 wxPy_BEGIN_ALLOW_THREADS
;
4700 wxDC_DrawIcon(_arg0
,*_arg1
,_arg2
,_arg3
);
4702 wxPy_END_ALLOW_THREADS
;
4703 } Py_INCREF(Py_None
);
4704 _resultobj
= Py_None
;
4708 #define wxDC_DrawLine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4709 static PyObject
*_wrap_wxDC_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4710 PyObject
* _resultobj
;
4716 PyObject
* _argo0
= 0;
4717 char *_kwnames
[] = { "self","x1","y1","x2","y2", NULL
};
4720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawLine",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLine. Expected _wxDC_p.");
4730 wxPy_BEGIN_ALLOW_THREADS
;
4731 wxDC_DrawLine(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4733 wxPy_END_ALLOW_THREADS
;
4734 } Py_INCREF(Py_None
);
4735 _resultobj
= Py_None
;
4739 #define wxDC_DrawLines(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLines(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4740 static PyObject
*_wrap_wxDC_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4741 PyObject
* _resultobj
;
4745 long _arg3
= (long ) 0;
4746 long _arg4
= (long ) 0;
4747 PyObject
* _argo0
= 0;
4748 PyObject
* _obj2
= 0;
4749 char *_kwnames
[] = { "self","points","xoffset","yoffset", NULL
};
4752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ll:wxDC_DrawLines",_kwnames
,&_argo0
,&_obj2
,&_arg3
,&_arg4
))
4755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLines. Expected _wxDC_p.");
4763 _arg2
= wxPoint_LIST_helper(_obj2
);
4764 if (_arg2
== NULL
) {
4770 _arg1
= PyList_Size(_obj2
);
4777 wxPy_BEGIN_ALLOW_THREADS
;
4778 wxDC_DrawLines(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4780 wxPy_END_ALLOW_THREADS
;
4781 } Py_INCREF(Py_None
);
4782 _resultobj
= Py_None
;
4789 #define wxDC_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4790 static PyObject
*_wrap_wxDC_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4791 PyObject
* _resultobj
;
4795 long _arg3
= (long ) 0;
4796 long _arg4
= (long ) 0;
4797 int _arg5
= (int ) wxODDEVEN_RULE
;
4798 PyObject
* _argo0
= 0;
4799 PyObject
* _obj2
= 0;
4800 char *_kwnames
[] = { "self","points","xoffset","yoffset","fill_style", NULL
};
4803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|lli:wxDC_DrawPolygon",_kwnames
,&_argo0
,&_obj2
,&_arg3
,&_arg4
,&_arg5
))
4806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPolygon. Expected _wxDC_p.");
4814 _arg2
= wxPoint_LIST_helper(_obj2
);
4815 if (_arg2
== NULL
) {
4821 _arg1
= PyList_Size(_obj2
);
4828 wxPy_BEGIN_ALLOW_THREADS
;
4829 wxDC_DrawPolygon(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4831 wxPy_END_ALLOW_THREADS
;
4832 } Py_INCREF(Py_None
);
4833 _resultobj
= Py_None
;
4840 #define wxDC_DrawPoint(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawPoint(_swigarg0,_swigarg1))
4841 static PyObject
*_wrap_wxDC_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4842 PyObject
* _resultobj
;
4846 PyObject
* _argo0
= 0;
4847 char *_kwnames
[] = { "self","x","y", NULL
};
4850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_DrawPoint",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPoint. Expected _wxDC_p.");
4860 wxPy_BEGIN_ALLOW_THREADS
;
4861 wxDC_DrawPoint(_arg0
,_arg1
,_arg2
);
4863 wxPy_END_ALLOW_THREADS
;
4864 } Py_INCREF(Py_None
);
4865 _resultobj
= Py_None
;
4869 #define wxDC_DrawRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4870 static PyObject
*_wrap_wxDC_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4871 PyObject
* _resultobj
;
4877 PyObject
* _argo0
= 0;
4878 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
4881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawRectangle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRectangle. Expected _wxDC_p.");
4891 wxPy_BEGIN_ALLOW_THREADS
;
4892 wxDC_DrawRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4894 wxPy_END_ALLOW_THREADS
;
4895 } Py_INCREF(Py_None
);
4896 _resultobj
= Py_None
;
4900 #define wxDC_DrawRotatedText(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRotatedText(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4901 static PyObject
*_wrap_wxDC_DrawRotatedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4902 PyObject
* _resultobj
;
4908 PyObject
* _argo0
= 0;
4909 PyObject
* _obj1
= 0;
4910 char *_kwnames
[] = { "self","text","x","y","angle", NULL
};
4913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiid:wxDC_DrawRotatedText",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_arg4
))
4916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRotatedText. Expected _wxDC_p.");
4923 #if PYTHON_API_VERSION >= 1009
4924 char* tmpPtr
; int tmpSize
;
4925 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4926 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
4929 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4931 _arg1
= new wxString(tmpPtr
, tmpSize
);
4933 if (!PyString_Check(_obj1
)) {
4934 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4937 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4941 wxPy_BEGIN_ALLOW_THREADS
;
4942 wxDC_DrawRotatedText(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
4944 wxPy_END_ALLOW_THREADS
;
4945 } Py_INCREF(Py_None
);
4946 _resultobj
= Py_None
;
4954 #define wxDC_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4955 static PyObject
*_wrap_wxDC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4956 PyObject
* _resultobj
;
4962 long _arg5
= (long ) 20;
4963 PyObject
* _argo0
= 0;
4964 char *_kwnames
[] = { "self","x","y","width","height","radius", NULL
};
4967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll|l:wxDC_DrawRoundedRectangle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
4970 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4971 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRoundedRectangle. Expected _wxDC_p.");
4977 wxPy_BEGIN_ALLOW_THREADS
;
4978 wxDC_DrawRoundedRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4980 wxPy_END_ALLOW_THREADS
;
4981 } Py_INCREF(Py_None
);
4982 _resultobj
= Py_None
;
4986 #define wxDC_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1))
4987 static PyObject
*_wrap_wxDC_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4988 PyObject
* _resultobj
;
4992 PyObject
* _argo0
= 0;
4993 PyObject
* _obj2
= 0;
4994 char *_kwnames
[] = { "self","points", NULL
};
4997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_DrawSpline",_kwnames
,&_argo0
,&_obj2
))
5000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawSpline. Expected _wxDC_p.");
5008 _arg2
= wxPoint_LIST_helper(_obj2
);
5009 if (_arg2
== NULL
) {
5015 _arg1
= PyList_Size(_obj2
);
5022 wxPy_BEGIN_ALLOW_THREADS
;
5023 wxDC_DrawSpline(_arg0
,_arg1
,_arg2
);
5025 wxPy_END_ALLOW_THREADS
;
5026 } Py_INCREF(Py_None
);
5027 _resultobj
= Py_None
;
5034 #define wxDC_DrawText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawText(_swigarg0,_swigarg1,_swigarg2))
5035 static PyObject
*_wrap_wxDC_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5036 PyObject
* _resultobj
;
5041 PyObject
* _argo0
= 0;
5042 PyObject
* _obj1
= 0;
5043 char *_kwnames
[] = { "self","text","x","y", NULL
};
5046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll:wxDC_DrawText",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
))
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_DrawText. Expected _wxDC_p.");
5056 #if PYTHON_API_VERSION >= 1009
5057 char* tmpPtr
; int tmpSize
;
5058 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5059 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
5062 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5064 _arg1
= new wxString(tmpPtr
, tmpSize
);
5066 if (!PyString_Check(_obj1
)) {
5067 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5070 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5074 wxPy_BEGIN_ALLOW_THREADS
;
5075 wxDC_DrawText(_arg0
,*_arg1
,_arg2
,_arg3
);
5077 wxPy_END_ALLOW_THREADS
;
5078 } Py_INCREF(Py_None
);
5079 _resultobj
= Py_None
;
5087 #define wxDC_EndDoc(_swigobj) (_swigobj->EndDoc())
5088 static PyObject
*_wrap_wxDC_EndDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5089 PyObject
* _resultobj
;
5091 PyObject
* _argo0
= 0;
5092 char *_kwnames
[] = { "self", NULL
};
5095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndDoc",_kwnames
,&_argo0
))
5098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDoc. Expected _wxDC_p.");
5105 wxPy_BEGIN_ALLOW_THREADS
;
5108 wxPy_END_ALLOW_THREADS
;
5109 } Py_INCREF(Py_None
);
5110 _resultobj
= Py_None
;
5114 #define wxDC_EndDrawing(_swigobj) (_swigobj->EndDrawing())
5115 static PyObject
*_wrap_wxDC_EndDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5116 PyObject
* _resultobj
;
5118 PyObject
* _argo0
= 0;
5119 char *_kwnames
[] = { "self", NULL
};
5122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndDrawing",_kwnames
,&_argo0
))
5125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDrawing. Expected _wxDC_p.");
5132 wxPy_BEGIN_ALLOW_THREADS
;
5133 wxDC_EndDrawing(_arg0
);
5135 wxPy_END_ALLOW_THREADS
;
5136 } Py_INCREF(Py_None
);
5137 _resultobj
= Py_None
;
5141 #define wxDC_EndPage(_swigobj) (_swigobj->EndPage())
5142 static PyObject
*_wrap_wxDC_EndPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5143 PyObject
* _resultobj
;
5145 PyObject
* _argo0
= 0;
5146 char *_kwnames
[] = { "self", NULL
};
5149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndPage",_kwnames
,&_argo0
))
5152 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5153 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndPage. Expected _wxDC_p.");
5159 wxPy_BEGIN_ALLOW_THREADS
;
5160 wxDC_EndPage(_arg0
);
5162 wxPy_END_ALLOW_THREADS
;
5163 } Py_INCREF(Py_None
);
5164 _resultobj
= Py_None
;
5168 #define wxDC_FloodFill(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FloodFill(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5169 static PyObject
*_wrap_wxDC_FloodFill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5170 PyObject
* _resultobj
;
5175 int _arg4
= (int ) wxFLOOD_SURFACE
;
5176 PyObject
* _argo0
= 0;
5178 PyObject
* _obj3
= 0;
5179 char *_kwnames
[] = { "self","x","y","colour","style", NULL
};
5182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO|i:wxDC_FloodFill",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
5185 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5186 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_FloodFill. Expected _wxDC_p.");
5193 if (! wxColour_helper(_obj3
, &_arg3
))
5197 wxPy_BEGIN_ALLOW_THREADS
;
5198 wxDC_FloodFill(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
5200 wxPy_END_ALLOW_THREADS
;
5201 } Py_INCREF(Py_None
);
5202 _resultobj
= Py_None
;
5206 #define wxDC_GetBackground(_swigobj) (_swigobj->GetBackground())
5207 static PyObject
*_wrap_wxDC_GetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5208 PyObject
* _resultobj
;
5211 PyObject
* _argo0
= 0;
5212 char *_kwnames
[] = { "self", NULL
};
5216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBackground",_kwnames
,&_argo0
))
5219 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5220 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBackground. Expected _wxDC_p.");
5226 wxPy_BEGIN_ALLOW_THREADS
;
5227 wxBrush
& _result_ref
= wxDC_GetBackground(_arg0
);
5228 _result
= (wxBrush
*) &_result_ref
;
5230 wxPy_END_ALLOW_THREADS
;
5232 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
5233 _resultobj
= Py_BuildValue("s",_ptemp
);
5236 _resultobj
= Py_None
;
5241 #define wxDC_GetBrush(_swigobj) (_swigobj->GetBrush())
5242 static PyObject
*_wrap_wxDC_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5243 PyObject
* _resultobj
;
5246 PyObject
* _argo0
= 0;
5247 char *_kwnames
[] = { "self", NULL
};
5251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBrush",_kwnames
,&_argo0
))
5254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBrush. Expected _wxDC_p.");
5261 wxPy_BEGIN_ALLOW_THREADS
;
5262 wxBrush
& _result_ref
= wxDC_GetBrush(_arg0
);
5263 _result
= (wxBrush
*) &_result_ref
;
5265 wxPy_END_ALLOW_THREADS
;
5267 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
5268 _resultobj
= Py_BuildValue("s",_ptemp
);
5271 _resultobj
= Py_None
;
5276 #define wxDC_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
5277 static PyObject
*_wrap_wxDC_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5278 PyObject
* _resultobj
;
5281 PyObject
* _argo0
= 0;
5282 char *_kwnames
[] = { "self", NULL
};
5285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetCharHeight",_kwnames
,&_argo0
))
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_GetCharHeight. Expected _wxDC_p.");
5295 wxPy_BEGIN_ALLOW_THREADS
;
5296 _result
= (long )wxDC_GetCharHeight(_arg0
);
5298 wxPy_END_ALLOW_THREADS
;
5299 } _resultobj
= Py_BuildValue("l",_result
);
5303 #define wxDC_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
5304 static PyObject
*_wrap_wxDC_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5305 PyObject
* _resultobj
;
5308 PyObject
* _argo0
= 0;
5309 char *_kwnames
[] = { "self", NULL
};
5312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetCharWidth",_kwnames
,&_argo0
))
5315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharWidth. Expected _wxDC_p.");
5322 wxPy_BEGIN_ALLOW_THREADS
;
5323 _result
= (long )wxDC_GetCharWidth(_arg0
);
5325 wxPy_END_ALLOW_THREADS
;
5326 } _resultobj
= Py_BuildValue("l",_result
);
5330 #define wxDC_GetClippingBox(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetClippingBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5331 static PyObject
*_wrap_wxDC_GetClippingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5332 PyObject
* _resultobj
;
5342 PyObject
* _argo0
= 0;
5343 char *_kwnames
[] = { "self", NULL
};
5358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetClippingBox",_kwnames
,&_argo0
))
5361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetClippingBox. Expected _wxDC_p.");
5368 wxPy_BEGIN_ALLOW_THREADS
;
5369 wxDC_GetClippingBox(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5371 wxPy_END_ALLOW_THREADS
;
5372 } Py_INCREF(Py_None
);
5373 _resultobj
= Py_None
;
5376 o
= PyInt_FromLong((long) (*_arg1
));
5377 _resultobj
= t_output_helper(_resultobj
, o
);
5381 o
= PyInt_FromLong((long) (*_arg2
));
5382 _resultobj
= t_output_helper(_resultobj
, o
);
5386 o
= PyInt_FromLong((long) (*_arg3
));
5387 _resultobj
= t_output_helper(_resultobj
, o
);
5391 o
= PyInt_FromLong((long) (*_arg4
));
5392 _resultobj
= t_output_helper(_resultobj
, o
);
5397 #define wxDC_GetFont(_swigobj) (_swigobj->GetFont())
5398 static PyObject
*_wrap_wxDC_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5399 PyObject
* _resultobj
;
5402 PyObject
* _argo0
= 0;
5403 char *_kwnames
[] = { "self", NULL
};
5407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetFont",_kwnames
,&_argo0
))
5410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFont. Expected _wxDC_p.");
5417 wxPy_BEGIN_ALLOW_THREADS
;
5418 wxFont
& _result_ref
= wxDC_GetFont(_arg0
);
5419 _result
= (wxFont
*) &_result_ref
;
5421 wxPy_END_ALLOW_THREADS
;
5423 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
5424 _resultobj
= Py_BuildValue("s",_ptemp
);
5427 _resultobj
= Py_None
;
5432 #define wxDC_GetLogicalFunction(_swigobj) (_swigobj->GetLogicalFunction())
5433 static PyObject
*_wrap_wxDC_GetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5434 PyObject
* _resultobj
;
5437 PyObject
* _argo0
= 0;
5438 char *_kwnames
[] = { "self", NULL
};
5441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalFunction",_kwnames
,&_argo0
))
5444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalFunction. Expected _wxDC_p.");
5451 wxPy_BEGIN_ALLOW_THREADS
;
5452 _result
= (int )wxDC_GetLogicalFunction(_arg0
);
5454 wxPy_END_ALLOW_THREADS
;
5455 } _resultobj
= Py_BuildValue("i",_result
);
5459 #define wxDC_GetLogicalScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLogicalScale(_swigarg0,_swigarg1))
5460 static PyObject
*_wrap_wxDC_GetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5461 PyObject
* _resultobj
;
5467 PyObject
* _argo0
= 0;
5468 char *_kwnames
[] = { "self", NULL
};
5477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalScale",_kwnames
,&_argo0
))
5480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalScale. Expected _wxDC_p.");
5487 wxPy_BEGIN_ALLOW_THREADS
;
5488 wxDC_GetLogicalScale(_arg0
,_arg1
,_arg2
);
5490 wxPy_END_ALLOW_THREADS
;
5491 } Py_INCREF(Py_None
);
5492 _resultobj
= Py_None
;
5495 o
= PyFloat_FromDouble((double) (*_arg1
));
5496 _resultobj
= t_output_helper(_resultobj
, o
);
5500 o
= PyFloat_FromDouble((double) (*_arg2
));
5501 _resultobj
= t_output_helper(_resultobj
, o
);
5506 #define wxDC_GetMapMode(_swigobj) (_swigobj->GetMapMode())
5507 static PyObject
*_wrap_wxDC_GetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5508 PyObject
* _resultobj
;
5511 PyObject
* _argo0
= 0;
5512 char *_kwnames
[] = { "self", NULL
};
5515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetMapMode",_kwnames
,&_argo0
))
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_GetMapMode. Expected _wxDC_p.");
5525 wxPy_BEGIN_ALLOW_THREADS
;
5526 _result
= (int )wxDC_GetMapMode(_arg0
);
5528 wxPy_END_ALLOW_THREADS
;
5529 } _resultobj
= Py_BuildValue("i",_result
);
5533 #define wxDC_GetOptimization(_swigobj) (_swigobj->GetOptimization())
5534 static PyObject
*_wrap_wxDC_GetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5535 PyObject
* _resultobj
;
5538 PyObject
* _argo0
= 0;
5539 char *_kwnames
[] = { "self", NULL
};
5542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetOptimization",_kwnames
,&_argo0
))
5545 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5546 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetOptimization. Expected _wxDC_p.");
5552 wxPy_BEGIN_ALLOW_THREADS
;
5553 _result
= (bool )wxDC_GetOptimization(_arg0
);
5555 wxPy_END_ALLOW_THREADS
;
5556 } _resultobj
= Py_BuildValue("i",_result
);
5560 #define wxDC_GetPen(_swigobj) (_swigobj->GetPen())
5561 static PyObject
*_wrap_wxDC_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5562 PyObject
* _resultobj
;
5565 PyObject
* _argo0
= 0;
5566 char *_kwnames
[] = { "self", NULL
};
5570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetPen",_kwnames
,&_argo0
))
5573 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5574 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPen. Expected _wxDC_p.");
5580 wxPy_BEGIN_ALLOW_THREADS
;
5581 wxPen
& _result_ref
= wxDC_GetPen(_arg0
);
5582 _result
= (wxPen
*) &_result_ref
;
5584 wxPy_END_ALLOW_THREADS
;
5586 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
5587 _resultobj
= Py_BuildValue("s",_ptemp
);
5590 _resultobj
= Py_None
;
5595 static wxColour
* wxDC_GetPixel(wxDC
*self
,long x
,long y
) {
5596 wxColour
* wc
= new wxColour();
5597 self
->GetPixel(x
, y
, wc
);
5600 static PyObject
*_wrap_wxDC_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5601 PyObject
* _resultobj
;
5606 PyObject
* _argo0
= 0;
5607 char *_kwnames
[] = { "self","x","y", NULL
};
5611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_GetPixel",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPixel. Expected _wxDC_p.");
5621 wxPy_BEGIN_ALLOW_THREADS
;
5622 _result
= (wxColour
*)wxDC_GetPixel(_arg0
,_arg1
,_arg2
);
5624 wxPy_END_ALLOW_THREADS
;
5626 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
5627 _resultobj
= Py_BuildValue("s",_ptemp
);
5630 _resultobj
= Py_None
;
5635 #define wxDC_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
5636 static PyObject
*_wrap_wxDC_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5637 PyObject
* _resultobj
;
5643 PyObject
* _argo0
= 0;
5644 char *_kwnames
[] = { "self", NULL
};
5653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSizeTuple",_kwnames
,&_argo0
))
5656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSizeTuple. Expected _wxDC_p.");
5663 wxPy_BEGIN_ALLOW_THREADS
;
5664 wxDC_GetSizeTuple(_arg0
,_arg1
,_arg2
);
5666 wxPy_END_ALLOW_THREADS
;
5667 } Py_INCREF(Py_None
);
5668 _resultobj
= Py_None
;
5671 o
= PyInt_FromLong((long) (*_arg1
));
5672 _resultobj
= t_output_helper(_resultobj
, o
);
5676 o
= PyInt_FromLong((long) (*_arg2
));
5677 _resultobj
= t_output_helper(_resultobj
, o
);
5682 #define wxDC_GetSize(_swigobj) (_swigobj->GetSize())
5683 static PyObject
*_wrap_wxDC_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5684 PyObject
* _resultobj
;
5687 PyObject
* _argo0
= 0;
5688 char *_kwnames
[] = { "self", NULL
};
5692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSize",_kwnames
,&_argo0
))
5695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSize. Expected _wxDC_p.");
5702 wxPy_BEGIN_ALLOW_THREADS
;
5703 _result
= new wxSize (wxDC_GetSize(_arg0
));
5705 wxPy_END_ALLOW_THREADS
;
5706 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5707 _resultobj
= Py_BuildValue("s",_ptemp
);
5711 #define wxDC_GetSizeMM(_swigobj) (_swigobj->GetSizeMM())
5712 static PyObject
*_wrap_wxDC_GetSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5713 PyObject
* _resultobj
;
5716 PyObject
* _argo0
= 0;
5717 char *_kwnames
[] = { "self", NULL
};
5721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSizeMM",_kwnames
,&_argo0
))
5724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSizeMM. Expected _wxDC_p.");
5731 wxPy_BEGIN_ALLOW_THREADS
;
5732 _result
= new wxSize (wxDC_GetSizeMM(_arg0
));
5734 wxPy_END_ALLOW_THREADS
;
5735 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5736 _resultobj
= Py_BuildValue("s",_ptemp
);
5740 #define wxDC_GetTextBackground(_swigobj) (_swigobj->GetTextBackground())
5741 static PyObject
*_wrap_wxDC_GetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5742 PyObject
* _resultobj
;
5745 PyObject
* _argo0
= 0;
5746 char *_kwnames
[] = { "self", NULL
};
5750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetTextBackground",_kwnames
,&_argo0
))
5753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextBackground. Expected _wxDC_p.");
5760 wxPy_BEGIN_ALLOW_THREADS
;
5761 wxColour
& _result_ref
= wxDC_GetTextBackground(_arg0
);
5762 _result
= (wxColour
*) &_result_ref
;
5764 wxPy_END_ALLOW_THREADS
;
5766 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
5767 _resultobj
= Py_BuildValue("s",_ptemp
);
5770 _resultobj
= Py_None
;
5775 #define wxDC_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
5776 static PyObject
*_wrap_wxDC_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5777 PyObject
* _resultobj
;
5784 PyObject
* _argo0
= 0;
5785 PyObject
* _obj1
= 0;
5786 char *_kwnames
[] = { "self","string", NULL
};
5795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
5798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextExtent. Expected _wxDC_p.");
5805 #if PYTHON_API_VERSION >= 1009
5806 char* tmpPtr
; int tmpSize
;
5807 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5808 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
5811 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5813 _arg1
= new wxString(tmpPtr
, tmpSize
);
5815 if (!PyString_Check(_obj1
)) {
5816 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5819 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5823 wxPy_BEGIN_ALLOW_THREADS
;
5824 wxDC_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
5826 wxPy_END_ALLOW_THREADS
;
5827 } Py_INCREF(Py_None
);
5828 _resultobj
= Py_None
;
5831 o
= PyInt_FromLong((long) (*_arg2
));
5832 _resultobj
= t_output_helper(_resultobj
, o
);
5836 o
= PyInt_FromLong((long) (*_arg3
));
5837 _resultobj
= t_output_helper(_resultobj
, o
);
5846 #define wxDC_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5847 static PyObject
*_wrap_wxDC_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5848 PyObject
* _resultobj
;
5859 wxFont
* _arg6
= (wxFont
*) NULL
;
5860 PyObject
* _argo0
= 0;
5861 PyObject
* _obj1
= 0;
5862 PyObject
* _argo6
= 0;
5863 char *_kwnames
[] = { "self","string","font", NULL
};
5878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxDC_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
5881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFullTextExtent. Expected _wxDC_p.");
5888 #if PYTHON_API_VERSION >= 1009
5889 char* tmpPtr
; int tmpSize
;
5890 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5891 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
5894 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5896 _arg1
= new wxString(tmpPtr
, tmpSize
);
5898 if (!PyString_Check(_obj1
)) {
5899 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5902 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5906 if (_argo6
== Py_None
) { _arg6
= NULL
; }
5907 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
5908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxDC_GetFullTextExtent. Expected _wxFont_p.");
5913 wxPy_BEGIN_ALLOW_THREADS
;
5914 wxDC_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
5916 wxPy_END_ALLOW_THREADS
;
5917 } Py_INCREF(Py_None
);
5918 _resultobj
= Py_None
;
5921 o
= PyInt_FromLong((long) (*_arg2
));
5922 _resultobj
= t_output_helper(_resultobj
, o
);
5926 o
= PyInt_FromLong((long) (*_arg3
));
5927 _resultobj
= t_output_helper(_resultobj
, o
);
5931 o
= PyInt_FromLong((long) (*_arg4
));
5932 _resultobj
= t_output_helper(_resultobj
, o
);
5936 o
= PyInt_FromLong((long) (*_arg5
));
5937 _resultobj
= t_output_helper(_resultobj
, o
);
5946 #define wxDC_GetTextForeground(_swigobj) (_swigobj->GetTextForeground())
5947 static PyObject
*_wrap_wxDC_GetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5948 PyObject
* _resultobj
;
5951 PyObject
* _argo0
= 0;
5952 char *_kwnames
[] = { "self", NULL
};
5956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetTextForeground",_kwnames
,&_argo0
))
5959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextForeground. Expected _wxDC_p.");
5966 wxPy_BEGIN_ALLOW_THREADS
;
5967 wxColour
& _result_ref
= wxDC_GetTextForeground(_arg0
);
5968 _result
= (wxColour
*) &_result_ref
;
5970 wxPy_END_ALLOW_THREADS
;
5972 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
5973 _resultobj
= Py_BuildValue("s",_ptemp
);
5976 _resultobj
= Py_None
;
5981 #define wxDC_GetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetUserScale(_swigarg0,_swigarg1))
5982 static PyObject
*_wrap_wxDC_GetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5983 PyObject
* _resultobj
;
5989 PyObject
* _argo0
= 0;
5990 char *_kwnames
[] = { "self", NULL
};
5999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetUserScale",_kwnames
,&_argo0
))
6002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetUserScale. Expected _wxDC_p.");
6009 wxPy_BEGIN_ALLOW_THREADS
;
6010 wxDC_GetUserScale(_arg0
,_arg1
,_arg2
);
6012 wxPy_END_ALLOW_THREADS
;
6013 } Py_INCREF(Py_None
);
6014 _resultobj
= Py_None
;
6017 o
= PyFloat_FromDouble((double) (*_arg1
));
6018 _resultobj
= t_output_helper(_resultobj
, o
);
6022 o
= PyFloat_FromDouble((double) (*_arg2
));
6023 _resultobj
= t_output_helper(_resultobj
, o
);
6028 #define wxDC_LogicalToDeviceX(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceX(_swigarg0))
6029 static PyObject
*_wrap_wxDC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6030 PyObject
* _resultobj
;
6034 PyObject
* _argo0
= 0;
6035 char *_kwnames
[] = { "self","x", NULL
};
6038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceX",_kwnames
,&_argo0
,&_arg1
))
6041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceX. Expected _wxDC_p.");
6048 wxPy_BEGIN_ALLOW_THREADS
;
6049 _result
= (long )wxDC_LogicalToDeviceX(_arg0
,_arg1
);
6051 wxPy_END_ALLOW_THREADS
;
6052 } _resultobj
= Py_BuildValue("l",_result
);
6056 #define wxDC_LogicalToDeviceXRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceXRel(_swigarg0))
6057 static PyObject
*_wrap_wxDC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6058 PyObject
* _resultobj
;
6062 PyObject
* _argo0
= 0;
6063 char *_kwnames
[] = { "self","x", NULL
};
6066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceXRel",_kwnames
,&_argo0
,&_arg1
))
6069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceXRel. Expected _wxDC_p.");
6076 wxPy_BEGIN_ALLOW_THREADS
;
6077 _result
= (long )wxDC_LogicalToDeviceXRel(_arg0
,_arg1
);
6079 wxPy_END_ALLOW_THREADS
;
6080 } _resultobj
= Py_BuildValue("l",_result
);
6084 #define wxDC_LogicalToDeviceY(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceY(_swigarg0))
6085 static PyObject
*_wrap_wxDC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6086 PyObject
* _resultobj
;
6090 PyObject
* _argo0
= 0;
6091 char *_kwnames
[] = { "self","y", NULL
};
6094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceY",_kwnames
,&_argo0
,&_arg1
))
6097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceY. Expected _wxDC_p.");
6104 wxPy_BEGIN_ALLOW_THREADS
;
6105 _result
= (long )wxDC_LogicalToDeviceY(_arg0
,_arg1
);
6107 wxPy_END_ALLOW_THREADS
;
6108 } _resultobj
= Py_BuildValue("l",_result
);
6112 #define wxDC_LogicalToDeviceYRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceYRel(_swigarg0))
6113 static PyObject
*_wrap_wxDC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6114 PyObject
* _resultobj
;
6118 PyObject
* _argo0
= 0;
6119 char *_kwnames
[] = { "self","y", NULL
};
6122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceYRel",_kwnames
,&_argo0
,&_arg1
))
6125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceYRel. Expected _wxDC_p.");
6132 wxPy_BEGIN_ALLOW_THREADS
;
6133 _result
= (long )wxDC_LogicalToDeviceYRel(_arg0
,_arg1
);
6135 wxPy_END_ALLOW_THREADS
;
6136 } _resultobj
= Py_BuildValue("l",_result
);
6140 #define wxDC_MaxX(_swigobj) (_swigobj->MaxX())
6141 static PyObject
*_wrap_wxDC_MaxX(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_MaxX",_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_MaxX. Expected _wxDC_p.");
6159 wxPy_BEGIN_ALLOW_THREADS
;
6160 _result
= (long )wxDC_MaxX(_arg0
);
6162 wxPy_END_ALLOW_THREADS
;
6163 } _resultobj
= Py_BuildValue("l",_result
);
6167 #define wxDC_MaxY(_swigobj) (_swigobj->MaxY())
6168 static PyObject
*_wrap_wxDC_MaxY(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_MaxY",_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_MaxY. Expected _wxDC_p.");
6186 wxPy_BEGIN_ALLOW_THREADS
;
6187 _result
= (long )wxDC_MaxY(_arg0
);
6189 wxPy_END_ALLOW_THREADS
;
6190 } _resultobj
= Py_BuildValue("l",_result
);
6194 #define wxDC_MinX(_swigobj) (_swigobj->MinX())
6195 static PyObject
*_wrap_wxDC_MinX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6196 PyObject
* _resultobj
;
6199 PyObject
* _argo0
= 0;
6200 char *_kwnames
[] = { "self", NULL
};
6203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MinX",_kwnames
,&_argo0
))
6206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinX. Expected _wxDC_p.");
6213 wxPy_BEGIN_ALLOW_THREADS
;
6214 _result
= (long )wxDC_MinX(_arg0
);
6216 wxPy_END_ALLOW_THREADS
;
6217 } _resultobj
= Py_BuildValue("l",_result
);
6221 #define wxDC_MinY(_swigobj) (_swigobj->MinY())
6222 static PyObject
*_wrap_wxDC_MinY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6223 PyObject
* _resultobj
;
6226 PyObject
* _argo0
= 0;
6227 char *_kwnames
[] = { "self", NULL
};
6230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MinY",_kwnames
,&_argo0
))
6233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinY. Expected _wxDC_p.");
6240 wxPy_BEGIN_ALLOW_THREADS
;
6241 _result
= (long )wxDC_MinY(_arg0
);
6243 wxPy_END_ALLOW_THREADS
;
6244 } _resultobj
= Py_BuildValue("l",_result
);
6248 #define wxDC_Ok(_swigobj) (_swigobj->Ok())
6249 static PyObject
*_wrap_wxDC_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6250 PyObject
* _resultobj
;
6253 PyObject
* _argo0
= 0;
6254 char *_kwnames
[] = { "self", NULL
};
6257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_Ok",_kwnames
,&_argo0
))
6260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Ok. Expected _wxDC_p.");
6267 wxPy_BEGIN_ALLOW_THREADS
;
6268 _result
= (bool )wxDC_Ok(_arg0
);
6270 wxPy_END_ALLOW_THREADS
;
6271 } _resultobj
= Py_BuildValue("i",_result
);
6275 #define wxDC_SetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDeviceOrigin(_swigarg0,_swigarg1))
6276 static PyObject
*_wrap_wxDC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6277 PyObject
* _resultobj
;
6281 PyObject
* _argo0
= 0;
6282 char *_kwnames
[] = { "self","x","y", NULL
};
6285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_SetDeviceOrigin",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetDeviceOrigin. Expected _wxDC_p.");
6295 wxPy_BEGIN_ALLOW_THREADS
;
6296 wxDC_SetDeviceOrigin(_arg0
,_arg1
,_arg2
);
6298 wxPy_END_ALLOW_THREADS
;
6299 } Py_INCREF(Py_None
);
6300 _resultobj
= Py_None
;
6304 #define wxDC_SetBackground(_swigobj,_swigarg0) (_swigobj->SetBackground(_swigarg0))
6305 static PyObject
*_wrap_wxDC_SetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6306 PyObject
* _resultobj
;
6309 PyObject
* _argo0
= 0;
6310 PyObject
* _argo1
= 0;
6311 char *_kwnames
[] = { "self","brush", NULL
};
6314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetBackground",_kwnames
,&_argo0
,&_argo1
))
6317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackground. Expected _wxDC_p.");
6324 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6325 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
6326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBackground. Expected _wxBrush_p.");
6331 wxPy_BEGIN_ALLOW_THREADS
;
6332 wxDC_SetBackground(_arg0
,*_arg1
);
6334 wxPy_END_ALLOW_THREADS
;
6335 } Py_INCREF(Py_None
);
6336 _resultobj
= Py_None
;
6340 #define wxDC_SetBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetBackgroundMode(_swigarg0))
6341 static PyObject
*_wrap_wxDC_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6342 PyObject
* _resultobj
;
6345 PyObject
* _argo0
= 0;
6346 char *_kwnames
[] = { "self","mode", NULL
};
6349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetBackgroundMode",_kwnames
,&_argo0
,&_arg1
))
6352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackgroundMode. Expected _wxDC_p.");
6359 wxPy_BEGIN_ALLOW_THREADS
;
6360 wxDC_SetBackgroundMode(_arg0
,_arg1
);
6362 wxPy_END_ALLOW_THREADS
;
6363 } Py_INCREF(Py_None
);
6364 _resultobj
= Py_None
;
6368 #define wxDC_SetClippingRegion(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetClippingRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6369 static PyObject
*_wrap_wxDC_SetClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6370 PyObject
* _resultobj
;
6376 PyObject
* _argo0
= 0;
6377 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
6380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_SetClippingRegion",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
6383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetClippingRegion. Expected _wxDC_p.");
6390 wxPy_BEGIN_ALLOW_THREADS
;
6391 wxDC_SetClippingRegion(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6393 wxPy_END_ALLOW_THREADS
;
6394 } Py_INCREF(Py_None
);
6395 _resultobj
= Py_None
;
6399 #define wxDC_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
6400 static PyObject
*_wrap_wxDC_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6401 PyObject
* _resultobj
;
6404 PyObject
* _argo0
= 0;
6405 PyObject
* _argo1
= 0;
6406 char *_kwnames
[] = { "self","colourMap", NULL
};
6409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetPalette",_kwnames
,&_argo0
,&_argo1
))
6412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPalette. Expected _wxDC_p.");
6419 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6420 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPalette_p")) {
6421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPalette. Expected _wxPalette_p.");
6426 wxPy_BEGIN_ALLOW_THREADS
;
6427 wxDC_SetPalette(_arg0
,*_arg1
);
6429 wxPy_END_ALLOW_THREADS
;
6430 } Py_INCREF(Py_None
);
6431 _resultobj
= Py_None
;
6435 #define wxDC_SetBrush(_swigobj,_swigarg0) (_swigobj->SetBrush(_swigarg0))
6436 static PyObject
*_wrap_wxDC_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6437 PyObject
* _resultobj
;
6440 PyObject
* _argo0
= 0;
6441 PyObject
* _argo1
= 0;
6442 char *_kwnames
[] = { "self","brush", NULL
};
6445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetBrush",_kwnames
,&_argo0
,&_argo1
))
6448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBrush. Expected _wxDC_p.");
6455 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6456 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
6457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBrush. Expected _wxBrush_p.");
6462 wxPy_BEGIN_ALLOW_THREADS
;
6463 wxDC_SetBrush(_arg0
,*_arg1
);
6465 wxPy_END_ALLOW_THREADS
;
6466 } Py_INCREF(Py_None
);
6467 _resultobj
= Py_None
;
6471 #define wxDC_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
6472 static PyObject
*_wrap_wxDC_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6473 PyObject
* _resultobj
;
6476 PyObject
* _argo0
= 0;
6477 PyObject
* _argo1
= 0;
6478 char *_kwnames
[] = { "self","font", NULL
};
6481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetFont",_kwnames
,&_argo0
,&_argo1
))
6484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetFont. Expected _wxDC_p.");
6491 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6492 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
6493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetFont. Expected _wxFont_p.");
6498 wxPy_BEGIN_ALLOW_THREADS
;
6499 wxDC_SetFont(_arg0
,*_arg1
);
6501 wxPy_END_ALLOW_THREADS
;
6502 } Py_INCREF(Py_None
);
6503 _resultobj
= Py_None
;
6507 #define wxDC_SetLogicalFunction(_swigobj,_swigarg0) (_swigobj->SetLogicalFunction(_swigarg0))
6508 static PyObject
*_wrap_wxDC_SetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6509 PyObject
* _resultobj
;
6512 PyObject
* _argo0
= 0;
6513 char *_kwnames
[] = { "self","function", NULL
};
6516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetLogicalFunction",_kwnames
,&_argo0
,&_arg1
))
6519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalFunction. Expected _wxDC_p.");
6526 wxPy_BEGIN_ALLOW_THREADS
;
6527 wxDC_SetLogicalFunction(_arg0
,_arg1
);
6529 wxPy_END_ALLOW_THREADS
;
6530 } Py_INCREF(Py_None
);
6531 _resultobj
= Py_None
;
6535 #define wxDC_SetLogicalScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLogicalScale(_swigarg0,_swigarg1))
6536 static PyObject
*_wrap_wxDC_SetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6537 PyObject
* _resultobj
;
6541 PyObject
* _argo0
= 0;
6542 char *_kwnames
[] = { "self","x","y", NULL
};
6545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxDC_SetLogicalScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalScale. Expected _wxDC_p.");
6555 wxPy_BEGIN_ALLOW_THREADS
;
6556 wxDC_SetLogicalScale(_arg0
,_arg1
,_arg2
);
6558 wxPy_END_ALLOW_THREADS
;
6559 } Py_INCREF(Py_None
);
6560 _resultobj
= Py_None
;
6564 #define wxDC_SetMapMode(_swigobj,_swigarg0) (_swigobj->SetMapMode(_swigarg0))
6565 static PyObject
*_wrap_wxDC_SetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6566 PyObject
* _resultobj
;
6569 PyObject
* _argo0
= 0;
6570 char *_kwnames
[] = { "self","mode", NULL
};
6573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetMapMode",_kwnames
,&_argo0
,&_arg1
))
6576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetMapMode. Expected _wxDC_p.");
6583 wxPy_BEGIN_ALLOW_THREADS
;
6584 wxDC_SetMapMode(_arg0
,_arg1
);
6586 wxPy_END_ALLOW_THREADS
;
6587 } Py_INCREF(Py_None
);
6588 _resultobj
= Py_None
;
6592 #define wxDC_SetOptimization(_swigobj,_swigarg0) (_swigobj->SetOptimization(_swigarg0))
6593 static PyObject
*_wrap_wxDC_SetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6594 PyObject
* _resultobj
;
6597 PyObject
* _argo0
= 0;
6599 char *_kwnames
[] = { "self","optimize", NULL
};
6602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetOptimization",_kwnames
,&_argo0
,&tempbool1
))
6605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetOptimization. Expected _wxDC_p.");
6611 _arg1
= (bool ) tempbool1
;
6613 wxPy_BEGIN_ALLOW_THREADS
;
6614 wxDC_SetOptimization(_arg0
,_arg1
);
6616 wxPy_END_ALLOW_THREADS
;
6617 } Py_INCREF(Py_None
);
6618 _resultobj
= Py_None
;
6622 #define wxDC_SetPen(_swigobj,_swigarg0) (_swigobj->SetPen(_swigarg0))
6623 static PyObject
*_wrap_wxDC_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6624 PyObject
* _resultobj
;
6627 PyObject
* _argo0
= 0;
6628 PyObject
* _argo1
= 0;
6629 char *_kwnames
[] = { "self","pen", NULL
};
6632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetPen",_kwnames
,&_argo0
,&_argo1
))
6635 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6636 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPen. Expected _wxDC_p.");
6642 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6643 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
6644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPen. Expected _wxPen_p.");
6649 wxPy_BEGIN_ALLOW_THREADS
;
6650 wxDC_SetPen(_arg0
,*_arg1
);
6652 wxPy_END_ALLOW_THREADS
;
6653 } Py_INCREF(Py_None
);
6654 _resultobj
= Py_None
;
6658 #define wxDC_SetTextBackground(_swigobj,_swigarg0) (_swigobj->SetTextBackground(_swigarg0))
6659 static PyObject
*_wrap_wxDC_SetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6660 PyObject
* _resultobj
;
6663 PyObject
* _argo0
= 0;
6665 PyObject
* _obj1
= 0;
6666 char *_kwnames
[] = { "self","colour", NULL
};
6669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetTextBackground",_kwnames
,&_argo0
,&_obj1
))
6672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextBackground. Expected _wxDC_p.");
6680 if (! wxColour_helper(_obj1
, &_arg1
))
6684 wxPy_BEGIN_ALLOW_THREADS
;
6685 wxDC_SetTextBackground(_arg0
,*_arg1
);
6687 wxPy_END_ALLOW_THREADS
;
6688 } Py_INCREF(Py_None
);
6689 _resultobj
= Py_None
;
6693 #define wxDC_SetTextForeground(_swigobj,_swigarg0) (_swigobj->SetTextForeground(_swigarg0))
6694 static PyObject
*_wrap_wxDC_SetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6695 PyObject
* _resultobj
;
6698 PyObject
* _argo0
= 0;
6700 PyObject
* _obj1
= 0;
6701 char *_kwnames
[] = { "self","colour", NULL
};
6704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetTextForeground",_kwnames
,&_argo0
,&_obj1
))
6707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextForeground. Expected _wxDC_p.");
6715 if (! wxColour_helper(_obj1
, &_arg1
))
6719 wxPy_BEGIN_ALLOW_THREADS
;
6720 wxDC_SetTextForeground(_arg0
,*_arg1
);
6722 wxPy_END_ALLOW_THREADS
;
6723 } Py_INCREF(Py_None
);
6724 _resultobj
= Py_None
;
6728 #define wxDC_SetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetUserScale(_swigarg0,_swigarg1))
6729 static PyObject
*_wrap_wxDC_SetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6730 PyObject
* _resultobj
;
6734 PyObject
* _argo0
= 0;
6735 char *_kwnames
[] = { "self","x_scale","y_scale", NULL
};
6738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxDC_SetUserScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetUserScale. Expected _wxDC_p.");
6748 wxPy_BEGIN_ALLOW_THREADS
;
6749 wxDC_SetUserScale(_arg0
,_arg1
,_arg2
);
6751 wxPy_END_ALLOW_THREADS
;
6752 } Py_INCREF(Py_None
);
6753 _resultobj
= Py_None
;
6757 #define wxDC_StartDoc(_swigobj,_swigarg0) (_swigobj->StartDoc(_swigarg0))
6758 static PyObject
*_wrap_wxDC_StartDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6759 PyObject
* _resultobj
;
6763 PyObject
* _argo0
= 0;
6764 PyObject
* _obj1
= 0;
6765 char *_kwnames
[] = { "self","message", NULL
};
6768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_StartDoc",_kwnames
,&_argo0
,&_obj1
))
6771 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6772 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartDoc. Expected _wxDC_p.");
6778 #if PYTHON_API_VERSION >= 1009
6779 char* tmpPtr
; int tmpSize
;
6780 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6781 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
6784 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6786 _arg1
= new wxString(tmpPtr
, tmpSize
);
6788 if (!PyString_Check(_obj1
)) {
6789 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6792 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6796 wxPy_BEGIN_ALLOW_THREADS
;
6797 _result
= (bool )wxDC_StartDoc(_arg0
,*_arg1
);
6799 wxPy_END_ALLOW_THREADS
;
6800 } _resultobj
= Py_BuildValue("i",_result
);
6808 #define wxDC_StartPage(_swigobj) (_swigobj->StartPage())
6809 static PyObject
*_wrap_wxDC_StartPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6810 PyObject
* _resultobj
;
6812 PyObject
* _argo0
= 0;
6813 char *_kwnames
[] = { "self", NULL
};
6816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_StartPage",_kwnames
,&_argo0
))
6819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartPage. Expected _wxDC_p.");
6826 wxPy_BEGIN_ALLOW_THREADS
;
6827 wxDC_StartPage(_arg0
);
6829 wxPy_END_ALLOW_THREADS
;
6830 } Py_INCREF(Py_None
);
6831 _resultobj
= Py_None
;
6835 #define wxDC_DrawBitmap(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6836 static PyObject
*_wrap_wxDC_DrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6837 PyObject
* _resultobj
;
6842 int _arg4
= (int ) FALSE
;
6843 PyObject
* _argo0
= 0;
6844 PyObject
* _argo1
= 0;
6845 char *_kwnames
[] = { "self","bitmap","x","y","useMask", NULL
};
6848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll|i:wxDC_DrawBitmap",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
))
6851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawBitmap. Expected _wxDC_p.");
6858 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6859 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
6860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawBitmap. Expected _wxBitmap_p.");
6865 wxPy_BEGIN_ALLOW_THREADS
;
6866 wxDC_DrawBitmap(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
6868 wxPy_END_ALLOW_THREADS
;
6869 } Py_INCREF(Py_None
);
6870 _resultobj
= Py_None
;
6874 #define wxDC_CanDrawBitmap(_swigobj) (_swigobj->CanDrawBitmap())
6875 static PyObject
*_wrap_wxDC_CanDrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6876 PyObject
* _resultobj
;
6879 PyObject
* _argo0
= 0;
6880 char *_kwnames
[] = { "self", NULL
};
6883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_CanDrawBitmap",_kwnames
,&_argo0
))
6886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CanDrawBitmap. Expected _wxDC_p.");
6893 wxPy_BEGIN_ALLOW_THREADS
;
6894 _result
= (bool )wxDC_CanDrawBitmap(_arg0
);
6896 wxPy_END_ALLOW_THREADS
;
6897 } _resultobj
= Py_BuildValue("i",_result
);
6901 #define wxDC_CanGetTextExtent(_swigobj) (_swigobj->CanGetTextExtent())
6902 static PyObject
*_wrap_wxDC_CanGetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6903 PyObject
* _resultobj
;
6906 PyObject
* _argo0
= 0;
6907 char *_kwnames
[] = { "self", NULL
};
6910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_CanGetTextExtent",_kwnames
,&_argo0
))
6913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CanGetTextExtent. Expected _wxDC_p.");
6920 wxPy_BEGIN_ALLOW_THREADS
;
6921 _result
= (bool )wxDC_CanGetTextExtent(_arg0
);
6923 wxPy_END_ALLOW_THREADS
;
6924 } _resultobj
= Py_BuildValue("i",_result
);
6928 #define wxDC_GetDepth(_swigobj) (_swigobj->GetDepth())
6929 static PyObject
*_wrap_wxDC_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6930 PyObject
* _resultobj
;
6933 PyObject
* _argo0
= 0;
6934 char *_kwnames
[] = { "self", NULL
};
6937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetDepth",_kwnames
,&_argo0
))
6940 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6941 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetDepth. Expected _wxDC_p.");
6947 wxPy_BEGIN_ALLOW_THREADS
;
6948 _result
= (int )wxDC_GetDepth(_arg0
);
6950 wxPy_END_ALLOW_THREADS
;
6951 } _resultobj
= Py_BuildValue("i",_result
);
6955 #define wxDC_GetPPI(_swigobj) (_swigobj->GetPPI())
6956 static PyObject
*_wrap_wxDC_GetPPI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6957 PyObject
* _resultobj
;
6960 PyObject
* _argo0
= 0;
6961 char *_kwnames
[] = { "self", NULL
};
6965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetPPI",_kwnames
,&_argo0
))
6968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPPI. Expected _wxDC_p.");
6975 wxPy_BEGIN_ALLOW_THREADS
;
6976 _result
= new wxSize (wxDC_GetPPI(_arg0
));
6978 wxPy_END_ALLOW_THREADS
;
6979 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
6980 _resultobj
= Py_BuildValue("s",_ptemp
);
6984 #define wxDC_GetLogicalOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLogicalOrigin(_swigarg0,_swigarg1))
6985 static PyObject
*_wrap_wxDC_GetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6986 PyObject
* _resultobj
;
6992 PyObject
* _argo0
= 0;
6993 char *_kwnames
[] = { "self", NULL
};
7002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalOrigin",_kwnames
,&_argo0
))
7005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalOrigin. Expected _wxDC_p.");
7012 wxPy_BEGIN_ALLOW_THREADS
;
7013 wxDC_GetLogicalOrigin(_arg0
,_arg1
,_arg2
);
7015 wxPy_END_ALLOW_THREADS
;
7016 } Py_INCREF(Py_None
);
7017 _resultobj
= Py_None
;
7020 o
= PyInt_FromLong((long) (*_arg1
));
7021 _resultobj
= t_output_helper(_resultobj
, o
);
7025 o
= PyInt_FromLong((long) (*_arg2
));
7026 _resultobj
= t_output_helper(_resultobj
, o
);
7031 #define wxDC_SetLogicalOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLogicalOrigin(_swigarg0,_swigarg1))
7032 static PyObject
*_wrap_wxDC_SetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7033 PyObject
* _resultobj
;
7037 PyObject
* _argo0
= 0;
7038 char *_kwnames
[] = { "self","x","y", NULL
};
7041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_SetLogicalOrigin",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalOrigin. Expected _wxDC_p.");
7051 wxPy_BEGIN_ALLOW_THREADS
;
7052 wxDC_SetLogicalOrigin(_arg0
,_arg1
,_arg2
);
7054 wxPy_END_ALLOW_THREADS
;
7055 } Py_INCREF(Py_None
);
7056 _resultobj
= Py_None
;
7060 #define wxDC_GetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDeviceOrigin(_swigarg0,_swigarg1))
7061 static PyObject
*_wrap_wxDC_GetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7062 PyObject
* _resultobj
;
7068 PyObject
* _argo0
= 0;
7069 char *_kwnames
[] = { "self", NULL
};
7078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetDeviceOrigin",_kwnames
,&_argo0
))
7081 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7082 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetDeviceOrigin. Expected _wxDC_p.");
7088 wxPy_BEGIN_ALLOW_THREADS
;
7089 wxDC_GetDeviceOrigin(_arg0
,_arg1
,_arg2
);
7091 wxPy_END_ALLOW_THREADS
;
7092 } Py_INCREF(Py_None
);
7093 _resultobj
= Py_None
;
7096 o
= PyInt_FromLong((long) (*_arg1
));
7097 _resultobj
= t_output_helper(_resultobj
, o
);
7101 o
= PyInt_FromLong((long) (*_arg2
));
7102 _resultobj
= t_output_helper(_resultobj
, o
);
7107 #define wxDC_SetAxisOrientation(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAxisOrientation(_swigarg0,_swigarg1))
7108 static PyObject
*_wrap_wxDC_SetAxisOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7109 PyObject
* _resultobj
;
7113 PyObject
* _argo0
= 0;
7116 char *_kwnames
[] = { "self","xLeftRight","yBottomUp", NULL
};
7119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_SetAxisOrientation",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
7122 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7123 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetAxisOrientation. Expected _wxDC_p.");
7128 _arg1
= (bool ) tempbool1
;
7129 _arg2
= (bool ) tempbool2
;
7131 wxPy_BEGIN_ALLOW_THREADS
;
7132 wxDC_SetAxisOrientation(_arg0
,_arg1
,_arg2
);
7134 wxPy_END_ALLOW_THREADS
;
7135 } Py_INCREF(Py_None
);
7136 _resultobj
= Py_None
;
7140 #define wxDC_CalcBoundingBox(_swigobj,_swigarg0,_swigarg1) (_swigobj->CalcBoundingBox(_swigarg0,_swigarg1))
7141 static PyObject
*_wrap_wxDC_CalcBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7142 PyObject
* _resultobj
;
7146 PyObject
* _argo0
= 0;
7147 char *_kwnames
[] = { "self","x","y", NULL
};
7150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_CalcBoundingBox",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
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_CalcBoundingBox. Expected _wxDC_p.");
7160 wxPy_BEGIN_ALLOW_THREADS
;
7161 wxDC_CalcBoundingBox(_arg0
,_arg1
,_arg2
);
7163 wxPy_END_ALLOW_THREADS
;
7164 } Py_INCREF(Py_None
);
7165 _resultobj
= Py_None
;
7169 #define wxDC_ResetBoundingBox(_swigobj) (_swigobj->ResetBoundingBox())
7170 static PyObject
*_wrap_wxDC_ResetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7171 PyObject
* _resultobj
;
7173 PyObject
* _argo0
= 0;
7174 char *_kwnames
[] = { "self", NULL
};
7177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_ResetBoundingBox",_kwnames
,&_argo0
))
7180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_ResetBoundingBox. Expected _wxDC_p.");
7187 wxPy_BEGIN_ALLOW_THREADS
;
7188 wxDC_ResetBoundingBox(_arg0
);
7190 wxPy_END_ALLOW_THREADS
;
7191 } Py_INCREF(Py_None
);
7192 _resultobj
= Py_None
;
7196 static void *SwigwxMemoryDCTowxDC(void *ptr
) {
7199 src
= (wxMemoryDC
*) ptr
;
7200 dest
= (wxDC
*) src
;
7201 return (void *) dest
;
7204 #define new_wxMemoryDC() (new wxMemoryDC())
7205 static PyObject
*_wrap_new_wxMemoryDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7206 PyObject
* _resultobj
;
7207 wxMemoryDC
* _result
;
7208 char *_kwnames
[] = { NULL
};
7212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMemoryDC",_kwnames
))
7215 wxPy_BEGIN_ALLOW_THREADS
;
7216 _result
= (wxMemoryDC
*)new_wxMemoryDC();
7218 wxPy_END_ALLOW_THREADS
;
7220 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
7221 _resultobj
= Py_BuildValue("s",_ptemp
);
7224 _resultobj
= Py_None
;
7229 #define wxMemoryDC_SelectObject(_swigobj,_swigarg0) (_swigobj->SelectObject(_swigarg0))
7230 static PyObject
*_wrap_wxMemoryDC_SelectObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7231 PyObject
* _resultobj
;
7234 PyObject
* _argo0
= 0;
7235 PyObject
* _argo1
= 0;
7236 char *_kwnames
[] = { "self","bitmap", NULL
};
7239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMemoryDC_SelectObject",_kwnames
,&_argo0
,&_argo1
))
7242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMemoryDC_p")) {
7244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDC_SelectObject. Expected _wxMemoryDC_p.");
7249 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7250 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
7251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMemoryDC_SelectObject. Expected _wxBitmap_p.");
7256 wxPy_BEGIN_ALLOW_THREADS
;
7257 wxMemoryDC_SelectObject(_arg0
,*_arg1
);
7259 wxPy_END_ALLOW_THREADS
;
7260 } Py_INCREF(Py_None
);
7261 _resultobj
= Py_None
;
7265 static void *SwigwxScreenDCTowxDC(void *ptr
) {
7268 src
= (wxScreenDC
*) ptr
;
7269 dest
= (wxDC
*) src
;
7270 return (void *) dest
;
7273 #define new_wxScreenDC() (new wxScreenDC())
7274 static PyObject
*_wrap_new_wxScreenDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7275 PyObject
* _resultobj
;
7276 wxScreenDC
* _result
;
7277 char *_kwnames
[] = { NULL
};
7281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxScreenDC",_kwnames
))
7284 wxPy_BEGIN_ALLOW_THREADS
;
7285 _result
= (wxScreenDC
*)new_wxScreenDC();
7287 wxPy_END_ALLOW_THREADS
;
7289 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScreenDC_p");
7290 _resultobj
= Py_BuildValue("s",_ptemp
);
7293 _resultobj
= Py_None
;
7298 #define wxScreenDC_StartDrawingOnTopWin(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
7299 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTopWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7300 PyObject
* _resultobj
;
7304 PyObject
* _argo0
= 0;
7305 PyObject
* _argo1
= 0;
7306 char *_kwnames
[] = { "self","window", NULL
};
7309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScreenDC_StartDrawingOnTopWin",_kwnames
,&_argo0
,&_argo1
))
7312 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7313 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
7314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTopWin. Expected _wxScreenDC_p.");
7319 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7320 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScreenDC_StartDrawingOnTopWin. Expected _wxWindow_p.");
7326 wxPy_BEGIN_ALLOW_THREADS
;
7327 _result
= (bool )wxScreenDC_StartDrawingOnTopWin(_arg0
,_arg1
);
7329 wxPy_END_ALLOW_THREADS
;
7330 } _resultobj
= Py_BuildValue("i",_result
);
7334 #define wxScreenDC_StartDrawingOnTop(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
7335 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7336 PyObject
* _resultobj
;
7339 wxRect
* _arg1
= (wxRect
*) NULL
;
7340 PyObject
* _argo0
= 0;
7342 PyObject
* _obj1
= 0;
7343 char *_kwnames
[] = { "self","rect", NULL
};
7346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxScreenDC_StartDrawingOnTop",_kwnames
,&_argo0
,&_obj1
))
7349 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7350 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
7351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTop. Expected _wxScreenDC_p.");
7358 if (! wxRect_helper(_obj1
, &_arg1
))
7362 wxPy_BEGIN_ALLOW_THREADS
;
7363 _result
= (bool )wxScreenDC_StartDrawingOnTop(_arg0
,_arg1
);
7365 wxPy_END_ALLOW_THREADS
;
7366 } _resultobj
= Py_BuildValue("i",_result
);
7370 #define wxScreenDC_EndDrawingOnTop(_swigobj) (_swigobj->EndDrawingOnTop())
7371 static PyObject
*_wrap_wxScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7372 PyObject
* _resultobj
;
7375 PyObject
* _argo0
= 0;
7376 char *_kwnames
[] = { "self", NULL
};
7379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScreenDC_EndDrawingOnTop",_kwnames
,&_argo0
))
7382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
7384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_EndDrawingOnTop. Expected _wxScreenDC_p.");
7389 wxPy_BEGIN_ALLOW_THREADS
;
7390 _result
= (bool )wxScreenDC_EndDrawingOnTop(_arg0
);
7392 wxPy_END_ALLOW_THREADS
;
7393 } _resultobj
= Py_BuildValue("i",_result
);
7397 static void *SwigwxClientDCTowxDC(void *ptr
) {
7400 src
= (wxClientDC
*) ptr
;
7401 dest
= (wxDC
*) src
;
7402 return (void *) dest
;
7405 #define new_wxClientDC(_swigarg0) (new wxClientDC(_swigarg0))
7406 static PyObject
*_wrap_new_wxClientDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7407 PyObject
* _resultobj
;
7408 wxClientDC
* _result
;
7410 PyObject
* _argo0
= 0;
7411 char *_kwnames
[] = { "win", NULL
};
7415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxClientDC",_kwnames
,&_argo0
))
7418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
7420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxClientDC. Expected _wxWindow_p.");
7425 wxPy_BEGIN_ALLOW_THREADS
;
7426 _result
= (wxClientDC
*)new_wxClientDC(_arg0
);
7428 wxPy_END_ALLOW_THREADS
;
7430 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxClientDC_p");
7431 _resultobj
= Py_BuildValue("s",_ptemp
);
7434 _resultobj
= Py_None
;
7439 static void *SwigwxPaintDCTowxDC(void *ptr
) {
7442 src
= (wxPaintDC
*) ptr
;
7443 dest
= (wxDC
*) src
;
7444 return (void *) dest
;
7447 #define new_wxPaintDC(_swigarg0) (new wxPaintDC(_swigarg0))
7448 static PyObject
*_wrap_new_wxPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7449 PyObject
* _resultobj
;
7450 wxPaintDC
* _result
;
7452 PyObject
* _argo0
= 0;
7453 char *_kwnames
[] = { "win", NULL
};
7457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPaintDC",_kwnames
,&_argo0
))
7460 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7461 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
7462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPaintDC. Expected _wxWindow_p.");
7467 wxPy_BEGIN_ALLOW_THREADS
;
7468 _result
= (wxPaintDC
*)new_wxPaintDC(_arg0
);
7470 wxPy_END_ALLOW_THREADS
;
7472 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPaintDC_p");
7473 _resultobj
= Py_BuildValue("s",_ptemp
);
7476 _resultobj
= Py_None
;
7481 static void *SwigwxWindowDCTowxDC(void *ptr
) {
7484 src
= (wxWindowDC
*) ptr
;
7485 dest
= (wxDC
*) src
;
7486 return (void *) dest
;
7489 #define new_wxWindowDC(_swigarg0) (new wxWindowDC(_swigarg0))
7490 static PyObject
*_wrap_new_wxWindowDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7491 PyObject
* _resultobj
;
7492 wxWindowDC
* _result
;
7494 PyObject
* _argo0
= 0;
7495 char *_kwnames
[] = { "win", NULL
};
7499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxWindowDC",_kwnames
,&_argo0
))
7502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
7504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDC. Expected _wxWindow_p.");
7509 wxPy_BEGIN_ALLOW_THREADS
;
7510 _result
= (wxWindowDC
*)new_wxWindowDC(_arg0
);
7512 wxPy_END_ALLOW_THREADS
;
7514 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDC_p");
7515 _resultobj
= Py_BuildValue("s",_ptemp
);
7518 _resultobj
= Py_None
;
7523 static void *SwigwxMetaFileDCTowxDC(void *ptr
) {
7526 src
= (wxMetaFileDC
*) ptr
;
7527 dest
= (wxDC
*) src
;
7528 return (void *) dest
;
7531 #define new_wxMetaFileDC(_swigarg0) (new wxMetaFileDC(_swigarg0))
7532 static PyObject
*_wrap_new_wxMetaFileDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7533 PyObject
* _resultobj
;
7534 wxMetaFileDC
* _result
;
7535 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
7536 PyObject
* _obj0
= 0;
7537 char *_kwnames
[] = { "filename", NULL
};
7541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxMetaFileDC",_kwnames
,&_obj0
))
7545 #if PYTHON_API_VERSION >= 1009
7546 char* tmpPtr
; int tmpSize
;
7547 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
7548 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
7551 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
7553 _arg0
= new wxString(tmpPtr
, tmpSize
);
7555 if (!PyString_Check(_obj0
)) {
7556 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7559 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
7563 wxPy_BEGIN_ALLOW_THREADS
;
7564 _result
= (wxMetaFileDC
*)new_wxMetaFileDC(*_arg0
);
7566 wxPy_END_ALLOW_THREADS
;
7568 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMetaFileDC_p");
7569 _resultobj
= Py_BuildValue("s",_ptemp
);
7572 _resultobj
= Py_None
;
7581 #define wxMetaFileDC_Close(_swigobj) (_swigobj->Close())
7582 static PyObject
*_wrap_wxMetaFileDC_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7583 PyObject
* _resultobj
;
7584 wxMetaFile
* _result
;
7585 wxMetaFileDC
* _arg0
;
7586 PyObject
* _argo0
= 0;
7587 char *_kwnames
[] = { "self", NULL
};
7591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMetaFileDC_Close",_kwnames
,&_argo0
))
7594 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7595 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMetaFileDC_p")) {
7596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMetaFileDC_Close. Expected _wxMetaFileDC_p.");
7601 wxPy_BEGIN_ALLOW_THREADS
;
7602 _result
= (wxMetaFile
*)wxMetaFileDC_Close(_arg0
);
7604 wxPy_END_ALLOW_THREADS
;
7606 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMetaFile_p");
7607 _resultobj
= Py_BuildValue("s",_ptemp
);
7610 _resultobj
= Py_None
;
7615 #define new_wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7616 static PyObject
*_wrap_new_wxPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7617 PyObject
* _resultobj
;
7618 wxPalette
* _result
;
7623 PyObject
* _obj1
= 0;
7624 PyObject
* _obj2
= 0;
7625 PyObject
* _obj3
= 0;
7626 char *_kwnames
[] = { "choices","choices","choices", NULL
};
7630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:new_wxPalette",_kwnames
,&_obj1
,&_obj2
,&_obj3
))
7633 _arg1
= byte_LIST_helper(_obj1
);
7634 if (_arg1
== NULL
) {
7639 _arg2
= byte_LIST_helper(_obj2
);
7640 if (_arg2
== NULL
) {
7646 _arg3
= byte_LIST_helper(_obj3
);
7647 if (_arg3
== NULL
) {
7653 _arg0
= PyList_Size(_obj1
);
7660 wxPy_BEGIN_ALLOW_THREADS
;
7661 _result
= (wxPalette
*)new_wxPalette(_arg0
,_arg1
,_arg2
,_arg3
);
7663 wxPy_END_ALLOW_THREADS
;
7665 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
7666 _resultobj
= Py_BuildValue("s",_ptemp
);
7669 _resultobj
= Py_None
;
7683 #define delete_wxPalette(_swigobj) (delete _swigobj)
7684 static PyObject
*_wrap_delete_wxPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7685 PyObject
* _resultobj
;
7687 PyObject
* _argo0
= 0;
7688 char *_kwnames
[] = { "self", NULL
};
7691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPalette",_kwnames
,&_argo0
))
7694 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7695 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
7696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPalette. Expected _wxPalette_p.");
7701 wxPy_BEGIN_ALLOW_THREADS
;
7702 delete_wxPalette(_arg0
);
7704 wxPy_END_ALLOW_THREADS
;
7705 } Py_INCREF(Py_None
);
7706 _resultobj
= Py_None
;
7710 #define wxPalette_GetPixel(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetPixel(_swigarg0,_swigarg1,_swigarg2))
7711 static PyObject
*_wrap_wxPalette_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7712 PyObject
* _resultobj
;
7718 PyObject
* _argo0
= 0;
7719 char *_kwnames
[] = { "self","red","green","blue", NULL
};
7722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Obbb:wxPalette_GetPixel",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
7725 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7726 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
7727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetPixel. Expected _wxPalette_p.");
7732 wxPy_BEGIN_ALLOW_THREADS
;
7733 _result
= (int )wxPalette_GetPixel(_arg0
,_arg1
,_arg2
,_arg3
);
7735 wxPy_END_ALLOW_THREADS
;
7736 } _resultobj
= Py_BuildValue("i",_result
);
7740 #define wxPalette_GetRGB(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetRGB(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7741 static PyObject
*_wrap_wxPalette_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7742 PyObject
* _resultobj
;
7749 PyObject
* _argo0
= 0;
7750 PyObject
* _argo2
= 0;
7751 PyObject
* _argo3
= 0;
7752 PyObject
* _argo4
= 0;
7753 char *_kwnames
[] = { "self","pixel","OUTPUT","OUTPUT","OUTPUT", NULL
};
7756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOOO:wxPalette_GetRGB",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_argo4
))
7759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
7761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetRGB. Expected _wxPalette_p.");
7766 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7767 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_byte_p")) {
7768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPalette_GetRGB. Expected _byte_p.");
7773 if (_argo3
== Py_None
) { _arg3
= NULL
; }
7774 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_byte_p")) {
7775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxPalette_GetRGB. Expected _byte_p.");
7780 if (_argo4
== Py_None
) { _arg4
= NULL
; }
7781 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_byte_p")) {
7782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxPalette_GetRGB. Expected _byte_p.");
7787 wxPy_BEGIN_ALLOW_THREADS
;
7788 _result
= (bool )wxPalette_GetRGB(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7790 wxPy_END_ALLOW_THREADS
;
7791 } _resultobj
= Py_BuildValue("i",_result
);
7795 #define wxPalette_Ok(_swigobj) (_swigobj->Ok())
7796 static PyObject
*_wrap_wxPalette_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7797 PyObject
* _resultobj
;
7800 PyObject
* _argo0
= 0;
7801 char *_kwnames
[] = { "self", NULL
};
7804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPalette_Ok",_kwnames
,&_argo0
))
7807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
7809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_Ok. Expected _wxPalette_p.");
7814 wxPy_BEGIN_ALLOW_THREADS
;
7815 _result
= (bool )wxPalette_Ok(_arg0
);
7817 wxPy_END_ALLOW_THREADS
;
7818 } _resultobj
= Py_BuildValue("i",_result
);
7822 #define new_wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7823 static PyObject
*_wrap_new_wxImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7824 PyObject
* _resultobj
;
7825 wxImageList
* _result
;
7828 int _arg2
= (int ) TRUE
;
7829 int _arg3
= (int ) 1;
7830 char *_kwnames
[] = { "width","height","mask","initialCount", NULL
};
7834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ii|ii:new_wxImageList",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
7837 wxPy_BEGIN_ALLOW_THREADS
;
7838 _result
= (wxImageList
*)new_wxImageList(_arg0
,_arg1
,_arg2
,_arg3
);
7840 wxPy_END_ALLOW_THREADS
;
7842 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
7843 _resultobj
= Py_BuildValue("s",_ptemp
);
7846 _resultobj
= Py_None
;
7851 #define delete_wxImageList(_swigobj) (delete _swigobj)
7852 static PyObject
*_wrap_delete_wxImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7853 PyObject
* _resultobj
;
7854 wxImageList
* _arg0
;
7855 PyObject
* _argo0
= 0;
7856 char *_kwnames
[] = { "self", NULL
};
7859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxImageList",_kwnames
,&_argo0
))
7862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
7864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxImageList. Expected _wxImageList_p.");
7869 wxPy_BEGIN_ALLOW_THREADS
;
7870 delete_wxImageList(_arg0
);
7872 wxPy_END_ALLOW_THREADS
;
7873 } Py_INCREF(Py_None
);
7874 _resultobj
= Py_None
;
7878 #define wxImageList_Add(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
7879 static PyObject
*_wrap_wxImageList_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7880 PyObject
* _resultobj
;
7882 wxImageList
* _arg0
;
7884 wxBitmap
* _arg2
= (wxBitmap
*) &wxNullBitmap
;
7885 PyObject
* _argo0
= 0;
7886 PyObject
* _argo1
= 0;
7887 PyObject
* _argo2
= 0;
7888 char *_kwnames
[] = { "self","bitmap","mask", NULL
};
7891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxImageList_Add",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
7894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
7896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Add. Expected _wxImageList_p.");
7901 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7902 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
7903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_Add. Expected _wxBitmap_p.");
7908 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7909 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
7910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Add. Expected _wxBitmap_p.");
7915 wxPy_BEGIN_ALLOW_THREADS
;
7916 _result
= (int )wxImageList_Add(_arg0
,*_arg1
,*_arg2
);
7918 wxPy_END_ALLOW_THREADS
;
7919 } _resultobj
= Py_BuildValue("i",_result
);
7923 #define wxImageList_AddWithColourMask(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
7924 static PyObject
*_wrap_wxImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7925 PyObject
* _resultobj
;
7927 wxImageList
* _arg0
;
7930 PyObject
* _argo0
= 0;
7931 PyObject
* _argo1
= 0;
7933 PyObject
* _obj2
= 0;
7934 char *_kwnames
[] = { "self","bitmap","maskColour", NULL
};
7937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxImageList_AddWithColourMask",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7940 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7941 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
7942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_AddWithColourMask. Expected _wxImageList_p.");
7947 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7948 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
7949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_AddWithColourMask. Expected _wxBitmap_p.");
7955 if (! wxColour_helper(_obj2
, &_arg2
))
7959 wxPy_BEGIN_ALLOW_THREADS
;
7960 _result
= (int )wxImageList_AddWithColourMask(_arg0
,*_arg1
,*_arg2
);
7962 wxPy_END_ALLOW_THREADS
;
7963 } _resultobj
= Py_BuildValue("i",_result
);
7967 #define wxImageList_AddIcon(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
7968 static PyObject
*_wrap_wxImageList_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7969 PyObject
* _resultobj
;
7971 wxImageList
* _arg0
;
7973 PyObject
* _argo0
= 0;
7974 PyObject
* _argo1
= 0;
7975 char *_kwnames
[] = { "self","icon", NULL
};
7978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxImageList_AddIcon",_kwnames
,&_argo0
,&_argo1
))
7981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
7983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_AddIcon. Expected _wxImageList_p.");
7988 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7989 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
7990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_AddIcon. Expected _wxIcon_p.");
7995 wxPy_BEGIN_ALLOW_THREADS
;
7996 _result
= (int )wxImageList_AddIcon(_arg0
,*_arg1
);
7998 wxPy_END_ALLOW_THREADS
;
7999 } _resultobj
= Py_BuildValue("i",_result
);
8003 #define wxImageList_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
8004 static PyObject
*_wrap_wxImageList_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8005 PyObject
* _resultobj
;
8007 wxImageList
* _arg0
;
8010 wxBitmap
* _arg3
= (wxBitmap
*) &wxNullBitmap
;
8011 PyObject
* _argo0
= 0;
8012 PyObject
* _argo2
= 0;
8013 PyObject
* _argo3
= 0;
8014 char *_kwnames
[] = { "self","index","bitmap","mask", NULL
};
8017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxImageList_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
))
8020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
8022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Replace. Expected _wxImageList_p.");
8027 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8028 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
8029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Replace. Expected _wxBitmap_p.");
8034 if (_argo3
== Py_None
) { _arg3
= NULL
; }
8035 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
8036 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxImageList_Replace. Expected _wxBitmap_p.");
8041 wxPy_BEGIN_ALLOW_THREADS
;
8042 _result
= (bool )wxImageList_Replace(_arg0
,_arg1
,*_arg2
,*_arg3
);
8044 wxPy_END_ALLOW_THREADS
;
8045 } _resultobj
= Py_BuildValue("i",_result
);
8049 #define wxImageList_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8050 static PyObject
*_wrap_wxImageList_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8051 PyObject
* _resultobj
;
8053 wxImageList
* _arg0
;
8058 int _arg5
= (int ) (wxIMAGELIST_DRAW_NORMAL
);
8059 bool _arg6
= (bool ) FALSE
;
8060 PyObject
* _argo0
= 0;
8061 PyObject
* _argo2
= 0;
8062 int tempbool6
= (int) FALSE
;
8063 char *_kwnames
[] = { "self","index","dc","x","x","flags","solidBackground", NULL
};
8066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOii|ii:wxImageList_Draw",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
8069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
8071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Draw. Expected _wxImageList_p.");
8076 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8077 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDC_p")) {
8078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Draw. Expected _wxDC_p.");
8082 _arg6
= (bool ) tempbool6
;
8084 wxPy_BEGIN_ALLOW_THREADS
;
8085 _result
= (bool )wxImageList_Draw(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
8087 wxPy_END_ALLOW_THREADS
;
8088 } _resultobj
= Py_BuildValue("i",_result
);
8092 #define wxImageList_GetImageCount(_swigobj) (_swigobj->GetImageCount())
8093 static PyObject
*_wrap_wxImageList_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8094 PyObject
* _resultobj
;
8096 wxImageList
* _arg0
;
8097 PyObject
* _argo0
= 0;
8098 char *_kwnames
[] = { "self", NULL
};
8101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImageList_GetImageCount",_kwnames
,&_argo0
))
8104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
8106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_GetImageCount. Expected _wxImageList_p.");
8111 wxPy_BEGIN_ALLOW_THREADS
;
8112 _result
= (int )wxImageList_GetImageCount(_arg0
);
8114 wxPy_END_ALLOW_THREADS
;
8115 } _resultobj
= Py_BuildValue("i",_result
);
8119 #define wxImageList_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
8120 static PyObject
*_wrap_wxImageList_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8121 PyObject
* _resultobj
;
8123 wxImageList
* _arg0
;
8125 PyObject
* _argo0
= 0;
8126 char *_kwnames
[] = { "self","index", NULL
};
8129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxImageList_Remove",_kwnames
,&_argo0
,&_arg1
))
8132 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8133 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
8134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Remove. Expected _wxImageList_p.");
8139 wxPy_BEGIN_ALLOW_THREADS
;
8140 _result
= (bool )wxImageList_Remove(_arg0
,_arg1
);
8142 wxPy_END_ALLOW_THREADS
;
8143 } _resultobj
= Py_BuildValue("i",_result
);
8147 #define wxImageList_RemoveAll(_swigobj) (_swigobj->RemoveAll())
8148 static PyObject
*_wrap_wxImageList_RemoveAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8149 PyObject
* _resultobj
;
8151 wxImageList
* _arg0
;
8152 PyObject
* _argo0
= 0;
8153 char *_kwnames
[] = { "self", NULL
};
8156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImageList_RemoveAll",_kwnames
,&_argo0
))
8159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
8161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_RemoveAll. Expected _wxImageList_p.");
8166 wxPy_BEGIN_ALLOW_THREADS
;
8167 _result
= (bool )wxImageList_RemoveAll(_arg0
);
8169 wxPy_END_ALLOW_THREADS
;
8170 } _resultobj
= Py_BuildValue("i",_result
);
8174 #define wxImageList_GetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetSize(_swigarg0,_swigarg1,_swigarg2))
8175 static PyObject
*_wrap_wxImageList_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8176 PyObject
* _resultobj
;
8177 wxImageList
* _arg0
;
8183 PyObject
* _argo0
= 0;
8184 char *_kwnames
[] = { "self","index", NULL
};
8193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxImageList_GetSize",_kwnames
,&_argo0
,&_arg1
))
8196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
8198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_GetSize. Expected _wxImageList_p.");
8203 wxPy_BEGIN_ALLOW_THREADS
;
8204 wxImageList_GetSize(_arg0
,_arg1
,*_arg2
,*_arg3
);
8206 wxPy_END_ALLOW_THREADS
;
8207 } Py_INCREF(Py_None
);
8208 _resultobj
= Py_None
;
8211 o
= PyInt_FromLong((long) (*_arg2
));
8212 _resultobj
= t_output_helper(_resultobj
, o
);
8216 o
= PyInt_FromLong((long) (*_arg3
));
8217 _resultobj
= t_output_helper(_resultobj
, o
);
8222 static PyMethodDef gdicMethods
[] = {
8223 { "wxImageList_GetSize", (PyCFunction
) _wrap_wxImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
8224 { "wxImageList_RemoveAll", (PyCFunction
) _wrap_wxImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
},
8225 { "wxImageList_Remove", (PyCFunction
) _wrap_wxImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
},
8226 { "wxImageList_GetImageCount", (PyCFunction
) _wrap_wxImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
8227 { "wxImageList_Draw", (PyCFunction
) _wrap_wxImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
},
8228 { "wxImageList_Replace", (PyCFunction
) _wrap_wxImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
},
8229 { "wxImageList_AddIcon", (PyCFunction
) _wrap_wxImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
8230 { "wxImageList_AddWithColourMask", (PyCFunction
) _wrap_wxImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
},
8231 { "wxImageList_Add", (PyCFunction
) _wrap_wxImageList_Add
, METH_VARARGS
| METH_KEYWORDS
},
8232 { "delete_wxImageList", (PyCFunction
) _wrap_delete_wxImageList
, METH_VARARGS
| METH_KEYWORDS
},
8233 { "new_wxImageList", (PyCFunction
) _wrap_new_wxImageList
, METH_VARARGS
| METH_KEYWORDS
},
8234 { "wxPalette_Ok", (PyCFunction
) _wrap_wxPalette_Ok
, METH_VARARGS
| METH_KEYWORDS
},
8235 { "wxPalette_GetRGB", (PyCFunction
) _wrap_wxPalette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
8236 { "wxPalette_GetPixel", (PyCFunction
) _wrap_wxPalette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
8237 { "delete_wxPalette", (PyCFunction
) _wrap_delete_wxPalette
, METH_VARARGS
| METH_KEYWORDS
},
8238 { "new_wxPalette", (PyCFunction
) _wrap_new_wxPalette
, METH_VARARGS
| METH_KEYWORDS
},
8239 { "wxMetaFileDC_Close", (PyCFunction
) _wrap_wxMetaFileDC_Close
, METH_VARARGS
| METH_KEYWORDS
},
8240 { "new_wxMetaFileDC", (PyCFunction
) _wrap_new_wxMetaFileDC
, METH_VARARGS
| METH_KEYWORDS
},
8241 { "new_wxWindowDC", (PyCFunction
) _wrap_new_wxWindowDC
, METH_VARARGS
| METH_KEYWORDS
},
8242 { "new_wxPaintDC", (PyCFunction
) _wrap_new_wxPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
8243 { "new_wxClientDC", (PyCFunction
) _wrap_new_wxClientDC
, METH_VARARGS
| METH_KEYWORDS
},
8244 { "wxScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_wxScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
8245 { "wxScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_wxScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
8246 { "wxScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_wxScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
},
8247 { "new_wxScreenDC", (PyCFunction
) _wrap_new_wxScreenDC
, METH_VARARGS
| METH_KEYWORDS
},
8248 { "wxMemoryDC_SelectObject", (PyCFunction
) _wrap_wxMemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
},
8249 { "new_wxMemoryDC", (PyCFunction
) _wrap_new_wxMemoryDC
, METH_VARARGS
| METH_KEYWORDS
},
8250 { "wxDC_ResetBoundingBox", (PyCFunction
) _wrap_wxDC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
8251 { "wxDC_CalcBoundingBox", (PyCFunction
) _wrap_wxDC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
8252 { "wxDC_SetAxisOrientation", (PyCFunction
) _wrap_wxDC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
},
8253 { "wxDC_GetDeviceOrigin", (PyCFunction
) _wrap_wxDC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
8254 { "wxDC_SetLogicalOrigin", (PyCFunction
) _wrap_wxDC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
8255 { "wxDC_GetLogicalOrigin", (PyCFunction
) _wrap_wxDC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
8256 { "wxDC_GetPPI", (PyCFunction
) _wrap_wxDC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
},
8257 { "wxDC_GetDepth", (PyCFunction
) _wrap_wxDC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
8258 { "wxDC_CanGetTextExtent", (PyCFunction
) _wrap_wxDC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
8259 { "wxDC_CanDrawBitmap", (PyCFunction
) _wrap_wxDC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
8260 { "wxDC_DrawBitmap", (PyCFunction
) _wrap_wxDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
8261 { "wxDC_StartPage", (PyCFunction
) _wrap_wxDC_StartPage
, METH_VARARGS
| METH_KEYWORDS
},
8262 { "wxDC_StartDoc", (PyCFunction
) _wrap_wxDC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
},
8263 { "wxDC_SetUserScale", (PyCFunction
) _wrap_wxDC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
8264 { "wxDC_SetTextForeground", (PyCFunction
) _wrap_wxDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
8265 { "wxDC_SetTextBackground", (PyCFunction
) _wrap_wxDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
8266 { "wxDC_SetPen", (PyCFunction
) _wrap_wxDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
8267 { "wxDC_SetOptimization", (PyCFunction
) _wrap_wxDC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
8268 { "wxDC_SetMapMode", (PyCFunction
) _wrap_wxDC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
8269 { "wxDC_SetLogicalScale", (PyCFunction
) _wrap_wxDC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
8270 { "wxDC_SetLogicalFunction", (PyCFunction
) _wrap_wxDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
8271 { "wxDC_SetFont", (PyCFunction
) _wrap_wxDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
8272 { "wxDC_SetBrush", (PyCFunction
) _wrap_wxDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
8273 { "wxDC_SetPalette", (PyCFunction
) _wrap_wxDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
8274 { "wxDC_SetClippingRegion", (PyCFunction
) _wrap_wxDC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
8275 { "wxDC_SetBackgroundMode", (PyCFunction
) _wrap_wxDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
8276 { "wxDC_SetBackground", (PyCFunction
) _wrap_wxDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
},
8277 { "wxDC_SetDeviceOrigin", (PyCFunction
) _wrap_wxDC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
8278 { "wxDC_Ok", (PyCFunction
) _wrap_wxDC_Ok
, METH_VARARGS
| METH_KEYWORDS
},
8279 { "wxDC_MinY", (PyCFunction
) _wrap_wxDC_MinY
, METH_VARARGS
| METH_KEYWORDS
},
8280 { "wxDC_MinX", (PyCFunction
) _wrap_wxDC_MinX
, METH_VARARGS
| METH_KEYWORDS
},
8281 { "wxDC_MaxY", (PyCFunction
) _wrap_wxDC_MaxY
, METH_VARARGS
| METH_KEYWORDS
},
8282 { "wxDC_MaxX", (PyCFunction
) _wrap_wxDC_MaxX
, METH_VARARGS
| METH_KEYWORDS
},
8283 { "wxDC_LogicalToDeviceYRel", (PyCFunction
) _wrap_wxDC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
},
8284 { "wxDC_LogicalToDeviceY", (PyCFunction
) _wrap_wxDC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
},
8285 { "wxDC_LogicalToDeviceXRel", (PyCFunction
) _wrap_wxDC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
},
8286 { "wxDC_LogicalToDeviceX", (PyCFunction
) _wrap_wxDC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
},
8287 { "wxDC_GetUserScale", (PyCFunction
) _wrap_wxDC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
8288 { "wxDC_GetTextForeground", (PyCFunction
) _wrap_wxDC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
8289 { "wxDC_GetFullTextExtent", (PyCFunction
) _wrap_wxDC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
8290 { "wxDC_GetTextExtent", (PyCFunction
) _wrap_wxDC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
8291 { "wxDC_GetTextBackground", (PyCFunction
) _wrap_wxDC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
8292 { "wxDC_GetSizeMM", (PyCFunction
) _wrap_wxDC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
8293 { "wxDC_GetSize", (PyCFunction
) _wrap_wxDC_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
8294 { "wxDC_GetSizeTuple", (PyCFunction
) _wrap_wxDC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
8295 { "wxDC_GetPixel", (PyCFunction
) _wrap_wxDC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
8296 { "wxDC_GetPen", (PyCFunction
) _wrap_wxDC_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
8297 { "wxDC_GetOptimization", (PyCFunction
) _wrap_wxDC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
8298 { "wxDC_GetMapMode", (PyCFunction
) _wrap_wxDC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
8299 { "wxDC_GetLogicalScale", (PyCFunction
) _wrap_wxDC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
8300 { "wxDC_GetLogicalFunction", (PyCFunction
) _wrap_wxDC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
8301 { "wxDC_GetFont", (PyCFunction
) _wrap_wxDC_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
8302 { "wxDC_GetClippingBox", (PyCFunction
) _wrap_wxDC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
},
8303 { "wxDC_GetCharWidth", (PyCFunction
) _wrap_wxDC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
8304 { "wxDC_GetCharHeight", (PyCFunction
) _wrap_wxDC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
8305 { "wxDC_GetBrush", (PyCFunction
) _wrap_wxDC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
8306 { "wxDC_GetBackground", (PyCFunction
) _wrap_wxDC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
},
8307 { "wxDC_FloodFill", (PyCFunction
) _wrap_wxDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
},
8308 { "wxDC_EndPage", (PyCFunction
) _wrap_wxDC_EndPage
, METH_VARARGS
| METH_KEYWORDS
},
8309 { "wxDC_EndDrawing", (PyCFunction
) _wrap_wxDC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
},
8310 { "wxDC_EndDoc", (PyCFunction
) _wrap_wxDC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
},
8311 { "wxDC_DrawText", (PyCFunction
) _wrap_wxDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
8312 { "wxDC_DrawSpline", (PyCFunction
) _wrap_wxDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
8313 { "wxDC_DrawRoundedRectangle", (PyCFunction
) _wrap_wxDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
8314 { "wxDC_DrawRotatedText", (PyCFunction
) _wrap_wxDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
},
8315 { "wxDC_DrawRectangle", (PyCFunction
) _wrap_wxDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
8316 { "wxDC_DrawPoint", (PyCFunction
) _wrap_wxDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
8317 { "wxDC_DrawPolygon", (PyCFunction
) _wrap_wxDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
8318 { "wxDC_DrawLines", (PyCFunction
) _wrap_wxDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
8319 { "wxDC_DrawLine", (PyCFunction
) _wrap_wxDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
8320 { "wxDC_DrawIcon", (PyCFunction
) _wrap_wxDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
},
8321 { "wxDC_DrawEllipticArc", (PyCFunction
) _wrap_wxDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
8322 { "wxDC_DrawEllipse", (PyCFunction
) _wrap_wxDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
8323 { "wxDC_DrawCircle", (PyCFunction
) _wrap_wxDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
},
8324 { "wxDC_DrawArc", (PyCFunction
) _wrap_wxDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
8325 { "wxDC_DeviceToLogicalYRel", (PyCFunction
) _wrap_wxDC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
},
8326 { "wxDC_DeviceToLogicalY", (PyCFunction
) _wrap_wxDC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
},
8327 { "wxDC_DeviceToLogicalXRel", (PyCFunction
) _wrap_wxDC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
},
8328 { "wxDC_DeviceToLogicalX", (PyCFunction
) _wrap_wxDC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
},
8329 { "wxDC_DestroyClippingRegion", (PyCFunction
) _wrap_wxDC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
8330 { "wxDC_CrossHair", (PyCFunction
) _wrap_wxDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
},
8331 { "wxDC_Clear", (PyCFunction
) _wrap_wxDC_Clear
, METH_VARARGS
| METH_KEYWORDS
},
8332 { "wxDC_Blit", (PyCFunction
) _wrap_wxDC_Blit
, METH_VARARGS
| METH_KEYWORDS
},
8333 { "wxDC_BeginDrawing", (PyCFunction
) _wrap_wxDC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
},
8334 { "delete_wxDC", (PyCFunction
) _wrap_delete_wxDC
, METH_VARARGS
| METH_KEYWORDS
},
8335 { "wxBrush_SetStyle", (PyCFunction
) _wrap_wxBrush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
8336 { "wxBrush_SetStipple", (PyCFunction
) _wrap_wxBrush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
8337 { "wxBrush_SetColour", (PyCFunction
) _wrap_wxBrush_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
8338 { "wxBrush_Ok", (PyCFunction
) _wrap_wxBrush_Ok
, METH_VARARGS
| METH_KEYWORDS
},
8339 { "wxBrush_GetStyle", (PyCFunction
) _wrap_wxBrush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
8340 { "wxBrush_GetStipple", (PyCFunction
) _wrap_wxBrush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
8341 { "wxBrush_GetColour", (PyCFunction
) _wrap_wxBrush_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
8342 { "new_wxBrush", (PyCFunction
) _wrap_new_wxBrush
, METH_VARARGS
| METH_KEYWORDS
},
8343 { "wxPen_SetStipple", (PyCFunction
) _wrap_wxPen_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
8344 { "wxPen_GetStipple", (PyCFunction
) _wrap_wxPen_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
8345 { "wxPen_SetDashes", (PyCFunction
) _wrap_wxPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
8346 { "wxPen_GetDashes", (PyCFunction
) _wrap_wxPen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
},
8347 { "wxPen_SetWidth", (PyCFunction
) _wrap_wxPen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
8348 { "wxPen_SetStyle", (PyCFunction
) _wrap_wxPen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
8349 { "wxPen_SetJoin", (PyCFunction
) _wrap_wxPen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
},
8350 { "wxPen_SetColour", (PyCFunction
) _wrap_wxPen_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
8351 { "wxPen_SetCap", (PyCFunction
) _wrap_wxPen_SetCap
, METH_VARARGS
| METH_KEYWORDS
},
8352 { "wxPen_Ok", (PyCFunction
) _wrap_wxPen_Ok
, METH_VARARGS
| METH_KEYWORDS
},
8353 { "wxPen_GetWidth", (PyCFunction
) _wrap_wxPen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
8354 { "wxPen_GetStyle", (PyCFunction
) _wrap_wxPen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
8355 { "wxPen_GetJoin", (PyCFunction
) _wrap_wxPen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
},
8356 { "wxPen_GetColour", (PyCFunction
) _wrap_wxPen_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
8357 { "wxPen_GetCap", (PyCFunction
) _wrap_wxPen_GetCap
, METH_VARARGS
| METH_KEYWORDS
},
8358 { "new_wxPen", (PyCFunction
) _wrap_new_wxPen
, METH_VARARGS
| METH_KEYWORDS
},
8359 { "wxColour_Get", (PyCFunction
) _wrap_wxColour_Get
, METH_VARARGS
| METH_KEYWORDS
},
8360 { "wxColour_Set", (PyCFunction
) _wrap_wxColour_Set
, METH_VARARGS
| METH_KEYWORDS
},
8361 { "wxColour_Ok", (PyCFunction
) _wrap_wxColour_Ok
, METH_VARARGS
| METH_KEYWORDS
},
8362 { "wxColour_Blue", (PyCFunction
) _wrap_wxColour_Blue
, METH_VARARGS
| METH_KEYWORDS
},
8363 { "wxColour_Green", (PyCFunction
) _wrap_wxColour_Green
, METH_VARARGS
| METH_KEYWORDS
},
8364 { "wxColour_Red", (PyCFunction
) _wrap_wxColour_Red
, METH_VARARGS
| METH_KEYWORDS
},
8365 { "delete_wxColour", (PyCFunction
) _wrap_delete_wxColour
, METH_VARARGS
| METH_KEYWORDS
},
8366 { "new_wxColour", (PyCFunction
) _wrap_new_wxColour
, METH_VARARGS
| METH_KEYWORDS
},
8367 { "wxFont_GetWeightString", (PyCFunction
) _wrap_wxFont_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
},
8368 { "wxFont_GetStyleString", (PyCFunction
) _wrap_wxFont_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
},
8369 { "wxFont_GetFamilyString", (PyCFunction
) _wrap_wxFont_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
},
8370 { "wxFont_SetEncoding", (PyCFunction
) _wrap_wxFont_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
8371 { "wxFont_SetWeight", (PyCFunction
) _wrap_wxFont_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
8372 { "wxFont_SetUnderlined", (PyCFunction
) _wrap_wxFont_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
8373 { "wxFont_SetStyle", (PyCFunction
) _wrap_wxFont_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
8374 { "wxFont_SetPointSize", (PyCFunction
) _wrap_wxFont_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
8375 { "wxFont_SetFamily", (PyCFunction
) _wrap_wxFont_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
8376 { "wxFont_SetFaceName", (PyCFunction
) _wrap_wxFont_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
8377 { "wxFont_GetEncoding", (PyCFunction
) _wrap_wxFont_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
8378 { "wxFont_GetWeight", (PyCFunction
) _wrap_wxFont_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
8379 { "wxFont_GetUnderlined", (PyCFunction
) _wrap_wxFont_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
8380 { "wxFont_GetStyle", (PyCFunction
) _wrap_wxFont_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
8381 { "wxFont_GetPointSize", (PyCFunction
) _wrap_wxFont_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
8382 { "wxFont_GetFontId", (PyCFunction
) _wrap_wxFont_GetFontId
, METH_VARARGS
| METH_KEYWORDS
},
8383 { "wxFont_GetFamily", (PyCFunction
) _wrap_wxFont_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
8384 { "wxFont_GetFaceName", (PyCFunction
) _wrap_wxFont_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
8385 { "wxFont_Ok", (PyCFunction
) _wrap_wxFont_Ok
, METH_VARARGS
| METH_KEYWORDS
},
8386 { "new_wxFont", (PyCFunction
) _wrap_new_wxFont
, METH_VARARGS
| METH_KEYWORDS
},
8387 { "wxCursor_SetSize", (PyCFunction
) _wrap_wxCursor_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
8388 { "wxCursor_SetDepth", (PyCFunction
) _wrap_wxCursor_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
8389 { "wxCursor_SetHeight", (PyCFunction
) _wrap_wxCursor_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
8390 { "wxCursor_SetWidth", (PyCFunction
) _wrap_wxCursor_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
8391 { "wxCursor_GetDepth", (PyCFunction
) _wrap_wxCursor_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
8392 { "wxCursor_GetHeight", (PyCFunction
) _wrap_wxCursor_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
8393 { "wxCursor_GetWidth", (PyCFunction
) _wrap_wxCursor_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
8394 { "wxCursor_Ok", (PyCFunction
) _wrap_wxCursor_Ok
, METH_VARARGS
| METH_KEYWORDS
},
8395 { "wxCursor_SetHandle", (PyCFunction
) _wrap_wxCursor_SetHandle
, METH_VARARGS
| METH_KEYWORDS
},
8396 { "wxCursor_GetHandle", (PyCFunction
) _wrap_wxCursor_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
8397 { "delete_wxCursor", (PyCFunction
) _wrap_delete_wxCursor
, METH_VARARGS
| METH_KEYWORDS
},
8398 { "new_wxCursor", (PyCFunction
) _wrap_new_wxCursor
, METH_VARARGS
| METH_KEYWORDS
},
8399 { "wxIcon_SetSize", (PyCFunction
) _wrap_wxIcon_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
8400 { "wxIcon_SetDepth", (PyCFunction
) _wrap_wxIcon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
8401 { "wxIcon_SetHeight", (PyCFunction
) _wrap_wxIcon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
8402 { "wxIcon_SetWidth", (PyCFunction
) _wrap_wxIcon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
8403 { "wxIcon_GetDepth", (PyCFunction
) _wrap_wxIcon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
8404 { "wxIcon_GetHeight", (PyCFunction
) _wrap_wxIcon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
8405 { "wxIcon_GetWidth", (PyCFunction
) _wrap_wxIcon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
8406 { "wxIcon_Ok", (PyCFunction
) _wrap_wxIcon_Ok
, METH_VARARGS
| METH_KEYWORDS
},
8407 { "wxIcon_SetHandle", (PyCFunction
) _wrap_wxIcon_SetHandle
, METH_VARARGS
| METH_KEYWORDS
},
8408 { "wxIcon_GetHandle", (PyCFunction
) _wrap_wxIcon_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
8409 { "wxIcon_LoadFile", (PyCFunction
) _wrap_wxIcon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
8410 { "delete_wxIcon", (PyCFunction
) _wrap_delete_wxIcon
, METH_VARARGS
| METH_KEYWORDS
},
8411 { "new_wxIcon", (PyCFunction
) _wrap_new_wxIcon
, METH_VARARGS
| METH_KEYWORDS
},
8412 { "new_wxMask", (PyCFunction
) _wrap_new_wxMask
, METH_VARARGS
| METH_KEYWORDS
},
8413 { "wxBitmap_SetQuality", (PyCFunction
) _wrap_wxBitmap_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
8414 { "wxBitmap_GetQuality", (PyCFunction
) _wrap_wxBitmap_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
8415 { "wxBitmap_CopyFromCursor", (PyCFunction
) _wrap_wxBitmap_CopyFromCursor
, METH_VARARGS
| METH_KEYWORDS
},
8416 { "wxBitmap_CopyFromIcon", (PyCFunction
) _wrap_wxBitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
8417 { "wxBitmap_GetSubBitmap", (PyCFunction
) _wrap_wxBitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
},
8418 { "wxBitmap_SetSize", (PyCFunction
) _wrap_wxBitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
8419 { "wxBitmap_SetDepth", (PyCFunction
) _wrap_wxBitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
8420 { "wxBitmap_SetHeight", (PyCFunction
) _wrap_wxBitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
8421 { "wxBitmap_SetWidth", (PyCFunction
) _wrap_wxBitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
8422 { "wxBitmap_GetDepth", (PyCFunction
) _wrap_wxBitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
8423 { "wxBitmap_GetHeight", (PyCFunction
) _wrap_wxBitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
8424 { "wxBitmap_GetWidth", (PyCFunction
) _wrap_wxBitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
8425 { "wxBitmap_Ok", (PyCFunction
) _wrap_wxBitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
},
8426 { "wxBitmap_SetHandle", (PyCFunction
) _wrap_wxBitmap_SetHandle
, METH_VARARGS
| METH_KEYWORDS
},
8427 { "wxBitmap_GetHandle", (PyCFunction
) _wrap_wxBitmap_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
8428 { "wxBitmap_SetPalette", (PyCFunction
) _wrap_wxBitmap_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
8429 { "wxBitmap_SetMask", (PyCFunction
) _wrap_wxBitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
8430 { "wxBitmap_SaveFile", (PyCFunction
) _wrap_wxBitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
8431 { "wxBitmap_LoadFile", (PyCFunction
) _wrap_wxBitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
8432 { "wxBitmap_GetMask", (PyCFunction
) _wrap_wxBitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
8433 { "wxBitmap_GetPalette", (PyCFunction
) _wrap_wxBitmap_GetPalette
, METH_VARARGS
| METH_KEYWORDS
},
8434 { "delete_wxBitmap", (PyCFunction
) _wrap_delete_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
8435 { "new_wxBitmap", (PyCFunction
) _wrap_new_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
8436 { "wxMemoryDCFromDC", (PyCFunction
) _wrap_wxMemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
},
8437 { "wxNamedColour", (PyCFunction
) _wrap_wxNamedColour
, METH_VARARGS
| METH_KEYWORDS
},
8438 { "wxFont_SetDefaultEncoding", (PyCFunction
) _wrap_wxFont_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
8439 { "wxFont_GetDefaultEncoding", (PyCFunction
) _wrap_wxFont_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
8440 { "wxStockCursor", (PyCFunction
) _wrap_wxStockCursor
, METH_VARARGS
| METH_KEYWORDS
},
8441 { "wxMaskColour", (PyCFunction
) _wrap_wxMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
8442 { "wxBitmapFromData", (PyCFunction
) _wrap_wxBitmapFromData
, METH_VARARGS
| METH_KEYWORDS
},
8443 { "wxEmptyBitmap", (PyCFunction
) _wrap_wxEmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
},
8450 * This table is used by the pointer type-checker
8452 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
8453 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
8454 { "_signed_long","_long",0},
8455 { "_wxPrintQuality","_wxCoord",0},
8456 { "_wxPrintQuality","_int",0},
8457 { "_wxPrintQuality","_signed_int",0},
8458 { "_wxPrintQuality","_unsigned_int",0},
8459 { "_wxPrintQuality","_wxWindowID",0},
8460 { "_wxPrintQuality","_uint",0},
8461 { "_wxPrintQuality","_EBool",0},
8462 { "_wxPrintQuality","_size_t",0},
8463 { "_wxPrintQuality","_time_t",0},
8464 { "_class_wxRegionIterator","_wxRegionIterator",0},
8465 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
8466 { "_wxCursor","_class_wxCursor",0},
8467 { "_wxMask","_class_wxMask",0},
8468 { "_wxPen","_class_wxPen",0},
8469 { "_byte","_unsigned_char",0},
8470 { "_long","_unsigned_long",0},
8471 { "_long","_signed_long",0},
8472 { "_wxImageList","_class_wxImageList",0},
8473 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
8474 { "_wxDC","_class_wxMetaFileDC",SwigwxMetaFileDCTowxDC
},
8475 { "_wxDC","_wxMetaFileDC",SwigwxMetaFileDCTowxDC
},
8476 { "_wxDC","_class_wxWindowDC",SwigwxWindowDCTowxDC
},
8477 { "_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC
},
8478 { "_wxDC","_class_wxPaintDC",SwigwxPaintDCTowxDC
},
8479 { "_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
},
8480 { "_wxDC","_class_wxClientDC",SwigwxClientDCTowxDC
},
8481 { "_wxDC","_wxClientDC",SwigwxClientDCTowxDC
},
8482 { "_wxDC","_class_wxScreenDC",SwigwxScreenDCTowxDC
},
8483 { "_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
},
8484 { "_wxDC","_class_wxMemoryDC",SwigwxMemoryDCTowxDC
},
8485 { "_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
},
8486 { "_wxDC","_class_wxDC",0},
8487 { "_size_t","_wxCoord",0},
8488 { "_size_t","_wxPrintQuality",0},
8489 { "_size_t","_time_t",0},
8490 { "_size_t","_unsigned_int",0},
8491 { "_size_t","_int",0},
8492 { "_size_t","_wxWindowID",0},
8493 { "_size_t","_uint",0},
8494 { "_class_wxRealPoint","_wxRealPoint",0},
8495 { "_class_wxMask","_wxMask",0},
8496 { "_wxColour","_class_wxColour",0},
8497 { "_wxBrush","_class_wxBrush",0},
8498 { "_uint","_wxCoord",0},
8499 { "_uint","_wxPrintQuality",0},
8500 { "_uint","_time_t",0},
8501 { "_uint","_size_t",0},
8502 { "_uint","_unsigned_int",0},
8503 { "_uint","_int",0},
8504 { "_uint","_wxWindowID",0},
8505 { "_wxChar","_char",0},
8506 { "_wxRect","_class_wxRect",0},
8507 { "_wxPoint","_class_wxPoint",0},
8508 { "_char","_wxChar",0},
8509 { "_wxBitmap","_class_wxBitmap",0},
8510 { "_wxWindowDC","_class_wxWindowDC",0},
8511 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
8512 { "_EBool","_wxCoord",0},
8513 { "_EBool","_wxPrintQuality",0},
8514 { "_EBool","_signed_int",0},
8515 { "_EBool","_int",0},
8516 { "_EBool","_wxWindowID",0},
8517 { "_class_wxRegion","_wxRegion",0},
8518 { "_wxFont","_class_wxFont",0},
8519 { "_unsigned_long","_long",0},
8520 { "_class_wxRect","_wxRect",0},
8521 { "_class_wxDC","_class_wxMetaFileDC",SwigwxMetaFileDCTowxDC
},
8522 { "_class_wxDC","_wxMetaFileDC",SwigwxMetaFileDCTowxDC
},
8523 { "_class_wxDC","_class_wxWindowDC",SwigwxWindowDCTowxDC
},
8524 { "_class_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC
},
8525 { "_class_wxDC","_class_wxPaintDC",SwigwxPaintDCTowxDC
},
8526 { "_class_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
},
8527 { "_class_wxDC","_class_wxClientDC",SwigwxClientDCTowxDC
},
8528 { "_class_wxDC","_wxClientDC",SwigwxClientDCTowxDC
},
8529 { "_class_wxDC","_class_wxScreenDC",SwigwxScreenDCTowxDC
},
8530 { "_class_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
},
8531 { "_class_wxDC","_class_wxMemoryDC",SwigwxMemoryDCTowxDC
},
8532 { "_class_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
},
8533 { "_class_wxDC","_wxDC",0},
8534 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
8535 { "_signed_int","_wxCoord",0},
8536 { "_signed_int","_wxPrintQuality",0},
8537 { "_signed_int","_EBool",0},
8538 { "_signed_int","_wxWindowID",0},
8539 { "_signed_int","_int",0},
8540 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
8541 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
8542 { "_wxScreenDC","_class_wxScreenDC",0},
8543 { "_WXTYPE","_short",0},
8544 { "_WXTYPE","_signed_short",0},
8545 { "_WXTYPE","_unsigned_short",0},
8546 { "_class_wxBrush","_wxBrush",0},
8547 { "_unsigned_short","_WXTYPE",0},
8548 { "_unsigned_short","_short",0},
8549 { "_class_wxFont","_wxFont",0},
8550 { "_wxBusyInfo","_class_wxBusyInfo",0},
8551 { "_wxClientDC","_class_wxClientDC",0},
8552 { "_class_wxPoint","_wxPoint",0},
8553 { "_wxRealPoint","_class_wxRealPoint",0},
8554 { "_signed_short","_WXTYPE",0},
8555 { "_signed_short","_short",0},
8556 { "_wxMemoryDC","_class_wxMemoryDC",0},
8557 { "_wxPaintDC","_class_wxPaintDC",0},
8558 { "_class_wxWindowDC","_wxWindowDC",0},
8559 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
8560 { "_class_wxCursor","_wxCursor",0},
8561 { "_unsigned_char","_byte",0},
8562 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
8563 { "_unsigned_int","_wxCoord",0},
8564 { "_unsigned_int","_wxPrintQuality",0},
8565 { "_unsigned_int","_time_t",0},
8566 { "_unsigned_int","_size_t",0},
8567 { "_unsigned_int","_uint",0},
8568 { "_unsigned_int","_wxWindowID",0},
8569 { "_unsigned_int","_int",0},
8570 { "_wxIcon","_class_wxIcon",0},
8571 { "_class_wxPen","_wxPen",0},
8572 { "_short","_WXTYPE",0},
8573 { "_short","_unsigned_short",0},
8574 { "_short","_signed_short",0},
8575 { "_class_wxImageList","_wxImageList",0},
8576 { "_wxWindowID","_wxCoord",0},
8577 { "_wxWindowID","_wxPrintQuality",0},
8578 { "_wxWindowID","_time_t",0},
8579 { "_wxWindowID","_size_t",0},
8580 { "_wxWindowID","_EBool",0},
8581 { "_wxWindowID","_uint",0},
8582 { "_wxWindowID","_int",0},
8583 { "_wxWindowID","_signed_int",0},
8584 { "_wxWindowID","_unsigned_int",0},
8585 { "_int","_wxCoord",0},
8586 { "_int","_wxPrintQuality",0},
8587 { "_int","_time_t",0},
8588 { "_int","_size_t",0},
8589 { "_int","_EBool",0},
8590 { "_int","_uint",0},
8591 { "_int","_wxWindowID",0},
8592 { "_int","_unsigned_int",0},
8593 { "_int","_signed_int",0},
8594 { "_time_t","_wxCoord",0},
8595 { "_time_t","_wxPrintQuality",0},
8596 { "_time_t","_unsigned_int",0},
8597 { "_time_t","_int",0},
8598 { "_time_t","_wxWindowID",0},
8599 { "_time_t","_uint",0},
8600 { "_time_t","_size_t",0},
8601 { "_wxSize","_class_wxSize",0},
8602 { "_wxRegionIterator","_class_wxRegionIterator",0},
8603 { "_class_wxPaintDC","_wxPaintDC",0},
8604 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
8605 { "_class_wxIcon","_wxIcon",0},
8606 { "_class_wxColour","_wxColour",0},
8607 { "_class_wxScreenDC","_wxScreenDC",0},
8608 { "_wxPalette","_class_wxPalette",0},
8609 { "_wxCoord","_int",0},
8610 { "_wxCoord","_signed_int",0},
8611 { "_wxCoord","_unsigned_int",0},
8612 { "_wxCoord","_wxWindowID",0},
8613 { "_wxCoord","_uint",0},
8614 { "_wxCoord","_EBool",0},
8615 { "_wxCoord","_size_t",0},
8616 { "_wxCoord","_time_t",0},
8617 { "_wxCoord","_wxPrintQuality",0},
8618 { "_wxRegion","_class_wxRegion",0},
8619 { "_class_wxBusyInfo","_wxBusyInfo",0},
8620 { "_class_wxClientDC","_wxClientDC",0},
8621 { "_class_wxSize","_wxSize",0},
8622 { "_class_wxBitmap","_wxBitmap",0},
8623 { "_class_wxMemoryDC","_wxMemoryDC",0},
8624 { "_class_wxPalette","_wxPalette",0},
8627 static PyObject
*SWIG_globals
;
8631 SWIGEXPORT(void) initgdic() {
8633 SWIG_globals
= SWIG_newvarlink();
8634 m
= Py_InitModule("gdic", gdicMethods
);
8635 d
= PyModule_GetDict(m
);
8636 PyDict_SetItemString(d
,"wxFONTENCODING_SYSTEM", PyInt_FromLong((long) wxFONTENCODING_SYSTEM
));
8637 PyDict_SetItemString(d
,"wxFONTENCODING_DEFAULT", PyInt_FromLong((long) wxFONTENCODING_DEFAULT
));
8638 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_1", PyInt_FromLong((long) wxFONTENCODING_ISO8859_1
));
8639 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_2", PyInt_FromLong((long) wxFONTENCODING_ISO8859_2
));
8640 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_3", PyInt_FromLong((long) wxFONTENCODING_ISO8859_3
));
8641 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_4", PyInt_FromLong((long) wxFONTENCODING_ISO8859_4
));
8642 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_5", PyInt_FromLong((long) wxFONTENCODING_ISO8859_5
));
8643 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_6", PyInt_FromLong((long) wxFONTENCODING_ISO8859_6
));
8644 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_7", PyInt_FromLong((long) wxFONTENCODING_ISO8859_7
));
8645 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_8", PyInt_FromLong((long) wxFONTENCODING_ISO8859_8
));
8646 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_9", PyInt_FromLong((long) wxFONTENCODING_ISO8859_9
));
8647 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_10", PyInt_FromLong((long) wxFONTENCODING_ISO8859_10
));
8648 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_11", PyInt_FromLong((long) wxFONTENCODING_ISO8859_11
));
8649 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_12", PyInt_FromLong((long) wxFONTENCODING_ISO8859_12
));
8650 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_13", PyInt_FromLong((long) wxFONTENCODING_ISO8859_13
));
8651 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_14", PyInt_FromLong((long) wxFONTENCODING_ISO8859_14
));
8652 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_15", PyInt_FromLong((long) wxFONTENCODING_ISO8859_15
));
8653 PyDict_SetItemString(d
,"wxFONTENCODING_KOI8", PyInt_FromLong((long) wxFONTENCODING_KOI8
));
8654 PyDict_SetItemString(d
,"wxFONTENCODING_ALTERNATIVE", PyInt_FromLong((long) wxFONTENCODING_ALTERNATIVE
));
8655 PyDict_SetItemString(d
,"wxFONTENCODING_BULGARIAN", PyInt_FromLong((long) wxFONTENCODING_BULGARIAN
));
8656 PyDict_SetItemString(d
,"wxFONTENCODING_CP437", PyInt_FromLong((long) wxFONTENCODING_CP437
));
8657 PyDict_SetItemString(d
,"wxFONTENCODING_CP850", PyInt_FromLong((long) wxFONTENCODING_CP850
));
8658 PyDict_SetItemString(d
,"wxFONTENCODING_CP852", PyInt_FromLong((long) wxFONTENCODING_CP852
));
8659 PyDict_SetItemString(d
,"wxFONTENCODING_CP855", PyInt_FromLong((long) wxFONTENCODING_CP855
));
8660 PyDict_SetItemString(d
,"wxFONTENCODING_CP866", PyInt_FromLong((long) wxFONTENCODING_CP866
));
8661 PyDict_SetItemString(d
,"wxFONTENCODING_CP1250", PyInt_FromLong((long) wxFONTENCODING_CP1250
));
8662 PyDict_SetItemString(d
,"wxFONTENCODING_CP1251", PyInt_FromLong((long) wxFONTENCODING_CP1251
));
8663 PyDict_SetItemString(d
,"wxFONTENCODING_CP1252", PyInt_FromLong((long) wxFONTENCODING_CP1252
));
8664 PyDict_SetItemString(d
,"wxFONTENCODING_MAX", PyInt_FromLong((long) wxFONTENCODING_MAX
));
8665 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
8666 SWIG_addvarlink(SWIG_globals
,"wxNORMAL_FONT",_wrap_wxNORMAL_FONT_get
, _wrap_wxNORMAL_FONT_set
);
8667 SWIG_addvarlink(SWIG_globals
,"wxSMALL_FONT",_wrap_wxSMALL_FONT_get
, _wrap_wxSMALL_FONT_set
);
8668 SWIG_addvarlink(SWIG_globals
,"wxITALIC_FONT",_wrap_wxITALIC_FONT_get
, _wrap_wxITALIC_FONT_set
);
8669 SWIG_addvarlink(SWIG_globals
,"wxSWISS_FONT",_wrap_wxSWISS_FONT_get
, _wrap_wxSWISS_FONT_set
);
8670 SWIG_addvarlink(SWIG_globals
,"wxRED_PEN",_wrap_wxRED_PEN_get
, _wrap_wxRED_PEN_set
);
8671 SWIG_addvarlink(SWIG_globals
,"wxCYAN_PEN",_wrap_wxCYAN_PEN_get
, _wrap_wxCYAN_PEN_set
);
8672 SWIG_addvarlink(SWIG_globals
,"wxGREEN_PEN",_wrap_wxGREEN_PEN_get
, _wrap_wxGREEN_PEN_set
);
8673 SWIG_addvarlink(SWIG_globals
,"wxBLACK_PEN",_wrap_wxBLACK_PEN_get
, _wrap_wxBLACK_PEN_set
);
8674 SWIG_addvarlink(SWIG_globals
,"wxWHITE_PEN",_wrap_wxWHITE_PEN_get
, _wrap_wxWHITE_PEN_set
);
8675 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_PEN",_wrap_wxTRANSPARENT_PEN_get
, _wrap_wxTRANSPARENT_PEN_set
);
8676 SWIG_addvarlink(SWIG_globals
,"wxBLACK_DASHED_PEN",_wrap_wxBLACK_DASHED_PEN_get
, _wrap_wxBLACK_DASHED_PEN_set
);
8677 SWIG_addvarlink(SWIG_globals
,"wxGREY_PEN",_wrap_wxGREY_PEN_get
, _wrap_wxGREY_PEN_set
);
8678 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_PEN",_wrap_wxMEDIUM_GREY_PEN_get
, _wrap_wxMEDIUM_GREY_PEN_set
);
8679 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_PEN",_wrap_wxLIGHT_GREY_PEN_get
, _wrap_wxLIGHT_GREY_PEN_set
);
8680 SWIG_addvarlink(SWIG_globals
,"wxBLUE_BRUSH",_wrap_wxBLUE_BRUSH_get
, _wrap_wxBLUE_BRUSH_set
);
8681 SWIG_addvarlink(SWIG_globals
,"wxGREEN_BRUSH",_wrap_wxGREEN_BRUSH_get
, _wrap_wxGREEN_BRUSH_set
);
8682 SWIG_addvarlink(SWIG_globals
,"wxWHITE_BRUSH",_wrap_wxWHITE_BRUSH_get
, _wrap_wxWHITE_BRUSH_set
);
8683 SWIG_addvarlink(SWIG_globals
,"wxBLACK_BRUSH",_wrap_wxBLACK_BRUSH_get
, _wrap_wxBLACK_BRUSH_set
);
8684 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_BRUSH",_wrap_wxTRANSPARENT_BRUSH_get
, _wrap_wxTRANSPARENT_BRUSH_set
);
8685 SWIG_addvarlink(SWIG_globals
,"wxCYAN_BRUSH",_wrap_wxCYAN_BRUSH_get
, _wrap_wxCYAN_BRUSH_set
);
8686 SWIG_addvarlink(SWIG_globals
,"wxRED_BRUSH",_wrap_wxRED_BRUSH_get
, _wrap_wxRED_BRUSH_set
);
8687 SWIG_addvarlink(SWIG_globals
,"wxGREY_BRUSH",_wrap_wxGREY_BRUSH_get
, _wrap_wxGREY_BRUSH_set
);
8688 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_BRUSH",_wrap_wxMEDIUM_GREY_BRUSH_get
, _wrap_wxMEDIUM_GREY_BRUSH_set
);
8689 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_BRUSH",_wrap_wxLIGHT_GREY_BRUSH_get
, _wrap_wxLIGHT_GREY_BRUSH_set
);
8690 SWIG_addvarlink(SWIG_globals
,"wxBLACK",_wrap_wxBLACK_get
, _wrap_wxBLACK_set
);
8691 SWIG_addvarlink(SWIG_globals
,"wxWHITE",_wrap_wxWHITE_get
, _wrap_wxWHITE_set
);
8692 SWIG_addvarlink(SWIG_globals
,"wxRED",_wrap_wxRED_get
, _wrap_wxRED_set
);
8693 SWIG_addvarlink(SWIG_globals
,"wxBLUE",_wrap_wxBLUE_get
, _wrap_wxBLUE_set
);
8694 SWIG_addvarlink(SWIG_globals
,"wxGREEN",_wrap_wxGREEN_get
, _wrap_wxGREEN_set
);
8695 SWIG_addvarlink(SWIG_globals
,"wxCYAN",_wrap_wxCYAN_get
, _wrap_wxCYAN_set
);
8696 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY",_wrap_wxLIGHT_GREY_get
, _wrap_wxLIGHT_GREY_set
);
8697 SWIG_addvarlink(SWIG_globals
,"wxSTANDARD_CURSOR",_wrap_wxSTANDARD_CURSOR_get
, _wrap_wxSTANDARD_CURSOR_set
);
8698 SWIG_addvarlink(SWIG_globals
,"wxHOURGLASS_CURSOR",_wrap_wxHOURGLASS_CURSOR_get
, _wrap_wxHOURGLASS_CURSOR_set
);
8699 SWIG_addvarlink(SWIG_globals
,"wxCROSS_CURSOR",_wrap_wxCROSS_CURSOR_get
, _wrap_wxCROSS_CURSOR_set
);
8700 SWIG_addvarlink(SWIG_globals
,"wxNullBitmap",_wrap_wxNullBitmap_get
, _wrap_wxNullBitmap_set
);
8701 SWIG_addvarlink(SWIG_globals
,"wxNullIcon",_wrap_wxNullIcon_get
, _wrap_wxNullIcon_set
);
8702 SWIG_addvarlink(SWIG_globals
,"wxNullCursor",_wrap_wxNullCursor_get
, _wrap_wxNullCursor_set
);
8703 SWIG_addvarlink(SWIG_globals
,"wxNullPen",_wrap_wxNullPen_get
, _wrap_wxNullPen_set
);
8704 SWIG_addvarlink(SWIG_globals
,"wxNullBrush",_wrap_wxNullBrush_get
, _wrap_wxNullBrush_set
);
8705 SWIG_addvarlink(SWIG_globals
,"wxNullPalette",_wrap_wxNullPalette_get
, _wrap_wxNullPalette_set
);
8706 SWIG_addvarlink(SWIG_globals
,"wxNullFont",_wrap_wxNullFont_get
, _wrap_wxNullFont_set
);
8707 SWIG_addvarlink(SWIG_globals
,"wxNullColour",_wrap_wxNullColour_get
, _wrap_wxNullColour_set
);
8708 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_NORMAL", PyInt_FromLong((long) wxIMAGELIST_DRAW_NORMAL
));
8709 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_TRANSPARENT", PyInt_FromLong((long) wxIMAGELIST_DRAW_TRANSPARENT
));
8710 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_SELECTED", PyInt_FromLong((long) wxIMAGELIST_DRAW_SELECTED
));
8711 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_FOCUSED", PyInt_FromLong((long) wxIMAGELIST_DRAW_FOCUSED
));
8712 PyDict_SetItemString(d
,"wxIMAGE_LIST_NORMAL", PyInt_FromLong((long) wxIMAGE_LIST_NORMAL
));
8713 PyDict_SetItemString(d
,"wxIMAGE_LIST_SMALL", PyInt_FromLong((long) wxIMAGE_LIST_SMALL
));
8714 PyDict_SetItemString(d
,"wxIMAGE_LIST_STATE", PyInt_FromLong((long) wxIMAGE_LIST_STATE
));
8717 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
8718 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);