2 * FILE : src/mac/gdi.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initgdic
56 #define SWIG_name "gdic"
59 #include <wx/imaglist.h>
60 #include <wx/fontmap.h>
61 #include <wx/fontenc.h>
62 #include <wx/fontmap.h>
63 #include <wx/fontutil.h>
66 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
72 } else if (target
== Py_None
) {
76 if (!PyTuple_Check(target
)) {
78 target
= PyTuple_New(1);
79 PyTuple_SetItem(target
, 0, o2
);
82 PyTuple_SetItem(o3
, 0, o
);
85 target
= PySequence_Concat(o2
, o3
);
92 #if PYTHON_API_VERSION >= 1009
93 static char* wxStringErrorMsg
= "String or Unicode type required";
95 static char* wxStringErrorMsg
= "String type required";
98 static wxString
wxPyEmptyStr("");
99 // Implementations of some alternate "constructors"
101 wxBitmap
* wxEmptyBitmap(int width
, int height
, int depth
=-1) {
102 return new wxBitmap(width
, height
, depth
);
105 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
106 char** cArray
= NULL
;
109 if (!PyList_Check(listOfStrings
)) {
110 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
113 count
= PyList_Size(listOfStrings
);
114 cArray
= new char*[count
];
116 for(int x
=0; x
<count
; x
++) {
117 // TODO: Need some validation and error checking here
118 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
124 wxBitmap
* wxBitmapFromXPMData(PyObject
* listOfStrings
) {
125 char** cArray
= NULL
;
128 cArray
= ConvertListOfStrings(listOfStrings
);
131 bmp
= new wxBitmap(cArray
);
137 wxBitmap
* wxBitmapFromIcon(const wxIcon
& icon
) {
138 return new wxBitmap(icon
);
142 wxBitmap
* wxBitmapFromBits(char* bits
, int width
, int height
, int depth
= 1 ) {
143 return new wxBitmap(bits
, width
, height
, depth
);
148 // wxBitmap* wxBitmapFromData(PyObject* data, long type,
149 // int width, int height, int depth = 1) {
150 // if (! PyString_Check(data)) {
151 // PyErr_SetString(PyExc_TypeError, "Expected string object");
154 // return new wxBitmap((void*)PyString_AsString(data), type, width, height, depth);
158 wxMask
* wxMaskColour(const wxBitmap
& bitmap
, const wxColour
& colour
) {
159 return new wxMask(bitmap
, colour
);
161 // Implementations of some alternate "constructors"
162 wxIcon
* wxEmptyIcon() {
166 wxIcon
* wxIconFromXPMData(PyObject
* listOfStrings
) {
167 char** cArray
= NULL
;
170 cArray
= ConvertListOfStrings(listOfStrings
);
173 icon
= new wxIcon(cArray
);
177 // Alternate 'constructor'
178 wxCursor
* wxPyStockCursor(int id
) {
179 return new wxCursor(id
);
181 // Alternate 'constructor'
182 wxColour
* wxNamedColour(const wxString
& colorName
) {
183 return new wxColour(colorName
);
186 class wxPyPen
: public wxPen
{
188 wxPyPen(wxColour
& colour
, int width
=1, int style
=wxSOLID
)
189 : wxPen(colour
, width
, style
)
196 void SetDashes(int nb_dashes
, const wxDash
*dash
) {
199 m_dash
= new wxDash
[nb_dashes
];
200 for (int i
=0; i
<nb_dashes
; i
++) {
203 wxPen::SetDashes(nb_dashes
, m_dash
);
210 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
216 // Alternate 'constructor'
217 wxMemoryDC
* wxMemoryDCFromDC(wxDC
* oldDC
) {
218 return new wxMemoryDC(oldDC
);
222 extern wxFont
* wxNORMAL_FONT
;
223 extern wxFont
* wxSMALL_FONT
;
224 extern wxFont
* wxITALIC_FONT
;
225 extern wxFont
* wxSWISS_FONT
;
226 extern wxPen
* wxRED_PEN
;
227 extern wxPen
* wxCYAN_PEN
;
228 extern wxPen
* wxGREEN_PEN
;
229 extern wxPen
* wxBLACK_PEN
;
230 extern wxPen
* wxWHITE_PEN
;
231 extern wxPen
* wxTRANSPARENT_PEN
;
232 extern wxPen
* wxBLACK_DASHED_PEN
;
233 extern wxPen
* wxGREY_PEN
;
234 extern wxPen
* wxMEDIUM_GREY_PEN
;
235 extern wxPen
* wxLIGHT_GREY_PEN
;
236 extern wxBrush
* wxBLUE_BRUSH
;
237 extern wxBrush
* wxGREEN_BRUSH
;
238 extern wxBrush
* wxWHITE_BRUSH
;
239 extern wxBrush
* wxBLACK_BRUSH
;
240 extern wxBrush
* wxTRANSPARENT_BRUSH
;
241 extern wxBrush
* wxCYAN_BRUSH
;
242 extern wxBrush
* wxRED_BRUSH
;
243 extern wxBrush
* wxGREY_BRUSH
;
244 extern wxBrush
* wxMEDIUM_GREY_BRUSH
;
245 extern wxBrush
* wxLIGHT_GREY_BRUSH
;
246 extern wxColour
* wxBLACK
;
247 extern wxColour
* wxWHITE
;
248 extern wxColour
* wxRED
;
249 extern wxColour
* wxBLUE
;
250 extern wxColour
* wxGREEN
;
251 extern wxColour
* wxCYAN
;
252 extern wxColour
* wxLIGHT_GREY
;
253 extern wxCursor
* wxSTANDARD_CURSOR
;
254 extern wxCursor
* wxHOURGLASS_CURSOR
;
255 extern wxCursor
* wxCROSS_CURSOR
;
256 extern wxBitmap wxNullBitmap
;
257 extern wxIcon wxNullIcon
;
258 extern wxCursor wxNullCursor
;
259 extern wxPen wxNullPen
;
260 extern wxBrush wxNullBrush
;
261 extern wxPalette wxNullPalette
;
262 extern wxFont wxNullFont
;
263 extern wxColour wxNullColour
;
264 extern wxFontList
* wxTheFontList
;
265 extern wxPenList
* wxThePenList
;
266 extern wxBrushList
* wxTheBrushList
;
267 extern wxColourDatabase
* wxTheColourDatabase
;
273 static PyObject
*_wrap_wxEmptyBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
274 PyObject
* _resultobj
;
278 int _arg2
= (int ) -1;
279 char *_kwnames
[] = { "width","height","depth", NULL
};
283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ii|i:wxEmptyBitmap",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
287 _result
= (wxBitmap
*)wxEmptyBitmap(_arg0
,_arg1
,_arg2
);
289 wxPyEndAllowThreads(__tstate
);
290 if (PyErr_Occurred()) return NULL
;
292 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
293 _resultobj
= Py_BuildValue("s",_ptemp
);
296 _resultobj
= Py_None
;
301 static PyObject
*_wrap_wxBitmapFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
302 PyObject
* _resultobj
;
305 PyObject
* _obj0
= 0;
306 char *_kwnames
[] = { "listOfStrings", NULL
};
310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapFromXPMData",_kwnames
,&_obj0
))
316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
317 _result
= (wxBitmap
*)wxBitmapFromXPMData(_arg0
);
319 wxPyEndAllowThreads(__tstate
);
320 if (PyErr_Occurred()) return NULL
;
322 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
323 _resultobj
= Py_BuildValue("s",_ptemp
);
326 _resultobj
= Py_None
;
331 static PyObject
*_wrap_wxBitmapFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
332 PyObject
* _resultobj
;
335 PyObject
* _argo0
= 0;
336 char *_kwnames
[] = { "icon", NULL
};
340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapFromIcon",_kwnames
,&_argo0
))
343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapFromIcon. Expected _wxIcon_p.");
350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
351 _result
= (wxBitmap
*)wxBitmapFromIcon(*_arg0
);
353 wxPyEndAllowThreads(__tstate
);
354 if (PyErr_Occurred()) return NULL
;
356 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
357 _resultobj
= Py_BuildValue("s",_ptemp
);
360 _resultobj
= Py_None
;
365 static PyObject
*_wrap_wxBitmapFromBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
366 PyObject
* _resultobj
;
371 int _arg3
= (int ) 1;
372 char *_kwnames
[] = { "bits","width","height","depth", NULL
};
376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"sii|i:wxBitmapFromBits",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
380 _result
= (wxBitmap
*)wxBitmapFromBits(_arg0
,_arg1
,_arg2
,_arg3
);
382 wxPyEndAllowThreads(__tstate
);
383 if (PyErr_Occurred()) return NULL
;
385 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
386 _resultobj
= Py_BuildValue("s",_ptemp
);
389 _resultobj
= Py_None
;
394 static PyObject
*_wrap_wxMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
395 PyObject
* _resultobj
;
399 PyObject
* _argo0
= 0;
401 PyObject
* _obj1
= 0;
402 char *_kwnames
[] = { "bitmap","colour", NULL
};
406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMaskColour",_kwnames
,&_argo0
,&_obj1
))
409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMaskColour. Expected _wxBitmap_p.");
417 if (! wxColour_helper(_obj1
, &_arg1
))
421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
422 _result
= (wxMask
*)wxMaskColour(*_arg0
,*_arg1
);
424 wxPyEndAllowThreads(__tstate
);
425 if (PyErr_Occurred()) return NULL
;
427 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
428 _resultobj
= Py_BuildValue("s",_ptemp
);
431 _resultobj
= Py_None
;
436 static PyObject
*_wrap_wxEmptyIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
437 PyObject
* _resultobj
;
439 char *_kwnames
[] = { NULL
};
443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxEmptyIcon",_kwnames
))
446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
447 _result
= (wxIcon
*)wxEmptyIcon();
449 wxPyEndAllowThreads(__tstate
);
450 if (PyErr_Occurred()) return NULL
;
452 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
453 _resultobj
= Py_BuildValue("s",_ptemp
);
456 _resultobj
= Py_None
;
461 static PyObject
*_wrap_wxIconFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
462 PyObject
* _resultobj
;
465 PyObject
* _obj0
= 0;
466 char *_kwnames
[] = { "listOfStrings", NULL
};
470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIconFromXPMData",_kwnames
,&_obj0
))
476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
477 _result
= (wxIcon
*)wxIconFromXPMData(_arg0
);
479 wxPyEndAllowThreads(__tstate
);
480 if (PyErr_Occurred()) return NULL
;
482 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
483 _resultobj
= Py_BuildValue("s",_ptemp
);
486 _resultobj
= Py_None
;
491 static PyObject
*_wrap_wxStockCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
492 PyObject
* _resultobj
;
495 char *_kwnames
[] = { "id", NULL
};
499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxStockCursor",_kwnames
,&_arg0
))
502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
503 _result
= (wxCursor
*)wxPyStockCursor(_arg0
);
505 wxPyEndAllowThreads(__tstate
);
506 if (PyErr_Occurred()) return NULL
;
508 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCursor_p");
509 _resultobj
= Py_BuildValue("s",_ptemp
);
512 _resultobj
= Py_None
;
517 static PyObject
*_wrap_wxNamedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
518 PyObject
* _resultobj
;
521 PyObject
* _obj0
= 0;
522 char *_kwnames
[] = { "colorName", NULL
};
526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNamedColour",_kwnames
,&_obj0
))
529 #if PYTHON_API_VERSION >= 1009
530 char* tmpPtr
; int tmpSize
;
531 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
532 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
535 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
537 _arg0
= new wxString(tmpPtr
, tmpSize
);
539 if (!PyString_Check(_obj0
)) {
540 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
543 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
548 _result
= (wxColour
*)wxNamedColour(*_arg0
);
550 wxPyEndAllowThreads(__tstate
);
551 if (PyErr_Occurred()) return NULL
;
553 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
554 _resultobj
= Py_BuildValue("s",_ptemp
);
557 _resultobj
= Py_None
;
566 static PyObject
*_wrap_wxMemoryDCFromDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
567 PyObject
* _resultobj
;
568 wxMemoryDC
* _result
;
570 PyObject
* _argo0
= 0;
571 char *_kwnames
[] = { "oldDC", NULL
};
575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMemoryDCFromDC",_kwnames
,&_argo0
))
578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDCFromDC. Expected _wxDC_p.");
585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
586 _result
= (wxMemoryDC
*)wxMemoryDCFromDC(_arg0
);
588 wxPyEndAllowThreads(__tstate
);
589 if (PyErr_Occurred()) return NULL
;
591 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
592 _resultobj
= Py_BuildValue("s",_ptemp
);
595 _resultobj
= Py_None
;
600 static int _wrap_wxNORMAL_FONT_set(PyObject
*val
) {
602 PyErr_SetString(PyExc_TypeError
,"Variable wxNORMAL_FONT is read-only.");
606 static PyObject
*_wrap_wxNORMAL_FONT_get() {
610 SWIG_MakePtr(ptemp
, (char *) wxNORMAL_FONT
,"_wxFont_p");
611 pyobj
= PyString_FromString(ptemp
);
615 static int _wrap_wxSMALL_FONT_set(PyObject
*val
) {
617 PyErr_SetString(PyExc_TypeError
,"Variable wxSMALL_FONT is read-only.");
621 static PyObject
*_wrap_wxSMALL_FONT_get() {
625 SWIG_MakePtr(ptemp
, (char *) wxSMALL_FONT
,"_wxFont_p");
626 pyobj
= PyString_FromString(ptemp
);
630 static int _wrap_wxITALIC_FONT_set(PyObject
*val
) {
632 PyErr_SetString(PyExc_TypeError
,"Variable wxITALIC_FONT is read-only.");
636 static PyObject
*_wrap_wxITALIC_FONT_get() {
640 SWIG_MakePtr(ptemp
, (char *) wxITALIC_FONT
,"_wxFont_p");
641 pyobj
= PyString_FromString(ptemp
);
645 static int _wrap_wxSWISS_FONT_set(PyObject
*val
) {
647 PyErr_SetString(PyExc_TypeError
,"Variable wxSWISS_FONT is read-only.");
651 static PyObject
*_wrap_wxSWISS_FONT_get() {
655 SWIG_MakePtr(ptemp
, (char *) wxSWISS_FONT
,"_wxFont_p");
656 pyobj
= PyString_FromString(ptemp
);
660 static int _wrap_wxRED_PEN_set(PyObject
*val
) {
662 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_PEN is read-only.");
666 static PyObject
*_wrap_wxRED_PEN_get() {
670 SWIG_MakePtr(ptemp
, (char *) wxRED_PEN
,"_wxPen_p");
671 pyobj
= PyString_FromString(ptemp
);
675 static int _wrap_wxCYAN_PEN_set(PyObject
*val
) {
677 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_PEN is read-only.");
681 static PyObject
*_wrap_wxCYAN_PEN_get() {
685 SWIG_MakePtr(ptemp
, (char *) wxCYAN_PEN
,"_wxPen_p");
686 pyobj
= PyString_FromString(ptemp
);
690 static int _wrap_wxGREEN_PEN_set(PyObject
*val
) {
692 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_PEN is read-only.");
696 static PyObject
*_wrap_wxGREEN_PEN_get() {
700 SWIG_MakePtr(ptemp
, (char *) wxGREEN_PEN
,"_wxPen_p");
701 pyobj
= PyString_FromString(ptemp
);
705 static int _wrap_wxBLACK_PEN_set(PyObject
*val
) {
707 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_PEN is read-only.");
711 static PyObject
*_wrap_wxBLACK_PEN_get() {
715 SWIG_MakePtr(ptemp
, (char *) wxBLACK_PEN
,"_wxPen_p");
716 pyobj
= PyString_FromString(ptemp
);
720 static int _wrap_wxWHITE_PEN_set(PyObject
*val
) {
722 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_PEN is read-only.");
726 static PyObject
*_wrap_wxWHITE_PEN_get() {
730 SWIG_MakePtr(ptemp
, (char *) wxWHITE_PEN
,"_wxPen_p");
731 pyobj
= PyString_FromString(ptemp
);
735 static int _wrap_wxTRANSPARENT_PEN_set(PyObject
*val
) {
737 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_PEN is read-only.");
741 static PyObject
*_wrap_wxTRANSPARENT_PEN_get() {
745 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_PEN
,"_wxPen_p");
746 pyobj
= PyString_FromString(ptemp
);
750 static int _wrap_wxBLACK_DASHED_PEN_set(PyObject
*val
) {
752 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_DASHED_PEN is read-only.");
756 static PyObject
*_wrap_wxBLACK_DASHED_PEN_get() {
760 SWIG_MakePtr(ptemp
, (char *) wxBLACK_DASHED_PEN
,"_wxPen_p");
761 pyobj
= PyString_FromString(ptemp
);
765 static int _wrap_wxGREY_PEN_set(PyObject
*val
) {
767 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_PEN is read-only.");
771 static PyObject
*_wrap_wxGREY_PEN_get() {
775 SWIG_MakePtr(ptemp
, (char *) wxGREY_PEN
,"_wxPen_p");
776 pyobj
= PyString_FromString(ptemp
);
780 static int _wrap_wxMEDIUM_GREY_PEN_set(PyObject
*val
) {
782 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_PEN is read-only.");
786 static PyObject
*_wrap_wxMEDIUM_GREY_PEN_get() {
790 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_PEN
,"_wxPen_p");
791 pyobj
= PyString_FromString(ptemp
);
795 static int _wrap_wxLIGHT_GREY_PEN_set(PyObject
*val
) {
797 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_PEN is read-only.");
801 static PyObject
*_wrap_wxLIGHT_GREY_PEN_get() {
805 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_PEN
,"_wxPen_p");
806 pyobj
= PyString_FromString(ptemp
);
810 static int _wrap_wxBLUE_BRUSH_set(PyObject
*val
) {
812 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE_BRUSH is read-only.");
816 static PyObject
*_wrap_wxBLUE_BRUSH_get() {
820 SWIG_MakePtr(ptemp
, (char *) wxBLUE_BRUSH
,"_wxBrush_p");
821 pyobj
= PyString_FromString(ptemp
);
825 static int _wrap_wxGREEN_BRUSH_set(PyObject
*val
) {
827 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_BRUSH is read-only.");
831 static PyObject
*_wrap_wxGREEN_BRUSH_get() {
835 SWIG_MakePtr(ptemp
, (char *) wxGREEN_BRUSH
,"_wxBrush_p");
836 pyobj
= PyString_FromString(ptemp
);
840 static int _wrap_wxWHITE_BRUSH_set(PyObject
*val
) {
842 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_BRUSH is read-only.");
846 static PyObject
*_wrap_wxWHITE_BRUSH_get() {
850 SWIG_MakePtr(ptemp
, (char *) wxWHITE_BRUSH
,"_wxBrush_p");
851 pyobj
= PyString_FromString(ptemp
);
855 static int _wrap_wxBLACK_BRUSH_set(PyObject
*val
) {
857 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_BRUSH is read-only.");
861 static PyObject
*_wrap_wxBLACK_BRUSH_get() {
865 SWIG_MakePtr(ptemp
, (char *) wxBLACK_BRUSH
,"_wxBrush_p");
866 pyobj
= PyString_FromString(ptemp
);
870 static int _wrap_wxTRANSPARENT_BRUSH_set(PyObject
*val
) {
872 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_BRUSH is read-only.");
876 static PyObject
*_wrap_wxTRANSPARENT_BRUSH_get() {
880 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_BRUSH
,"_wxBrush_p");
881 pyobj
= PyString_FromString(ptemp
);
885 static int _wrap_wxCYAN_BRUSH_set(PyObject
*val
) {
887 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_BRUSH is read-only.");
891 static PyObject
*_wrap_wxCYAN_BRUSH_get() {
895 SWIG_MakePtr(ptemp
, (char *) wxCYAN_BRUSH
,"_wxBrush_p");
896 pyobj
= PyString_FromString(ptemp
);
900 static int _wrap_wxRED_BRUSH_set(PyObject
*val
) {
902 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_BRUSH is read-only.");
906 static PyObject
*_wrap_wxRED_BRUSH_get() {
910 SWIG_MakePtr(ptemp
, (char *) wxRED_BRUSH
,"_wxBrush_p");
911 pyobj
= PyString_FromString(ptemp
);
915 static int _wrap_wxGREY_BRUSH_set(PyObject
*val
) {
917 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_BRUSH is read-only.");
921 static PyObject
*_wrap_wxGREY_BRUSH_get() {
925 SWIG_MakePtr(ptemp
, (char *) wxGREY_BRUSH
,"_wxBrush_p");
926 pyobj
= PyString_FromString(ptemp
);
930 static int _wrap_wxMEDIUM_GREY_BRUSH_set(PyObject
*val
) {
932 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_BRUSH is read-only.");
936 static PyObject
*_wrap_wxMEDIUM_GREY_BRUSH_get() {
940 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_BRUSH
,"_wxBrush_p");
941 pyobj
= PyString_FromString(ptemp
);
945 static int _wrap_wxLIGHT_GREY_BRUSH_set(PyObject
*val
) {
947 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_BRUSH is read-only.");
951 static PyObject
*_wrap_wxLIGHT_GREY_BRUSH_get() {
955 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_BRUSH
,"_wxBrush_p");
956 pyobj
= PyString_FromString(ptemp
);
960 static int _wrap_wxBLACK_set(PyObject
*val
) {
962 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK is read-only.");
966 static PyObject
*_wrap_wxBLACK_get() {
970 SWIG_MakePtr(ptemp
, (char *) wxBLACK
,"_wxColour_p");
971 pyobj
= PyString_FromString(ptemp
);
975 static int _wrap_wxWHITE_set(PyObject
*val
) {
977 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE is read-only.");
981 static PyObject
*_wrap_wxWHITE_get() {
985 SWIG_MakePtr(ptemp
, (char *) wxWHITE
,"_wxColour_p");
986 pyobj
= PyString_FromString(ptemp
);
990 static int _wrap_wxRED_set(PyObject
*val
) {
992 PyErr_SetString(PyExc_TypeError
,"Variable wxRED is read-only.");
996 static PyObject
*_wrap_wxRED_get() {
1000 SWIG_MakePtr(ptemp
, (char *) wxRED
,"_wxColour_p");
1001 pyobj
= PyString_FromString(ptemp
);
1005 static int _wrap_wxBLUE_set(PyObject
*val
) {
1007 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE is read-only.");
1011 static PyObject
*_wrap_wxBLUE_get() {
1015 SWIG_MakePtr(ptemp
, (char *) wxBLUE
,"_wxColour_p");
1016 pyobj
= PyString_FromString(ptemp
);
1020 static int _wrap_wxGREEN_set(PyObject
*val
) {
1022 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN is read-only.");
1026 static PyObject
*_wrap_wxGREEN_get() {
1030 SWIG_MakePtr(ptemp
, (char *) wxGREEN
,"_wxColour_p");
1031 pyobj
= PyString_FromString(ptemp
);
1035 static int _wrap_wxCYAN_set(PyObject
*val
) {
1037 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN is read-only.");
1041 static PyObject
*_wrap_wxCYAN_get() {
1045 SWIG_MakePtr(ptemp
, (char *) wxCYAN
,"_wxColour_p");
1046 pyobj
= PyString_FromString(ptemp
);
1050 static int _wrap_wxLIGHT_GREY_set(PyObject
*val
) {
1052 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY is read-only.");
1056 static PyObject
*_wrap_wxLIGHT_GREY_get() {
1060 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY
,"_wxColour_p");
1061 pyobj
= PyString_FromString(ptemp
);
1065 static int _wrap_wxSTANDARD_CURSOR_set(PyObject
*val
) {
1067 PyErr_SetString(PyExc_TypeError
,"Variable wxSTANDARD_CURSOR is read-only.");
1071 static PyObject
*_wrap_wxSTANDARD_CURSOR_get() {
1075 SWIG_MakePtr(ptemp
, (char *) wxSTANDARD_CURSOR
,"_wxCursor_p");
1076 pyobj
= PyString_FromString(ptemp
);
1080 static int _wrap_wxHOURGLASS_CURSOR_set(PyObject
*val
) {
1082 PyErr_SetString(PyExc_TypeError
,"Variable wxHOURGLASS_CURSOR is read-only.");
1086 static PyObject
*_wrap_wxHOURGLASS_CURSOR_get() {
1090 SWIG_MakePtr(ptemp
, (char *) wxHOURGLASS_CURSOR
,"_wxCursor_p");
1091 pyobj
= PyString_FromString(ptemp
);
1095 static int _wrap_wxCROSS_CURSOR_set(PyObject
*val
) {
1097 PyErr_SetString(PyExc_TypeError
,"Variable wxCROSS_CURSOR is read-only.");
1101 static PyObject
*_wrap_wxCROSS_CURSOR_get() {
1105 SWIG_MakePtr(ptemp
, (char *) wxCROSS_CURSOR
,"_wxCursor_p");
1106 pyobj
= PyString_FromString(ptemp
);
1110 static int _wrap_wxNullBitmap_set(PyObject
*val
) {
1112 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBitmap is read-only.");
1116 static PyObject
*_wrap_wxNullBitmap_get() {
1120 SWIG_MakePtr(ptemp
,(char *) &wxNullBitmap
,"_wxBitmap_p");
1121 pyobj
= PyString_FromString(ptemp
);
1125 static int _wrap_wxNullIcon_set(PyObject
*val
) {
1127 PyErr_SetString(PyExc_TypeError
,"Variable wxNullIcon is read-only.");
1131 static PyObject
*_wrap_wxNullIcon_get() {
1135 SWIG_MakePtr(ptemp
,(char *) &wxNullIcon
,"_wxIcon_p");
1136 pyobj
= PyString_FromString(ptemp
);
1140 static int _wrap_wxNullCursor_set(PyObject
*val
) {
1142 PyErr_SetString(PyExc_TypeError
,"Variable wxNullCursor is read-only.");
1146 static PyObject
*_wrap_wxNullCursor_get() {
1150 SWIG_MakePtr(ptemp
,(char *) &wxNullCursor
,"_wxCursor_p");
1151 pyobj
= PyString_FromString(ptemp
);
1155 static int _wrap_wxNullPen_set(PyObject
*val
) {
1157 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPen is read-only.");
1161 static PyObject
*_wrap_wxNullPen_get() {
1165 SWIG_MakePtr(ptemp
,(char *) &wxNullPen
,"_wxPen_p");
1166 pyobj
= PyString_FromString(ptemp
);
1170 static int _wrap_wxNullBrush_set(PyObject
*val
) {
1172 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBrush is read-only.");
1176 static PyObject
*_wrap_wxNullBrush_get() {
1180 SWIG_MakePtr(ptemp
,(char *) &wxNullBrush
,"_wxBrush_p");
1181 pyobj
= PyString_FromString(ptemp
);
1185 static int _wrap_wxNullPalette_set(PyObject
*val
) {
1187 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPalette is read-only.");
1191 static PyObject
*_wrap_wxNullPalette_get() {
1195 SWIG_MakePtr(ptemp
,(char *) &wxNullPalette
,"_wxPalette_p");
1196 pyobj
= PyString_FromString(ptemp
);
1200 static int _wrap_wxNullFont_set(PyObject
*val
) {
1202 PyErr_SetString(PyExc_TypeError
,"Variable wxNullFont is read-only.");
1206 static PyObject
*_wrap_wxNullFont_get() {
1210 SWIG_MakePtr(ptemp
,(char *) &wxNullFont
,"_wxFont_p");
1211 pyobj
= PyString_FromString(ptemp
);
1215 static int _wrap_wxNullColour_set(PyObject
*val
) {
1217 PyErr_SetString(PyExc_TypeError
,"Variable wxNullColour is read-only.");
1221 static PyObject
*_wrap_wxNullColour_get() {
1225 SWIG_MakePtr(ptemp
,(char *) &wxNullColour
,"_wxColour_p");
1226 pyobj
= PyString_FromString(ptemp
);
1230 static int _wrap_wxTheFontList_set(PyObject
*val
) {
1232 PyErr_SetString(PyExc_TypeError
,"Variable wxTheFontList is read-only.");
1236 static PyObject
*_wrap_wxTheFontList_get() {
1240 SWIG_MakePtr(ptemp
, (char *) wxTheFontList
,"_wxFontList_p");
1241 pyobj
= PyString_FromString(ptemp
);
1245 static int _wrap_wxThePenList_set(PyObject
*val
) {
1247 PyErr_SetString(PyExc_TypeError
,"Variable wxThePenList is read-only.");
1251 static PyObject
*_wrap_wxThePenList_get() {
1255 SWIG_MakePtr(ptemp
, (char *) wxThePenList
,"_wxPenList_p");
1256 pyobj
= PyString_FromString(ptemp
);
1260 static int _wrap_wxTheBrushList_set(PyObject
*val
) {
1262 PyErr_SetString(PyExc_TypeError
,"Variable wxTheBrushList is read-only.");
1266 static PyObject
*_wrap_wxTheBrushList_get() {
1270 SWIG_MakePtr(ptemp
, (char *) wxTheBrushList
,"_wxBrushList_p");
1271 pyobj
= PyString_FromString(ptemp
);
1275 static int _wrap_wxTheColourDatabase_set(PyObject
*val
) {
1277 PyErr_SetString(PyExc_TypeError
,"Variable wxTheColourDatabase is read-only.");
1281 static PyObject
*_wrap_wxTheColourDatabase_get() {
1285 SWIG_MakePtr(ptemp
, (char *) wxTheColourDatabase
,"_wxColourDatabase_p");
1286 pyobj
= PyString_FromString(ptemp
);
1290 static void *SwigwxGDIObjectTowxObject(void *ptr
) {
1293 src
= (wxGDIObject
*) ptr
;
1294 dest
= (wxObject
*) src
;
1295 return (void *) dest
;
1298 #define new_wxGDIObject() (new wxGDIObject())
1299 static PyObject
*_wrap_new_wxGDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1300 PyObject
* _resultobj
;
1301 wxGDIObject
* _result
;
1302 char *_kwnames
[] = { NULL
};
1306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGDIObject",_kwnames
))
1309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1310 _result
= (wxGDIObject
*)new_wxGDIObject();
1312 wxPyEndAllowThreads(__tstate
);
1313 if (PyErr_Occurred()) return NULL
;
1315 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGDIObject_p");
1316 _resultobj
= Py_BuildValue("s",_ptemp
);
1319 _resultobj
= Py_None
;
1324 #define delete_wxGDIObject(_swigobj) (delete _swigobj)
1325 static PyObject
*_wrap_delete_wxGDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1326 PyObject
* _resultobj
;
1327 wxGDIObject
* _arg0
;
1328 PyObject
* _argo0
= 0;
1329 char *_kwnames
[] = { "self", NULL
};
1332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxGDIObject",_kwnames
,&_argo0
))
1335 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1336 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGDIObject_p")) {
1337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxGDIObject. Expected _wxGDIObject_p.");
1342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1343 delete_wxGDIObject(_arg0
);
1345 wxPyEndAllowThreads(__tstate
);
1346 if (PyErr_Occurred()) return NULL
;
1347 } Py_INCREF(Py_None
);
1348 _resultobj
= Py_None
;
1352 #define wxGDIObject_GetVisible(_swigobj) (_swigobj->GetVisible())
1353 static PyObject
*_wrap_wxGDIObject_GetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1354 PyObject
* _resultobj
;
1356 wxGDIObject
* _arg0
;
1357 PyObject
* _argo0
= 0;
1358 char *_kwnames
[] = { "self", NULL
};
1361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGDIObject_GetVisible",_kwnames
,&_argo0
))
1364 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1365 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGDIObject_p")) {
1366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGDIObject_GetVisible. Expected _wxGDIObject_p.");
1371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1372 _result
= (bool )wxGDIObject_GetVisible(_arg0
);
1374 wxPyEndAllowThreads(__tstate
);
1375 if (PyErr_Occurred()) return NULL
;
1376 } _resultobj
= Py_BuildValue("i",_result
);
1380 #define wxGDIObject_SetVisible(_swigobj,_swigarg0) (_swigobj->SetVisible(_swigarg0))
1381 static PyObject
*_wrap_wxGDIObject_SetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1382 PyObject
* _resultobj
;
1383 wxGDIObject
* _arg0
;
1385 PyObject
* _argo0
= 0;
1387 char *_kwnames
[] = { "self","visible", NULL
};
1390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGDIObject_SetVisible",_kwnames
,&_argo0
,&tempbool1
))
1393 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1394 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGDIObject_p")) {
1395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGDIObject_SetVisible. Expected _wxGDIObject_p.");
1399 _arg1
= (bool ) tempbool1
;
1401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1402 wxGDIObject_SetVisible(_arg0
,_arg1
);
1404 wxPyEndAllowThreads(__tstate
);
1405 if (PyErr_Occurred()) return NULL
;
1406 } Py_INCREF(Py_None
);
1407 _resultobj
= Py_None
;
1411 #define wxGDIObject_IsNull(_swigobj) (_swigobj->IsNull())
1412 static PyObject
*_wrap_wxGDIObject_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1413 PyObject
* _resultobj
;
1415 wxGDIObject
* _arg0
;
1416 PyObject
* _argo0
= 0;
1417 char *_kwnames
[] = { "self", NULL
};
1420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGDIObject_IsNull",_kwnames
,&_argo0
))
1423 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1424 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGDIObject_p")) {
1425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGDIObject_IsNull. Expected _wxGDIObject_p.");
1430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1431 _result
= (bool )wxGDIObject_IsNull(_arg0
);
1433 wxPyEndAllowThreads(__tstate
);
1434 if (PyErr_Occurred()) return NULL
;
1435 } _resultobj
= Py_BuildValue("i",_result
);
1439 static void *SwigwxBitmapTowxGDIObject(void *ptr
) {
1442 src
= (wxBitmap
*) ptr
;
1443 dest
= (wxGDIObject
*) src
;
1444 return (void *) dest
;
1447 static void *SwigwxBitmapTowxObject(void *ptr
) {
1450 src
= (wxBitmap
*) ptr
;
1451 dest
= (wxObject
*) src
;
1452 return (void *) dest
;
1455 #define new_wxBitmap(_swigarg0,_swigarg1) (new wxBitmap(_swigarg0,_swigarg1))
1456 static PyObject
*_wrap_new_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1457 PyObject
* _resultobj
;
1460 wxBitmapType _arg1
= (wxBitmapType
) wxBITMAP_TYPE_BMP
;
1461 PyObject
* _obj0
= 0;
1462 char *_kwnames
[] = { "name","type", NULL
};
1466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxBitmap",_kwnames
,&_obj0
,&_arg1
))
1469 #if PYTHON_API_VERSION >= 1009
1470 char* tmpPtr
; int tmpSize
;
1471 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1472 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1475 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1477 _arg0
= new wxString(tmpPtr
, tmpSize
);
1479 if (!PyString_Check(_obj0
)) {
1480 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1483 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1488 _result
= (wxBitmap
*)new_wxBitmap(*_arg0
,_arg1
);
1490 wxPyEndAllowThreads(__tstate
);
1491 if (PyErr_Occurred()) return NULL
;
1493 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1494 _resultobj
= Py_BuildValue("s",_ptemp
);
1497 _resultobj
= Py_None
;
1506 #define delete_wxBitmap(_swigobj) (delete _swigobj)
1507 static PyObject
*_wrap_delete_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1508 PyObject
* _resultobj
;
1510 PyObject
* _argo0
= 0;
1511 char *_kwnames
[] = { "self", NULL
};
1514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBitmap",_kwnames
,&_argo0
))
1517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBitmap. Expected _wxBitmap_p.");
1524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1525 delete_wxBitmap(_arg0
);
1527 wxPyEndAllowThreads(__tstate
);
1528 if (PyErr_Occurred()) return NULL
;
1529 } Py_INCREF(Py_None
);
1530 _resultobj
= Py_None
;
1534 #define wxBitmap_GetPalette(_swigobj) (_swigobj->GetPalette())
1535 static PyObject
*_wrap_wxBitmap_GetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1536 PyObject
* _resultobj
;
1537 wxPalette
* _result
;
1539 PyObject
* _argo0
= 0;
1540 char *_kwnames
[] = { "self", NULL
};
1544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetPalette",_kwnames
,&_argo0
))
1547 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1548 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetPalette. Expected _wxBitmap_p.");
1554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1555 _result
= (wxPalette
*)wxBitmap_GetPalette(_arg0
);
1557 wxPyEndAllowThreads(__tstate
);
1558 if (PyErr_Occurred()) return NULL
;
1560 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
1561 _resultobj
= Py_BuildValue("s",_ptemp
);
1564 _resultobj
= Py_None
;
1569 #define wxBitmap_GetMask(_swigobj) (_swigobj->GetMask())
1570 static PyObject
*_wrap_wxBitmap_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1571 PyObject
* _resultobj
;
1574 PyObject
* _argo0
= 0;
1575 char *_kwnames
[] = { "self", NULL
};
1579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetMask",_kwnames
,&_argo0
))
1582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetMask. Expected _wxBitmap_p.");
1589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1590 _result
= (wxMask
*)wxBitmap_GetMask(_arg0
);
1592 wxPyEndAllowThreads(__tstate
);
1593 if (PyErr_Occurred()) return NULL
;
1595 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
1596 _resultobj
= Py_BuildValue("s",_ptemp
);
1599 _resultobj
= Py_None
;
1604 #define wxBitmap_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1605 static PyObject
*_wrap_wxBitmap_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1606 PyObject
* _resultobj
;
1610 wxBitmapType _arg2
= (wxBitmapType
) wxBITMAP_TYPE_BMP
;
1611 PyObject
* _argo0
= 0;
1612 PyObject
* _obj1
= 0;
1613 char *_kwnames
[] = { "self","name","type", NULL
};
1616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxBitmap_LoadFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_LoadFile. Expected _wxBitmap_p.");
1626 #if PYTHON_API_VERSION >= 1009
1627 char* tmpPtr
; int tmpSize
;
1628 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1629 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1632 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1634 _arg1
= new wxString(tmpPtr
, tmpSize
);
1636 if (!PyString_Check(_obj1
)) {
1637 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1640 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1645 _result
= (bool )wxBitmap_LoadFile(_arg0
,*_arg1
,_arg2
);
1647 wxPyEndAllowThreads(__tstate
);
1648 if (PyErr_Occurred()) return NULL
;
1649 } _resultobj
= Py_BuildValue("i",_result
);
1657 #define wxBitmap_SaveFile(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SaveFile(_swigarg0,_swigarg1,_swigarg2))
1658 static PyObject
*_wrap_wxBitmap_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1659 PyObject
* _resultobj
;
1664 wxPalette
* _arg3
= (wxPalette
*) NULL
;
1665 PyObject
* _argo0
= 0;
1666 PyObject
* _obj1
= 0;
1667 PyObject
* _argo3
= 0;
1668 char *_kwnames
[] = { "self","name","type","palette", NULL
};
1671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|O:wxBitmap_SaveFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_argo3
))
1674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SaveFile. Expected _wxBitmap_p.");
1681 #if PYTHON_API_VERSION >= 1009
1682 char* tmpPtr
; int tmpSize
;
1683 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1684 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1687 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1689 _arg1
= new wxString(tmpPtr
, tmpSize
);
1691 if (!PyString_Check(_obj1
)) {
1692 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1695 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1699 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1700 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxPalette_p")) {
1701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxBitmap_SaveFile. Expected _wxPalette_p.");
1706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1707 _result
= (bool )wxBitmap_SaveFile(_arg0
,*_arg1
,_arg2
,_arg3
);
1709 wxPyEndAllowThreads(__tstate
);
1710 if (PyErr_Occurred()) return NULL
;
1711 } _resultobj
= Py_BuildValue("i",_result
);
1719 #define wxBitmap_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
1720 static PyObject
*_wrap_wxBitmap_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1721 PyObject
* _resultobj
;
1724 PyObject
* _argo0
= 0;
1725 PyObject
* _argo1
= 0;
1726 char *_kwnames
[] = { "self","mask", NULL
};
1729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_SetMask",_kwnames
,&_argo0
,&_argo1
))
1732 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1733 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetMask. Expected _wxBitmap_p.");
1739 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1740 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMask_p")) {
1741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_SetMask. Expected _wxMask_p.");
1746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1747 wxBitmap_SetMask(_arg0
,_arg1
);
1749 wxPyEndAllowThreads(__tstate
);
1750 if (PyErr_Occurred()) return NULL
;
1751 } Py_INCREF(Py_None
);
1752 _resultobj
= Py_None
;
1756 #define wxBitmap_Ok(_swigobj) (_swigobj->Ok())
1757 static PyObject
*_wrap_wxBitmap_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1758 PyObject
* _resultobj
;
1761 PyObject
* _argo0
= 0;
1762 char *_kwnames
[] = { "self", NULL
};
1765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_Ok",_kwnames
,&_argo0
))
1768 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1769 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_Ok. Expected _wxBitmap_p.");
1775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1776 _result
= (bool )wxBitmap_Ok(_arg0
);
1778 wxPyEndAllowThreads(__tstate
);
1779 if (PyErr_Occurred()) return NULL
;
1780 } _resultobj
= Py_BuildValue("i",_result
);
1784 #define wxBitmap_GetWidth(_swigobj) (_swigobj->GetWidth())
1785 static PyObject
*_wrap_wxBitmap_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1786 PyObject
* _resultobj
;
1789 PyObject
* _argo0
= 0;
1790 char *_kwnames
[] = { "self", NULL
};
1793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetWidth",_kwnames
,&_argo0
))
1796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetWidth. Expected _wxBitmap_p.");
1803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1804 _result
= (int )wxBitmap_GetWidth(_arg0
);
1806 wxPyEndAllowThreads(__tstate
);
1807 if (PyErr_Occurred()) return NULL
;
1808 } _resultobj
= Py_BuildValue("i",_result
);
1812 #define wxBitmap_GetHeight(_swigobj) (_swigobj->GetHeight())
1813 static PyObject
*_wrap_wxBitmap_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1814 PyObject
* _resultobj
;
1817 PyObject
* _argo0
= 0;
1818 char *_kwnames
[] = { "self", NULL
};
1821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetHeight",_kwnames
,&_argo0
))
1824 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1825 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetHeight. Expected _wxBitmap_p.");
1831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1832 _result
= (int )wxBitmap_GetHeight(_arg0
);
1834 wxPyEndAllowThreads(__tstate
);
1835 if (PyErr_Occurred()) return NULL
;
1836 } _resultobj
= Py_BuildValue("i",_result
);
1840 #define wxBitmap_GetDepth(_swigobj) (_swigobj->GetDepth())
1841 static PyObject
*_wrap_wxBitmap_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1842 PyObject
* _resultobj
;
1845 PyObject
* _argo0
= 0;
1846 char *_kwnames
[] = { "self", NULL
};
1849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetDepth",_kwnames
,&_argo0
))
1852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetDepth. Expected _wxBitmap_p.");
1859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1860 _result
= (int )wxBitmap_GetDepth(_arg0
);
1862 wxPyEndAllowThreads(__tstate
);
1863 if (PyErr_Occurred()) return NULL
;
1864 } _resultobj
= Py_BuildValue("i",_result
);
1868 #define wxBitmap_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1869 static PyObject
*_wrap_wxBitmap_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1870 PyObject
* _resultobj
;
1873 PyObject
* _argo0
= 0;
1874 char *_kwnames
[] = { "self","w", NULL
};
1877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetWidth",_kwnames
,&_argo0
,&_arg1
))
1880 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1881 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetWidth. Expected _wxBitmap_p.");
1887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1888 wxBitmap_SetWidth(_arg0
,_arg1
);
1890 wxPyEndAllowThreads(__tstate
);
1891 if (PyErr_Occurred()) return NULL
;
1892 } Py_INCREF(Py_None
);
1893 _resultobj
= Py_None
;
1897 #define wxBitmap_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1898 static PyObject
*_wrap_wxBitmap_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1899 PyObject
* _resultobj
;
1902 PyObject
* _argo0
= 0;
1903 char *_kwnames
[] = { "self","h", NULL
};
1906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetHeight",_kwnames
,&_argo0
,&_arg1
))
1909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetHeight. Expected _wxBitmap_p.");
1916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1917 wxBitmap_SetHeight(_arg0
,_arg1
);
1919 wxPyEndAllowThreads(__tstate
);
1920 if (PyErr_Occurred()) return NULL
;
1921 } Py_INCREF(Py_None
);
1922 _resultobj
= Py_None
;
1926 #define wxBitmap_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
1927 static PyObject
*_wrap_wxBitmap_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1928 PyObject
* _resultobj
;
1931 PyObject
* _argo0
= 0;
1932 char *_kwnames
[] = { "self","d", NULL
};
1935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetDepth",_kwnames
,&_argo0
,&_arg1
))
1938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetDepth. Expected _wxBitmap_p.");
1945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1946 wxBitmap_SetDepth(_arg0
,_arg1
);
1948 wxPyEndAllowThreads(__tstate
);
1949 if (PyErr_Occurred()) return NULL
;
1950 } Py_INCREF(Py_None
);
1951 _resultobj
= Py_None
;
1955 #define wxBitmap_GetSubBitmap(_swigobj,_swigarg0) (_swigobj->GetSubBitmap(_swigarg0))
1956 static PyObject
*_wrap_wxBitmap_GetSubBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1957 PyObject
* _resultobj
;
1961 PyObject
* _argo0
= 0;
1963 PyObject
* _obj1
= 0;
1964 char *_kwnames
[] = { "self","rect", NULL
};
1968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_GetSubBitmap",_kwnames
,&_argo0
,&_obj1
))
1971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetSubBitmap. Expected _wxBitmap_p.");
1979 if (! wxRect_helper(_obj1
, &_arg1
))
1983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1984 _result
= new wxBitmap (wxBitmap_GetSubBitmap(_arg0
,*_arg1
));
1986 wxPyEndAllowThreads(__tstate
);
1987 if (PyErr_Occurred()) return NULL
;
1988 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1989 _resultobj
= Py_BuildValue("s",_ptemp
);
1993 #define wxBitmap_CopyFromIcon(_swigobj,_swigarg0) (_swigobj->CopyFromIcon(_swigarg0))
1994 static PyObject
*_wrap_wxBitmap_CopyFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1995 PyObject
* _resultobj
;
1999 PyObject
* _argo0
= 0;
2000 PyObject
* _argo1
= 0;
2001 char *_kwnames
[] = { "self","icon", NULL
};
2004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_CopyFromIcon",_kwnames
,&_argo0
,&_argo1
))
2007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
2009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_CopyFromIcon. Expected _wxBitmap_p.");
2014 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2015 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
2016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_CopyFromIcon. Expected _wxIcon_p.");
2021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2022 _result
= (bool )wxBitmap_CopyFromIcon(_arg0
,*_arg1
);
2024 wxPyEndAllowThreads(__tstate
);
2025 if (PyErr_Occurred()) return NULL
;
2026 } _resultobj
= Py_BuildValue("i",_result
);
2030 static void *SwigwxMaskTowxObject(void *ptr
) {
2033 src
= (wxMask
*) ptr
;
2034 dest
= (wxObject
*) src
;
2035 return (void *) dest
;
2038 #define new_wxMask(_swigarg0) (new wxMask(_swigarg0))
2039 static PyObject
*_wrap_new_wxMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2040 PyObject
* _resultobj
;
2043 PyObject
* _argo0
= 0;
2044 char *_kwnames
[] = { "bitmap", NULL
};
2048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxMask",_kwnames
,&_argo0
))
2051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
2053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMask. Expected _wxBitmap_p.");
2058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2059 _result
= (wxMask
*)new_wxMask(*_arg0
);
2061 wxPyEndAllowThreads(__tstate
);
2062 if (PyErr_Occurred()) return NULL
;
2064 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
2065 _resultobj
= Py_BuildValue("s",_ptemp
);
2068 _resultobj
= Py_None
;
2073 static void wxMask_Destroy(wxMask
*self
) { delete self
; }
2074 static PyObject
*_wrap_wxMask_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2075 PyObject
* _resultobj
;
2077 PyObject
* _argo0
= 0;
2078 char *_kwnames
[] = { "self", NULL
};
2081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMask_Destroy",_kwnames
,&_argo0
))
2084 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2085 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMask_p")) {
2086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMask_Destroy. Expected _wxMask_p.");
2091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2092 wxMask_Destroy(_arg0
);
2094 wxPyEndAllowThreads(__tstate
);
2095 if (PyErr_Occurred()) return NULL
;
2096 } Py_INCREF(Py_None
);
2097 _resultobj
= Py_None
;
2101 static void *SwigwxIconTowxGDIObject(void *ptr
) {
2104 src
= (wxIcon
*) ptr
;
2105 dest
= (wxGDIObject
*) src
;
2106 return (void *) dest
;
2109 static void *SwigwxIconTowxObject(void *ptr
) {
2112 src
= (wxIcon
*) ptr
;
2113 dest
= (wxObject
*) src
;
2114 return (void *) dest
;
2117 #define new_wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2118 static PyObject
*_wrap_new_wxIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2119 PyObject
* _resultobj
;
2123 int _arg2
= (int ) -1;
2124 int _arg3
= (int ) -1;
2125 PyObject
* _obj0
= 0;
2126 char *_kwnames
[] = { "name","flags","desiredWidth","desiredHeight", NULL
};
2130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:new_wxIcon",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
))
2133 #if PYTHON_API_VERSION >= 1009
2134 char* tmpPtr
; int tmpSize
;
2135 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2136 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2139 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2141 _arg0
= new wxString(tmpPtr
, tmpSize
);
2143 if (!PyString_Check(_obj0
)) {
2144 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2147 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2152 _result
= (wxIcon
*)new_wxIcon(*_arg0
,_arg1
,_arg2
,_arg3
);
2154 wxPyEndAllowThreads(__tstate
);
2155 if (PyErr_Occurred()) return NULL
;
2157 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
2158 _resultobj
= Py_BuildValue("s",_ptemp
);
2161 _resultobj
= Py_None
;
2170 #define delete_wxIcon(_swigobj) (delete _swigobj)
2171 static PyObject
*_wrap_delete_wxIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2172 PyObject
* _resultobj
;
2174 PyObject
* _argo0
= 0;
2175 char *_kwnames
[] = { "self", NULL
};
2178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxIcon",_kwnames
,&_argo0
))
2181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxIcon. Expected _wxIcon_p.");
2188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2189 delete_wxIcon(_arg0
);
2191 wxPyEndAllowThreads(__tstate
);
2192 if (PyErr_Occurred()) return NULL
;
2193 } Py_INCREF(Py_None
);
2194 _resultobj
= Py_None
;
2198 #define wxIcon_Ok(_swigobj) (_swigobj->Ok())
2199 static PyObject
*_wrap_wxIcon_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2200 PyObject
* _resultobj
;
2203 PyObject
* _argo0
= 0;
2204 char *_kwnames
[] = { "self", NULL
};
2207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_Ok",_kwnames
,&_argo0
))
2210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_Ok. Expected _wxIcon_p.");
2217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2218 _result
= (bool )wxIcon_Ok(_arg0
);
2220 wxPyEndAllowThreads(__tstate
);
2221 if (PyErr_Occurred()) return NULL
;
2222 } _resultobj
= Py_BuildValue("i",_result
);
2226 #define wxIcon_GetWidth(_swigobj) (_swigobj->GetWidth())
2227 static PyObject
*_wrap_wxIcon_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2228 PyObject
* _resultobj
;
2231 PyObject
* _argo0
= 0;
2232 char *_kwnames
[] = { "self", NULL
};
2235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetWidth",_kwnames
,&_argo0
))
2238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetWidth. Expected _wxIcon_p.");
2245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2246 _result
= (int )wxIcon_GetWidth(_arg0
);
2248 wxPyEndAllowThreads(__tstate
);
2249 if (PyErr_Occurred()) return NULL
;
2250 } _resultobj
= Py_BuildValue("i",_result
);
2254 #define wxIcon_GetHeight(_swigobj) (_swigobj->GetHeight())
2255 static PyObject
*_wrap_wxIcon_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2256 PyObject
* _resultobj
;
2259 PyObject
* _argo0
= 0;
2260 char *_kwnames
[] = { "self", NULL
};
2263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetHeight",_kwnames
,&_argo0
))
2266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetHeight. Expected _wxIcon_p.");
2273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2274 _result
= (int )wxIcon_GetHeight(_arg0
);
2276 wxPyEndAllowThreads(__tstate
);
2277 if (PyErr_Occurred()) return NULL
;
2278 } _resultobj
= Py_BuildValue("i",_result
);
2282 #define wxIcon_GetDepth(_swigobj) (_swigobj->GetDepth())
2283 static PyObject
*_wrap_wxIcon_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2284 PyObject
* _resultobj
;
2287 PyObject
* _argo0
= 0;
2288 char *_kwnames
[] = { "self", NULL
};
2291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetDepth",_kwnames
,&_argo0
))
2294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetDepth. Expected _wxIcon_p.");
2301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2302 _result
= (int )wxIcon_GetDepth(_arg0
);
2304 wxPyEndAllowThreads(__tstate
);
2305 if (PyErr_Occurred()) return NULL
;
2306 } _resultobj
= Py_BuildValue("i",_result
);
2310 #define wxIcon_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2311 static PyObject
*_wrap_wxIcon_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2312 PyObject
* _resultobj
;
2315 PyObject
* _argo0
= 0;
2316 char *_kwnames
[] = { "self","w", NULL
};
2319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetWidth",_kwnames
,&_argo0
,&_arg1
))
2322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetWidth. Expected _wxIcon_p.");
2329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2330 wxIcon_SetWidth(_arg0
,_arg1
);
2332 wxPyEndAllowThreads(__tstate
);
2333 if (PyErr_Occurred()) return NULL
;
2334 } Py_INCREF(Py_None
);
2335 _resultobj
= Py_None
;
2339 #define wxIcon_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
2340 static PyObject
*_wrap_wxIcon_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2341 PyObject
* _resultobj
;
2344 PyObject
* _argo0
= 0;
2345 char *_kwnames
[] = { "self","h", NULL
};
2348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetHeight",_kwnames
,&_argo0
,&_arg1
))
2351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetHeight. Expected _wxIcon_p.");
2358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2359 wxIcon_SetHeight(_arg0
,_arg1
);
2361 wxPyEndAllowThreads(__tstate
);
2362 if (PyErr_Occurred()) return NULL
;
2363 } Py_INCREF(Py_None
);
2364 _resultobj
= Py_None
;
2368 #define wxIcon_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
2369 static PyObject
*_wrap_wxIcon_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2370 PyObject
* _resultobj
;
2373 PyObject
* _argo0
= 0;
2374 char *_kwnames
[] = { "self","d", NULL
};
2377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetDepth",_kwnames
,&_argo0
,&_arg1
))
2380 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2381 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetDepth. Expected _wxIcon_p.");
2387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2388 wxIcon_SetDepth(_arg0
,_arg1
);
2390 wxPyEndAllowThreads(__tstate
);
2391 if (PyErr_Occurred()) return NULL
;
2392 } Py_INCREF(Py_None
);
2393 _resultobj
= Py_None
;
2397 #define wxIcon_CopyFromBitmap(_swigobj,_swigarg0) (_swigobj->CopyFromBitmap(_swigarg0))
2398 static PyObject
*_wrap_wxIcon_CopyFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2399 PyObject
* _resultobj
;
2402 PyObject
* _argo0
= 0;
2403 PyObject
* _argo1
= 0;
2404 char *_kwnames
[] = { "self","bmp", NULL
};
2407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIcon_CopyFromBitmap",_kwnames
,&_argo0
,&_argo1
))
2410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_CopyFromBitmap. Expected _wxIcon_p.");
2417 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2418 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
2419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIcon_CopyFromBitmap. Expected _wxBitmap_p.");
2424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2425 wxIcon_CopyFromBitmap(_arg0
,*_arg1
);
2427 wxPyEndAllowThreads(__tstate
);
2428 if (PyErr_Occurred()) return NULL
;
2429 } Py_INCREF(Py_None
);
2430 _resultobj
= Py_None
;
2434 static void *SwigwxCursorTowxGDIObject(void *ptr
) {
2437 src
= (wxCursor
*) ptr
;
2438 dest
= (wxGDIObject
*) src
;
2439 return (void *) dest
;
2442 static void *SwigwxCursorTowxObject(void *ptr
) {
2445 src
= (wxCursor
*) ptr
;
2446 dest
= (wxObject
*) src
;
2447 return (void *) dest
;
2450 #define delete_wxCursor(_swigobj) (delete _swigobj)
2451 static PyObject
*_wrap_delete_wxCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2452 PyObject
* _resultobj
;
2454 PyObject
* _argo0
= 0;
2455 char *_kwnames
[] = { "self", NULL
};
2458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCursor",_kwnames
,&_argo0
))
2461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCursor. Expected _wxCursor_p.");
2468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2469 delete_wxCursor(_arg0
);
2471 wxPyEndAllowThreads(__tstate
);
2472 if (PyErr_Occurred()) return NULL
;
2473 } Py_INCREF(Py_None
);
2474 _resultobj
= Py_None
;
2478 #define wxCursor_Ok(_swigobj) (_swigobj->Ok())
2479 static PyObject
*_wrap_wxCursor_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2480 PyObject
* _resultobj
;
2483 PyObject
* _argo0
= 0;
2484 char *_kwnames
[] = { "self", NULL
};
2487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCursor_Ok",_kwnames
,&_argo0
))
2490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_Ok. Expected _wxCursor_p.");
2497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2498 _result
= (bool )wxCursor_Ok(_arg0
);
2500 wxPyEndAllowThreads(__tstate
);
2501 if (PyErr_Occurred()) return NULL
;
2502 } _resultobj
= Py_BuildValue("i",_result
);
2506 #define new_wxNativeFontInfo() (new wxNativeFontInfo())
2507 static PyObject
*_wrap_new_wxNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2508 PyObject
* _resultobj
;
2509 wxNativeFontInfo
* _result
;
2510 char *_kwnames
[] = { NULL
};
2514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxNativeFontInfo",_kwnames
))
2517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2518 _result
= (wxNativeFontInfo
*)new_wxNativeFontInfo();
2520 wxPyEndAllowThreads(__tstate
);
2521 if (PyErr_Occurred()) return NULL
;
2523 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNativeFontInfo_p");
2524 _resultobj
= Py_BuildValue("s",_ptemp
);
2527 _resultobj
= Py_None
;
2532 #define wxNativeFontInfo_Init(_swigobj) (_swigobj->Init())
2533 static PyObject
*_wrap_wxNativeFontInfo_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2534 PyObject
* _resultobj
;
2535 wxNativeFontInfo
* _arg0
;
2536 PyObject
* _argo0
= 0;
2537 char *_kwnames
[] = { "self", NULL
};
2540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_Init",_kwnames
,&_argo0
))
2543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_Init. Expected _wxNativeFontInfo_p.");
2550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2551 wxNativeFontInfo_Init(_arg0
);
2553 wxPyEndAllowThreads(__tstate
);
2554 if (PyErr_Occurred()) return NULL
;
2555 } Py_INCREF(Py_None
);
2556 _resultobj
= Py_None
;
2560 #define wxNativeFontInfo_GetPointSize(_swigobj) (_swigobj->GetPointSize())
2561 static PyObject
*_wrap_wxNativeFontInfo_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2562 PyObject
* _resultobj
;
2564 wxNativeFontInfo
* _arg0
;
2565 PyObject
* _argo0
= 0;
2566 char *_kwnames
[] = { "self", NULL
};
2569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetPointSize",_kwnames
,&_argo0
))
2572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetPointSize. Expected _wxNativeFontInfo_p.");
2579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2580 _result
= (int )wxNativeFontInfo_GetPointSize(_arg0
);
2582 wxPyEndAllowThreads(__tstate
);
2583 if (PyErr_Occurred()) return NULL
;
2584 } _resultobj
= Py_BuildValue("i",_result
);
2588 #define wxNativeFontInfo_GetStyle(_swigobj) (_swigobj->GetStyle())
2589 static PyObject
*_wrap_wxNativeFontInfo_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2590 PyObject
* _resultobj
;
2591 wxFontStyle _result
;
2592 wxNativeFontInfo
* _arg0
;
2593 PyObject
* _argo0
= 0;
2594 char *_kwnames
[] = { "self", NULL
};
2597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetStyle",_kwnames
,&_argo0
))
2600 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2601 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetStyle. Expected _wxNativeFontInfo_p.");
2607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2608 _result
= (wxFontStyle
)wxNativeFontInfo_GetStyle(_arg0
);
2610 wxPyEndAllowThreads(__tstate
);
2611 if (PyErr_Occurred()) return NULL
;
2612 } _resultobj
= Py_BuildValue("i",_result
);
2616 #define wxNativeFontInfo_GetWeight(_swigobj) (_swigobj->GetWeight())
2617 static PyObject
*_wrap_wxNativeFontInfo_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2618 PyObject
* _resultobj
;
2619 wxFontWeight _result
;
2620 wxNativeFontInfo
* _arg0
;
2621 PyObject
* _argo0
= 0;
2622 char *_kwnames
[] = { "self", NULL
};
2625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetWeight",_kwnames
,&_argo0
))
2628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetWeight. Expected _wxNativeFontInfo_p.");
2635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2636 _result
= (wxFontWeight
)wxNativeFontInfo_GetWeight(_arg0
);
2638 wxPyEndAllowThreads(__tstate
);
2639 if (PyErr_Occurred()) return NULL
;
2640 } _resultobj
= Py_BuildValue("i",_result
);
2644 #define wxNativeFontInfo_GetUnderlined(_swigobj) (_swigobj->GetUnderlined())
2645 static PyObject
*_wrap_wxNativeFontInfo_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2646 PyObject
* _resultobj
;
2648 wxNativeFontInfo
* _arg0
;
2649 PyObject
* _argo0
= 0;
2650 char *_kwnames
[] = { "self", NULL
};
2653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetUnderlined",_kwnames
,&_argo0
))
2656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetUnderlined. Expected _wxNativeFontInfo_p.");
2663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2664 _result
= (bool )wxNativeFontInfo_GetUnderlined(_arg0
);
2666 wxPyEndAllowThreads(__tstate
);
2667 if (PyErr_Occurred()) return NULL
;
2668 } _resultobj
= Py_BuildValue("i",_result
);
2672 #define wxNativeFontInfo_GetFaceName(_swigobj) (_swigobj->GetFaceName())
2673 static PyObject
*_wrap_wxNativeFontInfo_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2674 PyObject
* _resultobj
;
2676 wxNativeFontInfo
* _arg0
;
2677 PyObject
* _argo0
= 0;
2678 char *_kwnames
[] = { "self", NULL
};
2681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetFaceName",_kwnames
,&_argo0
))
2684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetFaceName. Expected _wxNativeFontInfo_p.");
2691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2692 _result
= new wxString (wxNativeFontInfo_GetFaceName(_arg0
));
2694 wxPyEndAllowThreads(__tstate
);
2695 if (PyErr_Occurred()) return NULL
;
2697 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2705 #define wxNativeFontInfo_GetFamily(_swigobj) (_swigobj->GetFamily())
2706 static PyObject
*_wrap_wxNativeFontInfo_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2707 PyObject
* _resultobj
;
2708 wxFontFamily _result
;
2709 wxNativeFontInfo
* _arg0
;
2710 PyObject
* _argo0
= 0;
2711 char *_kwnames
[] = { "self", NULL
};
2714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetFamily",_kwnames
,&_argo0
))
2717 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2718 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetFamily. Expected _wxNativeFontInfo_p.");
2724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2725 _result
= (wxFontFamily
)wxNativeFontInfo_GetFamily(_arg0
);
2727 wxPyEndAllowThreads(__tstate
);
2728 if (PyErr_Occurred()) return NULL
;
2729 } _resultobj
= Py_BuildValue("i",_result
);
2733 #define wxNativeFontInfo_GetEncoding(_swigobj) (_swigobj->GetEncoding())
2734 static PyObject
*_wrap_wxNativeFontInfo_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2735 PyObject
* _resultobj
;
2736 wxFontEncoding _result
;
2737 wxNativeFontInfo
* _arg0
;
2738 PyObject
* _argo0
= 0;
2739 char *_kwnames
[] = { "self", NULL
};
2742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetEncoding",_kwnames
,&_argo0
))
2745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetEncoding. Expected _wxNativeFontInfo_p.");
2752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2753 _result
= (wxFontEncoding
)wxNativeFontInfo_GetEncoding(_arg0
);
2755 wxPyEndAllowThreads(__tstate
);
2756 if (PyErr_Occurred()) return NULL
;
2757 } _resultobj
= Py_BuildValue("i",_result
);
2761 #define wxNativeFontInfo_SetPointSize(_swigobj,_swigarg0) (_swigobj->SetPointSize(_swigarg0))
2762 static PyObject
*_wrap_wxNativeFontInfo_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2763 PyObject
* _resultobj
;
2764 wxNativeFontInfo
* _arg0
;
2766 PyObject
* _argo0
= 0;
2767 char *_kwnames
[] = { "self","pointsize", NULL
};
2770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNativeFontInfo_SetPointSize",_kwnames
,&_argo0
,&_arg1
))
2773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetPointSize. Expected _wxNativeFontInfo_p.");
2780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2781 wxNativeFontInfo_SetPointSize(_arg0
,_arg1
);
2783 wxPyEndAllowThreads(__tstate
);
2784 if (PyErr_Occurred()) return NULL
;
2785 } Py_INCREF(Py_None
);
2786 _resultobj
= Py_None
;
2790 #define wxNativeFontInfo_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
2791 static PyObject
*_wrap_wxNativeFontInfo_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2792 PyObject
* _resultobj
;
2793 wxNativeFontInfo
* _arg0
;
2795 PyObject
* _argo0
= 0;
2796 char *_kwnames
[] = { "self","style", NULL
};
2799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNativeFontInfo_SetStyle",_kwnames
,&_argo0
,&_arg1
))
2802 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2803 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetStyle. Expected _wxNativeFontInfo_p.");
2809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2810 wxNativeFontInfo_SetStyle(_arg0
,_arg1
);
2812 wxPyEndAllowThreads(__tstate
);
2813 if (PyErr_Occurred()) return NULL
;
2814 } Py_INCREF(Py_None
);
2815 _resultobj
= Py_None
;
2819 #define wxNativeFontInfo_SetWeight(_swigobj,_swigarg0) (_swigobj->SetWeight(_swigarg0))
2820 static PyObject
*_wrap_wxNativeFontInfo_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2821 PyObject
* _resultobj
;
2822 wxNativeFontInfo
* _arg0
;
2824 PyObject
* _argo0
= 0;
2825 char *_kwnames
[] = { "self","weight", NULL
};
2828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNativeFontInfo_SetWeight",_kwnames
,&_argo0
,&_arg1
))
2831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetWeight. Expected _wxNativeFontInfo_p.");
2838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2839 wxNativeFontInfo_SetWeight(_arg0
,_arg1
);
2841 wxPyEndAllowThreads(__tstate
);
2842 if (PyErr_Occurred()) return NULL
;
2843 } Py_INCREF(Py_None
);
2844 _resultobj
= Py_None
;
2848 #define wxNativeFontInfo_SetUnderlined(_swigobj,_swigarg0) (_swigobj->SetUnderlined(_swigarg0))
2849 static PyObject
*_wrap_wxNativeFontInfo_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2850 PyObject
* _resultobj
;
2851 wxNativeFontInfo
* _arg0
;
2853 PyObject
* _argo0
= 0;
2855 char *_kwnames
[] = { "self","underlined", NULL
};
2858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNativeFontInfo_SetUnderlined",_kwnames
,&_argo0
,&tempbool1
))
2861 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2862 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetUnderlined. Expected _wxNativeFontInfo_p.");
2867 _arg1
= (bool ) tempbool1
;
2869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2870 wxNativeFontInfo_SetUnderlined(_arg0
,_arg1
);
2872 wxPyEndAllowThreads(__tstate
);
2873 if (PyErr_Occurred()) return NULL
;
2874 } Py_INCREF(Py_None
);
2875 _resultobj
= Py_None
;
2879 #define wxNativeFontInfo_SetFaceName(_swigobj,_swigarg0) (_swigobj->SetFaceName(_swigarg0))
2880 static PyObject
*_wrap_wxNativeFontInfo_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2881 PyObject
* _resultobj
;
2882 wxNativeFontInfo
* _arg0
;
2884 PyObject
* _argo0
= 0;
2885 PyObject
* _obj1
= 0;
2886 char *_kwnames
[] = { "self","facename", NULL
};
2889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNativeFontInfo_SetFaceName",_kwnames
,&_argo0
,&_obj1
))
2892 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2893 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetFaceName. Expected _wxNativeFontInfo_p.");
2899 #if PYTHON_API_VERSION >= 1009
2900 char* tmpPtr
; int tmpSize
;
2901 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2902 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2905 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2907 _arg1
= new wxString(tmpPtr
, tmpSize
);
2909 if (!PyString_Check(_obj1
)) {
2910 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2913 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2918 wxNativeFontInfo_SetFaceName(_arg0
,*_arg1
);
2920 wxPyEndAllowThreads(__tstate
);
2921 if (PyErr_Occurred()) return NULL
;
2922 } Py_INCREF(Py_None
);
2923 _resultobj
= Py_None
;
2931 #define wxNativeFontInfo_SetFamily(_swigobj,_swigarg0) (_swigobj->SetFamily(_swigarg0))
2932 static PyObject
*_wrap_wxNativeFontInfo_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2933 PyObject
* _resultobj
;
2934 wxNativeFontInfo
* _arg0
;
2936 PyObject
* _argo0
= 0;
2937 char *_kwnames
[] = { "self","family", NULL
};
2940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNativeFontInfo_SetFamily",_kwnames
,&_argo0
,&_arg1
))
2943 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2944 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetFamily. Expected _wxNativeFontInfo_p.");
2950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2951 wxNativeFontInfo_SetFamily(_arg0
,_arg1
);
2953 wxPyEndAllowThreads(__tstate
);
2954 if (PyErr_Occurred()) return NULL
;
2955 } Py_INCREF(Py_None
);
2956 _resultobj
= Py_None
;
2960 #define wxNativeFontInfo_SetEncoding(_swigobj,_swigarg0) (_swigobj->SetEncoding(_swigarg0))
2961 static PyObject
*_wrap_wxNativeFontInfo_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2962 PyObject
* _resultobj
;
2963 wxNativeFontInfo
* _arg0
;
2964 wxFontEncoding _arg1
;
2965 PyObject
* _argo0
= 0;
2966 char *_kwnames
[] = { "self","encoding", NULL
};
2969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNativeFontInfo_SetEncoding",_kwnames
,&_argo0
,&_arg1
))
2972 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2973 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
2974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetEncoding. Expected _wxNativeFontInfo_p.");
2979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2980 wxNativeFontInfo_SetEncoding(_arg0
,_arg1
);
2982 wxPyEndAllowThreads(__tstate
);
2983 if (PyErr_Occurred()) return NULL
;
2984 } Py_INCREF(Py_None
);
2985 _resultobj
= Py_None
;
2989 #define wxNativeFontInfo_FromString(_swigobj,_swigarg0) (_swigobj->FromString(_swigarg0))
2990 static PyObject
*_wrap_wxNativeFontInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2991 PyObject
* _resultobj
;
2993 wxNativeFontInfo
* _arg0
;
2995 PyObject
* _argo0
= 0;
2996 PyObject
* _obj1
= 0;
2997 char *_kwnames
[] = { "self","s", NULL
};
3000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNativeFontInfo_FromString",_kwnames
,&_argo0
,&_obj1
))
3003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_FromString. Expected _wxNativeFontInfo_p.");
3010 #if PYTHON_API_VERSION >= 1009
3011 char* tmpPtr
; int tmpSize
;
3012 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3013 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3016 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3018 _arg1
= new wxString(tmpPtr
, tmpSize
);
3020 if (!PyString_Check(_obj1
)) {
3021 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3024 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3029 _result
= (bool )wxNativeFontInfo_FromString(_arg0
,*_arg1
);
3031 wxPyEndAllowThreads(__tstate
);
3032 if (PyErr_Occurred()) return NULL
;
3033 } _resultobj
= Py_BuildValue("i",_result
);
3041 #define wxNativeFontInfo_ToString(_swigobj) (_swigobj->ToString())
3042 static PyObject
*_wrap_wxNativeFontInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3043 PyObject
* _resultobj
;
3045 wxNativeFontInfo
* _arg0
;
3046 PyObject
* _argo0
= 0;
3047 char *_kwnames
[] = { "self", NULL
};
3050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_ToString",_kwnames
,&_argo0
))
3053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_ToString. Expected _wxNativeFontInfo_p.");
3060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3061 _result
= new wxString (wxNativeFontInfo_ToString(_arg0
));
3063 wxPyEndAllowThreads(__tstate
);
3064 if (PyErr_Occurred()) return NULL
;
3066 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3074 static wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
) {
3075 return self
->ToString();
3077 static PyObject
*_wrap_wxNativeFontInfo___str__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3078 PyObject
* _resultobj
;
3080 wxNativeFontInfo
* _arg0
;
3081 PyObject
* _argo0
= 0;
3082 char *_kwnames
[] = { "self", NULL
};
3085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo___str__",_kwnames
,&_argo0
))
3088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo___str__. Expected _wxNativeFontInfo_p.");
3095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3096 _result
= new wxString (wxNativeFontInfo___str__(_arg0
));
3098 wxPyEndAllowThreads(__tstate
);
3099 if (PyErr_Occurred()) return NULL
;
3101 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3109 #define wxNativeFontInfo_FromUserString(_swigobj,_swigarg0) (_swigobj->FromUserString(_swigarg0))
3110 static PyObject
*_wrap_wxNativeFontInfo_FromUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3111 PyObject
* _resultobj
;
3113 wxNativeFontInfo
* _arg0
;
3115 PyObject
* _argo0
= 0;
3116 PyObject
* _obj1
= 0;
3117 char *_kwnames
[] = { "self","s", NULL
};
3120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNativeFontInfo_FromUserString",_kwnames
,&_argo0
,&_obj1
))
3123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_FromUserString. Expected _wxNativeFontInfo_p.");
3130 #if PYTHON_API_VERSION >= 1009
3131 char* tmpPtr
; int tmpSize
;
3132 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3133 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3136 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3138 _arg1
= new wxString(tmpPtr
, tmpSize
);
3140 if (!PyString_Check(_obj1
)) {
3141 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3144 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3149 _result
= (bool )wxNativeFontInfo_FromUserString(_arg0
,*_arg1
);
3151 wxPyEndAllowThreads(__tstate
);
3152 if (PyErr_Occurred()) return NULL
;
3153 } _resultobj
= Py_BuildValue("i",_result
);
3161 #define wxNativeFontInfo_ToUserString(_swigobj) (_swigobj->ToUserString())
3162 static PyObject
*_wrap_wxNativeFontInfo_ToUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3163 PyObject
* _resultobj
;
3165 wxNativeFontInfo
* _arg0
;
3166 PyObject
* _argo0
= 0;
3167 char *_kwnames
[] = { "self", NULL
};
3170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_ToUserString",_kwnames
,&_argo0
))
3173 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3174 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_ToUserString. Expected _wxNativeFontInfo_p.");
3180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3181 _result
= new wxString (wxNativeFontInfo_ToUserString(_arg0
));
3183 wxPyEndAllowThreads(__tstate
);
3184 if (PyErr_Occurred()) return NULL
;
3186 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3194 #define new_wxFontMapper() (new wxFontMapper())
3195 static PyObject
*_wrap_new_wxFontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3196 PyObject
* _resultobj
;
3197 wxFontMapper
* _result
;
3198 char *_kwnames
[] = { NULL
};
3202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFontMapper",_kwnames
))
3205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3206 _result
= (wxFontMapper
*)new_wxFontMapper();
3208 wxPyEndAllowThreads(__tstate
);
3209 if (PyErr_Occurred()) return NULL
;
3211 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFontMapper_p");
3212 _resultobj
= Py_BuildValue("s",_ptemp
);
3215 _resultobj
= Py_None
;
3220 #define delete_wxFontMapper(_swigobj) (delete _swigobj)
3221 static PyObject
*_wrap_delete_wxFontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3222 PyObject
* _resultobj
;
3223 wxFontMapper
* _arg0
;
3224 PyObject
* _argo0
= 0;
3225 char *_kwnames
[] = { "self", NULL
};
3228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFontMapper",_kwnames
,&_argo0
))
3231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
3233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontMapper. Expected _wxFontMapper_p.");
3238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3239 delete_wxFontMapper(_arg0
);
3241 wxPyEndAllowThreads(__tstate
);
3242 if (PyErr_Occurred()) return NULL
;
3243 } Py_INCREF(Py_None
);
3244 _resultobj
= Py_None
;
3248 static PyObject
* wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,const wxString
& facename
,bool interactive
) {
3249 wxFontEncoding alt_enc
;
3250 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3251 return PyInt_FromLong(alt_enc
);
3257 static PyObject
*_wrap_wxFontMapper_GetAltForEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3258 PyObject
* _resultobj
;
3260 wxFontMapper
* _arg0
;
3261 wxFontEncoding _arg1
;
3262 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
3263 bool _arg3
= (bool ) TRUE
;
3264 PyObject
* _argo0
= 0;
3265 PyObject
* _obj2
= 0;
3266 int tempbool3
= (int) TRUE
;
3267 char *_kwnames
[] = { "self","encoding","facename","interactive", NULL
};
3270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|Oi:wxFontMapper_GetAltForEncoding",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&tempbool3
))
3273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
3275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_GetAltForEncoding. Expected _wxFontMapper_p.");
3281 #if PYTHON_API_VERSION >= 1009
3282 char* tmpPtr
; int tmpSize
;
3283 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
3284 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3287 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
3289 _arg2
= new wxString(tmpPtr
, tmpSize
);
3291 if (!PyString_Check(_obj2
)) {
3292 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3295 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
3298 _arg3
= (bool ) tempbool3
;
3300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3301 _result
= (PyObject
*)wxFontMapper_GetAltForEncoding(_arg0
,_arg1
,*_arg2
,_arg3
);
3303 wxPyEndAllowThreads(__tstate
);
3304 if (PyErr_Occurred()) return NULL
;
3306 _resultobj
= _result
;
3315 #define wxFontMapper_IsEncodingAvailable(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEncodingAvailable(_swigarg0,_swigarg1))
3316 static PyObject
*_wrap_wxFontMapper_IsEncodingAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3317 PyObject
* _resultobj
;
3319 wxFontMapper
* _arg0
;
3320 wxFontEncoding _arg1
;
3321 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
3322 PyObject
* _argo0
= 0;
3323 PyObject
* _obj2
= 0;
3324 char *_kwnames
[] = { "self","encoding","facename", NULL
};
3327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|O:wxFontMapper_IsEncodingAvailable",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
3332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_IsEncodingAvailable. Expected _wxFontMapper_p.");
3338 #if PYTHON_API_VERSION >= 1009
3339 char* tmpPtr
; int tmpSize
;
3340 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
3341 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3344 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
3346 _arg2
= new wxString(tmpPtr
, tmpSize
);
3348 if (!PyString_Check(_obj2
)) {
3349 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3352 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
3356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3357 _result
= (bool )wxFontMapper_IsEncodingAvailable(_arg0
,_arg1
,*_arg2
);
3359 wxPyEndAllowThreads(__tstate
);
3360 if (PyErr_Occurred()) return NULL
;
3361 } _resultobj
= Py_BuildValue("i",_result
);
3369 #define wxFontMapper_CharsetToEncoding(_swigobj,_swigarg0,_swigarg1) (_swigobj->CharsetToEncoding(_swigarg0,_swigarg1))
3370 static PyObject
*_wrap_wxFontMapper_CharsetToEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3371 PyObject
* _resultobj
;
3372 wxFontEncoding _result
;
3373 wxFontMapper
* _arg0
;
3375 bool _arg2
= (bool ) TRUE
;
3376 PyObject
* _argo0
= 0;
3377 PyObject
* _obj1
= 0;
3378 int tempbool2
= (int) TRUE
;
3379 char *_kwnames
[] = { "self","charset","interactive", NULL
};
3382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFontMapper_CharsetToEncoding",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
3385 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3386 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
3387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_CharsetToEncoding. Expected _wxFontMapper_p.");
3392 #if PYTHON_API_VERSION >= 1009
3393 char* tmpPtr
; int tmpSize
;
3394 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3395 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3398 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3400 _arg1
= new wxString(tmpPtr
, tmpSize
);
3402 if (!PyString_Check(_obj1
)) {
3403 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3406 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3409 _arg2
= (bool ) tempbool2
;
3411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3412 _result
= (wxFontEncoding
)wxFontMapper_CharsetToEncoding(_arg0
,*_arg1
,_arg2
);
3414 wxPyEndAllowThreads(__tstate
);
3415 if (PyErr_Occurred()) return NULL
;
3416 } _resultobj
= Py_BuildValue("i",_result
);
3424 static PyObject
*_wrap_wxFontMapper_GetEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3425 PyObject
* _resultobj
;
3427 wxFontEncoding _arg0
;
3428 char *_kwnames
[] = { "encoding", NULL
};
3431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxFontMapper_GetEncodingName",_kwnames
,&_arg0
))
3434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3435 _result
= new wxString (wxFontMapper::GetEncodingName(_arg0
));
3437 wxPyEndAllowThreads(__tstate
);
3438 if (PyErr_Occurred()) return NULL
;
3440 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3448 static PyObject
*_wrap_wxFontMapper_GetEncodingDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3449 PyObject
* _resultobj
;
3451 wxFontEncoding _arg0
;
3452 char *_kwnames
[] = { "encoding", NULL
};
3455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxFontMapper_GetEncodingDescription",_kwnames
,&_arg0
))
3458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3459 _result
= new wxString (wxFontMapper::GetEncodingDescription(_arg0
));
3461 wxPyEndAllowThreads(__tstate
);
3462 if (PyErr_Occurred()) return NULL
;
3464 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3472 #define wxFontMapper_SetDialogParent(_swigobj,_swigarg0) (_swigobj->SetDialogParent(_swigarg0))
3473 static PyObject
*_wrap_wxFontMapper_SetDialogParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3474 PyObject
* _resultobj
;
3475 wxFontMapper
* _arg0
;
3477 PyObject
* _argo0
= 0;
3478 PyObject
* _argo1
= 0;
3479 char *_kwnames
[] = { "self","parent", NULL
};
3482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontMapper_SetDialogParent",_kwnames
,&_argo0
,&_argo1
))
3485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
3487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_SetDialogParent. Expected _wxFontMapper_p.");
3492 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3493 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontMapper_SetDialogParent. Expected _wxWindow_p.");
3499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3500 wxFontMapper_SetDialogParent(_arg0
,_arg1
);
3502 wxPyEndAllowThreads(__tstate
);
3503 if (PyErr_Occurred()) return NULL
;
3504 } Py_INCREF(Py_None
);
3505 _resultobj
= Py_None
;
3509 #define wxFontMapper_SetDialogTitle(_swigobj,_swigarg0) (_swigobj->SetDialogTitle(_swigarg0))
3510 static PyObject
*_wrap_wxFontMapper_SetDialogTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3511 PyObject
* _resultobj
;
3512 wxFontMapper
* _arg0
;
3514 PyObject
* _argo0
= 0;
3515 PyObject
* _obj1
= 0;
3516 char *_kwnames
[] = { "self","title", NULL
};
3519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontMapper_SetDialogTitle",_kwnames
,&_argo0
,&_obj1
))
3522 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3523 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
3524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_SetDialogTitle. Expected _wxFontMapper_p.");
3529 #if PYTHON_API_VERSION >= 1009
3530 char* tmpPtr
; int tmpSize
;
3531 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3532 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3535 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3537 _arg1
= new wxString(tmpPtr
, tmpSize
);
3539 if (!PyString_Check(_obj1
)) {
3540 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3543 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3548 wxFontMapper_SetDialogTitle(_arg0
,*_arg1
);
3550 wxPyEndAllowThreads(__tstate
);
3551 if (PyErr_Occurred()) return NULL
;
3552 } Py_INCREF(Py_None
);
3553 _resultobj
= Py_None
;
3561 #define wxFontMapper_SetConfig(_swigobj,_swigarg0) (_swigobj->SetConfig(_swigarg0))
3562 static PyObject
*_wrap_wxFontMapper_SetConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3563 PyObject
* _resultobj
;
3564 wxFontMapper
* _arg0
;
3565 wxConfigBase
* _arg1
;
3566 PyObject
* _argo0
= 0;
3567 PyObject
* _argo1
= 0;
3568 char *_kwnames
[] = { "self","config", NULL
};
3571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontMapper_SetConfig",_kwnames
,&_argo0
,&_argo1
))
3574 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3575 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
3576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_SetConfig. Expected _wxFontMapper_p.");
3581 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3582 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
3583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontMapper_SetConfig. Expected _wxConfigBase_p.");
3588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3589 wxFontMapper_SetConfig(_arg0
,_arg1
);
3591 wxPyEndAllowThreads(__tstate
);
3592 if (PyErr_Occurred()) return NULL
;
3593 } Py_INCREF(Py_None
);
3594 _resultobj
= Py_None
;
3598 #define wxFontMapper_SetConfigPath(_swigobj,_swigarg0) (_swigobj->SetConfigPath(_swigarg0))
3599 static PyObject
*_wrap_wxFontMapper_SetConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3600 PyObject
* _resultobj
;
3601 wxFontMapper
* _arg0
;
3603 PyObject
* _argo0
= 0;
3604 PyObject
* _obj1
= 0;
3605 char *_kwnames
[] = { "self","prefix", NULL
};
3608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontMapper_SetConfigPath",_kwnames
,&_argo0
,&_obj1
))
3611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
3613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_SetConfigPath. Expected _wxFontMapper_p.");
3618 #if PYTHON_API_VERSION >= 1009
3619 char* tmpPtr
; int tmpSize
;
3620 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3621 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3624 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3626 _arg1
= new wxString(tmpPtr
, tmpSize
);
3628 if (!PyString_Check(_obj1
)) {
3629 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3632 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3637 wxFontMapper_SetConfigPath(_arg0
,*_arg1
);
3639 wxPyEndAllowThreads(__tstate
);
3640 if (PyErr_Occurred()) return NULL
;
3641 } Py_INCREF(Py_None
);
3642 _resultobj
= Py_None
;
3650 static PyObject
*_wrap_wxFontMapper_GetDefaultConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3651 PyObject
* _resultobj
;
3653 char *_kwnames
[] = { NULL
};
3656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFontMapper_GetDefaultConfigPath",_kwnames
))
3659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3660 _result
= (wxChar
*)wxFontMapper::GetDefaultConfigPath();
3662 wxPyEndAllowThreads(__tstate
);
3663 if (PyErr_Occurred()) return NULL
;
3664 } _resultobj
= Py_BuildValue("s", _result
);
3668 static void *SwigwxFontTowxGDIObject(void *ptr
) {
3671 src
= (wxFont
*) ptr
;
3672 dest
= (wxGDIObject
*) src
;
3673 return (void *) dest
;
3676 static void *SwigwxFontTowxObject(void *ptr
) {
3679 src
= (wxFont
*) ptr
;
3680 dest
= (wxObject
*) src
;
3681 return (void *) dest
;
3684 #define new_wxFont(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFont(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3685 static PyObject
*_wrap_new_wxFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3686 PyObject
* _resultobj
;
3692 int _arg4
= (int ) FALSE
;
3693 char * _arg5
= (char *) "";
3694 wxFontEncoding _arg6
= (wxFontEncoding
) (wxFONTENCODING_DEFAULT
);
3695 char *_kwnames
[] = { "pointSize","family","style","weight","underline","faceName","encoding", NULL
};
3699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiii|isi:new_wxFont",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
3702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3703 _result
= (wxFont
*)new_wxFont(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
3705 wxPyEndAllowThreads(__tstate
);
3706 if (PyErr_Occurred()) return NULL
;
3708 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
3709 _resultobj
= Py_BuildValue("s",_ptemp
);
3712 _resultobj
= Py_None
;
3717 #define new_wxFontFromNativeInfo(_swigarg0) (new wxFont(_swigarg0))
3718 static PyObject
*_wrap_new_wxFontFromNativeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3719 PyObject
* _resultobj
;
3721 wxNativeFontInfo
* _arg0
;
3722 PyObject
* _argo0
= 0;
3723 char *_kwnames
[] = { "info", NULL
};
3727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFontFromNativeInfo",_kwnames
,&_argo0
))
3730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFontFromNativeInfo. Expected _wxNativeFontInfo_p.");
3737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3738 _result
= (wxFont
*)new_wxFontFromNativeInfo(*_arg0
);
3740 wxPyEndAllowThreads(__tstate
);
3741 if (PyErr_Occurred()) return NULL
;
3743 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
3744 _resultobj
= Py_BuildValue("s",_ptemp
);
3747 _resultobj
= Py_None
;
3752 #define delete_wxFont(_swigobj) (delete _swigobj)
3753 static PyObject
*_wrap_delete_wxFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3754 PyObject
* _resultobj
;
3756 PyObject
* _argo0
= 0;
3757 char *_kwnames
[] = { "self", NULL
};
3760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFont",_kwnames
,&_argo0
))
3763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFont. Expected _wxFont_p.");
3770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3771 delete_wxFont(_arg0
);
3773 wxPyEndAllowThreads(__tstate
);
3774 if (PyErr_Occurred()) return NULL
;
3775 } Py_INCREF(Py_None
);
3776 _resultobj
= Py_None
;
3780 #define wxFont_Ok(_swigobj) (_swigobj->Ok())
3781 static PyObject
*_wrap_wxFont_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3782 PyObject
* _resultobj
;
3785 PyObject
* _argo0
= 0;
3786 char *_kwnames
[] = { "self", NULL
};
3789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_Ok",_kwnames
,&_argo0
))
3792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_Ok. Expected _wxFont_p.");
3799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3800 _result
= (bool )wxFont_Ok(_arg0
);
3802 wxPyEndAllowThreads(__tstate
);
3803 if (PyErr_Occurred()) return NULL
;
3804 } _resultobj
= Py_BuildValue("i",_result
);
3808 #define wxFont_GetPointSize(_swigobj) (_swigobj->GetPointSize())
3809 static PyObject
*_wrap_wxFont_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3810 PyObject
* _resultobj
;
3813 PyObject
* _argo0
= 0;
3814 char *_kwnames
[] = { "self", NULL
};
3817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetPointSize",_kwnames
,&_argo0
))
3820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetPointSize. Expected _wxFont_p.");
3827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3828 _result
= (int )wxFont_GetPointSize(_arg0
);
3830 wxPyEndAllowThreads(__tstate
);
3831 if (PyErr_Occurred()) return NULL
;
3832 } _resultobj
= Py_BuildValue("i",_result
);
3836 #define wxFont_GetFamily(_swigobj) (_swigobj->GetFamily())
3837 static PyObject
*_wrap_wxFont_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3838 PyObject
* _resultobj
;
3841 PyObject
* _argo0
= 0;
3842 char *_kwnames
[] = { "self", NULL
};
3845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFamily",_kwnames
,&_argo0
))
3848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFamily. Expected _wxFont_p.");
3855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3856 _result
= (int )wxFont_GetFamily(_arg0
);
3858 wxPyEndAllowThreads(__tstate
);
3859 if (PyErr_Occurred()) return NULL
;
3860 } _resultobj
= Py_BuildValue("i",_result
);
3864 #define wxFont_GetStyle(_swigobj) (_swigobj->GetStyle())
3865 static PyObject
*_wrap_wxFont_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3866 PyObject
* _resultobj
;
3869 PyObject
* _argo0
= 0;
3870 char *_kwnames
[] = { "self", NULL
};
3873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetStyle",_kwnames
,&_argo0
))
3876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetStyle. Expected _wxFont_p.");
3883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3884 _result
= (int )wxFont_GetStyle(_arg0
);
3886 wxPyEndAllowThreads(__tstate
);
3887 if (PyErr_Occurred()) return NULL
;
3888 } _resultobj
= Py_BuildValue("i",_result
);
3892 #define wxFont_GetWeight(_swigobj) (_swigobj->GetWeight())
3893 static PyObject
*_wrap_wxFont_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3894 PyObject
* _resultobj
;
3897 PyObject
* _argo0
= 0;
3898 char *_kwnames
[] = { "self", NULL
};
3901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetWeight",_kwnames
,&_argo0
))
3904 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3905 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetWeight. Expected _wxFont_p.");
3911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3912 _result
= (int )wxFont_GetWeight(_arg0
);
3914 wxPyEndAllowThreads(__tstate
);
3915 if (PyErr_Occurred()) return NULL
;
3916 } _resultobj
= Py_BuildValue("i",_result
);
3920 #define wxFont_GetUnderlined(_swigobj) (_swigobj->GetUnderlined())
3921 static PyObject
*_wrap_wxFont_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3922 PyObject
* _resultobj
;
3925 PyObject
* _argo0
= 0;
3926 char *_kwnames
[] = { "self", NULL
};
3929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetUnderlined",_kwnames
,&_argo0
))
3932 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3933 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetUnderlined. Expected _wxFont_p.");
3939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3940 _result
= (bool )wxFont_GetUnderlined(_arg0
);
3942 wxPyEndAllowThreads(__tstate
);
3943 if (PyErr_Occurred()) return NULL
;
3944 } _resultobj
= Py_BuildValue("i",_result
);
3948 #define wxFont_GetFaceName(_swigobj) (_swigobj->GetFaceName())
3949 static PyObject
*_wrap_wxFont_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3950 PyObject
* _resultobj
;
3953 PyObject
* _argo0
= 0;
3954 char *_kwnames
[] = { "self", NULL
};
3957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFaceName",_kwnames
,&_argo0
))
3960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFaceName. Expected _wxFont_p.");
3967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3968 _result
= new wxString (wxFont_GetFaceName(_arg0
));
3970 wxPyEndAllowThreads(__tstate
);
3971 if (PyErr_Occurred()) return NULL
;
3973 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3981 #define wxFont_GetEncoding(_swigobj) (_swigobj->GetEncoding())
3982 static PyObject
*_wrap_wxFont_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3983 PyObject
* _resultobj
;
3984 wxFontEncoding _result
;
3986 PyObject
* _argo0
= 0;
3987 char *_kwnames
[] = { "self", NULL
};
3990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetEncoding",_kwnames
,&_argo0
))
3993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetEncoding. Expected _wxFont_p.");
4000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4001 _result
= (wxFontEncoding
)wxFont_GetEncoding(_arg0
);
4003 wxPyEndAllowThreads(__tstate
);
4004 if (PyErr_Occurred()) return NULL
;
4005 } _resultobj
= Py_BuildValue("i",_result
);
4009 #define wxFont_GetNativeFontInfo(_swigobj) (_swigobj->GetNativeFontInfo())
4010 static PyObject
*_wrap_wxFont_GetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4011 PyObject
* _resultobj
;
4012 wxNativeFontInfo
* _result
;
4014 PyObject
* _argo0
= 0;
4015 char *_kwnames
[] = { "self", NULL
};
4019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetNativeFontInfo",_kwnames
,&_argo0
))
4022 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4023 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetNativeFontInfo. Expected _wxFont_p.");
4029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4030 _result
= (wxNativeFontInfo
*)wxFont_GetNativeFontInfo(_arg0
);
4032 wxPyEndAllowThreads(__tstate
);
4033 if (PyErr_Occurred()) return NULL
;
4035 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNativeFontInfo_p");
4036 _resultobj
= Py_BuildValue("s",_ptemp
);
4039 _resultobj
= Py_None
;
4044 #define wxFont_GetNativeFontInfoDesc(_swigobj) (_swigobj->GetNativeFontInfoDesc())
4045 static PyObject
*_wrap_wxFont_GetNativeFontInfoDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4046 PyObject
* _resultobj
;
4049 PyObject
* _argo0
= 0;
4050 char *_kwnames
[] = { "self", NULL
};
4053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetNativeFontInfoDesc",_kwnames
,&_argo0
))
4056 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4057 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetNativeFontInfoDesc. Expected _wxFont_p.");
4063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4064 _result
= new wxString (wxFont_GetNativeFontInfoDesc(_arg0
));
4066 wxPyEndAllowThreads(__tstate
);
4067 if (PyErr_Occurred()) return NULL
;
4069 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4077 #define wxFont_GetNativeFontInfoUserDesc(_swigobj) (_swigobj->GetNativeFontInfoUserDesc())
4078 static PyObject
*_wrap_wxFont_GetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4079 PyObject
* _resultobj
;
4082 PyObject
* _argo0
= 0;
4083 char *_kwnames
[] = { "self", NULL
};
4086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetNativeFontInfoUserDesc",_kwnames
,&_argo0
))
4089 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4090 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetNativeFontInfoUserDesc. Expected _wxFont_p.");
4096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4097 _result
= new wxString (wxFont_GetNativeFontInfoUserDesc(_arg0
));
4099 wxPyEndAllowThreads(__tstate
);
4100 if (PyErr_Occurred()) return NULL
;
4102 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4110 #define wxFont_SetPointSize(_swigobj,_swigarg0) (_swigobj->SetPointSize(_swigarg0))
4111 static PyObject
*_wrap_wxFont_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4112 PyObject
* _resultobj
;
4115 PyObject
* _argo0
= 0;
4116 char *_kwnames
[] = { "self","pointSize", NULL
};
4119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetPointSize",_kwnames
,&_argo0
,&_arg1
))
4122 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4123 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetPointSize. Expected _wxFont_p.");
4129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4130 wxFont_SetPointSize(_arg0
,_arg1
);
4132 wxPyEndAllowThreads(__tstate
);
4133 if (PyErr_Occurred()) return NULL
;
4134 } Py_INCREF(Py_None
);
4135 _resultobj
= Py_None
;
4139 #define wxFont_SetFamily(_swigobj,_swigarg0) (_swigobj->SetFamily(_swigarg0))
4140 static PyObject
*_wrap_wxFont_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4141 PyObject
* _resultobj
;
4144 PyObject
* _argo0
= 0;
4145 char *_kwnames
[] = { "self","family", NULL
};
4148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetFamily",_kwnames
,&_argo0
,&_arg1
))
4151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFamily. Expected _wxFont_p.");
4158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4159 wxFont_SetFamily(_arg0
,_arg1
);
4161 wxPyEndAllowThreads(__tstate
);
4162 if (PyErr_Occurred()) return NULL
;
4163 } Py_INCREF(Py_None
);
4164 _resultobj
= Py_None
;
4168 #define wxFont_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
4169 static PyObject
*_wrap_wxFont_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4170 PyObject
* _resultobj
;
4173 PyObject
* _argo0
= 0;
4174 char *_kwnames
[] = { "self","style", NULL
};
4177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetStyle",_kwnames
,&_argo0
,&_arg1
))
4180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetStyle. Expected _wxFont_p.");
4187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4188 wxFont_SetStyle(_arg0
,_arg1
);
4190 wxPyEndAllowThreads(__tstate
);
4191 if (PyErr_Occurred()) return NULL
;
4192 } Py_INCREF(Py_None
);
4193 _resultobj
= Py_None
;
4197 #define wxFont_SetWeight(_swigobj,_swigarg0) (_swigobj->SetWeight(_swigarg0))
4198 static PyObject
*_wrap_wxFont_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4199 PyObject
* _resultobj
;
4202 PyObject
* _argo0
= 0;
4203 char *_kwnames
[] = { "self","weight", NULL
};
4206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetWeight",_kwnames
,&_argo0
,&_arg1
))
4209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetWeight. Expected _wxFont_p.");
4216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4217 wxFont_SetWeight(_arg0
,_arg1
);
4219 wxPyEndAllowThreads(__tstate
);
4220 if (PyErr_Occurred()) return NULL
;
4221 } Py_INCREF(Py_None
);
4222 _resultobj
= Py_None
;
4226 #define wxFont_SetFaceName(_swigobj,_swigarg0) (_swigobj->SetFaceName(_swigarg0))
4227 static PyObject
*_wrap_wxFont_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4228 PyObject
* _resultobj
;
4231 PyObject
* _argo0
= 0;
4232 PyObject
* _obj1
= 0;
4233 char *_kwnames
[] = { "self","faceName", NULL
};
4236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFont_SetFaceName",_kwnames
,&_argo0
,&_obj1
))
4239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFaceName. Expected _wxFont_p.");
4246 #if PYTHON_API_VERSION >= 1009
4247 char* tmpPtr
; int tmpSize
;
4248 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4249 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4252 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4254 _arg1
= new wxString(tmpPtr
, tmpSize
);
4256 if (!PyString_Check(_obj1
)) {
4257 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4260 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4265 wxFont_SetFaceName(_arg0
,*_arg1
);
4267 wxPyEndAllowThreads(__tstate
);
4268 if (PyErr_Occurred()) return NULL
;
4269 } Py_INCREF(Py_None
);
4270 _resultobj
= Py_None
;
4278 #define wxFont_SetUnderlined(_swigobj,_swigarg0) (_swigobj->SetUnderlined(_swigarg0))
4279 static PyObject
*_wrap_wxFont_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4280 PyObject
* _resultobj
;
4283 PyObject
* _argo0
= 0;
4285 char *_kwnames
[] = { "self","underlined", NULL
};
4288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetUnderlined",_kwnames
,&_argo0
,&tempbool1
))
4291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetUnderlined. Expected _wxFont_p.");
4297 _arg1
= (bool ) tempbool1
;
4299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4300 wxFont_SetUnderlined(_arg0
,_arg1
);
4302 wxPyEndAllowThreads(__tstate
);
4303 if (PyErr_Occurred()) return NULL
;
4304 } Py_INCREF(Py_None
);
4305 _resultobj
= Py_None
;
4309 #define wxFont_SetEncoding(_swigobj,_swigarg0) (_swigobj->SetEncoding(_swigarg0))
4310 static PyObject
*_wrap_wxFont_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4311 PyObject
* _resultobj
;
4313 wxFontEncoding _arg1
;
4314 PyObject
* _argo0
= 0;
4315 char *_kwnames
[] = { "self","encoding", NULL
};
4318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetEncoding",_kwnames
,&_argo0
,&_arg1
))
4321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetEncoding. Expected _wxFont_p.");
4328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4329 wxFont_SetEncoding(_arg0
,_arg1
);
4331 wxPyEndAllowThreads(__tstate
);
4332 if (PyErr_Occurred()) return NULL
;
4333 } Py_INCREF(Py_None
);
4334 _resultobj
= Py_None
;
4338 #define wxFont_SetNativeFontInfo(_swigobj,_swigarg0) (_swigobj->SetNativeFontInfo(_swigarg0))
4339 static PyObject
*_wrap_wxFont_SetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4340 PyObject
* _resultobj
;
4342 wxNativeFontInfo
* _arg1
;
4343 PyObject
* _argo0
= 0;
4344 PyObject
* _argo1
= 0;
4345 char *_kwnames
[] = { "self","info", NULL
};
4348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFont_SetNativeFontInfo",_kwnames
,&_argo0
,&_argo1
))
4351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetNativeFontInfo. Expected _wxFont_p.");
4358 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4359 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxNativeFontInfo_p")) {
4360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFont_SetNativeFontInfo. Expected _wxNativeFontInfo_p.");
4365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4366 wxFont_SetNativeFontInfo(_arg0
,*_arg1
);
4368 wxPyEndAllowThreads(__tstate
);
4369 if (PyErr_Occurred()) return NULL
;
4370 } Py_INCREF(Py_None
);
4371 _resultobj
= Py_None
;
4375 #define wxFont_SetNativeFontInfoUserDesc(_swigobj,_swigarg0) (_swigobj->SetNativeFontInfoUserDesc(_swigarg0))
4376 static PyObject
*_wrap_wxFont_SetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4377 PyObject
* _resultobj
;
4380 PyObject
* _argo0
= 0;
4381 PyObject
* _obj1
= 0;
4382 char *_kwnames
[] = { "self","info", NULL
};
4385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFont_SetNativeFontInfoUserDesc",_kwnames
,&_argo0
,&_obj1
))
4388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetNativeFontInfoUserDesc. Expected _wxFont_p.");
4395 #if PYTHON_API_VERSION >= 1009
4396 char* tmpPtr
; int tmpSize
;
4397 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4398 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4401 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4403 _arg1
= new wxString(tmpPtr
, tmpSize
);
4405 if (!PyString_Check(_obj1
)) {
4406 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4409 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4414 wxFont_SetNativeFontInfoUserDesc(_arg0
,*_arg1
);
4416 wxPyEndAllowThreads(__tstate
);
4417 if (PyErr_Occurred()) return NULL
;
4418 } Py_INCREF(Py_None
);
4419 _resultobj
= Py_None
;
4427 #define wxFont_GetFamilyString(_swigobj) (_swigobj->GetFamilyString())
4428 static PyObject
*_wrap_wxFont_GetFamilyString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4429 PyObject
* _resultobj
;
4432 PyObject
* _argo0
= 0;
4433 char *_kwnames
[] = { "self", NULL
};
4436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFamilyString",_kwnames
,&_argo0
))
4439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFamilyString. Expected _wxFont_p.");
4446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4447 _result
= new wxString (wxFont_GetFamilyString(_arg0
));
4449 wxPyEndAllowThreads(__tstate
);
4450 if (PyErr_Occurred()) return NULL
;
4452 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4460 #define wxFont_GetStyleString(_swigobj) (_swigobj->GetStyleString())
4461 static PyObject
*_wrap_wxFont_GetStyleString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4462 PyObject
* _resultobj
;
4465 PyObject
* _argo0
= 0;
4466 char *_kwnames
[] = { "self", NULL
};
4469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetStyleString",_kwnames
,&_argo0
))
4472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetStyleString. Expected _wxFont_p.");
4479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4480 _result
= new wxString (wxFont_GetStyleString(_arg0
));
4482 wxPyEndAllowThreads(__tstate
);
4483 if (PyErr_Occurred()) return NULL
;
4485 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4493 #define wxFont_GetWeightString(_swigobj) (_swigobj->GetWeightString())
4494 static PyObject
*_wrap_wxFont_GetWeightString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4495 PyObject
* _resultobj
;
4498 PyObject
* _argo0
= 0;
4499 char *_kwnames
[] = { "self", NULL
};
4502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetWeightString",_kwnames
,&_argo0
))
4505 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4506 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetWeightString. Expected _wxFont_p.");
4512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4513 _result
= new wxString (wxFont_GetWeightString(_arg0
));
4515 wxPyEndAllowThreads(__tstate
);
4516 if (PyErr_Occurred()) return NULL
;
4518 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4526 static PyObject
*_wrap_wxFont_GetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4527 PyObject
* _resultobj
;
4528 wxFontEncoding _result
;
4529 char *_kwnames
[] = { NULL
};
4532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFont_GetDefaultEncoding",_kwnames
))
4535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4536 _result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
4538 wxPyEndAllowThreads(__tstate
);
4539 if (PyErr_Occurred()) return NULL
;
4540 } _resultobj
= Py_BuildValue("i",_result
);
4544 static PyObject
*_wrap_wxFont_SetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4545 PyObject
* _resultobj
;
4546 wxFontEncoding _arg0
;
4547 char *_kwnames
[] = { "encoding", NULL
};
4550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxFont_SetDefaultEncoding",_kwnames
,&_arg0
))
4553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4554 wxFont::SetDefaultEncoding(_arg0
);
4556 wxPyEndAllowThreads(__tstate
);
4557 if (PyErr_Occurred()) return NULL
;
4558 } Py_INCREF(Py_None
);
4559 _resultobj
= Py_None
;
4563 static void *SwigwxFontListTowxObject(void *ptr
) {
4566 src
= (wxFontList
*) ptr
;
4567 dest
= (wxObject
*) src
;
4568 return (void *) dest
;
4571 #define wxFontList_AddFont(_swigobj,_swigarg0) (_swigobj->AddFont(_swigarg0))
4572 static PyObject
*_wrap_wxFontList_AddFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4573 PyObject
* _resultobj
;
4576 PyObject
* _argo0
= 0;
4577 PyObject
* _argo1
= 0;
4578 char *_kwnames
[] = { "self","font", NULL
};
4581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontList_AddFont",_kwnames
,&_argo0
,&_argo1
))
4584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) {
4586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_AddFont. Expected _wxFontList_p.");
4591 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4592 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
4593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontList_AddFont. Expected _wxFont_p.");
4598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4599 wxFontList_AddFont(_arg0
,_arg1
);
4601 wxPyEndAllowThreads(__tstate
);
4602 if (PyErr_Occurred()) return NULL
;
4603 } Py_INCREF(Py_None
);
4604 _resultobj
= Py_None
;
4608 #define wxFontList_FindOrCreateFont(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->FindOrCreateFont(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4609 static PyObject
*_wrap_wxFontList_FindOrCreateFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4610 PyObject
* _resultobj
;
4617 bool _arg5
= (bool ) FALSE
;
4618 char * _arg6
= (char *) NULL
;
4619 wxFontEncoding _arg7
= (wxFontEncoding
) (wxFONTENCODING_DEFAULT
);
4620 PyObject
* _argo0
= 0;
4621 int tempbool5
= (int) FALSE
;
4622 char *_kwnames
[] = { "self","point_size","family","style","weight","underline","facename","encoding", NULL
};
4626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|isi:wxFontList_FindOrCreateFont",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
,&_arg6
,&_arg7
))
4629 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4630 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) {
4631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_FindOrCreateFont. Expected _wxFontList_p.");
4635 _arg5
= (bool ) tempbool5
;
4637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4638 _result
= (wxFont
*)wxFontList_FindOrCreateFont(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
);
4640 wxPyEndAllowThreads(__tstate
);
4641 if (PyErr_Occurred()) return NULL
;
4643 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
4644 _resultobj
= Py_BuildValue("s",_ptemp
);
4647 _resultobj
= Py_None
;
4652 #define wxFontList_RemoveFont(_swigobj,_swigarg0) (_swigobj->RemoveFont(_swigarg0))
4653 static PyObject
*_wrap_wxFontList_RemoveFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4654 PyObject
* _resultobj
;
4657 PyObject
* _argo0
= 0;
4658 PyObject
* _argo1
= 0;
4659 char *_kwnames
[] = { "self","font", NULL
};
4662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontList_RemoveFont",_kwnames
,&_argo0
,&_argo1
))
4665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) {
4667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_RemoveFont. Expected _wxFontList_p.");
4672 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4673 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
4674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontList_RemoveFont. Expected _wxFont_p.");
4679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4680 wxFontList_RemoveFont(_arg0
,_arg1
);
4682 wxPyEndAllowThreads(__tstate
);
4683 if (PyErr_Occurred()) return NULL
;
4684 } Py_INCREF(Py_None
);
4685 _resultobj
= Py_None
;
4689 #define wxFontList_GetCount(_swigobj) (_swigobj->GetCount())
4690 static PyObject
*_wrap_wxFontList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4691 PyObject
* _resultobj
;
4694 PyObject
* _argo0
= 0;
4695 char *_kwnames
[] = { "self", NULL
};
4698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontList_GetCount",_kwnames
,&_argo0
))
4701 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4702 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) {
4703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_GetCount. Expected _wxFontList_p.");
4708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4709 _result
= (int )wxFontList_GetCount(_arg0
);
4711 wxPyEndAllowThreads(__tstate
);
4712 if (PyErr_Occurred()) return NULL
;
4713 } _resultobj
= Py_BuildValue("i",_result
);
4717 static void *SwigwxColourTowxObject(void *ptr
) {
4720 src
= (wxColour
*) ptr
;
4721 dest
= (wxObject
*) src
;
4722 return (void *) dest
;
4725 #define new_wxColour(_swigarg0,_swigarg1,_swigarg2) (new wxColour(_swigarg0,_swigarg1,_swigarg2))
4726 static PyObject
*_wrap_new_wxColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4727 PyObject
* _resultobj
;
4729 unsigned char _arg0
= (unsigned char ) 0;
4730 unsigned char _arg1
= (unsigned char ) 0;
4731 unsigned char _arg2
= (unsigned char ) 0;
4732 char *_kwnames
[] = { "red","green","blue", NULL
};
4736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|bbb:new_wxColour",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
4739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4740 _result
= (wxColour
*)new_wxColour(_arg0
,_arg1
,_arg2
);
4742 wxPyEndAllowThreads(__tstate
);
4743 if (PyErr_Occurred()) return NULL
;
4745 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
4746 _resultobj
= Py_BuildValue("s",_ptemp
);
4749 _resultobj
= Py_None
;
4754 #define delete_wxColour(_swigobj) (delete _swigobj)
4755 static PyObject
*_wrap_delete_wxColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4756 PyObject
* _resultobj
;
4759 PyObject
* _obj0
= 0;
4760 char *_kwnames
[] = { "self", NULL
};
4763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxColour",_kwnames
,&_obj0
))
4767 if (! wxColour_helper(_obj0
, &_arg0
))
4771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4772 delete_wxColour(_arg0
);
4774 wxPyEndAllowThreads(__tstate
);
4775 if (PyErr_Occurred()) return NULL
;
4776 } Py_INCREF(Py_None
);
4777 _resultobj
= Py_None
;
4781 #define wxColour_Red(_swigobj) (_swigobj->Red())
4782 static PyObject
*_wrap_wxColour_Red(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4783 PyObject
* _resultobj
;
4784 unsigned char _result
;
4787 PyObject
* _obj0
= 0;
4788 char *_kwnames
[] = { "self", NULL
};
4791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Red",_kwnames
,&_obj0
))
4795 if (! wxColour_helper(_obj0
, &_arg0
))
4799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4800 _result
= (unsigned char )wxColour_Red(_arg0
);
4802 wxPyEndAllowThreads(__tstate
);
4803 if (PyErr_Occurred()) return NULL
;
4804 } _resultobj
= Py_BuildValue("b",_result
);
4808 #define wxColour_Green(_swigobj) (_swigobj->Green())
4809 static PyObject
*_wrap_wxColour_Green(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4810 PyObject
* _resultobj
;
4811 unsigned char _result
;
4814 PyObject
* _obj0
= 0;
4815 char *_kwnames
[] = { "self", NULL
};
4818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Green",_kwnames
,&_obj0
))
4822 if (! wxColour_helper(_obj0
, &_arg0
))
4826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4827 _result
= (unsigned char )wxColour_Green(_arg0
);
4829 wxPyEndAllowThreads(__tstate
);
4830 if (PyErr_Occurred()) return NULL
;
4831 } _resultobj
= Py_BuildValue("b",_result
);
4835 #define wxColour_Blue(_swigobj) (_swigobj->Blue())
4836 static PyObject
*_wrap_wxColour_Blue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4837 PyObject
* _resultobj
;
4838 unsigned char _result
;
4841 PyObject
* _obj0
= 0;
4842 char *_kwnames
[] = { "self", NULL
};
4845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Blue",_kwnames
,&_obj0
))
4849 if (! wxColour_helper(_obj0
, &_arg0
))
4853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4854 _result
= (unsigned char )wxColour_Blue(_arg0
);
4856 wxPyEndAllowThreads(__tstate
);
4857 if (PyErr_Occurred()) return NULL
;
4858 } _resultobj
= Py_BuildValue("b",_result
);
4862 #define wxColour_Ok(_swigobj) (_swigobj->Ok())
4863 static PyObject
*_wrap_wxColour_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4864 PyObject
* _resultobj
;
4868 PyObject
* _obj0
= 0;
4869 char *_kwnames
[] = { "self", NULL
};
4872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Ok",_kwnames
,&_obj0
))
4876 if (! wxColour_helper(_obj0
, &_arg0
))
4880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4881 _result
= (bool )wxColour_Ok(_arg0
);
4883 wxPyEndAllowThreads(__tstate
);
4884 if (PyErr_Occurred()) return NULL
;
4885 } _resultobj
= Py_BuildValue("i",_result
);
4889 #define wxColour_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
4890 static PyObject
*_wrap_wxColour_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4891 PyObject
* _resultobj
;
4893 unsigned char _arg1
;
4894 unsigned char _arg2
;
4895 unsigned char _arg3
;
4897 PyObject
* _obj0
= 0;
4898 char *_kwnames
[] = { "self","red","green","blue", NULL
};
4901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Obbb:wxColour_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
))
4905 if (! wxColour_helper(_obj0
, &_arg0
))
4909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4910 wxColour_Set(_arg0
,_arg1
,_arg2
,_arg3
);
4912 wxPyEndAllowThreads(__tstate
);
4913 if (PyErr_Occurred()) return NULL
;
4914 } Py_INCREF(Py_None
);
4915 _resultobj
= Py_None
;
4919 static PyObject
* wxColour_Get(wxColour
*self
) {
4920 PyObject
* rv
= PyTuple_New(3);
4921 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
4922 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
4923 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
4926 static PyObject
*_wrap_wxColour_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4927 PyObject
* _resultobj
;
4931 PyObject
* _obj0
= 0;
4932 char *_kwnames
[] = { "self", NULL
};
4935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Get",_kwnames
,&_obj0
))
4939 if (! wxColour_helper(_obj0
, &_arg0
))
4943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4944 _result
= (PyObject
*)wxColour_Get(_arg0
);
4946 wxPyEndAllowThreads(__tstate
);
4947 if (PyErr_Occurred()) return NULL
;
4949 _resultobj
= _result
;
4954 static void *SwigwxColourDatabaseTowxObject(void *ptr
) {
4955 wxColourDatabase
*src
;
4957 src
= (wxColourDatabase
*) ptr
;
4958 dest
= (wxObject
*) src
;
4959 return (void *) dest
;
4962 #define wxColourDatabase_FindColour(_swigobj,_swigarg0) (_swigobj->FindColour(_swigarg0))
4963 static PyObject
*_wrap_wxColourDatabase_FindColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4964 PyObject
* _resultobj
;
4966 wxColourDatabase
* _arg0
;
4968 PyObject
* _argo0
= 0;
4969 PyObject
* _obj1
= 0;
4970 char *_kwnames
[] = { "self","colour", NULL
};
4974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxColourDatabase_FindColour",_kwnames
,&_argo0
,&_obj1
))
4977 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4978 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
4979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_FindColour. Expected _wxColourDatabase_p.");
4984 #if PYTHON_API_VERSION >= 1009
4985 char* tmpPtr
; int tmpSize
;
4986 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4987 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4990 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4992 _arg1
= new wxString(tmpPtr
, tmpSize
);
4994 if (!PyString_Check(_obj1
)) {
4995 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4998 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5003 _result
= (wxColour
*)wxColourDatabase_FindColour(_arg0
,*_arg1
);
5005 wxPyEndAllowThreads(__tstate
);
5006 if (PyErr_Occurred()) return NULL
;
5008 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
5009 _resultobj
= Py_BuildValue("s",_ptemp
);
5012 _resultobj
= Py_None
;
5021 #define wxColourDatabase_FindName(_swigobj,_swigarg0) (_swigobj->FindName(_swigarg0))
5022 static PyObject
*_wrap_wxColourDatabase_FindName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5023 PyObject
* _resultobj
;
5025 wxColourDatabase
* _arg0
;
5027 PyObject
* _argo0
= 0;
5029 PyObject
* _obj1
= 0;
5030 char *_kwnames
[] = { "self","colour", NULL
};
5033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxColourDatabase_FindName",_kwnames
,&_argo0
,&_obj1
))
5036 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5037 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
5038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_FindName. Expected _wxColourDatabase_p.");
5044 if (! wxColour_helper(_obj1
, &_arg1
))
5048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5049 _result
= new wxString (wxColourDatabase_FindName(_arg0
,*_arg1
));
5051 wxPyEndAllowThreads(__tstate
);
5052 if (PyErr_Occurred()) return NULL
;
5054 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5062 static void wxColourDatabase_Append(wxColourDatabase
*self
,const wxString
& name
,int red
,int green
,int blue
) {
5063 self
->Append(name
.c_str(), new wxColour(red
, green
, blue
));
5065 static PyObject
*_wrap_wxColourDatabase_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5066 PyObject
* _resultobj
;
5067 wxColourDatabase
* _arg0
;
5072 PyObject
* _argo0
= 0;
5073 PyObject
* _obj1
= 0;
5074 char *_kwnames
[] = { "self","name","red","green","blue", NULL
};
5077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiii:wxColourDatabase_Append",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_arg4
))
5080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
5082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_Append. Expected _wxColourDatabase_p.");
5087 #if PYTHON_API_VERSION >= 1009
5088 char* tmpPtr
; int tmpSize
;
5089 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5090 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5093 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5095 _arg1
= new wxString(tmpPtr
, tmpSize
);
5097 if (!PyString_Check(_obj1
)) {
5098 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5101 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5106 wxColourDatabase_Append(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
5108 wxPyEndAllowThreads(__tstate
);
5109 if (PyErr_Occurred()) return NULL
;
5110 } Py_INCREF(Py_None
);
5111 _resultobj
= Py_None
;
5119 static void *SwigwxPenTowxGDIObject(void *ptr
) {
5122 src
= (wxPen
*) ptr
;
5123 dest
= (wxGDIObject
*) src
;
5124 return (void *) dest
;
5127 static void *SwigwxPenTowxObject(void *ptr
) {
5130 src
= (wxPen
*) ptr
;
5131 dest
= (wxObject
*) src
;
5132 return (void *) dest
;
5135 #define new_wxPen(_swigarg0,_swigarg1,_swigarg2) (new wxPen(_swigarg0,_swigarg1,_swigarg2))
5136 static PyObject
*_wrap_new_wxPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5137 PyObject
* _resultobj
;
5140 int _arg1
= (int ) 1;
5141 int _arg2
= (int ) wxSOLID
;
5143 PyObject
* _obj0
= 0;
5144 char *_kwnames
[] = { "colour","width","style", NULL
};
5148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:new_wxPen",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
5152 if (! wxColour_helper(_obj0
, &_arg0
))
5156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5157 _result
= (wxPen
*)new_wxPen(*_arg0
,_arg1
,_arg2
);
5159 wxPyEndAllowThreads(__tstate
);
5160 if (PyErr_Occurred()) return NULL
;
5162 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
5163 _resultobj
= Py_BuildValue("s",_ptemp
);
5166 _resultobj
= Py_None
;
5171 #define delete_wxPen(_swigobj) (delete _swigobj)
5172 static PyObject
*_wrap_delete_wxPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5173 PyObject
* _resultobj
;
5175 PyObject
* _argo0
= 0;
5176 char *_kwnames
[] = { "self", NULL
};
5179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPen",_kwnames
,&_argo0
))
5182 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5183 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPen. Expected _wxPen_p.");
5189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5190 delete_wxPen(_arg0
);
5192 wxPyEndAllowThreads(__tstate
);
5193 if (PyErr_Occurred()) return NULL
;
5194 } Py_INCREF(Py_None
);
5195 _resultobj
= Py_None
;
5199 #define wxPen_GetCap(_swigobj) (_swigobj->GetCap())
5200 static PyObject
*_wrap_wxPen_GetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5201 PyObject
* _resultobj
;
5204 PyObject
* _argo0
= 0;
5205 char *_kwnames
[] = { "self", NULL
};
5208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetCap",_kwnames
,&_argo0
))
5211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetCap. Expected _wxPen_p.");
5218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5219 _result
= (int )wxPen_GetCap(_arg0
);
5221 wxPyEndAllowThreads(__tstate
);
5222 if (PyErr_Occurred()) return NULL
;
5223 } _resultobj
= Py_BuildValue("i",_result
);
5227 #define wxPen_GetColour(_swigobj) (_swigobj->GetColour())
5228 static PyObject
*_wrap_wxPen_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5229 PyObject
* _resultobj
;
5232 PyObject
* _argo0
= 0;
5233 char *_kwnames
[] = { "self", NULL
};
5237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetColour",_kwnames
,&_argo0
))
5240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetColour. Expected _wxPen_p.");
5247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5248 _result
= new wxColour (wxPen_GetColour(_arg0
));
5250 wxPyEndAllowThreads(__tstate
);
5251 if (PyErr_Occurred()) return NULL
;
5252 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
5253 _resultobj
= Py_BuildValue("s",_ptemp
);
5257 #define wxPen_GetJoin(_swigobj) (_swigobj->GetJoin())
5258 static PyObject
*_wrap_wxPen_GetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5259 PyObject
* _resultobj
;
5262 PyObject
* _argo0
= 0;
5263 char *_kwnames
[] = { "self", NULL
};
5266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetJoin",_kwnames
,&_argo0
))
5269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetJoin. Expected _wxPen_p.");
5276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5277 _result
= (int )wxPen_GetJoin(_arg0
);
5279 wxPyEndAllowThreads(__tstate
);
5280 if (PyErr_Occurred()) return NULL
;
5281 } _resultobj
= Py_BuildValue("i",_result
);
5285 #define wxPen_GetStyle(_swigobj) (_swigobj->GetStyle())
5286 static PyObject
*_wrap_wxPen_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5287 PyObject
* _resultobj
;
5290 PyObject
* _argo0
= 0;
5291 char *_kwnames
[] = { "self", NULL
};
5294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetStyle",_kwnames
,&_argo0
))
5297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetStyle. Expected _wxPen_p.");
5304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5305 _result
= (int )wxPen_GetStyle(_arg0
);
5307 wxPyEndAllowThreads(__tstate
);
5308 if (PyErr_Occurred()) return NULL
;
5309 } _resultobj
= Py_BuildValue("i",_result
);
5313 #define wxPen_GetWidth(_swigobj) (_swigobj->GetWidth())
5314 static PyObject
*_wrap_wxPen_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5315 PyObject
* _resultobj
;
5318 PyObject
* _argo0
= 0;
5319 char *_kwnames
[] = { "self", NULL
};
5322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetWidth",_kwnames
,&_argo0
))
5325 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5326 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetWidth. Expected _wxPen_p.");
5332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5333 _result
= (int )wxPen_GetWidth(_arg0
);
5335 wxPyEndAllowThreads(__tstate
);
5336 if (PyErr_Occurred()) return NULL
;
5337 } _resultobj
= Py_BuildValue("i",_result
);
5341 #define wxPen_Ok(_swigobj) (_swigobj->Ok())
5342 static PyObject
*_wrap_wxPen_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5343 PyObject
* _resultobj
;
5346 PyObject
* _argo0
= 0;
5347 char *_kwnames
[] = { "self", NULL
};
5350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_Ok",_kwnames
,&_argo0
))
5353 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5354 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_Ok. Expected _wxPen_p.");
5360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5361 _result
= (bool )wxPen_Ok(_arg0
);
5363 wxPyEndAllowThreads(__tstate
);
5364 if (PyErr_Occurred()) return NULL
;
5365 } _resultobj
= Py_BuildValue("i",_result
);
5369 #define wxPen_SetCap(_swigobj,_swigarg0) (_swigobj->SetCap(_swigarg0))
5370 static PyObject
*_wrap_wxPen_SetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5371 PyObject
* _resultobj
;
5374 PyObject
* _argo0
= 0;
5375 char *_kwnames
[] = { "self","cap_style", NULL
};
5378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetCap",_kwnames
,&_argo0
,&_arg1
))
5381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetCap. Expected _wxPen_p.");
5388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5389 wxPen_SetCap(_arg0
,_arg1
);
5391 wxPyEndAllowThreads(__tstate
);
5392 if (PyErr_Occurred()) return NULL
;
5393 } Py_INCREF(Py_None
);
5394 _resultobj
= Py_None
;
5398 #define wxPen_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
5399 static PyObject
*_wrap_wxPen_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5400 PyObject
* _resultobj
;
5403 PyObject
* _argo0
= 0;
5405 PyObject
* _obj1
= 0;
5406 char *_kwnames
[] = { "self","colour", NULL
};
5409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetColour",_kwnames
,&_argo0
,&_obj1
))
5412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetColour. Expected _wxPen_p.");
5420 if (! wxColour_helper(_obj1
, &_arg1
))
5424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5425 wxPen_SetColour(_arg0
,*_arg1
);
5427 wxPyEndAllowThreads(__tstate
);
5428 if (PyErr_Occurred()) return NULL
;
5429 } Py_INCREF(Py_None
);
5430 _resultobj
= Py_None
;
5434 #define wxPen_SetJoin(_swigobj,_swigarg0) (_swigobj->SetJoin(_swigarg0))
5435 static PyObject
*_wrap_wxPen_SetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5436 PyObject
* _resultobj
;
5439 PyObject
* _argo0
= 0;
5440 char *_kwnames
[] = { "self","join_style", NULL
};
5443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetJoin",_kwnames
,&_argo0
,&_arg1
))
5446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetJoin. Expected _wxPen_p.");
5453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5454 wxPen_SetJoin(_arg0
,_arg1
);
5456 wxPyEndAllowThreads(__tstate
);
5457 if (PyErr_Occurred()) return NULL
;
5458 } Py_INCREF(Py_None
);
5459 _resultobj
= Py_None
;
5463 #define wxPen_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
5464 static PyObject
*_wrap_wxPen_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5465 PyObject
* _resultobj
;
5468 PyObject
* _argo0
= 0;
5469 char *_kwnames
[] = { "self","style", NULL
};
5472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetStyle",_kwnames
,&_argo0
,&_arg1
))
5475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetStyle. Expected _wxPen_p.");
5482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5483 wxPen_SetStyle(_arg0
,_arg1
);
5485 wxPyEndAllowThreads(__tstate
);
5486 if (PyErr_Occurred()) return NULL
;
5487 } Py_INCREF(Py_None
);
5488 _resultobj
= Py_None
;
5492 #define wxPen_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
5493 static PyObject
*_wrap_wxPen_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5494 PyObject
* _resultobj
;
5497 PyObject
* _argo0
= 0;
5498 char *_kwnames
[] = { "self","width", NULL
};
5501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetWidth",_kwnames
,&_argo0
,&_arg1
))
5504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetWidth. Expected _wxPen_p.");
5511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5512 wxPen_SetWidth(_arg0
,_arg1
);
5514 wxPyEndAllowThreads(__tstate
);
5515 if (PyErr_Occurred()) return NULL
;
5516 } Py_INCREF(Py_None
);
5517 _resultobj
= Py_None
;
5521 #define wxPen_SetDashes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDashes(_swigarg0,_swigarg1))
5522 static PyObject
*_wrap_wxPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5523 PyObject
* _resultobj
;
5527 PyObject
* _argo0
= 0;
5528 PyObject
* _obj2
= 0;
5529 char *_kwnames
[] = { "self","choices", NULL
};
5532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetDashes",_kwnames
,&_argo0
,&_obj2
))
5535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetDashes. Expected _wxPen_p.");
5543 _arg2
= (wxDash
*)byte_LIST_helper(_obj2
);
5544 if (_arg2
== NULL
) {
5550 _arg1
= PyList_Size(_obj2
);
5557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5558 wxPen_SetDashes(_arg0
,_arg1
,_arg2
);
5560 wxPyEndAllowThreads(__tstate
);
5561 if (PyErr_Occurred()) return NULL
;
5562 } Py_INCREF(Py_None
);
5563 _resultobj
= Py_None
;
5570 static void *SwigwxPyPenTowxPen(void *ptr
) {
5573 src
= (wxPyPen
*) ptr
;
5574 dest
= (wxPen
*) src
;
5575 return (void *) dest
;
5578 static void *SwigwxPyPenTowxGDIObject(void *ptr
) {
5581 src
= (wxPyPen
*) ptr
;
5582 dest
= (wxGDIObject
*) src
;
5583 return (void *) dest
;
5586 static void *SwigwxPyPenTowxObject(void *ptr
) {
5589 src
= (wxPyPen
*) ptr
;
5590 dest
= (wxObject
*) src
;
5591 return (void *) dest
;
5594 #define new_wxPyPen(_swigarg0,_swigarg1,_swigarg2) (new wxPyPen(_swigarg0,_swigarg1,_swigarg2))
5595 static PyObject
*_wrap_new_wxPyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5596 PyObject
* _resultobj
;
5599 int _arg1
= (int ) 1;
5600 int _arg2
= (int ) wxSOLID
;
5602 PyObject
* _obj0
= 0;
5603 char *_kwnames
[] = { "colour","width","style", NULL
};
5607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:new_wxPyPen",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
5611 if (! wxColour_helper(_obj0
, &_arg0
))
5615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5616 _result
= (wxPyPen
*)new_wxPyPen(*_arg0
,_arg1
,_arg2
);
5618 wxPyEndAllowThreads(__tstate
);
5619 if (PyErr_Occurred()) return NULL
;
5621 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPen_p");
5622 _resultobj
= Py_BuildValue("s",_ptemp
);
5625 _resultobj
= Py_None
;
5630 #define delete_wxPyPen(_swigobj) (delete _swigobj)
5631 static PyObject
*_wrap_delete_wxPyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5632 PyObject
* _resultobj
;
5634 PyObject
* _argo0
= 0;
5635 char *_kwnames
[] = { "self", NULL
};
5638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyPen",_kwnames
,&_argo0
))
5641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPen_p")) {
5643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyPen. Expected _wxPyPen_p.");
5648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5649 delete_wxPyPen(_arg0
);
5651 wxPyEndAllowThreads(__tstate
);
5652 if (PyErr_Occurred()) return NULL
;
5653 } Py_INCREF(Py_None
);
5654 _resultobj
= Py_None
;
5658 #define wxPyPen_SetDashes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDashes(_swigarg0,_swigarg1))
5659 static PyObject
*_wrap_wxPyPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5660 PyObject
* _resultobj
;
5664 PyObject
* _argo0
= 0;
5665 PyObject
* _obj2
= 0;
5666 char *_kwnames
[] = { "self","choices", NULL
};
5669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPen_SetDashes",_kwnames
,&_argo0
,&_obj2
))
5672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPen_p")) {
5674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPen_SetDashes. Expected _wxPyPen_p.");
5680 _arg2
= (wxDash
*)byte_LIST_helper(_obj2
);
5681 if (_arg2
== NULL
) {
5687 _arg1
= PyList_Size(_obj2
);
5694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5695 wxPyPen_SetDashes(_arg0
,_arg1
,_arg2
);
5697 wxPyEndAllowThreads(__tstate
);
5698 if (PyErr_Occurred()) return NULL
;
5699 } Py_INCREF(Py_None
);
5700 _resultobj
= Py_None
;
5707 static void *SwigwxPenListTowxObject(void *ptr
) {
5710 src
= (wxPenList
*) ptr
;
5711 dest
= (wxObject
*) src
;
5712 return (void *) dest
;
5715 #define wxPenList_AddPen(_swigobj,_swigarg0) (_swigobj->AddPen(_swigarg0))
5716 static PyObject
*_wrap_wxPenList_AddPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5717 PyObject
* _resultobj
;
5720 PyObject
* _argo0
= 0;
5721 PyObject
* _argo1
= 0;
5722 char *_kwnames
[] = { "self","pen", NULL
};
5725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPenList_AddPen",_kwnames
,&_argo0
,&_argo1
))
5728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
5730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_AddPen. Expected _wxPenList_p.");
5735 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5736 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
5737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPenList_AddPen. Expected _wxPen_p.");
5742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5743 wxPenList_AddPen(_arg0
,_arg1
);
5745 wxPyEndAllowThreads(__tstate
);
5746 if (PyErr_Occurred()) return NULL
;
5747 } Py_INCREF(Py_None
);
5748 _resultobj
= Py_None
;
5752 #define wxPenList_FindOrCreatePen(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindOrCreatePen(_swigarg0,_swigarg1,_swigarg2))
5753 static PyObject
*_wrap_wxPenList_FindOrCreatePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5754 PyObject
* _resultobj
;
5760 PyObject
* _argo0
= 0;
5762 PyObject
* _obj1
= 0;
5763 char *_kwnames
[] = { "self","colour","width","style", NULL
};
5767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxPenList_FindOrCreatePen",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
))
5770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
5772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_FindOrCreatePen. Expected _wxPenList_p.");
5778 if (! wxColour_helper(_obj1
, &_arg1
))
5782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5783 _result
= (wxPen
*)wxPenList_FindOrCreatePen(_arg0
,*_arg1
,_arg2
,_arg3
);
5785 wxPyEndAllowThreads(__tstate
);
5786 if (PyErr_Occurred()) return NULL
;
5788 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
5789 _resultobj
= Py_BuildValue("s",_ptemp
);
5792 _resultobj
= Py_None
;
5797 #define wxPenList_RemovePen(_swigobj,_swigarg0) (_swigobj->RemovePen(_swigarg0))
5798 static PyObject
*_wrap_wxPenList_RemovePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5799 PyObject
* _resultobj
;
5802 PyObject
* _argo0
= 0;
5803 PyObject
* _argo1
= 0;
5804 char *_kwnames
[] = { "self","pen", NULL
};
5807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPenList_RemovePen",_kwnames
,&_argo0
,&_argo1
))
5810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
5812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_RemovePen. Expected _wxPenList_p.");
5817 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5818 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
5819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPenList_RemovePen. Expected _wxPen_p.");
5824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5825 wxPenList_RemovePen(_arg0
,_arg1
);
5827 wxPyEndAllowThreads(__tstate
);
5828 if (PyErr_Occurred()) return NULL
;
5829 } Py_INCREF(Py_None
);
5830 _resultobj
= Py_None
;
5834 #define wxPenList_GetCount(_swigobj) (_swigobj->GetCount())
5835 static PyObject
*_wrap_wxPenList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5836 PyObject
* _resultobj
;
5839 PyObject
* _argo0
= 0;
5840 char *_kwnames
[] = { "self", NULL
};
5843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPenList_GetCount",_kwnames
,&_argo0
))
5846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
5848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_GetCount. Expected _wxPenList_p.");
5853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5854 _result
= (int )wxPenList_GetCount(_arg0
);
5856 wxPyEndAllowThreads(__tstate
);
5857 if (PyErr_Occurred()) return NULL
;
5858 } _resultobj
= Py_BuildValue("i",_result
);
5862 static void *SwigwxBrushTowxGDIObject(void *ptr
) {
5865 src
= (wxBrush
*) ptr
;
5866 dest
= (wxGDIObject
*) src
;
5867 return (void *) dest
;
5870 static void *SwigwxBrushTowxObject(void *ptr
) {
5873 src
= (wxBrush
*) ptr
;
5874 dest
= (wxObject
*) src
;
5875 return (void *) dest
;
5878 #define new_wxBrush(_swigarg0,_swigarg1) (new wxBrush(_swigarg0,_swigarg1))
5879 static PyObject
*_wrap_new_wxBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5880 PyObject
* _resultobj
;
5883 int _arg1
= (int ) wxSOLID
;
5885 PyObject
* _obj0
= 0;
5886 char *_kwnames
[] = { "colour","style", NULL
};
5890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxBrush",_kwnames
,&_obj0
,&_arg1
))
5894 if (! wxColour_helper(_obj0
, &_arg0
))
5898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5899 _result
= (wxBrush
*)new_wxBrush(*_arg0
,_arg1
);
5901 wxPyEndAllowThreads(__tstate
);
5902 if (PyErr_Occurred()) return NULL
;
5904 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
5905 _resultobj
= Py_BuildValue("s",_ptemp
);
5908 _resultobj
= Py_None
;
5913 #define delete_wxBrush(_swigobj) (delete _swigobj)
5914 static PyObject
*_wrap_delete_wxBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5915 PyObject
* _resultobj
;
5917 PyObject
* _argo0
= 0;
5918 char *_kwnames
[] = { "self", NULL
};
5921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBrush",_kwnames
,&_argo0
))
5924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
5926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBrush. Expected _wxBrush_p.");
5931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5932 delete_wxBrush(_arg0
);
5934 wxPyEndAllowThreads(__tstate
);
5935 if (PyErr_Occurred()) return NULL
;
5936 } Py_INCREF(Py_None
);
5937 _resultobj
= Py_None
;
5941 #define wxBrush_GetColour(_swigobj) (_swigobj->GetColour())
5942 static PyObject
*_wrap_wxBrush_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5943 PyObject
* _resultobj
;
5946 PyObject
* _argo0
= 0;
5947 char *_kwnames
[] = { "self", NULL
};
5951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetColour",_kwnames
,&_argo0
))
5954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
5956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetColour. Expected _wxBrush_p.");
5961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5962 _result
= new wxColour (wxBrush_GetColour(_arg0
));
5964 wxPyEndAllowThreads(__tstate
);
5965 if (PyErr_Occurred()) return NULL
;
5966 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
5967 _resultobj
= Py_BuildValue("s",_ptemp
);
5971 #define wxBrush_GetStipple(_swigobj) (_swigobj->GetStipple())
5972 static PyObject
*_wrap_wxBrush_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5973 PyObject
* _resultobj
;
5976 PyObject
* _argo0
= 0;
5977 char *_kwnames
[] = { "self", NULL
};
5981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetStipple",_kwnames
,&_argo0
))
5984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
5986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStipple. Expected _wxBrush_p.");
5991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5992 _result
= (wxBitmap
*)wxBrush_GetStipple(_arg0
);
5994 wxPyEndAllowThreads(__tstate
);
5995 if (PyErr_Occurred()) return NULL
;
5997 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
5998 _resultobj
= Py_BuildValue("s",_ptemp
);
6001 _resultobj
= Py_None
;
6006 #define wxBrush_GetStyle(_swigobj) (_swigobj->GetStyle())
6007 static PyObject
*_wrap_wxBrush_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6008 PyObject
* _resultobj
;
6011 PyObject
* _argo0
= 0;
6012 char *_kwnames
[] = { "self", NULL
};
6015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetStyle",_kwnames
,&_argo0
))
6018 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6019 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
6020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStyle. Expected _wxBrush_p.");
6025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6026 _result
= (int )wxBrush_GetStyle(_arg0
);
6028 wxPyEndAllowThreads(__tstate
);
6029 if (PyErr_Occurred()) return NULL
;
6030 } _resultobj
= Py_BuildValue("i",_result
);
6034 #define wxBrush_Ok(_swigobj) (_swigobj->Ok())
6035 static PyObject
*_wrap_wxBrush_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6036 PyObject
* _resultobj
;
6039 PyObject
* _argo0
= 0;
6040 char *_kwnames
[] = { "self", NULL
};
6043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_Ok",_kwnames
,&_argo0
))
6046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
6048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_Ok. Expected _wxBrush_p.");
6053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6054 _result
= (bool )wxBrush_Ok(_arg0
);
6056 wxPyEndAllowThreads(__tstate
);
6057 if (PyErr_Occurred()) return NULL
;
6058 } _resultobj
= Py_BuildValue("i",_result
);
6062 #define wxBrush_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
6063 static PyObject
*_wrap_wxBrush_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6064 PyObject
* _resultobj
;
6067 PyObject
* _argo0
= 0;
6069 PyObject
* _obj1
= 0;
6070 char *_kwnames
[] = { "self","colour", NULL
};
6073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrush_SetColour",_kwnames
,&_argo0
,&_obj1
))
6076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
6078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetColour. Expected _wxBrush_p.");
6084 if (! wxColour_helper(_obj1
, &_arg1
))
6088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6089 wxBrush_SetColour(_arg0
,*_arg1
);
6091 wxPyEndAllowThreads(__tstate
);
6092 if (PyErr_Occurred()) return NULL
;
6093 } Py_INCREF(Py_None
);
6094 _resultobj
= Py_None
;
6098 #define wxBrush_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
6099 static PyObject
*_wrap_wxBrush_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6100 PyObject
* _resultobj
;
6103 PyObject
* _argo0
= 0;
6104 PyObject
* _argo1
= 0;
6105 char *_kwnames
[] = { "self","bitmap", NULL
};
6108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrush_SetStipple",_kwnames
,&_argo0
,&_argo1
))
6111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
6113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStipple. Expected _wxBrush_p.");
6118 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6119 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
6120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrush_SetStipple. Expected _wxBitmap_p.");
6125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6126 wxBrush_SetStipple(_arg0
,*_arg1
);
6128 wxPyEndAllowThreads(__tstate
);
6129 if (PyErr_Occurred()) return NULL
;
6130 } Py_INCREF(Py_None
);
6131 _resultobj
= Py_None
;
6135 #define wxBrush_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
6136 static PyObject
*_wrap_wxBrush_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6137 PyObject
* _resultobj
;
6140 PyObject
* _argo0
= 0;
6141 char *_kwnames
[] = { "self","style", NULL
};
6144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBrush_SetStyle",_kwnames
,&_argo0
,&_arg1
))
6147 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6148 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
6149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStyle. Expected _wxBrush_p.");
6154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6155 wxBrush_SetStyle(_arg0
,_arg1
);
6157 wxPyEndAllowThreads(__tstate
);
6158 if (PyErr_Occurred()) return NULL
;
6159 } Py_INCREF(Py_None
);
6160 _resultobj
= Py_None
;
6164 static void *SwigwxBrushListTowxObject(void *ptr
) {
6167 src
= (wxBrushList
*) ptr
;
6168 dest
= (wxObject
*) src
;
6169 return (void *) dest
;
6172 #define wxBrushList_AddBrush(_swigobj,_swigarg0) (_swigobj->AddBrush(_swigarg0))
6173 static PyObject
*_wrap_wxBrushList_AddBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6174 PyObject
* _resultobj
;
6175 wxBrushList
* _arg0
;
6177 PyObject
* _argo0
= 0;
6178 PyObject
* _argo1
= 0;
6179 char *_kwnames
[] = { "self","brush", NULL
};
6182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrushList_AddBrush",_kwnames
,&_argo0
,&_argo1
))
6185 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6186 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
6187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_AddBrush. Expected _wxBrushList_p.");
6192 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6193 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
6194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrushList_AddBrush. Expected _wxBrush_p.");
6199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6200 wxBrushList_AddBrush(_arg0
,_arg1
);
6202 wxPyEndAllowThreads(__tstate
);
6203 if (PyErr_Occurred()) return NULL
;
6204 } Py_INCREF(Py_None
);
6205 _resultobj
= Py_None
;
6209 #define wxBrushList_FindOrCreateBrush(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindOrCreateBrush(_swigarg0,_swigarg1))
6210 static PyObject
*_wrap_wxBrushList_FindOrCreateBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6211 PyObject
* _resultobj
;
6213 wxBrushList
* _arg0
;
6216 PyObject
* _argo0
= 0;
6218 PyObject
* _obj1
= 0;
6219 char *_kwnames
[] = { "self","colour","style", NULL
};
6223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxBrushList_FindOrCreateBrush",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
6226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
6228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_FindOrCreateBrush. Expected _wxBrushList_p.");
6234 if (! wxColour_helper(_obj1
, &_arg1
))
6238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6239 _result
= (wxBrush
*)wxBrushList_FindOrCreateBrush(_arg0
,*_arg1
,_arg2
);
6241 wxPyEndAllowThreads(__tstate
);
6242 if (PyErr_Occurred()) return NULL
;
6244 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
6245 _resultobj
= Py_BuildValue("s",_ptemp
);
6248 _resultobj
= Py_None
;
6253 #define wxBrushList_RemoveBrush(_swigobj,_swigarg0) (_swigobj->RemoveBrush(_swigarg0))
6254 static PyObject
*_wrap_wxBrushList_RemoveBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6255 PyObject
* _resultobj
;
6256 wxBrushList
* _arg0
;
6258 PyObject
* _argo0
= 0;
6259 PyObject
* _argo1
= 0;
6260 char *_kwnames
[] = { "self","brush", NULL
};
6263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrushList_RemoveBrush",_kwnames
,&_argo0
,&_argo1
))
6266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
6268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_RemoveBrush. Expected _wxBrushList_p.");
6273 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6274 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
6275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrushList_RemoveBrush. Expected _wxBrush_p.");
6280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6281 wxBrushList_RemoveBrush(_arg0
,_arg1
);
6283 wxPyEndAllowThreads(__tstate
);
6284 if (PyErr_Occurred()) return NULL
;
6285 } Py_INCREF(Py_None
);
6286 _resultobj
= Py_None
;
6290 #define wxBrushList_GetCount(_swigobj) (_swigobj->GetCount())
6291 static PyObject
*_wrap_wxBrushList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6292 PyObject
* _resultobj
;
6294 wxBrushList
* _arg0
;
6295 PyObject
* _argo0
= 0;
6296 char *_kwnames
[] = { "self", NULL
};
6299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrushList_GetCount",_kwnames
,&_argo0
))
6302 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6303 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
6304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_GetCount. Expected _wxBrushList_p.");
6309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6310 _result
= (int )wxBrushList_GetCount(_arg0
);
6312 wxPyEndAllowThreads(__tstate
);
6313 if (PyErr_Occurred()) return NULL
;
6314 } _resultobj
= Py_BuildValue("i",_result
);
6318 static void *SwigwxDCTowxObject(void *ptr
) {
6322 dest
= (wxObject
*) src
;
6323 return (void *) dest
;
6326 #define delete_wxDC(_swigobj) (delete _swigobj)
6327 static PyObject
*_wrap_delete_wxDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6328 PyObject
* _resultobj
;
6330 PyObject
* _argo0
= 0;
6331 char *_kwnames
[] = { "self", NULL
};
6334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDC",_kwnames
,&_argo0
))
6337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDC. Expected _wxDC_p.");
6344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6347 wxPyEndAllowThreads(__tstate
);
6348 if (PyErr_Occurred()) return NULL
;
6349 } Py_INCREF(Py_None
);
6350 _resultobj
= Py_None
;
6354 #define wxDC_BeginDrawing(_swigobj) (_swigobj->BeginDrawing())
6355 static PyObject
*_wrap_wxDC_BeginDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6356 PyObject
* _resultobj
;
6358 PyObject
* _argo0
= 0;
6359 char *_kwnames
[] = { "self", NULL
};
6362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_BeginDrawing",_kwnames
,&_argo0
))
6365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_BeginDrawing. Expected _wxDC_p.");
6372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6373 wxDC_BeginDrawing(_arg0
);
6375 wxPyEndAllowThreads(__tstate
);
6376 if (PyErr_Occurred()) return NULL
;
6377 } Py_INCREF(Py_None
);
6378 _resultobj
= Py_None
;
6382 #define wxDC_Blit(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Blit(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
6383 static PyObject
*_wrap_wxDC_Blit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6384 PyObject
* _resultobj
;
6394 int _arg8
= (int ) wxCOPY
;
6395 int _arg9
= (int ) FALSE
;
6396 PyObject
* _argo0
= 0;
6397 PyObject
* _argo5
= 0;
6398 char *_kwnames
[] = { "self","xdest","ydest","width","height","source","xsrc","ysrc","logicalFunc","useMask", NULL
};
6401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllllOll|ii:wxDC_Blit",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_argo5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
))
6404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Blit. Expected _wxDC_p.");
6411 if (_argo5
== Py_None
) { _arg5
= NULL
; }
6412 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxDC_p")) {
6413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxDC_Blit. Expected _wxDC_p.");
6418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6419 _result
= (bool )wxDC_Blit(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
6421 wxPyEndAllowThreads(__tstate
);
6422 if (PyErr_Occurred()) return NULL
;
6423 } _resultobj
= Py_BuildValue("i",_result
);
6427 #define wxDC_Clear(_swigobj) (_swigobj->Clear())
6428 static PyObject
*_wrap_wxDC_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6429 PyObject
* _resultobj
;
6431 PyObject
* _argo0
= 0;
6432 char *_kwnames
[] = { "self", NULL
};
6435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_Clear",_kwnames
,&_argo0
))
6438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Clear. Expected _wxDC_p.");
6445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6448 wxPyEndAllowThreads(__tstate
);
6449 if (PyErr_Occurred()) return NULL
;
6450 } Py_INCREF(Py_None
);
6451 _resultobj
= Py_None
;
6455 #define wxDC_CrossHair(_swigobj,_swigarg0,_swigarg1) (_swigobj->CrossHair(_swigarg0,_swigarg1))
6456 static PyObject
*_wrap_wxDC_CrossHair(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6457 PyObject
* _resultobj
;
6461 PyObject
* _argo0
= 0;
6462 char *_kwnames
[] = { "self","x","y", NULL
};
6465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_CrossHair",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6468 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6469 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CrossHair. Expected _wxDC_p.");
6475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6476 wxDC_CrossHair(_arg0
,_arg1
,_arg2
);
6478 wxPyEndAllowThreads(__tstate
);
6479 if (PyErr_Occurred()) return NULL
;
6480 } Py_INCREF(Py_None
);
6481 _resultobj
= Py_None
;
6485 #define wxDC_DestroyClippingRegion(_swigobj) (_swigobj->DestroyClippingRegion())
6486 static PyObject
*_wrap_wxDC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6487 PyObject
* _resultobj
;
6489 PyObject
* _argo0
= 0;
6490 char *_kwnames
[] = { "self", NULL
};
6493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_DestroyClippingRegion",_kwnames
,&_argo0
))
6496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DestroyClippingRegion. Expected _wxDC_p.");
6503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6504 wxDC_DestroyClippingRegion(_arg0
);
6506 wxPyEndAllowThreads(__tstate
);
6507 if (PyErr_Occurred()) return NULL
;
6508 } Py_INCREF(Py_None
);
6509 _resultobj
= Py_None
;
6513 #define wxDC_DeviceToLogicalX(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalX(_swigarg0))
6514 static PyObject
*_wrap_wxDC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6515 PyObject
* _resultobj
;
6519 PyObject
* _argo0
= 0;
6520 char *_kwnames
[] = { "self","x", NULL
};
6523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalX",_kwnames
,&_argo0
,&_arg1
))
6526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalX. Expected _wxDC_p.");
6533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6534 _result
= (long )wxDC_DeviceToLogicalX(_arg0
,_arg1
);
6536 wxPyEndAllowThreads(__tstate
);
6537 if (PyErr_Occurred()) return NULL
;
6538 } _resultobj
= Py_BuildValue("l",_result
);
6542 #define wxDC_DeviceToLogicalXRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalXRel(_swigarg0))
6543 static PyObject
*_wrap_wxDC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6544 PyObject
* _resultobj
;
6548 PyObject
* _argo0
= 0;
6549 char *_kwnames
[] = { "self","x", NULL
};
6552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalXRel",_kwnames
,&_argo0
,&_arg1
))
6555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalXRel. Expected _wxDC_p.");
6562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6563 _result
= (long )wxDC_DeviceToLogicalXRel(_arg0
,_arg1
);
6565 wxPyEndAllowThreads(__tstate
);
6566 if (PyErr_Occurred()) return NULL
;
6567 } _resultobj
= Py_BuildValue("l",_result
);
6571 #define wxDC_DeviceToLogicalY(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalY(_swigarg0))
6572 static PyObject
*_wrap_wxDC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6573 PyObject
* _resultobj
;
6577 PyObject
* _argo0
= 0;
6578 char *_kwnames
[] = { "self","y", NULL
};
6581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalY",_kwnames
,&_argo0
,&_arg1
))
6584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalY. Expected _wxDC_p.");
6591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6592 _result
= (long )wxDC_DeviceToLogicalY(_arg0
,_arg1
);
6594 wxPyEndAllowThreads(__tstate
);
6595 if (PyErr_Occurred()) return NULL
;
6596 } _resultobj
= Py_BuildValue("l",_result
);
6600 #define wxDC_DeviceToLogicalYRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalYRel(_swigarg0))
6601 static PyObject
*_wrap_wxDC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6602 PyObject
* _resultobj
;
6606 PyObject
* _argo0
= 0;
6607 char *_kwnames
[] = { "self","y", NULL
};
6610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalYRel",_kwnames
,&_argo0
,&_arg1
))
6613 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6614 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalYRel. Expected _wxDC_p.");
6620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6621 _result
= (long )wxDC_DeviceToLogicalYRel(_arg0
,_arg1
);
6623 wxPyEndAllowThreads(__tstate
);
6624 if (PyErr_Occurred()) return NULL
;
6625 } _resultobj
= Py_BuildValue("l",_result
);
6629 #define wxDC_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6630 static PyObject
*_wrap_wxDC_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6631 PyObject
* _resultobj
;
6639 PyObject
* _argo0
= 0;
6640 char *_kwnames
[] = { "self","x1","y1","x2","y2","xc","yc", NULL
};
6643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollllll:wxDC_DrawArc",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
6646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawArc. Expected _wxDC_p.");
6653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6654 wxDC_DrawArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
6656 wxPyEndAllowThreads(__tstate
);
6657 if (PyErr_Occurred()) return NULL
;
6658 } Py_INCREF(Py_None
);
6659 _resultobj
= Py_None
;
6663 #define wxDC_DrawCircle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawCircle(_swigarg0,_swigarg1,_swigarg2))
6664 static PyObject
*_wrap_wxDC_DrawCircle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6665 PyObject
* _resultobj
;
6670 PyObject
* _argo0
= 0;
6671 char *_kwnames
[] = { "self","x","y","radius", NULL
};
6674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olll:wxDC_DrawCircle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
6677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawCircle. Expected _wxDC_p.");
6684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6685 wxDC_DrawCircle(_arg0
,_arg1
,_arg2
,_arg3
);
6687 wxPyEndAllowThreads(__tstate
);
6688 if (PyErr_Occurred()) return NULL
;
6689 } Py_INCREF(Py_None
);
6690 _resultobj
= Py_None
;
6694 #define wxDC_DrawEllipse(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawEllipse(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6695 static PyObject
*_wrap_wxDC_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6696 PyObject
* _resultobj
;
6702 PyObject
* _argo0
= 0;
6703 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
6706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawEllipse",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
6709 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6710 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipse. Expected _wxDC_p.");
6716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6717 wxDC_DrawEllipse(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6719 wxPyEndAllowThreads(__tstate
);
6720 if (PyErr_Occurred()) return NULL
;
6721 } Py_INCREF(Py_None
);
6722 _resultobj
= Py_None
;
6726 #define wxDC_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6727 static PyObject
*_wrap_wxDC_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6728 PyObject
* _resultobj
;
6736 PyObject
* _argo0
= 0;
6737 char *_kwnames
[] = { "self","x","y","width","height","start","end", NULL
};
6740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollllll:wxDC_DrawEllipticArc",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
6743 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6744 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipticArc. Expected _wxDC_p.");
6750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6751 wxDC_DrawEllipticArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
6753 wxPyEndAllowThreads(__tstate
);
6754 if (PyErr_Occurred()) return NULL
;
6755 } Py_INCREF(Py_None
);
6756 _resultobj
= Py_None
;
6760 #define wxDC_DrawIcon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawIcon(_swigarg0,_swigarg1,_swigarg2))
6761 static PyObject
*_wrap_wxDC_DrawIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6762 PyObject
* _resultobj
;
6767 PyObject
* _argo0
= 0;
6768 PyObject
* _argo1
= 0;
6769 char *_kwnames
[] = { "self","icon","x","y", NULL
};
6772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll:wxDC_DrawIcon",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
6775 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6776 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawIcon. Expected _wxDC_p.");
6782 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6783 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
6784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawIcon. Expected _wxIcon_p.");
6789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6790 wxDC_DrawIcon(_arg0
,*_arg1
,_arg2
,_arg3
);
6792 wxPyEndAllowThreads(__tstate
);
6793 if (PyErr_Occurred()) return NULL
;
6794 } Py_INCREF(Py_None
);
6795 _resultobj
= Py_None
;
6799 #define wxDC_DrawLine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6800 static PyObject
*_wrap_wxDC_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6801 PyObject
* _resultobj
;
6807 PyObject
* _argo0
= 0;
6808 char *_kwnames
[] = { "self","x1","y1","x2","y2", NULL
};
6811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawLine",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
6814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLine. Expected _wxDC_p.");
6821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6822 wxDC_DrawLine(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6824 wxPyEndAllowThreads(__tstate
);
6825 if (PyErr_Occurred()) return NULL
;
6826 } Py_INCREF(Py_None
);
6827 _resultobj
= Py_None
;
6831 #define wxDC_DrawLines(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLines(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6832 static PyObject
*_wrap_wxDC_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6833 PyObject
* _resultobj
;
6837 long _arg3
= (long ) 0;
6838 long _arg4
= (long ) 0;
6839 PyObject
* _argo0
= 0;
6841 PyObject
* _obj2
= 0;
6842 char *_kwnames
[] = { "self","points","xoffset","yoffset", NULL
};
6845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ll:wxDC_DrawLines",_kwnames
,&_argo0
,&_obj2
,&_arg3
,&_arg4
))
6848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLines. Expected _wxDC_p.");
6856 _arg2
= wxPoint_LIST_helper(_obj2
, &NPOINTS
);
6857 if (_arg2
== NULL
) {
6865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6866 wxDC_DrawLines(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6868 wxPyEndAllowThreads(__tstate
);
6869 if (PyErr_Occurred()) return NULL
;
6870 } Py_INCREF(Py_None
);
6871 _resultobj
= Py_None
;
6878 #define wxDC_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6879 static PyObject
*_wrap_wxDC_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6880 PyObject
* _resultobj
;
6884 long _arg3
= (long ) 0;
6885 long _arg4
= (long ) 0;
6886 int _arg5
= (int ) wxODDEVEN_RULE
;
6887 PyObject
* _argo0
= 0;
6889 PyObject
* _obj2
= 0;
6890 char *_kwnames
[] = { "self","points","xoffset","yoffset","fill_style", NULL
};
6893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|lli:wxDC_DrawPolygon",_kwnames
,&_argo0
,&_obj2
,&_arg3
,&_arg4
,&_arg5
))
6896 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6897 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPolygon. Expected _wxDC_p.");
6904 _arg2
= wxPoint_LIST_helper(_obj2
, &NPOINTS
);
6905 if (_arg2
== NULL
) {
6913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6914 wxDC_DrawPolygon(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
6916 wxPyEndAllowThreads(__tstate
);
6917 if (PyErr_Occurred()) return NULL
;
6918 } Py_INCREF(Py_None
);
6919 _resultobj
= Py_None
;
6926 #define wxDC_DrawPoint(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawPoint(_swigarg0,_swigarg1))
6927 static PyObject
*_wrap_wxDC_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6928 PyObject
* _resultobj
;
6932 PyObject
* _argo0
= 0;
6933 char *_kwnames
[] = { "self","x","y", NULL
};
6936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_DrawPoint",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPoint. Expected _wxDC_p.");
6946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6947 wxDC_DrawPoint(_arg0
,_arg1
,_arg2
);
6949 wxPyEndAllowThreads(__tstate
);
6950 if (PyErr_Occurred()) return NULL
;
6951 } Py_INCREF(Py_None
);
6952 _resultobj
= Py_None
;
6956 #define wxDC_DrawRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6957 static PyObject
*_wrap_wxDC_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6958 PyObject
* _resultobj
;
6964 PyObject
* _argo0
= 0;
6965 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
6968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawRectangle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
6971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRectangle. Expected _wxDC_p.");
6978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6979 wxDC_DrawRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6981 wxPyEndAllowThreads(__tstate
);
6982 if (PyErr_Occurred()) return NULL
;
6983 } Py_INCREF(Py_None
);
6984 _resultobj
= Py_None
;
6988 #define wxDC_DrawRotatedText(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRotatedText(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6989 static PyObject
*_wrap_wxDC_DrawRotatedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6990 PyObject
* _resultobj
;
6996 PyObject
* _argo0
= 0;
6997 PyObject
* _obj1
= 0;
6998 char *_kwnames
[] = { "self","text","x","y","angle", NULL
};
7001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiid:wxDC_DrawRotatedText",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_arg4
))
7004 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7005 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRotatedText. Expected _wxDC_p.");
7011 #if PYTHON_API_VERSION >= 1009
7012 char* tmpPtr
; int tmpSize
;
7013 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7014 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7017 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7019 _arg1
= new wxString(tmpPtr
, tmpSize
);
7021 if (!PyString_Check(_obj1
)) {
7022 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7025 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7030 wxDC_DrawRotatedText(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
7032 wxPyEndAllowThreads(__tstate
);
7033 if (PyErr_Occurred()) return NULL
;
7034 } Py_INCREF(Py_None
);
7035 _resultobj
= Py_None
;
7043 #define wxDC_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7044 static PyObject
*_wrap_wxDC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7045 PyObject
* _resultobj
;
7051 long _arg5
= (long ) 20;
7052 PyObject
* _argo0
= 0;
7053 char *_kwnames
[] = { "self","x","y","width","height","radius", NULL
};
7056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll|l:wxDC_DrawRoundedRectangle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
7059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRoundedRectangle. Expected _wxDC_p.");
7066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7067 wxDC_DrawRoundedRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7069 wxPyEndAllowThreads(__tstate
);
7070 if (PyErr_Occurred()) return NULL
;
7071 } Py_INCREF(Py_None
);
7072 _resultobj
= Py_None
;
7076 #define wxDC_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1))
7077 static PyObject
*_wrap_wxDC_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7078 PyObject
* _resultobj
;
7082 PyObject
* _argo0
= 0;
7084 PyObject
* _obj2
= 0;
7085 char *_kwnames
[] = { "self","points", NULL
};
7088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_DrawSpline",_kwnames
,&_argo0
,&_obj2
))
7091 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7092 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawSpline. Expected _wxDC_p.");
7099 _arg2
= wxPoint_LIST_helper(_obj2
, &NPOINTS
);
7100 if (_arg2
== NULL
) {
7108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7109 wxDC_DrawSpline(_arg0
,_arg1
,_arg2
);
7111 wxPyEndAllowThreads(__tstate
);
7112 if (PyErr_Occurred()) return NULL
;
7113 } Py_INCREF(Py_None
);
7114 _resultobj
= Py_None
;
7121 #define wxDC_DrawText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawText(_swigarg0,_swigarg1,_swigarg2))
7122 static PyObject
*_wrap_wxDC_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7123 PyObject
* _resultobj
;
7128 PyObject
* _argo0
= 0;
7129 PyObject
* _obj1
= 0;
7130 char *_kwnames
[] = { "self","text","x","y", NULL
};
7133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll:wxDC_DrawText",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
))
7136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawText. Expected _wxDC_p.");
7143 #if PYTHON_API_VERSION >= 1009
7144 char* tmpPtr
; int tmpSize
;
7145 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7146 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7149 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7151 _arg1
= new wxString(tmpPtr
, tmpSize
);
7153 if (!PyString_Check(_obj1
)) {
7154 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7157 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7162 wxDC_DrawText(_arg0
,*_arg1
,_arg2
,_arg3
);
7164 wxPyEndAllowThreads(__tstate
);
7165 if (PyErr_Occurred()) return NULL
;
7166 } Py_INCREF(Py_None
);
7167 _resultobj
= Py_None
;
7175 #define wxDC_EndDoc(_swigobj) (_swigobj->EndDoc())
7176 static PyObject
*_wrap_wxDC_EndDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7177 PyObject
* _resultobj
;
7179 PyObject
* _argo0
= 0;
7180 char *_kwnames
[] = { "self", NULL
};
7183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndDoc",_kwnames
,&_argo0
))
7186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDoc. Expected _wxDC_p.");
7193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7196 wxPyEndAllowThreads(__tstate
);
7197 if (PyErr_Occurred()) return NULL
;
7198 } Py_INCREF(Py_None
);
7199 _resultobj
= Py_None
;
7203 #define wxDC_EndDrawing(_swigobj) (_swigobj->EndDrawing())
7204 static PyObject
*_wrap_wxDC_EndDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7205 PyObject
* _resultobj
;
7207 PyObject
* _argo0
= 0;
7208 char *_kwnames
[] = { "self", NULL
};
7211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndDrawing",_kwnames
,&_argo0
))
7214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDrawing. Expected _wxDC_p.");
7221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7222 wxDC_EndDrawing(_arg0
);
7224 wxPyEndAllowThreads(__tstate
);
7225 if (PyErr_Occurred()) return NULL
;
7226 } Py_INCREF(Py_None
);
7227 _resultobj
= Py_None
;
7231 #define wxDC_EndPage(_swigobj) (_swigobj->EndPage())
7232 static PyObject
*_wrap_wxDC_EndPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7233 PyObject
* _resultobj
;
7235 PyObject
* _argo0
= 0;
7236 char *_kwnames
[] = { "self", NULL
};
7239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndPage",_kwnames
,&_argo0
))
7242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndPage. Expected _wxDC_p.");
7249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7250 wxDC_EndPage(_arg0
);
7252 wxPyEndAllowThreads(__tstate
);
7253 if (PyErr_Occurred()) return NULL
;
7254 } Py_INCREF(Py_None
);
7255 _resultobj
= Py_None
;
7259 #define wxDC_FloodFill(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FloodFill(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7260 static PyObject
*_wrap_wxDC_FloodFill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7261 PyObject
* _resultobj
;
7266 int _arg4
= (int ) wxFLOOD_SURFACE
;
7267 PyObject
* _argo0
= 0;
7269 PyObject
* _obj3
= 0;
7270 char *_kwnames
[] = { "self","x","y","colour","style", NULL
};
7273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO|i:wxDC_FloodFill",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
7276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_FloodFill. Expected _wxDC_p.");
7284 if (! wxColour_helper(_obj3
, &_arg3
))
7288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7289 wxDC_FloodFill(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
7291 wxPyEndAllowThreads(__tstate
);
7292 if (PyErr_Occurred()) return NULL
;
7293 } Py_INCREF(Py_None
);
7294 _resultobj
= Py_None
;
7298 #define wxDC_GetBackground(_swigobj) (_swigobj->GetBackground())
7299 static PyObject
*_wrap_wxDC_GetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7300 PyObject
* _resultobj
;
7303 PyObject
* _argo0
= 0;
7304 char *_kwnames
[] = { "self", NULL
};
7308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBackground",_kwnames
,&_argo0
))
7311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBackground. Expected _wxDC_p.");
7318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7319 _result
= new wxBrush (wxDC_GetBackground(_arg0
));
7321 wxPyEndAllowThreads(__tstate
);
7322 if (PyErr_Occurred()) return NULL
;
7323 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBrush_p");
7324 _resultobj
= Py_BuildValue("s",_ptemp
);
7328 #define wxDC_GetBrush(_swigobj) (_swigobj->GetBrush())
7329 static PyObject
*_wrap_wxDC_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7330 PyObject
* _resultobj
;
7333 PyObject
* _argo0
= 0;
7334 char *_kwnames
[] = { "self", NULL
};
7338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBrush",_kwnames
,&_argo0
))
7341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBrush. Expected _wxDC_p.");
7348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7349 _result
= new wxBrush (wxDC_GetBrush(_arg0
));
7351 wxPyEndAllowThreads(__tstate
);
7352 if (PyErr_Occurred()) return NULL
;
7353 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBrush_p");
7354 _resultobj
= Py_BuildValue("s",_ptemp
);
7358 #define wxDC_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
7359 static PyObject
*_wrap_wxDC_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7360 PyObject
* _resultobj
;
7363 PyObject
* _argo0
= 0;
7364 char *_kwnames
[] = { "self", NULL
};
7367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetCharHeight",_kwnames
,&_argo0
))
7370 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7371 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharHeight. Expected _wxDC_p.");
7377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7378 _result
= (long )wxDC_GetCharHeight(_arg0
);
7380 wxPyEndAllowThreads(__tstate
);
7381 if (PyErr_Occurred()) return NULL
;
7382 } _resultobj
= Py_BuildValue("l",_result
);
7386 #define wxDC_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
7387 static PyObject
*_wrap_wxDC_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7388 PyObject
* _resultobj
;
7391 PyObject
* _argo0
= 0;
7392 char *_kwnames
[] = { "self", NULL
};
7395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetCharWidth",_kwnames
,&_argo0
))
7398 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7399 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharWidth. Expected _wxDC_p.");
7405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7406 _result
= (long )wxDC_GetCharWidth(_arg0
);
7408 wxPyEndAllowThreads(__tstate
);
7409 if (PyErr_Occurred()) return NULL
;
7410 } _resultobj
= Py_BuildValue("l",_result
);
7414 #define wxDC_GetClippingBox(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetClippingBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7415 static PyObject
*_wrap_wxDC_GetClippingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7416 PyObject
* _resultobj
;
7426 PyObject
* _argo0
= 0;
7427 char *_kwnames
[] = { "self", NULL
};
7442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetClippingBox",_kwnames
,&_argo0
))
7445 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7446 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetClippingBox. Expected _wxDC_p.");
7452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7453 wxDC_GetClippingBox(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7455 wxPyEndAllowThreads(__tstate
);
7456 if (PyErr_Occurred()) return NULL
;
7457 } Py_INCREF(Py_None
);
7458 _resultobj
= Py_None
;
7461 o
= PyInt_FromLong((long) (*_arg1
));
7462 _resultobj
= t_output_helper(_resultobj
, o
);
7466 o
= PyInt_FromLong((long) (*_arg2
));
7467 _resultobj
= t_output_helper(_resultobj
, o
);
7471 o
= PyInt_FromLong((long) (*_arg3
));
7472 _resultobj
= t_output_helper(_resultobj
, o
);
7476 o
= PyInt_FromLong((long) (*_arg4
));
7477 _resultobj
= t_output_helper(_resultobj
, o
);
7482 #define wxDC_GetFont(_swigobj) (_swigobj->GetFont())
7483 static PyObject
*_wrap_wxDC_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7484 PyObject
* _resultobj
;
7487 PyObject
* _argo0
= 0;
7488 char *_kwnames
[] = { "self", NULL
};
7492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetFont",_kwnames
,&_argo0
))
7495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFont. Expected _wxDC_p.");
7502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7503 _result
= new wxFont (wxDC_GetFont(_arg0
));
7505 wxPyEndAllowThreads(__tstate
);
7506 if (PyErr_Occurred()) return NULL
;
7507 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
7508 _resultobj
= Py_BuildValue("s",_ptemp
);
7512 #define wxDC_GetLogicalFunction(_swigobj) (_swigobj->GetLogicalFunction())
7513 static PyObject
*_wrap_wxDC_GetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7514 PyObject
* _resultobj
;
7517 PyObject
* _argo0
= 0;
7518 char *_kwnames
[] = { "self", NULL
};
7521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalFunction",_kwnames
,&_argo0
))
7524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalFunction. Expected _wxDC_p.");
7531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7532 _result
= (int )wxDC_GetLogicalFunction(_arg0
);
7534 wxPyEndAllowThreads(__tstate
);
7535 if (PyErr_Occurred()) return NULL
;
7536 } _resultobj
= Py_BuildValue("i",_result
);
7540 #define wxDC_GetLogicalScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLogicalScale(_swigarg0,_swigarg1))
7541 static PyObject
*_wrap_wxDC_GetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7542 PyObject
* _resultobj
;
7548 PyObject
* _argo0
= 0;
7549 char *_kwnames
[] = { "self", NULL
};
7558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalScale",_kwnames
,&_argo0
))
7561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalScale. Expected _wxDC_p.");
7568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7569 wxDC_GetLogicalScale(_arg0
,_arg1
,_arg2
);
7571 wxPyEndAllowThreads(__tstate
);
7572 if (PyErr_Occurred()) return NULL
;
7573 } Py_INCREF(Py_None
);
7574 _resultobj
= Py_None
;
7577 o
= PyFloat_FromDouble((double) (*_arg1
));
7578 _resultobj
= t_output_helper(_resultobj
, o
);
7582 o
= PyFloat_FromDouble((double) (*_arg2
));
7583 _resultobj
= t_output_helper(_resultobj
, o
);
7588 #define wxDC_GetMapMode(_swigobj) (_swigobj->GetMapMode())
7589 static PyObject
*_wrap_wxDC_GetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7590 PyObject
* _resultobj
;
7593 PyObject
* _argo0
= 0;
7594 char *_kwnames
[] = { "self", NULL
};
7597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetMapMode",_kwnames
,&_argo0
))
7600 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7601 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetMapMode. Expected _wxDC_p.");
7607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7608 _result
= (int )wxDC_GetMapMode(_arg0
);
7610 wxPyEndAllowThreads(__tstate
);
7611 if (PyErr_Occurred()) return NULL
;
7612 } _resultobj
= Py_BuildValue("i",_result
);
7616 #define wxDC_GetOptimization(_swigobj) (_swigobj->GetOptimization())
7617 static PyObject
*_wrap_wxDC_GetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7618 PyObject
* _resultobj
;
7621 PyObject
* _argo0
= 0;
7622 char *_kwnames
[] = { "self", NULL
};
7625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetOptimization",_kwnames
,&_argo0
))
7628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetOptimization. Expected _wxDC_p.");
7635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7636 _result
= (bool )wxDC_GetOptimization(_arg0
);
7638 wxPyEndAllowThreads(__tstate
);
7639 if (PyErr_Occurred()) return NULL
;
7640 } _resultobj
= Py_BuildValue("i",_result
);
7644 #define wxDC_GetPen(_swigobj) (_swigobj->GetPen())
7645 static PyObject
*_wrap_wxDC_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7646 PyObject
* _resultobj
;
7649 PyObject
* _argo0
= 0;
7650 char *_kwnames
[] = { "self", NULL
};
7654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetPen",_kwnames
,&_argo0
))
7657 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7658 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPen. Expected _wxDC_p.");
7664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7665 _result
= new wxPen (wxDC_GetPen(_arg0
));
7667 wxPyEndAllowThreads(__tstate
);
7668 if (PyErr_Occurred()) return NULL
;
7669 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPen_p");
7670 _resultobj
= Py_BuildValue("s",_ptemp
);
7674 static wxColour
* wxDC_GetPixel(wxDC
*self
,long x
,long y
) {
7675 wxColour
* wc
= new wxColour();
7676 self
->GetPixel(x
, y
, wc
);
7679 static PyObject
*_wrap_wxDC_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7680 PyObject
* _resultobj
;
7685 PyObject
* _argo0
= 0;
7686 char *_kwnames
[] = { "self","x","y", NULL
};
7690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_GetPixel",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7693 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7694 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPixel. Expected _wxDC_p.");
7700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7701 _result
= (wxColour
*)wxDC_GetPixel(_arg0
,_arg1
,_arg2
);
7703 wxPyEndAllowThreads(__tstate
);
7704 if (PyErr_Occurred()) return NULL
;
7706 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
7707 _resultobj
= Py_BuildValue("s",_ptemp
);
7710 _resultobj
= Py_None
;
7715 #define wxDC_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
7716 static PyObject
*_wrap_wxDC_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7717 PyObject
* _resultobj
;
7723 PyObject
* _argo0
= 0;
7724 char *_kwnames
[] = { "self", NULL
};
7733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSizeTuple",_kwnames
,&_argo0
))
7736 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7737 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSizeTuple. Expected _wxDC_p.");
7743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7744 wxDC_GetSizeTuple(_arg0
,_arg1
,_arg2
);
7746 wxPyEndAllowThreads(__tstate
);
7747 if (PyErr_Occurred()) return NULL
;
7748 } Py_INCREF(Py_None
);
7749 _resultobj
= Py_None
;
7752 o
= PyInt_FromLong((long) (*_arg1
));
7753 _resultobj
= t_output_helper(_resultobj
, o
);
7757 o
= PyInt_FromLong((long) (*_arg2
));
7758 _resultobj
= t_output_helper(_resultobj
, o
);
7763 #define wxDC_GetSize(_swigobj) (_swigobj->GetSize())
7764 static PyObject
*_wrap_wxDC_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7765 PyObject
* _resultobj
;
7768 PyObject
* _argo0
= 0;
7769 char *_kwnames
[] = { "self", NULL
};
7773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSize",_kwnames
,&_argo0
))
7776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSize. Expected _wxDC_p.");
7783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7784 _result
= new wxSize (wxDC_GetSize(_arg0
));
7786 wxPyEndAllowThreads(__tstate
);
7787 if (PyErr_Occurred()) return NULL
;
7788 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
7789 _resultobj
= Py_BuildValue("s",_ptemp
);
7793 #define wxDC_GetSizeMM(_swigobj) (_swigobj->GetSizeMM())
7794 static PyObject
*_wrap_wxDC_GetSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7795 PyObject
* _resultobj
;
7798 PyObject
* _argo0
= 0;
7799 char *_kwnames
[] = { "self", NULL
};
7803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSizeMM",_kwnames
,&_argo0
))
7806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSizeMM. Expected _wxDC_p.");
7813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7814 _result
= new wxSize (wxDC_GetSizeMM(_arg0
));
7816 wxPyEndAllowThreads(__tstate
);
7817 if (PyErr_Occurred()) return NULL
;
7818 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
7819 _resultobj
= Py_BuildValue("s",_ptemp
);
7823 #define wxDC_GetTextBackground(_swigobj) (_swigobj->GetTextBackground())
7824 static PyObject
*_wrap_wxDC_GetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7825 PyObject
* _resultobj
;
7828 PyObject
* _argo0
= 0;
7829 char *_kwnames
[] = { "self", NULL
};
7833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetTextBackground",_kwnames
,&_argo0
))
7836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextBackground. Expected _wxDC_p.");
7843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7844 _result
= new wxColour (wxDC_GetTextBackground(_arg0
));
7846 wxPyEndAllowThreads(__tstate
);
7847 if (PyErr_Occurred()) return NULL
;
7848 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
7849 _resultobj
= Py_BuildValue("s",_ptemp
);
7853 #define wxDC_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
7854 static PyObject
*_wrap_wxDC_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7855 PyObject
* _resultobj
;
7862 PyObject
* _argo0
= 0;
7863 PyObject
* _obj1
= 0;
7864 char *_kwnames
[] = { "self","string", NULL
};
7873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
7876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextExtent. Expected _wxDC_p.");
7883 #if PYTHON_API_VERSION >= 1009
7884 char* tmpPtr
; int tmpSize
;
7885 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7886 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7889 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7891 _arg1
= new wxString(tmpPtr
, tmpSize
);
7893 if (!PyString_Check(_obj1
)) {
7894 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7897 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7902 wxDC_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
7904 wxPyEndAllowThreads(__tstate
);
7905 if (PyErr_Occurred()) return NULL
;
7906 } Py_INCREF(Py_None
);
7907 _resultobj
= Py_None
;
7910 o
= PyInt_FromLong((long) (*_arg2
));
7911 _resultobj
= t_output_helper(_resultobj
, o
);
7915 o
= PyInt_FromLong((long) (*_arg3
));
7916 _resultobj
= t_output_helper(_resultobj
, o
);
7925 #define wxDC_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7926 static PyObject
*_wrap_wxDC_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7927 PyObject
* _resultobj
;
7938 wxFont
* _arg6
= (wxFont
*) NULL
;
7939 PyObject
* _argo0
= 0;
7940 PyObject
* _obj1
= 0;
7941 PyObject
* _argo6
= 0;
7942 char *_kwnames
[] = { "self","string","font", NULL
};
7957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxDC_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
7960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFullTextExtent. Expected _wxDC_p.");
7967 #if PYTHON_API_VERSION >= 1009
7968 char* tmpPtr
; int tmpSize
;
7969 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7970 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7973 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7975 _arg1
= new wxString(tmpPtr
, tmpSize
);
7977 if (!PyString_Check(_obj1
)) {
7978 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7981 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7985 if (_argo6
== Py_None
) { _arg6
= NULL
; }
7986 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
7987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxDC_GetFullTextExtent. Expected _wxFont_p.");
7992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7993 wxDC_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
7995 wxPyEndAllowThreads(__tstate
);
7996 if (PyErr_Occurred()) return NULL
;
7997 } Py_INCREF(Py_None
);
7998 _resultobj
= Py_None
;
8001 o
= PyInt_FromLong((long) (*_arg2
));
8002 _resultobj
= t_output_helper(_resultobj
, o
);
8006 o
= PyInt_FromLong((long) (*_arg3
));
8007 _resultobj
= t_output_helper(_resultobj
, o
);
8011 o
= PyInt_FromLong((long) (*_arg4
));
8012 _resultobj
= t_output_helper(_resultobj
, o
);
8016 o
= PyInt_FromLong((long) (*_arg5
));
8017 _resultobj
= t_output_helper(_resultobj
, o
);
8026 #define wxDC_GetTextForeground(_swigobj) (_swigobj->GetTextForeground())
8027 static PyObject
*_wrap_wxDC_GetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8028 PyObject
* _resultobj
;
8031 PyObject
* _argo0
= 0;
8032 char *_kwnames
[] = { "self", NULL
};
8036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetTextForeground",_kwnames
,&_argo0
))
8039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextForeground. Expected _wxDC_p.");
8046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8047 _result
= new wxColour (wxDC_GetTextForeground(_arg0
));
8049 wxPyEndAllowThreads(__tstate
);
8050 if (PyErr_Occurred()) return NULL
;
8051 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
8052 _resultobj
= Py_BuildValue("s",_ptemp
);
8056 #define wxDC_GetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetUserScale(_swigarg0,_swigarg1))
8057 static PyObject
*_wrap_wxDC_GetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8058 PyObject
* _resultobj
;
8064 PyObject
* _argo0
= 0;
8065 char *_kwnames
[] = { "self", NULL
};
8074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetUserScale",_kwnames
,&_argo0
))
8077 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8078 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetUserScale. Expected _wxDC_p.");
8084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8085 wxDC_GetUserScale(_arg0
,_arg1
,_arg2
);
8087 wxPyEndAllowThreads(__tstate
);
8088 if (PyErr_Occurred()) return NULL
;
8089 } Py_INCREF(Py_None
);
8090 _resultobj
= Py_None
;
8093 o
= PyFloat_FromDouble((double) (*_arg1
));
8094 _resultobj
= t_output_helper(_resultobj
, o
);
8098 o
= PyFloat_FromDouble((double) (*_arg2
));
8099 _resultobj
= t_output_helper(_resultobj
, o
);
8104 #define wxDC_LogicalToDeviceX(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceX(_swigarg0))
8105 static PyObject
*_wrap_wxDC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8106 PyObject
* _resultobj
;
8110 PyObject
* _argo0
= 0;
8111 char *_kwnames
[] = { "self","x", NULL
};
8114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceX",_kwnames
,&_argo0
,&_arg1
))
8117 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8118 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceX. Expected _wxDC_p.");
8124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8125 _result
= (long )wxDC_LogicalToDeviceX(_arg0
,_arg1
);
8127 wxPyEndAllowThreads(__tstate
);
8128 if (PyErr_Occurred()) return NULL
;
8129 } _resultobj
= Py_BuildValue("l",_result
);
8133 #define wxDC_LogicalToDeviceXRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceXRel(_swigarg0))
8134 static PyObject
*_wrap_wxDC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8135 PyObject
* _resultobj
;
8139 PyObject
* _argo0
= 0;
8140 char *_kwnames
[] = { "self","x", NULL
};
8143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceXRel",_kwnames
,&_argo0
,&_arg1
))
8146 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8147 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceXRel. Expected _wxDC_p.");
8153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8154 _result
= (long )wxDC_LogicalToDeviceXRel(_arg0
,_arg1
);
8156 wxPyEndAllowThreads(__tstate
);
8157 if (PyErr_Occurred()) return NULL
;
8158 } _resultobj
= Py_BuildValue("l",_result
);
8162 #define wxDC_LogicalToDeviceY(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceY(_swigarg0))
8163 static PyObject
*_wrap_wxDC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8164 PyObject
* _resultobj
;
8168 PyObject
* _argo0
= 0;
8169 char *_kwnames
[] = { "self","y", NULL
};
8172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceY",_kwnames
,&_argo0
,&_arg1
))
8175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceY. Expected _wxDC_p.");
8182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8183 _result
= (long )wxDC_LogicalToDeviceY(_arg0
,_arg1
);
8185 wxPyEndAllowThreads(__tstate
);
8186 if (PyErr_Occurred()) return NULL
;
8187 } _resultobj
= Py_BuildValue("l",_result
);
8191 #define wxDC_LogicalToDeviceYRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceYRel(_swigarg0))
8192 static PyObject
*_wrap_wxDC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8193 PyObject
* _resultobj
;
8197 PyObject
* _argo0
= 0;
8198 char *_kwnames
[] = { "self","y", NULL
};
8201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceYRel",_kwnames
,&_argo0
,&_arg1
))
8204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceYRel. Expected _wxDC_p.");
8211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8212 _result
= (long )wxDC_LogicalToDeviceYRel(_arg0
,_arg1
);
8214 wxPyEndAllowThreads(__tstate
);
8215 if (PyErr_Occurred()) return NULL
;
8216 } _resultobj
= Py_BuildValue("l",_result
);
8220 #define wxDC_MaxX(_swigobj) (_swigobj->MaxX())
8221 static PyObject
*_wrap_wxDC_MaxX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8222 PyObject
* _resultobj
;
8225 PyObject
* _argo0
= 0;
8226 char *_kwnames
[] = { "self", NULL
};
8229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MaxX",_kwnames
,&_argo0
))
8232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxX. Expected _wxDC_p.");
8239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8240 _result
= (long )wxDC_MaxX(_arg0
);
8242 wxPyEndAllowThreads(__tstate
);
8243 if (PyErr_Occurred()) return NULL
;
8244 } _resultobj
= Py_BuildValue("l",_result
);
8248 #define wxDC_MaxY(_swigobj) (_swigobj->MaxY())
8249 static PyObject
*_wrap_wxDC_MaxY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8250 PyObject
* _resultobj
;
8253 PyObject
* _argo0
= 0;
8254 char *_kwnames
[] = { "self", NULL
};
8257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MaxY",_kwnames
,&_argo0
))
8260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxY. Expected _wxDC_p.");
8267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8268 _result
= (long )wxDC_MaxY(_arg0
);
8270 wxPyEndAllowThreads(__tstate
);
8271 if (PyErr_Occurred()) return NULL
;
8272 } _resultobj
= Py_BuildValue("l",_result
);
8276 #define wxDC_MinX(_swigobj) (_swigobj->MinX())
8277 static PyObject
*_wrap_wxDC_MinX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8278 PyObject
* _resultobj
;
8281 PyObject
* _argo0
= 0;
8282 char *_kwnames
[] = { "self", NULL
};
8285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MinX",_kwnames
,&_argo0
))
8288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinX. Expected _wxDC_p.");
8295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8296 _result
= (long )wxDC_MinX(_arg0
);
8298 wxPyEndAllowThreads(__tstate
);
8299 if (PyErr_Occurred()) return NULL
;
8300 } _resultobj
= Py_BuildValue("l",_result
);
8304 #define wxDC_MinY(_swigobj) (_swigobj->MinY())
8305 static PyObject
*_wrap_wxDC_MinY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8306 PyObject
* _resultobj
;
8309 PyObject
* _argo0
= 0;
8310 char *_kwnames
[] = { "self", NULL
};
8313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MinY",_kwnames
,&_argo0
))
8316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinY. Expected _wxDC_p.");
8323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8324 _result
= (long )wxDC_MinY(_arg0
);
8326 wxPyEndAllowThreads(__tstate
);
8327 if (PyErr_Occurred()) return NULL
;
8328 } _resultobj
= Py_BuildValue("l",_result
);
8332 #define wxDC_Ok(_swigobj) (_swigobj->Ok())
8333 static PyObject
*_wrap_wxDC_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8334 PyObject
* _resultobj
;
8337 PyObject
* _argo0
= 0;
8338 char *_kwnames
[] = { "self", NULL
};
8341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_Ok",_kwnames
,&_argo0
))
8344 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8345 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Ok. Expected _wxDC_p.");
8351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8352 _result
= (bool )wxDC_Ok(_arg0
);
8354 wxPyEndAllowThreads(__tstate
);
8355 if (PyErr_Occurred()) return NULL
;
8356 } _resultobj
= Py_BuildValue("i",_result
);
8360 #define wxDC_SetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDeviceOrigin(_swigarg0,_swigarg1))
8361 static PyObject
*_wrap_wxDC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8362 PyObject
* _resultobj
;
8366 PyObject
* _argo0
= 0;
8367 char *_kwnames
[] = { "self","x","y", NULL
};
8370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_SetDeviceOrigin",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetDeviceOrigin. Expected _wxDC_p.");
8380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8381 wxDC_SetDeviceOrigin(_arg0
,_arg1
,_arg2
);
8383 wxPyEndAllowThreads(__tstate
);
8384 if (PyErr_Occurred()) return NULL
;
8385 } Py_INCREF(Py_None
);
8386 _resultobj
= Py_None
;
8390 #define wxDC_SetBackground(_swigobj,_swigarg0) (_swigobj->SetBackground(_swigarg0))
8391 static PyObject
*_wrap_wxDC_SetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8392 PyObject
* _resultobj
;
8395 PyObject
* _argo0
= 0;
8396 PyObject
* _argo1
= 0;
8397 char *_kwnames
[] = { "self","brush", NULL
};
8400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetBackground",_kwnames
,&_argo0
,&_argo1
))
8403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackground. Expected _wxDC_p.");
8410 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8411 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
8412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBackground. Expected _wxBrush_p.");
8417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8418 wxDC_SetBackground(_arg0
,*_arg1
);
8420 wxPyEndAllowThreads(__tstate
);
8421 if (PyErr_Occurred()) return NULL
;
8422 } Py_INCREF(Py_None
);
8423 _resultobj
= Py_None
;
8427 #define wxDC_SetBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetBackgroundMode(_swigarg0))
8428 static PyObject
*_wrap_wxDC_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8429 PyObject
* _resultobj
;
8432 PyObject
* _argo0
= 0;
8433 char *_kwnames
[] = { "self","mode", NULL
};
8436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetBackgroundMode",_kwnames
,&_argo0
,&_arg1
))
8439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackgroundMode. Expected _wxDC_p.");
8446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8447 wxDC_SetBackgroundMode(_arg0
,_arg1
);
8449 wxPyEndAllowThreads(__tstate
);
8450 if (PyErr_Occurred()) return NULL
;
8451 } Py_INCREF(Py_None
);
8452 _resultobj
= Py_None
;
8456 #define wxDC_SetClippingRegion(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetClippingRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8457 static PyObject
*_wrap_wxDC_SetClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8458 PyObject
* _resultobj
;
8464 PyObject
* _argo0
= 0;
8465 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
8468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_SetClippingRegion",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
8471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetClippingRegion. Expected _wxDC_p.");
8478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8479 wxDC_SetClippingRegion(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
8481 wxPyEndAllowThreads(__tstate
);
8482 if (PyErr_Occurred()) return NULL
;
8483 } Py_INCREF(Py_None
);
8484 _resultobj
= Py_None
;
8488 #define wxDC_SetClippingRegionAsRegion(_swigobj,_swigarg0) (_swigobj->SetClippingRegion(_swigarg0))
8489 static PyObject
*_wrap_wxDC_SetClippingRegionAsRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8490 PyObject
* _resultobj
;
8493 PyObject
* _argo0
= 0;
8494 PyObject
* _argo1
= 0;
8495 char *_kwnames
[] = { "self","region", NULL
};
8498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetClippingRegionAsRegion",_kwnames
,&_argo0
,&_argo1
))
8501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetClippingRegionAsRegion. Expected _wxDC_p.");
8508 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8509 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
8510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetClippingRegionAsRegion. Expected _wxRegion_p.");
8515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8516 wxDC_SetClippingRegionAsRegion(_arg0
,*_arg1
);
8518 wxPyEndAllowThreads(__tstate
);
8519 if (PyErr_Occurred()) return NULL
;
8520 } Py_INCREF(Py_None
);
8521 _resultobj
= Py_None
;
8525 #define wxDC_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
8526 static PyObject
*_wrap_wxDC_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8527 PyObject
* _resultobj
;
8530 PyObject
* _argo0
= 0;
8531 PyObject
* _argo1
= 0;
8532 char *_kwnames
[] = { "self","colourMap", NULL
};
8535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetPalette",_kwnames
,&_argo0
,&_argo1
))
8538 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8539 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPalette. Expected _wxDC_p.");
8545 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8546 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPalette_p")) {
8547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPalette. Expected _wxPalette_p.");
8552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8553 wxDC_SetPalette(_arg0
,*_arg1
);
8555 wxPyEndAllowThreads(__tstate
);
8556 if (PyErr_Occurred()) return NULL
;
8557 } Py_INCREF(Py_None
);
8558 _resultobj
= Py_None
;
8562 #define wxDC_SetBrush(_swigobj,_swigarg0) (_swigobj->SetBrush(_swigarg0))
8563 static PyObject
*_wrap_wxDC_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8564 PyObject
* _resultobj
;
8567 PyObject
* _argo0
= 0;
8568 PyObject
* _argo1
= 0;
8569 char *_kwnames
[] = { "self","brush", NULL
};
8572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetBrush",_kwnames
,&_argo0
,&_argo1
))
8575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBrush. Expected _wxDC_p.");
8582 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8583 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
8584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBrush. Expected _wxBrush_p.");
8589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8590 wxDC_SetBrush(_arg0
,*_arg1
);
8592 wxPyEndAllowThreads(__tstate
);
8593 if (PyErr_Occurred()) return NULL
;
8594 } Py_INCREF(Py_None
);
8595 _resultobj
= Py_None
;
8599 #define wxDC_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
8600 static PyObject
*_wrap_wxDC_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8601 PyObject
* _resultobj
;
8604 PyObject
* _argo0
= 0;
8605 PyObject
* _argo1
= 0;
8606 char *_kwnames
[] = { "self","font", NULL
};
8609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetFont",_kwnames
,&_argo0
,&_argo1
))
8612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetFont. Expected _wxDC_p.");
8619 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8620 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
8621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetFont. Expected _wxFont_p.");
8626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8627 wxDC_SetFont(_arg0
,*_arg1
);
8629 wxPyEndAllowThreads(__tstate
);
8630 if (PyErr_Occurred()) return NULL
;
8631 } Py_INCREF(Py_None
);
8632 _resultobj
= Py_None
;
8636 #define wxDC_SetLogicalFunction(_swigobj,_swigarg0) (_swigobj->SetLogicalFunction(_swigarg0))
8637 static PyObject
*_wrap_wxDC_SetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8638 PyObject
* _resultobj
;
8641 PyObject
* _argo0
= 0;
8642 char *_kwnames
[] = { "self","function", NULL
};
8645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetLogicalFunction",_kwnames
,&_argo0
,&_arg1
))
8648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalFunction. Expected _wxDC_p.");
8655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8656 wxDC_SetLogicalFunction(_arg0
,_arg1
);
8658 wxPyEndAllowThreads(__tstate
);
8659 if (PyErr_Occurred()) return NULL
;
8660 } Py_INCREF(Py_None
);
8661 _resultobj
= Py_None
;
8665 #define wxDC_SetLogicalScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLogicalScale(_swigarg0,_swigarg1))
8666 static PyObject
*_wrap_wxDC_SetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8667 PyObject
* _resultobj
;
8671 PyObject
* _argo0
= 0;
8672 char *_kwnames
[] = { "self","x","y", NULL
};
8675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxDC_SetLogicalScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalScale. Expected _wxDC_p.");
8685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8686 wxDC_SetLogicalScale(_arg0
,_arg1
,_arg2
);
8688 wxPyEndAllowThreads(__tstate
);
8689 if (PyErr_Occurred()) return NULL
;
8690 } Py_INCREF(Py_None
);
8691 _resultobj
= Py_None
;
8695 #define wxDC_SetMapMode(_swigobj,_swigarg0) (_swigobj->SetMapMode(_swigarg0))
8696 static PyObject
*_wrap_wxDC_SetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8697 PyObject
* _resultobj
;
8700 PyObject
* _argo0
= 0;
8701 char *_kwnames
[] = { "self","mode", NULL
};
8704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetMapMode",_kwnames
,&_argo0
,&_arg1
))
8707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetMapMode. Expected _wxDC_p.");
8714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8715 wxDC_SetMapMode(_arg0
,_arg1
);
8717 wxPyEndAllowThreads(__tstate
);
8718 if (PyErr_Occurred()) return NULL
;
8719 } Py_INCREF(Py_None
);
8720 _resultobj
= Py_None
;
8724 #define wxDC_SetOptimization(_swigobj,_swigarg0) (_swigobj->SetOptimization(_swigarg0))
8725 static PyObject
*_wrap_wxDC_SetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8726 PyObject
* _resultobj
;
8729 PyObject
* _argo0
= 0;
8731 char *_kwnames
[] = { "self","optimize", NULL
};
8734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetOptimization",_kwnames
,&_argo0
,&tempbool1
))
8737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetOptimization. Expected _wxDC_p.");
8743 _arg1
= (bool ) tempbool1
;
8745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8746 wxDC_SetOptimization(_arg0
,_arg1
);
8748 wxPyEndAllowThreads(__tstate
);
8749 if (PyErr_Occurred()) return NULL
;
8750 } Py_INCREF(Py_None
);
8751 _resultobj
= Py_None
;
8755 #define wxDC_SetPen(_swigobj,_swigarg0) (_swigobj->SetPen(_swigarg0))
8756 static PyObject
*_wrap_wxDC_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8757 PyObject
* _resultobj
;
8760 PyObject
* _argo0
= 0;
8761 PyObject
* _argo1
= 0;
8762 char *_kwnames
[] = { "self","pen", NULL
};
8765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetPen",_kwnames
,&_argo0
,&_argo1
))
8768 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8769 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPen. Expected _wxDC_p.");
8775 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8776 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
8777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPen. Expected _wxPen_p.");
8782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8783 wxDC_SetPen(_arg0
,*_arg1
);
8785 wxPyEndAllowThreads(__tstate
);
8786 if (PyErr_Occurred()) return NULL
;
8787 } Py_INCREF(Py_None
);
8788 _resultobj
= Py_None
;
8792 #define wxDC_SetTextBackground(_swigobj,_swigarg0) (_swigobj->SetTextBackground(_swigarg0))
8793 static PyObject
*_wrap_wxDC_SetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8794 PyObject
* _resultobj
;
8797 PyObject
* _argo0
= 0;
8799 PyObject
* _obj1
= 0;
8800 char *_kwnames
[] = { "self","colour", NULL
};
8803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetTextBackground",_kwnames
,&_argo0
,&_obj1
))
8806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextBackground. Expected _wxDC_p.");
8814 if (! wxColour_helper(_obj1
, &_arg1
))
8818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8819 wxDC_SetTextBackground(_arg0
,*_arg1
);
8821 wxPyEndAllowThreads(__tstate
);
8822 if (PyErr_Occurred()) return NULL
;
8823 } Py_INCREF(Py_None
);
8824 _resultobj
= Py_None
;
8828 #define wxDC_SetTextForeground(_swigobj,_swigarg0) (_swigobj->SetTextForeground(_swigarg0))
8829 static PyObject
*_wrap_wxDC_SetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8830 PyObject
* _resultobj
;
8833 PyObject
* _argo0
= 0;
8835 PyObject
* _obj1
= 0;
8836 char *_kwnames
[] = { "self","colour", NULL
};
8839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetTextForeground",_kwnames
,&_argo0
,&_obj1
))
8842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextForeground. Expected _wxDC_p.");
8850 if (! wxColour_helper(_obj1
, &_arg1
))
8854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8855 wxDC_SetTextForeground(_arg0
,*_arg1
);
8857 wxPyEndAllowThreads(__tstate
);
8858 if (PyErr_Occurred()) return NULL
;
8859 } Py_INCREF(Py_None
);
8860 _resultobj
= Py_None
;
8864 #define wxDC_SetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetUserScale(_swigarg0,_swigarg1))
8865 static PyObject
*_wrap_wxDC_SetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8866 PyObject
* _resultobj
;
8870 PyObject
* _argo0
= 0;
8871 char *_kwnames
[] = { "self","x_scale","y_scale", NULL
};
8874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxDC_SetUserScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetUserScale. Expected _wxDC_p.");
8884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8885 wxDC_SetUserScale(_arg0
,_arg1
,_arg2
);
8887 wxPyEndAllowThreads(__tstate
);
8888 if (PyErr_Occurred()) return NULL
;
8889 } Py_INCREF(Py_None
);
8890 _resultobj
= Py_None
;
8894 #define wxDC_StartDoc(_swigobj,_swigarg0) (_swigobj->StartDoc(_swigarg0))
8895 static PyObject
*_wrap_wxDC_StartDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8896 PyObject
* _resultobj
;
8900 PyObject
* _argo0
= 0;
8901 PyObject
* _obj1
= 0;
8902 char *_kwnames
[] = { "self","message", NULL
};
8905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_StartDoc",_kwnames
,&_argo0
,&_obj1
))
8908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartDoc. Expected _wxDC_p.");
8915 #if PYTHON_API_VERSION >= 1009
8916 char* tmpPtr
; int tmpSize
;
8917 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8918 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8921 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8923 _arg1
= new wxString(tmpPtr
, tmpSize
);
8925 if (!PyString_Check(_obj1
)) {
8926 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8929 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8934 _result
= (bool )wxDC_StartDoc(_arg0
,*_arg1
);
8936 wxPyEndAllowThreads(__tstate
);
8937 if (PyErr_Occurred()) return NULL
;
8938 } _resultobj
= Py_BuildValue("i",_result
);
8946 #define wxDC_StartPage(_swigobj) (_swigobj->StartPage())
8947 static PyObject
*_wrap_wxDC_StartPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8948 PyObject
* _resultobj
;
8950 PyObject
* _argo0
= 0;
8951 char *_kwnames
[] = { "self", NULL
};
8954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_StartPage",_kwnames
,&_argo0
))
8957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartPage. Expected _wxDC_p.");
8964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8965 wxDC_StartPage(_arg0
);
8967 wxPyEndAllowThreads(__tstate
);
8968 if (PyErr_Occurred()) return NULL
;
8969 } Py_INCREF(Py_None
);
8970 _resultobj
= Py_None
;
8974 #define wxDC_DrawBitmap(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8975 static PyObject
*_wrap_wxDC_DrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8976 PyObject
* _resultobj
;
8981 int _arg4
= (int ) FALSE
;
8982 PyObject
* _argo0
= 0;
8983 PyObject
* _argo1
= 0;
8984 char *_kwnames
[] = { "self","bitmap","x","y","useMask", NULL
};
8987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll|i:wxDC_DrawBitmap",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
))
8990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawBitmap. Expected _wxDC_p.");
8997 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8998 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
8999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawBitmap. Expected _wxBitmap_p.");
9004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9005 wxDC_DrawBitmap(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
9007 wxPyEndAllowThreads(__tstate
);
9008 if (PyErr_Occurred()) return NULL
;
9009 } Py_INCREF(Py_None
);
9010 _resultobj
= Py_None
;
9014 #define wxDC_CanDrawBitmap(_swigobj) (_swigobj->CanDrawBitmap())
9015 static PyObject
*_wrap_wxDC_CanDrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9016 PyObject
* _resultobj
;
9019 PyObject
* _argo0
= 0;
9020 char *_kwnames
[] = { "self", NULL
};
9023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_CanDrawBitmap",_kwnames
,&_argo0
))
9026 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9027 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CanDrawBitmap. Expected _wxDC_p.");
9033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9034 _result
= (bool )wxDC_CanDrawBitmap(_arg0
);
9036 wxPyEndAllowThreads(__tstate
);
9037 if (PyErr_Occurred()) return NULL
;
9038 } _resultobj
= Py_BuildValue("i",_result
);
9042 #define wxDC_CanGetTextExtent(_swigobj) (_swigobj->CanGetTextExtent())
9043 static PyObject
*_wrap_wxDC_CanGetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9044 PyObject
* _resultobj
;
9047 PyObject
* _argo0
= 0;
9048 char *_kwnames
[] = { "self", NULL
};
9051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_CanGetTextExtent",_kwnames
,&_argo0
))
9054 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9055 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CanGetTextExtent. Expected _wxDC_p.");
9061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9062 _result
= (bool )wxDC_CanGetTextExtent(_arg0
);
9064 wxPyEndAllowThreads(__tstate
);
9065 if (PyErr_Occurred()) return NULL
;
9066 } _resultobj
= Py_BuildValue("i",_result
);
9070 #define wxDC_GetDepth(_swigobj) (_swigobj->GetDepth())
9071 static PyObject
*_wrap_wxDC_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9072 PyObject
* _resultobj
;
9075 PyObject
* _argo0
= 0;
9076 char *_kwnames
[] = { "self", NULL
};
9079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetDepth",_kwnames
,&_argo0
))
9082 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9083 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetDepth. Expected _wxDC_p.");
9089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9090 _result
= (int )wxDC_GetDepth(_arg0
);
9092 wxPyEndAllowThreads(__tstate
);
9093 if (PyErr_Occurred()) return NULL
;
9094 } _resultobj
= Py_BuildValue("i",_result
);
9098 #define wxDC_GetPPI(_swigobj) (_swigobj->GetPPI())
9099 static PyObject
*_wrap_wxDC_GetPPI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9100 PyObject
* _resultobj
;
9103 PyObject
* _argo0
= 0;
9104 char *_kwnames
[] = { "self", NULL
};
9108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetPPI",_kwnames
,&_argo0
))
9111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPPI. Expected _wxDC_p.");
9118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9119 _result
= new wxSize (wxDC_GetPPI(_arg0
));
9121 wxPyEndAllowThreads(__tstate
);
9122 if (PyErr_Occurred()) return NULL
;
9123 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
9124 _resultobj
= Py_BuildValue("s",_ptemp
);
9128 #define wxDC_GetLogicalOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLogicalOrigin(_swigarg0,_swigarg1))
9129 static PyObject
*_wrap_wxDC_GetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9130 PyObject
* _resultobj
;
9136 PyObject
* _argo0
= 0;
9137 char *_kwnames
[] = { "self", NULL
};
9146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalOrigin",_kwnames
,&_argo0
))
9149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalOrigin. Expected _wxDC_p.");
9156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9157 wxDC_GetLogicalOrigin(_arg0
,_arg1
,_arg2
);
9159 wxPyEndAllowThreads(__tstate
);
9160 if (PyErr_Occurred()) return NULL
;
9161 } Py_INCREF(Py_None
);
9162 _resultobj
= Py_None
;
9165 o
= PyInt_FromLong((long) (*_arg1
));
9166 _resultobj
= t_output_helper(_resultobj
, o
);
9170 o
= PyInt_FromLong((long) (*_arg2
));
9171 _resultobj
= t_output_helper(_resultobj
, o
);
9176 #define wxDC_SetLogicalOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLogicalOrigin(_swigarg0,_swigarg1))
9177 static PyObject
*_wrap_wxDC_SetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9178 PyObject
* _resultobj
;
9182 PyObject
* _argo0
= 0;
9183 char *_kwnames
[] = { "self","x","y", NULL
};
9186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_SetLogicalOrigin",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9189 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9190 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalOrigin. Expected _wxDC_p.");
9196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9197 wxDC_SetLogicalOrigin(_arg0
,_arg1
,_arg2
);
9199 wxPyEndAllowThreads(__tstate
);
9200 if (PyErr_Occurred()) return NULL
;
9201 } Py_INCREF(Py_None
);
9202 _resultobj
= Py_None
;
9206 #define wxDC_GetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDeviceOrigin(_swigarg0,_swigarg1))
9207 static PyObject
*_wrap_wxDC_GetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9208 PyObject
* _resultobj
;
9214 PyObject
* _argo0
= 0;
9215 char *_kwnames
[] = { "self", NULL
};
9224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetDeviceOrigin",_kwnames
,&_argo0
))
9227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetDeviceOrigin. Expected _wxDC_p.");
9234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9235 wxDC_GetDeviceOrigin(_arg0
,_arg1
,_arg2
);
9237 wxPyEndAllowThreads(__tstate
);
9238 if (PyErr_Occurred()) return NULL
;
9239 } Py_INCREF(Py_None
);
9240 _resultobj
= Py_None
;
9243 o
= PyInt_FromLong((long) (*_arg1
));
9244 _resultobj
= t_output_helper(_resultobj
, o
);
9248 o
= PyInt_FromLong((long) (*_arg2
));
9249 _resultobj
= t_output_helper(_resultobj
, o
);
9254 #define wxDC_SetAxisOrientation(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAxisOrientation(_swigarg0,_swigarg1))
9255 static PyObject
*_wrap_wxDC_SetAxisOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9256 PyObject
* _resultobj
;
9260 PyObject
* _argo0
= 0;
9263 char *_kwnames
[] = { "self","xLeftRight","yBottomUp", NULL
};
9266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_SetAxisOrientation",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
9269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetAxisOrientation. Expected _wxDC_p.");
9275 _arg1
= (bool ) tempbool1
;
9276 _arg2
= (bool ) tempbool2
;
9278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9279 wxDC_SetAxisOrientation(_arg0
,_arg1
,_arg2
);
9281 wxPyEndAllowThreads(__tstate
);
9282 if (PyErr_Occurred()) return NULL
;
9283 } Py_INCREF(Py_None
);
9284 _resultobj
= Py_None
;
9288 #define wxDC_CalcBoundingBox(_swigobj,_swigarg0,_swigarg1) (_swigobj->CalcBoundingBox(_swigarg0,_swigarg1))
9289 static PyObject
*_wrap_wxDC_CalcBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9290 PyObject
* _resultobj
;
9294 PyObject
* _argo0
= 0;
9295 char *_kwnames
[] = { "self","x","y", NULL
};
9298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_CalcBoundingBox",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9301 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9302 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CalcBoundingBox. Expected _wxDC_p.");
9308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9309 wxDC_CalcBoundingBox(_arg0
,_arg1
,_arg2
);
9311 wxPyEndAllowThreads(__tstate
);
9312 if (PyErr_Occurred()) return NULL
;
9313 } Py_INCREF(Py_None
);
9314 _resultobj
= Py_None
;
9318 #define wxDC_ResetBoundingBox(_swigobj) (_swigobj->ResetBoundingBox())
9319 static PyObject
*_wrap_wxDC_ResetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9320 PyObject
* _resultobj
;
9322 PyObject
* _argo0
= 0;
9323 char *_kwnames
[] = { "self", NULL
};
9326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_ResetBoundingBox",_kwnames
,&_argo0
))
9329 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9330 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_ResetBoundingBox. Expected _wxDC_p.");
9336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9337 wxDC_ResetBoundingBox(_arg0
);
9339 wxPyEndAllowThreads(__tstate
);
9340 if (PyErr_Occurred()) return NULL
;
9341 } Py_INCREF(Py_None
);
9342 _resultobj
= Py_None
;
9346 static PyObject
*_wrap_wxDC_GetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9347 PyObject
* _resultobj
;
9357 PyObject
* _argo0
= 0;
9358 char *_kwnames
[] = { "self", NULL
};
9373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBoundingBox",_kwnames
,&_argo0
))
9376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBoundingBox. Expected _wxDC_p.");
9383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9384 wxDC_GetBoundingBox(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
9386 wxPyEndAllowThreads(__tstate
);
9387 if (PyErr_Occurred()) return NULL
;
9388 } Py_INCREF(Py_None
);
9389 _resultobj
= Py_None
;
9392 o
= PyInt_FromLong((long) (*_arg1
));
9393 _resultobj
= t_output_helper(_resultobj
, o
);
9397 o
= PyInt_FromLong((long) (*_arg2
));
9398 _resultobj
= t_output_helper(_resultobj
, o
);
9402 o
= PyInt_FromLong((long) (*_arg3
));
9403 _resultobj
= t_output_helper(_resultobj
, o
);
9407 o
= PyInt_FromLong((long) (*_arg4
));
9408 _resultobj
= t_output_helper(_resultobj
, o
);
9413 static PyObject
* wxDC__DrawPointList(wxDC
*self
,PyObject
* pyPoints
,PyObject
* pyPens
) {
9414 bool isFastSeq
= PyList_Check(pyPoints
) || PyTuple_Check(pyPoints
);
9415 bool isFastPens
= PyList_Check(pyPens
) || PyTuple_Check(pyPens
);
9423 if (!PySequence_Check(pyPoints
)) {
9426 if (!PySequence_Check(pyPens
)) {
9429 numObjs
= PySequence_Length(pyPoints
);
9430 numPens
= PySequence_Length(pyPens
);
9432 for (i
= 0; i
< numObjs
; i
++) {
9436 obj
= PySequence_Fast_GET_ITEM(pyPens
, i
);
9439 obj
= PySequence_GetItem(pyPens
, i
);
9441 if (SWIG_GetPtrObj(obj
, (void **) &pen
, "_wxPen_p")) {
9452 // Get the point coordinants
9454 obj
= PySequence_Fast_GET_ITEM(pyPoints
, i
);
9457 obj
= PySequence_GetItem(pyPoints
, i
);
9459 if (! _2int_seq_helper(obj
, &x1
, &y1
)) {
9465 // Now draw the point
9466 self
->DrawPoint(x1
, y1
);
9476 PyErr_SetString(PyExc_TypeError
, "Expected a sequence of wxPens");
9479 PyErr_SetString(PyExc_TypeError
, "Expected a sequence of (x,y) sequences.");
9482 static PyObject
*_wrap_wxDC__DrawPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9483 PyObject
* _resultobj
;
9488 PyObject
* _argo0
= 0;
9489 PyObject
* _obj1
= 0;
9490 PyObject
* _obj2
= 0;
9491 char *_kwnames
[] = { "self","pyPoints","pyPens", NULL
};
9494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDC__DrawPointList",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
9497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC__DrawPointList. Expected _wxDC_p.");
9510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9511 _result
= (PyObject
*)wxDC__DrawPointList(_arg0
,_arg1
,_arg2
);
9513 wxPyEndAllowThreads(__tstate
);
9514 if (PyErr_Occurred()) return NULL
;
9516 _resultobj
= _result
;
9521 static PyObject
* wxDC__DrawLineList(wxDC
*self
,PyObject
* pyLines
,PyObject
* pyPens
) {
9522 bool isFastSeq
= PyList_Check(pyLines
) || PyTuple_Check(pyLines
);
9523 bool isFastPens
= PyList_Check(pyPens
) || PyTuple_Check(pyPens
);
9531 if (!PySequence_Check(pyLines
)) {
9534 if (!PySequence_Check(pyPens
)) {
9537 numObjs
= PySequence_Length(pyLines
);
9538 numPens
= PySequence_Length(pyPens
);
9540 for (i
= 0; i
< numObjs
; i
++) {
9544 obj
= PySequence_Fast_GET_ITEM(pyPens
, i
);
9547 obj
= PySequence_GetItem(pyPens
, i
);
9549 if (SWIG_GetPtrObj(obj
, (void **) &pen
, "_wxPen_p")) {
9560 // Get the line coordinants
9562 obj
= PySequence_Fast_GET_ITEM(pyLines
, i
);
9565 obj
= PySequence_GetItem(pyLines
, i
);
9567 if (! _4int_seq_helper(obj
, &x1
, &y1
, &x2
, &y2
)) {
9573 // Now draw the line
9574 self
->DrawLine(x1
, y1
, x2
, y2
);
9584 PyErr_SetString(PyExc_TypeError
, "Expected a sequence of wxPens");
9587 PyErr_SetString(PyExc_TypeError
, "Expected a sequence of (x1,y1, x2,y2) sequences.");
9590 static PyObject
*_wrap_wxDC__DrawLineList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9591 PyObject
* _resultobj
;
9596 PyObject
* _argo0
= 0;
9597 PyObject
* _obj1
= 0;
9598 PyObject
* _obj2
= 0;
9599 char *_kwnames
[] = { "self","pyLines","pyPens", NULL
};
9602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDC__DrawLineList",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
9605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC__DrawLineList. Expected _wxDC_p.");
9618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9619 _result
= (PyObject
*)wxDC__DrawLineList(_arg0
,_arg1
,_arg2
);
9621 wxPyEndAllowThreads(__tstate
);
9622 if (PyErr_Occurred()) return NULL
;
9624 _resultobj
= _result
;
9629 static void *SwigwxMemoryDCTowxDC(void *ptr
) {
9632 src
= (wxMemoryDC
*) ptr
;
9633 dest
= (wxDC
*) src
;
9634 return (void *) dest
;
9637 static void *SwigwxMemoryDCTowxObject(void *ptr
) {
9640 src
= (wxMemoryDC
*) ptr
;
9641 dest
= (wxObject
*) src
;
9642 return (void *) dest
;
9645 #define new_wxMemoryDC() (new wxMemoryDC())
9646 static PyObject
*_wrap_new_wxMemoryDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9647 PyObject
* _resultobj
;
9648 wxMemoryDC
* _result
;
9649 char *_kwnames
[] = { NULL
};
9653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMemoryDC",_kwnames
))
9656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9657 _result
= (wxMemoryDC
*)new_wxMemoryDC();
9659 wxPyEndAllowThreads(__tstate
);
9660 if (PyErr_Occurred()) return NULL
;
9662 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
9663 _resultobj
= Py_BuildValue("s",_ptemp
);
9666 _resultobj
= Py_None
;
9671 #define wxMemoryDC_SelectObject(_swigobj,_swigarg0) (_swigobj->SelectObject(_swigarg0))
9672 static PyObject
*_wrap_wxMemoryDC_SelectObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9673 PyObject
* _resultobj
;
9676 PyObject
* _argo0
= 0;
9677 PyObject
* _argo1
= 0;
9678 char *_kwnames
[] = { "self","bitmap", NULL
};
9681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMemoryDC_SelectObject",_kwnames
,&_argo0
,&_argo1
))
9684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMemoryDC_p")) {
9686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDC_SelectObject. Expected _wxMemoryDC_p.");
9691 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9692 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
9693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMemoryDC_SelectObject. Expected _wxBitmap_p.");
9698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9699 wxMemoryDC_SelectObject(_arg0
,*_arg1
);
9701 wxPyEndAllowThreads(__tstate
);
9702 if (PyErr_Occurred()) return NULL
;
9703 } Py_INCREF(Py_None
);
9704 _resultobj
= Py_None
;
9708 static void *SwigwxScreenDCTowxDC(void *ptr
) {
9711 src
= (wxScreenDC
*) ptr
;
9712 dest
= (wxDC
*) src
;
9713 return (void *) dest
;
9716 static void *SwigwxScreenDCTowxObject(void *ptr
) {
9719 src
= (wxScreenDC
*) ptr
;
9720 dest
= (wxObject
*) src
;
9721 return (void *) dest
;
9724 #define new_wxScreenDC() (new wxScreenDC())
9725 static PyObject
*_wrap_new_wxScreenDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9726 PyObject
* _resultobj
;
9727 wxScreenDC
* _result
;
9728 char *_kwnames
[] = { NULL
};
9732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxScreenDC",_kwnames
))
9735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9736 _result
= (wxScreenDC
*)new_wxScreenDC();
9738 wxPyEndAllowThreads(__tstate
);
9739 if (PyErr_Occurred()) return NULL
;
9741 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScreenDC_p");
9742 _resultobj
= Py_BuildValue("s",_ptemp
);
9745 _resultobj
= Py_None
;
9750 #define wxScreenDC_StartDrawingOnTopWin(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
9751 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTopWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9752 PyObject
* _resultobj
;
9756 PyObject
* _argo0
= 0;
9757 PyObject
* _argo1
= 0;
9758 char *_kwnames
[] = { "self","window", NULL
};
9761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScreenDC_StartDrawingOnTopWin",_kwnames
,&_argo0
,&_argo1
))
9764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
9766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTopWin. Expected _wxScreenDC_p.");
9771 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9772 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScreenDC_StartDrawingOnTopWin. Expected _wxWindow_p.");
9778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9779 _result
= (bool )wxScreenDC_StartDrawingOnTopWin(_arg0
,_arg1
);
9781 wxPyEndAllowThreads(__tstate
);
9782 if (PyErr_Occurred()) return NULL
;
9783 } _resultobj
= Py_BuildValue("i",_result
);
9787 #define wxScreenDC_StartDrawingOnTop(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
9788 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9789 PyObject
* _resultobj
;
9792 wxRect
* _arg1
= (wxRect
*) NULL
;
9793 PyObject
* _argo0
= 0;
9795 PyObject
* _obj1
= 0;
9796 char *_kwnames
[] = { "self","rect", NULL
};
9799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxScreenDC_StartDrawingOnTop",_kwnames
,&_argo0
,&_obj1
))
9802 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9803 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
9804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTop. Expected _wxScreenDC_p.");
9811 if (! wxRect_helper(_obj1
, &_arg1
))
9815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9816 _result
= (bool )wxScreenDC_StartDrawingOnTop(_arg0
,_arg1
);
9818 wxPyEndAllowThreads(__tstate
);
9819 if (PyErr_Occurred()) return NULL
;
9820 } _resultobj
= Py_BuildValue("i",_result
);
9824 #define wxScreenDC_EndDrawingOnTop(_swigobj) (_swigobj->EndDrawingOnTop())
9825 static PyObject
*_wrap_wxScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9826 PyObject
* _resultobj
;
9829 PyObject
* _argo0
= 0;
9830 char *_kwnames
[] = { "self", NULL
};
9833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScreenDC_EndDrawingOnTop",_kwnames
,&_argo0
))
9836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
9838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_EndDrawingOnTop. Expected _wxScreenDC_p.");
9843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9844 _result
= (bool )wxScreenDC_EndDrawingOnTop(_arg0
);
9846 wxPyEndAllowThreads(__tstate
);
9847 if (PyErr_Occurred()) return NULL
;
9848 } _resultobj
= Py_BuildValue("i",_result
);
9852 static void *SwigwxClientDCTowxDC(void *ptr
) {
9855 src
= (wxClientDC
*) ptr
;
9856 dest
= (wxDC
*) src
;
9857 return (void *) dest
;
9860 static void *SwigwxClientDCTowxObject(void *ptr
) {
9863 src
= (wxClientDC
*) ptr
;
9864 dest
= (wxObject
*) src
;
9865 return (void *) dest
;
9868 #define new_wxClientDC(_swigarg0) (new wxClientDC(_swigarg0))
9869 static PyObject
*_wrap_new_wxClientDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9870 PyObject
* _resultobj
;
9871 wxClientDC
* _result
;
9873 PyObject
* _argo0
= 0;
9874 char *_kwnames
[] = { "win", NULL
};
9878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxClientDC",_kwnames
,&_argo0
))
9881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxClientDC. Expected _wxWindow_p.");
9888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9889 _result
= (wxClientDC
*)new_wxClientDC(_arg0
);
9891 wxPyEndAllowThreads(__tstate
);
9892 if (PyErr_Occurred()) return NULL
;
9894 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxClientDC_p");
9895 _resultobj
= Py_BuildValue("s",_ptemp
);
9898 _resultobj
= Py_None
;
9903 static void *SwigwxPaintDCTowxDC(void *ptr
) {
9906 src
= (wxPaintDC
*) ptr
;
9907 dest
= (wxDC
*) src
;
9908 return (void *) dest
;
9911 static void *SwigwxPaintDCTowxObject(void *ptr
) {
9914 src
= (wxPaintDC
*) ptr
;
9915 dest
= (wxObject
*) src
;
9916 return (void *) dest
;
9919 #define new_wxPaintDC(_swigarg0) (new wxPaintDC(_swigarg0))
9920 static PyObject
*_wrap_new_wxPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9921 PyObject
* _resultobj
;
9922 wxPaintDC
* _result
;
9924 PyObject
* _argo0
= 0;
9925 char *_kwnames
[] = { "win", NULL
};
9929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPaintDC",_kwnames
,&_argo0
))
9932 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9933 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPaintDC. Expected _wxWindow_p.");
9939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9940 _result
= (wxPaintDC
*)new_wxPaintDC(_arg0
);
9942 wxPyEndAllowThreads(__tstate
);
9943 if (PyErr_Occurred()) return NULL
;
9945 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPaintDC_p");
9946 _resultobj
= Py_BuildValue("s",_ptemp
);
9949 _resultobj
= Py_None
;
9954 static void *SwigwxWindowDCTowxDC(void *ptr
) {
9957 src
= (wxWindowDC
*) ptr
;
9958 dest
= (wxDC
*) src
;
9959 return (void *) dest
;
9962 static void *SwigwxWindowDCTowxObject(void *ptr
) {
9965 src
= (wxWindowDC
*) ptr
;
9966 dest
= (wxObject
*) src
;
9967 return (void *) dest
;
9970 #define new_wxWindowDC(_swigarg0) (new wxWindowDC(_swigarg0))
9971 static PyObject
*_wrap_new_wxWindowDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9972 PyObject
* _resultobj
;
9973 wxWindowDC
* _result
;
9975 PyObject
* _argo0
= 0;
9976 char *_kwnames
[] = { "win", NULL
};
9980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxWindowDC",_kwnames
,&_argo0
))
9983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDC. Expected _wxWindow_p.");
9990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9991 _result
= (wxWindowDC
*)new_wxWindowDC(_arg0
);
9993 wxPyEndAllowThreads(__tstate
);
9994 if (PyErr_Occurred()) return NULL
;
9996 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDC_p");
9997 _resultobj
= Py_BuildValue("s",_ptemp
);
10000 _resultobj
= Py_None
;
10005 static void *SwigwxPaletteTowxGDIObject(void *ptr
) {
10008 src
= (wxPalette
*) ptr
;
10009 dest
= (wxGDIObject
*) src
;
10010 return (void *) dest
;
10013 static void *SwigwxPaletteTowxObject(void *ptr
) {
10016 src
= (wxPalette
*) ptr
;
10017 dest
= (wxObject
*) src
;
10018 return (void *) dest
;
10021 #define new_wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10022 static PyObject
*_wrap_new_wxPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10023 PyObject
* _resultobj
;
10024 wxPalette
* _result
;
10029 PyObject
* _obj1
= 0;
10030 PyObject
* _obj2
= 0;
10031 PyObject
* _obj3
= 0;
10032 char *_kwnames
[] = { "choices","choices","choices", NULL
};
10036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:new_wxPalette",_kwnames
,&_obj1
,&_obj2
,&_obj3
))
10039 _arg1
= byte_LIST_helper(_obj1
);
10040 if (_arg1
== NULL
) {
10045 _arg2
= byte_LIST_helper(_obj2
);
10046 if (_arg2
== NULL
) {
10052 _arg3
= byte_LIST_helper(_obj3
);
10053 if (_arg3
== NULL
) {
10059 _arg0
= PyList_Size(_obj1
);
10066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10067 _result
= (wxPalette
*)new_wxPalette(_arg0
,_arg1
,_arg2
,_arg3
);
10069 wxPyEndAllowThreads(__tstate
);
10070 if (PyErr_Occurred()) return NULL
;
10072 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
10073 _resultobj
= Py_BuildValue("s",_ptemp
);
10075 Py_INCREF(Py_None
);
10076 _resultobj
= Py_None
;
10090 #define delete_wxPalette(_swigobj) (delete _swigobj)
10091 static PyObject
*_wrap_delete_wxPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10092 PyObject
* _resultobj
;
10094 PyObject
* _argo0
= 0;
10095 char *_kwnames
[] = { "self", NULL
};
10098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPalette",_kwnames
,&_argo0
))
10101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
10103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPalette. Expected _wxPalette_p.");
10108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10109 delete_wxPalette(_arg0
);
10111 wxPyEndAllowThreads(__tstate
);
10112 if (PyErr_Occurred()) return NULL
;
10113 } Py_INCREF(Py_None
);
10114 _resultobj
= Py_None
;
10118 #define wxPalette_GetPixel(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetPixel(_swigarg0,_swigarg1,_swigarg2))
10119 static PyObject
*_wrap_wxPalette_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10120 PyObject
* _resultobj
;
10126 PyObject
* _argo0
= 0;
10127 char *_kwnames
[] = { "self","red","green","blue", NULL
};
10130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Obbb:wxPalette_GetPixel",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
10133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
10135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetPixel. Expected _wxPalette_p.");
10140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10141 _result
= (int )wxPalette_GetPixel(_arg0
,_arg1
,_arg2
,_arg3
);
10143 wxPyEndAllowThreads(__tstate
);
10144 if (PyErr_Occurred()) return NULL
;
10145 } _resultobj
= Py_BuildValue("i",_result
);
10149 #define wxPalette_GetRGB(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetRGB(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10150 static PyObject
*_wrap_wxPalette_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10151 PyObject
* _resultobj
;
10158 PyObject
* _argo0
= 0;
10159 PyObject
* _argo2
= 0;
10160 PyObject
* _argo3
= 0;
10161 PyObject
* _argo4
= 0;
10162 char *_kwnames
[] = { "self","pixel","OUTPUT","OUTPUT","OUTPUT", NULL
};
10165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOOO:wxPalette_GetRGB",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_argo4
))
10168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
10170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetRGB. Expected _wxPalette_p.");
10175 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10176 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_byte_p")) {
10177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPalette_GetRGB. Expected _byte_p.");
10182 if (_argo3
== Py_None
) { _arg3
= NULL
; }
10183 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_byte_p")) {
10184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxPalette_GetRGB. Expected _byte_p.");
10189 if (_argo4
== Py_None
) { _arg4
= NULL
; }
10190 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_byte_p")) {
10191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxPalette_GetRGB. Expected _byte_p.");
10196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10197 _result
= (bool )wxPalette_GetRGB(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
10199 wxPyEndAllowThreads(__tstate
);
10200 if (PyErr_Occurred()) return NULL
;
10201 } _resultobj
= Py_BuildValue("i",_result
);
10205 #define wxPalette_Ok(_swigobj) (_swigobj->Ok())
10206 static PyObject
*_wrap_wxPalette_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10207 PyObject
* _resultobj
;
10210 PyObject
* _argo0
= 0;
10211 char *_kwnames
[] = { "self", NULL
};
10214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPalette_Ok",_kwnames
,&_argo0
))
10217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
10219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_Ok. Expected _wxPalette_p.");
10224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10225 _result
= (bool )wxPalette_Ok(_arg0
);
10227 wxPyEndAllowThreads(__tstate
);
10228 if (PyErr_Occurred()) return NULL
;
10229 } _resultobj
= Py_BuildValue("i",_result
);
10233 static void *SwigwxImageListTowxObject(void *ptr
) {
10236 src
= (wxImageList
*) ptr
;
10237 dest
= (wxObject
*) src
;
10238 return (void *) dest
;
10241 #define new_wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10242 static PyObject
*_wrap_new_wxImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10243 PyObject
* _resultobj
;
10244 wxImageList
* _result
;
10247 int _arg2
= (int ) TRUE
;
10248 int _arg3
= (int ) 1;
10249 char *_kwnames
[] = { "width","height","mask","initialCount", NULL
};
10253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ii|ii:new_wxImageList",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
10256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10257 _result
= (wxImageList
*)new_wxImageList(_arg0
,_arg1
,_arg2
,_arg3
);
10259 wxPyEndAllowThreads(__tstate
);
10260 if (PyErr_Occurred()) return NULL
;
10262 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
10263 _resultobj
= Py_BuildValue("s",_ptemp
);
10265 Py_INCREF(Py_None
);
10266 _resultobj
= Py_None
;
10271 #define delete_wxImageList(_swigobj) (delete _swigobj)
10272 static PyObject
*_wrap_delete_wxImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10273 PyObject
* _resultobj
;
10274 wxImageList
* _arg0
;
10275 PyObject
* _argo0
= 0;
10276 char *_kwnames
[] = { "self", NULL
};
10279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxImageList",_kwnames
,&_argo0
))
10282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxImageList. Expected _wxImageList_p.");
10289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10290 delete_wxImageList(_arg0
);
10292 wxPyEndAllowThreads(__tstate
);
10293 if (PyErr_Occurred()) return NULL
;
10294 } Py_INCREF(Py_None
);
10295 _resultobj
= Py_None
;
10299 #define wxImageList_Add(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
10300 static PyObject
*_wrap_wxImageList_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10301 PyObject
* _resultobj
;
10303 wxImageList
* _arg0
;
10305 wxBitmap
* _arg2
= (wxBitmap
*) &wxNullBitmap
;
10306 PyObject
* _argo0
= 0;
10307 PyObject
* _argo1
= 0;
10308 PyObject
* _argo2
= 0;
10309 char *_kwnames
[] = { "self","bitmap","mask", NULL
};
10312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxImageList_Add",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
10315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Add. Expected _wxImageList_p.");
10322 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10323 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
10324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_Add. Expected _wxBitmap_p.");
10329 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10330 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
10331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Add. Expected _wxBitmap_p.");
10336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10337 _result
= (int )wxImageList_Add(_arg0
,*_arg1
,*_arg2
);
10339 wxPyEndAllowThreads(__tstate
);
10340 if (PyErr_Occurred()) return NULL
;
10341 } _resultobj
= Py_BuildValue("i",_result
);
10345 #define wxImageList_AddWithColourMask(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
10346 static PyObject
*_wrap_wxImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10347 PyObject
* _resultobj
;
10349 wxImageList
* _arg0
;
10352 PyObject
* _argo0
= 0;
10353 PyObject
* _argo1
= 0;
10355 PyObject
* _obj2
= 0;
10356 char *_kwnames
[] = { "self","bitmap","maskColour", NULL
};
10359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxImageList_AddWithColourMask",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
10362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_AddWithColourMask. Expected _wxImageList_p.");
10369 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10370 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
10371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_AddWithColourMask. Expected _wxBitmap_p.");
10377 if (! wxColour_helper(_obj2
, &_arg2
))
10381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10382 _result
= (int )wxImageList_AddWithColourMask(_arg0
,*_arg1
,*_arg2
);
10384 wxPyEndAllowThreads(__tstate
);
10385 if (PyErr_Occurred()) return NULL
;
10386 } _resultobj
= Py_BuildValue("i",_result
);
10390 #define wxImageList_AddIcon(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
10391 static PyObject
*_wrap_wxImageList_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10392 PyObject
* _resultobj
;
10394 wxImageList
* _arg0
;
10396 PyObject
* _argo0
= 0;
10397 PyObject
* _argo1
= 0;
10398 char *_kwnames
[] = { "self","icon", NULL
};
10401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxImageList_AddIcon",_kwnames
,&_argo0
,&_argo1
))
10404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_AddIcon. Expected _wxImageList_p.");
10411 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10412 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
10413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_AddIcon. Expected _wxIcon_p.");
10418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10419 _result
= (int )wxImageList_AddIcon(_arg0
,*_arg1
);
10421 wxPyEndAllowThreads(__tstate
);
10422 if (PyErr_Occurred()) return NULL
;
10423 } _resultobj
= Py_BuildValue("i",_result
);
10427 #define wxImageList_Replace(_swigobj,_swigarg0,_swigarg1) (_swigobj->Replace(_swigarg0,_swigarg1))
10428 static PyObject
*_wrap_wxImageList_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10429 PyObject
* _resultobj
;
10431 wxImageList
* _arg0
;
10434 PyObject
* _argo0
= 0;
10435 PyObject
* _argo2
= 0;
10436 char *_kwnames
[] = { "self","index","bitmap", NULL
};
10439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxImageList_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
10442 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10443 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Replace. Expected _wxImageList_p.");
10449 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10450 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
10451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Replace. Expected _wxBitmap_p.");
10456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10457 _result
= (bool )wxImageList_Replace(_arg0
,_arg1
,*_arg2
);
10459 wxPyEndAllowThreads(__tstate
);
10460 if (PyErr_Occurred()) return NULL
;
10461 } _resultobj
= Py_BuildValue("i",_result
);
10465 #define wxImageList_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
10466 static PyObject
*_wrap_wxImageList_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10467 PyObject
* _resultobj
;
10469 wxImageList
* _arg0
;
10474 int _arg5
= (int ) (wxIMAGELIST_DRAW_NORMAL
);
10475 bool _arg6
= (bool ) FALSE
;
10476 PyObject
* _argo0
= 0;
10477 PyObject
* _argo2
= 0;
10478 int tempbool6
= (int) FALSE
;
10479 char *_kwnames
[] = { "self","index","dc","x","x","flags","solidBackground", NULL
};
10482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOii|ii:wxImageList_Draw",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
10485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Draw. Expected _wxImageList_p.");
10492 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10493 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDC_p")) {
10494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Draw. Expected _wxDC_p.");
10498 _arg6
= (bool ) tempbool6
;
10500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10501 _result
= (bool )wxImageList_Draw(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
10503 wxPyEndAllowThreads(__tstate
);
10504 if (PyErr_Occurred()) return NULL
;
10505 } _resultobj
= Py_BuildValue("i",_result
);
10509 #define wxImageList_GetImageCount(_swigobj) (_swigobj->GetImageCount())
10510 static PyObject
*_wrap_wxImageList_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10511 PyObject
* _resultobj
;
10513 wxImageList
* _arg0
;
10514 PyObject
* _argo0
= 0;
10515 char *_kwnames
[] = { "self", NULL
};
10518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImageList_GetImageCount",_kwnames
,&_argo0
))
10521 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10522 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_GetImageCount. Expected _wxImageList_p.");
10528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10529 _result
= (int )wxImageList_GetImageCount(_arg0
);
10531 wxPyEndAllowThreads(__tstate
);
10532 if (PyErr_Occurred()) return NULL
;
10533 } _resultobj
= Py_BuildValue("i",_result
);
10537 #define wxImageList_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
10538 static PyObject
*_wrap_wxImageList_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10539 PyObject
* _resultobj
;
10541 wxImageList
* _arg0
;
10543 PyObject
* _argo0
= 0;
10544 char *_kwnames
[] = { "self","index", NULL
};
10547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxImageList_Remove",_kwnames
,&_argo0
,&_arg1
))
10550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Remove. Expected _wxImageList_p.");
10557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10558 _result
= (bool )wxImageList_Remove(_arg0
,_arg1
);
10560 wxPyEndAllowThreads(__tstate
);
10561 if (PyErr_Occurred()) return NULL
;
10562 } _resultobj
= Py_BuildValue("i",_result
);
10566 #define wxImageList_RemoveAll(_swigobj) (_swigobj->RemoveAll())
10567 static PyObject
*_wrap_wxImageList_RemoveAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10568 PyObject
* _resultobj
;
10570 wxImageList
* _arg0
;
10571 PyObject
* _argo0
= 0;
10572 char *_kwnames
[] = { "self", NULL
};
10575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImageList_RemoveAll",_kwnames
,&_argo0
))
10578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_RemoveAll. Expected _wxImageList_p.");
10585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10586 _result
= (bool )wxImageList_RemoveAll(_arg0
);
10588 wxPyEndAllowThreads(__tstate
);
10589 if (PyErr_Occurred()) return NULL
;
10590 } _resultobj
= Py_BuildValue("i",_result
);
10594 #define wxImageList_GetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetSize(_swigarg0,_swigarg1,_swigarg2))
10595 static PyObject
*_wrap_wxImageList_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10596 PyObject
* _resultobj
;
10597 wxImageList
* _arg0
;
10603 PyObject
* _argo0
= 0;
10604 char *_kwnames
[] = { "self","index", NULL
};
10613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxImageList_GetSize",_kwnames
,&_argo0
,&_arg1
))
10616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_GetSize. Expected _wxImageList_p.");
10623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10624 wxImageList_GetSize(_arg0
,_arg1
,*_arg2
,*_arg3
);
10626 wxPyEndAllowThreads(__tstate
);
10627 if (PyErr_Occurred()) return NULL
;
10628 } Py_INCREF(Py_None
);
10629 _resultobj
= Py_None
;
10632 o
= PyInt_FromLong((long) (*_arg2
));
10633 _resultobj
= t_output_helper(_resultobj
, o
);
10637 o
= PyInt_FromLong((long) (*_arg3
));
10638 _resultobj
= t_output_helper(_resultobj
, o
);
10643 static void *SwigwxRegionTowxGDIObject(void *ptr
) {
10646 src
= (wxRegion
*) ptr
;
10647 dest
= (wxGDIObject
*) src
;
10648 return (void *) dest
;
10651 static void *SwigwxRegionTowxObject(void *ptr
) {
10654 src
= (wxRegion
*) ptr
;
10655 dest
= (wxObject
*) src
;
10656 return (void *) dest
;
10659 #define new_wxRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10660 static PyObject
*_wrap_new_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10661 PyObject
* _resultobj
;
10662 wxRegion
* _result
;
10663 long _arg0
= (long ) 0;
10664 long _arg1
= (long ) 0;
10665 long _arg2
= (long ) 0;
10666 long _arg3
= (long ) 0;
10667 char *_kwnames
[] = { "x","y","width","height", NULL
};
10671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|llll:new_wxRegion",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
10674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10675 _result
= (wxRegion
*)new_wxRegion(_arg0
,_arg1
,_arg2
,_arg3
);
10677 wxPyEndAllowThreads(__tstate
);
10678 if (PyErr_Occurred()) return NULL
;
10680 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegion_p");
10681 _resultobj
= Py_BuildValue("s",_ptemp
);
10683 Py_INCREF(Py_None
);
10684 _resultobj
= Py_None
;
10689 #define delete_wxRegion(_swigobj) (delete _swigobj)
10690 static PyObject
*_wrap_delete_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10691 PyObject
* _resultobj
;
10693 PyObject
* _argo0
= 0;
10694 char *_kwnames
[] = { "self", NULL
};
10697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegion",_kwnames
,&_argo0
))
10700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegion. Expected _wxRegion_p.");
10707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10708 delete_wxRegion(_arg0
);
10710 wxPyEndAllowThreads(__tstate
);
10711 if (PyErr_Occurred()) return NULL
;
10712 } Py_INCREF(Py_None
);
10713 _resultobj
= Py_None
;
10717 #define wxRegion_Clear(_swigobj) (_swigobj->Clear())
10718 static PyObject
*_wrap_wxRegion_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10719 PyObject
* _resultobj
;
10721 PyObject
* _argo0
= 0;
10722 char *_kwnames
[] = { "self", NULL
};
10725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_Clear",_kwnames
,&_argo0
))
10728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Clear. Expected _wxRegion_p.");
10735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10736 wxRegion_Clear(_arg0
);
10738 wxPyEndAllowThreads(__tstate
);
10739 if (PyErr_Occurred()) return NULL
;
10740 } Py_INCREF(Py_None
);
10741 _resultobj
= Py_None
;
10745 #define wxRegion_Contains(_swigobj,_swigarg0,_swigarg1) (_swigobj->Contains(_swigarg0,_swigarg1))
10746 static PyObject
*_wrap_wxRegion_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10747 PyObject
* _resultobj
;
10748 wxRegionContain _result
;
10752 PyObject
* _argo0
= 0;
10753 char *_kwnames
[] = { "self","x","y", NULL
};
10756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxRegion_Contains",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Contains. Expected _wxRegion_p.");
10766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10767 _result
= (wxRegionContain
)wxRegion_Contains(_arg0
,_arg1
,_arg2
);
10769 wxPyEndAllowThreads(__tstate
);
10770 if (PyErr_Occurred()) return NULL
;
10771 } _resultobj
= Py_BuildValue("i",_result
);
10775 #define wxRegion_ContainsPoint(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
10776 static PyObject
*_wrap_wxRegion_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10777 PyObject
* _resultobj
;
10778 wxRegionContain _result
;
10781 PyObject
* _argo0
= 0;
10783 PyObject
* _obj1
= 0;
10784 char *_kwnames
[] = { "self","pt", NULL
};
10787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsPoint",_kwnames
,&_argo0
,&_obj1
))
10790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsPoint. Expected _wxRegion_p.");
10798 if (! wxPoint_helper(_obj1
, &_arg1
))
10802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10803 _result
= (wxRegionContain
)wxRegion_ContainsPoint(_arg0
,*_arg1
);
10805 wxPyEndAllowThreads(__tstate
);
10806 if (PyErr_Occurred()) return NULL
;
10807 } _resultobj
= Py_BuildValue("i",_result
);
10811 #define wxRegion_ContainsRect(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
10812 static PyObject
*_wrap_wxRegion_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10813 PyObject
* _resultobj
;
10814 wxRegionContain _result
;
10817 PyObject
* _argo0
= 0;
10819 PyObject
* _obj1
= 0;
10820 char *_kwnames
[] = { "self","rect", NULL
};
10823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsRect",_kwnames
,&_argo0
,&_obj1
))
10826 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10827 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRect. Expected _wxRegion_p.");
10834 if (! wxRect_helper(_obj1
, &_arg1
))
10838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10839 _result
= (wxRegionContain
)wxRegion_ContainsRect(_arg0
,*_arg1
);
10841 wxPyEndAllowThreads(__tstate
);
10842 if (PyErr_Occurred()) return NULL
;
10843 } _resultobj
= Py_BuildValue("i",_result
);
10847 #define wxRegion_ContainsRectDim(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Contains(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10848 static PyObject
*_wrap_wxRegion_ContainsRectDim(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10849 PyObject
* _resultobj
;
10850 wxRegionContain _result
;
10856 PyObject
* _argo0
= 0;
10857 char *_kwnames
[] = { "self","x","y","w","h", NULL
};
10860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_ContainsRectDim",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
10863 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10864 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRectDim. Expected _wxRegion_p.");
10870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10871 _result
= (wxRegionContain
)wxRegion_ContainsRectDim(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
10873 wxPyEndAllowThreads(__tstate
);
10874 if (PyErr_Occurred()) return NULL
;
10875 } _resultobj
= Py_BuildValue("i",_result
);
10879 #define wxRegion_GetBox(_swigobj) (_swigobj->GetBox())
10880 static PyObject
*_wrap_wxRegion_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10881 PyObject
* _resultobj
;
10884 PyObject
* _argo0
= 0;
10885 char *_kwnames
[] = { "self", NULL
};
10889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_GetBox",_kwnames
,&_argo0
))
10892 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10893 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_GetBox. Expected _wxRegion_p.");
10899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10900 _result
= new wxRect (wxRegion_GetBox(_arg0
));
10902 wxPyEndAllowThreads(__tstate
);
10903 if (PyErr_Occurred()) return NULL
;
10904 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
10905 _resultobj
= Py_BuildValue("s",_ptemp
);
10909 #define wxRegion_Intersect(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Intersect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10910 static PyObject
*_wrap_wxRegion_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10911 PyObject
* _resultobj
;
10918 PyObject
* _argo0
= 0;
10919 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
10922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Intersect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
10925 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10926 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Intersect. Expected _wxRegion_p.");
10932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10933 _result
= (bool )wxRegion_Intersect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
10935 wxPyEndAllowThreads(__tstate
);
10936 if (PyErr_Occurred()) return NULL
;
10937 } _resultobj
= Py_BuildValue("i",_result
);
10941 #define wxRegion_IntersectRect(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
10942 static PyObject
*_wrap_wxRegion_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10943 PyObject
* _resultobj
;
10947 PyObject
* _argo0
= 0;
10949 PyObject
* _obj1
= 0;
10950 char *_kwnames
[] = { "self","rect", NULL
};
10953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_IntersectRect",_kwnames
,&_argo0
,&_obj1
))
10956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IntersectRect. Expected _wxRegion_p.");
10964 if (! wxRect_helper(_obj1
, &_arg1
))
10968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10969 _result
= (bool )wxRegion_IntersectRect(_arg0
,*_arg1
);
10971 wxPyEndAllowThreads(__tstate
);
10972 if (PyErr_Occurred()) return NULL
;
10973 } _resultobj
= Py_BuildValue("i",_result
);
10977 #define wxRegion_IntersectRegion(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
10978 static PyObject
*_wrap_wxRegion_IntersectRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10979 PyObject
* _resultobj
;
10983 PyObject
* _argo0
= 0;
10984 PyObject
* _argo1
= 0;
10985 char *_kwnames
[] = { "self","region", NULL
};
10988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_IntersectRegion",_kwnames
,&_argo0
,&_argo1
))
10991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
10998 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10999 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
11000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
11005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11006 _result
= (bool )wxRegion_IntersectRegion(_arg0
,*_arg1
);
11008 wxPyEndAllowThreads(__tstate
);
11009 if (PyErr_Occurred()) return NULL
;
11010 } _resultobj
= Py_BuildValue("i",_result
);
11014 #define wxRegion_IsEmpty(_swigobj) (_swigobj->IsEmpty())
11015 static PyObject
*_wrap_wxRegion_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11016 PyObject
* _resultobj
;
11019 PyObject
* _argo0
= 0;
11020 char *_kwnames
[] = { "self", NULL
};
11023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_IsEmpty",_kwnames
,&_argo0
))
11026 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11027 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IsEmpty. Expected _wxRegion_p.");
11033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11034 _result
= (bool )wxRegion_IsEmpty(_arg0
);
11036 wxPyEndAllowThreads(__tstate
);
11037 if (PyErr_Occurred()) return NULL
;
11038 } _resultobj
= Py_BuildValue("i",_result
);
11042 #define wxRegion_Union(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Union(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11043 static PyObject
*_wrap_wxRegion_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11044 PyObject
* _resultobj
;
11051 PyObject
* _argo0
= 0;
11052 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
11055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Union",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
11058 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11059 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Union. Expected _wxRegion_p.");
11065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11066 _result
= (bool )wxRegion_Union(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
11068 wxPyEndAllowThreads(__tstate
);
11069 if (PyErr_Occurred()) return NULL
;
11070 } _resultobj
= Py_BuildValue("i",_result
);
11074 #define wxRegion_UnionRect(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
11075 static PyObject
*_wrap_wxRegion_UnionRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11076 PyObject
* _resultobj
;
11080 PyObject
* _argo0
= 0;
11082 PyObject
* _obj1
= 0;
11083 char *_kwnames
[] = { "self","rect", NULL
};
11086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_UnionRect",_kwnames
,&_argo0
,&_obj1
))
11089 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11090 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_UnionRect. Expected _wxRegion_p.");
11097 if (! wxRect_helper(_obj1
, &_arg1
))
11101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11102 _result
= (bool )wxRegion_UnionRect(_arg0
,*_arg1
);
11104 wxPyEndAllowThreads(__tstate
);
11105 if (PyErr_Occurred()) return NULL
;
11106 } _resultobj
= Py_BuildValue("i",_result
);
11110 #define wxRegion_UnionRegion(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
11111 static PyObject
*_wrap_wxRegion_UnionRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11112 PyObject
* _resultobj
;
11116 PyObject
* _argo0
= 0;
11117 PyObject
* _argo1
= 0;
11118 char *_kwnames
[] = { "self","region", NULL
};
11121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_UnionRegion",_kwnames
,&_argo0
,&_argo1
))
11124 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11125 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_UnionRegion. Expected _wxRegion_p.");
11131 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11132 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
11133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_UnionRegion. Expected _wxRegion_p.");
11138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11139 _result
= (bool )wxRegion_UnionRegion(_arg0
,*_arg1
);
11141 wxPyEndAllowThreads(__tstate
);
11142 if (PyErr_Occurred()) return NULL
;
11143 } _resultobj
= Py_BuildValue("i",_result
);
11147 #define wxRegion_Subtract(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Subtract(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11148 static PyObject
*_wrap_wxRegion_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11149 PyObject
* _resultobj
;
11156 PyObject
* _argo0
= 0;
11157 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
11160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Subtract",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
11163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Subtract. Expected _wxRegion_p.");
11170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11171 _result
= (bool )wxRegion_Subtract(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
11173 wxPyEndAllowThreads(__tstate
);
11174 if (PyErr_Occurred()) return NULL
;
11175 } _resultobj
= Py_BuildValue("i",_result
);
11179 #define wxRegion_SubtractRect(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
11180 static PyObject
*_wrap_wxRegion_SubtractRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11181 PyObject
* _resultobj
;
11185 PyObject
* _argo0
= 0;
11187 PyObject
* _obj1
= 0;
11188 char *_kwnames
[] = { "self","rect", NULL
};
11191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_SubtractRect",_kwnames
,&_argo0
,&_obj1
))
11194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_SubtractRect. Expected _wxRegion_p.");
11202 if (! wxRect_helper(_obj1
, &_arg1
))
11206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11207 _result
= (bool )wxRegion_SubtractRect(_arg0
,*_arg1
);
11209 wxPyEndAllowThreads(__tstate
);
11210 if (PyErr_Occurred()) return NULL
;
11211 } _resultobj
= Py_BuildValue("i",_result
);
11215 #define wxRegion_SubtractRegion(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
11216 static PyObject
*_wrap_wxRegion_SubtractRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11217 PyObject
* _resultobj
;
11221 PyObject
* _argo0
= 0;
11222 PyObject
* _argo1
= 0;
11223 char *_kwnames
[] = { "self","region", NULL
};
11226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_SubtractRegion",_kwnames
,&_argo0
,&_argo1
))
11229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
11236 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11237 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
11238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
11243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11244 _result
= (bool )wxRegion_SubtractRegion(_arg0
,*_arg1
);
11246 wxPyEndAllowThreads(__tstate
);
11247 if (PyErr_Occurred()) return NULL
;
11248 } _resultobj
= Py_BuildValue("i",_result
);
11252 #define wxRegion_Xor(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Xor(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11253 static PyObject
*_wrap_wxRegion_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11254 PyObject
* _resultobj
;
11261 PyObject
* _argo0
= 0;
11262 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
11265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Xor",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
11268 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11269 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Xor. Expected _wxRegion_p.");
11275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11276 _result
= (bool )wxRegion_Xor(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
11278 wxPyEndAllowThreads(__tstate
);
11279 if (PyErr_Occurred()) return NULL
;
11280 } _resultobj
= Py_BuildValue("i",_result
);
11284 #define wxRegion_XorRect(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
11285 static PyObject
*_wrap_wxRegion_XorRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11286 PyObject
* _resultobj
;
11290 PyObject
* _argo0
= 0;
11292 PyObject
* _obj1
= 0;
11293 char *_kwnames
[] = { "self","rect", NULL
};
11296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_XorRect",_kwnames
,&_argo0
,&_obj1
))
11299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_XorRect. Expected _wxRegion_p.");
11307 if (! wxRect_helper(_obj1
, &_arg1
))
11311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11312 _result
= (bool )wxRegion_XorRect(_arg0
,*_arg1
);
11314 wxPyEndAllowThreads(__tstate
);
11315 if (PyErr_Occurred()) return NULL
;
11316 } _resultobj
= Py_BuildValue("i",_result
);
11320 #define wxRegion_XorRegion(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
11321 static PyObject
*_wrap_wxRegion_XorRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11322 PyObject
* _resultobj
;
11326 PyObject
* _argo0
= 0;
11327 PyObject
* _argo1
= 0;
11328 char *_kwnames
[] = { "self","region", NULL
};
11331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_XorRegion",_kwnames
,&_argo0
,&_argo1
))
11334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_XorRegion. Expected _wxRegion_p.");
11341 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11342 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
11343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_XorRegion. Expected _wxRegion_p.");
11348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11349 _result
= (bool )wxRegion_XorRegion(_arg0
,*_arg1
);
11351 wxPyEndAllowThreads(__tstate
);
11352 if (PyErr_Occurred()) return NULL
;
11353 } _resultobj
= Py_BuildValue("i",_result
);
11357 static void *SwigwxRegionIteratorTowxObject(void *ptr
) {
11358 wxRegionIterator
*src
;
11360 src
= (wxRegionIterator
*) ptr
;
11361 dest
= (wxObject
*) src
;
11362 return (void *) dest
;
11365 #define new_wxRegionIterator(_swigarg0) (new wxRegionIterator(_swigarg0))
11366 static PyObject
*_wrap_new_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11367 PyObject
* _resultobj
;
11368 wxRegionIterator
* _result
;
11370 PyObject
* _argo0
= 0;
11371 char *_kwnames
[] = { "region", NULL
};
11375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxRegionIterator",_kwnames
,&_argo0
))
11378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRegionIterator. Expected _wxRegion_p.");
11385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11386 _result
= (wxRegionIterator
*)new_wxRegionIterator(*_arg0
);
11388 wxPyEndAllowThreads(__tstate
);
11389 if (PyErr_Occurred()) return NULL
;
11391 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegionIterator_p");
11392 _resultobj
= Py_BuildValue("s",_ptemp
);
11394 Py_INCREF(Py_None
);
11395 _resultobj
= Py_None
;
11400 #define delete_wxRegionIterator(_swigobj) (delete _swigobj)
11401 static PyObject
*_wrap_delete_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11402 PyObject
* _resultobj
;
11403 wxRegionIterator
* _arg0
;
11404 PyObject
* _argo0
= 0;
11405 char *_kwnames
[] = { "self", NULL
};
11408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegionIterator",_kwnames
,&_argo0
))
11411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegionIterator. Expected _wxRegionIterator_p.");
11418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11419 delete_wxRegionIterator(_arg0
);
11421 wxPyEndAllowThreads(__tstate
);
11422 if (PyErr_Occurred()) return NULL
;
11423 } Py_INCREF(Py_None
);
11424 _resultobj
= Py_None
;
11428 #define wxRegionIterator_GetX(_swigobj) (_swigobj->GetX())
11429 static PyObject
*_wrap_wxRegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11430 PyObject
* _resultobj
;
11432 wxRegionIterator
* _arg0
;
11433 PyObject
* _argo0
= 0;
11434 char *_kwnames
[] = { "self", NULL
};
11437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetX",_kwnames
,&_argo0
))
11440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetX. Expected _wxRegionIterator_p.");
11447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11448 _result
= (long )wxRegionIterator_GetX(_arg0
);
11450 wxPyEndAllowThreads(__tstate
);
11451 if (PyErr_Occurred()) return NULL
;
11452 } _resultobj
= Py_BuildValue("l",_result
);
11456 #define wxRegionIterator_GetY(_swigobj) (_swigobj->GetY())
11457 static PyObject
*_wrap_wxRegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11458 PyObject
* _resultobj
;
11460 wxRegionIterator
* _arg0
;
11461 PyObject
* _argo0
= 0;
11462 char *_kwnames
[] = { "self", NULL
};
11465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetY",_kwnames
,&_argo0
))
11468 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11469 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetY. Expected _wxRegionIterator_p.");
11475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11476 _result
= (long )wxRegionIterator_GetY(_arg0
);
11478 wxPyEndAllowThreads(__tstate
);
11479 if (PyErr_Occurred()) return NULL
;
11480 } _resultobj
= Py_BuildValue("l",_result
);
11484 #define wxRegionIterator_GetW(_swigobj) (_swigobj->GetW())
11485 static PyObject
*_wrap_wxRegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11486 PyObject
* _resultobj
;
11488 wxRegionIterator
* _arg0
;
11489 PyObject
* _argo0
= 0;
11490 char *_kwnames
[] = { "self", NULL
};
11493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetW",_kwnames
,&_argo0
))
11496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetW. Expected _wxRegionIterator_p.");
11503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11504 _result
= (long )wxRegionIterator_GetW(_arg0
);
11506 wxPyEndAllowThreads(__tstate
);
11507 if (PyErr_Occurred()) return NULL
;
11508 } _resultobj
= Py_BuildValue("l",_result
);
11512 #define wxRegionIterator_GetWidth(_swigobj) (_swigobj->GetWidth())
11513 static PyObject
*_wrap_wxRegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11514 PyObject
* _resultobj
;
11516 wxRegionIterator
* _arg0
;
11517 PyObject
* _argo0
= 0;
11518 char *_kwnames
[] = { "self", NULL
};
11521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetWidth",_kwnames
,&_argo0
))
11524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetWidth. Expected _wxRegionIterator_p.");
11531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11532 _result
= (long )wxRegionIterator_GetWidth(_arg0
);
11534 wxPyEndAllowThreads(__tstate
);
11535 if (PyErr_Occurred()) return NULL
;
11536 } _resultobj
= Py_BuildValue("l",_result
);
11540 #define wxRegionIterator_GetH(_swigobj) (_swigobj->GetH())
11541 static PyObject
*_wrap_wxRegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11542 PyObject
* _resultobj
;
11544 wxRegionIterator
* _arg0
;
11545 PyObject
* _argo0
= 0;
11546 char *_kwnames
[] = { "self", NULL
};
11549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetH",_kwnames
,&_argo0
))
11552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetH. Expected _wxRegionIterator_p.");
11559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11560 _result
= (long )wxRegionIterator_GetH(_arg0
);
11562 wxPyEndAllowThreads(__tstate
);
11563 if (PyErr_Occurred()) return NULL
;
11564 } _resultobj
= Py_BuildValue("l",_result
);
11568 #define wxRegionIterator_GetHeight(_swigobj) (_swigobj->GetHeight())
11569 static PyObject
*_wrap_wxRegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11570 PyObject
* _resultobj
;
11572 wxRegionIterator
* _arg0
;
11573 PyObject
* _argo0
= 0;
11574 char *_kwnames
[] = { "self", NULL
};
11577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetHeight",_kwnames
,&_argo0
))
11580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetHeight. Expected _wxRegionIterator_p.");
11587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11588 _result
= (long )wxRegionIterator_GetHeight(_arg0
);
11590 wxPyEndAllowThreads(__tstate
);
11591 if (PyErr_Occurred()) return NULL
;
11592 } _resultobj
= Py_BuildValue("l",_result
);
11596 #define wxRegionIterator_GetRect(_swigobj) (_swigobj->GetRect())
11597 static PyObject
*_wrap_wxRegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11598 PyObject
* _resultobj
;
11600 wxRegionIterator
* _arg0
;
11601 PyObject
* _argo0
= 0;
11602 char *_kwnames
[] = { "self", NULL
};
11606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetRect",_kwnames
,&_argo0
))
11609 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11610 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetRect. Expected _wxRegionIterator_p.");
11616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11617 _result
= new wxRect (wxRegionIterator_GetRect(_arg0
));
11619 wxPyEndAllowThreads(__tstate
);
11620 if (PyErr_Occurred()) return NULL
;
11621 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
11622 _resultobj
= Py_BuildValue("s",_ptemp
);
11626 #define wxRegionIterator_HaveRects(_swigobj) (_swigobj->HaveRects())
11627 static PyObject
*_wrap_wxRegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11628 PyObject
* _resultobj
;
11630 wxRegionIterator
* _arg0
;
11631 PyObject
* _argo0
= 0;
11632 char *_kwnames
[] = { "self", NULL
};
11635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_HaveRects",_kwnames
,&_argo0
))
11638 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11639 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_HaveRects. Expected _wxRegionIterator_p.");
11645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11646 _result
= (bool )wxRegionIterator_HaveRects(_arg0
);
11648 wxPyEndAllowThreads(__tstate
);
11649 if (PyErr_Occurred()) return NULL
;
11650 } _resultobj
= Py_BuildValue("i",_result
);
11654 #define wxRegionIterator_Reset(_swigobj) (_swigobj->Reset())
11655 static PyObject
*_wrap_wxRegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11656 PyObject
* _resultobj
;
11657 wxRegionIterator
* _arg0
;
11658 PyObject
* _argo0
= 0;
11659 char *_kwnames
[] = { "self", NULL
};
11662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Reset",_kwnames
,&_argo0
))
11665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Reset. Expected _wxRegionIterator_p.");
11672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11673 wxRegionIterator_Reset(_arg0
);
11675 wxPyEndAllowThreads(__tstate
);
11676 if (PyErr_Occurred()) return NULL
;
11677 } Py_INCREF(Py_None
);
11678 _resultobj
= Py_None
;
11682 static void wxRegionIterator_Next(wxRegionIterator
*self
) {
11685 static PyObject
*_wrap_wxRegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11686 PyObject
* _resultobj
;
11687 wxRegionIterator
* _arg0
;
11688 PyObject
* _argo0
= 0;
11689 char *_kwnames
[] = { "self", NULL
};
11692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Next",_kwnames
,&_argo0
))
11695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Next. Expected _wxRegionIterator_p.");
11702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11703 wxRegionIterator_Next(_arg0
);
11705 wxPyEndAllowThreads(__tstate
);
11706 if (PyErr_Occurred()) return NULL
;
11707 } Py_INCREF(Py_None
);
11708 _resultobj
= Py_None
;
11712 static PyMethodDef gdicMethods
[] = {
11713 { "wxRegionIterator_Next", (PyCFunction
) _wrap_wxRegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
11714 { "wxRegionIterator_Reset", (PyCFunction
) _wrap_wxRegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
11715 { "wxRegionIterator_HaveRects", (PyCFunction
) _wrap_wxRegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
11716 { "wxRegionIterator_GetRect", (PyCFunction
) _wrap_wxRegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
11717 { "wxRegionIterator_GetHeight", (PyCFunction
) _wrap_wxRegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
11718 { "wxRegionIterator_GetH", (PyCFunction
) _wrap_wxRegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
11719 { "wxRegionIterator_GetWidth", (PyCFunction
) _wrap_wxRegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11720 { "wxRegionIterator_GetW", (PyCFunction
) _wrap_wxRegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
11721 { "wxRegionIterator_GetY", (PyCFunction
) _wrap_wxRegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
11722 { "wxRegionIterator_GetX", (PyCFunction
) _wrap_wxRegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
11723 { "delete_wxRegionIterator", (PyCFunction
) _wrap_delete_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
11724 { "new_wxRegionIterator", (PyCFunction
) _wrap_new_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
11725 { "wxRegion_XorRegion", (PyCFunction
) _wrap_wxRegion_XorRegion
, METH_VARARGS
| METH_KEYWORDS
},
11726 { "wxRegion_XorRect", (PyCFunction
) _wrap_wxRegion_XorRect
, METH_VARARGS
| METH_KEYWORDS
},
11727 { "wxRegion_Xor", (PyCFunction
) _wrap_wxRegion_Xor
, METH_VARARGS
| METH_KEYWORDS
},
11728 { "wxRegion_SubtractRegion", (PyCFunction
) _wrap_wxRegion_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
},
11729 { "wxRegion_SubtractRect", (PyCFunction
) _wrap_wxRegion_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
},
11730 { "wxRegion_Subtract", (PyCFunction
) _wrap_wxRegion_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
11731 { "wxRegion_UnionRegion", (PyCFunction
) _wrap_wxRegion_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
},
11732 { "wxRegion_UnionRect", (PyCFunction
) _wrap_wxRegion_UnionRect
, METH_VARARGS
| METH_KEYWORDS
},
11733 { "wxRegion_Union", (PyCFunction
) _wrap_wxRegion_Union
, METH_VARARGS
| METH_KEYWORDS
},
11734 { "wxRegion_IsEmpty", (PyCFunction
) _wrap_wxRegion_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
11735 { "wxRegion_IntersectRegion", (PyCFunction
) _wrap_wxRegion_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
},
11736 { "wxRegion_IntersectRect", (PyCFunction
) _wrap_wxRegion_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
11737 { "wxRegion_Intersect", (PyCFunction
) _wrap_wxRegion_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
11738 { "wxRegion_GetBox", (PyCFunction
) _wrap_wxRegion_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
11739 { "wxRegion_ContainsRectDim", (PyCFunction
) _wrap_wxRegion_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
},
11740 { "wxRegion_ContainsRect", (PyCFunction
) _wrap_wxRegion_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
11741 { "wxRegion_ContainsPoint", (PyCFunction
) _wrap_wxRegion_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
11742 { "wxRegion_Contains", (PyCFunction
) _wrap_wxRegion_Contains
, METH_VARARGS
| METH_KEYWORDS
},
11743 { "wxRegion_Clear", (PyCFunction
) _wrap_wxRegion_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11744 { "delete_wxRegion", (PyCFunction
) _wrap_delete_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
11745 { "new_wxRegion", (PyCFunction
) _wrap_new_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
11746 { "wxImageList_GetSize", (PyCFunction
) _wrap_wxImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
11747 { "wxImageList_RemoveAll", (PyCFunction
) _wrap_wxImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
},
11748 { "wxImageList_Remove", (PyCFunction
) _wrap_wxImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
},
11749 { "wxImageList_GetImageCount", (PyCFunction
) _wrap_wxImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
11750 { "wxImageList_Draw", (PyCFunction
) _wrap_wxImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
},
11751 { "wxImageList_Replace", (PyCFunction
) _wrap_wxImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
},
11752 { "wxImageList_AddIcon", (PyCFunction
) _wrap_wxImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
11753 { "wxImageList_AddWithColourMask", (PyCFunction
) _wrap_wxImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
},
11754 { "wxImageList_Add", (PyCFunction
) _wrap_wxImageList_Add
, METH_VARARGS
| METH_KEYWORDS
},
11755 { "delete_wxImageList", (PyCFunction
) _wrap_delete_wxImageList
, METH_VARARGS
| METH_KEYWORDS
},
11756 { "new_wxImageList", (PyCFunction
) _wrap_new_wxImageList
, METH_VARARGS
| METH_KEYWORDS
},
11757 { "wxPalette_Ok", (PyCFunction
) _wrap_wxPalette_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11758 { "wxPalette_GetRGB", (PyCFunction
) _wrap_wxPalette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
11759 { "wxPalette_GetPixel", (PyCFunction
) _wrap_wxPalette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
11760 { "delete_wxPalette", (PyCFunction
) _wrap_delete_wxPalette
, METH_VARARGS
| METH_KEYWORDS
},
11761 { "new_wxPalette", (PyCFunction
) _wrap_new_wxPalette
, METH_VARARGS
| METH_KEYWORDS
},
11762 { "new_wxWindowDC", (PyCFunction
) _wrap_new_wxWindowDC
, METH_VARARGS
| METH_KEYWORDS
},
11763 { "new_wxPaintDC", (PyCFunction
) _wrap_new_wxPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
11764 { "new_wxClientDC", (PyCFunction
) _wrap_new_wxClientDC
, METH_VARARGS
| METH_KEYWORDS
},
11765 { "wxScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_wxScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
11766 { "wxScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_wxScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
11767 { "wxScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_wxScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
},
11768 { "new_wxScreenDC", (PyCFunction
) _wrap_new_wxScreenDC
, METH_VARARGS
| METH_KEYWORDS
},
11769 { "wxMemoryDC_SelectObject", (PyCFunction
) _wrap_wxMemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
},
11770 { "new_wxMemoryDC", (PyCFunction
) _wrap_new_wxMemoryDC
, METH_VARARGS
| METH_KEYWORDS
},
11771 { "wxDC__DrawLineList", (PyCFunction
) _wrap_wxDC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
},
11772 { "wxDC__DrawPointList", (PyCFunction
) _wrap_wxDC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
},
11773 { "wxDC_GetBoundingBox", (PyCFunction
) _wrap_wxDC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
11774 { "wxDC_ResetBoundingBox", (PyCFunction
) _wrap_wxDC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
11775 { "wxDC_CalcBoundingBox", (PyCFunction
) _wrap_wxDC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
11776 { "wxDC_SetAxisOrientation", (PyCFunction
) _wrap_wxDC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
},
11777 { "wxDC_GetDeviceOrigin", (PyCFunction
) _wrap_wxDC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
11778 { "wxDC_SetLogicalOrigin", (PyCFunction
) _wrap_wxDC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
11779 { "wxDC_GetLogicalOrigin", (PyCFunction
) _wrap_wxDC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
11780 { "wxDC_GetPPI", (PyCFunction
) _wrap_wxDC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
},
11781 { "wxDC_GetDepth", (PyCFunction
) _wrap_wxDC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
11782 { "wxDC_CanGetTextExtent", (PyCFunction
) _wrap_wxDC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
11783 { "wxDC_CanDrawBitmap", (PyCFunction
) _wrap_wxDC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11784 { "wxDC_DrawBitmap", (PyCFunction
) _wrap_wxDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11785 { "wxDC_StartPage", (PyCFunction
) _wrap_wxDC_StartPage
, METH_VARARGS
| METH_KEYWORDS
},
11786 { "wxDC_StartDoc", (PyCFunction
) _wrap_wxDC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
},
11787 { "wxDC_SetUserScale", (PyCFunction
) _wrap_wxDC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
11788 { "wxDC_SetTextForeground", (PyCFunction
) _wrap_wxDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
11789 { "wxDC_SetTextBackground", (PyCFunction
) _wrap_wxDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
11790 { "wxDC_SetPen", (PyCFunction
) _wrap_wxDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
11791 { "wxDC_SetOptimization", (PyCFunction
) _wrap_wxDC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
11792 { "wxDC_SetMapMode", (PyCFunction
) _wrap_wxDC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
11793 { "wxDC_SetLogicalScale", (PyCFunction
) _wrap_wxDC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
11794 { "wxDC_SetLogicalFunction", (PyCFunction
) _wrap_wxDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
11795 { "wxDC_SetFont", (PyCFunction
) _wrap_wxDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
11796 { "wxDC_SetBrush", (PyCFunction
) _wrap_wxDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
11797 { "wxDC_SetPalette", (PyCFunction
) _wrap_wxDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
11798 { "wxDC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_wxDC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
},
11799 { "wxDC_SetClippingRegion", (PyCFunction
) _wrap_wxDC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
11800 { "wxDC_SetBackgroundMode", (PyCFunction
) _wrap_wxDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
11801 { "wxDC_SetBackground", (PyCFunction
) _wrap_wxDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
},
11802 { "wxDC_SetDeviceOrigin", (PyCFunction
) _wrap_wxDC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
11803 { "wxDC_Ok", (PyCFunction
) _wrap_wxDC_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11804 { "wxDC_MinY", (PyCFunction
) _wrap_wxDC_MinY
, METH_VARARGS
| METH_KEYWORDS
},
11805 { "wxDC_MinX", (PyCFunction
) _wrap_wxDC_MinX
, METH_VARARGS
| METH_KEYWORDS
},
11806 { "wxDC_MaxY", (PyCFunction
) _wrap_wxDC_MaxY
, METH_VARARGS
| METH_KEYWORDS
},
11807 { "wxDC_MaxX", (PyCFunction
) _wrap_wxDC_MaxX
, METH_VARARGS
| METH_KEYWORDS
},
11808 { "wxDC_LogicalToDeviceYRel", (PyCFunction
) _wrap_wxDC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
},
11809 { "wxDC_LogicalToDeviceY", (PyCFunction
) _wrap_wxDC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
},
11810 { "wxDC_LogicalToDeviceXRel", (PyCFunction
) _wrap_wxDC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
},
11811 { "wxDC_LogicalToDeviceX", (PyCFunction
) _wrap_wxDC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
},
11812 { "wxDC_GetUserScale", (PyCFunction
) _wrap_wxDC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
11813 { "wxDC_GetTextForeground", (PyCFunction
) _wrap_wxDC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
11814 { "wxDC_GetFullTextExtent", (PyCFunction
) _wrap_wxDC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
11815 { "wxDC_GetTextExtent", (PyCFunction
) _wrap_wxDC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
11816 { "wxDC_GetTextBackground", (PyCFunction
) _wrap_wxDC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
11817 { "wxDC_GetSizeMM", (PyCFunction
) _wrap_wxDC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
11818 { "wxDC_GetSize", (PyCFunction
) _wrap_wxDC_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
11819 { "wxDC_GetSizeTuple", (PyCFunction
) _wrap_wxDC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
11820 { "wxDC_GetPixel", (PyCFunction
) _wrap_wxDC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
11821 { "wxDC_GetPen", (PyCFunction
) _wrap_wxDC_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
11822 { "wxDC_GetOptimization", (PyCFunction
) _wrap_wxDC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
11823 { "wxDC_GetMapMode", (PyCFunction
) _wrap_wxDC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
11824 { "wxDC_GetLogicalScale", (PyCFunction
) _wrap_wxDC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
11825 { "wxDC_GetLogicalFunction", (PyCFunction
) _wrap_wxDC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
11826 { "wxDC_GetFont", (PyCFunction
) _wrap_wxDC_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11827 { "wxDC_GetClippingBox", (PyCFunction
) _wrap_wxDC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
},
11828 { "wxDC_GetCharWidth", (PyCFunction
) _wrap_wxDC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
11829 { "wxDC_GetCharHeight", (PyCFunction
) _wrap_wxDC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
11830 { "wxDC_GetBrush", (PyCFunction
) _wrap_wxDC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
11831 { "wxDC_GetBackground", (PyCFunction
) _wrap_wxDC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
},
11832 { "wxDC_FloodFill", (PyCFunction
) _wrap_wxDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
},
11833 { "wxDC_EndPage", (PyCFunction
) _wrap_wxDC_EndPage
, METH_VARARGS
| METH_KEYWORDS
},
11834 { "wxDC_EndDrawing", (PyCFunction
) _wrap_wxDC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
},
11835 { "wxDC_EndDoc", (PyCFunction
) _wrap_wxDC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
},
11836 { "wxDC_DrawText", (PyCFunction
) _wrap_wxDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
11837 { "wxDC_DrawSpline", (PyCFunction
) _wrap_wxDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
11838 { "wxDC_DrawRoundedRectangle", (PyCFunction
) _wrap_wxDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
11839 { "wxDC_DrawRotatedText", (PyCFunction
) _wrap_wxDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
},
11840 { "wxDC_DrawRectangle", (PyCFunction
) _wrap_wxDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
11841 { "wxDC_DrawPoint", (PyCFunction
) _wrap_wxDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
11842 { "wxDC_DrawPolygon", (PyCFunction
) _wrap_wxDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
11843 { "wxDC_DrawLines", (PyCFunction
) _wrap_wxDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
11844 { "wxDC_DrawLine", (PyCFunction
) _wrap_wxDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
11845 { "wxDC_DrawIcon", (PyCFunction
) _wrap_wxDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
},
11846 { "wxDC_DrawEllipticArc", (PyCFunction
) _wrap_wxDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
11847 { "wxDC_DrawEllipse", (PyCFunction
) _wrap_wxDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
11848 { "wxDC_DrawCircle", (PyCFunction
) _wrap_wxDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
},
11849 { "wxDC_DrawArc", (PyCFunction
) _wrap_wxDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
11850 { "wxDC_DeviceToLogicalYRel", (PyCFunction
) _wrap_wxDC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
},
11851 { "wxDC_DeviceToLogicalY", (PyCFunction
) _wrap_wxDC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
},
11852 { "wxDC_DeviceToLogicalXRel", (PyCFunction
) _wrap_wxDC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
},
11853 { "wxDC_DeviceToLogicalX", (PyCFunction
) _wrap_wxDC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
},
11854 { "wxDC_DestroyClippingRegion", (PyCFunction
) _wrap_wxDC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
11855 { "wxDC_CrossHair", (PyCFunction
) _wrap_wxDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
},
11856 { "wxDC_Clear", (PyCFunction
) _wrap_wxDC_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11857 { "wxDC_Blit", (PyCFunction
) _wrap_wxDC_Blit
, METH_VARARGS
| METH_KEYWORDS
},
11858 { "wxDC_BeginDrawing", (PyCFunction
) _wrap_wxDC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
},
11859 { "delete_wxDC", (PyCFunction
) _wrap_delete_wxDC
, METH_VARARGS
| METH_KEYWORDS
},
11860 { "wxBrushList_GetCount", (PyCFunction
) _wrap_wxBrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11861 { "wxBrushList_RemoveBrush", (PyCFunction
) _wrap_wxBrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
},
11862 { "wxBrushList_FindOrCreateBrush", (PyCFunction
) _wrap_wxBrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
},
11863 { "wxBrushList_AddBrush", (PyCFunction
) _wrap_wxBrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
},
11864 { "wxBrush_SetStyle", (PyCFunction
) _wrap_wxBrush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11865 { "wxBrush_SetStipple", (PyCFunction
) _wrap_wxBrush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
11866 { "wxBrush_SetColour", (PyCFunction
) _wrap_wxBrush_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
11867 { "wxBrush_Ok", (PyCFunction
) _wrap_wxBrush_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11868 { "wxBrush_GetStyle", (PyCFunction
) _wrap_wxBrush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11869 { "wxBrush_GetStipple", (PyCFunction
) _wrap_wxBrush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
11870 { "wxBrush_GetColour", (PyCFunction
) _wrap_wxBrush_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
11871 { "delete_wxBrush", (PyCFunction
) _wrap_delete_wxBrush
, METH_VARARGS
| METH_KEYWORDS
},
11872 { "new_wxBrush", (PyCFunction
) _wrap_new_wxBrush
, METH_VARARGS
| METH_KEYWORDS
},
11873 { "wxPenList_GetCount", (PyCFunction
) _wrap_wxPenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11874 { "wxPenList_RemovePen", (PyCFunction
) _wrap_wxPenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
},
11875 { "wxPenList_FindOrCreatePen", (PyCFunction
) _wrap_wxPenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
},
11876 { "wxPenList_AddPen", (PyCFunction
) _wrap_wxPenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
},
11877 { "wxPyPen_SetDashes", (PyCFunction
) _wrap_wxPyPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
11878 { "delete_wxPyPen", (PyCFunction
) _wrap_delete_wxPyPen
, METH_VARARGS
| METH_KEYWORDS
},
11879 { "new_wxPyPen", (PyCFunction
) _wrap_new_wxPyPen
, METH_VARARGS
| METH_KEYWORDS
},
11880 { "wxPen_SetDashes", (PyCFunction
) _wrap_wxPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
11881 { "wxPen_SetWidth", (PyCFunction
) _wrap_wxPen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11882 { "wxPen_SetStyle", (PyCFunction
) _wrap_wxPen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11883 { "wxPen_SetJoin", (PyCFunction
) _wrap_wxPen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
},
11884 { "wxPen_SetColour", (PyCFunction
) _wrap_wxPen_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
11885 { "wxPen_SetCap", (PyCFunction
) _wrap_wxPen_SetCap
, METH_VARARGS
| METH_KEYWORDS
},
11886 { "wxPen_Ok", (PyCFunction
) _wrap_wxPen_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11887 { "wxPen_GetWidth", (PyCFunction
) _wrap_wxPen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11888 { "wxPen_GetStyle", (PyCFunction
) _wrap_wxPen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11889 { "wxPen_GetJoin", (PyCFunction
) _wrap_wxPen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
},
11890 { "wxPen_GetColour", (PyCFunction
) _wrap_wxPen_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
11891 { "wxPen_GetCap", (PyCFunction
) _wrap_wxPen_GetCap
, METH_VARARGS
| METH_KEYWORDS
},
11892 { "delete_wxPen", (PyCFunction
) _wrap_delete_wxPen
, METH_VARARGS
| METH_KEYWORDS
},
11893 { "new_wxPen", (PyCFunction
) _wrap_new_wxPen
, METH_VARARGS
| METH_KEYWORDS
},
11894 { "wxColourDatabase_Append", (PyCFunction
) _wrap_wxColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
},
11895 { "wxColourDatabase_FindName", (PyCFunction
) _wrap_wxColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
},
11896 { "wxColourDatabase_FindColour", (PyCFunction
) _wrap_wxColourDatabase_FindColour
, METH_VARARGS
| METH_KEYWORDS
},
11897 { "wxColour_Get", (PyCFunction
) _wrap_wxColour_Get
, METH_VARARGS
| METH_KEYWORDS
},
11898 { "wxColour_Set", (PyCFunction
) _wrap_wxColour_Set
, METH_VARARGS
| METH_KEYWORDS
},
11899 { "wxColour_Ok", (PyCFunction
) _wrap_wxColour_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11900 { "wxColour_Blue", (PyCFunction
) _wrap_wxColour_Blue
, METH_VARARGS
| METH_KEYWORDS
},
11901 { "wxColour_Green", (PyCFunction
) _wrap_wxColour_Green
, METH_VARARGS
| METH_KEYWORDS
},
11902 { "wxColour_Red", (PyCFunction
) _wrap_wxColour_Red
, METH_VARARGS
| METH_KEYWORDS
},
11903 { "delete_wxColour", (PyCFunction
) _wrap_delete_wxColour
, METH_VARARGS
| METH_KEYWORDS
},
11904 { "new_wxColour", (PyCFunction
) _wrap_new_wxColour
, METH_VARARGS
| METH_KEYWORDS
},
11905 { "wxFontList_GetCount", (PyCFunction
) _wrap_wxFontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11906 { "wxFontList_RemoveFont", (PyCFunction
) _wrap_wxFontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
},
11907 { "wxFontList_FindOrCreateFont", (PyCFunction
) _wrap_wxFontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
},
11908 { "wxFontList_AddFont", (PyCFunction
) _wrap_wxFontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
},
11909 { "wxFont_SetDefaultEncoding", (PyCFunction
) _wrap_wxFont_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
11910 { "wxFont_GetDefaultEncoding", (PyCFunction
) _wrap_wxFont_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
11911 { "wxFont_GetWeightString", (PyCFunction
) _wrap_wxFont_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
},
11912 { "wxFont_GetStyleString", (PyCFunction
) _wrap_wxFont_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
},
11913 { "wxFont_GetFamilyString", (PyCFunction
) _wrap_wxFont_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
},
11914 { "wxFont_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_wxFont_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
11915 { "wxFont_SetNativeFontInfo", (PyCFunction
) _wrap_wxFont_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
11916 { "wxFont_SetEncoding", (PyCFunction
) _wrap_wxFont_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
11917 { "wxFont_SetUnderlined", (PyCFunction
) _wrap_wxFont_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
11918 { "wxFont_SetFaceName", (PyCFunction
) _wrap_wxFont_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
11919 { "wxFont_SetWeight", (PyCFunction
) _wrap_wxFont_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
11920 { "wxFont_SetStyle", (PyCFunction
) _wrap_wxFont_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11921 { "wxFont_SetFamily", (PyCFunction
) _wrap_wxFont_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
11922 { "wxFont_SetPointSize", (PyCFunction
) _wrap_wxFont_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
11923 { "wxFont_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_wxFont_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
11924 { "wxFont_GetNativeFontInfoDesc", (PyCFunction
) _wrap_wxFont_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
},
11925 { "wxFont_GetNativeFontInfo", (PyCFunction
) _wrap_wxFont_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
11926 { "wxFont_GetEncoding", (PyCFunction
) _wrap_wxFont_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
11927 { "wxFont_GetFaceName", (PyCFunction
) _wrap_wxFont_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
11928 { "wxFont_GetUnderlined", (PyCFunction
) _wrap_wxFont_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
11929 { "wxFont_GetWeight", (PyCFunction
) _wrap_wxFont_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
11930 { "wxFont_GetStyle", (PyCFunction
) _wrap_wxFont_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11931 { "wxFont_GetFamily", (PyCFunction
) _wrap_wxFont_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
11932 { "wxFont_GetPointSize", (PyCFunction
) _wrap_wxFont_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
11933 { "wxFont_Ok", (PyCFunction
) _wrap_wxFont_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11934 { "delete_wxFont", (PyCFunction
) _wrap_delete_wxFont
, METH_VARARGS
| METH_KEYWORDS
},
11935 { "new_wxFontFromNativeInfo", (PyCFunction
) _wrap_new_wxFontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
},
11936 { "new_wxFont", (PyCFunction
) _wrap_new_wxFont
, METH_VARARGS
| METH_KEYWORDS
},
11937 { "wxFontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_wxFontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
11938 { "wxFontMapper_SetConfigPath", (PyCFunction
) _wrap_wxFontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
11939 { "wxFontMapper_SetConfig", (PyCFunction
) _wrap_wxFontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
},
11940 { "wxFontMapper_SetDialogTitle", (PyCFunction
) _wrap_wxFontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
},
11941 { "wxFontMapper_SetDialogParent", (PyCFunction
) _wrap_wxFontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
},
11942 { "wxFontMapper_GetEncodingDescription", (PyCFunction
) _wrap_wxFontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
},
11943 { "wxFontMapper_GetEncodingName", (PyCFunction
) _wrap_wxFontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
11944 { "wxFontMapper_CharsetToEncoding", (PyCFunction
) _wrap_wxFontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
},
11945 { "wxFontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_wxFontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
},
11946 { "wxFontMapper_GetAltForEncoding", (PyCFunction
) _wrap_wxFontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
},
11947 { "delete_wxFontMapper", (PyCFunction
) _wrap_delete_wxFontMapper
, METH_VARARGS
| METH_KEYWORDS
},
11948 { "new_wxFontMapper", (PyCFunction
) _wrap_new_wxFontMapper
, METH_VARARGS
| METH_KEYWORDS
},
11949 { "wxNativeFontInfo_ToUserString", (PyCFunction
) _wrap_wxNativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
},
11950 { "wxNativeFontInfo_FromUserString", (PyCFunction
) _wrap_wxNativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
},
11951 { "wxNativeFontInfo___str__", (PyCFunction
) _wrap_wxNativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
},
11952 { "wxNativeFontInfo_ToString", (PyCFunction
) _wrap_wxNativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
11953 { "wxNativeFontInfo_FromString", (PyCFunction
) _wrap_wxNativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
11954 { "wxNativeFontInfo_SetEncoding", (PyCFunction
) _wrap_wxNativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
11955 { "wxNativeFontInfo_SetFamily", (PyCFunction
) _wrap_wxNativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
11956 { "wxNativeFontInfo_SetFaceName", (PyCFunction
) _wrap_wxNativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
11957 { "wxNativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_wxNativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
11958 { "wxNativeFontInfo_SetWeight", (PyCFunction
) _wrap_wxNativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
11959 { "wxNativeFontInfo_SetStyle", (PyCFunction
) _wrap_wxNativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11960 { "wxNativeFontInfo_SetPointSize", (PyCFunction
) _wrap_wxNativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
11961 { "wxNativeFontInfo_GetEncoding", (PyCFunction
) _wrap_wxNativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
11962 { "wxNativeFontInfo_GetFamily", (PyCFunction
) _wrap_wxNativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
11963 { "wxNativeFontInfo_GetFaceName", (PyCFunction
) _wrap_wxNativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
11964 { "wxNativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_wxNativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
11965 { "wxNativeFontInfo_GetWeight", (PyCFunction
) _wrap_wxNativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
11966 { "wxNativeFontInfo_GetStyle", (PyCFunction
) _wrap_wxNativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11967 { "wxNativeFontInfo_GetPointSize", (PyCFunction
) _wrap_wxNativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
11968 { "wxNativeFontInfo_Init", (PyCFunction
) _wrap_wxNativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
},
11969 { "new_wxNativeFontInfo", (PyCFunction
) _wrap_new_wxNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
11970 { "wxCursor_Ok", (PyCFunction
) _wrap_wxCursor_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11971 { "delete_wxCursor", (PyCFunction
) _wrap_delete_wxCursor
, METH_VARARGS
| METH_KEYWORDS
},
11972 { "wxIcon_CopyFromBitmap", (PyCFunction
) _wrap_wxIcon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11973 { "wxIcon_SetDepth", (PyCFunction
) _wrap_wxIcon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
11974 { "wxIcon_SetHeight", (PyCFunction
) _wrap_wxIcon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
11975 { "wxIcon_SetWidth", (PyCFunction
) _wrap_wxIcon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11976 { "wxIcon_GetDepth", (PyCFunction
) _wrap_wxIcon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
11977 { "wxIcon_GetHeight", (PyCFunction
) _wrap_wxIcon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
11978 { "wxIcon_GetWidth", (PyCFunction
) _wrap_wxIcon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11979 { "wxIcon_Ok", (PyCFunction
) _wrap_wxIcon_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11980 { "delete_wxIcon", (PyCFunction
) _wrap_delete_wxIcon
, METH_VARARGS
| METH_KEYWORDS
},
11981 { "new_wxIcon", (PyCFunction
) _wrap_new_wxIcon
, METH_VARARGS
| METH_KEYWORDS
},
11982 { "wxMask_Destroy", (PyCFunction
) _wrap_wxMask_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
11983 { "new_wxMask", (PyCFunction
) _wrap_new_wxMask
, METH_VARARGS
| METH_KEYWORDS
},
11984 { "wxBitmap_CopyFromIcon", (PyCFunction
) _wrap_wxBitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
11985 { "wxBitmap_GetSubBitmap", (PyCFunction
) _wrap_wxBitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11986 { "wxBitmap_SetDepth", (PyCFunction
) _wrap_wxBitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
11987 { "wxBitmap_SetHeight", (PyCFunction
) _wrap_wxBitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
11988 { "wxBitmap_SetWidth", (PyCFunction
) _wrap_wxBitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11989 { "wxBitmap_GetDepth", (PyCFunction
) _wrap_wxBitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
11990 { "wxBitmap_GetHeight", (PyCFunction
) _wrap_wxBitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
11991 { "wxBitmap_GetWidth", (PyCFunction
) _wrap_wxBitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11992 { "wxBitmap_Ok", (PyCFunction
) _wrap_wxBitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11993 { "wxBitmap_SetMask", (PyCFunction
) _wrap_wxBitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
11994 { "wxBitmap_SaveFile", (PyCFunction
) _wrap_wxBitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
11995 { "wxBitmap_LoadFile", (PyCFunction
) _wrap_wxBitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
11996 { "wxBitmap_GetMask", (PyCFunction
) _wrap_wxBitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
11997 { "wxBitmap_GetPalette", (PyCFunction
) _wrap_wxBitmap_GetPalette
, METH_VARARGS
| METH_KEYWORDS
},
11998 { "delete_wxBitmap", (PyCFunction
) _wrap_delete_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11999 { "new_wxBitmap", (PyCFunction
) _wrap_new_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
12000 { "wxGDIObject_IsNull", (PyCFunction
) _wrap_wxGDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
12001 { "wxGDIObject_SetVisible", (PyCFunction
) _wrap_wxGDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
},
12002 { "wxGDIObject_GetVisible", (PyCFunction
) _wrap_wxGDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
},
12003 { "delete_wxGDIObject", (PyCFunction
) _wrap_delete_wxGDIObject
, METH_VARARGS
| METH_KEYWORDS
},
12004 { "new_wxGDIObject", (PyCFunction
) _wrap_new_wxGDIObject
, METH_VARARGS
| METH_KEYWORDS
},
12005 { "wxMemoryDCFromDC", (PyCFunction
) _wrap_wxMemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
},
12006 { "wxNamedColour", (PyCFunction
) _wrap_wxNamedColour
, METH_VARARGS
| METH_KEYWORDS
},
12007 { "wxStockCursor", (PyCFunction
) _wrap_wxStockCursor
, METH_VARARGS
| METH_KEYWORDS
},
12008 { "wxIconFromXPMData", (PyCFunction
) _wrap_wxIconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
12009 { "wxEmptyIcon", (PyCFunction
) _wrap_wxEmptyIcon
, METH_VARARGS
| METH_KEYWORDS
},
12010 { "wxMaskColour", (PyCFunction
) _wrap_wxMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
12011 { "wxBitmapFromBits", (PyCFunction
) _wrap_wxBitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
},
12012 { "wxBitmapFromIcon", (PyCFunction
) _wrap_wxBitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
12013 { "wxBitmapFromXPMData", (PyCFunction
) _wrap_wxBitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
12014 { "wxEmptyBitmap", (PyCFunction
) _wrap_wxEmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
},
12021 * This table is used by the pointer type-checker
12023 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
12024 { "_signed_long","_long",0},
12025 { "_wxPrintQuality","_wxCoord",0},
12026 { "_wxPrintQuality","_int",0},
12027 { "_wxPrintQuality","_signed_int",0},
12028 { "_wxPrintQuality","_unsigned_int",0},
12029 { "_wxPrintQuality","_wxWindowID",0},
12030 { "_wxPrintQuality","_uint",0},
12031 { "_wxPrintQuality","_EBool",0},
12032 { "_wxPrintQuality","_size_t",0},
12033 { "_wxPrintQuality","_time_t",0},
12034 { "_wxPen","_wxPyPen",SwigwxPyPenTowxPen
},
12035 { "_byte","_unsigned_char",0},
12036 { "_long","_unsigned_long",0},
12037 { "_long","_signed_long",0},
12038 { "_wxGDIObject","_wxRegion",SwigwxRegionTowxGDIObject
},
12039 { "_wxGDIObject","_wxPalette",SwigwxPaletteTowxGDIObject
},
12040 { "_wxGDIObject","_wxBrush",SwigwxBrushTowxGDIObject
},
12041 { "_wxGDIObject","_wxPyPen",SwigwxPyPenTowxGDIObject
},
12042 { "_wxGDIObject","_wxPen",SwigwxPenTowxGDIObject
},
12043 { "_wxGDIObject","_wxFont",SwigwxFontTowxGDIObject
},
12044 { "_wxGDIObject","_wxCursor",SwigwxCursorTowxGDIObject
},
12045 { "_wxGDIObject","_wxIcon",SwigwxIconTowxGDIObject
},
12046 { "_wxGDIObject","_wxBitmap",SwigwxBitmapTowxGDIObject
},
12047 { "_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC
},
12048 { "_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
},
12049 { "_wxDC","_wxClientDC",SwigwxClientDCTowxDC
},
12050 { "_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
},
12051 { "_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
},
12052 { "_size_t","_wxCoord",0},
12053 { "_size_t","_wxPrintQuality",0},
12054 { "_size_t","_time_t",0},
12055 { "_size_t","_unsigned_int",0},
12056 { "_size_t","_int",0},
12057 { "_size_t","_wxWindowID",0},
12058 { "_size_t","_uint",0},
12059 { "_uint","_wxCoord",0},
12060 { "_uint","_wxPrintQuality",0},
12061 { "_uint","_time_t",0},
12062 { "_uint","_size_t",0},
12063 { "_uint","_unsigned_int",0},
12064 { "_uint","_int",0},
12065 { "_uint","_wxWindowID",0},
12066 { "_wxChar","_char",0},
12067 { "_char","_wxChar",0},
12068 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
12069 { "_EBool","_wxCoord",0},
12070 { "_EBool","_wxPrintQuality",0},
12071 { "_EBool","_signed_int",0},
12072 { "_EBool","_int",0},
12073 { "_EBool","_wxWindowID",0},
12074 { "_unsigned_long","_long",0},
12075 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
12076 { "_signed_int","_wxCoord",0},
12077 { "_signed_int","_wxPrintQuality",0},
12078 { "_signed_int","_EBool",0},
12079 { "_signed_int","_wxWindowID",0},
12080 { "_signed_int","_int",0},
12081 { "_WXTYPE","_short",0},
12082 { "_WXTYPE","_signed_short",0},
12083 { "_WXTYPE","_unsigned_short",0},
12084 { "_unsigned_short","_WXTYPE",0},
12085 { "_unsigned_short","_short",0},
12086 { "_wxObject","_wxRegionIterator",SwigwxRegionIteratorTowxObject
},
12087 { "_wxObject","_wxRegion",SwigwxRegionTowxObject
},
12088 { "_wxObject","_wxImageList",SwigwxImageListTowxObject
},
12089 { "_wxObject","_wxPalette",SwigwxPaletteTowxObject
},
12090 { "_wxObject","_wxWindowDC",SwigwxWindowDCTowxObject
},
12091 { "_wxObject","_wxPaintDC",SwigwxPaintDCTowxObject
},
12092 { "_wxObject","_wxClientDC",SwigwxClientDCTowxObject
},
12093 { "_wxObject","_wxScreenDC",SwigwxScreenDCTowxObject
},
12094 { "_wxObject","_wxMemoryDC",SwigwxMemoryDCTowxObject
},
12095 { "_wxObject","_wxDC",SwigwxDCTowxObject
},
12096 { "_wxObject","_wxBrushList",SwigwxBrushListTowxObject
},
12097 { "_wxObject","_wxBrush",SwigwxBrushTowxObject
},
12098 { "_wxObject","_wxPenList",SwigwxPenListTowxObject
},
12099 { "_wxObject","_wxPyPen",SwigwxPyPenTowxObject
},
12100 { "_wxObject","_wxPen",SwigwxPenTowxObject
},
12101 { "_wxObject","_wxColourDatabase",SwigwxColourDatabaseTowxObject
},
12102 { "_wxObject","_wxColour",SwigwxColourTowxObject
},
12103 { "_wxObject","_wxFontList",SwigwxFontListTowxObject
},
12104 { "_wxObject","_wxFont",SwigwxFontTowxObject
},
12105 { "_wxObject","_wxCursor",SwigwxCursorTowxObject
},
12106 { "_wxObject","_wxIcon",SwigwxIconTowxObject
},
12107 { "_wxObject","_wxMask",SwigwxMaskTowxObject
},
12108 { "_wxObject","_wxBitmap",SwigwxBitmapTowxObject
},
12109 { "_wxObject","_wxGDIObject",SwigwxGDIObjectTowxObject
},
12110 { "_signed_short","_WXTYPE",0},
12111 { "_signed_short","_short",0},
12112 { "_unsigned_char","_byte",0},
12113 { "_unsigned_int","_wxCoord",0},
12114 { "_unsigned_int","_wxPrintQuality",0},
12115 { "_unsigned_int","_time_t",0},
12116 { "_unsigned_int","_size_t",0},
12117 { "_unsigned_int","_uint",0},
12118 { "_unsigned_int","_wxWindowID",0},
12119 { "_unsigned_int","_int",0},
12120 { "_short","_WXTYPE",0},
12121 { "_short","_unsigned_short",0},
12122 { "_short","_signed_short",0},
12123 { "_wxWindowID","_wxCoord",0},
12124 { "_wxWindowID","_wxPrintQuality",0},
12125 { "_wxWindowID","_time_t",0},
12126 { "_wxWindowID","_size_t",0},
12127 { "_wxWindowID","_EBool",0},
12128 { "_wxWindowID","_uint",0},
12129 { "_wxWindowID","_int",0},
12130 { "_wxWindowID","_signed_int",0},
12131 { "_wxWindowID","_unsigned_int",0},
12132 { "_int","_wxCoord",0},
12133 { "_int","_wxPrintQuality",0},
12134 { "_int","_time_t",0},
12135 { "_int","_size_t",0},
12136 { "_int","_EBool",0},
12137 { "_int","_uint",0},
12138 { "_int","_wxWindowID",0},
12139 { "_int","_unsigned_int",0},
12140 { "_int","_signed_int",0},
12141 { "_time_t","_wxCoord",0},
12142 { "_time_t","_wxPrintQuality",0},
12143 { "_time_t","_unsigned_int",0},
12144 { "_time_t","_int",0},
12145 { "_time_t","_wxWindowID",0},
12146 { "_time_t","_uint",0},
12147 { "_time_t","_size_t",0},
12148 { "_wxCoord","_int",0},
12149 { "_wxCoord","_signed_int",0},
12150 { "_wxCoord","_unsigned_int",0},
12151 { "_wxCoord","_wxWindowID",0},
12152 { "_wxCoord","_uint",0},
12153 { "_wxCoord","_EBool",0},
12154 { "_wxCoord","_size_t",0},
12155 { "_wxCoord","_time_t",0},
12156 { "_wxCoord","_wxPrintQuality",0},
12159 static PyObject
*SWIG_globals
;
12163 SWIGEXPORT(void) initgdic() {
12165 SWIG_globals
= SWIG_newvarlink();
12166 m
= Py_InitModule("gdic", gdicMethods
);
12167 d
= PyModule_GetDict(m
);
12168 PyDict_SetItemString(d
,"wxFONTFAMILY_DEFAULT", PyInt_FromLong((long) wxFONTFAMILY_DEFAULT
));
12169 PyDict_SetItemString(d
,"wxFONTFAMILY_DECORATIVE", PyInt_FromLong((long) wxFONTFAMILY_DECORATIVE
));
12170 PyDict_SetItemString(d
,"wxFONTFAMILY_ROMAN", PyInt_FromLong((long) wxFONTFAMILY_ROMAN
));
12171 PyDict_SetItemString(d
,"wxFONTFAMILY_SCRIPT", PyInt_FromLong((long) wxFONTFAMILY_SCRIPT
));
12172 PyDict_SetItemString(d
,"wxFONTFAMILY_SWISS", PyInt_FromLong((long) wxFONTFAMILY_SWISS
));
12173 PyDict_SetItemString(d
,"wxFONTFAMILY_MODERN", PyInt_FromLong((long) wxFONTFAMILY_MODERN
));
12174 PyDict_SetItemString(d
,"wxFONTFAMILY_TELETYPE", PyInt_FromLong((long) wxFONTFAMILY_TELETYPE
));
12175 PyDict_SetItemString(d
,"wxFONTFAMILY_MAX", PyInt_FromLong((long) wxFONTFAMILY_MAX
));
12176 PyDict_SetItemString(d
,"wxFONTSTYLE_NORMAL", PyInt_FromLong((long) wxFONTSTYLE_NORMAL
));
12177 PyDict_SetItemString(d
,"wxFONTSTYLE_ITALIC", PyInt_FromLong((long) wxFONTSTYLE_ITALIC
));
12178 PyDict_SetItemString(d
,"wxFONTSTYLE_SLANT", PyInt_FromLong((long) wxFONTSTYLE_SLANT
));
12179 PyDict_SetItemString(d
,"wxFONTSTYLE_MAX", PyInt_FromLong((long) wxFONTSTYLE_MAX
));
12180 PyDict_SetItemString(d
,"wxFONTWEIGHT_NORMAL", PyInt_FromLong((long) wxFONTWEIGHT_NORMAL
));
12181 PyDict_SetItemString(d
,"wxFONTWEIGHT_LIGHT", PyInt_FromLong((long) wxFONTWEIGHT_LIGHT
));
12182 PyDict_SetItemString(d
,"wxFONTWEIGHT_BOLD", PyInt_FromLong((long) wxFONTWEIGHT_BOLD
));
12183 PyDict_SetItemString(d
,"wxFONTWEIGHT_MAX", PyInt_FromLong((long) wxFONTWEIGHT_MAX
));
12184 PyDict_SetItemString(d
,"wxFONTENCODING_SYSTEM", PyInt_FromLong((long) wxFONTENCODING_SYSTEM
));
12185 PyDict_SetItemString(d
,"wxFONTENCODING_DEFAULT", PyInt_FromLong((long) wxFONTENCODING_DEFAULT
));
12186 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_1", PyInt_FromLong((long) wxFONTENCODING_ISO8859_1
));
12187 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_2", PyInt_FromLong((long) wxFONTENCODING_ISO8859_2
));
12188 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_3", PyInt_FromLong((long) wxFONTENCODING_ISO8859_3
));
12189 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_4", PyInt_FromLong((long) wxFONTENCODING_ISO8859_4
));
12190 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_5", PyInt_FromLong((long) wxFONTENCODING_ISO8859_5
));
12191 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_6", PyInt_FromLong((long) wxFONTENCODING_ISO8859_6
));
12192 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_7", PyInt_FromLong((long) wxFONTENCODING_ISO8859_7
));
12193 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_8", PyInt_FromLong((long) wxFONTENCODING_ISO8859_8
));
12194 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_9", PyInt_FromLong((long) wxFONTENCODING_ISO8859_9
));
12195 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_10", PyInt_FromLong((long) wxFONTENCODING_ISO8859_10
));
12196 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_11", PyInt_FromLong((long) wxFONTENCODING_ISO8859_11
));
12197 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_12", PyInt_FromLong((long) wxFONTENCODING_ISO8859_12
));
12198 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_13", PyInt_FromLong((long) wxFONTENCODING_ISO8859_13
));
12199 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_14", PyInt_FromLong((long) wxFONTENCODING_ISO8859_14
));
12200 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_15", PyInt_FromLong((long) wxFONTENCODING_ISO8859_15
));
12201 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_MAX", PyInt_FromLong((long) wxFONTENCODING_ISO8859_MAX
));
12202 PyDict_SetItemString(d
,"wxFONTENCODING_KOI8", PyInt_FromLong((long) wxFONTENCODING_KOI8
));
12203 PyDict_SetItemString(d
,"wxFONTENCODING_ALTERNATIVE", PyInt_FromLong((long) wxFONTENCODING_ALTERNATIVE
));
12204 PyDict_SetItemString(d
,"wxFONTENCODING_BULGARIAN", PyInt_FromLong((long) wxFONTENCODING_BULGARIAN
));
12205 PyDict_SetItemString(d
,"wxFONTENCODING_CP437", PyInt_FromLong((long) wxFONTENCODING_CP437
));
12206 PyDict_SetItemString(d
,"wxFONTENCODING_CP850", PyInt_FromLong((long) wxFONTENCODING_CP850
));
12207 PyDict_SetItemString(d
,"wxFONTENCODING_CP852", PyInt_FromLong((long) wxFONTENCODING_CP852
));
12208 PyDict_SetItemString(d
,"wxFONTENCODING_CP855", PyInt_FromLong((long) wxFONTENCODING_CP855
));
12209 PyDict_SetItemString(d
,"wxFONTENCODING_CP866", PyInt_FromLong((long) wxFONTENCODING_CP866
));
12210 PyDict_SetItemString(d
,"wxFONTENCODING_CP874", PyInt_FromLong((long) wxFONTENCODING_CP874
));
12211 PyDict_SetItemString(d
,"wxFONTENCODING_CP932", PyInt_FromLong((long) wxFONTENCODING_CP932
));
12212 PyDict_SetItemString(d
,"wxFONTENCODING_CP936", PyInt_FromLong((long) wxFONTENCODING_CP936
));
12213 PyDict_SetItemString(d
,"wxFONTENCODING_CP949", PyInt_FromLong((long) wxFONTENCODING_CP949
));
12214 PyDict_SetItemString(d
,"wxFONTENCODING_CP950", PyInt_FromLong((long) wxFONTENCODING_CP950
));
12215 PyDict_SetItemString(d
,"wxFONTENCODING_CP1250", PyInt_FromLong((long) wxFONTENCODING_CP1250
));
12216 PyDict_SetItemString(d
,"wxFONTENCODING_CP1251", PyInt_FromLong((long) wxFONTENCODING_CP1251
));
12217 PyDict_SetItemString(d
,"wxFONTENCODING_CP1252", PyInt_FromLong((long) wxFONTENCODING_CP1252
));
12218 PyDict_SetItemString(d
,"wxFONTENCODING_CP1253", PyInt_FromLong((long) wxFONTENCODING_CP1253
));
12219 PyDict_SetItemString(d
,"wxFONTENCODING_CP1254", PyInt_FromLong((long) wxFONTENCODING_CP1254
));
12220 PyDict_SetItemString(d
,"wxFONTENCODING_CP1255", PyInt_FromLong((long) wxFONTENCODING_CP1255
));
12221 PyDict_SetItemString(d
,"wxFONTENCODING_CP1256", PyInt_FromLong((long) wxFONTENCODING_CP1256
));
12222 PyDict_SetItemString(d
,"wxFONTENCODING_CP1257", PyInt_FromLong((long) wxFONTENCODING_CP1257
));
12223 PyDict_SetItemString(d
,"wxFONTENCODING_CP12_MAX", PyInt_FromLong((long) wxFONTENCODING_CP12_MAX
));
12224 PyDict_SetItemString(d
,"wxFONTENCODING_UTF7", PyInt_FromLong((long) wxFONTENCODING_UTF7
));
12225 PyDict_SetItemString(d
,"wxFONTENCODING_UTF8", PyInt_FromLong((long) wxFONTENCODING_UTF8
));
12226 PyDict_SetItemString(d
,"wxFONTENCODING_UNICODE", PyInt_FromLong((long) wxFONTENCODING_UNICODE
));
12227 PyDict_SetItemString(d
,"wxFONTENCODING_MAX", PyInt_FromLong((long) wxFONTENCODING_MAX
));
12228 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_NORMAL", PyInt_FromLong((long) wxIMAGELIST_DRAW_NORMAL
));
12229 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_TRANSPARENT", PyInt_FromLong((long) wxIMAGELIST_DRAW_TRANSPARENT
));
12230 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_SELECTED", PyInt_FromLong((long) wxIMAGELIST_DRAW_SELECTED
));
12231 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_FOCUSED", PyInt_FromLong((long) wxIMAGELIST_DRAW_FOCUSED
));
12232 PyDict_SetItemString(d
,"wxIMAGE_LIST_NORMAL", PyInt_FromLong((long) wxIMAGE_LIST_NORMAL
));
12233 PyDict_SetItemString(d
,"wxIMAGE_LIST_SMALL", PyInt_FromLong((long) wxIMAGE_LIST_SMALL
));
12234 PyDict_SetItemString(d
,"wxIMAGE_LIST_STATE", PyInt_FromLong((long) wxIMAGE_LIST_STATE
));
12235 PyDict_SetItemString(d
,"wxOutRegion", PyInt_FromLong((long) wxOutRegion
));
12236 PyDict_SetItemString(d
,"wxPartRegion", PyInt_FromLong((long) wxPartRegion
));
12237 PyDict_SetItemString(d
,"wxInRegion", PyInt_FromLong((long) wxInRegion
));
12238 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
12239 SWIG_addvarlink(SWIG_globals
,"wxNORMAL_FONT",_wrap_wxNORMAL_FONT_get
, _wrap_wxNORMAL_FONT_set
);
12240 SWIG_addvarlink(SWIG_globals
,"wxSMALL_FONT",_wrap_wxSMALL_FONT_get
, _wrap_wxSMALL_FONT_set
);
12241 SWIG_addvarlink(SWIG_globals
,"wxITALIC_FONT",_wrap_wxITALIC_FONT_get
, _wrap_wxITALIC_FONT_set
);
12242 SWIG_addvarlink(SWIG_globals
,"wxSWISS_FONT",_wrap_wxSWISS_FONT_get
, _wrap_wxSWISS_FONT_set
);
12243 SWIG_addvarlink(SWIG_globals
,"wxRED_PEN",_wrap_wxRED_PEN_get
, _wrap_wxRED_PEN_set
);
12244 SWIG_addvarlink(SWIG_globals
,"wxCYAN_PEN",_wrap_wxCYAN_PEN_get
, _wrap_wxCYAN_PEN_set
);
12245 SWIG_addvarlink(SWIG_globals
,"wxGREEN_PEN",_wrap_wxGREEN_PEN_get
, _wrap_wxGREEN_PEN_set
);
12246 SWIG_addvarlink(SWIG_globals
,"wxBLACK_PEN",_wrap_wxBLACK_PEN_get
, _wrap_wxBLACK_PEN_set
);
12247 SWIG_addvarlink(SWIG_globals
,"wxWHITE_PEN",_wrap_wxWHITE_PEN_get
, _wrap_wxWHITE_PEN_set
);
12248 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_PEN",_wrap_wxTRANSPARENT_PEN_get
, _wrap_wxTRANSPARENT_PEN_set
);
12249 SWIG_addvarlink(SWIG_globals
,"wxBLACK_DASHED_PEN",_wrap_wxBLACK_DASHED_PEN_get
, _wrap_wxBLACK_DASHED_PEN_set
);
12250 SWIG_addvarlink(SWIG_globals
,"wxGREY_PEN",_wrap_wxGREY_PEN_get
, _wrap_wxGREY_PEN_set
);
12251 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_PEN",_wrap_wxMEDIUM_GREY_PEN_get
, _wrap_wxMEDIUM_GREY_PEN_set
);
12252 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_PEN",_wrap_wxLIGHT_GREY_PEN_get
, _wrap_wxLIGHT_GREY_PEN_set
);
12253 SWIG_addvarlink(SWIG_globals
,"wxBLUE_BRUSH",_wrap_wxBLUE_BRUSH_get
, _wrap_wxBLUE_BRUSH_set
);
12254 SWIG_addvarlink(SWIG_globals
,"wxGREEN_BRUSH",_wrap_wxGREEN_BRUSH_get
, _wrap_wxGREEN_BRUSH_set
);
12255 SWIG_addvarlink(SWIG_globals
,"wxWHITE_BRUSH",_wrap_wxWHITE_BRUSH_get
, _wrap_wxWHITE_BRUSH_set
);
12256 SWIG_addvarlink(SWIG_globals
,"wxBLACK_BRUSH",_wrap_wxBLACK_BRUSH_get
, _wrap_wxBLACK_BRUSH_set
);
12257 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_BRUSH",_wrap_wxTRANSPARENT_BRUSH_get
, _wrap_wxTRANSPARENT_BRUSH_set
);
12258 SWIG_addvarlink(SWIG_globals
,"wxCYAN_BRUSH",_wrap_wxCYAN_BRUSH_get
, _wrap_wxCYAN_BRUSH_set
);
12259 SWIG_addvarlink(SWIG_globals
,"wxRED_BRUSH",_wrap_wxRED_BRUSH_get
, _wrap_wxRED_BRUSH_set
);
12260 SWIG_addvarlink(SWIG_globals
,"wxGREY_BRUSH",_wrap_wxGREY_BRUSH_get
, _wrap_wxGREY_BRUSH_set
);
12261 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_BRUSH",_wrap_wxMEDIUM_GREY_BRUSH_get
, _wrap_wxMEDIUM_GREY_BRUSH_set
);
12262 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_BRUSH",_wrap_wxLIGHT_GREY_BRUSH_get
, _wrap_wxLIGHT_GREY_BRUSH_set
);
12263 SWIG_addvarlink(SWIG_globals
,"wxBLACK",_wrap_wxBLACK_get
, _wrap_wxBLACK_set
);
12264 SWIG_addvarlink(SWIG_globals
,"wxWHITE",_wrap_wxWHITE_get
, _wrap_wxWHITE_set
);
12265 SWIG_addvarlink(SWIG_globals
,"wxRED",_wrap_wxRED_get
, _wrap_wxRED_set
);
12266 SWIG_addvarlink(SWIG_globals
,"wxBLUE",_wrap_wxBLUE_get
, _wrap_wxBLUE_set
);
12267 SWIG_addvarlink(SWIG_globals
,"wxGREEN",_wrap_wxGREEN_get
, _wrap_wxGREEN_set
);
12268 SWIG_addvarlink(SWIG_globals
,"wxCYAN",_wrap_wxCYAN_get
, _wrap_wxCYAN_set
);
12269 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY",_wrap_wxLIGHT_GREY_get
, _wrap_wxLIGHT_GREY_set
);
12270 SWIG_addvarlink(SWIG_globals
,"wxSTANDARD_CURSOR",_wrap_wxSTANDARD_CURSOR_get
, _wrap_wxSTANDARD_CURSOR_set
);
12271 SWIG_addvarlink(SWIG_globals
,"wxHOURGLASS_CURSOR",_wrap_wxHOURGLASS_CURSOR_get
, _wrap_wxHOURGLASS_CURSOR_set
);
12272 SWIG_addvarlink(SWIG_globals
,"wxCROSS_CURSOR",_wrap_wxCROSS_CURSOR_get
, _wrap_wxCROSS_CURSOR_set
);
12273 SWIG_addvarlink(SWIG_globals
,"wxNullBitmap",_wrap_wxNullBitmap_get
, _wrap_wxNullBitmap_set
);
12274 SWIG_addvarlink(SWIG_globals
,"wxNullIcon",_wrap_wxNullIcon_get
, _wrap_wxNullIcon_set
);
12275 SWIG_addvarlink(SWIG_globals
,"wxNullCursor",_wrap_wxNullCursor_get
, _wrap_wxNullCursor_set
);
12276 SWIG_addvarlink(SWIG_globals
,"wxNullPen",_wrap_wxNullPen_get
, _wrap_wxNullPen_set
);
12277 SWIG_addvarlink(SWIG_globals
,"wxNullBrush",_wrap_wxNullBrush_get
, _wrap_wxNullBrush_set
);
12278 SWIG_addvarlink(SWIG_globals
,"wxNullPalette",_wrap_wxNullPalette_get
, _wrap_wxNullPalette_set
);
12279 SWIG_addvarlink(SWIG_globals
,"wxNullFont",_wrap_wxNullFont_get
, _wrap_wxNullFont_set
);
12280 SWIG_addvarlink(SWIG_globals
,"wxNullColour",_wrap_wxNullColour_get
, _wrap_wxNullColour_set
);
12281 SWIG_addvarlink(SWIG_globals
,"wxTheFontList",_wrap_wxTheFontList_get
, _wrap_wxTheFontList_set
);
12282 SWIG_addvarlink(SWIG_globals
,"wxThePenList",_wrap_wxThePenList_get
, _wrap_wxThePenList_set
);
12283 SWIG_addvarlink(SWIG_globals
,"wxTheBrushList",_wrap_wxTheBrushList_get
, _wrap_wxTheBrushList_set
);
12284 SWIG_addvarlink(SWIG_globals
,"wxTheColourDatabase",_wrap_wxTheColourDatabase_get
, _wrap_wxTheColourDatabase_set
);
12287 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
12288 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);