4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 810)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
47 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
48 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initgdic
54 #define SWIG_name "gdic"
57 #include <wx/metafile.h>
58 #include <wx/imaglist.h>
63 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
68 } else if (target
== Py_None
) {
72 if (!PyList_Check(target
)) {
74 target
= PyList_New(0);
75 PyList_Append(target
, o2
);
78 PyList_Append(target
,o
);
84 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
90 } else if (target
== Py_None
) {
94 if (!PyTuple_Check(target
)) {
96 target
= PyTuple_New(1);
97 PyTuple_SetItem(target
, 0, o2
);
100 PyTuple_SetItem(o3
, 0, o
);
103 target
= PySequence_Concat(o2
, o3
);
110 static char* wxStringErrorMsg
= "string type is required for parameter";
111 // Alternate 'constructor'
112 wxBitmap
* wxEmptyBitmap(int width
, int height
, int depth
=-1) {
113 return new wxBitmap(width
, height
, depth
);
117 wxBitmap
* wxBitmapFromData(char* data
, long type
,
118 int width
, int height
, int depth
= 1) {
119 return new wxBitmap((void*)data
, type
, width
, height
, depth
);
123 wxMask
* wxMaskColour(const wxBitmap
& bitmap
, const wxColour
& colour
) {
124 return new wxMask(bitmap
, colour
);
126 // Alternate 'constructor'
127 wxCursor
* wxPyStockCursor(int id
) {
128 return new wxCursor(id
);
131 wxFontEncoding
wxFont_GetDefaultEncoding() {
132 return wxFont::GetDefaultEncoding();
135 void wxFont_SetDefaultEncoding(wxFontEncoding encoding
) {
136 wxFont::SetDefaultEncoding(encoding
);
138 // Alternate 'constructor'
139 wxColour
* wxNamedColour(const wxString
& colorName
) {
140 return new wxColour(colorName
);
142 // Alternate 'constructor'
143 wxMemoryDC
* wxMemoryDCFromDC(wxDC
* oldDC
) {
144 return new wxMemoryDC(oldDC
);
148 extern wxFont
* wxNORMAL_FONT
;
149 extern wxFont
* wxSMALL_FONT
;
150 extern wxFont
* wxITALIC_FONT
;
151 extern wxFont
* wxSWISS_FONT
;
152 extern wxPen
* wxRED_PEN
;
153 extern wxPen
* wxCYAN_PEN
;
154 extern wxPen
* wxGREEN_PEN
;
155 extern wxPen
* wxBLACK_PEN
;
156 extern wxPen
* wxWHITE_PEN
;
157 extern wxPen
* wxTRANSPARENT_PEN
;
158 extern wxPen
* wxBLACK_DASHED_PEN
;
159 extern wxPen
* wxGREY_PEN
;
160 extern wxPen
* wxMEDIUM_GREY_PEN
;
161 extern wxPen
* wxLIGHT_GREY_PEN
;
162 extern wxBrush
* wxBLUE_BRUSH
;
163 extern wxBrush
* wxGREEN_BRUSH
;
164 extern wxBrush
* wxWHITE_BRUSH
;
165 extern wxBrush
* wxBLACK_BRUSH
;
166 extern wxBrush
* wxTRANSPARENT_BRUSH
;
167 extern wxBrush
* wxCYAN_BRUSH
;
168 extern wxBrush
* wxRED_BRUSH
;
169 extern wxBrush
* wxGREY_BRUSH
;
170 extern wxBrush
* wxMEDIUM_GREY_BRUSH
;
171 extern wxBrush
* wxLIGHT_GREY_BRUSH
;
172 extern wxColour
* wxBLACK
;
173 extern wxColour
* wxWHITE
;
174 extern wxColour
* wxRED
;
175 extern wxColour
* wxBLUE
;
176 extern wxColour
* wxGREEN
;
177 extern wxColour
* wxCYAN
;
178 extern wxColour
* wxLIGHT_GREY
;
179 extern wxCursor
* wxSTANDARD_CURSOR
;
180 extern wxCursor
* wxHOURGLASS_CURSOR
;
181 extern wxCursor
* wxCROSS_CURSOR
;
182 extern wxBitmap wxNullBitmap
;
183 extern wxIcon wxNullIcon
;
184 extern wxCursor wxNullCursor
;
185 extern wxPen wxNullPen
;
186 extern wxBrush wxNullBrush
;
187 extern wxPalette wxNullPalette
;
188 extern wxFont wxNullFont
;
189 extern wxColour wxNullColour
;
195 static PyObject
*_wrap_wxEmptyBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
196 PyObject
* _resultobj
;
200 int _arg2
= (int ) -1;
201 char *_kwnames
[] = { "width","height","depth", NULL
};
205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ii|i:wxEmptyBitmap",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
208 wxPy_BEGIN_ALLOW_THREADS
;
209 _result
= (wxBitmap
*)wxEmptyBitmap(_arg0
,_arg1
,_arg2
);
211 wxPy_END_ALLOW_THREADS
;
213 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
214 _resultobj
= Py_BuildValue("s",_ptemp
);
217 _resultobj
= Py_None
;
222 static PyObject
*_wrap_wxMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
223 PyObject
* _resultobj
;
227 PyObject
* _argo0
= 0;
228 PyObject
* _argo1
= 0;
229 char *_kwnames
[] = { "bitmap","colour", NULL
};
233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMaskColour",_kwnames
,&_argo0
,&_argo1
))
236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMaskColour. Expected _wxBitmap_p.");
243 if (_argo1
== Py_None
) { _arg1
= NULL
; }
244 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMaskColour. Expected _wxColour_p.");
250 wxPy_BEGIN_ALLOW_THREADS
;
251 _result
= (wxMask
*)wxMaskColour(*_arg0
,*_arg1
);
253 wxPy_END_ALLOW_THREADS
;
255 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
256 _resultobj
= Py_BuildValue("s",_ptemp
);
259 _resultobj
= Py_None
;
264 static PyObject
*_wrap_wxStockCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
265 PyObject
* _resultobj
;
268 char *_kwnames
[] = { "id", NULL
};
272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxStockCursor",_kwnames
,&_arg0
))
275 wxPy_BEGIN_ALLOW_THREADS
;
276 _result
= (wxCursor
*)wxPyStockCursor(_arg0
);
278 wxPy_END_ALLOW_THREADS
;
280 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCursor_p");
281 _resultobj
= Py_BuildValue("s",_ptemp
);
284 _resultobj
= Py_None
;
289 static PyObject
*_wrap_wxFont_GetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
290 PyObject
* _resultobj
;
291 wxFontEncoding _result
;
292 char *_kwnames
[] = { NULL
};
295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFont_GetDefaultEncoding",_kwnames
))
298 wxPy_BEGIN_ALLOW_THREADS
;
299 _result
= (wxFontEncoding
)wxFont_GetDefaultEncoding();
301 wxPy_END_ALLOW_THREADS
;
302 } _resultobj
= Py_BuildValue("i",_result
);
306 static PyObject
*_wrap_wxFont_SetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
307 PyObject
* _resultobj
;
308 wxFontEncoding _arg0
;
309 char *_kwnames
[] = { "encoding", NULL
};
312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxFont_SetDefaultEncoding",_kwnames
,&_arg0
))
315 wxPy_BEGIN_ALLOW_THREADS
;
316 wxFont_SetDefaultEncoding(_arg0
);
318 wxPy_END_ALLOW_THREADS
;
319 } Py_INCREF(Py_None
);
320 _resultobj
= Py_None
;
324 static PyObject
*_wrap_wxNamedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
325 PyObject
* _resultobj
;
328 PyObject
* _obj0
= 0;
329 char *_kwnames
[] = { "colorName", NULL
};
333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNamedColour",_kwnames
,&_obj0
))
336 if (!PyString_Check(_obj0
)) {
337 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
340 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
343 wxPy_BEGIN_ALLOW_THREADS
;
344 _result
= (wxColour
*)wxNamedColour(*_arg0
);
346 wxPy_END_ALLOW_THREADS
;
348 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
349 _resultobj
= Py_BuildValue("s",_ptemp
);
352 _resultobj
= Py_None
;
361 static PyObject
*_wrap_wxMemoryDCFromDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
362 PyObject
* _resultobj
;
363 wxMemoryDC
* _result
;
365 PyObject
* _argo0
= 0;
366 char *_kwnames
[] = { "oldDC", NULL
};
370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMemoryDCFromDC",_kwnames
,&_argo0
))
373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDCFromDC. Expected _wxDC_p.");
380 wxPy_BEGIN_ALLOW_THREADS
;
381 _result
= (wxMemoryDC
*)wxMemoryDCFromDC(_arg0
);
383 wxPy_END_ALLOW_THREADS
;
385 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
386 _resultobj
= Py_BuildValue("s",_ptemp
);
389 _resultobj
= Py_None
;
394 static int _wrap_wxNORMAL_FONT_set(PyObject
*val
) {
396 PyErr_SetString(PyExc_TypeError
,"Variable wxNORMAL_FONT is read-only.");
400 static PyObject
*_wrap_wxNORMAL_FONT_get() {
404 SWIG_MakePtr(ptemp
, (char *) wxNORMAL_FONT
,"_wxFont_p");
405 pyobj
= PyString_FromString(ptemp
);
409 static int _wrap_wxSMALL_FONT_set(PyObject
*val
) {
411 PyErr_SetString(PyExc_TypeError
,"Variable wxSMALL_FONT is read-only.");
415 static PyObject
*_wrap_wxSMALL_FONT_get() {
419 SWIG_MakePtr(ptemp
, (char *) wxSMALL_FONT
,"_wxFont_p");
420 pyobj
= PyString_FromString(ptemp
);
424 static int _wrap_wxITALIC_FONT_set(PyObject
*val
) {
426 PyErr_SetString(PyExc_TypeError
,"Variable wxITALIC_FONT is read-only.");
430 static PyObject
*_wrap_wxITALIC_FONT_get() {
434 SWIG_MakePtr(ptemp
, (char *) wxITALIC_FONT
,"_wxFont_p");
435 pyobj
= PyString_FromString(ptemp
);
439 static int _wrap_wxSWISS_FONT_set(PyObject
*val
) {
441 PyErr_SetString(PyExc_TypeError
,"Variable wxSWISS_FONT is read-only.");
445 static PyObject
*_wrap_wxSWISS_FONT_get() {
449 SWIG_MakePtr(ptemp
, (char *) wxSWISS_FONT
,"_wxFont_p");
450 pyobj
= PyString_FromString(ptemp
);
454 static int _wrap_wxRED_PEN_set(PyObject
*val
) {
456 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_PEN is read-only.");
460 static PyObject
*_wrap_wxRED_PEN_get() {
464 SWIG_MakePtr(ptemp
, (char *) wxRED_PEN
,"_wxPen_p");
465 pyobj
= PyString_FromString(ptemp
);
469 static int _wrap_wxCYAN_PEN_set(PyObject
*val
) {
471 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_PEN is read-only.");
475 static PyObject
*_wrap_wxCYAN_PEN_get() {
479 SWIG_MakePtr(ptemp
, (char *) wxCYAN_PEN
,"_wxPen_p");
480 pyobj
= PyString_FromString(ptemp
);
484 static int _wrap_wxGREEN_PEN_set(PyObject
*val
) {
486 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_PEN is read-only.");
490 static PyObject
*_wrap_wxGREEN_PEN_get() {
494 SWIG_MakePtr(ptemp
, (char *) wxGREEN_PEN
,"_wxPen_p");
495 pyobj
= PyString_FromString(ptemp
);
499 static int _wrap_wxBLACK_PEN_set(PyObject
*val
) {
501 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_PEN is read-only.");
505 static PyObject
*_wrap_wxBLACK_PEN_get() {
509 SWIG_MakePtr(ptemp
, (char *) wxBLACK_PEN
,"_wxPen_p");
510 pyobj
= PyString_FromString(ptemp
);
514 static int _wrap_wxWHITE_PEN_set(PyObject
*val
) {
516 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_PEN is read-only.");
520 static PyObject
*_wrap_wxWHITE_PEN_get() {
524 SWIG_MakePtr(ptemp
, (char *) wxWHITE_PEN
,"_wxPen_p");
525 pyobj
= PyString_FromString(ptemp
);
529 static int _wrap_wxTRANSPARENT_PEN_set(PyObject
*val
) {
531 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_PEN is read-only.");
535 static PyObject
*_wrap_wxTRANSPARENT_PEN_get() {
539 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_PEN
,"_wxPen_p");
540 pyobj
= PyString_FromString(ptemp
);
544 static int _wrap_wxBLACK_DASHED_PEN_set(PyObject
*val
) {
546 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_DASHED_PEN is read-only.");
550 static PyObject
*_wrap_wxBLACK_DASHED_PEN_get() {
554 SWIG_MakePtr(ptemp
, (char *) wxBLACK_DASHED_PEN
,"_wxPen_p");
555 pyobj
= PyString_FromString(ptemp
);
559 static int _wrap_wxGREY_PEN_set(PyObject
*val
) {
561 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_PEN is read-only.");
565 static PyObject
*_wrap_wxGREY_PEN_get() {
569 SWIG_MakePtr(ptemp
, (char *) wxGREY_PEN
,"_wxPen_p");
570 pyobj
= PyString_FromString(ptemp
);
574 static int _wrap_wxMEDIUM_GREY_PEN_set(PyObject
*val
) {
576 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_PEN is read-only.");
580 static PyObject
*_wrap_wxMEDIUM_GREY_PEN_get() {
584 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_PEN
,"_wxPen_p");
585 pyobj
= PyString_FromString(ptemp
);
589 static int _wrap_wxLIGHT_GREY_PEN_set(PyObject
*val
) {
591 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_PEN is read-only.");
595 static PyObject
*_wrap_wxLIGHT_GREY_PEN_get() {
599 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_PEN
,"_wxPen_p");
600 pyobj
= PyString_FromString(ptemp
);
604 static int _wrap_wxBLUE_BRUSH_set(PyObject
*val
) {
606 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE_BRUSH is read-only.");
610 static PyObject
*_wrap_wxBLUE_BRUSH_get() {
614 SWIG_MakePtr(ptemp
, (char *) wxBLUE_BRUSH
,"_wxBrush_p");
615 pyobj
= PyString_FromString(ptemp
);
619 static int _wrap_wxGREEN_BRUSH_set(PyObject
*val
) {
621 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_BRUSH is read-only.");
625 static PyObject
*_wrap_wxGREEN_BRUSH_get() {
629 SWIG_MakePtr(ptemp
, (char *) wxGREEN_BRUSH
,"_wxBrush_p");
630 pyobj
= PyString_FromString(ptemp
);
634 static int _wrap_wxWHITE_BRUSH_set(PyObject
*val
) {
636 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_BRUSH is read-only.");
640 static PyObject
*_wrap_wxWHITE_BRUSH_get() {
644 SWIG_MakePtr(ptemp
, (char *) wxWHITE_BRUSH
,"_wxBrush_p");
645 pyobj
= PyString_FromString(ptemp
);
649 static int _wrap_wxBLACK_BRUSH_set(PyObject
*val
) {
651 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_BRUSH is read-only.");
655 static PyObject
*_wrap_wxBLACK_BRUSH_get() {
659 SWIG_MakePtr(ptemp
, (char *) wxBLACK_BRUSH
,"_wxBrush_p");
660 pyobj
= PyString_FromString(ptemp
);
664 static int _wrap_wxTRANSPARENT_BRUSH_set(PyObject
*val
) {
666 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_BRUSH is read-only.");
670 static PyObject
*_wrap_wxTRANSPARENT_BRUSH_get() {
674 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_BRUSH
,"_wxBrush_p");
675 pyobj
= PyString_FromString(ptemp
);
679 static int _wrap_wxCYAN_BRUSH_set(PyObject
*val
) {
681 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_BRUSH is read-only.");
685 static PyObject
*_wrap_wxCYAN_BRUSH_get() {
689 SWIG_MakePtr(ptemp
, (char *) wxCYAN_BRUSH
,"_wxBrush_p");
690 pyobj
= PyString_FromString(ptemp
);
694 static int _wrap_wxRED_BRUSH_set(PyObject
*val
) {
696 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_BRUSH is read-only.");
700 static PyObject
*_wrap_wxRED_BRUSH_get() {
704 SWIG_MakePtr(ptemp
, (char *) wxRED_BRUSH
,"_wxBrush_p");
705 pyobj
= PyString_FromString(ptemp
);
709 static int _wrap_wxGREY_BRUSH_set(PyObject
*val
) {
711 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_BRUSH is read-only.");
715 static PyObject
*_wrap_wxGREY_BRUSH_get() {
719 SWIG_MakePtr(ptemp
, (char *) wxGREY_BRUSH
,"_wxBrush_p");
720 pyobj
= PyString_FromString(ptemp
);
724 static int _wrap_wxMEDIUM_GREY_BRUSH_set(PyObject
*val
) {
726 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_BRUSH is read-only.");
730 static PyObject
*_wrap_wxMEDIUM_GREY_BRUSH_get() {
734 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_BRUSH
,"_wxBrush_p");
735 pyobj
= PyString_FromString(ptemp
);
739 static int _wrap_wxLIGHT_GREY_BRUSH_set(PyObject
*val
) {
741 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_BRUSH is read-only.");
745 static PyObject
*_wrap_wxLIGHT_GREY_BRUSH_get() {
749 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_BRUSH
,"_wxBrush_p");
750 pyobj
= PyString_FromString(ptemp
);
754 static int _wrap_wxBLACK_set(PyObject
*val
) {
756 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK is read-only.");
760 static PyObject
*_wrap_wxBLACK_get() {
764 SWIG_MakePtr(ptemp
, (char *) wxBLACK
,"_wxColour_p");
765 pyobj
= PyString_FromString(ptemp
);
769 static int _wrap_wxWHITE_set(PyObject
*val
) {
771 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE is read-only.");
775 static PyObject
*_wrap_wxWHITE_get() {
779 SWIG_MakePtr(ptemp
, (char *) wxWHITE
,"_wxColour_p");
780 pyobj
= PyString_FromString(ptemp
);
784 static int _wrap_wxRED_set(PyObject
*val
) {
786 PyErr_SetString(PyExc_TypeError
,"Variable wxRED is read-only.");
790 static PyObject
*_wrap_wxRED_get() {
794 SWIG_MakePtr(ptemp
, (char *) wxRED
,"_wxColour_p");
795 pyobj
= PyString_FromString(ptemp
);
799 static int _wrap_wxBLUE_set(PyObject
*val
) {
801 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE is read-only.");
805 static PyObject
*_wrap_wxBLUE_get() {
809 SWIG_MakePtr(ptemp
, (char *) wxBLUE
,"_wxColour_p");
810 pyobj
= PyString_FromString(ptemp
);
814 static int _wrap_wxGREEN_set(PyObject
*val
) {
816 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN is read-only.");
820 static PyObject
*_wrap_wxGREEN_get() {
824 SWIG_MakePtr(ptemp
, (char *) wxGREEN
,"_wxColour_p");
825 pyobj
= PyString_FromString(ptemp
);
829 static int _wrap_wxCYAN_set(PyObject
*val
) {
831 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN is read-only.");
835 static PyObject
*_wrap_wxCYAN_get() {
839 SWIG_MakePtr(ptemp
, (char *) wxCYAN
,"_wxColour_p");
840 pyobj
= PyString_FromString(ptemp
);
844 static int _wrap_wxLIGHT_GREY_set(PyObject
*val
) {
846 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY is read-only.");
850 static PyObject
*_wrap_wxLIGHT_GREY_get() {
854 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY
,"_wxColour_p");
855 pyobj
= PyString_FromString(ptemp
);
859 static int _wrap_wxSTANDARD_CURSOR_set(PyObject
*val
) {
861 PyErr_SetString(PyExc_TypeError
,"Variable wxSTANDARD_CURSOR is read-only.");
865 static PyObject
*_wrap_wxSTANDARD_CURSOR_get() {
869 SWIG_MakePtr(ptemp
, (char *) wxSTANDARD_CURSOR
,"_wxCursor_p");
870 pyobj
= PyString_FromString(ptemp
);
874 static int _wrap_wxHOURGLASS_CURSOR_set(PyObject
*val
) {
876 PyErr_SetString(PyExc_TypeError
,"Variable wxHOURGLASS_CURSOR is read-only.");
880 static PyObject
*_wrap_wxHOURGLASS_CURSOR_get() {
884 SWIG_MakePtr(ptemp
, (char *) wxHOURGLASS_CURSOR
,"_wxCursor_p");
885 pyobj
= PyString_FromString(ptemp
);
889 static int _wrap_wxCROSS_CURSOR_set(PyObject
*val
) {
891 PyErr_SetString(PyExc_TypeError
,"Variable wxCROSS_CURSOR is read-only.");
895 static PyObject
*_wrap_wxCROSS_CURSOR_get() {
899 SWIG_MakePtr(ptemp
, (char *) wxCROSS_CURSOR
,"_wxCursor_p");
900 pyobj
= PyString_FromString(ptemp
);
904 static int _wrap_wxNullBitmap_set(PyObject
*val
) {
906 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBitmap is read-only.");
910 static PyObject
*_wrap_wxNullBitmap_get() {
914 SWIG_MakePtr(ptemp
,(char *) &wxNullBitmap
,"_wxBitmap_p");
915 pyobj
= PyString_FromString(ptemp
);
919 static int _wrap_wxNullIcon_set(PyObject
*val
) {
921 PyErr_SetString(PyExc_TypeError
,"Variable wxNullIcon is read-only.");
925 static PyObject
*_wrap_wxNullIcon_get() {
929 SWIG_MakePtr(ptemp
,(char *) &wxNullIcon
,"_wxIcon_p");
930 pyobj
= PyString_FromString(ptemp
);
934 static int _wrap_wxNullCursor_set(PyObject
*val
) {
936 PyErr_SetString(PyExc_TypeError
,"Variable wxNullCursor is read-only.");
940 static PyObject
*_wrap_wxNullCursor_get() {
944 SWIG_MakePtr(ptemp
,(char *) &wxNullCursor
,"_wxCursor_p");
945 pyobj
= PyString_FromString(ptemp
);
949 static int _wrap_wxNullPen_set(PyObject
*val
) {
951 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPen is read-only.");
955 static PyObject
*_wrap_wxNullPen_get() {
959 SWIG_MakePtr(ptemp
,(char *) &wxNullPen
,"_wxPen_p");
960 pyobj
= PyString_FromString(ptemp
);
964 static int _wrap_wxNullBrush_set(PyObject
*val
) {
966 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBrush is read-only.");
970 static PyObject
*_wrap_wxNullBrush_get() {
974 SWIG_MakePtr(ptemp
,(char *) &wxNullBrush
,"_wxBrush_p");
975 pyobj
= PyString_FromString(ptemp
);
979 static int _wrap_wxNullPalette_set(PyObject
*val
) {
981 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPalette is read-only.");
985 static PyObject
*_wrap_wxNullPalette_get() {
989 SWIG_MakePtr(ptemp
,(char *) &wxNullPalette
,"_wxPalette_p");
990 pyobj
= PyString_FromString(ptemp
);
994 static int _wrap_wxNullFont_set(PyObject
*val
) {
996 PyErr_SetString(PyExc_TypeError
,"Variable wxNullFont is read-only.");
1000 static PyObject
*_wrap_wxNullFont_get() {
1004 SWIG_MakePtr(ptemp
,(char *) &wxNullFont
,"_wxFont_p");
1005 pyobj
= PyString_FromString(ptemp
);
1009 static int _wrap_wxNullColour_set(PyObject
*val
) {
1011 PyErr_SetString(PyExc_TypeError
,"Variable wxNullColour is read-only.");
1015 static PyObject
*_wrap_wxNullColour_get() {
1019 SWIG_MakePtr(ptemp
,(char *) &wxNullColour
,"_wxColour_p");
1020 pyobj
= PyString_FromString(ptemp
);
1024 #define new_wxBitmap(_swigarg0,_swigarg1) (new wxBitmap(_swigarg0,_swigarg1))
1025 static PyObject
*_wrap_new_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1026 PyObject
* _resultobj
;
1030 PyObject
* _obj0
= 0;
1031 char *_kwnames
[] = { "name","type", NULL
};
1035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:new_wxBitmap",_kwnames
,&_obj0
,&_arg1
))
1038 if (!PyString_Check(_obj0
)) {
1039 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1042 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
1045 wxPy_BEGIN_ALLOW_THREADS
;
1046 _result
= (wxBitmap
*)new_wxBitmap(*_arg0
,_arg1
);
1048 wxPy_END_ALLOW_THREADS
;
1050 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1051 _resultobj
= Py_BuildValue("s",_ptemp
);
1054 _resultobj
= Py_None
;
1063 #define delete_wxBitmap(_swigobj) (delete _swigobj)
1064 static PyObject
*_wrap_delete_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1065 PyObject
* _resultobj
;
1067 PyObject
* _argo0
= 0;
1068 char *_kwnames
[] = { "self", NULL
};
1071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBitmap",_kwnames
,&_argo0
))
1074 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1075 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBitmap. Expected _wxBitmap_p.");
1081 wxPy_BEGIN_ALLOW_THREADS
;
1082 delete_wxBitmap(_arg0
);
1084 wxPy_END_ALLOW_THREADS
;
1085 } Py_INCREF(Py_None
);
1086 _resultobj
= Py_None
;
1090 #define wxBitmap_GetPalette(_swigobj) (_swigobj->GetPalette())
1091 static PyObject
*_wrap_wxBitmap_GetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1092 PyObject
* _resultobj
;
1093 wxPalette
* _result
;
1095 PyObject
* _argo0
= 0;
1096 char *_kwnames
[] = { "self", NULL
};
1100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetPalette",_kwnames
,&_argo0
))
1103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetPalette. Expected _wxBitmap_p.");
1110 wxPy_BEGIN_ALLOW_THREADS
;
1111 _result
= (wxPalette
*)wxBitmap_GetPalette(_arg0
);
1113 wxPy_END_ALLOW_THREADS
;
1115 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
1116 _resultobj
= Py_BuildValue("s",_ptemp
);
1119 _resultobj
= Py_None
;
1124 #define wxBitmap_GetMask(_swigobj) (_swigobj->GetMask())
1125 static PyObject
*_wrap_wxBitmap_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1126 PyObject
* _resultobj
;
1129 PyObject
* _argo0
= 0;
1130 char *_kwnames
[] = { "self", NULL
};
1134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetMask",_kwnames
,&_argo0
))
1137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetMask. Expected _wxBitmap_p.");
1144 wxPy_BEGIN_ALLOW_THREADS
;
1145 _result
= (wxMask
*)wxBitmap_GetMask(_arg0
);
1147 wxPy_END_ALLOW_THREADS
;
1149 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
1150 _resultobj
= Py_BuildValue("s",_ptemp
);
1153 _resultobj
= Py_None
;
1158 #define wxBitmap_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1159 static PyObject
*_wrap_wxBitmap_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1160 PyObject
* _resultobj
;
1165 PyObject
* _argo0
= 0;
1166 PyObject
* _obj1
= 0;
1167 char *_kwnames
[] = { "self","name","flags", NULL
};
1170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOl:wxBitmap_LoadFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1173 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1174 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_LoadFile. Expected _wxBitmap_p.");
1180 if (!PyString_Check(_obj1
)) {
1181 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1184 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1187 wxPy_BEGIN_ALLOW_THREADS
;
1188 _result
= (bool )wxBitmap_LoadFile(_arg0
,*_arg1
,_arg2
);
1190 wxPy_END_ALLOW_THREADS
;
1191 } _resultobj
= Py_BuildValue("i",_result
);
1199 #define wxBitmap_SaveFile(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SaveFile(_swigarg0,_swigarg1,_swigarg2))
1200 static PyObject
*_wrap_wxBitmap_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1201 PyObject
* _resultobj
;
1206 wxPalette
* _arg3
= (wxPalette
*) NULL
;
1207 PyObject
* _argo0
= 0;
1208 PyObject
* _obj1
= 0;
1209 PyObject
* _argo3
= 0;
1210 char *_kwnames
[] = { "self","name","type","palette", NULL
};
1213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|O:wxBitmap_SaveFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_argo3
))
1216 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1217 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SaveFile. Expected _wxBitmap_p.");
1223 if (!PyString_Check(_obj1
)) {
1224 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1227 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1230 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1231 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxPalette_p")) {
1232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxBitmap_SaveFile. Expected _wxPalette_p.");
1237 wxPy_BEGIN_ALLOW_THREADS
;
1238 _result
= (bool )wxBitmap_SaveFile(_arg0
,*_arg1
,_arg2
,_arg3
);
1240 wxPy_END_ALLOW_THREADS
;
1241 } _resultobj
= Py_BuildValue("i",_result
);
1249 #define wxBitmap_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
1250 static PyObject
*_wrap_wxBitmap_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1251 PyObject
* _resultobj
;
1254 PyObject
* _argo0
= 0;
1255 PyObject
* _argo1
= 0;
1256 char *_kwnames
[] = { "self","mask", NULL
};
1259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_SetMask",_kwnames
,&_argo0
,&_argo1
))
1262 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1263 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetMask. Expected _wxBitmap_p.");
1269 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1270 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMask_p")) {
1271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_SetMask. Expected _wxMask_p.");
1276 wxPy_BEGIN_ALLOW_THREADS
;
1277 wxBitmap_SetMask(_arg0
,_arg1
);
1279 wxPy_END_ALLOW_THREADS
;
1280 } Py_INCREF(Py_None
);
1281 _resultobj
= Py_None
;
1285 #define wxBitmap_Ok(_swigobj) (_swigobj->Ok())
1286 static PyObject
*_wrap_wxBitmap_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1287 PyObject
* _resultobj
;
1290 PyObject
* _argo0
= 0;
1291 char *_kwnames
[] = { "self", NULL
};
1294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_Ok",_kwnames
,&_argo0
))
1297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_Ok. Expected _wxBitmap_p.");
1304 wxPy_BEGIN_ALLOW_THREADS
;
1305 _result
= (bool )wxBitmap_Ok(_arg0
);
1307 wxPy_END_ALLOW_THREADS
;
1308 } _resultobj
= Py_BuildValue("i",_result
);
1312 #define wxBitmap_GetWidth(_swigobj) (_swigobj->GetWidth())
1313 static PyObject
*_wrap_wxBitmap_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1314 PyObject
* _resultobj
;
1317 PyObject
* _argo0
= 0;
1318 char *_kwnames
[] = { "self", NULL
};
1321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetWidth",_kwnames
,&_argo0
))
1324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetWidth. Expected _wxBitmap_p.");
1331 wxPy_BEGIN_ALLOW_THREADS
;
1332 _result
= (int )wxBitmap_GetWidth(_arg0
);
1334 wxPy_END_ALLOW_THREADS
;
1335 } _resultobj
= Py_BuildValue("i",_result
);
1339 #define wxBitmap_GetHeight(_swigobj) (_swigobj->GetHeight())
1340 static PyObject
*_wrap_wxBitmap_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1341 PyObject
* _resultobj
;
1344 PyObject
* _argo0
= 0;
1345 char *_kwnames
[] = { "self", NULL
};
1348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetHeight",_kwnames
,&_argo0
))
1351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetHeight. Expected _wxBitmap_p.");
1358 wxPy_BEGIN_ALLOW_THREADS
;
1359 _result
= (int )wxBitmap_GetHeight(_arg0
);
1361 wxPy_END_ALLOW_THREADS
;
1362 } _resultobj
= Py_BuildValue("i",_result
);
1366 #define wxBitmap_GetDepth(_swigobj) (_swigobj->GetDepth())
1367 static PyObject
*_wrap_wxBitmap_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1368 PyObject
* _resultobj
;
1371 PyObject
* _argo0
= 0;
1372 char *_kwnames
[] = { "self", NULL
};
1375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetDepth",_kwnames
,&_argo0
))
1378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetDepth. Expected _wxBitmap_p.");
1385 wxPy_BEGIN_ALLOW_THREADS
;
1386 _result
= (int )wxBitmap_GetDepth(_arg0
);
1388 wxPy_END_ALLOW_THREADS
;
1389 } _resultobj
= Py_BuildValue("i",_result
);
1393 #define wxBitmap_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1394 static PyObject
*_wrap_wxBitmap_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1395 PyObject
* _resultobj
;
1398 PyObject
* _argo0
= 0;
1399 char *_kwnames
[] = { "self","w", NULL
};
1402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetWidth",_kwnames
,&_argo0
,&_arg1
))
1405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetWidth. Expected _wxBitmap_p.");
1412 wxPy_BEGIN_ALLOW_THREADS
;
1413 wxBitmap_SetWidth(_arg0
,_arg1
);
1415 wxPy_END_ALLOW_THREADS
;
1416 } Py_INCREF(Py_None
);
1417 _resultobj
= Py_None
;
1421 #define wxBitmap_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1422 static PyObject
*_wrap_wxBitmap_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1423 PyObject
* _resultobj
;
1426 PyObject
* _argo0
= 0;
1427 char *_kwnames
[] = { "self","h", NULL
};
1430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetHeight",_kwnames
,&_argo0
,&_arg1
))
1433 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1434 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetHeight. Expected _wxBitmap_p.");
1440 wxPy_BEGIN_ALLOW_THREADS
;
1441 wxBitmap_SetHeight(_arg0
,_arg1
);
1443 wxPy_END_ALLOW_THREADS
;
1444 } Py_INCREF(Py_None
);
1445 _resultobj
= Py_None
;
1449 #define wxBitmap_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
1450 static PyObject
*_wrap_wxBitmap_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1451 PyObject
* _resultobj
;
1454 PyObject
* _argo0
= 0;
1455 char *_kwnames
[] = { "self","d", NULL
};
1458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetDepth",_kwnames
,&_argo0
,&_arg1
))
1461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetDepth. Expected _wxBitmap_p.");
1468 wxPy_BEGIN_ALLOW_THREADS
;
1469 wxBitmap_SetDepth(_arg0
,_arg1
);
1471 wxPy_END_ALLOW_THREADS
;
1472 } Py_INCREF(Py_None
);
1473 _resultobj
= Py_None
;
1477 #define new_wxMask(_swigarg0) (new wxMask(_swigarg0))
1478 static PyObject
*_wrap_new_wxMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1479 PyObject
* _resultobj
;
1482 PyObject
* _argo0
= 0;
1483 char *_kwnames
[] = { "bitmap", NULL
};
1487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxMask",_kwnames
,&_argo0
))
1490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMask. Expected _wxBitmap_p.");
1497 wxPy_BEGIN_ALLOW_THREADS
;
1498 _result
= (wxMask
*)new_wxMask(*_arg0
);
1500 wxPy_END_ALLOW_THREADS
;
1502 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
1503 _resultobj
= Py_BuildValue("s",_ptemp
);
1506 _resultobj
= Py_None
;
1511 #define new_wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1512 static PyObject
*_wrap_new_wxIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1513 PyObject
* _resultobj
;
1517 int _arg2
= (int ) -1;
1518 int _arg3
= (int ) -1;
1519 PyObject
* _obj0
= 0;
1520 char *_kwnames
[] = { "name","flags","desiredWidth","desiredHeight", NULL
};
1524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:new_wxIcon",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
))
1527 if (!PyString_Check(_obj0
)) {
1528 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1531 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
1534 wxPy_BEGIN_ALLOW_THREADS
;
1535 _result
= (wxIcon
*)new_wxIcon(*_arg0
,_arg1
,_arg2
,_arg3
);
1537 wxPy_END_ALLOW_THREADS
;
1539 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
1540 _resultobj
= Py_BuildValue("s",_ptemp
);
1543 _resultobj
= Py_None
;
1552 #define delete_wxIcon(_swigobj) (delete _swigobj)
1553 static PyObject
*_wrap_delete_wxIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1554 PyObject
* _resultobj
;
1556 PyObject
* _argo0
= 0;
1557 char *_kwnames
[] = { "self", NULL
};
1560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxIcon",_kwnames
,&_argo0
))
1563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxIcon. Expected _wxIcon_p.");
1570 wxPy_BEGIN_ALLOW_THREADS
;
1571 delete_wxIcon(_arg0
);
1573 wxPy_END_ALLOW_THREADS
;
1574 } Py_INCREF(Py_None
);
1575 _resultobj
= Py_None
;
1579 #define wxIcon_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1580 static PyObject
*_wrap_wxIcon_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1581 PyObject
* _resultobj
;
1586 PyObject
* _argo0
= 0;
1587 PyObject
* _obj1
= 0;
1588 char *_kwnames
[] = { "self","name","flags", NULL
};
1591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOl:wxIcon_LoadFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1594 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1595 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_LoadFile. Expected _wxIcon_p.");
1601 if (!PyString_Check(_obj1
)) {
1602 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1605 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1608 wxPy_BEGIN_ALLOW_THREADS
;
1609 _result
= (bool )wxIcon_LoadFile(_arg0
,*_arg1
,_arg2
);
1611 wxPy_END_ALLOW_THREADS
;
1612 } _resultobj
= Py_BuildValue("i",_result
);
1620 #define wxIcon_Ok(_swigobj) (_swigobj->Ok())
1621 static PyObject
*_wrap_wxIcon_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1622 PyObject
* _resultobj
;
1625 PyObject
* _argo0
= 0;
1626 char *_kwnames
[] = { "self", NULL
};
1629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_Ok",_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 wxIcon_Ok. Expected _wxIcon_p.");
1639 wxPy_BEGIN_ALLOW_THREADS
;
1640 _result
= (bool )wxIcon_Ok(_arg0
);
1642 wxPy_END_ALLOW_THREADS
;
1643 } _resultobj
= Py_BuildValue("i",_result
);
1647 #define wxIcon_GetWidth(_swigobj) (_swigobj->GetWidth())
1648 static PyObject
*_wrap_wxIcon_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1649 PyObject
* _resultobj
;
1652 PyObject
* _argo0
= 0;
1653 char *_kwnames
[] = { "self", NULL
};
1656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetWidth",_kwnames
,&_argo0
))
1659 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1660 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetWidth. Expected _wxIcon_p.");
1666 wxPy_BEGIN_ALLOW_THREADS
;
1667 _result
= (int )wxIcon_GetWidth(_arg0
);
1669 wxPy_END_ALLOW_THREADS
;
1670 } _resultobj
= Py_BuildValue("i",_result
);
1674 #define wxIcon_GetHeight(_swigobj) (_swigobj->GetHeight())
1675 static PyObject
*_wrap_wxIcon_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1676 PyObject
* _resultobj
;
1679 PyObject
* _argo0
= 0;
1680 char *_kwnames
[] = { "self", NULL
};
1683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetHeight",_kwnames
,&_argo0
))
1686 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1687 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetHeight. Expected _wxIcon_p.");
1693 wxPy_BEGIN_ALLOW_THREADS
;
1694 _result
= (int )wxIcon_GetHeight(_arg0
);
1696 wxPy_END_ALLOW_THREADS
;
1697 } _resultobj
= Py_BuildValue("i",_result
);
1701 #define wxIcon_GetDepth(_swigobj) (_swigobj->GetDepth())
1702 static PyObject
*_wrap_wxIcon_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1703 PyObject
* _resultobj
;
1706 PyObject
* _argo0
= 0;
1707 char *_kwnames
[] = { "self", NULL
};
1710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetDepth",_kwnames
,&_argo0
))
1713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetDepth. Expected _wxIcon_p.");
1720 wxPy_BEGIN_ALLOW_THREADS
;
1721 _result
= (int )wxIcon_GetDepth(_arg0
);
1723 wxPy_END_ALLOW_THREADS
;
1724 } _resultobj
= Py_BuildValue("i",_result
);
1728 #define wxIcon_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1729 static PyObject
*_wrap_wxIcon_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1730 PyObject
* _resultobj
;
1733 PyObject
* _argo0
= 0;
1734 char *_kwnames
[] = { "self","w", NULL
};
1737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetWidth",_kwnames
,&_argo0
,&_arg1
))
1740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetWidth. Expected _wxIcon_p.");
1747 wxPy_BEGIN_ALLOW_THREADS
;
1748 wxIcon_SetWidth(_arg0
,_arg1
);
1750 wxPy_END_ALLOW_THREADS
;
1751 } Py_INCREF(Py_None
);
1752 _resultobj
= Py_None
;
1756 #define wxIcon_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1757 static PyObject
*_wrap_wxIcon_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1758 PyObject
* _resultobj
;
1761 PyObject
* _argo0
= 0;
1762 char *_kwnames
[] = { "self","h", NULL
};
1765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetHeight",_kwnames
,&_argo0
,&_arg1
))
1768 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1769 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetHeight. Expected _wxIcon_p.");
1775 wxPy_BEGIN_ALLOW_THREADS
;
1776 wxIcon_SetHeight(_arg0
,_arg1
);
1778 wxPy_END_ALLOW_THREADS
;
1779 } Py_INCREF(Py_None
);
1780 _resultobj
= Py_None
;
1784 #define wxIcon_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
1785 static PyObject
*_wrap_wxIcon_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1786 PyObject
* _resultobj
;
1789 PyObject
* _argo0
= 0;
1790 char *_kwnames
[] = { "self","d", NULL
};
1793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetDepth",_kwnames
,&_argo0
,&_arg1
))
1796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetDepth. Expected _wxIcon_p.");
1803 wxPy_BEGIN_ALLOW_THREADS
;
1804 wxIcon_SetDepth(_arg0
,_arg1
);
1806 wxPy_END_ALLOW_THREADS
;
1807 } Py_INCREF(Py_None
);
1808 _resultobj
= Py_None
;
1812 #define delete_wxCursor(_swigobj) (delete _swigobj)
1813 static PyObject
*_wrap_delete_wxCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1814 PyObject
* _resultobj
;
1816 PyObject
* _argo0
= 0;
1817 char *_kwnames
[] = { "self", NULL
};
1820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCursor",_kwnames
,&_argo0
))
1823 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1824 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCursor. Expected _wxCursor_p.");
1830 wxPy_BEGIN_ALLOW_THREADS
;
1831 delete_wxCursor(_arg0
);
1833 wxPy_END_ALLOW_THREADS
;
1834 } Py_INCREF(Py_None
);
1835 _resultobj
= Py_None
;
1839 #define wxCursor_Ok(_swigobj) (_swigobj->Ok())
1840 static PyObject
*_wrap_wxCursor_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1841 PyObject
* _resultobj
;
1844 PyObject
* _argo0
= 0;
1845 char *_kwnames
[] = { "self", NULL
};
1848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCursor_Ok",_kwnames
,&_argo0
))
1851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_Ok. Expected _wxCursor_p.");
1858 wxPy_BEGIN_ALLOW_THREADS
;
1859 _result
= (bool )wxCursor_Ok(_arg0
);
1861 wxPy_END_ALLOW_THREADS
;
1862 } _resultobj
= Py_BuildValue("i",_result
);
1866 static wxFont
*new_wxFont(int pointSize
,int family
,int style
,int weight
,int underline
,char *faceName
,wxFontEncoding encoding
) {
1868 return wxTheFontList
->FindOrCreateFont(pointSize
, family
, style
, weight
,
1869 underline
, faceName
, encoding
);
1872 static PyObject
*_wrap_new_wxFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1873 PyObject
* _resultobj
;
1879 int _arg4
= (int ) FALSE
;
1880 char * _arg5
= (char *) "";
1881 wxFontEncoding _arg6
= (wxFontEncoding
) (wxFONTENCODING_DEFAULT
);
1882 char *_kwnames
[] = { "pointSize","family","style","weight","underline","faceName","encoding", NULL
};
1886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiii|isi:new_wxFont",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
1889 wxPy_BEGIN_ALLOW_THREADS
;
1890 _result
= (wxFont
*)new_wxFont(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1892 wxPy_END_ALLOW_THREADS
;
1894 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1895 _resultobj
= Py_BuildValue("s",_ptemp
);
1898 _resultobj
= Py_None
;
1903 #define wxFont_Ok(_swigobj) (_swigobj->Ok())
1904 static PyObject
*_wrap_wxFont_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1905 PyObject
* _resultobj
;
1908 PyObject
* _argo0
= 0;
1909 char *_kwnames
[] = { "self", NULL
};
1912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_Ok",_kwnames
,&_argo0
))
1915 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1916 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_Ok. Expected _wxFont_p.");
1922 wxPy_BEGIN_ALLOW_THREADS
;
1923 _result
= (bool )wxFont_Ok(_arg0
);
1925 wxPy_END_ALLOW_THREADS
;
1926 } _resultobj
= Py_BuildValue("i",_result
);
1930 #define wxFont_GetFaceName(_swigobj) (_swigobj->GetFaceName())
1931 static PyObject
*_wrap_wxFont_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1932 PyObject
* _resultobj
;
1935 PyObject
* _argo0
= 0;
1936 char *_kwnames
[] = { "self", NULL
};
1939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFaceName",_kwnames
,&_argo0
))
1942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFaceName. Expected _wxFont_p.");
1949 wxPy_BEGIN_ALLOW_THREADS
;
1950 _result
= new wxString (wxFont_GetFaceName(_arg0
));
1952 wxPy_END_ALLOW_THREADS
;
1954 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1962 #define wxFont_GetFamily(_swigobj) (_swigobj->GetFamily())
1963 static PyObject
*_wrap_wxFont_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1964 PyObject
* _resultobj
;
1967 PyObject
* _argo0
= 0;
1968 char *_kwnames
[] = { "self", NULL
};
1971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFamily",_kwnames
,&_argo0
))
1974 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1975 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFamily. Expected _wxFont_p.");
1981 wxPy_BEGIN_ALLOW_THREADS
;
1982 _result
= (int )wxFont_GetFamily(_arg0
);
1984 wxPy_END_ALLOW_THREADS
;
1985 } _resultobj
= Py_BuildValue("i",_result
);
1989 #define wxFont_GetPointSize(_swigobj) (_swigobj->GetPointSize())
1990 static PyObject
*_wrap_wxFont_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1991 PyObject
* _resultobj
;
1994 PyObject
* _argo0
= 0;
1995 char *_kwnames
[] = { "self", NULL
};
1998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetPointSize",_kwnames
,&_argo0
))
2001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetPointSize. Expected _wxFont_p.");
2008 wxPy_BEGIN_ALLOW_THREADS
;
2009 _result
= (int )wxFont_GetPointSize(_arg0
);
2011 wxPy_END_ALLOW_THREADS
;
2012 } _resultobj
= Py_BuildValue("i",_result
);
2016 #define wxFont_GetStyle(_swigobj) (_swigobj->GetStyle())
2017 static PyObject
*_wrap_wxFont_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2018 PyObject
* _resultobj
;
2021 PyObject
* _argo0
= 0;
2022 char *_kwnames
[] = { "self", NULL
};
2025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetStyle",_kwnames
,&_argo0
))
2028 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2029 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetStyle. Expected _wxFont_p.");
2035 wxPy_BEGIN_ALLOW_THREADS
;
2036 _result
= (int )wxFont_GetStyle(_arg0
);
2038 wxPy_END_ALLOW_THREADS
;
2039 } _resultobj
= Py_BuildValue("i",_result
);
2043 #define wxFont_GetUnderlined(_swigobj) (_swigobj->GetUnderlined())
2044 static PyObject
*_wrap_wxFont_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2045 PyObject
* _resultobj
;
2048 PyObject
* _argo0
= 0;
2049 char *_kwnames
[] = { "self", NULL
};
2052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetUnderlined",_kwnames
,&_argo0
))
2055 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2056 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetUnderlined. Expected _wxFont_p.");
2062 wxPy_BEGIN_ALLOW_THREADS
;
2063 _result
= (bool )wxFont_GetUnderlined(_arg0
);
2065 wxPy_END_ALLOW_THREADS
;
2066 } _resultobj
= Py_BuildValue("i",_result
);
2070 #define wxFont_GetWeight(_swigobj) (_swigobj->GetWeight())
2071 static PyObject
*_wrap_wxFont_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2072 PyObject
* _resultobj
;
2075 PyObject
* _argo0
= 0;
2076 char *_kwnames
[] = { "self", NULL
};
2079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetWeight",_kwnames
,&_argo0
))
2082 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2083 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetWeight. Expected _wxFont_p.");
2089 wxPy_BEGIN_ALLOW_THREADS
;
2090 _result
= (int )wxFont_GetWeight(_arg0
);
2092 wxPy_END_ALLOW_THREADS
;
2093 } _resultobj
= Py_BuildValue("i",_result
);
2097 #define wxFont_GetEncoding(_swigobj) (_swigobj->GetEncoding())
2098 static PyObject
*_wrap_wxFont_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2099 PyObject
* _resultobj
;
2100 wxFontEncoding _result
;
2102 PyObject
* _argo0
= 0;
2103 char *_kwnames
[] = { "self", NULL
};
2106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetEncoding",_kwnames
,&_argo0
))
2109 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2110 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetEncoding. Expected _wxFont_p.");
2116 wxPy_BEGIN_ALLOW_THREADS
;
2117 _result
= (wxFontEncoding
)wxFont_GetEncoding(_arg0
);
2119 wxPy_END_ALLOW_THREADS
;
2120 } _resultobj
= Py_BuildValue("i",_result
);
2124 #define wxFont_SetFaceName(_swigobj,_swigarg0) (_swigobj->SetFaceName(_swigarg0))
2125 static PyObject
*_wrap_wxFont_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2126 PyObject
* _resultobj
;
2129 PyObject
* _argo0
= 0;
2130 PyObject
* _obj1
= 0;
2131 char *_kwnames
[] = { "self","faceName", NULL
};
2134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFont_SetFaceName",_kwnames
,&_argo0
,&_obj1
))
2137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFaceName. Expected _wxFont_p.");
2144 if (!PyString_Check(_obj1
)) {
2145 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2148 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2151 wxPy_BEGIN_ALLOW_THREADS
;
2152 wxFont_SetFaceName(_arg0
,*_arg1
);
2154 wxPy_END_ALLOW_THREADS
;
2155 } Py_INCREF(Py_None
);
2156 _resultobj
= Py_None
;
2164 #define wxFont_SetFamily(_swigobj,_swigarg0) (_swigobj->SetFamily(_swigarg0))
2165 static PyObject
*_wrap_wxFont_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2166 PyObject
* _resultobj
;
2169 PyObject
* _argo0
= 0;
2170 char *_kwnames
[] = { "self","family", NULL
};
2173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetFamily",_kwnames
,&_argo0
,&_arg1
))
2176 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2177 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFamily. Expected _wxFont_p.");
2183 wxPy_BEGIN_ALLOW_THREADS
;
2184 wxFont_SetFamily(_arg0
,_arg1
);
2186 wxPy_END_ALLOW_THREADS
;
2187 } Py_INCREF(Py_None
);
2188 _resultobj
= Py_None
;
2192 #define wxFont_SetPointSize(_swigobj,_swigarg0) (_swigobj->SetPointSize(_swigarg0))
2193 static PyObject
*_wrap_wxFont_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2194 PyObject
* _resultobj
;
2197 PyObject
* _argo0
= 0;
2198 char *_kwnames
[] = { "self","pointSize", NULL
};
2201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetPointSize",_kwnames
,&_argo0
,&_arg1
))
2204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetPointSize. Expected _wxFont_p.");
2211 wxPy_BEGIN_ALLOW_THREADS
;
2212 wxFont_SetPointSize(_arg0
,_arg1
);
2214 wxPy_END_ALLOW_THREADS
;
2215 } Py_INCREF(Py_None
);
2216 _resultobj
= Py_None
;
2220 #define wxFont_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
2221 static PyObject
*_wrap_wxFont_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2222 PyObject
* _resultobj
;
2225 PyObject
* _argo0
= 0;
2226 char *_kwnames
[] = { "self","style", NULL
};
2229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetStyle",_kwnames
,&_argo0
,&_arg1
))
2232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetStyle. Expected _wxFont_p.");
2239 wxPy_BEGIN_ALLOW_THREADS
;
2240 wxFont_SetStyle(_arg0
,_arg1
);
2242 wxPy_END_ALLOW_THREADS
;
2243 } Py_INCREF(Py_None
);
2244 _resultobj
= Py_None
;
2248 #define wxFont_SetUnderlined(_swigobj,_swigarg0) (_swigobj->SetUnderlined(_swigarg0))
2249 static PyObject
*_wrap_wxFont_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2250 PyObject
* _resultobj
;
2253 PyObject
* _argo0
= 0;
2255 char *_kwnames
[] = { "self","underlined", NULL
};
2258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetUnderlined",_kwnames
,&_argo0
,&tempbool1
))
2261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetUnderlined. Expected _wxFont_p.");
2267 _arg1
= (bool ) tempbool1
;
2269 wxPy_BEGIN_ALLOW_THREADS
;
2270 wxFont_SetUnderlined(_arg0
,_arg1
);
2272 wxPy_END_ALLOW_THREADS
;
2273 } Py_INCREF(Py_None
);
2274 _resultobj
= Py_None
;
2278 #define wxFont_SetWeight(_swigobj,_swigarg0) (_swigobj->SetWeight(_swigarg0))
2279 static PyObject
*_wrap_wxFont_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2280 PyObject
* _resultobj
;
2283 PyObject
* _argo0
= 0;
2284 char *_kwnames
[] = { "self","weight", NULL
};
2287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetWeight",_kwnames
,&_argo0
,&_arg1
))
2290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetWeight. Expected _wxFont_p.");
2297 wxPy_BEGIN_ALLOW_THREADS
;
2298 wxFont_SetWeight(_arg0
,_arg1
);
2300 wxPy_END_ALLOW_THREADS
;
2301 } Py_INCREF(Py_None
);
2302 _resultobj
= Py_None
;
2306 #define wxFont_SetEncoding(_swigobj,_swigarg0) (_swigobj->SetEncoding(_swigarg0))
2307 static PyObject
*_wrap_wxFont_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2308 PyObject
* _resultobj
;
2310 wxFontEncoding _arg1
;
2311 PyObject
* _argo0
= 0;
2312 char *_kwnames
[] = { "self","encoding", NULL
};
2315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetEncoding",_kwnames
,&_argo0
,&_arg1
))
2318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetEncoding. Expected _wxFont_p.");
2325 wxPy_BEGIN_ALLOW_THREADS
;
2326 wxFont_SetEncoding(_arg0
,_arg1
);
2328 wxPy_END_ALLOW_THREADS
;
2329 } Py_INCREF(Py_None
);
2330 _resultobj
= Py_None
;
2334 #define wxFont_GetFamilyString(_swigobj) (_swigobj->GetFamilyString())
2335 static PyObject
*_wrap_wxFont_GetFamilyString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2336 PyObject
* _resultobj
;
2339 PyObject
* _argo0
= 0;
2340 char *_kwnames
[] = { "self", NULL
};
2343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFamilyString",_kwnames
,&_argo0
))
2346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFamilyString. Expected _wxFont_p.");
2353 wxPy_BEGIN_ALLOW_THREADS
;
2354 _result
= new wxString (wxFont_GetFamilyString(_arg0
));
2356 wxPy_END_ALLOW_THREADS
;
2358 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
2366 #define wxFont_GetStyleString(_swigobj) (_swigobj->GetStyleString())
2367 static PyObject
*_wrap_wxFont_GetStyleString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2368 PyObject
* _resultobj
;
2371 PyObject
* _argo0
= 0;
2372 char *_kwnames
[] = { "self", NULL
};
2375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetStyleString",_kwnames
,&_argo0
))
2378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetStyleString. Expected _wxFont_p.");
2385 wxPy_BEGIN_ALLOW_THREADS
;
2386 _result
= new wxString (wxFont_GetStyleString(_arg0
));
2388 wxPy_END_ALLOW_THREADS
;
2390 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
2398 #define wxFont_GetWeightString(_swigobj) (_swigobj->GetWeightString())
2399 static PyObject
*_wrap_wxFont_GetWeightString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2400 PyObject
* _resultobj
;
2403 PyObject
* _argo0
= 0;
2404 char *_kwnames
[] = { "self", NULL
};
2407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetWeightString",_kwnames
,&_argo0
))
2410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetWeightString. Expected _wxFont_p.");
2417 wxPy_BEGIN_ALLOW_THREADS
;
2418 _result
= new wxString (wxFont_GetWeightString(_arg0
));
2420 wxPy_END_ALLOW_THREADS
;
2422 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
2430 #define new_wxColour(_swigarg0,_swigarg1,_swigarg2) (new wxColour(_swigarg0,_swigarg1,_swigarg2))
2431 static PyObject
*_wrap_new_wxColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2432 PyObject
* _resultobj
;
2434 unsigned char _arg0
= (unsigned char ) 0;
2435 unsigned char _arg1
= (unsigned char ) 0;
2436 unsigned char _arg2
= (unsigned char ) 0;
2437 char *_kwnames
[] = { "red","green","blue", NULL
};
2441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|bbb:new_wxColour",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
2444 wxPy_BEGIN_ALLOW_THREADS
;
2445 _result
= (wxColour
*)new_wxColour(_arg0
,_arg1
,_arg2
);
2447 wxPy_END_ALLOW_THREADS
;
2449 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
2450 _resultobj
= Py_BuildValue("s",_ptemp
);
2453 _resultobj
= Py_None
;
2458 #define delete_wxColour(_swigobj) (delete _swigobj)
2459 static PyObject
*_wrap_delete_wxColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2460 PyObject
* _resultobj
;
2462 PyObject
* _argo0
= 0;
2463 char *_kwnames
[] = { "self", NULL
};
2466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxColour",_kwnames
,&_argo0
))
2469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
2471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxColour. Expected _wxColour_p.");
2476 wxPy_BEGIN_ALLOW_THREADS
;
2477 delete_wxColour(_arg0
);
2479 wxPy_END_ALLOW_THREADS
;
2480 } Py_INCREF(Py_None
);
2481 _resultobj
= Py_None
;
2485 #define wxColour_Red(_swigobj) (_swigobj->Red())
2486 static PyObject
*_wrap_wxColour_Red(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2487 PyObject
* _resultobj
;
2488 unsigned char _result
;
2490 PyObject
* _argo0
= 0;
2491 char *_kwnames
[] = { "self", NULL
};
2494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Red",_kwnames
,&_argo0
))
2497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
2499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Red. Expected _wxColour_p.");
2504 wxPy_BEGIN_ALLOW_THREADS
;
2505 _result
= (unsigned char )wxColour_Red(_arg0
);
2507 wxPy_END_ALLOW_THREADS
;
2508 } _resultobj
= Py_BuildValue("b",_result
);
2512 #define wxColour_Green(_swigobj) (_swigobj->Green())
2513 static PyObject
*_wrap_wxColour_Green(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2514 PyObject
* _resultobj
;
2515 unsigned char _result
;
2517 PyObject
* _argo0
= 0;
2518 char *_kwnames
[] = { "self", NULL
};
2521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Green",_kwnames
,&_argo0
))
2524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
2526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Green. Expected _wxColour_p.");
2531 wxPy_BEGIN_ALLOW_THREADS
;
2532 _result
= (unsigned char )wxColour_Green(_arg0
);
2534 wxPy_END_ALLOW_THREADS
;
2535 } _resultobj
= Py_BuildValue("b",_result
);
2539 #define wxColour_Blue(_swigobj) (_swigobj->Blue())
2540 static PyObject
*_wrap_wxColour_Blue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2541 PyObject
* _resultobj
;
2542 unsigned char _result
;
2544 PyObject
* _argo0
= 0;
2545 char *_kwnames
[] = { "self", NULL
};
2548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Blue",_kwnames
,&_argo0
))
2551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
2553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Blue. Expected _wxColour_p.");
2558 wxPy_BEGIN_ALLOW_THREADS
;
2559 _result
= (unsigned char )wxColour_Blue(_arg0
);
2561 wxPy_END_ALLOW_THREADS
;
2562 } _resultobj
= Py_BuildValue("b",_result
);
2566 #define wxColour_Ok(_swigobj) (_swigobj->Ok())
2567 static PyObject
*_wrap_wxColour_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2568 PyObject
* _resultobj
;
2571 PyObject
* _argo0
= 0;
2572 char *_kwnames
[] = { "self", NULL
};
2575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Ok",_kwnames
,&_argo0
))
2578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
2580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Ok. Expected _wxColour_p.");
2585 wxPy_BEGIN_ALLOW_THREADS
;
2586 _result
= (bool )wxColour_Ok(_arg0
);
2588 wxPy_END_ALLOW_THREADS
;
2589 } _resultobj
= Py_BuildValue("i",_result
);
2593 #define wxColour_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
2594 static PyObject
*_wrap_wxColour_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2595 PyObject
* _resultobj
;
2597 unsigned char _arg1
;
2598 unsigned char _arg2
;
2599 unsigned char _arg3
;
2600 PyObject
* _argo0
= 0;
2601 char *_kwnames
[] = { "self","red","green","blue", NULL
};
2604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Obbb:wxColour_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2607 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2608 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
2609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Set. Expected _wxColour_p.");
2614 wxPy_BEGIN_ALLOW_THREADS
;
2615 wxColour_Set(_arg0
,_arg1
,_arg2
,_arg3
);
2617 wxPy_END_ALLOW_THREADS
;
2618 } Py_INCREF(Py_None
);
2619 _resultobj
= Py_None
;
2623 static PyObject
* wxColour_Get(wxColour
*self
) {
2624 PyObject
* rv
= PyTuple_New(3);
2625 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
2626 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
2627 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
2630 static PyObject
*_wrap_wxColour_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2631 PyObject
* _resultobj
;
2634 PyObject
* _argo0
= 0;
2635 char *_kwnames
[] = { "self", NULL
};
2638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Get",_kwnames
,&_argo0
))
2641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
2643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColour_Get. Expected _wxColour_p.");
2648 wxPy_BEGIN_ALLOW_THREADS
;
2649 _result
= (PyObject
*)wxColour_Get(_arg0
);
2651 wxPy_END_ALLOW_THREADS
;
2653 _resultobj
= _result
;
2658 static wxPen
*new_wxPen(wxColour
*colour
,int width
,int style
) {
2659 return wxThePenList
->FindOrCreatePen(*colour
, width
, style
);
2662 static PyObject
*_wrap_new_wxPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2663 PyObject
* _resultobj
;
2666 int _arg1
= (int ) 1;
2667 int _arg2
= (int ) wxSOLID
;
2668 PyObject
* _argo0
= 0;
2669 char *_kwnames
[] = { "colour","width","style", NULL
};
2673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:new_wxPen",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
2678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPen. Expected _wxColour_p.");
2683 wxPy_BEGIN_ALLOW_THREADS
;
2684 _result
= (wxPen
*)new_wxPen(_arg0
,_arg1
,_arg2
);
2686 wxPy_END_ALLOW_THREADS
;
2688 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
2689 _resultobj
= Py_BuildValue("s",_ptemp
);
2692 _resultobj
= Py_None
;
2697 #define wxPen_GetCap(_swigobj) (_swigobj->GetCap())
2698 static PyObject
*_wrap_wxPen_GetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2699 PyObject
* _resultobj
;
2702 PyObject
* _argo0
= 0;
2703 char *_kwnames
[] = { "self", NULL
};
2706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetCap",_kwnames
,&_argo0
))
2709 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2710 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetCap. Expected _wxPen_p.");
2716 wxPy_BEGIN_ALLOW_THREADS
;
2717 _result
= (int )wxPen_GetCap(_arg0
);
2719 wxPy_END_ALLOW_THREADS
;
2720 } _resultobj
= Py_BuildValue("i",_result
);
2724 #define wxPen_GetColour(_swigobj) (_swigobj->GetColour())
2725 static PyObject
*_wrap_wxPen_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2726 PyObject
* _resultobj
;
2729 PyObject
* _argo0
= 0;
2730 char *_kwnames
[] = { "self", NULL
};
2734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetColour",_kwnames
,&_argo0
))
2737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetColour. Expected _wxPen_p.");
2744 wxPy_BEGIN_ALLOW_THREADS
;
2745 wxColour
& _result_ref
= wxPen_GetColour(_arg0
);
2746 _result
= (wxColour
*) &_result_ref
;
2748 wxPy_END_ALLOW_THREADS
;
2750 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
2751 _resultobj
= Py_BuildValue("s",_ptemp
);
2754 _resultobj
= Py_None
;
2759 #define wxPen_GetJoin(_swigobj) (_swigobj->GetJoin())
2760 static PyObject
*_wrap_wxPen_GetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2761 PyObject
* _resultobj
;
2764 PyObject
* _argo0
= 0;
2765 char *_kwnames
[] = { "self", NULL
};
2768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetJoin",_kwnames
,&_argo0
))
2771 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2772 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetJoin. Expected _wxPen_p.");
2778 wxPy_BEGIN_ALLOW_THREADS
;
2779 _result
= (int )wxPen_GetJoin(_arg0
);
2781 wxPy_END_ALLOW_THREADS
;
2782 } _resultobj
= Py_BuildValue("i",_result
);
2786 #define wxPen_GetStyle(_swigobj) (_swigobj->GetStyle())
2787 static PyObject
*_wrap_wxPen_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2788 PyObject
* _resultobj
;
2791 PyObject
* _argo0
= 0;
2792 char *_kwnames
[] = { "self", NULL
};
2795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetStyle",_kwnames
,&_argo0
))
2798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetStyle. Expected _wxPen_p.");
2805 wxPy_BEGIN_ALLOW_THREADS
;
2806 _result
= (int )wxPen_GetStyle(_arg0
);
2808 wxPy_END_ALLOW_THREADS
;
2809 } _resultobj
= Py_BuildValue("i",_result
);
2813 #define wxPen_GetWidth(_swigobj) (_swigobj->GetWidth())
2814 static PyObject
*_wrap_wxPen_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2815 PyObject
* _resultobj
;
2818 PyObject
* _argo0
= 0;
2819 char *_kwnames
[] = { "self", NULL
};
2822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetWidth",_kwnames
,&_argo0
))
2825 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2826 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetWidth. Expected _wxPen_p.");
2832 wxPy_BEGIN_ALLOW_THREADS
;
2833 _result
= (int )wxPen_GetWidth(_arg0
);
2835 wxPy_END_ALLOW_THREADS
;
2836 } _resultobj
= Py_BuildValue("i",_result
);
2840 #define wxPen_Ok(_swigobj) (_swigobj->Ok())
2841 static PyObject
*_wrap_wxPen_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2842 PyObject
* _resultobj
;
2845 PyObject
* _argo0
= 0;
2846 char *_kwnames
[] = { "self", NULL
};
2849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_Ok",_kwnames
,&_argo0
))
2852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_Ok. Expected _wxPen_p.");
2859 wxPy_BEGIN_ALLOW_THREADS
;
2860 _result
= (bool )wxPen_Ok(_arg0
);
2862 wxPy_END_ALLOW_THREADS
;
2863 } _resultobj
= Py_BuildValue("i",_result
);
2867 #define wxPen_SetCap(_swigobj,_swigarg0) (_swigobj->SetCap(_swigarg0))
2868 static PyObject
*_wrap_wxPen_SetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2869 PyObject
* _resultobj
;
2872 PyObject
* _argo0
= 0;
2873 char *_kwnames
[] = { "self","cap_style", NULL
};
2876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetCap",_kwnames
,&_argo0
,&_arg1
))
2879 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2880 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetCap. Expected _wxPen_p.");
2886 wxPy_BEGIN_ALLOW_THREADS
;
2887 wxPen_SetCap(_arg0
,_arg1
);
2889 wxPy_END_ALLOW_THREADS
;
2890 } Py_INCREF(Py_None
);
2891 _resultobj
= Py_None
;
2895 #define wxPen_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
2896 static PyObject
*_wrap_wxPen_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2897 PyObject
* _resultobj
;
2900 PyObject
* _argo0
= 0;
2901 PyObject
* _argo1
= 0;
2902 char *_kwnames
[] = { "self","colour", NULL
};
2905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetColour",_kwnames
,&_argo0
,&_argo1
))
2908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetColour. Expected _wxPen_p.");
2915 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2916 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
2917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPen_SetColour. Expected _wxColour_p.");
2922 wxPy_BEGIN_ALLOW_THREADS
;
2923 wxPen_SetColour(_arg0
,*_arg1
);
2925 wxPy_END_ALLOW_THREADS
;
2926 } Py_INCREF(Py_None
);
2927 _resultobj
= Py_None
;
2931 #define wxPen_SetJoin(_swigobj,_swigarg0) (_swigobj->SetJoin(_swigarg0))
2932 static PyObject
*_wrap_wxPen_SetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2933 PyObject
* _resultobj
;
2936 PyObject
* _argo0
= 0;
2937 char *_kwnames
[] = { "self","join_style", NULL
};
2940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetJoin",_kwnames
,&_argo0
,&_arg1
))
2943 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2944 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetJoin. Expected _wxPen_p.");
2950 wxPy_BEGIN_ALLOW_THREADS
;
2951 wxPen_SetJoin(_arg0
,_arg1
);
2953 wxPy_END_ALLOW_THREADS
;
2954 } Py_INCREF(Py_None
);
2955 _resultobj
= Py_None
;
2959 #define wxPen_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
2960 static PyObject
*_wrap_wxPen_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2961 PyObject
* _resultobj
;
2964 PyObject
* _argo0
= 0;
2965 char *_kwnames
[] = { "self","style", NULL
};
2968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetStyle",_kwnames
,&_argo0
,&_arg1
))
2971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
2973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetStyle. Expected _wxPen_p.");
2978 wxPy_BEGIN_ALLOW_THREADS
;
2979 wxPen_SetStyle(_arg0
,_arg1
);
2981 wxPy_END_ALLOW_THREADS
;
2982 } Py_INCREF(Py_None
);
2983 _resultobj
= Py_None
;
2987 #define wxPen_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2988 static PyObject
*_wrap_wxPen_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2989 PyObject
* _resultobj
;
2992 PyObject
* _argo0
= 0;
2993 char *_kwnames
[] = { "self","width", NULL
};
2996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetWidth",_kwnames
,&_argo0
,&_arg1
))
2999 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3000 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetWidth. Expected _wxPen_p.");
3006 wxPy_BEGIN_ALLOW_THREADS
;
3007 wxPen_SetWidth(_arg0
,_arg1
);
3009 wxPy_END_ALLOW_THREADS
;
3010 } Py_INCREF(Py_None
);
3011 _resultobj
= Py_None
;
3015 #define wxPen_GetDashes(_swigobj,_swigarg0) (_swigobj->GetDashes(_swigarg0))
3016 static PyObject
*_wrap_wxPen_GetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3017 PyObject
* _resultobj
;
3021 PyObject
* _argo0
= 0;
3022 PyObject
* _argo1
= 0;
3023 char *_kwnames
[] = { "self","dashes", NULL
};
3026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_GetDashes",_kwnames
,&_argo0
,&_argo1
))
3029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetDashes. Expected _wxPen_p.");
3036 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3037 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDash_pp")) {
3038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPen_GetDashes. Expected _wxDash_pp.");
3043 wxPy_BEGIN_ALLOW_THREADS
;
3044 _result
= (int )wxPen_GetDashes(_arg0
,_arg1
);
3046 wxPy_END_ALLOW_THREADS
;
3047 } _resultobj
= Py_BuildValue("i",_result
);
3051 #define wxPen_SetDashes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDashes(_swigarg0,_swigarg1))
3052 static PyObject
*_wrap_wxPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3053 PyObject
* _resultobj
;
3057 PyObject
* _argo0
= 0;
3058 PyObject
* _obj2
= 0;
3059 char *_kwnames
[] = { "self","LIST", NULL
};
3062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetDashes",_kwnames
,&_argo0
,&_obj2
))
3065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetDashes. Expected _wxPen_p.");
3073 _arg2
= byte_LIST_helper(_obj2
);
3074 if (_arg2
== NULL
) {
3080 _arg1
= PyList_Size(_obj2
);
3087 wxPy_BEGIN_ALLOW_THREADS
;
3088 wxPen_SetDashes(_arg0
,_arg1
,_arg2
);
3090 wxPy_END_ALLOW_THREADS
;
3091 } Py_INCREF(Py_None
);
3092 _resultobj
= Py_None
;
3099 static wxBrush
*new_wxBrush(wxColour
*colour
,int style
) {
3100 return wxTheBrushList
->FindOrCreateBrush(*colour
, style
);
3103 static PyObject
*_wrap_new_wxBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3104 PyObject
* _resultobj
;
3107 int _arg1
= (int ) wxSOLID
;
3108 PyObject
* _argo0
= 0;
3109 char *_kwnames
[] = { "colour","style", NULL
};
3113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxBrush",_kwnames
,&_argo0
,&_arg1
))
3116 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3117 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColour_p")) {
3118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBrush. Expected _wxColour_p.");
3123 wxPy_BEGIN_ALLOW_THREADS
;
3124 _result
= (wxBrush
*)new_wxBrush(_arg0
,_arg1
);
3126 wxPy_END_ALLOW_THREADS
;
3128 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
3129 _resultobj
= Py_BuildValue("s",_ptemp
);
3132 _resultobj
= Py_None
;
3137 #define wxBrush_GetColour(_swigobj) (_swigobj->GetColour())
3138 static PyObject
*_wrap_wxBrush_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3139 PyObject
* _resultobj
;
3142 PyObject
* _argo0
= 0;
3143 char *_kwnames
[] = { "self", NULL
};
3147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetColour",_kwnames
,&_argo0
))
3150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetColour. Expected _wxBrush_p.");
3157 wxPy_BEGIN_ALLOW_THREADS
;
3158 wxColour
& _result_ref
= wxBrush_GetColour(_arg0
);
3159 _result
= (wxColour
*) &_result_ref
;
3161 wxPy_END_ALLOW_THREADS
;
3163 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3164 _resultobj
= Py_BuildValue("s",_ptemp
);
3167 _resultobj
= Py_None
;
3172 #define wxBrush_GetStipple(_swigobj) (_swigobj->GetStipple())
3173 static PyObject
*_wrap_wxBrush_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3174 PyObject
* _resultobj
;
3177 PyObject
* _argo0
= 0;
3178 char *_kwnames
[] = { "self", NULL
};
3182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetStipple",_kwnames
,&_argo0
))
3185 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3186 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStipple. Expected _wxBrush_p.");
3192 wxPy_BEGIN_ALLOW_THREADS
;
3193 _result
= (wxBitmap
*)wxBrush_GetStipple(_arg0
);
3195 wxPy_END_ALLOW_THREADS
;
3197 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
3198 _resultobj
= Py_BuildValue("s",_ptemp
);
3201 _resultobj
= Py_None
;
3206 #define wxBrush_GetStyle(_swigobj) (_swigobj->GetStyle())
3207 static PyObject
*_wrap_wxBrush_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3208 PyObject
* _resultobj
;
3211 PyObject
* _argo0
= 0;
3212 char *_kwnames
[] = { "self", NULL
};
3215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetStyle",_kwnames
,&_argo0
))
3218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStyle. Expected _wxBrush_p.");
3225 wxPy_BEGIN_ALLOW_THREADS
;
3226 _result
= (int )wxBrush_GetStyle(_arg0
);
3228 wxPy_END_ALLOW_THREADS
;
3229 } _resultobj
= Py_BuildValue("i",_result
);
3233 #define wxBrush_Ok(_swigobj) (_swigobj->Ok())
3234 static PyObject
*_wrap_wxBrush_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3235 PyObject
* _resultobj
;
3238 PyObject
* _argo0
= 0;
3239 char *_kwnames
[] = { "self", NULL
};
3242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_Ok",_kwnames
,&_argo0
))
3245 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3246 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_Ok. Expected _wxBrush_p.");
3252 wxPy_BEGIN_ALLOW_THREADS
;
3253 _result
= (bool )wxBrush_Ok(_arg0
);
3255 wxPy_END_ALLOW_THREADS
;
3256 } _resultobj
= Py_BuildValue("i",_result
);
3260 #define wxBrush_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
3261 static PyObject
*_wrap_wxBrush_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3262 PyObject
* _resultobj
;
3265 PyObject
* _argo0
= 0;
3266 PyObject
* _argo1
= 0;
3267 char *_kwnames
[] = { "self","colour", NULL
};
3270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrush_SetColour",_kwnames
,&_argo0
,&_argo1
))
3273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetColour. Expected _wxBrush_p.");
3280 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3281 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
3282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrush_SetColour. Expected _wxColour_p.");
3287 wxPy_BEGIN_ALLOW_THREADS
;
3288 wxBrush_SetColour(_arg0
,*_arg1
);
3290 wxPy_END_ALLOW_THREADS
;
3291 } Py_INCREF(Py_None
);
3292 _resultobj
= Py_None
;
3296 #define wxBrush_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
3297 static PyObject
*_wrap_wxBrush_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3298 PyObject
* _resultobj
;
3301 PyObject
* _argo0
= 0;
3302 PyObject
* _argo1
= 0;
3303 char *_kwnames
[] = { "self","bitmap", NULL
};
3306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrush_SetStipple",_kwnames
,&_argo0
,&_argo1
))
3309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStipple. Expected _wxBrush_p.");
3316 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3317 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
3318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrush_SetStipple. Expected _wxBitmap_p.");
3323 wxPy_BEGIN_ALLOW_THREADS
;
3324 wxBrush_SetStipple(_arg0
,*_arg1
);
3326 wxPy_END_ALLOW_THREADS
;
3327 } Py_INCREF(Py_None
);
3328 _resultobj
= Py_None
;
3332 #define wxBrush_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
3333 static PyObject
*_wrap_wxBrush_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3334 PyObject
* _resultobj
;
3337 PyObject
* _argo0
= 0;
3338 char *_kwnames
[] = { "self","style", NULL
};
3341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBrush_SetStyle",_kwnames
,&_argo0
,&_arg1
))
3344 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3345 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStyle. Expected _wxBrush_p.");
3351 wxPy_BEGIN_ALLOW_THREADS
;
3352 wxBrush_SetStyle(_arg0
,_arg1
);
3354 wxPy_END_ALLOW_THREADS
;
3355 } Py_INCREF(Py_None
);
3356 _resultobj
= Py_None
;
3360 #define delete_wxDC(_swigobj) (delete _swigobj)
3361 static PyObject
*_wrap_delete_wxDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3362 PyObject
* _resultobj
;
3364 PyObject
* _argo0
= 0;
3365 char *_kwnames
[] = { "self", NULL
};
3368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDC",_kwnames
,&_argo0
))
3371 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3372 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDC. Expected _wxDC_p.");
3378 wxPy_BEGIN_ALLOW_THREADS
;
3381 wxPy_END_ALLOW_THREADS
;
3382 } Py_INCREF(Py_None
);
3383 _resultobj
= Py_None
;
3387 #define wxDC_BeginDrawing(_swigobj) (_swigobj->BeginDrawing())
3388 static PyObject
*_wrap_wxDC_BeginDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3389 PyObject
* _resultobj
;
3391 PyObject
* _argo0
= 0;
3392 char *_kwnames
[] = { "self", NULL
};
3395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_BeginDrawing",_kwnames
,&_argo0
))
3398 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3399 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_BeginDrawing. Expected _wxDC_p.");
3405 wxPy_BEGIN_ALLOW_THREADS
;
3406 wxDC_BeginDrawing(_arg0
);
3408 wxPy_END_ALLOW_THREADS
;
3409 } Py_INCREF(Py_None
);
3410 _resultobj
= Py_None
;
3414 #define wxDC_Blit(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Blit(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
3415 static PyObject
*_wrap_wxDC_Blit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3416 PyObject
* _resultobj
;
3426 int _arg8
= (int ) wxCOPY
;
3427 int _arg9
= (int ) FALSE
;
3428 PyObject
* _argo0
= 0;
3429 PyObject
* _argo5
= 0;
3430 char *_kwnames
[] = { "self","xdest","ydest","width","height","source","xsrc","ysrc","logicalFunc","useMask", NULL
};
3433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllllOll|ii:wxDC_Blit",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_argo5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
))
3436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Blit. Expected _wxDC_p.");
3443 if (_argo5
== Py_None
) { _arg5
= NULL
; }
3444 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxDC_p")) {
3445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxDC_Blit. Expected _wxDC_p.");
3450 wxPy_BEGIN_ALLOW_THREADS
;
3451 _result
= (bool )wxDC_Blit(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
3453 wxPy_END_ALLOW_THREADS
;
3454 } _resultobj
= Py_BuildValue("i",_result
);
3458 #define wxDC_Clear(_swigobj) (_swigobj->Clear())
3459 static PyObject
*_wrap_wxDC_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3460 PyObject
* _resultobj
;
3462 PyObject
* _argo0
= 0;
3463 char *_kwnames
[] = { "self", NULL
};
3466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_Clear",_kwnames
,&_argo0
))
3469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Clear. Expected _wxDC_p.");
3476 wxPy_BEGIN_ALLOW_THREADS
;
3479 wxPy_END_ALLOW_THREADS
;
3480 } Py_INCREF(Py_None
);
3481 _resultobj
= Py_None
;
3485 #define wxDC_CrossHair(_swigobj,_swigarg0,_swigarg1) (_swigobj->CrossHair(_swigarg0,_swigarg1))
3486 static PyObject
*_wrap_wxDC_CrossHair(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3487 PyObject
* _resultobj
;
3491 PyObject
* _argo0
= 0;
3492 char *_kwnames
[] = { "self","x","y", NULL
};
3495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_CrossHair",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CrossHair. Expected _wxDC_p.");
3505 wxPy_BEGIN_ALLOW_THREADS
;
3506 wxDC_CrossHair(_arg0
,_arg1
,_arg2
);
3508 wxPy_END_ALLOW_THREADS
;
3509 } Py_INCREF(Py_None
);
3510 _resultobj
= Py_None
;
3514 #define wxDC_DestroyClippingRegion(_swigobj) (_swigobj->DestroyClippingRegion())
3515 static PyObject
*_wrap_wxDC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3516 PyObject
* _resultobj
;
3518 PyObject
* _argo0
= 0;
3519 char *_kwnames
[] = { "self", NULL
};
3522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_DestroyClippingRegion",_kwnames
,&_argo0
))
3525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DestroyClippingRegion. Expected _wxDC_p.");
3532 wxPy_BEGIN_ALLOW_THREADS
;
3533 wxDC_DestroyClippingRegion(_arg0
);
3535 wxPy_END_ALLOW_THREADS
;
3536 } Py_INCREF(Py_None
);
3537 _resultobj
= Py_None
;
3541 #define wxDC_DeviceToLogicalX(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalX(_swigarg0))
3542 static PyObject
*_wrap_wxDC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3543 PyObject
* _resultobj
;
3547 PyObject
* _argo0
= 0;
3548 char *_kwnames
[] = { "self","x", NULL
};
3551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalX",_kwnames
,&_argo0
,&_arg1
))
3554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalX. Expected _wxDC_p.");
3561 wxPy_BEGIN_ALLOW_THREADS
;
3562 _result
= (long )wxDC_DeviceToLogicalX(_arg0
,_arg1
);
3564 wxPy_END_ALLOW_THREADS
;
3565 } _resultobj
= Py_BuildValue("l",_result
);
3569 #define wxDC_DeviceToLogicalXRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalXRel(_swigarg0))
3570 static PyObject
*_wrap_wxDC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3571 PyObject
* _resultobj
;
3575 PyObject
* _argo0
= 0;
3576 char *_kwnames
[] = { "self","x", NULL
};
3579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalXRel",_kwnames
,&_argo0
,&_arg1
))
3582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalXRel. Expected _wxDC_p.");
3589 wxPy_BEGIN_ALLOW_THREADS
;
3590 _result
= (long )wxDC_DeviceToLogicalXRel(_arg0
,_arg1
);
3592 wxPy_END_ALLOW_THREADS
;
3593 } _resultobj
= Py_BuildValue("l",_result
);
3597 #define wxDC_DeviceToLogicalY(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalY(_swigarg0))
3598 static PyObject
*_wrap_wxDC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3599 PyObject
* _resultobj
;
3603 PyObject
* _argo0
= 0;
3604 char *_kwnames
[] = { "self","y", NULL
};
3607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalY",_kwnames
,&_argo0
,&_arg1
))
3610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalY. Expected _wxDC_p.");
3617 wxPy_BEGIN_ALLOW_THREADS
;
3618 _result
= (long )wxDC_DeviceToLogicalY(_arg0
,_arg1
);
3620 wxPy_END_ALLOW_THREADS
;
3621 } _resultobj
= Py_BuildValue("l",_result
);
3625 #define wxDC_DeviceToLogicalYRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalYRel(_swigarg0))
3626 static PyObject
*_wrap_wxDC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3627 PyObject
* _resultobj
;
3631 PyObject
* _argo0
= 0;
3632 char *_kwnames
[] = { "self","y", NULL
};
3635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalYRel",_kwnames
,&_argo0
,&_arg1
))
3638 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3639 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalYRel. Expected _wxDC_p.");
3645 wxPy_BEGIN_ALLOW_THREADS
;
3646 _result
= (long )wxDC_DeviceToLogicalYRel(_arg0
,_arg1
);
3648 wxPy_END_ALLOW_THREADS
;
3649 } _resultobj
= Py_BuildValue("l",_result
);
3653 #define wxDC_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3654 static PyObject
*_wrap_wxDC_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3655 PyObject
* _resultobj
;
3663 PyObject
* _argo0
= 0;
3664 char *_kwnames
[] = { "self","x1","y1","x2","y2","xc","yc", NULL
};
3667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollllll:wxDC_DrawArc",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
3670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawArc. Expected _wxDC_p.");
3677 wxPy_BEGIN_ALLOW_THREADS
;
3678 wxDC_DrawArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
3680 wxPy_END_ALLOW_THREADS
;
3681 } Py_INCREF(Py_None
);
3682 _resultobj
= Py_None
;
3686 #define wxDC_DrawCircle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawCircle(_swigarg0,_swigarg1,_swigarg2))
3687 static PyObject
*_wrap_wxDC_DrawCircle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3688 PyObject
* _resultobj
;
3693 PyObject
* _argo0
= 0;
3694 char *_kwnames
[] = { "self","x","y","radius", NULL
};
3697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olll:wxDC_DrawCircle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawCircle. Expected _wxDC_p.");
3707 wxPy_BEGIN_ALLOW_THREADS
;
3708 wxDC_DrawCircle(_arg0
,_arg1
,_arg2
,_arg3
);
3710 wxPy_END_ALLOW_THREADS
;
3711 } Py_INCREF(Py_None
);
3712 _resultobj
= Py_None
;
3716 #define wxDC_DrawEllipse(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawEllipse(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3717 static PyObject
*_wrap_wxDC_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3718 PyObject
* _resultobj
;
3724 PyObject
* _argo0
= 0;
3725 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
3728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawEllipse",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipse. Expected _wxDC_p.");
3738 wxPy_BEGIN_ALLOW_THREADS
;
3739 wxDC_DrawEllipse(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3741 wxPy_END_ALLOW_THREADS
;
3742 } Py_INCREF(Py_None
);
3743 _resultobj
= Py_None
;
3747 #define wxDC_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3748 static PyObject
*_wrap_wxDC_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3749 PyObject
* _resultobj
;
3757 PyObject
* _argo0
= 0;
3758 char *_kwnames
[] = { "self","x","y","width","height","start","end", NULL
};
3761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollllll:wxDC_DrawEllipticArc",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
3764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipticArc. Expected _wxDC_p.");
3771 wxPy_BEGIN_ALLOW_THREADS
;
3772 wxDC_DrawEllipticArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
3774 wxPy_END_ALLOW_THREADS
;
3775 } Py_INCREF(Py_None
);
3776 _resultobj
= Py_None
;
3780 #define wxDC_DrawIcon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawIcon(_swigarg0,_swigarg1,_swigarg2))
3781 static PyObject
*_wrap_wxDC_DrawIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3782 PyObject
* _resultobj
;
3787 PyObject
* _argo0
= 0;
3788 PyObject
* _argo1
= 0;
3789 char *_kwnames
[] = { "self","icon","x","y", NULL
};
3792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll:wxDC_DrawIcon",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3795 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3796 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawIcon. Expected _wxDC_p.");
3802 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3803 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
3804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawIcon. Expected _wxIcon_p.");
3809 wxPy_BEGIN_ALLOW_THREADS
;
3810 wxDC_DrawIcon(_arg0
,*_arg1
,_arg2
,_arg3
);
3812 wxPy_END_ALLOW_THREADS
;
3813 } Py_INCREF(Py_None
);
3814 _resultobj
= Py_None
;
3818 #define wxDC_DrawLine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3819 static PyObject
*_wrap_wxDC_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3820 PyObject
* _resultobj
;
3826 PyObject
* _argo0
= 0;
3827 char *_kwnames
[] = { "self","x1","y1","x2","y2", NULL
};
3830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawLine",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLine. Expected _wxDC_p.");
3840 wxPy_BEGIN_ALLOW_THREADS
;
3841 wxDC_DrawLine(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3843 wxPy_END_ALLOW_THREADS
;
3844 } Py_INCREF(Py_None
);
3845 _resultobj
= Py_None
;
3849 #define wxDC_DrawLines(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLines(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3850 static PyObject
*_wrap_wxDC_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3851 PyObject
* _resultobj
;
3855 long _arg3
= (long ) 0;
3856 long _arg4
= (long ) 0;
3857 PyObject
* _argo0
= 0;
3858 PyObject
* _obj2
= 0;
3859 char *_kwnames
[] = { "self","LIST","xoffset","yoffset", NULL
};
3862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ll:wxDC_DrawLines",_kwnames
,&_argo0
,&_obj2
,&_arg3
,&_arg4
))
3865 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3866 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLines. Expected _wxDC_p.");
3873 _arg2
= wxPoint_LIST_helper(_obj2
);
3874 if (_arg2
== NULL
) {
3880 _arg1
= PyList_Size(_obj2
);
3887 wxPy_BEGIN_ALLOW_THREADS
;
3888 wxDC_DrawLines(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3890 wxPy_END_ALLOW_THREADS
;
3891 } Py_INCREF(Py_None
);
3892 _resultobj
= Py_None
;
3899 #define wxDC_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3900 static PyObject
*_wrap_wxDC_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3901 PyObject
* _resultobj
;
3905 long _arg3
= (long ) 0;
3906 long _arg4
= (long ) 0;
3907 int _arg5
= (int ) wxODDEVEN_RULE
;
3908 PyObject
* _argo0
= 0;
3909 PyObject
* _obj2
= 0;
3910 char *_kwnames
[] = { "self","LIST","xoffset","yoffset","fill_style", NULL
};
3913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|lli:wxDC_DrawPolygon",_kwnames
,&_argo0
,&_obj2
,&_arg3
,&_arg4
,&_arg5
))
3916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPolygon. Expected _wxDC_p.");
3924 _arg2
= wxPoint_LIST_helper(_obj2
);
3925 if (_arg2
== NULL
) {
3931 _arg1
= PyList_Size(_obj2
);
3938 wxPy_BEGIN_ALLOW_THREADS
;
3939 wxDC_DrawPolygon(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3941 wxPy_END_ALLOW_THREADS
;
3942 } Py_INCREF(Py_None
);
3943 _resultobj
= Py_None
;
3950 #define wxDC_DrawPoint(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawPoint(_swigarg0,_swigarg1))
3951 static PyObject
*_wrap_wxDC_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3952 PyObject
* _resultobj
;
3956 PyObject
* _argo0
= 0;
3957 char *_kwnames
[] = { "self","x","y", NULL
};
3960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_DrawPoint",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3963 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3964 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPoint. Expected _wxDC_p.");
3970 wxPy_BEGIN_ALLOW_THREADS
;
3971 wxDC_DrawPoint(_arg0
,_arg1
,_arg2
);
3973 wxPy_END_ALLOW_THREADS
;
3974 } Py_INCREF(Py_None
);
3975 _resultobj
= Py_None
;
3979 #define wxDC_DrawRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3980 static PyObject
*_wrap_wxDC_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3981 PyObject
* _resultobj
;
3987 PyObject
* _argo0
= 0;
3988 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
3991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawRectangle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3994 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3995 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
3996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRectangle. Expected _wxDC_p.");
4001 wxPy_BEGIN_ALLOW_THREADS
;
4002 wxDC_DrawRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4004 wxPy_END_ALLOW_THREADS
;
4005 } Py_INCREF(Py_None
);
4006 _resultobj
= Py_None
;
4010 #define wxDC_DrawRotatedText(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRotatedText(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4011 static PyObject
*_wrap_wxDC_DrawRotatedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4012 PyObject
* _resultobj
;
4018 PyObject
* _argo0
= 0;
4019 PyObject
* _obj1
= 0;
4020 char *_kwnames
[] = { "self","text","x","y","angle", NULL
};
4023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiid:wxDC_DrawRotatedText",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_arg4
))
4026 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4027 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRotatedText. Expected _wxDC_p.");
4033 if (!PyString_Check(_obj1
)) {
4034 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4037 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4040 wxPy_BEGIN_ALLOW_THREADS
;
4041 wxDC_DrawRotatedText(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
4043 wxPy_END_ALLOW_THREADS
;
4044 } Py_INCREF(Py_None
);
4045 _resultobj
= Py_None
;
4053 #define wxDC_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4054 static PyObject
*_wrap_wxDC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4055 PyObject
* _resultobj
;
4061 long _arg5
= (long ) 20;
4062 PyObject
* _argo0
= 0;
4063 char *_kwnames
[] = { "self","x","y","width","height","radius", NULL
};
4066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll|l:wxDC_DrawRoundedRectangle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
4069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRoundedRectangle. Expected _wxDC_p.");
4076 wxPy_BEGIN_ALLOW_THREADS
;
4077 wxDC_DrawRoundedRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4079 wxPy_END_ALLOW_THREADS
;
4080 } Py_INCREF(Py_None
);
4081 _resultobj
= Py_None
;
4085 #define wxDC_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1))
4086 static PyObject
*_wrap_wxDC_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4087 PyObject
* _resultobj
;
4091 PyObject
* _argo0
= 0;
4092 PyObject
* _obj2
= 0;
4093 char *_kwnames
[] = { "self","LIST", NULL
};
4096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_DrawSpline",_kwnames
,&_argo0
,&_obj2
))
4099 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4100 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawSpline. Expected _wxDC_p.");
4107 _arg2
= wxPoint_LIST_helper(_obj2
);
4108 if (_arg2
== NULL
) {
4114 _arg1
= PyList_Size(_obj2
);
4121 wxPy_BEGIN_ALLOW_THREADS
;
4122 wxDC_DrawSpline(_arg0
,_arg1
,_arg2
);
4124 wxPy_END_ALLOW_THREADS
;
4125 } Py_INCREF(Py_None
);
4126 _resultobj
= Py_None
;
4133 #define wxDC_DrawText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawText(_swigarg0,_swigarg1,_swigarg2))
4134 static PyObject
*_wrap_wxDC_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4135 PyObject
* _resultobj
;
4140 PyObject
* _argo0
= 0;
4141 PyObject
* _obj1
= 0;
4142 char *_kwnames
[] = { "self","text","x","y", NULL
};
4145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll:wxDC_DrawText",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
))
4148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawText. Expected _wxDC_p.");
4155 if (!PyString_Check(_obj1
)) {
4156 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4159 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4162 wxPy_BEGIN_ALLOW_THREADS
;
4163 wxDC_DrawText(_arg0
,*_arg1
,_arg2
,_arg3
);
4165 wxPy_END_ALLOW_THREADS
;
4166 } Py_INCREF(Py_None
);
4167 _resultobj
= Py_None
;
4175 #define wxDC_EndDoc(_swigobj) (_swigobj->EndDoc())
4176 static PyObject
*_wrap_wxDC_EndDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4177 PyObject
* _resultobj
;
4179 PyObject
* _argo0
= 0;
4180 char *_kwnames
[] = { "self", NULL
};
4183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndDoc",_kwnames
,&_argo0
))
4186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDoc. Expected _wxDC_p.");
4193 wxPy_BEGIN_ALLOW_THREADS
;
4196 wxPy_END_ALLOW_THREADS
;
4197 } Py_INCREF(Py_None
);
4198 _resultobj
= Py_None
;
4202 #define wxDC_EndDrawing(_swigobj) (_swigobj->EndDrawing())
4203 static PyObject
*_wrap_wxDC_EndDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4204 PyObject
* _resultobj
;
4206 PyObject
* _argo0
= 0;
4207 char *_kwnames
[] = { "self", NULL
};
4210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndDrawing",_kwnames
,&_argo0
))
4213 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4214 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDrawing. Expected _wxDC_p.");
4220 wxPy_BEGIN_ALLOW_THREADS
;
4221 wxDC_EndDrawing(_arg0
);
4223 wxPy_END_ALLOW_THREADS
;
4224 } Py_INCREF(Py_None
);
4225 _resultobj
= Py_None
;
4229 #define wxDC_EndPage(_swigobj) (_swigobj->EndPage())
4230 static PyObject
*_wrap_wxDC_EndPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4231 PyObject
* _resultobj
;
4233 PyObject
* _argo0
= 0;
4234 char *_kwnames
[] = { "self", NULL
};
4237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndPage",_kwnames
,&_argo0
))
4240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndPage. Expected _wxDC_p.");
4247 wxPy_BEGIN_ALLOW_THREADS
;
4248 wxDC_EndPage(_arg0
);
4250 wxPy_END_ALLOW_THREADS
;
4251 } Py_INCREF(Py_None
);
4252 _resultobj
= Py_None
;
4256 #define wxDC_FloodFill(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FloodFill(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4257 static PyObject
*_wrap_wxDC_FloodFill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4258 PyObject
* _resultobj
;
4263 int _arg4
= (int ) wxFLOOD_SURFACE
;
4264 PyObject
* _argo0
= 0;
4265 PyObject
* _argo3
= 0;
4266 char *_kwnames
[] = { "self","x","y","colour","style", NULL
};
4269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO|i:wxDC_FloodFill",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
,&_arg4
))
4272 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4273 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_FloodFill. Expected _wxDC_p.");
4279 if (_argo3
== Py_None
) { _arg3
= NULL
; }
4280 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxColour_p")) {
4281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDC_FloodFill. Expected _wxColour_p.");
4286 wxPy_BEGIN_ALLOW_THREADS
;
4287 wxDC_FloodFill(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
4289 wxPy_END_ALLOW_THREADS
;
4290 } Py_INCREF(Py_None
);
4291 _resultobj
= Py_None
;
4295 #define wxDC_GetBackground(_swigobj) (_swigobj->GetBackground())
4296 static PyObject
*_wrap_wxDC_GetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4297 PyObject
* _resultobj
;
4300 PyObject
* _argo0
= 0;
4301 char *_kwnames
[] = { "self", NULL
};
4305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBackground",_kwnames
,&_argo0
))
4308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBackground. Expected _wxDC_p.");
4315 wxPy_BEGIN_ALLOW_THREADS
;
4316 wxBrush
& _result_ref
= wxDC_GetBackground(_arg0
);
4317 _result
= (wxBrush
*) &_result_ref
;
4319 wxPy_END_ALLOW_THREADS
;
4321 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
4322 _resultobj
= Py_BuildValue("s",_ptemp
);
4325 _resultobj
= Py_None
;
4330 #define wxDC_GetBrush(_swigobj) (_swigobj->GetBrush())
4331 static PyObject
*_wrap_wxDC_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4332 PyObject
* _resultobj
;
4335 PyObject
* _argo0
= 0;
4336 char *_kwnames
[] = { "self", NULL
};
4340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBrush",_kwnames
,&_argo0
))
4343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBrush. Expected _wxDC_p.");
4350 wxPy_BEGIN_ALLOW_THREADS
;
4351 wxBrush
& _result_ref
= wxDC_GetBrush(_arg0
);
4352 _result
= (wxBrush
*) &_result_ref
;
4354 wxPy_END_ALLOW_THREADS
;
4356 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
4357 _resultobj
= Py_BuildValue("s",_ptemp
);
4360 _resultobj
= Py_None
;
4365 #define wxDC_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
4366 static PyObject
*_wrap_wxDC_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4367 PyObject
* _resultobj
;
4370 PyObject
* _argo0
= 0;
4371 char *_kwnames
[] = { "self", NULL
};
4374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetCharHeight",_kwnames
,&_argo0
))
4377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharHeight. Expected _wxDC_p.");
4384 wxPy_BEGIN_ALLOW_THREADS
;
4385 _result
= (long )wxDC_GetCharHeight(_arg0
);
4387 wxPy_END_ALLOW_THREADS
;
4388 } _resultobj
= Py_BuildValue("l",_result
);
4392 #define wxDC_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
4393 static PyObject
*_wrap_wxDC_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4394 PyObject
* _resultobj
;
4397 PyObject
* _argo0
= 0;
4398 char *_kwnames
[] = { "self", NULL
};
4401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetCharWidth",_kwnames
,&_argo0
))
4404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharWidth. Expected _wxDC_p.");
4411 wxPy_BEGIN_ALLOW_THREADS
;
4412 _result
= (long )wxDC_GetCharWidth(_arg0
);
4414 wxPy_END_ALLOW_THREADS
;
4415 } _resultobj
= Py_BuildValue("l",_result
);
4419 #define wxDC_GetClippingBox(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetClippingBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4420 static PyObject
*_wrap_wxDC_GetClippingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4421 PyObject
* _resultobj
;
4431 PyObject
* _argo0
= 0;
4432 char *_kwnames
[] = { "self", NULL
};
4447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetClippingBox",_kwnames
,&_argo0
))
4450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetClippingBox. Expected _wxDC_p.");
4457 wxPy_BEGIN_ALLOW_THREADS
;
4458 wxDC_GetClippingBox(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4460 wxPy_END_ALLOW_THREADS
;
4461 } Py_INCREF(Py_None
);
4462 _resultobj
= Py_None
;
4465 o
= PyInt_FromLong((long) (*_arg1
));
4466 _resultobj
= t_output_helper(_resultobj
, o
);
4470 o
= PyInt_FromLong((long) (*_arg2
));
4471 _resultobj
= t_output_helper(_resultobj
, o
);
4475 o
= PyInt_FromLong((long) (*_arg3
));
4476 _resultobj
= t_output_helper(_resultobj
, o
);
4480 o
= PyInt_FromLong((long) (*_arg4
));
4481 _resultobj
= t_output_helper(_resultobj
, o
);
4486 #define wxDC_GetFont(_swigobj) (_swigobj->GetFont())
4487 static PyObject
*_wrap_wxDC_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4488 PyObject
* _resultobj
;
4491 PyObject
* _argo0
= 0;
4492 char *_kwnames
[] = { "self", NULL
};
4496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetFont",_kwnames
,&_argo0
))
4499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFont. Expected _wxDC_p.");
4506 wxPy_BEGIN_ALLOW_THREADS
;
4507 wxFont
& _result_ref
= wxDC_GetFont(_arg0
);
4508 _result
= (wxFont
*) &_result_ref
;
4510 wxPy_END_ALLOW_THREADS
;
4512 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
4513 _resultobj
= Py_BuildValue("s",_ptemp
);
4516 _resultobj
= Py_None
;
4521 #define wxDC_GetLogicalFunction(_swigobj) (_swigobj->GetLogicalFunction())
4522 static PyObject
*_wrap_wxDC_GetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4523 PyObject
* _resultobj
;
4526 PyObject
* _argo0
= 0;
4527 char *_kwnames
[] = { "self", NULL
};
4530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalFunction",_kwnames
,&_argo0
))
4533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalFunction. Expected _wxDC_p.");
4540 wxPy_BEGIN_ALLOW_THREADS
;
4541 _result
= (int )wxDC_GetLogicalFunction(_arg0
);
4543 wxPy_END_ALLOW_THREADS
;
4544 } _resultobj
= Py_BuildValue("i",_result
);
4548 #define wxDC_GetMapMode(_swigobj) (_swigobj->GetMapMode())
4549 static PyObject
*_wrap_wxDC_GetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4550 PyObject
* _resultobj
;
4553 PyObject
* _argo0
= 0;
4554 char *_kwnames
[] = { "self", NULL
};
4557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetMapMode",_kwnames
,&_argo0
))
4560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetMapMode. Expected _wxDC_p.");
4567 wxPy_BEGIN_ALLOW_THREADS
;
4568 _result
= (int )wxDC_GetMapMode(_arg0
);
4570 wxPy_END_ALLOW_THREADS
;
4571 } _resultobj
= Py_BuildValue("i",_result
);
4575 #define wxDC_GetOptimization(_swigobj) (_swigobj->GetOptimization())
4576 static PyObject
*_wrap_wxDC_GetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4577 PyObject
* _resultobj
;
4580 PyObject
* _argo0
= 0;
4581 char *_kwnames
[] = { "self", NULL
};
4584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetOptimization",_kwnames
,&_argo0
))
4587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetOptimization. Expected _wxDC_p.");
4594 wxPy_BEGIN_ALLOW_THREADS
;
4595 _result
= (bool )wxDC_GetOptimization(_arg0
);
4597 wxPy_END_ALLOW_THREADS
;
4598 } _resultobj
= Py_BuildValue("i",_result
);
4602 #define wxDC_GetPen(_swigobj) (_swigobj->GetPen())
4603 static PyObject
*_wrap_wxDC_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4604 PyObject
* _resultobj
;
4607 PyObject
* _argo0
= 0;
4608 char *_kwnames
[] = { "self", NULL
};
4612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetPen",_kwnames
,&_argo0
))
4615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPen. Expected _wxDC_p.");
4622 wxPy_BEGIN_ALLOW_THREADS
;
4623 wxPen
& _result_ref
= wxDC_GetPen(_arg0
);
4624 _result
= (wxPen
*) &_result_ref
;
4626 wxPy_END_ALLOW_THREADS
;
4628 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
4629 _resultobj
= Py_BuildValue("s",_ptemp
);
4632 _resultobj
= Py_None
;
4637 static wxColour
* wxDC_GetPixel(wxDC
*self
,long x
,long y
) {
4638 wxColour
* wc
= new wxColour();
4639 self
->GetPixel(x
, y
, wc
);
4642 static PyObject
*_wrap_wxDC_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4643 PyObject
* _resultobj
;
4648 PyObject
* _argo0
= 0;
4649 char *_kwnames
[] = { "self","x","y", NULL
};
4653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_GetPixel",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPixel. Expected _wxDC_p.");
4663 wxPy_BEGIN_ALLOW_THREADS
;
4664 _result
= (wxColour
*)wxDC_GetPixel(_arg0
,_arg1
,_arg2
);
4666 wxPy_END_ALLOW_THREADS
;
4668 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
4669 _resultobj
= Py_BuildValue("s",_ptemp
);
4672 _resultobj
= Py_None
;
4677 #define wxDC_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
4678 static PyObject
*_wrap_wxDC_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4679 PyObject
* _resultobj
;
4685 PyObject
* _argo0
= 0;
4686 char *_kwnames
[] = { "self", NULL
};
4695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSizeTuple",_kwnames
,&_argo0
))
4698 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4699 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSizeTuple. Expected _wxDC_p.");
4705 wxPy_BEGIN_ALLOW_THREADS
;
4706 wxDC_GetSizeTuple(_arg0
,_arg1
,_arg2
);
4708 wxPy_END_ALLOW_THREADS
;
4709 } Py_INCREF(Py_None
);
4710 _resultobj
= Py_None
;
4713 o
= PyInt_FromLong((long) (*_arg1
));
4714 _resultobj
= t_output_helper(_resultobj
, o
);
4718 o
= PyInt_FromLong((long) (*_arg2
));
4719 _resultobj
= t_output_helper(_resultobj
, o
);
4724 #define wxDC_GetSize(_swigobj) (_swigobj->GetSize())
4725 static PyObject
*_wrap_wxDC_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4726 PyObject
* _resultobj
;
4729 PyObject
* _argo0
= 0;
4730 char *_kwnames
[] = { "self", NULL
};
4734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSize",_kwnames
,&_argo0
))
4737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSize. Expected _wxDC_p.");
4744 wxPy_BEGIN_ALLOW_THREADS
;
4745 _result
= new wxSize (wxDC_GetSize(_arg0
));
4747 wxPy_END_ALLOW_THREADS
;
4748 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4749 _resultobj
= Py_BuildValue("s",_ptemp
);
4753 #define wxDC_GetTextBackground(_swigobj) (_swigobj->GetTextBackground())
4754 static PyObject
*_wrap_wxDC_GetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4755 PyObject
* _resultobj
;
4758 PyObject
* _argo0
= 0;
4759 char *_kwnames
[] = { "self", NULL
};
4763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetTextBackground",_kwnames
,&_argo0
))
4766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextBackground. Expected _wxDC_p.");
4773 wxPy_BEGIN_ALLOW_THREADS
;
4774 wxColour
& _result_ref
= wxDC_GetTextBackground(_arg0
);
4775 _result
= (wxColour
*) &_result_ref
;
4777 wxPy_END_ALLOW_THREADS
;
4779 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
4780 _resultobj
= Py_BuildValue("s",_ptemp
);
4783 _resultobj
= Py_None
;
4788 #define wxDC_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
4789 static PyObject
*_wrap_wxDC_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4790 PyObject
* _resultobj
;
4797 PyObject
* _argo0
= 0;
4798 PyObject
* _obj1
= 0;
4799 char *_kwnames
[] = { "self","string", NULL
};
4808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
4811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextExtent. Expected _wxDC_p.");
4818 if (!PyString_Check(_obj1
)) {
4819 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4822 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4825 wxPy_BEGIN_ALLOW_THREADS
;
4826 wxDC_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
4828 wxPy_END_ALLOW_THREADS
;
4829 } Py_INCREF(Py_None
);
4830 _resultobj
= Py_None
;
4833 o
= PyInt_FromLong((long) (*_arg2
));
4834 _resultobj
= t_output_helper(_resultobj
, o
);
4838 o
= PyInt_FromLong((long) (*_arg3
));
4839 _resultobj
= t_output_helper(_resultobj
, o
);
4848 #define wxDC_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4849 static PyObject
*_wrap_wxDC_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4850 PyObject
* _resultobj
;
4861 wxFont
* _arg6
= (wxFont
*) NULL
;
4862 PyObject
* _argo0
= 0;
4863 PyObject
* _obj1
= 0;
4864 PyObject
* _argo6
= 0;
4865 char *_kwnames
[] = { "self","string","font", NULL
};
4880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxDC_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
4883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFullTextExtent. Expected _wxDC_p.");
4890 if (!PyString_Check(_obj1
)) {
4891 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4894 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4897 if (_argo6
== Py_None
) { _arg6
= NULL
; }
4898 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
4899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxDC_GetFullTextExtent. Expected _wxFont_p.");
4904 wxPy_BEGIN_ALLOW_THREADS
;
4905 wxDC_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4907 wxPy_END_ALLOW_THREADS
;
4908 } Py_INCREF(Py_None
);
4909 _resultobj
= Py_None
;
4912 o
= PyInt_FromLong((long) (*_arg2
));
4913 _resultobj
= t_output_helper(_resultobj
, o
);
4917 o
= PyInt_FromLong((long) (*_arg3
));
4918 _resultobj
= t_output_helper(_resultobj
, o
);
4922 o
= PyInt_FromLong((long) (*_arg4
));
4923 _resultobj
= t_output_helper(_resultobj
, o
);
4927 o
= PyInt_FromLong((long) (*_arg5
));
4928 _resultobj
= t_output_helper(_resultobj
, o
);
4937 #define wxDC_GetTextForeground(_swigobj) (_swigobj->GetTextForeground())
4938 static PyObject
*_wrap_wxDC_GetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4939 PyObject
* _resultobj
;
4942 PyObject
* _argo0
= 0;
4943 char *_kwnames
[] = { "self", NULL
};
4947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetTextForeground",_kwnames
,&_argo0
))
4950 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4951 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextForeground. Expected _wxDC_p.");
4957 wxPy_BEGIN_ALLOW_THREADS
;
4958 wxColour
& _result_ref
= wxDC_GetTextForeground(_arg0
);
4959 _result
= (wxColour
*) &_result_ref
;
4961 wxPy_END_ALLOW_THREADS
;
4963 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
4964 _resultobj
= Py_BuildValue("s",_ptemp
);
4967 _resultobj
= Py_None
;
4972 #define wxDC_LogicalToDeviceX(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceX(_swigarg0))
4973 static PyObject
*_wrap_wxDC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4974 PyObject
* _resultobj
;
4978 PyObject
* _argo0
= 0;
4979 char *_kwnames
[] = { "self","x", NULL
};
4982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceX",_kwnames
,&_argo0
,&_arg1
))
4985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceX. Expected _wxDC_p.");
4992 wxPy_BEGIN_ALLOW_THREADS
;
4993 _result
= (long )wxDC_LogicalToDeviceX(_arg0
,_arg1
);
4995 wxPy_END_ALLOW_THREADS
;
4996 } _resultobj
= Py_BuildValue("l",_result
);
5000 #define wxDC_LogicalToDeviceXRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceXRel(_swigarg0))
5001 static PyObject
*_wrap_wxDC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5002 PyObject
* _resultobj
;
5006 PyObject
* _argo0
= 0;
5007 char *_kwnames
[] = { "self","x", NULL
};
5010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceXRel",_kwnames
,&_argo0
,&_arg1
))
5013 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5014 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceXRel. Expected _wxDC_p.");
5020 wxPy_BEGIN_ALLOW_THREADS
;
5021 _result
= (long )wxDC_LogicalToDeviceXRel(_arg0
,_arg1
);
5023 wxPy_END_ALLOW_THREADS
;
5024 } _resultobj
= Py_BuildValue("l",_result
);
5028 #define wxDC_LogicalToDeviceY(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceY(_swigarg0))
5029 static PyObject
*_wrap_wxDC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5030 PyObject
* _resultobj
;
5034 PyObject
* _argo0
= 0;
5035 char *_kwnames
[] = { "self","y", NULL
};
5038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceY",_kwnames
,&_argo0
,&_arg1
))
5041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceY. Expected _wxDC_p.");
5048 wxPy_BEGIN_ALLOW_THREADS
;
5049 _result
= (long )wxDC_LogicalToDeviceY(_arg0
,_arg1
);
5051 wxPy_END_ALLOW_THREADS
;
5052 } _resultobj
= Py_BuildValue("l",_result
);
5056 #define wxDC_LogicalToDeviceYRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceYRel(_swigarg0))
5057 static PyObject
*_wrap_wxDC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5058 PyObject
* _resultobj
;
5062 PyObject
* _argo0
= 0;
5063 char *_kwnames
[] = { "self","y", NULL
};
5066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceYRel",_kwnames
,&_argo0
,&_arg1
))
5069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceYRel. Expected _wxDC_p.");
5076 wxPy_BEGIN_ALLOW_THREADS
;
5077 _result
= (long )wxDC_LogicalToDeviceYRel(_arg0
,_arg1
);
5079 wxPy_END_ALLOW_THREADS
;
5080 } _resultobj
= Py_BuildValue("l",_result
);
5084 #define wxDC_MaxX(_swigobj) (_swigobj->MaxX())
5085 static PyObject
*_wrap_wxDC_MaxX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5086 PyObject
* _resultobj
;
5089 PyObject
* _argo0
= 0;
5090 char *_kwnames
[] = { "self", NULL
};
5093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MaxX",_kwnames
,&_argo0
))
5096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxX. Expected _wxDC_p.");
5103 wxPy_BEGIN_ALLOW_THREADS
;
5104 _result
= (long )wxDC_MaxX(_arg0
);
5106 wxPy_END_ALLOW_THREADS
;
5107 } _resultobj
= Py_BuildValue("l",_result
);
5111 #define wxDC_MaxY(_swigobj) (_swigobj->MaxY())
5112 static PyObject
*_wrap_wxDC_MaxY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5113 PyObject
* _resultobj
;
5116 PyObject
* _argo0
= 0;
5117 char *_kwnames
[] = { "self", NULL
};
5120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MaxY",_kwnames
,&_argo0
))
5123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxY. Expected _wxDC_p.");
5130 wxPy_BEGIN_ALLOW_THREADS
;
5131 _result
= (long )wxDC_MaxY(_arg0
);
5133 wxPy_END_ALLOW_THREADS
;
5134 } _resultobj
= Py_BuildValue("l",_result
);
5138 #define wxDC_MinX(_swigobj) (_swigobj->MinX())
5139 static PyObject
*_wrap_wxDC_MinX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5140 PyObject
* _resultobj
;
5143 PyObject
* _argo0
= 0;
5144 char *_kwnames
[] = { "self", NULL
};
5147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MinX",_kwnames
,&_argo0
))
5150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinX. Expected _wxDC_p.");
5157 wxPy_BEGIN_ALLOW_THREADS
;
5158 _result
= (long )wxDC_MinX(_arg0
);
5160 wxPy_END_ALLOW_THREADS
;
5161 } _resultobj
= Py_BuildValue("l",_result
);
5165 #define wxDC_MinY(_swigobj) (_swigobj->MinY())
5166 static PyObject
*_wrap_wxDC_MinY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5167 PyObject
* _resultobj
;
5170 PyObject
* _argo0
= 0;
5171 char *_kwnames
[] = { "self", NULL
};
5174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MinY",_kwnames
,&_argo0
))
5177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinY. Expected _wxDC_p.");
5184 wxPy_BEGIN_ALLOW_THREADS
;
5185 _result
= (long )wxDC_MinY(_arg0
);
5187 wxPy_END_ALLOW_THREADS
;
5188 } _resultobj
= Py_BuildValue("l",_result
);
5192 #define wxDC_Ok(_swigobj) (_swigobj->Ok())
5193 static PyObject
*_wrap_wxDC_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5194 PyObject
* _resultobj
;
5197 PyObject
* _argo0
= 0;
5198 char *_kwnames
[] = { "self", NULL
};
5201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_Ok",_kwnames
,&_argo0
))
5204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Ok. Expected _wxDC_p.");
5211 wxPy_BEGIN_ALLOW_THREADS
;
5212 _result
= (bool )wxDC_Ok(_arg0
);
5214 wxPy_END_ALLOW_THREADS
;
5215 } _resultobj
= Py_BuildValue("i",_result
);
5219 #define wxDC_SetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDeviceOrigin(_swigarg0,_swigarg1))
5220 static PyObject
*_wrap_wxDC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5221 PyObject
* _resultobj
;
5225 PyObject
* _argo0
= 0;
5226 char *_kwnames
[] = { "self","x","y", NULL
};
5229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_SetDeviceOrigin",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetDeviceOrigin. Expected _wxDC_p.");
5239 wxPy_BEGIN_ALLOW_THREADS
;
5240 wxDC_SetDeviceOrigin(_arg0
,_arg1
,_arg2
);
5242 wxPy_END_ALLOW_THREADS
;
5243 } Py_INCREF(Py_None
);
5244 _resultobj
= Py_None
;
5248 #define wxDC_SetBackground(_swigobj,_swigarg0) (_swigobj->SetBackground(_swigarg0))
5249 static PyObject
*_wrap_wxDC_SetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5250 PyObject
* _resultobj
;
5253 PyObject
* _argo0
= 0;
5254 PyObject
* _argo1
= 0;
5255 char *_kwnames
[] = { "self","brush", NULL
};
5258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetBackground",_kwnames
,&_argo0
,&_argo1
))
5261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackground. Expected _wxDC_p.");
5268 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5269 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
5270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBackground. Expected _wxBrush_p.");
5275 wxPy_BEGIN_ALLOW_THREADS
;
5276 wxDC_SetBackground(_arg0
,*_arg1
);
5278 wxPy_END_ALLOW_THREADS
;
5279 } Py_INCREF(Py_None
);
5280 _resultobj
= Py_None
;
5284 #define wxDC_SetBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetBackgroundMode(_swigarg0))
5285 static PyObject
*_wrap_wxDC_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5286 PyObject
* _resultobj
;
5289 PyObject
* _argo0
= 0;
5290 char *_kwnames
[] = { "self","mode", NULL
};
5293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetBackgroundMode",_kwnames
,&_argo0
,&_arg1
))
5296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackgroundMode. Expected _wxDC_p.");
5303 wxPy_BEGIN_ALLOW_THREADS
;
5304 wxDC_SetBackgroundMode(_arg0
,_arg1
);
5306 wxPy_END_ALLOW_THREADS
;
5307 } Py_INCREF(Py_None
);
5308 _resultobj
= Py_None
;
5312 #define wxDC_SetClippingRegion(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetClippingRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5313 static PyObject
*_wrap_wxDC_SetClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5314 PyObject
* _resultobj
;
5320 PyObject
* _argo0
= 0;
5321 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
5324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_SetClippingRegion",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
5327 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5328 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetClippingRegion. Expected _wxDC_p.");
5334 wxPy_BEGIN_ALLOW_THREADS
;
5335 wxDC_SetClippingRegion(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5337 wxPy_END_ALLOW_THREADS
;
5338 } Py_INCREF(Py_None
);
5339 _resultobj
= Py_None
;
5343 #define wxDC_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
5344 static PyObject
*_wrap_wxDC_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5345 PyObject
* _resultobj
;
5348 PyObject
* _argo0
= 0;
5349 PyObject
* _argo1
= 0;
5350 char *_kwnames
[] = { "self","colourMap", NULL
};
5353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetPalette",_kwnames
,&_argo0
,&_argo1
))
5356 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5357 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPalette. Expected _wxDC_p.");
5363 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5364 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPalette_p")) {
5365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPalette. Expected _wxPalette_p.");
5370 wxPy_BEGIN_ALLOW_THREADS
;
5371 wxDC_SetPalette(_arg0
,*_arg1
);
5373 wxPy_END_ALLOW_THREADS
;
5374 } Py_INCREF(Py_None
);
5375 _resultobj
= Py_None
;
5379 #define wxDC_SetBrush(_swigobj,_swigarg0) (_swigobj->SetBrush(_swigarg0))
5380 static PyObject
*_wrap_wxDC_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5381 PyObject
* _resultobj
;
5384 PyObject
* _argo0
= 0;
5385 PyObject
* _argo1
= 0;
5386 char *_kwnames
[] = { "self","brush", NULL
};
5389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetBrush",_kwnames
,&_argo0
,&_argo1
))
5392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBrush. Expected _wxDC_p.");
5399 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5400 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
5401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBrush. Expected _wxBrush_p.");
5406 wxPy_BEGIN_ALLOW_THREADS
;
5407 wxDC_SetBrush(_arg0
,*_arg1
);
5409 wxPy_END_ALLOW_THREADS
;
5410 } Py_INCREF(Py_None
);
5411 _resultobj
= Py_None
;
5415 #define wxDC_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
5416 static PyObject
*_wrap_wxDC_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5417 PyObject
* _resultobj
;
5420 PyObject
* _argo0
= 0;
5421 PyObject
* _argo1
= 0;
5422 char *_kwnames
[] = { "self","font", NULL
};
5425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetFont",_kwnames
,&_argo0
,&_argo1
))
5428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetFont. Expected _wxDC_p.");
5435 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5436 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
5437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetFont. Expected _wxFont_p.");
5442 wxPy_BEGIN_ALLOW_THREADS
;
5443 wxDC_SetFont(_arg0
,*_arg1
);
5445 wxPy_END_ALLOW_THREADS
;
5446 } Py_INCREF(Py_None
);
5447 _resultobj
= Py_None
;
5451 #define wxDC_SetLogicalFunction(_swigobj,_swigarg0) (_swigobj->SetLogicalFunction(_swigarg0))
5452 static PyObject
*_wrap_wxDC_SetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5453 PyObject
* _resultobj
;
5456 PyObject
* _argo0
= 0;
5457 char *_kwnames
[] = { "self","function", NULL
};
5460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetLogicalFunction",_kwnames
,&_argo0
,&_arg1
))
5463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalFunction. Expected _wxDC_p.");
5470 wxPy_BEGIN_ALLOW_THREADS
;
5471 wxDC_SetLogicalFunction(_arg0
,_arg1
);
5473 wxPy_END_ALLOW_THREADS
;
5474 } Py_INCREF(Py_None
);
5475 _resultobj
= Py_None
;
5479 #define wxDC_SetMapMode(_swigobj,_swigarg0) (_swigobj->SetMapMode(_swigarg0))
5480 static PyObject
*_wrap_wxDC_SetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5481 PyObject
* _resultobj
;
5484 PyObject
* _argo0
= 0;
5485 char *_kwnames
[] = { "self","mode", NULL
};
5488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetMapMode",_kwnames
,&_argo0
,&_arg1
))
5491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetMapMode. Expected _wxDC_p.");
5498 wxPy_BEGIN_ALLOW_THREADS
;
5499 wxDC_SetMapMode(_arg0
,_arg1
);
5501 wxPy_END_ALLOW_THREADS
;
5502 } Py_INCREF(Py_None
);
5503 _resultobj
= Py_None
;
5507 #define wxDC_SetOptimization(_swigobj,_swigarg0) (_swigobj->SetOptimization(_swigarg0))
5508 static PyObject
*_wrap_wxDC_SetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5509 PyObject
* _resultobj
;
5512 PyObject
* _argo0
= 0;
5514 char *_kwnames
[] = { "self","optimize", NULL
};
5517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetOptimization",_kwnames
,&_argo0
,&tempbool1
))
5520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetOptimization. Expected _wxDC_p.");
5526 _arg1
= (bool ) tempbool1
;
5528 wxPy_BEGIN_ALLOW_THREADS
;
5529 wxDC_SetOptimization(_arg0
,_arg1
);
5531 wxPy_END_ALLOW_THREADS
;
5532 } Py_INCREF(Py_None
);
5533 _resultobj
= Py_None
;
5537 #define wxDC_SetPen(_swigobj,_swigarg0) (_swigobj->SetPen(_swigarg0))
5538 static PyObject
*_wrap_wxDC_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5539 PyObject
* _resultobj
;
5542 PyObject
* _argo0
= 0;
5543 PyObject
* _argo1
= 0;
5544 char *_kwnames
[] = { "self","pen", NULL
};
5547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetPen",_kwnames
,&_argo0
,&_argo1
))
5550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPen. Expected _wxDC_p.");
5557 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5558 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
5559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPen. Expected _wxPen_p.");
5564 wxPy_BEGIN_ALLOW_THREADS
;
5565 wxDC_SetPen(_arg0
,*_arg1
);
5567 wxPy_END_ALLOW_THREADS
;
5568 } Py_INCREF(Py_None
);
5569 _resultobj
= Py_None
;
5573 #define wxDC_SetTextBackground(_swigobj,_swigarg0) (_swigobj->SetTextBackground(_swigarg0))
5574 static PyObject
*_wrap_wxDC_SetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5575 PyObject
* _resultobj
;
5578 PyObject
* _argo0
= 0;
5579 PyObject
* _argo1
= 0;
5580 char *_kwnames
[] = { "self","colour", NULL
};
5583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetTextBackground",_kwnames
,&_argo0
,&_argo1
))
5586 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5587 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextBackground. Expected _wxDC_p.");
5593 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5594 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
5595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetTextBackground. Expected _wxColour_p.");
5600 wxPy_BEGIN_ALLOW_THREADS
;
5601 wxDC_SetTextBackground(_arg0
,*_arg1
);
5603 wxPy_END_ALLOW_THREADS
;
5604 } Py_INCREF(Py_None
);
5605 _resultobj
= Py_None
;
5609 #define wxDC_SetTextForeground(_swigobj,_swigarg0) (_swigobj->SetTextForeground(_swigarg0))
5610 static PyObject
*_wrap_wxDC_SetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5611 PyObject
* _resultobj
;
5614 PyObject
* _argo0
= 0;
5615 PyObject
* _argo1
= 0;
5616 char *_kwnames
[] = { "self","colour", NULL
};
5619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetTextForeground",_kwnames
,&_argo0
,&_argo1
))
5622 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5623 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextForeground. Expected _wxDC_p.");
5629 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5630 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
5631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetTextForeground. Expected _wxColour_p.");
5636 wxPy_BEGIN_ALLOW_THREADS
;
5637 wxDC_SetTextForeground(_arg0
,*_arg1
);
5639 wxPy_END_ALLOW_THREADS
;
5640 } Py_INCREF(Py_None
);
5641 _resultobj
= Py_None
;
5645 #define wxDC_SetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetUserScale(_swigarg0,_swigarg1))
5646 static PyObject
*_wrap_wxDC_SetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5647 PyObject
* _resultobj
;
5651 PyObject
* _argo0
= 0;
5652 char *_kwnames
[] = { "self","x_scale","y_scale", NULL
};
5655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxDC_SetUserScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5658 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5659 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetUserScale. Expected _wxDC_p.");
5665 wxPy_BEGIN_ALLOW_THREADS
;
5666 wxDC_SetUserScale(_arg0
,_arg1
,_arg2
);
5668 wxPy_END_ALLOW_THREADS
;
5669 } Py_INCREF(Py_None
);
5670 _resultobj
= Py_None
;
5674 #define wxDC_StartDoc(_swigobj,_swigarg0) (_swigobj->StartDoc(_swigarg0))
5675 static PyObject
*_wrap_wxDC_StartDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5676 PyObject
* _resultobj
;
5680 PyObject
* _argo0
= 0;
5681 PyObject
* _obj1
= 0;
5682 char *_kwnames
[] = { "self","message", NULL
};
5685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_StartDoc",_kwnames
,&_argo0
,&_obj1
))
5688 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5689 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartDoc. Expected _wxDC_p.");
5695 if (!PyString_Check(_obj1
)) {
5696 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5699 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5702 wxPy_BEGIN_ALLOW_THREADS
;
5703 _result
= (bool )wxDC_StartDoc(_arg0
,*_arg1
);
5705 wxPy_END_ALLOW_THREADS
;
5706 } _resultobj
= Py_BuildValue("i",_result
);
5714 #define wxDC_StartPage(_swigobj) (_swigobj->StartPage())
5715 static PyObject
*_wrap_wxDC_StartPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5716 PyObject
* _resultobj
;
5718 PyObject
* _argo0
= 0;
5719 char *_kwnames
[] = { "self", NULL
};
5722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_StartPage",_kwnames
,&_argo0
))
5725 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5726 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartPage. Expected _wxDC_p.");
5732 wxPy_BEGIN_ALLOW_THREADS
;
5733 wxDC_StartPage(_arg0
);
5735 wxPy_END_ALLOW_THREADS
;
5736 } Py_INCREF(Py_None
);
5737 _resultobj
= Py_None
;
5741 #define wxDC_DrawBitmap(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5742 static PyObject
*_wrap_wxDC_DrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5743 PyObject
* _resultobj
;
5748 int _arg4
= (int ) FALSE
;
5749 PyObject
* _argo0
= 0;
5750 PyObject
* _argo1
= 0;
5751 char *_kwnames
[] = { "self","bitmap","x","y","useMask", NULL
};
5754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll|i:wxDC_DrawBitmap",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
))
5757 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5758 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawBitmap. Expected _wxDC_p.");
5764 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5765 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
5766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawBitmap. Expected _wxBitmap_p.");
5771 wxPy_BEGIN_ALLOW_THREADS
;
5772 wxDC_DrawBitmap(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
5774 wxPy_END_ALLOW_THREADS
;
5775 } Py_INCREF(Py_None
);
5776 _resultobj
= Py_None
;
5780 static void *SwigwxMemoryDCTowxDC(void *ptr
) {
5783 src
= (wxMemoryDC
*) ptr
;
5784 dest
= (wxDC
*) src
;
5785 return (void *) dest
;
5788 #define new_wxMemoryDC() (new wxMemoryDC())
5789 static PyObject
*_wrap_new_wxMemoryDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5790 PyObject
* _resultobj
;
5791 wxMemoryDC
* _result
;
5792 char *_kwnames
[] = { NULL
};
5796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMemoryDC",_kwnames
))
5799 wxPy_BEGIN_ALLOW_THREADS
;
5800 _result
= (wxMemoryDC
*)new_wxMemoryDC();
5802 wxPy_END_ALLOW_THREADS
;
5804 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
5805 _resultobj
= Py_BuildValue("s",_ptemp
);
5808 _resultobj
= Py_None
;
5813 #define wxMemoryDC_SelectObject(_swigobj,_swigarg0) (_swigobj->SelectObject(_swigarg0))
5814 static PyObject
*_wrap_wxMemoryDC_SelectObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5815 PyObject
* _resultobj
;
5818 PyObject
* _argo0
= 0;
5819 PyObject
* _argo1
= 0;
5820 char *_kwnames
[] = { "self","bitmap", NULL
};
5823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMemoryDC_SelectObject",_kwnames
,&_argo0
,&_argo1
))
5826 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5827 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMemoryDC_p")) {
5828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDC_SelectObject. Expected _wxMemoryDC_p.");
5833 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5834 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
5835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMemoryDC_SelectObject. Expected _wxBitmap_p.");
5840 wxPy_BEGIN_ALLOW_THREADS
;
5841 wxMemoryDC_SelectObject(_arg0
,*_arg1
);
5843 wxPy_END_ALLOW_THREADS
;
5844 } Py_INCREF(Py_None
);
5845 _resultobj
= Py_None
;
5849 static void *SwigwxScreenDCTowxDC(void *ptr
) {
5852 src
= (wxScreenDC
*) ptr
;
5853 dest
= (wxDC
*) src
;
5854 return (void *) dest
;
5857 #define new_wxScreenDC() (new wxScreenDC())
5858 static PyObject
*_wrap_new_wxScreenDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5859 PyObject
* _resultobj
;
5860 wxScreenDC
* _result
;
5861 char *_kwnames
[] = { NULL
};
5865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxScreenDC",_kwnames
))
5868 wxPy_BEGIN_ALLOW_THREADS
;
5869 _result
= (wxScreenDC
*)new_wxScreenDC();
5871 wxPy_END_ALLOW_THREADS
;
5873 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScreenDC_p");
5874 _resultobj
= Py_BuildValue("s",_ptemp
);
5877 _resultobj
= Py_None
;
5882 #define wxScreenDC_StartDrawingOnTop(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
5883 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5884 PyObject
* _resultobj
;
5888 PyObject
* _argo0
= 0;
5889 PyObject
* _argo1
= 0;
5890 char *_kwnames
[] = { "self","window", NULL
};
5893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScreenDC_StartDrawingOnTop",_kwnames
,&_argo0
,&_argo1
))
5896 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5897 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
5898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTop. Expected _wxScreenDC_p.");
5903 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5904 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScreenDC_StartDrawingOnTop. Expected _wxWindow_p.");
5910 wxPy_BEGIN_ALLOW_THREADS
;
5911 _result
= (bool )wxScreenDC_StartDrawingOnTop(_arg0
,_arg1
);
5913 wxPy_END_ALLOW_THREADS
;
5914 } _resultobj
= Py_BuildValue("i",_result
);
5918 #define wxScreenDC_StartDrawingOnTopRect(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
5919 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTopRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5920 PyObject
* _resultobj
;
5923 wxRect
* _arg1
= (wxRect
*) NULL
;
5924 PyObject
* _argo0
= 0;
5926 PyObject
* _obj1
= 0;
5927 char *_kwnames
[] = { "self","rect", NULL
};
5930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxScreenDC_StartDrawingOnTopRect",_kwnames
,&_argo0
,&_obj1
))
5933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
5935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTopRect. Expected _wxScreenDC_p.");
5942 if (! wxRect_helper(_obj1
, &_arg1
))
5946 wxPy_BEGIN_ALLOW_THREADS
;
5947 _result
= (bool )wxScreenDC_StartDrawingOnTopRect(_arg0
,_arg1
);
5949 wxPy_END_ALLOW_THREADS
;
5950 } _resultobj
= Py_BuildValue("i",_result
);
5954 #define wxScreenDC_EndDrawingOnTop(_swigobj) (_swigobj->EndDrawingOnTop())
5955 static PyObject
*_wrap_wxScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5956 PyObject
* _resultobj
;
5959 PyObject
* _argo0
= 0;
5960 char *_kwnames
[] = { "self", NULL
};
5963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScreenDC_EndDrawingOnTop",_kwnames
,&_argo0
))
5966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
5968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_EndDrawingOnTop. Expected _wxScreenDC_p.");
5973 wxPy_BEGIN_ALLOW_THREADS
;
5974 _result
= (bool )wxScreenDC_EndDrawingOnTop(_arg0
);
5976 wxPy_END_ALLOW_THREADS
;
5977 } _resultobj
= Py_BuildValue("i",_result
);
5981 static void *SwigwxClientDCTowxDC(void *ptr
) {
5984 src
= (wxClientDC
*) ptr
;
5985 dest
= (wxDC
*) src
;
5986 return (void *) dest
;
5989 #define new_wxClientDC(_swigarg0) (new wxClientDC(_swigarg0))
5990 static PyObject
*_wrap_new_wxClientDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5991 PyObject
* _resultobj
;
5992 wxClientDC
* _result
;
5994 PyObject
* _argo0
= 0;
5995 char *_kwnames
[] = { "win", NULL
};
5999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxClientDC",_kwnames
,&_argo0
))
6002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxClientDC. Expected _wxWindow_p.");
6009 wxPy_BEGIN_ALLOW_THREADS
;
6010 _result
= (wxClientDC
*)new_wxClientDC(_arg0
);
6012 wxPy_END_ALLOW_THREADS
;
6014 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxClientDC_p");
6015 _resultobj
= Py_BuildValue("s",_ptemp
);
6018 _resultobj
= Py_None
;
6023 static void *SwigwxPaintDCTowxDC(void *ptr
) {
6026 src
= (wxPaintDC
*) ptr
;
6027 dest
= (wxDC
*) src
;
6028 return (void *) dest
;
6031 #define new_wxPaintDC(_swigarg0) (new wxPaintDC(_swigarg0))
6032 static PyObject
*_wrap_new_wxPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6033 PyObject
* _resultobj
;
6034 wxPaintDC
* _result
;
6036 PyObject
* _argo0
= 0;
6037 char *_kwnames
[] = { "win", NULL
};
6041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPaintDC",_kwnames
,&_argo0
))
6044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPaintDC. Expected _wxWindow_p.");
6051 wxPy_BEGIN_ALLOW_THREADS
;
6052 _result
= (wxPaintDC
*)new_wxPaintDC(_arg0
);
6054 wxPy_END_ALLOW_THREADS
;
6056 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPaintDC_p");
6057 _resultobj
= Py_BuildValue("s",_ptemp
);
6060 _resultobj
= Py_None
;
6065 static void *SwigwxWindowDCTowxDC(void *ptr
) {
6068 src
= (wxWindowDC
*) ptr
;
6069 dest
= (wxDC
*) src
;
6070 return (void *) dest
;
6073 #define new_wxWindowDC(_swigarg0) (new wxWindowDC(_swigarg0))
6074 static PyObject
*_wrap_new_wxWindowDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6075 PyObject
* _resultobj
;
6076 wxWindowDC
* _result
;
6078 PyObject
* _argo0
= 0;
6079 char *_kwnames
[] = { "win", NULL
};
6083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxWindowDC",_kwnames
,&_argo0
))
6086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDC. Expected _wxWindow_p.");
6093 wxPy_BEGIN_ALLOW_THREADS
;
6094 _result
= (wxWindowDC
*)new_wxWindowDC(_arg0
);
6096 wxPy_END_ALLOW_THREADS
;
6098 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDC_p");
6099 _resultobj
= Py_BuildValue("s",_ptemp
);
6102 _resultobj
= Py_None
;
6107 static void *SwigwxPostScriptDCTowxDC(void *ptr
) {
6108 wxPostScriptDC
*src
;
6110 src
= (wxPostScriptDC
*) ptr
;
6111 dest
= (wxDC
*) src
;
6112 return (void *) dest
;
6115 #define new_wxPostScriptDC(_swigarg0,_swigarg1,_swigarg2) (new wxPostScriptDC(_swigarg0,_swigarg1,_swigarg2))
6116 static PyObject
*_wrap_new_wxPostScriptDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6117 PyObject
* _resultobj
;
6118 wxPostScriptDC
* _result
;
6120 bool _arg1
= (bool ) TRUE
;
6121 wxWindow
* _arg2
= (wxWindow
*) NULL
;
6122 PyObject
* _obj0
= 0;
6123 int tempbool1
= (int) TRUE
;
6124 PyObject
* _argo2
= 0;
6125 char *_kwnames
[] = { "output","interactive","win", NULL
};
6129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:new_wxPostScriptDC",_kwnames
,&_obj0
,&tempbool1
,&_argo2
))
6132 if (!PyString_Check(_obj0
)) {
6133 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6136 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
6138 _arg1
= (bool ) tempbool1
;
6140 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6141 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
6142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxPostScriptDC. Expected _wxWindow_p.");
6147 wxPy_BEGIN_ALLOW_THREADS
;
6148 _result
= (wxPostScriptDC
*)new_wxPostScriptDC(*_arg0
,_arg1
,_arg2
);
6150 wxPy_END_ALLOW_THREADS
;
6152 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPostScriptDC_p");
6153 _resultobj
= Py_BuildValue("s",_ptemp
);
6156 _resultobj
= Py_None
;
6165 #define new_wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6166 static PyObject
*_wrap_new_wxPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6167 PyObject
* _resultobj
;
6168 wxPalette
* _result
;
6173 PyObject
* _obj1
= 0;
6174 PyObject
* _obj2
= 0;
6175 PyObject
* _obj3
= 0;
6176 char *_kwnames
[] = { "LIST","LIST","LIST", NULL
};
6180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:new_wxPalette",_kwnames
,&_obj1
,&_obj2
,&_obj3
))
6183 _arg1
= byte_LIST_helper(_obj1
);
6184 if (_arg1
== NULL
) {
6189 _arg2
= byte_LIST_helper(_obj2
);
6190 if (_arg2
== NULL
) {
6196 _arg3
= byte_LIST_helper(_obj3
);
6197 if (_arg3
== NULL
) {
6203 _arg0
= PyList_Size(_obj1
);
6210 wxPy_BEGIN_ALLOW_THREADS
;
6211 _result
= (wxPalette
*)new_wxPalette(_arg0
,_arg1
,_arg2
,_arg3
);
6213 wxPy_END_ALLOW_THREADS
;
6215 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
6216 _resultobj
= Py_BuildValue("s",_ptemp
);
6219 _resultobj
= Py_None
;
6233 #define delete_wxPalette(_swigobj) (delete _swigobj)
6234 static PyObject
*_wrap_delete_wxPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6235 PyObject
* _resultobj
;
6237 PyObject
* _argo0
= 0;
6238 char *_kwnames
[] = { "self", NULL
};
6241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPalette",_kwnames
,&_argo0
))
6244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
6246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPalette. Expected _wxPalette_p.");
6251 wxPy_BEGIN_ALLOW_THREADS
;
6252 delete_wxPalette(_arg0
);
6254 wxPy_END_ALLOW_THREADS
;
6255 } Py_INCREF(Py_None
);
6256 _resultobj
= Py_None
;
6260 #define wxPalette_GetPixel(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetPixel(_swigarg0,_swigarg1,_swigarg2))
6261 static PyObject
*_wrap_wxPalette_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6262 PyObject
* _resultobj
;
6268 PyObject
* _argo0
= 0;
6269 char *_kwnames
[] = { "self","red","green","blue", NULL
};
6272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Obbb:wxPalette_GetPixel",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
6275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
6277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetPixel. Expected _wxPalette_p.");
6282 wxPy_BEGIN_ALLOW_THREADS
;
6283 _result
= (int )wxPalette_GetPixel(_arg0
,_arg1
,_arg2
,_arg3
);
6285 wxPy_END_ALLOW_THREADS
;
6286 } _resultobj
= Py_BuildValue("i",_result
);
6290 #define wxPalette_GetRGB(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetRGB(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6291 static PyObject
*_wrap_wxPalette_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6292 PyObject
* _resultobj
;
6299 PyObject
* _argo0
= 0;
6300 PyObject
* _argo2
= 0;
6301 PyObject
* _argo3
= 0;
6302 PyObject
* _argo4
= 0;
6303 char *_kwnames
[] = { "self","pixel","OUTPUT","OUTPUT","OUTPUT", NULL
};
6306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOOO:wxPalette_GetRGB",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_argo4
))
6309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
6311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetRGB. Expected _wxPalette_p.");
6316 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6317 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_byte_p")) {
6318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPalette_GetRGB. Expected _byte_p.");
6323 if (_argo3
== Py_None
) { _arg3
= NULL
; }
6324 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_byte_p")) {
6325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxPalette_GetRGB. Expected _byte_p.");
6330 if (_argo4
== Py_None
) { _arg4
= NULL
; }
6331 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_byte_p")) {
6332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxPalette_GetRGB. Expected _byte_p.");
6337 wxPy_BEGIN_ALLOW_THREADS
;
6338 _result
= (bool )wxPalette_GetRGB(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6340 wxPy_END_ALLOW_THREADS
;
6341 } _resultobj
= Py_BuildValue("i",_result
);
6345 #define wxPalette_Ok(_swigobj) (_swigobj->Ok())
6346 static PyObject
*_wrap_wxPalette_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6347 PyObject
* _resultobj
;
6350 PyObject
* _argo0
= 0;
6351 char *_kwnames
[] = { "self", NULL
};
6354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPalette_Ok",_kwnames
,&_argo0
))
6357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
6359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_Ok. Expected _wxPalette_p.");
6364 wxPy_BEGIN_ALLOW_THREADS
;
6365 _result
= (bool )wxPalette_Ok(_arg0
);
6367 wxPy_END_ALLOW_THREADS
;
6368 } _resultobj
= Py_BuildValue("i",_result
);
6372 #define new_wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6373 static PyObject
*_wrap_new_wxImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6374 PyObject
* _resultobj
;
6375 wxImageList
* _result
;
6378 int _arg2
= (int ) TRUE
;
6379 int _arg3
= (int ) 1;
6380 char *_kwnames
[] = { "width","height","mask","initialCount", NULL
};
6384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ii|ii:new_wxImageList",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
6387 wxPy_BEGIN_ALLOW_THREADS
;
6388 _result
= (wxImageList
*)new_wxImageList(_arg0
,_arg1
,_arg2
,_arg3
);
6390 wxPy_END_ALLOW_THREADS
;
6392 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
6393 _resultobj
= Py_BuildValue("s",_ptemp
);
6396 _resultobj
= Py_None
;
6401 #define delete_wxImageList(_swigobj) (delete _swigobj)
6402 static PyObject
*_wrap_delete_wxImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6403 PyObject
* _resultobj
;
6404 wxImageList
* _arg0
;
6405 PyObject
* _argo0
= 0;
6406 char *_kwnames
[] = { "self", NULL
};
6409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxImageList",_kwnames
,&_argo0
))
6412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxImageList. Expected _wxImageList_p.");
6419 wxPy_BEGIN_ALLOW_THREADS
;
6420 delete_wxImageList(_arg0
);
6422 wxPy_END_ALLOW_THREADS
;
6423 } Py_INCREF(Py_None
);
6424 _resultobj
= Py_None
;
6428 #define wxImageList_Add(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
6429 static PyObject
*_wrap_wxImageList_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6430 PyObject
* _resultobj
;
6432 wxImageList
* _arg0
;
6434 PyObject
* _argo0
= 0;
6435 PyObject
* _argo1
= 0;
6436 char *_kwnames
[] = { "self","bitmap", NULL
};
6439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxImageList_Add",_kwnames
,&_argo0
,&_argo1
))
6442 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6443 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Add. Expected _wxImageList_p.");
6449 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6450 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
6451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_Add. Expected _wxBitmap_p.");
6456 wxPy_BEGIN_ALLOW_THREADS
;
6457 _result
= (int )wxImageList_Add(_arg0
,*_arg1
);
6459 wxPy_END_ALLOW_THREADS
;
6460 } _resultobj
= Py_BuildValue("i",_result
);
6464 #define wxImageList_Replace(_swigobj,_swigarg0,_swigarg1) (_swigobj->Replace(_swigarg0,_swigarg1))
6465 static PyObject
*_wrap_wxImageList_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6466 PyObject
* _resultobj
;
6468 wxImageList
* _arg0
;
6471 PyObject
* _argo0
= 0;
6472 PyObject
* _argo2
= 0;
6473 char *_kwnames
[] = { "self","index","bitmap", NULL
};
6476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxImageList_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
6479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Replace. Expected _wxImageList_p.");
6486 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6487 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
6488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Replace. Expected _wxBitmap_p.");
6493 wxPy_BEGIN_ALLOW_THREADS
;
6494 _result
= (bool )wxImageList_Replace(_arg0
,_arg1
,*_arg2
);
6496 wxPy_END_ALLOW_THREADS
;
6497 } _resultobj
= Py_BuildValue("i",_result
);
6501 #define wxImageList_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6502 static PyObject
*_wrap_wxImageList_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6503 PyObject
* _resultobj
;
6505 wxImageList
* _arg0
;
6510 int _arg5
= (int ) (wxIMAGELIST_DRAW_NORMAL
);
6511 bool _arg6
= (bool ) FALSE
;
6512 PyObject
* _argo0
= 0;
6513 PyObject
* _argo2
= 0;
6514 int tempbool6
= (int) FALSE
;
6515 char *_kwnames
[] = { "self","index","dc","x","x","flags","solidBackground", NULL
};
6518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOii|ii:wxImageList_Draw",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
6521 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6522 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Draw. Expected _wxImageList_p.");
6528 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6529 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDC_p")) {
6530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Draw. Expected _wxDC_p.");
6534 _arg6
= (bool ) tempbool6
;
6536 wxPy_BEGIN_ALLOW_THREADS
;
6537 _result
= (bool )wxImageList_Draw(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
6539 wxPy_END_ALLOW_THREADS
;
6540 } _resultobj
= Py_BuildValue("i",_result
);
6544 #define wxImageList_GetImageCount(_swigobj) (_swigobj->GetImageCount())
6545 static PyObject
*_wrap_wxImageList_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6546 PyObject
* _resultobj
;
6548 wxImageList
* _arg0
;
6549 PyObject
* _argo0
= 0;
6550 char *_kwnames
[] = { "self", NULL
};
6553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImageList_GetImageCount",_kwnames
,&_argo0
))
6556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_GetImageCount. Expected _wxImageList_p.");
6563 wxPy_BEGIN_ALLOW_THREADS
;
6564 _result
= (int )wxImageList_GetImageCount(_arg0
);
6566 wxPy_END_ALLOW_THREADS
;
6567 } _resultobj
= Py_BuildValue("i",_result
);
6571 #define wxImageList_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
6572 static PyObject
*_wrap_wxImageList_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6573 PyObject
* _resultobj
;
6575 wxImageList
* _arg0
;
6577 PyObject
* _argo0
= 0;
6578 char *_kwnames
[] = { "self","index", NULL
};
6581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxImageList_Remove",_kwnames
,&_argo0
,&_arg1
))
6584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Remove. Expected _wxImageList_p.");
6591 wxPy_BEGIN_ALLOW_THREADS
;
6592 _result
= (bool )wxImageList_Remove(_arg0
,_arg1
);
6594 wxPy_END_ALLOW_THREADS
;
6595 } _resultobj
= Py_BuildValue("i",_result
);
6599 #define wxImageList_RemoveAll(_swigobj) (_swigobj->RemoveAll())
6600 static PyObject
*_wrap_wxImageList_RemoveAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6601 PyObject
* _resultobj
;
6603 wxImageList
* _arg0
;
6604 PyObject
* _argo0
= 0;
6605 char *_kwnames
[] = { "self", NULL
};
6608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImageList_RemoveAll",_kwnames
,&_argo0
))
6611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
6613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_RemoveAll. Expected _wxImageList_p.");
6618 wxPy_BEGIN_ALLOW_THREADS
;
6619 _result
= (bool )wxImageList_RemoveAll(_arg0
);
6621 wxPy_END_ALLOW_THREADS
;
6622 } _resultobj
= Py_BuildValue("i",_result
);
6626 static PyMethodDef gdicMethods
[] = {
6627 { "wxImageList_RemoveAll", (PyCFunction
) _wrap_wxImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
},
6628 { "wxImageList_Remove", (PyCFunction
) _wrap_wxImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
},
6629 { "wxImageList_GetImageCount", (PyCFunction
) _wrap_wxImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
6630 { "wxImageList_Draw", (PyCFunction
) _wrap_wxImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
},
6631 { "wxImageList_Replace", (PyCFunction
) _wrap_wxImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
},
6632 { "wxImageList_Add", (PyCFunction
) _wrap_wxImageList_Add
, METH_VARARGS
| METH_KEYWORDS
},
6633 { "delete_wxImageList", (PyCFunction
) _wrap_delete_wxImageList
, METH_VARARGS
| METH_KEYWORDS
},
6634 { "new_wxImageList", (PyCFunction
) _wrap_new_wxImageList
, METH_VARARGS
| METH_KEYWORDS
},
6635 { "wxPalette_Ok", (PyCFunction
) _wrap_wxPalette_Ok
, METH_VARARGS
| METH_KEYWORDS
},
6636 { "wxPalette_GetRGB", (PyCFunction
) _wrap_wxPalette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
6637 { "wxPalette_GetPixel", (PyCFunction
) _wrap_wxPalette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
6638 { "delete_wxPalette", (PyCFunction
) _wrap_delete_wxPalette
, METH_VARARGS
| METH_KEYWORDS
},
6639 { "new_wxPalette", (PyCFunction
) _wrap_new_wxPalette
, METH_VARARGS
| METH_KEYWORDS
},
6640 { "new_wxPostScriptDC", (PyCFunction
) _wrap_new_wxPostScriptDC
, METH_VARARGS
| METH_KEYWORDS
},
6641 { "new_wxWindowDC", (PyCFunction
) _wrap_new_wxWindowDC
, METH_VARARGS
| METH_KEYWORDS
},
6642 { "new_wxPaintDC", (PyCFunction
) _wrap_new_wxPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
6643 { "new_wxClientDC", (PyCFunction
) _wrap_new_wxClientDC
, METH_VARARGS
| METH_KEYWORDS
},
6644 { "wxScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_wxScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
6645 { "wxScreenDC_StartDrawingOnTopRect", (PyCFunction
) _wrap_wxScreenDC_StartDrawingOnTopRect
, METH_VARARGS
| METH_KEYWORDS
},
6646 { "wxScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_wxScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
6647 { "new_wxScreenDC", (PyCFunction
) _wrap_new_wxScreenDC
, METH_VARARGS
| METH_KEYWORDS
},
6648 { "wxMemoryDC_SelectObject", (PyCFunction
) _wrap_wxMemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
},
6649 { "new_wxMemoryDC", (PyCFunction
) _wrap_new_wxMemoryDC
, METH_VARARGS
| METH_KEYWORDS
},
6650 { "wxDC_DrawBitmap", (PyCFunction
) _wrap_wxDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
6651 { "wxDC_StartPage", (PyCFunction
) _wrap_wxDC_StartPage
, METH_VARARGS
| METH_KEYWORDS
},
6652 { "wxDC_StartDoc", (PyCFunction
) _wrap_wxDC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
},
6653 { "wxDC_SetUserScale", (PyCFunction
) _wrap_wxDC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
6654 { "wxDC_SetTextForeground", (PyCFunction
) _wrap_wxDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
6655 { "wxDC_SetTextBackground", (PyCFunction
) _wrap_wxDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
6656 { "wxDC_SetPen", (PyCFunction
) _wrap_wxDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
6657 { "wxDC_SetOptimization", (PyCFunction
) _wrap_wxDC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
6658 { "wxDC_SetMapMode", (PyCFunction
) _wrap_wxDC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
6659 { "wxDC_SetLogicalFunction", (PyCFunction
) _wrap_wxDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
6660 { "wxDC_SetFont", (PyCFunction
) _wrap_wxDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
6661 { "wxDC_SetBrush", (PyCFunction
) _wrap_wxDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
6662 { "wxDC_SetPalette", (PyCFunction
) _wrap_wxDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
6663 { "wxDC_SetClippingRegion", (PyCFunction
) _wrap_wxDC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
6664 { "wxDC_SetBackgroundMode", (PyCFunction
) _wrap_wxDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
6665 { "wxDC_SetBackground", (PyCFunction
) _wrap_wxDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
},
6666 { "wxDC_SetDeviceOrigin", (PyCFunction
) _wrap_wxDC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
6667 { "wxDC_Ok", (PyCFunction
) _wrap_wxDC_Ok
, METH_VARARGS
| METH_KEYWORDS
},
6668 { "wxDC_MinY", (PyCFunction
) _wrap_wxDC_MinY
, METH_VARARGS
| METH_KEYWORDS
},
6669 { "wxDC_MinX", (PyCFunction
) _wrap_wxDC_MinX
, METH_VARARGS
| METH_KEYWORDS
},
6670 { "wxDC_MaxY", (PyCFunction
) _wrap_wxDC_MaxY
, METH_VARARGS
| METH_KEYWORDS
},
6671 { "wxDC_MaxX", (PyCFunction
) _wrap_wxDC_MaxX
, METH_VARARGS
| METH_KEYWORDS
},
6672 { "wxDC_LogicalToDeviceYRel", (PyCFunction
) _wrap_wxDC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
},
6673 { "wxDC_LogicalToDeviceY", (PyCFunction
) _wrap_wxDC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
},
6674 { "wxDC_LogicalToDeviceXRel", (PyCFunction
) _wrap_wxDC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
},
6675 { "wxDC_LogicalToDeviceX", (PyCFunction
) _wrap_wxDC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
},
6676 { "wxDC_GetTextForeground", (PyCFunction
) _wrap_wxDC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
6677 { "wxDC_GetFullTextExtent", (PyCFunction
) _wrap_wxDC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
6678 { "wxDC_GetTextExtent", (PyCFunction
) _wrap_wxDC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
6679 { "wxDC_GetTextBackground", (PyCFunction
) _wrap_wxDC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
6680 { "wxDC_GetSize", (PyCFunction
) _wrap_wxDC_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
6681 { "wxDC_GetSizeTuple", (PyCFunction
) _wrap_wxDC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
6682 { "wxDC_GetPixel", (PyCFunction
) _wrap_wxDC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
6683 { "wxDC_GetPen", (PyCFunction
) _wrap_wxDC_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
6684 { "wxDC_GetOptimization", (PyCFunction
) _wrap_wxDC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
6685 { "wxDC_GetMapMode", (PyCFunction
) _wrap_wxDC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
6686 { "wxDC_GetLogicalFunction", (PyCFunction
) _wrap_wxDC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
6687 { "wxDC_GetFont", (PyCFunction
) _wrap_wxDC_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
6688 { "wxDC_GetClippingBox", (PyCFunction
) _wrap_wxDC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
},
6689 { "wxDC_GetCharWidth", (PyCFunction
) _wrap_wxDC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
6690 { "wxDC_GetCharHeight", (PyCFunction
) _wrap_wxDC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
6691 { "wxDC_GetBrush", (PyCFunction
) _wrap_wxDC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
6692 { "wxDC_GetBackground", (PyCFunction
) _wrap_wxDC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
},
6693 { "wxDC_FloodFill", (PyCFunction
) _wrap_wxDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
},
6694 { "wxDC_EndPage", (PyCFunction
) _wrap_wxDC_EndPage
, METH_VARARGS
| METH_KEYWORDS
},
6695 { "wxDC_EndDrawing", (PyCFunction
) _wrap_wxDC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
},
6696 { "wxDC_EndDoc", (PyCFunction
) _wrap_wxDC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
},
6697 { "wxDC_DrawText", (PyCFunction
) _wrap_wxDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
6698 { "wxDC_DrawSpline", (PyCFunction
) _wrap_wxDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
6699 { "wxDC_DrawRoundedRectangle", (PyCFunction
) _wrap_wxDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
6700 { "wxDC_DrawRotatedText", (PyCFunction
) _wrap_wxDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
},
6701 { "wxDC_DrawRectangle", (PyCFunction
) _wrap_wxDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
6702 { "wxDC_DrawPoint", (PyCFunction
) _wrap_wxDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
6703 { "wxDC_DrawPolygon", (PyCFunction
) _wrap_wxDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
6704 { "wxDC_DrawLines", (PyCFunction
) _wrap_wxDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
6705 { "wxDC_DrawLine", (PyCFunction
) _wrap_wxDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
6706 { "wxDC_DrawIcon", (PyCFunction
) _wrap_wxDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
},
6707 { "wxDC_DrawEllipticArc", (PyCFunction
) _wrap_wxDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
6708 { "wxDC_DrawEllipse", (PyCFunction
) _wrap_wxDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
6709 { "wxDC_DrawCircle", (PyCFunction
) _wrap_wxDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
},
6710 { "wxDC_DrawArc", (PyCFunction
) _wrap_wxDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
6711 { "wxDC_DeviceToLogicalYRel", (PyCFunction
) _wrap_wxDC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
},
6712 { "wxDC_DeviceToLogicalY", (PyCFunction
) _wrap_wxDC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
},
6713 { "wxDC_DeviceToLogicalXRel", (PyCFunction
) _wrap_wxDC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
},
6714 { "wxDC_DeviceToLogicalX", (PyCFunction
) _wrap_wxDC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
},
6715 { "wxDC_DestroyClippingRegion", (PyCFunction
) _wrap_wxDC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
6716 { "wxDC_CrossHair", (PyCFunction
) _wrap_wxDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
},
6717 { "wxDC_Clear", (PyCFunction
) _wrap_wxDC_Clear
, METH_VARARGS
| METH_KEYWORDS
},
6718 { "wxDC_Blit", (PyCFunction
) _wrap_wxDC_Blit
, METH_VARARGS
| METH_KEYWORDS
},
6719 { "wxDC_BeginDrawing", (PyCFunction
) _wrap_wxDC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
},
6720 { "delete_wxDC", (PyCFunction
) _wrap_delete_wxDC
, METH_VARARGS
| METH_KEYWORDS
},
6721 { "wxBrush_SetStyle", (PyCFunction
) _wrap_wxBrush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
6722 { "wxBrush_SetStipple", (PyCFunction
) _wrap_wxBrush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
6723 { "wxBrush_SetColour", (PyCFunction
) _wrap_wxBrush_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
6724 { "wxBrush_Ok", (PyCFunction
) _wrap_wxBrush_Ok
, METH_VARARGS
| METH_KEYWORDS
},
6725 { "wxBrush_GetStyle", (PyCFunction
) _wrap_wxBrush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
6726 { "wxBrush_GetStipple", (PyCFunction
) _wrap_wxBrush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
6727 { "wxBrush_GetColour", (PyCFunction
) _wrap_wxBrush_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
6728 { "new_wxBrush", (PyCFunction
) _wrap_new_wxBrush
, METH_VARARGS
| METH_KEYWORDS
},
6729 { "wxPen_SetDashes", (PyCFunction
) _wrap_wxPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
6730 { "wxPen_GetDashes", (PyCFunction
) _wrap_wxPen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
},
6731 { "wxPen_SetWidth", (PyCFunction
) _wrap_wxPen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
6732 { "wxPen_SetStyle", (PyCFunction
) _wrap_wxPen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
6733 { "wxPen_SetJoin", (PyCFunction
) _wrap_wxPen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
},
6734 { "wxPen_SetColour", (PyCFunction
) _wrap_wxPen_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
6735 { "wxPen_SetCap", (PyCFunction
) _wrap_wxPen_SetCap
, METH_VARARGS
| METH_KEYWORDS
},
6736 { "wxPen_Ok", (PyCFunction
) _wrap_wxPen_Ok
, METH_VARARGS
| METH_KEYWORDS
},
6737 { "wxPen_GetWidth", (PyCFunction
) _wrap_wxPen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
6738 { "wxPen_GetStyle", (PyCFunction
) _wrap_wxPen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
6739 { "wxPen_GetJoin", (PyCFunction
) _wrap_wxPen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
},
6740 { "wxPen_GetColour", (PyCFunction
) _wrap_wxPen_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
6741 { "wxPen_GetCap", (PyCFunction
) _wrap_wxPen_GetCap
, METH_VARARGS
| METH_KEYWORDS
},
6742 { "new_wxPen", (PyCFunction
) _wrap_new_wxPen
, METH_VARARGS
| METH_KEYWORDS
},
6743 { "wxColour_Get", (PyCFunction
) _wrap_wxColour_Get
, METH_VARARGS
| METH_KEYWORDS
},
6744 { "wxColour_Set", (PyCFunction
) _wrap_wxColour_Set
, METH_VARARGS
| METH_KEYWORDS
},
6745 { "wxColour_Ok", (PyCFunction
) _wrap_wxColour_Ok
, METH_VARARGS
| METH_KEYWORDS
},
6746 { "wxColour_Blue", (PyCFunction
) _wrap_wxColour_Blue
, METH_VARARGS
| METH_KEYWORDS
},
6747 { "wxColour_Green", (PyCFunction
) _wrap_wxColour_Green
, METH_VARARGS
| METH_KEYWORDS
},
6748 { "wxColour_Red", (PyCFunction
) _wrap_wxColour_Red
, METH_VARARGS
| METH_KEYWORDS
},
6749 { "delete_wxColour", (PyCFunction
) _wrap_delete_wxColour
, METH_VARARGS
| METH_KEYWORDS
},
6750 { "new_wxColour", (PyCFunction
) _wrap_new_wxColour
, METH_VARARGS
| METH_KEYWORDS
},
6751 { "wxFont_GetWeightString", (PyCFunction
) _wrap_wxFont_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
},
6752 { "wxFont_GetStyleString", (PyCFunction
) _wrap_wxFont_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
},
6753 { "wxFont_GetFamilyString", (PyCFunction
) _wrap_wxFont_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
},
6754 { "wxFont_SetEncoding", (PyCFunction
) _wrap_wxFont_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
6755 { "wxFont_SetWeight", (PyCFunction
) _wrap_wxFont_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
6756 { "wxFont_SetUnderlined", (PyCFunction
) _wrap_wxFont_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
6757 { "wxFont_SetStyle", (PyCFunction
) _wrap_wxFont_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
6758 { "wxFont_SetPointSize", (PyCFunction
) _wrap_wxFont_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
6759 { "wxFont_SetFamily", (PyCFunction
) _wrap_wxFont_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
6760 { "wxFont_SetFaceName", (PyCFunction
) _wrap_wxFont_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
6761 { "wxFont_GetEncoding", (PyCFunction
) _wrap_wxFont_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
6762 { "wxFont_GetWeight", (PyCFunction
) _wrap_wxFont_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
6763 { "wxFont_GetUnderlined", (PyCFunction
) _wrap_wxFont_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
6764 { "wxFont_GetStyle", (PyCFunction
) _wrap_wxFont_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
6765 { "wxFont_GetPointSize", (PyCFunction
) _wrap_wxFont_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
6766 { "wxFont_GetFamily", (PyCFunction
) _wrap_wxFont_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
6767 { "wxFont_GetFaceName", (PyCFunction
) _wrap_wxFont_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
6768 { "wxFont_Ok", (PyCFunction
) _wrap_wxFont_Ok
, METH_VARARGS
| METH_KEYWORDS
},
6769 { "new_wxFont", (PyCFunction
) _wrap_new_wxFont
, METH_VARARGS
| METH_KEYWORDS
},
6770 { "wxCursor_Ok", (PyCFunction
) _wrap_wxCursor_Ok
, METH_VARARGS
| METH_KEYWORDS
},
6771 { "delete_wxCursor", (PyCFunction
) _wrap_delete_wxCursor
, METH_VARARGS
| METH_KEYWORDS
},
6772 { "wxIcon_SetDepth", (PyCFunction
) _wrap_wxIcon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
6773 { "wxIcon_SetHeight", (PyCFunction
) _wrap_wxIcon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
6774 { "wxIcon_SetWidth", (PyCFunction
) _wrap_wxIcon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
6775 { "wxIcon_GetDepth", (PyCFunction
) _wrap_wxIcon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
6776 { "wxIcon_GetHeight", (PyCFunction
) _wrap_wxIcon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
6777 { "wxIcon_GetWidth", (PyCFunction
) _wrap_wxIcon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
6778 { "wxIcon_Ok", (PyCFunction
) _wrap_wxIcon_Ok
, METH_VARARGS
| METH_KEYWORDS
},
6779 { "wxIcon_LoadFile", (PyCFunction
) _wrap_wxIcon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
6780 { "delete_wxIcon", (PyCFunction
) _wrap_delete_wxIcon
, METH_VARARGS
| METH_KEYWORDS
},
6781 { "new_wxIcon", (PyCFunction
) _wrap_new_wxIcon
, METH_VARARGS
| METH_KEYWORDS
},
6782 { "new_wxMask", (PyCFunction
) _wrap_new_wxMask
, METH_VARARGS
| METH_KEYWORDS
},
6783 { "wxBitmap_SetDepth", (PyCFunction
) _wrap_wxBitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
6784 { "wxBitmap_SetHeight", (PyCFunction
) _wrap_wxBitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
6785 { "wxBitmap_SetWidth", (PyCFunction
) _wrap_wxBitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
6786 { "wxBitmap_GetDepth", (PyCFunction
) _wrap_wxBitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
6787 { "wxBitmap_GetHeight", (PyCFunction
) _wrap_wxBitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
6788 { "wxBitmap_GetWidth", (PyCFunction
) _wrap_wxBitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
6789 { "wxBitmap_Ok", (PyCFunction
) _wrap_wxBitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
},
6790 { "wxBitmap_SetMask", (PyCFunction
) _wrap_wxBitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
6791 { "wxBitmap_SaveFile", (PyCFunction
) _wrap_wxBitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
6792 { "wxBitmap_LoadFile", (PyCFunction
) _wrap_wxBitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
6793 { "wxBitmap_GetMask", (PyCFunction
) _wrap_wxBitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
6794 { "wxBitmap_GetPalette", (PyCFunction
) _wrap_wxBitmap_GetPalette
, METH_VARARGS
| METH_KEYWORDS
},
6795 { "delete_wxBitmap", (PyCFunction
) _wrap_delete_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
6796 { "new_wxBitmap", (PyCFunction
) _wrap_new_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
6797 { "wxMemoryDCFromDC", (PyCFunction
) _wrap_wxMemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
},
6798 { "wxNamedColour", (PyCFunction
) _wrap_wxNamedColour
, METH_VARARGS
| METH_KEYWORDS
},
6799 { "wxFont_SetDefaultEncoding", (PyCFunction
) _wrap_wxFont_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
6800 { "wxFont_GetDefaultEncoding", (PyCFunction
) _wrap_wxFont_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
6801 { "wxStockCursor", (PyCFunction
) _wrap_wxStockCursor
, METH_VARARGS
| METH_KEYWORDS
},
6802 { "wxMaskColour", (PyCFunction
) _wrap_wxMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
6803 { "wxEmptyBitmap", (PyCFunction
) _wrap_wxEmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
},
6810 * This table is used by the pointer type-checker
6812 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
6813 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
6814 { "_signed_long","_long",0},
6815 { "_wxPrintQuality","_wxCoord",0},
6816 { "_wxPrintQuality","_int",0},
6817 { "_wxPrintQuality","_signed_int",0},
6818 { "_wxPrintQuality","_unsigned_int",0},
6819 { "_wxPrintQuality","_wxWindowID",0},
6820 { "_wxPrintQuality","_uint",0},
6821 { "_wxPrintQuality","_EBool",0},
6822 { "_wxPrintQuality","_size_t",0},
6823 { "_class_wxRegionIterator","_wxRegionIterator",0},
6824 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
6825 { "_wxCursor","_class_wxCursor",0},
6826 { "_wxMask","_class_wxMask",0},
6827 { "_wxPen","_class_wxPen",0},
6828 { "_byte","_unsigned_char",0},
6829 { "_long","_unsigned_long",0},
6830 { "_long","_signed_long",0},
6831 { "_wxImageList","_class_wxImageList",0},
6832 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
6833 { "_wxDC","_class_wxPostScriptDC",SwigwxPostScriptDCTowxDC
},
6834 { "_wxDC","_wxPostScriptDC",SwigwxPostScriptDCTowxDC
},
6835 { "_wxDC","_class_wxWindowDC",SwigwxWindowDCTowxDC
},
6836 { "_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC
},
6837 { "_wxDC","_class_wxPaintDC",SwigwxPaintDCTowxDC
},
6838 { "_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
},
6839 { "_wxDC","_class_wxClientDC",SwigwxClientDCTowxDC
},
6840 { "_wxDC","_wxClientDC",SwigwxClientDCTowxDC
},
6841 { "_wxDC","_class_wxScreenDC",SwigwxScreenDCTowxDC
},
6842 { "_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
},
6843 { "_wxDC","_class_wxMemoryDC",SwigwxMemoryDCTowxDC
},
6844 { "_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
},
6845 { "_wxDC","_class_wxDC",0},
6846 { "_size_t","_wxCoord",0},
6847 { "_size_t","_wxPrintQuality",0},
6848 { "_size_t","_unsigned_int",0},
6849 { "_size_t","_int",0},
6850 { "_size_t","_wxWindowID",0},
6851 { "_size_t","_uint",0},
6852 { "_class_wxRealPoint","_wxRealPoint",0},
6853 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
6854 { "_class_wxMask","_wxMask",0},
6855 { "_wxColour","_class_wxColour",0},
6856 { "_wxBrush","_class_wxBrush",0},
6857 { "_uint","_wxCoord",0},
6858 { "_uint","_wxPrintQuality",0},
6859 { "_uint","_size_t",0},
6860 { "_uint","_unsigned_int",0},
6861 { "_uint","_int",0},
6862 { "_uint","_wxWindowID",0},
6863 { "_wxRect","_class_wxRect",0},
6864 { "_wxPoint","_class_wxPoint",0},
6865 { "_wxBitmap","_class_wxBitmap",0},
6866 { "_char","_wxDash",0},
6867 { "_wxPyTimer","_class_wxPyTimer",0},
6868 { "_wxWindowDC","_class_wxWindowDC",0},
6869 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
6870 { "_EBool","_wxCoord",0},
6871 { "_EBool","_wxPrintQuality",0},
6872 { "_EBool","_signed_int",0},
6873 { "_EBool","_int",0},
6874 { "_EBool","_wxWindowID",0},
6875 { "_class_wxRegion","_wxRegion",0},
6876 { "_wxFont","_class_wxFont",0},
6877 { "_unsigned_long","_long",0},
6878 { "_class_wxRect","_wxRect",0},
6879 { "_class_wxDC","_class_wxPostScriptDC",SwigwxPostScriptDCTowxDC
},
6880 { "_class_wxDC","_wxPostScriptDC",SwigwxPostScriptDCTowxDC
},
6881 { "_class_wxDC","_class_wxWindowDC",SwigwxWindowDCTowxDC
},
6882 { "_class_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC
},
6883 { "_class_wxDC","_class_wxPaintDC",SwigwxPaintDCTowxDC
},
6884 { "_class_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
},
6885 { "_class_wxDC","_class_wxClientDC",SwigwxClientDCTowxDC
},
6886 { "_class_wxDC","_wxClientDC",SwigwxClientDCTowxDC
},
6887 { "_class_wxDC","_class_wxScreenDC",SwigwxScreenDCTowxDC
},
6888 { "_class_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
},
6889 { "_class_wxDC","_class_wxMemoryDC",SwigwxMemoryDCTowxDC
},
6890 { "_class_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
},
6891 { "_class_wxDC","_wxDC",0},
6892 { "_class_wxPyTimer","_wxPyTimer",0},
6893 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
6894 { "_signed_int","_wxCoord",0},
6895 { "_signed_int","_wxPrintQuality",0},
6896 { "_signed_int","_EBool",0},
6897 { "_signed_int","_wxWindowID",0},
6898 { "_signed_int","_int",0},
6899 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
6900 { "_wxScreenDC","_class_wxScreenDC",0},
6901 { "_WXTYPE","_short",0},
6902 { "_WXTYPE","_signed_short",0},
6903 { "_WXTYPE","_unsigned_short",0},
6904 { "_class_wxBrush","_wxBrush",0},
6905 { "_unsigned_short","_WXTYPE",0},
6906 { "_unsigned_short","_short",0},
6907 { "_class_wxFont","_wxFont",0},
6908 { "_wxBusyInfo","_class_wxBusyInfo",0},
6909 { "_wxClientDC","_class_wxClientDC",0},
6910 { "_class_wxPoint","_wxPoint",0},
6911 { "_wxRealPoint","_class_wxRealPoint",0},
6912 { "_signed_short","_WXTYPE",0},
6913 { "_signed_short","_short",0},
6914 { "_wxMemoryDC","_class_wxMemoryDC",0},
6915 { "_wxPaintDC","_class_wxPaintDC",0},
6916 { "_class_wxWindowDC","_wxWindowDC",0},
6917 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
6918 { "_class_wxCursor","_wxCursor",0},
6919 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
6920 { "_unsigned_char","_byte",0},
6921 { "_unsigned_int","_wxCoord",0},
6922 { "_unsigned_int","_wxPrintQuality",0},
6923 { "_unsigned_int","_size_t",0},
6924 { "_unsigned_int","_uint",0},
6925 { "_unsigned_int","_wxWindowID",0},
6926 { "_unsigned_int","_int",0},
6927 { "_wxIcon","_class_wxIcon",0},
6928 { "_class_wxPen","_wxPen",0},
6929 { "_short","_WXTYPE",0},
6930 { "_short","_unsigned_short",0},
6931 { "_short","_signed_short",0},
6932 { "_class_wxImageList","_wxImageList",0},
6933 { "_wxWindowID","_wxCoord",0},
6934 { "_wxWindowID","_wxPrintQuality",0},
6935 { "_wxWindowID","_size_t",0},
6936 { "_wxWindowID","_EBool",0},
6937 { "_wxWindowID","_uint",0},
6938 { "_wxWindowID","_int",0},
6939 { "_wxWindowID","_signed_int",0},
6940 { "_wxWindowID","_unsigned_int",0},
6941 { "_int","_wxCoord",0},
6942 { "_int","_wxPrintQuality",0},
6943 { "_int","_size_t",0},
6944 { "_int","_EBool",0},
6945 { "_int","_uint",0},
6946 { "_int","_wxWindowID",0},
6947 { "_int","_unsigned_int",0},
6948 { "_int","_signed_int",0},
6949 { "_wxSize","_class_wxSize",0},
6950 { "_wxRegionIterator","_class_wxRegionIterator",0},
6951 { "_class_wxPaintDC","_wxPaintDC",0},
6952 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
6953 { "_class_wxIcon","_wxIcon",0},
6954 { "_class_wxColour","_wxColour",0},
6955 { "_class_wxScreenDC","_wxScreenDC",0},
6956 { "_wxPalette","_class_wxPalette",0},
6957 { "_wxCoord","_int",0},
6958 { "_wxCoord","_signed_int",0},
6959 { "_wxCoord","_unsigned_int",0},
6960 { "_wxCoord","_wxWindowID",0},
6961 { "_wxCoord","_uint",0},
6962 { "_wxCoord","_EBool",0},
6963 { "_wxCoord","_size_t",0},
6964 { "_wxCoord","_wxPrintQuality",0},
6965 { "_wxRegion","_class_wxRegion",0},
6966 { "_class_wxBusyInfo","_wxBusyInfo",0},
6967 { "_class_wxClientDC","_wxClientDC",0},
6968 { "_class_wxSize","_wxSize",0},
6969 { "_class_wxBitmap","_wxBitmap",0},
6970 { "_class_wxMemoryDC","_wxMemoryDC",0},
6971 { "_wxDash","_char",0},
6972 { "_class_wxPalette","_wxPalette",0},
6975 static PyObject
*SWIG_globals
;
6979 SWIGEXPORT(void) initgdic() {
6981 SWIG_globals
= SWIG_newvarlink();
6982 m
= Py_InitModule("gdic", gdicMethods
);
6983 d
= PyModule_GetDict(m
);
6984 PyDict_SetItemString(d
,"wxFONTENCODING_SYSTEM", PyInt_FromLong((long) wxFONTENCODING_SYSTEM
));
6985 PyDict_SetItemString(d
,"wxFONTENCODING_DEFAULT", PyInt_FromLong((long) wxFONTENCODING_DEFAULT
));
6986 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_1", PyInt_FromLong((long) wxFONTENCODING_ISO8859_1
));
6987 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_2", PyInt_FromLong((long) wxFONTENCODING_ISO8859_2
));
6988 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_3", PyInt_FromLong((long) wxFONTENCODING_ISO8859_3
));
6989 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_4", PyInt_FromLong((long) wxFONTENCODING_ISO8859_4
));
6990 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_5", PyInt_FromLong((long) wxFONTENCODING_ISO8859_5
));
6991 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_6", PyInt_FromLong((long) wxFONTENCODING_ISO8859_6
));
6992 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_7", PyInt_FromLong((long) wxFONTENCODING_ISO8859_7
));
6993 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_8", PyInt_FromLong((long) wxFONTENCODING_ISO8859_8
));
6994 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_9", PyInt_FromLong((long) wxFONTENCODING_ISO8859_9
));
6995 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_10", PyInt_FromLong((long) wxFONTENCODING_ISO8859_10
));
6996 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_11", PyInt_FromLong((long) wxFONTENCODING_ISO8859_11
));
6997 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_12", PyInt_FromLong((long) wxFONTENCODING_ISO8859_12
));
6998 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_13", PyInt_FromLong((long) wxFONTENCODING_ISO8859_13
));
6999 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_14", PyInt_FromLong((long) wxFONTENCODING_ISO8859_14
));
7000 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_15", PyInt_FromLong((long) wxFONTENCODING_ISO8859_15
));
7001 PyDict_SetItemString(d
,"wxFONTENCODING_KOI8", PyInt_FromLong((long) wxFONTENCODING_KOI8
));
7002 PyDict_SetItemString(d
,"wxFONTENCODING_ALTERNATIVE", PyInt_FromLong((long) wxFONTENCODING_ALTERNATIVE
));
7003 PyDict_SetItemString(d
,"wxFONTENCODING_BULGARIAN", PyInt_FromLong((long) wxFONTENCODING_BULGARIAN
));
7004 PyDict_SetItemString(d
,"wxFONTENCODING_CP437", PyInt_FromLong((long) wxFONTENCODING_CP437
));
7005 PyDict_SetItemString(d
,"wxFONTENCODING_CP850", PyInt_FromLong((long) wxFONTENCODING_CP850
));
7006 PyDict_SetItemString(d
,"wxFONTENCODING_CP852", PyInt_FromLong((long) wxFONTENCODING_CP852
));
7007 PyDict_SetItemString(d
,"wxFONTENCODING_CP855", PyInt_FromLong((long) wxFONTENCODING_CP855
));
7008 PyDict_SetItemString(d
,"wxFONTENCODING_CP866", PyInt_FromLong((long) wxFONTENCODING_CP866
));
7009 PyDict_SetItemString(d
,"wxFONTENCODING_CP1250", PyInt_FromLong((long) wxFONTENCODING_CP1250
));
7010 PyDict_SetItemString(d
,"wxFONTENCODING_CP1251", PyInt_FromLong((long) wxFONTENCODING_CP1251
));
7011 PyDict_SetItemString(d
,"wxFONTENCODING_CP1252", PyInt_FromLong((long) wxFONTENCODING_CP1252
));
7012 PyDict_SetItemString(d
,"wxFONTENCODING_MAX", PyInt_FromLong((long) wxFONTENCODING_MAX
));
7013 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
7014 SWIG_addvarlink(SWIG_globals
,"wxNORMAL_FONT",_wrap_wxNORMAL_FONT_get
, _wrap_wxNORMAL_FONT_set
);
7015 SWIG_addvarlink(SWIG_globals
,"wxSMALL_FONT",_wrap_wxSMALL_FONT_get
, _wrap_wxSMALL_FONT_set
);
7016 SWIG_addvarlink(SWIG_globals
,"wxITALIC_FONT",_wrap_wxITALIC_FONT_get
, _wrap_wxITALIC_FONT_set
);
7017 SWIG_addvarlink(SWIG_globals
,"wxSWISS_FONT",_wrap_wxSWISS_FONT_get
, _wrap_wxSWISS_FONT_set
);
7018 SWIG_addvarlink(SWIG_globals
,"wxRED_PEN",_wrap_wxRED_PEN_get
, _wrap_wxRED_PEN_set
);
7019 SWIG_addvarlink(SWIG_globals
,"wxCYAN_PEN",_wrap_wxCYAN_PEN_get
, _wrap_wxCYAN_PEN_set
);
7020 SWIG_addvarlink(SWIG_globals
,"wxGREEN_PEN",_wrap_wxGREEN_PEN_get
, _wrap_wxGREEN_PEN_set
);
7021 SWIG_addvarlink(SWIG_globals
,"wxBLACK_PEN",_wrap_wxBLACK_PEN_get
, _wrap_wxBLACK_PEN_set
);
7022 SWIG_addvarlink(SWIG_globals
,"wxWHITE_PEN",_wrap_wxWHITE_PEN_get
, _wrap_wxWHITE_PEN_set
);
7023 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_PEN",_wrap_wxTRANSPARENT_PEN_get
, _wrap_wxTRANSPARENT_PEN_set
);
7024 SWIG_addvarlink(SWIG_globals
,"wxBLACK_DASHED_PEN",_wrap_wxBLACK_DASHED_PEN_get
, _wrap_wxBLACK_DASHED_PEN_set
);
7025 SWIG_addvarlink(SWIG_globals
,"wxGREY_PEN",_wrap_wxGREY_PEN_get
, _wrap_wxGREY_PEN_set
);
7026 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_PEN",_wrap_wxMEDIUM_GREY_PEN_get
, _wrap_wxMEDIUM_GREY_PEN_set
);
7027 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_PEN",_wrap_wxLIGHT_GREY_PEN_get
, _wrap_wxLIGHT_GREY_PEN_set
);
7028 SWIG_addvarlink(SWIG_globals
,"wxBLUE_BRUSH",_wrap_wxBLUE_BRUSH_get
, _wrap_wxBLUE_BRUSH_set
);
7029 SWIG_addvarlink(SWIG_globals
,"wxGREEN_BRUSH",_wrap_wxGREEN_BRUSH_get
, _wrap_wxGREEN_BRUSH_set
);
7030 SWIG_addvarlink(SWIG_globals
,"wxWHITE_BRUSH",_wrap_wxWHITE_BRUSH_get
, _wrap_wxWHITE_BRUSH_set
);
7031 SWIG_addvarlink(SWIG_globals
,"wxBLACK_BRUSH",_wrap_wxBLACK_BRUSH_get
, _wrap_wxBLACK_BRUSH_set
);
7032 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_BRUSH",_wrap_wxTRANSPARENT_BRUSH_get
, _wrap_wxTRANSPARENT_BRUSH_set
);
7033 SWIG_addvarlink(SWIG_globals
,"wxCYAN_BRUSH",_wrap_wxCYAN_BRUSH_get
, _wrap_wxCYAN_BRUSH_set
);
7034 SWIG_addvarlink(SWIG_globals
,"wxRED_BRUSH",_wrap_wxRED_BRUSH_get
, _wrap_wxRED_BRUSH_set
);
7035 SWIG_addvarlink(SWIG_globals
,"wxGREY_BRUSH",_wrap_wxGREY_BRUSH_get
, _wrap_wxGREY_BRUSH_set
);
7036 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_BRUSH",_wrap_wxMEDIUM_GREY_BRUSH_get
, _wrap_wxMEDIUM_GREY_BRUSH_set
);
7037 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_BRUSH",_wrap_wxLIGHT_GREY_BRUSH_get
, _wrap_wxLIGHT_GREY_BRUSH_set
);
7038 SWIG_addvarlink(SWIG_globals
,"wxBLACK",_wrap_wxBLACK_get
, _wrap_wxBLACK_set
);
7039 SWIG_addvarlink(SWIG_globals
,"wxWHITE",_wrap_wxWHITE_get
, _wrap_wxWHITE_set
);
7040 SWIG_addvarlink(SWIG_globals
,"wxRED",_wrap_wxRED_get
, _wrap_wxRED_set
);
7041 SWIG_addvarlink(SWIG_globals
,"wxBLUE",_wrap_wxBLUE_get
, _wrap_wxBLUE_set
);
7042 SWIG_addvarlink(SWIG_globals
,"wxGREEN",_wrap_wxGREEN_get
, _wrap_wxGREEN_set
);
7043 SWIG_addvarlink(SWIG_globals
,"wxCYAN",_wrap_wxCYAN_get
, _wrap_wxCYAN_set
);
7044 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY",_wrap_wxLIGHT_GREY_get
, _wrap_wxLIGHT_GREY_set
);
7045 SWIG_addvarlink(SWIG_globals
,"wxSTANDARD_CURSOR",_wrap_wxSTANDARD_CURSOR_get
, _wrap_wxSTANDARD_CURSOR_set
);
7046 SWIG_addvarlink(SWIG_globals
,"wxHOURGLASS_CURSOR",_wrap_wxHOURGLASS_CURSOR_get
, _wrap_wxHOURGLASS_CURSOR_set
);
7047 SWIG_addvarlink(SWIG_globals
,"wxCROSS_CURSOR",_wrap_wxCROSS_CURSOR_get
, _wrap_wxCROSS_CURSOR_set
);
7048 SWIG_addvarlink(SWIG_globals
,"wxNullBitmap",_wrap_wxNullBitmap_get
, _wrap_wxNullBitmap_set
);
7049 SWIG_addvarlink(SWIG_globals
,"wxNullIcon",_wrap_wxNullIcon_get
, _wrap_wxNullIcon_set
);
7050 SWIG_addvarlink(SWIG_globals
,"wxNullCursor",_wrap_wxNullCursor_get
, _wrap_wxNullCursor_set
);
7051 SWIG_addvarlink(SWIG_globals
,"wxNullPen",_wrap_wxNullPen_get
, _wrap_wxNullPen_set
);
7052 SWIG_addvarlink(SWIG_globals
,"wxNullBrush",_wrap_wxNullBrush_get
, _wrap_wxNullBrush_set
);
7053 SWIG_addvarlink(SWIG_globals
,"wxNullPalette",_wrap_wxNullPalette_get
, _wrap_wxNullPalette_set
);
7054 SWIG_addvarlink(SWIG_globals
,"wxNullFont",_wrap_wxNullFont_get
, _wrap_wxNullFont_set
);
7055 SWIG_addvarlink(SWIG_globals
,"wxNullColour",_wrap_wxNullColour_get
, _wrap_wxNullColour_set
);
7056 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_NORMAL", PyInt_FromLong((long) wxIMAGELIST_DRAW_NORMAL
));
7057 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_TRANSPARENT", PyInt_FromLong((long) wxIMAGELIST_DRAW_TRANSPARENT
));
7058 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_SELECTED", PyInt_FromLong((long) wxIMAGELIST_DRAW_SELECTED
));
7059 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_FOCUSED", PyInt_FromLong((long) wxIMAGELIST_DRAW_FOCUSED
));
7060 PyDict_SetItemString(d
,"wxIMAGE_LIST_NORMAL", PyInt_FromLong((long) wxIMAGE_LIST_NORMAL
));
7061 PyDict_SetItemString(d
,"wxIMAGE_LIST_SMALL", PyInt_FromLong((long) wxIMAGE_LIST_SMALL
));
7062 PyDict_SetItemString(d
,"wxIMAGE_LIST_STATE", PyInt_FromLong((long) wxIMAGE_LIST_STATE
));
7065 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
7066 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);