4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 810)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
47 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
48 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initgdic
54 #define SWIG_name "gdic"
57 #include <wx/metafile.h>
58 #include <wx/imaglist.h>
63 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
68 } else if (target
== Py_None
) {
72 if (!PyList_Check(target
)) {
74 target
= PyList_New(0);
75 PyList_Append(target
, o2
);
78 PyList_Append(target
,o
);
84 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
90 } else if (target
== Py_None
) {
94 if (!PyTuple_Check(target
)) {
96 target
= PyTuple_New(1);
97 PyTuple_SetItem(target
, 0, o2
);
100 PyTuple_SetItem(o3
, 0, o
);
103 target
= PySequence_Concat(o2
, o3
);
110 static char* wxStringErrorMsg
= "string type is required for parameter";
111 // Alternate 'constructor'
112 wxBitmap
* wxEmptyBitmap(int width
, int height
, int depth
=-1) {
113 return new wxBitmap(width
, height
, depth
);
117 wxBitmap
* wxBitmapFromData(char* data
, long type
,
118 int width
, int height
, int depth
= 1) {
119 return new wxBitmap((void*)data
, type
, width
, height
, depth
);
123 wxMask
* wxMaskColour(const wxBitmap
& bitmap
, const wxColour
& colour
) {
124 return new wxMask(bitmap
, colour
);
126 // Alternate 'constructor'
127 wxCursor
* wxPyStockCursor(int id
) {
128 return new wxCursor(id
);
131 wxFontEncoding
wxFont_GetDefaultEncoding() {
132 return wxFont::GetDefaultEncoding();
135 void wxFont_SetDefaultEncoding(wxFontEncoding encoding
) {
136 wxFont::SetDefaultEncoding(encoding
);
138 // Alternate 'constructor'
139 wxColour
* wxNamedColour(const wxString
& colorName
) {
140 return new wxColour(colorName
);
142 // Alternate 'constructor'
143 wxMemoryDC
* wxMemoryDCFromDC(wxDC
* oldDC
) {
144 return new wxMemoryDC(oldDC
);
148 extern wxFont
* wxNORMAL_FONT
;
149 extern wxFont
* wxSMALL_FONT
;
150 extern wxFont
* wxITALIC_FONT
;
151 extern wxFont
* wxSWISS_FONT
;
152 extern wxPen
* wxRED_PEN
;
153 extern wxPen
* wxCYAN_PEN
;
154 extern wxPen
* wxGREEN_PEN
;
155 extern wxPen
* wxBLACK_PEN
;
156 extern wxPen
* wxWHITE_PEN
;
157 extern wxPen
* wxTRANSPARENT_PEN
;
158 extern wxPen
* wxBLACK_DASHED_PEN
;
159 extern wxPen
* wxGREY_PEN
;
160 extern wxPen
* wxMEDIUM_GREY_PEN
;
161 extern wxPen
* wxLIGHT_GREY_PEN
;
162 extern wxBrush
* wxBLUE_BRUSH
;
163 extern wxBrush
* wxGREEN_BRUSH
;
164 extern wxBrush
* wxWHITE_BRUSH
;
165 extern wxBrush
* wxBLACK_BRUSH
;
166 extern wxBrush
* wxTRANSPARENT_BRUSH
;
167 extern wxBrush
* wxCYAN_BRUSH
;
168 extern wxBrush
* wxRED_BRUSH
;
169 extern wxBrush
* wxGREY_BRUSH
;
170 extern wxBrush
* wxMEDIUM_GREY_BRUSH
;
171 extern wxBrush
* wxLIGHT_GREY_BRUSH
;
172 extern wxColour
* wxBLACK
;
173 extern wxColour
* wxWHITE
;
174 extern wxColour
* wxRED
;
175 extern wxColour
* wxBLUE
;
176 extern wxColour
* wxGREEN
;
177 extern wxColour
* wxCYAN
;
178 extern wxColour
* wxLIGHT_GREY
;
179 extern wxCursor
* wxSTANDARD_CURSOR
;
180 extern wxCursor
* wxHOURGLASS_CURSOR
;
181 extern wxCursor
* wxCROSS_CURSOR
;
182 extern wxBitmap wxNullBitmap
;
183 extern wxIcon wxNullIcon
;
184 extern wxCursor wxNullCursor
;
185 extern wxPen wxNullPen
;
186 extern wxBrush wxNullBrush
;
187 extern wxPalette wxNullPalette
;
188 extern wxFont wxNullFont
;
189 extern wxColour wxNullColour
;
195 static PyObject
*_wrap_wxEmptyBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
196 PyObject
* _resultobj
;
200 int _arg2
= (int ) -1;
201 char *_kwnames
[] = { "width","height","depth", NULL
};
205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ii|i:wxEmptyBitmap",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
208 wxPy_BEGIN_ALLOW_THREADS
;
209 _result
= (wxBitmap
*)wxEmptyBitmap(_arg0
,_arg1
,_arg2
);
211 wxPy_END_ALLOW_THREADS
;
213 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
214 _resultobj
= Py_BuildValue("s",_ptemp
);
217 _resultobj
= Py_None
;
222 static PyObject
*_wrap_wxBitmapFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
223 PyObject
* _resultobj
;
229 int _arg4
= (int ) 1;
230 char *_kwnames
[] = { "data","type","width","height","depth", NULL
};
234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"slii|i:wxBitmapFromData",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
237 wxPy_BEGIN_ALLOW_THREADS
;
238 _result
= (wxBitmap
*)wxBitmapFromData(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
240 wxPy_END_ALLOW_THREADS
;
242 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
243 _resultobj
= Py_BuildValue("s",_ptemp
);
246 _resultobj
= Py_None
;
251 static PyObject
*_wrap_wxMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
252 PyObject
* _resultobj
;
256 PyObject
* _argo0
= 0;
257 PyObject
* _argo1
= 0;
258 char *_kwnames
[] = { "bitmap","colour", NULL
};
262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMaskColour",_kwnames
,&_argo0
,&_argo1
))
265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMaskColour. Expected _wxBitmap_p.");
272 if (_argo1
== Py_None
) { _arg1
= NULL
; }
273 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMaskColour. Expected _wxColour_p.");
279 wxPy_BEGIN_ALLOW_THREADS
;
280 _result
= (wxMask
*)wxMaskColour(*_arg0
,*_arg1
);
282 wxPy_END_ALLOW_THREADS
;
284 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
285 _resultobj
= Py_BuildValue("s",_ptemp
);
288 _resultobj
= Py_None
;
293 static PyObject
*_wrap_wxStockCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
294 PyObject
* _resultobj
;
297 char *_kwnames
[] = { "id", NULL
};
301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxStockCursor",_kwnames
,&_arg0
))
304 wxPy_BEGIN_ALLOW_THREADS
;
305 _result
= (wxCursor
*)wxPyStockCursor(_arg0
);
307 wxPy_END_ALLOW_THREADS
;
309 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCursor_p");
310 _resultobj
= Py_BuildValue("s",_ptemp
);
313 _resultobj
= Py_None
;
318 static PyObject
*_wrap_wxFont_GetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
319 PyObject
* _resultobj
;
320 wxFontEncoding _result
;
321 char *_kwnames
[] = { NULL
};
324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFont_GetDefaultEncoding",_kwnames
))
327 wxPy_BEGIN_ALLOW_THREADS
;
328 _result
= (wxFontEncoding
)wxFont_GetDefaultEncoding();
330 wxPy_END_ALLOW_THREADS
;
331 } _resultobj
= Py_BuildValue("i",_result
);
335 static PyObject
*_wrap_wxFont_SetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
336 PyObject
* _resultobj
;
337 wxFontEncoding _arg0
;
338 char *_kwnames
[] = { "encoding", NULL
};
341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxFont_SetDefaultEncoding",_kwnames
,&_arg0
))
344 wxPy_BEGIN_ALLOW_THREADS
;
345 wxFont_SetDefaultEncoding(_arg0
);
347 wxPy_END_ALLOW_THREADS
;
348 } Py_INCREF(Py_None
);
349 _resultobj
= Py_None
;
353 static PyObject
*_wrap_wxNamedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
354 PyObject
* _resultobj
;
357 PyObject
* _obj0
= 0;
358 char *_kwnames
[] = { "colorName", NULL
};
362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNamedColour",_kwnames
,&_obj0
))
365 if (!PyString_Check(_obj0
)) {
366 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
369 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
372 wxPy_BEGIN_ALLOW_THREADS
;
373 _result
= (wxColour
*)wxNamedColour(*_arg0
);
375 wxPy_END_ALLOW_THREADS
;
377 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
378 _resultobj
= Py_BuildValue("s",_ptemp
);
381 _resultobj
= Py_None
;
390 static PyObject
*_wrap_wxMemoryDCFromDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
391 PyObject
* _resultobj
;
392 wxMemoryDC
* _result
;
394 PyObject
* _argo0
= 0;
395 char *_kwnames
[] = { "oldDC", NULL
};
399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMemoryDCFromDC",_kwnames
,&_argo0
))
402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDCFromDC. Expected _wxDC_p.");
409 wxPy_BEGIN_ALLOW_THREADS
;
410 _result
= (wxMemoryDC
*)wxMemoryDCFromDC(_arg0
);
412 wxPy_END_ALLOW_THREADS
;
414 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
415 _resultobj
= Py_BuildValue("s",_ptemp
);
418 _resultobj
= Py_None
;
423 static int _wrap_wxNORMAL_FONT_set(PyObject
*val
) {
425 PyErr_SetString(PyExc_TypeError
,"Variable wxNORMAL_FONT is read-only.");
429 static PyObject
*_wrap_wxNORMAL_FONT_get() {
433 SWIG_MakePtr(ptemp
, (char *) wxNORMAL_FONT
,"_wxFont_p");
434 pyobj
= PyString_FromString(ptemp
);
438 static int _wrap_wxSMALL_FONT_set(PyObject
*val
) {
440 PyErr_SetString(PyExc_TypeError
,"Variable wxSMALL_FONT is read-only.");
444 static PyObject
*_wrap_wxSMALL_FONT_get() {
448 SWIG_MakePtr(ptemp
, (char *) wxSMALL_FONT
,"_wxFont_p");
449 pyobj
= PyString_FromString(ptemp
);
453 static int _wrap_wxITALIC_FONT_set(PyObject
*val
) {
455 PyErr_SetString(PyExc_TypeError
,"Variable wxITALIC_FONT is read-only.");
459 static PyObject
*_wrap_wxITALIC_FONT_get() {
463 SWIG_MakePtr(ptemp
, (char *) wxITALIC_FONT
,"_wxFont_p");
464 pyobj
= PyString_FromString(ptemp
);
468 static int _wrap_wxSWISS_FONT_set(PyObject
*val
) {
470 PyErr_SetString(PyExc_TypeError
,"Variable wxSWISS_FONT is read-only.");
474 static PyObject
*_wrap_wxSWISS_FONT_get() {
478 SWIG_MakePtr(ptemp
, (char *) wxSWISS_FONT
,"_wxFont_p");
479 pyobj
= PyString_FromString(ptemp
);
483 static int _wrap_wxRED_PEN_set(PyObject
*val
) {
485 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_PEN is read-only.");
489 static PyObject
*_wrap_wxRED_PEN_get() {
493 SWIG_MakePtr(ptemp
, (char *) wxRED_PEN
,"_wxPen_p");
494 pyobj
= PyString_FromString(ptemp
);
498 static int _wrap_wxCYAN_PEN_set(PyObject
*val
) {
500 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_PEN is read-only.");
504 static PyObject
*_wrap_wxCYAN_PEN_get() {
508 SWIG_MakePtr(ptemp
, (char *) wxCYAN_PEN
,"_wxPen_p");
509 pyobj
= PyString_FromString(ptemp
);
513 static int _wrap_wxGREEN_PEN_set(PyObject
*val
) {
515 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_PEN is read-only.");
519 static PyObject
*_wrap_wxGREEN_PEN_get() {
523 SWIG_MakePtr(ptemp
, (char *) wxGREEN_PEN
,"_wxPen_p");
524 pyobj
= PyString_FromString(ptemp
);
528 static int _wrap_wxBLACK_PEN_set(PyObject
*val
) {
530 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_PEN is read-only.");
534 static PyObject
*_wrap_wxBLACK_PEN_get() {
538 SWIG_MakePtr(ptemp
, (char *) wxBLACK_PEN
,"_wxPen_p");
539 pyobj
= PyString_FromString(ptemp
);
543 static int _wrap_wxWHITE_PEN_set(PyObject
*val
) {
545 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_PEN is read-only.");
549 static PyObject
*_wrap_wxWHITE_PEN_get() {
553 SWIG_MakePtr(ptemp
, (char *) wxWHITE_PEN
,"_wxPen_p");
554 pyobj
= PyString_FromString(ptemp
);
558 static int _wrap_wxTRANSPARENT_PEN_set(PyObject
*val
) {
560 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_PEN is read-only.");
564 static PyObject
*_wrap_wxTRANSPARENT_PEN_get() {
568 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_PEN
,"_wxPen_p");
569 pyobj
= PyString_FromString(ptemp
);
573 static int _wrap_wxBLACK_DASHED_PEN_set(PyObject
*val
) {
575 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_DASHED_PEN is read-only.");
579 static PyObject
*_wrap_wxBLACK_DASHED_PEN_get() {
583 SWIG_MakePtr(ptemp
, (char *) wxBLACK_DASHED_PEN
,"_wxPen_p");
584 pyobj
= PyString_FromString(ptemp
);
588 static int _wrap_wxGREY_PEN_set(PyObject
*val
) {
590 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_PEN is read-only.");
594 static PyObject
*_wrap_wxGREY_PEN_get() {
598 SWIG_MakePtr(ptemp
, (char *) wxGREY_PEN
,"_wxPen_p");
599 pyobj
= PyString_FromString(ptemp
);
603 static int _wrap_wxMEDIUM_GREY_PEN_set(PyObject
*val
) {
605 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_PEN is read-only.");
609 static PyObject
*_wrap_wxMEDIUM_GREY_PEN_get() {
613 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_PEN
,"_wxPen_p");
614 pyobj
= PyString_FromString(ptemp
);
618 static int _wrap_wxLIGHT_GREY_PEN_set(PyObject
*val
) {
620 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_PEN is read-only.");
624 static PyObject
*_wrap_wxLIGHT_GREY_PEN_get() {
628 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_PEN
,"_wxPen_p");
629 pyobj
= PyString_FromString(ptemp
);
633 static int _wrap_wxBLUE_BRUSH_set(PyObject
*val
) {
635 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE_BRUSH is read-only.");
639 static PyObject
*_wrap_wxBLUE_BRUSH_get() {
643 SWIG_MakePtr(ptemp
, (char *) wxBLUE_BRUSH
,"_wxBrush_p");
644 pyobj
= PyString_FromString(ptemp
);
648 static int _wrap_wxGREEN_BRUSH_set(PyObject
*val
) {
650 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_BRUSH is read-only.");
654 static PyObject
*_wrap_wxGREEN_BRUSH_get() {
658 SWIG_MakePtr(ptemp
, (char *) wxGREEN_BRUSH
,"_wxBrush_p");
659 pyobj
= PyString_FromString(ptemp
);
663 static int _wrap_wxWHITE_BRUSH_set(PyObject
*val
) {
665 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_BRUSH is read-only.");
669 static PyObject
*_wrap_wxWHITE_BRUSH_get() {
673 SWIG_MakePtr(ptemp
, (char *) wxWHITE_BRUSH
,"_wxBrush_p");
674 pyobj
= PyString_FromString(ptemp
);
678 static int _wrap_wxBLACK_BRUSH_set(PyObject
*val
) {
680 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_BRUSH is read-only.");
684 static PyObject
*_wrap_wxBLACK_BRUSH_get() {
688 SWIG_MakePtr(ptemp
, (char *) wxBLACK_BRUSH
,"_wxBrush_p");
689 pyobj
= PyString_FromString(ptemp
);
693 static int _wrap_wxTRANSPARENT_BRUSH_set(PyObject
*val
) {
695 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_BRUSH is read-only.");
699 static PyObject
*_wrap_wxTRANSPARENT_BRUSH_get() {
703 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_BRUSH
,"_wxBrush_p");
704 pyobj
= PyString_FromString(ptemp
);
708 static int _wrap_wxCYAN_BRUSH_set(PyObject
*val
) {
710 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_BRUSH is read-only.");
714 static PyObject
*_wrap_wxCYAN_BRUSH_get() {
718 SWIG_MakePtr(ptemp
, (char *) wxCYAN_BRUSH
,"_wxBrush_p");
719 pyobj
= PyString_FromString(ptemp
);
723 static int _wrap_wxRED_BRUSH_set(PyObject
*val
) {
725 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_BRUSH is read-only.");
729 static PyObject
*_wrap_wxRED_BRUSH_get() {
733 SWIG_MakePtr(ptemp
, (char *) wxRED_BRUSH
,"_wxBrush_p");
734 pyobj
= PyString_FromString(ptemp
);
738 static int _wrap_wxGREY_BRUSH_set(PyObject
*val
) {
740 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_BRUSH is read-only.");
744 static PyObject
*_wrap_wxGREY_BRUSH_get() {
748 SWIG_MakePtr(ptemp
, (char *) wxGREY_BRUSH
,"_wxBrush_p");
749 pyobj
= PyString_FromString(ptemp
);
753 static int _wrap_wxMEDIUM_GREY_BRUSH_set(PyObject
*val
) {
755 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_BRUSH is read-only.");
759 static PyObject
*_wrap_wxMEDIUM_GREY_BRUSH_get() {
763 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_BRUSH
,"_wxBrush_p");
764 pyobj
= PyString_FromString(ptemp
);
768 static int _wrap_wxLIGHT_GREY_BRUSH_set(PyObject
*val
) {
770 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_BRUSH is read-only.");
774 static PyObject
*_wrap_wxLIGHT_GREY_BRUSH_get() {
778 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_BRUSH
,"_wxBrush_p");
779 pyobj
= PyString_FromString(ptemp
);
783 static int _wrap_wxBLACK_set(PyObject
*val
) {
785 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK is read-only.");
789 static PyObject
*_wrap_wxBLACK_get() {
793 SWIG_MakePtr(ptemp
, (char *) wxBLACK
,"_wxColour_p");
794 pyobj
= PyString_FromString(ptemp
);
798 static int _wrap_wxWHITE_set(PyObject
*val
) {
800 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE is read-only.");
804 static PyObject
*_wrap_wxWHITE_get() {
808 SWIG_MakePtr(ptemp
, (char *) wxWHITE
,"_wxColour_p");
809 pyobj
= PyString_FromString(ptemp
);
813 static int _wrap_wxRED_set(PyObject
*val
) {
815 PyErr_SetString(PyExc_TypeError
,"Variable wxRED is read-only.");
819 static PyObject
*_wrap_wxRED_get() {
823 SWIG_MakePtr(ptemp
, (char *) wxRED
,"_wxColour_p");
824 pyobj
= PyString_FromString(ptemp
);
828 static int _wrap_wxBLUE_set(PyObject
*val
) {
830 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE is read-only.");
834 static PyObject
*_wrap_wxBLUE_get() {
838 SWIG_MakePtr(ptemp
, (char *) wxBLUE
,"_wxColour_p");
839 pyobj
= PyString_FromString(ptemp
);
843 static int _wrap_wxGREEN_set(PyObject
*val
) {
845 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN is read-only.");
849 static PyObject
*_wrap_wxGREEN_get() {
853 SWIG_MakePtr(ptemp
, (char *) wxGREEN
,"_wxColour_p");
854 pyobj
= PyString_FromString(ptemp
);
858 static int _wrap_wxCYAN_set(PyObject
*val
) {
860 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN is read-only.");
864 static PyObject
*_wrap_wxCYAN_get() {
868 SWIG_MakePtr(ptemp
, (char *) wxCYAN
,"_wxColour_p");
869 pyobj
= PyString_FromString(ptemp
);
873 static int _wrap_wxLIGHT_GREY_set(PyObject
*val
) {
875 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY is read-only.");
879 static PyObject
*_wrap_wxLIGHT_GREY_get() {
883 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY
,"_wxColour_p");
884 pyobj
= PyString_FromString(ptemp
);
888 static int _wrap_wxSTANDARD_CURSOR_set(PyObject
*val
) {
890 PyErr_SetString(PyExc_TypeError
,"Variable wxSTANDARD_CURSOR is read-only.");
894 static PyObject
*_wrap_wxSTANDARD_CURSOR_get() {
898 SWIG_MakePtr(ptemp
, (char *) wxSTANDARD_CURSOR
,"_wxCursor_p");
899 pyobj
= PyString_FromString(ptemp
);
903 static int _wrap_wxHOURGLASS_CURSOR_set(PyObject
*val
) {
905 PyErr_SetString(PyExc_TypeError
,"Variable wxHOURGLASS_CURSOR is read-only.");
909 static PyObject
*_wrap_wxHOURGLASS_CURSOR_get() {
913 SWIG_MakePtr(ptemp
, (char *) wxHOURGLASS_CURSOR
,"_wxCursor_p");
914 pyobj
= PyString_FromString(ptemp
);
918 static int _wrap_wxCROSS_CURSOR_set(PyObject
*val
) {
920 PyErr_SetString(PyExc_TypeError
,"Variable wxCROSS_CURSOR is read-only.");
924 static PyObject
*_wrap_wxCROSS_CURSOR_get() {
928 SWIG_MakePtr(ptemp
, (char *) wxCROSS_CURSOR
,"_wxCursor_p");
929 pyobj
= PyString_FromString(ptemp
);
933 static int _wrap_wxNullBitmap_set(PyObject
*val
) {
935 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBitmap is read-only.");
939 static PyObject
*_wrap_wxNullBitmap_get() {
943 SWIG_MakePtr(ptemp
,(char *) &wxNullBitmap
,"_wxBitmap_p");
944 pyobj
= PyString_FromString(ptemp
);
948 static int _wrap_wxNullIcon_set(PyObject
*val
) {
950 PyErr_SetString(PyExc_TypeError
,"Variable wxNullIcon is read-only.");
954 static PyObject
*_wrap_wxNullIcon_get() {
958 SWIG_MakePtr(ptemp
,(char *) &wxNullIcon
,"_wxIcon_p");
959 pyobj
= PyString_FromString(ptemp
);
963 static int _wrap_wxNullCursor_set(PyObject
*val
) {
965 PyErr_SetString(PyExc_TypeError
,"Variable wxNullCursor is read-only.");
969 static PyObject
*_wrap_wxNullCursor_get() {
973 SWIG_MakePtr(ptemp
,(char *) &wxNullCursor
,"_wxCursor_p");
974 pyobj
= PyString_FromString(ptemp
);
978 static int _wrap_wxNullPen_set(PyObject
*val
) {
980 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPen is read-only.");
984 static PyObject
*_wrap_wxNullPen_get() {
988 SWIG_MakePtr(ptemp
,(char *) &wxNullPen
,"_wxPen_p");
989 pyobj
= PyString_FromString(ptemp
);
993 static int _wrap_wxNullBrush_set(PyObject
*val
) {
995 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBrush is read-only.");
999 static PyObject
*_wrap_wxNullBrush_get() {
1003 SWIG_MakePtr(ptemp
,(char *) &wxNullBrush
,"_wxBrush_p");
1004 pyobj
= PyString_FromString(ptemp
);
1008 static int _wrap_wxNullPalette_set(PyObject
*val
) {
1010 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPalette is read-only.");
1014 static PyObject
*_wrap_wxNullPalette_get() {
1018 SWIG_MakePtr(ptemp
,(char *) &wxNullPalette
,"_wxPalette_p");
1019 pyobj
= PyString_FromString(ptemp
);
1023 static int _wrap_wxNullFont_set(PyObject
*val
) {
1025 PyErr_SetString(PyExc_TypeError
,"Variable wxNullFont is read-only.");
1029 static PyObject
*_wrap_wxNullFont_get() {
1033 SWIG_MakePtr(ptemp
,(char *) &wxNullFont
,"_wxFont_p");
1034 pyobj
= PyString_FromString(ptemp
);
1038 static int _wrap_wxNullColour_set(PyObject
*val
) {
1040 PyErr_SetString(PyExc_TypeError
,"Variable wxNullColour is read-only.");
1044 static PyObject
*_wrap_wxNullColour_get() {
1048 SWIG_MakePtr(ptemp
,(char *) &wxNullColour
,"_wxColour_p");
1049 pyobj
= PyString_FromString(ptemp
);
1053 #define wxGDIImage_GetHandle(_swigobj) (_swigobj->GetHandle())
1054 static PyObject
*_wrap_wxGDIImage_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1055 PyObject
* _resultobj
;
1058 PyObject
* _argo0
= 0;
1059 char *_kwnames
[] = { "self", NULL
};
1062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGDIImage_GetHandle",_kwnames
,&_argo0
))
1065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGDIImage_p")) {
1067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGDIImage_GetHandle. Expected _wxGDIImage_p.");
1072 wxPy_BEGIN_ALLOW_THREADS
;
1073 _result
= (long )wxGDIImage_GetHandle(_arg0
);
1075 wxPy_END_ALLOW_THREADS
;
1076 } _resultobj
= Py_BuildValue("l",_result
);
1080 #define wxGDIImage_SetHandle(_swigobj,_swigarg0) (_swigobj->SetHandle(_swigarg0))
1081 static PyObject
*_wrap_wxGDIImage_SetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1082 PyObject
* _resultobj
;
1085 PyObject
* _argo0
= 0;
1086 char *_kwnames
[] = { "self","handle", NULL
};
1089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxGDIImage_SetHandle",_kwnames
,&_argo0
,&_arg1
))
1092 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1093 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGDIImage_p")) {
1094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGDIImage_SetHandle. Expected _wxGDIImage_p.");
1099 wxPy_BEGIN_ALLOW_THREADS
;
1100 wxGDIImage_SetHandle(_arg0
,_arg1
);
1102 wxPy_END_ALLOW_THREADS
;
1103 } Py_INCREF(Py_None
);
1104 _resultobj
= Py_None
;
1108 #define wxGDIImage_Ok(_swigobj) (_swigobj->Ok())
1109 static PyObject
*_wrap_wxGDIImage_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1110 PyObject
* _resultobj
;
1113 PyObject
* _argo0
= 0;
1114 char *_kwnames
[] = { "self", NULL
};
1117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGDIImage_Ok",_kwnames
,&_argo0
))
1120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGDIImage_p")) {
1122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGDIImage_Ok. Expected _wxGDIImage_p.");
1127 wxPy_BEGIN_ALLOW_THREADS
;
1128 _result
= (bool )wxGDIImage_Ok(_arg0
);
1130 wxPy_END_ALLOW_THREADS
;
1131 } _resultobj
= Py_BuildValue("i",_result
);
1135 #define wxGDIImage_GetWidth(_swigobj) (_swigobj->GetWidth())
1136 static PyObject
*_wrap_wxGDIImage_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1137 PyObject
* _resultobj
;
1140 PyObject
* _argo0
= 0;
1141 char *_kwnames
[] = { "self", NULL
};
1144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGDIImage_GetWidth",_kwnames
,&_argo0
))
1147 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1148 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGDIImage_p")) {
1149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGDIImage_GetWidth. Expected _wxGDIImage_p.");
1154 wxPy_BEGIN_ALLOW_THREADS
;
1155 _result
= (int )wxGDIImage_GetWidth(_arg0
);
1157 wxPy_END_ALLOW_THREADS
;
1158 } _resultobj
= Py_BuildValue("i",_result
);
1162 #define wxGDIImage_GetHeight(_swigobj) (_swigobj->GetHeight())
1163 static PyObject
*_wrap_wxGDIImage_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1164 PyObject
* _resultobj
;
1167 PyObject
* _argo0
= 0;
1168 char *_kwnames
[] = { "self", NULL
};
1171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGDIImage_GetHeight",_kwnames
,&_argo0
))
1174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGDIImage_p")) {
1176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGDIImage_GetHeight. Expected _wxGDIImage_p.");
1181 wxPy_BEGIN_ALLOW_THREADS
;
1182 _result
= (int )wxGDIImage_GetHeight(_arg0
);
1184 wxPy_END_ALLOW_THREADS
;
1185 } _resultobj
= Py_BuildValue("i",_result
);
1189 #define wxGDIImage_GetDepth(_swigobj) (_swigobj->GetDepth())
1190 static PyObject
*_wrap_wxGDIImage_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1191 PyObject
* _resultobj
;
1194 PyObject
* _argo0
= 0;
1195 char *_kwnames
[] = { "self", NULL
};
1198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGDIImage_GetDepth",_kwnames
,&_argo0
))
1201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGDIImage_p")) {
1203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGDIImage_GetDepth. Expected _wxGDIImage_p.");
1208 wxPy_BEGIN_ALLOW_THREADS
;
1209 _result
= (int )wxGDIImage_GetDepth(_arg0
);
1211 wxPy_END_ALLOW_THREADS
;
1212 } _resultobj
= Py_BuildValue("i",_result
);
1216 #define wxGDIImage_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1217 static PyObject
*_wrap_wxGDIImage_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1218 PyObject
* _resultobj
;
1221 PyObject
* _argo0
= 0;
1222 char *_kwnames
[] = { "self","w", NULL
};
1225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGDIImage_SetWidth",_kwnames
,&_argo0
,&_arg1
))
1228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGDIImage_p")) {
1230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGDIImage_SetWidth. Expected _wxGDIImage_p.");
1235 wxPy_BEGIN_ALLOW_THREADS
;
1236 wxGDIImage_SetWidth(_arg0
,_arg1
);
1238 wxPy_END_ALLOW_THREADS
;
1239 } Py_INCREF(Py_None
);
1240 _resultobj
= Py_None
;
1244 #define wxGDIImage_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1245 static PyObject
*_wrap_wxGDIImage_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1246 PyObject
* _resultobj
;
1249 PyObject
* _argo0
= 0;
1250 char *_kwnames
[] = { "self","h", NULL
};
1253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGDIImage_SetHeight",_kwnames
,&_argo0
,&_arg1
))
1256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGDIImage_p")) {
1258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGDIImage_SetHeight. Expected _wxGDIImage_p.");
1263 wxPy_BEGIN_ALLOW_THREADS
;
1264 wxGDIImage_SetHeight(_arg0
,_arg1
);
1266 wxPy_END_ALLOW_THREADS
;
1267 } Py_INCREF(Py_None
);
1268 _resultobj
= Py_None
;
1272 #define wxGDIImage_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
1273 static PyObject
*_wrap_wxGDIImage_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1274 PyObject
* _resultobj
;
1277 PyObject
* _argo0
= 0;
1278 char *_kwnames
[] = { "self","d", NULL
};
1281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGDIImage_SetDepth",_kwnames
,&_argo0
,&_arg1
))
1284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGDIImage_p")) {
1286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGDIImage_SetDepth. Expected _wxGDIImage_p.");
1291 wxPy_BEGIN_ALLOW_THREADS
;
1292 wxGDIImage_SetDepth(_arg0
,_arg1
);
1294 wxPy_END_ALLOW_THREADS
;
1295 } Py_INCREF(Py_None
);
1296 _resultobj
= Py_None
;
1300 #define wxGDIImage_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
1301 static PyObject
*_wrap_wxGDIImage_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1302 PyObject
* _resultobj
;
1305 PyObject
* _argo0
= 0;
1307 PyObject
* _obj1
= 0;
1308 char *_kwnames
[] = { "self","size", NULL
};
1311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGDIImage_SetSize",_kwnames
,&_argo0
,&_obj1
))
1314 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1315 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGDIImage_p")) {
1316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGDIImage_SetSize. Expected _wxGDIImage_p.");
1322 if (! wxSize_helper(_obj1
, &_arg1
))
1326 wxPy_BEGIN_ALLOW_THREADS
;
1327 wxGDIImage_SetSize(_arg0
,*_arg1
);
1329 wxPy_END_ALLOW_THREADS
;
1330 } Py_INCREF(Py_None
);
1331 _resultobj
= Py_None
;
1335 static void *SwigwxBitmapTowxGDIImage(void *ptr
) {
1338 src
= (wxBitmap
*) ptr
;
1339 dest
= (wxGDIImage
*) src
;
1340 return (void *) dest
;
1343 #define new_wxBitmap(_swigarg0,_swigarg1) (new wxBitmap(_swigarg0,_swigarg1))
1344 static PyObject
*_wrap_new_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1345 PyObject
* _resultobj
;
1349 PyObject
* _obj0
= 0;
1350 char *_kwnames
[] = { "name","type", NULL
};
1354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:new_wxBitmap",_kwnames
,&_obj0
,&_arg1
))
1357 if (!PyString_Check(_obj0
)) {
1358 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1361 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
1364 wxPy_BEGIN_ALLOW_THREADS
;
1365 _result
= (wxBitmap
*)new_wxBitmap(*_arg0
,_arg1
);
1367 wxPy_END_ALLOW_THREADS
;
1369 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1370 _resultobj
= Py_BuildValue("s",_ptemp
);
1373 _resultobj
= Py_None
;
1382 #define delete_wxBitmap(_swigobj) (delete _swigobj)
1383 static PyObject
*_wrap_delete_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1384 PyObject
* _resultobj
;
1386 PyObject
* _argo0
= 0;
1387 char *_kwnames
[] = { "self", NULL
};
1390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBitmap",_kwnames
,&_argo0
))
1393 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1394 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBitmap. Expected _wxBitmap_p.");
1400 wxPy_BEGIN_ALLOW_THREADS
;
1401 delete_wxBitmap(_arg0
);
1403 wxPy_END_ALLOW_THREADS
;
1404 } Py_INCREF(Py_None
);
1405 _resultobj
= Py_None
;
1409 #define wxBitmap_GetPalette(_swigobj) (_swigobj->GetPalette())
1410 static PyObject
*_wrap_wxBitmap_GetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1411 PyObject
* _resultobj
;
1412 wxPalette
* _result
;
1414 PyObject
* _argo0
= 0;
1415 char *_kwnames
[] = { "self", NULL
};
1419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetPalette",_kwnames
,&_argo0
))
1422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetPalette. Expected _wxBitmap_p.");
1429 wxPy_BEGIN_ALLOW_THREADS
;
1430 _result
= (wxPalette
*)wxBitmap_GetPalette(_arg0
);
1432 wxPy_END_ALLOW_THREADS
;
1434 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
1435 _resultobj
= Py_BuildValue("s",_ptemp
);
1438 _resultobj
= Py_None
;
1443 #define wxBitmap_GetMask(_swigobj) (_swigobj->GetMask())
1444 static PyObject
*_wrap_wxBitmap_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1445 PyObject
* _resultobj
;
1448 PyObject
* _argo0
= 0;
1449 char *_kwnames
[] = { "self", NULL
};
1453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetMask",_kwnames
,&_argo0
))
1456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetMask. Expected _wxBitmap_p.");
1463 wxPy_BEGIN_ALLOW_THREADS
;
1464 _result
= (wxMask
*)wxBitmap_GetMask(_arg0
);
1466 wxPy_END_ALLOW_THREADS
;
1468 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
1469 _resultobj
= Py_BuildValue("s",_ptemp
);
1472 _resultobj
= Py_None
;
1477 #define wxBitmap_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1478 static PyObject
*_wrap_wxBitmap_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1479 PyObject
* _resultobj
;
1484 PyObject
* _argo0
= 0;
1485 PyObject
* _obj1
= 0;
1486 char *_kwnames
[] = { "self","name","flags", NULL
};
1489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOl:wxBitmap_LoadFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_LoadFile. Expected _wxBitmap_p.");
1499 if (!PyString_Check(_obj1
)) {
1500 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1503 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1506 wxPy_BEGIN_ALLOW_THREADS
;
1507 _result
= (bool )wxBitmap_LoadFile(_arg0
,*_arg1
,_arg2
);
1509 wxPy_END_ALLOW_THREADS
;
1510 } _resultobj
= Py_BuildValue("i",_result
);
1518 #define wxBitmap_SaveFile(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SaveFile(_swigarg0,_swigarg1,_swigarg2))
1519 static PyObject
*_wrap_wxBitmap_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1520 PyObject
* _resultobj
;
1525 wxPalette
* _arg3
= (wxPalette
*) NULL
;
1526 PyObject
* _argo0
= 0;
1527 PyObject
* _obj1
= 0;
1528 PyObject
* _argo3
= 0;
1529 char *_kwnames
[] = { "self","name","type","palette", NULL
};
1532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|O:wxBitmap_SaveFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_argo3
))
1535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SaveFile. Expected _wxBitmap_p.");
1542 if (!PyString_Check(_obj1
)) {
1543 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1546 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1549 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1550 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxPalette_p")) {
1551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxBitmap_SaveFile. Expected _wxPalette_p.");
1556 wxPy_BEGIN_ALLOW_THREADS
;
1557 _result
= (bool )wxBitmap_SaveFile(_arg0
,*_arg1
,_arg2
,_arg3
);
1559 wxPy_END_ALLOW_THREADS
;
1560 } _resultobj
= Py_BuildValue("i",_result
);
1568 #define wxBitmap_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
1569 static PyObject
*_wrap_wxBitmap_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1570 PyObject
* _resultobj
;
1573 PyObject
* _argo0
= 0;
1574 PyObject
* _argo1
= 0;
1575 char *_kwnames
[] = { "self","mask", NULL
};
1578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_SetMask",_kwnames
,&_argo0
,&_argo1
))
1581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetMask. Expected _wxBitmap_p.");
1588 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1589 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMask_p")) {
1590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_SetMask. Expected _wxMask_p.");
1595 wxPy_BEGIN_ALLOW_THREADS
;
1596 wxBitmap_SetMask(_arg0
,_arg1
);
1598 wxPy_END_ALLOW_THREADS
;
1599 } Py_INCREF(Py_None
);
1600 _resultobj
= Py_None
;
1604 #define wxBitmap_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
1605 static PyObject
*_wrap_wxBitmap_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1606 PyObject
* _resultobj
;
1609 PyObject
* _argo0
= 0;
1610 PyObject
* _argo1
= 0;
1611 char *_kwnames
[] = { "self","palette", NULL
};
1614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_SetPalette",_kwnames
,&_argo0
,&_argo1
))
1617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetPalette. Expected _wxBitmap_p.");
1624 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1625 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPalette_p")) {
1626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_SetPalette. Expected _wxPalette_p.");
1631 wxPy_BEGIN_ALLOW_THREADS
;
1632 wxBitmap_SetPalette(_arg0
,*_arg1
);
1634 wxPy_END_ALLOW_THREADS
;
1635 } Py_INCREF(Py_None
);
1636 _resultobj
= Py_None
;
1640 #define new_wxMask(_swigarg0) (new wxMask(_swigarg0))
1641 static PyObject
*_wrap_new_wxMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1642 PyObject
* _resultobj
;
1645 PyObject
* _argo0
= 0;
1646 char *_kwnames
[] = { "bitmap", NULL
};
1650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxMask",_kwnames
,&_argo0
))
1653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMask. Expected _wxBitmap_p.");
1660 wxPy_BEGIN_ALLOW_THREADS
;
1661 _result
= (wxMask
*)new_wxMask(*_arg0
);
1663 wxPy_END_ALLOW_THREADS
;
1665 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
1666 _resultobj
= Py_BuildValue("s",_ptemp
);
1669 _resultobj
= Py_None
;
1674 static void *SwigwxIconTowxGDIImage(void *ptr
) {
1677 src
= (wxIcon
*) ptr
;
1678 dest
= (wxGDIImage
*) src
;
1679 return (void *) dest
;
1682 #define new_wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1683 static PyObject
*_wrap_new_wxIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1684 PyObject
* _resultobj
;
1688 int _arg2
= (int ) -1;
1689 int _arg3
= (int ) -1;
1690 PyObject
* _obj0
= 0;
1691 char *_kwnames
[] = { "name","flags","desiredWidth","desiredHeight", NULL
};
1695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:new_wxIcon",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
))
1698 if (!PyString_Check(_obj0
)) {
1699 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1702 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
1705 wxPy_BEGIN_ALLOW_THREADS
;
1706 _result
= (wxIcon
*)new_wxIcon(*_arg0
,_arg1
,_arg2
,_arg3
);
1708 wxPy_END_ALLOW_THREADS
;
1710 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
1711 _resultobj
= Py_BuildValue("s",_ptemp
);
1714 _resultobj
= Py_None
;
1723 #define delete_wxIcon(_swigobj) (delete _swigobj)
1724 static PyObject
*_wrap_delete_wxIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1725 PyObject
* _resultobj
;
1727 PyObject
* _argo0
= 0;
1728 char *_kwnames
[] = { "self", NULL
};
1731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxIcon",_kwnames
,&_argo0
))
1734 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1735 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxIcon. Expected _wxIcon_p.");
1741 wxPy_BEGIN_ALLOW_THREADS
;
1742 delete_wxIcon(_arg0
);
1744 wxPy_END_ALLOW_THREADS
;
1745 } Py_INCREF(Py_None
);
1746 _resultobj
= Py_None
;
1750 #define wxIcon_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1751 static PyObject
*_wrap_wxIcon_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1752 PyObject
* _resultobj
;
1757 PyObject
* _argo0
= 0;
1758 PyObject
* _obj1
= 0;
1759 char *_kwnames
[] = { "self","name","flags", NULL
};
1762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOl:wxIcon_LoadFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_LoadFile. Expected _wxIcon_p.");
1772 if (!PyString_Check(_obj1
)) {
1773 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1776 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1779 wxPy_BEGIN_ALLOW_THREADS
;
1780 _result
= (bool )wxIcon_LoadFile(_arg0
,*_arg1
,_arg2
);
1782 wxPy_END_ALLOW_THREADS
;
1783 } _resultobj
= Py_BuildValue("i",_result
);
1791 static void *SwigwxCursorTowxGDIImage(void *ptr
) {
1794 src
= (wxCursor
*) ptr
;
1795 dest
= (wxGDIImage
*) src
;
1796 return (void *) dest
;
1799 #define new_wxCursor(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxCursor(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1800 static PyObject
*_wrap_new_wxCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1801 PyObject
* _resultobj
;
1805 int _arg2
= (int ) 0;
1806 int _arg3
= (int ) 0;
1807 PyObject
* _obj0
= 0;
1808 char *_kwnames
[] = { "cursorName","flags","hotSpotX","hotSpotY", NULL
};
1812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:new_wxCursor",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
))
1815 if (!PyString_Check(_obj0
)) {
1816 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1819 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
1822 wxPy_BEGIN_ALLOW_THREADS
;
1823 _result
= (wxCursor
*)new_wxCursor(*_arg0
,_arg1
,_arg2
,_arg3
);
1825 wxPy_END_ALLOW_THREADS
;
1827 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCursor_p");
1828 _resultobj
= Py_BuildValue("s",_ptemp
);
1831 _resultobj
= Py_None
;
1840 #define delete_wxCursor(_swigobj) (delete _swigobj)
1841 static PyObject
*_wrap_delete_wxCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1842 PyObject
* _resultobj
;
1844 PyObject
* _argo0
= 0;
1845 char *_kwnames
[] = { "self", NULL
};
1848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCursor",_kwnames
,&_argo0
))
1851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCursor. Expected _wxCursor_p.");
1858 wxPy_BEGIN_ALLOW_THREADS
;
1859 delete_wxCursor(_arg0
);
1861 wxPy_END_ALLOW_THREADS
;
1862 } Py_INCREF(Py_None
);
1863 _resultobj
= Py_None
;
1867 static wxFont
*new_wxFont(int pointSize
,int family
,int style
,int weight
,int underline
,char *faceName
,wxFontEncoding encoding
) {
1869 return wxTheFontList
->FindOrCreateFont(pointSize
, family
, style
, weight
,
1870 underline
, faceName
, encoding
);
1873 static PyObject
*_wrap_new_wxFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1874 PyObject
* _resultobj
;
1880 int _arg4
= (int ) FALSE
;
1881 char * _arg5
= (char *) "";
1882 wxFontEncoding _arg6
= (wxFontEncoding
) (wxFONTENCODING_DEFAULT
);
1883 char *_kwnames
[] = { "pointSize","family","style","weight","underline","faceName","encoding", NULL
};
1887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiii|isi:new_wxFont",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
1890 wxPy_BEGIN_ALLOW_THREADS
;
1891 _result
= (wxFont
*)new_wxFont(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1893 wxPy_END_ALLOW_THREADS
;
1895 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1896 _resultobj
= Py_BuildValue("s",_ptemp
);
1899 _resultobj
= Py_None
;
1904 #define wxFont_Ok(_swigobj) (_swigobj->Ok())
1905 static PyObject
*_wrap_wxFont_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1906 PyObject
* _resultobj
;
1909 PyObject
* _argo0
= 0;
1910 char *_kwnames
[] = { "self", NULL
};
1913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_Ok",_kwnames
,&_argo0
))
1916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_Ok. Expected _wxFont_p.");
1923 wxPy_BEGIN_ALLOW_THREADS
;
1924 _result
= (bool )wxFont_Ok(_arg0
);
1926 wxPy_END_ALLOW_THREADS
;
1927 } _resultobj
= Py_BuildValue("i",_result
);
1931 #define wxFont_GetFaceName(_swigobj) (_swigobj->GetFaceName())
1932 static PyObject
*_wrap_wxFont_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1933 PyObject
* _resultobj
;
1936 PyObject
* _argo0
= 0;
1937 char *_kwnames
[] = { "self", NULL
};
1940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFaceName",_kwnames
,&_argo0
))
1943 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1944 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFaceName. Expected _wxFont_p.");
1950 wxPy_BEGIN_ALLOW_THREADS
;
1951 _result
= new wxString (wxFont_GetFaceName(_arg0
));
1953 wxPy_END_ALLOW_THREADS
;
1955 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1963 #define wxFont_GetFamily(_swigobj) (_swigobj->GetFamily())
1964 static PyObject
*_wrap_wxFont_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1965 PyObject
* _resultobj
;
1968 PyObject
* _argo0
= 0;
1969 char *_kwnames
[] = { "self", NULL
};
1972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFamily",_kwnames
,&_argo0
))
1975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFamily. Expected _wxFont_p.");
1982 wxPy_BEGIN_ALLOW_THREADS
;
1983 _result
= (int )wxFont_GetFamily(_arg0
);
1985 wxPy_END_ALLOW_THREADS
;
1986 } _resultobj
= Py_BuildValue("i",_result
);
1990 #define wxFont_GetFontId(_swigobj) (_swigobj->GetFontId())
1991 static PyObject
*_wrap_wxFont_GetFontId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1992 PyObject
* _resultobj
;
1995 PyObject
* _argo0
= 0;
1996 char *_kwnames
[] = { "self", NULL
};
1999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFontId",_kwnames
,&_argo0
))
2002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFontId. Expected _wxFont_p.");
2009 wxPy_BEGIN_ALLOW_THREADS
;
2010 _result
= (int )wxFont_GetFontId(_arg0
);
2012 wxPy_END_ALLOW_THREADS
;
2013 } _resultobj
= Py_BuildValue("i",_result
);
2017 #define wxFont_GetPointSize(_swigobj) (_swigobj->GetPointSize())
2018 static PyObject
*_wrap_wxFont_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2019 PyObject
* _resultobj
;
2022 PyObject
* _argo0
= 0;
2023 char *_kwnames
[] = { "self", NULL
};
2026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetPointSize",_kwnames
,&_argo0
))
2029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetPointSize. Expected _wxFont_p.");
2036 wxPy_BEGIN_ALLOW_THREADS
;
2037 _result
= (int )wxFont_GetPointSize(_arg0
);
2039 wxPy_END_ALLOW_THREADS
;
2040 } _resultobj
= Py_BuildValue("i",_result
);
2044 #define wxFont_GetStyle(_swigobj) (_swigobj->GetStyle())
2045 static PyObject
*_wrap_wxFont_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2046 PyObject
* _resultobj
;
2049 PyObject
* _argo0
= 0;
2050 char *_kwnames
[] = { "self", NULL
};
2053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetStyle",_kwnames
,&_argo0
))
2056 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2057 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetStyle. Expected _wxFont_p.");
2063 wxPy_BEGIN_ALLOW_THREADS
;
2064 _result
= (int )wxFont_GetStyle(_arg0
);
2066 wxPy_END_ALLOW_THREADS
;
2067 } _resultobj
= Py_BuildValue("i",_result
);
2071 #define wxFont_GetUnderlined(_swigobj) (_swigobj->GetUnderlined())
2072 static PyObject
*_wrap_wxFont_GetUnderlined(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:wxFont_GetUnderlined",_kwnames
,&_argo0
))
2083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetUnderlined. Expected _wxFont_p.");
2090 wxPy_BEGIN_ALLOW_THREADS
;
2091 _result
= (bool )wxFont_GetUnderlined(_arg0
);
2093 wxPy_END_ALLOW_THREADS
;
2094 } _resultobj
= Py_BuildValue("i",_result
);
2098 #define wxFont_GetWeight(_swigobj) (_swigobj->GetWeight())
2099 static PyObject
*_wrap_wxFont_GetWeight(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:wxFont_GetWeight",_kwnames
,&_argo0
))
2110 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2111 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetWeight. Expected _wxFont_p.");
2117 wxPy_BEGIN_ALLOW_THREADS
;
2118 _result
= (int )wxFont_GetWeight(_arg0
);
2120 wxPy_END_ALLOW_THREADS
;
2121 } _resultobj
= Py_BuildValue("i",_result
);
2125 #define wxFont_GetEncoding(_swigobj) (_swigobj->GetEncoding())
2126 static PyObject
*_wrap_wxFont_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2127 PyObject
* _resultobj
;
2128 wxFontEncoding _result
;
2130 PyObject
* _argo0
= 0;
2131 char *_kwnames
[] = { "self", NULL
};
2134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetEncoding",_kwnames
,&_argo0
))
2137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetEncoding. Expected _wxFont_p.");
2144 wxPy_BEGIN_ALLOW_THREADS
;
2145 _result
= (wxFontEncoding
)wxFont_GetEncoding(_arg0
);
2147 wxPy_END_ALLOW_THREADS
;
2148 } _resultobj
= Py_BuildValue("i",_result
);
2152 #define wxFont_SetFaceName(_swigobj,_swigarg0) (_swigobj->SetFaceName(_swigarg0))
2153 static PyObject
*_wrap_wxFont_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2154 PyObject
* _resultobj
;
2157 PyObject
* _argo0
= 0;
2158 PyObject
* _obj1
= 0;
2159 char *_kwnames
[] = { "self","faceName", NULL
};
2162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFont_SetFaceName",_kwnames
,&_argo0
,&_obj1
))
2165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFaceName. Expected _wxFont_p.");
2172 if (!PyString_Check(_obj1
)) {
2173 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2176 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2179 wxPy_BEGIN_ALLOW_THREADS
;
2180 wxFont_SetFaceName(_arg0
,*_arg1
);
2182 wxPy_END_ALLOW_THREADS
;
2183 } Py_INCREF(Py_None
);
2184 _resultobj
= Py_None
;
2192 #define wxFont_SetFamily(_swigobj,_swigarg0) (_swigobj->SetFamily(_swigarg0))
2193 static PyObject
*_wrap_wxFont_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2194 PyObject
* _resultobj
;
2197 PyObject
* _argo0
= 0;
2198 char *_kwnames
[] = { "self","family", NULL
};
2201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetFamily",_kwnames
,&_argo0
,&_arg1
))
2204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFamily. Expected _wxFont_p.");
2211 wxPy_BEGIN_ALLOW_THREADS
;
2212 wxFont_SetFamily(_arg0
,_arg1
);
2214 wxPy_END_ALLOW_THREADS
;
2215 } Py_INCREF(Py_None
);
2216 _resultobj
= Py_None
;
2220 #define wxFont_SetPointSize(_swigobj,_swigarg0) (_swigobj->SetPointSize(_swigarg0))
2221 static PyObject
*_wrap_wxFont_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2222 PyObject
* _resultobj
;
2225 PyObject
* _argo0
= 0;
2226 char *_kwnames
[] = { "self","pointSize", NULL
};
2229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetPointSize",_kwnames
,&_argo0
,&_arg1
))
2232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetPointSize. Expected _wxFont_p.");
2239 wxPy_BEGIN_ALLOW_THREADS
;
2240 wxFont_SetPointSize(_arg0
,_arg1
);
2242 wxPy_END_ALLOW_THREADS
;
2243 } Py_INCREF(Py_None
);
2244 _resultobj
= Py_None
;
2248 #define wxFont_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
2249 static PyObject
*_wrap_wxFont_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2250 PyObject
* _resultobj
;
2253 PyObject
* _argo0
= 0;
2254 char *_kwnames
[] = { "self","style", NULL
};
2257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetStyle",_kwnames
,&_argo0
,&_arg1
))
2260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetStyle. Expected _wxFont_p.");
2267 wxPy_BEGIN_ALLOW_THREADS
;
2268 wxFont_SetStyle(_arg0
,_arg1
);
2270 wxPy_END_ALLOW_THREADS
;
2271 } Py_INCREF(Py_None
);
2272 _resultobj
= Py_None
;
2276 #define wxFont_SetUnderlined(_swigobj,_swigarg0) (_swigobj->SetUnderlined(_swigarg0))
2277 static PyObject
*_wrap_wxFont_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2278 PyObject
* _resultobj
;
2281 PyObject
* _argo0
= 0;
2283 char *_kwnames
[] = { "self","underlined", NULL
};
2286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetUnderlined",_kwnames
,&_argo0
,&tempbool1
))
2289 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2290 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetUnderlined. Expected _wxFont_p.");
2295 _arg1
= (bool ) tempbool1
;
2297 wxPy_BEGIN_ALLOW_THREADS
;
2298 wxFont_SetUnderlined(_arg0
,_arg1
);
2300 wxPy_END_ALLOW_THREADS
;
2301 } Py_INCREF(Py_None
);
2302 _resultobj
= Py_None
;
2306 #define wxFont_SetWeight(_swigobj,_swigarg0) (_swigobj->SetWeight(_swigarg0))
2307 static PyObject
*_wrap_wxFont_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2308 PyObject
* _resultobj
;
2311 PyObject
* _argo0
= 0;
2312 char *_kwnames
[] = { "self","weight", NULL
};
2315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetWeight",_kwnames
,&_argo0
,&_arg1
))
2318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetWeight. Expected _wxFont_p.");
2325 wxPy_BEGIN_ALLOW_THREADS
;
2326 wxFont_SetWeight(_arg0
,_arg1
);
2328 wxPy_END_ALLOW_THREADS
;
2329 } Py_INCREF(Py_None
);
2330 _resultobj
= Py_None
;
2334 #define wxFont_SetEncoding(_swigobj,_swigarg0) (_swigobj->SetEncoding(_swigarg0))
2335 static PyObject
*_wrap_wxFont_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2336 PyObject
* _resultobj
;
2338 wxFontEncoding _arg1
;
2339 PyObject
* _argo0
= 0;
2340 char *_kwnames
[] = { "self","encoding", NULL
};
2343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetEncoding",_kwnames
,&_argo0
,&_arg1
))
2346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetEncoding. Expected _wxFont_p.");
2353 wxPy_BEGIN_ALLOW_THREADS
;
2354 wxFont_SetEncoding(_arg0
,_arg1
);
2356 wxPy_END_ALLOW_THREADS
;
2357 } Py_INCREF(Py_None
);
2358 _resultobj
= Py_None
;
2362 #define wxFont_GetFamilyString(_swigobj) (_swigobj->GetFamilyString())
2363 static PyObject
*_wrap_wxFont_GetFamilyString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2364 PyObject
* _resultobj
;
2367 PyObject
* _argo0
= 0;
2368 char *_kwnames
[] = { "self", NULL
};
2371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFamilyString",_kwnames
,&_argo0
))
2374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFamilyString. Expected _wxFont_p.");
2381 wxPy_BEGIN_ALLOW_THREADS
;
2382 _result
= new wxString (wxFont_GetFamilyString(_arg0
));
2384 wxPy_END_ALLOW_THREADS
;
2386 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
2394 #define wxFont_GetStyleString(_swigobj) (_swigobj->GetStyleString())
2395 static PyObject
*_wrap_wxFont_GetStyleString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2396 PyObject
* _resultobj
;
2399 PyObject
* _argo0
= 0;
2400 char *_kwnames
[] = { "self", NULL
};
2403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetStyleString",_kwnames
,&_argo0
))
2406 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2407 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetStyleString. Expected _wxFont_p.");
2413 wxPy_BEGIN_ALLOW_THREADS
;
2414 _result
= new wxString (wxFont_GetStyleString(_arg0
));
2416 wxPy_END_ALLOW_THREADS
;
2418 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
2426 #define wxFont_GetWeightString(_swigobj) (_swigobj->GetWeightString())
2427 static PyObject
*_wrap_wxFont_GetWeightString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2428 PyObject
* _resultobj
;
2431 PyObject
* _argo0
= 0;
2432 char *_kwnames
[] = { "self", NULL
};
2435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetWeightString",_kwnames
,&_argo0
))
2438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetWeightString. Expected _wxFont_p.");
2445 wxPy_BEGIN_ALLOW_THREADS
;
2446 _result
= new wxString (wxFont_GetWeightString(_arg0
));
2448 wxPy_END_ALLOW_THREADS
;
2450 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
2458 #define new_wxColour(_swigarg0,_swigarg1,_swigarg2) (new wxColour(_swigarg0,_swigarg1,_swigarg2))
2459 static PyObject
*_wrap_new_wxColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2460 PyObject
* _resultobj
;
2462 unsigned char _arg0
= (unsigned char ) 0;
2463 unsigned char _arg1
= (unsigned char ) 0;
2464 unsigned char _arg2
= (unsigned char ) 0;
2465 char *_kwnames
[] = { "red","green","blue", NULL
};
2469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|bbb:new_wxColour",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
2472 wxPy_BEGIN_ALLOW_THREADS
;
2473 _result
= (wxColour
*)new_wxColour(_arg0
,_arg1
,_arg2
);
2475 wxPy_END_ALLOW_THREADS
;
2477 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
2478 _resultobj
= Py_BuildValue("s",_ptemp
);
2481 _resultobj
= Py_None
;
2486 #define delete_wxColour(_swigobj) (delete _swigobj)
2487 static PyObject
*_wrap_delete_wxColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2488 PyObject
* _resultobj
;
2490 PyObject
* _argo0
= 0;
2491 char *_kwnames
[] = { "self", NULL
};
2494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxColour",_kwnames
,&_argo0
))
2497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
2499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxColour. Expected _wxColour_p.");
2504 wxPy_BEGIN_ALLOW_THREADS
;
2505 delete_wxColour(_arg0
);
2507 wxPy_END_ALLOW_THREADS
;
2508 } Py_INCREF(Py_None
);
2509 _resultobj
= Py_None
;
2513 #define wxColour_Red(_swigobj) (_swigobj->Red())
2514 static PyObject
*_wrap_wxColour_Red(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2515 PyObject
* _resultobj
;
2516 unsigned char _result
;
2518 PyObject
* _argo0
= 0;
2519 char *_kwnames
[] = { "self", NULL
};
2522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Red",_kwnames
,&_argo0
))
2525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
2527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Red. Expected _wxColour_p.");
2532 wxPy_BEGIN_ALLOW_THREADS
;
2533 _result
= (unsigned char )wxColour_Red(_arg0
);
2535 wxPy_END_ALLOW_THREADS
;
2536 } _resultobj
= Py_BuildValue("b",_result
);
2540 #define wxColour_Green(_swigobj) (_swigobj->Green())
2541 static PyObject
*_wrap_wxColour_Green(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2542 PyObject
* _resultobj
;
2543 unsigned char _result
;
2545 PyObject
* _argo0
= 0;
2546 char *_kwnames
[] = { "self", NULL
};
2549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Green",_kwnames
,&_argo0
))
2552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
2554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Green. Expected _wxColour_p.");
2559 wxPy_BEGIN_ALLOW_THREADS
;
2560 _result
= (unsigned char )wxColour_Green(_arg0
);
2562 wxPy_END_ALLOW_THREADS
;
2563 } _resultobj
= Py_BuildValue("b",_result
);
2567 #define wxColour_Blue(_swigobj) (_swigobj->Blue())
2568 static PyObject
*_wrap_wxColour_Blue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2569 PyObject
* _resultobj
;
2570 unsigned char _result
;
2572 PyObject
* _argo0
= 0;
2573 char *_kwnames
[] = { "self", NULL
};
2576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Blue",_kwnames
,&_argo0
))
2579 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2580 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
2581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Blue. Expected _wxColour_p.");
2586 wxPy_BEGIN_ALLOW_THREADS
;
2587 _result
= (unsigned char )wxColour_Blue(_arg0
);
2589 wxPy_END_ALLOW_THREADS
;
2590 } _resultobj
= Py_BuildValue("b",_result
);
2594 #define wxColour_Ok(_swigobj) (_swigobj->Ok())
2595 static PyObject
*_wrap_wxColour_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2596 PyObject
* _resultobj
;
2599 PyObject
* _argo0
= 0;
2600 char *_kwnames
[] = { "self", NULL
};
2603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Ok",_kwnames
,&_argo0
))
2606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
2608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Ok. Expected _wxColour_p.");
2613 wxPy_BEGIN_ALLOW_THREADS
;
2614 _result
= (bool )wxColour_Ok(_arg0
);
2616 wxPy_END_ALLOW_THREADS
;
2617 } _resultobj
= Py_BuildValue("i",_result
);
2621 #define wxColour_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
2622 static PyObject
*_wrap_wxColour_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2623 PyObject
* _resultobj
;
2625 unsigned char _arg1
;
2626 unsigned char _arg2
;
2627 unsigned char _arg3
;
2628 PyObject
* _argo0
= 0;
2629 char *_kwnames
[] = { "self","red","green","blue", NULL
};
2632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Obbb:wxColour_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2635 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2636 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
2637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Set. Expected _wxColour_p.");
2642 wxPy_BEGIN_ALLOW_THREADS
;
2643 wxColour_Set(_arg0
,_arg1
,_arg2
,_arg3
);
2645 wxPy_END_ALLOW_THREADS
;
2646 } Py_INCREF(Py_None
);
2647 _resultobj
= Py_None
;
2651 static PyObject
* wxColour_Get(wxColour
*self
) {
2652 PyObject
* rv
= PyTuple_New(3);
2653 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
2654 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
2655 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
2658 static PyObject
*_wrap_wxColour_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2659 PyObject
* _resultobj
;
2662 PyObject
* _argo0
= 0;
2663 char *_kwnames
[] = { "self", NULL
};
2666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Get",_kwnames
,&_argo0
))
2669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
2671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Get. Expected _wxColour_p.");
2676 wxPy_BEGIN_ALLOW_THREADS
;
2677 _result
= (PyObject
*)wxColour_Get(_arg0
);
2679 wxPy_END_ALLOW_THREADS
;
2681 _resultobj
= _result
;
2686 static wxPen
*new_wxPen(wxColour
*colour
,int width
,int style
) {
2687 return wxThePenList
->FindOrCreatePen(*colour
, width
, style
);
2690 static PyObject
*_wrap_new_wxPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2691 PyObject
* _resultobj
;
2694 int _arg1
= (int ) 1;
2695 int _arg2
= (int ) wxSOLID
;
2696 PyObject
* _argo0
= 0;
2697 char *_kwnames
[] = { "colour","width","style", NULL
};
2701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:new_wxPen",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2704 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2705 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
2706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPen. Expected _wxColour_p.");
2711 wxPy_BEGIN_ALLOW_THREADS
;
2712 _result
= (wxPen
*)new_wxPen(_arg0
,_arg1
,_arg2
);
2714 wxPy_END_ALLOW_THREADS
;
2716 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
2717 _resultobj
= Py_BuildValue("s",_ptemp
);
2720 _resultobj
= Py_None
;
2725 #define wxPen_GetCap(_swigobj) (_swigobj->GetCap())
2726 static PyObject
*_wrap_wxPen_GetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2727 PyObject
* _resultobj
;
2730 PyObject
* _argo0
= 0;
2731 char *_kwnames
[] = { "self", NULL
};
2734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetCap",_kwnames
,&_argo0
))
2737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetCap. Expected _wxPen_p.");
2744 wxPy_BEGIN_ALLOW_THREADS
;
2745 _result
= (int )wxPen_GetCap(_arg0
);
2747 wxPy_END_ALLOW_THREADS
;
2748 } _resultobj
= Py_BuildValue("i",_result
);
2752 #define wxPen_GetColour(_swigobj) (_swigobj->GetColour())
2753 static PyObject
*_wrap_wxPen_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2754 PyObject
* _resultobj
;
2757 PyObject
* _argo0
= 0;
2758 char *_kwnames
[] = { "self", NULL
};
2762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetColour",_kwnames
,&_argo0
))
2765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetColour. Expected _wxPen_p.");
2772 wxPy_BEGIN_ALLOW_THREADS
;
2773 wxColour
& _result_ref
= wxPen_GetColour(_arg0
);
2774 _result
= (wxColour
*) &_result_ref
;
2776 wxPy_END_ALLOW_THREADS
;
2778 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
2779 _resultobj
= Py_BuildValue("s",_ptemp
);
2782 _resultobj
= Py_None
;
2787 #define wxPen_GetJoin(_swigobj) (_swigobj->GetJoin())
2788 static PyObject
*_wrap_wxPen_GetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2789 PyObject
* _resultobj
;
2792 PyObject
* _argo0
= 0;
2793 char *_kwnames
[] = { "self", NULL
};
2796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetJoin",_kwnames
,&_argo0
))
2799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetJoin. Expected _wxPen_p.");
2806 wxPy_BEGIN_ALLOW_THREADS
;
2807 _result
= (int )wxPen_GetJoin(_arg0
);
2809 wxPy_END_ALLOW_THREADS
;
2810 } _resultobj
= Py_BuildValue("i",_result
);
2814 #define wxPen_GetStyle(_swigobj) (_swigobj->GetStyle())
2815 static PyObject
*_wrap_wxPen_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2816 PyObject
* _resultobj
;
2819 PyObject
* _argo0
= 0;
2820 char *_kwnames
[] = { "self", NULL
};
2823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetStyle",_kwnames
,&_argo0
))
2826 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2827 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetStyle. Expected _wxPen_p.");
2833 wxPy_BEGIN_ALLOW_THREADS
;
2834 _result
= (int )wxPen_GetStyle(_arg0
);
2836 wxPy_END_ALLOW_THREADS
;
2837 } _resultobj
= Py_BuildValue("i",_result
);
2841 #define wxPen_GetWidth(_swigobj) (_swigobj->GetWidth())
2842 static PyObject
*_wrap_wxPen_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2843 PyObject
* _resultobj
;
2846 PyObject
* _argo0
= 0;
2847 char *_kwnames
[] = { "self", NULL
};
2850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetWidth",_kwnames
,&_argo0
))
2853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetWidth. Expected _wxPen_p.");
2860 wxPy_BEGIN_ALLOW_THREADS
;
2861 _result
= (int )wxPen_GetWidth(_arg0
);
2863 wxPy_END_ALLOW_THREADS
;
2864 } _resultobj
= Py_BuildValue("i",_result
);
2868 #define wxPen_Ok(_swigobj) (_swigobj->Ok())
2869 static PyObject
*_wrap_wxPen_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2870 PyObject
* _resultobj
;
2873 PyObject
* _argo0
= 0;
2874 char *_kwnames
[] = { "self", NULL
};
2877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_Ok",_kwnames
,&_argo0
))
2880 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2881 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_Ok. Expected _wxPen_p.");
2887 wxPy_BEGIN_ALLOW_THREADS
;
2888 _result
= (bool )wxPen_Ok(_arg0
);
2890 wxPy_END_ALLOW_THREADS
;
2891 } _resultobj
= Py_BuildValue("i",_result
);
2895 #define wxPen_SetCap(_swigobj,_swigarg0) (_swigobj->SetCap(_swigarg0))
2896 static PyObject
*_wrap_wxPen_SetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2897 PyObject
* _resultobj
;
2900 PyObject
* _argo0
= 0;
2901 char *_kwnames
[] = { "self","cap_style", NULL
};
2904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetCap",_kwnames
,&_argo0
,&_arg1
))
2907 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2908 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetCap. Expected _wxPen_p.");
2914 wxPy_BEGIN_ALLOW_THREADS
;
2915 wxPen_SetCap(_arg0
,_arg1
);
2917 wxPy_END_ALLOW_THREADS
;
2918 } Py_INCREF(Py_None
);
2919 _resultobj
= Py_None
;
2923 #define wxPen_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
2924 static PyObject
*_wrap_wxPen_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2925 PyObject
* _resultobj
;
2928 PyObject
* _argo0
= 0;
2929 PyObject
* _argo1
= 0;
2930 char *_kwnames
[] = { "self","colour", NULL
};
2933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetColour",_kwnames
,&_argo0
,&_argo1
))
2936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetColour. Expected _wxPen_p.");
2943 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2944 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPen_SetColour. Expected _wxColour_p.");
2950 wxPy_BEGIN_ALLOW_THREADS
;
2951 wxPen_SetColour(_arg0
,*_arg1
);
2953 wxPy_END_ALLOW_THREADS
;
2954 } Py_INCREF(Py_None
);
2955 _resultobj
= Py_None
;
2959 #define wxPen_SetJoin(_swigobj,_swigarg0) (_swigobj->SetJoin(_swigarg0))
2960 static PyObject
*_wrap_wxPen_SetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2961 PyObject
* _resultobj
;
2964 PyObject
* _argo0
= 0;
2965 char *_kwnames
[] = { "self","join_style", NULL
};
2968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetJoin",_kwnames
,&_argo0
,&_arg1
))
2971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetJoin. Expected _wxPen_p.");
2978 wxPy_BEGIN_ALLOW_THREADS
;
2979 wxPen_SetJoin(_arg0
,_arg1
);
2981 wxPy_END_ALLOW_THREADS
;
2982 } Py_INCREF(Py_None
);
2983 _resultobj
= Py_None
;
2987 #define wxPen_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
2988 static PyObject
*_wrap_wxPen_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2989 PyObject
* _resultobj
;
2992 PyObject
* _argo0
= 0;
2993 char *_kwnames
[] = { "self","style", NULL
};
2996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetStyle",_kwnames
,&_argo0
,&_arg1
))
2999 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3000 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetStyle. Expected _wxPen_p.");
3006 wxPy_BEGIN_ALLOW_THREADS
;
3007 wxPen_SetStyle(_arg0
,_arg1
);
3009 wxPy_END_ALLOW_THREADS
;
3010 } Py_INCREF(Py_None
);
3011 _resultobj
= Py_None
;
3015 #define wxPen_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
3016 static PyObject
*_wrap_wxPen_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3017 PyObject
* _resultobj
;
3020 PyObject
* _argo0
= 0;
3021 char *_kwnames
[] = { "self","width", NULL
};
3024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetWidth",_kwnames
,&_argo0
,&_arg1
))
3027 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3028 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetWidth. Expected _wxPen_p.");
3034 wxPy_BEGIN_ALLOW_THREADS
;
3035 wxPen_SetWidth(_arg0
,_arg1
);
3037 wxPy_END_ALLOW_THREADS
;
3038 } Py_INCREF(Py_None
);
3039 _resultobj
= Py_None
;
3043 #define wxPen_GetDashes(_swigobj,_swigarg0) (_swigobj->GetDashes(_swigarg0))
3044 static PyObject
*_wrap_wxPen_GetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3045 PyObject
* _resultobj
;
3049 PyObject
* _argo0
= 0;
3050 PyObject
* _argo1
= 0;
3051 char *_kwnames
[] = { "self","dashes", NULL
};
3054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_GetDashes",_kwnames
,&_argo0
,&_argo1
))
3057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetDashes. Expected _wxPen_p.");
3064 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3065 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDash_pp")) {
3066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPen_GetDashes. Expected _wxDash_pp.");
3071 wxPy_BEGIN_ALLOW_THREADS
;
3072 _result
= (int )wxPen_GetDashes(_arg0
,_arg1
);
3074 wxPy_END_ALLOW_THREADS
;
3075 } _resultobj
= Py_BuildValue("i",_result
);
3079 #define wxPen_SetDashes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDashes(_swigarg0,_swigarg1))
3080 static PyObject
*_wrap_wxPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3081 PyObject
* _resultobj
;
3085 PyObject
* _argo0
= 0;
3086 PyObject
* _obj2
= 0;
3087 char *_kwnames
[] = { "self","LIST", NULL
};
3090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetDashes",_kwnames
,&_argo0
,&_obj2
))
3093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetDashes. Expected _wxPen_p.");
3101 _arg2
= (unsigned long*)long_LIST_helper(_obj2
);
3102 if (_arg2
== NULL
) {
3108 _arg1
= PyList_Size(_obj2
);
3115 wxPy_BEGIN_ALLOW_THREADS
;
3116 wxPen_SetDashes(_arg0
,_arg1
,_arg2
);
3118 wxPy_END_ALLOW_THREADS
;
3119 } Py_INCREF(Py_None
);
3120 _resultobj
= Py_None
;
3127 #define wxPen_GetStipple(_swigobj) (_swigobj->GetStipple())
3128 static PyObject
*_wrap_wxPen_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3129 PyObject
* _resultobj
;
3132 PyObject
* _argo0
= 0;
3133 char *_kwnames
[] = { "self", NULL
};
3137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetStipple",_kwnames
,&_argo0
))
3140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetStipple. Expected _wxPen_p.");
3147 wxPy_BEGIN_ALLOW_THREADS
;
3148 _result
= (wxBitmap
*)wxPen_GetStipple(_arg0
);
3150 wxPy_END_ALLOW_THREADS
;
3152 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
3153 _resultobj
= Py_BuildValue("s",_ptemp
);
3156 _resultobj
= Py_None
;
3161 #define wxPen_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
3162 static PyObject
*_wrap_wxPen_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3163 PyObject
* _resultobj
;
3166 PyObject
* _argo0
= 0;
3167 PyObject
* _argo1
= 0;
3168 char *_kwnames
[] = { "self","stipple", NULL
};
3171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetStipple",_kwnames
,&_argo0
,&_argo1
))
3174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetStipple. Expected _wxPen_p.");
3181 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3182 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
3183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPen_SetStipple. Expected _wxBitmap_p.");
3188 wxPy_BEGIN_ALLOW_THREADS
;
3189 wxPen_SetStipple(_arg0
,*_arg1
);
3191 wxPy_END_ALLOW_THREADS
;
3192 } Py_INCREF(Py_None
);
3193 _resultobj
= Py_None
;
3197 static wxBrush
*new_wxBrush(wxColour
*colour
,int style
) {
3198 return wxTheBrushList
->FindOrCreateBrush(*colour
, style
);
3201 static PyObject
*_wrap_new_wxBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3202 PyObject
* _resultobj
;
3205 int _arg1
= (int ) wxSOLID
;
3206 PyObject
* _argo0
= 0;
3207 char *_kwnames
[] = { "colour","style", NULL
};
3211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxBrush",_kwnames
,&_argo0
,&_arg1
))
3214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
3216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBrush. Expected _wxColour_p.");
3221 wxPy_BEGIN_ALLOW_THREADS
;
3222 _result
= (wxBrush
*)new_wxBrush(_arg0
,_arg1
);
3224 wxPy_END_ALLOW_THREADS
;
3226 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
3227 _resultobj
= Py_BuildValue("s",_ptemp
);
3230 _resultobj
= Py_None
;
3235 #define wxBrush_GetColour(_swigobj) (_swigobj->GetColour())
3236 static PyObject
*_wrap_wxBrush_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3237 PyObject
* _resultobj
;
3240 PyObject
* _argo0
= 0;
3241 char *_kwnames
[] = { "self", NULL
};
3245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetColour",_kwnames
,&_argo0
))
3248 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3249 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetColour. Expected _wxBrush_p.");
3255 wxPy_BEGIN_ALLOW_THREADS
;
3256 wxColour
& _result_ref
= wxBrush_GetColour(_arg0
);
3257 _result
= (wxColour
*) &_result_ref
;
3259 wxPy_END_ALLOW_THREADS
;
3261 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3262 _resultobj
= Py_BuildValue("s",_ptemp
);
3265 _resultobj
= Py_None
;
3270 #define wxBrush_GetStipple(_swigobj) (_swigobj->GetStipple())
3271 static PyObject
*_wrap_wxBrush_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3272 PyObject
* _resultobj
;
3275 PyObject
* _argo0
= 0;
3276 char *_kwnames
[] = { "self", NULL
};
3280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetStipple",_kwnames
,&_argo0
))
3283 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3284 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStipple. Expected _wxBrush_p.");
3290 wxPy_BEGIN_ALLOW_THREADS
;
3291 _result
= (wxBitmap
*)wxBrush_GetStipple(_arg0
);
3293 wxPy_END_ALLOW_THREADS
;
3295 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
3296 _resultobj
= Py_BuildValue("s",_ptemp
);
3299 _resultobj
= Py_None
;
3304 #define wxBrush_GetStyle(_swigobj) (_swigobj->GetStyle())
3305 static PyObject
*_wrap_wxBrush_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3306 PyObject
* _resultobj
;
3309 PyObject
* _argo0
= 0;
3310 char *_kwnames
[] = { "self", NULL
};
3313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetStyle",_kwnames
,&_argo0
))
3316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStyle. Expected _wxBrush_p.");
3323 wxPy_BEGIN_ALLOW_THREADS
;
3324 _result
= (int )wxBrush_GetStyle(_arg0
);
3326 wxPy_END_ALLOW_THREADS
;
3327 } _resultobj
= Py_BuildValue("i",_result
);
3331 #define wxBrush_Ok(_swigobj) (_swigobj->Ok())
3332 static PyObject
*_wrap_wxBrush_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3333 PyObject
* _resultobj
;
3336 PyObject
* _argo0
= 0;
3337 char *_kwnames
[] = { "self", NULL
};
3340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_Ok",_kwnames
,&_argo0
))
3343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_Ok. Expected _wxBrush_p.");
3350 wxPy_BEGIN_ALLOW_THREADS
;
3351 _result
= (bool )wxBrush_Ok(_arg0
);
3353 wxPy_END_ALLOW_THREADS
;
3354 } _resultobj
= Py_BuildValue("i",_result
);
3358 #define wxBrush_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
3359 static PyObject
*_wrap_wxBrush_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3360 PyObject
* _resultobj
;
3363 PyObject
* _argo0
= 0;
3364 PyObject
* _argo1
= 0;
3365 char *_kwnames
[] = { "self","colour", NULL
};
3368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrush_SetColour",_kwnames
,&_argo0
,&_argo1
))
3371 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3372 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetColour. Expected _wxBrush_p.");
3378 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3379 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
3380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrush_SetColour. Expected _wxColour_p.");
3385 wxPy_BEGIN_ALLOW_THREADS
;
3386 wxBrush_SetColour(_arg0
,*_arg1
);
3388 wxPy_END_ALLOW_THREADS
;
3389 } Py_INCREF(Py_None
);
3390 _resultobj
= Py_None
;
3394 #define wxBrush_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
3395 static PyObject
*_wrap_wxBrush_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3396 PyObject
* _resultobj
;
3399 PyObject
* _argo0
= 0;
3400 PyObject
* _argo1
= 0;
3401 char *_kwnames
[] = { "self","bitmap", NULL
};
3404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrush_SetStipple",_kwnames
,&_argo0
,&_argo1
))
3407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStipple. Expected _wxBrush_p.");
3414 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3415 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
3416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrush_SetStipple. Expected _wxBitmap_p.");
3421 wxPy_BEGIN_ALLOW_THREADS
;
3422 wxBrush_SetStipple(_arg0
,*_arg1
);
3424 wxPy_END_ALLOW_THREADS
;
3425 } Py_INCREF(Py_None
);
3426 _resultobj
= Py_None
;
3430 #define wxBrush_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
3431 static PyObject
*_wrap_wxBrush_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3432 PyObject
* _resultobj
;
3435 PyObject
* _argo0
= 0;
3436 char *_kwnames
[] = { "self","style", NULL
};
3439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBrush_SetStyle",_kwnames
,&_argo0
,&_arg1
))
3442 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3443 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStyle. Expected _wxBrush_p.");
3449 wxPy_BEGIN_ALLOW_THREADS
;
3450 wxBrush_SetStyle(_arg0
,_arg1
);
3452 wxPy_END_ALLOW_THREADS
;
3453 } Py_INCREF(Py_None
);
3454 _resultobj
= Py_None
;
3458 #define delete_wxDC(_swigobj) (delete _swigobj)
3459 static PyObject
*_wrap_delete_wxDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3460 PyObject
* _resultobj
;
3462 PyObject
* _argo0
= 0;
3463 char *_kwnames
[] = { "self", NULL
};
3466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDC",_kwnames
,&_argo0
))
3469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDC. Expected _wxDC_p.");
3476 wxPy_BEGIN_ALLOW_THREADS
;
3479 wxPy_END_ALLOW_THREADS
;
3480 } Py_INCREF(Py_None
);
3481 _resultobj
= Py_None
;
3485 #define wxDC_BeginDrawing(_swigobj) (_swigobj->BeginDrawing())
3486 static PyObject
*_wrap_wxDC_BeginDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3487 PyObject
* _resultobj
;
3489 PyObject
* _argo0
= 0;
3490 char *_kwnames
[] = { "self", NULL
};
3493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_BeginDrawing",_kwnames
,&_argo0
))
3496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_BeginDrawing. Expected _wxDC_p.");
3503 wxPy_BEGIN_ALLOW_THREADS
;
3504 wxDC_BeginDrawing(_arg0
);
3506 wxPy_END_ALLOW_THREADS
;
3507 } Py_INCREF(Py_None
);
3508 _resultobj
= Py_None
;
3512 #define wxDC_Blit(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Blit(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
3513 static PyObject
*_wrap_wxDC_Blit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3514 PyObject
* _resultobj
;
3524 int _arg8
= (int ) wxCOPY
;
3525 int _arg9
= (int ) FALSE
;
3526 PyObject
* _argo0
= 0;
3527 PyObject
* _argo5
= 0;
3528 char *_kwnames
[] = { "self","xdest","ydest","width","height","source","xsrc","ysrc","logicalFunc","useMask", NULL
};
3531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllllOll|ii:wxDC_Blit",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_argo5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
))
3534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Blit. Expected _wxDC_p.");
3541 if (_argo5
== Py_None
) { _arg5
= NULL
; }
3542 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxDC_p")) {
3543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxDC_Blit. Expected _wxDC_p.");
3548 wxPy_BEGIN_ALLOW_THREADS
;
3549 _result
= (bool )wxDC_Blit(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
3551 wxPy_END_ALLOW_THREADS
;
3552 } _resultobj
= Py_BuildValue("i",_result
);
3556 #define wxDC_Clear(_swigobj) (_swigobj->Clear())
3557 static PyObject
*_wrap_wxDC_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3558 PyObject
* _resultobj
;
3560 PyObject
* _argo0
= 0;
3561 char *_kwnames
[] = { "self", NULL
};
3564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_Clear",_kwnames
,&_argo0
))
3567 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3568 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Clear. Expected _wxDC_p.");
3574 wxPy_BEGIN_ALLOW_THREADS
;
3577 wxPy_END_ALLOW_THREADS
;
3578 } Py_INCREF(Py_None
);
3579 _resultobj
= Py_None
;
3583 #define wxDC_CrossHair(_swigobj,_swigarg0,_swigarg1) (_swigobj->CrossHair(_swigarg0,_swigarg1))
3584 static PyObject
*_wrap_wxDC_CrossHair(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3585 PyObject
* _resultobj
;
3589 PyObject
* _argo0
= 0;
3590 char *_kwnames
[] = { "self","x","y", NULL
};
3593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_CrossHair",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CrossHair. Expected _wxDC_p.");
3603 wxPy_BEGIN_ALLOW_THREADS
;
3604 wxDC_CrossHair(_arg0
,_arg1
,_arg2
);
3606 wxPy_END_ALLOW_THREADS
;
3607 } Py_INCREF(Py_None
);
3608 _resultobj
= Py_None
;
3612 #define wxDC_DestroyClippingRegion(_swigobj) (_swigobj->DestroyClippingRegion())
3613 static PyObject
*_wrap_wxDC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3614 PyObject
* _resultobj
;
3616 PyObject
* _argo0
= 0;
3617 char *_kwnames
[] = { "self", NULL
};
3620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_DestroyClippingRegion",_kwnames
,&_argo0
))
3623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DestroyClippingRegion. Expected _wxDC_p.");
3630 wxPy_BEGIN_ALLOW_THREADS
;
3631 wxDC_DestroyClippingRegion(_arg0
);
3633 wxPy_END_ALLOW_THREADS
;
3634 } Py_INCREF(Py_None
);
3635 _resultobj
= Py_None
;
3639 #define wxDC_DeviceToLogicalX(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalX(_swigarg0))
3640 static PyObject
*_wrap_wxDC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3641 PyObject
* _resultobj
;
3645 PyObject
* _argo0
= 0;
3646 char *_kwnames
[] = { "self","x", NULL
};
3649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalX",_kwnames
,&_argo0
,&_arg1
))
3652 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3653 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalX. Expected _wxDC_p.");
3659 wxPy_BEGIN_ALLOW_THREADS
;
3660 _result
= (long )wxDC_DeviceToLogicalX(_arg0
,_arg1
);
3662 wxPy_END_ALLOW_THREADS
;
3663 } _resultobj
= Py_BuildValue("l",_result
);
3667 #define wxDC_DeviceToLogicalXRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalXRel(_swigarg0))
3668 static PyObject
*_wrap_wxDC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3669 PyObject
* _resultobj
;
3673 PyObject
* _argo0
= 0;
3674 char *_kwnames
[] = { "self","x", NULL
};
3677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalXRel",_kwnames
,&_argo0
,&_arg1
))
3680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalXRel. Expected _wxDC_p.");
3687 wxPy_BEGIN_ALLOW_THREADS
;
3688 _result
= (long )wxDC_DeviceToLogicalXRel(_arg0
,_arg1
);
3690 wxPy_END_ALLOW_THREADS
;
3691 } _resultobj
= Py_BuildValue("l",_result
);
3695 #define wxDC_DeviceToLogicalY(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalY(_swigarg0))
3696 static PyObject
*_wrap_wxDC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3697 PyObject
* _resultobj
;
3701 PyObject
* _argo0
= 0;
3702 char *_kwnames
[] = { "self","y", NULL
};
3705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalY",_kwnames
,&_argo0
,&_arg1
))
3708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalY. Expected _wxDC_p.");
3715 wxPy_BEGIN_ALLOW_THREADS
;
3716 _result
= (long )wxDC_DeviceToLogicalY(_arg0
,_arg1
);
3718 wxPy_END_ALLOW_THREADS
;
3719 } _resultobj
= Py_BuildValue("l",_result
);
3723 #define wxDC_DeviceToLogicalYRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalYRel(_swigarg0))
3724 static PyObject
*_wrap_wxDC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3725 PyObject
* _resultobj
;
3729 PyObject
* _argo0
= 0;
3730 char *_kwnames
[] = { "self","y", NULL
};
3733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalYRel",_kwnames
,&_argo0
,&_arg1
))
3736 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3737 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalYRel. Expected _wxDC_p.");
3743 wxPy_BEGIN_ALLOW_THREADS
;
3744 _result
= (long )wxDC_DeviceToLogicalYRel(_arg0
,_arg1
);
3746 wxPy_END_ALLOW_THREADS
;
3747 } _resultobj
= Py_BuildValue("l",_result
);
3751 #define wxDC_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3752 static PyObject
*_wrap_wxDC_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3753 PyObject
* _resultobj
;
3761 PyObject
* _argo0
= 0;
3762 char *_kwnames
[] = { "self","x1","y1","x2","y2","xc","yc", NULL
};
3765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollllll:wxDC_DrawArc",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
3768 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3769 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawArc. Expected _wxDC_p.");
3775 wxPy_BEGIN_ALLOW_THREADS
;
3776 wxDC_DrawArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
3778 wxPy_END_ALLOW_THREADS
;
3779 } Py_INCREF(Py_None
);
3780 _resultobj
= Py_None
;
3784 #define wxDC_DrawCircle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawCircle(_swigarg0,_swigarg1,_swigarg2))
3785 static PyObject
*_wrap_wxDC_DrawCircle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3786 PyObject
* _resultobj
;
3791 PyObject
* _argo0
= 0;
3792 char *_kwnames
[] = { "self","x","y","radius", NULL
};
3795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olll:wxDC_DrawCircle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawCircle. Expected _wxDC_p.");
3805 wxPy_BEGIN_ALLOW_THREADS
;
3806 wxDC_DrawCircle(_arg0
,_arg1
,_arg2
,_arg3
);
3808 wxPy_END_ALLOW_THREADS
;
3809 } Py_INCREF(Py_None
);
3810 _resultobj
= Py_None
;
3814 #define wxDC_DrawEllipse(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawEllipse(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3815 static PyObject
*_wrap_wxDC_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3816 PyObject
* _resultobj
;
3822 PyObject
* _argo0
= 0;
3823 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
3826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawEllipse",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipse. Expected _wxDC_p.");
3836 wxPy_BEGIN_ALLOW_THREADS
;
3837 wxDC_DrawEllipse(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3839 wxPy_END_ALLOW_THREADS
;
3840 } Py_INCREF(Py_None
);
3841 _resultobj
= Py_None
;
3845 #define wxDC_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3846 static PyObject
*_wrap_wxDC_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3847 PyObject
* _resultobj
;
3855 PyObject
* _argo0
= 0;
3856 char *_kwnames
[] = { "self","x","y","width","height","start","end", NULL
};
3859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollllll:wxDC_DrawEllipticArc",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
3862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipticArc. Expected _wxDC_p.");
3869 wxPy_BEGIN_ALLOW_THREADS
;
3870 wxDC_DrawEllipticArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
3872 wxPy_END_ALLOW_THREADS
;
3873 } Py_INCREF(Py_None
);
3874 _resultobj
= Py_None
;
3878 #define wxDC_DrawIcon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawIcon(_swigarg0,_swigarg1,_swigarg2))
3879 static PyObject
*_wrap_wxDC_DrawIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3880 PyObject
* _resultobj
;
3885 PyObject
* _argo0
= 0;
3886 PyObject
* _argo1
= 0;
3887 char *_kwnames
[] = { "self","icon","x","y", NULL
};
3890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll:wxDC_DrawIcon",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3893 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3894 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawIcon. Expected _wxDC_p.");
3900 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3901 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
3902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawIcon. Expected _wxIcon_p.");
3907 wxPy_BEGIN_ALLOW_THREADS
;
3908 wxDC_DrawIcon(_arg0
,*_arg1
,_arg2
,_arg3
);
3910 wxPy_END_ALLOW_THREADS
;
3911 } Py_INCREF(Py_None
);
3912 _resultobj
= Py_None
;
3916 #define wxDC_DrawLine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3917 static PyObject
*_wrap_wxDC_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3918 PyObject
* _resultobj
;
3924 PyObject
* _argo0
= 0;
3925 char *_kwnames
[] = { "self","x1","y1","x2","y2", NULL
};
3928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawLine",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3931 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3932 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLine. Expected _wxDC_p.");
3938 wxPy_BEGIN_ALLOW_THREADS
;
3939 wxDC_DrawLine(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3941 wxPy_END_ALLOW_THREADS
;
3942 } Py_INCREF(Py_None
);
3943 _resultobj
= Py_None
;
3947 #define wxDC_DrawLines(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLines(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3948 static PyObject
*_wrap_wxDC_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3949 PyObject
* _resultobj
;
3953 long _arg3
= (long ) 0;
3954 long _arg4
= (long ) 0;
3955 PyObject
* _argo0
= 0;
3956 PyObject
* _obj2
= 0;
3957 char *_kwnames
[] = { "self","LIST","xoffset","yoffset", NULL
};
3960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ll:wxDC_DrawLines",_kwnames
,&_argo0
,&_obj2
,&_arg3
,&_arg4
))
3963 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3964 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLines. Expected _wxDC_p.");
3971 _arg2
= wxPoint_LIST_helper(_obj2
);
3972 if (_arg2
== NULL
) {
3978 _arg1
= PyList_Size(_obj2
);
3985 wxPy_BEGIN_ALLOW_THREADS
;
3986 wxDC_DrawLines(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3988 wxPy_END_ALLOW_THREADS
;
3989 } Py_INCREF(Py_None
);
3990 _resultobj
= Py_None
;
3997 #define wxDC_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3998 static PyObject
*_wrap_wxDC_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3999 PyObject
* _resultobj
;
4003 long _arg3
= (long ) 0;
4004 long _arg4
= (long ) 0;
4005 int _arg5
= (int ) wxODDEVEN_RULE
;
4006 PyObject
* _argo0
= 0;
4007 PyObject
* _obj2
= 0;
4008 char *_kwnames
[] = { "self","LIST","xoffset","yoffset","fill_style", NULL
};
4011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|lli:wxDC_DrawPolygon",_kwnames
,&_argo0
,&_obj2
,&_arg3
,&_arg4
,&_arg5
))
4014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPolygon. Expected _wxDC_p.");
4022 _arg2
= wxPoint_LIST_helper(_obj2
);
4023 if (_arg2
== NULL
) {
4029 _arg1
= PyList_Size(_obj2
);
4036 wxPy_BEGIN_ALLOW_THREADS
;
4037 wxDC_DrawPolygon(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4039 wxPy_END_ALLOW_THREADS
;
4040 } Py_INCREF(Py_None
);
4041 _resultobj
= Py_None
;
4048 #define wxDC_DrawPoint(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawPoint(_swigarg0,_swigarg1))
4049 static PyObject
*_wrap_wxDC_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4050 PyObject
* _resultobj
;
4054 PyObject
* _argo0
= 0;
4055 char *_kwnames
[] = { "self","x","y", NULL
};
4058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_DrawPoint",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4061 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4062 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPoint. Expected _wxDC_p.");
4068 wxPy_BEGIN_ALLOW_THREADS
;
4069 wxDC_DrawPoint(_arg0
,_arg1
,_arg2
);
4071 wxPy_END_ALLOW_THREADS
;
4072 } Py_INCREF(Py_None
);
4073 _resultobj
= Py_None
;
4077 #define wxDC_DrawRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4078 static PyObject
*_wrap_wxDC_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4079 PyObject
* _resultobj
;
4085 PyObject
* _argo0
= 0;
4086 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
4089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawRectangle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4092 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4093 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRectangle. Expected _wxDC_p.");
4099 wxPy_BEGIN_ALLOW_THREADS
;
4100 wxDC_DrawRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4102 wxPy_END_ALLOW_THREADS
;
4103 } Py_INCREF(Py_None
);
4104 _resultobj
= Py_None
;
4108 #define wxDC_DrawRotatedText(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRotatedText(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4109 static PyObject
*_wrap_wxDC_DrawRotatedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4110 PyObject
* _resultobj
;
4116 PyObject
* _argo0
= 0;
4117 PyObject
* _obj1
= 0;
4118 char *_kwnames
[] = { "self","text","x","y","angle", NULL
};
4121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiid:wxDC_DrawRotatedText",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_arg4
))
4124 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4125 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRotatedText. Expected _wxDC_p.");
4131 if (!PyString_Check(_obj1
)) {
4132 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4135 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4138 wxPy_BEGIN_ALLOW_THREADS
;
4139 wxDC_DrawRotatedText(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
4141 wxPy_END_ALLOW_THREADS
;
4142 } Py_INCREF(Py_None
);
4143 _resultobj
= Py_None
;
4151 #define wxDC_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4152 static PyObject
*_wrap_wxDC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4153 PyObject
* _resultobj
;
4159 long _arg5
= (long ) 20;
4160 PyObject
* _argo0
= 0;
4161 char *_kwnames
[] = { "self","x","y","width","height","radius", NULL
};
4164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll|l:wxDC_DrawRoundedRectangle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
4167 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4168 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRoundedRectangle. Expected _wxDC_p.");
4174 wxPy_BEGIN_ALLOW_THREADS
;
4175 wxDC_DrawRoundedRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4177 wxPy_END_ALLOW_THREADS
;
4178 } Py_INCREF(Py_None
);
4179 _resultobj
= Py_None
;
4183 #define wxDC_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1))
4184 static PyObject
*_wrap_wxDC_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4185 PyObject
* _resultobj
;
4189 PyObject
* _argo0
= 0;
4190 PyObject
* _obj2
= 0;
4191 char *_kwnames
[] = { "self","LIST", NULL
};
4194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_DrawSpline",_kwnames
,&_argo0
,&_obj2
))
4197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawSpline. Expected _wxDC_p.");
4205 _arg2
= wxPoint_LIST_helper(_obj2
);
4206 if (_arg2
== NULL
) {
4212 _arg1
= PyList_Size(_obj2
);
4219 wxPy_BEGIN_ALLOW_THREADS
;
4220 wxDC_DrawSpline(_arg0
,_arg1
,_arg2
);
4222 wxPy_END_ALLOW_THREADS
;
4223 } Py_INCREF(Py_None
);
4224 _resultobj
= Py_None
;
4231 #define wxDC_DrawText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawText(_swigarg0,_swigarg1,_swigarg2))
4232 static PyObject
*_wrap_wxDC_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4233 PyObject
* _resultobj
;
4238 PyObject
* _argo0
= 0;
4239 PyObject
* _obj1
= 0;
4240 char *_kwnames
[] = { "self","text","x","y", NULL
};
4243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll:wxDC_DrawText",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
))
4246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawText. Expected _wxDC_p.");
4253 if (!PyString_Check(_obj1
)) {
4254 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4257 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4260 wxPy_BEGIN_ALLOW_THREADS
;
4261 wxDC_DrawText(_arg0
,*_arg1
,_arg2
,_arg3
);
4263 wxPy_END_ALLOW_THREADS
;
4264 } Py_INCREF(Py_None
);
4265 _resultobj
= Py_None
;
4273 #define wxDC_EndDoc(_swigobj) (_swigobj->EndDoc())
4274 static PyObject
*_wrap_wxDC_EndDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4275 PyObject
* _resultobj
;
4277 PyObject
* _argo0
= 0;
4278 char *_kwnames
[] = { "self", NULL
};
4281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndDoc",_kwnames
,&_argo0
))
4284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDoc. Expected _wxDC_p.");
4291 wxPy_BEGIN_ALLOW_THREADS
;
4294 wxPy_END_ALLOW_THREADS
;
4295 } Py_INCREF(Py_None
);
4296 _resultobj
= Py_None
;
4300 #define wxDC_EndDrawing(_swigobj) (_swigobj->EndDrawing())
4301 static PyObject
*_wrap_wxDC_EndDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4302 PyObject
* _resultobj
;
4304 PyObject
* _argo0
= 0;
4305 char *_kwnames
[] = { "self", NULL
};
4308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndDrawing",_kwnames
,&_argo0
))
4311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDrawing. Expected _wxDC_p.");
4318 wxPy_BEGIN_ALLOW_THREADS
;
4319 wxDC_EndDrawing(_arg0
);
4321 wxPy_END_ALLOW_THREADS
;
4322 } Py_INCREF(Py_None
);
4323 _resultobj
= Py_None
;
4327 #define wxDC_EndPage(_swigobj) (_swigobj->EndPage())
4328 static PyObject
*_wrap_wxDC_EndPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4329 PyObject
* _resultobj
;
4331 PyObject
* _argo0
= 0;
4332 char *_kwnames
[] = { "self", NULL
};
4335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndPage",_kwnames
,&_argo0
))
4338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndPage. Expected _wxDC_p.");
4345 wxPy_BEGIN_ALLOW_THREADS
;
4346 wxDC_EndPage(_arg0
);
4348 wxPy_END_ALLOW_THREADS
;
4349 } Py_INCREF(Py_None
);
4350 _resultobj
= Py_None
;
4354 #define wxDC_FloodFill(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FloodFill(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4355 static PyObject
*_wrap_wxDC_FloodFill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4356 PyObject
* _resultobj
;
4361 int _arg4
= (int ) wxFLOOD_SURFACE
;
4362 PyObject
* _argo0
= 0;
4363 PyObject
* _argo3
= 0;
4364 char *_kwnames
[] = { "self","x","y","colour","style", NULL
};
4367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO|i:wxDC_FloodFill",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
,&_arg4
))
4370 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4371 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_FloodFill. Expected _wxDC_p.");
4377 if (_argo3
== Py_None
) { _arg3
= NULL
; }
4378 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxColour_p")) {
4379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDC_FloodFill. Expected _wxColour_p.");
4384 wxPy_BEGIN_ALLOW_THREADS
;
4385 wxDC_FloodFill(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
4387 wxPy_END_ALLOW_THREADS
;
4388 } Py_INCREF(Py_None
);
4389 _resultobj
= Py_None
;
4393 #define wxDC_GetBackground(_swigobj) (_swigobj->GetBackground())
4394 static PyObject
*_wrap_wxDC_GetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4395 PyObject
* _resultobj
;
4398 PyObject
* _argo0
= 0;
4399 char *_kwnames
[] = { "self", NULL
};
4403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBackground",_kwnames
,&_argo0
))
4406 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4407 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBackground. Expected _wxDC_p.");
4413 wxPy_BEGIN_ALLOW_THREADS
;
4414 wxBrush
& _result_ref
= wxDC_GetBackground(_arg0
);
4415 _result
= (wxBrush
*) &_result_ref
;
4417 wxPy_END_ALLOW_THREADS
;
4419 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
4420 _resultobj
= Py_BuildValue("s",_ptemp
);
4423 _resultobj
= Py_None
;
4428 #define wxDC_GetBrush(_swigobj) (_swigobj->GetBrush())
4429 static PyObject
*_wrap_wxDC_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4430 PyObject
* _resultobj
;
4433 PyObject
* _argo0
= 0;
4434 char *_kwnames
[] = { "self", NULL
};
4438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBrush",_kwnames
,&_argo0
))
4441 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4442 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBrush. Expected _wxDC_p.");
4448 wxPy_BEGIN_ALLOW_THREADS
;
4449 wxBrush
& _result_ref
= wxDC_GetBrush(_arg0
);
4450 _result
= (wxBrush
*) &_result_ref
;
4452 wxPy_END_ALLOW_THREADS
;
4454 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
4455 _resultobj
= Py_BuildValue("s",_ptemp
);
4458 _resultobj
= Py_None
;
4463 #define wxDC_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
4464 static PyObject
*_wrap_wxDC_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4465 PyObject
* _resultobj
;
4468 PyObject
* _argo0
= 0;
4469 char *_kwnames
[] = { "self", NULL
};
4472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetCharHeight",_kwnames
,&_argo0
))
4475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharHeight. Expected _wxDC_p.");
4482 wxPy_BEGIN_ALLOW_THREADS
;
4483 _result
= (long )wxDC_GetCharHeight(_arg0
);
4485 wxPy_END_ALLOW_THREADS
;
4486 } _resultobj
= Py_BuildValue("l",_result
);
4490 #define wxDC_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
4491 static PyObject
*_wrap_wxDC_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4492 PyObject
* _resultobj
;
4495 PyObject
* _argo0
= 0;
4496 char *_kwnames
[] = { "self", NULL
};
4499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetCharWidth",_kwnames
,&_argo0
))
4502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharWidth. Expected _wxDC_p.");
4509 wxPy_BEGIN_ALLOW_THREADS
;
4510 _result
= (long )wxDC_GetCharWidth(_arg0
);
4512 wxPy_END_ALLOW_THREADS
;
4513 } _resultobj
= Py_BuildValue("l",_result
);
4517 #define wxDC_GetClippingBox(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetClippingBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4518 static PyObject
*_wrap_wxDC_GetClippingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4519 PyObject
* _resultobj
;
4529 PyObject
* _argo0
= 0;
4530 char *_kwnames
[] = { "self", NULL
};
4545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetClippingBox",_kwnames
,&_argo0
))
4548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetClippingBox. Expected _wxDC_p.");
4555 wxPy_BEGIN_ALLOW_THREADS
;
4556 wxDC_GetClippingBox(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4558 wxPy_END_ALLOW_THREADS
;
4559 } Py_INCREF(Py_None
);
4560 _resultobj
= Py_None
;
4563 o
= PyInt_FromLong((long) (*_arg1
));
4564 _resultobj
= t_output_helper(_resultobj
, o
);
4568 o
= PyInt_FromLong((long) (*_arg2
));
4569 _resultobj
= t_output_helper(_resultobj
, o
);
4573 o
= PyInt_FromLong((long) (*_arg3
));
4574 _resultobj
= t_output_helper(_resultobj
, o
);
4578 o
= PyInt_FromLong((long) (*_arg4
));
4579 _resultobj
= t_output_helper(_resultobj
, o
);
4584 #define wxDC_GetFont(_swigobj) (_swigobj->GetFont())
4585 static PyObject
*_wrap_wxDC_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4586 PyObject
* _resultobj
;
4589 PyObject
* _argo0
= 0;
4590 char *_kwnames
[] = { "self", NULL
};
4594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetFont",_kwnames
,&_argo0
))
4597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFont. Expected _wxDC_p.");
4604 wxPy_BEGIN_ALLOW_THREADS
;
4605 wxFont
& _result_ref
= wxDC_GetFont(_arg0
);
4606 _result
= (wxFont
*) &_result_ref
;
4608 wxPy_END_ALLOW_THREADS
;
4610 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
4611 _resultobj
= Py_BuildValue("s",_ptemp
);
4614 _resultobj
= Py_None
;
4619 #define wxDC_GetLogicalFunction(_swigobj) (_swigobj->GetLogicalFunction())
4620 static PyObject
*_wrap_wxDC_GetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4621 PyObject
* _resultobj
;
4624 PyObject
* _argo0
= 0;
4625 char *_kwnames
[] = { "self", NULL
};
4628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalFunction",_kwnames
,&_argo0
))
4631 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4632 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalFunction. Expected _wxDC_p.");
4638 wxPy_BEGIN_ALLOW_THREADS
;
4639 _result
= (int )wxDC_GetLogicalFunction(_arg0
);
4641 wxPy_END_ALLOW_THREADS
;
4642 } _resultobj
= Py_BuildValue("i",_result
);
4646 #define wxDC_GetMapMode(_swigobj) (_swigobj->GetMapMode())
4647 static PyObject
*_wrap_wxDC_GetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4648 PyObject
* _resultobj
;
4651 PyObject
* _argo0
= 0;
4652 char *_kwnames
[] = { "self", NULL
};
4655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetMapMode",_kwnames
,&_argo0
))
4658 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4659 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetMapMode. Expected _wxDC_p.");
4665 wxPy_BEGIN_ALLOW_THREADS
;
4666 _result
= (int )wxDC_GetMapMode(_arg0
);
4668 wxPy_END_ALLOW_THREADS
;
4669 } _resultobj
= Py_BuildValue("i",_result
);
4673 #define wxDC_GetOptimization(_swigobj) (_swigobj->GetOptimization())
4674 static PyObject
*_wrap_wxDC_GetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4675 PyObject
* _resultobj
;
4678 PyObject
* _argo0
= 0;
4679 char *_kwnames
[] = { "self", NULL
};
4682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetOptimization",_kwnames
,&_argo0
))
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_GetOptimization. Expected _wxDC_p.");
4692 wxPy_BEGIN_ALLOW_THREADS
;
4693 _result
= (bool )wxDC_GetOptimization(_arg0
);
4695 wxPy_END_ALLOW_THREADS
;
4696 } _resultobj
= Py_BuildValue("i",_result
);
4700 #define wxDC_GetPen(_swigobj) (_swigobj->GetPen())
4701 static PyObject
*_wrap_wxDC_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4702 PyObject
* _resultobj
;
4705 PyObject
* _argo0
= 0;
4706 char *_kwnames
[] = { "self", NULL
};
4710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetPen",_kwnames
,&_argo0
))
4713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPen. Expected _wxDC_p.");
4720 wxPy_BEGIN_ALLOW_THREADS
;
4721 wxPen
& _result_ref
= wxDC_GetPen(_arg0
);
4722 _result
= (wxPen
*) &_result_ref
;
4724 wxPy_END_ALLOW_THREADS
;
4726 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
4727 _resultobj
= Py_BuildValue("s",_ptemp
);
4730 _resultobj
= Py_None
;
4735 static wxColour
* wxDC_GetPixel(wxDC
*self
,long x
,long y
) {
4736 wxColour
* wc
= new wxColour();
4737 self
->GetPixel(x
, y
, wc
);
4740 static PyObject
*_wrap_wxDC_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4741 PyObject
* _resultobj
;
4746 PyObject
* _argo0
= 0;
4747 char *_kwnames
[] = { "self","x","y", NULL
};
4751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_GetPixel",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPixel. Expected _wxDC_p.");
4761 wxPy_BEGIN_ALLOW_THREADS
;
4762 _result
= (wxColour
*)wxDC_GetPixel(_arg0
,_arg1
,_arg2
);
4764 wxPy_END_ALLOW_THREADS
;
4766 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
4767 _resultobj
= Py_BuildValue("s",_ptemp
);
4770 _resultobj
= Py_None
;
4775 #define wxDC_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
4776 static PyObject
*_wrap_wxDC_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4777 PyObject
* _resultobj
;
4783 PyObject
* _argo0
= 0;
4784 char *_kwnames
[] = { "self", NULL
};
4793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSizeTuple",_kwnames
,&_argo0
))
4796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSizeTuple. Expected _wxDC_p.");
4803 wxPy_BEGIN_ALLOW_THREADS
;
4804 wxDC_GetSizeTuple(_arg0
,_arg1
,_arg2
);
4806 wxPy_END_ALLOW_THREADS
;
4807 } Py_INCREF(Py_None
);
4808 _resultobj
= Py_None
;
4811 o
= PyInt_FromLong((long) (*_arg1
));
4812 _resultobj
= t_output_helper(_resultobj
, o
);
4816 o
= PyInt_FromLong((long) (*_arg2
));
4817 _resultobj
= t_output_helper(_resultobj
, o
);
4822 #define wxDC_GetSize(_swigobj) (_swigobj->GetSize())
4823 static PyObject
*_wrap_wxDC_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4824 PyObject
* _resultobj
;
4827 PyObject
* _argo0
= 0;
4828 char *_kwnames
[] = { "self", NULL
};
4832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSize",_kwnames
,&_argo0
))
4835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSize. Expected _wxDC_p.");
4842 wxPy_BEGIN_ALLOW_THREADS
;
4843 _result
= new wxSize (wxDC_GetSize(_arg0
));
4845 wxPy_END_ALLOW_THREADS
;
4846 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4847 _resultobj
= Py_BuildValue("s",_ptemp
);
4851 #define wxDC_GetTextBackground(_swigobj) (_swigobj->GetTextBackground())
4852 static PyObject
*_wrap_wxDC_GetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4853 PyObject
* _resultobj
;
4856 PyObject
* _argo0
= 0;
4857 char *_kwnames
[] = { "self", NULL
};
4861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetTextBackground",_kwnames
,&_argo0
))
4864 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4865 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextBackground. Expected _wxDC_p.");
4871 wxPy_BEGIN_ALLOW_THREADS
;
4872 wxColour
& _result_ref
= wxDC_GetTextBackground(_arg0
);
4873 _result
= (wxColour
*) &_result_ref
;
4875 wxPy_END_ALLOW_THREADS
;
4877 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
4878 _resultobj
= Py_BuildValue("s",_ptemp
);
4881 _resultobj
= Py_None
;
4886 #define wxDC_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
4887 static PyObject
*_wrap_wxDC_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4888 PyObject
* _resultobj
;
4895 PyObject
* _argo0
= 0;
4896 PyObject
* _obj1
= 0;
4897 char *_kwnames
[] = { "self","string", NULL
};
4906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
4909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextExtent. Expected _wxDC_p.");
4916 if (!PyString_Check(_obj1
)) {
4917 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4920 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4923 wxPy_BEGIN_ALLOW_THREADS
;
4924 wxDC_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
4926 wxPy_END_ALLOW_THREADS
;
4927 } Py_INCREF(Py_None
);
4928 _resultobj
= Py_None
;
4931 o
= PyInt_FromLong((long) (*_arg2
));
4932 _resultobj
= t_output_helper(_resultobj
, o
);
4936 o
= PyInt_FromLong((long) (*_arg3
));
4937 _resultobj
= t_output_helper(_resultobj
, o
);
4946 #define wxDC_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4947 static PyObject
*_wrap_wxDC_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4948 PyObject
* _resultobj
;
4959 wxFont
* _arg6
= (wxFont
*) NULL
;
4960 PyObject
* _argo0
= 0;
4961 PyObject
* _obj1
= 0;
4962 PyObject
* _argo6
= 0;
4963 char *_kwnames
[] = { "self","string","font", NULL
};
4978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxDC_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
4981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFullTextExtent. Expected _wxDC_p.");
4988 if (!PyString_Check(_obj1
)) {
4989 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4992 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4995 if (_argo6
== Py_None
) { _arg6
= NULL
; }
4996 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
4997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxDC_GetFullTextExtent. Expected _wxFont_p.");
5002 wxPy_BEGIN_ALLOW_THREADS
;
5003 wxDC_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
5005 wxPy_END_ALLOW_THREADS
;
5006 } Py_INCREF(Py_None
);
5007 _resultobj
= Py_None
;
5010 o
= PyInt_FromLong((long) (*_arg2
));
5011 _resultobj
= t_output_helper(_resultobj
, o
);
5015 o
= PyInt_FromLong((long) (*_arg3
));
5016 _resultobj
= t_output_helper(_resultobj
, o
);
5020 o
= PyInt_FromLong((long) (*_arg4
));
5021 _resultobj
= t_output_helper(_resultobj
, o
);
5025 o
= PyInt_FromLong((long) (*_arg5
));
5026 _resultobj
= t_output_helper(_resultobj
, o
);
5035 #define wxDC_GetTextForeground(_swigobj) (_swigobj->GetTextForeground())
5036 static PyObject
*_wrap_wxDC_GetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5037 PyObject
* _resultobj
;
5040 PyObject
* _argo0
= 0;
5041 char *_kwnames
[] = { "self", NULL
};
5045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetTextForeground",_kwnames
,&_argo0
))
5048 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5049 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextForeground. Expected _wxDC_p.");
5055 wxPy_BEGIN_ALLOW_THREADS
;
5056 wxColour
& _result_ref
= wxDC_GetTextForeground(_arg0
);
5057 _result
= (wxColour
*) &_result_ref
;
5059 wxPy_END_ALLOW_THREADS
;
5061 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
5062 _resultobj
= Py_BuildValue("s",_ptemp
);
5065 _resultobj
= Py_None
;
5070 #define wxDC_LogicalToDeviceX(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceX(_swigarg0))
5071 static PyObject
*_wrap_wxDC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5072 PyObject
* _resultobj
;
5076 PyObject
* _argo0
= 0;
5077 char *_kwnames
[] = { "self","x", NULL
};
5080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceX",_kwnames
,&_argo0
,&_arg1
))
5083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceX. Expected _wxDC_p.");
5090 wxPy_BEGIN_ALLOW_THREADS
;
5091 _result
= (long )wxDC_LogicalToDeviceX(_arg0
,_arg1
);
5093 wxPy_END_ALLOW_THREADS
;
5094 } _resultobj
= Py_BuildValue("l",_result
);
5098 #define wxDC_LogicalToDeviceXRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceXRel(_swigarg0))
5099 static PyObject
*_wrap_wxDC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5100 PyObject
* _resultobj
;
5104 PyObject
* _argo0
= 0;
5105 char *_kwnames
[] = { "self","x", NULL
};
5108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceXRel",_kwnames
,&_argo0
,&_arg1
))
5111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceXRel. Expected _wxDC_p.");
5118 wxPy_BEGIN_ALLOW_THREADS
;
5119 _result
= (long )wxDC_LogicalToDeviceXRel(_arg0
,_arg1
);
5121 wxPy_END_ALLOW_THREADS
;
5122 } _resultobj
= Py_BuildValue("l",_result
);
5126 #define wxDC_LogicalToDeviceY(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceY(_swigarg0))
5127 static PyObject
*_wrap_wxDC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5128 PyObject
* _resultobj
;
5132 PyObject
* _argo0
= 0;
5133 char *_kwnames
[] = { "self","y", NULL
};
5136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceY",_kwnames
,&_argo0
,&_arg1
))
5139 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5140 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceY. Expected _wxDC_p.");
5146 wxPy_BEGIN_ALLOW_THREADS
;
5147 _result
= (long )wxDC_LogicalToDeviceY(_arg0
,_arg1
);
5149 wxPy_END_ALLOW_THREADS
;
5150 } _resultobj
= Py_BuildValue("l",_result
);
5154 #define wxDC_LogicalToDeviceYRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceYRel(_swigarg0))
5155 static PyObject
*_wrap_wxDC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5156 PyObject
* _resultobj
;
5160 PyObject
* _argo0
= 0;
5161 char *_kwnames
[] = { "self","y", NULL
};
5164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceYRel",_kwnames
,&_argo0
,&_arg1
))
5167 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5168 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceYRel. Expected _wxDC_p.");
5174 wxPy_BEGIN_ALLOW_THREADS
;
5175 _result
= (long )wxDC_LogicalToDeviceYRel(_arg0
,_arg1
);
5177 wxPy_END_ALLOW_THREADS
;
5178 } _resultobj
= Py_BuildValue("l",_result
);
5182 #define wxDC_MaxX(_swigobj) (_swigobj->MaxX())
5183 static PyObject
*_wrap_wxDC_MaxX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5184 PyObject
* _resultobj
;
5187 PyObject
* _argo0
= 0;
5188 char *_kwnames
[] = { "self", NULL
};
5191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MaxX",_kwnames
,&_argo0
))
5194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxX. Expected _wxDC_p.");
5201 wxPy_BEGIN_ALLOW_THREADS
;
5202 _result
= (long )wxDC_MaxX(_arg0
);
5204 wxPy_END_ALLOW_THREADS
;
5205 } _resultobj
= Py_BuildValue("l",_result
);
5209 #define wxDC_MaxY(_swigobj) (_swigobj->MaxY())
5210 static PyObject
*_wrap_wxDC_MaxY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5211 PyObject
* _resultobj
;
5214 PyObject
* _argo0
= 0;
5215 char *_kwnames
[] = { "self", NULL
};
5218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MaxY",_kwnames
,&_argo0
))
5221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxY. Expected _wxDC_p.");
5228 wxPy_BEGIN_ALLOW_THREADS
;
5229 _result
= (long )wxDC_MaxY(_arg0
);
5231 wxPy_END_ALLOW_THREADS
;
5232 } _resultobj
= Py_BuildValue("l",_result
);
5236 #define wxDC_MinX(_swigobj) (_swigobj->MinX())
5237 static PyObject
*_wrap_wxDC_MinX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5238 PyObject
* _resultobj
;
5241 PyObject
* _argo0
= 0;
5242 char *_kwnames
[] = { "self", NULL
};
5245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MinX",_kwnames
,&_argo0
))
5248 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5249 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinX. Expected _wxDC_p.");
5255 wxPy_BEGIN_ALLOW_THREADS
;
5256 _result
= (long )wxDC_MinX(_arg0
);
5258 wxPy_END_ALLOW_THREADS
;
5259 } _resultobj
= Py_BuildValue("l",_result
);
5263 #define wxDC_MinY(_swigobj) (_swigobj->MinY())
5264 static PyObject
*_wrap_wxDC_MinY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5265 PyObject
* _resultobj
;
5268 PyObject
* _argo0
= 0;
5269 char *_kwnames
[] = { "self", NULL
};
5272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MinY",_kwnames
,&_argo0
))
5275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinY. Expected _wxDC_p.");
5282 wxPy_BEGIN_ALLOW_THREADS
;
5283 _result
= (long )wxDC_MinY(_arg0
);
5285 wxPy_END_ALLOW_THREADS
;
5286 } _resultobj
= Py_BuildValue("l",_result
);
5290 #define wxDC_Ok(_swigobj) (_swigobj->Ok())
5291 static PyObject
*_wrap_wxDC_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5292 PyObject
* _resultobj
;
5295 PyObject
* _argo0
= 0;
5296 char *_kwnames
[] = { "self", NULL
};
5299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_Ok",_kwnames
,&_argo0
))
5302 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5303 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Ok. Expected _wxDC_p.");
5309 wxPy_BEGIN_ALLOW_THREADS
;
5310 _result
= (bool )wxDC_Ok(_arg0
);
5312 wxPy_END_ALLOW_THREADS
;
5313 } _resultobj
= Py_BuildValue("i",_result
);
5317 #define wxDC_SetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDeviceOrigin(_swigarg0,_swigarg1))
5318 static PyObject
*_wrap_wxDC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5319 PyObject
* _resultobj
;
5323 PyObject
* _argo0
= 0;
5324 char *_kwnames
[] = { "self","x","y", NULL
};
5327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_SetDeviceOrigin",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetDeviceOrigin. Expected _wxDC_p.");
5337 wxPy_BEGIN_ALLOW_THREADS
;
5338 wxDC_SetDeviceOrigin(_arg0
,_arg1
,_arg2
);
5340 wxPy_END_ALLOW_THREADS
;
5341 } Py_INCREF(Py_None
);
5342 _resultobj
= Py_None
;
5346 #define wxDC_SetBackground(_swigobj,_swigarg0) (_swigobj->SetBackground(_swigarg0))
5347 static PyObject
*_wrap_wxDC_SetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5348 PyObject
* _resultobj
;
5351 PyObject
* _argo0
= 0;
5352 PyObject
* _argo1
= 0;
5353 char *_kwnames
[] = { "self","brush", NULL
};
5356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetBackground",_kwnames
,&_argo0
,&_argo1
))
5359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackground. Expected _wxDC_p.");
5366 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5367 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
5368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBackground. Expected _wxBrush_p.");
5373 wxPy_BEGIN_ALLOW_THREADS
;
5374 wxDC_SetBackground(_arg0
,*_arg1
);
5376 wxPy_END_ALLOW_THREADS
;
5377 } Py_INCREF(Py_None
);
5378 _resultobj
= Py_None
;
5382 #define wxDC_SetBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetBackgroundMode(_swigarg0))
5383 static PyObject
*_wrap_wxDC_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5384 PyObject
* _resultobj
;
5387 PyObject
* _argo0
= 0;
5388 char *_kwnames
[] = { "self","mode", NULL
};
5391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetBackgroundMode",_kwnames
,&_argo0
,&_arg1
))
5394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackgroundMode. Expected _wxDC_p.");
5401 wxPy_BEGIN_ALLOW_THREADS
;
5402 wxDC_SetBackgroundMode(_arg0
,_arg1
);
5404 wxPy_END_ALLOW_THREADS
;
5405 } Py_INCREF(Py_None
);
5406 _resultobj
= Py_None
;
5410 #define wxDC_SetClippingRegion(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetClippingRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5411 static PyObject
*_wrap_wxDC_SetClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5412 PyObject
* _resultobj
;
5418 PyObject
* _argo0
= 0;
5419 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
5422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_SetClippingRegion",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
5425 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5426 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetClippingRegion. Expected _wxDC_p.");
5432 wxPy_BEGIN_ALLOW_THREADS
;
5433 wxDC_SetClippingRegion(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5435 wxPy_END_ALLOW_THREADS
;
5436 } Py_INCREF(Py_None
);
5437 _resultobj
= Py_None
;
5441 #define wxDC_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
5442 static PyObject
*_wrap_wxDC_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5443 PyObject
* _resultobj
;
5446 PyObject
* _argo0
= 0;
5447 PyObject
* _argo1
= 0;
5448 char *_kwnames
[] = { "self","colourMap", NULL
};
5451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetPalette",_kwnames
,&_argo0
,&_argo1
))
5454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPalette. Expected _wxDC_p.");
5461 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5462 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPalette_p")) {
5463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPalette. Expected _wxPalette_p.");
5468 wxPy_BEGIN_ALLOW_THREADS
;
5469 wxDC_SetPalette(_arg0
,*_arg1
);
5471 wxPy_END_ALLOW_THREADS
;
5472 } Py_INCREF(Py_None
);
5473 _resultobj
= Py_None
;
5477 #define wxDC_SetBrush(_swigobj,_swigarg0) (_swigobj->SetBrush(_swigarg0))
5478 static PyObject
*_wrap_wxDC_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5479 PyObject
* _resultobj
;
5482 PyObject
* _argo0
= 0;
5483 PyObject
* _argo1
= 0;
5484 char *_kwnames
[] = { "self","brush", NULL
};
5487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetBrush",_kwnames
,&_argo0
,&_argo1
))
5490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBrush. Expected _wxDC_p.");
5497 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5498 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
5499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBrush. Expected _wxBrush_p.");
5504 wxPy_BEGIN_ALLOW_THREADS
;
5505 wxDC_SetBrush(_arg0
,*_arg1
);
5507 wxPy_END_ALLOW_THREADS
;
5508 } Py_INCREF(Py_None
);
5509 _resultobj
= Py_None
;
5513 #define wxDC_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
5514 static PyObject
*_wrap_wxDC_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5515 PyObject
* _resultobj
;
5518 PyObject
* _argo0
= 0;
5519 PyObject
* _argo1
= 0;
5520 char *_kwnames
[] = { "self","font", NULL
};
5523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetFont",_kwnames
,&_argo0
,&_argo1
))
5526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetFont. Expected _wxDC_p.");
5533 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5534 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
5535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetFont. Expected _wxFont_p.");
5540 wxPy_BEGIN_ALLOW_THREADS
;
5541 wxDC_SetFont(_arg0
,*_arg1
);
5543 wxPy_END_ALLOW_THREADS
;
5544 } Py_INCREF(Py_None
);
5545 _resultobj
= Py_None
;
5549 #define wxDC_SetLogicalFunction(_swigobj,_swigarg0) (_swigobj->SetLogicalFunction(_swigarg0))
5550 static PyObject
*_wrap_wxDC_SetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5551 PyObject
* _resultobj
;
5554 PyObject
* _argo0
= 0;
5555 char *_kwnames
[] = { "self","function", NULL
};
5558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetLogicalFunction",_kwnames
,&_argo0
,&_arg1
))
5561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalFunction. Expected _wxDC_p.");
5568 wxPy_BEGIN_ALLOW_THREADS
;
5569 wxDC_SetLogicalFunction(_arg0
,_arg1
);
5571 wxPy_END_ALLOW_THREADS
;
5572 } Py_INCREF(Py_None
);
5573 _resultobj
= Py_None
;
5577 #define wxDC_SetMapMode(_swigobj,_swigarg0) (_swigobj->SetMapMode(_swigarg0))
5578 static PyObject
*_wrap_wxDC_SetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5579 PyObject
* _resultobj
;
5582 PyObject
* _argo0
= 0;
5583 char *_kwnames
[] = { "self","mode", NULL
};
5586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetMapMode",_kwnames
,&_argo0
,&_arg1
))
5589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetMapMode. Expected _wxDC_p.");
5596 wxPy_BEGIN_ALLOW_THREADS
;
5597 wxDC_SetMapMode(_arg0
,_arg1
);
5599 wxPy_END_ALLOW_THREADS
;
5600 } Py_INCREF(Py_None
);
5601 _resultobj
= Py_None
;
5605 #define wxDC_SetOptimization(_swigobj,_swigarg0) (_swigobj->SetOptimization(_swigarg0))
5606 static PyObject
*_wrap_wxDC_SetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5607 PyObject
* _resultobj
;
5610 PyObject
* _argo0
= 0;
5612 char *_kwnames
[] = { "self","optimize", NULL
};
5615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetOptimization",_kwnames
,&_argo0
,&tempbool1
))
5618 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5619 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetOptimization. Expected _wxDC_p.");
5624 _arg1
= (bool ) tempbool1
;
5626 wxPy_BEGIN_ALLOW_THREADS
;
5627 wxDC_SetOptimization(_arg0
,_arg1
);
5629 wxPy_END_ALLOW_THREADS
;
5630 } Py_INCREF(Py_None
);
5631 _resultobj
= Py_None
;
5635 #define wxDC_SetPen(_swigobj,_swigarg0) (_swigobj->SetPen(_swigarg0))
5636 static PyObject
*_wrap_wxDC_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5637 PyObject
* _resultobj
;
5640 PyObject
* _argo0
= 0;
5641 PyObject
* _argo1
= 0;
5642 char *_kwnames
[] = { "self","pen", NULL
};
5645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetPen",_kwnames
,&_argo0
,&_argo1
))
5648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPen. Expected _wxDC_p.");
5655 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5656 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
5657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPen. Expected _wxPen_p.");
5662 wxPy_BEGIN_ALLOW_THREADS
;
5663 wxDC_SetPen(_arg0
,*_arg1
);
5665 wxPy_END_ALLOW_THREADS
;
5666 } Py_INCREF(Py_None
);
5667 _resultobj
= Py_None
;
5671 #define wxDC_SetTextBackground(_swigobj,_swigarg0) (_swigobj->SetTextBackground(_swigarg0))
5672 static PyObject
*_wrap_wxDC_SetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5673 PyObject
* _resultobj
;
5676 PyObject
* _argo0
= 0;
5677 PyObject
* _argo1
= 0;
5678 char *_kwnames
[] = { "self","colour", NULL
};
5681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetTextBackground",_kwnames
,&_argo0
,&_argo1
))
5684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextBackground. Expected _wxDC_p.");
5691 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5692 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
5693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetTextBackground. Expected _wxColour_p.");
5698 wxPy_BEGIN_ALLOW_THREADS
;
5699 wxDC_SetTextBackground(_arg0
,*_arg1
);
5701 wxPy_END_ALLOW_THREADS
;
5702 } Py_INCREF(Py_None
);
5703 _resultobj
= Py_None
;
5707 #define wxDC_SetTextForeground(_swigobj,_swigarg0) (_swigobj->SetTextForeground(_swigarg0))
5708 static PyObject
*_wrap_wxDC_SetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5709 PyObject
* _resultobj
;
5712 PyObject
* _argo0
= 0;
5713 PyObject
* _argo1
= 0;
5714 char *_kwnames
[] = { "self","colour", NULL
};
5717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetTextForeground",_kwnames
,&_argo0
,&_argo1
))
5720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextForeground. Expected _wxDC_p.");
5727 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5728 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
5729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetTextForeground. Expected _wxColour_p.");
5734 wxPy_BEGIN_ALLOW_THREADS
;
5735 wxDC_SetTextForeground(_arg0
,*_arg1
);
5737 wxPy_END_ALLOW_THREADS
;
5738 } Py_INCREF(Py_None
);
5739 _resultobj
= Py_None
;
5743 #define wxDC_SetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetUserScale(_swigarg0,_swigarg1))
5744 static PyObject
*_wrap_wxDC_SetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5745 PyObject
* _resultobj
;
5749 PyObject
* _argo0
= 0;
5750 char *_kwnames
[] = { "self","x_scale","y_scale", NULL
};
5753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxDC_SetUserScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetUserScale. Expected _wxDC_p.");
5763 wxPy_BEGIN_ALLOW_THREADS
;
5764 wxDC_SetUserScale(_arg0
,_arg1
,_arg2
);
5766 wxPy_END_ALLOW_THREADS
;
5767 } Py_INCREF(Py_None
);
5768 _resultobj
= Py_None
;
5772 #define wxDC_StartDoc(_swigobj,_swigarg0) (_swigobj->StartDoc(_swigarg0))
5773 static PyObject
*_wrap_wxDC_StartDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5774 PyObject
* _resultobj
;
5778 PyObject
* _argo0
= 0;
5779 PyObject
* _obj1
= 0;
5780 char *_kwnames
[] = { "self","message", NULL
};
5783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_StartDoc",_kwnames
,&_argo0
,&_obj1
))
5786 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5787 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartDoc. Expected _wxDC_p.");
5793 if (!PyString_Check(_obj1
)) {
5794 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5797 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5800 wxPy_BEGIN_ALLOW_THREADS
;
5801 _result
= (bool )wxDC_StartDoc(_arg0
,*_arg1
);
5803 wxPy_END_ALLOW_THREADS
;
5804 } _resultobj
= Py_BuildValue("i",_result
);
5812 #define wxDC_StartPage(_swigobj) (_swigobj->StartPage())
5813 static PyObject
*_wrap_wxDC_StartPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5814 PyObject
* _resultobj
;
5816 PyObject
* _argo0
= 0;
5817 char *_kwnames
[] = { "self", NULL
};
5820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_StartPage",_kwnames
,&_argo0
))
5823 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5824 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartPage. Expected _wxDC_p.");
5830 wxPy_BEGIN_ALLOW_THREADS
;
5831 wxDC_StartPage(_arg0
);
5833 wxPy_END_ALLOW_THREADS
;
5834 } Py_INCREF(Py_None
);
5835 _resultobj
= Py_None
;
5839 #define wxDC_DrawBitmap(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5840 static PyObject
*_wrap_wxDC_DrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5841 PyObject
* _resultobj
;
5846 int _arg4
= (int ) FALSE
;
5847 PyObject
* _argo0
= 0;
5848 PyObject
* _argo1
= 0;
5849 char *_kwnames
[] = { "self","bitmap","x","y","useMask", NULL
};
5852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll|i:wxDC_DrawBitmap",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
))
5855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawBitmap. Expected _wxDC_p.");
5862 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5863 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
5864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawBitmap. Expected _wxBitmap_p.");
5869 wxPy_BEGIN_ALLOW_THREADS
;
5870 wxDC_DrawBitmap(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
5872 wxPy_END_ALLOW_THREADS
;
5873 } Py_INCREF(Py_None
);
5874 _resultobj
= Py_None
;
5878 static void *SwigwxMemoryDCTowxDC(void *ptr
) {
5881 src
= (wxMemoryDC
*) ptr
;
5882 dest
= (wxDC
*) src
;
5883 return (void *) dest
;
5886 #define new_wxMemoryDC() (new wxMemoryDC())
5887 static PyObject
*_wrap_new_wxMemoryDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5888 PyObject
* _resultobj
;
5889 wxMemoryDC
* _result
;
5890 char *_kwnames
[] = { NULL
};
5894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMemoryDC",_kwnames
))
5897 wxPy_BEGIN_ALLOW_THREADS
;
5898 _result
= (wxMemoryDC
*)new_wxMemoryDC();
5900 wxPy_END_ALLOW_THREADS
;
5902 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
5903 _resultobj
= Py_BuildValue("s",_ptemp
);
5906 _resultobj
= Py_None
;
5911 #define wxMemoryDC_SelectObject(_swigobj,_swigarg0) (_swigobj->SelectObject(_swigarg0))
5912 static PyObject
*_wrap_wxMemoryDC_SelectObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5913 PyObject
* _resultobj
;
5916 PyObject
* _argo0
= 0;
5917 PyObject
* _argo1
= 0;
5918 char *_kwnames
[] = { "self","bitmap", NULL
};
5921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMemoryDC_SelectObject",_kwnames
,&_argo0
,&_argo1
))
5924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMemoryDC_p")) {
5926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDC_SelectObject. Expected _wxMemoryDC_p.");
5931 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5932 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
5933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMemoryDC_SelectObject. Expected _wxBitmap_p.");
5938 wxPy_BEGIN_ALLOW_THREADS
;
5939 wxMemoryDC_SelectObject(_arg0
,*_arg1
);
5941 wxPy_END_ALLOW_THREADS
;
5942 } Py_INCREF(Py_None
);
5943 _resultobj
= Py_None
;
5947 static void *SwigwxScreenDCTowxDC(void *ptr
) {
5950 src
= (wxScreenDC
*) ptr
;
5951 dest
= (wxDC
*) src
;
5952 return (void *) dest
;
5955 #define new_wxScreenDC() (new wxScreenDC())
5956 static PyObject
*_wrap_new_wxScreenDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5957 PyObject
* _resultobj
;
5958 wxScreenDC
* _result
;
5959 char *_kwnames
[] = { NULL
};
5963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxScreenDC",_kwnames
))
5966 wxPy_BEGIN_ALLOW_THREADS
;
5967 _result
= (wxScreenDC
*)new_wxScreenDC();
5969 wxPy_END_ALLOW_THREADS
;
5971 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScreenDC_p");
5972 _resultobj
= Py_BuildValue("s",_ptemp
);
5975 _resultobj
= Py_None
;
5980 #define wxScreenDC_StartDrawingOnTop(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
5981 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5982 PyObject
* _resultobj
;
5986 PyObject
* _argo0
= 0;
5987 PyObject
* _argo1
= 0;
5988 char *_kwnames
[] = { "self","window", NULL
};
5991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScreenDC_StartDrawingOnTop",_kwnames
,&_argo0
,&_argo1
))
5994 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5995 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
5996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTop. Expected _wxScreenDC_p.");
6001 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6002 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScreenDC_StartDrawingOnTop. Expected _wxWindow_p.");
6008 wxPy_BEGIN_ALLOW_THREADS
;
6009 _result
= (bool )wxScreenDC_StartDrawingOnTop(_arg0
,_arg1
);
6011 wxPy_END_ALLOW_THREADS
;
6012 } _resultobj
= Py_BuildValue("i",_result
);
6016 #define wxScreenDC_StartDrawingOnTopRect(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
6017 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTopRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6018 PyObject
* _resultobj
;
6021 wxRect
* _arg1
= (wxRect
*) NULL
;
6022 PyObject
* _argo0
= 0;
6024 PyObject
* _obj1
= 0;
6025 char *_kwnames
[] = { "self","rect", NULL
};
6028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxScreenDC_StartDrawingOnTopRect",_kwnames
,&_argo0
,&_obj1
))
6031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
6033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTopRect. Expected _wxScreenDC_p.");
6040 if (! wxRect_helper(_obj1
, &_arg1
))
6044 wxPy_BEGIN_ALLOW_THREADS
;
6045 _result
= (bool )wxScreenDC_StartDrawingOnTopRect(_arg0
,_arg1
);
6047 wxPy_END_ALLOW_THREADS
;
6048 } _resultobj
= Py_BuildValue("i",_result
);
6052 #define wxScreenDC_EndDrawingOnTop(_swigobj) (_swigobj->EndDrawingOnTop())
6053 static PyObject
*_wrap_wxScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6054 PyObject
* _resultobj
;
6057 PyObject
* _argo0
= 0;
6058 char *_kwnames
[] = { "self", NULL
};
6061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScreenDC_EndDrawingOnTop",_kwnames
,&_argo0
))
6064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
6066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_EndDrawingOnTop. Expected _wxScreenDC_p.");
6071 wxPy_BEGIN_ALLOW_THREADS
;
6072 _result
= (bool )wxScreenDC_EndDrawingOnTop(_arg0
);
6074 wxPy_END_ALLOW_THREADS
;
6075 } _resultobj
= Py_BuildValue("i",_result
);
6079 static void *SwigwxClientDCTowxDC(void *ptr
) {
6082 src
= (wxClientDC
*) ptr
;
6083 dest
= (wxDC
*) src
;
6084 return (void *) dest
;
6087 #define new_wxClientDC(_swigarg0) (new wxClientDC(_swigarg0))
6088 static PyObject
*_wrap_new_wxClientDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6089 PyObject
* _resultobj
;
6090 wxClientDC
* _result
;
6092 PyObject
* _argo0
= 0;
6093 char *_kwnames
[] = { "win", NULL
};
6097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxClientDC",_kwnames
,&_argo0
))
6100 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6101 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxClientDC. Expected _wxWindow_p.");
6107 wxPy_BEGIN_ALLOW_THREADS
;
6108 _result
= (wxClientDC
*)new_wxClientDC(_arg0
);
6110 wxPy_END_ALLOW_THREADS
;
6112 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxClientDC_p");
6113 _resultobj
= Py_BuildValue("s",_ptemp
);
6116 _resultobj
= Py_None
;
6121 static void *SwigwxPaintDCTowxDC(void *ptr
) {
6124 src
= (wxPaintDC
*) ptr
;
6125 dest
= (wxDC
*) src
;
6126 return (void *) dest
;
6129 #define new_wxPaintDC(_swigarg0) (new wxPaintDC(_swigarg0))
6130 static PyObject
*_wrap_new_wxPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6131 PyObject
* _resultobj
;
6132 wxPaintDC
* _result
;
6134 PyObject
* _argo0
= 0;
6135 char *_kwnames
[] = { "win", NULL
};
6139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPaintDC",_kwnames
,&_argo0
))
6142 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6143 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPaintDC. Expected _wxWindow_p.");
6149 wxPy_BEGIN_ALLOW_THREADS
;
6150 _result
= (wxPaintDC
*)new_wxPaintDC(_arg0
);
6152 wxPy_END_ALLOW_THREADS
;
6154 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPaintDC_p");
6155 _resultobj
= Py_BuildValue("s",_ptemp
);
6158 _resultobj
= Py_None
;
6163 static void *SwigwxWindowDCTowxDC(void *ptr
) {
6166 src
= (wxWindowDC
*) ptr
;
6167 dest
= (wxDC
*) src
;
6168 return (void *) dest
;
6171 #define new_wxWindowDC(_swigarg0) (new wxWindowDC(_swigarg0))
6172 static PyObject
*_wrap_new_wxWindowDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6173 PyObject
* _resultobj
;
6174 wxWindowDC
* _result
;
6176 PyObject
* _argo0
= 0;
6177 char *_kwnames
[] = { "win", NULL
};
6181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxWindowDC",_kwnames
,&_argo0
))
6184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDC. Expected _wxWindow_p.");
6191 wxPy_BEGIN_ALLOW_THREADS
;
6192 _result
= (wxWindowDC
*)new_wxWindowDC(_arg0
);
6194 wxPy_END_ALLOW_THREADS
;
6196 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDC_p");
6197 _resultobj
= Py_BuildValue("s",_ptemp
);
6200 _resultobj
= Py_None
;
6205 static void *SwigwxPrinterDCTowxDC(void *ptr
) {
6208 src
= (wxPrinterDC
*) ptr
;
6209 dest
= (wxDC
*) src
;
6210 return (void *) dest
;
6213 #define new_wxPrinterDC(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxPrinterDC(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6214 static PyObject
*_wrap_new_wxPrinterDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6215 PyObject
* _resultobj
;
6216 wxPrinterDC
* _result
;
6220 bool _arg3
= (bool ) TRUE
;
6221 int _arg4
= (int ) wxPORTRAIT
;
6222 PyObject
* _obj0
= 0;
6223 PyObject
* _obj1
= 0;
6224 PyObject
* _obj2
= 0;
6225 int tempbool3
= (int) TRUE
;
6226 char *_kwnames
[] = { "driver","device","output","interactive","orientation", NULL
};
6230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|ii:new_wxPrinterDC",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&tempbool3
,&_arg4
))
6233 if (!PyString_Check(_obj0
)) {
6234 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6237 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
6240 if (!PyString_Check(_obj1
)) {
6241 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6244 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
6247 if (!PyString_Check(_obj2
)) {
6248 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6251 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6253 _arg3
= (bool ) tempbool3
;
6255 wxPy_BEGIN_ALLOW_THREADS
;
6256 _result
= (wxPrinterDC
*)new_wxPrinterDC(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
6258 wxPy_END_ALLOW_THREADS
;
6260 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrinterDC_p");
6261 _resultobj
= Py_BuildValue("s",_ptemp
);
6264 _resultobj
= Py_None
;
6281 static void *SwigwxMetaFileDCTowxDC(void *ptr
) {
6284 src
= (wxMetaFileDC
*) ptr
;
6285 dest
= (wxDC
*) src
;
6286 return (void *) dest
;
6289 #define new_wxMetaFileDC(_swigarg0) (new wxMetaFileDC(_swigarg0))
6290 static PyObject
*_wrap_new_wxMetaFileDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6291 PyObject
* _resultobj
;
6292 wxMetaFileDC
* _result
;
6293 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
6294 PyObject
* _obj0
= 0;
6295 char *_kwnames
[] = { "filename", NULL
};
6299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxMetaFileDC",_kwnames
,&_obj0
))
6303 if (!PyString_Check(_obj0
)) {
6304 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6307 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
6310 wxPy_BEGIN_ALLOW_THREADS
;
6311 _result
= (wxMetaFileDC
*)new_wxMetaFileDC(*_arg0
);
6313 wxPy_END_ALLOW_THREADS
;
6315 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMetaFileDC_p");
6316 _resultobj
= Py_BuildValue("s",_ptemp
);
6319 _resultobj
= Py_None
;
6328 #define wxMetaFileDC_Close(_swigobj) (_swigobj->Close())
6329 static PyObject
*_wrap_wxMetaFileDC_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6330 PyObject
* _resultobj
;
6331 wxMetaFile
* _result
;
6332 wxMetaFileDC
* _arg0
;
6333 PyObject
* _argo0
= 0;
6334 char *_kwnames
[] = { "self", NULL
};
6338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMetaFileDC_Close",_kwnames
,&_argo0
))
6341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMetaFileDC_p")) {
6343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMetaFileDC_Close. Expected _wxMetaFileDC_p.");
6348 wxPy_BEGIN_ALLOW_THREADS
;
6349 _result
= (wxMetaFile
*)wxMetaFileDC_Close(_arg0
);
6351 wxPy_END_ALLOW_THREADS
;
6353 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMetaFile_p");
6354 _resultobj
= Py_BuildValue("s",_ptemp
);
6357 _resultobj
= Py_None
;
6362 #define new_wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6363 static PyObject
*_wrap_new_wxPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6364 PyObject
* _resultobj
;
6365 wxPalette
* _result
;
6370 PyObject
* _obj1
= 0;
6371 PyObject
* _obj2
= 0;
6372 PyObject
* _obj3
= 0;
6373 char *_kwnames
[] = { "LIST","LIST","LIST", NULL
};
6377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:new_wxPalette",_kwnames
,&_obj1
,&_obj2
,&_obj3
))
6380 _arg1
= byte_LIST_helper(_obj1
);
6381 if (_arg1
== NULL
) {
6386 _arg2
= byte_LIST_helper(_obj2
);
6387 if (_arg2
== NULL
) {
6393 _arg3
= byte_LIST_helper(_obj3
);
6394 if (_arg3
== NULL
) {
6400 _arg0
= PyList_Size(_obj1
);
6407 wxPy_BEGIN_ALLOW_THREADS
;
6408 _result
= (wxPalette
*)new_wxPalette(_arg0
,_arg1
,_arg2
,_arg3
);
6410 wxPy_END_ALLOW_THREADS
;
6412 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
6413 _resultobj
= Py_BuildValue("s",_ptemp
);
6416 _resultobj
= Py_None
;
6430 #define delete_wxPalette(_swigobj) (delete _swigobj)
6431 static PyObject
*_wrap_delete_wxPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6432 PyObject
* _resultobj
;
6434 PyObject
* _argo0
= 0;
6435 char *_kwnames
[] = { "self", NULL
};
6438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPalette",_kwnames
,&_argo0
))
6441 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6442 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
6443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPalette. Expected _wxPalette_p.");
6448 wxPy_BEGIN_ALLOW_THREADS
;
6449 delete_wxPalette(_arg0
);
6451 wxPy_END_ALLOW_THREADS
;
6452 } Py_INCREF(Py_None
);
6453 _resultobj
= Py_None
;
6457 #define wxPalette_GetPixel(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetPixel(_swigarg0,_swigarg1,_swigarg2))
6458 static PyObject
*_wrap_wxPalette_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6459 PyObject
* _resultobj
;
6465 PyObject
* _argo0
= 0;
6466 char *_kwnames
[] = { "self","red","green","blue", NULL
};
6469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Obbb:wxPalette_GetPixel",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
6472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
6474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetPixel. Expected _wxPalette_p.");
6479 wxPy_BEGIN_ALLOW_THREADS
;
6480 _result
= (int )wxPalette_GetPixel(_arg0
,_arg1
,_arg2
,_arg3
);
6482 wxPy_END_ALLOW_THREADS
;
6483 } _resultobj
= Py_BuildValue("i",_result
);
6487 #define wxPalette_GetRGB(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetRGB(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6488 static PyObject
*_wrap_wxPalette_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6489 PyObject
* _resultobj
;
6496 PyObject
* _argo0
= 0;
6497 PyObject
* _argo2
= 0;
6498 PyObject
* _argo3
= 0;
6499 PyObject
* _argo4
= 0;
6500 char *_kwnames
[] = { "self","pixel","OUTPUT","OUTPUT","OUTPUT", NULL
};
6503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOOO:wxPalette_GetRGB",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_argo4
))
6506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
6508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetRGB. Expected _wxPalette_p.");
6513 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6514 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_byte_p")) {
6515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPalette_GetRGB. Expected _byte_p.");
6520 if (_argo3
== Py_None
) { _arg3
= NULL
; }
6521 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_byte_p")) {
6522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxPalette_GetRGB. Expected _byte_p.");
6527 if (_argo4
== Py_None
) { _arg4
= NULL
; }
6528 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_byte_p")) {
6529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxPalette_GetRGB. Expected _byte_p.");
6534 wxPy_BEGIN_ALLOW_THREADS
;
6535 _result
= (bool )wxPalette_GetRGB(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6537 wxPy_END_ALLOW_THREADS
;
6538 } _resultobj
= Py_BuildValue("i",_result
);
6542 #define wxPalette_Ok(_swigobj) (_swigobj->Ok())
6543 static PyObject
*_wrap_wxPalette_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6544 PyObject
* _resultobj
;
6547 PyObject
* _argo0
= 0;
6548 char *_kwnames
[] = { "self", NULL
};
6551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPalette_Ok",_kwnames
,&_argo0
))
6554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
6556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_Ok. Expected _wxPalette_p.");
6561 wxPy_BEGIN_ALLOW_THREADS
;
6562 _result
= (bool )wxPalette_Ok(_arg0
);
6564 wxPy_END_ALLOW_THREADS
;
6565 } _resultobj
= Py_BuildValue("i",_result
);
6569 #define new_wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6570 static PyObject
*_wrap_new_wxImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6571 PyObject
* _resultobj
;
6572 wxImageList
* _result
;
6575 int _arg2
= (int ) TRUE
;
6576 int _arg3
= (int ) 1;
6577 char *_kwnames
[] = { "width","height","mask","initialCount", NULL
};
6581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ii|ii:new_wxImageList",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
6584 wxPy_BEGIN_ALLOW_THREADS
;
6585 _result
= (wxImageList
*)new_wxImageList(_arg0
,_arg1
,_arg2
,_arg3
);
6587 wxPy_END_ALLOW_THREADS
;
6589 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
6590 _resultobj
= Py_BuildValue("s",_ptemp
);
6593 _resultobj
= Py_None
;
6598 #define delete_wxImageList(_swigobj) (delete _swigobj)
6599 static PyObject
*_wrap_delete_wxImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6600 PyObject
* _resultobj
;
6601 wxImageList
* _arg0
;
6602 PyObject
* _argo0
= 0;
6603 char *_kwnames
[] = { "self", NULL
};
6606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxImageList",_kwnames
,&_argo0
))
6609 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6610 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxImageList. Expected _wxImageList_p.");
6616 wxPy_BEGIN_ALLOW_THREADS
;
6617 delete_wxImageList(_arg0
);
6619 wxPy_END_ALLOW_THREADS
;
6620 } Py_INCREF(Py_None
);
6621 _resultobj
= Py_None
;
6625 #define wxImageList_Add(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
6626 static PyObject
*_wrap_wxImageList_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6627 PyObject
* _resultobj
;
6629 wxImageList
* _arg0
;
6631 wxBitmap
* _arg2
= (wxBitmap
*) &wxNullBitmap
;
6632 PyObject
* _argo0
= 0;
6633 PyObject
* _argo1
= 0;
6634 PyObject
* _argo2
= 0;
6635 char *_kwnames
[] = { "self","bitmap","mask", NULL
};
6638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxImageList_Add",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
6641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Add. Expected _wxImageList_p.");
6648 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6649 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
6650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_Add. Expected _wxBitmap_p.");
6655 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6656 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
6657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Add. Expected _wxBitmap_p.");
6662 wxPy_BEGIN_ALLOW_THREADS
;
6663 _result
= (int )wxImageList_Add(_arg0
,*_arg1
,*_arg2
);
6665 wxPy_END_ALLOW_THREADS
;
6666 } _resultobj
= Py_BuildValue("i",_result
);
6670 #define wxImageList_AddWithColourMask(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
6671 static PyObject
*_wrap_wxImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6672 PyObject
* _resultobj
;
6674 wxImageList
* _arg0
;
6677 PyObject
* _argo0
= 0;
6678 PyObject
* _argo1
= 0;
6679 PyObject
* _argo2
= 0;
6680 char *_kwnames
[] = { "self","bitmap","maskColour", NULL
};
6683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxImageList_AddWithColourMask",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
6686 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6687 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_AddWithColourMask. Expected _wxImageList_p.");
6693 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6694 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
6695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_AddWithColourMask. Expected _wxBitmap_p.");
6700 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6701 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxColour_p")) {
6702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_AddWithColourMask. Expected _wxColour_p.");
6707 wxPy_BEGIN_ALLOW_THREADS
;
6708 _result
= (int )wxImageList_AddWithColourMask(_arg0
,*_arg1
,*_arg2
);
6710 wxPy_END_ALLOW_THREADS
;
6711 } _resultobj
= Py_BuildValue("i",_result
);
6715 #define wxImageList_AddIcon(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
6716 static PyObject
*_wrap_wxImageList_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6717 PyObject
* _resultobj
;
6719 wxImageList
* _arg0
;
6721 PyObject
* _argo0
= 0;
6722 PyObject
* _argo1
= 0;
6723 char *_kwnames
[] = { "self","icon", NULL
};
6726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxImageList_AddIcon",_kwnames
,&_argo0
,&_argo1
))
6729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_AddIcon. Expected _wxImageList_p.");
6736 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6737 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
6738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_AddIcon. Expected _wxIcon_p.");
6743 wxPy_BEGIN_ALLOW_THREADS
;
6744 _result
= (int )wxImageList_AddIcon(_arg0
,*_arg1
);
6746 wxPy_END_ALLOW_THREADS
;
6747 } _resultobj
= Py_BuildValue("i",_result
);
6751 #define wxImageList_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
6752 static PyObject
*_wrap_wxImageList_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6753 PyObject
* _resultobj
;
6755 wxImageList
* _arg0
;
6758 wxBitmap
* _arg3
= (wxBitmap
*) &wxNullBitmap
;
6759 PyObject
* _argo0
= 0;
6760 PyObject
* _argo2
= 0;
6761 PyObject
* _argo3
= 0;
6762 char *_kwnames
[] = { "self","index","bitmap","mask", NULL
};
6765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxImageList_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
))
6768 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6769 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Replace. Expected _wxImageList_p.");
6775 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6776 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
6777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Replace. Expected _wxBitmap_p.");
6782 if (_argo3
== Py_None
) { _arg3
= NULL
; }
6783 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
6784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxImageList_Replace. Expected _wxBitmap_p.");
6789 wxPy_BEGIN_ALLOW_THREADS
;
6790 _result
= (bool )wxImageList_Replace(_arg0
,_arg1
,*_arg2
,*_arg3
);
6792 wxPy_END_ALLOW_THREADS
;
6793 } _resultobj
= Py_BuildValue("i",_result
);
6797 #define wxImageList_ReplaceIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->Replace(_swigarg0,_swigarg1))
6798 static PyObject
*_wrap_wxImageList_ReplaceIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6799 PyObject
* _resultobj
;
6801 wxImageList
* _arg0
;
6804 PyObject
* _argo0
= 0;
6805 PyObject
* _argo2
= 0;
6806 char *_kwnames
[] = { "self","index","icon", NULL
};
6809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxImageList_ReplaceIcon",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
6812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_ReplaceIcon. Expected _wxImageList_p.");
6819 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6820 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxIcon_p")) {
6821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_ReplaceIcon. Expected _wxIcon_p.");
6826 wxPy_BEGIN_ALLOW_THREADS
;
6827 _result
= (bool )wxImageList_ReplaceIcon(_arg0
,_arg1
,*_arg2
);
6829 wxPy_END_ALLOW_THREADS
;
6830 } _resultobj
= Py_BuildValue("i",_result
);
6834 #define wxImageList_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6835 static PyObject
*_wrap_wxImageList_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6836 PyObject
* _resultobj
;
6838 wxImageList
* _arg0
;
6843 int _arg5
= (int ) (wxIMAGELIST_DRAW_NORMAL
);
6844 bool _arg6
= (bool ) FALSE
;
6845 PyObject
* _argo0
= 0;
6846 PyObject
* _argo2
= 0;
6847 int tempbool6
= (int) FALSE
;
6848 char *_kwnames
[] = { "self","index","dc","x","x","flags","solidBackground", NULL
};
6851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOii|ii:wxImageList_Draw",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
6854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Draw. Expected _wxImageList_p.");
6861 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6862 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDC_p")) {
6863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Draw. Expected _wxDC_p.");
6867 _arg6
= (bool ) tempbool6
;
6869 wxPy_BEGIN_ALLOW_THREADS
;
6870 _result
= (bool )wxImageList_Draw(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
6872 wxPy_END_ALLOW_THREADS
;
6873 } _resultobj
= Py_BuildValue("i",_result
);
6877 #define wxImageList_GetImageCount(_swigobj) (_swigobj->GetImageCount())
6878 static PyObject
*_wrap_wxImageList_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6879 PyObject
* _resultobj
;
6881 wxImageList
* _arg0
;
6882 PyObject
* _argo0
= 0;
6883 char *_kwnames
[] = { "self", NULL
};
6886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImageList_GetImageCount",_kwnames
,&_argo0
))
6889 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6890 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_GetImageCount. Expected _wxImageList_p.");
6896 wxPy_BEGIN_ALLOW_THREADS
;
6897 _result
= (int )wxImageList_GetImageCount(_arg0
);
6899 wxPy_END_ALLOW_THREADS
;
6900 } _resultobj
= Py_BuildValue("i",_result
);
6904 #define wxImageList_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
6905 static PyObject
*_wrap_wxImageList_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6906 PyObject
* _resultobj
;
6908 wxImageList
* _arg0
;
6910 PyObject
* _argo0
= 0;
6911 char *_kwnames
[] = { "self","index", NULL
};
6914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxImageList_Remove",_kwnames
,&_argo0
,&_arg1
))
6917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Remove. Expected _wxImageList_p.");
6924 wxPy_BEGIN_ALLOW_THREADS
;
6925 _result
= (bool )wxImageList_Remove(_arg0
,_arg1
);
6927 wxPy_END_ALLOW_THREADS
;
6928 } _resultobj
= Py_BuildValue("i",_result
);
6932 #define wxImageList_RemoveAll(_swigobj) (_swigobj->RemoveAll())
6933 static PyObject
*_wrap_wxImageList_RemoveAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6934 PyObject
* _resultobj
;
6936 wxImageList
* _arg0
;
6937 PyObject
* _argo0
= 0;
6938 char *_kwnames
[] = { "self", NULL
};
6941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImageList_RemoveAll",_kwnames
,&_argo0
))
6944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_RemoveAll. Expected _wxImageList_p.");
6951 wxPy_BEGIN_ALLOW_THREADS
;
6952 _result
= (bool )wxImageList_RemoveAll(_arg0
);
6954 wxPy_END_ALLOW_THREADS
;
6955 } _resultobj
= Py_BuildValue("i",_result
);
6959 static PyMethodDef gdicMethods
[] = {
6960 { "wxImageList_RemoveAll", (PyCFunction
) _wrap_wxImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
},
6961 { "wxImageList_Remove", (PyCFunction
) _wrap_wxImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
},
6962 { "wxImageList_GetImageCount", (PyCFunction
) _wrap_wxImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
6963 { "wxImageList_Draw", (PyCFunction
) _wrap_wxImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
},
6964 { "wxImageList_ReplaceIcon", (PyCFunction
) _wrap_wxImageList_ReplaceIcon
, METH_VARARGS
| METH_KEYWORDS
},
6965 { "wxImageList_Replace", (PyCFunction
) _wrap_wxImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
},
6966 { "wxImageList_AddIcon", (PyCFunction
) _wrap_wxImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
6967 { "wxImageList_AddWithColourMask", (PyCFunction
) _wrap_wxImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
},
6968 { "wxImageList_Add", (PyCFunction
) _wrap_wxImageList_Add
, METH_VARARGS
| METH_KEYWORDS
},
6969 { "delete_wxImageList", (PyCFunction
) _wrap_delete_wxImageList
, METH_VARARGS
| METH_KEYWORDS
},
6970 { "new_wxImageList", (PyCFunction
) _wrap_new_wxImageList
, METH_VARARGS
| METH_KEYWORDS
},
6971 { "wxPalette_Ok", (PyCFunction
) _wrap_wxPalette_Ok
, METH_VARARGS
| METH_KEYWORDS
},
6972 { "wxPalette_GetRGB", (PyCFunction
) _wrap_wxPalette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
6973 { "wxPalette_GetPixel", (PyCFunction
) _wrap_wxPalette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
6974 { "delete_wxPalette", (PyCFunction
) _wrap_delete_wxPalette
, METH_VARARGS
| METH_KEYWORDS
},
6975 { "new_wxPalette", (PyCFunction
) _wrap_new_wxPalette
, METH_VARARGS
| METH_KEYWORDS
},
6976 { "wxMetaFileDC_Close", (PyCFunction
) _wrap_wxMetaFileDC_Close
, METH_VARARGS
| METH_KEYWORDS
},
6977 { "new_wxMetaFileDC", (PyCFunction
) _wrap_new_wxMetaFileDC
, METH_VARARGS
| METH_KEYWORDS
},
6978 { "new_wxPrinterDC", (PyCFunction
) _wrap_new_wxPrinterDC
, METH_VARARGS
| METH_KEYWORDS
},
6979 { "new_wxWindowDC", (PyCFunction
) _wrap_new_wxWindowDC
, METH_VARARGS
| METH_KEYWORDS
},
6980 { "new_wxPaintDC", (PyCFunction
) _wrap_new_wxPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
6981 { "new_wxClientDC", (PyCFunction
) _wrap_new_wxClientDC
, METH_VARARGS
| METH_KEYWORDS
},
6982 { "wxScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_wxScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
6983 { "wxScreenDC_StartDrawingOnTopRect", (PyCFunction
) _wrap_wxScreenDC_StartDrawingOnTopRect
, METH_VARARGS
| METH_KEYWORDS
},
6984 { "wxScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_wxScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
6985 { "new_wxScreenDC", (PyCFunction
) _wrap_new_wxScreenDC
, METH_VARARGS
| METH_KEYWORDS
},
6986 { "wxMemoryDC_SelectObject", (PyCFunction
) _wrap_wxMemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
},
6987 { "new_wxMemoryDC", (PyCFunction
) _wrap_new_wxMemoryDC
, METH_VARARGS
| METH_KEYWORDS
},
6988 { "wxDC_DrawBitmap", (PyCFunction
) _wrap_wxDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
6989 { "wxDC_StartPage", (PyCFunction
) _wrap_wxDC_StartPage
, METH_VARARGS
| METH_KEYWORDS
},
6990 { "wxDC_StartDoc", (PyCFunction
) _wrap_wxDC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
},
6991 { "wxDC_SetUserScale", (PyCFunction
) _wrap_wxDC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
6992 { "wxDC_SetTextForeground", (PyCFunction
) _wrap_wxDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
6993 { "wxDC_SetTextBackground", (PyCFunction
) _wrap_wxDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
6994 { "wxDC_SetPen", (PyCFunction
) _wrap_wxDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
6995 { "wxDC_SetOptimization", (PyCFunction
) _wrap_wxDC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
6996 { "wxDC_SetMapMode", (PyCFunction
) _wrap_wxDC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
6997 { "wxDC_SetLogicalFunction", (PyCFunction
) _wrap_wxDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
6998 { "wxDC_SetFont", (PyCFunction
) _wrap_wxDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
6999 { "wxDC_SetBrush", (PyCFunction
) _wrap_wxDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
7000 { "wxDC_SetPalette", (PyCFunction
) _wrap_wxDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
7001 { "wxDC_SetClippingRegion", (PyCFunction
) _wrap_wxDC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
7002 { "wxDC_SetBackgroundMode", (PyCFunction
) _wrap_wxDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
7003 { "wxDC_SetBackground", (PyCFunction
) _wrap_wxDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
},
7004 { "wxDC_SetDeviceOrigin", (PyCFunction
) _wrap_wxDC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
7005 { "wxDC_Ok", (PyCFunction
) _wrap_wxDC_Ok
, METH_VARARGS
| METH_KEYWORDS
},
7006 { "wxDC_MinY", (PyCFunction
) _wrap_wxDC_MinY
, METH_VARARGS
| METH_KEYWORDS
},
7007 { "wxDC_MinX", (PyCFunction
) _wrap_wxDC_MinX
, METH_VARARGS
| METH_KEYWORDS
},
7008 { "wxDC_MaxY", (PyCFunction
) _wrap_wxDC_MaxY
, METH_VARARGS
| METH_KEYWORDS
},
7009 { "wxDC_MaxX", (PyCFunction
) _wrap_wxDC_MaxX
, METH_VARARGS
| METH_KEYWORDS
},
7010 { "wxDC_LogicalToDeviceYRel", (PyCFunction
) _wrap_wxDC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
},
7011 { "wxDC_LogicalToDeviceY", (PyCFunction
) _wrap_wxDC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
},
7012 { "wxDC_LogicalToDeviceXRel", (PyCFunction
) _wrap_wxDC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
},
7013 { "wxDC_LogicalToDeviceX", (PyCFunction
) _wrap_wxDC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
},
7014 { "wxDC_GetTextForeground", (PyCFunction
) _wrap_wxDC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
7015 { "wxDC_GetFullTextExtent", (PyCFunction
) _wrap_wxDC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
7016 { "wxDC_GetTextExtent", (PyCFunction
) _wrap_wxDC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
7017 { "wxDC_GetTextBackground", (PyCFunction
) _wrap_wxDC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
7018 { "wxDC_GetSize", (PyCFunction
) _wrap_wxDC_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
7019 { "wxDC_GetSizeTuple", (PyCFunction
) _wrap_wxDC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
7020 { "wxDC_GetPixel", (PyCFunction
) _wrap_wxDC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
7021 { "wxDC_GetPen", (PyCFunction
) _wrap_wxDC_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
7022 { "wxDC_GetOptimization", (PyCFunction
) _wrap_wxDC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
7023 { "wxDC_GetMapMode", (PyCFunction
) _wrap_wxDC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
7024 { "wxDC_GetLogicalFunction", (PyCFunction
) _wrap_wxDC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
7025 { "wxDC_GetFont", (PyCFunction
) _wrap_wxDC_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
7026 { "wxDC_GetClippingBox", (PyCFunction
) _wrap_wxDC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
},
7027 { "wxDC_GetCharWidth", (PyCFunction
) _wrap_wxDC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
7028 { "wxDC_GetCharHeight", (PyCFunction
) _wrap_wxDC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
7029 { "wxDC_GetBrush", (PyCFunction
) _wrap_wxDC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
7030 { "wxDC_GetBackground", (PyCFunction
) _wrap_wxDC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
},
7031 { "wxDC_FloodFill", (PyCFunction
) _wrap_wxDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
},
7032 { "wxDC_EndPage", (PyCFunction
) _wrap_wxDC_EndPage
, METH_VARARGS
| METH_KEYWORDS
},
7033 { "wxDC_EndDrawing", (PyCFunction
) _wrap_wxDC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
},
7034 { "wxDC_EndDoc", (PyCFunction
) _wrap_wxDC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
},
7035 { "wxDC_DrawText", (PyCFunction
) _wrap_wxDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
7036 { "wxDC_DrawSpline", (PyCFunction
) _wrap_wxDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
7037 { "wxDC_DrawRoundedRectangle", (PyCFunction
) _wrap_wxDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
7038 { "wxDC_DrawRotatedText", (PyCFunction
) _wrap_wxDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
},
7039 { "wxDC_DrawRectangle", (PyCFunction
) _wrap_wxDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
7040 { "wxDC_DrawPoint", (PyCFunction
) _wrap_wxDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
7041 { "wxDC_DrawPolygon", (PyCFunction
) _wrap_wxDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
7042 { "wxDC_DrawLines", (PyCFunction
) _wrap_wxDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
7043 { "wxDC_DrawLine", (PyCFunction
) _wrap_wxDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
7044 { "wxDC_DrawIcon", (PyCFunction
) _wrap_wxDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
},
7045 { "wxDC_DrawEllipticArc", (PyCFunction
) _wrap_wxDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
7046 { "wxDC_DrawEllipse", (PyCFunction
) _wrap_wxDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
7047 { "wxDC_DrawCircle", (PyCFunction
) _wrap_wxDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
},
7048 { "wxDC_DrawArc", (PyCFunction
) _wrap_wxDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
7049 { "wxDC_DeviceToLogicalYRel", (PyCFunction
) _wrap_wxDC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
},
7050 { "wxDC_DeviceToLogicalY", (PyCFunction
) _wrap_wxDC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
},
7051 { "wxDC_DeviceToLogicalXRel", (PyCFunction
) _wrap_wxDC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
},
7052 { "wxDC_DeviceToLogicalX", (PyCFunction
) _wrap_wxDC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
},
7053 { "wxDC_DestroyClippingRegion", (PyCFunction
) _wrap_wxDC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
7054 { "wxDC_CrossHair", (PyCFunction
) _wrap_wxDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
},
7055 { "wxDC_Clear", (PyCFunction
) _wrap_wxDC_Clear
, METH_VARARGS
| METH_KEYWORDS
},
7056 { "wxDC_Blit", (PyCFunction
) _wrap_wxDC_Blit
, METH_VARARGS
| METH_KEYWORDS
},
7057 { "wxDC_BeginDrawing", (PyCFunction
) _wrap_wxDC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
},
7058 { "delete_wxDC", (PyCFunction
) _wrap_delete_wxDC
, METH_VARARGS
| METH_KEYWORDS
},
7059 { "wxBrush_SetStyle", (PyCFunction
) _wrap_wxBrush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
7060 { "wxBrush_SetStipple", (PyCFunction
) _wrap_wxBrush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
7061 { "wxBrush_SetColour", (PyCFunction
) _wrap_wxBrush_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
7062 { "wxBrush_Ok", (PyCFunction
) _wrap_wxBrush_Ok
, METH_VARARGS
| METH_KEYWORDS
},
7063 { "wxBrush_GetStyle", (PyCFunction
) _wrap_wxBrush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
7064 { "wxBrush_GetStipple", (PyCFunction
) _wrap_wxBrush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
7065 { "wxBrush_GetColour", (PyCFunction
) _wrap_wxBrush_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
7066 { "new_wxBrush", (PyCFunction
) _wrap_new_wxBrush
, METH_VARARGS
| METH_KEYWORDS
},
7067 { "wxPen_SetStipple", (PyCFunction
) _wrap_wxPen_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
7068 { "wxPen_GetStipple", (PyCFunction
) _wrap_wxPen_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
7069 { "wxPen_SetDashes", (PyCFunction
) _wrap_wxPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
7070 { "wxPen_GetDashes", (PyCFunction
) _wrap_wxPen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
},
7071 { "wxPen_SetWidth", (PyCFunction
) _wrap_wxPen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
7072 { "wxPen_SetStyle", (PyCFunction
) _wrap_wxPen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
7073 { "wxPen_SetJoin", (PyCFunction
) _wrap_wxPen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
},
7074 { "wxPen_SetColour", (PyCFunction
) _wrap_wxPen_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
7075 { "wxPen_SetCap", (PyCFunction
) _wrap_wxPen_SetCap
, METH_VARARGS
| METH_KEYWORDS
},
7076 { "wxPen_Ok", (PyCFunction
) _wrap_wxPen_Ok
, METH_VARARGS
| METH_KEYWORDS
},
7077 { "wxPen_GetWidth", (PyCFunction
) _wrap_wxPen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
7078 { "wxPen_GetStyle", (PyCFunction
) _wrap_wxPen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
7079 { "wxPen_GetJoin", (PyCFunction
) _wrap_wxPen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
},
7080 { "wxPen_GetColour", (PyCFunction
) _wrap_wxPen_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
7081 { "wxPen_GetCap", (PyCFunction
) _wrap_wxPen_GetCap
, METH_VARARGS
| METH_KEYWORDS
},
7082 { "new_wxPen", (PyCFunction
) _wrap_new_wxPen
, METH_VARARGS
| METH_KEYWORDS
},
7083 { "wxColour_Get", (PyCFunction
) _wrap_wxColour_Get
, METH_VARARGS
| METH_KEYWORDS
},
7084 { "wxColour_Set", (PyCFunction
) _wrap_wxColour_Set
, METH_VARARGS
| METH_KEYWORDS
},
7085 { "wxColour_Ok", (PyCFunction
) _wrap_wxColour_Ok
, METH_VARARGS
| METH_KEYWORDS
},
7086 { "wxColour_Blue", (PyCFunction
) _wrap_wxColour_Blue
, METH_VARARGS
| METH_KEYWORDS
},
7087 { "wxColour_Green", (PyCFunction
) _wrap_wxColour_Green
, METH_VARARGS
| METH_KEYWORDS
},
7088 { "wxColour_Red", (PyCFunction
) _wrap_wxColour_Red
, METH_VARARGS
| METH_KEYWORDS
},
7089 { "delete_wxColour", (PyCFunction
) _wrap_delete_wxColour
, METH_VARARGS
| METH_KEYWORDS
},
7090 { "new_wxColour", (PyCFunction
) _wrap_new_wxColour
, METH_VARARGS
| METH_KEYWORDS
},
7091 { "wxFont_GetWeightString", (PyCFunction
) _wrap_wxFont_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
},
7092 { "wxFont_GetStyleString", (PyCFunction
) _wrap_wxFont_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
},
7093 { "wxFont_GetFamilyString", (PyCFunction
) _wrap_wxFont_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
},
7094 { "wxFont_SetEncoding", (PyCFunction
) _wrap_wxFont_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
7095 { "wxFont_SetWeight", (PyCFunction
) _wrap_wxFont_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
7096 { "wxFont_SetUnderlined", (PyCFunction
) _wrap_wxFont_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
7097 { "wxFont_SetStyle", (PyCFunction
) _wrap_wxFont_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
7098 { "wxFont_SetPointSize", (PyCFunction
) _wrap_wxFont_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
7099 { "wxFont_SetFamily", (PyCFunction
) _wrap_wxFont_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
7100 { "wxFont_SetFaceName", (PyCFunction
) _wrap_wxFont_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
7101 { "wxFont_GetEncoding", (PyCFunction
) _wrap_wxFont_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
7102 { "wxFont_GetWeight", (PyCFunction
) _wrap_wxFont_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
7103 { "wxFont_GetUnderlined", (PyCFunction
) _wrap_wxFont_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
7104 { "wxFont_GetStyle", (PyCFunction
) _wrap_wxFont_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
7105 { "wxFont_GetPointSize", (PyCFunction
) _wrap_wxFont_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
7106 { "wxFont_GetFontId", (PyCFunction
) _wrap_wxFont_GetFontId
, METH_VARARGS
| METH_KEYWORDS
},
7107 { "wxFont_GetFamily", (PyCFunction
) _wrap_wxFont_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
7108 { "wxFont_GetFaceName", (PyCFunction
) _wrap_wxFont_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
7109 { "wxFont_Ok", (PyCFunction
) _wrap_wxFont_Ok
, METH_VARARGS
| METH_KEYWORDS
},
7110 { "new_wxFont", (PyCFunction
) _wrap_new_wxFont
, METH_VARARGS
| METH_KEYWORDS
},
7111 { "delete_wxCursor", (PyCFunction
) _wrap_delete_wxCursor
, METH_VARARGS
| METH_KEYWORDS
},
7112 { "new_wxCursor", (PyCFunction
) _wrap_new_wxCursor
, METH_VARARGS
| METH_KEYWORDS
},
7113 { "wxIcon_LoadFile", (PyCFunction
) _wrap_wxIcon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
7114 { "delete_wxIcon", (PyCFunction
) _wrap_delete_wxIcon
, METH_VARARGS
| METH_KEYWORDS
},
7115 { "new_wxIcon", (PyCFunction
) _wrap_new_wxIcon
, METH_VARARGS
| METH_KEYWORDS
},
7116 { "new_wxMask", (PyCFunction
) _wrap_new_wxMask
, METH_VARARGS
| METH_KEYWORDS
},
7117 { "wxBitmap_SetPalette", (PyCFunction
) _wrap_wxBitmap_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
7118 { "wxBitmap_SetMask", (PyCFunction
) _wrap_wxBitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
7119 { "wxBitmap_SaveFile", (PyCFunction
) _wrap_wxBitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
7120 { "wxBitmap_LoadFile", (PyCFunction
) _wrap_wxBitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
7121 { "wxBitmap_GetMask", (PyCFunction
) _wrap_wxBitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
7122 { "wxBitmap_GetPalette", (PyCFunction
) _wrap_wxBitmap_GetPalette
, METH_VARARGS
| METH_KEYWORDS
},
7123 { "delete_wxBitmap", (PyCFunction
) _wrap_delete_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
7124 { "new_wxBitmap", (PyCFunction
) _wrap_new_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
7125 { "wxGDIImage_SetSize", (PyCFunction
) _wrap_wxGDIImage_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
7126 { "wxGDIImage_SetDepth", (PyCFunction
) _wrap_wxGDIImage_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
7127 { "wxGDIImage_SetHeight", (PyCFunction
) _wrap_wxGDIImage_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
7128 { "wxGDIImage_SetWidth", (PyCFunction
) _wrap_wxGDIImage_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
7129 { "wxGDIImage_GetDepth", (PyCFunction
) _wrap_wxGDIImage_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
7130 { "wxGDIImage_GetHeight", (PyCFunction
) _wrap_wxGDIImage_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
7131 { "wxGDIImage_GetWidth", (PyCFunction
) _wrap_wxGDIImage_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
7132 { "wxGDIImage_Ok", (PyCFunction
) _wrap_wxGDIImage_Ok
, METH_VARARGS
| METH_KEYWORDS
},
7133 { "wxGDIImage_SetHandle", (PyCFunction
) _wrap_wxGDIImage_SetHandle
, METH_VARARGS
| METH_KEYWORDS
},
7134 { "wxGDIImage_GetHandle", (PyCFunction
) _wrap_wxGDIImage_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
7135 { "wxMemoryDCFromDC", (PyCFunction
) _wrap_wxMemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
},
7136 { "wxNamedColour", (PyCFunction
) _wrap_wxNamedColour
, METH_VARARGS
| METH_KEYWORDS
},
7137 { "wxFont_SetDefaultEncoding", (PyCFunction
) _wrap_wxFont_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
7138 { "wxFont_GetDefaultEncoding", (PyCFunction
) _wrap_wxFont_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
7139 { "wxStockCursor", (PyCFunction
) _wrap_wxStockCursor
, METH_VARARGS
| METH_KEYWORDS
},
7140 { "wxMaskColour", (PyCFunction
) _wrap_wxMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
7141 { "wxBitmapFromData", (PyCFunction
) _wrap_wxBitmapFromData
, METH_VARARGS
| METH_KEYWORDS
},
7142 { "wxEmptyBitmap", (PyCFunction
) _wrap_wxEmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
},
7149 * This table is used by the pointer type-checker
7151 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
7152 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
7153 { "_signed_long","_long",0},
7154 { "_wxPrintQuality","_wxCoord",0},
7155 { "_wxPrintQuality","_int",0},
7156 { "_wxPrintQuality","_signed_int",0},
7157 { "_wxPrintQuality","_unsigned_int",0},
7158 { "_wxPrintQuality","_wxWindowID",0},
7159 { "_wxPrintQuality","_uint",0},
7160 { "_wxPrintQuality","_EBool",0},
7161 { "_wxPrintQuality","_size_t",0},
7162 { "_class_wxRegionIterator","_wxRegionIterator",0},
7163 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
7164 { "_wxCursor","_class_wxCursor",0},
7165 { "_wxMask","_class_wxMask",0},
7166 { "_wxPen","_class_wxPen",0},
7167 { "_byte","_unsigned_char",0},
7168 { "_long","_wxDash",0},
7169 { "_long","_unsigned_long",0},
7170 { "_long","_signed_long",0},
7171 { "_wxImageList","_class_wxImageList",0},
7172 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
7173 { "_wxDC","_class_wxMetaFileDC",SwigwxMetaFileDCTowxDC
},
7174 { "_wxDC","_wxMetaFileDC",SwigwxMetaFileDCTowxDC
},
7175 { "_wxDC","_class_wxPrinterDC",SwigwxPrinterDCTowxDC
},
7176 { "_wxDC","_wxPrinterDC",SwigwxPrinterDCTowxDC
},
7177 { "_wxDC","_class_wxWindowDC",SwigwxWindowDCTowxDC
},
7178 { "_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC
},
7179 { "_wxDC","_class_wxPaintDC",SwigwxPaintDCTowxDC
},
7180 { "_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
},
7181 { "_wxDC","_class_wxClientDC",SwigwxClientDCTowxDC
},
7182 { "_wxDC","_wxClientDC",SwigwxClientDCTowxDC
},
7183 { "_wxDC","_class_wxScreenDC",SwigwxScreenDCTowxDC
},
7184 { "_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
},
7185 { "_wxDC","_class_wxMemoryDC",SwigwxMemoryDCTowxDC
},
7186 { "_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
},
7187 { "_wxDC","_class_wxDC",0},
7188 { "_size_t","_wxCoord",0},
7189 { "_size_t","_wxPrintQuality",0},
7190 { "_size_t","_unsigned_int",0},
7191 { "_size_t","_int",0},
7192 { "_size_t","_wxWindowID",0},
7193 { "_size_t","_uint",0},
7194 { "_class_wxRealPoint","_wxRealPoint",0},
7195 { "_wxPrinterDC","_class_wxPrinterDC",0},
7196 { "_class_wxMask","_wxMask",0},
7197 { "_wxColour","_class_wxColour",0},
7198 { "_wxBrush","_class_wxBrush",0},
7199 { "_uint","_wxCoord",0},
7200 { "_uint","_wxPrintQuality",0},
7201 { "_uint","_size_t",0},
7202 { "_uint","_unsigned_int",0},
7203 { "_uint","_int",0},
7204 { "_uint","_wxWindowID",0},
7205 { "_wxRect","_class_wxRect",0},
7206 { "_wxPoint","_class_wxPoint",0},
7207 { "_wxBitmap","_class_wxBitmap",0},
7208 { "_wxPyTimer","_class_wxPyTimer",0},
7209 { "_wxWindowDC","_class_wxWindowDC",0},
7210 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
7211 { "_EBool","_wxCoord",0},
7212 { "_EBool","_wxPrintQuality",0},
7213 { "_EBool","_signed_int",0},
7214 { "_EBool","_int",0},
7215 { "_EBool","_wxWindowID",0},
7216 { "_class_wxRegion","_wxRegion",0},
7217 { "_wxGDIImage","_class_wxCursor",SwigwxCursorTowxGDIImage
},
7218 { "_wxGDIImage","_wxCursor",SwigwxCursorTowxGDIImage
},
7219 { "_wxGDIImage","_class_wxIcon",SwigwxIconTowxGDIImage
},
7220 { "_wxGDIImage","_wxIcon",SwigwxIconTowxGDIImage
},
7221 { "_wxGDIImage","_class_wxBitmap",SwigwxBitmapTowxGDIImage
},
7222 { "_wxGDIImage","_wxBitmap",SwigwxBitmapTowxGDIImage
},
7223 { "_wxGDIImage","_class_wxGDIImage",0},
7224 { "_wxFont","_class_wxFont",0},
7225 { "_unsigned_long","_wxDash",0},
7226 { "_unsigned_long","_long",0},
7227 { "_class_wxRect","_wxRect",0},
7228 { "_class_wxDC","_class_wxMetaFileDC",SwigwxMetaFileDCTowxDC
},
7229 { "_class_wxDC","_wxMetaFileDC",SwigwxMetaFileDCTowxDC
},
7230 { "_class_wxDC","_class_wxPrinterDC",SwigwxPrinterDCTowxDC
},
7231 { "_class_wxDC","_wxPrinterDC",SwigwxPrinterDCTowxDC
},
7232 { "_class_wxDC","_class_wxWindowDC",SwigwxWindowDCTowxDC
},
7233 { "_class_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC
},
7234 { "_class_wxDC","_class_wxPaintDC",SwigwxPaintDCTowxDC
},
7235 { "_class_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
},
7236 { "_class_wxDC","_class_wxClientDC",SwigwxClientDCTowxDC
},
7237 { "_class_wxDC","_wxClientDC",SwigwxClientDCTowxDC
},
7238 { "_class_wxDC","_class_wxScreenDC",SwigwxScreenDCTowxDC
},
7239 { "_class_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
},
7240 { "_class_wxDC","_class_wxMemoryDC",SwigwxMemoryDCTowxDC
},
7241 { "_class_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
},
7242 { "_class_wxDC","_wxDC",0},
7243 { "_class_wxPyTimer","_wxPyTimer",0},
7244 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
7245 { "_signed_int","_wxCoord",0},
7246 { "_signed_int","_wxPrintQuality",0},
7247 { "_signed_int","_EBool",0},
7248 { "_signed_int","_wxWindowID",0},
7249 { "_signed_int","_int",0},
7250 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
7251 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
7252 { "_wxScreenDC","_class_wxScreenDC",0},
7253 { "_WXTYPE","_short",0},
7254 { "_WXTYPE","_signed_short",0},
7255 { "_WXTYPE","_unsigned_short",0},
7256 { "_class_wxBrush","_wxBrush",0},
7257 { "_unsigned_short","_WXTYPE",0},
7258 { "_unsigned_short","_short",0},
7259 { "_class_wxFont","_wxFont",0},
7260 { "_wxBusyInfo","_class_wxBusyInfo",0},
7261 { "_wxClientDC","_class_wxClientDC",0},
7262 { "_class_wxPoint","_wxPoint",0},
7263 { "_wxRealPoint","_class_wxRealPoint",0},
7264 { "_signed_short","_WXTYPE",0},
7265 { "_signed_short","_short",0},
7266 { "_wxMemoryDC","_class_wxMemoryDC",0},
7267 { "_wxPaintDC","_class_wxPaintDC",0},
7268 { "_class_wxWindowDC","_wxWindowDC",0},
7269 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
7270 { "_class_wxCursor","_wxCursor",0},
7271 { "_unsigned_char","_byte",0},
7272 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
7273 { "_unsigned_int","_wxCoord",0},
7274 { "_unsigned_int","_wxPrintQuality",0},
7275 { "_unsigned_int","_size_t",0},
7276 { "_unsigned_int","_uint",0},
7277 { "_unsigned_int","_wxWindowID",0},
7278 { "_unsigned_int","_int",0},
7279 { "_wxIcon","_class_wxIcon",0},
7280 { "_class_wxPen","_wxPen",0},
7281 { "_short","_WXTYPE",0},
7282 { "_short","_unsigned_short",0},
7283 { "_short","_signed_short",0},
7284 { "_class_wxImageList","_wxImageList",0},
7285 { "_class_wxGDIImage","_class_wxCursor",SwigwxCursorTowxGDIImage
},
7286 { "_class_wxGDIImage","_wxCursor",SwigwxCursorTowxGDIImage
},
7287 { "_class_wxGDIImage","_class_wxIcon",SwigwxIconTowxGDIImage
},
7288 { "_class_wxGDIImage","_wxIcon",SwigwxIconTowxGDIImage
},
7289 { "_class_wxGDIImage","_class_wxBitmap",SwigwxBitmapTowxGDIImage
},
7290 { "_class_wxGDIImage","_wxBitmap",SwigwxBitmapTowxGDIImage
},
7291 { "_class_wxGDIImage","_wxGDIImage",0},
7292 { "_wxWindowID","_wxCoord",0},
7293 { "_wxWindowID","_wxPrintQuality",0},
7294 { "_wxWindowID","_size_t",0},
7295 { "_wxWindowID","_EBool",0},
7296 { "_wxWindowID","_uint",0},
7297 { "_wxWindowID","_int",0},
7298 { "_wxWindowID","_signed_int",0},
7299 { "_wxWindowID","_unsigned_int",0},
7300 { "_int","_wxCoord",0},
7301 { "_int","_wxPrintQuality",0},
7302 { "_int","_size_t",0},
7303 { "_int","_EBool",0},
7304 { "_int","_uint",0},
7305 { "_int","_wxWindowID",0},
7306 { "_int","_unsigned_int",0},
7307 { "_int","_signed_int",0},
7308 { "_wxSize","_class_wxSize",0},
7309 { "_wxRegionIterator","_class_wxRegionIterator",0},
7310 { "_class_wxPrinterDC","_wxPrinterDC",0},
7311 { "_class_wxPaintDC","_wxPaintDC",0},
7312 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
7313 { "_class_wxIcon","_wxIcon",0},
7314 { "_class_wxColour","_wxColour",0},
7315 { "_class_wxScreenDC","_wxScreenDC",0},
7316 { "_wxPalette","_class_wxPalette",0},
7317 { "_wxCoord","_int",0},
7318 { "_wxCoord","_signed_int",0},
7319 { "_wxCoord","_unsigned_int",0},
7320 { "_wxCoord","_wxWindowID",0},
7321 { "_wxCoord","_uint",0},
7322 { "_wxCoord","_EBool",0},
7323 { "_wxCoord","_size_t",0},
7324 { "_wxCoord","_wxPrintQuality",0},
7325 { "_wxRegion","_class_wxRegion",0},
7326 { "_class_wxBusyInfo","_wxBusyInfo",0},
7327 { "_class_wxClientDC","_wxClientDC",0},
7328 { "_class_wxSize","_wxSize",0},
7329 { "_class_wxBitmap","_wxBitmap",0},
7330 { "_class_wxMemoryDC","_wxMemoryDC",0},
7331 { "_wxDash","_unsigned_long",0},
7332 { "_wxDash","_long",0},
7333 { "_class_wxPalette","_wxPalette",0},
7336 static PyObject
*SWIG_globals
;
7340 SWIGEXPORT(void) initgdic() {
7342 SWIG_globals
= SWIG_newvarlink();
7343 m
= Py_InitModule("gdic", gdicMethods
);
7344 d
= PyModule_GetDict(m
);
7345 PyDict_SetItemString(d
,"wxFONTENCODING_SYSTEM", PyInt_FromLong((long) wxFONTENCODING_SYSTEM
));
7346 PyDict_SetItemString(d
,"wxFONTENCODING_DEFAULT", PyInt_FromLong((long) wxFONTENCODING_DEFAULT
));
7347 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_1", PyInt_FromLong((long) wxFONTENCODING_ISO8859_1
));
7348 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_2", PyInt_FromLong((long) wxFONTENCODING_ISO8859_2
));
7349 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_3", PyInt_FromLong((long) wxFONTENCODING_ISO8859_3
));
7350 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_4", PyInt_FromLong((long) wxFONTENCODING_ISO8859_4
));
7351 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_5", PyInt_FromLong((long) wxFONTENCODING_ISO8859_5
));
7352 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_6", PyInt_FromLong((long) wxFONTENCODING_ISO8859_6
));
7353 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_7", PyInt_FromLong((long) wxFONTENCODING_ISO8859_7
));
7354 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_8", PyInt_FromLong((long) wxFONTENCODING_ISO8859_8
));
7355 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_9", PyInt_FromLong((long) wxFONTENCODING_ISO8859_9
));
7356 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_10", PyInt_FromLong((long) wxFONTENCODING_ISO8859_10
));
7357 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_11", PyInt_FromLong((long) wxFONTENCODING_ISO8859_11
));
7358 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_12", PyInt_FromLong((long) wxFONTENCODING_ISO8859_12
));
7359 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_13", PyInt_FromLong((long) wxFONTENCODING_ISO8859_13
));
7360 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_14", PyInt_FromLong((long) wxFONTENCODING_ISO8859_14
));
7361 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_15", PyInt_FromLong((long) wxFONTENCODING_ISO8859_15
));
7362 PyDict_SetItemString(d
,"wxFONTENCODING_KOI8", PyInt_FromLong((long) wxFONTENCODING_KOI8
));
7363 PyDict_SetItemString(d
,"wxFONTENCODING_ALTERNATIVE", PyInt_FromLong((long) wxFONTENCODING_ALTERNATIVE
));
7364 PyDict_SetItemString(d
,"wxFONTENCODING_BULGARIAN", PyInt_FromLong((long) wxFONTENCODING_BULGARIAN
));
7365 PyDict_SetItemString(d
,"wxFONTENCODING_CP437", PyInt_FromLong((long) wxFONTENCODING_CP437
));
7366 PyDict_SetItemString(d
,"wxFONTENCODING_CP850", PyInt_FromLong((long) wxFONTENCODING_CP850
));
7367 PyDict_SetItemString(d
,"wxFONTENCODING_CP852", PyInt_FromLong((long) wxFONTENCODING_CP852
));
7368 PyDict_SetItemString(d
,"wxFONTENCODING_CP855", PyInt_FromLong((long) wxFONTENCODING_CP855
));
7369 PyDict_SetItemString(d
,"wxFONTENCODING_CP866", PyInt_FromLong((long) wxFONTENCODING_CP866
));
7370 PyDict_SetItemString(d
,"wxFONTENCODING_CP1250", PyInt_FromLong((long) wxFONTENCODING_CP1250
));
7371 PyDict_SetItemString(d
,"wxFONTENCODING_CP1251", PyInt_FromLong((long) wxFONTENCODING_CP1251
));
7372 PyDict_SetItemString(d
,"wxFONTENCODING_CP1252", PyInt_FromLong((long) wxFONTENCODING_CP1252
));
7373 PyDict_SetItemString(d
,"wxFONTENCODING_MAX", PyInt_FromLong((long) wxFONTENCODING_MAX
));
7374 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
7375 SWIG_addvarlink(SWIG_globals
,"wxNORMAL_FONT",_wrap_wxNORMAL_FONT_get
, _wrap_wxNORMAL_FONT_set
);
7376 SWIG_addvarlink(SWIG_globals
,"wxSMALL_FONT",_wrap_wxSMALL_FONT_get
, _wrap_wxSMALL_FONT_set
);
7377 SWIG_addvarlink(SWIG_globals
,"wxITALIC_FONT",_wrap_wxITALIC_FONT_get
, _wrap_wxITALIC_FONT_set
);
7378 SWIG_addvarlink(SWIG_globals
,"wxSWISS_FONT",_wrap_wxSWISS_FONT_get
, _wrap_wxSWISS_FONT_set
);
7379 SWIG_addvarlink(SWIG_globals
,"wxRED_PEN",_wrap_wxRED_PEN_get
, _wrap_wxRED_PEN_set
);
7380 SWIG_addvarlink(SWIG_globals
,"wxCYAN_PEN",_wrap_wxCYAN_PEN_get
, _wrap_wxCYAN_PEN_set
);
7381 SWIG_addvarlink(SWIG_globals
,"wxGREEN_PEN",_wrap_wxGREEN_PEN_get
, _wrap_wxGREEN_PEN_set
);
7382 SWIG_addvarlink(SWIG_globals
,"wxBLACK_PEN",_wrap_wxBLACK_PEN_get
, _wrap_wxBLACK_PEN_set
);
7383 SWIG_addvarlink(SWIG_globals
,"wxWHITE_PEN",_wrap_wxWHITE_PEN_get
, _wrap_wxWHITE_PEN_set
);
7384 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_PEN",_wrap_wxTRANSPARENT_PEN_get
, _wrap_wxTRANSPARENT_PEN_set
);
7385 SWIG_addvarlink(SWIG_globals
,"wxBLACK_DASHED_PEN",_wrap_wxBLACK_DASHED_PEN_get
, _wrap_wxBLACK_DASHED_PEN_set
);
7386 SWIG_addvarlink(SWIG_globals
,"wxGREY_PEN",_wrap_wxGREY_PEN_get
, _wrap_wxGREY_PEN_set
);
7387 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_PEN",_wrap_wxMEDIUM_GREY_PEN_get
, _wrap_wxMEDIUM_GREY_PEN_set
);
7388 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_PEN",_wrap_wxLIGHT_GREY_PEN_get
, _wrap_wxLIGHT_GREY_PEN_set
);
7389 SWIG_addvarlink(SWIG_globals
,"wxBLUE_BRUSH",_wrap_wxBLUE_BRUSH_get
, _wrap_wxBLUE_BRUSH_set
);
7390 SWIG_addvarlink(SWIG_globals
,"wxGREEN_BRUSH",_wrap_wxGREEN_BRUSH_get
, _wrap_wxGREEN_BRUSH_set
);
7391 SWIG_addvarlink(SWIG_globals
,"wxWHITE_BRUSH",_wrap_wxWHITE_BRUSH_get
, _wrap_wxWHITE_BRUSH_set
);
7392 SWIG_addvarlink(SWIG_globals
,"wxBLACK_BRUSH",_wrap_wxBLACK_BRUSH_get
, _wrap_wxBLACK_BRUSH_set
);
7393 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_BRUSH",_wrap_wxTRANSPARENT_BRUSH_get
, _wrap_wxTRANSPARENT_BRUSH_set
);
7394 SWIG_addvarlink(SWIG_globals
,"wxCYAN_BRUSH",_wrap_wxCYAN_BRUSH_get
, _wrap_wxCYAN_BRUSH_set
);
7395 SWIG_addvarlink(SWIG_globals
,"wxRED_BRUSH",_wrap_wxRED_BRUSH_get
, _wrap_wxRED_BRUSH_set
);
7396 SWIG_addvarlink(SWIG_globals
,"wxGREY_BRUSH",_wrap_wxGREY_BRUSH_get
, _wrap_wxGREY_BRUSH_set
);
7397 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_BRUSH",_wrap_wxMEDIUM_GREY_BRUSH_get
, _wrap_wxMEDIUM_GREY_BRUSH_set
);
7398 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_BRUSH",_wrap_wxLIGHT_GREY_BRUSH_get
, _wrap_wxLIGHT_GREY_BRUSH_set
);
7399 SWIG_addvarlink(SWIG_globals
,"wxBLACK",_wrap_wxBLACK_get
, _wrap_wxBLACK_set
);
7400 SWIG_addvarlink(SWIG_globals
,"wxWHITE",_wrap_wxWHITE_get
, _wrap_wxWHITE_set
);
7401 SWIG_addvarlink(SWIG_globals
,"wxRED",_wrap_wxRED_get
, _wrap_wxRED_set
);
7402 SWIG_addvarlink(SWIG_globals
,"wxBLUE",_wrap_wxBLUE_get
, _wrap_wxBLUE_set
);
7403 SWIG_addvarlink(SWIG_globals
,"wxGREEN",_wrap_wxGREEN_get
, _wrap_wxGREEN_set
);
7404 SWIG_addvarlink(SWIG_globals
,"wxCYAN",_wrap_wxCYAN_get
, _wrap_wxCYAN_set
);
7405 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY",_wrap_wxLIGHT_GREY_get
, _wrap_wxLIGHT_GREY_set
);
7406 SWIG_addvarlink(SWIG_globals
,"wxSTANDARD_CURSOR",_wrap_wxSTANDARD_CURSOR_get
, _wrap_wxSTANDARD_CURSOR_set
);
7407 SWIG_addvarlink(SWIG_globals
,"wxHOURGLASS_CURSOR",_wrap_wxHOURGLASS_CURSOR_get
, _wrap_wxHOURGLASS_CURSOR_set
);
7408 SWIG_addvarlink(SWIG_globals
,"wxCROSS_CURSOR",_wrap_wxCROSS_CURSOR_get
, _wrap_wxCROSS_CURSOR_set
);
7409 SWIG_addvarlink(SWIG_globals
,"wxNullBitmap",_wrap_wxNullBitmap_get
, _wrap_wxNullBitmap_set
);
7410 SWIG_addvarlink(SWIG_globals
,"wxNullIcon",_wrap_wxNullIcon_get
, _wrap_wxNullIcon_set
);
7411 SWIG_addvarlink(SWIG_globals
,"wxNullCursor",_wrap_wxNullCursor_get
, _wrap_wxNullCursor_set
);
7412 SWIG_addvarlink(SWIG_globals
,"wxNullPen",_wrap_wxNullPen_get
, _wrap_wxNullPen_set
);
7413 SWIG_addvarlink(SWIG_globals
,"wxNullBrush",_wrap_wxNullBrush_get
, _wrap_wxNullBrush_set
);
7414 SWIG_addvarlink(SWIG_globals
,"wxNullPalette",_wrap_wxNullPalette_get
, _wrap_wxNullPalette_set
);
7415 SWIG_addvarlink(SWIG_globals
,"wxNullFont",_wrap_wxNullFont_get
, _wrap_wxNullFont_set
);
7416 SWIG_addvarlink(SWIG_globals
,"wxNullColour",_wrap_wxNullColour_get
, _wrap_wxNullColour_set
);
7417 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_NORMAL", PyInt_FromLong((long) wxIMAGELIST_DRAW_NORMAL
));
7418 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_TRANSPARENT", PyInt_FromLong((long) wxIMAGELIST_DRAW_TRANSPARENT
));
7419 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_SELECTED", PyInt_FromLong((long) wxIMAGELIST_DRAW_SELECTED
));
7420 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_FOCUSED", PyInt_FromLong((long) wxIMAGELIST_DRAW_FOCUSED
));
7421 PyDict_SetItemString(d
,"wxIMAGE_LIST_NORMAL", PyInt_FromLong((long) wxIMAGE_LIST_NORMAL
));
7422 PyDict_SetItemString(d
,"wxIMAGE_LIST_SMALL", PyInt_FromLong((long) wxIMAGE_LIST_SMALL
));
7423 PyDict_SetItemString(d
,"wxIMAGE_LIST_STATE", PyInt_FromLong((long) wxIMAGE_LIST_STATE
));
7426 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
7427 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);