2 * FILE : src/msw/gdi.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initgdic
56 #define SWIG_name "gdic"
59 #include <wx/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
);
91 // Implementations of some alternate "constructors"
93 wxBitmap
* wxEmptyBitmap(int width
, int height
, int depth
=-1) {
94 return new wxBitmap(width
, height
, depth
);
97 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
101 if (!PyList_Check(listOfStrings
)) {
102 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
105 count
= PyList_Size(listOfStrings
);
106 cArray
= new char*[count
];
108 for(int x
=0; x
<count
; x
++) {
109 // TODO: Need some validation and error checking here
110 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
116 wxBitmap
* wxBitmapFromXPMData(PyObject
* listOfStrings
) {
117 char** cArray
= NULL
;
120 cArray
= ConvertListOfStrings(listOfStrings
);
123 bmp
= new wxBitmap(cArray
);
129 wxBitmap
* wxBitmapFromIcon(const wxIcon
& icon
) {
130 return new wxBitmap(icon
);
134 wxBitmap
* wxBitmapFromBits(char* bits
, int width
, int height
, int depth
= 1 ) {
135 return new wxBitmap(bits
, width
, height
, depth
);
140 // wxBitmap* wxBitmapFromData(PyObject* data, long type,
141 // int width, int height, int depth = 1) {
142 // if (! PyString_Check(data)) {
143 // PyErr_SetString(PyExc_TypeError, "Expected string object");
146 // return new wxBitmap((void*)PyString_AsString(data), type, width, height, depth);
150 wxMask
* wxMaskColour(const wxBitmap
& bitmap
, const wxColour
& colour
) {
151 return new wxMask(bitmap
, colour
);
153 // Implementations of some alternate "constructors"
154 wxIcon
* wxEmptyIcon() {
158 wxIcon
* wxIconFromXPMData(PyObject
* listOfStrings
) {
159 char** cArray
= NULL
;
162 cArray
= ConvertListOfStrings(listOfStrings
);
165 icon
= new wxIcon(cArray
);
170 wxIcon
* wxIconFromBitmap(const wxBitmap
& bmp
) {
171 wxIcon
* icon
= new wxIcon();
172 icon
->CopyFromBitmap(bmp
);
175 // Alternate 'constructor'
176 wxCursor
* wxPyStockCursor(int id
) {
177 return new wxCursor(id
);
179 // Alternate 'constructor'
180 wxColour
* wxNamedColour(const wxString
& colorName
) {
181 return new wxColour(colorName
);
184 class wxPyPen
: public wxPen
{
186 wxPyPen(wxColour
& colour
, int width
=1, int style
=wxSOLID
)
187 : wxPen(colour
, width
, style
)
194 void SetDashes(int nb_dashes
, const wxDash
*dash
) {
197 m_dash
= new wxDash
[nb_dashes
];
198 for (int i
=0; i
<nb_dashes
; i
++) {
201 wxPen::SetDashes(nb_dashes
, m_dash
);
208 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
214 // Alternate 'constructor'
215 wxMemoryDC
* wxMemoryDCFromDC(wxDC
* oldDC
) {
216 return new wxMemoryDC(oldDC
);
219 #include <wx/metafile.h>
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_wxIconFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
492 PyObject
* _resultobj
;
495 PyObject
* _argo0
= 0;
496 char *_kwnames
[] = { "bmp", NULL
};
500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIconFromBitmap",_kwnames
,&_argo0
))
503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIconFromBitmap. Expected _wxBitmap_p.");
510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
511 _result
= (wxIcon
*)wxIconFromBitmap(*_arg0
);
513 wxPyEndAllowThreads(__tstate
);
514 if (PyErr_Occurred()) return NULL
;
516 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
517 _resultobj
= Py_BuildValue("s",_ptemp
);
520 _resultobj
= Py_None
;
525 static PyObject
*_wrap_wxStockCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
526 PyObject
* _resultobj
;
529 char *_kwnames
[] = { "id", NULL
};
533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxStockCursor",_kwnames
,&_arg0
))
536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
537 _result
= (wxCursor
*)wxPyStockCursor(_arg0
);
539 wxPyEndAllowThreads(__tstate
);
540 if (PyErr_Occurred()) return NULL
;
542 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCursor_p");
543 _resultobj
= Py_BuildValue("s",_ptemp
);
546 _resultobj
= Py_None
;
551 static PyObject
*_wrap_wxNamedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
552 PyObject
* _resultobj
;
555 PyObject
* _obj0
= 0;
556 char *_kwnames
[] = { "colorName", NULL
};
560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNamedColour",_kwnames
,&_obj0
))
563 _arg0
= wxString_in_helper(_obj0
);
568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
569 _result
= (wxColour
*)wxNamedColour(*_arg0
);
571 wxPyEndAllowThreads(__tstate
);
572 if (PyErr_Occurred()) return NULL
;
574 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
575 _resultobj
= Py_BuildValue("s",_ptemp
);
578 _resultobj
= Py_None
;
587 static PyObject
*_wrap_wxMemoryDCFromDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
588 PyObject
* _resultobj
;
589 wxMemoryDC
* _result
;
591 PyObject
* _argo0
= 0;
592 char *_kwnames
[] = { "oldDC", NULL
};
596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMemoryDCFromDC",_kwnames
,&_argo0
))
599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDCFromDC. Expected _wxDC_p.");
606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
607 _result
= (wxMemoryDC
*)wxMemoryDCFromDC(_arg0
);
609 wxPyEndAllowThreads(__tstate
);
610 if (PyErr_Occurred()) return NULL
;
612 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
613 _resultobj
= Py_BuildValue("s",_ptemp
);
616 _resultobj
= Py_None
;
621 static int _wrap_wxNORMAL_FONT_set(PyObject
*val
) {
623 PyErr_SetString(PyExc_TypeError
,"Variable wxNORMAL_FONT is read-only.");
627 static PyObject
*_wrap_wxNORMAL_FONT_get() {
631 SWIG_MakePtr(ptemp
, (char *) wxNORMAL_FONT
,"_wxFont_p");
632 pyobj
= PyString_FromString(ptemp
);
636 static int _wrap_wxSMALL_FONT_set(PyObject
*val
) {
638 PyErr_SetString(PyExc_TypeError
,"Variable wxSMALL_FONT is read-only.");
642 static PyObject
*_wrap_wxSMALL_FONT_get() {
646 SWIG_MakePtr(ptemp
, (char *) wxSMALL_FONT
,"_wxFont_p");
647 pyobj
= PyString_FromString(ptemp
);
651 static int _wrap_wxITALIC_FONT_set(PyObject
*val
) {
653 PyErr_SetString(PyExc_TypeError
,"Variable wxITALIC_FONT is read-only.");
657 static PyObject
*_wrap_wxITALIC_FONT_get() {
661 SWIG_MakePtr(ptemp
, (char *) wxITALIC_FONT
,"_wxFont_p");
662 pyobj
= PyString_FromString(ptemp
);
666 static int _wrap_wxSWISS_FONT_set(PyObject
*val
) {
668 PyErr_SetString(PyExc_TypeError
,"Variable wxSWISS_FONT is read-only.");
672 static PyObject
*_wrap_wxSWISS_FONT_get() {
676 SWIG_MakePtr(ptemp
, (char *) wxSWISS_FONT
,"_wxFont_p");
677 pyobj
= PyString_FromString(ptemp
);
681 static int _wrap_wxRED_PEN_set(PyObject
*val
) {
683 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_PEN is read-only.");
687 static PyObject
*_wrap_wxRED_PEN_get() {
691 SWIG_MakePtr(ptemp
, (char *) wxRED_PEN
,"_wxPen_p");
692 pyobj
= PyString_FromString(ptemp
);
696 static int _wrap_wxCYAN_PEN_set(PyObject
*val
) {
698 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_PEN is read-only.");
702 static PyObject
*_wrap_wxCYAN_PEN_get() {
706 SWIG_MakePtr(ptemp
, (char *) wxCYAN_PEN
,"_wxPen_p");
707 pyobj
= PyString_FromString(ptemp
);
711 static int _wrap_wxGREEN_PEN_set(PyObject
*val
) {
713 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_PEN is read-only.");
717 static PyObject
*_wrap_wxGREEN_PEN_get() {
721 SWIG_MakePtr(ptemp
, (char *) wxGREEN_PEN
,"_wxPen_p");
722 pyobj
= PyString_FromString(ptemp
);
726 static int _wrap_wxBLACK_PEN_set(PyObject
*val
) {
728 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_PEN is read-only.");
732 static PyObject
*_wrap_wxBLACK_PEN_get() {
736 SWIG_MakePtr(ptemp
, (char *) wxBLACK_PEN
,"_wxPen_p");
737 pyobj
= PyString_FromString(ptemp
);
741 static int _wrap_wxWHITE_PEN_set(PyObject
*val
) {
743 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_PEN is read-only.");
747 static PyObject
*_wrap_wxWHITE_PEN_get() {
751 SWIG_MakePtr(ptemp
, (char *) wxWHITE_PEN
,"_wxPen_p");
752 pyobj
= PyString_FromString(ptemp
);
756 static int _wrap_wxTRANSPARENT_PEN_set(PyObject
*val
) {
758 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_PEN is read-only.");
762 static PyObject
*_wrap_wxTRANSPARENT_PEN_get() {
766 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_PEN
,"_wxPen_p");
767 pyobj
= PyString_FromString(ptemp
);
771 static int _wrap_wxBLACK_DASHED_PEN_set(PyObject
*val
) {
773 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_DASHED_PEN is read-only.");
777 static PyObject
*_wrap_wxBLACK_DASHED_PEN_get() {
781 SWIG_MakePtr(ptemp
, (char *) wxBLACK_DASHED_PEN
,"_wxPen_p");
782 pyobj
= PyString_FromString(ptemp
);
786 static int _wrap_wxGREY_PEN_set(PyObject
*val
) {
788 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_PEN is read-only.");
792 static PyObject
*_wrap_wxGREY_PEN_get() {
796 SWIG_MakePtr(ptemp
, (char *) wxGREY_PEN
,"_wxPen_p");
797 pyobj
= PyString_FromString(ptemp
);
801 static int _wrap_wxMEDIUM_GREY_PEN_set(PyObject
*val
) {
803 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_PEN is read-only.");
807 static PyObject
*_wrap_wxMEDIUM_GREY_PEN_get() {
811 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_PEN
,"_wxPen_p");
812 pyobj
= PyString_FromString(ptemp
);
816 static int _wrap_wxLIGHT_GREY_PEN_set(PyObject
*val
) {
818 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_PEN is read-only.");
822 static PyObject
*_wrap_wxLIGHT_GREY_PEN_get() {
826 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_PEN
,"_wxPen_p");
827 pyobj
= PyString_FromString(ptemp
);
831 static int _wrap_wxBLUE_BRUSH_set(PyObject
*val
) {
833 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE_BRUSH is read-only.");
837 static PyObject
*_wrap_wxBLUE_BRUSH_get() {
841 SWIG_MakePtr(ptemp
, (char *) wxBLUE_BRUSH
,"_wxBrush_p");
842 pyobj
= PyString_FromString(ptemp
);
846 static int _wrap_wxGREEN_BRUSH_set(PyObject
*val
) {
848 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_BRUSH is read-only.");
852 static PyObject
*_wrap_wxGREEN_BRUSH_get() {
856 SWIG_MakePtr(ptemp
, (char *) wxGREEN_BRUSH
,"_wxBrush_p");
857 pyobj
= PyString_FromString(ptemp
);
861 static int _wrap_wxWHITE_BRUSH_set(PyObject
*val
) {
863 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_BRUSH is read-only.");
867 static PyObject
*_wrap_wxWHITE_BRUSH_get() {
871 SWIG_MakePtr(ptemp
, (char *) wxWHITE_BRUSH
,"_wxBrush_p");
872 pyobj
= PyString_FromString(ptemp
);
876 static int _wrap_wxBLACK_BRUSH_set(PyObject
*val
) {
878 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_BRUSH is read-only.");
882 static PyObject
*_wrap_wxBLACK_BRUSH_get() {
886 SWIG_MakePtr(ptemp
, (char *) wxBLACK_BRUSH
,"_wxBrush_p");
887 pyobj
= PyString_FromString(ptemp
);
891 static int _wrap_wxTRANSPARENT_BRUSH_set(PyObject
*val
) {
893 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_BRUSH is read-only.");
897 static PyObject
*_wrap_wxTRANSPARENT_BRUSH_get() {
901 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_BRUSH
,"_wxBrush_p");
902 pyobj
= PyString_FromString(ptemp
);
906 static int _wrap_wxCYAN_BRUSH_set(PyObject
*val
) {
908 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_BRUSH is read-only.");
912 static PyObject
*_wrap_wxCYAN_BRUSH_get() {
916 SWIG_MakePtr(ptemp
, (char *) wxCYAN_BRUSH
,"_wxBrush_p");
917 pyobj
= PyString_FromString(ptemp
);
921 static int _wrap_wxRED_BRUSH_set(PyObject
*val
) {
923 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_BRUSH is read-only.");
927 static PyObject
*_wrap_wxRED_BRUSH_get() {
931 SWIG_MakePtr(ptemp
, (char *) wxRED_BRUSH
,"_wxBrush_p");
932 pyobj
= PyString_FromString(ptemp
);
936 static int _wrap_wxGREY_BRUSH_set(PyObject
*val
) {
938 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_BRUSH is read-only.");
942 static PyObject
*_wrap_wxGREY_BRUSH_get() {
946 SWIG_MakePtr(ptemp
, (char *) wxGREY_BRUSH
,"_wxBrush_p");
947 pyobj
= PyString_FromString(ptemp
);
951 static int _wrap_wxMEDIUM_GREY_BRUSH_set(PyObject
*val
) {
953 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_BRUSH is read-only.");
957 static PyObject
*_wrap_wxMEDIUM_GREY_BRUSH_get() {
961 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_BRUSH
,"_wxBrush_p");
962 pyobj
= PyString_FromString(ptemp
);
966 static int _wrap_wxLIGHT_GREY_BRUSH_set(PyObject
*val
) {
968 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_BRUSH is read-only.");
972 static PyObject
*_wrap_wxLIGHT_GREY_BRUSH_get() {
976 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_BRUSH
,"_wxBrush_p");
977 pyobj
= PyString_FromString(ptemp
);
981 static int _wrap_wxBLACK_set(PyObject
*val
) {
983 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK is read-only.");
987 static PyObject
*_wrap_wxBLACK_get() {
991 SWIG_MakePtr(ptemp
, (char *) wxBLACK
,"_wxColour_p");
992 pyobj
= PyString_FromString(ptemp
);
996 static int _wrap_wxWHITE_set(PyObject
*val
) {
998 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE is read-only.");
1002 static PyObject
*_wrap_wxWHITE_get() {
1006 SWIG_MakePtr(ptemp
, (char *) wxWHITE
,"_wxColour_p");
1007 pyobj
= PyString_FromString(ptemp
);
1011 static int _wrap_wxRED_set(PyObject
*val
) {
1013 PyErr_SetString(PyExc_TypeError
,"Variable wxRED is read-only.");
1017 static PyObject
*_wrap_wxRED_get() {
1021 SWIG_MakePtr(ptemp
, (char *) wxRED
,"_wxColour_p");
1022 pyobj
= PyString_FromString(ptemp
);
1026 static int _wrap_wxBLUE_set(PyObject
*val
) {
1028 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE is read-only.");
1032 static PyObject
*_wrap_wxBLUE_get() {
1036 SWIG_MakePtr(ptemp
, (char *) wxBLUE
,"_wxColour_p");
1037 pyobj
= PyString_FromString(ptemp
);
1041 static int _wrap_wxGREEN_set(PyObject
*val
) {
1043 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN is read-only.");
1047 static PyObject
*_wrap_wxGREEN_get() {
1051 SWIG_MakePtr(ptemp
, (char *) wxGREEN
,"_wxColour_p");
1052 pyobj
= PyString_FromString(ptemp
);
1056 static int _wrap_wxCYAN_set(PyObject
*val
) {
1058 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN is read-only.");
1062 static PyObject
*_wrap_wxCYAN_get() {
1066 SWIG_MakePtr(ptemp
, (char *) wxCYAN
,"_wxColour_p");
1067 pyobj
= PyString_FromString(ptemp
);
1071 static int _wrap_wxLIGHT_GREY_set(PyObject
*val
) {
1073 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY is read-only.");
1077 static PyObject
*_wrap_wxLIGHT_GREY_get() {
1081 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY
,"_wxColour_p");
1082 pyobj
= PyString_FromString(ptemp
);
1086 static int _wrap_wxSTANDARD_CURSOR_set(PyObject
*val
) {
1088 PyErr_SetString(PyExc_TypeError
,"Variable wxSTANDARD_CURSOR is read-only.");
1092 static PyObject
*_wrap_wxSTANDARD_CURSOR_get() {
1096 SWIG_MakePtr(ptemp
, (char *) wxSTANDARD_CURSOR
,"_wxCursor_p");
1097 pyobj
= PyString_FromString(ptemp
);
1101 static int _wrap_wxHOURGLASS_CURSOR_set(PyObject
*val
) {
1103 PyErr_SetString(PyExc_TypeError
,"Variable wxHOURGLASS_CURSOR is read-only.");
1107 static PyObject
*_wrap_wxHOURGLASS_CURSOR_get() {
1111 SWIG_MakePtr(ptemp
, (char *) wxHOURGLASS_CURSOR
,"_wxCursor_p");
1112 pyobj
= PyString_FromString(ptemp
);
1116 static int _wrap_wxCROSS_CURSOR_set(PyObject
*val
) {
1118 PyErr_SetString(PyExc_TypeError
,"Variable wxCROSS_CURSOR is read-only.");
1122 static PyObject
*_wrap_wxCROSS_CURSOR_get() {
1126 SWIG_MakePtr(ptemp
, (char *) wxCROSS_CURSOR
,"_wxCursor_p");
1127 pyobj
= PyString_FromString(ptemp
);
1131 static int _wrap_wxNullBitmap_set(PyObject
*val
) {
1133 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBitmap is read-only.");
1137 static PyObject
*_wrap_wxNullBitmap_get() {
1141 SWIG_MakePtr(ptemp
,(char *) &wxNullBitmap
,"_wxBitmap_p");
1142 pyobj
= PyString_FromString(ptemp
);
1146 static int _wrap_wxNullIcon_set(PyObject
*val
) {
1148 PyErr_SetString(PyExc_TypeError
,"Variable wxNullIcon is read-only.");
1152 static PyObject
*_wrap_wxNullIcon_get() {
1156 SWIG_MakePtr(ptemp
,(char *) &wxNullIcon
,"_wxIcon_p");
1157 pyobj
= PyString_FromString(ptemp
);
1161 static int _wrap_wxNullCursor_set(PyObject
*val
) {
1163 PyErr_SetString(PyExc_TypeError
,"Variable wxNullCursor is read-only.");
1167 static PyObject
*_wrap_wxNullCursor_get() {
1171 SWIG_MakePtr(ptemp
,(char *) &wxNullCursor
,"_wxCursor_p");
1172 pyobj
= PyString_FromString(ptemp
);
1176 static int _wrap_wxNullPen_set(PyObject
*val
) {
1178 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPen is read-only.");
1182 static PyObject
*_wrap_wxNullPen_get() {
1186 SWIG_MakePtr(ptemp
,(char *) &wxNullPen
,"_wxPen_p");
1187 pyobj
= PyString_FromString(ptemp
);
1191 static int _wrap_wxNullBrush_set(PyObject
*val
) {
1193 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBrush is read-only.");
1197 static PyObject
*_wrap_wxNullBrush_get() {
1201 SWIG_MakePtr(ptemp
,(char *) &wxNullBrush
,"_wxBrush_p");
1202 pyobj
= PyString_FromString(ptemp
);
1206 static int _wrap_wxNullPalette_set(PyObject
*val
) {
1208 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPalette is read-only.");
1212 static PyObject
*_wrap_wxNullPalette_get() {
1216 SWIG_MakePtr(ptemp
,(char *) &wxNullPalette
,"_wxPalette_p");
1217 pyobj
= PyString_FromString(ptemp
);
1221 static int _wrap_wxNullFont_set(PyObject
*val
) {
1223 PyErr_SetString(PyExc_TypeError
,"Variable wxNullFont is read-only.");
1227 static PyObject
*_wrap_wxNullFont_get() {
1231 SWIG_MakePtr(ptemp
,(char *) &wxNullFont
,"_wxFont_p");
1232 pyobj
= PyString_FromString(ptemp
);
1236 static int _wrap_wxNullColour_set(PyObject
*val
) {
1238 PyErr_SetString(PyExc_TypeError
,"Variable wxNullColour is read-only.");
1242 static PyObject
*_wrap_wxNullColour_get() {
1246 SWIG_MakePtr(ptemp
,(char *) &wxNullColour
,"_wxColour_p");
1247 pyobj
= PyString_FromString(ptemp
);
1251 static int _wrap_wxTheFontList_set(PyObject
*val
) {
1253 PyErr_SetString(PyExc_TypeError
,"Variable wxTheFontList is read-only.");
1257 static PyObject
*_wrap_wxTheFontList_get() {
1261 SWIG_MakePtr(ptemp
, (char *) wxTheFontList
,"_wxFontList_p");
1262 pyobj
= PyString_FromString(ptemp
);
1266 static int _wrap_wxThePenList_set(PyObject
*val
) {
1268 PyErr_SetString(PyExc_TypeError
,"Variable wxThePenList is read-only.");
1272 static PyObject
*_wrap_wxThePenList_get() {
1276 SWIG_MakePtr(ptemp
, (char *) wxThePenList
,"_wxPenList_p");
1277 pyobj
= PyString_FromString(ptemp
);
1281 static int _wrap_wxTheBrushList_set(PyObject
*val
) {
1283 PyErr_SetString(PyExc_TypeError
,"Variable wxTheBrushList is read-only.");
1287 static PyObject
*_wrap_wxTheBrushList_get() {
1291 SWIG_MakePtr(ptemp
, (char *) wxTheBrushList
,"_wxBrushList_p");
1292 pyobj
= PyString_FromString(ptemp
);
1296 static int _wrap_wxTheColourDatabase_set(PyObject
*val
) {
1298 PyErr_SetString(PyExc_TypeError
,"Variable wxTheColourDatabase is read-only.");
1302 static PyObject
*_wrap_wxTheColourDatabase_get() {
1306 SWIG_MakePtr(ptemp
, (char *) wxTheColourDatabase
,"_wxColourDatabase_p");
1307 pyobj
= PyString_FromString(ptemp
);
1311 static void *SwigwxGDIObjectTowxObject(void *ptr
) {
1314 src
= (wxGDIObject
*) ptr
;
1315 dest
= (wxObject
*) src
;
1316 return (void *) dest
;
1319 #define new_wxGDIObject() (new wxGDIObject())
1320 static PyObject
*_wrap_new_wxGDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1321 PyObject
* _resultobj
;
1322 wxGDIObject
* _result
;
1323 char *_kwnames
[] = { NULL
};
1327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGDIObject",_kwnames
))
1330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1331 _result
= (wxGDIObject
*)new_wxGDIObject();
1333 wxPyEndAllowThreads(__tstate
);
1334 if (PyErr_Occurred()) return NULL
;
1336 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGDIObject_p");
1337 _resultobj
= Py_BuildValue("s",_ptemp
);
1340 _resultobj
= Py_None
;
1345 #define delete_wxGDIObject(_swigobj) (delete _swigobj)
1346 static PyObject
*_wrap_delete_wxGDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1347 PyObject
* _resultobj
;
1348 wxGDIObject
* _arg0
;
1349 PyObject
* _argo0
= 0;
1350 char *_kwnames
[] = { "self", NULL
};
1353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxGDIObject",_kwnames
,&_argo0
))
1356 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1357 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGDIObject_p")) {
1358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxGDIObject. Expected _wxGDIObject_p.");
1363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1364 delete_wxGDIObject(_arg0
);
1366 wxPyEndAllowThreads(__tstate
);
1367 if (PyErr_Occurred()) return NULL
;
1368 } Py_INCREF(Py_None
);
1369 _resultobj
= Py_None
;
1373 #define wxGDIObject_GetVisible(_swigobj) (_swigobj->GetVisible())
1374 static PyObject
*_wrap_wxGDIObject_GetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1375 PyObject
* _resultobj
;
1377 wxGDIObject
* _arg0
;
1378 PyObject
* _argo0
= 0;
1379 char *_kwnames
[] = { "self", NULL
};
1382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGDIObject_GetVisible",_kwnames
,&_argo0
))
1385 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1386 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGDIObject_p")) {
1387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGDIObject_GetVisible. Expected _wxGDIObject_p.");
1392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1393 _result
= (bool )wxGDIObject_GetVisible(_arg0
);
1395 wxPyEndAllowThreads(__tstate
);
1396 if (PyErr_Occurred()) return NULL
;
1397 } _resultobj
= Py_BuildValue("i",_result
);
1401 #define wxGDIObject_SetVisible(_swigobj,_swigarg0) (_swigobj->SetVisible(_swigarg0))
1402 static PyObject
*_wrap_wxGDIObject_SetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1403 PyObject
* _resultobj
;
1404 wxGDIObject
* _arg0
;
1406 PyObject
* _argo0
= 0;
1408 char *_kwnames
[] = { "self","visible", NULL
};
1411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGDIObject_SetVisible",_kwnames
,&_argo0
,&tempbool1
))
1414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGDIObject_p")) {
1416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGDIObject_SetVisible. Expected _wxGDIObject_p.");
1420 _arg1
= (bool ) tempbool1
;
1422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1423 wxGDIObject_SetVisible(_arg0
,_arg1
);
1425 wxPyEndAllowThreads(__tstate
);
1426 if (PyErr_Occurred()) return NULL
;
1427 } Py_INCREF(Py_None
);
1428 _resultobj
= Py_None
;
1432 #define wxGDIObject_IsNull(_swigobj) (_swigobj->IsNull())
1433 static PyObject
*_wrap_wxGDIObject_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1434 PyObject
* _resultobj
;
1436 wxGDIObject
* _arg0
;
1437 PyObject
* _argo0
= 0;
1438 char *_kwnames
[] = { "self", NULL
};
1441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGDIObject_IsNull",_kwnames
,&_argo0
))
1444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGDIObject_p")) {
1446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGDIObject_IsNull. Expected _wxGDIObject_p.");
1451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1452 _result
= (bool )wxGDIObject_IsNull(_arg0
);
1454 wxPyEndAllowThreads(__tstate
);
1455 if (PyErr_Occurred()) return NULL
;
1456 } _resultobj
= Py_BuildValue("i",_result
);
1460 static void *SwigwxBitmapTowxGDIObject(void *ptr
) {
1463 src
= (wxBitmap
*) ptr
;
1464 dest
= (wxGDIObject
*) src
;
1465 return (void *) dest
;
1468 static void *SwigwxBitmapTowxObject(void *ptr
) {
1471 src
= (wxBitmap
*) ptr
;
1472 dest
= (wxObject
*) src
;
1473 return (void *) dest
;
1476 #define new_wxBitmap(_swigarg0,_swigarg1) (new wxBitmap(_swigarg0,_swigarg1))
1477 static PyObject
*_wrap_new_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1478 PyObject
* _resultobj
;
1481 wxBitmapType _arg1
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
1482 PyObject
* _obj0
= 0;
1483 char *_kwnames
[] = { "name","type", NULL
};
1487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxBitmap",_kwnames
,&_obj0
,&_arg1
))
1490 _arg0
= wxString_in_helper(_obj0
);
1495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1496 _result
= (wxBitmap
*)new_wxBitmap(*_arg0
,_arg1
);
1498 wxPyEndAllowThreads(__tstate
);
1499 if (PyErr_Occurred()) return NULL
;
1501 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1502 _resultobj
= Py_BuildValue("s",_ptemp
);
1505 _resultobj
= Py_None
;
1514 #define delete_wxBitmap(_swigobj) (delete _swigobj)
1515 static PyObject
*_wrap_delete_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1516 PyObject
* _resultobj
;
1518 PyObject
* _argo0
= 0;
1519 char *_kwnames
[] = { "self", NULL
};
1522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBitmap",_kwnames
,&_argo0
))
1525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBitmap. Expected _wxBitmap_p.");
1532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1533 delete_wxBitmap(_arg0
);
1535 wxPyEndAllowThreads(__tstate
);
1536 if (PyErr_Occurred()) return NULL
;
1537 } Py_INCREF(Py_None
);
1538 _resultobj
= Py_None
;
1542 #define wxBitmap_GetPalette(_swigobj) (_swigobj->GetPalette())
1543 static PyObject
*_wrap_wxBitmap_GetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1544 PyObject
* _resultobj
;
1545 wxPalette
* _result
;
1547 PyObject
* _argo0
= 0;
1548 char *_kwnames
[] = { "self", NULL
};
1552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetPalette",_kwnames
,&_argo0
))
1555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetPalette. Expected _wxBitmap_p.");
1562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1563 _result
= (wxPalette
*)wxBitmap_GetPalette(_arg0
);
1565 wxPyEndAllowThreads(__tstate
);
1566 if (PyErr_Occurred()) return NULL
;
1568 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
1569 _resultobj
= Py_BuildValue("s",_ptemp
);
1572 _resultobj
= Py_None
;
1577 #define wxBitmap_GetMask(_swigobj) (_swigobj->GetMask())
1578 static PyObject
*_wrap_wxBitmap_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1579 PyObject
* _resultobj
;
1582 PyObject
* _argo0
= 0;
1583 char *_kwnames
[] = { "self", NULL
};
1587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetMask",_kwnames
,&_argo0
))
1590 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1591 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetMask. Expected _wxBitmap_p.");
1597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1598 _result
= (wxMask
*)wxBitmap_GetMask(_arg0
);
1600 wxPyEndAllowThreads(__tstate
);
1601 if (PyErr_Occurred()) return NULL
;
1603 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
1604 _resultobj
= Py_BuildValue("s",_ptemp
);
1607 _resultobj
= Py_None
;
1612 #define wxBitmap_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1613 static PyObject
*_wrap_wxBitmap_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1614 PyObject
* _resultobj
;
1618 wxBitmapType _arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
1619 PyObject
* _argo0
= 0;
1620 PyObject
* _obj1
= 0;
1621 char *_kwnames
[] = { "self","name","type", NULL
};
1624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxBitmap_LoadFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_LoadFile. Expected _wxBitmap_p.");
1634 _arg1
= wxString_in_helper(_obj1
);
1639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1640 _result
= (bool )wxBitmap_LoadFile(_arg0
,*_arg1
,_arg2
);
1642 wxPyEndAllowThreads(__tstate
);
1643 if (PyErr_Occurred()) return NULL
;
1644 } _resultobj
= Py_BuildValue("i",_result
);
1652 #define wxBitmap_SaveFile(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SaveFile(_swigarg0,_swigarg1,_swigarg2))
1653 static PyObject
*_wrap_wxBitmap_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1654 PyObject
* _resultobj
;
1659 wxPalette
* _arg3
= (wxPalette
*) NULL
;
1660 PyObject
* _argo0
= 0;
1661 PyObject
* _obj1
= 0;
1662 PyObject
* _argo3
= 0;
1663 char *_kwnames
[] = { "self","name","type","palette", NULL
};
1666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|O:wxBitmap_SaveFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_argo3
))
1669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SaveFile. Expected _wxBitmap_p.");
1676 _arg1
= wxString_in_helper(_obj1
);
1681 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1682 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxPalette_p")) {
1683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxBitmap_SaveFile. Expected _wxPalette_p.");
1688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1689 _result
= (bool )wxBitmap_SaveFile(_arg0
,*_arg1
,_arg2
,_arg3
);
1691 wxPyEndAllowThreads(__tstate
);
1692 if (PyErr_Occurred()) return NULL
;
1693 } _resultobj
= Py_BuildValue("i",_result
);
1701 #define wxBitmap_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
1702 static PyObject
*_wrap_wxBitmap_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1703 PyObject
* _resultobj
;
1706 PyObject
* _argo0
= 0;
1707 PyObject
* _argo1
= 0;
1708 char *_kwnames
[] = { "self","mask", NULL
};
1711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_SetMask",_kwnames
,&_argo0
,&_argo1
))
1714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetMask. Expected _wxBitmap_p.");
1721 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1722 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMask_p")) {
1723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_SetMask. Expected _wxMask_p.");
1728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1729 wxBitmap_SetMask(_arg0
,_arg1
);
1731 wxPyEndAllowThreads(__tstate
);
1732 if (PyErr_Occurred()) return NULL
;
1733 } Py_INCREF(Py_None
);
1734 _resultobj
= Py_None
;
1738 #define wxBitmap_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
1739 static PyObject
*_wrap_wxBitmap_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1740 PyObject
* _resultobj
;
1743 PyObject
* _argo0
= 0;
1744 PyObject
* _argo1
= 0;
1745 char *_kwnames
[] = { "self","palette", NULL
};
1748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_SetPalette",_kwnames
,&_argo0
,&_argo1
))
1751 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1752 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetPalette. Expected _wxBitmap_p.");
1758 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1759 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPalette_p")) {
1760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_SetPalette. Expected _wxPalette_p.");
1765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1766 wxBitmap_SetPalette(_arg0
,*_arg1
);
1768 wxPyEndAllowThreads(__tstate
);
1769 if (PyErr_Occurred()) return NULL
;
1770 } Py_INCREF(Py_None
);
1771 _resultobj
= Py_None
;
1775 #define wxBitmap_GetHandle(_swigobj) (_swigobj->GetHandle())
1776 static PyObject
*_wrap_wxBitmap_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1777 PyObject
* _resultobj
;
1780 PyObject
* _argo0
= 0;
1781 char *_kwnames
[] = { "self", NULL
};
1784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetHandle",_kwnames
,&_argo0
))
1787 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1788 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetHandle. Expected _wxBitmap_p.");
1794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1795 _result
= (long )wxBitmap_GetHandle(_arg0
);
1797 wxPyEndAllowThreads(__tstate
);
1798 if (PyErr_Occurred()) return NULL
;
1799 } _resultobj
= Py_BuildValue("l",_result
);
1803 #define wxBitmap_SetHandle(_swigobj,_swigarg0) (_swigobj->SetHandle(_swigarg0))
1804 static PyObject
*_wrap_wxBitmap_SetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1805 PyObject
* _resultobj
;
1808 PyObject
* _argo0
= 0;
1809 char *_kwnames
[] = { "self","handle", NULL
};
1812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxBitmap_SetHandle",_kwnames
,&_argo0
,&_arg1
))
1815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetHandle. Expected _wxBitmap_p.");
1822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1823 wxBitmap_SetHandle(_arg0
,_arg1
);
1825 wxPyEndAllowThreads(__tstate
);
1826 if (PyErr_Occurred()) return NULL
;
1827 } Py_INCREF(Py_None
);
1828 _resultobj
= Py_None
;
1832 #define wxBitmap_Ok(_swigobj) (_swigobj->Ok())
1833 static PyObject
*_wrap_wxBitmap_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1834 PyObject
* _resultobj
;
1837 PyObject
* _argo0
= 0;
1838 char *_kwnames
[] = { "self", NULL
};
1841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_Ok",_kwnames
,&_argo0
))
1844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_Ok. Expected _wxBitmap_p.");
1851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1852 _result
= (bool )wxBitmap_Ok(_arg0
);
1854 wxPyEndAllowThreads(__tstate
);
1855 if (PyErr_Occurred()) return NULL
;
1856 } _resultobj
= Py_BuildValue("i",_result
);
1860 #define wxBitmap_GetWidth(_swigobj) (_swigobj->GetWidth())
1861 static PyObject
*_wrap_wxBitmap_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1862 PyObject
* _resultobj
;
1865 PyObject
* _argo0
= 0;
1866 char *_kwnames
[] = { "self", NULL
};
1869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetWidth",_kwnames
,&_argo0
))
1872 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1873 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetWidth. Expected _wxBitmap_p.");
1879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1880 _result
= (int )wxBitmap_GetWidth(_arg0
);
1882 wxPyEndAllowThreads(__tstate
);
1883 if (PyErr_Occurred()) return NULL
;
1884 } _resultobj
= Py_BuildValue("i",_result
);
1888 #define wxBitmap_GetHeight(_swigobj) (_swigobj->GetHeight())
1889 static PyObject
*_wrap_wxBitmap_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1890 PyObject
* _resultobj
;
1893 PyObject
* _argo0
= 0;
1894 char *_kwnames
[] = { "self", NULL
};
1897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetHeight",_kwnames
,&_argo0
))
1900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetHeight. Expected _wxBitmap_p.");
1907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1908 _result
= (int )wxBitmap_GetHeight(_arg0
);
1910 wxPyEndAllowThreads(__tstate
);
1911 if (PyErr_Occurred()) return NULL
;
1912 } _resultobj
= Py_BuildValue("i",_result
);
1916 #define wxBitmap_GetDepth(_swigobj) (_swigobj->GetDepth())
1917 static PyObject
*_wrap_wxBitmap_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1918 PyObject
* _resultobj
;
1921 PyObject
* _argo0
= 0;
1922 char *_kwnames
[] = { "self", NULL
};
1925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetDepth",_kwnames
,&_argo0
))
1928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetDepth. Expected _wxBitmap_p.");
1935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1936 _result
= (int )wxBitmap_GetDepth(_arg0
);
1938 wxPyEndAllowThreads(__tstate
);
1939 if (PyErr_Occurred()) return NULL
;
1940 } _resultobj
= Py_BuildValue("i",_result
);
1944 #define wxBitmap_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1945 static PyObject
*_wrap_wxBitmap_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1946 PyObject
* _resultobj
;
1949 PyObject
* _argo0
= 0;
1950 char *_kwnames
[] = { "self","w", NULL
};
1953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetWidth",_kwnames
,&_argo0
,&_arg1
))
1956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetWidth. Expected _wxBitmap_p.");
1963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1964 wxBitmap_SetWidth(_arg0
,_arg1
);
1966 wxPyEndAllowThreads(__tstate
);
1967 if (PyErr_Occurred()) return NULL
;
1968 } Py_INCREF(Py_None
);
1969 _resultobj
= Py_None
;
1973 #define wxBitmap_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1974 static PyObject
*_wrap_wxBitmap_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1975 PyObject
* _resultobj
;
1978 PyObject
* _argo0
= 0;
1979 char *_kwnames
[] = { "self","h", NULL
};
1982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetHeight",_kwnames
,&_argo0
,&_arg1
))
1985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetHeight. Expected _wxBitmap_p.");
1992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1993 wxBitmap_SetHeight(_arg0
,_arg1
);
1995 wxPyEndAllowThreads(__tstate
);
1996 if (PyErr_Occurred()) return NULL
;
1997 } Py_INCREF(Py_None
);
1998 _resultobj
= Py_None
;
2002 #define wxBitmap_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
2003 static PyObject
*_wrap_wxBitmap_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2004 PyObject
* _resultobj
;
2007 PyObject
* _argo0
= 0;
2008 char *_kwnames
[] = { "self","d", NULL
};
2011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetDepth",_kwnames
,&_argo0
,&_arg1
))
2014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
2016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetDepth. Expected _wxBitmap_p.");
2021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2022 wxBitmap_SetDepth(_arg0
,_arg1
);
2024 wxPyEndAllowThreads(__tstate
);
2025 if (PyErr_Occurred()) return NULL
;
2026 } Py_INCREF(Py_None
);
2027 _resultobj
= Py_None
;
2031 #define wxBitmap_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2032 static PyObject
*_wrap_wxBitmap_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2033 PyObject
* _resultobj
;
2036 PyObject
* _argo0
= 0;
2038 PyObject
* _obj1
= 0;
2039 char *_kwnames
[] = { "self","size", NULL
};
2042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_SetSize",_kwnames
,&_argo0
,&_obj1
))
2045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
2047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetSize. Expected _wxBitmap_p.");
2053 if (! wxSize_helper(_obj1
, &_arg1
))
2057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2058 wxBitmap_SetSize(_arg0
,*_arg1
);
2060 wxPyEndAllowThreads(__tstate
);
2061 if (PyErr_Occurred()) return NULL
;
2062 } Py_INCREF(Py_None
);
2063 _resultobj
= Py_None
;
2067 #define wxBitmap_GetSubBitmap(_swigobj,_swigarg0) (_swigobj->GetSubBitmap(_swigarg0))
2068 static PyObject
*_wrap_wxBitmap_GetSubBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2069 PyObject
* _resultobj
;
2073 PyObject
* _argo0
= 0;
2075 PyObject
* _obj1
= 0;
2076 char *_kwnames
[] = { "self","rect", NULL
};
2080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_GetSubBitmap",_kwnames
,&_argo0
,&_obj1
))
2083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
2085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetSubBitmap. Expected _wxBitmap_p.");
2091 if (! wxRect_helper(_obj1
, &_arg1
))
2095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2096 _result
= new wxBitmap (wxBitmap_GetSubBitmap(_arg0
,*_arg1
));
2098 wxPyEndAllowThreads(__tstate
);
2099 if (PyErr_Occurred()) return NULL
;
2100 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
2101 _resultobj
= Py_BuildValue("s",_ptemp
);
2105 #define wxBitmap_CopyFromIcon(_swigobj,_swigarg0) (_swigobj->CopyFromIcon(_swigarg0))
2106 static PyObject
*_wrap_wxBitmap_CopyFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2107 PyObject
* _resultobj
;
2111 PyObject
* _argo0
= 0;
2112 PyObject
* _argo1
= 0;
2113 char *_kwnames
[] = { "self","icon", NULL
};
2116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_CopyFromIcon",_kwnames
,&_argo0
,&_argo1
))
2119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
2121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_CopyFromIcon. Expected _wxBitmap_p.");
2126 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2127 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
2128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_CopyFromIcon. Expected _wxIcon_p.");
2133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2134 _result
= (bool )wxBitmap_CopyFromIcon(_arg0
,*_arg1
);
2136 wxPyEndAllowThreads(__tstate
);
2137 if (PyErr_Occurred()) return NULL
;
2138 } _resultobj
= Py_BuildValue("i",_result
);
2142 #define wxBitmap_CopyFromCursor(_swigobj,_swigarg0) (_swigobj->CopyFromCursor(_swigarg0))
2143 static PyObject
*_wrap_wxBitmap_CopyFromCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2144 PyObject
* _resultobj
;
2148 PyObject
* _argo0
= 0;
2149 PyObject
* _argo1
= 0;
2150 char *_kwnames
[] = { "self","cursor", NULL
};
2153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_CopyFromCursor",_kwnames
,&_argo0
,&_argo1
))
2156 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2157 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
2158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_CopyFromCursor. Expected _wxBitmap_p.");
2163 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2164 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
2165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_CopyFromCursor. Expected _wxCursor_p.");
2170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2171 _result
= (bool )wxBitmap_CopyFromCursor(_arg0
,*_arg1
);
2173 wxPyEndAllowThreads(__tstate
);
2174 if (PyErr_Occurred()) return NULL
;
2175 } _resultobj
= Py_BuildValue("i",_result
);
2179 #define wxBitmap_GetQuality(_swigobj) (_swigobj->GetQuality())
2180 static PyObject
*_wrap_wxBitmap_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2181 PyObject
* _resultobj
;
2184 PyObject
* _argo0
= 0;
2185 char *_kwnames
[] = { "self", NULL
};
2188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetQuality",_kwnames
,&_argo0
))
2191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
2193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetQuality. Expected _wxBitmap_p.");
2198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2199 _result
= (int )wxBitmap_GetQuality(_arg0
);
2201 wxPyEndAllowThreads(__tstate
);
2202 if (PyErr_Occurred()) return NULL
;
2203 } _resultobj
= Py_BuildValue("i",_result
);
2207 #define wxBitmap_SetQuality(_swigobj,_swigarg0) (_swigobj->SetQuality(_swigarg0))
2208 static PyObject
*_wrap_wxBitmap_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2209 PyObject
* _resultobj
;
2212 PyObject
* _argo0
= 0;
2213 char *_kwnames
[] = { "self","q", NULL
};
2216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetQuality",_kwnames
,&_argo0
,&_arg1
))
2219 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2220 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
2221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetQuality. Expected _wxBitmap_p.");
2226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2227 wxBitmap_SetQuality(_arg0
,_arg1
);
2229 wxPyEndAllowThreads(__tstate
);
2230 if (PyErr_Occurred()) return NULL
;
2231 } Py_INCREF(Py_None
);
2232 _resultobj
= Py_None
;
2236 static void *SwigwxMaskTowxObject(void *ptr
) {
2239 src
= (wxMask
*) ptr
;
2240 dest
= (wxObject
*) src
;
2241 return (void *) dest
;
2244 #define new_wxMask(_swigarg0) (new wxMask(_swigarg0))
2245 static PyObject
*_wrap_new_wxMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2246 PyObject
* _resultobj
;
2249 PyObject
* _argo0
= 0;
2250 char *_kwnames
[] = { "bitmap", NULL
};
2254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxMask",_kwnames
,&_argo0
))
2257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
2259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMask. Expected _wxBitmap_p.");
2264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2265 _result
= (wxMask
*)new_wxMask(*_arg0
);
2267 wxPyEndAllowThreads(__tstate
);
2268 if (PyErr_Occurred()) return NULL
;
2270 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
2271 _resultobj
= Py_BuildValue("s",_ptemp
);
2274 _resultobj
= Py_None
;
2279 static void wxMask_Destroy(wxMask
*self
) { delete self
; }
2280 static PyObject
*_wrap_wxMask_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2281 PyObject
* _resultobj
;
2283 PyObject
* _argo0
= 0;
2284 char *_kwnames
[] = { "self", NULL
};
2287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMask_Destroy",_kwnames
,&_argo0
))
2290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMask_p")) {
2292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMask_Destroy. Expected _wxMask_p.");
2297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2298 wxMask_Destroy(_arg0
);
2300 wxPyEndAllowThreads(__tstate
);
2301 if (PyErr_Occurred()) return NULL
;
2302 } Py_INCREF(Py_None
);
2303 _resultobj
= Py_None
;
2307 static void *SwigwxIconTowxGDIObject(void *ptr
) {
2310 src
= (wxIcon
*) ptr
;
2311 dest
= (wxGDIObject
*) src
;
2312 return (void *) dest
;
2315 static void *SwigwxIconTowxObject(void *ptr
) {
2318 src
= (wxIcon
*) ptr
;
2319 dest
= (wxObject
*) src
;
2320 return (void *) dest
;
2323 #define new_wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2324 static PyObject
*_wrap_new_wxIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2325 PyObject
* _resultobj
;
2329 int _arg2
= (int ) -1;
2330 int _arg3
= (int ) -1;
2331 PyObject
* _obj0
= 0;
2332 char *_kwnames
[] = { "name","flags","desiredWidth","desiredHeight", NULL
};
2336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:new_wxIcon",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
))
2339 _arg0
= wxString_in_helper(_obj0
);
2344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2345 _result
= (wxIcon
*)new_wxIcon(*_arg0
,_arg1
,_arg2
,_arg3
);
2347 wxPyEndAllowThreads(__tstate
);
2348 if (PyErr_Occurred()) return NULL
;
2350 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
2351 _resultobj
= Py_BuildValue("s",_ptemp
);
2354 _resultobj
= Py_None
;
2363 #define delete_wxIcon(_swigobj) (delete _swigobj)
2364 static PyObject
*_wrap_delete_wxIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2365 PyObject
* _resultobj
;
2367 PyObject
* _argo0
= 0;
2368 char *_kwnames
[] = { "self", NULL
};
2371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxIcon",_kwnames
,&_argo0
))
2374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxIcon. Expected _wxIcon_p.");
2381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2382 delete_wxIcon(_arg0
);
2384 wxPyEndAllowThreads(__tstate
);
2385 if (PyErr_Occurred()) return NULL
;
2386 } Py_INCREF(Py_None
);
2387 _resultobj
= Py_None
;
2391 #define wxIcon_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
2392 static PyObject
*_wrap_wxIcon_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2393 PyObject
* _resultobj
;
2398 PyObject
* _argo0
= 0;
2399 PyObject
* _obj1
= 0;
2400 char *_kwnames
[] = { "self","name","flags", NULL
};
2403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOl:wxIcon_LoadFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
2406 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2407 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_LoadFile. Expected _wxIcon_p.");
2413 _arg1
= wxString_in_helper(_obj1
);
2418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2419 _result
= (bool )wxIcon_LoadFile(_arg0
,*_arg1
,_arg2
);
2421 wxPyEndAllowThreads(__tstate
);
2422 if (PyErr_Occurred()) return NULL
;
2423 } _resultobj
= Py_BuildValue("i",_result
);
2431 #define wxIcon_GetHandle(_swigobj) (_swigobj->GetHandle())
2432 static PyObject
*_wrap_wxIcon_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2433 PyObject
* _resultobj
;
2436 PyObject
* _argo0
= 0;
2437 char *_kwnames
[] = { "self", NULL
};
2440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetHandle",_kwnames
,&_argo0
))
2443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetHandle. Expected _wxIcon_p.");
2450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2451 _result
= (long )wxIcon_GetHandle(_arg0
);
2453 wxPyEndAllowThreads(__tstate
);
2454 if (PyErr_Occurred()) return NULL
;
2455 } _resultobj
= Py_BuildValue("l",_result
);
2459 #define wxIcon_SetHandle(_swigobj,_swigarg0) (_swigobj->SetHandle(_swigarg0))
2460 static PyObject
*_wrap_wxIcon_SetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2461 PyObject
* _resultobj
;
2464 PyObject
* _argo0
= 0;
2465 char *_kwnames
[] = { "self","handle", NULL
};
2468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxIcon_SetHandle",_kwnames
,&_argo0
,&_arg1
))
2471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetHandle. Expected _wxIcon_p.");
2478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2479 wxIcon_SetHandle(_arg0
,_arg1
);
2481 wxPyEndAllowThreads(__tstate
);
2482 if (PyErr_Occurred()) return NULL
;
2483 } Py_INCREF(Py_None
);
2484 _resultobj
= Py_None
;
2488 #define wxIcon_Ok(_swigobj) (_swigobj->Ok())
2489 static PyObject
*_wrap_wxIcon_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2490 PyObject
* _resultobj
;
2493 PyObject
* _argo0
= 0;
2494 char *_kwnames
[] = { "self", NULL
};
2497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_Ok",_kwnames
,&_argo0
))
2500 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2501 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_Ok. Expected _wxIcon_p.");
2507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2508 _result
= (bool )wxIcon_Ok(_arg0
);
2510 wxPyEndAllowThreads(__tstate
);
2511 if (PyErr_Occurred()) return NULL
;
2512 } _resultobj
= Py_BuildValue("i",_result
);
2516 #define wxIcon_GetWidth(_swigobj) (_swigobj->GetWidth())
2517 static PyObject
*_wrap_wxIcon_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2518 PyObject
* _resultobj
;
2521 PyObject
* _argo0
= 0;
2522 char *_kwnames
[] = { "self", NULL
};
2525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetWidth",_kwnames
,&_argo0
))
2528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetWidth. Expected _wxIcon_p.");
2535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2536 _result
= (int )wxIcon_GetWidth(_arg0
);
2538 wxPyEndAllowThreads(__tstate
);
2539 if (PyErr_Occurred()) return NULL
;
2540 } _resultobj
= Py_BuildValue("i",_result
);
2544 #define wxIcon_GetHeight(_swigobj) (_swigobj->GetHeight())
2545 static PyObject
*_wrap_wxIcon_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2546 PyObject
* _resultobj
;
2549 PyObject
* _argo0
= 0;
2550 char *_kwnames
[] = { "self", NULL
};
2553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetHeight",_kwnames
,&_argo0
))
2556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetHeight. Expected _wxIcon_p.");
2563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2564 _result
= (int )wxIcon_GetHeight(_arg0
);
2566 wxPyEndAllowThreads(__tstate
);
2567 if (PyErr_Occurred()) return NULL
;
2568 } _resultobj
= Py_BuildValue("i",_result
);
2572 #define wxIcon_GetDepth(_swigobj) (_swigobj->GetDepth())
2573 static PyObject
*_wrap_wxIcon_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2574 PyObject
* _resultobj
;
2577 PyObject
* _argo0
= 0;
2578 char *_kwnames
[] = { "self", NULL
};
2581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetDepth",_kwnames
,&_argo0
))
2584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetDepth. Expected _wxIcon_p.");
2591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2592 _result
= (int )wxIcon_GetDepth(_arg0
);
2594 wxPyEndAllowThreads(__tstate
);
2595 if (PyErr_Occurred()) return NULL
;
2596 } _resultobj
= Py_BuildValue("i",_result
);
2600 #define wxIcon_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2601 static PyObject
*_wrap_wxIcon_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2602 PyObject
* _resultobj
;
2605 PyObject
* _argo0
= 0;
2606 char *_kwnames
[] = { "self","w", NULL
};
2609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetWidth",_kwnames
,&_argo0
,&_arg1
))
2612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetWidth. Expected _wxIcon_p.");
2619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2620 wxIcon_SetWidth(_arg0
,_arg1
);
2622 wxPyEndAllowThreads(__tstate
);
2623 if (PyErr_Occurred()) return NULL
;
2624 } Py_INCREF(Py_None
);
2625 _resultobj
= Py_None
;
2629 #define wxIcon_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
2630 static PyObject
*_wrap_wxIcon_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2631 PyObject
* _resultobj
;
2634 PyObject
* _argo0
= 0;
2635 char *_kwnames
[] = { "self","h", NULL
};
2638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetHeight",_kwnames
,&_argo0
,&_arg1
))
2641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetHeight. Expected _wxIcon_p.");
2648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2649 wxIcon_SetHeight(_arg0
,_arg1
);
2651 wxPyEndAllowThreads(__tstate
);
2652 if (PyErr_Occurred()) return NULL
;
2653 } Py_INCREF(Py_None
);
2654 _resultobj
= Py_None
;
2658 #define wxIcon_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
2659 static PyObject
*_wrap_wxIcon_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2660 PyObject
* _resultobj
;
2663 PyObject
* _argo0
= 0;
2664 char *_kwnames
[] = { "self","d", NULL
};
2667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetDepth",_kwnames
,&_argo0
,&_arg1
))
2670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetDepth. Expected _wxIcon_p.");
2677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2678 wxIcon_SetDepth(_arg0
,_arg1
);
2680 wxPyEndAllowThreads(__tstate
);
2681 if (PyErr_Occurred()) return NULL
;
2682 } Py_INCREF(Py_None
);
2683 _resultobj
= Py_None
;
2687 #define wxIcon_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2688 static PyObject
*_wrap_wxIcon_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2689 PyObject
* _resultobj
;
2692 PyObject
* _argo0
= 0;
2694 PyObject
* _obj1
= 0;
2695 char *_kwnames
[] = { "self","size", NULL
};
2698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIcon_SetSize",_kwnames
,&_argo0
,&_obj1
))
2701 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2702 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetSize. Expected _wxIcon_p.");
2709 if (! wxSize_helper(_obj1
, &_arg1
))
2713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2714 wxIcon_SetSize(_arg0
,*_arg1
);
2716 wxPyEndAllowThreads(__tstate
);
2717 if (PyErr_Occurred()) return NULL
;
2718 } Py_INCREF(Py_None
);
2719 _resultobj
= Py_None
;
2723 #define wxIcon_CopyFromBitmap(_swigobj,_swigarg0) (_swigobj->CopyFromBitmap(_swigarg0))
2724 static PyObject
*_wrap_wxIcon_CopyFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2725 PyObject
* _resultobj
;
2728 PyObject
* _argo0
= 0;
2729 PyObject
* _argo1
= 0;
2730 char *_kwnames
[] = { "self","bmp", NULL
};
2733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIcon_CopyFromBitmap",_kwnames
,&_argo0
,&_argo1
))
2736 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2737 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_CopyFromBitmap. Expected _wxIcon_p.");
2743 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2744 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
2745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIcon_CopyFromBitmap. Expected _wxBitmap_p.");
2750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2751 wxIcon_CopyFromBitmap(_arg0
,*_arg1
);
2753 wxPyEndAllowThreads(__tstate
);
2754 if (PyErr_Occurred()) return NULL
;
2755 } Py_INCREF(Py_None
);
2756 _resultobj
= Py_None
;
2760 static void *SwigwxCursorTowxGDIObject(void *ptr
) {
2763 src
= (wxCursor
*) ptr
;
2764 dest
= (wxGDIObject
*) src
;
2765 return (void *) dest
;
2768 static void *SwigwxCursorTowxObject(void *ptr
) {
2771 src
= (wxCursor
*) ptr
;
2772 dest
= (wxObject
*) src
;
2773 return (void *) dest
;
2776 #define new_wxCursor(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxCursor(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2777 static PyObject
*_wrap_new_wxCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2778 PyObject
* _resultobj
;
2782 int _arg2
= (int ) 0;
2783 int _arg3
= (int ) 0;
2784 PyObject
* _obj0
= 0;
2785 char *_kwnames
[] = { "cursorName","flags","hotSpotX","hotSpotY", NULL
};
2789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:new_wxCursor",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
))
2792 _arg0
= wxString_in_helper(_obj0
);
2797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2798 _result
= (wxCursor
*)new_wxCursor(*_arg0
,_arg1
,_arg2
,_arg3
);
2800 wxPyEndAllowThreads(__tstate
);
2801 if (PyErr_Occurred()) return NULL
;
2803 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCursor_p");
2804 _resultobj
= Py_BuildValue("s",_ptemp
);
2807 _resultobj
= Py_None
;
2816 #define delete_wxCursor(_swigobj) (delete _swigobj)
2817 static PyObject
*_wrap_delete_wxCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2818 PyObject
* _resultobj
;
2820 PyObject
* _argo0
= 0;
2821 char *_kwnames
[] = { "self", NULL
};
2824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCursor",_kwnames
,&_argo0
))
2827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCursor. Expected _wxCursor_p.");
2834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2835 delete_wxCursor(_arg0
);
2837 wxPyEndAllowThreads(__tstate
);
2838 if (PyErr_Occurred()) return NULL
;
2839 } Py_INCREF(Py_None
);
2840 _resultobj
= Py_None
;
2844 #define wxCursor_GetHandle(_swigobj) (_swigobj->GetHandle())
2845 static PyObject
*_wrap_wxCursor_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2846 PyObject
* _resultobj
;
2849 PyObject
* _argo0
= 0;
2850 char *_kwnames
[] = { "self", NULL
};
2853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCursor_GetHandle",_kwnames
,&_argo0
))
2856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_GetHandle. Expected _wxCursor_p.");
2863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2864 _result
= (long )wxCursor_GetHandle(_arg0
);
2866 wxPyEndAllowThreads(__tstate
);
2867 if (PyErr_Occurred()) return NULL
;
2868 } _resultobj
= Py_BuildValue("l",_result
);
2872 #define wxCursor_SetHandle(_swigobj,_swigarg0) (_swigobj->SetHandle(_swigarg0))
2873 static PyObject
*_wrap_wxCursor_SetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2874 PyObject
* _resultobj
;
2877 PyObject
* _argo0
= 0;
2878 char *_kwnames
[] = { "self","handle", NULL
};
2881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxCursor_SetHandle",_kwnames
,&_argo0
,&_arg1
))
2884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_SetHandle. Expected _wxCursor_p.");
2891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2892 wxCursor_SetHandle(_arg0
,_arg1
);
2894 wxPyEndAllowThreads(__tstate
);
2895 if (PyErr_Occurred()) return NULL
;
2896 } Py_INCREF(Py_None
);
2897 _resultobj
= Py_None
;
2901 #define wxCursor_Ok(_swigobj) (_swigobj->Ok())
2902 static PyObject
*_wrap_wxCursor_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2903 PyObject
* _resultobj
;
2906 PyObject
* _argo0
= 0;
2907 char *_kwnames
[] = { "self", NULL
};
2910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCursor_Ok",_kwnames
,&_argo0
))
2913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_Ok. Expected _wxCursor_p.");
2920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2921 _result
= (bool )wxCursor_Ok(_arg0
);
2923 wxPyEndAllowThreads(__tstate
);
2924 if (PyErr_Occurred()) return NULL
;
2925 } _resultobj
= Py_BuildValue("i",_result
);
2929 #define wxCursor_GetWidth(_swigobj) (_swigobj->GetWidth())
2930 static PyObject
*_wrap_wxCursor_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2931 PyObject
* _resultobj
;
2934 PyObject
* _argo0
= 0;
2935 char *_kwnames
[] = { "self", NULL
};
2938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCursor_GetWidth",_kwnames
,&_argo0
))
2941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_GetWidth. Expected _wxCursor_p.");
2948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2949 _result
= (int )wxCursor_GetWidth(_arg0
);
2951 wxPyEndAllowThreads(__tstate
);
2952 if (PyErr_Occurred()) return NULL
;
2953 } _resultobj
= Py_BuildValue("i",_result
);
2957 #define wxCursor_GetHeight(_swigobj) (_swigobj->GetHeight())
2958 static PyObject
*_wrap_wxCursor_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2959 PyObject
* _resultobj
;
2962 PyObject
* _argo0
= 0;
2963 char *_kwnames
[] = { "self", NULL
};
2966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCursor_GetHeight",_kwnames
,&_argo0
))
2969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_GetHeight. Expected _wxCursor_p.");
2976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2977 _result
= (int )wxCursor_GetHeight(_arg0
);
2979 wxPyEndAllowThreads(__tstate
);
2980 if (PyErr_Occurred()) return NULL
;
2981 } _resultobj
= Py_BuildValue("i",_result
);
2985 #define wxCursor_GetDepth(_swigobj) (_swigobj->GetDepth())
2986 static PyObject
*_wrap_wxCursor_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2987 PyObject
* _resultobj
;
2990 PyObject
* _argo0
= 0;
2991 char *_kwnames
[] = { "self", NULL
};
2994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCursor_GetDepth",_kwnames
,&_argo0
))
2997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_GetDepth. Expected _wxCursor_p.");
3004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3005 _result
= (int )wxCursor_GetDepth(_arg0
);
3007 wxPyEndAllowThreads(__tstate
);
3008 if (PyErr_Occurred()) return NULL
;
3009 } _resultobj
= Py_BuildValue("i",_result
);
3013 #define wxCursor_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
3014 static PyObject
*_wrap_wxCursor_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3015 PyObject
* _resultobj
;
3018 PyObject
* _argo0
= 0;
3019 char *_kwnames
[] = { "self","w", NULL
};
3022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCursor_SetWidth",_kwnames
,&_argo0
,&_arg1
))
3025 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3026 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_SetWidth. Expected _wxCursor_p.");
3032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3033 wxCursor_SetWidth(_arg0
,_arg1
);
3035 wxPyEndAllowThreads(__tstate
);
3036 if (PyErr_Occurred()) return NULL
;
3037 } Py_INCREF(Py_None
);
3038 _resultobj
= Py_None
;
3042 #define wxCursor_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
3043 static PyObject
*_wrap_wxCursor_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3044 PyObject
* _resultobj
;
3047 PyObject
* _argo0
= 0;
3048 char *_kwnames
[] = { "self","h", NULL
};
3051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCursor_SetHeight",_kwnames
,&_argo0
,&_arg1
))
3054 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3055 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_SetHeight. Expected _wxCursor_p.");
3061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3062 wxCursor_SetHeight(_arg0
,_arg1
);
3064 wxPyEndAllowThreads(__tstate
);
3065 if (PyErr_Occurred()) return NULL
;
3066 } Py_INCREF(Py_None
);
3067 _resultobj
= Py_None
;
3071 #define wxCursor_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
3072 static PyObject
*_wrap_wxCursor_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3073 PyObject
* _resultobj
;
3076 PyObject
* _argo0
= 0;
3077 char *_kwnames
[] = { "self","d", NULL
};
3080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCursor_SetDepth",_kwnames
,&_argo0
,&_arg1
))
3083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_SetDepth. Expected _wxCursor_p.");
3090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3091 wxCursor_SetDepth(_arg0
,_arg1
);
3093 wxPyEndAllowThreads(__tstate
);
3094 if (PyErr_Occurred()) return NULL
;
3095 } Py_INCREF(Py_None
);
3096 _resultobj
= Py_None
;
3100 #define wxCursor_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
3101 static PyObject
*_wrap_wxCursor_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3102 PyObject
* _resultobj
;
3105 PyObject
* _argo0
= 0;
3107 PyObject
* _obj1
= 0;
3108 char *_kwnames
[] = { "self","size", NULL
};
3111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCursor_SetSize",_kwnames
,&_argo0
,&_obj1
))
3114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_SetSize. Expected _wxCursor_p.");
3122 if (! wxSize_helper(_obj1
, &_arg1
))
3126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3127 wxCursor_SetSize(_arg0
,*_arg1
);
3129 wxPyEndAllowThreads(__tstate
);
3130 if (PyErr_Occurred()) return NULL
;
3131 } Py_INCREF(Py_None
);
3132 _resultobj
= Py_None
;
3136 #define new_wxNativeFontInfo() (new wxNativeFontInfo())
3137 static PyObject
*_wrap_new_wxNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3138 PyObject
* _resultobj
;
3139 wxNativeFontInfo
* _result
;
3140 char *_kwnames
[] = { NULL
};
3144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxNativeFontInfo",_kwnames
))
3147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3148 _result
= (wxNativeFontInfo
*)new_wxNativeFontInfo();
3150 wxPyEndAllowThreads(__tstate
);
3151 if (PyErr_Occurred()) return NULL
;
3153 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNativeFontInfo_p");
3154 _resultobj
= Py_BuildValue("s",_ptemp
);
3157 _resultobj
= Py_None
;
3162 #define wxNativeFontInfo_Init(_swigobj) (_swigobj->Init())
3163 static PyObject
*_wrap_wxNativeFontInfo_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3164 PyObject
* _resultobj
;
3165 wxNativeFontInfo
* _arg0
;
3166 PyObject
* _argo0
= 0;
3167 char *_kwnames
[] = { "self", NULL
};
3170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_Init",_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_Init. Expected _wxNativeFontInfo_p.");
3180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3181 wxNativeFontInfo_Init(_arg0
);
3183 wxPyEndAllowThreads(__tstate
);
3184 if (PyErr_Occurred()) return NULL
;
3185 } Py_INCREF(Py_None
);
3186 _resultobj
= Py_None
;
3190 #define wxNativeFontInfo_GetPointSize(_swigobj) (_swigobj->GetPointSize())
3191 static PyObject
*_wrap_wxNativeFontInfo_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3192 PyObject
* _resultobj
;
3194 wxNativeFontInfo
* _arg0
;
3195 PyObject
* _argo0
= 0;
3196 char *_kwnames
[] = { "self", NULL
};
3199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetPointSize",_kwnames
,&_argo0
))
3202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetPointSize. Expected _wxNativeFontInfo_p.");
3209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3210 _result
= (int )wxNativeFontInfo_GetPointSize(_arg0
);
3212 wxPyEndAllowThreads(__tstate
);
3213 if (PyErr_Occurred()) return NULL
;
3214 } _resultobj
= Py_BuildValue("i",_result
);
3218 #define wxNativeFontInfo_GetStyle(_swigobj) (_swigobj->GetStyle())
3219 static PyObject
*_wrap_wxNativeFontInfo_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3220 PyObject
* _resultobj
;
3221 wxFontStyle _result
;
3222 wxNativeFontInfo
* _arg0
;
3223 PyObject
* _argo0
= 0;
3224 char *_kwnames
[] = { "self", NULL
};
3227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetStyle",_kwnames
,&_argo0
))
3230 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3231 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetStyle. Expected _wxNativeFontInfo_p.");
3237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3238 _result
= (wxFontStyle
)wxNativeFontInfo_GetStyle(_arg0
);
3240 wxPyEndAllowThreads(__tstate
);
3241 if (PyErr_Occurred()) return NULL
;
3242 } _resultobj
= Py_BuildValue("i",_result
);
3246 #define wxNativeFontInfo_GetWeight(_swigobj) (_swigobj->GetWeight())
3247 static PyObject
*_wrap_wxNativeFontInfo_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3248 PyObject
* _resultobj
;
3249 wxFontWeight _result
;
3250 wxNativeFontInfo
* _arg0
;
3251 PyObject
* _argo0
= 0;
3252 char *_kwnames
[] = { "self", NULL
};
3255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetWeight",_kwnames
,&_argo0
))
3258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetWeight. Expected _wxNativeFontInfo_p.");
3265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3266 _result
= (wxFontWeight
)wxNativeFontInfo_GetWeight(_arg0
);
3268 wxPyEndAllowThreads(__tstate
);
3269 if (PyErr_Occurred()) return NULL
;
3270 } _resultobj
= Py_BuildValue("i",_result
);
3274 #define wxNativeFontInfo_GetUnderlined(_swigobj) (_swigobj->GetUnderlined())
3275 static PyObject
*_wrap_wxNativeFontInfo_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3276 PyObject
* _resultobj
;
3278 wxNativeFontInfo
* _arg0
;
3279 PyObject
* _argo0
= 0;
3280 char *_kwnames
[] = { "self", NULL
};
3283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetUnderlined",_kwnames
,&_argo0
))
3286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetUnderlined. Expected _wxNativeFontInfo_p.");
3293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3294 _result
= (bool )wxNativeFontInfo_GetUnderlined(_arg0
);
3296 wxPyEndAllowThreads(__tstate
);
3297 if (PyErr_Occurred()) return NULL
;
3298 } _resultobj
= Py_BuildValue("i",_result
);
3302 #define wxNativeFontInfo_GetFaceName(_swigobj) (_swigobj->GetFaceName())
3303 static PyObject
*_wrap_wxNativeFontInfo_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3304 PyObject
* _resultobj
;
3306 wxNativeFontInfo
* _arg0
;
3307 PyObject
* _argo0
= 0;
3308 char *_kwnames
[] = { "self", NULL
};
3311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetFaceName",_kwnames
,&_argo0
))
3314 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3315 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetFaceName. Expected _wxNativeFontInfo_p.");
3321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3322 _result
= new wxString (wxNativeFontInfo_GetFaceName(_arg0
));
3324 wxPyEndAllowThreads(__tstate
);
3325 if (PyErr_Occurred()) return NULL
;
3328 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3330 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3339 #define wxNativeFontInfo_GetFamily(_swigobj) (_swigobj->GetFamily())
3340 static PyObject
*_wrap_wxNativeFontInfo_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3341 PyObject
* _resultobj
;
3342 wxFontFamily _result
;
3343 wxNativeFontInfo
* _arg0
;
3344 PyObject
* _argo0
= 0;
3345 char *_kwnames
[] = { "self", NULL
};
3348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetFamily",_kwnames
,&_argo0
))
3351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetFamily. Expected _wxNativeFontInfo_p.");
3358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3359 _result
= (wxFontFamily
)wxNativeFontInfo_GetFamily(_arg0
);
3361 wxPyEndAllowThreads(__tstate
);
3362 if (PyErr_Occurred()) return NULL
;
3363 } _resultobj
= Py_BuildValue("i",_result
);
3367 #define wxNativeFontInfo_GetEncoding(_swigobj) (_swigobj->GetEncoding())
3368 static PyObject
*_wrap_wxNativeFontInfo_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3369 PyObject
* _resultobj
;
3370 wxFontEncoding _result
;
3371 wxNativeFontInfo
* _arg0
;
3372 PyObject
* _argo0
= 0;
3373 char *_kwnames
[] = { "self", NULL
};
3376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetEncoding",_kwnames
,&_argo0
))
3379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetEncoding. Expected _wxNativeFontInfo_p.");
3386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3387 _result
= (wxFontEncoding
)wxNativeFontInfo_GetEncoding(_arg0
);
3389 wxPyEndAllowThreads(__tstate
);
3390 if (PyErr_Occurred()) return NULL
;
3391 } _resultobj
= Py_BuildValue("i",_result
);
3395 #define wxNativeFontInfo_SetPointSize(_swigobj,_swigarg0) (_swigobj->SetPointSize(_swigarg0))
3396 static PyObject
*_wrap_wxNativeFontInfo_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3397 PyObject
* _resultobj
;
3398 wxNativeFontInfo
* _arg0
;
3400 PyObject
* _argo0
= 0;
3401 char *_kwnames
[] = { "self","pointsize", NULL
};
3404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNativeFontInfo_SetPointSize",_kwnames
,&_argo0
,&_arg1
))
3407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetPointSize. Expected _wxNativeFontInfo_p.");
3414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3415 wxNativeFontInfo_SetPointSize(_arg0
,_arg1
);
3417 wxPyEndAllowThreads(__tstate
);
3418 if (PyErr_Occurred()) return NULL
;
3419 } Py_INCREF(Py_None
);
3420 _resultobj
= Py_None
;
3424 #define wxNativeFontInfo_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
3425 static PyObject
*_wrap_wxNativeFontInfo_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3426 PyObject
* _resultobj
;
3427 wxNativeFontInfo
* _arg0
;
3429 PyObject
* _argo0
= 0;
3430 char *_kwnames
[] = { "self","style", NULL
};
3433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNativeFontInfo_SetStyle",_kwnames
,&_argo0
,&_arg1
))
3436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetStyle. Expected _wxNativeFontInfo_p.");
3443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3444 wxNativeFontInfo_SetStyle(_arg0
,_arg1
);
3446 wxPyEndAllowThreads(__tstate
);
3447 if (PyErr_Occurred()) return NULL
;
3448 } Py_INCREF(Py_None
);
3449 _resultobj
= Py_None
;
3453 #define wxNativeFontInfo_SetWeight(_swigobj,_swigarg0) (_swigobj->SetWeight(_swigarg0))
3454 static PyObject
*_wrap_wxNativeFontInfo_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3455 PyObject
* _resultobj
;
3456 wxNativeFontInfo
* _arg0
;
3458 PyObject
* _argo0
= 0;
3459 char *_kwnames
[] = { "self","weight", NULL
};
3462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNativeFontInfo_SetWeight",_kwnames
,&_argo0
,&_arg1
))
3465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetWeight. Expected _wxNativeFontInfo_p.");
3472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3473 wxNativeFontInfo_SetWeight(_arg0
,_arg1
);
3475 wxPyEndAllowThreads(__tstate
);
3476 if (PyErr_Occurred()) return NULL
;
3477 } Py_INCREF(Py_None
);
3478 _resultobj
= Py_None
;
3482 #define wxNativeFontInfo_SetUnderlined(_swigobj,_swigarg0) (_swigobj->SetUnderlined(_swigarg0))
3483 static PyObject
*_wrap_wxNativeFontInfo_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3484 PyObject
* _resultobj
;
3485 wxNativeFontInfo
* _arg0
;
3487 PyObject
* _argo0
= 0;
3489 char *_kwnames
[] = { "self","underlined", NULL
};
3492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNativeFontInfo_SetUnderlined",_kwnames
,&_argo0
,&tempbool1
))
3495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetUnderlined. Expected _wxNativeFontInfo_p.");
3501 _arg1
= (bool ) tempbool1
;
3503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3504 wxNativeFontInfo_SetUnderlined(_arg0
,_arg1
);
3506 wxPyEndAllowThreads(__tstate
);
3507 if (PyErr_Occurred()) return NULL
;
3508 } Py_INCREF(Py_None
);
3509 _resultobj
= Py_None
;
3513 #define wxNativeFontInfo_SetFaceName(_swigobj,_swigarg0) (_swigobj->SetFaceName(_swigarg0))
3514 static PyObject
*_wrap_wxNativeFontInfo_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3515 PyObject
* _resultobj
;
3516 wxNativeFontInfo
* _arg0
;
3518 PyObject
* _argo0
= 0;
3519 PyObject
* _obj1
= 0;
3520 char *_kwnames
[] = { "self","facename", NULL
};
3523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNativeFontInfo_SetFaceName",_kwnames
,&_argo0
,&_obj1
))
3526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetFaceName. Expected _wxNativeFontInfo_p.");
3533 _arg1
= wxString_in_helper(_obj1
);
3538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3539 wxNativeFontInfo_SetFaceName(_arg0
,*_arg1
);
3541 wxPyEndAllowThreads(__tstate
);
3542 if (PyErr_Occurred()) return NULL
;
3543 } Py_INCREF(Py_None
);
3544 _resultobj
= Py_None
;
3552 #define wxNativeFontInfo_SetFamily(_swigobj,_swigarg0) (_swigobj->SetFamily(_swigarg0))
3553 static PyObject
*_wrap_wxNativeFontInfo_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3554 PyObject
* _resultobj
;
3555 wxNativeFontInfo
* _arg0
;
3557 PyObject
* _argo0
= 0;
3558 char *_kwnames
[] = { "self","family", NULL
};
3561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNativeFontInfo_SetFamily",_kwnames
,&_argo0
,&_arg1
))
3564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetFamily. Expected _wxNativeFontInfo_p.");
3571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3572 wxNativeFontInfo_SetFamily(_arg0
,_arg1
);
3574 wxPyEndAllowThreads(__tstate
);
3575 if (PyErr_Occurred()) return NULL
;
3576 } Py_INCREF(Py_None
);
3577 _resultobj
= Py_None
;
3581 #define wxNativeFontInfo_SetEncoding(_swigobj,_swigarg0) (_swigobj->SetEncoding(_swigarg0))
3582 static PyObject
*_wrap_wxNativeFontInfo_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3583 PyObject
* _resultobj
;
3584 wxNativeFontInfo
* _arg0
;
3585 wxFontEncoding _arg1
;
3586 PyObject
* _argo0
= 0;
3587 char *_kwnames
[] = { "self","encoding", NULL
};
3590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNativeFontInfo_SetEncoding",_kwnames
,&_argo0
,&_arg1
))
3593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetEncoding. Expected _wxNativeFontInfo_p.");
3600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3601 wxNativeFontInfo_SetEncoding(_arg0
,_arg1
);
3603 wxPyEndAllowThreads(__tstate
);
3604 if (PyErr_Occurred()) return NULL
;
3605 } Py_INCREF(Py_None
);
3606 _resultobj
= Py_None
;
3610 #define wxNativeFontInfo_FromString(_swigobj,_swigarg0) (_swigobj->FromString(_swigarg0))
3611 static PyObject
*_wrap_wxNativeFontInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3612 PyObject
* _resultobj
;
3614 wxNativeFontInfo
* _arg0
;
3616 PyObject
* _argo0
= 0;
3617 PyObject
* _obj1
= 0;
3618 char *_kwnames
[] = { "self","s", NULL
};
3621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNativeFontInfo_FromString",_kwnames
,&_argo0
,&_obj1
))
3624 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3625 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_FromString. Expected _wxNativeFontInfo_p.");
3631 _arg1
= wxString_in_helper(_obj1
);
3636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3637 _result
= (bool )wxNativeFontInfo_FromString(_arg0
,*_arg1
);
3639 wxPyEndAllowThreads(__tstate
);
3640 if (PyErr_Occurred()) return NULL
;
3641 } _resultobj
= Py_BuildValue("i",_result
);
3649 #define wxNativeFontInfo_ToString(_swigobj) (_swigobj->ToString())
3650 static PyObject
*_wrap_wxNativeFontInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3651 PyObject
* _resultobj
;
3653 wxNativeFontInfo
* _arg0
;
3654 PyObject
* _argo0
= 0;
3655 char *_kwnames
[] = { "self", NULL
};
3658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_ToString",_kwnames
,&_argo0
))
3661 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3662 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_ToString. Expected _wxNativeFontInfo_p.");
3668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3669 _result
= new wxString (wxNativeFontInfo_ToString(_arg0
));
3671 wxPyEndAllowThreads(__tstate
);
3672 if (PyErr_Occurred()) return NULL
;
3675 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3677 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3686 static wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
) {
3687 return self
->ToString();
3689 static PyObject
*_wrap_wxNativeFontInfo___str__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3690 PyObject
* _resultobj
;
3692 wxNativeFontInfo
* _arg0
;
3693 PyObject
* _argo0
= 0;
3694 char *_kwnames
[] = { "self", NULL
};
3697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo___str__",_kwnames
,&_argo0
))
3700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo___str__. Expected _wxNativeFontInfo_p.");
3707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3708 _result
= new wxString (wxNativeFontInfo___str__(_arg0
));
3710 wxPyEndAllowThreads(__tstate
);
3711 if (PyErr_Occurred()) return NULL
;
3714 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3716 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3725 #define wxNativeFontInfo_FromUserString(_swigobj,_swigarg0) (_swigobj->FromUserString(_swigarg0))
3726 static PyObject
*_wrap_wxNativeFontInfo_FromUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3727 PyObject
* _resultobj
;
3729 wxNativeFontInfo
* _arg0
;
3731 PyObject
* _argo0
= 0;
3732 PyObject
* _obj1
= 0;
3733 char *_kwnames
[] = { "self","s", NULL
};
3736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNativeFontInfo_FromUserString",_kwnames
,&_argo0
,&_obj1
))
3739 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3740 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_FromUserString. Expected _wxNativeFontInfo_p.");
3746 _arg1
= wxString_in_helper(_obj1
);
3751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3752 _result
= (bool )wxNativeFontInfo_FromUserString(_arg0
,*_arg1
);
3754 wxPyEndAllowThreads(__tstate
);
3755 if (PyErr_Occurred()) return NULL
;
3756 } _resultobj
= Py_BuildValue("i",_result
);
3764 #define wxNativeFontInfo_ToUserString(_swigobj) (_swigobj->ToUserString())
3765 static PyObject
*_wrap_wxNativeFontInfo_ToUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3766 PyObject
* _resultobj
;
3768 wxNativeFontInfo
* _arg0
;
3769 PyObject
* _argo0
= 0;
3770 char *_kwnames
[] = { "self", NULL
};
3773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_ToUserString",_kwnames
,&_argo0
))
3776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_ToUserString. Expected _wxNativeFontInfo_p.");
3783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3784 _result
= new wxString (wxNativeFontInfo_ToUserString(_arg0
));
3786 wxPyEndAllowThreads(__tstate
);
3787 if (PyErr_Occurred()) return NULL
;
3790 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3792 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3801 #define new_wxFontMapper() (new wxFontMapper())
3802 static PyObject
*_wrap_new_wxFontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3803 PyObject
* _resultobj
;
3804 wxFontMapper
* _result
;
3805 char *_kwnames
[] = { NULL
};
3809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFontMapper",_kwnames
))
3812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3813 _result
= (wxFontMapper
*)new_wxFontMapper();
3815 wxPyEndAllowThreads(__tstate
);
3816 if (PyErr_Occurred()) return NULL
;
3818 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFontMapper_p");
3819 _resultobj
= Py_BuildValue("s",_ptemp
);
3822 _resultobj
= Py_None
;
3827 #define delete_wxFontMapper(_swigobj) (delete _swigobj)
3828 static PyObject
*_wrap_delete_wxFontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3829 PyObject
* _resultobj
;
3830 wxFontMapper
* _arg0
;
3831 PyObject
* _argo0
= 0;
3832 char *_kwnames
[] = { "self", NULL
};
3835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFontMapper",_kwnames
,&_argo0
))
3838 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3839 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
3840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontMapper. Expected _wxFontMapper_p.");
3845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3846 delete_wxFontMapper(_arg0
);
3848 wxPyEndAllowThreads(__tstate
);
3849 if (PyErr_Occurred()) return NULL
;
3850 } Py_INCREF(Py_None
);
3851 _resultobj
= Py_None
;
3855 static PyObject
* wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,const wxString
& facename
,bool interactive
) {
3856 wxFontEncoding alt_enc
;
3857 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3858 return PyInt_FromLong(alt_enc
);
3864 static PyObject
*_wrap_wxFontMapper_GetAltForEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3865 PyObject
* _resultobj
;
3867 wxFontMapper
* _arg0
;
3868 wxFontEncoding _arg1
;
3869 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
3870 bool _arg3
= (bool ) TRUE
;
3871 PyObject
* _argo0
= 0;
3872 PyObject
* _obj2
= 0;
3873 int tempbool3
= (int) TRUE
;
3874 char *_kwnames
[] = { "self","encoding","facename","interactive", NULL
};
3877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|Oi:wxFontMapper_GetAltForEncoding",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&tempbool3
))
3880 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3881 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
3882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_GetAltForEncoding. Expected _wxFontMapper_p.");
3888 _arg2
= wxString_in_helper(_obj2
);
3892 _arg3
= (bool ) tempbool3
;
3894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3895 _result
= (PyObject
*)wxFontMapper_GetAltForEncoding(_arg0
,_arg1
,*_arg2
,_arg3
);
3897 wxPyEndAllowThreads(__tstate
);
3898 if (PyErr_Occurred()) return NULL
;
3900 _resultobj
= _result
;
3909 #define wxFontMapper_IsEncodingAvailable(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEncodingAvailable(_swigarg0,_swigarg1))
3910 static PyObject
*_wrap_wxFontMapper_IsEncodingAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3911 PyObject
* _resultobj
;
3913 wxFontMapper
* _arg0
;
3914 wxFontEncoding _arg1
;
3915 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
3916 PyObject
* _argo0
= 0;
3917 PyObject
* _obj2
= 0;
3918 char *_kwnames
[] = { "self","encoding","facename", NULL
};
3921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|O:wxFontMapper_IsEncodingAvailable",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
3926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_IsEncodingAvailable. Expected _wxFontMapper_p.");
3932 _arg2
= wxString_in_helper(_obj2
);
3937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3938 _result
= (bool )wxFontMapper_IsEncodingAvailable(_arg0
,_arg1
,*_arg2
);
3940 wxPyEndAllowThreads(__tstate
);
3941 if (PyErr_Occurred()) return NULL
;
3942 } _resultobj
= Py_BuildValue("i",_result
);
3950 #define wxFontMapper_CharsetToEncoding(_swigobj,_swigarg0,_swigarg1) (_swigobj->CharsetToEncoding(_swigarg0,_swigarg1))
3951 static PyObject
*_wrap_wxFontMapper_CharsetToEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3952 PyObject
* _resultobj
;
3953 wxFontEncoding _result
;
3954 wxFontMapper
* _arg0
;
3956 bool _arg2
= (bool ) TRUE
;
3957 PyObject
* _argo0
= 0;
3958 PyObject
* _obj1
= 0;
3959 int tempbool2
= (int) TRUE
;
3960 char *_kwnames
[] = { "self","charset","interactive", NULL
};
3963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFontMapper_CharsetToEncoding",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
3966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
3968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_CharsetToEncoding. Expected _wxFontMapper_p.");
3973 _arg1
= wxString_in_helper(_obj1
);
3977 _arg2
= (bool ) tempbool2
;
3979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3980 _result
= (wxFontEncoding
)wxFontMapper_CharsetToEncoding(_arg0
,*_arg1
,_arg2
);
3982 wxPyEndAllowThreads(__tstate
);
3983 if (PyErr_Occurred()) return NULL
;
3984 } _resultobj
= Py_BuildValue("i",_result
);
3992 static PyObject
*_wrap_wxFontMapper_GetEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3993 PyObject
* _resultobj
;
3995 wxFontEncoding _arg0
;
3996 char *_kwnames
[] = { "encoding", NULL
};
3999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxFontMapper_GetEncodingName",_kwnames
,&_arg0
))
4002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4003 _result
= new wxString (wxFontMapper::GetEncodingName(_arg0
));
4005 wxPyEndAllowThreads(__tstate
);
4006 if (PyErr_Occurred()) return NULL
;
4009 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4011 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4020 static PyObject
*_wrap_wxFontMapper_GetEncodingDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4021 PyObject
* _resultobj
;
4023 wxFontEncoding _arg0
;
4024 char *_kwnames
[] = { "encoding", NULL
};
4027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxFontMapper_GetEncodingDescription",_kwnames
,&_arg0
))
4030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4031 _result
= new wxString (wxFontMapper::GetEncodingDescription(_arg0
));
4033 wxPyEndAllowThreads(__tstate
);
4034 if (PyErr_Occurred()) return NULL
;
4037 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4039 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4048 #define wxFontMapper_SetDialogParent(_swigobj,_swigarg0) (_swigobj->SetDialogParent(_swigarg0))
4049 static PyObject
*_wrap_wxFontMapper_SetDialogParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4050 PyObject
* _resultobj
;
4051 wxFontMapper
* _arg0
;
4053 PyObject
* _argo0
= 0;
4054 PyObject
* _argo1
= 0;
4055 char *_kwnames
[] = { "self","parent", NULL
};
4058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontMapper_SetDialogParent",_kwnames
,&_argo0
,&_argo1
))
4061 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4062 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
4063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_SetDialogParent. Expected _wxFontMapper_p.");
4068 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4069 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontMapper_SetDialogParent. Expected _wxWindow_p.");
4075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4076 wxFontMapper_SetDialogParent(_arg0
,_arg1
);
4078 wxPyEndAllowThreads(__tstate
);
4079 if (PyErr_Occurred()) return NULL
;
4080 } Py_INCREF(Py_None
);
4081 _resultobj
= Py_None
;
4085 #define wxFontMapper_SetDialogTitle(_swigobj,_swigarg0) (_swigobj->SetDialogTitle(_swigarg0))
4086 static PyObject
*_wrap_wxFontMapper_SetDialogTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4087 PyObject
* _resultobj
;
4088 wxFontMapper
* _arg0
;
4090 PyObject
* _argo0
= 0;
4091 PyObject
* _obj1
= 0;
4092 char *_kwnames
[] = { "self","title", NULL
};
4095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontMapper_SetDialogTitle",_kwnames
,&_argo0
,&_obj1
))
4098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
4100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_SetDialogTitle. Expected _wxFontMapper_p.");
4105 _arg1
= wxString_in_helper(_obj1
);
4110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4111 wxFontMapper_SetDialogTitle(_arg0
,*_arg1
);
4113 wxPyEndAllowThreads(__tstate
);
4114 if (PyErr_Occurred()) return NULL
;
4115 } Py_INCREF(Py_None
);
4116 _resultobj
= Py_None
;
4124 #define wxFontMapper_SetConfig(_swigobj,_swigarg0) (_swigobj->SetConfig(_swigarg0))
4125 static PyObject
*_wrap_wxFontMapper_SetConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4126 PyObject
* _resultobj
;
4127 wxFontMapper
* _arg0
;
4128 wxConfigBase
* _arg1
;
4129 PyObject
* _argo0
= 0;
4130 PyObject
* _argo1
= 0;
4131 char *_kwnames
[] = { "self","config", NULL
};
4134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontMapper_SetConfig",_kwnames
,&_argo0
,&_argo1
))
4137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
4139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_SetConfig. Expected _wxFontMapper_p.");
4144 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4145 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
4146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontMapper_SetConfig. Expected _wxConfigBase_p.");
4151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4152 wxFontMapper_SetConfig(_arg0
,_arg1
);
4154 wxPyEndAllowThreads(__tstate
);
4155 if (PyErr_Occurred()) return NULL
;
4156 } Py_INCREF(Py_None
);
4157 _resultobj
= Py_None
;
4161 #define wxFontMapper_SetConfigPath(_swigobj,_swigarg0) (_swigobj->SetConfigPath(_swigarg0))
4162 static PyObject
*_wrap_wxFontMapper_SetConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4163 PyObject
* _resultobj
;
4164 wxFontMapper
* _arg0
;
4166 PyObject
* _argo0
= 0;
4167 PyObject
* _obj1
= 0;
4168 char *_kwnames
[] = { "self","prefix", NULL
};
4171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontMapper_SetConfigPath",_kwnames
,&_argo0
,&_obj1
))
4174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
4176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_SetConfigPath. Expected _wxFontMapper_p.");
4181 _arg1
= wxString_in_helper(_obj1
);
4186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4187 wxFontMapper_SetConfigPath(_arg0
,*_arg1
);
4189 wxPyEndAllowThreads(__tstate
);
4190 if (PyErr_Occurred()) return NULL
;
4191 } Py_INCREF(Py_None
);
4192 _resultobj
= Py_None
;
4200 static PyObject
*_wrap_wxFontMapper_GetDefaultConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4201 PyObject
* _resultobj
;
4203 char *_kwnames
[] = { NULL
};
4206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFontMapper_GetDefaultConfigPath",_kwnames
))
4209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4210 _result
= (wxChar
*)wxFontMapper::GetDefaultConfigPath();
4212 wxPyEndAllowThreads(__tstate
);
4213 if (PyErr_Occurred()) return NULL
;
4214 } _resultobj
= Py_BuildValue("s", _result
);
4218 static void *SwigwxFontTowxGDIObject(void *ptr
) {
4221 src
= (wxFont
*) ptr
;
4222 dest
= (wxGDIObject
*) src
;
4223 return (void *) dest
;
4226 static void *SwigwxFontTowxObject(void *ptr
) {
4229 src
= (wxFont
*) ptr
;
4230 dest
= (wxObject
*) src
;
4231 return (void *) dest
;
4234 #define new_wxFont(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFont(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4235 static PyObject
*_wrap_new_wxFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4236 PyObject
* _resultobj
;
4242 int _arg4
= (int ) FALSE
;
4243 char * _arg5
= (char *) "";
4244 wxFontEncoding _arg6
= (wxFontEncoding
) (wxFONTENCODING_DEFAULT
);
4245 char *_kwnames
[] = { "pointSize","family","style","weight","underline","faceName","encoding", NULL
};
4249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiii|isi:new_wxFont",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
4252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4253 _result
= (wxFont
*)new_wxFont(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4255 wxPyEndAllowThreads(__tstate
);
4256 if (PyErr_Occurred()) return NULL
;
4258 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
4259 _resultobj
= Py_BuildValue("s",_ptemp
);
4262 _resultobj
= Py_None
;
4267 #define new_wxFontFromNativeInfo(_swigarg0) (new wxFont(_swigarg0))
4268 static PyObject
*_wrap_new_wxFontFromNativeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4269 PyObject
* _resultobj
;
4271 wxNativeFontInfo
* _arg0
;
4272 PyObject
* _argo0
= 0;
4273 char *_kwnames
[] = { "info", NULL
};
4277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFontFromNativeInfo",_kwnames
,&_argo0
))
4280 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4281 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
4282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFontFromNativeInfo. Expected _wxNativeFontInfo_p.");
4287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4288 _result
= (wxFont
*)new_wxFontFromNativeInfo(*_arg0
);
4290 wxPyEndAllowThreads(__tstate
);
4291 if (PyErr_Occurred()) return NULL
;
4293 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
4294 _resultobj
= Py_BuildValue("s",_ptemp
);
4297 _resultobj
= Py_None
;
4302 #define delete_wxFont(_swigobj) (delete _swigobj)
4303 static PyObject
*_wrap_delete_wxFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4304 PyObject
* _resultobj
;
4306 PyObject
* _argo0
= 0;
4307 char *_kwnames
[] = { "self", NULL
};
4310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFont",_kwnames
,&_argo0
))
4313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFont. Expected _wxFont_p.");
4320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4321 delete_wxFont(_arg0
);
4323 wxPyEndAllowThreads(__tstate
);
4324 if (PyErr_Occurred()) return NULL
;
4325 } Py_INCREF(Py_None
);
4326 _resultobj
= Py_None
;
4330 #define wxFont_Ok(_swigobj) (_swigobj->Ok())
4331 static PyObject
*_wrap_wxFont_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4332 PyObject
* _resultobj
;
4335 PyObject
* _argo0
= 0;
4336 char *_kwnames
[] = { "self", NULL
};
4339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_Ok",_kwnames
,&_argo0
))
4342 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4343 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_Ok. Expected _wxFont_p.");
4349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4350 _result
= (bool )wxFont_Ok(_arg0
);
4352 wxPyEndAllowThreads(__tstate
);
4353 if (PyErr_Occurred()) return NULL
;
4354 } _resultobj
= Py_BuildValue("i",_result
);
4358 #define wxFont_GetPointSize(_swigobj) (_swigobj->GetPointSize())
4359 static PyObject
*_wrap_wxFont_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4360 PyObject
* _resultobj
;
4363 PyObject
* _argo0
= 0;
4364 char *_kwnames
[] = { "self", NULL
};
4367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetPointSize",_kwnames
,&_argo0
))
4370 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4371 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetPointSize. Expected _wxFont_p.");
4377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4378 _result
= (int )wxFont_GetPointSize(_arg0
);
4380 wxPyEndAllowThreads(__tstate
);
4381 if (PyErr_Occurred()) return NULL
;
4382 } _resultobj
= Py_BuildValue("i",_result
);
4386 #define wxFont_GetFamily(_swigobj) (_swigobj->GetFamily())
4387 static PyObject
*_wrap_wxFont_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4388 PyObject
* _resultobj
;
4391 PyObject
* _argo0
= 0;
4392 char *_kwnames
[] = { "self", NULL
};
4395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFamily",_kwnames
,&_argo0
))
4398 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4399 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFamily. Expected _wxFont_p.");
4405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4406 _result
= (int )wxFont_GetFamily(_arg0
);
4408 wxPyEndAllowThreads(__tstate
);
4409 if (PyErr_Occurred()) return NULL
;
4410 } _resultobj
= Py_BuildValue("i",_result
);
4414 #define wxFont_GetStyle(_swigobj) (_swigobj->GetStyle())
4415 static PyObject
*_wrap_wxFont_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4416 PyObject
* _resultobj
;
4419 PyObject
* _argo0
= 0;
4420 char *_kwnames
[] = { "self", NULL
};
4423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetStyle",_kwnames
,&_argo0
))
4426 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4427 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetStyle. Expected _wxFont_p.");
4433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4434 _result
= (int )wxFont_GetStyle(_arg0
);
4436 wxPyEndAllowThreads(__tstate
);
4437 if (PyErr_Occurred()) return NULL
;
4438 } _resultobj
= Py_BuildValue("i",_result
);
4442 #define wxFont_GetWeight(_swigobj) (_swigobj->GetWeight())
4443 static PyObject
*_wrap_wxFont_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4444 PyObject
* _resultobj
;
4447 PyObject
* _argo0
= 0;
4448 char *_kwnames
[] = { "self", NULL
};
4451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetWeight",_kwnames
,&_argo0
))
4454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetWeight. Expected _wxFont_p.");
4461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4462 _result
= (int )wxFont_GetWeight(_arg0
);
4464 wxPyEndAllowThreads(__tstate
);
4465 if (PyErr_Occurred()) return NULL
;
4466 } _resultobj
= Py_BuildValue("i",_result
);
4470 #define wxFont_GetUnderlined(_swigobj) (_swigobj->GetUnderlined())
4471 static PyObject
*_wrap_wxFont_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4472 PyObject
* _resultobj
;
4475 PyObject
* _argo0
= 0;
4476 char *_kwnames
[] = { "self", NULL
};
4479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetUnderlined",_kwnames
,&_argo0
))
4482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetUnderlined. Expected _wxFont_p.");
4489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4490 _result
= (bool )wxFont_GetUnderlined(_arg0
);
4492 wxPyEndAllowThreads(__tstate
);
4493 if (PyErr_Occurred()) return NULL
;
4494 } _resultobj
= Py_BuildValue("i",_result
);
4498 #define wxFont_GetFaceName(_swigobj) (_swigobj->GetFaceName())
4499 static PyObject
*_wrap_wxFont_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4500 PyObject
* _resultobj
;
4503 PyObject
* _argo0
= 0;
4504 char *_kwnames
[] = { "self", NULL
};
4507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFaceName",_kwnames
,&_argo0
))
4510 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4511 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFaceName. Expected _wxFont_p.");
4517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4518 _result
= new wxString (wxFont_GetFaceName(_arg0
));
4520 wxPyEndAllowThreads(__tstate
);
4521 if (PyErr_Occurred()) return NULL
;
4524 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4526 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4535 #define wxFont_GetEncoding(_swigobj) (_swigobj->GetEncoding())
4536 static PyObject
*_wrap_wxFont_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4537 PyObject
* _resultobj
;
4538 wxFontEncoding _result
;
4540 PyObject
* _argo0
= 0;
4541 char *_kwnames
[] = { "self", NULL
};
4544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetEncoding",_kwnames
,&_argo0
))
4547 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4548 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetEncoding. Expected _wxFont_p.");
4554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4555 _result
= (wxFontEncoding
)wxFont_GetEncoding(_arg0
);
4557 wxPyEndAllowThreads(__tstate
);
4558 if (PyErr_Occurred()) return NULL
;
4559 } _resultobj
= Py_BuildValue("i",_result
);
4563 #define wxFont_IsFixedWidth(_swigobj) (_swigobj->IsFixedWidth())
4564 static PyObject
*_wrap_wxFont_IsFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4565 PyObject
* _resultobj
;
4568 PyObject
* _argo0
= 0;
4569 char *_kwnames
[] = { "self", NULL
};
4572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_IsFixedWidth",_kwnames
,&_argo0
))
4575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_IsFixedWidth. Expected _wxFont_p.");
4582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4583 _result
= (bool )wxFont_IsFixedWidth(_arg0
);
4585 wxPyEndAllowThreads(__tstate
);
4586 if (PyErr_Occurred()) return NULL
;
4587 } _resultobj
= Py_BuildValue("i",_result
);
4591 #define wxFont_GetNativeFontInfo(_swigobj) (_swigobj->GetNativeFontInfo())
4592 static PyObject
*_wrap_wxFont_GetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4593 PyObject
* _resultobj
;
4594 wxNativeFontInfo
* _result
;
4596 PyObject
* _argo0
= 0;
4597 char *_kwnames
[] = { "self", NULL
};
4601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetNativeFontInfo",_kwnames
,&_argo0
))
4604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetNativeFontInfo. Expected _wxFont_p.");
4611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4612 _result
= (wxNativeFontInfo
*)wxFont_GetNativeFontInfo(_arg0
);
4614 wxPyEndAllowThreads(__tstate
);
4615 if (PyErr_Occurred()) return NULL
;
4617 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNativeFontInfo_p");
4618 _resultobj
= Py_BuildValue("s",_ptemp
);
4621 _resultobj
= Py_None
;
4626 #define wxFont_GetNativeFontInfoDesc(_swigobj) (_swigobj->GetNativeFontInfoDesc())
4627 static PyObject
*_wrap_wxFont_GetNativeFontInfoDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4628 PyObject
* _resultobj
;
4631 PyObject
* _argo0
= 0;
4632 char *_kwnames
[] = { "self", NULL
};
4635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetNativeFontInfoDesc",_kwnames
,&_argo0
))
4638 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4639 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetNativeFontInfoDesc. Expected _wxFont_p.");
4645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4646 _result
= new wxString (wxFont_GetNativeFontInfoDesc(_arg0
));
4648 wxPyEndAllowThreads(__tstate
);
4649 if (PyErr_Occurred()) return NULL
;
4652 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4654 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4663 #define wxFont_GetNativeFontInfoUserDesc(_swigobj) (_swigobj->GetNativeFontInfoUserDesc())
4664 static PyObject
*_wrap_wxFont_GetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4665 PyObject
* _resultobj
;
4668 PyObject
* _argo0
= 0;
4669 char *_kwnames
[] = { "self", NULL
};
4672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetNativeFontInfoUserDesc",_kwnames
,&_argo0
))
4675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetNativeFontInfoUserDesc. Expected _wxFont_p.");
4682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4683 _result
= new wxString (wxFont_GetNativeFontInfoUserDesc(_arg0
));
4685 wxPyEndAllowThreads(__tstate
);
4686 if (PyErr_Occurred()) return NULL
;
4689 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4691 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4700 #define wxFont_SetPointSize(_swigobj,_swigarg0) (_swigobj->SetPointSize(_swigarg0))
4701 static PyObject
*_wrap_wxFont_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4702 PyObject
* _resultobj
;
4705 PyObject
* _argo0
= 0;
4706 char *_kwnames
[] = { "self","pointSize", NULL
};
4709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetPointSize",_kwnames
,&_argo0
,&_arg1
))
4712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetPointSize. Expected _wxFont_p.");
4719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4720 wxFont_SetPointSize(_arg0
,_arg1
);
4722 wxPyEndAllowThreads(__tstate
);
4723 if (PyErr_Occurred()) return NULL
;
4724 } Py_INCREF(Py_None
);
4725 _resultobj
= Py_None
;
4729 #define wxFont_SetFamily(_swigobj,_swigarg0) (_swigobj->SetFamily(_swigarg0))
4730 static PyObject
*_wrap_wxFont_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4731 PyObject
* _resultobj
;
4734 PyObject
* _argo0
= 0;
4735 char *_kwnames
[] = { "self","family", NULL
};
4738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetFamily",_kwnames
,&_argo0
,&_arg1
))
4741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFamily. Expected _wxFont_p.");
4748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4749 wxFont_SetFamily(_arg0
,_arg1
);
4751 wxPyEndAllowThreads(__tstate
);
4752 if (PyErr_Occurred()) return NULL
;
4753 } Py_INCREF(Py_None
);
4754 _resultobj
= Py_None
;
4758 #define wxFont_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
4759 static PyObject
*_wrap_wxFont_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4760 PyObject
* _resultobj
;
4763 PyObject
* _argo0
= 0;
4764 char *_kwnames
[] = { "self","style", NULL
};
4767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetStyle",_kwnames
,&_argo0
,&_arg1
))
4770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetStyle. Expected _wxFont_p.");
4777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4778 wxFont_SetStyle(_arg0
,_arg1
);
4780 wxPyEndAllowThreads(__tstate
);
4781 if (PyErr_Occurred()) return NULL
;
4782 } Py_INCREF(Py_None
);
4783 _resultobj
= Py_None
;
4787 #define wxFont_SetWeight(_swigobj,_swigarg0) (_swigobj->SetWeight(_swigarg0))
4788 static PyObject
*_wrap_wxFont_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4789 PyObject
* _resultobj
;
4792 PyObject
* _argo0
= 0;
4793 char *_kwnames
[] = { "self","weight", NULL
};
4796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetWeight",_kwnames
,&_argo0
,&_arg1
))
4799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetWeight. Expected _wxFont_p.");
4806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4807 wxFont_SetWeight(_arg0
,_arg1
);
4809 wxPyEndAllowThreads(__tstate
);
4810 if (PyErr_Occurred()) return NULL
;
4811 } Py_INCREF(Py_None
);
4812 _resultobj
= Py_None
;
4816 #define wxFont_SetFaceName(_swigobj,_swigarg0) (_swigobj->SetFaceName(_swigarg0))
4817 static PyObject
*_wrap_wxFont_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4818 PyObject
* _resultobj
;
4821 PyObject
* _argo0
= 0;
4822 PyObject
* _obj1
= 0;
4823 char *_kwnames
[] = { "self","faceName", NULL
};
4826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFont_SetFaceName",_kwnames
,&_argo0
,&_obj1
))
4829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFaceName. Expected _wxFont_p.");
4836 _arg1
= wxString_in_helper(_obj1
);
4841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4842 wxFont_SetFaceName(_arg0
,*_arg1
);
4844 wxPyEndAllowThreads(__tstate
);
4845 if (PyErr_Occurred()) return NULL
;
4846 } Py_INCREF(Py_None
);
4847 _resultobj
= Py_None
;
4855 #define wxFont_SetUnderlined(_swigobj,_swigarg0) (_swigobj->SetUnderlined(_swigarg0))
4856 static PyObject
*_wrap_wxFont_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4857 PyObject
* _resultobj
;
4860 PyObject
* _argo0
= 0;
4862 char *_kwnames
[] = { "self","underlined", NULL
};
4865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetUnderlined",_kwnames
,&_argo0
,&tempbool1
))
4868 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4869 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetUnderlined. Expected _wxFont_p.");
4874 _arg1
= (bool ) tempbool1
;
4876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4877 wxFont_SetUnderlined(_arg0
,_arg1
);
4879 wxPyEndAllowThreads(__tstate
);
4880 if (PyErr_Occurred()) return NULL
;
4881 } Py_INCREF(Py_None
);
4882 _resultobj
= Py_None
;
4886 #define wxFont_SetEncoding(_swigobj,_swigarg0) (_swigobj->SetEncoding(_swigarg0))
4887 static PyObject
*_wrap_wxFont_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4888 PyObject
* _resultobj
;
4890 wxFontEncoding _arg1
;
4891 PyObject
* _argo0
= 0;
4892 char *_kwnames
[] = { "self","encoding", NULL
};
4895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetEncoding",_kwnames
,&_argo0
,&_arg1
))
4898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetEncoding. Expected _wxFont_p.");
4905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4906 wxFont_SetEncoding(_arg0
,_arg1
);
4908 wxPyEndAllowThreads(__tstate
);
4909 if (PyErr_Occurred()) return NULL
;
4910 } Py_INCREF(Py_None
);
4911 _resultobj
= Py_None
;
4915 #define wxFont_SetNativeFontInfo(_swigobj,_swigarg0) (_swigobj->SetNativeFontInfo(_swigarg0))
4916 static PyObject
*_wrap_wxFont_SetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4917 PyObject
* _resultobj
;
4919 wxNativeFontInfo
* _arg1
;
4920 PyObject
* _argo0
= 0;
4921 PyObject
* _argo1
= 0;
4922 char *_kwnames
[] = { "self","info", NULL
};
4925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFont_SetNativeFontInfo",_kwnames
,&_argo0
,&_argo1
))
4928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetNativeFontInfo. Expected _wxFont_p.");
4935 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4936 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxNativeFontInfo_p")) {
4937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFont_SetNativeFontInfo. Expected _wxNativeFontInfo_p.");
4942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4943 wxFont_SetNativeFontInfo(_arg0
,*_arg1
);
4945 wxPyEndAllowThreads(__tstate
);
4946 if (PyErr_Occurred()) return NULL
;
4947 } Py_INCREF(Py_None
);
4948 _resultobj
= Py_None
;
4952 #define wxFont_SetNativeFontInfoUserDesc(_swigobj,_swigarg0) (_swigobj->SetNativeFontInfoUserDesc(_swigarg0))
4953 static PyObject
*_wrap_wxFont_SetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4954 PyObject
* _resultobj
;
4957 PyObject
* _argo0
= 0;
4958 PyObject
* _obj1
= 0;
4959 char *_kwnames
[] = { "self","info", NULL
};
4962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFont_SetNativeFontInfoUserDesc",_kwnames
,&_argo0
,&_obj1
))
4965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetNativeFontInfoUserDesc. Expected _wxFont_p.");
4972 _arg1
= wxString_in_helper(_obj1
);
4977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4978 wxFont_SetNativeFontInfoUserDesc(_arg0
,*_arg1
);
4980 wxPyEndAllowThreads(__tstate
);
4981 if (PyErr_Occurred()) return NULL
;
4982 } Py_INCREF(Py_None
);
4983 _resultobj
= Py_None
;
4991 #define wxFont_GetFamilyString(_swigobj) (_swigobj->GetFamilyString())
4992 static PyObject
*_wrap_wxFont_GetFamilyString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4993 PyObject
* _resultobj
;
4996 PyObject
* _argo0
= 0;
4997 char *_kwnames
[] = { "self", NULL
};
5000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFamilyString",_kwnames
,&_argo0
))
5003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
5005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFamilyString. Expected _wxFont_p.");
5010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5011 _result
= new wxString (wxFont_GetFamilyString(_arg0
));
5013 wxPyEndAllowThreads(__tstate
);
5014 if (PyErr_Occurred()) return NULL
;
5017 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5019 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5028 #define wxFont_GetStyleString(_swigobj) (_swigobj->GetStyleString())
5029 static PyObject
*_wrap_wxFont_GetStyleString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5030 PyObject
* _resultobj
;
5033 PyObject
* _argo0
= 0;
5034 char *_kwnames
[] = { "self", NULL
};
5037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetStyleString",_kwnames
,&_argo0
))
5040 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5041 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
5042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetStyleString. Expected _wxFont_p.");
5047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5048 _result
= new wxString (wxFont_GetStyleString(_arg0
));
5050 wxPyEndAllowThreads(__tstate
);
5051 if (PyErr_Occurred()) return NULL
;
5054 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5056 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5065 #define wxFont_GetWeightString(_swigobj) (_swigobj->GetWeightString())
5066 static PyObject
*_wrap_wxFont_GetWeightString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5067 PyObject
* _resultobj
;
5070 PyObject
* _argo0
= 0;
5071 char *_kwnames
[] = { "self", NULL
};
5074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetWeightString",_kwnames
,&_argo0
))
5077 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5078 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
5079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetWeightString. Expected _wxFont_p.");
5084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5085 _result
= new wxString (wxFont_GetWeightString(_arg0
));
5087 wxPyEndAllowThreads(__tstate
);
5088 if (PyErr_Occurred()) return NULL
;
5091 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5093 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5102 static PyObject
*_wrap_wxFont_GetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5103 PyObject
* _resultobj
;
5104 wxFontEncoding _result
;
5105 char *_kwnames
[] = { NULL
};
5108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFont_GetDefaultEncoding",_kwnames
))
5111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5112 _result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
5114 wxPyEndAllowThreads(__tstate
);
5115 if (PyErr_Occurred()) return NULL
;
5116 } _resultobj
= Py_BuildValue("i",_result
);
5120 static PyObject
*_wrap_wxFont_SetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5121 PyObject
* _resultobj
;
5122 wxFontEncoding _arg0
;
5123 char *_kwnames
[] = { "encoding", NULL
};
5126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxFont_SetDefaultEncoding",_kwnames
,&_arg0
))
5129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5130 wxFont::SetDefaultEncoding(_arg0
);
5132 wxPyEndAllowThreads(__tstate
);
5133 if (PyErr_Occurred()) return NULL
;
5134 } Py_INCREF(Py_None
);
5135 _resultobj
= Py_None
;
5139 static void *SwigwxFontListTowxObject(void *ptr
) {
5142 src
= (wxFontList
*) ptr
;
5143 dest
= (wxObject
*) src
;
5144 return (void *) dest
;
5147 #define wxFontList_AddFont(_swigobj,_swigarg0) (_swigobj->AddFont(_swigarg0))
5148 static PyObject
*_wrap_wxFontList_AddFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5149 PyObject
* _resultobj
;
5152 PyObject
* _argo0
= 0;
5153 PyObject
* _argo1
= 0;
5154 char *_kwnames
[] = { "self","font", NULL
};
5157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontList_AddFont",_kwnames
,&_argo0
,&_argo1
))
5160 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5161 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) {
5162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_AddFont. Expected _wxFontList_p.");
5167 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5168 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
5169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontList_AddFont. Expected _wxFont_p.");
5174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5175 wxFontList_AddFont(_arg0
,_arg1
);
5177 wxPyEndAllowThreads(__tstate
);
5178 if (PyErr_Occurred()) return NULL
;
5179 } Py_INCREF(Py_None
);
5180 _resultobj
= Py_None
;
5184 #define wxFontList_FindOrCreateFont(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->FindOrCreateFont(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5185 static PyObject
*_wrap_wxFontList_FindOrCreateFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5186 PyObject
* _resultobj
;
5193 bool _arg5
= (bool ) FALSE
;
5194 char * _arg6
= (char *) NULL
;
5195 wxFontEncoding _arg7
= (wxFontEncoding
) (wxFONTENCODING_DEFAULT
);
5196 PyObject
* _argo0
= 0;
5197 int tempbool5
= (int) FALSE
;
5198 char *_kwnames
[] = { "self","point_size","family","style","weight","underline","facename","encoding", NULL
};
5202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|isi:wxFontList_FindOrCreateFont",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
,&_arg6
,&_arg7
))
5205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) {
5207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_FindOrCreateFont. Expected _wxFontList_p.");
5211 _arg5
= (bool ) tempbool5
;
5213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5214 _result
= (wxFont
*)wxFontList_FindOrCreateFont(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
);
5216 wxPyEndAllowThreads(__tstate
);
5217 if (PyErr_Occurred()) return NULL
;
5219 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
5220 _resultobj
= Py_BuildValue("s",_ptemp
);
5223 _resultobj
= Py_None
;
5228 #define wxFontList_RemoveFont(_swigobj,_swigarg0) (_swigobj->RemoveFont(_swigarg0))
5229 static PyObject
*_wrap_wxFontList_RemoveFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5230 PyObject
* _resultobj
;
5233 PyObject
* _argo0
= 0;
5234 PyObject
* _argo1
= 0;
5235 char *_kwnames
[] = { "self","font", NULL
};
5238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontList_RemoveFont",_kwnames
,&_argo0
,&_argo1
))
5241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) {
5243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_RemoveFont. Expected _wxFontList_p.");
5248 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5249 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
5250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontList_RemoveFont. Expected _wxFont_p.");
5255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5256 wxFontList_RemoveFont(_arg0
,_arg1
);
5258 wxPyEndAllowThreads(__tstate
);
5259 if (PyErr_Occurred()) return NULL
;
5260 } Py_INCREF(Py_None
);
5261 _resultobj
= Py_None
;
5265 #define wxFontList_GetCount(_swigobj) (_swigobj->GetCount())
5266 static PyObject
*_wrap_wxFontList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5267 PyObject
* _resultobj
;
5270 PyObject
* _argo0
= 0;
5271 char *_kwnames
[] = { "self", NULL
};
5274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontList_GetCount",_kwnames
,&_argo0
))
5277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) {
5279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_GetCount. Expected _wxFontList_p.");
5284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5285 _result
= (int )wxFontList_GetCount(_arg0
);
5287 wxPyEndAllowThreads(__tstate
);
5288 if (PyErr_Occurred()) return NULL
;
5289 } _resultobj
= Py_BuildValue("i",_result
);
5293 static void *SwigwxColourTowxObject(void *ptr
) {
5296 src
= (wxColour
*) ptr
;
5297 dest
= (wxObject
*) src
;
5298 return (void *) dest
;
5301 #define new_wxColour(_swigarg0,_swigarg1,_swigarg2) (new wxColour(_swigarg0,_swigarg1,_swigarg2))
5302 static PyObject
*_wrap_new_wxColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5303 PyObject
* _resultobj
;
5305 unsigned char _arg0
= (unsigned char ) 0;
5306 unsigned char _arg1
= (unsigned char ) 0;
5307 unsigned char _arg2
= (unsigned char ) 0;
5308 char *_kwnames
[] = { "red","green","blue", NULL
};
5312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|bbb:new_wxColour",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
5315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5316 _result
= (wxColour
*)new_wxColour(_arg0
,_arg1
,_arg2
);
5318 wxPyEndAllowThreads(__tstate
);
5319 if (PyErr_Occurred()) return NULL
;
5321 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
5322 _resultobj
= Py_BuildValue("s",_ptemp
);
5325 _resultobj
= Py_None
;
5330 #define delete_wxColour(_swigobj) (delete _swigobj)
5331 static PyObject
*_wrap_delete_wxColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5332 PyObject
* _resultobj
;
5335 PyObject
* _obj0
= 0;
5336 char *_kwnames
[] = { "self", NULL
};
5339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxColour",_kwnames
,&_obj0
))
5343 if (! wxColour_helper(_obj0
, &_arg0
))
5347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5348 delete_wxColour(_arg0
);
5350 wxPyEndAllowThreads(__tstate
);
5351 if (PyErr_Occurred()) return NULL
;
5352 } Py_INCREF(Py_None
);
5353 _resultobj
= Py_None
;
5357 #define wxColour_Red(_swigobj) (_swigobj->Red())
5358 static PyObject
*_wrap_wxColour_Red(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5359 PyObject
* _resultobj
;
5360 unsigned char _result
;
5363 PyObject
* _obj0
= 0;
5364 char *_kwnames
[] = { "self", NULL
};
5367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Red",_kwnames
,&_obj0
))
5371 if (! wxColour_helper(_obj0
, &_arg0
))
5375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5376 _result
= (unsigned char )wxColour_Red(_arg0
);
5378 wxPyEndAllowThreads(__tstate
);
5379 if (PyErr_Occurred()) return NULL
;
5380 } _resultobj
= Py_BuildValue("b",_result
);
5384 #define wxColour_Green(_swigobj) (_swigobj->Green())
5385 static PyObject
*_wrap_wxColour_Green(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5386 PyObject
* _resultobj
;
5387 unsigned char _result
;
5390 PyObject
* _obj0
= 0;
5391 char *_kwnames
[] = { "self", NULL
};
5394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Green",_kwnames
,&_obj0
))
5398 if (! wxColour_helper(_obj0
, &_arg0
))
5402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5403 _result
= (unsigned char )wxColour_Green(_arg0
);
5405 wxPyEndAllowThreads(__tstate
);
5406 if (PyErr_Occurred()) return NULL
;
5407 } _resultobj
= Py_BuildValue("b",_result
);
5411 #define wxColour_Blue(_swigobj) (_swigobj->Blue())
5412 static PyObject
*_wrap_wxColour_Blue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5413 PyObject
* _resultobj
;
5414 unsigned char _result
;
5417 PyObject
* _obj0
= 0;
5418 char *_kwnames
[] = { "self", NULL
};
5421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Blue",_kwnames
,&_obj0
))
5425 if (! wxColour_helper(_obj0
, &_arg0
))
5429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5430 _result
= (unsigned char )wxColour_Blue(_arg0
);
5432 wxPyEndAllowThreads(__tstate
);
5433 if (PyErr_Occurred()) return NULL
;
5434 } _resultobj
= Py_BuildValue("b",_result
);
5438 #define wxColour_Ok(_swigobj) (_swigobj->Ok())
5439 static PyObject
*_wrap_wxColour_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5440 PyObject
* _resultobj
;
5444 PyObject
* _obj0
= 0;
5445 char *_kwnames
[] = { "self", NULL
};
5448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Ok",_kwnames
,&_obj0
))
5452 if (! wxColour_helper(_obj0
, &_arg0
))
5456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5457 _result
= (bool )wxColour_Ok(_arg0
);
5459 wxPyEndAllowThreads(__tstate
);
5460 if (PyErr_Occurred()) return NULL
;
5461 } _resultobj
= Py_BuildValue("i",_result
);
5465 #define wxColour_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
5466 static PyObject
*_wrap_wxColour_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5467 PyObject
* _resultobj
;
5469 unsigned char _arg1
;
5470 unsigned char _arg2
;
5471 unsigned char _arg3
;
5473 PyObject
* _obj0
= 0;
5474 char *_kwnames
[] = { "self","red","green","blue", NULL
};
5477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Obbb:wxColour_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
))
5481 if (! wxColour_helper(_obj0
, &_arg0
))
5485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5486 wxColour_Set(_arg0
,_arg1
,_arg2
,_arg3
);
5488 wxPyEndAllowThreads(__tstate
);
5489 if (PyErr_Occurred()) return NULL
;
5490 } Py_INCREF(Py_None
);
5491 _resultobj
= Py_None
;
5495 static PyObject
* wxColour_Get(wxColour
*self
) {
5496 PyObject
* rv
= PyTuple_New(3);
5497 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
5498 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
5499 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
5502 static PyObject
*_wrap_wxColour_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5503 PyObject
* _resultobj
;
5507 PyObject
* _obj0
= 0;
5508 char *_kwnames
[] = { "self", NULL
};
5511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Get",_kwnames
,&_obj0
))
5515 if (! wxColour_helper(_obj0
, &_arg0
))
5519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5520 _result
= (PyObject
*)wxColour_Get(_arg0
);
5522 wxPyEndAllowThreads(__tstate
);
5523 if (PyErr_Occurred()) return NULL
;
5525 _resultobj
= _result
;
5530 static void *SwigwxColourDatabaseTowxObject(void *ptr
) {
5531 wxColourDatabase
*src
;
5533 src
= (wxColourDatabase
*) ptr
;
5534 dest
= (wxObject
*) src
;
5535 return (void *) dest
;
5538 #define wxColourDatabase_FindColour(_swigobj,_swigarg0) (_swigobj->FindColour(_swigarg0))
5539 static PyObject
*_wrap_wxColourDatabase_FindColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5540 PyObject
* _resultobj
;
5542 wxColourDatabase
* _arg0
;
5544 PyObject
* _argo0
= 0;
5545 PyObject
* _obj1
= 0;
5546 char *_kwnames
[] = { "self","colour", NULL
};
5550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxColourDatabase_FindColour",_kwnames
,&_argo0
,&_obj1
))
5553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
5555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_FindColour. Expected _wxColourDatabase_p.");
5560 _arg1
= wxString_in_helper(_obj1
);
5565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5566 _result
= (wxColour
*)wxColourDatabase_FindColour(_arg0
,*_arg1
);
5568 wxPyEndAllowThreads(__tstate
);
5569 if (PyErr_Occurred()) return NULL
;
5571 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
5572 _resultobj
= Py_BuildValue("s",_ptemp
);
5575 _resultobj
= Py_None
;
5584 #define wxColourDatabase_FindName(_swigobj,_swigarg0) (_swigobj->FindName(_swigarg0))
5585 static PyObject
*_wrap_wxColourDatabase_FindName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5586 PyObject
* _resultobj
;
5588 wxColourDatabase
* _arg0
;
5590 PyObject
* _argo0
= 0;
5592 PyObject
* _obj1
= 0;
5593 char *_kwnames
[] = { "self","colour", NULL
};
5596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxColourDatabase_FindName",_kwnames
,&_argo0
,&_obj1
))
5599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
5601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_FindName. Expected _wxColourDatabase_p.");
5607 if (! wxColour_helper(_obj1
, &_arg1
))
5611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5612 _result
= new wxString (wxColourDatabase_FindName(_arg0
,*_arg1
));
5614 wxPyEndAllowThreads(__tstate
);
5615 if (PyErr_Occurred()) return NULL
;
5618 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5620 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5629 static void wxColourDatabase_Append(wxColourDatabase
*self
,const wxString
& name
,int red
,int green
,int blue
) {
5630 // first see if the name is already there
5631 wxString cName
= name
;
5633 wxString cName2
= cName
;
5634 if ( !cName2
.Replace(wxT("GRAY"), wxT("GREY")) )
5637 wxNode
*node
= self
->First();
5639 const wxChar
*key
= node
->GetKeyString();
5640 if ( cName
== key
|| cName2
== key
) {
5641 wxColour
* c
= (wxColour
*)node
->Data();
5642 c
->Set(red
, green
, blue
);
5645 node
= node
->Next();
5648 // otherwise append the new colour
5649 self
->Append(name
.c_str(), new wxColour(red
, green
, blue
));
5651 static PyObject
*_wrap_wxColourDatabase_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5652 PyObject
* _resultobj
;
5653 wxColourDatabase
* _arg0
;
5658 PyObject
* _argo0
= 0;
5659 PyObject
* _obj1
= 0;
5660 char *_kwnames
[] = { "self","name","red","green","blue", NULL
};
5663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiii:wxColourDatabase_Append",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_arg4
))
5666 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5667 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
5668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_Append. Expected _wxColourDatabase_p.");
5673 _arg1
= wxString_in_helper(_obj1
);
5678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5679 wxColourDatabase_Append(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
5681 wxPyEndAllowThreads(__tstate
);
5682 if (PyErr_Occurred()) return NULL
;
5683 } Py_INCREF(Py_None
);
5684 _resultobj
= Py_None
;
5692 static void *SwigwxPenTowxGDIObject(void *ptr
) {
5695 src
= (wxPen
*) ptr
;
5696 dest
= (wxGDIObject
*) src
;
5697 return (void *) dest
;
5700 static void *SwigwxPenTowxObject(void *ptr
) {
5703 src
= (wxPen
*) ptr
;
5704 dest
= (wxObject
*) src
;
5705 return (void *) dest
;
5708 #define new_wxPen(_swigarg0,_swigarg1,_swigarg2) (new wxPen(_swigarg0,_swigarg1,_swigarg2))
5709 static PyObject
*_wrap_new_wxPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5710 PyObject
* _resultobj
;
5713 int _arg1
= (int ) 1;
5714 int _arg2
= (int ) wxSOLID
;
5716 PyObject
* _obj0
= 0;
5717 char *_kwnames
[] = { "colour","width","style", NULL
};
5721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:new_wxPen",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
5725 if (! wxColour_helper(_obj0
, &_arg0
))
5729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5730 _result
= (wxPen
*)new_wxPen(*_arg0
,_arg1
,_arg2
);
5732 wxPyEndAllowThreads(__tstate
);
5733 if (PyErr_Occurred()) return NULL
;
5735 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
5736 _resultobj
= Py_BuildValue("s",_ptemp
);
5739 _resultobj
= Py_None
;
5744 #define delete_wxPen(_swigobj) (delete _swigobj)
5745 static PyObject
*_wrap_delete_wxPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5746 PyObject
* _resultobj
;
5748 PyObject
* _argo0
= 0;
5749 char *_kwnames
[] = { "self", NULL
};
5752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPen",_kwnames
,&_argo0
))
5755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPen. Expected _wxPen_p.");
5762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5763 delete_wxPen(_arg0
);
5765 wxPyEndAllowThreads(__tstate
);
5766 if (PyErr_Occurred()) return NULL
;
5767 } Py_INCREF(Py_None
);
5768 _resultobj
= Py_None
;
5772 #define wxPen_GetCap(_swigobj) (_swigobj->GetCap())
5773 static PyObject
*_wrap_wxPen_GetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5774 PyObject
* _resultobj
;
5777 PyObject
* _argo0
= 0;
5778 char *_kwnames
[] = { "self", NULL
};
5781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetCap",_kwnames
,&_argo0
))
5784 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5785 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetCap. Expected _wxPen_p.");
5791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5792 _result
= (int )wxPen_GetCap(_arg0
);
5794 wxPyEndAllowThreads(__tstate
);
5795 if (PyErr_Occurred()) return NULL
;
5796 } _resultobj
= Py_BuildValue("i",_result
);
5800 #define wxPen_GetColour(_swigobj) (_swigobj->GetColour())
5801 static PyObject
*_wrap_wxPen_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5802 PyObject
* _resultobj
;
5805 PyObject
* _argo0
= 0;
5806 char *_kwnames
[] = { "self", NULL
};
5810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetColour",_kwnames
,&_argo0
))
5813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetColour. Expected _wxPen_p.");
5820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5821 _result
= new wxColour (wxPen_GetColour(_arg0
));
5823 wxPyEndAllowThreads(__tstate
);
5824 if (PyErr_Occurred()) return NULL
;
5825 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
5826 _resultobj
= Py_BuildValue("s",_ptemp
);
5830 #define wxPen_GetJoin(_swigobj) (_swigobj->GetJoin())
5831 static PyObject
*_wrap_wxPen_GetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5832 PyObject
* _resultobj
;
5835 PyObject
* _argo0
= 0;
5836 char *_kwnames
[] = { "self", NULL
};
5839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetJoin",_kwnames
,&_argo0
))
5842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetJoin. Expected _wxPen_p.");
5849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5850 _result
= (int )wxPen_GetJoin(_arg0
);
5852 wxPyEndAllowThreads(__tstate
);
5853 if (PyErr_Occurred()) return NULL
;
5854 } _resultobj
= Py_BuildValue("i",_result
);
5858 #define wxPen_GetStyle(_swigobj) (_swigobj->GetStyle())
5859 static PyObject
*_wrap_wxPen_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5860 PyObject
* _resultobj
;
5863 PyObject
* _argo0
= 0;
5864 char *_kwnames
[] = { "self", NULL
};
5867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetStyle",_kwnames
,&_argo0
))
5870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetStyle. Expected _wxPen_p.");
5877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5878 _result
= (int )wxPen_GetStyle(_arg0
);
5880 wxPyEndAllowThreads(__tstate
);
5881 if (PyErr_Occurred()) return NULL
;
5882 } _resultobj
= Py_BuildValue("i",_result
);
5886 #define wxPen_GetWidth(_swigobj) (_swigobj->GetWidth())
5887 static PyObject
*_wrap_wxPen_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5888 PyObject
* _resultobj
;
5891 PyObject
* _argo0
= 0;
5892 char *_kwnames
[] = { "self", NULL
};
5895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetWidth",_kwnames
,&_argo0
))
5898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetWidth. Expected _wxPen_p.");
5905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5906 _result
= (int )wxPen_GetWidth(_arg0
);
5908 wxPyEndAllowThreads(__tstate
);
5909 if (PyErr_Occurred()) return NULL
;
5910 } _resultobj
= Py_BuildValue("i",_result
);
5914 #define wxPen_Ok(_swigobj) (_swigobj->Ok())
5915 static PyObject
*_wrap_wxPen_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5916 PyObject
* _resultobj
;
5919 PyObject
* _argo0
= 0;
5920 char *_kwnames
[] = { "self", NULL
};
5923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_Ok",_kwnames
,&_argo0
))
5926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_Ok. Expected _wxPen_p.");
5933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5934 _result
= (bool )wxPen_Ok(_arg0
);
5936 wxPyEndAllowThreads(__tstate
);
5937 if (PyErr_Occurred()) return NULL
;
5938 } _resultobj
= Py_BuildValue("i",_result
);
5942 #define wxPen_SetCap(_swigobj,_swigarg0) (_swigobj->SetCap(_swigarg0))
5943 static PyObject
*_wrap_wxPen_SetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5944 PyObject
* _resultobj
;
5947 PyObject
* _argo0
= 0;
5948 char *_kwnames
[] = { "self","cap_style", NULL
};
5951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetCap",_kwnames
,&_argo0
,&_arg1
))
5954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetCap. Expected _wxPen_p.");
5961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5962 wxPen_SetCap(_arg0
,_arg1
);
5964 wxPyEndAllowThreads(__tstate
);
5965 if (PyErr_Occurred()) return NULL
;
5966 } Py_INCREF(Py_None
);
5967 _resultobj
= Py_None
;
5971 #define wxPen_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
5972 static PyObject
*_wrap_wxPen_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5973 PyObject
* _resultobj
;
5976 PyObject
* _argo0
= 0;
5978 PyObject
* _obj1
= 0;
5979 char *_kwnames
[] = { "self","colour", NULL
};
5982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetColour",_kwnames
,&_argo0
,&_obj1
))
5985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetColour. Expected _wxPen_p.");
5993 if (! wxColour_helper(_obj1
, &_arg1
))
5997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5998 wxPen_SetColour(_arg0
,*_arg1
);
6000 wxPyEndAllowThreads(__tstate
);
6001 if (PyErr_Occurred()) return NULL
;
6002 } Py_INCREF(Py_None
);
6003 _resultobj
= Py_None
;
6007 #define wxPen_SetJoin(_swigobj,_swigarg0) (_swigobj->SetJoin(_swigarg0))
6008 static PyObject
*_wrap_wxPen_SetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6009 PyObject
* _resultobj
;
6012 PyObject
* _argo0
= 0;
6013 char *_kwnames
[] = { "self","join_style", NULL
};
6016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetJoin",_kwnames
,&_argo0
,&_arg1
))
6019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
6021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetJoin. Expected _wxPen_p.");
6026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6027 wxPen_SetJoin(_arg0
,_arg1
);
6029 wxPyEndAllowThreads(__tstate
);
6030 if (PyErr_Occurred()) return NULL
;
6031 } Py_INCREF(Py_None
);
6032 _resultobj
= Py_None
;
6036 #define wxPen_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
6037 static PyObject
*_wrap_wxPen_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6038 PyObject
* _resultobj
;
6041 PyObject
* _argo0
= 0;
6042 char *_kwnames
[] = { "self","style", NULL
};
6045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetStyle",_kwnames
,&_argo0
,&_arg1
))
6048 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6049 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
6050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetStyle. Expected _wxPen_p.");
6055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6056 wxPen_SetStyle(_arg0
,_arg1
);
6058 wxPyEndAllowThreads(__tstate
);
6059 if (PyErr_Occurred()) return NULL
;
6060 } Py_INCREF(Py_None
);
6061 _resultobj
= Py_None
;
6065 #define wxPen_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
6066 static PyObject
*_wrap_wxPen_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6067 PyObject
* _resultobj
;
6070 PyObject
* _argo0
= 0;
6071 char *_kwnames
[] = { "self","width", NULL
};
6074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetWidth",_kwnames
,&_argo0
,&_arg1
))
6077 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6078 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
6079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetWidth. Expected _wxPen_p.");
6084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6085 wxPen_SetWidth(_arg0
,_arg1
);
6087 wxPyEndAllowThreads(__tstate
);
6088 if (PyErr_Occurred()) return NULL
;
6089 } Py_INCREF(Py_None
);
6090 _resultobj
= Py_None
;
6094 #define wxPen_SetDashes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDashes(_swigarg0,_swigarg1))
6095 static PyObject
*_wrap_wxPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6096 PyObject
* _resultobj
;
6100 PyObject
* _argo0
= 0;
6101 PyObject
* _obj2
= 0;
6102 char *_kwnames
[] = { "self","choices", NULL
};
6105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetDashes",_kwnames
,&_argo0
,&_obj2
))
6108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
6110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetDashes. Expected _wxPen_p.");
6116 _arg2
= (wxDash
*)byte_LIST_helper(_obj2
);
6117 if (_arg2
== NULL
) {
6123 _arg1
= PyList_Size(_obj2
);
6130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6131 wxPen_SetDashes(_arg0
,_arg1
,_arg2
);
6133 wxPyEndAllowThreads(__tstate
);
6134 if (PyErr_Occurred()) return NULL
;
6135 } Py_INCREF(Py_None
);
6136 _resultobj
= Py_None
;
6143 #define wxPen_GetStipple(_swigobj) (_swigobj->GetStipple())
6144 static PyObject
*_wrap_wxPen_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6145 PyObject
* _resultobj
;
6148 PyObject
* _argo0
= 0;
6149 char *_kwnames
[] = { "self", NULL
};
6153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetStipple",_kwnames
,&_argo0
))
6156 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6157 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
6158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetStipple. Expected _wxPen_p.");
6163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6164 _result
= (wxBitmap
*)wxPen_GetStipple(_arg0
);
6166 wxPyEndAllowThreads(__tstate
);
6167 if (PyErr_Occurred()) return NULL
;
6169 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
6170 _resultobj
= Py_BuildValue("s",_ptemp
);
6173 _resultobj
= Py_None
;
6178 #define wxPen_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
6179 static PyObject
*_wrap_wxPen_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6180 PyObject
* _resultobj
;
6183 PyObject
* _argo0
= 0;
6184 PyObject
* _argo1
= 0;
6185 char *_kwnames
[] = { "self","stipple", NULL
};
6188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetStipple",_kwnames
,&_argo0
,&_argo1
))
6191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
6193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetStipple. Expected _wxPen_p.");
6198 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6199 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
6200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPen_SetStipple. Expected _wxBitmap_p.");
6205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6206 wxPen_SetStipple(_arg0
,*_arg1
);
6208 wxPyEndAllowThreads(__tstate
);
6209 if (PyErr_Occurred()) return NULL
;
6210 } Py_INCREF(Py_None
);
6211 _resultobj
= Py_None
;
6215 static void *SwigwxPyPenTowxPen(void *ptr
) {
6218 src
= (wxPyPen
*) ptr
;
6219 dest
= (wxPen
*) src
;
6220 return (void *) dest
;
6223 static void *SwigwxPyPenTowxGDIObject(void *ptr
) {
6226 src
= (wxPyPen
*) ptr
;
6227 dest
= (wxGDIObject
*) src
;
6228 return (void *) dest
;
6231 static void *SwigwxPyPenTowxObject(void *ptr
) {
6234 src
= (wxPyPen
*) ptr
;
6235 dest
= (wxObject
*) src
;
6236 return (void *) dest
;
6239 #define new_wxPyPen(_swigarg0,_swigarg1,_swigarg2) (new wxPyPen(_swigarg0,_swigarg1,_swigarg2))
6240 static PyObject
*_wrap_new_wxPyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6241 PyObject
* _resultobj
;
6244 int _arg1
= (int ) 1;
6245 int _arg2
= (int ) wxSOLID
;
6247 PyObject
* _obj0
= 0;
6248 char *_kwnames
[] = { "colour","width","style", NULL
};
6252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:new_wxPyPen",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
6256 if (! wxColour_helper(_obj0
, &_arg0
))
6260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6261 _result
= (wxPyPen
*)new_wxPyPen(*_arg0
,_arg1
,_arg2
);
6263 wxPyEndAllowThreads(__tstate
);
6264 if (PyErr_Occurred()) return NULL
;
6266 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPen_p");
6267 _resultobj
= Py_BuildValue("s",_ptemp
);
6270 _resultobj
= Py_None
;
6275 #define delete_wxPyPen(_swigobj) (delete _swigobj)
6276 static PyObject
*_wrap_delete_wxPyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6277 PyObject
* _resultobj
;
6279 PyObject
* _argo0
= 0;
6280 char *_kwnames
[] = { "self", NULL
};
6283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyPen",_kwnames
,&_argo0
))
6286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPen_p")) {
6288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyPen. Expected _wxPyPen_p.");
6293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6294 delete_wxPyPen(_arg0
);
6296 wxPyEndAllowThreads(__tstate
);
6297 if (PyErr_Occurred()) return NULL
;
6298 } Py_INCREF(Py_None
);
6299 _resultobj
= Py_None
;
6303 #define wxPyPen_SetDashes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDashes(_swigarg0,_swigarg1))
6304 static PyObject
*_wrap_wxPyPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6305 PyObject
* _resultobj
;
6309 PyObject
* _argo0
= 0;
6310 PyObject
* _obj2
= 0;
6311 char *_kwnames
[] = { "self","choices", NULL
};
6314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPen_SetDashes",_kwnames
,&_argo0
,&_obj2
))
6317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPen_p")) {
6319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPen_SetDashes. Expected _wxPyPen_p.");
6325 _arg2
= (wxDash
*)byte_LIST_helper(_obj2
);
6326 if (_arg2
== NULL
) {
6332 _arg1
= PyList_Size(_obj2
);
6339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6340 wxPyPen_SetDashes(_arg0
,_arg1
,_arg2
);
6342 wxPyEndAllowThreads(__tstate
);
6343 if (PyErr_Occurred()) return NULL
;
6344 } Py_INCREF(Py_None
);
6345 _resultobj
= Py_None
;
6352 static void *SwigwxPenListTowxObject(void *ptr
) {
6355 src
= (wxPenList
*) ptr
;
6356 dest
= (wxObject
*) src
;
6357 return (void *) dest
;
6360 #define wxPenList_AddPen(_swigobj,_swigarg0) (_swigobj->AddPen(_swigarg0))
6361 static PyObject
*_wrap_wxPenList_AddPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6362 PyObject
* _resultobj
;
6365 PyObject
* _argo0
= 0;
6366 PyObject
* _argo1
= 0;
6367 char *_kwnames
[] = { "self","pen", NULL
};
6370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPenList_AddPen",_kwnames
,&_argo0
,&_argo1
))
6373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
6375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_AddPen. Expected _wxPenList_p.");
6380 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6381 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
6382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPenList_AddPen. Expected _wxPen_p.");
6387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6388 wxPenList_AddPen(_arg0
,_arg1
);
6390 wxPyEndAllowThreads(__tstate
);
6391 if (PyErr_Occurred()) return NULL
;
6392 } Py_INCREF(Py_None
);
6393 _resultobj
= Py_None
;
6397 #define wxPenList_FindOrCreatePen(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindOrCreatePen(_swigarg0,_swigarg1,_swigarg2))
6398 static PyObject
*_wrap_wxPenList_FindOrCreatePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6399 PyObject
* _resultobj
;
6405 PyObject
* _argo0
= 0;
6407 PyObject
* _obj1
= 0;
6408 char *_kwnames
[] = { "self","colour","width","style", NULL
};
6412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxPenList_FindOrCreatePen",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
))
6415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
6417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_FindOrCreatePen. Expected _wxPenList_p.");
6423 if (! wxColour_helper(_obj1
, &_arg1
))
6427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6428 _result
= (wxPen
*)wxPenList_FindOrCreatePen(_arg0
,*_arg1
,_arg2
,_arg3
);
6430 wxPyEndAllowThreads(__tstate
);
6431 if (PyErr_Occurred()) return NULL
;
6433 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
6434 _resultobj
= Py_BuildValue("s",_ptemp
);
6437 _resultobj
= Py_None
;
6442 #define wxPenList_RemovePen(_swigobj,_swigarg0) (_swigobj->RemovePen(_swigarg0))
6443 static PyObject
*_wrap_wxPenList_RemovePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6444 PyObject
* _resultobj
;
6447 PyObject
* _argo0
= 0;
6448 PyObject
* _argo1
= 0;
6449 char *_kwnames
[] = { "self","pen", NULL
};
6452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPenList_RemovePen",_kwnames
,&_argo0
,&_argo1
))
6455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
6457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_RemovePen. Expected _wxPenList_p.");
6462 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6463 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
6464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPenList_RemovePen. Expected _wxPen_p.");
6469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6470 wxPenList_RemovePen(_arg0
,_arg1
);
6472 wxPyEndAllowThreads(__tstate
);
6473 if (PyErr_Occurred()) return NULL
;
6474 } Py_INCREF(Py_None
);
6475 _resultobj
= Py_None
;
6479 #define wxPenList_GetCount(_swigobj) (_swigobj->GetCount())
6480 static PyObject
*_wrap_wxPenList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6481 PyObject
* _resultobj
;
6484 PyObject
* _argo0
= 0;
6485 char *_kwnames
[] = { "self", NULL
};
6488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPenList_GetCount",_kwnames
,&_argo0
))
6491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
6493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_GetCount. Expected _wxPenList_p.");
6498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6499 _result
= (int )wxPenList_GetCount(_arg0
);
6501 wxPyEndAllowThreads(__tstate
);
6502 if (PyErr_Occurred()) return NULL
;
6503 } _resultobj
= Py_BuildValue("i",_result
);
6507 static void *SwigwxBrushTowxGDIObject(void *ptr
) {
6510 src
= (wxBrush
*) ptr
;
6511 dest
= (wxGDIObject
*) src
;
6512 return (void *) dest
;
6515 static void *SwigwxBrushTowxObject(void *ptr
) {
6518 src
= (wxBrush
*) ptr
;
6519 dest
= (wxObject
*) src
;
6520 return (void *) dest
;
6523 #define new_wxBrush(_swigarg0,_swigarg1) (new wxBrush(_swigarg0,_swigarg1))
6524 static PyObject
*_wrap_new_wxBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6525 PyObject
* _resultobj
;
6528 int _arg1
= (int ) wxSOLID
;
6530 PyObject
* _obj0
= 0;
6531 char *_kwnames
[] = { "colour","style", NULL
};
6535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxBrush",_kwnames
,&_obj0
,&_arg1
))
6539 if (! wxColour_helper(_obj0
, &_arg0
))
6543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6544 _result
= (wxBrush
*)new_wxBrush(*_arg0
,_arg1
);
6546 wxPyEndAllowThreads(__tstate
);
6547 if (PyErr_Occurred()) return NULL
;
6549 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
6550 _resultobj
= Py_BuildValue("s",_ptemp
);
6553 _resultobj
= Py_None
;
6558 #define delete_wxBrush(_swigobj) (delete _swigobj)
6559 static PyObject
*_wrap_delete_wxBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6560 PyObject
* _resultobj
;
6562 PyObject
* _argo0
= 0;
6563 char *_kwnames
[] = { "self", NULL
};
6566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBrush",_kwnames
,&_argo0
))
6569 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6570 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
6571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBrush. Expected _wxBrush_p.");
6576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6577 delete_wxBrush(_arg0
);
6579 wxPyEndAllowThreads(__tstate
);
6580 if (PyErr_Occurred()) return NULL
;
6581 } Py_INCREF(Py_None
);
6582 _resultobj
= Py_None
;
6586 #define wxBrush_GetColour(_swigobj) (_swigobj->GetColour())
6587 static PyObject
*_wrap_wxBrush_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6588 PyObject
* _resultobj
;
6591 PyObject
* _argo0
= 0;
6592 char *_kwnames
[] = { "self", NULL
};
6596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetColour",_kwnames
,&_argo0
))
6599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
6601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetColour. Expected _wxBrush_p.");
6606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6607 _result
= new wxColour (wxBrush_GetColour(_arg0
));
6609 wxPyEndAllowThreads(__tstate
);
6610 if (PyErr_Occurred()) return NULL
;
6611 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
6612 _resultobj
= Py_BuildValue("s",_ptemp
);
6616 #define wxBrush_GetStipple(_swigobj) (_swigobj->GetStipple())
6617 static PyObject
*_wrap_wxBrush_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6618 PyObject
* _resultobj
;
6621 PyObject
* _argo0
= 0;
6622 char *_kwnames
[] = { "self", NULL
};
6626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetStipple",_kwnames
,&_argo0
))
6629 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6630 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
6631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStipple. Expected _wxBrush_p.");
6636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6637 _result
= (wxBitmap
*)wxBrush_GetStipple(_arg0
);
6639 wxPyEndAllowThreads(__tstate
);
6640 if (PyErr_Occurred()) return NULL
;
6642 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
6643 _resultobj
= Py_BuildValue("s",_ptemp
);
6646 _resultobj
= Py_None
;
6651 #define wxBrush_GetStyle(_swigobj) (_swigobj->GetStyle())
6652 static PyObject
*_wrap_wxBrush_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6653 PyObject
* _resultobj
;
6656 PyObject
* _argo0
= 0;
6657 char *_kwnames
[] = { "self", NULL
};
6660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetStyle",_kwnames
,&_argo0
))
6663 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6664 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
6665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStyle. Expected _wxBrush_p.");
6670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6671 _result
= (int )wxBrush_GetStyle(_arg0
);
6673 wxPyEndAllowThreads(__tstate
);
6674 if (PyErr_Occurred()) return NULL
;
6675 } _resultobj
= Py_BuildValue("i",_result
);
6679 #define wxBrush_Ok(_swigobj) (_swigobj->Ok())
6680 static PyObject
*_wrap_wxBrush_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6681 PyObject
* _resultobj
;
6684 PyObject
* _argo0
= 0;
6685 char *_kwnames
[] = { "self", NULL
};
6688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_Ok",_kwnames
,&_argo0
))
6691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
6693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_Ok. Expected _wxBrush_p.");
6698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6699 _result
= (bool )wxBrush_Ok(_arg0
);
6701 wxPyEndAllowThreads(__tstate
);
6702 if (PyErr_Occurred()) return NULL
;
6703 } _resultobj
= Py_BuildValue("i",_result
);
6707 #define wxBrush_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
6708 static PyObject
*_wrap_wxBrush_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6709 PyObject
* _resultobj
;
6712 PyObject
* _argo0
= 0;
6714 PyObject
* _obj1
= 0;
6715 char *_kwnames
[] = { "self","colour", NULL
};
6718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrush_SetColour",_kwnames
,&_argo0
,&_obj1
))
6721 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6722 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
6723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetColour. Expected _wxBrush_p.");
6729 if (! wxColour_helper(_obj1
, &_arg1
))
6733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6734 wxBrush_SetColour(_arg0
,*_arg1
);
6736 wxPyEndAllowThreads(__tstate
);
6737 if (PyErr_Occurred()) return NULL
;
6738 } Py_INCREF(Py_None
);
6739 _resultobj
= Py_None
;
6743 #define wxBrush_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
6744 static PyObject
*_wrap_wxBrush_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6745 PyObject
* _resultobj
;
6748 PyObject
* _argo0
= 0;
6749 PyObject
* _argo1
= 0;
6750 char *_kwnames
[] = { "self","bitmap", NULL
};
6753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrush_SetStipple",_kwnames
,&_argo0
,&_argo1
))
6756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
6758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStipple. Expected _wxBrush_p.");
6763 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6764 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
6765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrush_SetStipple. Expected _wxBitmap_p.");
6770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6771 wxBrush_SetStipple(_arg0
,*_arg1
);
6773 wxPyEndAllowThreads(__tstate
);
6774 if (PyErr_Occurred()) return NULL
;
6775 } Py_INCREF(Py_None
);
6776 _resultobj
= Py_None
;
6780 #define wxBrush_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
6781 static PyObject
*_wrap_wxBrush_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6782 PyObject
* _resultobj
;
6785 PyObject
* _argo0
= 0;
6786 char *_kwnames
[] = { "self","style", NULL
};
6789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBrush_SetStyle",_kwnames
,&_argo0
,&_arg1
))
6792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
6794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStyle. Expected _wxBrush_p.");
6799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6800 wxBrush_SetStyle(_arg0
,_arg1
);
6802 wxPyEndAllowThreads(__tstate
);
6803 if (PyErr_Occurred()) return NULL
;
6804 } Py_INCREF(Py_None
);
6805 _resultobj
= Py_None
;
6809 static void *SwigwxBrushListTowxObject(void *ptr
) {
6812 src
= (wxBrushList
*) ptr
;
6813 dest
= (wxObject
*) src
;
6814 return (void *) dest
;
6817 #define wxBrushList_AddBrush(_swigobj,_swigarg0) (_swigobj->AddBrush(_swigarg0))
6818 static PyObject
*_wrap_wxBrushList_AddBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6819 PyObject
* _resultobj
;
6820 wxBrushList
* _arg0
;
6822 PyObject
* _argo0
= 0;
6823 PyObject
* _argo1
= 0;
6824 char *_kwnames
[] = { "self","brush", NULL
};
6827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrushList_AddBrush",_kwnames
,&_argo0
,&_argo1
))
6830 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6831 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
6832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_AddBrush. Expected _wxBrushList_p.");
6837 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6838 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
6839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrushList_AddBrush. Expected _wxBrush_p.");
6844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6845 wxBrushList_AddBrush(_arg0
,_arg1
);
6847 wxPyEndAllowThreads(__tstate
);
6848 if (PyErr_Occurred()) return NULL
;
6849 } Py_INCREF(Py_None
);
6850 _resultobj
= Py_None
;
6854 #define wxBrushList_FindOrCreateBrush(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindOrCreateBrush(_swigarg0,_swigarg1))
6855 static PyObject
*_wrap_wxBrushList_FindOrCreateBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6856 PyObject
* _resultobj
;
6858 wxBrushList
* _arg0
;
6861 PyObject
* _argo0
= 0;
6863 PyObject
* _obj1
= 0;
6864 char *_kwnames
[] = { "self","colour","style", NULL
};
6868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxBrushList_FindOrCreateBrush",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
6871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
6873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_FindOrCreateBrush. Expected _wxBrushList_p.");
6879 if (! wxColour_helper(_obj1
, &_arg1
))
6883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6884 _result
= (wxBrush
*)wxBrushList_FindOrCreateBrush(_arg0
,*_arg1
,_arg2
);
6886 wxPyEndAllowThreads(__tstate
);
6887 if (PyErr_Occurred()) return NULL
;
6889 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
6890 _resultobj
= Py_BuildValue("s",_ptemp
);
6893 _resultobj
= Py_None
;
6898 #define wxBrushList_RemoveBrush(_swigobj,_swigarg0) (_swigobj->RemoveBrush(_swigarg0))
6899 static PyObject
*_wrap_wxBrushList_RemoveBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6900 PyObject
* _resultobj
;
6901 wxBrushList
* _arg0
;
6903 PyObject
* _argo0
= 0;
6904 PyObject
* _argo1
= 0;
6905 char *_kwnames
[] = { "self","brush", NULL
};
6908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrushList_RemoveBrush",_kwnames
,&_argo0
,&_argo1
))
6911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
6913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_RemoveBrush. Expected _wxBrushList_p.");
6918 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6919 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
6920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrushList_RemoveBrush. Expected _wxBrush_p.");
6925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6926 wxBrushList_RemoveBrush(_arg0
,_arg1
);
6928 wxPyEndAllowThreads(__tstate
);
6929 if (PyErr_Occurred()) return NULL
;
6930 } Py_INCREF(Py_None
);
6931 _resultobj
= Py_None
;
6935 #define wxBrushList_GetCount(_swigobj) (_swigobj->GetCount())
6936 static PyObject
*_wrap_wxBrushList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6937 PyObject
* _resultobj
;
6939 wxBrushList
* _arg0
;
6940 PyObject
* _argo0
= 0;
6941 char *_kwnames
[] = { "self", NULL
};
6944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrushList_GetCount",_kwnames
,&_argo0
))
6947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
6949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_GetCount. Expected _wxBrushList_p.");
6954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6955 _result
= (int )wxBrushList_GetCount(_arg0
);
6957 wxPyEndAllowThreads(__tstate
);
6958 if (PyErr_Occurred()) return NULL
;
6959 } _resultobj
= Py_BuildValue("i",_result
);
6963 static void *SwigwxDCTowxObject(void *ptr
) {
6967 dest
= (wxObject
*) src
;
6968 return (void *) dest
;
6971 #define delete_wxDC(_swigobj) (delete _swigobj)
6972 static PyObject
*_wrap_delete_wxDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6973 PyObject
* _resultobj
;
6975 PyObject
* _argo0
= 0;
6976 char *_kwnames
[] = { "self", NULL
};
6979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDC",_kwnames
,&_argo0
))
6982 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6983 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDC. Expected _wxDC_p.");
6989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6992 wxPyEndAllowThreads(__tstate
);
6993 if (PyErr_Occurred()) return NULL
;
6994 } Py_INCREF(Py_None
);
6995 _resultobj
= Py_None
;
6999 #define wxDC_BeginDrawing(_swigobj) (_swigobj->BeginDrawing())
7000 static PyObject
*_wrap_wxDC_BeginDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7001 PyObject
* _resultobj
;
7003 PyObject
* _argo0
= 0;
7004 char *_kwnames
[] = { "self", NULL
};
7007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_BeginDrawing",_kwnames
,&_argo0
))
7010 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7011 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_BeginDrawing. Expected _wxDC_p.");
7017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7018 wxDC_BeginDrawing(_arg0
);
7020 wxPyEndAllowThreads(__tstate
);
7021 if (PyErr_Occurred()) return NULL
;
7022 } Py_INCREF(Py_None
);
7023 _resultobj
= Py_None
;
7027 #define wxDC_Blit(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Blit(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
7028 static PyObject
*_wrap_wxDC_Blit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7029 PyObject
* _resultobj
;
7039 int _arg8
= (int ) wxCOPY
;
7040 int _arg9
= (int ) FALSE
;
7041 PyObject
* _argo0
= 0;
7042 PyObject
* _argo5
= 0;
7043 char *_kwnames
[] = { "self","xdest","ydest","width","height","source","xsrc","ysrc","logicalFunc","useMask", NULL
};
7046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllllOll|ii:wxDC_Blit",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_argo5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
))
7049 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7050 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Blit. Expected _wxDC_p.");
7056 if (_argo5
== Py_None
) { _arg5
= NULL
; }
7057 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxDC_p")) {
7058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxDC_Blit. Expected _wxDC_p.");
7063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7064 _result
= (bool )wxDC_Blit(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
7066 wxPyEndAllowThreads(__tstate
);
7067 if (PyErr_Occurred()) return NULL
;
7068 } _resultobj
= Py_BuildValue("i",_result
);
7072 #define wxDC_Clear(_swigobj) (_swigobj->Clear())
7073 static PyObject
*_wrap_wxDC_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7074 PyObject
* _resultobj
;
7076 PyObject
* _argo0
= 0;
7077 char *_kwnames
[] = { "self", NULL
};
7080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_Clear",_kwnames
,&_argo0
))
7083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Clear. Expected _wxDC_p.");
7090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7093 wxPyEndAllowThreads(__tstate
);
7094 if (PyErr_Occurred()) return NULL
;
7095 } Py_INCREF(Py_None
);
7096 _resultobj
= Py_None
;
7100 #define wxDC_CrossHair(_swigobj,_swigarg0,_swigarg1) (_swigobj->CrossHair(_swigarg0,_swigarg1))
7101 static PyObject
*_wrap_wxDC_CrossHair(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7102 PyObject
* _resultobj
;
7106 PyObject
* _argo0
= 0;
7107 char *_kwnames
[] = { "self","x","y", NULL
};
7110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_CrossHair",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7113 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7114 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CrossHair. Expected _wxDC_p.");
7120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7121 wxDC_CrossHair(_arg0
,_arg1
,_arg2
);
7123 wxPyEndAllowThreads(__tstate
);
7124 if (PyErr_Occurred()) return NULL
;
7125 } Py_INCREF(Py_None
);
7126 _resultobj
= Py_None
;
7130 #define wxDC_DestroyClippingRegion(_swigobj) (_swigobj->DestroyClippingRegion())
7131 static PyObject
*_wrap_wxDC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7132 PyObject
* _resultobj
;
7134 PyObject
* _argo0
= 0;
7135 char *_kwnames
[] = { "self", NULL
};
7138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_DestroyClippingRegion",_kwnames
,&_argo0
))
7141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DestroyClippingRegion. Expected _wxDC_p.");
7148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7149 wxDC_DestroyClippingRegion(_arg0
);
7151 wxPyEndAllowThreads(__tstate
);
7152 if (PyErr_Occurred()) return NULL
;
7153 } Py_INCREF(Py_None
);
7154 _resultobj
= Py_None
;
7158 #define wxDC_DeviceToLogicalX(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalX(_swigarg0))
7159 static PyObject
*_wrap_wxDC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7160 PyObject
* _resultobj
;
7164 PyObject
* _argo0
= 0;
7165 char *_kwnames
[] = { "self","x", NULL
};
7168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalX",_kwnames
,&_argo0
,&_arg1
))
7171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalX. Expected _wxDC_p.");
7178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7179 _result
= (long )wxDC_DeviceToLogicalX(_arg0
,_arg1
);
7181 wxPyEndAllowThreads(__tstate
);
7182 if (PyErr_Occurred()) return NULL
;
7183 } _resultobj
= Py_BuildValue("l",_result
);
7187 #define wxDC_DeviceToLogicalXRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalXRel(_swigarg0))
7188 static PyObject
*_wrap_wxDC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7189 PyObject
* _resultobj
;
7193 PyObject
* _argo0
= 0;
7194 char *_kwnames
[] = { "self","x", NULL
};
7197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalXRel",_kwnames
,&_argo0
,&_arg1
))
7200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalXRel. Expected _wxDC_p.");
7207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7208 _result
= (long )wxDC_DeviceToLogicalXRel(_arg0
,_arg1
);
7210 wxPyEndAllowThreads(__tstate
);
7211 if (PyErr_Occurred()) return NULL
;
7212 } _resultobj
= Py_BuildValue("l",_result
);
7216 #define wxDC_DeviceToLogicalY(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalY(_swigarg0))
7217 static PyObject
*_wrap_wxDC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7218 PyObject
* _resultobj
;
7222 PyObject
* _argo0
= 0;
7223 char *_kwnames
[] = { "self","y", NULL
};
7226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalY",_kwnames
,&_argo0
,&_arg1
))
7229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalY. Expected _wxDC_p.");
7236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7237 _result
= (long )wxDC_DeviceToLogicalY(_arg0
,_arg1
);
7239 wxPyEndAllowThreads(__tstate
);
7240 if (PyErr_Occurred()) return NULL
;
7241 } _resultobj
= Py_BuildValue("l",_result
);
7245 #define wxDC_DeviceToLogicalYRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalYRel(_swigarg0))
7246 static PyObject
*_wrap_wxDC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7247 PyObject
* _resultobj
;
7251 PyObject
* _argo0
= 0;
7252 char *_kwnames
[] = { "self","y", NULL
};
7255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalYRel",_kwnames
,&_argo0
,&_arg1
))
7258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalYRel. Expected _wxDC_p.");
7265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7266 _result
= (long )wxDC_DeviceToLogicalYRel(_arg0
,_arg1
);
7268 wxPyEndAllowThreads(__tstate
);
7269 if (PyErr_Occurred()) return NULL
;
7270 } _resultobj
= Py_BuildValue("l",_result
);
7274 #define wxDC_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7275 static PyObject
*_wrap_wxDC_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7276 PyObject
* _resultobj
;
7284 PyObject
* _argo0
= 0;
7285 char *_kwnames
[] = { "self","x1","y1","x2","y2","xc","yc", NULL
};
7288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollllll:wxDC_DrawArc",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
7291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawArc. Expected _wxDC_p.");
7298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7299 wxDC_DrawArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
7301 wxPyEndAllowThreads(__tstate
);
7302 if (PyErr_Occurred()) return NULL
;
7303 } Py_INCREF(Py_None
);
7304 _resultobj
= Py_None
;
7308 #define wxDC_DrawCircle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawCircle(_swigarg0,_swigarg1,_swigarg2))
7309 static PyObject
*_wrap_wxDC_DrawCircle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7310 PyObject
* _resultobj
;
7315 PyObject
* _argo0
= 0;
7316 char *_kwnames
[] = { "self","x","y","radius", NULL
};
7319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olll:wxDC_DrawCircle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
7322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawCircle. Expected _wxDC_p.");
7329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7330 wxDC_DrawCircle(_arg0
,_arg1
,_arg2
,_arg3
);
7332 wxPyEndAllowThreads(__tstate
);
7333 if (PyErr_Occurred()) return NULL
;
7334 } Py_INCREF(Py_None
);
7335 _resultobj
= Py_None
;
7339 #define wxDC_DrawEllipse(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawEllipse(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7340 static PyObject
*_wrap_wxDC_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7341 PyObject
* _resultobj
;
7347 PyObject
* _argo0
= 0;
7348 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
7351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawEllipse",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipse. Expected _wxDC_p.");
7361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7362 wxDC_DrawEllipse(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7364 wxPyEndAllowThreads(__tstate
);
7365 if (PyErr_Occurred()) return NULL
;
7366 } Py_INCREF(Py_None
);
7367 _resultobj
= Py_None
;
7371 #define wxDC_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7372 static PyObject
*_wrap_wxDC_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7373 PyObject
* _resultobj
;
7381 PyObject
* _argo0
= 0;
7382 char *_kwnames
[] = { "self","x","y","width","height","start","end", NULL
};
7385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollllll:wxDC_DrawEllipticArc",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
7388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipticArc. Expected _wxDC_p.");
7395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7396 wxDC_DrawEllipticArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
7398 wxPyEndAllowThreads(__tstate
);
7399 if (PyErr_Occurred()) return NULL
;
7400 } Py_INCREF(Py_None
);
7401 _resultobj
= Py_None
;
7405 #define wxDC_DrawIcon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawIcon(_swigarg0,_swigarg1,_swigarg2))
7406 static PyObject
*_wrap_wxDC_DrawIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7407 PyObject
* _resultobj
;
7412 PyObject
* _argo0
= 0;
7413 PyObject
* _argo1
= 0;
7414 char *_kwnames
[] = { "self","icon","x","y", NULL
};
7417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll:wxDC_DrawIcon",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
7420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawIcon. Expected _wxDC_p.");
7427 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7428 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
7429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawIcon. Expected _wxIcon_p.");
7434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7435 wxDC_DrawIcon(_arg0
,*_arg1
,_arg2
,_arg3
);
7437 wxPyEndAllowThreads(__tstate
);
7438 if (PyErr_Occurred()) return NULL
;
7439 } Py_INCREF(Py_None
);
7440 _resultobj
= Py_None
;
7444 #define wxDC_DrawLabel(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLabel(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7445 static PyObject
*_wrap_wxDC_DrawLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7446 PyObject
* _resultobj
;
7450 int _arg3
= (int ) wxALIGN_LEFT
|wxALIGN_TOP
;
7451 int _arg4
= (int ) -1;
7452 PyObject
* _argo0
= 0;
7453 PyObject
* _obj1
= 0;
7455 PyObject
* _obj2
= 0;
7456 char *_kwnames
[] = { "self","text","rect","alignment","indexAccel", NULL
};
7459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|ii:wxDC_DrawLabel",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
))
7462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLabel. Expected _wxDC_p.");
7469 _arg1
= wxString_in_helper(_obj1
);
7475 if (! wxRect_helper(_obj2
, &_arg2
))
7479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7480 wxDC_DrawLabel(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
7482 wxPyEndAllowThreads(__tstate
);
7483 if (PyErr_Occurred()) return NULL
;
7484 } Py_INCREF(Py_None
);
7485 _resultobj
= Py_None
;
7493 static wxRect
wxDC_DrawImageLabel(wxDC
*self
,const wxString
& text
,const wxBitmap
& image
,const wxRect
& rect
,int alignment
,int indexAccel
) {
7495 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
7498 static PyObject
*_wrap_wxDC_DrawImageLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7499 PyObject
* _resultobj
;
7505 int _arg4
= (int ) wxALIGN_LEFT
|wxALIGN_TOP
;
7506 int _arg5
= (int ) -1;
7507 PyObject
* _argo0
= 0;
7508 PyObject
* _obj1
= 0;
7509 PyObject
* _argo2
= 0;
7511 PyObject
* _obj3
= 0;
7512 char *_kwnames
[] = { "self","text","image","rect","alignment","indexAccel", NULL
};
7516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|ii:wxDC_DrawImageLabel",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_obj3
,&_arg4
,&_arg5
))
7519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawImageLabel. Expected _wxDC_p.");
7526 _arg1
= wxString_in_helper(_obj1
);
7531 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7532 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
7533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDC_DrawImageLabel. Expected _wxBitmap_p.");
7539 if (! wxRect_helper(_obj3
, &_arg3
))
7543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7544 _result
= new wxRect (wxDC_DrawImageLabel(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
));
7546 wxPyEndAllowThreads(__tstate
);
7547 if (PyErr_Occurred()) return NULL
;
7548 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
7549 _resultobj
= Py_BuildValue("s",_ptemp
);
7557 #define wxDC_DrawLine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7558 static PyObject
*_wrap_wxDC_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7559 PyObject
* _resultobj
;
7565 PyObject
* _argo0
= 0;
7566 char *_kwnames
[] = { "self","x1","y1","x2","y2", NULL
};
7569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawLine",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLine. Expected _wxDC_p.");
7579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7580 wxDC_DrawLine(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7582 wxPyEndAllowThreads(__tstate
);
7583 if (PyErr_Occurred()) return NULL
;
7584 } Py_INCREF(Py_None
);
7585 _resultobj
= Py_None
;
7589 #define wxDC_DrawLines(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLines(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7590 static PyObject
*_wrap_wxDC_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7591 PyObject
* _resultobj
;
7595 long _arg3
= (long ) 0;
7596 long _arg4
= (long ) 0;
7597 PyObject
* _argo0
= 0;
7599 PyObject
* _obj2
= 0;
7600 char *_kwnames
[] = { "self","points","xoffset","yoffset", NULL
};
7603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ll:wxDC_DrawLines",_kwnames
,&_argo0
,&_obj2
,&_arg3
,&_arg4
))
7606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLines. Expected _wxDC_p.");
7614 _arg2
= wxPoint_LIST_helper(_obj2
, &NPOINTS
);
7615 if (_arg2
== NULL
) {
7623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7624 wxDC_DrawLines(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7626 wxPyEndAllowThreads(__tstate
);
7627 if (PyErr_Occurred()) return NULL
;
7628 } Py_INCREF(Py_None
);
7629 _resultobj
= Py_None
;
7636 #define wxDC_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7637 static PyObject
*_wrap_wxDC_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7638 PyObject
* _resultobj
;
7642 long _arg3
= (long ) 0;
7643 long _arg4
= (long ) 0;
7644 int _arg5
= (int ) wxODDEVEN_RULE
;
7645 PyObject
* _argo0
= 0;
7647 PyObject
* _obj2
= 0;
7648 char *_kwnames
[] = { "self","points","xoffset","yoffset","fill_style", NULL
};
7651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|lli:wxDC_DrawPolygon",_kwnames
,&_argo0
,&_obj2
,&_arg3
,&_arg4
,&_arg5
))
7654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPolygon. Expected _wxDC_p.");
7662 _arg2
= wxPoint_LIST_helper(_obj2
, &NPOINTS
);
7663 if (_arg2
== NULL
) {
7671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7672 wxDC_DrawPolygon(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7674 wxPyEndAllowThreads(__tstate
);
7675 if (PyErr_Occurred()) return NULL
;
7676 } Py_INCREF(Py_None
);
7677 _resultobj
= Py_None
;
7684 #define wxDC_DrawPoint(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawPoint(_swigarg0,_swigarg1))
7685 static PyObject
*_wrap_wxDC_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7686 PyObject
* _resultobj
;
7690 PyObject
* _argo0
= 0;
7691 char *_kwnames
[] = { "self","x","y", NULL
};
7694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_DrawPoint",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7697 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7698 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPoint. Expected _wxDC_p.");
7704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7705 wxDC_DrawPoint(_arg0
,_arg1
,_arg2
);
7707 wxPyEndAllowThreads(__tstate
);
7708 if (PyErr_Occurred()) return NULL
;
7709 } Py_INCREF(Py_None
);
7710 _resultobj
= Py_None
;
7714 #define wxDC_DrawRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7715 static PyObject
*_wrap_wxDC_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7716 PyObject
* _resultobj
;
7722 PyObject
* _argo0
= 0;
7723 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
7726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawRectangle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRectangle. Expected _wxDC_p.");
7736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7737 wxDC_DrawRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7739 wxPyEndAllowThreads(__tstate
);
7740 if (PyErr_Occurred()) return NULL
;
7741 } Py_INCREF(Py_None
);
7742 _resultobj
= Py_None
;
7746 #define wxDC_DrawRotatedText(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRotatedText(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7747 static PyObject
*_wrap_wxDC_DrawRotatedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7748 PyObject
* _resultobj
;
7754 PyObject
* _argo0
= 0;
7755 PyObject
* _obj1
= 0;
7756 char *_kwnames
[] = { "self","text","x","y","angle", NULL
};
7759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiid:wxDC_DrawRotatedText",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_arg4
))
7762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRotatedText. Expected _wxDC_p.");
7769 _arg1
= wxString_in_helper(_obj1
);
7774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7775 wxDC_DrawRotatedText(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
7777 wxPyEndAllowThreads(__tstate
);
7778 if (PyErr_Occurred()) return NULL
;
7779 } Py_INCREF(Py_None
);
7780 _resultobj
= Py_None
;
7788 #define wxDC_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7789 static PyObject
*_wrap_wxDC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7790 PyObject
* _resultobj
;
7796 long _arg5
= (long ) 20;
7797 PyObject
* _argo0
= 0;
7798 char *_kwnames
[] = { "self","x","y","width","height","radius", NULL
};
7801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll|l:wxDC_DrawRoundedRectangle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
7804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRoundedRectangle. Expected _wxDC_p.");
7811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7812 wxDC_DrawRoundedRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7814 wxPyEndAllowThreads(__tstate
);
7815 if (PyErr_Occurred()) return NULL
;
7816 } Py_INCREF(Py_None
);
7817 _resultobj
= Py_None
;
7821 #define wxDC_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1))
7822 static PyObject
*_wrap_wxDC_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7823 PyObject
* _resultobj
;
7827 PyObject
* _argo0
= 0;
7829 PyObject
* _obj2
= 0;
7830 char *_kwnames
[] = { "self","points", NULL
};
7833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_DrawSpline",_kwnames
,&_argo0
,&_obj2
))
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_DrawSpline. Expected _wxDC_p.");
7844 _arg2
= wxPoint_LIST_helper(_obj2
, &NPOINTS
);
7845 if (_arg2
== NULL
) {
7853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7854 wxDC_DrawSpline(_arg0
,_arg1
,_arg2
);
7856 wxPyEndAllowThreads(__tstate
);
7857 if (PyErr_Occurred()) return NULL
;
7858 } Py_INCREF(Py_None
);
7859 _resultobj
= Py_None
;
7866 #define wxDC_DrawText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawText(_swigarg0,_swigarg1,_swigarg2))
7867 static PyObject
*_wrap_wxDC_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7868 PyObject
* _resultobj
;
7873 PyObject
* _argo0
= 0;
7874 PyObject
* _obj1
= 0;
7875 char *_kwnames
[] = { "self","text","x","y", NULL
};
7878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll:wxDC_DrawText",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
))
7881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawText. Expected _wxDC_p.");
7888 _arg1
= wxString_in_helper(_obj1
);
7893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7894 wxDC_DrawText(_arg0
,*_arg1
,_arg2
,_arg3
);
7896 wxPyEndAllowThreads(__tstate
);
7897 if (PyErr_Occurred()) return NULL
;
7898 } Py_INCREF(Py_None
);
7899 _resultobj
= Py_None
;
7907 #define wxDC_EndDoc(_swigobj) (_swigobj->EndDoc())
7908 static PyObject
*_wrap_wxDC_EndDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7909 PyObject
* _resultobj
;
7911 PyObject
* _argo0
= 0;
7912 char *_kwnames
[] = { "self", NULL
};
7915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndDoc",_kwnames
,&_argo0
))
7918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDoc. Expected _wxDC_p.");
7925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7928 wxPyEndAllowThreads(__tstate
);
7929 if (PyErr_Occurred()) return NULL
;
7930 } Py_INCREF(Py_None
);
7931 _resultobj
= Py_None
;
7935 #define wxDC_EndDrawing(_swigobj) (_swigobj->EndDrawing())
7936 static PyObject
*_wrap_wxDC_EndDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7937 PyObject
* _resultobj
;
7939 PyObject
* _argo0
= 0;
7940 char *_kwnames
[] = { "self", NULL
};
7943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndDrawing",_kwnames
,&_argo0
))
7946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDrawing. Expected _wxDC_p.");
7953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7954 wxDC_EndDrawing(_arg0
);
7956 wxPyEndAllowThreads(__tstate
);
7957 if (PyErr_Occurred()) return NULL
;
7958 } Py_INCREF(Py_None
);
7959 _resultobj
= Py_None
;
7963 #define wxDC_EndPage(_swigobj) (_swigobj->EndPage())
7964 static PyObject
*_wrap_wxDC_EndPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7965 PyObject
* _resultobj
;
7967 PyObject
* _argo0
= 0;
7968 char *_kwnames
[] = { "self", NULL
};
7971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndPage",_kwnames
,&_argo0
))
7974 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7975 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndPage. Expected _wxDC_p.");
7981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7982 wxDC_EndPage(_arg0
);
7984 wxPyEndAllowThreads(__tstate
);
7985 if (PyErr_Occurred()) return NULL
;
7986 } Py_INCREF(Py_None
);
7987 _resultobj
= Py_None
;
7991 #define wxDC_FloodFill(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FloodFill(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7992 static PyObject
*_wrap_wxDC_FloodFill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7993 PyObject
* _resultobj
;
7998 int _arg4
= (int ) wxFLOOD_SURFACE
;
7999 PyObject
* _argo0
= 0;
8001 PyObject
* _obj3
= 0;
8002 char *_kwnames
[] = { "self","x","y","colour","style", NULL
};
8005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO|i:wxDC_FloodFill",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
8008 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8009 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_FloodFill. Expected _wxDC_p.");
8016 if (! wxColour_helper(_obj3
, &_arg3
))
8020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8021 wxDC_FloodFill(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
8023 wxPyEndAllowThreads(__tstate
);
8024 if (PyErr_Occurred()) return NULL
;
8025 } Py_INCREF(Py_None
);
8026 _resultobj
= Py_None
;
8030 #define wxDC_GetBackground(_swigobj) (_swigobj->GetBackground())
8031 static PyObject
*_wrap_wxDC_GetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8032 PyObject
* _resultobj
;
8035 PyObject
* _argo0
= 0;
8036 char *_kwnames
[] = { "self", NULL
};
8040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBackground",_kwnames
,&_argo0
))
8043 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8044 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBackground. Expected _wxDC_p.");
8050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8051 _result
= new wxBrush (wxDC_GetBackground(_arg0
));
8053 wxPyEndAllowThreads(__tstate
);
8054 if (PyErr_Occurred()) return NULL
;
8055 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBrush_p");
8056 _resultobj
= Py_BuildValue("s",_ptemp
);
8060 #define wxDC_GetBrush(_swigobj) (_swigobj->GetBrush())
8061 static PyObject
*_wrap_wxDC_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8062 PyObject
* _resultobj
;
8065 PyObject
* _argo0
= 0;
8066 char *_kwnames
[] = { "self", NULL
};
8070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBrush",_kwnames
,&_argo0
))
8073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBrush. Expected _wxDC_p.");
8080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8081 _result
= new wxBrush (wxDC_GetBrush(_arg0
));
8083 wxPyEndAllowThreads(__tstate
);
8084 if (PyErr_Occurred()) return NULL
;
8085 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBrush_p");
8086 _resultobj
= Py_BuildValue("s",_ptemp
);
8090 #define wxDC_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
8091 static PyObject
*_wrap_wxDC_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8092 PyObject
* _resultobj
;
8095 PyObject
* _argo0
= 0;
8096 char *_kwnames
[] = { "self", NULL
};
8099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetCharHeight",_kwnames
,&_argo0
))
8102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharHeight. Expected _wxDC_p.");
8109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8110 _result
= (long )wxDC_GetCharHeight(_arg0
);
8112 wxPyEndAllowThreads(__tstate
);
8113 if (PyErr_Occurred()) return NULL
;
8114 } _resultobj
= Py_BuildValue("l",_result
);
8118 #define wxDC_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
8119 static PyObject
*_wrap_wxDC_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8120 PyObject
* _resultobj
;
8123 PyObject
* _argo0
= 0;
8124 char *_kwnames
[] = { "self", NULL
};
8127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetCharWidth",_kwnames
,&_argo0
))
8130 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8131 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharWidth. Expected _wxDC_p.");
8137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8138 _result
= (long )wxDC_GetCharWidth(_arg0
);
8140 wxPyEndAllowThreads(__tstate
);
8141 if (PyErr_Occurred()) return NULL
;
8142 } _resultobj
= Py_BuildValue("l",_result
);
8146 #define wxDC_GetClippingBox(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetClippingBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8147 static PyObject
*_wrap_wxDC_GetClippingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8148 PyObject
* _resultobj
;
8158 PyObject
* _argo0
= 0;
8159 char *_kwnames
[] = { "self", NULL
};
8174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetClippingBox",_kwnames
,&_argo0
))
8177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetClippingBox. Expected _wxDC_p.");
8184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8185 wxDC_GetClippingBox(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
8187 wxPyEndAllowThreads(__tstate
);
8188 if (PyErr_Occurred()) return NULL
;
8189 } Py_INCREF(Py_None
);
8190 _resultobj
= Py_None
;
8193 o
= PyInt_FromLong((long) (*_arg1
));
8194 _resultobj
= t_output_helper(_resultobj
, o
);
8198 o
= PyInt_FromLong((long) (*_arg2
));
8199 _resultobj
= t_output_helper(_resultobj
, o
);
8203 o
= PyInt_FromLong((long) (*_arg3
));
8204 _resultobj
= t_output_helper(_resultobj
, o
);
8208 o
= PyInt_FromLong((long) (*_arg4
));
8209 _resultobj
= t_output_helper(_resultobj
, o
);
8214 #define wxDC_GetFont(_swigobj) (_swigobj->GetFont())
8215 static PyObject
*_wrap_wxDC_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8216 PyObject
* _resultobj
;
8219 PyObject
* _argo0
= 0;
8220 char *_kwnames
[] = { "self", NULL
};
8224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetFont",_kwnames
,&_argo0
))
8227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFont. Expected _wxDC_p.");
8234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8235 _result
= new wxFont (wxDC_GetFont(_arg0
));
8237 wxPyEndAllowThreads(__tstate
);
8238 if (PyErr_Occurred()) return NULL
;
8239 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
8240 _resultobj
= Py_BuildValue("s",_ptemp
);
8244 #define wxDC_GetLogicalFunction(_swigobj) (_swigobj->GetLogicalFunction())
8245 static PyObject
*_wrap_wxDC_GetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8246 PyObject
* _resultobj
;
8249 PyObject
* _argo0
= 0;
8250 char *_kwnames
[] = { "self", NULL
};
8253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalFunction",_kwnames
,&_argo0
))
8256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalFunction. Expected _wxDC_p.");
8263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8264 _result
= (int )wxDC_GetLogicalFunction(_arg0
);
8266 wxPyEndAllowThreads(__tstate
);
8267 if (PyErr_Occurred()) return NULL
;
8268 } _resultobj
= Py_BuildValue("i",_result
);
8272 #define wxDC_GetLogicalScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLogicalScale(_swigarg0,_swigarg1))
8273 static PyObject
*_wrap_wxDC_GetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8274 PyObject
* _resultobj
;
8280 PyObject
* _argo0
= 0;
8281 char *_kwnames
[] = { "self", NULL
};
8290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalScale",_kwnames
,&_argo0
))
8293 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8294 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalScale. Expected _wxDC_p.");
8300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8301 wxDC_GetLogicalScale(_arg0
,_arg1
,_arg2
);
8303 wxPyEndAllowThreads(__tstate
);
8304 if (PyErr_Occurred()) return NULL
;
8305 } Py_INCREF(Py_None
);
8306 _resultobj
= Py_None
;
8309 o
= PyFloat_FromDouble((double) (*_arg1
));
8310 _resultobj
= t_output_helper(_resultobj
, o
);
8314 o
= PyFloat_FromDouble((double) (*_arg2
));
8315 _resultobj
= t_output_helper(_resultobj
, o
);
8320 #define wxDC_GetMapMode(_swigobj) (_swigobj->GetMapMode())
8321 static PyObject
*_wrap_wxDC_GetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8322 PyObject
* _resultobj
;
8325 PyObject
* _argo0
= 0;
8326 char *_kwnames
[] = { "self", NULL
};
8329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetMapMode",_kwnames
,&_argo0
))
8332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetMapMode. Expected _wxDC_p.");
8339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8340 _result
= (int )wxDC_GetMapMode(_arg0
);
8342 wxPyEndAllowThreads(__tstate
);
8343 if (PyErr_Occurred()) return NULL
;
8344 } _resultobj
= Py_BuildValue("i",_result
);
8348 #define wxDC_GetOptimization(_swigobj) (_swigobj->GetOptimization())
8349 static PyObject
*_wrap_wxDC_GetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8350 PyObject
* _resultobj
;
8353 PyObject
* _argo0
= 0;
8354 char *_kwnames
[] = { "self", NULL
};
8357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetOptimization",_kwnames
,&_argo0
))
8360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetOptimization. Expected _wxDC_p.");
8367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8368 _result
= (bool )wxDC_GetOptimization(_arg0
);
8370 wxPyEndAllowThreads(__tstate
);
8371 if (PyErr_Occurred()) return NULL
;
8372 } _resultobj
= Py_BuildValue("i",_result
);
8376 #define wxDC_GetPen(_swigobj) (_swigobj->GetPen())
8377 static PyObject
*_wrap_wxDC_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8378 PyObject
* _resultobj
;
8381 PyObject
* _argo0
= 0;
8382 char *_kwnames
[] = { "self", NULL
};
8386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetPen",_kwnames
,&_argo0
))
8389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPen. Expected _wxDC_p.");
8396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8397 _result
= new wxPen (wxDC_GetPen(_arg0
));
8399 wxPyEndAllowThreads(__tstate
);
8400 if (PyErr_Occurred()) return NULL
;
8401 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPen_p");
8402 _resultobj
= Py_BuildValue("s",_ptemp
);
8406 static wxColour
* wxDC_GetPixel(wxDC
*self
,long x
,long y
) {
8407 wxColour
* wc
= new wxColour();
8408 self
->GetPixel(x
, y
, wc
);
8411 static PyObject
*_wrap_wxDC_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8412 PyObject
* _resultobj
;
8417 PyObject
* _argo0
= 0;
8418 char *_kwnames
[] = { "self","x","y", NULL
};
8422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_GetPixel",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8425 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8426 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPixel. Expected _wxDC_p.");
8432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8433 _result
= (wxColour
*)wxDC_GetPixel(_arg0
,_arg1
,_arg2
);
8435 wxPyEndAllowThreads(__tstate
);
8436 if (PyErr_Occurred()) return NULL
;
8438 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
8439 _resultobj
= Py_BuildValue("s",_ptemp
);
8442 _resultobj
= Py_None
;
8447 #define wxDC_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
8448 static PyObject
*_wrap_wxDC_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8449 PyObject
* _resultobj
;
8455 PyObject
* _argo0
= 0;
8456 char *_kwnames
[] = { "self", NULL
};
8465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSizeTuple",_kwnames
,&_argo0
))
8468 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8469 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSizeTuple. Expected _wxDC_p.");
8475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8476 wxDC_GetSizeTuple(_arg0
,_arg1
,_arg2
);
8478 wxPyEndAllowThreads(__tstate
);
8479 if (PyErr_Occurred()) return NULL
;
8480 } Py_INCREF(Py_None
);
8481 _resultobj
= Py_None
;
8484 o
= PyInt_FromLong((long) (*_arg1
));
8485 _resultobj
= t_output_helper(_resultobj
, o
);
8489 o
= PyInt_FromLong((long) (*_arg2
));
8490 _resultobj
= t_output_helper(_resultobj
, o
);
8495 #define wxDC_GetSize(_swigobj) (_swigobj->GetSize())
8496 static PyObject
*_wrap_wxDC_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8497 PyObject
* _resultobj
;
8500 PyObject
* _argo0
= 0;
8501 char *_kwnames
[] = { "self", NULL
};
8505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSize",_kwnames
,&_argo0
))
8508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSize. Expected _wxDC_p.");
8515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8516 _result
= new wxSize (wxDC_GetSize(_arg0
));
8518 wxPyEndAllowThreads(__tstate
);
8519 if (PyErr_Occurred()) return NULL
;
8520 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
8521 _resultobj
= Py_BuildValue("s",_ptemp
);
8525 #define wxDC_GetSizeMM(_swigobj) (_swigobj->GetSizeMM())
8526 static PyObject
*_wrap_wxDC_GetSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8527 PyObject
* _resultobj
;
8530 PyObject
* _argo0
= 0;
8531 char *_kwnames
[] = { "self", NULL
};
8535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSizeMM",_kwnames
,&_argo0
))
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_GetSizeMM. Expected _wxDC_p.");
8545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8546 _result
= new wxSize (wxDC_GetSizeMM(_arg0
));
8548 wxPyEndAllowThreads(__tstate
);
8549 if (PyErr_Occurred()) return NULL
;
8550 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
8551 _resultobj
= Py_BuildValue("s",_ptemp
);
8555 #define wxDC_GetTextBackground(_swigobj) (_swigobj->GetTextBackground())
8556 static PyObject
*_wrap_wxDC_GetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8557 PyObject
* _resultobj
;
8560 PyObject
* _argo0
= 0;
8561 char *_kwnames
[] = { "self", NULL
};
8565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetTextBackground",_kwnames
,&_argo0
))
8568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextBackground. Expected _wxDC_p.");
8575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8576 _result
= new wxColour (wxDC_GetTextBackground(_arg0
));
8578 wxPyEndAllowThreads(__tstate
);
8579 if (PyErr_Occurred()) return NULL
;
8580 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
8581 _resultobj
= Py_BuildValue("s",_ptemp
);
8585 #define wxDC_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
8586 static PyObject
*_wrap_wxDC_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8587 PyObject
* _resultobj
;
8594 PyObject
* _argo0
= 0;
8595 PyObject
* _obj1
= 0;
8596 char *_kwnames
[] = { "self","string", NULL
};
8605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
8608 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8609 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextExtent. Expected _wxDC_p.");
8615 _arg1
= wxString_in_helper(_obj1
);
8620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8621 wxDC_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
8623 wxPyEndAllowThreads(__tstate
);
8624 if (PyErr_Occurred()) return NULL
;
8625 } Py_INCREF(Py_None
);
8626 _resultobj
= Py_None
;
8629 o
= PyInt_FromLong((long) (*_arg2
));
8630 _resultobj
= t_output_helper(_resultobj
, o
);
8634 o
= PyInt_FromLong((long) (*_arg3
));
8635 _resultobj
= t_output_helper(_resultobj
, o
);
8644 #define wxDC_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8645 static PyObject
*_wrap_wxDC_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8646 PyObject
* _resultobj
;
8657 wxFont
* _arg6
= (wxFont
*) NULL
;
8658 PyObject
* _argo0
= 0;
8659 PyObject
* _obj1
= 0;
8660 PyObject
* _argo6
= 0;
8661 char *_kwnames
[] = { "self","string","font", NULL
};
8676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxDC_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
8679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFullTextExtent. Expected _wxDC_p.");
8686 _arg1
= wxString_in_helper(_obj1
);
8691 if (_argo6
== Py_None
) { _arg6
= NULL
; }
8692 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
8693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxDC_GetFullTextExtent. Expected _wxFont_p.");
8698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8699 wxDC_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
8701 wxPyEndAllowThreads(__tstate
);
8702 if (PyErr_Occurred()) return NULL
;
8703 } Py_INCREF(Py_None
);
8704 _resultobj
= Py_None
;
8707 o
= PyInt_FromLong((long) (*_arg2
));
8708 _resultobj
= t_output_helper(_resultobj
, o
);
8712 o
= PyInt_FromLong((long) (*_arg3
));
8713 _resultobj
= t_output_helper(_resultobj
, o
);
8717 o
= PyInt_FromLong((long) (*_arg4
));
8718 _resultobj
= t_output_helper(_resultobj
, o
);
8722 o
= PyInt_FromLong((long) (*_arg5
));
8723 _resultobj
= t_output_helper(_resultobj
, o
);
8732 #define wxDC_GetTextForeground(_swigobj) (_swigobj->GetTextForeground())
8733 static PyObject
*_wrap_wxDC_GetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8734 PyObject
* _resultobj
;
8737 PyObject
* _argo0
= 0;
8738 char *_kwnames
[] = { "self", NULL
};
8742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetTextForeground",_kwnames
,&_argo0
))
8745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextForeground. Expected _wxDC_p.");
8752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8753 _result
= new wxColour (wxDC_GetTextForeground(_arg0
));
8755 wxPyEndAllowThreads(__tstate
);
8756 if (PyErr_Occurred()) return NULL
;
8757 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
8758 _resultobj
= Py_BuildValue("s",_ptemp
);
8762 #define wxDC_GetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetUserScale(_swigarg0,_swigarg1))
8763 static PyObject
*_wrap_wxDC_GetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8764 PyObject
* _resultobj
;
8770 PyObject
* _argo0
= 0;
8771 char *_kwnames
[] = { "self", NULL
};
8780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetUserScale",_kwnames
,&_argo0
))
8783 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8784 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetUserScale. Expected _wxDC_p.");
8790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8791 wxDC_GetUserScale(_arg0
,_arg1
,_arg2
);
8793 wxPyEndAllowThreads(__tstate
);
8794 if (PyErr_Occurred()) return NULL
;
8795 } Py_INCREF(Py_None
);
8796 _resultobj
= Py_None
;
8799 o
= PyFloat_FromDouble((double) (*_arg1
));
8800 _resultobj
= t_output_helper(_resultobj
, o
);
8804 o
= PyFloat_FromDouble((double) (*_arg2
));
8805 _resultobj
= t_output_helper(_resultobj
, o
);
8810 #define wxDC_LogicalToDeviceX(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceX(_swigarg0))
8811 static PyObject
*_wrap_wxDC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8812 PyObject
* _resultobj
;
8816 PyObject
* _argo0
= 0;
8817 char *_kwnames
[] = { "self","x", NULL
};
8820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceX",_kwnames
,&_argo0
,&_arg1
))
8823 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8824 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceX. Expected _wxDC_p.");
8830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8831 _result
= (long )wxDC_LogicalToDeviceX(_arg0
,_arg1
);
8833 wxPyEndAllowThreads(__tstate
);
8834 if (PyErr_Occurred()) return NULL
;
8835 } _resultobj
= Py_BuildValue("l",_result
);
8839 #define wxDC_LogicalToDeviceXRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceXRel(_swigarg0))
8840 static PyObject
*_wrap_wxDC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8841 PyObject
* _resultobj
;
8845 PyObject
* _argo0
= 0;
8846 char *_kwnames
[] = { "self","x", NULL
};
8849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceXRel",_kwnames
,&_argo0
,&_arg1
))
8852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceXRel. Expected _wxDC_p.");
8859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8860 _result
= (long )wxDC_LogicalToDeviceXRel(_arg0
,_arg1
);
8862 wxPyEndAllowThreads(__tstate
);
8863 if (PyErr_Occurred()) return NULL
;
8864 } _resultobj
= Py_BuildValue("l",_result
);
8868 #define wxDC_LogicalToDeviceY(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceY(_swigarg0))
8869 static PyObject
*_wrap_wxDC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8870 PyObject
* _resultobj
;
8874 PyObject
* _argo0
= 0;
8875 char *_kwnames
[] = { "self","y", NULL
};
8878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceY",_kwnames
,&_argo0
,&_arg1
))
8881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceY. Expected _wxDC_p.");
8888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8889 _result
= (long )wxDC_LogicalToDeviceY(_arg0
,_arg1
);
8891 wxPyEndAllowThreads(__tstate
);
8892 if (PyErr_Occurred()) return NULL
;
8893 } _resultobj
= Py_BuildValue("l",_result
);
8897 #define wxDC_LogicalToDeviceYRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceYRel(_swigarg0))
8898 static PyObject
*_wrap_wxDC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8899 PyObject
* _resultobj
;
8903 PyObject
* _argo0
= 0;
8904 char *_kwnames
[] = { "self","y", NULL
};
8907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceYRel",_kwnames
,&_argo0
,&_arg1
))
8910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceYRel. Expected _wxDC_p.");
8917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8918 _result
= (long )wxDC_LogicalToDeviceYRel(_arg0
,_arg1
);
8920 wxPyEndAllowThreads(__tstate
);
8921 if (PyErr_Occurred()) return NULL
;
8922 } _resultobj
= Py_BuildValue("l",_result
);
8926 #define wxDC_MaxX(_swigobj) (_swigobj->MaxX())
8927 static PyObject
*_wrap_wxDC_MaxX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8928 PyObject
* _resultobj
;
8931 PyObject
* _argo0
= 0;
8932 char *_kwnames
[] = { "self", NULL
};
8935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MaxX",_kwnames
,&_argo0
))
8938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxX. Expected _wxDC_p.");
8945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8946 _result
= (long )wxDC_MaxX(_arg0
);
8948 wxPyEndAllowThreads(__tstate
);
8949 if (PyErr_Occurred()) return NULL
;
8950 } _resultobj
= Py_BuildValue("l",_result
);
8954 #define wxDC_MaxY(_swigobj) (_swigobj->MaxY())
8955 static PyObject
*_wrap_wxDC_MaxY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8956 PyObject
* _resultobj
;
8959 PyObject
* _argo0
= 0;
8960 char *_kwnames
[] = { "self", NULL
};
8963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MaxY",_kwnames
,&_argo0
))
8966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxY. Expected _wxDC_p.");
8973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8974 _result
= (long )wxDC_MaxY(_arg0
);
8976 wxPyEndAllowThreads(__tstate
);
8977 if (PyErr_Occurred()) return NULL
;
8978 } _resultobj
= Py_BuildValue("l",_result
);
8982 #define wxDC_MinX(_swigobj) (_swigobj->MinX())
8983 static PyObject
*_wrap_wxDC_MinX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8984 PyObject
* _resultobj
;
8987 PyObject
* _argo0
= 0;
8988 char *_kwnames
[] = { "self", NULL
};
8991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MinX",_kwnames
,&_argo0
))
8994 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8995 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinX. Expected _wxDC_p.");
9001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9002 _result
= (long )wxDC_MinX(_arg0
);
9004 wxPyEndAllowThreads(__tstate
);
9005 if (PyErr_Occurred()) return NULL
;
9006 } _resultobj
= Py_BuildValue("l",_result
);
9010 #define wxDC_MinY(_swigobj) (_swigobj->MinY())
9011 static PyObject
*_wrap_wxDC_MinY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9012 PyObject
* _resultobj
;
9015 PyObject
* _argo0
= 0;
9016 char *_kwnames
[] = { "self", NULL
};
9019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MinY",_kwnames
,&_argo0
))
9022 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9023 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinY. Expected _wxDC_p.");
9029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9030 _result
= (long )wxDC_MinY(_arg0
);
9032 wxPyEndAllowThreads(__tstate
);
9033 if (PyErr_Occurred()) return NULL
;
9034 } _resultobj
= Py_BuildValue("l",_result
);
9038 #define wxDC_Ok(_swigobj) (_swigobj->Ok())
9039 static PyObject
*_wrap_wxDC_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9040 PyObject
* _resultobj
;
9043 PyObject
* _argo0
= 0;
9044 char *_kwnames
[] = { "self", NULL
};
9047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_Ok",_kwnames
,&_argo0
))
9050 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9051 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Ok. Expected _wxDC_p.");
9057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9058 _result
= (bool )wxDC_Ok(_arg0
);
9060 wxPyEndAllowThreads(__tstate
);
9061 if (PyErr_Occurred()) return NULL
;
9062 } _resultobj
= Py_BuildValue("i",_result
);
9066 #define wxDC_SetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDeviceOrigin(_swigarg0,_swigarg1))
9067 static PyObject
*_wrap_wxDC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9068 PyObject
* _resultobj
;
9072 PyObject
* _argo0
= 0;
9073 char *_kwnames
[] = { "self","x","y", NULL
};
9076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_SetDeviceOrigin",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetDeviceOrigin. Expected _wxDC_p.");
9086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9087 wxDC_SetDeviceOrigin(_arg0
,_arg1
,_arg2
);
9089 wxPyEndAllowThreads(__tstate
);
9090 if (PyErr_Occurred()) return NULL
;
9091 } Py_INCREF(Py_None
);
9092 _resultobj
= Py_None
;
9096 #define wxDC_SetBackground(_swigobj,_swigarg0) (_swigobj->SetBackground(_swigarg0))
9097 static PyObject
*_wrap_wxDC_SetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9098 PyObject
* _resultobj
;
9101 PyObject
* _argo0
= 0;
9102 PyObject
* _argo1
= 0;
9103 char *_kwnames
[] = { "self","brush", NULL
};
9106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetBackground",_kwnames
,&_argo0
,&_argo1
))
9109 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9110 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackground. Expected _wxDC_p.");
9116 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9117 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
9118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBackground. Expected _wxBrush_p.");
9123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9124 wxDC_SetBackground(_arg0
,*_arg1
);
9126 wxPyEndAllowThreads(__tstate
);
9127 if (PyErr_Occurred()) return NULL
;
9128 } Py_INCREF(Py_None
);
9129 _resultobj
= Py_None
;
9133 #define wxDC_SetBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetBackgroundMode(_swigarg0))
9134 static PyObject
*_wrap_wxDC_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9135 PyObject
* _resultobj
;
9138 PyObject
* _argo0
= 0;
9139 char *_kwnames
[] = { "self","mode", NULL
};
9142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetBackgroundMode",_kwnames
,&_argo0
,&_arg1
))
9145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackgroundMode. Expected _wxDC_p.");
9152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9153 wxDC_SetBackgroundMode(_arg0
,_arg1
);
9155 wxPyEndAllowThreads(__tstate
);
9156 if (PyErr_Occurred()) return NULL
;
9157 } Py_INCREF(Py_None
);
9158 _resultobj
= Py_None
;
9162 #define wxDC_SetClippingRegion(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetClippingRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9163 static PyObject
*_wrap_wxDC_SetClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9164 PyObject
* _resultobj
;
9170 PyObject
* _argo0
= 0;
9171 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
9174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_SetClippingRegion",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
9177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetClippingRegion. Expected _wxDC_p.");
9184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9185 wxDC_SetClippingRegion(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
9187 wxPyEndAllowThreads(__tstate
);
9188 if (PyErr_Occurred()) return NULL
;
9189 } Py_INCREF(Py_None
);
9190 _resultobj
= Py_None
;
9194 #define wxDC_SetClippingRegionAsRegion(_swigobj,_swigarg0) (_swigobj->SetClippingRegion(_swigarg0))
9195 static PyObject
*_wrap_wxDC_SetClippingRegionAsRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9196 PyObject
* _resultobj
;
9199 PyObject
* _argo0
= 0;
9200 PyObject
* _argo1
= 0;
9201 char *_kwnames
[] = { "self","region", NULL
};
9204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetClippingRegionAsRegion",_kwnames
,&_argo0
,&_argo1
))
9207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetClippingRegionAsRegion. Expected _wxDC_p.");
9214 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9215 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
9216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetClippingRegionAsRegion. Expected _wxRegion_p.");
9221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9222 wxDC_SetClippingRegionAsRegion(_arg0
,*_arg1
);
9224 wxPyEndAllowThreads(__tstate
);
9225 if (PyErr_Occurred()) return NULL
;
9226 } Py_INCREF(Py_None
);
9227 _resultobj
= Py_None
;
9231 #define wxDC_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
9232 static PyObject
*_wrap_wxDC_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9233 PyObject
* _resultobj
;
9236 PyObject
* _argo0
= 0;
9237 PyObject
* _argo1
= 0;
9238 char *_kwnames
[] = { "self","colourMap", NULL
};
9241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetPalette",_kwnames
,&_argo0
,&_argo1
))
9244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPalette. Expected _wxDC_p.");
9251 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9252 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPalette_p")) {
9253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPalette. Expected _wxPalette_p.");
9258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9259 wxDC_SetPalette(_arg0
,*_arg1
);
9261 wxPyEndAllowThreads(__tstate
);
9262 if (PyErr_Occurred()) return NULL
;
9263 } Py_INCREF(Py_None
);
9264 _resultobj
= Py_None
;
9268 #define wxDC_SetBrush(_swigobj,_swigarg0) (_swigobj->SetBrush(_swigarg0))
9269 static PyObject
*_wrap_wxDC_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9270 PyObject
* _resultobj
;
9273 PyObject
* _argo0
= 0;
9274 PyObject
* _argo1
= 0;
9275 char *_kwnames
[] = { "self","brush", NULL
};
9278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetBrush",_kwnames
,&_argo0
,&_argo1
))
9281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBrush. Expected _wxDC_p.");
9288 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9289 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
9290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBrush. Expected _wxBrush_p.");
9295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9296 wxDC_SetBrush(_arg0
,*_arg1
);
9298 wxPyEndAllowThreads(__tstate
);
9299 if (PyErr_Occurred()) return NULL
;
9300 } Py_INCREF(Py_None
);
9301 _resultobj
= Py_None
;
9305 #define wxDC_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
9306 static PyObject
*_wrap_wxDC_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9307 PyObject
* _resultobj
;
9310 PyObject
* _argo0
= 0;
9311 PyObject
* _argo1
= 0;
9312 char *_kwnames
[] = { "self","font", NULL
};
9315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetFont",_kwnames
,&_argo0
,&_argo1
))
9318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetFont. Expected _wxDC_p.");
9325 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9326 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
9327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetFont. Expected _wxFont_p.");
9332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9333 wxDC_SetFont(_arg0
,*_arg1
);
9335 wxPyEndAllowThreads(__tstate
);
9336 if (PyErr_Occurred()) return NULL
;
9337 } Py_INCREF(Py_None
);
9338 _resultobj
= Py_None
;
9342 #define wxDC_SetLogicalFunction(_swigobj,_swigarg0) (_swigobj->SetLogicalFunction(_swigarg0))
9343 static PyObject
*_wrap_wxDC_SetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9344 PyObject
* _resultobj
;
9347 PyObject
* _argo0
= 0;
9348 char *_kwnames
[] = { "self","function", NULL
};
9351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetLogicalFunction",_kwnames
,&_argo0
,&_arg1
))
9354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalFunction. Expected _wxDC_p.");
9361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9362 wxDC_SetLogicalFunction(_arg0
,_arg1
);
9364 wxPyEndAllowThreads(__tstate
);
9365 if (PyErr_Occurred()) return NULL
;
9366 } Py_INCREF(Py_None
);
9367 _resultobj
= Py_None
;
9371 #define wxDC_SetLogicalScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLogicalScale(_swigarg0,_swigarg1))
9372 static PyObject
*_wrap_wxDC_SetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9373 PyObject
* _resultobj
;
9377 PyObject
* _argo0
= 0;
9378 char *_kwnames
[] = { "self","x","y", NULL
};
9381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxDC_SetLogicalScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalScale. Expected _wxDC_p.");
9391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9392 wxDC_SetLogicalScale(_arg0
,_arg1
,_arg2
);
9394 wxPyEndAllowThreads(__tstate
);
9395 if (PyErr_Occurred()) return NULL
;
9396 } Py_INCREF(Py_None
);
9397 _resultobj
= Py_None
;
9401 #define wxDC_SetMapMode(_swigobj,_swigarg0) (_swigobj->SetMapMode(_swigarg0))
9402 static PyObject
*_wrap_wxDC_SetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9403 PyObject
* _resultobj
;
9406 PyObject
* _argo0
= 0;
9407 char *_kwnames
[] = { "self","mode", NULL
};
9410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetMapMode",_kwnames
,&_argo0
,&_arg1
))
9413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetMapMode. Expected _wxDC_p.");
9420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9421 wxDC_SetMapMode(_arg0
,_arg1
);
9423 wxPyEndAllowThreads(__tstate
);
9424 if (PyErr_Occurred()) return NULL
;
9425 } Py_INCREF(Py_None
);
9426 _resultobj
= Py_None
;
9430 #define wxDC_SetOptimization(_swigobj,_swigarg0) (_swigobj->SetOptimization(_swigarg0))
9431 static PyObject
*_wrap_wxDC_SetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9432 PyObject
* _resultobj
;
9435 PyObject
* _argo0
= 0;
9437 char *_kwnames
[] = { "self","optimize", NULL
};
9440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetOptimization",_kwnames
,&_argo0
,&tempbool1
))
9443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetOptimization. Expected _wxDC_p.");
9449 _arg1
= (bool ) tempbool1
;
9451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9452 wxDC_SetOptimization(_arg0
,_arg1
);
9454 wxPyEndAllowThreads(__tstate
);
9455 if (PyErr_Occurred()) return NULL
;
9456 } Py_INCREF(Py_None
);
9457 _resultobj
= Py_None
;
9461 #define wxDC_SetPen(_swigobj,_swigarg0) (_swigobj->SetPen(_swigarg0))
9462 static PyObject
*_wrap_wxDC_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9463 PyObject
* _resultobj
;
9466 PyObject
* _argo0
= 0;
9467 PyObject
* _argo1
= 0;
9468 char *_kwnames
[] = { "self","pen", NULL
};
9471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetPen",_kwnames
,&_argo0
,&_argo1
))
9474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPen. Expected _wxDC_p.");
9481 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9482 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
9483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPen. Expected _wxPen_p.");
9488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9489 wxDC_SetPen(_arg0
,*_arg1
);
9491 wxPyEndAllowThreads(__tstate
);
9492 if (PyErr_Occurred()) return NULL
;
9493 } Py_INCREF(Py_None
);
9494 _resultobj
= Py_None
;
9498 #define wxDC_SetTextBackground(_swigobj,_swigarg0) (_swigobj->SetTextBackground(_swigarg0))
9499 static PyObject
*_wrap_wxDC_SetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9500 PyObject
* _resultobj
;
9503 PyObject
* _argo0
= 0;
9505 PyObject
* _obj1
= 0;
9506 char *_kwnames
[] = { "self","colour", NULL
};
9509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetTextBackground",_kwnames
,&_argo0
,&_obj1
))
9512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextBackground. Expected _wxDC_p.");
9520 if (! wxColour_helper(_obj1
, &_arg1
))
9524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9525 wxDC_SetTextBackground(_arg0
,*_arg1
);
9527 wxPyEndAllowThreads(__tstate
);
9528 if (PyErr_Occurred()) return NULL
;
9529 } Py_INCREF(Py_None
);
9530 _resultobj
= Py_None
;
9534 #define wxDC_SetTextForeground(_swigobj,_swigarg0) (_swigobj->SetTextForeground(_swigarg0))
9535 static PyObject
*_wrap_wxDC_SetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9536 PyObject
* _resultobj
;
9539 PyObject
* _argo0
= 0;
9541 PyObject
* _obj1
= 0;
9542 char *_kwnames
[] = { "self","colour", NULL
};
9545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetTextForeground",_kwnames
,&_argo0
,&_obj1
))
9548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextForeground. Expected _wxDC_p.");
9556 if (! wxColour_helper(_obj1
, &_arg1
))
9560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9561 wxDC_SetTextForeground(_arg0
,*_arg1
);
9563 wxPyEndAllowThreads(__tstate
);
9564 if (PyErr_Occurred()) return NULL
;
9565 } Py_INCREF(Py_None
);
9566 _resultobj
= Py_None
;
9570 #define wxDC_SetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetUserScale(_swigarg0,_swigarg1))
9571 static PyObject
*_wrap_wxDC_SetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9572 PyObject
* _resultobj
;
9576 PyObject
* _argo0
= 0;
9577 char *_kwnames
[] = { "self","x_scale","y_scale", NULL
};
9580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxDC_SetUserScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetUserScale. Expected _wxDC_p.");
9590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9591 wxDC_SetUserScale(_arg0
,_arg1
,_arg2
);
9593 wxPyEndAllowThreads(__tstate
);
9594 if (PyErr_Occurred()) return NULL
;
9595 } Py_INCREF(Py_None
);
9596 _resultobj
= Py_None
;
9600 #define wxDC_StartDoc(_swigobj,_swigarg0) (_swigobj->StartDoc(_swigarg0))
9601 static PyObject
*_wrap_wxDC_StartDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9602 PyObject
* _resultobj
;
9606 PyObject
* _argo0
= 0;
9607 PyObject
* _obj1
= 0;
9608 char *_kwnames
[] = { "self","message", NULL
};
9611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_StartDoc",_kwnames
,&_argo0
,&_obj1
))
9614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartDoc. Expected _wxDC_p.");
9621 _arg1
= wxString_in_helper(_obj1
);
9626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9627 _result
= (bool )wxDC_StartDoc(_arg0
,*_arg1
);
9629 wxPyEndAllowThreads(__tstate
);
9630 if (PyErr_Occurred()) return NULL
;
9631 } _resultobj
= Py_BuildValue("i",_result
);
9639 #define wxDC_StartPage(_swigobj) (_swigobj->StartPage())
9640 static PyObject
*_wrap_wxDC_StartPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9641 PyObject
* _resultobj
;
9643 PyObject
* _argo0
= 0;
9644 char *_kwnames
[] = { "self", NULL
};
9647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_StartPage",_kwnames
,&_argo0
))
9650 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9651 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartPage. Expected _wxDC_p.");
9657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9658 wxDC_StartPage(_arg0
);
9660 wxPyEndAllowThreads(__tstate
);
9661 if (PyErr_Occurred()) return NULL
;
9662 } Py_INCREF(Py_None
);
9663 _resultobj
= Py_None
;
9667 #define wxDC_DrawBitmap(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9668 static PyObject
*_wrap_wxDC_DrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9669 PyObject
* _resultobj
;
9674 int _arg4
= (int ) FALSE
;
9675 PyObject
* _argo0
= 0;
9676 PyObject
* _argo1
= 0;
9677 char *_kwnames
[] = { "self","bitmap","x","y","useMask", NULL
};
9680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll|i:wxDC_DrawBitmap",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
))
9683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawBitmap. Expected _wxDC_p.");
9690 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9691 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
9692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawBitmap. Expected _wxBitmap_p.");
9697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9698 wxDC_DrawBitmap(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
9700 wxPyEndAllowThreads(__tstate
);
9701 if (PyErr_Occurred()) return NULL
;
9702 } Py_INCREF(Py_None
);
9703 _resultobj
= Py_None
;
9707 #define wxDC_CanDrawBitmap(_swigobj) (_swigobj->CanDrawBitmap())
9708 static PyObject
*_wrap_wxDC_CanDrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9709 PyObject
* _resultobj
;
9712 PyObject
* _argo0
= 0;
9713 char *_kwnames
[] = { "self", NULL
};
9716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_CanDrawBitmap",_kwnames
,&_argo0
))
9719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CanDrawBitmap. Expected _wxDC_p.");
9726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9727 _result
= (bool )wxDC_CanDrawBitmap(_arg0
);
9729 wxPyEndAllowThreads(__tstate
);
9730 if (PyErr_Occurred()) return NULL
;
9731 } _resultobj
= Py_BuildValue("i",_result
);
9735 #define wxDC_CanGetTextExtent(_swigobj) (_swigobj->CanGetTextExtent())
9736 static PyObject
*_wrap_wxDC_CanGetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9737 PyObject
* _resultobj
;
9740 PyObject
* _argo0
= 0;
9741 char *_kwnames
[] = { "self", NULL
};
9744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_CanGetTextExtent",_kwnames
,&_argo0
))
9747 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9748 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CanGetTextExtent. Expected _wxDC_p.");
9754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9755 _result
= (bool )wxDC_CanGetTextExtent(_arg0
);
9757 wxPyEndAllowThreads(__tstate
);
9758 if (PyErr_Occurred()) return NULL
;
9759 } _resultobj
= Py_BuildValue("i",_result
);
9763 #define wxDC_GetDepth(_swigobj) (_swigobj->GetDepth())
9764 static PyObject
*_wrap_wxDC_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9765 PyObject
* _resultobj
;
9768 PyObject
* _argo0
= 0;
9769 char *_kwnames
[] = { "self", NULL
};
9772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetDepth",_kwnames
,&_argo0
))
9775 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9776 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetDepth. Expected _wxDC_p.");
9782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9783 _result
= (int )wxDC_GetDepth(_arg0
);
9785 wxPyEndAllowThreads(__tstate
);
9786 if (PyErr_Occurred()) return NULL
;
9787 } _resultobj
= Py_BuildValue("i",_result
);
9791 #define wxDC_GetPPI(_swigobj) (_swigobj->GetPPI())
9792 static PyObject
*_wrap_wxDC_GetPPI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9793 PyObject
* _resultobj
;
9796 PyObject
* _argo0
= 0;
9797 char *_kwnames
[] = { "self", NULL
};
9801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetPPI",_kwnames
,&_argo0
))
9804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPPI. Expected _wxDC_p.");
9811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9812 _result
= new wxSize (wxDC_GetPPI(_arg0
));
9814 wxPyEndAllowThreads(__tstate
);
9815 if (PyErr_Occurred()) return NULL
;
9816 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
9817 _resultobj
= Py_BuildValue("s",_ptemp
);
9821 #define wxDC_GetLogicalOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLogicalOrigin(_swigarg0,_swigarg1))
9822 static PyObject
*_wrap_wxDC_GetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9823 PyObject
* _resultobj
;
9829 PyObject
* _argo0
= 0;
9830 char *_kwnames
[] = { "self", NULL
};
9839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalOrigin",_kwnames
,&_argo0
))
9842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalOrigin. Expected _wxDC_p.");
9849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9850 wxDC_GetLogicalOrigin(_arg0
,_arg1
,_arg2
);
9852 wxPyEndAllowThreads(__tstate
);
9853 if (PyErr_Occurred()) return NULL
;
9854 } Py_INCREF(Py_None
);
9855 _resultobj
= Py_None
;
9858 o
= PyInt_FromLong((long) (*_arg1
));
9859 _resultobj
= t_output_helper(_resultobj
, o
);
9863 o
= PyInt_FromLong((long) (*_arg2
));
9864 _resultobj
= t_output_helper(_resultobj
, o
);
9869 #define wxDC_SetLogicalOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLogicalOrigin(_swigarg0,_swigarg1))
9870 static PyObject
*_wrap_wxDC_SetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9871 PyObject
* _resultobj
;
9875 PyObject
* _argo0
= 0;
9876 char *_kwnames
[] = { "self","x","y", NULL
};
9879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_SetLogicalOrigin",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalOrigin. Expected _wxDC_p.");
9889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9890 wxDC_SetLogicalOrigin(_arg0
,_arg1
,_arg2
);
9892 wxPyEndAllowThreads(__tstate
);
9893 if (PyErr_Occurred()) return NULL
;
9894 } Py_INCREF(Py_None
);
9895 _resultobj
= Py_None
;
9899 #define wxDC_GetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDeviceOrigin(_swigarg0,_swigarg1))
9900 static PyObject
*_wrap_wxDC_GetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9901 PyObject
* _resultobj
;
9907 PyObject
* _argo0
= 0;
9908 char *_kwnames
[] = { "self", NULL
};
9917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetDeviceOrigin",_kwnames
,&_argo0
))
9920 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9921 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetDeviceOrigin. Expected _wxDC_p.");
9927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9928 wxDC_GetDeviceOrigin(_arg0
,_arg1
,_arg2
);
9930 wxPyEndAllowThreads(__tstate
);
9931 if (PyErr_Occurred()) return NULL
;
9932 } Py_INCREF(Py_None
);
9933 _resultobj
= Py_None
;
9936 o
= PyInt_FromLong((long) (*_arg1
));
9937 _resultobj
= t_output_helper(_resultobj
, o
);
9941 o
= PyInt_FromLong((long) (*_arg2
));
9942 _resultobj
= t_output_helper(_resultobj
, o
);
9947 #define wxDC_SetAxisOrientation(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAxisOrientation(_swigarg0,_swigarg1))
9948 static PyObject
*_wrap_wxDC_SetAxisOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9949 PyObject
* _resultobj
;
9953 PyObject
* _argo0
= 0;
9956 char *_kwnames
[] = { "self","xLeftRight","yBottomUp", NULL
};
9959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_SetAxisOrientation",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
9962 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9963 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetAxisOrientation. Expected _wxDC_p.");
9968 _arg1
= (bool ) tempbool1
;
9969 _arg2
= (bool ) tempbool2
;
9971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9972 wxDC_SetAxisOrientation(_arg0
,_arg1
,_arg2
);
9974 wxPyEndAllowThreads(__tstate
);
9975 if (PyErr_Occurred()) return NULL
;
9976 } Py_INCREF(Py_None
);
9977 _resultobj
= Py_None
;
9981 #define wxDC_CalcBoundingBox(_swigobj,_swigarg0,_swigarg1) (_swigobj->CalcBoundingBox(_swigarg0,_swigarg1))
9982 static PyObject
*_wrap_wxDC_CalcBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9983 PyObject
* _resultobj
;
9987 PyObject
* _argo0
= 0;
9988 char *_kwnames
[] = { "self","x","y", NULL
};
9991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_CalcBoundingBox",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9994 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9995 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CalcBoundingBox. Expected _wxDC_p.");
10001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10002 wxDC_CalcBoundingBox(_arg0
,_arg1
,_arg2
);
10004 wxPyEndAllowThreads(__tstate
);
10005 if (PyErr_Occurred()) return NULL
;
10006 } Py_INCREF(Py_None
);
10007 _resultobj
= Py_None
;
10011 #define wxDC_ResetBoundingBox(_swigobj) (_swigobj->ResetBoundingBox())
10012 static PyObject
*_wrap_wxDC_ResetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10013 PyObject
* _resultobj
;
10015 PyObject
* _argo0
= 0;
10016 char *_kwnames
[] = { "self", NULL
};
10019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_ResetBoundingBox",_kwnames
,&_argo0
))
10022 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10023 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
10024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_ResetBoundingBox. Expected _wxDC_p.");
10029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10030 wxDC_ResetBoundingBox(_arg0
);
10032 wxPyEndAllowThreads(__tstate
);
10033 if (PyErr_Occurred()) return NULL
;
10034 } Py_INCREF(Py_None
);
10035 _resultobj
= Py_None
;
10039 static PyObject
*_wrap_wxDC_GetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10040 PyObject
* _resultobj
;
10050 PyObject
* _argo0
= 0;
10051 char *_kwnames
[] = { "self", NULL
};
10066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBoundingBox",_kwnames
,&_argo0
))
10069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
10071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBoundingBox. Expected _wxDC_p.");
10076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10077 wxDC_GetBoundingBox(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
10079 wxPyEndAllowThreads(__tstate
);
10080 if (PyErr_Occurred()) return NULL
;
10081 } Py_INCREF(Py_None
);
10082 _resultobj
= Py_None
;
10085 o
= PyInt_FromLong((long) (*_arg1
));
10086 _resultobj
= t_output_helper(_resultobj
, o
);
10090 o
= PyInt_FromLong((long) (*_arg2
));
10091 _resultobj
= t_output_helper(_resultobj
, o
);
10095 o
= PyInt_FromLong((long) (*_arg3
));
10096 _resultobj
= t_output_helper(_resultobj
, o
);
10100 o
= PyInt_FromLong((long) (*_arg4
));
10101 _resultobj
= t_output_helper(_resultobj
, o
);
10106 #define wxDC_GetHDC(_swigobj) (_swigobj->GetHDC())
10107 static PyObject
*_wrap_wxDC_GetHDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10108 PyObject
* _resultobj
;
10111 PyObject
* _argo0
= 0;
10112 char *_kwnames
[] = { "self", NULL
};
10115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetHDC",_kwnames
,&_argo0
))
10118 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10119 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
10120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetHDC. Expected _wxDC_p.");
10125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10126 _result
= (long )wxDC_GetHDC(_arg0
);
10128 wxPyEndAllowThreads(__tstate
);
10129 if (PyErr_Occurred()) return NULL
;
10130 } _resultobj
= Py_BuildValue("l",_result
);
10134 static PyObject
* wxDC__DrawPointList(wxDC
*self
,PyObject
* pyPoints
,PyObject
* pyPens
) {
10135 bool isFastSeq
= PyList_Check(pyPoints
) || PyTuple_Check(pyPoints
);
10136 bool isFastPens
= PyList_Check(pyPens
) || PyTuple_Check(pyPens
);
10144 if (!PySequence_Check(pyPoints
)) {
10147 if (!PySequence_Check(pyPens
)) {
10150 numObjs
= PySequence_Length(pyPoints
);
10151 numPens
= PySequence_Length(pyPens
);
10153 for (i
= 0; i
< numObjs
; i
++) {
10157 obj
= PySequence_Fast_GET_ITEM(pyPens
, i
);
10160 obj
= PySequence_GetItem(pyPens
, i
);
10162 if (SWIG_GetPtrObj(obj
, (void **) &pen
, "_wxPen_p")) {
10168 self
->SetPen(*pen
);
10173 // Get the point coordinants
10175 obj
= PySequence_Fast_GET_ITEM(pyPoints
, i
);
10178 obj
= PySequence_GetItem(pyPoints
, i
);
10180 if (! _2int_seq_helper(obj
, &x1
, &y1
)) {
10186 // Now draw the point
10187 self
->DrawPoint(x1
, y1
);
10193 Py_INCREF(Py_None
);
10197 PyErr_SetString(PyExc_TypeError
, "Expected a sequence of wxPens");
10200 PyErr_SetString(PyExc_TypeError
, "Expected a sequence of (x,y) sequences.");
10203 static PyObject
*_wrap_wxDC__DrawPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10204 PyObject
* _resultobj
;
10205 PyObject
* _result
;
10209 PyObject
* _argo0
= 0;
10210 PyObject
* _obj1
= 0;
10211 PyObject
* _obj2
= 0;
10212 char *_kwnames
[] = { "self","pyPoints","pyPens", NULL
};
10215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDC__DrawPointList",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
10218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
10220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC__DrawPointList. Expected _wxDC_p.");
10231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10232 _result
= (PyObject
*)wxDC__DrawPointList(_arg0
,_arg1
,_arg2
);
10234 wxPyEndAllowThreads(__tstate
);
10235 if (PyErr_Occurred()) return NULL
;
10237 _resultobj
= _result
;
10242 static PyObject
* wxDC__DrawLineList(wxDC
*self
,PyObject
* pyLines
,PyObject
* pyPens
) {
10243 bool isFastSeq
= PyList_Check(pyLines
) || PyTuple_Check(pyLines
);
10244 bool isFastPens
= PyList_Check(pyPens
) || PyTuple_Check(pyPens
);
10249 int x1
, y1
, x2
, y2
;
10252 if (!PySequence_Check(pyLines
)) {
10255 if (!PySequence_Check(pyPens
)) {
10258 numObjs
= PySequence_Length(pyLines
);
10259 numPens
= PySequence_Length(pyPens
);
10261 for (i
= 0; i
< numObjs
; i
++) {
10265 obj
= PySequence_Fast_GET_ITEM(pyPens
, i
);
10268 obj
= PySequence_GetItem(pyPens
, i
);
10270 if (SWIG_GetPtrObj(obj
, (void **) &pen
, "_wxPen_p")) {
10276 self
->SetPen(*pen
);
10281 // Get the line coordinants
10283 obj
= PySequence_Fast_GET_ITEM(pyLines
, i
);
10286 obj
= PySequence_GetItem(pyLines
, i
);
10288 if (! _4int_seq_helper(obj
, &x1
, &y1
, &x2
, &y2
)) {
10294 // Now draw the line
10295 self
->DrawLine(x1
, y1
, x2
, y2
);
10301 Py_INCREF(Py_None
);
10305 PyErr_SetString(PyExc_TypeError
, "Expected a sequence of wxPens");
10308 PyErr_SetString(PyExc_TypeError
, "Expected a sequence of (x1,y1, x2,y2) sequences.");
10311 static PyObject
*_wrap_wxDC__DrawLineList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10312 PyObject
* _resultobj
;
10313 PyObject
* _result
;
10317 PyObject
* _argo0
= 0;
10318 PyObject
* _obj1
= 0;
10319 PyObject
* _obj2
= 0;
10320 char *_kwnames
[] = { "self","pyLines","pyPens", NULL
};
10323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDC__DrawLineList",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
10326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
10328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC__DrawLineList. Expected _wxDC_p.");
10339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10340 _result
= (PyObject
*)wxDC__DrawLineList(_arg0
,_arg1
,_arg2
);
10342 wxPyEndAllowThreads(__tstate
);
10343 if (PyErr_Occurred()) return NULL
;
10345 _resultobj
= _result
;
10350 static void *SwigwxMemoryDCTowxDC(void *ptr
) {
10353 src
= (wxMemoryDC
*) ptr
;
10354 dest
= (wxDC
*) src
;
10355 return (void *) dest
;
10358 static void *SwigwxMemoryDCTowxObject(void *ptr
) {
10361 src
= (wxMemoryDC
*) ptr
;
10362 dest
= (wxObject
*) src
;
10363 return (void *) dest
;
10366 #define new_wxMemoryDC() (new wxMemoryDC())
10367 static PyObject
*_wrap_new_wxMemoryDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10368 PyObject
* _resultobj
;
10369 wxMemoryDC
* _result
;
10370 char *_kwnames
[] = { NULL
};
10374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMemoryDC",_kwnames
))
10377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10378 _result
= (wxMemoryDC
*)new_wxMemoryDC();
10380 wxPyEndAllowThreads(__tstate
);
10381 if (PyErr_Occurred()) return NULL
;
10383 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
10384 _resultobj
= Py_BuildValue("s",_ptemp
);
10386 Py_INCREF(Py_None
);
10387 _resultobj
= Py_None
;
10392 #define wxMemoryDC_SelectObject(_swigobj,_swigarg0) (_swigobj->SelectObject(_swigarg0))
10393 static PyObject
*_wrap_wxMemoryDC_SelectObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10394 PyObject
* _resultobj
;
10395 wxMemoryDC
* _arg0
;
10397 PyObject
* _argo0
= 0;
10398 PyObject
* _argo1
= 0;
10399 char *_kwnames
[] = { "self","bitmap", NULL
};
10402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMemoryDC_SelectObject",_kwnames
,&_argo0
,&_argo1
))
10405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMemoryDC_p")) {
10407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDC_SelectObject. Expected _wxMemoryDC_p.");
10412 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10413 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
10414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMemoryDC_SelectObject. Expected _wxBitmap_p.");
10419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10420 wxMemoryDC_SelectObject(_arg0
,*_arg1
);
10422 wxPyEndAllowThreads(__tstate
);
10423 if (PyErr_Occurred()) return NULL
;
10424 } Py_INCREF(Py_None
);
10425 _resultobj
= Py_None
;
10429 static void *SwigwxScreenDCTowxDC(void *ptr
) {
10432 src
= (wxScreenDC
*) ptr
;
10433 dest
= (wxDC
*) src
;
10434 return (void *) dest
;
10437 static void *SwigwxScreenDCTowxObject(void *ptr
) {
10440 src
= (wxScreenDC
*) ptr
;
10441 dest
= (wxObject
*) src
;
10442 return (void *) dest
;
10445 #define new_wxScreenDC() (new wxScreenDC())
10446 static PyObject
*_wrap_new_wxScreenDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10447 PyObject
* _resultobj
;
10448 wxScreenDC
* _result
;
10449 char *_kwnames
[] = { NULL
};
10453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxScreenDC",_kwnames
))
10456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10457 _result
= (wxScreenDC
*)new_wxScreenDC();
10459 wxPyEndAllowThreads(__tstate
);
10460 if (PyErr_Occurred()) return NULL
;
10462 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScreenDC_p");
10463 _resultobj
= Py_BuildValue("s",_ptemp
);
10465 Py_INCREF(Py_None
);
10466 _resultobj
= Py_None
;
10471 #define wxScreenDC_StartDrawingOnTopWin(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
10472 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTopWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10473 PyObject
* _resultobj
;
10475 wxScreenDC
* _arg0
;
10477 PyObject
* _argo0
= 0;
10478 PyObject
* _argo1
= 0;
10479 char *_kwnames
[] = { "self","window", NULL
};
10482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScreenDC_StartDrawingOnTopWin",_kwnames
,&_argo0
,&_argo1
))
10485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
10487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTopWin. Expected _wxScreenDC_p.");
10492 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10493 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
10494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScreenDC_StartDrawingOnTopWin. Expected _wxWindow_p.");
10499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10500 _result
= (bool )wxScreenDC_StartDrawingOnTopWin(_arg0
,_arg1
);
10502 wxPyEndAllowThreads(__tstate
);
10503 if (PyErr_Occurred()) return NULL
;
10504 } _resultobj
= Py_BuildValue("i",_result
);
10508 #define wxScreenDC_StartDrawingOnTop(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
10509 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10510 PyObject
* _resultobj
;
10512 wxScreenDC
* _arg0
;
10513 wxRect
* _arg1
= (wxRect
*) NULL
;
10514 PyObject
* _argo0
= 0;
10516 PyObject
* _obj1
= 0;
10517 char *_kwnames
[] = { "self","rect", NULL
};
10520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxScreenDC_StartDrawingOnTop",_kwnames
,&_argo0
,&_obj1
))
10523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
10525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTop. Expected _wxScreenDC_p.");
10532 if (! wxRect_helper(_obj1
, &_arg1
))
10536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10537 _result
= (bool )wxScreenDC_StartDrawingOnTop(_arg0
,_arg1
);
10539 wxPyEndAllowThreads(__tstate
);
10540 if (PyErr_Occurred()) return NULL
;
10541 } _resultobj
= Py_BuildValue("i",_result
);
10545 #define wxScreenDC_EndDrawingOnTop(_swigobj) (_swigobj->EndDrawingOnTop())
10546 static PyObject
*_wrap_wxScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10547 PyObject
* _resultobj
;
10549 wxScreenDC
* _arg0
;
10550 PyObject
* _argo0
= 0;
10551 char *_kwnames
[] = { "self", NULL
};
10554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScreenDC_EndDrawingOnTop",_kwnames
,&_argo0
))
10557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
10559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_EndDrawingOnTop. Expected _wxScreenDC_p.");
10564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10565 _result
= (bool )wxScreenDC_EndDrawingOnTop(_arg0
);
10567 wxPyEndAllowThreads(__tstate
);
10568 if (PyErr_Occurred()) return NULL
;
10569 } _resultobj
= Py_BuildValue("i",_result
);
10573 static void *SwigwxClientDCTowxDC(void *ptr
) {
10576 src
= (wxClientDC
*) ptr
;
10577 dest
= (wxDC
*) src
;
10578 return (void *) dest
;
10581 static void *SwigwxClientDCTowxObject(void *ptr
) {
10584 src
= (wxClientDC
*) ptr
;
10585 dest
= (wxObject
*) src
;
10586 return (void *) dest
;
10589 #define new_wxClientDC(_swigarg0) (new wxClientDC(_swigarg0))
10590 static PyObject
*_wrap_new_wxClientDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10591 PyObject
* _resultobj
;
10592 wxClientDC
* _result
;
10594 PyObject
* _argo0
= 0;
10595 char *_kwnames
[] = { "win", NULL
};
10599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxClientDC",_kwnames
,&_argo0
))
10602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
10604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxClientDC. Expected _wxWindow_p.");
10609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10610 _result
= (wxClientDC
*)new_wxClientDC(_arg0
);
10612 wxPyEndAllowThreads(__tstate
);
10613 if (PyErr_Occurred()) return NULL
;
10615 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxClientDC_p");
10616 _resultobj
= Py_BuildValue("s",_ptemp
);
10618 Py_INCREF(Py_None
);
10619 _resultobj
= Py_None
;
10624 static void *SwigwxPaintDCTowxDC(void *ptr
) {
10627 src
= (wxPaintDC
*) ptr
;
10628 dest
= (wxDC
*) src
;
10629 return (void *) dest
;
10632 static void *SwigwxPaintDCTowxObject(void *ptr
) {
10635 src
= (wxPaintDC
*) ptr
;
10636 dest
= (wxObject
*) src
;
10637 return (void *) dest
;
10640 #define new_wxPaintDC(_swigarg0) (new wxPaintDC(_swigarg0))
10641 static PyObject
*_wrap_new_wxPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10642 PyObject
* _resultobj
;
10643 wxPaintDC
* _result
;
10645 PyObject
* _argo0
= 0;
10646 char *_kwnames
[] = { "win", NULL
};
10650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPaintDC",_kwnames
,&_argo0
))
10653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
10655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPaintDC. Expected _wxWindow_p.");
10660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10661 _result
= (wxPaintDC
*)new_wxPaintDC(_arg0
);
10663 wxPyEndAllowThreads(__tstate
);
10664 if (PyErr_Occurred()) return NULL
;
10666 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPaintDC_p");
10667 _resultobj
= Py_BuildValue("s",_ptemp
);
10669 Py_INCREF(Py_None
);
10670 _resultobj
= Py_None
;
10675 static void *SwigwxWindowDCTowxDC(void *ptr
) {
10678 src
= (wxWindowDC
*) ptr
;
10679 dest
= (wxDC
*) src
;
10680 return (void *) dest
;
10683 static void *SwigwxWindowDCTowxObject(void *ptr
) {
10686 src
= (wxWindowDC
*) ptr
;
10687 dest
= (wxObject
*) src
;
10688 return (void *) dest
;
10691 #define new_wxWindowDC(_swigarg0) (new wxWindowDC(_swigarg0))
10692 static PyObject
*_wrap_new_wxWindowDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10693 PyObject
* _resultobj
;
10694 wxWindowDC
* _result
;
10696 PyObject
* _argo0
= 0;
10697 char *_kwnames
[] = { "win", NULL
};
10701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxWindowDC",_kwnames
,&_argo0
))
10704 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10705 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
10706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDC. Expected _wxWindow_p.");
10711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10712 _result
= (wxWindowDC
*)new_wxWindowDC(_arg0
);
10714 wxPyEndAllowThreads(__tstate
);
10715 if (PyErr_Occurred()) return NULL
;
10717 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDC_p");
10718 _resultobj
= Py_BuildValue("s",_ptemp
);
10720 Py_INCREF(Py_None
);
10721 _resultobj
= Py_None
;
10726 static void *SwigwxMetaFileTowxObject(void *ptr
) {
10729 src
= (wxMetaFile
*) ptr
;
10730 dest
= (wxObject
*) src
;
10731 return (void *) dest
;
10734 #define new_wxMetaFile(_swigarg0) (new wxMetaFile(_swigarg0))
10735 static PyObject
*_wrap_new_wxMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10736 PyObject
* _resultobj
;
10737 wxMetaFile
* _result
;
10738 wxString
* _arg0
= (wxString
*) &wxEmptyString
;
10739 PyObject
* _obj0
= 0;
10740 char *_kwnames
[] = { "filename", NULL
};
10744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxMetaFile",_kwnames
,&_obj0
))
10748 _arg0
= wxString_in_helper(_obj0
);
10753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10754 _result
= (wxMetaFile
*)new_wxMetaFile(*_arg0
);
10756 wxPyEndAllowThreads(__tstate
);
10757 if (PyErr_Occurred()) return NULL
;
10759 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMetaFile_p");
10760 _resultobj
= Py_BuildValue("s",_ptemp
);
10762 Py_INCREF(Py_None
);
10763 _resultobj
= Py_None
;
10772 #define delete_wxMetaFile(_swigobj) (delete _swigobj)
10773 static PyObject
*_wrap_delete_wxMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10774 PyObject
* _resultobj
;
10775 wxMetaFile
* _arg0
;
10776 PyObject
* _argo0
= 0;
10777 char *_kwnames
[] = { "self", NULL
};
10780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMetaFile",_kwnames
,&_argo0
))
10783 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10784 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMetaFile_p")) {
10785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMetaFile. Expected _wxMetaFile_p.");
10790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10791 delete_wxMetaFile(_arg0
);
10793 wxPyEndAllowThreads(__tstate
);
10794 if (PyErr_Occurred()) return NULL
;
10795 } Py_INCREF(Py_None
);
10796 _resultobj
= Py_None
;
10800 #define wxMetaFile_Ok(_swigobj) (_swigobj->Ok())
10801 static PyObject
*_wrap_wxMetaFile_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10802 PyObject
* _resultobj
;
10804 wxMetaFile
* _arg0
;
10805 PyObject
* _argo0
= 0;
10806 char *_kwnames
[] = { "self", NULL
};
10809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMetaFile_Ok",_kwnames
,&_argo0
))
10812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMetaFile_p")) {
10814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMetaFile_Ok. Expected _wxMetaFile_p.");
10819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10820 _result
= (bool )wxMetaFile_Ok(_arg0
);
10822 wxPyEndAllowThreads(__tstate
);
10823 if (PyErr_Occurred()) return NULL
;
10824 } _resultobj
= Py_BuildValue("i",_result
);
10828 #define wxMetaFile_SetClipboard(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClipboard(_swigarg0,_swigarg1))
10829 static PyObject
*_wrap_wxMetaFile_SetClipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10830 PyObject
* _resultobj
;
10832 wxMetaFile
* _arg0
;
10833 int _arg1
= (int ) 0;
10834 int _arg2
= (int ) 0;
10835 PyObject
* _argo0
= 0;
10836 char *_kwnames
[] = { "self","width","height", NULL
};
10839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxMetaFile_SetClipboard",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMetaFile_p")) {
10844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMetaFile_SetClipboard. Expected _wxMetaFile_p.");
10849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10850 _result
= (bool )wxMetaFile_SetClipboard(_arg0
,_arg1
,_arg2
);
10852 wxPyEndAllowThreads(__tstate
);
10853 if (PyErr_Occurred()) return NULL
;
10854 } _resultobj
= Py_BuildValue("i",_result
);
10858 #define wxMetaFile_GetSize(_swigobj) (_swigobj->GetSize())
10859 static PyObject
*_wrap_wxMetaFile_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10860 PyObject
* _resultobj
;
10862 wxMetaFile
* _arg0
;
10863 PyObject
* _argo0
= 0;
10864 char *_kwnames
[] = { "self", NULL
};
10868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMetaFile_GetSize",_kwnames
,&_argo0
))
10871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMetaFile_p")) {
10873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMetaFile_GetSize. Expected _wxMetaFile_p.");
10878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10879 _result
= new wxSize (wxMetaFile_GetSize(_arg0
));
10881 wxPyEndAllowThreads(__tstate
);
10882 if (PyErr_Occurred()) return NULL
;
10883 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
10884 _resultobj
= Py_BuildValue("s",_ptemp
);
10888 #define wxMetaFile_GetWidth(_swigobj) (_swigobj->GetWidth())
10889 static PyObject
*_wrap_wxMetaFile_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10890 PyObject
* _resultobj
;
10892 wxMetaFile
* _arg0
;
10893 PyObject
* _argo0
= 0;
10894 char *_kwnames
[] = { "self", NULL
};
10897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMetaFile_GetWidth",_kwnames
,&_argo0
))
10900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMetaFile_p")) {
10902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMetaFile_GetWidth. Expected _wxMetaFile_p.");
10907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10908 _result
= (int )wxMetaFile_GetWidth(_arg0
);
10910 wxPyEndAllowThreads(__tstate
);
10911 if (PyErr_Occurred()) return NULL
;
10912 } _resultobj
= Py_BuildValue("i",_result
);
10916 #define wxMetaFile_GetHeight(_swigobj) (_swigobj->GetHeight())
10917 static PyObject
*_wrap_wxMetaFile_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10918 PyObject
* _resultobj
;
10920 wxMetaFile
* _arg0
;
10921 PyObject
* _argo0
= 0;
10922 char *_kwnames
[] = { "self", NULL
};
10925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMetaFile_GetHeight",_kwnames
,&_argo0
))
10928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMetaFile_p")) {
10930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMetaFile_GetHeight. Expected _wxMetaFile_p.");
10935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10936 _result
= (int )wxMetaFile_GetHeight(_arg0
);
10938 wxPyEndAllowThreads(__tstate
);
10939 if (PyErr_Occurred()) return NULL
;
10940 } _resultobj
= Py_BuildValue("i",_result
);
10944 #define wxMetaFile_GetFileName(_swigobj) (_swigobj->GetFileName())
10945 static PyObject
*_wrap_wxMetaFile_GetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10946 PyObject
* _resultobj
;
10947 wxString
* _result
;
10948 wxMetaFile
* _arg0
;
10949 PyObject
* _argo0
= 0;
10950 char *_kwnames
[] = { "self", NULL
};
10953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMetaFile_GetFileName",_kwnames
,&_argo0
))
10956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMetaFile_p")) {
10958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMetaFile_GetFileName. Expected _wxMetaFile_p.");
10963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10964 const wxString
& _result_ref
= wxMetaFile_GetFileName(_arg0
);
10965 _result
= (wxString
*) &_result_ref
;
10967 wxPyEndAllowThreads(__tstate
);
10968 if (PyErr_Occurred()) return NULL
;
10971 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10973 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10979 static void *SwigwxMetaFileDCTowxDC(void *ptr
) {
10982 src
= (wxMetaFileDC
*) ptr
;
10983 dest
= (wxDC
*) src
;
10984 return (void *) dest
;
10987 static void *SwigwxMetaFileDCTowxObject(void *ptr
) {
10990 src
= (wxMetaFileDC
*) ptr
;
10991 dest
= (wxObject
*) src
;
10992 return (void *) dest
;
10995 #define new_wxMetaFileDC(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxMetaFileDC(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10996 static PyObject
*_wrap_new_wxMetaFileDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10997 PyObject
* _resultobj
;
10998 wxMetaFileDC
* _result
;
10999 wxString
* _arg0
= (wxString
*) &wxEmptyString
;
11000 int _arg1
= (int ) 0;
11001 int _arg2
= (int ) 0;
11002 wxString
* _arg3
= (wxString
*) &wxEmptyString
;
11003 PyObject
* _obj0
= 0;
11004 PyObject
* _obj3
= 0;
11005 char *_kwnames
[] = { "filename","width","height","description", NULL
};
11009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OiiO:new_wxMetaFileDC",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_obj3
))
11013 _arg0
= wxString_in_helper(_obj0
);
11019 _arg3
= wxString_in_helper(_obj3
);
11024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11025 _result
= (wxMetaFileDC
*)new_wxMetaFileDC(*_arg0
,_arg1
,_arg2
,*_arg3
);
11027 wxPyEndAllowThreads(__tstate
);
11028 if (PyErr_Occurred()) return NULL
;
11030 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMetaFileDC_p");
11031 _resultobj
= Py_BuildValue("s",_ptemp
);
11033 Py_INCREF(Py_None
);
11034 _resultobj
= Py_None
;
11047 #define wxMetaFileDC_Close(_swigobj) (_swigobj->Close())
11048 static PyObject
*_wrap_wxMetaFileDC_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11049 PyObject
* _resultobj
;
11050 wxMetaFile
* _result
;
11051 wxMetaFileDC
* _arg0
;
11052 PyObject
* _argo0
= 0;
11053 char *_kwnames
[] = { "self", NULL
};
11057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMetaFileDC_Close",_kwnames
,&_argo0
))
11060 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11061 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMetaFileDC_p")) {
11062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMetaFileDC_Close. Expected _wxMetaFileDC_p.");
11067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11068 _result
= (wxMetaFile
*)wxMetaFileDC_Close(_arg0
);
11070 wxPyEndAllowThreads(__tstate
);
11071 if (PyErr_Occurred()) return NULL
;
11073 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMetaFile_p");
11074 _resultobj
= Py_BuildValue("s",_ptemp
);
11076 Py_INCREF(Py_None
);
11077 _resultobj
= Py_None
;
11082 static void *SwigwxPaletteTowxGDIObject(void *ptr
) {
11085 src
= (wxPalette
*) ptr
;
11086 dest
= (wxGDIObject
*) src
;
11087 return (void *) dest
;
11090 static void *SwigwxPaletteTowxObject(void *ptr
) {
11093 src
= (wxPalette
*) ptr
;
11094 dest
= (wxObject
*) src
;
11095 return (void *) dest
;
11098 #define new_wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11099 static PyObject
*_wrap_new_wxPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11100 PyObject
* _resultobj
;
11101 wxPalette
* _result
;
11106 PyObject
* _obj1
= 0;
11107 PyObject
* _obj2
= 0;
11108 PyObject
* _obj3
= 0;
11109 char *_kwnames
[] = { "choices","choices","choices", NULL
};
11113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:new_wxPalette",_kwnames
,&_obj1
,&_obj2
,&_obj3
))
11116 _arg1
= byte_LIST_helper(_obj1
);
11117 if (_arg1
== NULL
) {
11122 _arg2
= byte_LIST_helper(_obj2
);
11123 if (_arg2
== NULL
) {
11129 _arg3
= byte_LIST_helper(_obj3
);
11130 if (_arg3
== NULL
) {
11136 _arg0
= PyList_Size(_obj1
);
11143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11144 _result
= (wxPalette
*)new_wxPalette(_arg0
,_arg1
,_arg2
,_arg3
);
11146 wxPyEndAllowThreads(__tstate
);
11147 if (PyErr_Occurred()) return NULL
;
11149 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
11150 _resultobj
= Py_BuildValue("s",_ptemp
);
11152 Py_INCREF(Py_None
);
11153 _resultobj
= Py_None
;
11167 #define delete_wxPalette(_swigobj) (delete _swigobj)
11168 static PyObject
*_wrap_delete_wxPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11169 PyObject
* _resultobj
;
11171 PyObject
* _argo0
= 0;
11172 char *_kwnames
[] = { "self", NULL
};
11175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPalette",_kwnames
,&_argo0
))
11178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
11180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPalette. Expected _wxPalette_p.");
11185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11186 delete_wxPalette(_arg0
);
11188 wxPyEndAllowThreads(__tstate
);
11189 if (PyErr_Occurred()) return NULL
;
11190 } Py_INCREF(Py_None
);
11191 _resultobj
= Py_None
;
11195 #define wxPalette_GetPixel(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetPixel(_swigarg0,_swigarg1,_swigarg2))
11196 static PyObject
*_wrap_wxPalette_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11197 PyObject
* _resultobj
;
11203 PyObject
* _argo0
= 0;
11204 char *_kwnames
[] = { "self","red","green","blue", NULL
};
11207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Obbb:wxPalette_GetPixel",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
11210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
11212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetPixel. Expected _wxPalette_p.");
11217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11218 _result
= (int )wxPalette_GetPixel(_arg0
,_arg1
,_arg2
,_arg3
);
11220 wxPyEndAllowThreads(__tstate
);
11221 if (PyErr_Occurred()) return NULL
;
11222 } _resultobj
= Py_BuildValue("i",_result
);
11226 #define wxPalette_GetRGB(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetRGB(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11227 static PyObject
*_wrap_wxPalette_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11228 PyObject
* _resultobj
;
11238 PyObject
* _argo0
= 0;
11239 char *_kwnames
[] = { "self","pixel", NULL
};
11243 _arg2
= (byte
*)&temp
;
11246 _arg3
= (byte
*)&temp0
;
11249 _arg4
= (byte
*)&temp1
;
11251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPalette_GetRGB",_kwnames
,&_argo0
,&_arg1
))
11254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
11256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetRGB. Expected _wxPalette_p.");
11261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11262 _result
= (bool )wxPalette_GetRGB(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
11264 wxPyEndAllowThreads(__tstate
);
11265 if (PyErr_Occurred()) return NULL
;
11266 } _resultobj
= Py_BuildValue("i",_result
);
11269 o
= PyInt_FromLong((long) (*_arg2
));
11270 _resultobj
= t_output_helper(_resultobj
, o
);
11274 o
= PyInt_FromLong((long) (*_arg3
));
11275 _resultobj
= t_output_helper(_resultobj
, o
);
11279 o
= PyInt_FromLong((long) (*_arg4
));
11280 _resultobj
= t_output_helper(_resultobj
, o
);
11285 #define wxPalette_Ok(_swigobj) (_swigobj->Ok())
11286 static PyObject
*_wrap_wxPalette_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11287 PyObject
* _resultobj
;
11290 PyObject
* _argo0
= 0;
11291 char *_kwnames
[] = { "self", NULL
};
11294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPalette_Ok",_kwnames
,&_argo0
))
11297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
11299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_Ok. Expected _wxPalette_p.");
11304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11305 _result
= (bool )wxPalette_Ok(_arg0
);
11307 wxPyEndAllowThreads(__tstate
);
11308 if (PyErr_Occurred()) return NULL
;
11309 } _resultobj
= Py_BuildValue("i",_result
);
11313 static void *SwigwxImageListTowxObject(void *ptr
) {
11316 src
= (wxImageList
*) ptr
;
11317 dest
= (wxObject
*) src
;
11318 return (void *) dest
;
11321 #define new_wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11322 static PyObject
*_wrap_new_wxImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11323 PyObject
* _resultobj
;
11324 wxImageList
* _result
;
11327 int _arg2
= (int ) TRUE
;
11328 int _arg3
= (int ) 1;
11329 char *_kwnames
[] = { "width","height","mask","initialCount", NULL
};
11333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ii|ii:new_wxImageList",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
11336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11337 _result
= (wxImageList
*)new_wxImageList(_arg0
,_arg1
,_arg2
,_arg3
);
11339 wxPyEndAllowThreads(__tstate
);
11340 if (PyErr_Occurred()) return NULL
;
11342 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
11343 _resultobj
= Py_BuildValue("s",_ptemp
);
11345 Py_INCREF(Py_None
);
11346 _resultobj
= Py_None
;
11351 #define delete_wxImageList(_swigobj) (delete _swigobj)
11352 static PyObject
*_wrap_delete_wxImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11353 PyObject
* _resultobj
;
11354 wxImageList
* _arg0
;
11355 PyObject
* _argo0
= 0;
11356 char *_kwnames
[] = { "self", NULL
};
11359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxImageList",_kwnames
,&_argo0
))
11362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
11364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxImageList. Expected _wxImageList_p.");
11369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11370 delete_wxImageList(_arg0
);
11372 wxPyEndAllowThreads(__tstate
);
11373 if (PyErr_Occurred()) return NULL
;
11374 } Py_INCREF(Py_None
);
11375 _resultobj
= Py_None
;
11379 #define wxImageList_Add(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
11380 static PyObject
*_wrap_wxImageList_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11381 PyObject
* _resultobj
;
11383 wxImageList
* _arg0
;
11385 wxBitmap
* _arg2
= (wxBitmap
*) &wxNullBitmap
;
11386 PyObject
* _argo0
= 0;
11387 PyObject
* _argo1
= 0;
11388 PyObject
* _argo2
= 0;
11389 char *_kwnames
[] = { "self","bitmap","mask", NULL
};
11392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxImageList_Add",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
11395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
11397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Add. Expected _wxImageList_p.");
11402 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11403 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
11404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_Add. Expected _wxBitmap_p.");
11409 if (_argo2
== Py_None
) { _arg2
= NULL
; }
11410 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
11411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Add. Expected _wxBitmap_p.");
11416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11417 _result
= (int )wxImageList_Add(_arg0
,*_arg1
,*_arg2
);
11419 wxPyEndAllowThreads(__tstate
);
11420 if (PyErr_Occurred()) return NULL
;
11421 } _resultobj
= Py_BuildValue("i",_result
);
11425 #define wxImageList_AddWithColourMask(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
11426 static PyObject
*_wrap_wxImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11427 PyObject
* _resultobj
;
11429 wxImageList
* _arg0
;
11432 PyObject
* _argo0
= 0;
11433 PyObject
* _argo1
= 0;
11435 PyObject
* _obj2
= 0;
11436 char *_kwnames
[] = { "self","bitmap","maskColour", NULL
};
11439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxImageList_AddWithColourMask",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
11442 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11443 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
11444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_AddWithColourMask. Expected _wxImageList_p.");
11449 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11450 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
11451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_AddWithColourMask. Expected _wxBitmap_p.");
11457 if (! wxColour_helper(_obj2
, &_arg2
))
11461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11462 _result
= (int )wxImageList_AddWithColourMask(_arg0
,*_arg1
,*_arg2
);
11464 wxPyEndAllowThreads(__tstate
);
11465 if (PyErr_Occurred()) return NULL
;
11466 } _resultobj
= Py_BuildValue("i",_result
);
11470 #define wxImageList_AddIcon(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
11471 static PyObject
*_wrap_wxImageList_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11472 PyObject
* _resultobj
;
11474 wxImageList
* _arg0
;
11476 PyObject
* _argo0
= 0;
11477 PyObject
* _argo1
= 0;
11478 char *_kwnames
[] = { "self","icon", NULL
};
11481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxImageList_AddIcon",_kwnames
,&_argo0
,&_argo1
))
11484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
11486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_AddIcon. Expected _wxImageList_p.");
11491 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11492 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
11493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_AddIcon. Expected _wxIcon_p.");
11498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11499 _result
= (int )wxImageList_AddIcon(_arg0
,*_arg1
);
11501 wxPyEndAllowThreads(__tstate
);
11502 if (PyErr_Occurred()) return NULL
;
11503 } _resultobj
= Py_BuildValue("i",_result
);
11507 #define wxImageList_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
11508 static PyObject
*_wrap_wxImageList_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11509 PyObject
* _resultobj
;
11511 wxImageList
* _arg0
;
11514 wxBitmap
* _arg3
= (wxBitmap
*) &wxNullBitmap
;
11515 PyObject
* _argo0
= 0;
11516 PyObject
* _argo2
= 0;
11517 PyObject
* _argo3
= 0;
11518 char *_kwnames
[] = { "self","index","bitmap","mask", NULL
};
11521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxImageList_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
))
11524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
11526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Replace. Expected _wxImageList_p.");
11531 if (_argo2
== Py_None
) { _arg2
= NULL
; }
11532 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
11533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Replace. Expected _wxBitmap_p.");
11538 if (_argo3
== Py_None
) { _arg3
= NULL
; }
11539 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
11540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxImageList_Replace. Expected _wxBitmap_p.");
11545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11546 _result
= (bool )wxImageList_Replace(_arg0
,_arg1
,*_arg2
,*_arg3
);
11548 wxPyEndAllowThreads(__tstate
);
11549 if (PyErr_Occurred()) return NULL
;
11550 } _resultobj
= Py_BuildValue("i",_result
);
11554 #define wxImageList_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
11555 static PyObject
*_wrap_wxImageList_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11556 PyObject
* _resultobj
;
11558 wxImageList
* _arg0
;
11563 int _arg5
= (int ) (wxIMAGELIST_DRAW_NORMAL
);
11564 bool _arg6
= (bool ) FALSE
;
11565 PyObject
* _argo0
= 0;
11566 PyObject
* _argo2
= 0;
11567 int tempbool6
= (int) FALSE
;
11568 char *_kwnames
[] = { "self","index","dc","x","x","flags","solidBackground", NULL
};
11571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOii|ii:wxImageList_Draw",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
11574 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11575 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
11576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Draw. Expected _wxImageList_p.");
11581 if (_argo2
== Py_None
) { _arg2
= NULL
; }
11582 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDC_p")) {
11583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Draw. Expected _wxDC_p.");
11587 _arg6
= (bool ) tempbool6
;
11589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11590 _result
= (bool )wxImageList_Draw(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
11592 wxPyEndAllowThreads(__tstate
);
11593 if (PyErr_Occurred()) return NULL
;
11594 } _resultobj
= Py_BuildValue("i",_result
);
11598 #define wxImageList_GetImageCount(_swigobj) (_swigobj->GetImageCount())
11599 static PyObject
*_wrap_wxImageList_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11600 PyObject
* _resultobj
;
11602 wxImageList
* _arg0
;
11603 PyObject
* _argo0
= 0;
11604 char *_kwnames
[] = { "self", NULL
};
11607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImageList_GetImageCount",_kwnames
,&_argo0
))
11610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
11612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_GetImageCount. Expected _wxImageList_p.");
11617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11618 _result
= (int )wxImageList_GetImageCount(_arg0
);
11620 wxPyEndAllowThreads(__tstate
);
11621 if (PyErr_Occurred()) return NULL
;
11622 } _resultobj
= Py_BuildValue("i",_result
);
11626 #define wxImageList_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
11627 static PyObject
*_wrap_wxImageList_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11628 PyObject
* _resultobj
;
11630 wxImageList
* _arg0
;
11632 PyObject
* _argo0
= 0;
11633 char *_kwnames
[] = { "self","index", NULL
};
11636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxImageList_Remove",_kwnames
,&_argo0
,&_arg1
))
11639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
11641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Remove. Expected _wxImageList_p.");
11646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11647 _result
= (bool )wxImageList_Remove(_arg0
,_arg1
);
11649 wxPyEndAllowThreads(__tstate
);
11650 if (PyErr_Occurred()) return NULL
;
11651 } _resultobj
= Py_BuildValue("i",_result
);
11655 #define wxImageList_RemoveAll(_swigobj) (_swigobj->RemoveAll())
11656 static PyObject
*_wrap_wxImageList_RemoveAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11657 PyObject
* _resultobj
;
11659 wxImageList
* _arg0
;
11660 PyObject
* _argo0
= 0;
11661 char *_kwnames
[] = { "self", NULL
};
11664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImageList_RemoveAll",_kwnames
,&_argo0
))
11667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
11669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_RemoveAll. Expected _wxImageList_p.");
11674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11675 _result
= (bool )wxImageList_RemoveAll(_arg0
);
11677 wxPyEndAllowThreads(__tstate
);
11678 if (PyErr_Occurred()) return NULL
;
11679 } _resultobj
= Py_BuildValue("i",_result
);
11683 #define wxImageList_GetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetSize(_swigarg0,_swigarg1,_swigarg2))
11684 static PyObject
*_wrap_wxImageList_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11685 PyObject
* _resultobj
;
11686 wxImageList
* _arg0
;
11692 PyObject
* _argo0
= 0;
11693 char *_kwnames
[] = { "self","index", NULL
};
11702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxImageList_GetSize",_kwnames
,&_argo0
,&_arg1
))
11705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
11707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_GetSize. Expected _wxImageList_p.");
11712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11713 wxImageList_GetSize(_arg0
,_arg1
,*_arg2
,*_arg3
);
11715 wxPyEndAllowThreads(__tstate
);
11716 if (PyErr_Occurred()) return NULL
;
11717 } Py_INCREF(Py_None
);
11718 _resultobj
= Py_None
;
11721 o
= PyInt_FromLong((long) (*_arg2
));
11722 _resultobj
= t_output_helper(_resultobj
, o
);
11726 o
= PyInt_FromLong((long) (*_arg3
));
11727 _resultobj
= t_output_helper(_resultobj
, o
);
11732 static void *SwigwxRegionTowxGDIObject(void *ptr
) {
11735 src
= (wxRegion
*) ptr
;
11736 dest
= (wxGDIObject
*) src
;
11737 return (void *) dest
;
11740 static void *SwigwxRegionTowxObject(void *ptr
) {
11743 src
= (wxRegion
*) ptr
;
11744 dest
= (wxObject
*) src
;
11745 return (void *) dest
;
11748 #define new_wxRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11749 static PyObject
*_wrap_new_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11750 PyObject
* _resultobj
;
11751 wxRegion
* _result
;
11752 long _arg0
= (long ) 0;
11753 long _arg1
= (long ) 0;
11754 long _arg2
= (long ) 0;
11755 long _arg3
= (long ) 0;
11756 char *_kwnames
[] = { "x","y","width","height", NULL
};
11760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|llll:new_wxRegion",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
11763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11764 _result
= (wxRegion
*)new_wxRegion(_arg0
,_arg1
,_arg2
,_arg3
);
11766 wxPyEndAllowThreads(__tstate
);
11767 if (PyErr_Occurred()) return NULL
;
11769 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegion_p");
11770 _resultobj
= Py_BuildValue("s",_ptemp
);
11772 Py_INCREF(Py_None
);
11773 _resultobj
= Py_None
;
11778 #define delete_wxRegion(_swigobj) (delete _swigobj)
11779 static PyObject
*_wrap_delete_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11780 PyObject
* _resultobj
;
11782 PyObject
* _argo0
= 0;
11783 char *_kwnames
[] = { "self", NULL
};
11786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegion",_kwnames
,&_argo0
))
11789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegion. Expected _wxRegion_p.");
11796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11797 delete_wxRegion(_arg0
);
11799 wxPyEndAllowThreads(__tstate
);
11800 if (PyErr_Occurred()) return NULL
;
11801 } Py_INCREF(Py_None
);
11802 _resultobj
= Py_None
;
11806 #define wxRegion_Clear(_swigobj) (_swigobj->Clear())
11807 static PyObject
*_wrap_wxRegion_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11808 PyObject
* _resultobj
;
11810 PyObject
* _argo0
= 0;
11811 char *_kwnames
[] = { "self", NULL
};
11814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_Clear",_kwnames
,&_argo0
))
11817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Clear. Expected _wxRegion_p.");
11824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11825 wxRegion_Clear(_arg0
);
11827 wxPyEndAllowThreads(__tstate
);
11828 if (PyErr_Occurred()) return NULL
;
11829 } Py_INCREF(Py_None
);
11830 _resultobj
= Py_None
;
11834 #define wxRegion_Offset(_swigobj,_swigarg0,_swigarg1) (_swigobj->Offset(_swigarg0,_swigarg1))
11835 static PyObject
*_wrap_wxRegion_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11836 PyObject
* _resultobj
;
11841 PyObject
* _argo0
= 0;
11842 char *_kwnames
[] = { "self","x","y", NULL
};
11845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRegion_Offset",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Offset. Expected _wxRegion_p.");
11855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11856 _result
= (bool )wxRegion_Offset(_arg0
,_arg1
,_arg2
);
11858 wxPyEndAllowThreads(__tstate
);
11859 if (PyErr_Occurred()) return NULL
;
11860 } _resultobj
= Py_BuildValue("i",_result
);
11864 #define wxRegion_Contains(_swigobj,_swigarg0,_swigarg1) (_swigobj->Contains(_swigarg0,_swigarg1))
11865 static PyObject
*_wrap_wxRegion_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11866 PyObject
* _resultobj
;
11867 wxRegionContain _result
;
11871 PyObject
* _argo0
= 0;
11872 char *_kwnames
[] = { "self","x","y", NULL
};
11875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxRegion_Contains",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11878 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11879 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Contains. Expected _wxRegion_p.");
11885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11886 _result
= (wxRegionContain
)wxRegion_Contains(_arg0
,_arg1
,_arg2
);
11888 wxPyEndAllowThreads(__tstate
);
11889 if (PyErr_Occurred()) return NULL
;
11890 } _resultobj
= Py_BuildValue("i",_result
);
11894 #define wxRegion_ContainsPoint(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
11895 static PyObject
*_wrap_wxRegion_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11896 PyObject
* _resultobj
;
11897 wxRegionContain _result
;
11900 PyObject
* _argo0
= 0;
11902 PyObject
* _obj1
= 0;
11903 char *_kwnames
[] = { "self","pt", NULL
};
11906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsPoint",_kwnames
,&_argo0
,&_obj1
))
11909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsPoint. Expected _wxRegion_p.");
11917 if (! wxPoint_helper(_obj1
, &_arg1
))
11921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11922 _result
= (wxRegionContain
)wxRegion_ContainsPoint(_arg0
,*_arg1
);
11924 wxPyEndAllowThreads(__tstate
);
11925 if (PyErr_Occurred()) return NULL
;
11926 } _resultobj
= Py_BuildValue("i",_result
);
11930 #define wxRegion_ContainsRect(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
11931 static PyObject
*_wrap_wxRegion_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11932 PyObject
* _resultobj
;
11933 wxRegionContain _result
;
11936 PyObject
* _argo0
= 0;
11938 PyObject
* _obj1
= 0;
11939 char *_kwnames
[] = { "self","rect", NULL
};
11942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsRect",_kwnames
,&_argo0
,&_obj1
))
11945 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11946 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRect. Expected _wxRegion_p.");
11953 if (! wxRect_helper(_obj1
, &_arg1
))
11957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11958 _result
= (wxRegionContain
)wxRegion_ContainsRect(_arg0
,*_arg1
);
11960 wxPyEndAllowThreads(__tstate
);
11961 if (PyErr_Occurred()) return NULL
;
11962 } _resultobj
= Py_BuildValue("i",_result
);
11966 #define wxRegion_ContainsRectDim(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Contains(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11967 static PyObject
*_wrap_wxRegion_ContainsRectDim(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11968 PyObject
* _resultobj
;
11969 wxRegionContain _result
;
11975 PyObject
* _argo0
= 0;
11976 char *_kwnames
[] = { "self","x","y","w","h", NULL
};
11979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_ContainsRectDim",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
11982 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11983 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRectDim. Expected _wxRegion_p.");
11989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11990 _result
= (wxRegionContain
)wxRegion_ContainsRectDim(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
11992 wxPyEndAllowThreads(__tstate
);
11993 if (PyErr_Occurred()) return NULL
;
11994 } _resultobj
= Py_BuildValue("i",_result
);
11998 #define wxRegion_GetBox(_swigobj) (_swigobj->GetBox())
11999 static PyObject
*_wrap_wxRegion_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12000 PyObject
* _resultobj
;
12003 PyObject
* _argo0
= 0;
12004 char *_kwnames
[] = { "self", NULL
};
12008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_GetBox",_kwnames
,&_argo0
))
12011 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12012 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
12013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_GetBox. Expected _wxRegion_p.");
12018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12019 _result
= new wxRect (wxRegion_GetBox(_arg0
));
12021 wxPyEndAllowThreads(__tstate
);
12022 if (PyErr_Occurred()) return NULL
;
12023 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
12024 _resultobj
= Py_BuildValue("s",_ptemp
);
12028 #define wxRegion_Intersect(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Intersect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
12029 static PyObject
*_wrap_wxRegion_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12030 PyObject
* _resultobj
;
12037 PyObject
* _argo0
= 0;
12038 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
12041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Intersect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
12044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
12046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Intersect. Expected _wxRegion_p.");
12051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12052 _result
= (bool )wxRegion_Intersect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
12054 wxPyEndAllowThreads(__tstate
);
12055 if (PyErr_Occurred()) return NULL
;
12056 } _resultobj
= Py_BuildValue("i",_result
);
12060 #define wxRegion_IntersectRect(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
12061 static PyObject
*_wrap_wxRegion_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12062 PyObject
* _resultobj
;
12066 PyObject
* _argo0
= 0;
12068 PyObject
* _obj1
= 0;
12069 char *_kwnames
[] = { "self","rect", NULL
};
12072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_IntersectRect",_kwnames
,&_argo0
,&_obj1
))
12075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
12077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IntersectRect. Expected _wxRegion_p.");
12083 if (! wxRect_helper(_obj1
, &_arg1
))
12087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12088 _result
= (bool )wxRegion_IntersectRect(_arg0
,*_arg1
);
12090 wxPyEndAllowThreads(__tstate
);
12091 if (PyErr_Occurred()) return NULL
;
12092 } _resultobj
= Py_BuildValue("i",_result
);
12096 #define wxRegion_IntersectRegion(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
12097 static PyObject
*_wrap_wxRegion_IntersectRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12098 PyObject
* _resultobj
;
12102 PyObject
* _argo0
= 0;
12103 PyObject
* _argo1
= 0;
12104 char *_kwnames
[] = { "self","region", NULL
};
12107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_IntersectRegion",_kwnames
,&_argo0
,&_argo1
))
12110 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12111 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
12112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
12117 if (_argo1
== Py_None
) { _arg1
= NULL
; }
12118 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
12119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
12124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12125 _result
= (bool )wxRegion_IntersectRegion(_arg0
,*_arg1
);
12127 wxPyEndAllowThreads(__tstate
);
12128 if (PyErr_Occurred()) return NULL
;
12129 } _resultobj
= Py_BuildValue("i",_result
);
12133 #define wxRegion_IsEmpty(_swigobj) (_swigobj->IsEmpty())
12134 static PyObject
*_wrap_wxRegion_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12135 PyObject
* _resultobj
;
12138 PyObject
* _argo0
= 0;
12139 char *_kwnames
[] = { "self", NULL
};
12142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_IsEmpty",_kwnames
,&_argo0
))
12145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
12147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IsEmpty. Expected _wxRegion_p.");
12152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12153 _result
= (bool )wxRegion_IsEmpty(_arg0
);
12155 wxPyEndAllowThreads(__tstate
);
12156 if (PyErr_Occurred()) return NULL
;
12157 } _resultobj
= Py_BuildValue("i",_result
);
12161 #define wxRegion_Union(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Union(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
12162 static PyObject
*_wrap_wxRegion_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12163 PyObject
* _resultobj
;
12170 PyObject
* _argo0
= 0;
12171 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
12174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Union",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
12177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
12179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Union. Expected _wxRegion_p.");
12184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12185 _result
= (bool )wxRegion_Union(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
12187 wxPyEndAllowThreads(__tstate
);
12188 if (PyErr_Occurred()) return NULL
;
12189 } _resultobj
= Py_BuildValue("i",_result
);
12193 #define wxRegion_UnionRect(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
12194 static PyObject
*_wrap_wxRegion_UnionRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12195 PyObject
* _resultobj
;
12199 PyObject
* _argo0
= 0;
12201 PyObject
* _obj1
= 0;
12202 char *_kwnames
[] = { "self","rect", NULL
};
12205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_UnionRect",_kwnames
,&_argo0
,&_obj1
))
12208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
12210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_UnionRect. Expected _wxRegion_p.");
12216 if (! wxRect_helper(_obj1
, &_arg1
))
12220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12221 _result
= (bool )wxRegion_UnionRect(_arg0
,*_arg1
);
12223 wxPyEndAllowThreads(__tstate
);
12224 if (PyErr_Occurred()) return NULL
;
12225 } _resultobj
= Py_BuildValue("i",_result
);
12229 #define wxRegion_UnionRegion(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
12230 static PyObject
*_wrap_wxRegion_UnionRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12231 PyObject
* _resultobj
;
12235 PyObject
* _argo0
= 0;
12236 PyObject
* _argo1
= 0;
12237 char *_kwnames
[] = { "self","region", NULL
};
12240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_UnionRegion",_kwnames
,&_argo0
,&_argo1
))
12243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
12245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_UnionRegion. Expected _wxRegion_p.");
12250 if (_argo1
== Py_None
) { _arg1
= NULL
; }
12251 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
12252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_UnionRegion. Expected _wxRegion_p.");
12257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12258 _result
= (bool )wxRegion_UnionRegion(_arg0
,*_arg1
);
12260 wxPyEndAllowThreads(__tstate
);
12261 if (PyErr_Occurred()) return NULL
;
12262 } _resultobj
= Py_BuildValue("i",_result
);
12266 #define wxRegion_Subtract(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Subtract(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
12267 static PyObject
*_wrap_wxRegion_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12268 PyObject
* _resultobj
;
12275 PyObject
* _argo0
= 0;
12276 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
12279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Subtract",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
12282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
12284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Subtract. Expected _wxRegion_p.");
12289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12290 _result
= (bool )wxRegion_Subtract(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
12292 wxPyEndAllowThreads(__tstate
);
12293 if (PyErr_Occurred()) return NULL
;
12294 } _resultobj
= Py_BuildValue("i",_result
);
12298 #define wxRegion_SubtractRect(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
12299 static PyObject
*_wrap_wxRegion_SubtractRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12300 PyObject
* _resultobj
;
12304 PyObject
* _argo0
= 0;
12306 PyObject
* _obj1
= 0;
12307 char *_kwnames
[] = { "self","rect", NULL
};
12310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_SubtractRect",_kwnames
,&_argo0
,&_obj1
))
12313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
12315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_SubtractRect. Expected _wxRegion_p.");
12321 if (! wxRect_helper(_obj1
, &_arg1
))
12325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12326 _result
= (bool )wxRegion_SubtractRect(_arg0
,*_arg1
);
12328 wxPyEndAllowThreads(__tstate
);
12329 if (PyErr_Occurred()) return NULL
;
12330 } _resultobj
= Py_BuildValue("i",_result
);
12334 #define wxRegion_SubtractRegion(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
12335 static PyObject
*_wrap_wxRegion_SubtractRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12336 PyObject
* _resultobj
;
12340 PyObject
* _argo0
= 0;
12341 PyObject
* _argo1
= 0;
12342 char *_kwnames
[] = { "self","region", NULL
};
12345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_SubtractRegion",_kwnames
,&_argo0
,&_argo1
))
12348 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12349 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
12350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
12355 if (_argo1
== Py_None
) { _arg1
= NULL
; }
12356 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
12357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
12362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12363 _result
= (bool )wxRegion_SubtractRegion(_arg0
,*_arg1
);
12365 wxPyEndAllowThreads(__tstate
);
12366 if (PyErr_Occurred()) return NULL
;
12367 } _resultobj
= Py_BuildValue("i",_result
);
12371 #define wxRegion_Xor(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Xor(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
12372 static PyObject
*_wrap_wxRegion_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12373 PyObject
* _resultobj
;
12380 PyObject
* _argo0
= 0;
12381 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
12384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Xor",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
12387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
12389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Xor. Expected _wxRegion_p.");
12394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12395 _result
= (bool )wxRegion_Xor(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
12397 wxPyEndAllowThreads(__tstate
);
12398 if (PyErr_Occurred()) return NULL
;
12399 } _resultobj
= Py_BuildValue("i",_result
);
12403 #define wxRegion_XorRect(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
12404 static PyObject
*_wrap_wxRegion_XorRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12405 PyObject
* _resultobj
;
12409 PyObject
* _argo0
= 0;
12411 PyObject
* _obj1
= 0;
12412 char *_kwnames
[] = { "self","rect", NULL
};
12415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_XorRect",_kwnames
,&_argo0
,&_obj1
))
12418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
12420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_XorRect. Expected _wxRegion_p.");
12426 if (! wxRect_helper(_obj1
, &_arg1
))
12430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12431 _result
= (bool )wxRegion_XorRect(_arg0
,*_arg1
);
12433 wxPyEndAllowThreads(__tstate
);
12434 if (PyErr_Occurred()) return NULL
;
12435 } _resultobj
= Py_BuildValue("i",_result
);
12439 #define wxRegion_XorRegion(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
12440 static PyObject
*_wrap_wxRegion_XorRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12441 PyObject
* _resultobj
;
12445 PyObject
* _argo0
= 0;
12446 PyObject
* _argo1
= 0;
12447 char *_kwnames
[] = { "self","region", NULL
};
12450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_XorRegion",_kwnames
,&_argo0
,&_argo1
))
12453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
12455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_XorRegion. Expected _wxRegion_p.");
12460 if (_argo1
== Py_None
) { _arg1
= NULL
; }
12461 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
12462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_XorRegion. Expected _wxRegion_p.");
12467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12468 _result
= (bool )wxRegion_XorRegion(_arg0
,*_arg1
);
12470 wxPyEndAllowThreads(__tstate
);
12471 if (PyErr_Occurred()) return NULL
;
12472 } _resultobj
= Py_BuildValue("i",_result
);
12476 static void *SwigwxRegionIteratorTowxObject(void *ptr
) {
12477 wxRegionIterator
*src
;
12479 src
= (wxRegionIterator
*) ptr
;
12480 dest
= (wxObject
*) src
;
12481 return (void *) dest
;
12484 #define new_wxRegionIterator(_swigarg0) (new wxRegionIterator(_swigarg0))
12485 static PyObject
*_wrap_new_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12486 PyObject
* _resultobj
;
12487 wxRegionIterator
* _result
;
12489 PyObject
* _argo0
= 0;
12490 char *_kwnames
[] = { "region", NULL
};
12494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxRegionIterator",_kwnames
,&_argo0
))
12497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
12499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRegionIterator. Expected _wxRegion_p.");
12504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12505 _result
= (wxRegionIterator
*)new_wxRegionIterator(*_arg0
);
12507 wxPyEndAllowThreads(__tstate
);
12508 if (PyErr_Occurred()) return NULL
;
12510 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegionIterator_p");
12511 _resultobj
= Py_BuildValue("s",_ptemp
);
12513 Py_INCREF(Py_None
);
12514 _resultobj
= Py_None
;
12519 #define delete_wxRegionIterator(_swigobj) (delete _swigobj)
12520 static PyObject
*_wrap_delete_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12521 PyObject
* _resultobj
;
12522 wxRegionIterator
* _arg0
;
12523 PyObject
* _argo0
= 0;
12524 char *_kwnames
[] = { "self", NULL
};
12527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegionIterator",_kwnames
,&_argo0
))
12530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
12532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegionIterator. Expected _wxRegionIterator_p.");
12537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12538 delete_wxRegionIterator(_arg0
);
12540 wxPyEndAllowThreads(__tstate
);
12541 if (PyErr_Occurred()) return NULL
;
12542 } Py_INCREF(Py_None
);
12543 _resultobj
= Py_None
;
12547 #define wxRegionIterator_GetX(_swigobj) (_swigobj->GetX())
12548 static PyObject
*_wrap_wxRegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12549 PyObject
* _resultobj
;
12551 wxRegionIterator
* _arg0
;
12552 PyObject
* _argo0
= 0;
12553 char *_kwnames
[] = { "self", NULL
};
12556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetX",_kwnames
,&_argo0
))
12559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
12561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetX. Expected _wxRegionIterator_p.");
12566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12567 _result
= (long )wxRegionIterator_GetX(_arg0
);
12569 wxPyEndAllowThreads(__tstate
);
12570 if (PyErr_Occurred()) return NULL
;
12571 } _resultobj
= Py_BuildValue("l",_result
);
12575 #define wxRegionIterator_GetY(_swigobj) (_swigobj->GetY())
12576 static PyObject
*_wrap_wxRegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12577 PyObject
* _resultobj
;
12579 wxRegionIterator
* _arg0
;
12580 PyObject
* _argo0
= 0;
12581 char *_kwnames
[] = { "self", NULL
};
12584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetY",_kwnames
,&_argo0
))
12587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
12589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetY. Expected _wxRegionIterator_p.");
12594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12595 _result
= (long )wxRegionIterator_GetY(_arg0
);
12597 wxPyEndAllowThreads(__tstate
);
12598 if (PyErr_Occurred()) return NULL
;
12599 } _resultobj
= Py_BuildValue("l",_result
);
12603 #define wxRegionIterator_GetW(_swigobj) (_swigobj->GetW())
12604 static PyObject
*_wrap_wxRegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12605 PyObject
* _resultobj
;
12607 wxRegionIterator
* _arg0
;
12608 PyObject
* _argo0
= 0;
12609 char *_kwnames
[] = { "self", NULL
};
12612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetW",_kwnames
,&_argo0
))
12615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
12617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetW. Expected _wxRegionIterator_p.");
12622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12623 _result
= (long )wxRegionIterator_GetW(_arg0
);
12625 wxPyEndAllowThreads(__tstate
);
12626 if (PyErr_Occurred()) return NULL
;
12627 } _resultobj
= Py_BuildValue("l",_result
);
12631 #define wxRegionIterator_GetWidth(_swigobj) (_swigobj->GetWidth())
12632 static PyObject
*_wrap_wxRegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12633 PyObject
* _resultobj
;
12635 wxRegionIterator
* _arg0
;
12636 PyObject
* _argo0
= 0;
12637 char *_kwnames
[] = { "self", NULL
};
12640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetWidth",_kwnames
,&_argo0
))
12643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
12645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetWidth. Expected _wxRegionIterator_p.");
12650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12651 _result
= (long )wxRegionIterator_GetWidth(_arg0
);
12653 wxPyEndAllowThreads(__tstate
);
12654 if (PyErr_Occurred()) return NULL
;
12655 } _resultobj
= Py_BuildValue("l",_result
);
12659 #define wxRegionIterator_GetH(_swigobj) (_swigobj->GetH())
12660 static PyObject
*_wrap_wxRegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12661 PyObject
* _resultobj
;
12663 wxRegionIterator
* _arg0
;
12664 PyObject
* _argo0
= 0;
12665 char *_kwnames
[] = { "self", NULL
};
12668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetH",_kwnames
,&_argo0
))
12671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
12673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetH. Expected _wxRegionIterator_p.");
12678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12679 _result
= (long )wxRegionIterator_GetH(_arg0
);
12681 wxPyEndAllowThreads(__tstate
);
12682 if (PyErr_Occurred()) return NULL
;
12683 } _resultobj
= Py_BuildValue("l",_result
);
12687 #define wxRegionIterator_GetHeight(_swigobj) (_swigobj->GetHeight())
12688 static PyObject
*_wrap_wxRegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12689 PyObject
* _resultobj
;
12691 wxRegionIterator
* _arg0
;
12692 PyObject
* _argo0
= 0;
12693 char *_kwnames
[] = { "self", NULL
};
12696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetHeight",_kwnames
,&_argo0
))
12699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
12701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetHeight. Expected _wxRegionIterator_p.");
12706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12707 _result
= (long )wxRegionIterator_GetHeight(_arg0
);
12709 wxPyEndAllowThreads(__tstate
);
12710 if (PyErr_Occurred()) return NULL
;
12711 } _resultobj
= Py_BuildValue("l",_result
);
12715 #define wxRegionIterator_GetRect(_swigobj) (_swigobj->GetRect())
12716 static PyObject
*_wrap_wxRegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12717 PyObject
* _resultobj
;
12719 wxRegionIterator
* _arg0
;
12720 PyObject
* _argo0
= 0;
12721 char *_kwnames
[] = { "self", NULL
};
12725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetRect",_kwnames
,&_argo0
))
12728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
12730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetRect. Expected _wxRegionIterator_p.");
12735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12736 _result
= new wxRect (wxRegionIterator_GetRect(_arg0
));
12738 wxPyEndAllowThreads(__tstate
);
12739 if (PyErr_Occurred()) return NULL
;
12740 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
12741 _resultobj
= Py_BuildValue("s",_ptemp
);
12745 #define wxRegionIterator_HaveRects(_swigobj) (_swigobj->HaveRects())
12746 static PyObject
*_wrap_wxRegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12747 PyObject
* _resultobj
;
12749 wxRegionIterator
* _arg0
;
12750 PyObject
* _argo0
= 0;
12751 char *_kwnames
[] = { "self", NULL
};
12754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_HaveRects",_kwnames
,&_argo0
))
12757 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12758 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
12759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_HaveRects. Expected _wxRegionIterator_p.");
12764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12765 _result
= (bool )wxRegionIterator_HaveRects(_arg0
);
12767 wxPyEndAllowThreads(__tstate
);
12768 if (PyErr_Occurred()) return NULL
;
12769 } _resultobj
= Py_BuildValue("i",_result
);
12773 #define wxRegionIterator_Reset(_swigobj) (_swigobj->Reset())
12774 static PyObject
*_wrap_wxRegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12775 PyObject
* _resultobj
;
12776 wxRegionIterator
* _arg0
;
12777 PyObject
* _argo0
= 0;
12778 char *_kwnames
[] = { "self", NULL
};
12781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Reset",_kwnames
,&_argo0
))
12784 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12785 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
12786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Reset. Expected _wxRegionIterator_p.");
12791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12792 wxRegionIterator_Reset(_arg0
);
12794 wxPyEndAllowThreads(__tstate
);
12795 if (PyErr_Occurred()) return NULL
;
12796 } Py_INCREF(Py_None
);
12797 _resultobj
= Py_None
;
12801 static void wxRegionIterator_Next(wxRegionIterator
*self
) {
12804 static PyObject
*_wrap_wxRegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12805 PyObject
* _resultobj
;
12806 wxRegionIterator
* _arg0
;
12807 PyObject
* _argo0
= 0;
12808 char *_kwnames
[] = { "self", NULL
};
12811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Next",_kwnames
,&_argo0
))
12814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
12816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Next. Expected _wxRegionIterator_p.");
12821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12822 wxRegionIterator_Next(_arg0
);
12824 wxPyEndAllowThreads(__tstate
);
12825 if (PyErr_Occurred()) return NULL
;
12826 } Py_INCREF(Py_None
);
12827 _resultobj
= Py_None
;
12831 static PyMethodDef gdicMethods
[] = {
12832 { "wxRegionIterator_Next", (PyCFunction
) _wrap_wxRegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
12833 { "wxRegionIterator_Reset", (PyCFunction
) _wrap_wxRegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
12834 { "wxRegionIterator_HaveRects", (PyCFunction
) _wrap_wxRegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
12835 { "wxRegionIterator_GetRect", (PyCFunction
) _wrap_wxRegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
12836 { "wxRegionIterator_GetHeight", (PyCFunction
) _wrap_wxRegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
12837 { "wxRegionIterator_GetH", (PyCFunction
) _wrap_wxRegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
12838 { "wxRegionIterator_GetWidth", (PyCFunction
) _wrap_wxRegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
12839 { "wxRegionIterator_GetW", (PyCFunction
) _wrap_wxRegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
12840 { "wxRegionIterator_GetY", (PyCFunction
) _wrap_wxRegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
12841 { "wxRegionIterator_GetX", (PyCFunction
) _wrap_wxRegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
12842 { "delete_wxRegionIterator", (PyCFunction
) _wrap_delete_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
12843 { "new_wxRegionIterator", (PyCFunction
) _wrap_new_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
12844 { "wxRegion_XorRegion", (PyCFunction
) _wrap_wxRegion_XorRegion
, METH_VARARGS
| METH_KEYWORDS
},
12845 { "wxRegion_XorRect", (PyCFunction
) _wrap_wxRegion_XorRect
, METH_VARARGS
| METH_KEYWORDS
},
12846 { "wxRegion_Xor", (PyCFunction
) _wrap_wxRegion_Xor
, METH_VARARGS
| METH_KEYWORDS
},
12847 { "wxRegion_SubtractRegion", (PyCFunction
) _wrap_wxRegion_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
},
12848 { "wxRegion_SubtractRect", (PyCFunction
) _wrap_wxRegion_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
},
12849 { "wxRegion_Subtract", (PyCFunction
) _wrap_wxRegion_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
12850 { "wxRegion_UnionRegion", (PyCFunction
) _wrap_wxRegion_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
},
12851 { "wxRegion_UnionRect", (PyCFunction
) _wrap_wxRegion_UnionRect
, METH_VARARGS
| METH_KEYWORDS
},
12852 { "wxRegion_Union", (PyCFunction
) _wrap_wxRegion_Union
, METH_VARARGS
| METH_KEYWORDS
},
12853 { "wxRegion_IsEmpty", (PyCFunction
) _wrap_wxRegion_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
12854 { "wxRegion_IntersectRegion", (PyCFunction
) _wrap_wxRegion_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
},
12855 { "wxRegion_IntersectRect", (PyCFunction
) _wrap_wxRegion_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
12856 { "wxRegion_Intersect", (PyCFunction
) _wrap_wxRegion_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
12857 { "wxRegion_GetBox", (PyCFunction
) _wrap_wxRegion_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
12858 { "wxRegion_ContainsRectDim", (PyCFunction
) _wrap_wxRegion_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
},
12859 { "wxRegion_ContainsRect", (PyCFunction
) _wrap_wxRegion_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
12860 { "wxRegion_ContainsPoint", (PyCFunction
) _wrap_wxRegion_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
12861 { "wxRegion_Contains", (PyCFunction
) _wrap_wxRegion_Contains
, METH_VARARGS
| METH_KEYWORDS
},
12862 { "wxRegion_Offset", (PyCFunction
) _wrap_wxRegion_Offset
, METH_VARARGS
| METH_KEYWORDS
},
12863 { "wxRegion_Clear", (PyCFunction
) _wrap_wxRegion_Clear
, METH_VARARGS
| METH_KEYWORDS
},
12864 { "delete_wxRegion", (PyCFunction
) _wrap_delete_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
12865 { "new_wxRegion", (PyCFunction
) _wrap_new_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
12866 { "wxImageList_GetSize", (PyCFunction
) _wrap_wxImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
12867 { "wxImageList_RemoveAll", (PyCFunction
) _wrap_wxImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
},
12868 { "wxImageList_Remove", (PyCFunction
) _wrap_wxImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
},
12869 { "wxImageList_GetImageCount", (PyCFunction
) _wrap_wxImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
12870 { "wxImageList_Draw", (PyCFunction
) _wrap_wxImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
},
12871 { "wxImageList_Replace", (PyCFunction
) _wrap_wxImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
},
12872 { "wxImageList_AddIcon", (PyCFunction
) _wrap_wxImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
12873 { "wxImageList_AddWithColourMask", (PyCFunction
) _wrap_wxImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
},
12874 { "wxImageList_Add", (PyCFunction
) _wrap_wxImageList_Add
, METH_VARARGS
| METH_KEYWORDS
},
12875 { "delete_wxImageList", (PyCFunction
) _wrap_delete_wxImageList
, METH_VARARGS
| METH_KEYWORDS
},
12876 { "new_wxImageList", (PyCFunction
) _wrap_new_wxImageList
, METH_VARARGS
| METH_KEYWORDS
},
12877 { "wxPalette_Ok", (PyCFunction
) _wrap_wxPalette_Ok
, METH_VARARGS
| METH_KEYWORDS
},
12878 { "wxPalette_GetRGB", (PyCFunction
) _wrap_wxPalette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
12879 { "wxPalette_GetPixel", (PyCFunction
) _wrap_wxPalette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
12880 { "delete_wxPalette", (PyCFunction
) _wrap_delete_wxPalette
, METH_VARARGS
| METH_KEYWORDS
},
12881 { "new_wxPalette", (PyCFunction
) _wrap_new_wxPalette
, METH_VARARGS
| METH_KEYWORDS
},
12882 { "wxMetaFileDC_Close", (PyCFunction
) _wrap_wxMetaFileDC_Close
, METH_VARARGS
| METH_KEYWORDS
},
12883 { "new_wxMetaFileDC", (PyCFunction
) _wrap_new_wxMetaFileDC
, METH_VARARGS
| METH_KEYWORDS
},
12884 { "wxMetaFile_GetFileName", (PyCFunction
) _wrap_wxMetaFile_GetFileName
, METH_VARARGS
| METH_KEYWORDS
},
12885 { "wxMetaFile_GetHeight", (PyCFunction
) _wrap_wxMetaFile_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
12886 { "wxMetaFile_GetWidth", (PyCFunction
) _wrap_wxMetaFile_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
12887 { "wxMetaFile_GetSize", (PyCFunction
) _wrap_wxMetaFile_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
12888 { "wxMetaFile_SetClipboard", (PyCFunction
) _wrap_wxMetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
},
12889 { "wxMetaFile_Ok", (PyCFunction
) _wrap_wxMetaFile_Ok
, METH_VARARGS
| METH_KEYWORDS
},
12890 { "delete_wxMetaFile", (PyCFunction
) _wrap_delete_wxMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
12891 { "new_wxMetaFile", (PyCFunction
) _wrap_new_wxMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
12892 { "new_wxWindowDC", (PyCFunction
) _wrap_new_wxWindowDC
, METH_VARARGS
| METH_KEYWORDS
},
12893 { "new_wxPaintDC", (PyCFunction
) _wrap_new_wxPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
12894 { "new_wxClientDC", (PyCFunction
) _wrap_new_wxClientDC
, METH_VARARGS
| METH_KEYWORDS
},
12895 { "wxScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_wxScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
12896 { "wxScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_wxScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
12897 { "wxScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_wxScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
},
12898 { "new_wxScreenDC", (PyCFunction
) _wrap_new_wxScreenDC
, METH_VARARGS
| METH_KEYWORDS
},
12899 { "wxMemoryDC_SelectObject", (PyCFunction
) _wrap_wxMemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
},
12900 { "new_wxMemoryDC", (PyCFunction
) _wrap_new_wxMemoryDC
, METH_VARARGS
| METH_KEYWORDS
},
12901 { "wxDC__DrawLineList", (PyCFunction
) _wrap_wxDC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
},
12902 { "wxDC__DrawPointList", (PyCFunction
) _wrap_wxDC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
},
12903 { "wxDC_GetHDC", (PyCFunction
) _wrap_wxDC_GetHDC
, METH_VARARGS
| METH_KEYWORDS
},
12904 { "wxDC_GetBoundingBox", (PyCFunction
) _wrap_wxDC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
12905 { "wxDC_ResetBoundingBox", (PyCFunction
) _wrap_wxDC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
12906 { "wxDC_CalcBoundingBox", (PyCFunction
) _wrap_wxDC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
12907 { "wxDC_SetAxisOrientation", (PyCFunction
) _wrap_wxDC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
},
12908 { "wxDC_GetDeviceOrigin", (PyCFunction
) _wrap_wxDC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
12909 { "wxDC_SetLogicalOrigin", (PyCFunction
) _wrap_wxDC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
12910 { "wxDC_GetLogicalOrigin", (PyCFunction
) _wrap_wxDC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
12911 { "wxDC_GetPPI", (PyCFunction
) _wrap_wxDC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
},
12912 { "wxDC_GetDepth", (PyCFunction
) _wrap_wxDC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
12913 { "wxDC_CanGetTextExtent", (PyCFunction
) _wrap_wxDC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
12914 { "wxDC_CanDrawBitmap", (PyCFunction
) _wrap_wxDC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
12915 { "wxDC_DrawBitmap", (PyCFunction
) _wrap_wxDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
12916 { "wxDC_StartPage", (PyCFunction
) _wrap_wxDC_StartPage
, METH_VARARGS
| METH_KEYWORDS
},
12917 { "wxDC_StartDoc", (PyCFunction
) _wrap_wxDC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
},
12918 { "wxDC_SetUserScale", (PyCFunction
) _wrap_wxDC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
12919 { "wxDC_SetTextForeground", (PyCFunction
) _wrap_wxDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
12920 { "wxDC_SetTextBackground", (PyCFunction
) _wrap_wxDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
12921 { "wxDC_SetPen", (PyCFunction
) _wrap_wxDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
12922 { "wxDC_SetOptimization", (PyCFunction
) _wrap_wxDC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
12923 { "wxDC_SetMapMode", (PyCFunction
) _wrap_wxDC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
12924 { "wxDC_SetLogicalScale", (PyCFunction
) _wrap_wxDC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
12925 { "wxDC_SetLogicalFunction", (PyCFunction
) _wrap_wxDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
12926 { "wxDC_SetFont", (PyCFunction
) _wrap_wxDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
12927 { "wxDC_SetBrush", (PyCFunction
) _wrap_wxDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
12928 { "wxDC_SetPalette", (PyCFunction
) _wrap_wxDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
12929 { "wxDC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_wxDC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
},
12930 { "wxDC_SetClippingRegion", (PyCFunction
) _wrap_wxDC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
12931 { "wxDC_SetBackgroundMode", (PyCFunction
) _wrap_wxDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
12932 { "wxDC_SetBackground", (PyCFunction
) _wrap_wxDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
},
12933 { "wxDC_SetDeviceOrigin", (PyCFunction
) _wrap_wxDC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
12934 { "wxDC_Ok", (PyCFunction
) _wrap_wxDC_Ok
, METH_VARARGS
| METH_KEYWORDS
},
12935 { "wxDC_MinY", (PyCFunction
) _wrap_wxDC_MinY
, METH_VARARGS
| METH_KEYWORDS
},
12936 { "wxDC_MinX", (PyCFunction
) _wrap_wxDC_MinX
, METH_VARARGS
| METH_KEYWORDS
},
12937 { "wxDC_MaxY", (PyCFunction
) _wrap_wxDC_MaxY
, METH_VARARGS
| METH_KEYWORDS
},
12938 { "wxDC_MaxX", (PyCFunction
) _wrap_wxDC_MaxX
, METH_VARARGS
| METH_KEYWORDS
},
12939 { "wxDC_LogicalToDeviceYRel", (PyCFunction
) _wrap_wxDC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
},
12940 { "wxDC_LogicalToDeviceY", (PyCFunction
) _wrap_wxDC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
},
12941 { "wxDC_LogicalToDeviceXRel", (PyCFunction
) _wrap_wxDC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
},
12942 { "wxDC_LogicalToDeviceX", (PyCFunction
) _wrap_wxDC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
},
12943 { "wxDC_GetUserScale", (PyCFunction
) _wrap_wxDC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
12944 { "wxDC_GetTextForeground", (PyCFunction
) _wrap_wxDC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
12945 { "wxDC_GetFullTextExtent", (PyCFunction
) _wrap_wxDC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
12946 { "wxDC_GetTextExtent", (PyCFunction
) _wrap_wxDC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
12947 { "wxDC_GetTextBackground", (PyCFunction
) _wrap_wxDC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
12948 { "wxDC_GetSizeMM", (PyCFunction
) _wrap_wxDC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
12949 { "wxDC_GetSize", (PyCFunction
) _wrap_wxDC_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
12950 { "wxDC_GetSizeTuple", (PyCFunction
) _wrap_wxDC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
12951 { "wxDC_GetPixel", (PyCFunction
) _wrap_wxDC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
12952 { "wxDC_GetPen", (PyCFunction
) _wrap_wxDC_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
12953 { "wxDC_GetOptimization", (PyCFunction
) _wrap_wxDC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
12954 { "wxDC_GetMapMode", (PyCFunction
) _wrap_wxDC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
12955 { "wxDC_GetLogicalScale", (PyCFunction
) _wrap_wxDC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
12956 { "wxDC_GetLogicalFunction", (PyCFunction
) _wrap_wxDC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
12957 { "wxDC_GetFont", (PyCFunction
) _wrap_wxDC_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
12958 { "wxDC_GetClippingBox", (PyCFunction
) _wrap_wxDC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
},
12959 { "wxDC_GetCharWidth", (PyCFunction
) _wrap_wxDC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
12960 { "wxDC_GetCharHeight", (PyCFunction
) _wrap_wxDC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
12961 { "wxDC_GetBrush", (PyCFunction
) _wrap_wxDC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
12962 { "wxDC_GetBackground", (PyCFunction
) _wrap_wxDC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
},
12963 { "wxDC_FloodFill", (PyCFunction
) _wrap_wxDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
},
12964 { "wxDC_EndPage", (PyCFunction
) _wrap_wxDC_EndPage
, METH_VARARGS
| METH_KEYWORDS
},
12965 { "wxDC_EndDrawing", (PyCFunction
) _wrap_wxDC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
},
12966 { "wxDC_EndDoc", (PyCFunction
) _wrap_wxDC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
},
12967 { "wxDC_DrawText", (PyCFunction
) _wrap_wxDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
12968 { "wxDC_DrawSpline", (PyCFunction
) _wrap_wxDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
12969 { "wxDC_DrawRoundedRectangle", (PyCFunction
) _wrap_wxDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
12970 { "wxDC_DrawRotatedText", (PyCFunction
) _wrap_wxDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
},
12971 { "wxDC_DrawRectangle", (PyCFunction
) _wrap_wxDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
12972 { "wxDC_DrawPoint", (PyCFunction
) _wrap_wxDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
12973 { "wxDC_DrawPolygon", (PyCFunction
) _wrap_wxDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
12974 { "wxDC_DrawLines", (PyCFunction
) _wrap_wxDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
12975 { "wxDC_DrawLine", (PyCFunction
) _wrap_wxDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
12976 { "wxDC_DrawImageLabel", (PyCFunction
) _wrap_wxDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
12977 { "wxDC_DrawLabel", (PyCFunction
) _wrap_wxDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
},
12978 { "wxDC_DrawIcon", (PyCFunction
) _wrap_wxDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
},
12979 { "wxDC_DrawEllipticArc", (PyCFunction
) _wrap_wxDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
12980 { "wxDC_DrawEllipse", (PyCFunction
) _wrap_wxDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
12981 { "wxDC_DrawCircle", (PyCFunction
) _wrap_wxDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
},
12982 { "wxDC_DrawArc", (PyCFunction
) _wrap_wxDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
12983 { "wxDC_DeviceToLogicalYRel", (PyCFunction
) _wrap_wxDC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
},
12984 { "wxDC_DeviceToLogicalY", (PyCFunction
) _wrap_wxDC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
},
12985 { "wxDC_DeviceToLogicalXRel", (PyCFunction
) _wrap_wxDC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
},
12986 { "wxDC_DeviceToLogicalX", (PyCFunction
) _wrap_wxDC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
},
12987 { "wxDC_DestroyClippingRegion", (PyCFunction
) _wrap_wxDC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
12988 { "wxDC_CrossHair", (PyCFunction
) _wrap_wxDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
},
12989 { "wxDC_Clear", (PyCFunction
) _wrap_wxDC_Clear
, METH_VARARGS
| METH_KEYWORDS
},
12990 { "wxDC_Blit", (PyCFunction
) _wrap_wxDC_Blit
, METH_VARARGS
| METH_KEYWORDS
},
12991 { "wxDC_BeginDrawing", (PyCFunction
) _wrap_wxDC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
},
12992 { "delete_wxDC", (PyCFunction
) _wrap_delete_wxDC
, METH_VARARGS
| METH_KEYWORDS
},
12993 { "wxBrushList_GetCount", (PyCFunction
) _wrap_wxBrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
12994 { "wxBrushList_RemoveBrush", (PyCFunction
) _wrap_wxBrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
},
12995 { "wxBrushList_FindOrCreateBrush", (PyCFunction
) _wrap_wxBrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
},
12996 { "wxBrushList_AddBrush", (PyCFunction
) _wrap_wxBrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
},
12997 { "wxBrush_SetStyle", (PyCFunction
) _wrap_wxBrush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
12998 { "wxBrush_SetStipple", (PyCFunction
) _wrap_wxBrush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
12999 { "wxBrush_SetColour", (PyCFunction
) _wrap_wxBrush_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
13000 { "wxBrush_Ok", (PyCFunction
) _wrap_wxBrush_Ok
, METH_VARARGS
| METH_KEYWORDS
},
13001 { "wxBrush_GetStyle", (PyCFunction
) _wrap_wxBrush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
13002 { "wxBrush_GetStipple", (PyCFunction
) _wrap_wxBrush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
13003 { "wxBrush_GetColour", (PyCFunction
) _wrap_wxBrush_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
13004 { "delete_wxBrush", (PyCFunction
) _wrap_delete_wxBrush
, METH_VARARGS
| METH_KEYWORDS
},
13005 { "new_wxBrush", (PyCFunction
) _wrap_new_wxBrush
, METH_VARARGS
| METH_KEYWORDS
},
13006 { "wxPenList_GetCount", (PyCFunction
) _wrap_wxPenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
13007 { "wxPenList_RemovePen", (PyCFunction
) _wrap_wxPenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
},
13008 { "wxPenList_FindOrCreatePen", (PyCFunction
) _wrap_wxPenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
},
13009 { "wxPenList_AddPen", (PyCFunction
) _wrap_wxPenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
},
13010 { "wxPyPen_SetDashes", (PyCFunction
) _wrap_wxPyPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
13011 { "delete_wxPyPen", (PyCFunction
) _wrap_delete_wxPyPen
, METH_VARARGS
| METH_KEYWORDS
},
13012 { "new_wxPyPen", (PyCFunction
) _wrap_new_wxPyPen
, METH_VARARGS
| METH_KEYWORDS
},
13013 { "wxPen_SetStipple", (PyCFunction
) _wrap_wxPen_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
13014 { "wxPen_GetStipple", (PyCFunction
) _wrap_wxPen_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
13015 { "wxPen_SetDashes", (PyCFunction
) _wrap_wxPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
13016 { "wxPen_SetWidth", (PyCFunction
) _wrap_wxPen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
13017 { "wxPen_SetStyle", (PyCFunction
) _wrap_wxPen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
13018 { "wxPen_SetJoin", (PyCFunction
) _wrap_wxPen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
},
13019 { "wxPen_SetColour", (PyCFunction
) _wrap_wxPen_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
13020 { "wxPen_SetCap", (PyCFunction
) _wrap_wxPen_SetCap
, METH_VARARGS
| METH_KEYWORDS
},
13021 { "wxPen_Ok", (PyCFunction
) _wrap_wxPen_Ok
, METH_VARARGS
| METH_KEYWORDS
},
13022 { "wxPen_GetWidth", (PyCFunction
) _wrap_wxPen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
13023 { "wxPen_GetStyle", (PyCFunction
) _wrap_wxPen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
13024 { "wxPen_GetJoin", (PyCFunction
) _wrap_wxPen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
},
13025 { "wxPen_GetColour", (PyCFunction
) _wrap_wxPen_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
13026 { "wxPen_GetCap", (PyCFunction
) _wrap_wxPen_GetCap
, METH_VARARGS
| METH_KEYWORDS
},
13027 { "delete_wxPen", (PyCFunction
) _wrap_delete_wxPen
, METH_VARARGS
| METH_KEYWORDS
},
13028 { "new_wxPen", (PyCFunction
) _wrap_new_wxPen
, METH_VARARGS
| METH_KEYWORDS
},
13029 { "wxColourDatabase_Append", (PyCFunction
) _wrap_wxColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
},
13030 { "wxColourDatabase_FindName", (PyCFunction
) _wrap_wxColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
},
13031 { "wxColourDatabase_FindColour", (PyCFunction
) _wrap_wxColourDatabase_FindColour
, METH_VARARGS
| METH_KEYWORDS
},
13032 { "wxColour_Get", (PyCFunction
) _wrap_wxColour_Get
, METH_VARARGS
| METH_KEYWORDS
},
13033 { "wxColour_Set", (PyCFunction
) _wrap_wxColour_Set
, METH_VARARGS
| METH_KEYWORDS
},
13034 { "wxColour_Ok", (PyCFunction
) _wrap_wxColour_Ok
, METH_VARARGS
| METH_KEYWORDS
},
13035 { "wxColour_Blue", (PyCFunction
) _wrap_wxColour_Blue
, METH_VARARGS
| METH_KEYWORDS
},
13036 { "wxColour_Green", (PyCFunction
) _wrap_wxColour_Green
, METH_VARARGS
| METH_KEYWORDS
},
13037 { "wxColour_Red", (PyCFunction
) _wrap_wxColour_Red
, METH_VARARGS
| METH_KEYWORDS
},
13038 { "delete_wxColour", (PyCFunction
) _wrap_delete_wxColour
, METH_VARARGS
| METH_KEYWORDS
},
13039 { "new_wxColour", (PyCFunction
) _wrap_new_wxColour
, METH_VARARGS
| METH_KEYWORDS
},
13040 { "wxFontList_GetCount", (PyCFunction
) _wrap_wxFontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
13041 { "wxFontList_RemoveFont", (PyCFunction
) _wrap_wxFontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
},
13042 { "wxFontList_FindOrCreateFont", (PyCFunction
) _wrap_wxFontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
},
13043 { "wxFontList_AddFont", (PyCFunction
) _wrap_wxFontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
},
13044 { "wxFont_SetDefaultEncoding", (PyCFunction
) _wrap_wxFont_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
13045 { "wxFont_GetDefaultEncoding", (PyCFunction
) _wrap_wxFont_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
13046 { "wxFont_GetWeightString", (PyCFunction
) _wrap_wxFont_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
},
13047 { "wxFont_GetStyleString", (PyCFunction
) _wrap_wxFont_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
},
13048 { "wxFont_GetFamilyString", (PyCFunction
) _wrap_wxFont_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
},
13049 { "wxFont_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_wxFont_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
13050 { "wxFont_SetNativeFontInfo", (PyCFunction
) _wrap_wxFont_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
13051 { "wxFont_SetEncoding", (PyCFunction
) _wrap_wxFont_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
13052 { "wxFont_SetUnderlined", (PyCFunction
) _wrap_wxFont_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
13053 { "wxFont_SetFaceName", (PyCFunction
) _wrap_wxFont_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
13054 { "wxFont_SetWeight", (PyCFunction
) _wrap_wxFont_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
13055 { "wxFont_SetStyle", (PyCFunction
) _wrap_wxFont_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
13056 { "wxFont_SetFamily", (PyCFunction
) _wrap_wxFont_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
13057 { "wxFont_SetPointSize", (PyCFunction
) _wrap_wxFont_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
13058 { "wxFont_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_wxFont_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
13059 { "wxFont_GetNativeFontInfoDesc", (PyCFunction
) _wrap_wxFont_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
},
13060 { "wxFont_GetNativeFontInfo", (PyCFunction
) _wrap_wxFont_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
13061 { "wxFont_IsFixedWidth", (PyCFunction
) _wrap_wxFont_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
13062 { "wxFont_GetEncoding", (PyCFunction
) _wrap_wxFont_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
13063 { "wxFont_GetFaceName", (PyCFunction
) _wrap_wxFont_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
13064 { "wxFont_GetUnderlined", (PyCFunction
) _wrap_wxFont_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
13065 { "wxFont_GetWeight", (PyCFunction
) _wrap_wxFont_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
13066 { "wxFont_GetStyle", (PyCFunction
) _wrap_wxFont_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
13067 { "wxFont_GetFamily", (PyCFunction
) _wrap_wxFont_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
13068 { "wxFont_GetPointSize", (PyCFunction
) _wrap_wxFont_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
13069 { "wxFont_Ok", (PyCFunction
) _wrap_wxFont_Ok
, METH_VARARGS
| METH_KEYWORDS
},
13070 { "delete_wxFont", (PyCFunction
) _wrap_delete_wxFont
, METH_VARARGS
| METH_KEYWORDS
},
13071 { "new_wxFontFromNativeInfo", (PyCFunction
) _wrap_new_wxFontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
},
13072 { "new_wxFont", (PyCFunction
) _wrap_new_wxFont
, METH_VARARGS
| METH_KEYWORDS
},
13073 { "wxFontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_wxFontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
13074 { "wxFontMapper_SetConfigPath", (PyCFunction
) _wrap_wxFontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
13075 { "wxFontMapper_SetConfig", (PyCFunction
) _wrap_wxFontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
},
13076 { "wxFontMapper_SetDialogTitle", (PyCFunction
) _wrap_wxFontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
},
13077 { "wxFontMapper_SetDialogParent", (PyCFunction
) _wrap_wxFontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
},
13078 { "wxFontMapper_GetEncodingDescription", (PyCFunction
) _wrap_wxFontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
},
13079 { "wxFontMapper_GetEncodingName", (PyCFunction
) _wrap_wxFontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
13080 { "wxFontMapper_CharsetToEncoding", (PyCFunction
) _wrap_wxFontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
},
13081 { "wxFontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_wxFontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
},
13082 { "wxFontMapper_GetAltForEncoding", (PyCFunction
) _wrap_wxFontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
},
13083 { "delete_wxFontMapper", (PyCFunction
) _wrap_delete_wxFontMapper
, METH_VARARGS
| METH_KEYWORDS
},
13084 { "new_wxFontMapper", (PyCFunction
) _wrap_new_wxFontMapper
, METH_VARARGS
| METH_KEYWORDS
},
13085 { "wxNativeFontInfo_ToUserString", (PyCFunction
) _wrap_wxNativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
},
13086 { "wxNativeFontInfo_FromUserString", (PyCFunction
) _wrap_wxNativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
},
13087 { "wxNativeFontInfo___str__", (PyCFunction
) _wrap_wxNativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
},
13088 { "wxNativeFontInfo_ToString", (PyCFunction
) _wrap_wxNativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
13089 { "wxNativeFontInfo_FromString", (PyCFunction
) _wrap_wxNativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
13090 { "wxNativeFontInfo_SetEncoding", (PyCFunction
) _wrap_wxNativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
13091 { "wxNativeFontInfo_SetFamily", (PyCFunction
) _wrap_wxNativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
13092 { "wxNativeFontInfo_SetFaceName", (PyCFunction
) _wrap_wxNativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
13093 { "wxNativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_wxNativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
13094 { "wxNativeFontInfo_SetWeight", (PyCFunction
) _wrap_wxNativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
13095 { "wxNativeFontInfo_SetStyle", (PyCFunction
) _wrap_wxNativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
13096 { "wxNativeFontInfo_SetPointSize", (PyCFunction
) _wrap_wxNativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
13097 { "wxNativeFontInfo_GetEncoding", (PyCFunction
) _wrap_wxNativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
13098 { "wxNativeFontInfo_GetFamily", (PyCFunction
) _wrap_wxNativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
13099 { "wxNativeFontInfo_GetFaceName", (PyCFunction
) _wrap_wxNativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
13100 { "wxNativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_wxNativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
13101 { "wxNativeFontInfo_GetWeight", (PyCFunction
) _wrap_wxNativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
13102 { "wxNativeFontInfo_GetStyle", (PyCFunction
) _wrap_wxNativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
13103 { "wxNativeFontInfo_GetPointSize", (PyCFunction
) _wrap_wxNativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
13104 { "wxNativeFontInfo_Init", (PyCFunction
) _wrap_wxNativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
},
13105 { "new_wxNativeFontInfo", (PyCFunction
) _wrap_new_wxNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
13106 { "wxCursor_SetSize", (PyCFunction
) _wrap_wxCursor_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
13107 { "wxCursor_SetDepth", (PyCFunction
) _wrap_wxCursor_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
13108 { "wxCursor_SetHeight", (PyCFunction
) _wrap_wxCursor_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
13109 { "wxCursor_SetWidth", (PyCFunction
) _wrap_wxCursor_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
13110 { "wxCursor_GetDepth", (PyCFunction
) _wrap_wxCursor_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
13111 { "wxCursor_GetHeight", (PyCFunction
) _wrap_wxCursor_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
13112 { "wxCursor_GetWidth", (PyCFunction
) _wrap_wxCursor_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
13113 { "wxCursor_Ok", (PyCFunction
) _wrap_wxCursor_Ok
, METH_VARARGS
| METH_KEYWORDS
},
13114 { "wxCursor_SetHandle", (PyCFunction
) _wrap_wxCursor_SetHandle
, METH_VARARGS
| METH_KEYWORDS
},
13115 { "wxCursor_GetHandle", (PyCFunction
) _wrap_wxCursor_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
13116 { "delete_wxCursor", (PyCFunction
) _wrap_delete_wxCursor
, METH_VARARGS
| METH_KEYWORDS
},
13117 { "new_wxCursor", (PyCFunction
) _wrap_new_wxCursor
, METH_VARARGS
| METH_KEYWORDS
},
13118 { "wxIcon_CopyFromBitmap", (PyCFunction
) _wrap_wxIcon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
13119 { "wxIcon_SetSize", (PyCFunction
) _wrap_wxIcon_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
13120 { "wxIcon_SetDepth", (PyCFunction
) _wrap_wxIcon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
13121 { "wxIcon_SetHeight", (PyCFunction
) _wrap_wxIcon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
13122 { "wxIcon_SetWidth", (PyCFunction
) _wrap_wxIcon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
13123 { "wxIcon_GetDepth", (PyCFunction
) _wrap_wxIcon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
13124 { "wxIcon_GetHeight", (PyCFunction
) _wrap_wxIcon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
13125 { "wxIcon_GetWidth", (PyCFunction
) _wrap_wxIcon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
13126 { "wxIcon_Ok", (PyCFunction
) _wrap_wxIcon_Ok
, METH_VARARGS
| METH_KEYWORDS
},
13127 { "wxIcon_SetHandle", (PyCFunction
) _wrap_wxIcon_SetHandle
, METH_VARARGS
| METH_KEYWORDS
},
13128 { "wxIcon_GetHandle", (PyCFunction
) _wrap_wxIcon_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
13129 { "wxIcon_LoadFile", (PyCFunction
) _wrap_wxIcon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
13130 { "delete_wxIcon", (PyCFunction
) _wrap_delete_wxIcon
, METH_VARARGS
| METH_KEYWORDS
},
13131 { "new_wxIcon", (PyCFunction
) _wrap_new_wxIcon
, METH_VARARGS
| METH_KEYWORDS
},
13132 { "wxMask_Destroy", (PyCFunction
) _wrap_wxMask_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
13133 { "new_wxMask", (PyCFunction
) _wrap_new_wxMask
, METH_VARARGS
| METH_KEYWORDS
},
13134 { "wxBitmap_SetQuality", (PyCFunction
) _wrap_wxBitmap_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
13135 { "wxBitmap_GetQuality", (PyCFunction
) _wrap_wxBitmap_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
13136 { "wxBitmap_CopyFromCursor", (PyCFunction
) _wrap_wxBitmap_CopyFromCursor
, METH_VARARGS
| METH_KEYWORDS
},
13137 { "wxBitmap_CopyFromIcon", (PyCFunction
) _wrap_wxBitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
13138 { "wxBitmap_GetSubBitmap", (PyCFunction
) _wrap_wxBitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
},
13139 { "wxBitmap_SetSize", (PyCFunction
) _wrap_wxBitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
13140 { "wxBitmap_SetDepth", (PyCFunction
) _wrap_wxBitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
13141 { "wxBitmap_SetHeight", (PyCFunction
) _wrap_wxBitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
13142 { "wxBitmap_SetWidth", (PyCFunction
) _wrap_wxBitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
13143 { "wxBitmap_GetDepth", (PyCFunction
) _wrap_wxBitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
13144 { "wxBitmap_GetHeight", (PyCFunction
) _wrap_wxBitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
13145 { "wxBitmap_GetWidth", (PyCFunction
) _wrap_wxBitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
13146 { "wxBitmap_Ok", (PyCFunction
) _wrap_wxBitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
},
13147 { "wxBitmap_SetHandle", (PyCFunction
) _wrap_wxBitmap_SetHandle
, METH_VARARGS
| METH_KEYWORDS
},
13148 { "wxBitmap_GetHandle", (PyCFunction
) _wrap_wxBitmap_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
13149 { "wxBitmap_SetPalette", (PyCFunction
) _wrap_wxBitmap_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
13150 { "wxBitmap_SetMask", (PyCFunction
) _wrap_wxBitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
13151 { "wxBitmap_SaveFile", (PyCFunction
) _wrap_wxBitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
13152 { "wxBitmap_LoadFile", (PyCFunction
) _wrap_wxBitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
13153 { "wxBitmap_GetMask", (PyCFunction
) _wrap_wxBitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
13154 { "wxBitmap_GetPalette", (PyCFunction
) _wrap_wxBitmap_GetPalette
, METH_VARARGS
| METH_KEYWORDS
},
13155 { "delete_wxBitmap", (PyCFunction
) _wrap_delete_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
13156 { "new_wxBitmap", (PyCFunction
) _wrap_new_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
13157 { "wxGDIObject_IsNull", (PyCFunction
) _wrap_wxGDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
13158 { "wxGDIObject_SetVisible", (PyCFunction
) _wrap_wxGDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
},
13159 { "wxGDIObject_GetVisible", (PyCFunction
) _wrap_wxGDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
},
13160 { "delete_wxGDIObject", (PyCFunction
) _wrap_delete_wxGDIObject
, METH_VARARGS
| METH_KEYWORDS
},
13161 { "new_wxGDIObject", (PyCFunction
) _wrap_new_wxGDIObject
, METH_VARARGS
| METH_KEYWORDS
},
13162 { "wxMemoryDCFromDC", (PyCFunction
) _wrap_wxMemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
},
13163 { "wxNamedColour", (PyCFunction
) _wrap_wxNamedColour
, METH_VARARGS
| METH_KEYWORDS
},
13164 { "wxStockCursor", (PyCFunction
) _wrap_wxStockCursor
, METH_VARARGS
| METH_KEYWORDS
},
13165 { "wxIconFromBitmap", (PyCFunction
) _wrap_wxIconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
13166 { "wxIconFromXPMData", (PyCFunction
) _wrap_wxIconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
13167 { "wxEmptyIcon", (PyCFunction
) _wrap_wxEmptyIcon
, METH_VARARGS
| METH_KEYWORDS
},
13168 { "wxMaskColour", (PyCFunction
) _wrap_wxMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
13169 { "wxBitmapFromBits", (PyCFunction
) _wrap_wxBitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
},
13170 { "wxBitmapFromIcon", (PyCFunction
) _wrap_wxBitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
13171 { "wxBitmapFromXPMData", (PyCFunction
) _wrap_wxBitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
13172 { "wxEmptyBitmap", (PyCFunction
) _wrap_wxEmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
},
13179 * This table is used by the pointer type-checker
13181 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
13182 { "_signed_long","_long",0},
13183 { "_wxPrintQuality","_wxCoord",0},
13184 { "_wxPrintQuality","_int",0},
13185 { "_wxPrintQuality","_signed_int",0},
13186 { "_wxPrintQuality","_unsigned_int",0},
13187 { "_wxPrintQuality","_wxWindowID",0},
13188 { "_wxPrintQuality","_uint",0},
13189 { "_wxPrintQuality","_EBool",0},
13190 { "_wxPrintQuality","_size_t",0},
13191 { "_wxPrintQuality","_time_t",0},
13192 { "_wxPen","_wxPyPen",SwigwxPyPenTowxPen
},
13193 { "_byte","_unsigned_char",0},
13194 { "_long","_unsigned_long",0},
13195 { "_long","_signed_long",0},
13196 { "_wxGDIObject","_wxRegion",SwigwxRegionTowxGDIObject
},
13197 { "_wxGDIObject","_wxPalette",SwigwxPaletteTowxGDIObject
},
13198 { "_wxGDIObject","_wxBrush",SwigwxBrushTowxGDIObject
},
13199 { "_wxGDIObject","_wxPyPen",SwigwxPyPenTowxGDIObject
},
13200 { "_wxGDIObject","_wxPen",SwigwxPenTowxGDIObject
},
13201 { "_wxGDIObject","_wxFont",SwigwxFontTowxGDIObject
},
13202 { "_wxGDIObject","_wxCursor",SwigwxCursorTowxGDIObject
},
13203 { "_wxGDIObject","_wxIcon",SwigwxIconTowxGDIObject
},
13204 { "_wxGDIObject","_wxBitmap",SwigwxBitmapTowxGDIObject
},
13205 { "_wxDC","_wxMetaFileDC",SwigwxMetaFileDCTowxDC
},
13206 { "_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC
},
13207 { "_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
},
13208 { "_wxDC","_wxClientDC",SwigwxClientDCTowxDC
},
13209 { "_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
},
13210 { "_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
},
13211 { "_size_t","_wxCoord",0},
13212 { "_size_t","_wxPrintQuality",0},
13213 { "_size_t","_time_t",0},
13214 { "_size_t","_unsigned_int",0},
13215 { "_size_t","_int",0},
13216 { "_size_t","_wxWindowID",0},
13217 { "_size_t","_uint",0},
13218 { "_uint","_wxCoord",0},
13219 { "_uint","_wxPrintQuality",0},
13220 { "_uint","_time_t",0},
13221 { "_uint","_size_t",0},
13222 { "_uint","_unsigned_int",0},
13223 { "_uint","_int",0},
13224 { "_uint","_wxWindowID",0},
13225 { "_wxChar","_char",0},
13226 { "_char","_wxChar",0},
13227 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
13228 { "_EBool","_wxCoord",0},
13229 { "_EBool","_wxPrintQuality",0},
13230 { "_EBool","_signed_int",0},
13231 { "_EBool","_int",0},
13232 { "_EBool","_wxWindowID",0},
13233 { "_unsigned_long","_long",0},
13234 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
13235 { "_signed_int","_wxCoord",0},
13236 { "_signed_int","_wxPrintQuality",0},
13237 { "_signed_int","_EBool",0},
13238 { "_signed_int","_wxWindowID",0},
13239 { "_signed_int","_int",0},
13240 { "_WXTYPE","_short",0},
13241 { "_WXTYPE","_signed_short",0},
13242 { "_WXTYPE","_unsigned_short",0},
13243 { "_unsigned_short","_WXTYPE",0},
13244 { "_unsigned_short","_short",0},
13245 { "_wxObject","_wxRegionIterator",SwigwxRegionIteratorTowxObject
},
13246 { "_wxObject","_wxRegion",SwigwxRegionTowxObject
},
13247 { "_wxObject","_wxImageList",SwigwxImageListTowxObject
},
13248 { "_wxObject","_wxPalette",SwigwxPaletteTowxObject
},
13249 { "_wxObject","_wxMetaFileDC",SwigwxMetaFileDCTowxObject
},
13250 { "_wxObject","_wxMetaFile",SwigwxMetaFileTowxObject
},
13251 { "_wxObject","_wxWindowDC",SwigwxWindowDCTowxObject
},
13252 { "_wxObject","_wxPaintDC",SwigwxPaintDCTowxObject
},
13253 { "_wxObject","_wxClientDC",SwigwxClientDCTowxObject
},
13254 { "_wxObject","_wxScreenDC",SwigwxScreenDCTowxObject
},
13255 { "_wxObject","_wxMemoryDC",SwigwxMemoryDCTowxObject
},
13256 { "_wxObject","_wxDC",SwigwxDCTowxObject
},
13257 { "_wxObject","_wxBrushList",SwigwxBrushListTowxObject
},
13258 { "_wxObject","_wxBrush",SwigwxBrushTowxObject
},
13259 { "_wxObject","_wxPenList",SwigwxPenListTowxObject
},
13260 { "_wxObject","_wxPyPen",SwigwxPyPenTowxObject
},
13261 { "_wxObject","_wxPen",SwigwxPenTowxObject
},
13262 { "_wxObject","_wxColourDatabase",SwigwxColourDatabaseTowxObject
},
13263 { "_wxObject","_wxColour",SwigwxColourTowxObject
},
13264 { "_wxObject","_wxFontList",SwigwxFontListTowxObject
},
13265 { "_wxObject","_wxFont",SwigwxFontTowxObject
},
13266 { "_wxObject","_wxCursor",SwigwxCursorTowxObject
},
13267 { "_wxObject","_wxIcon",SwigwxIconTowxObject
},
13268 { "_wxObject","_wxMask",SwigwxMaskTowxObject
},
13269 { "_wxObject","_wxBitmap",SwigwxBitmapTowxObject
},
13270 { "_wxObject","_wxGDIObject",SwigwxGDIObjectTowxObject
},
13271 { "_signed_short","_WXTYPE",0},
13272 { "_signed_short","_short",0},
13273 { "_unsigned_char","_byte",0},
13274 { "_unsigned_int","_wxCoord",0},
13275 { "_unsigned_int","_wxPrintQuality",0},
13276 { "_unsigned_int","_time_t",0},
13277 { "_unsigned_int","_size_t",0},
13278 { "_unsigned_int","_uint",0},
13279 { "_unsigned_int","_wxWindowID",0},
13280 { "_unsigned_int","_int",0},
13281 { "_short","_WXTYPE",0},
13282 { "_short","_unsigned_short",0},
13283 { "_short","_signed_short",0},
13284 { "_wxWindowID","_wxCoord",0},
13285 { "_wxWindowID","_wxPrintQuality",0},
13286 { "_wxWindowID","_time_t",0},
13287 { "_wxWindowID","_size_t",0},
13288 { "_wxWindowID","_EBool",0},
13289 { "_wxWindowID","_uint",0},
13290 { "_wxWindowID","_int",0},
13291 { "_wxWindowID","_signed_int",0},
13292 { "_wxWindowID","_unsigned_int",0},
13293 { "_int","_wxCoord",0},
13294 { "_int","_wxPrintQuality",0},
13295 { "_int","_time_t",0},
13296 { "_int","_size_t",0},
13297 { "_int","_EBool",0},
13298 { "_int","_uint",0},
13299 { "_int","_wxWindowID",0},
13300 { "_int","_unsigned_int",0},
13301 { "_int","_signed_int",0},
13302 { "_time_t","_wxCoord",0},
13303 { "_time_t","_wxPrintQuality",0},
13304 { "_time_t","_unsigned_int",0},
13305 { "_time_t","_int",0},
13306 { "_time_t","_wxWindowID",0},
13307 { "_time_t","_uint",0},
13308 { "_time_t","_size_t",0},
13309 { "_wxCoord","_int",0},
13310 { "_wxCoord","_signed_int",0},
13311 { "_wxCoord","_unsigned_int",0},
13312 { "_wxCoord","_wxWindowID",0},
13313 { "_wxCoord","_uint",0},
13314 { "_wxCoord","_EBool",0},
13315 { "_wxCoord","_size_t",0},
13316 { "_wxCoord","_time_t",0},
13317 { "_wxCoord","_wxPrintQuality",0},
13320 static PyObject
*SWIG_globals
;
13324 SWIGEXPORT(void) initgdic() {
13326 SWIG_globals
= SWIG_newvarlink();
13327 m
= Py_InitModule("gdic", gdicMethods
);
13328 d
= PyModule_GetDict(m
);
13329 PyDict_SetItemString(d
,"wxFONTFAMILY_DEFAULT", PyInt_FromLong((long) wxFONTFAMILY_DEFAULT
));
13330 PyDict_SetItemString(d
,"wxFONTFAMILY_DECORATIVE", PyInt_FromLong((long) wxFONTFAMILY_DECORATIVE
));
13331 PyDict_SetItemString(d
,"wxFONTFAMILY_ROMAN", PyInt_FromLong((long) wxFONTFAMILY_ROMAN
));
13332 PyDict_SetItemString(d
,"wxFONTFAMILY_SCRIPT", PyInt_FromLong((long) wxFONTFAMILY_SCRIPT
));
13333 PyDict_SetItemString(d
,"wxFONTFAMILY_SWISS", PyInt_FromLong((long) wxFONTFAMILY_SWISS
));
13334 PyDict_SetItemString(d
,"wxFONTFAMILY_MODERN", PyInt_FromLong((long) wxFONTFAMILY_MODERN
));
13335 PyDict_SetItemString(d
,"wxFONTFAMILY_TELETYPE", PyInt_FromLong((long) wxFONTFAMILY_TELETYPE
));
13336 PyDict_SetItemString(d
,"wxFONTFAMILY_MAX", PyInt_FromLong((long) wxFONTFAMILY_MAX
));
13337 PyDict_SetItemString(d
,"wxFONTFAMILY_UNKNOWN", PyInt_FromLong((long) wxFONTFAMILY_UNKNOWN
));
13338 PyDict_SetItemString(d
,"wxFONTSTYLE_NORMAL", PyInt_FromLong((long) wxFONTSTYLE_NORMAL
));
13339 PyDict_SetItemString(d
,"wxFONTSTYLE_ITALIC", PyInt_FromLong((long) wxFONTSTYLE_ITALIC
));
13340 PyDict_SetItemString(d
,"wxFONTSTYLE_SLANT", PyInt_FromLong((long) wxFONTSTYLE_SLANT
));
13341 PyDict_SetItemString(d
,"wxFONTSTYLE_MAX", PyInt_FromLong((long) wxFONTSTYLE_MAX
));
13342 PyDict_SetItemString(d
,"wxFONTWEIGHT_NORMAL", PyInt_FromLong((long) wxFONTWEIGHT_NORMAL
));
13343 PyDict_SetItemString(d
,"wxFONTWEIGHT_LIGHT", PyInt_FromLong((long) wxFONTWEIGHT_LIGHT
));
13344 PyDict_SetItemString(d
,"wxFONTWEIGHT_BOLD", PyInt_FromLong((long) wxFONTWEIGHT_BOLD
));
13345 PyDict_SetItemString(d
,"wxFONTWEIGHT_MAX", PyInt_FromLong((long) wxFONTWEIGHT_MAX
));
13346 PyDict_SetItemString(d
,"wxFONTENCODING_SYSTEM", PyInt_FromLong((long) wxFONTENCODING_SYSTEM
));
13347 PyDict_SetItemString(d
,"wxFONTENCODING_DEFAULT", PyInt_FromLong((long) wxFONTENCODING_DEFAULT
));
13348 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_1", PyInt_FromLong((long) wxFONTENCODING_ISO8859_1
));
13349 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_2", PyInt_FromLong((long) wxFONTENCODING_ISO8859_2
));
13350 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_3", PyInt_FromLong((long) wxFONTENCODING_ISO8859_3
));
13351 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_4", PyInt_FromLong((long) wxFONTENCODING_ISO8859_4
));
13352 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_5", PyInt_FromLong((long) wxFONTENCODING_ISO8859_5
));
13353 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_6", PyInt_FromLong((long) wxFONTENCODING_ISO8859_6
));
13354 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_7", PyInt_FromLong((long) wxFONTENCODING_ISO8859_7
));
13355 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_8", PyInt_FromLong((long) wxFONTENCODING_ISO8859_8
));
13356 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_9", PyInt_FromLong((long) wxFONTENCODING_ISO8859_9
));
13357 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_10", PyInt_FromLong((long) wxFONTENCODING_ISO8859_10
));
13358 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_11", PyInt_FromLong((long) wxFONTENCODING_ISO8859_11
));
13359 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_12", PyInt_FromLong((long) wxFONTENCODING_ISO8859_12
));
13360 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_13", PyInt_FromLong((long) wxFONTENCODING_ISO8859_13
));
13361 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_14", PyInt_FromLong((long) wxFONTENCODING_ISO8859_14
));
13362 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_15", PyInt_FromLong((long) wxFONTENCODING_ISO8859_15
));
13363 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_MAX", PyInt_FromLong((long) wxFONTENCODING_ISO8859_MAX
));
13364 PyDict_SetItemString(d
,"wxFONTENCODING_KOI8", PyInt_FromLong((long) wxFONTENCODING_KOI8
));
13365 PyDict_SetItemString(d
,"wxFONTENCODING_ALTERNATIVE", PyInt_FromLong((long) wxFONTENCODING_ALTERNATIVE
));
13366 PyDict_SetItemString(d
,"wxFONTENCODING_BULGARIAN", PyInt_FromLong((long) wxFONTENCODING_BULGARIAN
));
13367 PyDict_SetItemString(d
,"wxFONTENCODING_CP437", PyInt_FromLong((long) wxFONTENCODING_CP437
));
13368 PyDict_SetItemString(d
,"wxFONTENCODING_CP850", PyInt_FromLong((long) wxFONTENCODING_CP850
));
13369 PyDict_SetItemString(d
,"wxFONTENCODING_CP852", PyInt_FromLong((long) wxFONTENCODING_CP852
));
13370 PyDict_SetItemString(d
,"wxFONTENCODING_CP855", PyInt_FromLong((long) wxFONTENCODING_CP855
));
13371 PyDict_SetItemString(d
,"wxFONTENCODING_CP866", PyInt_FromLong((long) wxFONTENCODING_CP866
));
13372 PyDict_SetItemString(d
,"wxFONTENCODING_CP874", PyInt_FromLong((long) wxFONTENCODING_CP874
));
13373 PyDict_SetItemString(d
,"wxFONTENCODING_CP932", PyInt_FromLong((long) wxFONTENCODING_CP932
));
13374 PyDict_SetItemString(d
,"wxFONTENCODING_CP936", PyInt_FromLong((long) wxFONTENCODING_CP936
));
13375 PyDict_SetItemString(d
,"wxFONTENCODING_CP949", PyInt_FromLong((long) wxFONTENCODING_CP949
));
13376 PyDict_SetItemString(d
,"wxFONTENCODING_CP950", PyInt_FromLong((long) wxFONTENCODING_CP950
));
13377 PyDict_SetItemString(d
,"wxFONTENCODING_CP1250", PyInt_FromLong((long) wxFONTENCODING_CP1250
));
13378 PyDict_SetItemString(d
,"wxFONTENCODING_CP1251", PyInt_FromLong((long) wxFONTENCODING_CP1251
));
13379 PyDict_SetItemString(d
,"wxFONTENCODING_CP1252", PyInt_FromLong((long) wxFONTENCODING_CP1252
));
13380 PyDict_SetItemString(d
,"wxFONTENCODING_CP1253", PyInt_FromLong((long) wxFONTENCODING_CP1253
));
13381 PyDict_SetItemString(d
,"wxFONTENCODING_CP1254", PyInt_FromLong((long) wxFONTENCODING_CP1254
));
13382 PyDict_SetItemString(d
,"wxFONTENCODING_CP1255", PyInt_FromLong((long) wxFONTENCODING_CP1255
));
13383 PyDict_SetItemString(d
,"wxFONTENCODING_CP1256", PyInt_FromLong((long) wxFONTENCODING_CP1256
));
13384 PyDict_SetItemString(d
,"wxFONTENCODING_CP1257", PyInt_FromLong((long) wxFONTENCODING_CP1257
));
13385 PyDict_SetItemString(d
,"wxFONTENCODING_CP12_MAX", PyInt_FromLong((long) wxFONTENCODING_CP12_MAX
));
13386 PyDict_SetItemString(d
,"wxFONTENCODING_UTF7", PyInt_FromLong((long) wxFONTENCODING_UTF7
));
13387 PyDict_SetItemString(d
,"wxFONTENCODING_UTF8", PyInt_FromLong((long) wxFONTENCODING_UTF8
));
13388 PyDict_SetItemString(d
,"wxFONTENCODING_UNICODE", PyInt_FromLong((long) wxFONTENCODING_UNICODE
));
13389 PyDict_SetItemString(d
,"wxFONTENCODING_MAX", PyInt_FromLong((long) wxFONTENCODING_MAX
));
13390 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_NORMAL", PyInt_FromLong((long) wxIMAGELIST_DRAW_NORMAL
));
13391 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_TRANSPARENT", PyInt_FromLong((long) wxIMAGELIST_DRAW_TRANSPARENT
));
13392 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_SELECTED", PyInt_FromLong((long) wxIMAGELIST_DRAW_SELECTED
));
13393 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_FOCUSED", PyInt_FromLong((long) wxIMAGELIST_DRAW_FOCUSED
));
13394 PyDict_SetItemString(d
,"wxIMAGE_LIST_NORMAL", PyInt_FromLong((long) wxIMAGE_LIST_NORMAL
));
13395 PyDict_SetItemString(d
,"wxIMAGE_LIST_SMALL", PyInt_FromLong((long) wxIMAGE_LIST_SMALL
));
13396 PyDict_SetItemString(d
,"wxIMAGE_LIST_STATE", PyInt_FromLong((long) wxIMAGE_LIST_STATE
));
13397 PyDict_SetItemString(d
,"wxOutRegion", PyInt_FromLong((long) wxOutRegion
));
13398 PyDict_SetItemString(d
,"wxPartRegion", PyInt_FromLong((long) wxPartRegion
));
13399 PyDict_SetItemString(d
,"wxInRegion", PyInt_FromLong((long) wxInRegion
));
13400 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
13401 SWIG_addvarlink(SWIG_globals
,"wxNORMAL_FONT",_wrap_wxNORMAL_FONT_get
, _wrap_wxNORMAL_FONT_set
);
13402 SWIG_addvarlink(SWIG_globals
,"wxSMALL_FONT",_wrap_wxSMALL_FONT_get
, _wrap_wxSMALL_FONT_set
);
13403 SWIG_addvarlink(SWIG_globals
,"wxITALIC_FONT",_wrap_wxITALIC_FONT_get
, _wrap_wxITALIC_FONT_set
);
13404 SWIG_addvarlink(SWIG_globals
,"wxSWISS_FONT",_wrap_wxSWISS_FONT_get
, _wrap_wxSWISS_FONT_set
);
13405 SWIG_addvarlink(SWIG_globals
,"wxRED_PEN",_wrap_wxRED_PEN_get
, _wrap_wxRED_PEN_set
);
13406 SWIG_addvarlink(SWIG_globals
,"wxCYAN_PEN",_wrap_wxCYAN_PEN_get
, _wrap_wxCYAN_PEN_set
);
13407 SWIG_addvarlink(SWIG_globals
,"wxGREEN_PEN",_wrap_wxGREEN_PEN_get
, _wrap_wxGREEN_PEN_set
);
13408 SWIG_addvarlink(SWIG_globals
,"wxBLACK_PEN",_wrap_wxBLACK_PEN_get
, _wrap_wxBLACK_PEN_set
);
13409 SWIG_addvarlink(SWIG_globals
,"wxWHITE_PEN",_wrap_wxWHITE_PEN_get
, _wrap_wxWHITE_PEN_set
);
13410 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_PEN",_wrap_wxTRANSPARENT_PEN_get
, _wrap_wxTRANSPARENT_PEN_set
);
13411 SWIG_addvarlink(SWIG_globals
,"wxBLACK_DASHED_PEN",_wrap_wxBLACK_DASHED_PEN_get
, _wrap_wxBLACK_DASHED_PEN_set
);
13412 SWIG_addvarlink(SWIG_globals
,"wxGREY_PEN",_wrap_wxGREY_PEN_get
, _wrap_wxGREY_PEN_set
);
13413 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_PEN",_wrap_wxMEDIUM_GREY_PEN_get
, _wrap_wxMEDIUM_GREY_PEN_set
);
13414 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_PEN",_wrap_wxLIGHT_GREY_PEN_get
, _wrap_wxLIGHT_GREY_PEN_set
);
13415 SWIG_addvarlink(SWIG_globals
,"wxBLUE_BRUSH",_wrap_wxBLUE_BRUSH_get
, _wrap_wxBLUE_BRUSH_set
);
13416 SWIG_addvarlink(SWIG_globals
,"wxGREEN_BRUSH",_wrap_wxGREEN_BRUSH_get
, _wrap_wxGREEN_BRUSH_set
);
13417 SWIG_addvarlink(SWIG_globals
,"wxWHITE_BRUSH",_wrap_wxWHITE_BRUSH_get
, _wrap_wxWHITE_BRUSH_set
);
13418 SWIG_addvarlink(SWIG_globals
,"wxBLACK_BRUSH",_wrap_wxBLACK_BRUSH_get
, _wrap_wxBLACK_BRUSH_set
);
13419 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_BRUSH",_wrap_wxTRANSPARENT_BRUSH_get
, _wrap_wxTRANSPARENT_BRUSH_set
);
13420 SWIG_addvarlink(SWIG_globals
,"wxCYAN_BRUSH",_wrap_wxCYAN_BRUSH_get
, _wrap_wxCYAN_BRUSH_set
);
13421 SWIG_addvarlink(SWIG_globals
,"wxRED_BRUSH",_wrap_wxRED_BRUSH_get
, _wrap_wxRED_BRUSH_set
);
13422 SWIG_addvarlink(SWIG_globals
,"wxGREY_BRUSH",_wrap_wxGREY_BRUSH_get
, _wrap_wxGREY_BRUSH_set
);
13423 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_BRUSH",_wrap_wxMEDIUM_GREY_BRUSH_get
, _wrap_wxMEDIUM_GREY_BRUSH_set
);
13424 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_BRUSH",_wrap_wxLIGHT_GREY_BRUSH_get
, _wrap_wxLIGHT_GREY_BRUSH_set
);
13425 SWIG_addvarlink(SWIG_globals
,"wxBLACK",_wrap_wxBLACK_get
, _wrap_wxBLACK_set
);
13426 SWIG_addvarlink(SWIG_globals
,"wxWHITE",_wrap_wxWHITE_get
, _wrap_wxWHITE_set
);
13427 SWIG_addvarlink(SWIG_globals
,"wxRED",_wrap_wxRED_get
, _wrap_wxRED_set
);
13428 SWIG_addvarlink(SWIG_globals
,"wxBLUE",_wrap_wxBLUE_get
, _wrap_wxBLUE_set
);
13429 SWIG_addvarlink(SWIG_globals
,"wxGREEN",_wrap_wxGREEN_get
, _wrap_wxGREEN_set
);
13430 SWIG_addvarlink(SWIG_globals
,"wxCYAN",_wrap_wxCYAN_get
, _wrap_wxCYAN_set
);
13431 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY",_wrap_wxLIGHT_GREY_get
, _wrap_wxLIGHT_GREY_set
);
13432 SWIG_addvarlink(SWIG_globals
,"wxSTANDARD_CURSOR",_wrap_wxSTANDARD_CURSOR_get
, _wrap_wxSTANDARD_CURSOR_set
);
13433 SWIG_addvarlink(SWIG_globals
,"wxHOURGLASS_CURSOR",_wrap_wxHOURGLASS_CURSOR_get
, _wrap_wxHOURGLASS_CURSOR_set
);
13434 SWIG_addvarlink(SWIG_globals
,"wxCROSS_CURSOR",_wrap_wxCROSS_CURSOR_get
, _wrap_wxCROSS_CURSOR_set
);
13435 SWIG_addvarlink(SWIG_globals
,"wxNullBitmap",_wrap_wxNullBitmap_get
, _wrap_wxNullBitmap_set
);
13436 SWIG_addvarlink(SWIG_globals
,"wxNullIcon",_wrap_wxNullIcon_get
, _wrap_wxNullIcon_set
);
13437 SWIG_addvarlink(SWIG_globals
,"wxNullCursor",_wrap_wxNullCursor_get
, _wrap_wxNullCursor_set
);
13438 SWIG_addvarlink(SWIG_globals
,"wxNullPen",_wrap_wxNullPen_get
, _wrap_wxNullPen_set
);
13439 SWIG_addvarlink(SWIG_globals
,"wxNullBrush",_wrap_wxNullBrush_get
, _wrap_wxNullBrush_set
);
13440 SWIG_addvarlink(SWIG_globals
,"wxNullPalette",_wrap_wxNullPalette_get
, _wrap_wxNullPalette_set
);
13441 SWIG_addvarlink(SWIG_globals
,"wxNullFont",_wrap_wxNullFont_get
, _wrap_wxNullFont_set
);
13442 SWIG_addvarlink(SWIG_globals
,"wxNullColour",_wrap_wxNullColour_get
, _wrap_wxNullColour_set
);
13443 SWIG_addvarlink(SWIG_globals
,"wxTheFontList",_wrap_wxTheFontList_get
, _wrap_wxTheFontList_set
);
13444 SWIG_addvarlink(SWIG_globals
,"wxThePenList",_wrap_wxThePenList_get
, _wrap_wxThePenList_set
);
13445 SWIG_addvarlink(SWIG_globals
,"wxTheBrushList",_wrap_wxTheBrushList_get
, _wrap_wxTheBrushList_set
);
13446 SWIG_addvarlink(SWIG_globals
,"wxTheColourDatabase",_wrap_wxTheColourDatabase_get
, _wrap_wxTheColourDatabase_set
);
13449 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
13450 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);