4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 810)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
47 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
48 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initgdic
54 #define SWIG_name "gdic"
57 #include <wx/metafile.h>
58 #include <wx/imaglist.h>
63 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
68 } else if (target
== Py_None
) {
72 if (!PyList_Check(target
)) {
74 target
= PyList_New(0);
75 PyList_Append(target
, o2
);
78 PyList_Append(target
,o
);
84 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
90 } else if (target
== Py_None
) {
94 if (!PyTuple_Check(target
)) {
96 target
= PyTuple_New(1);
97 PyTuple_SetItem(target
, 0, o2
);
100 PyTuple_SetItem(o3
, 0, o
);
103 target
= PySequence_Concat(o2
, o3
);
110 static char* wxStringErrorMsg
= "string type is required for parameter";
111 // Alternate 'constructor'
112 wxBitmap
* wxEmptyBitmap(int width
, int height
, int depth
=-1) {
113 return new wxBitmap(width
, height
, depth
);
116 // This one won't own the reference, so Python
117 // won't call the dtor, this is good for
118 // toolbars and such where the parent will
119 // manage the bitmap.
120 wxBitmap
* wxNoRefBitmap(char* name
, long flags
) {
121 return new wxBitmap(name
, flags
);
125 wxBitmap
* wxBitmapFromData(char* data
, long type
,
126 int width
, int height
, int depth
= 1) {
127 return new wxBitmap((void*)data
, type
, width
, height
, depth
);
131 wxMask
* wxMaskColour(const wxBitmap
& bitmap
, const wxColour
& colour
) {
132 return new wxMask(bitmap
, colour
);
134 // Alternate 'constructor'
135 wxCursor
* wxPyStockCursor(int id
) {
136 return new wxCursor(id
);
139 wxFontEncoding
wxFont_GetDefaultEncoding() {
140 return wxFont::GetDefaultEncoding();
143 void wxFont_SetDefaultEncoding(wxFontEncoding encoding
) {
144 wxFont::SetDefaultEncoding(encoding
);
146 // Alternate 'constructor'
147 wxColour
* wxNamedColour(const wxString
& colorName
) {
148 return new wxColour(colorName
);
150 // Alternate 'constructor'
151 wxMemoryDC
* wxMemoryDCFromDC(wxDC
* oldDC
) {
152 return new wxMemoryDC(oldDC
);
156 extern wxFont
* wxNORMAL_FONT
;
157 extern wxFont
* wxSMALL_FONT
;
158 extern wxFont
* wxITALIC_FONT
;
159 extern wxFont
* wxSWISS_FONT
;
160 extern wxPen
* wxRED_PEN
;
161 extern wxPen
* wxCYAN_PEN
;
162 extern wxPen
* wxGREEN_PEN
;
163 extern wxPen
* wxBLACK_PEN
;
164 extern wxPen
* wxWHITE_PEN
;
165 extern wxPen
* wxTRANSPARENT_PEN
;
166 extern wxPen
* wxBLACK_DASHED_PEN
;
167 extern wxPen
* wxGREY_PEN
;
168 extern wxPen
* wxMEDIUM_GREY_PEN
;
169 extern wxPen
* wxLIGHT_GREY_PEN
;
170 extern wxBrush
* wxBLUE_BRUSH
;
171 extern wxBrush
* wxGREEN_BRUSH
;
172 extern wxBrush
* wxWHITE_BRUSH
;
173 extern wxBrush
* wxBLACK_BRUSH
;
174 extern wxBrush
* wxTRANSPARENT_BRUSH
;
175 extern wxBrush
* wxCYAN_BRUSH
;
176 extern wxBrush
* wxRED_BRUSH
;
177 extern wxBrush
* wxGREY_BRUSH
;
178 extern wxBrush
* wxMEDIUM_GREY_BRUSH
;
179 extern wxBrush
* wxLIGHT_GREY_BRUSH
;
180 extern wxColour
* wxBLACK
;
181 extern wxColour
* wxWHITE
;
182 extern wxColour
* wxRED
;
183 extern wxColour
* wxBLUE
;
184 extern wxColour
* wxGREEN
;
185 extern wxColour
* wxCYAN
;
186 extern wxColour
* wxLIGHT_GREY
;
187 extern wxCursor
* wxSTANDARD_CURSOR
;
188 extern wxCursor
* wxHOURGLASS_CURSOR
;
189 extern wxCursor
* wxCROSS_CURSOR
;
190 extern wxBitmap wxNullBitmap
;
191 extern wxIcon wxNullIcon
;
192 extern wxCursor wxNullCursor
;
193 extern wxPen wxNullPen
;
194 extern wxBrush wxNullBrush
;
195 extern wxPalette wxNullPalette
;
196 extern wxFont wxNullFont
;
197 extern wxColour wxNullColour
;
203 static PyObject
*_wrap_wxEmptyBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
204 PyObject
* _resultobj
;
208 int _arg2
= (int ) -1;
209 char *_kwnames
[] = { "width","height","depth", NULL
};
213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ii|i:wxEmptyBitmap",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
216 wxPy_BEGIN_ALLOW_THREADS
;
217 _result
= (wxBitmap
*)wxEmptyBitmap(_arg0
,_arg1
,_arg2
);
219 wxPy_END_ALLOW_THREADS
;
221 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
222 _resultobj
= Py_BuildValue("s",_ptemp
);
225 _resultobj
= Py_None
;
230 static PyObject
*_wrap_wxNoRefBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
231 PyObject
* _resultobj
;
235 char *_kwnames
[] = { "name","flags", NULL
};
239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"sl:wxNoRefBitmap",_kwnames
,&_arg0
,&_arg1
))
242 wxPy_BEGIN_ALLOW_THREADS
;
243 _result
= (wxBitmap
*)wxNoRefBitmap(_arg0
,_arg1
);
245 wxPy_END_ALLOW_THREADS
;
247 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
248 _resultobj
= Py_BuildValue("s",_ptemp
);
251 _resultobj
= Py_None
;
256 static PyObject
*_wrap_wxMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
257 PyObject
* _resultobj
;
261 PyObject
* _argo0
= 0;
262 PyObject
* _argo1
= 0;
263 char *_kwnames
[] = { "bitmap","colour", NULL
};
267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMaskColour",_kwnames
,&_argo0
,&_argo1
))
270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMaskColour. Expected _wxBitmap_p.");
277 if (_argo1
== Py_None
) { _arg1
= NULL
; }
278 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMaskColour. Expected _wxColour_p.");
284 wxPy_BEGIN_ALLOW_THREADS
;
285 _result
= (wxMask
*)wxMaskColour(*_arg0
,*_arg1
);
287 wxPy_END_ALLOW_THREADS
;
289 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
290 _resultobj
= Py_BuildValue("s",_ptemp
);
293 _resultobj
= Py_None
;
298 static PyObject
*_wrap_wxStockCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
299 PyObject
* _resultobj
;
302 char *_kwnames
[] = { "id", NULL
};
306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxStockCursor",_kwnames
,&_arg0
))
309 wxPy_BEGIN_ALLOW_THREADS
;
310 _result
= (wxCursor
*)wxPyStockCursor(_arg0
);
312 wxPy_END_ALLOW_THREADS
;
314 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCursor_p");
315 _resultobj
= Py_BuildValue("s",_ptemp
);
318 _resultobj
= Py_None
;
323 static PyObject
*_wrap_wxFont_GetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
324 PyObject
* _resultobj
;
325 wxFontEncoding _result
;
326 char *_kwnames
[] = { NULL
};
329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFont_GetDefaultEncoding",_kwnames
))
332 wxPy_BEGIN_ALLOW_THREADS
;
333 _result
= (wxFontEncoding
)wxFont_GetDefaultEncoding();
335 wxPy_END_ALLOW_THREADS
;
336 } _resultobj
= Py_BuildValue("i",_result
);
340 static PyObject
*_wrap_wxFont_SetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
341 PyObject
* _resultobj
;
342 wxFontEncoding _arg0
;
343 char *_kwnames
[] = { "encoding", NULL
};
346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxFont_SetDefaultEncoding",_kwnames
,&_arg0
))
349 wxPy_BEGIN_ALLOW_THREADS
;
350 wxFont_SetDefaultEncoding(_arg0
);
352 wxPy_END_ALLOW_THREADS
;
353 } Py_INCREF(Py_None
);
354 _resultobj
= Py_None
;
358 static PyObject
*_wrap_wxNamedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
359 PyObject
* _resultobj
;
362 PyObject
* _obj0
= 0;
363 char *_kwnames
[] = { "colorName", NULL
};
367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNamedColour",_kwnames
,&_obj0
))
370 if (!PyString_Check(_obj0
)) {
371 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
374 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
377 wxPy_BEGIN_ALLOW_THREADS
;
378 _result
= (wxColour
*)wxNamedColour(*_arg0
);
380 wxPy_END_ALLOW_THREADS
;
382 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
383 _resultobj
= Py_BuildValue("s",_ptemp
);
386 _resultobj
= Py_None
;
395 static PyObject
*_wrap_wxMemoryDCFromDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
396 PyObject
* _resultobj
;
397 wxMemoryDC
* _result
;
399 PyObject
* _argo0
= 0;
400 char *_kwnames
[] = { "oldDC", NULL
};
404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMemoryDCFromDC",_kwnames
,&_argo0
))
407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDCFromDC. Expected _wxDC_p.");
414 wxPy_BEGIN_ALLOW_THREADS
;
415 _result
= (wxMemoryDC
*)wxMemoryDCFromDC(_arg0
);
417 wxPy_END_ALLOW_THREADS
;
419 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
420 _resultobj
= Py_BuildValue("s",_ptemp
);
423 _resultobj
= Py_None
;
428 static int _wrap_wxNORMAL_FONT_set(PyObject
*val
) {
430 PyErr_SetString(PyExc_TypeError
,"Variable wxNORMAL_FONT is read-only.");
434 static PyObject
*_wrap_wxNORMAL_FONT_get() {
438 SWIG_MakePtr(ptemp
, (char *) wxNORMAL_FONT
,"_wxFont_p");
439 pyobj
= PyString_FromString(ptemp
);
443 static int _wrap_wxSMALL_FONT_set(PyObject
*val
) {
445 PyErr_SetString(PyExc_TypeError
,"Variable wxSMALL_FONT is read-only.");
449 static PyObject
*_wrap_wxSMALL_FONT_get() {
453 SWIG_MakePtr(ptemp
, (char *) wxSMALL_FONT
,"_wxFont_p");
454 pyobj
= PyString_FromString(ptemp
);
458 static int _wrap_wxITALIC_FONT_set(PyObject
*val
) {
460 PyErr_SetString(PyExc_TypeError
,"Variable wxITALIC_FONT is read-only.");
464 static PyObject
*_wrap_wxITALIC_FONT_get() {
468 SWIG_MakePtr(ptemp
, (char *) wxITALIC_FONT
,"_wxFont_p");
469 pyobj
= PyString_FromString(ptemp
);
473 static int _wrap_wxSWISS_FONT_set(PyObject
*val
) {
475 PyErr_SetString(PyExc_TypeError
,"Variable wxSWISS_FONT is read-only.");
479 static PyObject
*_wrap_wxSWISS_FONT_get() {
483 SWIG_MakePtr(ptemp
, (char *) wxSWISS_FONT
,"_wxFont_p");
484 pyobj
= PyString_FromString(ptemp
);
488 static int _wrap_wxRED_PEN_set(PyObject
*val
) {
490 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_PEN is read-only.");
494 static PyObject
*_wrap_wxRED_PEN_get() {
498 SWIG_MakePtr(ptemp
, (char *) wxRED_PEN
,"_wxPen_p");
499 pyobj
= PyString_FromString(ptemp
);
503 static int _wrap_wxCYAN_PEN_set(PyObject
*val
) {
505 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_PEN is read-only.");
509 static PyObject
*_wrap_wxCYAN_PEN_get() {
513 SWIG_MakePtr(ptemp
, (char *) wxCYAN_PEN
,"_wxPen_p");
514 pyobj
= PyString_FromString(ptemp
);
518 static int _wrap_wxGREEN_PEN_set(PyObject
*val
) {
520 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_PEN is read-only.");
524 static PyObject
*_wrap_wxGREEN_PEN_get() {
528 SWIG_MakePtr(ptemp
, (char *) wxGREEN_PEN
,"_wxPen_p");
529 pyobj
= PyString_FromString(ptemp
);
533 static int _wrap_wxBLACK_PEN_set(PyObject
*val
) {
535 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_PEN is read-only.");
539 static PyObject
*_wrap_wxBLACK_PEN_get() {
543 SWIG_MakePtr(ptemp
, (char *) wxBLACK_PEN
,"_wxPen_p");
544 pyobj
= PyString_FromString(ptemp
);
548 static int _wrap_wxWHITE_PEN_set(PyObject
*val
) {
550 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_PEN is read-only.");
554 static PyObject
*_wrap_wxWHITE_PEN_get() {
558 SWIG_MakePtr(ptemp
, (char *) wxWHITE_PEN
,"_wxPen_p");
559 pyobj
= PyString_FromString(ptemp
);
563 static int _wrap_wxTRANSPARENT_PEN_set(PyObject
*val
) {
565 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_PEN is read-only.");
569 static PyObject
*_wrap_wxTRANSPARENT_PEN_get() {
573 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_PEN
,"_wxPen_p");
574 pyobj
= PyString_FromString(ptemp
);
578 static int _wrap_wxBLACK_DASHED_PEN_set(PyObject
*val
) {
580 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_DASHED_PEN is read-only.");
584 static PyObject
*_wrap_wxBLACK_DASHED_PEN_get() {
588 SWIG_MakePtr(ptemp
, (char *) wxBLACK_DASHED_PEN
,"_wxPen_p");
589 pyobj
= PyString_FromString(ptemp
);
593 static int _wrap_wxGREY_PEN_set(PyObject
*val
) {
595 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_PEN is read-only.");
599 static PyObject
*_wrap_wxGREY_PEN_get() {
603 SWIG_MakePtr(ptemp
, (char *) wxGREY_PEN
,"_wxPen_p");
604 pyobj
= PyString_FromString(ptemp
);
608 static int _wrap_wxMEDIUM_GREY_PEN_set(PyObject
*val
) {
610 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_PEN is read-only.");
614 static PyObject
*_wrap_wxMEDIUM_GREY_PEN_get() {
618 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_PEN
,"_wxPen_p");
619 pyobj
= PyString_FromString(ptemp
);
623 static int _wrap_wxLIGHT_GREY_PEN_set(PyObject
*val
) {
625 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_PEN is read-only.");
629 static PyObject
*_wrap_wxLIGHT_GREY_PEN_get() {
633 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_PEN
,"_wxPen_p");
634 pyobj
= PyString_FromString(ptemp
);
638 static int _wrap_wxBLUE_BRUSH_set(PyObject
*val
) {
640 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE_BRUSH is read-only.");
644 static PyObject
*_wrap_wxBLUE_BRUSH_get() {
648 SWIG_MakePtr(ptemp
, (char *) wxBLUE_BRUSH
,"_wxBrush_p");
649 pyobj
= PyString_FromString(ptemp
);
653 static int _wrap_wxGREEN_BRUSH_set(PyObject
*val
) {
655 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_BRUSH is read-only.");
659 static PyObject
*_wrap_wxGREEN_BRUSH_get() {
663 SWIG_MakePtr(ptemp
, (char *) wxGREEN_BRUSH
,"_wxBrush_p");
664 pyobj
= PyString_FromString(ptemp
);
668 static int _wrap_wxWHITE_BRUSH_set(PyObject
*val
) {
670 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_BRUSH is read-only.");
674 static PyObject
*_wrap_wxWHITE_BRUSH_get() {
678 SWIG_MakePtr(ptemp
, (char *) wxWHITE_BRUSH
,"_wxBrush_p");
679 pyobj
= PyString_FromString(ptemp
);
683 static int _wrap_wxBLACK_BRUSH_set(PyObject
*val
) {
685 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_BRUSH is read-only.");
689 static PyObject
*_wrap_wxBLACK_BRUSH_get() {
693 SWIG_MakePtr(ptemp
, (char *) wxBLACK_BRUSH
,"_wxBrush_p");
694 pyobj
= PyString_FromString(ptemp
);
698 static int _wrap_wxTRANSPARENT_BRUSH_set(PyObject
*val
) {
700 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_BRUSH is read-only.");
704 static PyObject
*_wrap_wxTRANSPARENT_BRUSH_get() {
708 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_BRUSH
,"_wxBrush_p");
709 pyobj
= PyString_FromString(ptemp
);
713 static int _wrap_wxCYAN_BRUSH_set(PyObject
*val
) {
715 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_BRUSH is read-only.");
719 static PyObject
*_wrap_wxCYAN_BRUSH_get() {
723 SWIG_MakePtr(ptemp
, (char *) wxCYAN_BRUSH
,"_wxBrush_p");
724 pyobj
= PyString_FromString(ptemp
);
728 static int _wrap_wxRED_BRUSH_set(PyObject
*val
) {
730 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_BRUSH is read-only.");
734 static PyObject
*_wrap_wxRED_BRUSH_get() {
738 SWIG_MakePtr(ptemp
, (char *) wxRED_BRUSH
,"_wxBrush_p");
739 pyobj
= PyString_FromString(ptemp
);
743 static int _wrap_wxGREY_BRUSH_set(PyObject
*val
) {
745 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_BRUSH is read-only.");
749 static PyObject
*_wrap_wxGREY_BRUSH_get() {
753 SWIG_MakePtr(ptemp
, (char *) wxGREY_BRUSH
,"_wxBrush_p");
754 pyobj
= PyString_FromString(ptemp
);
758 static int _wrap_wxMEDIUM_GREY_BRUSH_set(PyObject
*val
) {
760 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_BRUSH is read-only.");
764 static PyObject
*_wrap_wxMEDIUM_GREY_BRUSH_get() {
768 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_BRUSH
,"_wxBrush_p");
769 pyobj
= PyString_FromString(ptemp
);
773 static int _wrap_wxLIGHT_GREY_BRUSH_set(PyObject
*val
) {
775 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_BRUSH is read-only.");
779 static PyObject
*_wrap_wxLIGHT_GREY_BRUSH_get() {
783 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_BRUSH
,"_wxBrush_p");
784 pyobj
= PyString_FromString(ptemp
);
788 static int _wrap_wxBLACK_set(PyObject
*val
) {
790 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK is read-only.");
794 static PyObject
*_wrap_wxBLACK_get() {
798 SWIG_MakePtr(ptemp
, (char *) wxBLACK
,"_wxColour_p");
799 pyobj
= PyString_FromString(ptemp
);
803 static int _wrap_wxWHITE_set(PyObject
*val
) {
805 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE is read-only.");
809 static PyObject
*_wrap_wxWHITE_get() {
813 SWIG_MakePtr(ptemp
, (char *) wxWHITE
,"_wxColour_p");
814 pyobj
= PyString_FromString(ptemp
);
818 static int _wrap_wxRED_set(PyObject
*val
) {
820 PyErr_SetString(PyExc_TypeError
,"Variable wxRED is read-only.");
824 static PyObject
*_wrap_wxRED_get() {
828 SWIG_MakePtr(ptemp
, (char *) wxRED
,"_wxColour_p");
829 pyobj
= PyString_FromString(ptemp
);
833 static int _wrap_wxBLUE_set(PyObject
*val
) {
835 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE is read-only.");
839 static PyObject
*_wrap_wxBLUE_get() {
843 SWIG_MakePtr(ptemp
, (char *) wxBLUE
,"_wxColour_p");
844 pyobj
= PyString_FromString(ptemp
);
848 static int _wrap_wxGREEN_set(PyObject
*val
) {
850 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN is read-only.");
854 static PyObject
*_wrap_wxGREEN_get() {
858 SWIG_MakePtr(ptemp
, (char *) wxGREEN
,"_wxColour_p");
859 pyobj
= PyString_FromString(ptemp
);
863 static int _wrap_wxCYAN_set(PyObject
*val
) {
865 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN is read-only.");
869 static PyObject
*_wrap_wxCYAN_get() {
873 SWIG_MakePtr(ptemp
, (char *) wxCYAN
,"_wxColour_p");
874 pyobj
= PyString_FromString(ptemp
);
878 static int _wrap_wxLIGHT_GREY_set(PyObject
*val
) {
880 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY is read-only.");
884 static PyObject
*_wrap_wxLIGHT_GREY_get() {
888 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY
,"_wxColour_p");
889 pyobj
= PyString_FromString(ptemp
);
893 static int _wrap_wxSTANDARD_CURSOR_set(PyObject
*val
) {
895 PyErr_SetString(PyExc_TypeError
,"Variable wxSTANDARD_CURSOR is read-only.");
899 static PyObject
*_wrap_wxSTANDARD_CURSOR_get() {
903 SWIG_MakePtr(ptemp
, (char *) wxSTANDARD_CURSOR
,"_wxCursor_p");
904 pyobj
= PyString_FromString(ptemp
);
908 static int _wrap_wxHOURGLASS_CURSOR_set(PyObject
*val
) {
910 PyErr_SetString(PyExc_TypeError
,"Variable wxHOURGLASS_CURSOR is read-only.");
914 static PyObject
*_wrap_wxHOURGLASS_CURSOR_get() {
918 SWIG_MakePtr(ptemp
, (char *) wxHOURGLASS_CURSOR
,"_wxCursor_p");
919 pyobj
= PyString_FromString(ptemp
);
923 static int _wrap_wxCROSS_CURSOR_set(PyObject
*val
) {
925 PyErr_SetString(PyExc_TypeError
,"Variable wxCROSS_CURSOR is read-only.");
929 static PyObject
*_wrap_wxCROSS_CURSOR_get() {
933 SWIG_MakePtr(ptemp
, (char *) wxCROSS_CURSOR
,"_wxCursor_p");
934 pyobj
= PyString_FromString(ptemp
);
938 static int _wrap_wxNullBitmap_set(PyObject
*val
) {
940 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBitmap is read-only.");
944 static PyObject
*_wrap_wxNullBitmap_get() {
948 SWIG_MakePtr(ptemp
,(char *) &wxNullBitmap
,"_wxBitmap_p");
949 pyobj
= PyString_FromString(ptemp
);
953 static int _wrap_wxNullIcon_set(PyObject
*val
) {
955 PyErr_SetString(PyExc_TypeError
,"Variable wxNullIcon is read-only.");
959 static PyObject
*_wrap_wxNullIcon_get() {
963 SWIG_MakePtr(ptemp
,(char *) &wxNullIcon
,"_wxIcon_p");
964 pyobj
= PyString_FromString(ptemp
);
968 static int _wrap_wxNullCursor_set(PyObject
*val
) {
970 PyErr_SetString(PyExc_TypeError
,"Variable wxNullCursor is read-only.");
974 static PyObject
*_wrap_wxNullCursor_get() {
978 SWIG_MakePtr(ptemp
,(char *) &wxNullCursor
,"_wxCursor_p");
979 pyobj
= PyString_FromString(ptemp
);
983 static int _wrap_wxNullPen_set(PyObject
*val
) {
985 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPen is read-only.");
989 static PyObject
*_wrap_wxNullPen_get() {
993 SWIG_MakePtr(ptemp
,(char *) &wxNullPen
,"_wxPen_p");
994 pyobj
= PyString_FromString(ptemp
);
998 static int _wrap_wxNullBrush_set(PyObject
*val
) {
1000 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBrush is read-only.");
1004 static PyObject
*_wrap_wxNullBrush_get() {
1008 SWIG_MakePtr(ptemp
,(char *) &wxNullBrush
,"_wxBrush_p");
1009 pyobj
= PyString_FromString(ptemp
);
1013 static int _wrap_wxNullPalette_set(PyObject
*val
) {
1015 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPalette is read-only.");
1019 static PyObject
*_wrap_wxNullPalette_get() {
1023 SWIG_MakePtr(ptemp
,(char *) &wxNullPalette
,"_wxPalette_p");
1024 pyobj
= PyString_FromString(ptemp
);
1028 static int _wrap_wxNullFont_set(PyObject
*val
) {
1030 PyErr_SetString(PyExc_TypeError
,"Variable wxNullFont is read-only.");
1034 static PyObject
*_wrap_wxNullFont_get() {
1038 SWIG_MakePtr(ptemp
,(char *) &wxNullFont
,"_wxFont_p");
1039 pyobj
= PyString_FromString(ptemp
);
1043 static int _wrap_wxNullColour_set(PyObject
*val
) {
1045 PyErr_SetString(PyExc_TypeError
,"Variable wxNullColour is read-only.");
1049 static PyObject
*_wrap_wxNullColour_get() {
1053 SWIG_MakePtr(ptemp
,(char *) &wxNullColour
,"_wxColour_p");
1054 pyobj
= PyString_FromString(ptemp
);
1058 #define new_wxBitmap(_swigarg0,_swigarg1) (new wxBitmap(_swigarg0,_swigarg1))
1059 static PyObject
*_wrap_new_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1060 PyObject
* _resultobj
;
1064 PyObject
* _obj0
= 0;
1065 char *_kwnames
[] = { "name","type", NULL
};
1069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:new_wxBitmap",_kwnames
,&_obj0
,&_arg1
))
1072 if (!PyString_Check(_obj0
)) {
1073 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1076 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
1079 wxPy_BEGIN_ALLOW_THREADS
;
1080 _result
= (wxBitmap
*)new_wxBitmap(*_arg0
,_arg1
);
1082 wxPy_END_ALLOW_THREADS
;
1084 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1085 _resultobj
= Py_BuildValue("s",_ptemp
);
1088 _resultobj
= Py_None
;
1097 #define delete_wxBitmap(_swigobj) (delete _swigobj)
1098 static PyObject
*_wrap_delete_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1099 PyObject
* _resultobj
;
1101 PyObject
* _argo0
= 0;
1102 char *_kwnames
[] = { "self", NULL
};
1105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBitmap",_kwnames
,&_argo0
))
1108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBitmap. Expected _wxBitmap_p.");
1115 wxPy_BEGIN_ALLOW_THREADS
;
1116 delete_wxBitmap(_arg0
);
1118 wxPy_END_ALLOW_THREADS
;
1119 } Py_INCREF(Py_None
);
1120 _resultobj
= Py_None
;
1124 #define wxBitmap_GetDepth(_swigobj) (_swigobj->GetDepth())
1125 static PyObject
*_wrap_wxBitmap_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1126 PyObject
* _resultobj
;
1129 PyObject
* _argo0
= 0;
1130 char *_kwnames
[] = { "self", NULL
};
1133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetDepth",_kwnames
,&_argo0
))
1136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetDepth. Expected _wxBitmap_p.");
1143 wxPy_BEGIN_ALLOW_THREADS
;
1144 _result
= (int )wxBitmap_GetDepth(_arg0
);
1146 wxPy_END_ALLOW_THREADS
;
1147 } _resultobj
= Py_BuildValue("i",_result
);
1151 #define wxBitmap_GetHeight(_swigobj) (_swigobj->GetHeight())
1152 static PyObject
*_wrap_wxBitmap_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1153 PyObject
* _resultobj
;
1156 PyObject
* _argo0
= 0;
1157 char *_kwnames
[] = { "self", NULL
};
1160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetHeight",_kwnames
,&_argo0
))
1163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetHeight. Expected _wxBitmap_p.");
1170 wxPy_BEGIN_ALLOW_THREADS
;
1171 _result
= (int )wxBitmap_GetHeight(_arg0
);
1173 wxPy_END_ALLOW_THREADS
;
1174 } _resultobj
= Py_BuildValue("i",_result
);
1178 #define wxBitmap_GetPalette(_swigobj) (_swigobj->GetPalette())
1179 static PyObject
*_wrap_wxBitmap_GetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1180 PyObject
* _resultobj
;
1181 wxPalette
* _result
;
1183 PyObject
* _argo0
= 0;
1184 char *_kwnames
[] = { "self", NULL
};
1188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetPalette",_kwnames
,&_argo0
))
1191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetPalette. Expected _wxBitmap_p.");
1198 wxPy_BEGIN_ALLOW_THREADS
;
1199 _result
= (wxPalette
*)wxBitmap_GetPalette(_arg0
);
1201 wxPy_END_ALLOW_THREADS
;
1203 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
1204 _resultobj
= Py_BuildValue("s",_ptemp
);
1207 _resultobj
= Py_None
;
1212 #define wxBitmap_GetMask(_swigobj) (_swigobj->GetMask())
1213 static PyObject
*_wrap_wxBitmap_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1214 PyObject
* _resultobj
;
1217 PyObject
* _argo0
= 0;
1218 char *_kwnames
[] = { "self", NULL
};
1222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetMask",_kwnames
,&_argo0
))
1225 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1226 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetMask. Expected _wxBitmap_p.");
1232 wxPy_BEGIN_ALLOW_THREADS
;
1233 _result
= (wxMask
*)wxBitmap_GetMask(_arg0
);
1235 wxPy_END_ALLOW_THREADS
;
1237 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
1238 _resultobj
= Py_BuildValue("s",_ptemp
);
1241 _resultobj
= Py_None
;
1246 #define wxBitmap_GetWidth(_swigobj) (_swigobj->GetWidth())
1247 static PyObject
*_wrap_wxBitmap_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1248 PyObject
* _resultobj
;
1251 PyObject
* _argo0
= 0;
1252 char *_kwnames
[] = { "self", NULL
};
1255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetWidth",_kwnames
,&_argo0
))
1258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetWidth. Expected _wxBitmap_p.");
1265 wxPy_BEGIN_ALLOW_THREADS
;
1266 _result
= (int )wxBitmap_GetWidth(_arg0
);
1268 wxPy_END_ALLOW_THREADS
;
1269 } _resultobj
= Py_BuildValue("i",_result
);
1273 #define wxBitmap_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1274 static PyObject
*_wrap_wxBitmap_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1275 PyObject
* _resultobj
;
1280 PyObject
* _argo0
= 0;
1281 PyObject
* _obj1
= 0;
1282 char *_kwnames
[] = { "self","name","flags", NULL
};
1285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOl:wxBitmap_LoadFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_LoadFile. Expected _wxBitmap_p.");
1295 if (!PyString_Check(_obj1
)) {
1296 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1299 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1302 wxPy_BEGIN_ALLOW_THREADS
;
1303 _result
= (bool )wxBitmap_LoadFile(_arg0
,*_arg1
,_arg2
);
1305 wxPy_END_ALLOW_THREADS
;
1306 } _resultobj
= Py_BuildValue("i",_result
);
1314 #define wxBitmap_Ok(_swigobj) (_swigobj->Ok())
1315 static PyObject
*_wrap_wxBitmap_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1316 PyObject
* _resultobj
;
1319 PyObject
* _argo0
= 0;
1320 char *_kwnames
[] = { "self", NULL
};
1323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_Ok",_kwnames
,&_argo0
))
1326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_Ok. Expected _wxBitmap_p.");
1333 wxPy_BEGIN_ALLOW_THREADS
;
1334 _result
= (bool )wxBitmap_Ok(_arg0
);
1336 wxPy_END_ALLOW_THREADS
;
1337 } _resultobj
= Py_BuildValue("i",_result
);
1341 #define wxBitmap_SaveFile(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SaveFile(_swigarg0,_swigarg1,_swigarg2))
1342 static PyObject
*_wrap_wxBitmap_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1343 PyObject
* _resultobj
;
1348 wxPalette
* _arg3
= (wxPalette
*) NULL
;
1349 PyObject
* _argo0
= 0;
1350 PyObject
* _obj1
= 0;
1351 PyObject
* _argo3
= 0;
1352 char *_kwnames
[] = { "self","name","type","palette", NULL
};
1355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|O:wxBitmap_SaveFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_argo3
))
1358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SaveFile. Expected _wxBitmap_p.");
1365 if (!PyString_Check(_obj1
)) {
1366 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1369 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1372 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1373 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxPalette_p")) {
1374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxBitmap_SaveFile. Expected _wxPalette_p.");
1379 wxPy_BEGIN_ALLOW_THREADS
;
1380 _result
= (bool )wxBitmap_SaveFile(_arg0
,*_arg1
,_arg2
,_arg3
);
1382 wxPy_END_ALLOW_THREADS
;
1383 } _resultobj
= Py_BuildValue("i",_result
);
1391 #define wxBitmap_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
1392 static PyObject
*_wrap_wxBitmap_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1393 PyObject
* _resultobj
;
1396 PyObject
* _argo0
= 0;
1397 char *_kwnames
[] = { "self","depth", NULL
};
1400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetDepth",_kwnames
,&_argo0
,&_arg1
))
1403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetDepth. Expected _wxBitmap_p.");
1410 wxPy_BEGIN_ALLOW_THREADS
;
1411 wxBitmap_SetDepth(_arg0
,_arg1
);
1413 wxPy_END_ALLOW_THREADS
;
1414 } Py_INCREF(Py_None
);
1415 _resultobj
= Py_None
;
1419 #define wxBitmap_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1420 static PyObject
*_wrap_wxBitmap_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1421 PyObject
* _resultobj
;
1424 PyObject
* _argo0
= 0;
1425 char *_kwnames
[] = { "self","height", NULL
};
1428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetHeight",_kwnames
,&_argo0
,&_arg1
))
1431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetHeight. Expected _wxBitmap_p.");
1438 wxPy_BEGIN_ALLOW_THREADS
;
1439 wxBitmap_SetHeight(_arg0
,_arg1
);
1441 wxPy_END_ALLOW_THREADS
;
1442 } Py_INCREF(Py_None
);
1443 _resultobj
= Py_None
;
1447 #define wxBitmap_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
1448 static PyObject
*_wrap_wxBitmap_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1449 PyObject
* _resultobj
;
1452 PyObject
* _argo0
= 0;
1453 PyObject
* _argo1
= 0;
1454 char *_kwnames
[] = { "self","mask", NULL
};
1457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_SetMask",_kwnames
,&_argo0
,&_argo1
))
1460 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1461 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetMask. Expected _wxBitmap_p.");
1467 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1468 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMask_p")) {
1469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_SetMask. Expected _wxMask_p.");
1474 wxPy_BEGIN_ALLOW_THREADS
;
1475 wxBitmap_SetMask(_arg0
,_arg1
);
1477 wxPy_END_ALLOW_THREADS
;
1478 } Py_INCREF(Py_None
);
1479 _resultobj
= Py_None
;
1483 #define wxBitmap_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1484 static PyObject
*_wrap_wxBitmap_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1485 PyObject
* _resultobj
;
1488 PyObject
* _argo0
= 0;
1489 char *_kwnames
[] = { "self","width", NULL
};
1492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetWidth",_kwnames
,&_argo0
,&_arg1
))
1495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetWidth. Expected _wxBitmap_p.");
1502 wxPy_BEGIN_ALLOW_THREADS
;
1503 wxBitmap_SetWidth(_arg0
,_arg1
);
1505 wxPy_END_ALLOW_THREADS
;
1506 } Py_INCREF(Py_None
);
1507 _resultobj
= Py_None
;
1511 #define new_wxMask(_swigarg0) (new wxMask(_swigarg0))
1512 static PyObject
*_wrap_new_wxMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1513 PyObject
* _resultobj
;
1516 PyObject
* _argo0
= 0;
1517 char *_kwnames
[] = { "bitmap", NULL
};
1521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxMask",_kwnames
,&_argo0
))
1524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMask. Expected _wxBitmap_p.");
1531 wxPy_BEGIN_ALLOW_THREADS
;
1532 _result
= (wxMask
*)new_wxMask(*_arg0
);
1534 wxPy_END_ALLOW_THREADS
;
1536 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
1537 _resultobj
= Py_BuildValue("s",_ptemp
);
1540 _resultobj
= Py_None
;
1545 #define delete_wxMask(_swigobj) (delete _swigobj)
1546 static PyObject
*_wrap_delete_wxMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1547 PyObject
* _resultobj
;
1549 PyObject
* _argo0
= 0;
1550 char *_kwnames
[] = { "self", NULL
};
1553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMask",_kwnames
,&_argo0
))
1556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMask_p")) {
1558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMask. Expected _wxMask_p.");
1563 wxPy_BEGIN_ALLOW_THREADS
;
1564 delete_wxMask(_arg0
);
1566 wxPy_END_ALLOW_THREADS
;
1567 } Py_INCREF(Py_None
);
1568 _resultobj
= Py_None
;
1572 static void *SwigwxIconTowxBitmap(void *ptr
) {
1575 src
= (wxIcon
*) ptr
;
1576 dest
= (wxBitmap
*) src
;
1577 return (void *) dest
;
1580 #define new_wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1581 static PyObject
*_wrap_new_wxIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1582 PyObject
* _resultobj
;
1586 int _arg2
= (int ) -1;
1587 int _arg3
= (int ) -1;
1588 PyObject
* _obj0
= 0;
1589 char *_kwnames
[] = { "name","flags","desiredWidth","desiredHeight", NULL
};
1593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:new_wxIcon",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
))
1596 if (!PyString_Check(_obj0
)) {
1597 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1600 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
1603 wxPy_BEGIN_ALLOW_THREADS
;
1604 _result
= (wxIcon
*)new_wxIcon(*_arg0
,_arg1
,_arg2
,_arg3
);
1606 wxPy_END_ALLOW_THREADS
;
1608 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
1609 _resultobj
= Py_BuildValue("s",_ptemp
);
1612 _resultobj
= Py_None
;
1621 #define delete_wxIcon(_swigobj) (delete _swigobj)
1622 static PyObject
*_wrap_delete_wxIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1623 PyObject
* _resultobj
;
1625 PyObject
* _argo0
= 0;
1626 char *_kwnames
[] = { "self", NULL
};
1629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxIcon",_kwnames
,&_argo0
))
1632 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1633 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxIcon. Expected _wxIcon_p.");
1639 wxPy_BEGIN_ALLOW_THREADS
;
1640 delete_wxIcon(_arg0
);
1642 wxPy_END_ALLOW_THREADS
;
1643 } Py_INCREF(Py_None
);
1644 _resultobj
= Py_None
;
1648 #define wxIcon_GetDepth(_swigobj) (_swigobj->GetDepth())
1649 static PyObject
*_wrap_wxIcon_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1650 PyObject
* _resultobj
;
1653 PyObject
* _argo0
= 0;
1654 char *_kwnames
[] = { "self", NULL
};
1657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetDepth",_kwnames
,&_argo0
))
1660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetDepth. Expected _wxIcon_p.");
1667 wxPy_BEGIN_ALLOW_THREADS
;
1668 _result
= (int )wxIcon_GetDepth(_arg0
);
1670 wxPy_END_ALLOW_THREADS
;
1671 } _resultobj
= Py_BuildValue("i",_result
);
1675 #define wxIcon_GetHeight(_swigobj) (_swigobj->GetHeight())
1676 static PyObject
*_wrap_wxIcon_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1677 PyObject
* _resultobj
;
1680 PyObject
* _argo0
= 0;
1681 char *_kwnames
[] = { "self", NULL
};
1684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetHeight",_kwnames
,&_argo0
))
1687 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1688 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetHeight. Expected _wxIcon_p.");
1694 wxPy_BEGIN_ALLOW_THREADS
;
1695 _result
= (int )wxIcon_GetHeight(_arg0
);
1697 wxPy_END_ALLOW_THREADS
;
1698 } _resultobj
= Py_BuildValue("i",_result
);
1702 #define wxIcon_GetWidth(_swigobj) (_swigobj->GetWidth())
1703 static PyObject
*_wrap_wxIcon_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1704 PyObject
* _resultobj
;
1707 PyObject
* _argo0
= 0;
1708 char *_kwnames
[] = { "self", NULL
};
1711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetWidth",_kwnames
,&_argo0
))
1714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetWidth. Expected _wxIcon_p.");
1721 wxPy_BEGIN_ALLOW_THREADS
;
1722 _result
= (int )wxIcon_GetWidth(_arg0
);
1724 wxPy_END_ALLOW_THREADS
;
1725 } _resultobj
= Py_BuildValue("i",_result
);
1729 #define wxIcon_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1730 static PyObject
*_wrap_wxIcon_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1731 PyObject
* _resultobj
;
1736 PyObject
* _argo0
= 0;
1737 PyObject
* _obj1
= 0;
1738 char *_kwnames
[] = { "self","name","flags", NULL
};
1741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOl:wxIcon_LoadFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_LoadFile. Expected _wxIcon_p.");
1751 if (!PyString_Check(_obj1
)) {
1752 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1755 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1758 wxPy_BEGIN_ALLOW_THREADS
;
1759 _result
= (bool )wxIcon_LoadFile(_arg0
,*_arg1
,_arg2
);
1761 wxPy_END_ALLOW_THREADS
;
1762 } _resultobj
= Py_BuildValue("i",_result
);
1770 #define wxIcon_Ok(_swigobj) (_swigobj->Ok())
1771 static PyObject
*_wrap_wxIcon_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1772 PyObject
* _resultobj
;
1775 PyObject
* _argo0
= 0;
1776 char *_kwnames
[] = { "self", NULL
};
1779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_Ok",_kwnames
,&_argo0
))
1782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_Ok. Expected _wxIcon_p.");
1789 wxPy_BEGIN_ALLOW_THREADS
;
1790 _result
= (bool )wxIcon_Ok(_arg0
);
1792 wxPy_END_ALLOW_THREADS
;
1793 } _resultobj
= Py_BuildValue("i",_result
);
1797 #define wxIcon_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
1798 static PyObject
*_wrap_wxIcon_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1799 PyObject
* _resultobj
;
1802 PyObject
* _argo0
= 0;
1803 char *_kwnames
[] = { "self","depth", NULL
};
1806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetDepth",_kwnames
,&_argo0
,&_arg1
))
1809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetDepth. Expected _wxIcon_p.");
1816 wxPy_BEGIN_ALLOW_THREADS
;
1817 wxIcon_SetDepth(_arg0
,_arg1
);
1819 wxPy_END_ALLOW_THREADS
;
1820 } Py_INCREF(Py_None
);
1821 _resultobj
= Py_None
;
1825 #define wxIcon_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1826 static PyObject
*_wrap_wxIcon_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1827 PyObject
* _resultobj
;
1830 PyObject
* _argo0
= 0;
1831 char *_kwnames
[] = { "self","height", NULL
};
1834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetHeight",_kwnames
,&_argo0
,&_arg1
))
1837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetHeight. Expected _wxIcon_p.");
1844 wxPy_BEGIN_ALLOW_THREADS
;
1845 wxIcon_SetHeight(_arg0
,_arg1
);
1847 wxPy_END_ALLOW_THREADS
;
1848 } Py_INCREF(Py_None
);
1849 _resultobj
= Py_None
;
1853 #define wxIcon_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1854 static PyObject
*_wrap_wxIcon_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1855 PyObject
* _resultobj
;
1858 PyObject
* _argo0
= 0;
1859 char *_kwnames
[] = { "self","width", NULL
};
1862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetWidth",_kwnames
,&_argo0
,&_arg1
))
1865 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1866 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetWidth. Expected _wxIcon_p.");
1872 wxPy_BEGIN_ALLOW_THREADS
;
1873 wxIcon_SetWidth(_arg0
,_arg1
);
1875 wxPy_END_ALLOW_THREADS
;
1876 } Py_INCREF(Py_None
);
1877 _resultobj
= Py_None
;
1881 static void *SwigwxCursorTowxBitmap(void *ptr
) {
1884 src
= (wxCursor
*) ptr
;
1885 dest
= (wxBitmap
*) src
;
1886 return (void *) dest
;
1889 #define delete_wxCursor(_swigobj) (delete _swigobj)
1890 static PyObject
*_wrap_delete_wxCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1891 PyObject
* _resultobj
;
1893 PyObject
* _argo0
= 0;
1894 char *_kwnames
[] = { "self", NULL
};
1897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCursor",_kwnames
,&_argo0
))
1900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCursor. Expected _wxCursor_p.");
1907 wxPy_BEGIN_ALLOW_THREADS
;
1908 delete_wxCursor(_arg0
);
1910 wxPy_END_ALLOW_THREADS
;
1911 } Py_INCREF(Py_None
);
1912 _resultobj
= Py_None
;
1916 #define wxCursor_Ok(_swigobj) (_swigobj->Ok())
1917 static PyObject
*_wrap_wxCursor_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1918 PyObject
* _resultobj
;
1921 PyObject
* _argo0
= 0;
1922 char *_kwnames
[] = { "self", NULL
};
1925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCursor_Ok",_kwnames
,&_argo0
))
1928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_Ok. Expected _wxCursor_p.");
1935 wxPy_BEGIN_ALLOW_THREADS
;
1936 _result
= (bool )wxCursor_Ok(_arg0
);
1938 wxPy_END_ALLOW_THREADS
;
1939 } _resultobj
= Py_BuildValue("i",_result
);
1943 static wxFont
*new_wxFont(int pointSize
,int family
,int style
,int weight
,int underline
,char *faceName
,wxFontEncoding encoding
) {
1945 return wxTheFontList
->FindOrCreateFont(pointSize
, family
, style
, weight
,
1946 underline
, faceName
);
1949 static PyObject
*_wrap_new_wxFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1950 PyObject
* _resultobj
;
1956 int _arg4
= (int ) FALSE
;
1957 char * _arg5
= (char *) "";
1958 wxFontEncoding _arg6
= (wxFontEncoding
) (wxFONTENCODING_DEFAULT
);
1959 char *_kwnames
[] = { "pointSize","family","style","weight","underline","faceName","encoding", NULL
};
1963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiii|isi:new_wxFont",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
1966 wxPy_BEGIN_ALLOW_THREADS
;
1967 _result
= (wxFont
*)new_wxFont(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1969 wxPy_END_ALLOW_THREADS
;
1971 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1972 _resultobj
= Py_BuildValue("s",_ptemp
);
1975 _resultobj
= Py_None
;
1980 #define wxFont_GetFaceName(_swigobj) (_swigobj->GetFaceName())
1981 static PyObject
*_wrap_wxFont_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1982 PyObject
* _resultobj
;
1985 PyObject
* _argo0
= 0;
1986 char *_kwnames
[] = { "self", NULL
};
1989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFaceName",_kwnames
,&_argo0
))
1992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFaceName. Expected _wxFont_p.");
1999 wxPy_BEGIN_ALLOW_THREADS
;
2000 _result
= new wxString (wxFont_GetFaceName(_arg0
));
2002 wxPy_END_ALLOW_THREADS
;
2004 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
2012 #define wxFont_GetFamily(_swigobj) (_swigobj->GetFamily())
2013 static PyObject
*_wrap_wxFont_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2014 PyObject
* _resultobj
;
2017 PyObject
* _argo0
= 0;
2018 char *_kwnames
[] = { "self", NULL
};
2021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFamily",_kwnames
,&_argo0
))
2024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFamily. Expected _wxFont_p.");
2031 wxPy_BEGIN_ALLOW_THREADS
;
2032 _result
= (int )wxFont_GetFamily(_arg0
);
2034 wxPy_END_ALLOW_THREADS
;
2035 } _resultobj
= Py_BuildValue("i",_result
);
2039 #define wxFont_GetPointSize(_swigobj) (_swigobj->GetPointSize())
2040 static PyObject
*_wrap_wxFont_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2041 PyObject
* _resultobj
;
2044 PyObject
* _argo0
= 0;
2045 char *_kwnames
[] = { "self", NULL
};
2048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetPointSize",_kwnames
,&_argo0
))
2051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetPointSize. Expected _wxFont_p.");
2058 wxPy_BEGIN_ALLOW_THREADS
;
2059 _result
= (int )wxFont_GetPointSize(_arg0
);
2061 wxPy_END_ALLOW_THREADS
;
2062 } _resultobj
= Py_BuildValue("i",_result
);
2066 #define wxFont_GetStyle(_swigobj) (_swigobj->GetStyle())
2067 static PyObject
*_wrap_wxFont_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2068 PyObject
* _resultobj
;
2071 PyObject
* _argo0
= 0;
2072 char *_kwnames
[] = { "self", NULL
};
2075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetStyle",_kwnames
,&_argo0
))
2078 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2079 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetStyle. Expected _wxFont_p.");
2085 wxPy_BEGIN_ALLOW_THREADS
;
2086 _result
= (int )wxFont_GetStyle(_arg0
);
2088 wxPy_END_ALLOW_THREADS
;
2089 } _resultobj
= Py_BuildValue("i",_result
);
2093 #define wxFont_GetUnderlined(_swigobj) (_swigobj->GetUnderlined())
2094 static PyObject
*_wrap_wxFont_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2095 PyObject
* _resultobj
;
2098 PyObject
* _argo0
= 0;
2099 char *_kwnames
[] = { "self", NULL
};
2102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetUnderlined",_kwnames
,&_argo0
))
2105 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2106 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetUnderlined. Expected _wxFont_p.");
2112 wxPy_BEGIN_ALLOW_THREADS
;
2113 _result
= (bool )wxFont_GetUnderlined(_arg0
);
2115 wxPy_END_ALLOW_THREADS
;
2116 } _resultobj
= Py_BuildValue("i",_result
);
2120 #define wxFont_GetWeight(_swigobj) (_swigobj->GetWeight())
2121 static PyObject
*_wrap_wxFont_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2122 PyObject
* _resultobj
;
2125 PyObject
* _argo0
= 0;
2126 char *_kwnames
[] = { "self", NULL
};
2129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetWeight",_kwnames
,&_argo0
))
2132 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2133 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetWeight. Expected _wxFont_p.");
2139 wxPy_BEGIN_ALLOW_THREADS
;
2140 _result
= (int )wxFont_GetWeight(_arg0
);
2142 wxPy_END_ALLOW_THREADS
;
2143 } _resultobj
= Py_BuildValue("i",_result
);
2147 #define wxFont_GetEncoding(_swigobj) (_swigobj->GetEncoding())
2148 static PyObject
*_wrap_wxFont_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2149 PyObject
* _resultobj
;
2150 wxFontEncoding _result
;
2152 PyObject
* _argo0
= 0;
2153 char *_kwnames
[] = { "self", NULL
};
2156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetEncoding",_kwnames
,&_argo0
))
2159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetEncoding. Expected _wxFont_p.");
2166 wxPy_BEGIN_ALLOW_THREADS
;
2167 _result
= (wxFontEncoding
)wxFont_GetEncoding(_arg0
);
2169 wxPy_END_ALLOW_THREADS
;
2170 } _resultobj
= Py_BuildValue("i",_result
);
2174 #define wxFont_SetFaceName(_swigobj,_swigarg0) (_swigobj->SetFaceName(_swigarg0))
2175 static PyObject
*_wrap_wxFont_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2176 PyObject
* _resultobj
;
2179 PyObject
* _argo0
= 0;
2180 PyObject
* _obj1
= 0;
2181 char *_kwnames
[] = { "self","faceName", NULL
};
2184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFont_SetFaceName",_kwnames
,&_argo0
,&_obj1
))
2187 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2188 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFaceName. Expected _wxFont_p.");
2194 if (!PyString_Check(_obj1
)) {
2195 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2198 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2201 wxPy_BEGIN_ALLOW_THREADS
;
2202 wxFont_SetFaceName(_arg0
,*_arg1
);
2204 wxPy_END_ALLOW_THREADS
;
2205 } Py_INCREF(Py_None
);
2206 _resultobj
= Py_None
;
2214 #define wxFont_SetFamily(_swigobj,_swigarg0) (_swigobj->SetFamily(_swigarg0))
2215 static PyObject
*_wrap_wxFont_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2216 PyObject
* _resultobj
;
2219 PyObject
* _argo0
= 0;
2220 char *_kwnames
[] = { "self","family", NULL
};
2223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetFamily",_kwnames
,&_argo0
,&_arg1
))
2226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFamily. Expected _wxFont_p.");
2233 wxPy_BEGIN_ALLOW_THREADS
;
2234 wxFont_SetFamily(_arg0
,_arg1
);
2236 wxPy_END_ALLOW_THREADS
;
2237 } Py_INCREF(Py_None
);
2238 _resultobj
= Py_None
;
2242 #define wxFont_SetPointSize(_swigobj,_swigarg0) (_swigobj->SetPointSize(_swigarg0))
2243 static PyObject
*_wrap_wxFont_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2244 PyObject
* _resultobj
;
2247 PyObject
* _argo0
= 0;
2248 char *_kwnames
[] = { "self","pointSize", NULL
};
2251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetPointSize",_kwnames
,&_argo0
,&_arg1
))
2254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetPointSize. Expected _wxFont_p.");
2261 wxPy_BEGIN_ALLOW_THREADS
;
2262 wxFont_SetPointSize(_arg0
,_arg1
);
2264 wxPy_END_ALLOW_THREADS
;
2265 } Py_INCREF(Py_None
);
2266 _resultobj
= Py_None
;
2270 #define wxFont_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
2271 static PyObject
*_wrap_wxFont_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2272 PyObject
* _resultobj
;
2275 PyObject
* _argo0
= 0;
2276 char *_kwnames
[] = { "self","style", NULL
};
2279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetStyle",_kwnames
,&_argo0
,&_arg1
))
2282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetStyle. Expected _wxFont_p.");
2289 wxPy_BEGIN_ALLOW_THREADS
;
2290 wxFont_SetStyle(_arg0
,_arg1
);
2292 wxPy_END_ALLOW_THREADS
;
2293 } Py_INCREF(Py_None
);
2294 _resultobj
= Py_None
;
2298 #define wxFont_SetUnderlined(_swigobj,_swigarg0) (_swigobj->SetUnderlined(_swigarg0))
2299 static PyObject
*_wrap_wxFont_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2300 PyObject
* _resultobj
;
2303 PyObject
* _argo0
= 0;
2305 char *_kwnames
[] = { "self","underlined", NULL
};
2308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetUnderlined",_kwnames
,&_argo0
,&tempbool1
))
2311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetUnderlined. Expected _wxFont_p.");
2317 _arg1
= (bool ) tempbool1
;
2319 wxPy_BEGIN_ALLOW_THREADS
;
2320 wxFont_SetUnderlined(_arg0
,_arg1
);
2322 wxPy_END_ALLOW_THREADS
;
2323 } Py_INCREF(Py_None
);
2324 _resultobj
= Py_None
;
2328 #define wxFont_SetWeight(_swigobj,_swigarg0) (_swigobj->SetWeight(_swigarg0))
2329 static PyObject
*_wrap_wxFont_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2330 PyObject
* _resultobj
;
2333 PyObject
* _argo0
= 0;
2334 char *_kwnames
[] = { "self","weight", NULL
};
2337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetWeight",_kwnames
,&_argo0
,&_arg1
))
2340 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2341 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetWeight. Expected _wxFont_p.");
2347 wxPy_BEGIN_ALLOW_THREADS
;
2348 wxFont_SetWeight(_arg0
,_arg1
);
2350 wxPy_END_ALLOW_THREADS
;
2351 } Py_INCREF(Py_None
);
2352 _resultobj
= Py_None
;
2356 #define wxFont_SetEncoding(_swigobj,_swigarg0) (_swigobj->SetEncoding(_swigarg0))
2357 static PyObject
*_wrap_wxFont_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2358 PyObject
* _resultobj
;
2360 wxFontEncoding _arg1
;
2361 PyObject
* _argo0
= 0;
2362 char *_kwnames
[] = { "self","encoding", NULL
};
2365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetEncoding",_kwnames
,&_argo0
,&_arg1
))
2368 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2369 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetEncoding. Expected _wxFont_p.");
2375 wxPy_BEGIN_ALLOW_THREADS
;
2376 wxFont_SetEncoding(_arg0
,_arg1
);
2378 wxPy_END_ALLOW_THREADS
;
2379 } Py_INCREF(Py_None
);
2380 _resultobj
= Py_None
;
2384 #define wxFont_GetFamilyString(_swigobj) (_swigobj->GetFamilyString())
2385 static PyObject
*_wrap_wxFont_GetFamilyString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2386 PyObject
* _resultobj
;
2389 PyObject
* _argo0
= 0;
2390 char *_kwnames
[] = { "self", NULL
};
2393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFamilyString",_kwnames
,&_argo0
))
2396 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2397 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFamilyString. Expected _wxFont_p.");
2403 wxPy_BEGIN_ALLOW_THREADS
;
2404 _result
= new wxString (wxFont_GetFamilyString(_arg0
));
2406 wxPy_END_ALLOW_THREADS
;
2408 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
2416 #define wxFont_GetStyleString(_swigobj) (_swigobj->GetStyleString())
2417 static PyObject
*_wrap_wxFont_GetStyleString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2418 PyObject
* _resultobj
;
2421 PyObject
* _argo0
= 0;
2422 char *_kwnames
[] = { "self", NULL
};
2425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetStyleString",_kwnames
,&_argo0
))
2428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetStyleString. Expected _wxFont_p.");
2435 wxPy_BEGIN_ALLOW_THREADS
;
2436 _result
= new wxString (wxFont_GetStyleString(_arg0
));
2438 wxPy_END_ALLOW_THREADS
;
2440 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
2448 #define wxFont_GetWeightString(_swigobj) (_swigobj->GetWeightString())
2449 static PyObject
*_wrap_wxFont_GetWeightString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2450 PyObject
* _resultobj
;
2453 PyObject
* _argo0
= 0;
2454 char *_kwnames
[] = { "self", NULL
};
2457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetWeightString",_kwnames
,&_argo0
))
2460 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2461 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetWeightString. Expected _wxFont_p.");
2467 wxPy_BEGIN_ALLOW_THREADS
;
2468 _result
= new wxString (wxFont_GetWeightString(_arg0
));
2470 wxPy_END_ALLOW_THREADS
;
2472 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
2480 #define new_wxColour(_swigarg0,_swigarg1,_swigarg2) (new wxColour(_swigarg0,_swigarg1,_swigarg2))
2481 static PyObject
*_wrap_new_wxColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2482 PyObject
* _resultobj
;
2484 unsigned char _arg0
= (unsigned char ) 0;
2485 unsigned char _arg1
= (unsigned char ) 0;
2486 unsigned char _arg2
= (unsigned char ) 0;
2487 char *_kwnames
[] = { "red","green","blue", NULL
};
2491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|bbb:new_wxColour",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
2494 wxPy_BEGIN_ALLOW_THREADS
;
2495 _result
= (wxColour
*)new_wxColour(_arg0
,_arg1
,_arg2
);
2497 wxPy_END_ALLOW_THREADS
;
2499 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
2500 _resultobj
= Py_BuildValue("s",_ptemp
);
2503 _resultobj
= Py_None
;
2508 #define delete_wxColour(_swigobj) (delete _swigobj)
2509 static PyObject
*_wrap_delete_wxColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2510 PyObject
* _resultobj
;
2512 PyObject
* _argo0
= 0;
2513 char *_kwnames
[] = { "self", NULL
};
2516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxColour",_kwnames
,&_argo0
))
2519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
2521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxColour. Expected _wxColour_p.");
2526 wxPy_BEGIN_ALLOW_THREADS
;
2527 delete_wxColour(_arg0
);
2529 wxPy_END_ALLOW_THREADS
;
2530 } Py_INCREF(Py_None
);
2531 _resultobj
= Py_None
;
2535 #define wxColour_Red(_swigobj) (_swigobj->Red())
2536 static PyObject
*_wrap_wxColour_Red(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2537 PyObject
* _resultobj
;
2538 unsigned char _result
;
2540 PyObject
* _argo0
= 0;
2541 char *_kwnames
[] = { "self", NULL
};
2544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Red",_kwnames
,&_argo0
))
2547 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2548 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
2549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Red. Expected _wxColour_p.");
2554 wxPy_BEGIN_ALLOW_THREADS
;
2555 _result
= (unsigned char )wxColour_Red(_arg0
);
2557 wxPy_END_ALLOW_THREADS
;
2558 } _resultobj
= Py_BuildValue("b",_result
);
2562 #define wxColour_Green(_swigobj) (_swigobj->Green())
2563 static PyObject
*_wrap_wxColour_Green(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2564 PyObject
* _resultobj
;
2565 unsigned char _result
;
2567 PyObject
* _argo0
= 0;
2568 char *_kwnames
[] = { "self", NULL
};
2571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Green",_kwnames
,&_argo0
))
2574 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2575 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
2576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Green. Expected _wxColour_p.");
2581 wxPy_BEGIN_ALLOW_THREADS
;
2582 _result
= (unsigned char )wxColour_Green(_arg0
);
2584 wxPy_END_ALLOW_THREADS
;
2585 } _resultobj
= Py_BuildValue("b",_result
);
2589 #define wxColour_Blue(_swigobj) (_swigobj->Blue())
2590 static PyObject
*_wrap_wxColour_Blue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2591 PyObject
* _resultobj
;
2592 unsigned char _result
;
2594 PyObject
* _argo0
= 0;
2595 char *_kwnames
[] = { "self", NULL
};
2598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Blue",_kwnames
,&_argo0
))
2601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
2603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Blue. Expected _wxColour_p.");
2608 wxPy_BEGIN_ALLOW_THREADS
;
2609 _result
= (unsigned char )wxColour_Blue(_arg0
);
2611 wxPy_END_ALLOW_THREADS
;
2612 } _resultobj
= Py_BuildValue("b",_result
);
2616 #define wxColour_Ok(_swigobj) (_swigobj->Ok())
2617 static PyObject
*_wrap_wxColour_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2618 PyObject
* _resultobj
;
2621 PyObject
* _argo0
= 0;
2622 char *_kwnames
[] = { "self", NULL
};
2625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Ok",_kwnames
,&_argo0
))
2628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
2630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Ok. Expected _wxColour_p.");
2635 wxPy_BEGIN_ALLOW_THREADS
;
2636 _result
= (bool )wxColour_Ok(_arg0
);
2638 wxPy_END_ALLOW_THREADS
;
2639 } _resultobj
= Py_BuildValue("i",_result
);
2643 #define wxColour_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
2644 static PyObject
*_wrap_wxColour_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2645 PyObject
* _resultobj
;
2647 unsigned char _arg1
;
2648 unsigned char _arg2
;
2649 unsigned char _arg3
;
2650 PyObject
* _argo0
= 0;
2651 char *_kwnames
[] = { "self","red","green","blue", NULL
};
2654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Obbb:wxColour_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2657 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2658 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
2659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Set. Expected _wxColour_p.");
2664 wxPy_BEGIN_ALLOW_THREADS
;
2665 wxColour_Set(_arg0
,_arg1
,_arg2
,_arg3
);
2667 wxPy_END_ALLOW_THREADS
;
2668 } Py_INCREF(Py_None
);
2669 _resultobj
= Py_None
;
2673 static PyObject
* wxColour_Get(wxColour
*self
) {
2674 PyObject
* rv
= PyTuple_New(3);
2675 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
2676 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
2677 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
2680 static PyObject
*_wrap_wxColour_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2681 PyObject
* _resultobj
;
2684 PyObject
* _argo0
= 0;
2685 char *_kwnames
[] = { "self", NULL
};
2688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Get",_kwnames
,&_argo0
))
2691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
2693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Get. Expected _wxColour_p.");
2698 wxPy_BEGIN_ALLOW_THREADS
;
2699 _result
= (PyObject
*)wxColour_Get(_arg0
);
2701 wxPy_END_ALLOW_THREADS
;
2703 _resultobj
= _result
;
2708 static wxPen
*new_wxPen(wxColour
*colour
,int width
,int style
) {
2709 return wxThePenList
->FindOrCreatePen(*colour
, width
, style
);
2712 static PyObject
*_wrap_new_wxPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2713 PyObject
* _resultobj
;
2716 int _arg1
= (int ) 1;
2717 int _arg2
= (int ) wxSOLID
;
2718 PyObject
* _argo0
= 0;
2719 char *_kwnames
[] = { "colour","width","style", NULL
};
2723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:new_wxPen",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
2728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPen. Expected _wxColour_p.");
2733 wxPy_BEGIN_ALLOW_THREADS
;
2734 _result
= (wxPen
*)new_wxPen(_arg0
,_arg1
,_arg2
);
2736 wxPy_END_ALLOW_THREADS
;
2738 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
2739 _resultobj
= Py_BuildValue("s",_ptemp
);
2742 _resultobj
= Py_None
;
2747 #define wxPen_GetCap(_swigobj) (_swigobj->GetCap())
2748 static PyObject
*_wrap_wxPen_GetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2749 PyObject
* _resultobj
;
2752 PyObject
* _argo0
= 0;
2753 char *_kwnames
[] = { "self", NULL
};
2756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetCap",_kwnames
,&_argo0
))
2759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetCap. Expected _wxPen_p.");
2766 wxPy_BEGIN_ALLOW_THREADS
;
2767 _result
= (int )wxPen_GetCap(_arg0
);
2769 wxPy_END_ALLOW_THREADS
;
2770 } _resultobj
= Py_BuildValue("i",_result
);
2774 #define wxPen_GetColour(_swigobj) (_swigobj->GetColour())
2775 static PyObject
*_wrap_wxPen_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2776 PyObject
* _resultobj
;
2779 PyObject
* _argo0
= 0;
2780 char *_kwnames
[] = { "self", NULL
};
2784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetColour",_kwnames
,&_argo0
))
2787 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2788 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetColour. Expected _wxPen_p.");
2794 wxPy_BEGIN_ALLOW_THREADS
;
2795 wxColour
& _result_ref
= wxPen_GetColour(_arg0
);
2796 _result
= (wxColour
*) &_result_ref
;
2798 wxPy_END_ALLOW_THREADS
;
2800 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
2801 _resultobj
= Py_BuildValue("s",_ptemp
);
2804 _resultobj
= Py_None
;
2809 #define wxPen_GetJoin(_swigobj) (_swigobj->GetJoin())
2810 static PyObject
*_wrap_wxPen_GetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2811 PyObject
* _resultobj
;
2814 PyObject
* _argo0
= 0;
2815 char *_kwnames
[] = { "self", NULL
};
2818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetJoin",_kwnames
,&_argo0
))
2821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetJoin. Expected _wxPen_p.");
2828 wxPy_BEGIN_ALLOW_THREADS
;
2829 _result
= (int )wxPen_GetJoin(_arg0
);
2831 wxPy_END_ALLOW_THREADS
;
2832 } _resultobj
= Py_BuildValue("i",_result
);
2836 #define wxPen_GetStyle(_swigobj) (_swigobj->GetStyle())
2837 static PyObject
*_wrap_wxPen_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2838 PyObject
* _resultobj
;
2841 PyObject
* _argo0
= 0;
2842 char *_kwnames
[] = { "self", NULL
};
2845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetStyle",_kwnames
,&_argo0
))
2848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetStyle. Expected _wxPen_p.");
2855 wxPy_BEGIN_ALLOW_THREADS
;
2856 _result
= (int )wxPen_GetStyle(_arg0
);
2858 wxPy_END_ALLOW_THREADS
;
2859 } _resultobj
= Py_BuildValue("i",_result
);
2863 #define wxPen_GetWidth(_swigobj) (_swigobj->GetWidth())
2864 static PyObject
*_wrap_wxPen_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2865 PyObject
* _resultobj
;
2868 PyObject
* _argo0
= 0;
2869 char *_kwnames
[] = { "self", NULL
};
2872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetWidth",_kwnames
,&_argo0
))
2875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetWidth. Expected _wxPen_p.");
2882 wxPy_BEGIN_ALLOW_THREADS
;
2883 _result
= (int )wxPen_GetWidth(_arg0
);
2885 wxPy_END_ALLOW_THREADS
;
2886 } _resultobj
= Py_BuildValue("i",_result
);
2890 #define wxPen_Ok(_swigobj) (_swigobj->Ok())
2891 static PyObject
*_wrap_wxPen_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2892 PyObject
* _resultobj
;
2895 PyObject
* _argo0
= 0;
2896 char *_kwnames
[] = { "self", NULL
};
2899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_Ok",_kwnames
,&_argo0
))
2902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_Ok. Expected _wxPen_p.");
2909 wxPy_BEGIN_ALLOW_THREADS
;
2910 _result
= (bool )wxPen_Ok(_arg0
);
2912 wxPy_END_ALLOW_THREADS
;
2913 } _resultobj
= Py_BuildValue("i",_result
);
2917 #define wxPen_SetCap(_swigobj,_swigarg0) (_swigobj->SetCap(_swigarg0))
2918 static PyObject
*_wrap_wxPen_SetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2919 PyObject
* _resultobj
;
2922 PyObject
* _argo0
= 0;
2923 char *_kwnames
[] = { "self","cap_style", NULL
};
2926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetCap",_kwnames
,&_argo0
,&_arg1
))
2929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetCap. Expected _wxPen_p.");
2936 wxPy_BEGIN_ALLOW_THREADS
;
2937 wxPen_SetCap(_arg0
,_arg1
);
2939 wxPy_END_ALLOW_THREADS
;
2940 } Py_INCREF(Py_None
);
2941 _resultobj
= Py_None
;
2945 #define wxPen_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
2946 static PyObject
*_wrap_wxPen_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2947 PyObject
* _resultobj
;
2950 PyObject
* _argo0
= 0;
2951 PyObject
* _argo1
= 0;
2952 char *_kwnames
[] = { "self","colour", NULL
};
2955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetColour",_kwnames
,&_argo0
,&_argo1
))
2958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetColour. Expected _wxPen_p.");
2965 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2966 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPen_SetColour. Expected _wxColour_p.");
2972 wxPy_BEGIN_ALLOW_THREADS
;
2973 wxPen_SetColour(_arg0
,*_arg1
);
2975 wxPy_END_ALLOW_THREADS
;
2976 } Py_INCREF(Py_None
);
2977 _resultobj
= Py_None
;
2981 #define wxPen_SetJoin(_swigobj,_swigarg0) (_swigobj->SetJoin(_swigarg0))
2982 static PyObject
*_wrap_wxPen_SetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2983 PyObject
* _resultobj
;
2986 PyObject
* _argo0
= 0;
2987 char *_kwnames
[] = { "self","join_style", NULL
};
2990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetJoin",_kwnames
,&_argo0
,&_arg1
))
2993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetJoin. Expected _wxPen_p.");
3000 wxPy_BEGIN_ALLOW_THREADS
;
3001 wxPen_SetJoin(_arg0
,_arg1
);
3003 wxPy_END_ALLOW_THREADS
;
3004 } Py_INCREF(Py_None
);
3005 _resultobj
= Py_None
;
3009 #define wxPen_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
3010 static PyObject
*_wrap_wxPen_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3011 PyObject
* _resultobj
;
3014 PyObject
* _argo0
= 0;
3015 char *_kwnames
[] = { "self","style", NULL
};
3018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetStyle",_kwnames
,&_argo0
,&_arg1
))
3021 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3022 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetStyle. Expected _wxPen_p.");
3028 wxPy_BEGIN_ALLOW_THREADS
;
3029 wxPen_SetStyle(_arg0
,_arg1
);
3031 wxPy_END_ALLOW_THREADS
;
3032 } Py_INCREF(Py_None
);
3033 _resultobj
= Py_None
;
3037 #define wxPen_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
3038 static PyObject
*_wrap_wxPen_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3039 PyObject
* _resultobj
;
3042 PyObject
* _argo0
= 0;
3043 char *_kwnames
[] = { "self","width", NULL
};
3046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetWidth",_kwnames
,&_argo0
,&_arg1
))
3049 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3050 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetWidth. Expected _wxPen_p.");
3056 wxPy_BEGIN_ALLOW_THREADS
;
3057 wxPen_SetWidth(_arg0
,_arg1
);
3059 wxPy_END_ALLOW_THREADS
;
3060 } Py_INCREF(Py_None
);
3061 _resultobj
= Py_None
;
3065 static wxBrush
*new_wxBrush(wxColour
*colour
,int style
) {
3066 return wxTheBrushList
->FindOrCreateBrush(*colour
, style
);
3069 static PyObject
*_wrap_new_wxBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3070 PyObject
* _resultobj
;
3073 int _arg1
= (int ) wxSOLID
;
3074 PyObject
* _argo0
= 0;
3075 char *_kwnames
[] = { "colour","style", NULL
};
3079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxBrush",_kwnames
,&_argo0
,&_arg1
))
3082 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3083 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
3084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBrush. Expected _wxColour_p.");
3089 wxPy_BEGIN_ALLOW_THREADS
;
3090 _result
= (wxBrush
*)new_wxBrush(_arg0
,_arg1
);
3092 wxPy_END_ALLOW_THREADS
;
3094 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
3095 _resultobj
= Py_BuildValue("s",_ptemp
);
3098 _resultobj
= Py_None
;
3103 #define wxBrush_GetColour(_swigobj) (_swigobj->GetColour())
3104 static PyObject
*_wrap_wxBrush_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3105 PyObject
* _resultobj
;
3108 PyObject
* _argo0
= 0;
3109 char *_kwnames
[] = { "self", NULL
};
3113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetColour",_kwnames
,&_argo0
))
3116 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3117 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetColour. Expected _wxBrush_p.");
3123 wxPy_BEGIN_ALLOW_THREADS
;
3124 wxColour
& _result_ref
= wxBrush_GetColour(_arg0
);
3125 _result
= (wxColour
*) &_result_ref
;
3127 wxPy_END_ALLOW_THREADS
;
3129 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3130 _resultobj
= Py_BuildValue("s",_ptemp
);
3133 _resultobj
= Py_None
;
3138 #define wxBrush_GetStipple(_swigobj) (_swigobj->GetStipple())
3139 static PyObject
*_wrap_wxBrush_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3140 PyObject
* _resultobj
;
3143 PyObject
* _argo0
= 0;
3144 char *_kwnames
[] = { "self", NULL
};
3148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetStipple",_kwnames
,&_argo0
))
3151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStipple. Expected _wxBrush_p.");
3158 wxPy_BEGIN_ALLOW_THREADS
;
3159 _result
= (wxBitmap
*)wxBrush_GetStipple(_arg0
);
3161 wxPy_END_ALLOW_THREADS
;
3163 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
3164 _resultobj
= Py_BuildValue("s",_ptemp
);
3167 _resultobj
= Py_None
;
3172 #define wxBrush_GetStyle(_swigobj) (_swigobj->GetStyle())
3173 static PyObject
*_wrap_wxBrush_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3174 PyObject
* _resultobj
;
3177 PyObject
* _argo0
= 0;
3178 char *_kwnames
[] = { "self", NULL
};
3181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetStyle",_kwnames
,&_argo0
))
3184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStyle. Expected _wxBrush_p.");
3191 wxPy_BEGIN_ALLOW_THREADS
;
3192 _result
= (int )wxBrush_GetStyle(_arg0
);
3194 wxPy_END_ALLOW_THREADS
;
3195 } _resultobj
= Py_BuildValue("i",_result
);
3199 #define wxBrush_Ok(_swigobj) (_swigobj->Ok())
3200 static PyObject
*_wrap_wxBrush_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3201 PyObject
* _resultobj
;
3204 PyObject
* _argo0
= 0;
3205 char *_kwnames
[] = { "self", NULL
};
3208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_Ok",_kwnames
,&_argo0
))
3211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_Ok. Expected _wxBrush_p.");
3218 wxPy_BEGIN_ALLOW_THREADS
;
3219 _result
= (bool )wxBrush_Ok(_arg0
);
3221 wxPy_END_ALLOW_THREADS
;
3222 } _resultobj
= Py_BuildValue("i",_result
);
3226 #define wxBrush_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
3227 static PyObject
*_wrap_wxBrush_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3228 PyObject
* _resultobj
;
3231 PyObject
* _argo0
= 0;
3232 PyObject
* _argo1
= 0;
3233 char *_kwnames
[] = { "self","colour", NULL
};
3236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrush_SetColour",_kwnames
,&_argo0
,&_argo1
))
3239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetColour. Expected _wxBrush_p.");
3246 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3247 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
3248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrush_SetColour. Expected _wxColour_p.");
3253 wxPy_BEGIN_ALLOW_THREADS
;
3254 wxBrush_SetColour(_arg0
,*_arg1
);
3256 wxPy_END_ALLOW_THREADS
;
3257 } Py_INCREF(Py_None
);
3258 _resultobj
= Py_None
;
3262 #define wxBrush_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
3263 static PyObject
*_wrap_wxBrush_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3264 PyObject
* _resultobj
;
3267 PyObject
* _argo0
= 0;
3268 PyObject
* _argo1
= 0;
3269 char *_kwnames
[] = { "self","bitmap", NULL
};
3272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrush_SetStipple",_kwnames
,&_argo0
,&_argo1
))
3275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStipple. Expected _wxBrush_p.");
3282 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3283 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
3284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrush_SetStipple. Expected _wxBitmap_p.");
3289 wxPy_BEGIN_ALLOW_THREADS
;
3290 wxBrush_SetStipple(_arg0
,*_arg1
);
3292 wxPy_END_ALLOW_THREADS
;
3293 } Py_INCREF(Py_None
);
3294 _resultobj
= Py_None
;
3298 #define wxBrush_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
3299 static PyObject
*_wrap_wxBrush_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3300 PyObject
* _resultobj
;
3303 PyObject
* _argo0
= 0;
3304 char *_kwnames
[] = { "self","style", NULL
};
3307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBrush_SetStyle",_kwnames
,&_argo0
,&_arg1
))
3310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStyle. Expected _wxBrush_p.");
3317 wxPy_BEGIN_ALLOW_THREADS
;
3318 wxBrush_SetStyle(_arg0
,_arg1
);
3320 wxPy_END_ALLOW_THREADS
;
3321 } Py_INCREF(Py_None
);
3322 _resultobj
= Py_None
;
3326 #define delete_wxDC(_swigobj) (delete _swigobj)
3327 static PyObject
*_wrap_delete_wxDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3328 PyObject
* _resultobj
;
3330 PyObject
* _argo0
= 0;
3331 char *_kwnames
[] = { "self", NULL
};
3334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDC",_kwnames
,&_argo0
))
3337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDC. Expected _wxDC_p.");
3344 wxPy_BEGIN_ALLOW_THREADS
;
3347 wxPy_END_ALLOW_THREADS
;
3348 } Py_INCREF(Py_None
);
3349 _resultobj
= Py_None
;
3353 #define wxDC_BeginDrawing(_swigobj) (_swigobj->BeginDrawing())
3354 static PyObject
*_wrap_wxDC_BeginDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3355 PyObject
* _resultobj
;
3357 PyObject
* _argo0
= 0;
3358 char *_kwnames
[] = { "self", NULL
};
3361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_BeginDrawing",_kwnames
,&_argo0
))
3364 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3365 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_BeginDrawing. Expected _wxDC_p.");
3371 wxPy_BEGIN_ALLOW_THREADS
;
3372 wxDC_BeginDrawing(_arg0
);
3374 wxPy_END_ALLOW_THREADS
;
3375 } Py_INCREF(Py_None
);
3376 _resultobj
= Py_None
;
3380 #define wxDC_Blit(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Blit(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
3381 static PyObject
*_wrap_wxDC_Blit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3382 PyObject
* _resultobj
;
3392 int _arg8
= (int ) wxCOPY
;
3393 int _arg9
= (int ) FALSE
;
3394 PyObject
* _argo0
= 0;
3395 PyObject
* _argo5
= 0;
3396 char *_kwnames
[] = { "self","xdest","ydest","width","height","source","xsrc","ysrc","logicalFunc","useMask", NULL
};
3399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllllOll|ii:wxDC_Blit",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_argo5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
))
3402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Blit. Expected _wxDC_p.");
3409 if (_argo5
== Py_None
) { _arg5
= NULL
; }
3410 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxDC_p")) {
3411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxDC_Blit. Expected _wxDC_p.");
3416 wxPy_BEGIN_ALLOW_THREADS
;
3417 _result
= (bool )wxDC_Blit(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
3419 wxPy_END_ALLOW_THREADS
;
3420 } _resultobj
= Py_BuildValue("i",_result
);
3424 #define wxDC_Clear(_swigobj) (_swigobj->Clear())
3425 static PyObject
*_wrap_wxDC_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3426 PyObject
* _resultobj
;
3428 PyObject
* _argo0
= 0;
3429 char *_kwnames
[] = { "self", NULL
};
3432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_Clear",_kwnames
,&_argo0
))
3435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Clear. Expected _wxDC_p.");
3442 wxPy_BEGIN_ALLOW_THREADS
;
3445 wxPy_END_ALLOW_THREADS
;
3446 } Py_INCREF(Py_None
);
3447 _resultobj
= Py_None
;
3451 #define wxDC_CrossHair(_swigobj,_swigarg0,_swigarg1) (_swigobj->CrossHair(_swigarg0,_swigarg1))
3452 static PyObject
*_wrap_wxDC_CrossHair(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3453 PyObject
* _resultobj
;
3457 PyObject
* _argo0
= 0;
3458 char *_kwnames
[] = { "self","x","y", NULL
};
3461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_CrossHair",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CrossHair. Expected _wxDC_p.");
3471 wxPy_BEGIN_ALLOW_THREADS
;
3472 wxDC_CrossHair(_arg0
,_arg1
,_arg2
);
3474 wxPy_END_ALLOW_THREADS
;
3475 } Py_INCREF(Py_None
);
3476 _resultobj
= Py_None
;
3480 #define wxDC_DestroyClippingRegion(_swigobj) (_swigobj->DestroyClippingRegion())
3481 static PyObject
*_wrap_wxDC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3482 PyObject
* _resultobj
;
3484 PyObject
* _argo0
= 0;
3485 char *_kwnames
[] = { "self", NULL
};
3488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_DestroyClippingRegion",_kwnames
,&_argo0
))
3491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DestroyClippingRegion. Expected _wxDC_p.");
3498 wxPy_BEGIN_ALLOW_THREADS
;
3499 wxDC_DestroyClippingRegion(_arg0
);
3501 wxPy_END_ALLOW_THREADS
;
3502 } Py_INCREF(Py_None
);
3503 _resultobj
= Py_None
;
3507 #define wxDC_DeviceToLogicalX(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalX(_swigarg0))
3508 static PyObject
*_wrap_wxDC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3509 PyObject
* _resultobj
;
3513 PyObject
* _argo0
= 0;
3514 char *_kwnames
[] = { "self","x", NULL
};
3517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalX",_kwnames
,&_argo0
,&_arg1
))
3520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalX. Expected _wxDC_p.");
3527 wxPy_BEGIN_ALLOW_THREADS
;
3528 _result
= (long )wxDC_DeviceToLogicalX(_arg0
,_arg1
);
3530 wxPy_END_ALLOW_THREADS
;
3531 } _resultobj
= Py_BuildValue("l",_result
);
3535 #define wxDC_DeviceToLogicalXRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalXRel(_swigarg0))
3536 static PyObject
*_wrap_wxDC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3537 PyObject
* _resultobj
;
3541 PyObject
* _argo0
= 0;
3542 char *_kwnames
[] = { "self","x", NULL
};
3545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalXRel",_kwnames
,&_argo0
,&_arg1
))
3548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalXRel. Expected _wxDC_p.");
3555 wxPy_BEGIN_ALLOW_THREADS
;
3556 _result
= (long )wxDC_DeviceToLogicalXRel(_arg0
,_arg1
);
3558 wxPy_END_ALLOW_THREADS
;
3559 } _resultobj
= Py_BuildValue("l",_result
);
3563 #define wxDC_DeviceToLogicalY(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalY(_swigarg0))
3564 static PyObject
*_wrap_wxDC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3565 PyObject
* _resultobj
;
3569 PyObject
* _argo0
= 0;
3570 char *_kwnames
[] = { "self","y", NULL
};
3573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalY",_kwnames
,&_argo0
,&_arg1
))
3576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalY. Expected _wxDC_p.");
3583 wxPy_BEGIN_ALLOW_THREADS
;
3584 _result
= (long )wxDC_DeviceToLogicalY(_arg0
,_arg1
);
3586 wxPy_END_ALLOW_THREADS
;
3587 } _resultobj
= Py_BuildValue("l",_result
);
3591 #define wxDC_DeviceToLogicalYRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalYRel(_swigarg0))
3592 static PyObject
*_wrap_wxDC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3593 PyObject
* _resultobj
;
3597 PyObject
* _argo0
= 0;
3598 char *_kwnames
[] = { "self","y", NULL
};
3601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalYRel",_kwnames
,&_argo0
,&_arg1
))
3604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalYRel. Expected _wxDC_p.");
3611 wxPy_BEGIN_ALLOW_THREADS
;
3612 _result
= (long )wxDC_DeviceToLogicalYRel(_arg0
,_arg1
);
3614 wxPy_END_ALLOW_THREADS
;
3615 } _resultobj
= Py_BuildValue("l",_result
);
3619 #define wxDC_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3620 static PyObject
*_wrap_wxDC_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3621 PyObject
* _resultobj
;
3629 PyObject
* _argo0
= 0;
3630 char *_kwnames
[] = { "self","x1","y1","x2","y2","xc","yc", NULL
};
3633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollllll:wxDC_DrawArc",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
3636 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3637 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawArc. Expected _wxDC_p.");
3643 wxPy_BEGIN_ALLOW_THREADS
;
3644 wxDC_DrawArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
3646 wxPy_END_ALLOW_THREADS
;
3647 } Py_INCREF(Py_None
);
3648 _resultobj
= Py_None
;
3652 #define wxDC_DrawCircle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawCircle(_swigarg0,_swigarg1,_swigarg2))
3653 static PyObject
*_wrap_wxDC_DrawCircle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3654 PyObject
* _resultobj
;
3659 PyObject
* _argo0
= 0;
3660 char *_kwnames
[] = { "self","x","y","radius", NULL
};
3663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olll:wxDC_DrawCircle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3666 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3667 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawCircle. Expected _wxDC_p.");
3673 wxPy_BEGIN_ALLOW_THREADS
;
3674 wxDC_DrawCircle(_arg0
,_arg1
,_arg2
,_arg3
);
3676 wxPy_END_ALLOW_THREADS
;
3677 } Py_INCREF(Py_None
);
3678 _resultobj
= Py_None
;
3682 #define wxDC_DrawEllipse(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawEllipse(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3683 static PyObject
*_wrap_wxDC_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3684 PyObject
* _resultobj
;
3690 PyObject
* _argo0
= 0;
3691 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
3694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawEllipse",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3697 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3698 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipse. Expected _wxDC_p.");
3704 wxPy_BEGIN_ALLOW_THREADS
;
3705 wxDC_DrawEllipse(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3707 wxPy_END_ALLOW_THREADS
;
3708 } Py_INCREF(Py_None
);
3709 _resultobj
= Py_None
;
3713 #define wxDC_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3714 static PyObject
*_wrap_wxDC_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3715 PyObject
* _resultobj
;
3723 PyObject
* _argo0
= 0;
3724 char *_kwnames
[] = { "self","x","y","width","height","start","end", NULL
};
3727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollllll:wxDC_DrawEllipticArc",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
3730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipticArc. Expected _wxDC_p.");
3737 wxPy_BEGIN_ALLOW_THREADS
;
3738 wxDC_DrawEllipticArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
3740 wxPy_END_ALLOW_THREADS
;
3741 } Py_INCREF(Py_None
);
3742 _resultobj
= Py_None
;
3746 #define wxDC_DrawIcon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawIcon(_swigarg0,_swigarg1,_swigarg2))
3747 static PyObject
*_wrap_wxDC_DrawIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3748 PyObject
* _resultobj
;
3753 PyObject
* _argo0
= 0;
3754 PyObject
* _argo1
= 0;
3755 char *_kwnames
[] = { "self","icon","x","y", NULL
};
3758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll:wxDC_DrawIcon",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3761 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3762 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawIcon. Expected _wxDC_p.");
3768 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3769 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
3770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawIcon. Expected _wxIcon_p.");
3775 wxPy_BEGIN_ALLOW_THREADS
;
3776 wxDC_DrawIcon(_arg0
,*_arg1
,_arg2
,_arg3
);
3778 wxPy_END_ALLOW_THREADS
;
3779 } Py_INCREF(Py_None
);
3780 _resultobj
= Py_None
;
3784 #define wxDC_DrawLine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3785 static PyObject
*_wrap_wxDC_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3786 PyObject
* _resultobj
;
3792 PyObject
* _argo0
= 0;
3793 char *_kwnames
[] = { "self","x1","y1","x2","y2", NULL
};
3796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawLine",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLine. Expected _wxDC_p.");
3806 wxPy_BEGIN_ALLOW_THREADS
;
3807 wxDC_DrawLine(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3809 wxPy_END_ALLOW_THREADS
;
3810 } Py_INCREF(Py_None
);
3811 _resultobj
= Py_None
;
3815 #define wxDC_DrawLines(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLines(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3816 static PyObject
*_wrap_wxDC_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3817 PyObject
* _resultobj
;
3821 long _arg3
= (long ) 0;
3822 long _arg4
= (long ) 0;
3823 PyObject
* _argo0
= 0;
3824 PyObject
* _obj2
= 0;
3825 char *_kwnames
[] = { "self","LIST","xoffset","yoffset", NULL
};
3828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ll:wxDC_DrawLines",_kwnames
,&_argo0
,&_obj2
,&_arg3
,&_arg4
))
3831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLines. Expected _wxDC_p.");
3839 _arg2
= wxPoint_LIST_helper(_obj2
);
3840 if (_arg2
== NULL
) {
3846 _arg1
= PyList_Size(_obj2
);
3853 wxPy_BEGIN_ALLOW_THREADS
;
3854 wxDC_DrawLines(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3856 wxPy_END_ALLOW_THREADS
;
3857 } Py_INCREF(Py_None
);
3858 _resultobj
= Py_None
;
3865 #define wxDC_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3866 static PyObject
*_wrap_wxDC_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3867 PyObject
* _resultobj
;
3871 long _arg3
= (long ) 0;
3872 long _arg4
= (long ) 0;
3873 int _arg5
= (int ) wxODDEVEN_RULE
;
3874 PyObject
* _argo0
= 0;
3875 PyObject
* _obj2
= 0;
3876 char *_kwnames
[] = { "self","LIST","xoffset","yoffset","fill_style", NULL
};
3879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|lli:wxDC_DrawPolygon",_kwnames
,&_argo0
,&_obj2
,&_arg3
,&_arg4
,&_arg5
))
3882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPolygon. Expected _wxDC_p.");
3890 _arg2
= wxPoint_LIST_helper(_obj2
);
3891 if (_arg2
== NULL
) {
3897 _arg1
= PyList_Size(_obj2
);
3904 wxPy_BEGIN_ALLOW_THREADS
;
3905 wxDC_DrawPolygon(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3907 wxPy_END_ALLOW_THREADS
;
3908 } Py_INCREF(Py_None
);
3909 _resultobj
= Py_None
;
3916 #define wxDC_DrawPoint(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawPoint(_swigarg0,_swigarg1))
3917 static PyObject
*_wrap_wxDC_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3918 PyObject
* _resultobj
;
3922 PyObject
* _argo0
= 0;
3923 char *_kwnames
[] = { "self","x","y", NULL
};
3926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_DrawPoint",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPoint. Expected _wxDC_p.");
3936 wxPy_BEGIN_ALLOW_THREADS
;
3937 wxDC_DrawPoint(_arg0
,_arg1
,_arg2
);
3939 wxPy_END_ALLOW_THREADS
;
3940 } Py_INCREF(Py_None
);
3941 _resultobj
= Py_None
;
3945 #define wxDC_DrawRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3946 static PyObject
*_wrap_wxDC_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3947 PyObject
* _resultobj
;
3953 PyObject
* _argo0
= 0;
3954 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
3957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawRectangle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRectangle. Expected _wxDC_p.");
3967 wxPy_BEGIN_ALLOW_THREADS
;
3968 wxDC_DrawRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3970 wxPy_END_ALLOW_THREADS
;
3971 } Py_INCREF(Py_None
);
3972 _resultobj
= Py_None
;
3976 #define wxDC_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3977 static PyObject
*_wrap_wxDC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3978 PyObject
* _resultobj
;
3984 long _arg5
= (long ) 20;
3985 PyObject
* _argo0
= 0;
3986 char *_kwnames
[] = { "self","x","y","width","height","radius", NULL
};
3989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll|l:wxDC_DrawRoundedRectangle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRoundedRectangle. Expected _wxDC_p.");
3999 wxPy_BEGIN_ALLOW_THREADS
;
4000 wxDC_DrawRoundedRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4002 wxPy_END_ALLOW_THREADS
;
4003 } Py_INCREF(Py_None
);
4004 _resultobj
= Py_None
;
4008 #define wxDC_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1))
4009 static PyObject
*_wrap_wxDC_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4010 PyObject
* _resultobj
;
4014 PyObject
* _argo0
= 0;
4015 PyObject
* _obj2
= 0;
4016 char *_kwnames
[] = { "self","LIST", NULL
};
4019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_DrawSpline",_kwnames
,&_argo0
,&_obj2
))
4022 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4023 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawSpline. Expected _wxDC_p.");
4030 _arg2
= wxPoint_LIST_helper(_obj2
);
4031 if (_arg2
== NULL
) {
4037 _arg1
= PyList_Size(_obj2
);
4044 wxPy_BEGIN_ALLOW_THREADS
;
4045 wxDC_DrawSpline(_arg0
,_arg1
,_arg2
);
4047 wxPy_END_ALLOW_THREADS
;
4048 } Py_INCREF(Py_None
);
4049 _resultobj
= Py_None
;
4056 #define wxDC_DrawText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawText(_swigarg0,_swigarg1,_swigarg2))
4057 static PyObject
*_wrap_wxDC_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4058 PyObject
* _resultobj
;
4063 PyObject
* _argo0
= 0;
4064 PyObject
* _obj1
= 0;
4065 char *_kwnames
[] = { "self","text","x","y", NULL
};
4068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll:wxDC_DrawText",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
))
4071 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4072 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawText. Expected _wxDC_p.");
4078 if (!PyString_Check(_obj1
)) {
4079 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4082 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4085 wxPy_BEGIN_ALLOW_THREADS
;
4086 wxDC_DrawText(_arg0
,*_arg1
,_arg2
,_arg3
);
4088 wxPy_END_ALLOW_THREADS
;
4089 } Py_INCREF(Py_None
);
4090 _resultobj
= Py_None
;
4098 #define wxDC_EndDoc(_swigobj) (_swigobj->EndDoc())
4099 static PyObject
*_wrap_wxDC_EndDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4100 PyObject
* _resultobj
;
4102 PyObject
* _argo0
= 0;
4103 char *_kwnames
[] = { "self", NULL
};
4106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndDoc",_kwnames
,&_argo0
))
4109 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4110 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDoc. Expected _wxDC_p.");
4116 wxPy_BEGIN_ALLOW_THREADS
;
4119 wxPy_END_ALLOW_THREADS
;
4120 } Py_INCREF(Py_None
);
4121 _resultobj
= Py_None
;
4125 #define wxDC_EndDrawing(_swigobj) (_swigobj->EndDrawing())
4126 static PyObject
*_wrap_wxDC_EndDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4127 PyObject
* _resultobj
;
4129 PyObject
* _argo0
= 0;
4130 char *_kwnames
[] = { "self", NULL
};
4133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndDrawing",_kwnames
,&_argo0
))
4136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDrawing. Expected _wxDC_p.");
4143 wxPy_BEGIN_ALLOW_THREADS
;
4144 wxDC_EndDrawing(_arg0
);
4146 wxPy_END_ALLOW_THREADS
;
4147 } Py_INCREF(Py_None
);
4148 _resultobj
= Py_None
;
4152 #define wxDC_EndPage(_swigobj) (_swigobj->EndPage())
4153 static PyObject
*_wrap_wxDC_EndPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4154 PyObject
* _resultobj
;
4156 PyObject
* _argo0
= 0;
4157 char *_kwnames
[] = { "self", NULL
};
4160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndPage",_kwnames
,&_argo0
))
4163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndPage. Expected _wxDC_p.");
4170 wxPy_BEGIN_ALLOW_THREADS
;
4171 wxDC_EndPage(_arg0
);
4173 wxPy_END_ALLOW_THREADS
;
4174 } Py_INCREF(Py_None
);
4175 _resultobj
= Py_None
;
4179 #define wxDC_FloodFill(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FloodFill(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4180 static PyObject
*_wrap_wxDC_FloodFill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4181 PyObject
* _resultobj
;
4186 int _arg4
= (int ) wxFLOOD_SURFACE
;
4187 PyObject
* _argo0
= 0;
4188 PyObject
* _argo3
= 0;
4189 char *_kwnames
[] = { "self","x","y","colour","style", NULL
};
4192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO|i:wxDC_FloodFill",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
,&_arg4
))
4195 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4196 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_FloodFill. Expected _wxDC_p.");
4202 if (_argo3
== Py_None
) { _arg3
= NULL
; }
4203 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxColour_p")) {
4204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDC_FloodFill. Expected _wxColour_p.");
4209 wxPy_BEGIN_ALLOW_THREADS
;
4210 wxDC_FloodFill(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
4212 wxPy_END_ALLOW_THREADS
;
4213 } Py_INCREF(Py_None
);
4214 _resultobj
= Py_None
;
4218 #define wxDC_GetBackground(_swigobj) (_swigobj->GetBackground())
4219 static PyObject
*_wrap_wxDC_GetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4220 PyObject
* _resultobj
;
4223 PyObject
* _argo0
= 0;
4224 char *_kwnames
[] = { "self", NULL
};
4228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBackground",_kwnames
,&_argo0
))
4231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBackground. Expected _wxDC_p.");
4238 wxPy_BEGIN_ALLOW_THREADS
;
4239 wxBrush
& _result_ref
= wxDC_GetBackground(_arg0
);
4240 _result
= (wxBrush
*) &_result_ref
;
4242 wxPy_END_ALLOW_THREADS
;
4244 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
4245 _resultobj
= Py_BuildValue("s",_ptemp
);
4248 _resultobj
= Py_None
;
4253 #define wxDC_GetBrush(_swigobj) (_swigobj->GetBrush())
4254 static PyObject
*_wrap_wxDC_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4255 PyObject
* _resultobj
;
4258 PyObject
* _argo0
= 0;
4259 char *_kwnames
[] = { "self", NULL
};
4263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBrush",_kwnames
,&_argo0
))
4266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBrush. Expected _wxDC_p.");
4273 wxPy_BEGIN_ALLOW_THREADS
;
4274 wxBrush
& _result_ref
= wxDC_GetBrush(_arg0
);
4275 _result
= (wxBrush
*) &_result_ref
;
4277 wxPy_END_ALLOW_THREADS
;
4279 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
4280 _resultobj
= Py_BuildValue("s",_ptemp
);
4283 _resultobj
= Py_None
;
4288 #define wxDC_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
4289 static PyObject
*_wrap_wxDC_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4290 PyObject
* _resultobj
;
4293 PyObject
* _argo0
= 0;
4294 char *_kwnames
[] = { "self", NULL
};
4297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetCharHeight",_kwnames
,&_argo0
))
4300 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4301 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharHeight. Expected _wxDC_p.");
4307 wxPy_BEGIN_ALLOW_THREADS
;
4308 _result
= (long )wxDC_GetCharHeight(_arg0
);
4310 wxPy_END_ALLOW_THREADS
;
4311 } _resultobj
= Py_BuildValue("l",_result
);
4315 #define wxDC_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
4316 static PyObject
*_wrap_wxDC_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4317 PyObject
* _resultobj
;
4320 PyObject
* _argo0
= 0;
4321 char *_kwnames
[] = { "self", NULL
};
4324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetCharWidth",_kwnames
,&_argo0
))
4327 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4328 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharWidth. Expected _wxDC_p.");
4334 wxPy_BEGIN_ALLOW_THREADS
;
4335 _result
= (long )wxDC_GetCharWidth(_arg0
);
4337 wxPy_END_ALLOW_THREADS
;
4338 } _resultobj
= Py_BuildValue("l",_result
);
4342 #define wxDC_GetClippingBox(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetClippingBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4343 static PyObject
*_wrap_wxDC_GetClippingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4344 PyObject
* _resultobj
;
4354 PyObject
* _argo0
= 0;
4355 char *_kwnames
[] = { "self", NULL
};
4370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetClippingBox",_kwnames
,&_argo0
))
4373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetClippingBox. Expected _wxDC_p.");
4380 wxPy_BEGIN_ALLOW_THREADS
;
4381 wxDC_GetClippingBox(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4383 wxPy_END_ALLOW_THREADS
;
4384 } Py_INCREF(Py_None
);
4385 _resultobj
= Py_None
;
4388 o
= PyInt_FromLong((long) (*_arg1
));
4389 _resultobj
= t_output_helper(_resultobj
, o
);
4393 o
= PyInt_FromLong((long) (*_arg2
));
4394 _resultobj
= t_output_helper(_resultobj
, o
);
4398 o
= PyInt_FromLong((long) (*_arg3
));
4399 _resultobj
= t_output_helper(_resultobj
, o
);
4403 o
= PyInt_FromLong((long) (*_arg4
));
4404 _resultobj
= t_output_helper(_resultobj
, o
);
4409 #define wxDC_GetFont(_swigobj) (_swigobj->GetFont())
4410 static PyObject
*_wrap_wxDC_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4411 PyObject
* _resultobj
;
4414 PyObject
* _argo0
= 0;
4415 char *_kwnames
[] = { "self", NULL
};
4419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetFont",_kwnames
,&_argo0
))
4422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFont. Expected _wxDC_p.");
4429 wxPy_BEGIN_ALLOW_THREADS
;
4430 wxFont
& _result_ref
= wxDC_GetFont(_arg0
);
4431 _result
= (wxFont
*) &_result_ref
;
4433 wxPy_END_ALLOW_THREADS
;
4435 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
4436 _resultobj
= Py_BuildValue("s",_ptemp
);
4439 _resultobj
= Py_None
;
4444 #define wxDC_GetLogicalFunction(_swigobj) (_swigobj->GetLogicalFunction())
4445 static PyObject
*_wrap_wxDC_GetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4446 PyObject
* _resultobj
;
4449 PyObject
* _argo0
= 0;
4450 char *_kwnames
[] = { "self", NULL
};
4453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalFunction",_kwnames
,&_argo0
))
4456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalFunction. Expected _wxDC_p.");
4463 wxPy_BEGIN_ALLOW_THREADS
;
4464 _result
= (int )wxDC_GetLogicalFunction(_arg0
);
4466 wxPy_END_ALLOW_THREADS
;
4467 } _resultobj
= Py_BuildValue("i",_result
);
4471 #define wxDC_GetMapMode(_swigobj) (_swigobj->GetMapMode())
4472 static PyObject
*_wrap_wxDC_GetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4473 PyObject
* _resultobj
;
4476 PyObject
* _argo0
= 0;
4477 char *_kwnames
[] = { "self", NULL
};
4480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetMapMode",_kwnames
,&_argo0
))
4483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetMapMode. Expected _wxDC_p.");
4490 wxPy_BEGIN_ALLOW_THREADS
;
4491 _result
= (int )wxDC_GetMapMode(_arg0
);
4493 wxPy_END_ALLOW_THREADS
;
4494 } _resultobj
= Py_BuildValue("i",_result
);
4498 #define wxDC_GetOptimization(_swigobj) (_swigobj->GetOptimization())
4499 static PyObject
*_wrap_wxDC_GetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4500 PyObject
* _resultobj
;
4503 PyObject
* _argo0
= 0;
4504 char *_kwnames
[] = { "self", NULL
};
4507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetOptimization",_kwnames
,&_argo0
))
4510 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4511 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetOptimization. Expected _wxDC_p.");
4517 wxPy_BEGIN_ALLOW_THREADS
;
4518 _result
= (bool )wxDC_GetOptimization(_arg0
);
4520 wxPy_END_ALLOW_THREADS
;
4521 } _resultobj
= Py_BuildValue("i",_result
);
4525 #define wxDC_GetPen(_swigobj) (_swigobj->GetPen())
4526 static PyObject
*_wrap_wxDC_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4527 PyObject
* _resultobj
;
4530 PyObject
* _argo0
= 0;
4531 char *_kwnames
[] = { "self", NULL
};
4535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetPen",_kwnames
,&_argo0
))
4538 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4539 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPen. Expected _wxDC_p.");
4545 wxPy_BEGIN_ALLOW_THREADS
;
4546 wxPen
& _result_ref
= wxDC_GetPen(_arg0
);
4547 _result
= (wxPen
*) &_result_ref
;
4549 wxPy_END_ALLOW_THREADS
;
4551 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
4552 _resultobj
= Py_BuildValue("s",_ptemp
);
4555 _resultobj
= Py_None
;
4560 static wxColour
* wxDC_GetPixel(wxDC
*self
,long x
,long y
) {
4561 wxColour
* wc
= new wxColour();
4562 self
->GetPixel(x
, y
, wc
);
4565 static PyObject
*_wrap_wxDC_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4566 PyObject
* _resultobj
;
4571 PyObject
* _argo0
= 0;
4572 char *_kwnames
[] = { "self","x","y", NULL
};
4576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_GetPixel",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4579 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4580 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPixel. Expected _wxDC_p.");
4586 wxPy_BEGIN_ALLOW_THREADS
;
4587 _result
= (wxColour
*)wxDC_GetPixel(_arg0
,_arg1
,_arg2
);
4589 wxPy_END_ALLOW_THREADS
;
4591 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
4592 _resultobj
= Py_BuildValue("s",_ptemp
);
4595 _resultobj
= Py_None
;
4600 #define wxDC_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
4601 static PyObject
*_wrap_wxDC_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4602 PyObject
* _resultobj
;
4608 PyObject
* _argo0
= 0;
4609 char *_kwnames
[] = { "self", NULL
};
4618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSizeTuple",_kwnames
,&_argo0
))
4621 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4622 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSizeTuple. Expected _wxDC_p.");
4628 wxPy_BEGIN_ALLOW_THREADS
;
4629 wxDC_GetSizeTuple(_arg0
,_arg1
,_arg2
);
4631 wxPy_END_ALLOW_THREADS
;
4632 } Py_INCREF(Py_None
);
4633 _resultobj
= Py_None
;
4636 o
= PyInt_FromLong((long) (*_arg1
));
4637 _resultobj
= t_output_helper(_resultobj
, o
);
4641 o
= PyInt_FromLong((long) (*_arg2
));
4642 _resultobj
= t_output_helper(_resultobj
, o
);
4647 #define wxDC_GetSize(_swigobj) (_swigobj->GetSize())
4648 static PyObject
*_wrap_wxDC_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4649 PyObject
* _resultobj
;
4652 PyObject
* _argo0
= 0;
4653 char *_kwnames
[] = { "self", NULL
};
4657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSize",_kwnames
,&_argo0
))
4660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSize. Expected _wxDC_p.");
4667 wxPy_BEGIN_ALLOW_THREADS
;
4668 _result
= new wxSize (wxDC_GetSize(_arg0
));
4670 wxPy_END_ALLOW_THREADS
;
4671 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4672 _resultobj
= Py_BuildValue("s",_ptemp
);
4676 #define wxDC_GetTextBackground(_swigobj) (_swigobj->GetTextBackground())
4677 static PyObject
*_wrap_wxDC_GetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4678 PyObject
* _resultobj
;
4681 PyObject
* _argo0
= 0;
4682 char *_kwnames
[] = { "self", NULL
};
4686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetTextBackground",_kwnames
,&_argo0
))
4689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextBackground. Expected _wxDC_p.");
4696 wxPy_BEGIN_ALLOW_THREADS
;
4697 wxColour
& _result_ref
= wxDC_GetTextBackground(_arg0
);
4698 _result
= (wxColour
*) &_result_ref
;
4700 wxPy_END_ALLOW_THREADS
;
4702 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
4703 _resultobj
= Py_BuildValue("s",_ptemp
);
4706 _resultobj
= Py_None
;
4711 #define wxDC_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
4712 static PyObject
*_wrap_wxDC_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4713 PyObject
* _resultobj
;
4720 PyObject
* _argo0
= 0;
4721 PyObject
* _obj1
= 0;
4722 char *_kwnames
[] = { "self","string", NULL
};
4731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
4734 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4735 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextExtent. Expected _wxDC_p.");
4741 if (!PyString_Check(_obj1
)) {
4742 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4745 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4748 wxPy_BEGIN_ALLOW_THREADS
;
4749 wxDC_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
4751 wxPy_END_ALLOW_THREADS
;
4752 } Py_INCREF(Py_None
);
4753 _resultobj
= Py_None
;
4756 o
= PyInt_FromLong((long) (*_arg2
));
4757 _resultobj
= t_output_helper(_resultobj
, o
);
4761 o
= PyInt_FromLong((long) (*_arg3
));
4762 _resultobj
= t_output_helper(_resultobj
, o
);
4771 #define wxDC_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4772 static PyObject
*_wrap_wxDC_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4773 PyObject
* _resultobj
;
4784 wxFont
* _arg6
= (wxFont
*) NULL
;
4785 PyObject
* _argo0
= 0;
4786 PyObject
* _obj1
= 0;
4787 PyObject
* _argo6
= 0;
4788 char *_kwnames
[] = { "self","string","font", NULL
};
4803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxDC_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
4806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFullTextExtent. Expected _wxDC_p.");
4813 if (!PyString_Check(_obj1
)) {
4814 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4817 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4820 if (_argo6
== Py_None
) { _arg6
= NULL
; }
4821 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
4822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxDC_GetFullTextExtent. Expected _wxFont_p.");
4827 wxPy_BEGIN_ALLOW_THREADS
;
4828 wxDC_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4830 wxPy_END_ALLOW_THREADS
;
4831 } Py_INCREF(Py_None
);
4832 _resultobj
= Py_None
;
4835 o
= PyInt_FromLong((long) (*_arg2
));
4836 _resultobj
= t_output_helper(_resultobj
, o
);
4840 o
= PyInt_FromLong((long) (*_arg3
));
4841 _resultobj
= t_output_helper(_resultobj
, o
);
4845 o
= PyInt_FromLong((long) (*_arg4
));
4846 _resultobj
= t_output_helper(_resultobj
, o
);
4850 o
= PyInt_FromLong((long) (*_arg5
));
4851 _resultobj
= t_output_helper(_resultobj
, o
);
4860 #define wxDC_GetTextForeground(_swigobj) (_swigobj->GetTextForeground())
4861 static PyObject
*_wrap_wxDC_GetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4862 PyObject
* _resultobj
;
4865 PyObject
* _argo0
= 0;
4866 char *_kwnames
[] = { "self", NULL
};
4870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetTextForeground",_kwnames
,&_argo0
))
4873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextForeground. Expected _wxDC_p.");
4880 wxPy_BEGIN_ALLOW_THREADS
;
4881 wxColour
& _result_ref
= wxDC_GetTextForeground(_arg0
);
4882 _result
= (wxColour
*) &_result_ref
;
4884 wxPy_END_ALLOW_THREADS
;
4886 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
4887 _resultobj
= Py_BuildValue("s",_ptemp
);
4890 _resultobj
= Py_None
;
4895 #define wxDC_LogicalToDeviceX(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceX(_swigarg0))
4896 static PyObject
*_wrap_wxDC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4897 PyObject
* _resultobj
;
4901 PyObject
* _argo0
= 0;
4902 char *_kwnames
[] = { "self","x", NULL
};
4905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceX",_kwnames
,&_argo0
,&_arg1
))
4908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceX. Expected _wxDC_p.");
4915 wxPy_BEGIN_ALLOW_THREADS
;
4916 _result
= (long )wxDC_LogicalToDeviceX(_arg0
,_arg1
);
4918 wxPy_END_ALLOW_THREADS
;
4919 } _resultobj
= Py_BuildValue("l",_result
);
4923 #define wxDC_LogicalToDeviceXRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceXRel(_swigarg0))
4924 static PyObject
*_wrap_wxDC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4925 PyObject
* _resultobj
;
4929 PyObject
* _argo0
= 0;
4930 char *_kwnames
[] = { "self","x", NULL
};
4933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceXRel",_kwnames
,&_argo0
,&_arg1
))
4936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceXRel. Expected _wxDC_p.");
4943 wxPy_BEGIN_ALLOW_THREADS
;
4944 _result
= (long )wxDC_LogicalToDeviceXRel(_arg0
,_arg1
);
4946 wxPy_END_ALLOW_THREADS
;
4947 } _resultobj
= Py_BuildValue("l",_result
);
4951 #define wxDC_LogicalToDeviceY(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceY(_swigarg0))
4952 static PyObject
*_wrap_wxDC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4953 PyObject
* _resultobj
;
4957 PyObject
* _argo0
= 0;
4958 char *_kwnames
[] = { "self","y", NULL
};
4961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceY",_kwnames
,&_argo0
,&_arg1
))
4964 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4965 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceY. Expected _wxDC_p.");
4971 wxPy_BEGIN_ALLOW_THREADS
;
4972 _result
= (long )wxDC_LogicalToDeviceY(_arg0
,_arg1
);
4974 wxPy_END_ALLOW_THREADS
;
4975 } _resultobj
= Py_BuildValue("l",_result
);
4979 #define wxDC_LogicalToDeviceYRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceYRel(_swigarg0))
4980 static PyObject
*_wrap_wxDC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4981 PyObject
* _resultobj
;
4985 PyObject
* _argo0
= 0;
4986 char *_kwnames
[] = { "self","y", NULL
};
4989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceYRel",_kwnames
,&_argo0
,&_arg1
))
4992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceYRel. Expected _wxDC_p.");
4999 wxPy_BEGIN_ALLOW_THREADS
;
5000 _result
= (long )wxDC_LogicalToDeviceYRel(_arg0
,_arg1
);
5002 wxPy_END_ALLOW_THREADS
;
5003 } _resultobj
= Py_BuildValue("l",_result
);
5007 #define wxDC_MaxX(_swigobj) (_swigobj->MaxX())
5008 static PyObject
*_wrap_wxDC_MaxX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5009 PyObject
* _resultobj
;
5012 PyObject
* _argo0
= 0;
5013 char *_kwnames
[] = { "self", NULL
};
5016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MaxX",_kwnames
,&_argo0
))
5019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxX. Expected _wxDC_p.");
5026 wxPy_BEGIN_ALLOW_THREADS
;
5027 _result
= (long )wxDC_MaxX(_arg0
);
5029 wxPy_END_ALLOW_THREADS
;
5030 } _resultobj
= Py_BuildValue("l",_result
);
5034 #define wxDC_MaxY(_swigobj) (_swigobj->MaxY())
5035 static PyObject
*_wrap_wxDC_MaxY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5036 PyObject
* _resultobj
;
5039 PyObject
* _argo0
= 0;
5040 char *_kwnames
[] = { "self", NULL
};
5043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MaxY",_kwnames
,&_argo0
))
5046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxY. Expected _wxDC_p.");
5053 wxPy_BEGIN_ALLOW_THREADS
;
5054 _result
= (long )wxDC_MaxY(_arg0
);
5056 wxPy_END_ALLOW_THREADS
;
5057 } _resultobj
= Py_BuildValue("l",_result
);
5061 #define wxDC_MinX(_swigobj) (_swigobj->MinX())
5062 static PyObject
*_wrap_wxDC_MinX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5063 PyObject
* _resultobj
;
5066 PyObject
* _argo0
= 0;
5067 char *_kwnames
[] = { "self", NULL
};
5070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MinX",_kwnames
,&_argo0
))
5073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinX. Expected _wxDC_p.");
5080 wxPy_BEGIN_ALLOW_THREADS
;
5081 _result
= (long )wxDC_MinX(_arg0
);
5083 wxPy_END_ALLOW_THREADS
;
5084 } _resultobj
= Py_BuildValue("l",_result
);
5088 #define wxDC_MinY(_swigobj) (_swigobj->MinY())
5089 static PyObject
*_wrap_wxDC_MinY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5090 PyObject
* _resultobj
;
5093 PyObject
* _argo0
= 0;
5094 char *_kwnames
[] = { "self", NULL
};
5097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MinY",_kwnames
,&_argo0
))
5100 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5101 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinY. Expected _wxDC_p.");
5107 wxPy_BEGIN_ALLOW_THREADS
;
5108 _result
= (long )wxDC_MinY(_arg0
);
5110 wxPy_END_ALLOW_THREADS
;
5111 } _resultobj
= Py_BuildValue("l",_result
);
5115 #define wxDC_Ok(_swigobj) (_swigobj->Ok())
5116 static PyObject
*_wrap_wxDC_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5117 PyObject
* _resultobj
;
5120 PyObject
* _argo0
= 0;
5121 char *_kwnames
[] = { "self", NULL
};
5124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_Ok",_kwnames
,&_argo0
))
5127 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5128 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Ok. Expected _wxDC_p.");
5134 wxPy_BEGIN_ALLOW_THREADS
;
5135 _result
= (bool )wxDC_Ok(_arg0
);
5137 wxPy_END_ALLOW_THREADS
;
5138 } _resultobj
= Py_BuildValue("i",_result
);
5142 #define wxDC_SetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDeviceOrigin(_swigarg0,_swigarg1))
5143 static PyObject
*_wrap_wxDC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5144 PyObject
* _resultobj
;
5148 PyObject
* _argo0
= 0;
5149 char *_kwnames
[] = { "self","x","y", NULL
};
5152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_SetDeviceOrigin",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5155 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5156 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetDeviceOrigin. Expected _wxDC_p.");
5162 wxPy_BEGIN_ALLOW_THREADS
;
5163 wxDC_SetDeviceOrigin(_arg0
,_arg1
,_arg2
);
5165 wxPy_END_ALLOW_THREADS
;
5166 } Py_INCREF(Py_None
);
5167 _resultobj
= Py_None
;
5171 #define wxDC_SetBackground(_swigobj,_swigarg0) (_swigobj->SetBackground(_swigarg0))
5172 static PyObject
*_wrap_wxDC_SetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5173 PyObject
* _resultobj
;
5176 PyObject
* _argo0
= 0;
5177 PyObject
* _argo1
= 0;
5178 char *_kwnames
[] = { "self","brush", NULL
};
5181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetBackground",_kwnames
,&_argo0
,&_argo1
))
5184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackground. Expected _wxDC_p.");
5191 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5192 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
5193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBackground. Expected _wxBrush_p.");
5198 wxPy_BEGIN_ALLOW_THREADS
;
5199 wxDC_SetBackground(_arg0
,*_arg1
);
5201 wxPy_END_ALLOW_THREADS
;
5202 } Py_INCREF(Py_None
);
5203 _resultobj
= Py_None
;
5207 #define wxDC_SetBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetBackgroundMode(_swigarg0))
5208 static PyObject
*_wrap_wxDC_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5209 PyObject
* _resultobj
;
5212 PyObject
* _argo0
= 0;
5213 char *_kwnames
[] = { "self","mode", NULL
};
5216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetBackgroundMode",_kwnames
,&_argo0
,&_arg1
))
5219 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5220 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackgroundMode. Expected _wxDC_p.");
5226 wxPy_BEGIN_ALLOW_THREADS
;
5227 wxDC_SetBackgroundMode(_arg0
,_arg1
);
5229 wxPy_END_ALLOW_THREADS
;
5230 } Py_INCREF(Py_None
);
5231 _resultobj
= Py_None
;
5235 #define wxDC_SetClippingRegion(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetClippingRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5236 static PyObject
*_wrap_wxDC_SetClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5237 PyObject
* _resultobj
;
5243 PyObject
* _argo0
= 0;
5244 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
5247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_SetClippingRegion",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
5250 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5251 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetClippingRegion. Expected _wxDC_p.");
5257 wxPy_BEGIN_ALLOW_THREADS
;
5258 wxDC_SetClippingRegion(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5260 wxPy_END_ALLOW_THREADS
;
5261 } Py_INCREF(Py_None
);
5262 _resultobj
= Py_None
;
5266 #define wxDC_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
5267 static PyObject
*_wrap_wxDC_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5268 PyObject
* _resultobj
;
5271 PyObject
* _argo0
= 0;
5272 PyObject
* _argo1
= 0;
5273 char *_kwnames
[] = { "self","colourMap", NULL
};
5276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetPalette",_kwnames
,&_argo0
,&_argo1
))
5279 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5280 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPalette. Expected _wxDC_p.");
5286 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5287 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPalette_p")) {
5288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPalette. Expected _wxPalette_p.");
5293 wxPy_BEGIN_ALLOW_THREADS
;
5294 wxDC_SetPalette(_arg0
,*_arg1
);
5296 wxPy_END_ALLOW_THREADS
;
5297 } Py_INCREF(Py_None
);
5298 _resultobj
= Py_None
;
5302 #define wxDC_SetBrush(_swigobj,_swigarg0) (_swigobj->SetBrush(_swigarg0))
5303 static PyObject
*_wrap_wxDC_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5304 PyObject
* _resultobj
;
5307 PyObject
* _argo0
= 0;
5308 PyObject
* _argo1
= 0;
5309 char *_kwnames
[] = { "self","brush", NULL
};
5312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetBrush",_kwnames
,&_argo0
,&_argo1
))
5315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBrush. Expected _wxDC_p.");
5322 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5323 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
5324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBrush. Expected _wxBrush_p.");
5329 wxPy_BEGIN_ALLOW_THREADS
;
5330 wxDC_SetBrush(_arg0
,*_arg1
);
5332 wxPy_END_ALLOW_THREADS
;
5333 } Py_INCREF(Py_None
);
5334 _resultobj
= Py_None
;
5338 #define wxDC_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
5339 static PyObject
*_wrap_wxDC_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5340 PyObject
* _resultobj
;
5343 PyObject
* _argo0
= 0;
5344 PyObject
* _argo1
= 0;
5345 char *_kwnames
[] = { "self","font", NULL
};
5348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetFont",_kwnames
,&_argo0
,&_argo1
))
5351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetFont. Expected _wxDC_p.");
5358 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5359 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
5360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetFont. Expected _wxFont_p.");
5365 wxPy_BEGIN_ALLOW_THREADS
;
5366 wxDC_SetFont(_arg0
,*_arg1
);
5368 wxPy_END_ALLOW_THREADS
;
5369 } Py_INCREF(Py_None
);
5370 _resultobj
= Py_None
;
5374 #define wxDC_SetLogicalFunction(_swigobj,_swigarg0) (_swigobj->SetLogicalFunction(_swigarg0))
5375 static PyObject
*_wrap_wxDC_SetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5376 PyObject
* _resultobj
;
5379 PyObject
* _argo0
= 0;
5380 char *_kwnames
[] = { "self","function", NULL
};
5383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetLogicalFunction",_kwnames
,&_argo0
,&_arg1
))
5386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalFunction. Expected _wxDC_p.");
5393 wxPy_BEGIN_ALLOW_THREADS
;
5394 wxDC_SetLogicalFunction(_arg0
,_arg1
);
5396 wxPy_END_ALLOW_THREADS
;
5397 } Py_INCREF(Py_None
);
5398 _resultobj
= Py_None
;
5402 #define wxDC_SetMapMode(_swigobj,_swigarg0) (_swigobj->SetMapMode(_swigarg0))
5403 static PyObject
*_wrap_wxDC_SetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5404 PyObject
* _resultobj
;
5407 PyObject
* _argo0
= 0;
5408 char *_kwnames
[] = { "self","mode", NULL
};
5411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetMapMode",_kwnames
,&_argo0
,&_arg1
))
5414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetMapMode. Expected _wxDC_p.");
5421 wxPy_BEGIN_ALLOW_THREADS
;
5422 wxDC_SetMapMode(_arg0
,_arg1
);
5424 wxPy_END_ALLOW_THREADS
;
5425 } Py_INCREF(Py_None
);
5426 _resultobj
= Py_None
;
5430 #define wxDC_SetOptimization(_swigobj,_swigarg0) (_swigobj->SetOptimization(_swigarg0))
5431 static PyObject
*_wrap_wxDC_SetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5432 PyObject
* _resultobj
;
5435 PyObject
* _argo0
= 0;
5437 char *_kwnames
[] = { "self","optimize", NULL
};
5440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetOptimization",_kwnames
,&_argo0
,&tempbool1
))
5443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetOptimization. Expected _wxDC_p.");
5449 _arg1
= (bool ) tempbool1
;
5451 wxPy_BEGIN_ALLOW_THREADS
;
5452 wxDC_SetOptimization(_arg0
,_arg1
);
5454 wxPy_END_ALLOW_THREADS
;
5455 } Py_INCREF(Py_None
);
5456 _resultobj
= Py_None
;
5460 #define wxDC_SetPen(_swigobj,_swigarg0) (_swigobj->SetPen(_swigarg0))
5461 static PyObject
*_wrap_wxDC_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5462 PyObject
* _resultobj
;
5465 PyObject
* _argo0
= 0;
5466 PyObject
* _argo1
= 0;
5467 char *_kwnames
[] = { "self","pen", NULL
};
5470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetPen",_kwnames
,&_argo0
,&_argo1
))
5473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPen. Expected _wxDC_p.");
5480 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5481 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
5482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPen. Expected _wxPen_p.");
5487 wxPy_BEGIN_ALLOW_THREADS
;
5488 wxDC_SetPen(_arg0
,*_arg1
);
5490 wxPy_END_ALLOW_THREADS
;
5491 } Py_INCREF(Py_None
);
5492 _resultobj
= Py_None
;
5496 #define wxDC_SetTextBackground(_swigobj,_swigarg0) (_swigobj->SetTextBackground(_swigarg0))
5497 static PyObject
*_wrap_wxDC_SetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5498 PyObject
* _resultobj
;
5501 PyObject
* _argo0
= 0;
5502 PyObject
* _argo1
= 0;
5503 char *_kwnames
[] = { "self","colour", NULL
};
5506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetTextBackground",_kwnames
,&_argo0
,&_argo1
))
5509 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5510 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextBackground. Expected _wxDC_p.");
5516 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5517 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
5518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetTextBackground. Expected _wxColour_p.");
5523 wxPy_BEGIN_ALLOW_THREADS
;
5524 wxDC_SetTextBackground(_arg0
,*_arg1
);
5526 wxPy_END_ALLOW_THREADS
;
5527 } Py_INCREF(Py_None
);
5528 _resultobj
= Py_None
;
5532 #define wxDC_SetTextForeground(_swigobj,_swigarg0) (_swigobj->SetTextForeground(_swigarg0))
5533 static PyObject
*_wrap_wxDC_SetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5534 PyObject
* _resultobj
;
5537 PyObject
* _argo0
= 0;
5538 PyObject
* _argo1
= 0;
5539 char *_kwnames
[] = { "self","colour", NULL
};
5542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetTextForeground",_kwnames
,&_argo0
,&_argo1
))
5545 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5546 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextForeground. Expected _wxDC_p.");
5552 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5553 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
5554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetTextForeground. Expected _wxColour_p.");
5559 wxPy_BEGIN_ALLOW_THREADS
;
5560 wxDC_SetTextForeground(_arg0
,*_arg1
);
5562 wxPy_END_ALLOW_THREADS
;
5563 } Py_INCREF(Py_None
);
5564 _resultobj
= Py_None
;
5568 #define wxDC_SetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetUserScale(_swigarg0,_swigarg1))
5569 static PyObject
*_wrap_wxDC_SetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5570 PyObject
* _resultobj
;
5574 PyObject
* _argo0
= 0;
5575 char *_kwnames
[] = { "self","x_scale","y_scale", NULL
};
5578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxDC_SetUserScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetUserScale. Expected _wxDC_p.");
5588 wxPy_BEGIN_ALLOW_THREADS
;
5589 wxDC_SetUserScale(_arg0
,_arg1
,_arg2
);
5591 wxPy_END_ALLOW_THREADS
;
5592 } Py_INCREF(Py_None
);
5593 _resultobj
= Py_None
;
5597 #define wxDC_StartDoc(_swigobj,_swigarg0) (_swigobj->StartDoc(_swigarg0))
5598 static PyObject
*_wrap_wxDC_StartDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5599 PyObject
* _resultobj
;
5603 PyObject
* _argo0
= 0;
5604 PyObject
* _obj1
= 0;
5605 char *_kwnames
[] = { "self","message", NULL
};
5608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_StartDoc",_kwnames
,&_argo0
,&_obj1
))
5611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartDoc. Expected _wxDC_p.");
5618 if (!PyString_Check(_obj1
)) {
5619 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5622 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5625 wxPy_BEGIN_ALLOW_THREADS
;
5626 _result
= (bool )wxDC_StartDoc(_arg0
,*_arg1
);
5628 wxPy_END_ALLOW_THREADS
;
5629 } _resultobj
= Py_BuildValue("i",_result
);
5637 #define wxDC_StartPage(_swigobj) (_swigobj->StartPage())
5638 static PyObject
*_wrap_wxDC_StartPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5639 PyObject
* _resultobj
;
5641 PyObject
* _argo0
= 0;
5642 char *_kwnames
[] = { "self", NULL
};
5645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_StartPage",_kwnames
,&_argo0
))
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_StartPage. Expected _wxDC_p.");
5655 wxPy_BEGIN_ALLOW_THREADS
;
5656 wxDC_StartPage(_arg0
);
5658 wxPy_END_ALLOW_THREADS
;
5659 } Py_INCREF(Py_None
);
5660 _resultobj
= Py_None
;
5664 #define wxDC_DrawBitmap(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5665 static PyObject
*_wrap_wxDC_DrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5666 PyObject
* _resultobj
;
5671 int _arg4
= (int ) FALSE
;
5672 PyObject
* _argo0
= 0;
5673 PyObject
* _argo1
= 0;
5674 char *_kwnames
[] = { "self","bitmap","x","y","useMask", NULL
};
5677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll|i:wxDC_DrawBitmap",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
))
5680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawBitmap. Expected _wxDC_p.");
5687 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5688 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
5689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawBitmap. Expected _wxBitmap_p.");
5694 wxPy_BEGIN_ALLOW_THREADS
;
5695 wxDC_DrawBitmap(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
5697 wxPy_END_ALLOW_THREADS
;
5698 } Py_INCREF(Py_None
);
5699 _resultobj
= Py_None
;
5703 static void *SwigwxMemoryDCTowxDC(void *ptr
) {
5706 src
= (wxMemoryDC
*) ptr
;
5707 dest
= (wxDC
*) src
;
5708 return (void *) dest
;
5711 #define new_wxMemoryDC() (new wxMemoryDC())
5712 static PyObject
*_wrap_new_wxMemoryDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5713 PyObject
* _resultobj
;
5714 wxMemoryDC
* _result
;
5715 char *_kwnames
[] = { NULL
};
5719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMemoryDC",_kwnames
))
5722 wxPy_BEGIN_ALLOW_THREADS
;
5723 _result
= (wxMemoryDC
*)new_wxMemoryDC();
5725 wxPy_END_ALLOW_THREADS
;
5727 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
5728 _resultobj
= Py_BuildValue("s",_ptemp
);
5731 _resultobj
= Py_None
;
5736 #define wxMemoryDC_SelectObject(_swigobj,_swigarg0) (_swigobj->SelectObject(_swigarg0))
5737 static PyObject
*_wrap_wxMemoryDC_SelectObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5738 PyObject
* _resultobj
;
5741 PyObject
* _argo0
= 0;
5742 PyObject
* _argo1
= 0;
5743 char *_kwnames
[] = { "self","bitmap", NULL
};
5746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMemoryDC_SelectObject",_kwnames
,&_argo0
,&_argo1
))
5749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMemoryDC_p")) {
5751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDC_SelectObject. Expected _wxMemoryDC_p.");
5756 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5757 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
5758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMemoryDC_SelectObject. Expected _wxBitmap_p.");
5763 wxPy_BEGIN_ALLOW_THREADS
;
5764 wxMemoryDC_SelectObject(_arg0
,*_arg1
);
5766 wxPy_END_ALLOW_THREADS
;
5767 } Py_INCREF(Py_None
);
5768 _resultobj
= Py_None
;
5772 static void *SwigwxScreenDCTowxDC(void *ptr
) {
5775 src
= (wxScreenDC
*) ptr
;
5776 dest
= (wxDC
*) src
;
5777 return (void *) dest
;
5780 #define new_wxScreenDC() (new wxScreenDC())
5781 static PyObject
*_wrap_new_wxScreenDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5782 PyObject
* _resultobj
;
5783 wxScreenDC
* _result
;
5784 char *_kwnames
[] = { NULL
};
5788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxScreenDC",_kwnames
))
5791 wxPy_BEGIN_ALLOW_THREADS
;
5792 _result
= (wxScreenDC
*)new_wxScreenDC();
5794 wxPy_END_ALLOW_THREADS
;
5796 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScreenDC_p");
5797 _resultobj
= Py_BuildValue("s",_ptemp
);
5800 _resultobj
= Py_None
;
5805 #define wxScreenDC_StartDrawingOnTop(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
5806 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5807 PyObject
* _resultobj
;
5811 PyObject
* _argo0
= 0;
5812 PyObject
* _argo1
= 0;
5813 char *_kwnames
[] = { "self","window", NULL
};
5816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScreenDC_StartDrawingOnTop",_kwnames
,&_argo0
,&_argo1
))
5819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
5821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTop. Expected _wxScreenDC_p.");
5826 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5827 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScreenDC_StartDrawingOnTop. Expected _wxWindow_p.");
5833 wxPy_BEGIN_ALLOW_THREADS
;
5834 _result
= (bool )wxScreenDC_StartDrawingOnTop(_arg0
,_arg1
);
5836 wxPy_END_ALLOW_THREADS
;
5837 } _resultobj
= Py_BuildValue("i",_result
);
5841 #define wxScreenDC_StartDrawingOnTopRect(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
5842 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTopRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5843 PyObject
* _resultobj
;
5846 wxRect
* _arg1
= (wxRect
*) NULL
;
5847 PyObject
* _argo0
= 0;
5849 PyObject
* _obj1
= 0;
5850 char *_kwnames
[] = { "self","rect", NULL
};
5853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxScreenDC_StartDrawingOnTopRect",_kwnames
,&_argo0
,&_obj1
))
5856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
5858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTopRect. Expected _wxScreenDC_p.");
5865 if (! wxRect_helper(_obj1
, &_arg1
))
5869 wxPy_BEGIN_ALLOW_THREADS
;
5870 _result
= (bool )wxScreenDC_StartDrawingOnTopRect(_arg0
,_arg1
);
5872 wxPy_END_ALLOW_THREADS
;
5873 } _resultobj
= Py_BuildValue("i",_result
);
5877 #define wxScreenDC_EndDrawingOnTop(_swigobj) (_swigobj->EndDrawingOnTop())
5878 static PyObject
*_wrap_wxScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5879 PyObject
* _resultobj
;
5882 PyObject
* _argo0
= 0;
5883 char *_kwnames
[] = { "self", NULL
};
5886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScreenDC_EndDrawingOnTop",_kwnames
,&_argo0
))
5889 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5890 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
5891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_EndDrawingOnTop. Expected _wxScreenDC_p.");
5896 wxPy_BEGIN_ALLOW_THREADS
;
5897 _result
= (bool )wxScreenDC_EndDrawingOnTop(_arg0
);
5899 wxPy_END_ALLOW_THREADS
;
5900 } _resultobj
= Py_BuildValue("i",_result
);
5904 static void *SwigwxClientDCTowxDC(void *ptr
) {
5907 src
= (wxClientDC
*) ptr
;
5908 dest
= (wxDC
*) src
;
5909 return (void *) dest
;
5912 #define new_wxClientDC(_swigarg0) (new wxClientDC(_swigarg0))
5913 static PyObject
*_wrap_new_wxClientDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5914 PyObject
* _resultobj
;
5915 wxClientDC
* _result
;
5917 PyObject
* _argo0
= 0;
5918 char *_kwnames
[] = { "win", NULL
};
5922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxClientDC",_kwnames
,&_argo0
))
5925 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5926 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxClientDC. Expected _wxWindow_p.");
5932 wxPy_BEGIN_ALLOW_THREADS
;
5933 _result
= (wxClientDC
*)new_wxClientDC(_arg0
);
5935 wxPy_END_ALLOW_THREADS
;
5937 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxClientDC_p");
5938 _resultobj
= Py_BuildValue("s",_ptemp
);
5941 _resultobj
= Py_None
;
5946 static void *SwigwxPaintDCTowxDC(void *ptr
) {
5949 src
= (wxPaintDC
*) ptr
;
5950 dest
= (wxDC
*) src
;
5951 return (void *) dest
;
5954 #define new_wxPaintDC(_swigarg0) (new wxPaintDC(_swigarg0))
5955 static PyObject
*_wrap_new_wxPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5956 PyObject
* _resultobj
;
5957 wxPaintDC
* _result
;
5959 PyObject
* _argo0
= 0;
5960 char *_kwnames
[] = { "win", NULL
};
5964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPaintDC",_kwnames
,&_argo0
))
5967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPaintDC. Expected _wxWindow_p.");
5974 wxPy_BEGIN_ALLOW_THREADS
;
5975 _result
= (wxPaintDC
*)new_wxPaintDC(_arg0
);
5977 wxPy_END_ALLOW_THREADS
;
5979 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPaintDC_p");
5980 _resultobj
= Py_BuildValue("s",_ptemp
);
5983 _resultobj
= Py_None
;
5988 static void *SwigwxWindowDCTowxDC(void *ptr
) {
5991 src
= (wxWindowDC
*) ptr
;
5992 dest
= (wxDC
*) src
;
5993 return (void *) dest
;
5996 #define new_wxWindowDC(_swigarg0) (new wxWindowDC(_swigarg0))
5997 static PyObject
*_wrap_new_wxWindowDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5998 PyObject
* _resultobj
;
5999 wxWindowDC
* _result
;
6001 PyObject
* _argo0
= 0;
6002 char *_kwnames
[] = { "win", NULL
};
6006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxWindowDC",_kwnames
,&_argo0
))
6009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDC. Expected _wxWindow_p.");
6016 wxPy_BEGIN_ALLOW_THREADS
;
6017 _result
= (wxWindowDC
*)new_wxWindowDC(_arg0
);
6019 wxPy_END_ALLOW_THREADS
;
6021 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDC_p");
6022 _resultobj
= Py_BuildValue("s",_ptemp
);
6025 _resultobj
= Py_None
;
6030 static void *SwigwxPostScriptDCTowxDC(void *ptr
) {
6031 wxPostScriptDC
*src
;
6033 src
= (wxPostScriptDC
*) ptr
;
6034 dest
= (wxDC
*) src
;
6035 return (void *) dest
;
6038 #define new_wxPostScriptDC(_swigarg0,_swigarg1,_swigarg2) (new wxPostScriptDC(_swigarg0,_swigarg1,_swigarg2))
6039 static PyObject
*_wrap_new_wxPostScriptDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6040 PyObject
* _resultobj
;
6041 wxPostScriptDC
* _result
;
6043 bool _arg1
= (bool ) TRUE
;
6044 wxWindow
* _arg2
= (wxWindow
*) NULL
;
6045 PyObject
* _obj0
= 0;
6046 int tempbool1
= (int) TRUE
;
6047 PyObject
* _argo2
= 0;
6048 char *_kwnames
[] = { "output","interactive","win", NULL
};
6052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:new_wxPostScriptDC",_kwnames
,&_obj0
,&tempbool1
,&_argo2
))
6055 if (!PyString_Check(_obj0
)) {
6056 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6059 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
6061 _arg1
= (bool ) tempbool1
;
6063 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6064 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
6065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPostScriptDC. Expected _wxWindow_p.");
6070 wxPy_BEGIN_ALLOW_THREADS
;
6071 _result
= (wxPostScriptDC
*)new_wxPostScriptDC(*_arg0
,_arg1
,_arg2
);
6073 wxPy_END_ALLOW_THREADS
;
6075 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPostScriptDC_p");
6076 _resultobj
= Py_BuildValue("s",_ptemp
);
6079 _resultobj
= Py_None
;
6088 #define new_wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6089 static PyObject
*_wrap_new_wxPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6090 PyObject
* _resultobj
;
6091 wxPalette
* _result
;
6096 PyObject
* _obj1
= 0;
6097 PyObject
* _obj2
= 0;
6098 PyObject
* _obj3
= 0;
6099 char *_kwnames
[] = { "LIST","LIST","LIST", NULL
};
6103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:new_wxPalette",_kwnames
,&_obj1
,&_obj2
,&_obj3
))
6106 _arg1
= byte_LIST_helper(_obj1
);
6107 if (_arg1
== NULL
) {
6112 _arg2
= byte_LIST_helper(_obj2
);
6113 if (_arg2
== NULL
) {
6119 _arg3
= byte_LIST_helper(_obj3
);
6120 if (_arg3
== NULL
) {
6126 _arg0
= PyList_Size(_obj1
);
6133 wxPy_BEGIN_ALLOW_THREADS
;
6134 _result
= (wxPalette
*)new_wxPalette(_arg0
,_arg1
,_arg2
,_arg3
);
6136 wxPy_END_ALLOW_THREADS
;
6138 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
6139 _resultobj
= Py_BuildValue("s",_ptemp
);
6142 _resultobj
= Py_None
;
6156 #define delete_wxPalette(_swigobj) (delete _swigobj)
6157 static PyObject
*_wrap_delete_wxPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6158 PyObject
* _resultobj
;
6160 PyObject
* _argo0
= 0;
6161 char *_kwnames
[] = { "self", NULL
};
6164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPalette",_kwnames
,&_argo0
))
6167 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6168 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
6169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPalette. Expected _wxPalette_p.");
6174 wxPy_BEGIN_ALLOW_THREADS
;
6175 delete_wxPalette(_arg0
);
6177 wxPy_END_ALLOW_THREADS
;
6178 } Py_INCREF(Py_None
);
6179 _resultobj
= Py_None
;
6183 #define wxPalette_GetPixel(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetPixel(_swigarg0,_swigarg1,_swigarg2))
6184 static PyObject
*_wrap_wxPalette_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6185 PyObject
* _resultobj
;
6191 PyObject
* _argo0
= 0;
6192 char *_kwnames
[] = { "self","red","green","blue", NULL
};
6195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Obbb:wxPalette_GetPixel",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
6198 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6199 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
6200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetPixel. Expected _wxPalette_p.");
6205 wxPy_BEGIN_ALLOW_THREADS
;
6206 _result
= (int )wxPalette_GetPixel(_arg0
,_arg1
,_arg2
,_arg3
);
6208 wxPy_END_ALLOW_THREADS
;
6209 } _resultobj
= Py_BuildValue("i",_result
);
6213 #define wxPalette_GetRGB(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetRGB(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6214 static PyObject
*_wrap_wxPalette_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6215 PyObject
* _resultobj
;
6222 PyObject
* _argo0
= 0;
6223 PyObject
* _argo2
= 0;
6224 PyObject
* _argo3
= 0;
6225 PyObject
* _argo4
= 0;
6226 char *_kwnames
[] = { "self","pixel","OUTPUT","OUTPUT","OUTPUT", NULL
};
6229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOOO:wxPalette_GetRGB",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_argo4
))
6232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
6234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetRGB. Expected _wxPalette_p.");
6239 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6240 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_byte_p")) {
6241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPalette_GetRGB. Expected _byte_p.");
6246 if (_argo3
== Py_None
) { _arg3
= NULL
; }
6247 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_byte_p")) {
6248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxPalette_GetRGB. Expected _byte_p.");
6253 if (_argo4
== Py_None
) { _arg4
= NULL
; }
6254 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_byte_p")) {
6255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxPalette_GetRGB. Expected _byte_p.");
6260 wxPy_BEGIN_ALLOW_THREADS
;
6261 _result
= (bool )wxPalette_GetRGB(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6263 wxPy_END_ALLOW_THREADS
;
6264 } _resultobj
= Py_BuildValue("i",_result
);
6268 #define wxPalette_Ok(_swigobj) (_swigobj->Ok())
6269 static PyObject
*_wrap_wxPalette_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6270 PyObject
* _resultobj
;
6273 PyObject
* _argo0
= 0;
6274 char *_kwnames
[] = { "self", NULL
};
6277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPalette_Ok",_kwnames
,&_argo0
))
6280 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6281 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
6282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_Ok. Expected _wxPalette_p.");
6287 wxPy_BEGIN_ALLOW_THREADS
;
6288 _result
= (bool )wxPalette_Ok(_arg0
);
6290 wxPy_END_ALLOW_THREADS
;
6291 } _resultobj
= Py_BuildValue("i",_result
);
6295 #define new_wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6296 static PyObject
*_wrap_new_wxImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6297 PyObject
* _resultobj
;
6298 wxImageList
* _result
;
6301 bool _arg2
= (bool ) TRUE
;
6302 int _arg3
= (int ) 1;
6303 int tempbool2
= (int) TRUE
;
6304 char *_kwnames
[] = { "width","height","mask","initialCount", NULL
};
6308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ii|ii:new_wxImageList",_kwnames
,&_arg0
,&_arg1
,&tempbool2
,&_arg3
))
6310 _arg2
= (bool ) tempbool2
;
6312 wxPy_BEGIN_ALLOW_THREADS
;
6313 _result
= (wxImageList
*)new_wxImageList(_arg0
,_arg1
,_arg2
,_arg3
);
6315 wxPy_END_ALLOW_THREADS
;
6317 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
6318 _resultobj
= Py_BuildValue("s",_ptemp
);
6321 _resultobj
= Py_None
;
6326 #define delete_wxImageList(_swigobj) (delete _swigobj)
6327 static PyObject
*_wrap_delete_wxImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6328 PyObject
* _resultobj
;
6329 wxImageList
* _arg0
;
6330 PyObject
* _argo0
= 0;
6331 char *_kwnames
[] = { "self", NULL
};
6334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxImageList",_kwnames
,&_argo0
))
6337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxImageList. Expected _wxImageList_p.");
6344 wxPy_BEGIN_ALLOW_THREADS
;
6345 delete_wxImageList(_arg0
);
6347 wxPy_END_ALLOW_THREADS
;
6348 } Py_INCREF(Py_None
);
6349 _resultobj
= Py_None
;
6353 #define wxImageList_Add(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
6354 static PyObject
*_wrap_wxImageList_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6355 PyObject
* _resultobj
;
6357 wxImageList
* _arg0
;
6359 PyObject
* _argo0
= 0;
6360 PyObject
* _argo1
= 0;
6361 char *_kwnames
[] = { "self","bitmap", NULL
};
6364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxImageList_Add",_kwnames
,&_argo0
,&_argo1
))
6367 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6368 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Add. Expected _wxImageList_p.");
6374 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6375 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
6376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_Add. Expected _wxBitmap_p.");
6381 wxPy_BEGIN_ALLOW_THREADS
;
6382 _result
= (int )wxImageList_Add(_arg0
,*_arg1
);
6384 wxPy_END_ALLOW_THREADS
;
6385 } _resultobj
= Py_BuildValue("i",_result
);
6389 #define wxImageList_Replace(_swigobj,_swigarg0,_swigarg1) (_swigobj->Replace(_swigarg0,_swigarg1))
6390 static PyObject
*_wrap_wxImageList_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6391 PyObject
* _resultobj
;
6393 wxImageList
* _arg0
;
6396 PyObject
* _argo0
= 0;
6397 PyObject
* _argo2
= 0;
6398 char *_kwnames
[] = { "self","index","bitmap", NULL
};
6401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxImageList_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
6404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Replace. Expected _wxImageList_p.");
6411 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6412 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
6413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Replace. Expected _wxBitmap_p.");
6418 wxPy_BEGIN_ALLOW_THREADS
;
6419 _result
= (bool )wxImageList_Replace(_arg0
,_arg1
,*_arg2
);
6421 wxPy_END_ALLOW_THREADS
;
6422 } _resultobj
= Py_BuildValue("i",_result
);
6426 #define wxImageList_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6427 static PyObject
*_wrap_wxImageList_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6428 PyObject
* _resultobj
;
6430 wxImageList
* _arg0
;
6435 int _arg5
= (int ) (wxIMAGELIST_DRAW_NORMAL
);
6436 bool _arg6
= (bool ) FALSE
;
6437 PyObject
* _argo0
= 0;
6438 PyObject
* _argo2
= 0;
6439 int tempbool6
= (int) FALSE
;
6440 char *_kwnames
[] = { "self","index","dc","x","x","flags","solidBackground", NULL
};
6443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOii|ii:wxImageList_Draw",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
6446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Draw. Expected _wxImageList_p.");
6453 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6454 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDC_p")) {
6455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Draw. Expected _wxDC_p.");
6459 _arg6
= (bool ) tempbool6
;
6461 wxPy_BEGIN_ALLOW_THREADS
;
6462 _result
= (bool )wxImageList_Draw(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
6464 wxPy_END_ALLOW_THREADS
;
6465 } _resultobj
= Py_BuildValue("i",_result
);
6469 #define wxImageList_GetImageCount(_swigobj) (_swigobj->GetImageCount())
6470 static PyObject
*_wrap_wxImageList_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6471 PyObject
* _resultobj
;
6473 wxImageList
* _arg0
;
6474 PyObject
* _argo0
= 0;
6475 char *_kwnames
[] = { "self", NULL
};
6478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImageList_GetImageCount",_kwnames
,&_argo0
))
6481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_GetImageCount. Expected _wxImageList_p.");
6488 wxPy_BEGIN_ALLOW_THREADS
;
6489 _result
= (int )wxImageList_GetImageCount(_arg0
);
6491 wxPy_END_ALLOW_THREADS
;
6492 } _resultobj
= Py_BuildValue("i",_result
);
6496 #define wxImageList_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
6497 static PyObject
*_wrap_wxImageList_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6498 PyObject
* _resultobj
;
6500 wxImageList
* _arg0
;
6502 PyObject
* _argo0
= 0;
6503 char *_kwnames
[] = { "self","index", NULL
};
6506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxImageList_Remove",_kwnames
,&_argo0
,&_arg1
))
6509 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6510 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Remove. Expected _wxImageList_p.");
6516 wxPy_BEGIN_ALLOW_THREADS
;
6517 _result
= (bool )wxImageList_Remove(_arg0
,_arg1
);
6519 wxPy_END_ALLOW_THREADS
;
6520 } _resultobj
= Py_BuildValue("i",_result
);
6524 #define wxImageList_RemoveAll(_swigobj) (_swigobj->RemoveAll())
6525 static PyObject
*_wrap_wxImageList_RemoveAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6526 PyObject
* _resultobj
;
6528 wxImageList
* _arg0
;
6529 PyObject
* _argo0
= 0;
6530 char *_kwnames
[] = { "self", NULL
};
6533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImageList_RemoveAll",_kwnames
,&_argo0
))
6536 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6537 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_RemoveAll. Expected _wxImageList_p.");
6543 wxPy_BEGIN_ALLOW_THREADS
;
6544 _result
= (bool )wxImageList_RemoveAll(_arg0
);
6546 wxPy_END_ALLOW_THREADS
;
6547 } _resultobj
= Py_BuildValue("i",_result
);
6551 static PyMethodDef gdicMethods
[] = {
6552 { "wxImageList_RemoveAll", (PyCFunction
) _wrap_wxImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
},
6553 { "wxImageList_Remove", (PyCFunction
) _wrap_wxImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
},
6554 { "wxImageList_GetImageCount", (PyCFunction
) _wrap_wxImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
6555 { "wxImageList_Draw", (PyCFunction
) _wrap_wxImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
},
6556 { "wxImageList_Replace", (PyCFunction
) _wrap_wxImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
},
6557 { "wxImageList_Add", (PyCFunction
) _wrap_wxImageList_Add
, METH_VARARGS
| METH_KEYWORDS
},
6558 { "delete_wxImageList", (PyCFunction
) _wrap_delete_wxImageList
, METH_VARARGS
| METH_KEYWORDS
},
6559 { "new_wxImageList", (PyCFunction
) _wrap_new_wxImageList
, METH_VARARGS
| METH_KEYWORDS
},
6560 { "wxPalette_Ok", (PyCFunction
) _wrap_wxPalette_Ok
, METH_VARARGS
| METH_KEYWORDS
},
6561 { "wxPalette_GetRGB", (PyCFunction
) _wrap_wxPalette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
6562 { "wxPalette_GetPixel", (PyCFunction
) _wrap_wxPalette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
6563 { "delete_wxPalette", (PyCFunction
) _wrap_delete_wxPalette
, METH_VARARGS
| METH_KEYWORDS
},
6564 { "new_wxPalette", (PyCFunction
) _wrap_new_wxPalette
, METH_VARARGS
| METH_KEYWORDS
},
6565 { "new_wxPostScriptDC", (PyCFunction
) _wrap_new_wxPostScriptDC
, METH_VARARGS
| METH_KEYWORDS
},
6566 { "new_wxWindowDC", (PyCFunction
) _wrap_new_wxWindowDC
, METH_VARARGS
| METH_KEYWORDS
},
6567 { "new_wxPaintDC", (PyCFunction
) _wrap_new_wxPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
6568 { "new_wxClientDC", (PyCFunction
) _wrap_new_wxClientDC
, METH_VARARGS
| METH_KEYWORDS
},
6569 { "wxScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_wxScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
6570 { "wxScreenDC_StartDrawingOnTopRect", (PyCFunction
) _wrap_wxScreenDC_StartDrawingOnTopRect
, METH_VARARGS
| METH_KEYWORDS
},
6571 { "wxScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_wxScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
6572 { "new_wxScreenDC", (PyCFunction
) _wrap_new_wxScreenDC
, METH_VARARGS
| METH_KEYWORDS
},
6573 { "wxMemoryDC_SelectObject", (PyCFunction
) _wrap_wxMemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
},
6574 { "new_wxMemoryDC", (PyCFunction
) _wrap_new_wxMemoryDC
, METH_VARARGS
| METH_KEYWORDS
},
6575 { "wxDC_DrawBitmap", (PyCFunction
) _wrap_wxDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
6576 { "wxDC_StartPage", (PyCFunction
) _wrap_wxDC_StartPage
, METH_VARARGS
| METH_KEYWORDS
},
6577 { "wxDC_StartDoc", (PyCFunction
) _wrap_wxDC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
},
6578 { "wxDC_SetUserScale", (PyCFunction
) _wrap_wxDC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
6579 { "wxDC_SetTextForeground", (PyCFunction
) _wrap_wxDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
6580 { "wxDC_SetTextBackground", (PyCFunction
) _wrap_wxDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
6581 { "wxDC_SetPen", (PyCFunction
) _wrap_wxDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
6582 { "wxDC_SetOptimization", (PyCFunction
) _wrap_wxDC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
6583 { "wxDC_SetMapMode", (PyCFunction
) _wrap_wxDC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
6584 { "wxDC_SetLogicalFunction", (PyCFunction
) _wrap_wxDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
6585 { "wxDC_SetFont", (PyCFunction
) _wrap_wxDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
6586 { "wxDC_SetBrush", (PyCFunction
) _wrap_wxDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
6587 { "wxDC_SetPalette", (PyCFunction
) _wrap_wxDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
6588 { "wxDC_SetClippingRegion", (PyCFunction
) _wrap_wxDC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
6589 { "wxDC_SetBackgroundMode", (PyCFunction
) _wrap_wxDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
6590 { "wxDC_SetBackground", (PyCFunction
) _wrap_wxDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
},
6591 { "wxDC_SetDeviceOrigin", (PyCFunction
) _wrap_wxDC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
6592 { "wxDC_Ok", (PyCFunction
) _wrap_wxDC_Ok
, METH_VARARGS
| METH_KEYWORDS
},
6593 { "wxDC_MinY", (PyCFunction
) _wrap_wxDC_MinY
, METH_VARARGS
| METH_KEYWORDS
},
6594 { "wxDC_MinX", (PyCFunction
) _wrap_wxDC_MinX
, METH_VARARGS
| METH_KEYWORDS
},
6595 { "wxDC_MaxY", (PyCFunction
) _wrap_wxDC_MaxY
, METH_VARARGS
| METH_KEYWORDS
},
6596 { "wxDC_MaxX", (PyCFunction
) _wrap_wxDC_MaxX
, METH_VARARGS
| METH_KEYWORDS
},
6597 { "wxDC_LogicalToDeviceYRel", (PyCFunction
) _wrap_wxDC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
},
6598 { "wxDC_LogicalToDeviceY", (PyCFunction
) _wrap_wxDC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
},
6599 { "wxDC_LogicalToDeviceXRel", (PyCFunction
) _wrap_wxDC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
},
6600 { "wxDC_LogicalToDeviceX", (PyCFunction
) _wrap_wxDC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
},
6601 { "wxDC_GetTextForeground", (PyCFunction
) _wrap_wxDC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
6602 { "wxDC_GetFullTextExtent", (PyCFunction
) _wrap_wxDC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
6603 { "wxDC_GetTextExtent", (PyCFunction
) _wrap_wxDC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
6604 { "wxDC_GetTextBackground", (PyCFunction
) _wrap_wxDC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
6605 { "wxDC_GetSize", (PyCFunction
) _wrap_wxDC_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
6606 { "wxDC_GetSizeTuple", (PyCFunction
) _wrap_wxDC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
6607 { "wxDC_GetPixel", (PyCFunction
) _wrap_wxDC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
6608 { "wxDC_GetPen", (PyCFunction
) _wrap_wxDC_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
6609 { "wxDC_GetOptimization", (PyCFunction
) _wrap_wxDC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
6610 { "wxDC_GetMapMode", (PyCFunction
) _wrap_wxDC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
6611 { "wxDC_GetLogicalFunction", (PyCFunction
) _wrap_wxDC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
6612 { "wxDC_GetFont", (PyCFunction
) _wrap_wxDC_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
6613 { "wxDC_GetClippingBox", (PyCFunction
) _wrap_wxDC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
},
6614 { "wxDC_GetCharWidth", (PyCFunction
) _wrap_wxDC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
6615 { "wxDC_GetCharHeight", (PyCFunction
) _wrap_wxDC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
6616 { "wxDC_GetBrush", (PyCFunction
) _wrap_wxDC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
6617 { "wxDC_GetBackground", (PyCFunction
) _wrap_wxDC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
},
6618 { "wxDC_FloodFill", (PyCFunction
) _wrap_wxDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
},
6619 { "wxDC_EndPage", (PyCFunction
) _wrap_wxDC_EndPage
, METH_VARARGS
| METH_KEYWORDS
},
6620 { "wxDC_EndDrawing", (PyCFunction
) _wrap_wxDC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
},
6621 { "wxDC_EndDoc", (PyCFunction
) _wrap_wxDC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
},
6622 { "wxDC_DrawText", (PyCFunction
) _wrap_wxDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
6623 { "wxDC_DrawSpline", (PyCFunction
) _wrap_wxDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
6624 { "wxDC_DrawRoundedRectangle", (PyCFunction
) _wrap_wxDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
6625 { "wxDC_DrawRectangle", (PyCFunction
) _wrap_wxDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
6626 { "wxDC_DrawPoint", (PyCFunction
) _wrap_wxDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
6627 { "wxDC_DrawPolygon", (PyCFunction
) _wrap_wxDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
6628 { "wxDC_DrawLines", (PyCFunction
) _wrap_wxDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
6629 { "wxDC_DrawLine", (PyCFunction
) _wrap_wxDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
6630 { "wxDC_DrawIcon", (PyCFunction
) _wrap_wxDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
},
6631 { "wxDC_DrawEllipticArc", (PyCFunction
) _wrap_wxDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
6632 { "wxDC_DrawEllipse", (PyCFunction
) _wrap_wxDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
6633 { "wxDC_DrawCircle", (PyCFunction
) _wrap_wxDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
},
6634 { "wxDC_DrawArc", (PyCFunction
) _wrap_wxDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
6635 { "wxDC_DeviceToLogicalYRel", (PyCFunction
) _wrap_wxDC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
},
6636 { "wxDC_DeviceToLogicalY", (PyCFunction
) _wrap_wxDC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
},
6637 { "wxDC_DeviceToLogicalXRel", (PyCFunction
) _wrap_wxDC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
},
6638 { "wxDC_DeviceToLogicalX", (PyCFunction
) _wrap_wxDC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
},
6639 { "wxDC_DestroyClippingRegion", (PyCFunction
) _wrap_wxDC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
6640 { "wxDC_CrossHair", (PyCFunction
) _wrap_wxDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
},
6641 { "wxDC_Clear", (PyCFunction
) _wrap_wxDC_Clear
, METH_VARARGS
| METH_KEYWORDS
},
6642 { "wxDC_Blit", (PyCFunction
) _wrap_wxDC_Blit
, METH_VARARGS
| METH_KEYWORDS
},
6643 { "wxDC_BeginDrawing", (PyCFunction
) _wrap_wxDC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
},
6644 { "delete_wxDC", (PyCFunction
) _wrap_delete_wxDC
, METH_VARARGS
| METH_KEYWORDS
},
6645 { "wxBrush_SetStyle", (PyCFunction
) _wrap_wxBrush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
6646 { "wxBrush_SetStipple", (PyCFunction
) _wrap_wxBrush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
6647 { "wxBrush_SetColour", (PyCFunction
) _wrap_wxBrush_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
6648 { "wxBrush_Ok", (PyCFunction
) _wrap_wxBrush_Ok
, METH_VARARGS
| METH_KEYWORDS
},
6649 { "wxBrush_GetStyle", (PyCFunction
) _wrap_wxBrush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
6650 { "wxBrush_GetStipple", (PyCFunction
) _wrap_wxBrush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
6651 { "wxBrush_GetColour", (PyCFunction
) _wrap_wxBrush_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
6652 { "new_wxBrush", (PyCFunction
) _wrap_new_wxBrush
, METH_VARARGS
| METH_KEYWORDS
},
6653 { "wxPen_SetWidth", (PyCFunction
) _wrap_wxPen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
6654 { "wxPen_SetStyle", (PyCFunction
) _wrap_wxPen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
6655 { "wxPen_SetJoin", (PyCFunction
) _wrap_wxPen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
},
6656 { "wxPen_SetColour", (PyCFunction
) _wrap_wxPen_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
6657 { "wxPen_SetCap", (PyCFunction
) _wrap_wxPen_SetCap
, METH_VARARGS
| METH_KEYWORDS
},
6658 { "wxPen_Ok", (PyCFunction
) _wrap_wxPen_Ok
, METH_VARARGS
| METH_KEYWORDS
},
6659 { "wxPen_GetWidth", (PyCFunction
) _wrap_wxPen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
6660 { "wxPen_GetStyle", (PyCFunction
) _wrap_wxPen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
6661 { "wxPen_GetJoin", (PyCFunction
) _wrap_wxPen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
},
6662 { "wxPen_GetColour", (PyCFunction
) _wrap_wxPen_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
6663 { "wxPen_GetCap", (PyCFunction
) _wrap_wxPen_GetCap
, METH_VARARGS
| METH_KEYWORDS
},
6664 { "new_wxPen", (PyCFunction
) _wrap_new_wxPen
, METH_VARARGS
| METH_KEYWORDS
},
6665 { "wxColour_Get", (PyCFunction
) _wrap_wxColour_Get
, METH_VARARGS
| METH_KEYWORDS
},
6666 { "wxColour_Set", (PyCFunction
) _wrap_wxColour_Set
, METH_VARARGS
| METH_KEYWORDS
},
6667 { "wxColour_Ok", (PyCFunction
) _wrap_wxColour_Ok
, METH_VARARGS
| METH_KEYWORDS
},
6668 { "wxColour_Blue", (PyCFunction
) _wrap_wxColour_Blue
, METH_VARARGS
| METH_KEYWORDS
},
6669 { "wxColour_Green", (PyCFunction
) _wrap_wxColour_Green
, METH_VARARGS
| METH_KEYWORDS
},
6670 { "wxColour_Red", (PyCFunction
) _wrap_wxColour_Red
, METH_VARARGS
| METH_KEYWORDS
},
6671 { "delete_wxColour", (PyCFunction
) _wrap_delete_wxColour
, METH_VARARGS
| METH_KEYWORDS
},
6672 { "new_wxColour", (PyCFunction
) _wrap_new_wxColour
, METH_VARARGS
| METH_KEYWORDS
},
6673 { "wxFont_GetWeightString", (PyCFunction
) _wrap_wxFont_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
},
6674 { "wxFont_GetStyleString", (PyCFunction
) _wrap_wxFont_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
},
6675 { "wxFont_GetFamilyString", (PyCFunction
) _wrap_wxFont_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
},
6676 { "wxFont_SetEncoding", (PyCFunction
) _wrap_wxFont_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
6677 { "wxFont_SetWeight", (PyCFunction
) _wrap_wxFont_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
6678 { "wxFont_SetUnderlined", (PyCFunction
) _wrap_wxFont_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
6679 { "wxFont_SetStyle", (PyCFunction
) _wrap_wxFont_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
6680 { "wxFont_SetPointSize", (PyCFunction
) _wrap_wxFont_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
6681 { "wxFont_SetFamily", (PyCFunction
) _wrap_wxFont_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
6682 { "wxFont_SetFaceName", (PyCFunction
) _wrap_wxFont_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
6683 { "wxFont_GetEncoding", (PyCFunction
) _wrap_wxFont_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
6684 { "wxFont_GetWeight", (PyCFunction
) _wrap_wxFont_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
6685 { "wxFont_GetUnderlined", (PyCFunction
) _wrap_wxFont_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
6686 { "wxFont_GetStyle", (PyCFunction
) _wrap_wxFont_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
6687 { "wxFont_GetPointSize", (PyCFunction
) _wrap_wxFont_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
6688 { "wxFont_GetFamily", (PyCFunction
) _wrap_wxFont_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
6689 { "wxFont_GetFaceName", (PyCFunction
) _wrap_wxFont_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
6690 { "new_wxFont", (PyCFunction
) _wrap_new_wxFont
, METH_VARARGS
| METH_KEYWORDS
},
6691 { "wxCursor_Ok", (PyCFunction
) _wrap_wxCursor_Ok
, METH_VARARGS
| METH_KEYWORDS
},
6692 { "delete_wxCursor", (PyCFunction
) _wrap_delete_wxCursor
, METH_VARARGS
| METH_KEYWORDS
},
6693 { "wxIcon_SetWidth", (PyCFunction
) _wrap_wxIcon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
6694 { "wxIcon_SetHeight", (PyCFunction
) _wrap_wxIcon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
6695 { "wxIcon_SetDepth", (PyCFunction
) _wrap_wxIcon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
6696 { "wxIcon_Ok", (PyCFunction
) _wrap_wxIcon_Ok
, METH_VARARGS
| METH_KEYWORDS
},
6697 { "wxIcon_LoadFile", (PyCFunction
) _wrap_wxIcon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
6698 { "wxIcon_GetWidth", (PyCFunction
) _wrap_wxIcon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
6699 { "wxIcon_GetHeight", (PyCFunction
) _wrap_wxIcon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
6700 { "wxIcon_GetDepth", (PyCFunction
) _wrap_wxIcon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
6701 { "delete_wxIcon", (PyCFunction
) _wrap_delete_wxIcon
, METH_VARARGS
| METH_KEYWORDS
},
6702 { "new_wxIcon", (PyCFunction
) _wrap_new_wxIcon
, METH_VARARGS
| METH_KEYWORDS
},
6703 { "delete_wxMask", (PyCFunction
) _wrap_delete_wxMask
, METH_VARARGS
| METH_KEYWORDS
},
6704 { "new_wxMask", (PyCFunction
) _wrap_new_wxMask
, METH_VARARGS
| METH_KEYWORDS
},
6705 { "wxBitmap_SetWidth", (PyCFunction
) _wrap_wxBitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
6706 { "wxBitmap_SetMask", (PyCFunction
) _wrap_wxBitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
6707 { "wxBitmap_SetHeight", (PyCFunction
) _wrap_wxBitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
6708 { "wxBitmap_SetDepth", (PyCFunction
) _wrap_wxBitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
6709 { "wxBitmap_SaveFile", (PyCFunction
) _wrap_wxBitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
6710 { "wxBitmap_Ok", (PyCFunction
) _wrap_wxBitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
},
6711 { "wxBitmap_LoadFile", (PyCFunction
) _wrap_wxBitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
6712 { "wxBitmap_GetWidth", (PyCFunction
) _wrap_wxBitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
6713 { "wxBitmap_GetMask", (PyCFunction
) _wrap_wxBitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
6714 { "wxBitmap_GetPalette", (PyCFunction
) _wrap_wxBitmap_GetPalette
, METH_VARARGS
| METH_KEYWORDS
},
6715 { "wxBitmap_GetHeight", (PyCFunction
) _wrap_wxBitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
6716 { "wxBitmap_GetDepth", (PyCFunction
) _wrap_wxBitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
6717 { "delete_wxBitmap", (PyCFunction
) _wrap_delete_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
6718 { "new_wxBitmap", (PyCFunction
) _wrap_new_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
6719 { "wxMemoryDCFromDC", (PyCFunction
) _wrap_wxMemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
},
6720 { "wxNamedColour", (PyCFunction
) _wrap_wxNamedColour
, METH_VARARGS
| METH_KEYWORDS
},
6721 { "wxFont_SetDefaultEncoding", (PyCFunction
) _wrap_wxFont_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
6722 { "wxFont_GetDefaultEncoding", (PyCFunction
) _wrap_wxFont_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
6723 { "wxStockCursor", (PyCFunction
) _wrap_wxStockCursor
, METH_VARARGS
| METH_KEYWORDS
},
6724 { "wxMaskColour", (PyCFunction
) _wrap_wxMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
6725 { "wxNoRefBitmap", (PyCFunction
) _wrap_wxNoRefBitmap
, METH_VARARGS
| METH_KEYWORDS
},
6726 { "wxEmptyBitmap", (PyCFunction
) _wrap_wxEmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
},
6733 * This table is used by the pointer type-checker
6735 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
6736 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
6737 { "_signed_long","_long",0},
6738 { "_wxPrintQuality","_wxCoord",0},
6739 { "_wxPrintQuality","_int",0},
6740 { "_wxPrintQuality","_signed_int",0},
6741 { "_wxPrintQuality","_unsigned_int",0},
6742 { "_wxPrintQuality","_wxWindowID",0},
6743 { "_wxPrintQuality","_uint",0},
6744 { "_wxPrintQuality","_EBool",0},
6745 { "_wxPrintQuality","_size_t",0},
6746 { "_class_wxRegionIterator","_wxRegionIterator",0},
6747 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
6748 { "_wxCursor","_class_wxCursor",0},
6749 { "_wxMask","_class_wxMask",0},
6750 { "_wxPen","_class_wxPen",0},
6751 { "_byte","_unsigned_char",0},
6752 { "_long","_wxDash",0},
6753 { "_long","_unsigned_long",0},
6754 { "_long","_signed_long",0},
6755 { "_wxImageList","_class_wxImageList",0},
6756 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
6757 { "_wxDC","_class_wxPostScriptDC",SwigwxPostScriptDCTowxDC
},
6758 { "_wxDC","_wxPostScriptDC",SwigwxPostScriptDCTowxDC
},
6759 { "_wxDC","_class_wxWindowDC",SwigwxWindowDCTowxDC
},
6760 { "_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC
},
6761 { "_wxDC","_class_wxPaintDC",SwigwxPaintDCTowxDC
},
6762 { "_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
},
6763 { "_wxDC","_class_wxClientDC",SwigwxClientDCTowxDC
},
6764 { "_wxDC","_wxClientDC",SwigwxClientDCTowxDC
},
6765 { "_wxDC","_class_wxScreenDC",SwigwxScreenDCTowxDC
},
6766 { "_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
},
6767 { "_wxDC","_class_wxMemoryDC",SwigwxMemoryDCTowxDC
},
6768 { "_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
},
6769 { "_wxDC","_class_wxDC",0},
6770 { "_size_t","_wxCoord",0},
6771 { "_size_t","_wxPrintQuality",0},
6772 { "_size_t","_unsigned_int",0},
6773 { "_size_t","_int",0},
6774 { "_size_t","_wxWindowID",0},
6775 { "_size_t","_uint",0},
6776 { "_class_wxRealPoint","_wxRealPoint",0},
6777 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
6778 { "_class_wxMask","_wxMask",0},
6779 { "_wxColour","_class_wxColour",0},
6780 { "_wxBrush","_class_wxBrush",0},
6781 { "_uint","_wxCoord",0},
6782 { "_uint","_wxPrintQuality",0},
6783 { "_uint","_size_t",0},
6784 { "_uint","_unsigned_int",0},
6785 { "_uint","_int",0},
6786 { "_uint","_wxWindowID",0},
6787 { "_wxRect","_class_wxRect",0},
6788 { "_wxPoint","_class_wxPoint",0},
6789 { "_wxBitmap","_class_wxCursor",SwigwxCursorTowxBitmap
},
6790 { "_wxBitmap","_wxCursor",SwigwxCursorTowxBitmap
},
6791 { "_wxBitmap","_class_wxIcon",SwigwxIconTowxBitmap
},
6792 { "_wxBitmap","_wxIcon",SwigwxIconTowxBitmap
},
6793 { "_wxBitmap","_class_wxBitmap",0},
6794 { "_wxPyTimer","_class_wxPyTimer",0},
6795 { "_wxWindowDC","_class_wxWindowDC",0},
6796 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
6797 { "_EBool","_wxCoord",0},
6798 { "_EBool","_wxPrintQuality",0},
6799 { "_EBool","_signed_int",0},
6800 { "_EBool","_int",0},
6801 { "_EBool","_wxWindowID",0},
6802 { "_class_wxRegion","_wxRegion",0},
6803 { "_wxFont","_class_wxFont",0},
6804 { "_unsigned_long","_wxDash",0},
6805 { "_unsigned_long","_long",0},
6806 { "_class_wxRect","_wxRect",0},
6807 { "_class_wxDC","_class_wxPostScriptDC",SwigwxPostScriptDCTowxDC
},
6808 { "_class_wxDC","_wxPostScriptDC",SwigwxPostScriptDCTowxDC
},
6809 { "_class_wxDC","_class_wxWindowDC",SwigwxWindowDCTowxDC
},
6810 { "_class_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC
},
6811 { "_class_wxDC","_class_wxPaintDC",SwigwxPaintDCTowxDC
},
6812 { "_class_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
},
6813 { "_class_wxDC","_class_wxClientDC",SwigwxClientDCTowxDC
},
6814 { "_class_wxDC","_wxClientDC",SwigwxClientDCTowxDC
},
6815 { "_class_wxDC","_class_wxScreenDC",SwigwxScreenDCTowxDC
},
6816 { "_class_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
},
6817 { "_class_wxDC","_class_wxMemoryDC",SwigwxMemoryDCTowxDC
},
6818 { "_class_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
},
6819 { "_class_wxDC","_wxDC",0},
6820 { "_class_wxPyTimer","_wxPyTimer",0},
6821 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
6822 { "_signed_int","_wxCoord",0},
6823 { "_signed_int","_wxPrintQuality",0},
6824 { "_signed_int","_EBool",0},
6825 { "_signed_int","_wxWindowID",0},
6826 { "_signed_int","_int",0},
6827 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
6828 { "_wxScreenDC","_class_wxScreenDC",0},
6829 { "_WXTYPE","_short",0},
6830 { "_WXTYPE","_signed_short",0},
6831 { "_WXTYPE","_unsigned_short",0},
6832 { "_class_wxBrush","_wxBrush",0},
6833 { "_unsigned_short","_WXTYPE",0},
6834 { "_unsigned_short","_short",0},
6835 { "_class_wxFont","_wxFont",0},
6836 { "_wxBusyInfo","_class_wxBusyInfo",0},
6837 { "_wxClientDC","_class_wxClientDC",0},
6838 { "_class_wxPoint","_wxPoint",0},
6839 { "_wxRealPoint","_class_wxRealPoint",0},
6840 { "_signed_short","_WXTYPE",0},
6841 { "_signed_short","_short",0},
6842 { "_wxMemoryDC","_class_wxMemoryDC",0},
6843 { "_wxPaintDC","_class_wxPaintDC",0},
6844 { "_class_wxWindowDC","_wxWindowDC",0},
6845 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
6846 { "_class_wxCursor","_wxCursor",0},
6847 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
6848 { "_unsigned_char","_byte",0},
6849 { "_unsigned_int","_wxCoord",0},
6850 { "_unsigned_int","_wxPrintQuality",0},
6851 { "_unsigned_int","_size_t",0},
6852 { "_unsigned_int","_uint",0},
6853 { "_unsigned_int","_wxWindowID",0},
6854 { "_unsigned_int","_int",0},
6855 { "_wxIcon","_class_wxIcon",0},
6856 { "_class_wxPen","_wxPen",0},
6857 { "_short","_WXTYPE",0},
6858 { "_short","_unsigned_short",0},
6859 { "_short","_signed_short",0},
6860 { "_class_wxImageList","_wxImageList",0},
6861 { "_wxWindowID","_wxCoord",0},
6862 { "_wxWindowID","_wxPrintQuality",0},
6863 { "_wxWindowID","_size_t",0},
6864 { "_wxWindowID","_EBool",0},
6865 { "_wxWindowID","_uint",0},
6866 { "_wxWindowID","_int",0},
6867 { "_wxWindowID","_signed_int",0},
6868 { "_wxWindowID","_unsigned_int",0},
6869 { "_int","_wxCoord",0},
6870 { "_int","_wxPrintQuality",0},
6871 { "_int","_size_t",0},
6872 { "_int","_EBool",0},
6873 { "_int","_uint",0},
6874 { "_int","_wxWindowID",0},
6875 { "_int","_unsigned_int",0},
6876 { "_int","_signed_int",0},
6877 { "_wxSize","_class_wxSize",0},
6878 { "_wxRegionIterator","_class_wxRegionIterator",0},
6879 { "_class_wxPaintDC","_wxPaintDC",0},
6880 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
6881 { "_class_wxIcon","_wxIcon",0},
6882 { "_class_wxColour","_wxColour",0},
6883 { "_class_wxScreenDC","_wxScreenDC",0},
6884 { "_wxPalette","_class_wxPalette",0},
6885 { "_wxCoord","_int",0},
6886 { "_wxCoord","_signed_int",0},
6887 { "_wxCoord","_unsigned_int",0},
6888 { "_wxCoord","_wxWindowID",0},
6889 { "_wxCoord","_uint",0},
6890 { "_wxCoord","_EBool",0},
6891 { "_wxCoord","_size_t",0},
6892 { "_wxCoord","_wxPrintQuality",0},
6893 { "_wxRegion","_class_wxRegion",0},
6894 { "_class_wxBusyInfo","_wxBusyInfo",0},
6895 { "_class_wxClientDC","_wxClientDC",0},
6896 { "_class_wxSize","_wxSize",0},
6897 { "_class_wxBitmap","_class_wxCursor",SwigwxCursorTowxBitmap
},
6898 { "_class_wxBitmap","_wxCursor",SwigwxCursorTowxBitmap
},
6899 { "_class_wxBitmap","_class_wxIcon",SwigwxIconTowxBitmap
},
6900 { "_class_wxBitmap","_wxIcon",SwigwxIconTowxBitmap
},
6901 { "_class_wxBitmap","_wxBitmap",0},
6902 { "_class_wxMemoryDC","_wxMemoryDC",0},
6903 { "_wxDash","_unsigned_long",0},
6904 { "_wxDash","_long",0},
6905 { "_class_wxPalette","_wxPalette",0},
6908 static PyObject
*SWIG_globals
;
6912 SWIGEXPORT(void) initgdic() {
6914 SWIG_globals
= SWIG_newvarlink();
6915 m
= Py_InitModule("gdic", gdicMethods
);
6916 d
= PyModule_GetDict(m
);
6917 PyDict_SetItemString(d
,"wxFONTENCODING_SYSTEM", PyInt_FromLong((long) wxFONTENCODING_SYSTEM
));
6918 PyDict_SetItemString(d
,"wxFONTENCODING_DEFAULT", PyInt_FromLong((long) wxFONTENCODING_DEFAULT
));
6919 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_1", PyInt_FromLong((long) wxFONTENCODING_ISO8859_1
));
6920 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_2", PyInt_FromLong((long) wxFONTENCODING_ISO8859_2
));
6921 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_3", PyInt_FromLong((long) wxFONTENCODING_ISO8859_3
));
6922 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_4", PyInt_FromLong((long) wxFONTENCODING_ISO8859_4
));
6923 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_5", PyInt_FromLong((long) wxFONTENCODING_ISO8859_5
));
6924 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_6", PyInt_FromLong((long) wxFONTENCODING_ISO8859_6
));
6925 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_7", PyInt_FromLong((long) wxFONTENCODING_ISO8859_7
));
6926 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_8", PyInt_FromLong((long) wxFONTENCODING_ISO8859_8
));
6927 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_9", PyInt_FromLong((long) wxFONTENCODING_ISO8859_9
));
6928 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_10", PyInt_FromLong((long) wxFONTENCODING_ISO8859_10
));
6929 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_11", PyInt_FromLong((long) wxFONTENCODING_ISO8859_11
));
6930 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_12", PyInt_FromLong((long) wxFONTENCODING_ISO8859_12
));
6931 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_13", PyInt_FromLong((long) wxFONTENCODING_ISO8859_13
));
6932 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_14", PyInt_FromLong((long) wxFONTENCODING_ISO8859_14
));
6933 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_15", PyInt_FromLong((long) wxFONTENCODING_ISO8859_15
));
6934 PyDict_SetItemString(d
,"wxFONTENCODING_KOI8", PyInt_FromLong((long) wxFONTENCODING_KOI8
));
6935 PyDict_SetItemString(d
,"wxFONTENCODING_ALTERNATIVE", PyInt_FromLong((long) wxFONTENCODING_ALTERNATIVE
));
6936 PyDict_SetItemString(d
,"wxFONTENCODING_BULGARIAN", PyInt_FromLong((long) wxFONTENCODING_BULGARIAN
));
6937 PyDict_SetItemString(d
,"wxFONTENCODING_CP437", PyInt_FromLong((long) wxFONTENCODING_CP437
));
6938 PyDict_SetItemString(d
,"wxFONTENCODING_CP850", PyInt_FromLong((long) wxFONTENCODING_CP850
));
6939 PyDict_SetItemString(d
,"wxFONTENCODING_CP852", PyInt_FromLong((long) wxFONTENCODING_CP852
));
6940 PyDict_SetItemString(d
,"wxFONTENCODING_CP855", PyInt_FromLong((long) wxFONTENCODING_CP855
));
6941 PyDict_SetItemString(d
,"wxFONTENCODING_CP866", PyInt_FromLong((long) wxFONTENCODING_CP866
));
6942 PyDict_SetItemString(d
,"wxFONTENCODING_CP1250", PyInt_FromLong((long) wxFONTENCODING_CP1250
));
6943 PyDict_SetItemString(d
,"wxFONTENCODING_CP1251", PyInt_FromLong((long) wxFONTENCODING_CP1251
));
6944 PyDict_SetItemString(d
,"wxFONTENCODING_CP1252", PyInt_FromLong((long) wxFONTENCODING_CP1252
));
6945 PyDict_SetItemString(d
,"wxFONTENCODING_MAX", PyInt_FromLong((long) wxFONTENCODING_MAX
));
6946 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
6947 SWIG_addvarlink(SWIG_globals
,"wxNORMAL_FONT",_wrap_wxNORMAL_FONT_get
, _wrap_wxNORMAL_FONT_set
);
6948 SWIG_addvarlink(SWIG_globals
,"wxSMALL_FONT",_wrap_wxSMALL_FONT_get
, _wrap_wxSMALL_FONT_set
);
6949 SWIG_addvarlink(SWIG_globals
,"wxITALIC_FONT",_wrap_wxITALIC_FONT_get
, _wrap_wxITALIC_FONT_set
);
6950 SWIG_addvarlink(SWIG_globals
,"wxSWISS_FONT",_wrap_wxSWISS_FONT_get
, _wrap_wxSWISS_FONT_set
);
6951 SWIG_addvarlink(SWIG_globals
,"wxRED_PEN",_wrap_wxRED_PEN_get
, _wrap_wxRED_PEN_set
);
6952 SWIG_addvarlink(SWIG_globals
,"wxCYAN_PEN",_wrap_wxCYAN_PEN_get
, _wrap_wxCYAN_PEN_set
);
6953 SWIG_addvarlink(SWIG_globals
,"wxGREEN_PEN",_wrap_wxGREEN_PEN_get
, _wrap_wxGREEN_PEN_set
);
6954 SWIG_addvarlink(SWIG_globals
,"wxBLACK_PEN",_wrap_wxBLACK_PEN_get
, _wrap_wxBLACK_PEN_set
);
6955 SWIG_addvarlink(SWIG_globals
,"wxWHITE_PEN",_wrap_wxWHITE_PEN_get
, _wrap_wxWHITE_PEN_set
);
6956 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_PEN",_wrap_wxTRANSPARENT_PEN_get
, _wrap_wxTRANSPARENT_PEN_set
);
6957 SWIG_addvarlink(SWIG_globals
,"wxBLACK_DASHED_PEN",_wrap_wxBLACK_DASHED_PEN_get
, _wrap_wxBLACK_DASHED_PEN_set
);
6958 SWIG_addvarlink(SWIG_globals
,"wxGREY_PEN",_wrap_wxGREY_PEN_get
, _wrap_wxGREY_PEN_set
);
6959 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_PEN",_wrap_wxMEDIUM_GREY_PEN_get
, _wrap_wxMEDIUM_GREY_PEN_set
);
6960 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_PEN",_wrap_wxLIGHT_GREY_PEN_get
, _wrap_wxLIGHT_GREY_PEN_set
);
6961 SWIG_addvarlink(SWIG_globals
,"wxBLUE_BRUSH",_wrap_wxBLUE_BRUSH_get
, _wrap_wxBLUE_BRUSH_set
);
6962 SWIG_addvarlink(SWIG_globals
,"wxGREEN_BRUSH",_wrap_wxGREEN_BRUSH_get
, _wrap_wxGREEN_BRUSH_set
);
6963 SWIG_addvarlink(SWIG_globals
,"wxWHITE_BRUSH",_wrap_wxWHITE_BRUSH_get
, _wrap_wxWHITE_BRUSH_set
);
6964 SWIG_addvarlink(SWIG_globals
,"wxBLACK_BRUSH",_wrap_wxBLACK_BRUSH_get
, _wrap_wxBLACK_BRUSH_set
);
6965 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_BRUSH",_wrap_wxTRANSPARENT_BRUSH_get
, _wrap_wxTRANSPARENT_BRUSH_set
);
6966 SWIG_addvarlink(SWIG_globals
,"wxCYAN_BRUSH",_wrap_wxCYAN_BRUSH_get
, _wrap_wxCYAN_BRUSH_set
);
6967 SWIG_addvarlink(SWIG_globals
,"wxRED_BRUSH",_wrap_wxRED_BRUSH_get
, _wrap_wxRED_BRUSH_set
);
6968 SWIG_addvarlink(SWIG_globals
,"wxGREY_BRUSH",_wrap_wxGREY_BRUSH_get
, _wrap_wxGREY_BRUSH_set
);
6969 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_BRUSH",_wrap_wxMEDIUM_GREY_BRUSH_get
, _wrap_wxMEDIUM_GREY_BRUSH_set
);
6970 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_BRUSH",_wrap_wxLIGHT_GREY_BRUSH_get
, _wrap_wxLIGHT_GREY_BRUSH_set
);
6971 SWIG_addvarlink(SWIG_globals
,"wxBLACK",_wrap_wxBLACK_get
, _wrap_wxBLACK_set
);
6972 SWIG_addvarlink(SWIG_globals
,"wxWHITE",_wrap_wxWHITE_get
, _wrap_wxWHITE_set
);
6973 SWIG_addvarlink(SWIG_globals
,"wxRED",_wrap_wxRED_get
, _wrap_wxRED_set
);
6974 SWIG_addvarlink(SWIG_globals
,"wxBLUE",_wrap_wxBLUE_get
, _wrap_wxBLUE_set
);
6975 SWIG_addvarlink(SWIG_globals
,"wxGREEN",_wrap_wxGREEN_get
, _wrap_wxGREEN_set
);
6976 SWIG_addvarlink(SWIG_globals
,"wxCYAN",_wrap_wxCYAN_get
, _wrap_wxCYAN_set
);
6977 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY",_wrap_wxLIGHT_GREY_get
, _wrap_wxLIGHT_GREY_set
);
6978 SWIG_addvarlink(SWIG_globals
,"wxSTANDARD_CURSOR",_wrap_wxSTANDARD_CURSOR_get
, _wrap_wxSTANDARD_CURSOR_set
);
6979 SWIG_addvarlink(SWIG_globals
,"wxHOURGLASS_CURSOR",_wrap_wxHOURGLASS_CURSOR_get
, _wrap_wxHOURGLASS_CURSOR_set
);
6980 SWIG_addvarlink(SWIG_globals
,"wxCROSS_CURSOR",_wrap_wxCROSS_CURSOR_get
, _wrap_wxCROSS_CURSOR_set
);
6981 SWIG_addvarlink(SWIG_globals
,"wxNullBitmap",_wrap_wxNullBitmap_get
, _wrap_wxNullBitmap_set
);
6982 SWIG_addvarlink(SWIG_globals
,"wxNullIcon",_wrap_wxNullIcon_get
, _wrap_wxNullIcon_set
);
6983 SWIG_addvarlink(SWIG_globals
,"wxNullCursor",_wrap_wxNullCursor_get
, _wrap_wxNullCursor_set
);
6984 SWIG_addvarlink(SWIG_globals
,"wxNullPen",_wrap_wxNullPen_get
, _wrap_wxNullPen_set
);
6985 SWIG_addvarlink(SWIG_globals
,"wxNullBrush",_wrap_wxNullBrush_get
, _wrap_wxNullBrush_set
);
6986 SWIG_addvarlink(SWIG_globals
,"wxNullPalette",_wrap_wxNullPalette_get
, _wrap_wxNullPalette_set
);
6987 SWIG_addvarlink(SWIG_globals
,"wxNullFont",_wrap_wxNullFont_get
, _wrap_wxNullFont_set
);
6988 SWIG_addvarlink(SWIG_globals
,"wxNullColour",_wrap_wxNullColour_get
, _wrap_wxNullColour_set
);
6989 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_NORMAL", PyInt_FromLong((long) wxIMAGELIST_DRAW_NORMAL
));
6990 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_TRANSPARENT", PyInt_FromLong((long) wxIMAGELIST_DRAW_TRANSPARENT
));
6991 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_SELECTED", PyInt_FromLong((long) wxIMAGELIST_DRAW_SELECTED
));
6992 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_FOCUSED", PyInt_FromLong((long) wxIMAGELIST_DRAW_FOCUSED
));
6993 PyDict_SetItemString(d
,"wxIMAGE_LIST_NORMAL", PyInt_FromLong((long) wxIMAGE_LIST_NORMAL
));
6994 PyDict_SetItemString(d
,"wxIMAGE_LIST_SMALL", PyInt_FromLong((long) wxIMAGE_LIST_SMALL
));
6995 PyDict_SetItemString(d
,"wxIMAGE_LIST_STATE", PyInt_FromLong((long) wxIMAGE_LIST_STATE
));
6998 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
6999 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);