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>
64 #include <wx/dcbuffer.h>
67 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
73 } else if (target
== Py_None
) {
77 if (!PyTuple_Check(target
)) {
79 target
= PyTuple_New(1);
80 PyTuple_SetItem(target
, 0, o2
);
83 PyTuple_SetItem(o3
, 0, o
);
86 target
= PySequence_Concat(o2
, o3
);
93 // Put some wx default wxChar* values into wxStrings.
94 static const wxString
wxPyEmptyString(wxT(""));
95 // Implementations of some alternate "constructors"
97 wxBitmap
* wxEmptyBitmap(int width
, int height
, int depth
=-1) {
98 return new wxBitmap(width
, height
, depth
);
101 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
102 char** cArray
= NULL
;
105 if (!PyList_Check(listOfStrings
)) {
106 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
109 count
= PyList_Size(listOfStrings
);
110 cArray
= new char*[count
];
112 for(int x
=0; x
<count
; x
++) {
113 // TODO: Need some validation and error checking here
114 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
120 wxBitmap
* wxBitmapFromXPMData(PyObject
* listOfStrings
) {
121 char** cArray
= NULL
;
124 cArray
= ConvertListOfStrings(listOfStrings
);
127 bmp
= new wxBitmap(cArray
);
133 wxBitmap
* wxBitmapFromIcon(const wxIcon
& icon
) {
134 return new wxBitmap(icon
);
138 wxBitmap
* wxBitmapFromBits(char* bits
, int width
, int height
, int depth
= 1 ) {
139 return new wxBitmap(bits
, width
, height
, depth
);
144 // wxBitmap* wxBitmapFromData(PyObject* data, long type,
145 // int width, int height, int depth = 1) {
146 // if (! PyString_Check(data)) {
147 // PyErr_SetString(PyExc_TypeError, "Expected string object");
150 // return new wxBitmap((void*)PyString_AsString(data), type, width, height, depth);
154 wxMask
* wxMaskColour(const wxBitmap
& bitmap
, const wxColour
& colour
) {
155 return new wxMask(bitmap
, colour
);
157 // Implementations of some alternate "constructors"
158 wxIcon
* wxEmptyIcon() {
162 wxIcon
* wxIconFromXPMData(PyObject
* listOfStrings
) {
163 char** cArray
= NULL
;
166 cArray
= ConvertListOfStrings(listOfStrings
);
169 icon
= new wxIcon(cArray
);
174 wxIcon
* wxIconFromBitmap(const wxBitmap
& bmp
) {
175 wxIcon
* icon
= new wxIcon();
176 icon
->CopyFromBitmap(bmp
);
179 // Alternate 'constructor'
180 wxCursor
* wxPyStockCursor(int id
) {
181 return new wxCursor(id
);
183 // Alternate 'constructor'
184 wxColour
* wxNamedColour(const wxString
& colorName
) {
185 return new wxColour(colorName
);
188 class wxPyPen
: public wxPen
{
190 wxPyPen(wxColour
& colour
, int width
=1, int style
=wxSOLID
)
191 : wxPen(colour
, width
, style
)
198 void SetDashes(int nb_dashes
, const wxDash
*dash
) {
201 m_dash
= new wxDash
[nb_dashes
];
202 for (int i
=0; i
<nb_dashes
; i
++) {
205 wxPen::SetDashes(nb_dashes
, m_dash
);
212 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
218 // Alternate 'constructor'
219 wxMemoryDC
* wxMemoryDCFromDC(wxDC
* oldDC
) {
220 return new wxMemoryDC(oldDC
);
223 #include <wx/metafile.h>
226 extern wxFont
* wxNORMAL_FONT
;
227 extern wxFont
* wxSMALL_FONT
;
228 extern wxFont
* wxITALIC_FONT
;
229 extern wxFont
* wxSWISS_FONT
;
230 extern wxPen
* wxRED_PEN
;
231 extern wxPen
* wxCYAN_PEN
;
232 extern wxPen
* wxGREEN_PEN
;
233 extern wxPen
* wxBLACK_PEN
;
234 extern wxPen
* wxWHITE_PEN
;
235 extern wxPen
* wxTRANSPARENT_PEN
;
236 extern wxPen
* wxBLACK_DASHED_PEN
;
237 extern wxPen
* wxGREY_PEN
;
238 extern wxPen
* wxMEDIUM_GREY_PEN
;
239 extern wxPen
* wxLIGHT_GREY_PEN
;
240 extern wxBrush
* wxBLUE_BRUSH
;
241 extern wxBrush
* wxGREEN_BRUSH
;
242 extern wxBrush
* wxWHITE_BRUSH
;
243 extern wxBrush
* wxBLACK_BRUSH
;
244 extern wxBrush
* wxTRANSPARENT_BRUSH
;
245 extern wxBrush
* wxCYAN_BRUSH
;
246 extern wxBrush
* wxRED_BRUSH
;
247 extern wxBrush
* wxGREY_BRUSH
;
248 extern wxBrush
* wxMEDIUM_GREY_BRUSH
;
249 extern wxBrush
* wxLIGHT_GREY_BRUSH
;
250 extern wxColour
* wxBLACK
;
251 extern wxColour
* wxWHITE
;
252 extern wxColour
* wxRED
;
253 extern wxColour
* wxBLUE
;
254 extern wxColour
* wxGREEN
;
255 extern wxColour
* wxCYAN
;
256 extern wxColour
* wxLIGHT_GREY
;
257 extern wxCursor
* wxSTANDARD_CURSOR
;
258 extern wxCursor
* wxHOURGLASS_CURSOR
;
259 extern wxCursor
* wxCROSS_CURSOR
;
260 extern wxBitmap wxNullBitmap
;
261 extern wxIcon wxNullIcon
;
262 extern wxCursor wxNullCursor
;
263 extern wxPen wxNullPen
;
264 extern wxBrush wxNullBrush
;
265 extern wxPalette wxNullPalette
;
266 extern wxFont wxNullFont
;
267 extern wxColour wxNullColour
;
268 extern wxFontList
* wxTheFontList
;
269 extern wxPenList
* wxThePenList
;
270 extern wxBrushList
* wxTheBrushList
;
271 extern wxColourDatabase
* wxTheColourDatabase
;
277 static PyObject
*_wrap_wxEmptyBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
278 PyObject
* _resultobj
;
282 int _arg2
= (int ) -1;
283 char *_kwnames
[] = { "width","height","depth", NULL
};
287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ii|i:wxEmptyBitmap",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
291 _result
= (wxBitmap
*)wxEmptyBitmap(_arg0
,_arg1
,_arg2
);
293 wxPyEndAllowThreads(__tstate
);
294 if (PyErr_Occurred()) return NULL
;
296 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
297 _resultobj
= Py_BuildValue("s",_ptemp
);
300 _resultobj
= Py_None
;
305 static PyObject
*_wrap_wxBitmapFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
306 PyObject
* _resultobj
;
309 PyObject
* _obj0
= 0;
310 char *_kwnames
[] = { "listOfStrings", NULL
};
314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapFromXPMData",_kwnames
,&_obj0
))
320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
321 _result
= (wxBitmap
*)wxBitmapFromXPMData(_arg0
);
323 wxPyEndAllowThreads(__tstate
);
324 if (PyErr_Occurred()) return NULL
;
326 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
327 _resultobj
= Py_BuildValue("s",_ptemp
);
330 _resultobj
= Py_None
;
335 static PyObject
*_wrap_wxBitmapFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
336 PyObject
* _resultobj
;
339 PyObject
* _argo0
= 0;
340 char *_kwnames
[] = { "icon", NULL
};
344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapFromIcon",_kwnames
,&_argo0
))
347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapFromIcon. Expected _wxIcon_p.");
354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
355 _result
= (wxBitmap
*)wxBitmapFromIcon(*_arg0
);
357 wxPyEndAllowThreads(__tstate
);
358 if (PyErr_Occurred()) return NULL
;
360 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
361 _resultobj
= Py_BuildValue("s",_ptemp
);
364 _resultobj
= Py_None
;
369 static PyObject
*_wrap_wxBitmapFromBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
370 PyObject
* _resultobj
;
375 int _arg3
= (int ) 1;
376 char *_kwnames
[] = { "bits","width","height","depth", NULL
};
380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"sii|i:wxBitmapFromBits",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
384 _result
= (wxBitmap
*)wxBitmapFromBits(_arg0
,_arg1
,_arg2
,_arg3
);
386 wxPyEndAllowThreads(__tstate
);
387 if (PyErr_Occurred()) return NULL
;
389 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
390 _resultobj
= Py_BuildValue("s",_ptemp
);
393 _resultobj
= Py_None
;
398 static PyObject
*_wrap_wxMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
399 PyObject
* _resultobj
;
403 PyObject
* _argo0
= 0;
405 PyObject
* _obj1
= 0;
406 char *_kwnames
[] = { "bitmap","colour", NULL
};
410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMaskColour",_kwnames
,&_argo0
,&_obj1
))
413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMaskColour. Expected _wxBitmap_p.");
421 if (! wxColour_helper(_obj1
, &_arg1
))
425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
426 _result
= (wxMask
*)wxMaskColour(*_arg0
,*_arg1
);
428 wxPyEndAllowThreads(__tstate
);
429 if (PyErr_Occurred()) return NULL
;
431 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
432 _resultobj
= Py_BuildValue("s",_ptemp
);
435 _resultobj
= Py_None
;
440 static PyObject
*_wrap_wxEmptyIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
441 PyObject
* _resultobj
;
443 char *_kwnames
[] = { NULL
};
447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxEmptyIcon",_kwnames
))
450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
451 _result
= (wxIcon
*)wxEmptyIcon();
453 wxPyEndAllowThreads(__tstate
);
454 if (PyErr_Occurred()) return NULL
;
456 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
457 _resultobj
= Py_BuildValue("s",_ptemp
);
460 _resultobj
= Py_None
;
465 static PyObject
*_wrap_wxIconFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
466 PyObject
* _resultobj
;
469 PyObject
* _obj0
= 0;
470 char *_kwnames
[] = { "listOfStrings", NULL
};
474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIconFromXPMData",_kwnames
,&_obj0
))
480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
481 _result
= (wxIcon
*)wxIconFromXPMData(_arg0
);
483 wxPyEndAllowThreads(__tstate
);
484 if (PyErr_Occurred()) return NULL
;
486 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
487 _resultobj
= Py_BuildValue("s",_ptemp
);
490 _resultobj
= Py_None
;
495 static PyObject
*_wrap_wxIconFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
496 PyObject
* _resultobj
;
499 PyObject
* _argo0
= 0;
500 char *_kwnames
[] = { "bmp", NULL
};
504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIconFromBitmap",_kwnames
,&_argo0
))
507 if (_argo0
== Py_None
) { _arg0
= NULL
; }
508 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIconFromBitmap. Expected _wxBitmap_p.");
514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
515 _result
= (wxIcon
*)wxIconFromBitmap(*_arg0
);
517 wxPyEndAllowThreads(__tstate
);
518 if (PyErr_Occurred()) return NULL
;
520 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
521 _resultobj
= Py_BuildValue("s",_ptemp
);
524 _resultobj
= Py_None
;
529 static PyObject
*_wrap_wxStockCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
530 PyObject
* _resultobj
;
533 char *_kwnames
[] = { "id", NULL
};
537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxStockCursor",_kwnames
,&_arg0
))
540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
541 _result
= (wxCursor
*)wxPyStockCursor(_arg0
);
543 wxPyEndAllowThreads(__tstate
);
544 if (PyErr_Occurred()) return NULL
;
546 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCursor_p");
547 _resultobj
= Py_BuildValue("s",_ptemp
);
550 _resultobj
= Py_None
;
555 static PyObject
*_wrap_wxNamedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
556 PyObject
* _resultobj
;
559 PyObject
* _obj0
= 0;
560 char *_kwnames
[] = { "colorName", NULL
};
564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNamedColour",_kwnames
,&_obj0
))
567 _arg0
= wxString_in_helper(_obj0
);
572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
573 _result
= (wxColour
*)wxNamedColour(*_arg0
);
575 wxPyEndAllowThreads(__tstate
);
576 if (PyErr_Occurred()) return NULL
;
578 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
579 _resultobj
= Py_BuildValue("s",_ptemp
);
582 _resultobj
= Py_None
;
591 static PyObject
*_wrap_wxMemoryDCFromDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
592 PyObject
* _resultobj
;
593 wxMemoryDC
* _result
;
595 PyObject
* _argo0
= 0;
596 char *_kwnames
[] = { "oldDC", NULL
};
600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMemoryDCFromDC",_kwnames
,&_argo0
))
603 if (_argo0
== Py_None
) { _arg0
= NULL
; }
604 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDCFromDC. Expected _wxDC_p.");
610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
611 _result
= (wxMemoryDC
*)wxMemoryDCFromDC(_arg0
);
613 wxPyEndAllowThreads(__tstate
);
614 if (PyErr_Occurred()) return NULL
;
616 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
617 _resultobj
= Py_BuildValue("s",_ptemp
);
620 _resultobj
= Py_None
;
625 static int _wrap_wxNORMAL_FONT_set(PyObject
*val
) {
627 PyErr_SetString(PyExc_TypeError
,"Variable wxNORMAL_FONT is read-only.");
631 static PyObject
*_wrap_wxNORMAL_FONT_get() {
635 SWIG_MakePtr(ptemp
, (char *) wxNORMAL_FONT
,"_wxFont_p");
636 pyobj
= PyString_FromString(ptemp
);
640 static int _wrap_wxSMALL_FONT_set(PyObject
*val
) {
642 PyErr_SetString(PyExc_TypeError
,"Variable wxSMALL_FONT is read-only.");
646 static PyObject
*_wrap_wxSMALL_FONT_get() {
650 SWIG_MakePtr(ptemp
, (char *) wxSMALL_FONT
,"_wxFont_p");
651 pyobj
= PyString_FromString(ptemp
);
655 static int _wrap_wxITALIC_FONT_set(PyObject
*val
) {
657 PyErr_SetString(PyExc_TypeError
,"Variable wxITALIC_FONT is read-only.");
661 static PyObject
*_wrap_wxITALIC_FONT_get() {
665 SWIG_MakePtr(ptemp
, (char *) wxITALIC_FONT
,"_wxFont_p");
666 pyobj
= PyString_FromString(ptemp
);
670 static int _wrap_wxSWISS_FONT_set(PyObject
*val
) {
672 PyErr_SetString(PyExc_TypeError
,"Variable wxSWISS_FONT is read-only.");
676 static PyObject
*_wrap_wxSWISS_FONT_get() {
680 SWIG_MakePtr(ptemp
, (char *) wxSWISS_FONT
,"_wxFont_p");
681 pyobj
= PyString_FromString(ptemp
);
685 static int _wrap_wxRED_PEN_set(PyObject
*val
) {
687 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_PEN is read-only.");
691 static PyObject
*_wrap_wxRED_PEN_get() {
695 SWIG_MakePtr(ptemp
, (char *) wxRED_PEN
,"_wxPen_p");
696 pyobj
= PyString_FromString(ptemp
);
700 static int _wrap_wxCYAN_PEN_set(PyObject
*val
) {
702 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_PEN is read-only.");
706 static PyObject
*_wrap_wxCYAN_PEN_get() {
710 SWIG_MakePtr(ptemp
, (char *) wxCYAN_PEN
,"_wxPen_p");
711 pyobj
= PyString_FromString(ptemp
);
715 static int _wrap_wxGREEN_PEN_set(PyObject
*val
) {
717 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_PEN is read-only.");
721 static PyObject
*_wrap_wxGREEN_PEN_get() {
725 SWIG_MakePtr(ptemp
, (char *) wxGREEN_PEN
,"_wxPen_p");
726 pyobj
= PyString_FromString(ptemp
);
730 static int _wrap_wxBLACK_PEN_set(PyObject
*val
) {
732 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_PEN is read-only.");
736 static PyObject
*_wrap_wxBLACK_PEN_get() {
740 SWIG_MakePtr(ptemp
, (char *) wxBLACK_PEN
,"_wxPen_p");
741 pyobj
= PyString_FromString(ptemp
);
745 static int _wrap_wxWHITE_PEN_set(PyObject
*val
) {
747 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_PEN is read-only.");
751 static PyObject
*_wrap_wxWHITE_PEN_get() {
755 SWIG_MakePtr(ptemp
, (char *) wxWHITE_PEN
,"_wxPen_p");
756 pyobj
= PyString_FromString(ptemp
);
760 static int _wrap_wxTRANSPARENT_PEN_set(PyObject
*val
) {
762 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_PEN is read-only.");
766 static PyObject
*_wrap_wxTRANSPARENT_PEN_get() {
770 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_PEN
,"_wxPen_p");
771 pyobj
= PyString_FromString(ptemp
);
775 static int _wrap_wxBLACK_DASHED_PEN_set(PyObject
*val
) {
777 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_DASHED_PEN is read-only.");
781 static PyObject
*_wrap_wxBLACK_DASHED_PEN_get() {
785 SWIG_MakePtr(ptemp
, (char *) wxBLACK_DASHED_PEN
,"_wxPen_p");
786 pyobj
= PyString_FromString(ptemp
);
790 static int _wrap_wxGREY_PEN_set(PyObject
*val
) {
792 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_PEN is read-only.");
796 static PyObject
*_wrap_wxGREY_PEN_get() {
800 SWIG_MakePtr(ptemp
, (char *) wxGREY_PEN
,"_wxPen_p");
801 pyobj
= PyString_FromString(ptemp
);
805 static int _wrap_wxMEDIUM_GREY_PEN_set(PyObject
*val
) {
807 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_PEN is read-only.");
811 static PyObject
*_wrap_wxMEDIUM_GREY_PEN_get() {
815 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_PEN
,"_wxPen_p");
816 pyobj
= PyString_FromString(ptemp
);
820 static int _wrap_wxLIGHT_GREY_PEN_set(PyObject
*val
) {
822 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_PEN is read-only.");
826 static PyObject
*_wrap_wxLIGHT_GREY_PEN_get() {
830 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_PEN
,"_wxPen_p");
831 pyobj
= PyString_FromString(ptemp
);
835 static int _wrap_wxBLUE_BRUSH_set(PyObject
*val
) {
837 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE_BRUSH is read-only.");
841 static PyObject
*_wrap_wxBLUE_BRUSH_get() {
845 SWIG_MakePtr(ptemp
, (char *) wxBLUE_BRUSH
,"_wxBrush_p");
846 pyobj
= PyString_FromString(ptemp
);
850 static int _wrap_wxGREEN_BRUSH_set(PyObject
*val
) {
852 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_BRUSH is read-only.");
856 static PyObject
*_wrap_wxGREEN_BRUSH_get() {
860 SWIG_MakePtr(ptemp
, (char *) wxGREEN_BRUSH
,"_wxBrush_p");
861 pyobj
= PyString_FromString(ptemp
);
865 static int _wrap_wxWHITE_BRUSH_set(PyObject
*val
) {
867 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_BRUSH is read-only.");
871 static PyObject
*_wrap_wxWHITE_BRUSH_get() {
875 SWIG_MakePtr(ptemp
, (char *) wxWHITE_BRUSH
,"_wxBrush_p");
876 pyobj
= PyString_FromString(ptemp
);
880 static int _wrap_wxBLACK_BRUSH_set(PyObject
*val
) {
882 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_BRUSH is read-only.");
886 static PyObject
*_wrap_wxBLACK_BRUSH_get() {
890 SWIG_MakePtr(ptemp
, (char *) wxBLACK_BRUSH
,"_wxBrush_p");
891 pyobj
= PyString_FromString(ptemp
);
895 static int _wrap_wxTRANSPARENT_BRUSH_set(PyObject
*val
) {
897 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_BRUSH is read-only.");
901 static PyObject
*_wrap_wxTRANSPARENT_BRUSH_get() {
905 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_BRUSH
,"_wxBrush_p");
906 pyobj
= PyString_FromString(ptemp
);
910 static int _wrap_wxCYAN_BRUSH_set(PyObject
*val
) {
912 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_BRUSH is read-only.");
916 static PyObject
*_wrap_wxCYAN_BRUSH_get() {
920 SWIG_MakePtr(ptemp
, (char *) wxCYAN_BRUSH
,"_wxBrush_p");
921 pyobj
= PyString_FromString(ptemp
);
925 static int _wrap_wxRED_BRUSH_set(PyObject
*val
) {
927 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_BRUSH is read-only.");
931 static PyObject
*_wrap_wxRED_BRUSH_get() {
935 SWIG_MakePtr(ptemp
, (char *) wxRED_BRUSH
,"_wxBrush_p");
936 pyobj
= PyString_FromString(ptemp
);
940 static int _wrap_wxGREY_BRUSH_set(PyObject
*val
) {
942 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_BRUSH is read-only.");
946 static PyObject
*_wrap_wxGREY_BRUSH_get() {
950 SWIG_MakePtr(ptemp
, (char *) wxGREY_BRUSH
,"_wxBrush_p");
951 pyobj
= PyString_FromString(ptemp
);
955 static int _wrap_wxMEDIUM_GREY_BRUSH_set(PyObject
*val
) {
957 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_BRUSH is read-only.");
961 static PyObject
*_wrap_wxMEDIUM_GREY_BRUSH_get() {
965 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_BRUSH
,"_wxBrush_p");
966 pyobj
= PyString_FromString(ptemp
);
970 static int _wrap_wxLIGHT_GREY_BRUSH_set(PyObject
*val
) {
972 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_BRUSH is read-only.");
976 static PyObject
*_wrap_wxLIGHT_GREY_BRUSH_get() {
980 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_BRUSH
,"_wxBrush_p");
981 pyobj
= PyString_FromString(ptemp
);
985 static int _wrap_wxBLACK_set(PyObject
*val
) {
987 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK is read-only.");
991 static PyObject
*_wrap_wxBLACK_get() {
995 SWIG_MakePtr(ptemp
, (char *) wxBLACK
,"_wxColour_p");
996 pyobj
= PyString_FromString(ptemp
);
1000 static int _wrap_wxWHITE_set(PyObject
*val
) {
1002 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE is read-only.");
1006 static PyObject
*_wrap_wxWHITE_get() {
1010 SWIG_MakePtr(ptemp
, (char *) wxWHITE
,"_wxColour_p");
1011 pyobj
= PyString_FromString(ptemp
);
1015 static int _wrap_wxRED_set(PyObject
*val
) {
1017 PyErr_SetString(PyExc_TypeError
,"Variable wxRED is read-only.");
1021 static PyObject
*_wrap_wxRED_get() {
1025 SWIG_MakePtr(ptemp
, (char *) wxRED
,"_wxColour_p");
1026 pyobj
= PyString_FromString(ptemp
);
1030 static int _wrap_wxBLUE_set(PyObject
*val
) {
1032 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE is read-only.");
1036 static PyObject
*_wrap_wxBLUE_get() {
1040 SWIG_MakePtr(ptemp
, (char *) wxBLUE
,"_wxColour_p");
1041 pyobj
= PyString_FromString(ptemp
);
1045 static int _wrap_wxGREEN_set(PyObject
*val
) {
1047 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN is read-only.");
1051 static PyObject
*_wrap_wxGREEN_get() {
1055 SWIG_MakePtr(ptemp
, (char *) wxGREEN
,"_wxColour_p");
1056 pyobj
= PyString_FromString(ptemp
);
1060 static int _wrap_wxCYAN_set(PyObject
*val
) {
1062 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN is read-only.");
1066 static PyObject
*_wrap_wxCYAN_get() {
1070 SWIG_MakePtr(ptemp
, (char *) wxCYAN
,"_wxColour_p");
1071 pyobj
= PyString_FromString(ptemp
);
1075 static int _wrap_wxLIGHT_GREY_set(PyObject
*val
) {
1077 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY is read-only.");
1081 static PyObject
*_wrap_wxLIGHT_GREY_get() {
1085 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY
,"_wxColour_p");
1086 pyobj
= PyString_FromString(ptemp
);
1090 static int _wrap_wxSTANDARD_CURSOR_set(PyObject
*val
) {
1092 PyErr_SetString(PyExc_TypeError
,"Variable wxSTANDARD_CURSOR is read-only.");
1096 static PyObject
*_wrap_wxSTANDARD_CURSOR_get() {
1100 SWIG_MakePtr(ptemp
, (char *) wxSTANDARD_CURSOR
,"_wxCursor_p");
1101 pyobj
= PyString_FromString(ptemp
);
1105 static int _wrap_wxHOURGLASS_CURSOR_set(PyObject
*val
) {
1107 PyErr_SetString(PyExc_TypeError
,"Variable wxHOURGLASS_CURSOR is read-only.");
1111 static PyObject
*_wrap_wxHOURGLASS_CURSOR_get() {
1115 SWIG_MakePtr(ptemp
, (char *) wxHOURGLASS_CURSOR
,"_wxCursor_p");
1116 pyobj
= PyString_FromString(ptemp
);
1120 static int _wrap_wxCROSS_CURSOR_set(PyObject
*val
) {
1122 PyErr_SetString(PyExc_TypeError
,"Variable wxCROSS_CURSOR is read-only.");
1126 static PyObject
*_wrap_wxCROSS_CURSOR_get() {
1130 SWIG_MakePtr(ptemp
, (char *) wxCROSS_CURSOR
,"_wxCursor_p");
1131 pyobj
= PyString_FromString(ptemp
);
1135 static int _wrap_wxNullBitmap_set(PyObject
*val
) {
1137 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBitmap is read-only.");
1141 static PyObject
*_wrap_wxNullBitmap_get() {
1145 SWIG_MakePtr(ptemp
,(char *) &wxNullBitmap
,"_wxBitmap_p");
1146 pyobj
= PyString_FromString(ptemp
);
1150 static int _wrap_wxNullIcon_set(PyObject
*val
) {
1152 PyErr_SetString(PyExc_TypeError
,"Variable wxNullIcon is read-only.");
1156 static PyObject
*_wrap_wxNullIcon_get() {
1160 SWIG_MakePtr(ptemp
,(char *) &wxNullIcon
,"_wxIcon_p");
1161 pyobj
= PyString_FromString(ptemp
);
1165 static int _wrap_wxNullCursor_set(PyObject
*val
) {
1167 PyErr_SetString(PyExc_TypeError
,"Variable wxNullCursor is read-only.");
1171 static PyObject
*_wrap_wxNullCursor_get() {
1175 SWIG_MakePtr(ptemp
,(char *) &wxNullCursor
,"_wxCursor_p");
1176 pyobj
= PyString_FromString(ptemp
);
1180 static int _wrap_wxNullPen_set(PyObject
*val
) {
1182 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPen is read-only.");
1186 static PyObject
*_wrap_wxNullPen_get() {
1190 SWIG_MakePtr(ptemp
,(char *) &wxNullPen
,"_wxPen_p");
1191 pyobj
= PyString_FromString(ptemp
);
1195 static int _wrap_wxNullBrush_set(PyObject
*val
) {
1197 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBrush is read-only.");
1201 static PyObject
*_wrap_wxNullBrush_get() {
1205 SWIG_MakePtr(ptemp
,(char *) &wxNullBrush
,"_wxBrush_p");
1206 pyobj
= PyString_FromString(ptemp
);
1210 static int _wrap_wxNullPalette_set(PyObject
*val
) {
1212 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPalette is read-only.");
1216 static PyObject
*_wrap_wxNullPalette_get() {
1220 SWIG_MakePtr(ptemp
,(char *) &wxNullPalette
,"_wxPalette_p");
1221 pyobj
= PyString_FromString(ptemp
);
1225 static int _wrap_wxNullFont_set(PyObject
*val
) {
1227 PyErr_SetString(PyExc_TypeError
,"Variable wxNullFont is read-only.");
1231 static PyObject
*_wrap_wxNullFont_get() {
1235 SWIG_MakePtr(ptemp
,(char *) &wxNullFont
,"_wxFont_p");
1236 pyobj
= PyString_FromString(ptemp
);
1240 static int _wrap_wxNullColour_set(PyObject
*val
) {
1242 PyErr_SetString(PyExc_TypeError
,"Variable wxNullColour is read-only.");
1246 static PyObject
*_wrap_wxNullColour_get() {
1250 SWIG_MakePtr(ptemp
,(char *) &wxNullColour
,"_wxColour_p");
1251 pyobj
= PyString_FromString(ptemp
);
1255 static int _wrap_wxTheFontList_set(PyObject
*val
) {
1257 PyErr_SetString(PyExc_TypeError
,"Variable wxTheFontList is read-only.");
1261 static PyObject
*_wrap_wxTheFontList_get() {
1265 SWIG_MakePtr(ptemp
, (char *) wxTheFontList
,"_wxFontList_p");
1266 pyobj
= PyString_FromString(ptemp
);
1270 static int _wrap_wxThePenList_set(PyObject
*val
) {
1272 PyErr_SetString(PyExc_TypeError
,"Variable wxThePenList is read-only.");
1276 static PyObject
*_wrap_wxThePenList_get() {
1280 SWIG_MakePtr(ptemp
, (char *) wxThePenList
,"_wxPenList_p");
1281 pyobj
= PyString_FromString(ptemp
);
1285 static int _wrap_wxTheBrushList_set(PyObject
*val
) {
1287 PyErr_SetString(PyExc_TypeError
,"Variable wxTheBrushList is read-only.");
1291 static PyObject
*_wrap_wxTheBrushList_get() {
1295 SWIG_MakePtr(ptemp
, (char *) wxTheBrushList
,"_wxBrushList_p");
1296 pyobj
= PyString_FromString(ptemp
);
1300 static int _wrap_wxTheColourDatabase_set(PyObject
*val
) {
1302 PyErr_SetString(PyExc_TypeError
,"Variable wxTheColourDatabase is read-only.");
1306 static PyObject
*_wrap_wxTheColourDatabase_get() {
1310 SWIG_MakePtr(ptemp
, (char *) wxTheColourDatabase
,"_wxColourDatabase_p");
1311 pyobj
= PyString_FromString(ptemp
);
1315 static void *SwigwxGDIObjectTowxObject(void *ptr
) {
1318 src
= (wxGDIObject
*) ptr
;
1319 dest
= (wxObject
*) src
;
1320 return (void *) dest
;
1323 #define new_wxGDIObject() (new wxGDIObject())
1324 static PyObject
*_wrap_new_wxGDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1325 PyObject
* _resultobj
;
1326 wxGDIObject
* _result
;
1327 char *_kwnames
[] = { NULL
};
1331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGDIObject",_kwnames
))
1334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1335 _result
= (wxGDIObject
*)new_wxGDIObject();
1337 wxPyEndAllowThreads(__tstate
);
1338 if (PyErr_Occurred()) return NULL
;
1340 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGDIObject_p");
1341 _resultobj
= Py_BuildValue("s",_ptemp
);
1344 _resultobj
= Py_None
;
1349 #define delete_wxGDIObject(_swigobj) (delete _swigobj)
1350 static PyObject
*_wrap_delete_wxGDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1351 PyObject
* _resultobj
;
1352 wxGDIObject
* _arg0
;
1353 PyObject
* _argo0
= 0;
1354 char *_kwnames
[] = { "self", NULL
};
1357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxGDIObject",_kwnames
,&_argo0
))
1360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGDIObject_p")) {
1362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxGDIObject. Expected _wxGDIObject_p.");
1367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1368 delete_wxGDIObject(_arg0
);
1370 wxPyEndAllowThreads(__tstate
);
1371 if (PyErr_Occurred()) return NULL
;
1372 } Py_INCREF(Py_None
);
1373 _resultobj
= Py_None
;
1377 #define wxGDIObject_GetVisible(_swigobj) (_swigobj->GetVisible())
1378 static PyObject
*_wrap_wxGDIObject_GetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1379 PyObject
* _resultobj
;
1381 wxGDIObject
* _arg0
;
1382 PyObject
* _argo0
= 0;
1383 char *_kwnames
[] = { "self", NULL
};
1386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGDIObject_GetVisible",_kwnames
,&_argo0
))
1389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGDIObject_p")) {
1391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGDIObject_GetVisible. Expected _wxGDIObject_p.");
1396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1397 _result
= (bool )wxGDIObject_GetVisible(_arg0
);
1399 wxPyEndAllowThreads(__tstate
);
1400 if (PyErr_Occurred()) return NULL
;
1401 } _resultobj
= Py_BuildValue("i",_result
);
1405 #define wxGDIObject_SetVisible(_swigobj,_swigarg0) (_swigobj->SetVisible(_swigarg0))
1406 static PyObject
*_wrap_wxGDIObject_SetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1407 PyObject
* _resultobj
;
1408 wxGDIObject
* _arg0
;
1410 PyObject
* _argo0
= 0;
1412 char *_kwnames
[] = { "self","visible", NULL
};
1415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGDIObject_SetVisible",_kwnames
,&_argo0
,&tempbool1
))
1418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGDIObject_p")) {
1420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGDIObject_SetVisible. Expected _wxGDIObject_p.");
1424 _arg1
= (bool ) tempbool1
;
1426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1427 wxGDIObject_SetVisible(_arg0
,_arg1
);
1429 wxPyEndAllowThreads(__tstate
);
1430 if (PyErr_Occurred()) return NULL
;
1431 } Py_INCREF(Py_None
);
1432 _resultobj
= Py_None
;
1436 #define wxGDIObject_IsNull(_swigobj) (_swigobj->IsNull())
1437 static PyObject
*_wrap_wxGDIObject_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1438 PyObject
* _resultobj
;
1440 wxGDIObject
* _arg0
;
1441 PyObject
* _argo0
= 0;
1442 char *_kwnames
[] = { "self", NULL
};
1445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGDIObject_IsNull",_kwnames
,&_argo0
))
1448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGDIObject_p")) {
1450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGDIObject_IsNull. Expected _wxGDIObject_p.");
1455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1456 _result
= (bool )wxGDIObject_IsNull(_arg0
);
1458 wxPyEndAllowThreads(__tstate
);
1459 if (PyErr_Occurred()) return NULL
;
1460 } _resultobj
= Py_BuildValue("i",_result
);
1464 static void *SwigwxBitmapTowxGDIObject(void *ptr
) {
1467 src
= (wxBitmap
*) ptr
;
1468 dest
= (wxGDIObject
*) src
;
1469 return (void *) dest
;
1472 static void *SwigwxBitmapTowxObject(void *ptr
) {
1475 src
= (wxBitmap
*) ptr
;
1476 dest
= (wxObject
*) src
;
1477 return (void *) dest
;
1480 #define new_wxBitmap(_swigarg0,_swigarg1) (new wxBitmap(_swigarg0,_swigarg1))
1481 static PyObject
*_wrap_new_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1482 PyObject
* _resultobj
;
1485 wxBitmapType _arg1
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
1486 PyObject
* _obj0
= 0;
1487 char *_kwnames
[] = { "name","type", NULL
};
1491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxBitmap",_kwnames
,&_obj0
,&_arg1
))
1494 _arg0
= wxString_in_helper(_obj0
);
1499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1500 _result
= (wxBitmap
*)new_wxBitmap(*_arg0
,_arg1
);
1502 wxPyEndAllowThreads(__tstate
);
1503 if (PyErr_Occurred()) return NULL
;
1505 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1506 _resultobj
= Py_BuildValue("s",_ptemp
);
1509 _resultobj
= Py_None
;
1518 #define delete_wxBitmap(_swigobj) (delete _swigobj)
1519 static PyObject
*_wrap_delete_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1520 PyObject
* _resultobj
;
1522 PyObject
* _argo0
= 0;
1523 char *_kwnames
[] = { "self", NULL
};
1526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBitmap",_kwnames
,&_argo0
))
1529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBitmap. Expected _wxBitmap_p.");
1536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1537 delete_wxBitmap(_arg0
);
1539 wxPyEndAllowThreads(__tstate
);
1540 if (PyErr_Occurred()) return NULL
;
1541 } Py_INCREF(Py_None
);
1542 _resultobj
= Py_None
;
1546 #define wxBitmap_GetPalette(_swigobj) (_swigobj->GetPalette())
1547 static PyObject
*_wrap_wxBitmap_GetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1548 PyObject
* _resultobj
;
1549 wxPalette
* _result
;
1551 PyObject
* _argo0
= 0;
1552 char *_kwnames
[] = { "self", NULL
};
1556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetPalette",_kwnames
,&_argo0
))
1559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetPalette. Expected _wxBitmap_p.");
1566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1567 _result
= (wxPalette
*)wxBitmap_GetPalette(_arg0
);
1569 wxPyEndAllowThreads(__tstate
);
1570 if (PyErr_Occurred()) return NULL
;
1572 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
1573 _resultobj
= Py_BuildValue("s",_ptemp
);
1576 _resultobj
= Py_None
;
1581 #define wxBitmap_GetMask(_swigobj) (_swigobj->GetMask())
1582 static PyObject
*_wrap_wxBitmap_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1583 PyObject
* _resultobj
;
1586 PyObject
* _argo0
= 0;
1587 char *_kwnames
[] = { "self", NULL
};
1591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetMask",_kwnames
,&_argo0
))
1594 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1595 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetMask. Expected _wxBitmap_p.");
1601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1602 _result
= (wxMask
*)wxBitmap_GetMask(_arg0
);
1604 wxPyEndAllowThreads(__tstate
);
1605 if (PyErr_Occurred()) return NULL
;
1607 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
1608 _resultobj
= Py_BuildValue("s",_ptemp
);
1611 _resultobj
= Py_None
;
1616 #define wxBitmap_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1617 static PyObject
*_wrap_wxBitmap_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1618 PyObject
* _resultobj
;
1622 wxBitmapType _arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
1623 PyObject
* _argo0
= 0;
1624 PyObject
* _obj1
= 0;
1625 char *_kwnames
[] = { "self","name","type", NULL
};
1628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxBitmap_LoadFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1631 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1632 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_LoadFile. Expected _wxBitmap_p.");
1638 _arg1
= wxString_in_helper(_obj1
);
1643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1644 _result
= (bool )wxBitmap_LoadFile(_arg0
,*_arg1
,_arg2
);
1646 wxPyEndAllowThreads(__tstate
);
1647 if (PyErr_Occurred()) return NULL
;
1648 } _resultobj
= Py_BuildValue("i",_result
);
1656 #define wxBitmap_SaveFile(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SaveFile(_swigarg0,_swigarg1,_swigarg2))
1657 static PyObject
*_wrap_wxBitmap_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1658 PyObject
* _resultobj
;
1663 wxPalette
* _arg3
= (wxPalette
*) NULL
;
1664 PyObject
* _argo0
= 0;
1665 PyObject
* _obj1
= 0;
1666 PyObject
* _argo3
= 0;
1667 char *_kwnames
[] = { "self","name","type","palette", NULL
};
1670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|O:wxBitmap_SaveFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_argo3
))
1673 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1674 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SaveFile. Expected _wxBitmap_p.");
1680 _arg1
= wxString_in_helper(_obj1
);
1685 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1686 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxPalette_p")) {
1687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxBitmap_SaveFile. Expected _wxPalette_p.");
1692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1693 _result
= (bool )wxBitmap_SaveFile(_arg0
,*_arg1
,_arg2
,_arg3
);
1695 wxPyEndAllowThreads(__tstate
);
1696 if (PyErr_Occurred()) return NULL
;
1697 } _resultobj
= Py_BuildValue("i",_result
);
1705 #define wxBitmap_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
1706 static PyObject
*_wrap_wxBitmap_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1707 PyObject
* _resultobj
;
1710 PyObject
* _argo0
= 0;
1711 PyObject
* _argo1
= 0;
1712 char *_kwnames
[] = { "self","mask", NULL
};
1715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_SetMask",_kwnames
,&_argo0
,&_argo1
))
1718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetMask. Expected _wxBitmap_p.");
1725 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1726 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMask_p")) {
1727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_SetMask. Expected _wxMask_p.");
1732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1733 wxBitmap_SetMask(_arg0
,_arg1
);
1735 wxPyEndAllowThreads(__tstate
);
1736 if (PyErr_Occurred()) return NULL
;
1737 } Py_INCREF(Py_None
);
1738 _resultobj
= Py_None
;
1742 #define wxBitmap_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
1743 static PyObject
*_wrap_wxBitmap_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1744 PyObject
* _resultobj
;
1747 PyObject
* _argo0
= 0;
1748 PyObject
* _argo1
= 0;
1749 char *_kwnames
[] = { "self","palette", NULL
};
1752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_SetPalette",_kwnames
,&_argo0
,&_argo1
))
1755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetPalette. Expected _wxBitmap_p.");
1762 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1763 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPalette_p")) {
1764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_SetPalette. Expected _wxPalette_p.");
1769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1770 wxBitmap_SetPalette(_arg0
,*_arg1
);
1772 wxPyEndAllowThreads(__tstate
);
1773 if (PyErr_Occurred()) return NULL
;
1774 } Py_INCREF(Py_None
);
1775 _resultobj
= Py_None
;
1779 #define wxBitmap_GetHandle(_swigobj) (_swigobj->GetHandle())
1780 static PyObject
*_wrap_wxBitmap_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1781 PyObject
* _resultobj
;
1784 PyObject
* _argo0
= 0;
1785 char *_kwnames
[] = { "self", NULL
};
1788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetHandle",_kwnames
,&_argo0
))
1791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetHandle. Expected _wxBitmap_p.");
1798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1799 _result
= (long )wxBitmap_GetHandle(_arg0
);
1801 wxPyEndAllowThreads(__tstate
);
1802 if (PyErr_Occurred()) return NULL
;
1803 } _resultobj
= Py_BuildValue("l",_result
);
1807 #define wxBitmap_SetHandle(_swigobj,_swigarg0) (_swigobj->SetHandle(_swigarg0))
1808 static PyObject
*_wrap_wxBitmap_SetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1809 PyObject
* _resultobj
;
1812 PyObject
* _argo0
= 0;
1813 char *_kwnames
[] = { "self","handle", NULL
};
1816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxBitmap_SetHandle",_kwnames
,&_argo0
,&_arg1
))
1819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetHandle. Expected _wxBitmap_p.");
1826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1827 wxBitmap_SetHandle(_arg0
,_arg1
);
1829 wxPyEndAllowThreads(__tstate
);
1830 if (PyErr_Occurred()) return NULL
;
1831 } Py_INCREF(Py_None
);
1832 _resultobj
= Py_None
;
1836 #define wxBitmap_Ok(_swigobj) (_swigobj->Ok())
1837 static PyObject
*_wrap_wxBitmap_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1838 PyObject
* _resultobj
;
1841 PyObject
* _argo0
= 0;
1842 char *_kwnames
[] = { "self", NULL
};
1845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_Ok",_kwnames
,&_argo0
))
1848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_Ok. Expected _wxBitmap_p.");
1855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1856 _result
= (bool )wxBitmap_Ok(_arg0
);
1858 wxPyEndAllowThreads(__tstate
);
1859 if (PyErr_Occurred()) return NULL
;
1860 } _resultobj
= Py_BuildValue("i",_result
);
1864 #define wxBitmap_GetWidth(_swigobj) (_swigobj->GetWidth())
1865 static PyObject
*_wrap_wxBitmap_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1866 PyObject
* _resultobj
;
1869 PyObject
* _argo0
= 0;
1870 char *_kwnames
[] = { "self", NULL
};
1873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetWidth",_kwnames
,&_argo0
))
1876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetWidth. Expected _wxBitmap_p.");
1883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1884 _result
= (int )wxBitmap_GetWidth(_arg0
);
1886 wxPyEndAllowThreads(__tstate
);
1887 if (PyErr_Occurred()) return NULL
;
1888 } _resultobj
= Py_BuildValue("i",_result
);
1892 #define wxBitmap_GetHeight(_swigobj) (_swigobj->GetHeight())
1893 static PyObject
*_wrap_wxBitmap_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1894 PyObject
* _resultobj
;
1897 PyObject
* _argo0
= 0;
1898 char *_kwnames
[] = { "self", NULL
};
1901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetHeight",_kwnames
,&_argo0
))
1904 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1905 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetHeight. Expected _wxBitmap_p.");
1911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1912 _result
= (int )wxBitmap_GetHeight(_arg0
);
1914 wxPyEndAllowThreads(__tstate
);
1915 if (PyErr_Occurred()) return NULL
;
1916 } _resultobj
= Py_BuildValue("i",_result
);
1920 #define wxBitmap_GetDepth(_swigobj) (_swigobj->GetDepth())
1921 static PyObject
*_wrap_wxBitmap_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1922 PyObject
* _resultobj
;
1925 PyObject
* _argo0
= 0;
1926 char *_kwnames
[] = { "self", NULL
};
1929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetDepth",_kwnames
,&_argo0
))
1932 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1933 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetDepth. Expected _wxBitmap_p.");
1939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1940 _result
= (int )wxBitmap_GetDepth(_arg0
);
1942 wxPyEndAllowThreads(__tstate
);
1943 if (PyErr_Occurred()) return NULL
;
1944 } _resultobj
= Py_BuildValue("i",_result
);
1948 #define wxBitmap_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1949 static PyObject
*_wrap_wxBitmap_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1950 PyObject
* _resultobj
;
1953 PyObject
* _argo0
= 0;
1954 char *_kwnames
[] = { "self","w", NULL
};
1957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetWidth",_kwnames
,&_argo0
,&_arg1
))
1960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetWidth. Expected _wxBitmap_p.");
1967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1968 wxBitmap_SetWidth(_arg0
,_arg1
);
1970 wxPyEndAllowThreads(__tstate
);
1971 if (PyErr_Occurred()) return NULL
;
1972 } Py_INCREF(Py_None
);
1973 _resultobj
= Py_None
;
1977 #define wxBitmap_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1978 static PyObject
*_wrap_wxBitmap_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1979 PyObject
* _resultobj
;
1982 PyObject
* _argo0
= 0;
1983 char *_kwnames
[] = { "self","h", NULL
};
1986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetHeight",_kwnames
,&_argo0
,&_arg1
))
1989 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1990 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetHeight. Expected _wxBitmap_p.");
1996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1997 wxBitmap_SetHeight(_arg0
,_arg1
);
1999 wxPyEndAllowThreads(__tstate
);
2000 if (PyErr_Occurred()) return NULL
;
2001 } Py_INCREF(Py_None
);
2002 _resultobj
= Py_None
;
2006 #define wxBitmap_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
2007 static PyObject
*_wrap_wxBitmap_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2008 PyObject
* _resultobj
;
2011 PyObject
* _argo0
= 0;
2012 char *_kwnames
[] = { "self","d", NULL
};
2015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetDepth",_kwnames
,&_argo0
,&_arg1
))
2018 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2019 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
2020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetDepth. Expected _wxBitmap_p.");
2025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2026 wxBitmap_SetDepth(_arg0
,_arg1
);
2028 wxPyEndAllowThreads(__tstate
);
2029 if (PyErr_Occurred()) return NULL
;
2030 } Py_INCREF(Py_None
);
2031 _resultobj
= Py_None
;
2035 #define wxBitmap_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2036 static PyObject
*_wrap_wxBitmap_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2037 PyObject
* _resultobj
;
2040 PyObject
* _argo0
= 0;
2042 PyObject
* _obj1
= 0;
2043 char *_kwnames
[] = { "self","size", NULL
};
2046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_SetSize",_kwnames
,&_argo0
,&_obj1
))
2049 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2050 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
2051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetSize. Expected _wxBitmap_p.");
2057 if (! wxSize_helper(_obj1
, &_arg1
))
2061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2062 wxBitmap_SetSize(_arg0
,*_arg1
);
2064 wxPyEndAllowThreads(__tstate
);
2065 if (PyErr_Occurred()) return NULL
;
2066 } Py_INCREF(Py_None
);
2067 _resultobj
= Py_None
;
2071 #define wxBitmap_GetSubBitmap(_swigobj,_swigarg0) (_swigobj->GetSubBitmap(_swigarg0))
2072 static PyObject
*_wrap_wxBitmap_GetSubBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2073 PyObject
* _resultobj
;
2077 PyObject
* _argo0
= 0;
2079 PyObject
* _obj1
= 0;
2080 char *_kwnames
[] = { "self","rect", NULL
};
2084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_GetSubBitmap",_kwnames
,&_argo0
,&_obj1
))
2087 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2088 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
2089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetSubBitmap. Expected _wxBitmap_p.");
2095 if (! wxRect_helper(_obj1
, &_arg1
))
2099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2100 _result
= new wxBitmap (wxBitmap_GetSubBitmap(_arg0
,*_arg1
));
2102 wxPyEndAllowThreads(__tstate
);
2103 if (PyErr_Occurred()) return NULL
;
2104 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
2105 _resultobj
= Py_BuildValue("s",_ptemp
);
2109 #define wxBitmap_CopyFromIcon(_swigobj,_swigarg0) (_swigobj->CopyFromIcon(_swigarg0))
2110 static PyObject
*_wrap_wxBitmap_CopyFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2111 PyObject
* _resultobj
;
2115 PyObject
* _argo0
= 0;
2116 PyObject
* _argo1
= 0;
2117 char *_kwnames
[] = { "self","icon", NULL
};
2120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_CopyFromIcon",_kwnames
,&_argo0
,&_argo1
))
2123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
2125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_CopyFromIcon. Expected _wxBitmap_p.");
2130 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2131 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
2132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_CopyFromIcon. Expected _wxIcon_p.");
2137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2138 _result
= (bool )wxBitmap_CopyFromIcon(_arg0
,*_arg1
);
2140 wxPyEndAllowThreads(__tstate
);
2141 if (PyErr_Occurred()) return NULL
;
2142 } _resultobj
= Py_BuildValue("i",_result
);
2146 #define wxBitmap_CopyFromCursor(_swigobj,_swigarg0) (_swigobj->CopyFromCursor(_swigarg0))
2147 static PyObject
*_wrap_wxBitmap_CopyFromCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2148 PyObject
* _resultobj
;
2152 PyObject
* _argo0
= 0;
2153 PyObject
* _argo1
= 0;
2154 char *_kwnames
[] = { "self","cursor", NULL
};
2157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_CopyFromCursor",_kwnames
,&_argo0
,&_argo1
))
2160 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2161 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
2162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_CopyFromCursor. Expected _wxBitmap_p.");
2167 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2168 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
2169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_CopyFromCursor. Expected _wxCursor_p.");
2174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2175 _result
= (bool )wxBitmap_CopyFromCursor(_arg0
,*_arg1
);
2177 wxPyEndAllowThreads(__tstate
);
2178 if (PyErr_Occurred()) return NULL
;
2179 } _resultobj
= Py_BuildValue("i",_result
);
2183 #define wxBitmap_GetQuality(_swigobj) (_swigobj->GetQuality())
2184 static PyObject
*_wrap_wxBitmap_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2185 PyObject
* _resultobj
;
2188 PyObject
* _argo0
= 0;
2189 char *_kwnames
[] = { "self", NULL
};
2192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetQuality",_kwnames
,&_argo0
))
2195 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2196 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
2197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetQuality. Expected _wxBitmap_p.");
2202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2203 _result
= (int )wxBitmap_GetQuality(_arg0
);
2205 wxPyEndAllowThreads(__tstate
);
2206 if (PyErr_Occurred()) return NULL
;
2207 } _resultobj
= Py_BuildValue("i",_result
);
2211 #define wxBitmap_SetQuality(_swigobj,_swigarg0) (_swigobj->SetQuality(_swigarg0))
2212 static PyObject
*_wrap_wxBitmap_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2213 PyObject
* _resultobj
;
2216 PyObject
* _argo0
= 0;
2217 char *_kwnames
[] = { "self","q", NULL
};
2220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetQuality",_kwnames
,&_argo0
,&_arg1
))
2223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
2225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetQuality. Expected _wxBitmap_p.");
2230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2231 wxBitmap_SetQuality(_arg0
,_arg1
);
2233 wxPyEndAllowThreads(__tstate
);
2234 if (PyErr_Occurred()) return NULL
;
2235 } Py_INCREF(Py_None
);
2236 _resultobj
= Py_None
;
2240 static void *SwigwxMaskTowxObject(void *ptr
) {
2243 src
= (wxMask
*) ptr
;
2244 dest
= (wxObject
*) src
;
2245 return (void *) dest
;
2248 #define new_wxMask(_swigarg0) (new wxMask(_swigarg0))
2249 static PyObject
*_wrap_new_wxMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2250 PyObject
* _resultobj
;
2253 PyObject
* _argo0
= 0;
2254 char *_kwnames
[] = { "bitmap", NULL
};
2258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxMask",_kwnames
,&_argo0
))
2261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
2263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMask. Expected _wxBitmap_p.");
2268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2269 _result
= (wxMask
*)new_wxMask(*_arg0
);
2271 wxPyEndAllowThreads(__tstate
);
2272 if (PyErr_Occurred()) return NULL
;
2274 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
2275 _resultobj
= Py_BuildValue("s",_ptemp
);
2278 _resultobj
= Py_None
;
2283 static void wxMask_Destroy(wxMask
*self
) { delete self
; }
2284 static PyObject
*_wrap_wxMask_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2285 PyObject
* _resultobj
;
2287 PyObject
* _argo0
= 0;
2288 char *_kwnames
[] = { "self", NULL
};
2291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMask_Destroy",_kwnames
,&_argo0
))
2294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMask_p")) {
2296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMask_Destroy. Expected _wxMask_p.");
2301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2302 wxMask_Destroy(_arg0
);
2304 wxPyEndAllowThreads(__tstate
);
2305 if (PyErr_Occurred()) return NULL
;
2306 } Py_INCREF(Py_None
);
2307 _resultobj
= Py_None
;
2311 static void *SwigwxIconTowxGDIObject(void *ptr
) {
2314 src
= (wxIcon
*) ptr
;
2315 dest
= (wxGDIObject
*) src
;
2316 return (void *) dest
;
2319 static void *SwigwxIconTowxObject(void *ptr
) {
2322 src
= (wxIcon
*) ptr
;
2323 dest
= (wxObject
*) src
;
2324 return (void *) dest
;
2327 #define new_wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2328 static PyObject
*_wrap_new_wxIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2329 PyObject
* _resultobj
;
2333 int _arg2
= (int ) -1;
2334 int _arg3
= (int ) -1;
2335 PyObject
* _obj0
= 0;
2336 char *_kwnames
[] = { "name","flags","desiredWidth","desiredHeight", NULL
};
2340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:new_wxIcon",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
))
2343 _arg0
= wxString_in_helper(_obj0
);
2348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2349 _result
= (wxIcon
*)new_wxIcon(*_arg0
,_arg1
,_arg2
,_arg3
);
2351 wxPyEndAllowThreads(__tstate
);
2352 if (PyErr_Occurred()) return NULL
;
2354 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
2355 _resultobj
= Py_BuildValue("s",_ptemp
);
2358 _resultobj
= Py_None
;
2367 #define delete_wxIcon(_swigobj) (delete _swigobj)
2368 static PyObject
*_wrap_delete_wxIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2369 PyObject
* _resultobj
;
2371 PyObject
* _argo0
= 0;
2372 char *_kwnames
[] = { "self", NULL
};
2375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxIcon",_kwnames
,&_argo0
))
2378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxIcon. Expected _wxIcon_p.");
2385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2386 delete_wxIcon(_arg0
);
2388 wxPyEndAllowThreads(__tstate
);
2389 if (PyErr_Occurred()) return NULL
;
2390 } Py_INCREF(Py_None
);
2391 _resultobj
= Py_None
;
2395 #define wxIcon_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
2396 static PyObject
*_wrap_wxIcon_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2397 PyObject
* _resultobj
;
2402 PyObject
* _argo0
= 0;
2403 PyObject
* _obj1
= 0;
2404 char *_kwnames
[] = { "self","name","flags", NULL
};
2407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOl:wxIcon_LoadFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
2410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_LoadFile. Expected _wxIcon_p.");
2417 _arg1
= wxString_in_helper(_obj1
);
2422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2423 _result
= (bool )wxIcon_LoadFile(_arg0
,*_arg1
,_arg2
);
2425 wxPyEndAllowThreads(__tstate
);
2426 if (PyErr_Occurred()) return NULL
;
2427 } _resultobj
= Py_BuildValue("i",_result
);
2435 #define wxIcon_GetHandle(_swigobj) (_swigobj->GetHandle())
2436 static PyObject
*_wrap_wxIcon_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2437 PyObject
* _resultobj
;
2440 PyObject
* _argo0
= 0;
2441 char *_kwnames
[] = { "self", NULL
};
2444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetHandle",_kwnames
,&_argo0
))
2447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetHandle. Expected _wxIcon_p.");
2454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2455 _result
= (long )wxIcon_GetHandle(_arg0
);
2457 wxPyEndAllowThreads(__tstate
);
2458 if (PyErr_Occurred()) return NULL
;
2459 } _resultobj
= Py_BuildValue("l",_result
);
2463 #define wxIcon_SetHandle(_swigobj,_swigarg0) (_swigobj->SetHandle(_swigarg0))
2464 static PyObject
*_wrap_wxIcon_SetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2465 PyObject
* _resultobj
;
2468 PyObject
* _argo0
= 0;
2469 char *_kwnames
[] = { "self","handle", NULL
};
2472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxIcon_SetHandle",_kwnames
,&_argo0
,&_arg1
))
2475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetHandle. Expected _wxIcon_p.");
2482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2483 wxIcon_SetHandle(_arg0
,_arg1
);
2485 wxPyEndAllowThreads(__tstate
);
2486 if (PyErr_Occurred()) return NULL
;
2487 } Py_INCREF(Py_None
);
2488 _resultobj
= Py_None
;
2492 #define wxIcon_Ok(_swigobj) (_swigobj->Ok())
2493 static PyObject
*_wrap_wxIcon_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2494 PyObject
* _resultobj
;
2497 PyObject
* _argo0
= 0;
2498 char *_kwnames
[] = { "self", NULL
};
2501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_Ok",_kwnames
,&_argo0
))
2504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_Ok. Expected _wxIcon_p.");
2511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2512 _result
= (bool )wxIcon_Ok(_arg0
);
2514 wxPyEndAllowThreads(__tstate
);
2515 if (PyErr_Occurred()) return NULL
;
2516 } _resultobj
= Py_BuildValue("i",_result
);
2520 #define wxIcon_GetWidth(_swigobj) (_swigobj->GetWidth())
2521 static PyObject
*_wrap_wxIcon_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2522 PyObject
* _resultobj
;
2525 PyObject
* _argo0
= 0;
2526 char *_kwnames
[] = { "self", NULL
};
2529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetWidth",_kwnames
,&_argo0
))
2532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetWidth. Expected _wxIcon_p.");
2539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2540 _result
= (int )wxIcon_GetWidth(_arg0
);
2542 wxPyEndAllowThreads(__tstate
);
2543 if (PyErr_Occurred()) return NULL
;
2544 } _resultobj
= Py_BuildValue("i",_result
);
2548 #define wxIcon_GetHeight(_swigobj) (_swigobj->GetHeight())
2549 static PyObject
*_wrap_wxIcon_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2550 PyObject
* _resultobj
;
2553 PyObject
* _argo0
= 0;
2554 char *_kwnames
[] = { "self", NULL
};
2557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetHeight",_kwnames
,&_argo0
))
2560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetHeight. Expected _wxIcon_p.");
2567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2568 _result
= (int )wxIcon_GetHeight(_arg0
);
2570 wxPyEndAllowThreads(__tstate
);
2571 if (PyErr_Occurred()) return NULL
;
2572 } _resultobj
= Py_BuildValue("i",_result
);
2576 #define wxIcon_GetDepth(_swigobj) (_swigobj->GetDepth())
2577 static PyObject
*_wrap_wxIcon_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2578 PyObject
* _resultobj
;
2581 PyObject
* _argo0
= 0;
2582 char *_kwnames
[] = { "self", NULL
};
2585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetDepth",_kwnames
,&_argo0
))
2588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetDepth. Expected _wxIcon_p.");
2595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2596 _result
= (int )wxIcon_GetDepth(_arg0
);
2598 wxPyEndAllowThreads(__tstate
);
2599 if (PyErr_Occurred()) return NULL
;
2600 } _resultobj
= Py_BuildValue("i",_result
);
2604 #define wxIcon_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2605 static PyObject
*_wrap_wxIcon_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2606 PyObject
* _resultobj
;
2609 PyObject
* _argo0
= 0;
2610 char *_kwnames
[] = { "self","w", NULL
};
2613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetWidth",_kwnames
,&_argo0
,&_arg1
))
2616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetWidth. Expected _wxIcon_p.");
2623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2624 wxIcon_SetWidth(_arg0
,_arg1
);
2626 wxPyEndAllowThreads(__tstate
);
2627 if (PyErr_Occurred()) return NULL
;
2628 } Py_INCREF(Py_None
);
2629 _resultobj
= Py_None
;
2633 #define wxIcon_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
2634 static PyObject
*_wrap_wxIcon_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2635 PyObject
* _resultobj
;
2638 PyObject
* _argo0
= 0;
2639 char *_kwnames
[] = { "self","h", NULL
};
2642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetHeight",_kwnames
,&_argo0
,&_arg1
))
2645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetHeight. Expected _wxIcon_p.");
2652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2653 wxIcon_SetHeight(_arg0
,_arg1
);
2655 wxPyEndAllowThreads(__tstate
);
2656 if (PyErr_Occurred()) return NULL
;
2657 } Py_INCREF(Py_None
);
2658 _resultobj
= Py_None
;
2662 #define wxIcon_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
2663 static PyObject
*_wrap_wxIcon_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2664 PyObject
* _resultobj
;
2667 PyObject
* _argo0
= 0;
2668 char *_kwnames
[] = { "self","d", NULL
};
2671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetDepth",_kwnames
,&_argo0
,&_arg1
))
2674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetDepth. Expected _wxIcon_p.");
2681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2682 wxIcon_SetDepth(_arg0
,_arg1
);
2684 wxPyEndAllowThreads(__tstate
);
2685 if (PyErr_Occurred()) return NULL
;
2686 } Py_INCREF(Py_None
);
2687 _resultobj
= Py_None
;
2691 #define wxIcon_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2692 static PyObject
*_wrap_wxIcon_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2693 PyObject
* _resultobj
;
2696 PyObject
* _argo0
= 0;
2698 PyObject
* _obj1
= 0;
2699 char *_kwnames
[] = { "self","size", NULL
};
2702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIcon_SetSize",_kwnames
,&_argo0
,&_obj1
))
2705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetSize. Expected _wxIcon_p.");
2713 if (! wxSize_helper(_obj1
, &_arg1
))
2717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2718 wxIcon_SetSize(_arg0
,*_arg1
);
2720 wxPyEndAllowThreads(__tstate
);
2721 if (PyErr_Occurred()) return NULL
;
2722 } Py_INCREF(Py_None
);
2723 _resultobj
= Py_None
;
2727 #define wxIcon_CopyFromBitmap(_swigobj,_swigarg0) (_swigobj->CopyFromBitmap(_swigarg0))
2728 static PyObject
*_wrap_wxIcon_CopyFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2729 PyObject
* _resultobj
;
2732 PyObject
* _argo0
= 0;
2733 PyObject
* _argo1
= 0;
2734 char *_kwnames
[] = { "self","bmp", NULL
};
2737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIcon_CopyFromBitmap",_kwnames
,&_argo0
,&_argo1
))
2740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_CopyFromBitmap. Expected _wxIcon_p.");
2747 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2748 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
2749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIcon_CopyFromBitmap. Expected _wxBitmap_p.");
2754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2755 wxIcon_CopyFromBitmap(_arg0
,*_arg1
);
2757 wxPyEndAllowThreads(__tstate
);
2758 if (PyErr_Occurred()) return NULL
;
2759 } Py_INCREF(Py_None
);
2760 _resultobj
= Py_None
;
2764 static void *SwigwxCursorTowxGDIObject(void *ptr
) {
2767 src
= (wxCursor
*) ptr
;
2768 dest
= (wxGDIObject
*) src
;
2769 return (void *) dest
;
2772 static void *SwigwxCursorTowxObject(void *ptr
) {
2775 src
= (wxCursor
*) ptr
;
2776 dest
= (wxObject
*) src
;
2777 return (void *) dest
;
2780 #define new_wxCursor(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxCursor(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2781 static PyObject
*_wrap_new_wxCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2782 PyObject
* _resultobj
;
2786 int _arg2
= (int ) 0;
2787 int _arg3
= (int ) 0;
2788 PyObject
* _obj0
= 0;
2789 char *_kwnames
[] = { "cursorName","flags","hotSpotX","hotSpotY", NULL
};
2793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:new_wxCursor",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
))
2796 _arg0
= wxString_in_helper(_obj0
);
2801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2802 _result
= (wxCursor
*)new_wxCursor(*_arg0
,_arg1
,_arg2
,_arg3
);
2804 wxPyEndAllowThreads(__tstate
);
2805 if (PyErr_Occurred()) return NULL
;
2807 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCursor_p");
2808 _resultobj
= Py_BuildValue("s",_ptemp
);
2811 _resultobj
= Py_None
;
2820 #define delete_wxCursor(_swigobj) (delete _swigobj)
2821 static PyObject
*_wrap_delete_wxCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2822 PyObject
* _resultobj
;
2824 PyObject
* _argo0
= 0;
2825 char *_kwnames
[] = { "self", NULL
};
2828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCursor",_kwnames
,&_argo0
))
2831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCursor. Expected _wxCursor_p.");
2838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2839 delete_wxCursor(_arg0
);
2841 wxPyEndAllowThreads(__tstate
);
2842 if (PyErr_Occurred()) return NULL
;
2843 } Py_INCREF(Py_None
);
2844 _resultobj
= Py_None
;
2848 #define wxCursor_GetHandle(_swigobj) (_swigobj->GetHandle())
2849 static PyObject
*_wrap_wxCursor_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2850 PyObject
* _resultobj
;
2853 PyObject
* _argo0
= 0;
2854 char *_kwnames
[] = { "self", NULL
};
2857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCursor_GetHandle",_kwnames
,&_argo0
))
2860 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2861 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_GetHandle. Expected _wxCursor_p.");
2867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2868 _result
= (long )wxCursor_GetHandle(_arg0
);
2870 wxPyEndAllowThreads(__tstate
);
2871 if (PyErr_Occurred()) return NULL
;
2872 } _resultobj
= Py_BuildValue("l",_result
);
2876 #define wxCursor_SetHandle(_swigobj,_swigarg0) (_swigobj->SetHandle(_swigarg0))
2877 static PyObject
*_wrap_wxCursor_SetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2878 PyObject
* _resultobj
;
2881 PyObject
* _argo0
= 0;
2882 char *_kwnames
[] = { "self","handle", NULL
};
2885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxCursor_SetHandle",_kwnames
,&_argo0
,&_arg1
))
2888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_SetHandle. Expected _wxCursor_p.");
2895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2896 wxCursor_SetHandle(_arg0
,_arg1
);
2898 wxPyEndAllowThreads(__tstate
);
2899 if (PyErr_Occurred()) return NULL
;
2900 } Py_INCREF(Py_None
);
2901 _resultobj
= Py_None
;
2905 #define wxCursor_Ok(_swigobj) (_swigobj->Ok())
2906 static PyObject
*_wrap_wxCursor_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2907 PyObject
* _resultobj
;
2910 PyObject
* _argo0
= 0;
2911 char *_kwnames
[] = { "self", NULL
};
2914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCursor_Ok",_kwnames
,&_argo0
))
2917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_Ok. Expected _wxCursor_p.");
2924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2925 _result
= (bool )wxCursor_Ok(_arg0
);
2927 wxPyEndAllowThreads(__tstate
);
2928 if (PyErr_Occurred()) return NULL
;
2929 } _resultobj
= Py_BuildValue("i",_result
);
2933 #define wxCursor_GetWidth(_swigobj) (_swigobj->GetWidth())
2934 static PyObject
*_wrap_wxCursor_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2935 PyObject
* _resultobj
;
2938 PyObject
* _argo0
= 0;
2939 char *_kwnames
[] = { "self", NULL
};
2942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCursor_GetWidth",_kwnames
,&_argo0
))
2945 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2946 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_GetWidth. Expected _wxCursor_p.");
2952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2953 _result
= (int )wxCursor_GetWidth(_arg0
);
2955 wxPyEndAllowThreads(__tstate
);
2956 if (PyErr_Occurred()) return NULL
;
2957 } _resultobj
= Py_BuildValue("i",_result
);
2961 #define wxCursor_GetHeight(_swigobj) (_swigobj->GetHeight())
2962 static PyObject
*_wrap_wxCursor_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2963 PyObject
* _resultobj
;
2966 PyObject
* _argo0
= 0;
2967 char *_kwnames
[] = { "self", NULL
};
2970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCursor_GetHeight",_kwnames
,&_argo0
))
2973 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2974 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_GetHeight. Expected _wxCursor_p.");
2980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2981 _result
= (int )wxCursor_GetHeight(_arg0
);
2983 wxPyEndAllowThreads(__tstate
);
2984 if (PyErr_Occurred()) return NULL
;
2985 } _resultobj
= Py_BuildValue("i",_result
);
2989 #define wxCursor_GetDepth(_swigobj) (_swigobj->GetDepth())
2990 static PyObject
*_wrap_wxCursor_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2991 PyObject
* _resultobj
;
2994 PyObject
* _argo0
= 0;
2995 char *_kwnames
[] = { "self", NULL
};
2998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCursor_GetDepth",_kwnames
,&_argo0
))
3001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_GetDepth. Expected _wxCursor_p.");
3008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3009 _result
= (int )wxCursor_GetDepth(_arg0
);
3011 wxPyEndAllowThreads(__tstate
);
3012 if (PyErr_Occurred()) return NULL
;
3013 } _resultobj
= Py_BuildValue("i",_result
);
3017 #define wxCursor_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
3018 static PyObject
*_wrap_wxCursor_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3019 PyObject
* _resultobj
;
3022 PyObject
* _argo0
= 0;
3023 char *_kwnames
[] = { "self","w", NULL
};
3026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCursor_SetWidth",_kwnames
,&_argo0
,&_arg1
))
3029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_SetWidth. Expected _wxCursor_p.");
3036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3037 wxCursor_SetWidth(_arg0
,_arg1
);
3039 wxPyEndAllowThreads(__tstate
);
3040 if (PyErr_Occurred()) return NULL
;
3041 } Py_INCREF(Py_None
);
3042 _resultobj
= Py_None
;
3046 #define wxCursor_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
3047 static PyObject
*_wrap_wxCursor_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3048 PyObject
* _resultobj
;
3051 PyObject
* _argo0
= 0;
3052 char *_kwnames
[] = { "self","h", NULL
};
3055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCursor_SetHeight",_kwnames
,&_argo0
,&_arg1
))
3058 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3059 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_SetHeight. Expected _wxCursor_p.");
3065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3066 wxCursor_SetHeight(_arg0
,_arg1
);
3068 wxPyEndAllowThreads(__tstate
);
3069 if (PyErr_Occurred()) return NULL
;
3070 } Py_INCREF(Py_None
);
3071 _resultobj
= Py_None
;
3075 #define wxCursor_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
3076 static PyObject
*_wrap_wxCursor_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3077 PyObject
* _resultobj
;
3080 PyObject
* _argo0
= 0;
3081 char *_kwnames
[] = { "self","d", NULL
};
3084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCursor_SetDepth",_kwnames
,&_argo0
,&_arg1
))
3087 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3088 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_SetDepth. Expected _wxCursor_p.");
3094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3095 wxCursor_SetDepth(_arg0
,_arg1
);
3097 wxPyEndAllowThreads(__tstate
);
3098 if (PyErr_Occurred()) return NULL
;
3099 } Py_INCREF(Py_None
);
3100 _resultobj
= Py_None
;
3104 #define wxCursor_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
3105 static PyObject
*_wrap_wxCursor_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3106 PyObject
* _resultobj
;
3109 PyObject
* _argo0
= 0;
3111 PyObject
* _obj1
= 0;
3112 char *_kwnames
[] = { "self","size", NULL
};
3115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCursor_SetSize",_kwnames
,&_argo0
,&_obj1
))
3118 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3119 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_SetSize. Expected _wxCursor_p.");
3126 if (! wxSize_helper(_obj1
, &_arg1
))
3130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3131 wxCursor_SetSize(_arg0
,*_arg1
);
3133 wxPyEndAllowThreads(__tstate
);
3134 if (PyErr_Occurred()) return NULL
;
3135 } Py_INCREF(Py_None
);
3136 _resultobj
= Py_None
;
3140 #define new_wxNativeFontInfo() (new wxNativeFontInfo())
3141 static PyObject
*_wrap_new_wxNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3142 PyObject
* _resultobj
;
3143 wxNativeFontInfo
* _result
;
3144 char *_kwnames
[] = { NULL
};
3148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxNativeFontInfo",_kwnames
))
3151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3152 _result
= (wxNativeFontInfo
*)new_wxNativeFontInfo();
3154 wxPyEndAllowThreads(__tstate
);
3155 if (PyErr_Occurred()) return NULL
;
3157 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNativeFontInfo_p");
3158 _resultobj
= Py_BuildValue("s",_ptemp
);
3161 _resultobj
= Py_None
;
3166 #define wxNativeFontInfo_Init(_swigobj) (_swigobj->Init())
3167 static PyObject
*_wrap_wxNativeFontInfo_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3168 PyObject
* _resultobj
;
3169 wxNativeFontInfo
* _arg0
;
3170 PyObject
* _argo0
= 0;
3171 char *_kwnames
[] = { "self", NULL
};
3174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_Init",_kwnames
,&_argo0
))
3177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_Init. Expected _wxNativeFontInfo_p.");
3184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3185 wxNativeFontInfo_Init(_arg0
);
3187 wxPyEndAllowThreads(__tstate
);
3188 if (PyErr_Occurred()) return NULL
;
3189 } Py_INCREF(Py_None
);
3190 _resultobj
= Py_None
;
3194 #define wxNativeFontInfo_GetPointSize(_swigobj) (_swigobj->GetPointSize())
3195 static PyObject
*_wrap_wxNativeFontInfo_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3196 PyObject
* _resultobj
;
3198 wxNativeFontInfo
* _arg0
;
3199 PyObject
* _argo0
= 0;
3200 char *_kwnames
[] = { "self", NULL
};
3203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetPointSize",_kwnames
,&_argo0
))
3206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetPointSize. Expected _wxNativeFontInfo_p.");
3213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3214 _result
= (int )wxNativeFontInfo_GetPointSize(_arg0
);
3216 wxPyEndAllowThreads(__tstate
);
3217 if (PyErr_Occurred()) return NULL
;
3218 } _resultobj
= Py_BuildValue("i",_result
);
3222 #define wxNativeFontInfo_GetStyle(_swigobj) (_swigobj->GetStyle())
3223 static PyObject
*_wrap_wxNativeFontInfo_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3224 PyObject
* _resultobj
;
3225 wxFontStyle _result
;
3226 wxNativeFontInfo
* _arg0
;
3227 PyObject
* _argo0
= 0;
3228 char *_kwnames
[] = { "self", NULL
};
3231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetStyle",_kwnames
,&_argo0
))
3234 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3235 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetStyle. Expected _wxNativeFontInfo_p.");
3241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3242 _result
= (wxFontStyle
)wxNativeFontInfo_GetStyle(_arg0
);
3244 wxPyEndAllowThreads(__tstate
);
3245 if (PyErr_Occurred()) return NULL
;
3246 } _resultobj
= Py_BuildValue("i",_result
);
3250 #define wxNativeFontInfo_GetWeight(_swigobj) (_swigobj->GetWeight())
3251 static PyObject
*_wrap_wxNativeFontInfo_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3252 PyObject
* _resultobj
;
3253 wxFontWeight _result
;
3254 wxNativeFontInfo
* _arg0
;
3255 PyObject
* _argo0
= 0;
3256 char *_kwnames
[] = { "self", NULL
};
3259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetWeight",_kwnames
,&_argo0
))
3262 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3263 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetWeight. Expected _wxNativeFontInfo_p.");
3269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3270 _result
= (wxFontWeight
)wxNativeFontInfo_GetWeight(_arg0
);
3272 wxPyEndAllowThreads(__tstate
);
3273 if (PyErr_Occurred()) return NULL
;
3274 } _resultobj
= Py_BuildValue("i",_result
);
3278 #define wxNativeFontInfo_GetUnderlined(_swigobj) (_swigobj->GetUnderlined())
3279 static PyObject
*_wrap_wxNativeFontInfo_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3280 PyObject
* _resultobj
;
3282 wxNativeFontInfo
* _arg0
;
3283 PyObject
* _argo0
= 0;
3284 char *_kwnames
[] = { "self", NULL
};
3287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetUnderlined",_kwnames
,&_argo0
))
3290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetUnderlined. Expected _wxNativeFontInfo_p.");
3297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3298 _result
= (bool )wxNativeFontInfo_GetUnderlined(_arg0
);
3300 wxPyEndAllowThreads(__tstate
);
3301 if (PyErr_Occurred()) return NULL
;
3302 } _resultobj
= Py_BuildValue("i",_result
);
3306 #define wxNativeFontInfo_GetFaceName(_swigobj) (_swigobj->GetFaceName())
3307 static PyObject
*_wrap_wxNativeFontInfo_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3308 PyObject
* _resultobj
;
3310 wxNativeFontInfo
* _arg0
;
3311 PyObject
* _argo0
= 0;
3312 char *_kwnames
[] = { "self", NULL
};
3315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetFaceName",_kwnames
,&_argo0
))
3318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetFaceName. Expected _wxNativeFontInfo_p.");
3325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3326 _result
= new wxString (wxNativeFontInfo_GetFaceName(_arg0
));
3328 wxPyEndAllowThreads(__tstate
);
3329 if (PyErr_Occurred()) return NULL
;
3332 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3334 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3343 #define wxNativeFontInfo_GetFamily(_swigobj) (_swigobj->GetFamily())
3344 static PyObject
*_wrap_wxNativeFontInfo_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3345 PyObject
* _resultobj
;
3346 wxFontFamily _result
;
3347 wxNativeFontInfo
* _arg0
;
3348 PyObject
* _argo0
= 0;
3349 char *_kwnames
[] = { "self", NULL
};
3352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetFamily",_kwnames
,&_argo0
))
3355 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3356 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetFamily. Expected _wxNativeFontInfo_p.");
3362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3363 _result
= (wxFontFamily
)wxNativeFontInfo_GetFamily(_arg0
);
3365 wxPyEndAllowThreads(__tstate
);
3366 if (PyErr_Occurred()) return NULL
;
3367 } _resultobj
= Py_BuildValue("i",_result
);
3371 #define wxNativeFontInfo_GetEncoding(_swigobj) (_swigobj->GetEncoding())
3372 static PyObject
*_wrap_wxNativeFontInfo_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3373 PyObject
* _resultobj
;
3374 wxFontEncoding _result
;
3375 wxNativeFontInfo
* _arg0
;
3376 PyObject
* _argo0
= 0;
3377 char *_kwnames
[] = { "self", NULL
};
3380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetEncoding",_kwnames
,&_argo0
))
3383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetEncoding. Expected _wxNativeFontInfo_p.");
3390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3391 _result
= (wxFontEncoding
)wxNativeFontInfo_GetEncoding(_arg0
);
3393 wxPyEndAllowThreads(__tstate
);
3394 if (PyErr_Occurred()) return NULL
;
3395 } _resultobj
= Py_BuildValue("i",_result
);
3399 #define wxNativeFontInfo_SetPointSize(_swigobj,_swigarg0) (_swigobj->SetPointSize(_swigarg0))
3400 static PyObject
*_wrap_wxNativeFontInfo_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3401 PyObject
* _resultobj
;
3402 wxNativeFontInfo
* _arg0
;
3404 PyObject
* _argo0
= 0;
3405 char *_kwnames
[] = { "self","pointsize", NULL
};
3408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNativeFontInfo_SetPointSize",_kwnames
,&_argo0
,&_arg1
))
3411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetPointSize. Expected _wxNativeFontInfo_p.");
3418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3419 wxNativeFontInfo_SetPointSize(_arg0
,_arg1
);
3421 wxPyEndAllowThreads(__tstate
);
3422 if (PyErr_Occurred()) return NULL
;
3423 } Py_INCREF(Py_None
);
3424 _resultobj
= Py_None
;
3428 #define wxNativeFontInfo_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
3429 static PyObject
*_wrap_wxNativeFontInfo_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3430 PyObject
* _resultobj
;
3431 wxNativeFontInfo
* _arg0
;
3433 PyObject
* _argo0
= 0;
3434 char *_kwnames
[] = { "self","style", NULL
};
3437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNativeFontInfo_SetStyle",_kwnames
,&_argo0
,&_arg1
))
3440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetStyle. Expected _wxNativeFontInfo_p.");
3447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3448 wxNativeFontInfo_SetStyle(_arg0
,_arg1
);
3450 wxPyEndAllowThreads(__tstate
);
3451 if (PyErr_Occurred()) return NULL
;
3452 } Py_INCREF(Py_None
);
3453 _resultobj
= Py_None
;
3457 #define wxNativeFontInfo_SetWeight(_swigobj,_swigarg0) (_swigobj->SetWeight(_swigarg0))
3458 static PyObject
*_wrap_wxNativeFontInfo_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3459 PyObject
* _resultobj
;
3460 wxNativeFontInfo
* _arg0
;
3462 PyObject
* _argo0
= 0;
3463 char *_kwnames
[] = { "self","weight", NULL
};
3466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNativeFontInfo_SetWeight",_kwnames
,&_argo0
,&_arg1
))
3469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetWeight. Expected _wxNativeFontInfo_p.");
3476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3477 wxNativeFontInfo_SetWeight(_arg0
,_arg1
);
3479 wxPyEndAllowThreads(__tstate
);
3480 if (PyErr_Occurred()) return NULL
;
3481 } Py_INCREF(Py_None
);
3482 _resultobj
= Py_None
;
3486 #define wxNativeFontInfo_SetUnderlined(_swigobj,_swigarg0) (_swigobj->SetUnderlined(_swigarg0))
3487 static PyObject
*_wrap_wxNativeFontInfo_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3488 PyObject
* _resultobj
;
3489 wxNativeFontInfo
* _arg0
;
3491 PyObject
* _argo0
= 0;
3493 char *_kwnames
[] = { "self","underlined", NULL
};
3496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNativeFontInfo_SetUnderlined",_kwnames
,&_argo0
,&tempbool1
))
3499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetUnderlined. Expected _wxNativeFontInfo_p.");
3505 _arg1
= (bool ) tempbool1
;
3507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3508 wxNativeFontInfo_SetUnderlined(_arg0
,_arg1
);
3510 wxPyEndAllowThreads(__tstate
);
3511 if (PyErr_Occurred()) return NULL
;
3512 } Py_INCREF(Py_None
);
3513 _resultobj
= Py_None
;
3517 #define wxNativeFontInfo_SetFaceName(_swigobj,_swigarg0) (_swigobj->SetFaceName(_swigarg0))
3518 static PyObject
*_wrap_wxNativeFontInfo_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3519 PyObject
* _resultobj
;
3520 wxNativeFontInfo
* _arg0
;
3522 PyObject
* _argo0
= 0;
3523 PyObject
* _obj1
= 0;
3524 char *_kwnames
[] = { "self","facename", NULL
};
3527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNativeFontInfo_SetFaceName",_kwnames
,&_argo0
,&_obj1
))
3530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetFaceName. Expected _wxNativeFontInfo_p.");
3537 _arg1
= wxString_in_helper(_obj1
);
3542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3543 wxNativeFontInfo_SetFaceName(_arg0
,*_arg1
);
3545 wxPyEndAllowThreads(__tstate
);
3546 if (PyErr_Occurred()) return NULL
;
3547 } Py_INCREF(Py_None
);
3548 _resultobj
= Py_None
;
3556 #define wxNativeFontInfo_SetFamily(_swigobj,_swigarg0) (_swigobj->SetFamily(_swigarg0))
3557 static PyObject
*_wrap_wxNativeFontInfo_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3558 PyObject
* _resultobj
;
3559 wxNativeFontInfo
* _arg0
;
3561 PyObject
* _argo0
= 0;
3562 char *_kwnames
[] = { "self","family", NULL
};
3565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNativeFontInfo_SetFamily",_kwnames
,&_argo0
,&_arg1
))
3568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetFamily. Expected _wxNativeFontInfo_p.");
3575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3576 wxNativeFontInfo_SetFamily(_arg0
,_arg1
);
3578 wxPyEndAllowThreads(__tstate
);
3579 if (PyErr_Occurred()) return NULL
;
3580 } Py_INCREF(Py_None
);
3581 _resultobj
= Py_None
;
3585 #define wxNativeFontInfo_SetEncoding(_swigobj,_swigarg0) (_swigobj->SetEncoding(_swigarg0))
3586 static PyObject
*_wrap_wxNativeFontInfo_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3587 PyObject
* _resultobj
;
3588 wxNativeFontInfo
* _arg0
;
3589 wxFontEncoding _arg1
;
3590 PyObject
* _argo0
= 0;
3591 char *_kwnames
[] = { "self","encoding", NULL
};
3594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNativeFontInfo_SetEncoding",_kwnames
,&_argo0
,&_arg1
))
3597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetEncoding. Expected _wxNativeFontInfo_p.");
3604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3605 wxNativeFontInfo_SetEncoding(_arg0
,_arg1
);
3607 wxPyEndAllowThreads(__tstate
);
3608 if (PyErr_Occurred()) return NULL
;
3609 } Py_INCREF(Py_None
);
3610 _resultobj
= Py_None
;
3614 #define wxNativeFontInfo_FromString(_swigobj,_swigarg0) (_swigobj->FromString(_swigarg0))
3615 static PyObject
*_wrap_wxNativeFontInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3616 PyObject
* _resultobj
;
3618 wxNativeFontInfo
* _arg0
;
3620 PyObject
* _argo0
= 0;
3621 PyObject
* _obj1
= 0;
3622 char *_kwnames
[] = { "self","s", NULL
};
3625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNativeFontInfo_FromString",_kwnames
,&_argo0
,&_obj1
))
3628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_FromString. Expected _wxNativeFontInfo_p.");
3635 _arg1
= wxString_in_helper(_obj1
);
3640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3641 _result
= (bool )wxNativeFontInfo_FromString(_arg0
,*_arg1
);
3643 wxPyEndAllowThreads(__tstate
);
3644 if (PyErr_Occurred()) return NULL
;
3645 } _resultobj
= Py_BuildValue("i",_result
);
3653 #define wxNativeFontInfo_ToString(_swigobj) (_swigobj->ToString())
3654 static PyObject
*_wrap_wxNativeFontInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3655 PyObject
* _resultobj
;
3657 wxNativeFontInfo
* _arg0
;
3658 PyObject
* _argo0
= 0;
3659 char *_kwnames
[] = { "self", NULL
};
3662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_ToString",_kwnames
,&_argo0
))
3665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_ToString. Expected _wxNativeFontInfo_p.");
3672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3673 _result
= new wxString (wxNativeFontInfo_ToString(_arg0
));
3675 wxPyEndAllowThreads(__tstate
);
3676 if (PyErr_Occurred()) return NULL
;
3679 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3681 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3690 static wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
) {
3691 return self
->ToString();
3693 static PyObject
*_wrap_wxNativeFontInfo___str__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3694 PyObject
* _resultobj
;
3696 wxNativeFontInfo
* _arg0
;
3697 PyObject
* _argo0
= 0;
3698 char *_kwnames
[] = { "self", NULL
};
3701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo___str__",_kwnames
,&_argo0
))
3704 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3705 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo___str__. Expected _wxNativeFontInfo_p.");
3711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3712 _result
= new wxString (wxNativeFontInfo___str__(_arg0
));
3714 wxPyEndAllowThreads(__tstate
);
3715 if (PyErr_Occurred()) return NULL
;
3718 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3720 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3729 #define wxNativeFontInfo_FromUserString(_swigobj,_swigarg0) (_swigobj->FromUserString(_swigarg0))
3730 static PyObject
*_wrap_wxNativeFontInfo_FromUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3731 PyObject
* _resultobj
;
3733 wxNativeFontInfo
* _arg0
;
3735 PyObject
* _argo0
= 0;
3736 PyObject
* _obj1
= 0;
3737 char *_kwnames
[] = { "self","s", NULL
};
3740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNativeFontInfo_FromUserString",_kwnames
,&_argo0
,&_obj1
))
3743 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3744 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_FromUserString. Expected _wxNativeFontInfo_p.");
3750 _arg1
= wxString_in_helper(_obj1
);
3755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3756 _result
= (bool )wxNativeFontInfo_FromUserString(_arg0
,*_arg1
);
3758 wxPyEndAllowThreads(__tstate
);
3759 if (PyErr_Occurred()) return NULL
;
3760 } _resultobj
= Py_BuildValue("i",_result
);
3768 #define wxNativeFontInfo_ToUserString(_swigobj) (_swigobj->ToUserString())
3769 static PyObject
*_wrap_wxNativeFontInfo_ToUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3770 PyObject
* _resultobj
;
3772 wxNativeFontInfo
* _arg0
;
3773 PyObject
* _argo0
= 0;
3774 char *_kwnames
[] = { "self", NULL
};
3777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_ToUserString",_kwnames
,&_argo0
))
3780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
3782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_ToUserString. Expected _wxNativeFontInfo_p.");
3787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3788 _result
= new wxString (wxNativeFontInfo_ToUserString(_arg0
));
3790 wxPyEndAllowThreads(__tstate
);
3791 if (PyErr_Occurred()) return NULL
;
3794 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3796 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3805 #define new_wxFontMapper() (new wxFontMapper())
3806 static PyObject
*_wrap_new_wxFontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3807 PyObject
* _resultobj
;
3808 wxFontMapper
* _result
;
3809 char *_kwnames
[] = { NULL
};
3813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFontMapper",_kwnames
))
3816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3817 _result
= (wxFontMapper
*)new_wxFontMapper();
3819 wxPyEndAllowThreads(__tstate
);
3820 if (PyErr_Occurred()) return NULL
;
3822 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFontMapper_p");
3823 _resultobj
= Py_BuildValue("s",_ptemp
);
3826 _resultobj
= Py_None
;
3831 #define delete_wxFontMapper(_swigobj) (delete _swigobj)
3832 static PyObject
*_wrap_delete_wxFontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3833 PyObject
* _resultobj
;
3834 wxFontMapper
* _arg0
;
3835 PyObject
* _argo0
= 0;
3836 char *_kwnames
[] = { "self", NULL
};
3839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFontMapper",_kwnames
,&_argo0
))
3842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
3844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontMapper. Expected _wxFontMapper_p.");
3849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3850 delete_wxFontMapper(_arg0
);
3852 wxPyEndAllowThreads(__tstate
);
3853 if (PyErr_Occurred()) return NULL
;
3854 } Py_INCREF(Py_None
);
3855 _resultobj
= Py_None
;
3859 static PyObject
* wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,const wxString
& facename
,bool interactive
) {
3860 wxFontEncoding alt_enc
;
3861 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3862 return PyInt_FromLong(alt_enc
);
3868 static PyObject
*_wrap_wxFontMapper_GetAltForEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3869 PyObject
* _resultobj
;
3871 wxFontMapper
* _arg0
;
3872 wxFontEncoding _arg1
;
3873 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
3874 bool _arg3
= (bool ) TRUE
;
3875 PyObject
* _argo0
= 0;
3876 PyObject
* _obj2
= 0;
3877 int tempbool3
= (int) TRUE
;
3878 char *_kwnames
[] = { "self","encoding","facename","interactive", NULL
};
3881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|Oi:wxFontMapper_GetAltForEncoding",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&tempbool3
))
3884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
3886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_GetAltForEncoding. Expected _wxFontMapper_p.");
3892 _arg2
= wxString_in_helper(_obj2
);
3896 _arg3
= (bool ) tempbool3
;
3898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3899 _result
= (PyObject
*)wxFontMapper_GetAltForEncoding(_arg0
,_arg1
,*_arg2
,_arg3
);
3901 wxPyEndAllowThreads(__tstate
);
3902 if (PyErr_Occurred()) return NULL
;
3904 _resultobj
= _result
;
3913 #define wxFontMapper_IsEncodingAvailable(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEncodingAvailable(_swigarg0,_swigarg1))
3914 static PyObject
*_wrap_wxFontMapper_IsEncodingAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3915 PyObject
* _resultobj
;
3917 wxFontMapper
* _arg0
;
3918 wxFontEncoding _arg1
;
3919 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
3920 PyObject
* _argo0
= 0;
3921 PyObject
* _obj2
= 0;
3922 char *_kwnames
[] = { "self","encoding","facename", NULL
};
3925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|O:wxFontMapper_IsEncodingAvailable",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
3930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_IsEncodingAvailable. Expected _wxFontMapper_p.");
3936 _arg2
= wxString_in_helper(_obj2
);
3941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3942 _result
= (bool )wxFontMapper_IsEncodingAvailable(_arg0
,_arg1
,*_arg2
);
3944 wxPyEndAllowThreads(__tstate
);
3945 if (PyErr_Occurred()) return NULL
;
3946 } _resultobj
= Py_BuildValue("i",_result
);
3954 #define wxFontMapper_CharsetToEncoding(_swigobj,_swigarg0,_swigarg1) (_swigobj->CharsetToEncoding(_swigarg0,_swigarg1))
3955 static PyObject
*_wrap_wxFontMapper_CharsetToEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3956 PyObject
* _resultobj
;
3957 wxFontEncoding _result
;
3958 wxFontMapper
* _arg0
;
3960 bool _arg2
= (bool ) TRUE
;
3961 PyObject
* _argo0
= 0;
3962 PyObject
* _obj1
= 0;
3963 int tempbool2
= (int) TRUE
;
3964 char *_kwnames
[] = { "self","charset","interactive", NULL
};
3967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFontMapper_CharsetToEncoding",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
3970 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3971 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
3972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_CharsetToEncoding. Expected _wxFontMapper_p.");
3977 _arg1
= wxString_in_helper(_obj1
);
3981 _arg2
= (bool ) tempbool2
;
3983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3984 _result
= (wxFontEncoding
)wxFontMapper_CharsetToEncoding(_arg0
,*_arg1
,_arg2
);
3986 wxPyEndAllowThreads(__tstate
);
3987 if (PyErr_Occurred()) return NULL
;
3988 } _resultobj
= Py_BuildValue("i",_result
);
3996 static PyObject
*_wrap_wxFontMapper_GetEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3997 PyObject
* _resultobj
;
3999 wxFontEncoding _arg0
;
4000 char *_kwnames
[] = { "encoding", NULL
};
4003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxFontMapper_GetEncodingName",_kwnames
,&_arg0
))
4006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4007 _result
= new wxString (wxFontMapper::GetEncodingName(_arg0
));
4009 wxPyEndAllowThreads(__tstate
);
4010 if (PyErr_Occurred()) return NULL
;
4013 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4015 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4024 static PyObject
*_wrap_wxFontMapper_GetEncodingDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4025 PyObject
* _resultobj
;
4027 wxFontEncoding _arg0
;
4028 char *_kwnames
[] = { "encoding", NULL
};
4031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxFontMapper_GetEncodingDescription",_kwnames
,&_arg0
))
4034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4035 _result
= new wxString (wxFontMapper::GetEncodingDescription(_arg0
));
4037 wxPyEndAllowThreads(__tstate
);
4038 if (PyErr_Occurred()) return NULL
;
4041 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4043 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4052 #define wxFontMapper_SetDialogParent(_swigobj,_swigarg0) (_swigobj->SetDialogParent(_swigarg0))
4053 static PyObject
*_wrap_wxFontMapper_SetDialogParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4054 PyObject
* _resultobj
;
4055 wxFontMapper
* _arg0
;
4057 PyObject
* _argo0
= 0;
4058 PyObject
* _argo1
= 0;
4059 char *_kwnames
[] = { "self","parent", NULL
};
4062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontMapper_SetDialogParent",_kwnames
,&_argo0
,&_argo1
))
4065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
4067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_SetDialogParent. Expected _wxFontMapper_p.");
4072 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4073 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontMapper_SetDialogParent. Expected _wxWindow_p.");
4079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4080 wxFontMapper_SetDialogParent(_arg0
,_arg1
);
4082 wxPyEndAllowThreads(__tstate
);
4083 if (PyErr_Occurred()) return NULL
;
4084 } Py_INCREF(Py_None
);
4085 _resultobj
= Py_None
;
4089 #define wxFontMapper_SetDialogTitle(_swigobj,_swigarg0) (_swigobj->SetDialogTitle(_swigarg0))
4090 static PyObject
*_wrap_wxFontMapper_SetDialogTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4091 PyObject
* _resultobj
;
4092 wxFontMapper
* _arg0
;
4094 PyObject
* _argo0
= 0;
4095 PyObject
* _obj1
= 0;
4096 char *_kwnames
[] = { "self","title", NULL
};
4099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontMapper_SetDialogTitle",_kwnames
,&_argo0
,&_obj1
))
4102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
4104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_SetDialogTitle. Expected _wxFontMapper_p.");
4109 _arg1
= wxString_in_helper(_obj1
);
4114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4115 wxFontMapper_SetDialogTitle(_arg0
,*_arg1
);
4117 wxPyEndAllowThreads(__tstate
);
4118 if (PyErr_Occurred()) return NULL
;
4119 } Py_INCREF(Py_None
);
4120 _resultobj
= Py_None
;
4128 #define wxFontMapper_SetConfig(_swigobj,_swigarg0) (_swigobj->SetConfig(_swigarg0))
4129 static PyObject
*_wrap_wxFontMapper_SetConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4130 PyObject
* _resultobj
;
4131 wxFontMapper
* _arg0
;
4132 wxConfigBase
* _arg1
;
4133 PyObject
* _argo0
= 0;
4134 PyObject
* _argo1
= 0;
4135 char *_kwnames
[] = { "self","config", NULL
};
4138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontMapper_SetConfig",_kwnames
,&_argo0
,&_argo1
))
4141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
4143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_SetConfig. Expected _wxFontMapper_p.");
4148 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4149 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
4150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontMapper_SetConfig. Expected _wxConfigBase_p.");
4155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4156 wxFontMapper_SetConfig(_arg0
,_arg1
);
4158 wxPyEndAllowThreads(__tstate
);
4159 if (PyErr_Occurred()) return NULL
;
4160 } Py_INCREF(Py_None
);
4161 _resultobj
= Py_None
;
4165 #define wxFontMapper_SetConfigPath(_swigobj,_swigarg0) (_swigobj->SetConfigPath(_swigarg0))
4166 static PyObject
*_wrap_wxFontMapper_SetConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4167 PyObject
* _resultobj
;
4168 wxFontMapper
* _arg0
;
4170 PyObject
* _argo0
= 0;
4171 PyObject
* _obj1
= 0;
4172 char *_kwnames
[] = { "self","prefix", NULL
};
4175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontMapper_SetConfigPath",_kwnames
,&_argo0
,&_obj1
))
4178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
4180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_SetConfigPath. Expected _wxFontMapper_p.");
4185 _arg1
= wxString_in_helper(_obj1
);
4190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4191 wxFontMapper_SetConfigPath(_arg0
,*_arg1
);
4193 wxPyEndAllowThreads(__tstate
);
4194 if (PyErr_Occurred()) return NULL
;
4195 } Py_INCREF(Py_None
);
4196 _resultobj
= Py_None
;
4204 static PyObject
*_wrap_wxFontMapper_GetDefaultConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4205 PyObject
* _resultobj
;
4207 char *_kwnames
[] = { NULL
};
4210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFontMapper_GetDefaultConfigPath",_kwnames
))
4213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4214 _result
= new wxString (wxFontMapper::GetDefaultConfigPath());
4216 wxPyEndAllowThreads(__tstate
);
4217 if (PyErr_Occurred()) return NULL
;
4220 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4222 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4231 static void *SwigwxFontTowxGDIObject(void *ptr
) {
4234 src
= (wxFont
*) ptr
;
4235 dest
= (wxGDIObject
*) src
;
4236 return (void *) dest
;
4239 static void *SwigwxFontTowxObject(void *ptr
) {
4242 src
= (wxFont
*) ptr
;
4243 dest
= (wxObject
*) src
;
4244 return (void *) dest
;
4247 #define new_wxFont(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFont(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4248 static PyObject
*_wrap_new_wxFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4249 PyObject
* _resultobj
;
4255 int _arg4
= (int ) FALSE
;
4256 wxString
* _arg5
= (wxString
*) &wxPyEmptyString
;
4257 wxFontEncoding _arg6
= (wxFontEncoding
) (wxFONTENCODING_DEFAULT
);
4258 PyObject
* _obj5
= 0;
4259 char *_kwnames
[] = { "pointSize","family","style","weight","underline","faceName","encoding", NULL
};
4263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiii|iOi:new_wxFont",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
,&_arg6
))
4267 _arg5
= wxString_in_helper(_obj5
);
4272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4273 _result
= (wxFont
*)new_wxFont(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,*_arg5
,_arg6
);
4275 wxPyEndAllowThreads(__tstate
);
4276 if (PyErr_Occurred()) return NULL
;
4278 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
4279 _resultobj
= Py_BuildValue("s",_ptemp
);
4282 _resultobj
= Py_None
;
4291 #define new_wxFontFromNativeInfo(_swigarg0) (new wxFont(_swigarg0))
4292 static PyObject
*_wrap_new_wxFontFromNativeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4293 PyObject
* _resultobj
;
4295 wxNativeFontInfo
* _arg0
;
4296 PyObject
* _argo0
= 0;
4297 char *_kwnames
[] = { "info", NULL
};
4301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFontFromNativeInfo",_kwnames
,&_argo0
))
4304 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4305 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
4306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFontFromNativeInfo. Expected _wxNativeFontInfo_p.");
4311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4312 _result
= (wxFont
*)new_wxFontFromNativeInfo(*_arg0
);
4314 wxPyEndAllowThreads(__tstate
);
4315 if (PyErr_Occurred()) return NULL
;
4317 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
4318 _resultobj
= Py_BuildValue("s",_ptemp
);
4321 _resultobj
= Py_None
;
4326 #define delete_wxFont(_swigobj) (delete _swigobj)
4327 static PyObject
*_wrap_delete_wxFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4328 PyObject
* _resultobj
;
4330 PyObject
* _argo0
= 0;
4331 char *_kwnames
[] = { "self", NULL
};
4334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFont",_kwnames
,&_argo0
))
4337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFont. Expected _wxFont_p.");
4344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4345 delete_wxFont(_arg0
);
4347 wxPyEndAllowThreads(__tstate
);
4348 if (PyErr_Occurred()) return NULL
;
4349 } Py_INCREF(Py_None
);
4350 _resultobj
= Py_None
;
4354 #define wxFont_Ok(_swigobj) (_swigobj->Ok())
4355 static PyObject
*_wrap_wxFont_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4356 PyObject
* _resultobj
;
4359 PyObject
* _argo0
= 0;
4360 char *_kwnames
[] = { "self", NULL
};
4363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_Ok",_kwnames
,&_argo0
))
4366 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4367 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_Ok. Expected _wxFont_p.");
4373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4374 _result
= (bool )wxFont_Ok(_arg0
);
4376 wxPyEndAllowThreads(__tstate
);
4377 if (PyErr_Occurred()) return NULL
;
4378 } _resultobj
= Py_BuildValue("i",_result
);
4382 #define wxFont_GetPointSize(_swigobj) (_swigobj->GetPointSize())
4383 static PyObject
*_wrap_wxFont_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4384 PyObject
* _resultobj
;
4387 PyObject
* _argo0
= 0;
4388 char *_kwnames
[] = { "self", NULL
};
4391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetPointSize",_kwnames
,&_argo0
))
4394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetPointSize. Expected _wxFont_p.");
4401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4402 _result
= (int )wxFont_GetPointSize(_arg0
);
4404 wxPyEndAllowThreads(__tstate
);
4405 if (PyErr_Occurred()) return NULL
;
4406 } _resultobj
= Py_BuildValue("i",_result
);
4410 #define wxFont_GetFamily(_swigobj) (_swigobj->GetFamily())
4411 static PyObject
*_wrap_wxFont_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4412 PyObject
* _resultobj
;
4415 PyObject
* _argo0
= 0;
4416 char *_kwnames
[] = { "self", NULL
};
4419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFamily",_kwnames
,&_argo0
))
4422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFamily. Expected _wxFont_p.");
4429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4430 _result
= (int )wxFont_GetFamily(_arg0
);
4432 wxPyEndAllowThreads(__tstate
);
4433 if (PyErr_Occurred()) return NULL
;
4434 } _resultobj
= Py_BuildValue("i",_result
);
4438 #define wxFont_GetStyle(_swigobj) (_swigobj->GetStyle())
4439 static PyObject
*_wrap_wxFont_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4440 PyObject
* _resultobj
;
4443 PyObject
* _argo0
= 0;
4444 char *_kwnames
[] = { "self", NULL
};
4447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetStyle",_kwnames
,&_argo0
))
4450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetStyle. Expected _wxFont_p.");
4457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4458 _result
= (int )wxFont_GetStyle(_arg0
);
4460 wxPyEndAllowThreads(__tstate
);
4461 if (PyErr_Occurred()) return NULL
;
4462 } _resultobj
= Py_BuildValue("i",_result
);
4466 #define wxFont_GetWeight(_swigobj) (_swigobj->GetWeight())
4467 static PyObject
*_wrap_wxFont_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4468 PyObject
* _resultobj
;
4471 PyObject
* _argo0
= 0;
4472 char *_kwnames
[] = { "self", NULL
};
4475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetWeight",_kwnames
,&_argo0
))
4478 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4479 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetWeight. Expected _wxFont_p.");
4485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4486 _result
= (int )wxFont_GetWeight(_arg0
);
4488 wxPyEndAllowThreads(__tstate
);
4489 if (PyErr_Occurred()) return NULL
;
4490 } _resultobj
= Py_BuildValue("i",_result
);
4494 #define wxFont_GetUnderlined(_swigobj) (_swigobj->GetUnderlined())
4495 static PyObject
*_wrap_wxFont_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4496 PyObject
* _resultobj
;
4499 PyObject
* _argo0
= 0;
4500 char *_kwnames
[] = { "self", NULL
};
4503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetUnderlined",_kwnames
,&_argo0
))
4506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetUnderlined. Expected _wxFont_p.");
4513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4514 _result
= (bool )wxFont_GetUnderlined(_arg0
);
4516 wxPyEndAllowThreads(__tstate
);
4517 if (PyErr_Occurred()) return NULL
;
4518 } _resultobj
= Py_BuildValue("i",_result
);
4522 #define wxFont_GetFaceName(_swigobj) (_swigobj->GetFaceName())
4523 static PyObject
*_wrap_wxFont_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4524 PyObject
* _resultobj
;
4527 PyObject
* _argo0
= 0;
4528 char *_kwnames
[] = { "self", NULL
};
4531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFaceName",_kwnames
,&_argo0
))
4534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFaceName. Expected _wxFont_p.");
4541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4542 _result
= new wxString (wxFont_GetFaceName(_arg0
));
4544 wxPyEndAllowThreads(__tstate
);
4545 if (PyErr_Occurred()) return NULL
;
4548 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4550 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4559 #define wxFont_GetEncoding(_swigobj) (_swigobj->GetEncoding())
4560 static PyObject
*_wrap_wxFont_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4561 PyObject
* _resultobj
;
4562 wxFontEncoding _result
;
4564 PyObject
* _argo0
= 0;
4565 char *_kwnames
[] = { "self", NULL
};
4568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetEncoding",_kwnames
,&_argo0
))
4571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetEncoding. Expected _wxFont_p.");
4578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4579 _result
= (wxFontEncoding
)wxFont_GetEncoding(_arg0
);
4581 wxPyEndAllowThreads(__tstate
);
4582 if (PyErr_Occurred()) return NULL
;
4583 } _resultobj
= Py_BuildValue("i",_result
);
4587 #define wxFont_IsFixedWidth(_swigobj) (_swigobj->IsFixedWidth())
4588 static PyObject
*_wrap_wxFont_IsFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4589 PyObject
* _resultobj
;
4592 PyObject
* _argo0
= 0;
4593 char *_kwnames
[] = { "self", NULL
};
4596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_IsFixedWidth",_kwnames
,&_argo0
))
4599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_IsFixedWidth. Expected _wxFont_p.");
4606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4607 _result
= (bool )wxFont_IsFixedWidth(_arg0
);
4609 wxPyEndAllowThreads(__tstate
);
4610 if (PyErr_Occurred()) return NULL
;
4611 } _resultobj
= Py_BuildValue("i",_result
);
4615 #define wxFont_GetNativeFontInfo(_swigobj) (_swigobj->GetNativeFontInfo())
4616 static PyObject
*_wrap_wxFont_GetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4617 PyObject
* _resultobj
;
4618 wxNativeFontInfo
* _result
;
4620 PyObject
* _argo0
= 0;
4621 char *_kwnames
[] = { "self", NULL
};
4625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetNativeFontInfo",_kwnames
,&_argo0
))
4628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetNativeFontInfo. Expected _wxFont_p.");
4635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4636 _result
= (wxNativeFontInfo
*)wxFont_GetNativeFontInfo(_arg0
);
4638 wxPyEndAllowThreads(__tstate
);
4639 if (PyErr_Occurred()) return NULL
;
4641 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNativeFontInfo_p");
4642 _resultobj
= Py_BuildValue("s",_ptemp
);
4645 _resultobj
= Py_None
;
4650 #define wxFont_GetNativeFontInfoDesc(_swigobj) (_swigobj->GetNativeFontInfoDesc())
4651 static PyObject
*_wrap_wxFont_GetNativeFontInfoDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4652 PyObject
* _resultobj
;
4655 PyObject
* _argo0
= 0;
4656 char *_kwnames
[] = { "self", NULL
};
4659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetNativeFontInfoDesc",_kwnames
,&_argo0
))
4662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetNativeFontInfoDesc. Expected _wxFont_p.");
4669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4670 _result
= new wxString (wxFont_GetNativeFontInfoDesc(_arg0
));
4672 wxPyEndAllowThreads(__tstate
);
4673 if (PyErr_Occurred()) return NULL
;
4676 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4678 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4687 #define wxFont_GetNativeFontInfoUserDesc(_swigobj) (_swigobj->GetNativeFontInfoUserDesc())
4688 static PyObject
*_wrap_wxFont_GetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4689 PyObject
* _resultobj
;
4692 PyObject
* _argo0
= 0;
4693 char *_kwnames
[] = { "self", NULL
};
4696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetNativeFontInfoUserDesc",_kwnames
,&_argo0
))
4699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetNativeFontInfoUserDesc. Expected _wxFont_p.");
4706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4707 _result
= new wxString (wxFont_GetNativeFontInfoUserDesc(_arg0
));
4709 wxPyEndAllowThreads(__tstate
);
4710 if (PyErr_Occurred()) return NULL
;
4713 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4715 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4724 #define wxFont_SetPointSize(_swigobj,_swigarg0) (_swigobj->SetPointSize(_swigarg0))
4725 static PyObject
*_wrap_wxFont_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4726 PyObject
* _resultobj
;
4729 PyObject
* _argo0
= 0;
4730 char *_kwnames
[] = { "self","pointSize", NULL
};
4733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetPointSize",_kwnames
,&_argo0
,&_arg1
))
4736 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4737 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetPointSize. Expected _wxFont_p.");
4743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4744 wxFont_SetPointSize(_arg0
,_arg1
);
4746 wxPyEndAllowThreads(__tstate
);
4747 if (PyErr_Occurred()) return NULL
;
4748 } Py_INCREF(Py_None
);
4749 _resultobj
= Py_None
;
4753 #define wxFont_SetFamily(_swigobj,_swigarg0) (_swigobj->SetFamily(_swigarg0))
4754 static PyObject
*_wrap_wxFont_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4755 PyObject
* _resultobj
;
4758 PyObject
* _argo0
= 0;
4759 char *_kwnames
[] = { "self","family", NULL
};
4762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetFamily",_kwnames
,&_argo0
,&_arg1
))
4765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFamily. Expected _wxFont_p.");
4772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4773 wxFont_SetFamily(_arg0
,_arg1
);
4775 wxPyEndAllowThreads(__tstate
);
4776 if (PyErr_Occurred()) return NULL
;
4777 } Py_INCREF(Py_None
);
4778 _resultobj
= Py_None
;
4782 #define wxFont_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
4783 static PyObject
*_wrap_wxFont_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4784 PyObject
* _resultobj
;
4787 PyObject
* _argo0
= 0;
4788 char *_kwnames
[] = { "self","style", NULL
};
4791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetStyle",_kwnames
,&_argo0
,&_arg1
))
4794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetStyle. Expected _wxFont_p.");
4801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4802 wxFont_SetStyle(_arg0
,_arg1
);
4804 wxPyEndAllowThreads(__tstate
);
4805 if (PyErr_Occurred()) return NULL
;
4806 } Py_INCREF(Py_None
);
4807 _resultobj
= Py_None
;
4811 #define wxFont_SetWeight(_swigobj,_swigarg0) (_swigobj->SetWeight(_swigarg0))
4812 static PyObject
*_wrap_wxFont_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4813 PyObject
* _resultobj
;
4816 PyObject
* _argo0
= 0;
4817 char *_kwnames
[] = { "self","weight", NULL
};
4820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetWeight",_kwnames
,&_argo0
,&_arg1
))
4823 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4824 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetWeight. Expected _wxFont_p.");
4830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4831 wxFont_SetWeight(_arg0
,_arg1
);
4833 wxPyEndAllowThreads(__tstate
);
4834 if (PyErr_Occurred()) return NULL
;
4835 } Py_INCREF(Py_None
);
4836 _resultobj
= Py_None
;
4840 #define wxFont_SetFaceName(_swigobj,_swigarg0) (_swigobj->SetFaceName(_swigarg0))
4841 static PyObject
*_wrap_wxFont_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4842 PyObject
* _resultobj
;
4845 PyObject
* _argo0
= 0;
4846 PyObject
* _obj1
= 0;
4847 char *_kwnames
[] = { "self","faceName", NULL
};
4850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFont_SetFaceName",_kwnames
,&_argo0
,&_obj1
))
4853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFaceName. Expected _wxFont_p.");
4860 _arg1
= wxString_in_helper(_obj1
);
4865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4866 wxFont_SetFaceName(_arg0
,*_arg1
);
4868 wxPyEndAllowThreads(__tstate
);
4869 if (PyErr_Occurred()) return NULL
;
4870 } Py_INCREF(Py_None
);
4871 _resultobj
= Py_None
;
4879 #define wxFont_SetUnderlined(_swigobj,_swigarg0) (_swigobj->SetUnderlined(_swigarg0))
4880 static PyObject
*_wrap_wxFont_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4881 PyObject
* _resultobj
;
4884 PyObject
* _argo0
= 0;
4886 char *_kwnames
[] = { "self","underlined", NULL
};
4889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetUnderlined",_kwnames
,&_argo0
,&tempbool1
))
4892 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4893 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetUnderlined. Expected _wxFont_p.");
4898 _arg1
= (bool ) tempbool1
;
4900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4901 wxFont_SetUnderlined(_arg0
,_arg1
);
4903 wxPyEndAllowThreads(__tstate
);
4904 if (PyErr_Occurred()) return NULL
;
4905 } Py_INCREF(Py_None
);
4906 _resultobj
= Py_None
;
4910 #define wxFont_SetEncoding(_swigobj,_swigarg0) (_swigobj->SetEncoding(_swigarg0))
4911 static PyObject
*_wrap_wxFont_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4912 PyObject
* _resultobj
;
4914 wxFontEncoding _arg1
;
4915 PyObject
* _argo0
= 0;
4916 char *_kwnames
[] = { "self","encoding", NULL
};
4919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetEncoding",_kwnames
,&_argo0
,&_arg1
))
4922 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4923 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetEncoding. Expected _wxFont_p.");
4929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4930 wxFont_SetEncoding(_arg0
,_arg1
);
4932 wxPyEndAllowThreads(__tstate
);
4933 if (PyErr_Occurred()) return NULL
;
4934 } Py_INCREF(Py_None
);
4935 _resultobj
= Py_None
;
4939 #define wxFont_SetNativeFontInfo(_swigobj,_swigarg0) (_swigobj->SetNativeFontInfo(_swigarg0))
4940 static PyObject
*_wrap_wxFont_SetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4941 PyObject
* _resultobj
;
4943 wxNativeFontInfo
* _arg1
;
4944 PyObject
* _argo0
= 0;
4945 PyObject
* _argo1
= 0;
4946 char *_kwnames
[] = { "self","info", NULL
};
4949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFont_SetNativeFontInfo",_kwnames
,&_argo0
,&_argo1
))
4952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetNativeFontInfo. Expected _wxFont_p.");
4959 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4960 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxNativeFontInfo_p")) {
4961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFont_SetNativeFontInfo. Expected _wxNativeFontInfo_p.");
4966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4967 wxFont_SetNativeFontInfo(_arg0
,*_arg1
);
4969 wxPyEndAllowThreads(__tstate
);
4970 if (PyErr_Occurred()) return NULL
;
4971 } Py_INCREF(Py_None
);
4972 _resultobj
= Py_None
;
4976 #define wxFont_SetNativeFontInfoUserDesc(_swigobj,_swigarg0) (_swigobj->SetNativeFontInfoUserDesc(_swigarg0))
4977 static PyObject
*_wrap_wxFont_SetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4978 PyObject
* _resultobj
;
4981 PyObject
* _argo0
= 0;
4982 PyObject
* _obj1
= 0;
4983 char *_kwnames
[] = { "self","info", NULL
};
4986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFont_SetNativeFontInfoUserDesc",_kwnames
,&_argo0
,&_obj1
))
4989 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4990 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetNativeFontInfoUserDesc. Expected _wxFont_p.");
4996 _arg1
= wxString_in_helper(_obj1
);
5001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5002 wxFont_SetNativeFontInfoUserDesc(_arg0
,*_arg1
);
5004 wxPyEndAllowThreads(__tstate
);
5005 if (PyErr_Occurred()) return NULL
;
5006 } Py_INCREF(Py_None
);
5007 _resultobj
= Py_None
;
5015 #define wxFont_GetFamilyString(_swigobj) (_swigobj->GetFamilyString())
5016 static PyObject
*_wrap_wxFont_GetFamilyString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5017 PyObject
* _resultobj
;
5020 PyObject
* _argo0
= 0;
5021 char *_kwnames
[] = { "self", NULL
};
5024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFamilyString",_kwnames
,&_argo0
))
5027 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5028 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
5029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFamilyString. Expected _wxFont_p.");
5034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5035 _result
= new wxString (wxFont_GetFamilyString(_arg0
));
5037 wxPyEndAllowThreads(__tstate
);
5038 if (PyErr_Occurred()) return NULL
;
5041 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5043 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5052 #define wxFont_GetStyleString(_swigobj) (_swigobj->GetStyleString())
5053 static PyObject
*_wrap_wxFont_GetStyleString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5054 PyObject
* _resultobj
;
5057 PyObject
* _argo0
= 0;
5058 char *_kwnames
[] = { "self", NULL
};
5061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetStyleString",_kwnames
,&_argo0
))
5064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
5066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetStyleString. Expected _wxFont_p.");
5071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5072 _result
= new wxString (wxFont_GetStyleString(_arg0
));
5074 wxPyEndAllowThreads(__tstate
);
5075 if (PyErr_Occurred()) return NULL
;
5078 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5080 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5089 #define wxFont_GetWeightString(_swigobj) (_swigobj->GetWeightString())
5090 static PyObject
*_wrap_wxFont_GetWeightString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5091 PyObject
* _resultobj
;
5094 PyObject
* _argo0
= 0;
5095 char *_kwnames
[] = { "self", NULL
};
5098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetWeightString",_kwnames
,&_argo0
))
5101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
5103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetWeightString. Expected _wxFont_p.");
5108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5109 _result
= new wxString (wxFont_GetWeightString(_arg0
));
5111 wxPyEndAllowThreads(__tstate
);
5112 if (PyErr_Occurred()) return NULL
;
5115 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5117 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5126 static PyObject
*_wrap_wxFont_GetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5127 PyObject
* _resultobj
;
5128 wxFontEncoding _result
;
5129 char *_kwnames
[] = { NULL
};
5132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFont_GetDefaultEncoding",_kwnames
))
5135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5136 _result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
5138 wxPyEndAllowThreads(__tstate
);
5139 if (PyErr_Occurred()) return NULL
;
5140 } _resultobj
= Py_BuildValue("i",_result
);
5144 static PyObject
*_wrap_wxFont_SetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5145 PyObject
* _resultobj
;
5146 wxFontEncoding _arg0
;
5147 char *_kwnames
[] = { "encoding", NULL
};
5150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxFont_SetDefaultEncoding",_kwnames
,&_arg0
))
5153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5154 wxFont::SetDefaultEncoding(_arg0
);
5156 wxPyEndAllowThreads(__tstate
);
5157 if (PyErr_Occurred()) return NULL
;
5158 } Py_INCREF(Py_None
);
5159 _resultobj
= Py_None
;
5163 static void *SwigwxFontListTowxObject(void *ptr
) {
5166 src
= (wxFontList
*) ptr
;
5167 dest
= (wxObject
*) src
;
5168 return (void *) dest
;
5171 #define wxFontList_AddFont(_swigobj,_swigarg0) (_swigobj->AddFont(_swigarg0))
5172 static PyObject
*_wrap_wxFontList_AddFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5173 PyObject
* _resultobj
;
5176 PyObject
* _argo0
= 0;
5177 PyObject
* _argo1
= 0;
5178 char *_kwnames
[] = { "self","font", NULL
};
5181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontList_AddFont",_kwnames
,&_argo0
,&_argo1
))
5184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) {
5186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_AddFont. Expected _wxFontList_p.");
5191 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5192 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
5193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontList_AddFont. Expected _wxFont_p.");
5198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5199 wxFontList_AddFont(_arg0
,_arg1
);
5201 wxPyEndAllowThreads(__tstate
);
5202 if (PyErr_Occurred()) return NULL
;
5203 } Py_INCREF(Py_None
);
5204 _resultobj
= Py_None
;
5208 #define wxFontList_FindOrCreateFont(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->FindOrCreateFont(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5209 static PyObject
*_wrap_wxFontList_FindOrCreateFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5210 PyObject
* _resultobj
;
5217 bool _arg5
= (bool ) FALSE
;
5218 wxString
* _arg6
= (wxString
*) &wxPyEmptyString
;
5219 wxFontEncoding _arg7
= (wxFontEncoding
) (wxFONTENCODING_DEFAULT
);
5220 PyObject
* _argo0
= 0;
5221 int tempbool5
= (int) FALSE
;
5222 PyObject
* _obj6
= 0;
5223 char *_kwnames
[] = { "self","point_size","family","style","weight","underline","facename","encoding", NULL
};
5227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|iOi:wxFontList_FindOrCreateFont",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
,&_obj6
,&_arg7
))
5230 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5231 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) {
5232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_FindOrCreateFont. Expected _wxFontList_p.");
5236 _arg5
= (bool ) tempbool5
;
5239 _arg6
= wxString_in_helper(_obj6
);
5244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5245 _result
= (wxFont
*)wxFontList_FindOrCreateFont(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,*_arg6
,_arg7
);
5247 wxPyEndAllowThreads(__tstate
);
5248 if (PyErr_Occurred()) return NULL
;
5250 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
5251 _resultobj
= Py_BuildValue("s",_ptemp
);
5254 _resultobj
= Py_None
;
5263 #define wxFontList_RemoveFont(_swigobj,_swigarg0) (_swigobj->RemoveFont(_swigarg0))
5264 static PyObject
*_wrap_wxFontList_RemoveFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5265 PyObject
* _resultobj
;
5268 PyObject
* _argo0
= 0;
5269 PyObject
* _argo1
= 0;
5270 char *_kwnames
[] = { "self","font", NULL
};
5273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontList_RemoveFont",_kwnames
,&_argo0
,&_argo1
))
5276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) {
5278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_RemoveFont. Expected _wxFontList_p.");
5283 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5284 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
5285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontList_RemoveFont. Expected _wxFont_p.");
5290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5291 wxFontList_RemoveFont(_arg0
,_arg1
);
5293 wxPyEndAllowThreads(__tstate
);
5294 if (PyErr_Occurred()) return NULL
;
5295 } Py_INCREF(Py_None
);
5296 _resultobj
= Py_None
;
5300 #define wxFontList_GetCount(_swigobj) (_swigobj->GetCount())
5301 static PyObject
*_wrap_wxFontList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5302 PyObject
* _resultobj
;
5305 PyObject
* _argo0
= 0;
5306 char *_kwnames
[] = { "self", NULL
};
5309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontList_GetCount",_kwnames
,&_argo0
))
5312 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5313 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) {
5314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_GetCount. Expected _wxFontList_p.");
5319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5320 _result
= (int )wxFontList_GetCount(_arg0
);
5322 wxPyEndAllowThreads(__tstate
);
5323 if (PyErr_Occurred()) return NULL
;
5324 } _resultobj
= Py_BuildValue("i",_result
);
5328 static void *SwigwxColourTowxObject(void *ptr
) {
5331 src
= (wxColour
*) ptr
;
5332 dest
= (wxObject
*) src
;
5333 return (void *) dest
;
5336 #define new_wxColour(_swigarg0,_swigarg1,_swigarg2) (new wxColour(_swigarg0,_swigarg1,_swigarg2))
5337 static PyObject
*_wrap_new_wxColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5338 PyObject
* _resultobj
;
5340 unsigned char _arg0
= (unsigned char ) 0;
5341 unsigned char _arg1
= (unsigned char ) 0;
5342 unsigned char _arg2
= (unsigned char ) 0;
5343 char *_kwnames
[] = { "red","green","blue", NULL
};
5347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|bbb:new_wxColour",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
5350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5351 _result
= (wxColour
*)new_wxColour(_arg0
,_arg1
,_arg2
);
5353 wxPyEndAllowThreads(__tstate
);
5354 if (PyErr_Occurred()) return NULL
;
5356 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
5357 _resultobj
= Py_BuildValue("s",_ptemp
);
5360 _resultobj
= Py_None
;
5365 #define delete_wxColour(_swigobj) (delete _swigobj)
5366 static PyObject
*_wrap_delete_wxColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5367 PyObject
* _resultobj
;
5370 PyObject
* _obj0
= 0;
5371 char *_kwnames
[] = { "self", NULL
};
5374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxColour",_kwnames
,&_obj0
))
5378 if (! wxColour_helper(_obj0
, &_arg0
))
5382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5383 delete_wxColour(_arg0
);
5385 wxPyEndAllowThreads(__tstate
);
5386 if (PyErr_Occurred()) return NULL
;
5387 } Py_INCREF(Py_None
);
5388 _resultobj
= Py_None
;
5392 #define wxColour_Red(_swigobj) (_swigobj->Red())
5393 static PyObject
*_wrap_wxColour_Red(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5394 PyObject
* _resultobj
;
5395 unsigned char _result
;
5398 PyObject
* _obj0
= 0;
5399 char *_kwnames
[] = { "self", NULL
};
5402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Red",_kwnames
,&_obj0
))
5406 if (! wxColour_helper(_obj0
, &_arg0
))
5410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5411 _result
= (unsigned char )wxColour_Red(_arg0
);
5413 wxPyEndAllowThreads(__tstate
);
5414 if (PyErr_Occurred()) return NULL
;
5415 } _resultobj
= Py_BuildValue("b",_result
);
5419 #define wxColour_Green(_swigobj) (_swigobj->Green())
5420 static PyObject
*_wrap_wxColour_Green(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5421 PyObject
* _resultobj
;
5422 unsigned char _result
;
5425 PyObject
* _obj0
= 0;
5426 char *_kwnames
[] = { "self", NULL
};
5429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Green",_kwnames
,&_obj0
))
5433 if (! wxColour_helper(_obj0
, &_arg0
))
5437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5438 _result
= (unsigned char )wxColour_Green(_arg0
);
5440 wxPyEndAllowThreads(__tstate
);
5441 if (PyErr_Occurred()) return NULL
;
5442 } _resultobj
= Py_BuildValue("b",_result
);
5446 #define wxColour_Blue(_swigobj) (_swigobj->Blue())
5447 static PyObject
*_wrap_wxColour_Blue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5448 PyObject
* _resultobj
;
5449 unsigned char _result
;
5452 PyObject
* _obj0
= 0;
5453 char *_kwnames
[] = { "self", NULL
};
5456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Blue",_kwnames
,&_obj0
))
5460 if (! wxColour_helper(_obj0
, &_arg0
))
5464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5465 _result
= (unsigned char )wxColour_Blue(_arg0
);
5467 wxPyEndAllowThreads(__tstate
);
5468 if (PyErr_Occurred()) return NULL
;
5469 } _resultobj
= Py_BuildValue("b",_result
);
5473 #define wxColour_Ok(_swigobj) (_swigobj->Ok())
5474 static PyObject
*_wrap_wxColour_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5475 PyObject
* _resultobj
;
5479 PyObject
* _obj0
= 0;
5480 char *_kwnames
[] = { "self", NULL
};
5483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Ok",_kwnames
,&_obj0
))
5487 if (! wxColour_helper(_obj0
, &_arg0
))
5491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5492 _result
= (bool )wxColour_Ok(_arg0
);
5494 wxPyEndAllowThreads(__tstate
);
5495 if (PyErr_Occurred()) return NULL
;
5496 } _resultobj
= Py_BuildValue("i",_result
);
5500 #define wxColour_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
5501 static PyObject
*_wrap_wxColour_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5502 PyObject
* _resultobj
;
5504 unsigned char _arg1
;
5505 unsigned char _arg2
;
5506 unsigned char _arg3
;
5508 PyObject
* _obj0
= 0;
5509 char *_kwnames
[] = { "self","red","green","blue", NULL
};
5512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Obbb:wxColour_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
))
5516 if (! wxColour_helper(_obj0
, &_arg0
))
5520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5521 wxColour_Set(_arg0
,_arg1
,_arg2
,_arg3
);
5523 wxPyEndAllowThreads(__tstate
);
5524 if (PyErr_Occurred()) return NULL
;
5525 } Py_INCREF(Py_None
);
5526 _resultobj
= Py_None
;
5530 static PyObject
* wxColour_Get(wxColour
*self
) {
5531 PyObject
* rv
= PyTuple_New(3);
5532 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
5533 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
5534 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
5537 static PyObject
*_wrap_wxColour_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5538 PyObject
* _resultobj
;
5542 PyObject
* _obj0
= 0;
5543 char *_kwnames
[] = { "self", NULL
};
5546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Get",_kwnames
,&_obj0
))
5550 if (! wxColour_helper(_obj0
, &_arg0
))
5554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5555 _result
= (PyObject
*)wxColour_Get(_arg0
);
5557 wxPyEndAllowThreads(__tstate
);
5558 if (PyErr_Occurred()) return NULL
;
5560 _resultobj
= _result
;
5565 static void *SwigwxColourDatabaseTowxObject(void *ptr
) {
5566 wxColourDatabase
*src
;
5568 src
= (wxColourDatabase
*) ptr
;
5569 dest
= (wxObject
*) src
;
5570 return (void *) dest
;
5573 #define wxColourDatabase_FindColour(_swigobj,_swigarg0) (_swigobj->FindColour(_swigarg0))
5574 static PyObject
*_wrap_wxColourDatabase_FindColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5575 PyObject
* _resultobj
;
5577 wxColourDatabase
* _arg0
;
5579 PyObject
* _argo0
= 0;
5580 PyObject
* _obj1
= 0;
5581 char *_kwnames
[] = { "self","colour", NULL
};
5585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxColourDatabase_FindColour",_kwnames
,&_argo0
,&_obj1
))
5588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
5590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_FindColour. Expected _wxColourDatabase_p.");
5595 _arg1
= wxString_in_helper(_obj1
);
5600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5601 _result
= (wxColour
*)wxColourDatabase_FindColour(_arg0
,*_arg1
);
5603 wxPyEndAllowThreads(__tstate
);
5604 if (PyErr_Occurred()) return NULL
;
5606 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
5607 _resultobj
= Py_BuildValue("s",_ptemp
);
5610 _resultobj
= Py_None
;
5619 #define wxColourDatabase_FindName(_swigobj,_swigarg0) (_swigobj->FindName(_swigarg0))
5620 static PyObject
*_wrap_wxColourDatabase_FindName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5621 PyObject
* _resultobj
;
5623 wxColourDatabase
* _arg0
;
5625 PyObject
* _argo0
= 0;
5627 PyObject
* _obj1
= 0;
5628 char *_kwnames
[] = { "self","colour", NULL
};
5631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxColourDatabase_FindName",_kwnames
,&_argo0
,&_obj1
))
5634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
5636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_FindName. Expected _wxColourDatabase_p.");
5642 if (! wxColour_helper(_obj1
, &_arg1
))
5646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5647 _result
= new wxString (wxColourDatabase_FindName(_arg0
,*_arg1
));
5649 wxPyEndAllowThreads(__tstate
);
5650 if (PyErr_Occurred()) return NULL
;
5653 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5655 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5664 static void wxColourDatabase_Append(wxColourDatabase
*self
,const wxString
& name
,int red
,int green
,int blue
) {
5665 // first see if the name is already there
5666 wxString cName
= name
;
5668 wxString cName2
= cName
;
5669 if ( !cName2
.Replace(wxT("GRAY"), wxT("GREY")) )
5672 wxNode
*node
= self
->First();
5674 const wxChar
*key
= node
->GetKeyString();
5675 if ( cName
== key
|| cName2
== key
) {
5676 wxColour
* c
= (wxColour
*)node
->Data();
5677 c
->Set(red
, green
, blue
);
5680 node
= node
->Next();
5683 // otherwise append the new colour
5684 self
->Append(name
.c_str(), new wxColour(red
, green
, blue
));
5686 static PyObject
*_wrap_wxColourDatabase_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5687 PyObject
* _resultobj
;
5688 wxColourDatabase
* _arg0
;
5693 PyObject
* _argo0
= 0;
5694 PyObject
* _obj1
= 0;
5695 char *_kwnames
[] = { "self","name","red","green","blue", NULL
};
5698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiii:wxColourDatabase_Append",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_arg4
))
5701 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5702 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
5703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_Append. Expected _wxColourDatabase_p.");
5708 _arg1
= wxString_in_helper(_obj1
);
5713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5714 wxColourDatabase_Append(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
5716 wxPyEndAllowThreads(__tstate
);
5717 if (PyErr_Occurred()) return NULL
;
5718 } Py_INCREF(Py_None
);
5719 _resultobj
= Py_None
;
5727 static void *SwigwxPenTowxGDIObject(void *ptr
) {
5730 src
= (wxPen
*) ptr
;
5731 dest
= (wxGDIObject
*) src
;
5732 return (void *) dest
;
5735 static void *SwigwxPenTowxObject(void *ptr
) {
5738 src
= (wxPen
*) ptr
;
5739 dest
= (wxObject
*) src
;
5740 return (void *) dest
;
5743 #define new_wxPen(_swigarg0,_swigarg1,_swigarg2) (new wxPen(_swigarg0,_swigarg1,_swigarg2))
5744 static PyObject
*_wrap_new_wxPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5745 PyObject
* _resultobj
;
5748 int _arg1
= (int ) 1;
5749 int _arg2
= (int ) wxSOLID
;
5751 PyObject
* _obj0
= 0;
5752 char *_kwnames
[] = { "colour","width","style", NULL
};
5756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:new_wxPen",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
5760 if (! wxColour_helper(_obj0
, &_arg0
))
5764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5765 _result
= (wxPen
*)new_wxPen(*_arg0
,_arg1
,_arg2
);
5767 wxPyEndAllowThreads(__tstate
);
5768 if (PyErr_Occurred()) return NULL
;
5770 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
5771 _resultobj
= Py_BuildValue("s",_ptemp
);
5774 _resultobj
= Py_None
;
5779 #define delete_wxPen(_swigobj) (delete _swigobj)
5780 static PyObject
*_wrap_delete_wxPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5781 PyObject
* _resultobj
;
5783 PyObject
* _argo0
= 0;
5784 char *_kwnames
[] = { "self", NULL
};
5787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPen",_kwnames
,&_argo0
))
5790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPen. Expected _wxPen_p.");
5797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5798 delete_wxPen(_arg0
);
5800 wxPyEndAllowThreads(__tstate
);
5801 if (PyErr_Occurred()) return NULL
;
5802 } Py_INCREF(Py_None
);
5803 _resultobj
= Py_None
;
5807 #define wxPen_GetCap(_swigobj) (_swigobj->GetCap())
5808 static PyObject
*_wrap_wxPen_GetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5809 PyObject
* _resultobj
;
5812 PyObject
* _argo0
= 0;
5813 char *_kwnames
[] = { "self", NULL
};
5816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetCap",_kwnames
,&_argo0
))
5819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetCap. Expected _wxPen_p.");
5826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5827 _result
= (int )wxPen_GetCap(_arg0
);
5829 wxPyEndAllowThreads(__tstate
);
5830 if (PyErr_Occurred()) return NULL
;
5831 } _resultobj
= Py_BuildValue("i",_result
);
5835 #define wxPen_GetColour(_swigobj) (_swigobj->GetColour())
5836 static PyObject
*_wrap_wxPen_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5837 PyObject
* _resultobj
;
5840 PyObject
* _argo0
= 0;
5841 char *_kwnames
[] = { "self", NULL
};
5845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetColour",_kwnames
,&_argo0
))
5848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetColour. Expected _wxPen_p.");
5855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5856 _result
= new wxColour (wxPen_GetColour(_arg0
));
5858 wxPyEndAllowThreads(__tstate
);
5859 if (PyErr_Occurred()) return NULL
;
5860 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
5861 _resultobj
= Py_BuildValue("s",_ptemp
);
5865 #define wxPen_GetJoin(_swigobj) (_swigobj->GetJoin())
5866 static PyObject
*_wrap_wxPen_GetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5867 PyObject
* _resultobj
;
5870 PyObject
* _argo0
= 0;
5871 char *_kwnames
[] = { "self", NULL
};
5874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetJoin",_kwnames
,&_argo0
))
5877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetJoin. Expected _wxPen_p.");
5884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5885 _result
= (int )wxPen_GetJoin(_arg0
);
5887 wxPyEndAllowThreads(__tstate
);
5888 if (PyErr_Occurred()) return NULL
;
5889 } _resultobj
= Py_BuildValue("i",_result
);
5893 #define wxPen_GetStyle(_swigobj) (_swigobj->GetStyle())
5894 static PyObject
*_wrap_wxPen_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5895 PyObject
* _resultobj
;
5898 PyObject
* _argo0
= 0;
5899 char *_kwnames
[] = { "self", NULL
};
5902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetStyle",_kwnames
,&_argo0
))
5905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetStyle. Expected _wxPen_p.");
5912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5913 _result
= (int )wxPen_GetStyle(_arg0
);
5915 wxPyEndAllowThreads(__tstate
);
5916 if (PyErr_Occurred()) return NULL
;
5917 } _resultobj
= Py_BuildValue("i",_result
);
5921 #define wxPen_GetWidth(_swigobj) (_swigobj->GetWidth())
5922 static PyObject
*_wrap_wxPen_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5923 PyObject
* _resultobj
;
5926 PyObject
* _argo0
= 0;
5927 char *_kwnames
[] = { "self", NULL
};
5930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetWidth",_kwnames
,&_argo0
))
5933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetWidth. Expected _wxPen_p.");
5940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5941 _result
= (int )wxPen_GetWidth(_arg0
);
5943 wxPyEndAllowThreads(__tstate
);
5944 if (PyErr_Occurred()) return NULL
;
5945 } _resultobj
= Py_BuildValue("i",_result
);
5949 #define wxPen_Ok(_swigobj) (_swigobj->Ok())
5950 static PyObject
*_wrap_wxPen_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5951 PyObject
* _resultobj
;
5954 PyObject
* _argo0
= 0;
5955 char *_kwnames
[] = { "self", NULL
};
5958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_Ok",_kwnames
,&_argo0
))
5961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_Ok. Expected _wxPen_p.");
5968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5969 _result
= (bool )wxPen_Ok(_arg0
);
5971 wxPyEndAllowThreads(__tstate
);
5972 if (PyErr_Occurred()) return NULL
;
5973 } _resultobj
= Py_BuildValue("i",_result
);
5977 #define wxPen_SetCap(_swigobj,_swigarg0) (_swigobj->SetCap(_swigarg0))
5978 static PyObject
*_wrap_wxPen_SetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5979 PyObject
* _resultobj
;
5982 PyObject
* _argo0
= 0;
5983 char *_kwnames
[] = { "self","cap_style", NULL
};
5986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetCap",_kwnames
,&_argo0
,&_arg1
))
5989 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5990 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
5991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetCap. Expected _wxPen_p.");
5996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5997 wxPen_SetCap(_arg0
,_arg1
);
5999 wxPyEndAllowThreads(__tstate
);
6000 if (PyErr_Occurred()) return NULL
;
6001 } Py_INCREF(Py_None
);
6002 _resultobj
= Py_None
;
6006 #define wxPen_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
6007 static PyObject
*_wrap_wxPen_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6008 PyObject
* _resultobj
;
6011 PyObject
* _argo0
= 0;
6013 PyObject
* _obj1
= 0;
6014 char *_kwnames
[] = { "self","colour", NULL
};
6017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetColour",_kwnames
,&_argo0
,&_obj1
))
6020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
6022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetColour. Expected _wxPen_p.");
6028 if (! wxColour_helper(_obj1
, &_arg1
))
6032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6033 wxPen_SetColour(_arg0
,*_arg1
);
6035 wxPyEndAllowThreads(__tstate
);
6036 if (PyErr_Occurred()) return NULL
;
6037 } Py_INCREF(Py_None
);
6038 _resultobj
= Py_None
;
6042 #define wxPen_SetJoin(_swigobj,_swigarg0) (_swigobj->SetJoin(_swigarg0))
6043 static PyObject
*_wrap_wxPen_SetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6044 PyObject
* _resultobj
;
6047 PyObject
* _argo0
= 0;
6048 char *_kwnames
[] = { "self","join_style", NULL
};
6051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetJoin",_kwnames
,&_argo0
,&_arg1
))
6054 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6055 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
6056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetJoin. Expected _wxPen_p.");
6061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6062 wxPen_SetJoin(_arg0
,_arg1
);
6064 wxPyEndAllowThreads(__tstate
);
6065 if (PyErr_Occurred()) return NULL
;
6066 } Py_INCREF(Py_None
);
6067 _resultobj
= Py_None
;
6071 #define wxPen_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
6072 static PyObject
*_wrap_wxPen_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6073 PyObject
* _resultobj
;
6076 PyObject
* _argo0
= 0;
6077 char *_kwnames
[] = { "self","style", NULL
};
6080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetStyle",_kwnames
,&_argo0
,&_arg1
))
6083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
6085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetStyle. Expected _wxPen_p.");
6090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6091 wxPen_SetStyle(_arg0
,_arg1
);
6093 wxPyEndAllowThreads(__tstate
);
6094 if (PyErr_Occurred()) return NULL
;
6095 } Py_INCREF(Py_None
);
6096 _resultobj
= Py_None
;
6100 #define wxPen_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
6101 static PyObject
*_wrap_wxPen_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6102 PyObject
* _resultobj
;
6105 PyObject
* _argo0
= 0;
6106 char *_kwnames
[] = { "self","width", NULL
};
6109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetWidth",_kwnames
,&_argo0
,&_arg1
))
6112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
6114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetWidth. Expected _wxPen_p.");
6119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6120 wxPen_SetWidth(_arg0
,_arg1
);
6122 wxPyEndAllowThreads(__tstate
);
6123 if (PyErr_Occurred()) return NULL
;
6124 } Py_INCREF(Py_None
);
6125 _resultobj
= Py_None
;
6129 #define wxPen_SetDashes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDashes(_swigarg0,_swigarg1))
6130 static PyObject
*_wrap_wxPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6131 PyObject
* _resultobj
;
6135 PyObject
* _argo0
= 0;
6136 PyObject
* _obj2
= 0;
6137 char *_kwnames
[] = { "self","choices", NULL
};
6140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetDashes",_kwnames
,&_argo0
,&_obj2
))
6143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
6145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetDashes. Expected _wxPen_p.");
6151 _arg2
= (wxDash
*)byte_LIST_helper(_obj2
);
6152 if (_arg2
== NULL
) {
6158 _arg1
= PyList_Size(_obj2
);
6165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6166 wxPen_SetDashes(_arg0
,_arg1
,_arg2
);
6168 wxPyEndAllowThreads(__tstate
);
6169 if (PyErr_Occurred()) return NULL
;
6170 } Py_INCREF(Py_None
);
6171 _resultobj
= Py_None
;
6178 #define wxPen_GetStipple(_swigobj) (_swigobj->GetStipple())
6179 static PyObject
*_wrap_wxPen_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6180 PyObject
* _resultobj
;
6183 PyObject
* _argo0
= 0;
6184 char *_kwnames
[] = { "self", NULL
};
6188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetStipple",_kwnames
,&_argo0
))
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_GetStipple. Expected _wxPen_p.");
6198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6199 _result
= (wxBitmap
*)wxPen_GetStipple(_arg0
);
6201 wxPyEndAllowThreads(__tstate
);
6202 if (PyErr_Occurred()) return NULL
;
6204 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
6205 _resultobj
= Py_BuildValue("s",_ptemp
);
6208 _resultobj
= Py_None
;
6213 #define wxPen_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
6214 static PyObject
*_wrap_wxPen_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6215 PyObject
* _resultobj
;
6218 PyObject
* _argo0
= 0;
6219 PyObject
* _argo1
= 0;
6220 char *_kwnames
[] = { "self","stipple", NULL
};
6223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetStipple",_kwnames
,&_argo0
,&_argo1
))
6226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
6228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetStipple. Expected _wxPen_p.");
6233 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6234 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
6235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPen_SetStipple. Expected _wxBitmap_p.");
6240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6241 wxPen_SetStipple(_arg0
,*_arg1
);
6243 wxPyEndAllowThreads(__tstate
);
6244 if (PyErr_Occurred()) return NULL
;
6245 } Py_INCREF(Py_None
);
6246 _resultobj
= Py_None
;
6250 static void *SwigwxPyPenTowxPen(void *ptr
) {
6253 src
= (wxPyPen
*) ptr
;
6254 dest
= (wxPen
*) src
;
6255 return (void *) dest
;
6258 static void *SwigwxPyPenTowxGDIObject(void *ptr
) {
6261 src
= (wxPyPen
*) ptr
;
6262 dest
= (wxGDIObject
*) src
;
6263 return (void *) dest
;
6266 static void *SwigwxPyPenTowxObject(void *ptr
) {
6269 src
= (wxPyPen
*) ptr
;
6270 dest
= (wxObject
*) src
;
6271 return (void *) dest
;
6274 #define new_wxPyPen(_swigarg0,_swigarg1,_swigarg2) (new wxPyPen(_swigarg0,_swigarg1,_swigarg2))
6275 static PyObject
*_wrap_new_wxPyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6276 PyObject
* _resultobj
;
6279 int _arg1
= (int ) 1;
6280 int _arg2
= (int ) wxSOLID
;
6282 PyObject
* _obj0
= 0;
6283 char *_kwnames
[] = { "colour","width","style", NULL
};
6287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:new_wxPyPen",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
6291 if (! wxColour_helper(_obj0
, &_arg0
))
6295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6296 _result
= (wxPyPen
*)new_wxPyPen(*_arg0
,_arg1
,_arg2
);
6298 wxPyEndAllowThreads(__tstate
);
6299 if (PyErr_Occurred()) return NULL
;
6301 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPen_p");
6302 _resultobj
= Py_BuildValue("s",_ptemp
);
6305 _resultobj
= Py_None
;
6310 #define delete_wxPyPen(_swigobj) (delete _swigobj)
6311 static PyObject
*_wrap_delete_wxPyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6312 PyObject
* _resultobj
;
6314 PyObject
* _argo0
= 0;
6315 char *_kwnames
[] = { "self", NULL
};
6318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyPen",_kwnames
,&_argo0
))
6321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPen_p")) {
6323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyPen. Expected _wxPyPen_p.");
6328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6329 delete_wxPyPen(_arg0
);
6331 wxPyEndAllowThreads(__tstate
);
6332 if (PyErr_Occurred()) return NULL
;
6333 } Py_INCREF(Py_None
);
6334 _resultobj
= Py_None
;
6338 #define wxPyPen_SetDashes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDashes(_swigarg0,_swigarg1))
6339 static PyObject
*_wrap_wxPyPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6340 PyObject
* _resultobj
;
6344 PyObject
* _argo0
= 0;
6345 PyObject
* _obj2
= 0;
6346 char *_kwnames
[] = { "self","choices", NULL
};
6349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPen_SetDashes",_kwnames
,&_argo0
,&_obj2
))
6352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPen_p")) {
6354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPen_SetDashes. Expected _wxPyPen_p.");
6360 _arg2
= (wxDash
*)byte_LIST_helper(_obj2
);
6361 if (_arg2
== NULL
) {
6367 _arg1
= PyList_Size(_obj2
);
6374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6375 wxPyPen_SetDashes(_arg0
,_arg1
,_arg2
);
6377 wxPyEndAllowThreads(__tstate
);
6378 if (PyErr_Occurred()) return NULL
;
6379 } Py_INCREF(Py_None
);
6380 _resultobj
= Py_None
;
6387 static void *SwigwxPenListTowxObject(void *ptr
) {
6390 src
= (wxPenList
*) ptr
;
6391 dest
= (wxObject
*) src
;
6392 return (void *) dest
;
6395 #define wxPenList_AddPen(_swigobj,_swigarg0) (_swigobj->AddPen(_swigarg0))
6396 static PyObject
*_wrap_wxPenList_AddPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6397 PyObject
* _resultobj
;
6400 PyObject
* _argo0
= 0;
6401 PyObject
* _argo1
= 0;
6402 char *_kwnames
[] = { "self","pen", NULL
};
6405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPenList_AddPen",_kwnames
,&_argo0
,&_argo1
))
6408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
6410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_AddPen. Expected _wxPenList_p.");
6415 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6416 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
6417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPenList_AddPen. Expected _wxPen_p.");
6422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6423 wxPenList_AddPen(_arg0
,_arg1
);
6425 wxPyEndAllowThreads(__tstate
);
6426 if (PyErr_Occurred()) return NULL
;
6427 } Py_INCREF(Py_None
);
6428 _resultobj
= Py_None
;
6432 #define wxPenList_FindOrCreatePen(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindOrCreatePen(_swigarg0,_swigarg1,_swigarg2))
6433 static PyObject
*_wrap_wxPenList_FindOrCreatePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6434 PyObject
* _resultobj
;
6440 PyObject
* _argo0
= 0;
6442 PyObject
* _obj1
= 0;
6443 char *_kwnames
[] = { "self","colour","width","style", NULL
};
6447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxPenList_FindOrCreatePen",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
))
6450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
6452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_FindOrCreatePen. Expected _wxPenList_p.");
6458 if (! wxColour_helper(_obj1
, &_arg1
))
6462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6463 _result
= (wxPen
*)wxPenList_FindOrCreatePen(_arg0
,*_arg1
,_arg2
,_arg3
);
6465 wxPyEndAllowThreads(__tstate
);
6466 if (PyErr_Occurred()) return NULL
;
6468 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
6469 _resultobj
= Py_BuildValue("s",_ptemp
);
6472 _resultobj
= Py_None
;
6477 #define wxPenList_RemovePen(_swigobj,_swigarg0) (_swigobj->RemovePen(_swigarg0))
6478 static PyObject
*_wrap_wxPenList_RemovePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6479 PyObject
* _resultobj
;
6482 PyObject
* _argo0
= 0;
6483 PyObject
* _argo1
= 0;
6484 char *_kwnames
[] = { "self","pen", NULL
};
6487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPenList_RemovePen",_kwnames
,&_argo0
,&_argo1
))
6490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
6492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_RemovePen. Expected _wxPenList_p.");
6497 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6498 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
6499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPenList_RemovePen. Expected _wxPen_p.");
6504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6505 wxPenList_RemovePen(_arg0
,_arg1
);
6507 wxPyEndAllowThreads(__tstate
);
6508 if (PyErr_Occurred()) return NULL
;
6509 } Py_INCREF(Py_None
);
6510 _resultobj
= Py_None
;
6514 #define wxPenList_GetCount(_swigobj) (_swigobj->GetCount())
6515 static PyObject
*_wrap_wxPenList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6516 PyObject
* _resultobj
;
6519 PyObject
* _argo0
= 0;
6520 char *_kwnames
[] = { "self", NULL
};
6523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPenList_GetCount",_kwnames
,&_argo0
))
6526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
6528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_GetCount. Expected _wxPenList_p.");
6533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6534 _result
= (int )wxPenList_GetCount(_arg0
);
6536 wxPyEndAllowThreads(__tstate
);
6537 if (PyErr_Occurred()) return NULL
;
6538 } _resultobj
= Py_BuildValue("i",_result
);
6542 static void *SwigwxBrushTowxGDIObject(void *ptr
) {
6545 src
= (wxBrush
*) ptr
;
6546 dest
= (wxGDIObject
*) src
;
6547 return (void *) dest
;
6550 static void *SwigwxBrushTowxObject(void *ptr
) {
6553 src
= (wxBrush
*) ptr
;
6554 dest
= (wxObject
*) src
;
6555 return (void *) dest
;
6558 #define new_wxBrush(_swigarg0,_swigarg1) (new wxBrush(_swigarg0,_swigarg1))
6559 static PyObject
*_wrap_new_wxBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6560 PyObject
* _resultobj
;
6563 int _arg1
= (int ) wxSOLID
;
6565 PyObject
* _obj0
= 0;
6566 char *_kwnames
[] = { "colour","style", NULL
};
6570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxBrush",_kwnames
,&_obj0
,&_arg1
))
6574 if (! wxColour_helper(_obj0
, &_arg0
))
6578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6579 _result
= (wxBrush
*)new_wxBrush(*_arg0
,_arg1
);
6581 wxPyEndAllowThreads(__tstate
);
6582 if (PyErr_Occurred()) return NULL
;
6584 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
6585 _resultobj
= Py_BuildValue("s",_ptemp
);
6588 _resultobj
= Py_None
;
6593 #define delete_wxBrush(_swigobj) (delete _swigobj)
6594 static PyObject
*_wrap_delete_wxBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6595 PyObject
* _resultobj
;
6597 PyObject
* _argo0
= 0;
6598 char *_kwnames
[] = { "self", NULL
};
6601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBrush",_kwnames
,&_argo0
))
6604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
6606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBrush. Expected _wxBrush_p.");
6611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6612 delete_wxBrush(_arg0
);
6614 wxPyEndAllowThreads(__tstate
);
6615 if (PyErr_Occurred()) return NULL
;
6616 } Py_INCREF(Py_None
);
6617 _resultobj
= Py_None
;
6621 #define wxBrush_GetColour(_swigobj) (_swigobj->GetColour())
6622 static PyObject
*_wrap_wxBrush_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6623 PyObject
* _resultobj
;
6626 PyObject
* _argo0
= 0;
6627 char *_kwnames
[] = { "self", NULL
};
6631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetColour",_kwnames
,&_argo0
))
6634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
6636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetColour. Expected _wxBrush_p.");
6641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6642 _result
= new wxColour (wxBrush_GetColour(_arg0
));
6644 wxPyEndAllowThreads(__tstate
);
6645 if (PyErr_Occurred()) return NULL
;
6646 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
6647 _resultobj
= Py_BuildValue("s",_ptemp
);
6651 #define wxBrush_GetStipple(_swigobj) (_swigobj->GetStipple())
6652 static PyObject
*_wrap_wxBrush_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6653 PyObject
* _resultobj
;
6656 PyObject
* _argo0
= 0;
6657 char *_kwnames
[] = { "self", NULL
};
6661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetStipple",_kwnames
,&_argo0
))
6664 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6665 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
6666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStipple. Expected _wxBrush_p.");
6671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6672 _result
= (wxBitmap
*)wxBrush_GetStipple(_arg0
);
6674 wxPyEndAllowThreads(__tstate
);
6675 if (PyErr_Occurred()) return NULL
;
6677 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
6678 _resultobj
= Py_BuildValue("s",_ptemp
);
6681 _resultobj
= Py_None
;
6686 #define wxBrush_GetStyle(_swigobj) (_swigobj->GetStyle())
6687 static PyObject
*_wrap_wxBrush_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6688 PyObject
* _resultobj
;
6691 PyObject
* _argo0
= 0;
6692 char *_kwnames
[] = { "self", NULL
};
6695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetStyle",_kwnames
,&_argo0
))
6698 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6699 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
6700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStyle. Expected _wxBrush_p.");
6705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6706 _result
= (int )wxBrush_GetStyle(_arg0
);
6708 wxPyEndAllowThreads(__tstate
);
6709 if (PyErr_Occurred()) return NULL
;
6710 } _resultobj
= Py_BuildValue("i",_result
);
6714 #define wxBrush_Ok(_swigobj) (_swigobj->Ok())
6715 static PyObject
*_wrap_wxBrush_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6716 PyObject
* _resultobj
;
6719 PyObject
* _argo0
= 0;
6720 char *_kwnames
[] = { "self", NULL
};
6723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_Ok",_kwnames
,&_argo0
))
6726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
6728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_Ok. Expected _wxBrush_p.");
6733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6734 _result
= (bool )wxBrush_Ok(_arg0
);
6736 wxPyEndAllowThreads(__tstate
);
6737 if (PyErr_Occurred()) return NULL
;
6738 } _resultobj
= Py_BuildValue("i",_result
);
6742 #define wxBrush_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
6743 static PyObject
*_wrap_wxBrush_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6744 PyObject
* _resultobj
;
6747 PyObject
* _argo0
= 0;
6749 PyObject
* _obj1
= 0;
6750 char *_kwnames
[] = { "self","colour", NULL
};
6753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrush_SetColour",_kwnames
,&_argo0
,&_obj1
))
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_SetColour. Expected _wxBrush_p.");
6764 if (! wxColour_helper(_obj1
, &_arg1
))
6768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6769 wxBrush_SetColour(_arg0
,*_arg1
);
6771 wxPyEndAllowThreads(__tstate
);
6772 if (PyErr_Occurred()) return NULL
;
6773 } Py_INCREF(Py_None
);
6774 _resultobj
= Py_None
;
6778 #define wxBrush_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
6779 static PyObject
*_wrap_wxBrush_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6780 PyObject
* _resultobj
;
6783 PyObject
* _argo0
= 0;
6784 PyObject
* _argo1
= 0;
6785 char *_kwnames
[] = { "self","bitmap", NULL
};
6788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrush_SetStipple",_kwnames
,&_argo0
,&_argo1
))
6791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
6793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStipple. Expected _wxBrush_p.");
6798 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6799 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
6800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrush_SetStipple. Expected _wxBitmap_p.");
6805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6806 wxBrush_SetStipple(_arg0
,*_arg1
);
6808 wxPyEndAllowThreads(__tstate
);
6809 if (PyErr_Occurred()) return NULL
;
6810 } Py_INCREF(Py_None
);
6811 _resultobj
= Py_None
;
6815 #define wxBrush_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
6816 static PyObject
*_wrap_wxBrush_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6817 PyObject
* _resultobj
;
6820 PyObject
* _argo0
= 0;
6821 char *_kwnames
[] = { "self","style", NULL
};
6824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBrush_SetStyle",_kwnames
,&_argo0
,&_arg1
))
6827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
6829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStyle. Expected _wxBrush_p.");
6834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6835 wxBrush_SetStyle(_arg0
,_arg1
);
6837 wxPyEndAllowThreads(__tstate
);
6838 if (PyErr_Occurred()) return NULL
;
6839 } Py_INCREF(Py_None
);
6840 _resultobj
= Py_None
;
6844 static void *SwigwxBrushListTowxObject(void *ptr
) {
6847 src
= (wxBrushList
*) ptr
;
6848 dest
= (wxObject
*) src
;
6849 return (void *) dest
;
6852 #define wxBrushList_AddBrush(_swigobj,_swigarg0) (_swigobj->AddBrush(_swigarg0))
6853 static PyObject
*_wrap_wxBrushList_AddBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6854 PyObject
* _resultobj
;
6855 wxBrushList
* _arg0
;
6857 PyObject
* _argo0
= 0;
6858 PyObject
* _argo1
= 0;
6859 char *_kwnames
[] = { "self","brush", NULL
};
6862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrushList_AddBrush",_kwnames
,&_argo0
,&_argo1
))
6865 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6866 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
6867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_AddBrush. Expected _wxBrushList_p.");
6872 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6873 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
6874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrushList_AddBrush. Expected _wxBrush_p.");
6879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6880 wxBrushList_AddBrush(_arg0
,_arg1
);
6882 wxPyEndAllowThreads(__tstate
);
6883 if (PyErr_Occurred()) return NULL
;
6884 } Py_INCREF(Py_None
);
6885 _resultobj
= Py_None
;
6889 #define wxBrushList_FindOrCreateBrush(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindOrCreateBrush(_swigarg0,_swigarg1))
6890 static PyObject
*_wrap_wxBrushList_FindOrCreateBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6891 PyObject
* _resultobj
;
6893 wxBrushList
* _arg0
;
6896 PyObject
* _argo0
= 0;
6898 PyObject
* _obj1
= 0;
6899 char *_kwnames
[] = { "self","colour","style", NULL
};
6903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxBrushList_FindOrCreateBrush",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
6906 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6907 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
6908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_FindOrCreateBrush. Expected _wxBrushList_p.");
6914 if (! wxColour_helper(_obj1
, &_arg1
))
6918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6919 _result
= (wxBrush
*)wxBrushList_FindOrCreateBrush(_arg0
,*_arg1
,_arg2
);
6921 wxPyEndAllowThreads(__tstate
);
6922 if (PyErr_Occurred()) return NULL
;
6924 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
6925 _resultobj
= Py_BuildValue("s",_ptemp
);
6928 _resultobj
= Py_None
;
6933 #define wxBrushList_RemoveBrush(_swigobj,_swigarg0) (_swigobj->RemoveBrush(_swigarg0))
6934 static PyObject
*_wrap_wxBrushList_RemoveBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6935 PyObject
* _resultobj
;
6936 wxBrushList
* _arg0
;
6938 PyObject
* _argo0
= 0;
6939 PyObject
* _argo1
= 0;
6940 char *_kwnames
[] = { "self","brush", NULL
};
6943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrushList_RemoveBrush",_kwnames
,&_argo0
,&_argo1
))
6946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
6948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_RemoveBrush. Expected _wxBrushList_p.");
6953 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6954 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
6955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrushList_RemoveBrush. Expected _wxBrush_p.");
6960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6961 wxBrushList_RemoveBrush(_arg0
,_arg1
);
6963 wxPyEndAllowThreads(__tstate
);
6964 if (PyErr_Occurred()) return NULL
;
6965 } Py_INCREF(Py_None
);
6966 _resultobj
= Py_None
;
6970 #define wxBrushList_GetCount(_swigobj) (_swigobj->GetCount())
6971 static PyObject
*_wrap_wxBrushList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6972 PyObject
* _resultobj
;
6974 wxBrushList
* _arg0
;
6975 PyObject
* _argo0
= 0;
6976 char *_kwnames
[] = { "self", NULL
};
6979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrushList_GetCount",_kwnames
,&_argo0
))
6982 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6983 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
6984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_GetCount. Expected _wxBrushList_p.");
6989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6990 _result
= (int )wxBrushList_GetCount(_arg0
);
6992 wxPyEndAllowThreads(__tstate
);
6993 if (PyErr_Occurred()) return NULL
;
6994 } _resultobj
= Py_BuildValue("i",_result
);
6998 static void *SwigwxDCTowxObject(void *ptr
) {
7002 dest
= (wxObject
*) src
;
7003 return (void *) dest
;
7006 #define delete_wxDC(_swigobj) (delete _swigobj)
7007 static PyObject
*_wrap_delete_wxDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7008 PyObject
* _resultobj
;
7010 PyObject
* _argo0
= 0;
7011 char *_kwnames
[] = { "self", NULL
};
7014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDC",_kwnames
,&_argo0
))
7017 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7018 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDC. Expected _wxDC_p.");
7024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7027 wxPyEndAllowThreads(__tstate
);
7028 if (PyErr_Occurred()) return NULL
;
7029 } Py_INCREF(Py_None
);
7030 _resultobj
= Py_None
;
7034 #define wxDC_BeginDrawing(_swigobj) (_swigobj->BeginDrawing())
7035 static PyObject
*_wrap_wxDC_BeginDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7036 PyObject
* _resultobj
;
7038 PyObject
* _argo0
= 0;
7039 char *_kwnames
[] = { "self", NULL
};
7042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_BeginDrawing",_kwnames
,&_argo0
))
7045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_BeginDrawing. Expected _wxDC_p.");
7052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7053 wxDC_BeginDrawing(_arg0
);
7055 wxPyEndAllowThreads(__tstate
);
7056 if (PyErr_Occurred()) return NULL
;
7057 } Py_INCREF(Py_None
);
7058 _resultobj
= Py_None
;
7062 #define wxDC_Blit(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Blit(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
7063 static PyObject
*_wrap_wxDC_Blit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7064 PyObject
* _resultobj
;
7074 int _arg8
= (int ) wxCOPY
;
7075 int _arg9
= (int ) FALSE
;
7076 PyObject
* _argo0
= 0;
7077 PyObject
* _argo5
= 0;
7078 char *_kwnames
[] = { "self","xdest","ydest","width","height","source","xsrc","ysrc","logicalFunc","useMask", NULL
};
7081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllllOll|ii:wxDC_Blit",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_argo5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
))
7084 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7085 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Blit. Expected _wxDC_p.");
7091 if (_argo5
== Py_None
) { _arg5
= NULL
; }
7092 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxDC_p")) {
7093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxDC_Blit. Expected _wxDC_p.");
7098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7099 _result
= (bool )wxDC_Blit(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
7101 wxPyEndAllowThreads(__tstate
);
7102 if (PyErr_Occurred()) return NULL
;
7103 } _resultobj
= Py_BuildValue("i",_result
);
7107 #define wxDC_Clear(_swigobj) (_swigobj->Clear())
7108 static PyObject
*_wrap_wxDC_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7109 PyObject
* _resultobj
;
7111 PyObject
* _argo0
= 0;
7112 char *_kwnames
[] = { "self", NULL
};
7115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_Clear",_kwnames
,&_argo0
))
7118 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7119 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Clear. Expected _wxDC_p.");
7125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7128 wxPyEndAllowThreads(__tstate
);
7129 if (PyErr_Occurred()) return NULL
;
7130 } Py_INCREF(Py_None
);
7131 _resultobj
= Py_None
;
7135 #define wxDC_CrossHair(_swigobj,_swigarg0,_swigarg1) (_swigobj->CrossHair(_swigarg0,_swigarg1))
7136 static PyObject
*_wrap_wxDC_CrossHair(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7137 PyObject
* _resultobj
;
7141 PyObject
* _argo0
= 0;
7142 char *_kwnames
[] = { "self","x","y", NULL
};
7145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_CrossHair",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CrossHair. Expected _wxDC_p.");
7155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7156 wxDC_CrossHair(_arg0
,_arg1
,_arg2
);
7158 wxPyEndAllowThreads(__tstate
);
7159 if (PyErr_Occurred()) return NULL
;
7160 } Py_INCREF(Py_None
);
7161 _resultobj
= Py_None
;
7165 #define wxDC_DestroyClippingRegion(_swigobj) (_swigobj->DestroyClippingRegion())
7166 static PyObject
*_wrap_wxDC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7167 PyObject
* _resultobj
;
7169 PyObject
* _argo0
= 0;
7170 char *_kwnames
[] = { "self", NULL
};
7173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_DestroyClippingRegion",_kwnames
,&_argo0
))
7176 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7177 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DestroyClippingRegion. Expected _wxDC_p.");
7183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7184 wxDC_DestroyClippingRegion(_arg0
);
7186 wxPyEndAllowThreads(__tstate
);
7187 if (PyErr_Occurred()) return NULL
;
7188 } Py_INCREF(Py_None
);
7189 _resultobj
= Py_None
;
7193 #define wxDC_DeviceToLogicalX(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalX(_swigarg0))
7194 static PyObject
*_wrap_wxDC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7195 PyObject
* _resultobj
;
7199 PyObject
* _argo0
= 0;
7200 char *_kwnames
[] = { "self","x", NULL
};
7203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalX",_kwnames
,&_argo0
,&_arg1
))
7206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalX. Expected _wxDC_p.");
7213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7214 _result
= (long )wxDC_DeviceToLogicalX(_arg0
,_arg1
);
7216 wxPyEndAllowThreads(__tstate
);
7217 if (PyErr_Occurred()) return NULL
;
7218 } _resultobj
= Py_BuildValue("l",_result
);
7222 #define wxDC_DeviceToLogicalXRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalXRel(_swigarg0))
7223 static PyObject
*_wrap_wxDC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7224 PyObject
* _resultobj
;
7228 PyObject
* _argo0
= 0;
7229 char *_kwnames
[] = { "self","x", NULL
};
7232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalXRel",_kwnames
,&_argo0
,&_arg1
))
7235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalXRel. Expected _wxDC_p.");
7242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7243 _result
= (long )wxDC_DeviceToLogicalXRel(_arg0
,_arg1
);
7245 wxPyEndAllowThreads(__tstate
);
7246 if (PyErr_Occurred()) return NULL
;
7247 } _resultobj
= Py_BuildValue("l",_result
);
7251 #define wxDC_DeviceToLogicalY(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalY(_swigarg0))
7252 static PyObject
*_wrap_wxDC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7253 PyObject
* _resultobj
;
7257 PyObject
* _argo0
= 0;
7258 char *_kwnames
[] = { "self","y", NULL
};
7261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalY",_kwnames
,&_argo0
,&_arg1
))
7264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalY. Expected _wxDC_p.");
7271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7272 _result
= (long )wxDC_DeviceToLogicalY(_arg0
,_arg1
);
7274 wxPyEndAllowThreads(__tstate
);
7275 if (PyErr_Occurred()) return NULL
;
7276 } _resultobj
= Py_BuildValue("l",_result
);
7280 #define wxDC_DeviceToLogicalYRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalYRel(_swigarg0))
7281 static PyObject
*_wrap_wxDC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7282 PyObject
* _resultobj
;
7286 PyObject
* _argo0
= 0;
7287 char *_kwnames
[] = { "self","y", NULL
};
7290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalYRel",_kwnames
,&_argo0
,&_arg1
))
7293 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7294 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalYRel. Expected _wxDC_p.");
7300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7301 _result
= (long )wxDC_DeviceToLogicalYRel(_arg0
,_arg1
);
7303 wxPyEndAllowThreads(__tstate
);
7304 if (PyErr_Occurred()) return NULL
;
7305 } _resultobj
= Py_BuildValue("l",_result
);
7309 #define wxDC_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7310 static PyObject
*_wrap_wxDC_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7311 PyObject
* _resultobj
;
7319 PyObject
* _argo0
= 0;
7320 char *_kwnames
[] = { "self","x1","y1","x2","y2","xc","yc", NULL
};
7323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollllll:wxDC_DrawArc",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
7326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawArc. Expected _wxDC_p.");
7333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7334 wxDC_DrawArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
7336 wxPyEndAllowThreads(__tstate
);
7337 if (PyErr_Occurred()) return NULL
;
7338 } Py_INCREF(Py_None
);
7339 _resultobj
= Py_None
;
7343 #define wxDC_DrawCircle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawCircle(_swigarg0,_swigarg1,_swigarg2))
7344 static PyObject
*_wrap_wxDC_DrawCircle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7345 PyObject
* _resultobj
;
7350 PyObject
* _argo0
= 0;
7351 char *_kwnames
[] = { "self","x","y","radius", NULL
};
7354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olll:wxDC_DrawCircle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
7357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawCircle. Expected _wxDC_p.");
7364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7365 wxDC_DrawCircle(_arg0
,_arg1
,_arg2
,_arg3
);
7367 wxPyEndAllowThreads(__tstate
);
7368 if (PyErr_Occurred()) return NULL
;
7369 } Py_INCREF(Py_None
);
7370 _resultobj
= Py_None
;
7374 #define wxDC_DrawEllipse(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawEllipse(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7375 static PyObject
*_wrap_wxDC_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7376 PyObject
* _resultobj
;
7382 PyObject
* _argo0
= 0;
7383 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
7386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawEllipse",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipse. Expected _wxDC_p.");
7396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7397 wxDC_DrawEllipse(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7399 wxPyEndAllowThreads(__tstate
);
7400 if (PyErr_Occurred()) return NULL
;
7401 } Py_INCREF(Py_None
);
7402 _resultobj
= Py_None
;
7406 #define wxDC_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7407 static PyObject
*_wrap_wxDC_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7408 PyObject
* _resultobj
;
7416 PyObject
* _argo0
= 0;
7417 char *_kwnames
[] = { "self","x","y","width","height","start","end", NULL
};
7420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollllll:wxDC_DrawEllipticArc",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
7423 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7424 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipticArc. Expected _wxDC_p.");
7430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7431 wxDC_DrawEllipticArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
7433 wxPyEndAllowThreads(__tstate
);
7434 if (PyErr_Occurred()) return NULL
;
7435 } Py_INCREF(Py_None
);
7436 _resultobj
= Py_None
;
7440 #define wxDC_DrawIcon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawIcon(_swigarg0,_swigarg1,_swigarg2))
7441 static PyObject
*_wrap_wxDC_DrawIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7442 PyObject
* _resultobj
;
7447 PyObject
* _argo0
= 0;
7448 PyObject
* _argo1
= 0;
7449 char *_kwnames
[] = { "self","icon","x","y", NULL
};
7452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll:wxDC_DrawIcon",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
7455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawIcon. Expected _wxDC_p.");
7462 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7463 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
7464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawIcon. Expected _wxIcon_p.");
7469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7470 wxDC_DrawIcon(_arg0
,*_arg1
,_arg2
,_arg3
);
7472 wxPyEndAllowThreads(__tstate
);
7473 if (PyErr_Occurred()) return NULL
;
7474 } Py_INCREF(Py_None
);
7475 _resultobj
= Py_None
;
7479 #define wxDC_DrawLabel(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLabel(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7480 static PyObject
*_wrap_wxDC_DrawLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7481 PyObject
* _resultobj
;
7485 int _arg3
= (int ) wxALIGN_LEFT
|wxALIGN_TOP
;
7486 int _arg4
= (int ) -1;
7487 PyObject
* _argo0
= 0;
7488 PyObject
* _obj1
= 0;
7490 PyObject
* _obj2
= 0;
7491 char *_kwnames
[] = { "self","text","rect","alignment","indexAccel", NULL
};
7494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|ii:wxDC_DrawLabel",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
))
7497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLabel. Expected _wxDC_p.");
7504 _arg1
= wxString_in_helper(_obj1
);
7510 if (! wxRect_helper(_obj2
, &_arg2
))
7514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7515 wxDC_DrawLabel(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
7517 wxPyEndAllowThreads(__tstate
);
7518 if (PyErr_Occurred()) return NULL
;
7519 } Py_INCREF(Py_None
);
7520 _resultobj
= Py_None
;
7528 static wxRect
wxDC_DrawImageLabel(wxDC
*self
,const wxString
& text
,const wxBitmap
& image
,const wxRect
& rect
,int alignment
,int indexAccel
) {
7530 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
7533 static PyObject
*_wrap_wxDC_DrawImageLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7534 PyObject
* _resultobj
;
7540 int _arg4
= (int ) wxALIGN_LEFT
|wxALIGN_TOP
;
7541 int _arg5
= (int ) -1;
7542 PyObject
* _argo0
= 0;
7543 PyObject
* _obj1
= 0;
7544 PyObject
* _argo2
= 0;
7546 PyObject
* _obj3
= 0;
7547 char *_kwnames
[] = { "self","text","image","rect","alignment","indexAccel", NULL
};
7551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|ii:wxDC_DrawImageLabel",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_obj3
,&_arg4
,&_arg5
))
7554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawImageLabel. Expected _wxDC_p.");
7561 _arg1
= wxString_in_helper(_obj1
);
7566 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7567 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
7568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDC_DrawImageLabel. Expected _wxBitmap_p.");
7574 if (! wxRect_helper(_obj3
, &_arg3
))
7578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7579 _result
= new wxRect (wxDC_DrawImageLabel(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
));
7581 wxPyEndAllowThreads(__tstate
);
7582 if (PyErr_Occurred()) return NULL
;
7583 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
7584 _resultobj
= Py_BuildValue("s",_ptemp
);
7592 #define wxDC_DrawLine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7593 static PyObject
*_wrap_wxDC_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7594 PyObject
* _resultobj
;
7600 PyObject
* _argo0
= 0;
7601 char *_kwnames
[] = { "self","x1","y1","x2","y2", NULL
};
7604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawLine",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7607 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7608 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLine. Expected _wxDC_p.");
7614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7615 wxDC_DrawLine(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7617 wxPyEndAllowThreads(__tstate
);
7618 if (PyErr_Occurred()) return NULL
;
7619 } Py_INCREF(Py_None
);
7620 _resultobj
= Py_None
;
7624 #define wxDC_DrawLines(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLines(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7625 static PyObject
*_wrap_wxDC_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7626 PyObject
* _resultobj
;
7630 long _arg3
= (long ) 0;
7631 long _arg4
= (long ) 0;
7632 PyObject
* _argo0
= 0;
7634 PyObject
* _obj2
= 0;
7635 char *_kwnames
[] = { "self","points","xoffset","yoffset", NULL
};
7638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ll:wxDC_DrawLines",_kwnames
,&_argo0
,&_obj2
,&_arg3
,&_arg4
))
7641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLines. Expected _wxDC_p.");
7649 _arg2
= wxPoint_LIST_helper(_obj2
, &NPOINTS
);
7650 if (_arg2
== NULL
) {
7658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7659 wxDC_DrawLines(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7661 wxPyEndAllowThreads(__tstate
);
7662 if (PyErr_Occurred()) return NULL
;
7663 } Py_INCREF(Py_None
);
7664 _resultobj
= Py_None
;
7671 #define wxDC_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7672 static PyObject
*_wrap_wxDC_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7673 PyObject
* _resultobj
;
7677 long _arg3
= (long ) 0;
7678 long _arg4
= (long ) 0;
7679 int _arg5
= (int ) wxODDEVEN_RULE
;
7680 PyObject
* _argo0
= 0;
7682 PyObject
* _obj2
= 0;
7683 char *_kwnames
[] = { "self","points","xoffset","yoffset","fill_style", NULL
};
7686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|lli:wxDC_DrawPolygon",_kwnames
,&_argo0
,&_obj2
,&_arg3
,&_arg4
,&_arg5
))
7689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPolygon. Expected _wxDC_p.");
7697 _arg2
= wxPoint_LIST_helper(_obj2
, &NPOINTS
);
7698 if (_arg2
== NULL
) {
7706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7707 wxDC_DrawPolygon(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7709 wxPyEndAllowThreads(__tstate
);
7710 if (PyErr_Occurred()) return NULL
;
7711 } Py_INCREF(Py_None
);
7712 _resultobj
= Py_None
;
7719 #define wxDC_DrawPoint(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawPoint(_swigarg0,_swigarg1))
7720 static PyObject
*_wrap_wxDC_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7721 PyObject
* _resultobj
;
7725 PyObject
* _argo0
= 0;
7726 char *_kwnames
[] = { "self","x","y", NULL
};
7729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_DrawPoint",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7732 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7733 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPoint. Expected _wxDC_p.");
7739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7740 wxDC_DrawPoint(_arg0
,_arg1
,_arg2
);
7742 wxPyEndAllowThreads(__tstate
);
7743 if (PyErr_Occurred()) return NULL
;
7744 } Py_INCREF(Py_None
);
7745 _resultobj
= Py_None
;
7749 #define wxDC_DrawRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7750 static PyObject
*_wrap_wxDC_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7751 PyObject
* _resultobj
;
7757 PyObject
* _argo0
= 0;
7758 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
7761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawRectangle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRectangle. Expected _wxDC_p.");
7771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7772 wxDC_DrawRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7774 wxPyEndAllowThreads(__tstate
);
7775 if (PyErr_Occurred()) return NULL
;
7776 } Py_INCREF(Py_None
);
7777 _resultobj
= Py_None
;
7781 #define wxDC_DrawRotatedText(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRotatedText(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7782 static PyObject
*_wrap_wxDC_DrawRotatedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7783 PyObject
* _resultobj
;
7789 PyObject
* _argo0
= 0;
7790 PyObject
* _obj1
= 0;
7791 char *_kwnames
[] = { "self","text","x","y","angle", NULL
};
7794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiid:wxDC_DrawRotatedText",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_arg4
))
7797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRotatedText. Expected _wxDC_p.");
7804 _arg1
= wxString_in_helper(_obj1
);
7809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7810 wxDC_DrawRotatedText(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
7812 wxPyEndAllowThreads(__tstate
);
7813 if (PyErr_Occurred()) return NULL
;
7814 } Py_INCREF(Py_None
);
7815 _resultobj
= Py_None
;
7823 #define wxDC_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7824 static PyObject
*_wrap_wxDC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7825 PyObject
* _resultobj
;
7831 long _arg5
= (long ) 20;
7832 PyObject
* _argo0
= 0;
7833 char *_kwnames
[] = { "self","x","y","width","height","radius", NULL
};
7836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll|l:wxDC_DrawRoundedRectangle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
7839 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7840 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRoundedRectangle. Expected _wxDC_p.");
7846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7847 wxDC_DrawRoundedRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7849 wxPyEndAllowThreads(__tstate
);
7850 if (PyErr_Occurred()) return NULL
;
7851 } Py_INCREF(Py_None
);
7852 _resultobj
= Py_None
;
7856 #define wxDC_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1))
7857 static PyObject
*_wrap_wxDC_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7858 PyObject
* _resultobj
;
7862 PyObject
* _argo0
= 0;
7864 PyObject
* _obj2
= 0;
7865 char *_kwnames
[] = { "self","points", NULL
};
7868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_DrawSpline",_kwnames
,&_argo0
,&_obj2
))
7871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawSpline. Expected _wxDC_p.");
7879 _arg2
= wxPoint_LIST_helper(_obj2
, &NPOINTS
);
7880 if (_arg2
== NULL
) {
7888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7889 wxDC_DrawSpline(_arg0
,_arg1
,_arg2
);
7891 wxPyEndAllowThreads(__tstate
);
7892 if (PyErr_Occurred()) return NULL
;
7893 } Py_INCREF(Py_None
);
7894 _resultobj
= Py_None
;
7901 #define wxDC_DrawText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawText(_swigarg0,_swigarg1,_swigarg2))
7902 static PyObject
*_wrap_wxDC_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7903 PyObject
* _resultobj
;
7908 PyObject
* _argo0
= 0;
7909 PyObject
* _obj1
= 0;
7910 char *_kwnames
[] = { "self","text","x","y", NULL
};
7913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll:wxDC_DrawText",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
))
7916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawText. Expected _wxDC_p.");
7923 _arg1
= wxString_in_helper(_obj1
);
7928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7929 wxDC_DrawText(_arg0
,*_arg1
,_arg2
,_arg3
);
7931 wxPyEndAllowThreads(__tstate
);
7932 if (PyErr_Occurred()) return NULL
;
7933 } Py_INCREF(Py_None
);
7934 _resultobj
= Py_None
;
7942 #define wxDC_EndDoc(_swigobj) (_swigobj->EndDoc())
7943 static PyObject
*_wrap_wxDC_EndDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7944 PyObject
* _resultobj
;
7946 PyObject
* _argo0
= 0;
7947 char *_kwnames
[] = { "self", NULL
};
7950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndDoc",_kwnames
,&_argo0
))
7953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDoc. Expected _wxDC_p.");
7960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7963 wxPyEndAllowThreads(__tstate
);
7964 if (PyErr_Occurred()) return NULL
;
7965 } Py_INCREF(Py_None
);
7966 _resultobj
= Py_None
;
7970 #define wxDC_EndDrawing(_swigobj) (_swigobj->EndDrawing())
7971 static PyObject
*_wrap_wxDC_EndDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7972 PyObject
* _resultobj
;
7974 PyObject
* _argo0
= 0;
7975 char *_kwnames
[] = { "self", NULL
};
7978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndDrawing",_kwnames
,&_argo0
))
7981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDrawing. Expected _wxDC_p.");
7988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7989 wxDC_EndDrawing(_arg0
);
7991 wxPyEndAllowThreads(__tstate
);
7992 if (PyErr_Occurred()) return NULL
;
7993 } Py_INCREF(Py_None
);
7994 _resultobj
= Py_None
;
7998 #define wxDC_EndPage(_swigobj) (_swigobj->EndPage())
7999 static PyObject
*_wrap_wxDC_EndPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8000 PyObject
* _resultobj
;
8002 PyObject
* _argo0
= 0;
8003 char *_kwnames
[] = { "self", NULL
};
8006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndPage",_kwnames
,&_argo0
))
8009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndPage. Expected _wxDC_p.");
8016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8017 wxDC_EndPage(_arg0
);
8019 wxPyEndAllowThreads(__tstate
);
8020 if (PyErr_Occurred()) return NULL
;
8021 } Py_INCREF(Py_None
);
8022 _resultobj
= Py_None
;
8026 #define wxDC_FloodFill(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FloodFill(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8027 static PyObject
*_wrap_wxDC_FloodFill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8028 PyObject
* _resultobj
;
8033 int _arg4
= (int ) wxFLOOD_SURFACE
;
8034 PyObject
* _argo0
= 0;
8036 PyObject
* _obj3
= 0;
8037 char *_kwnames
[] = { "self","x","y","colour","style", NULL
};
8040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO|i:wxDC_FloodFill",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
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_FloodFill. Expected _wxDC_p.");
8051 if (! wxColour_helper(_obj3
, &_arg3
))
8055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8056 wxDC_FloodFill(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
8058 wxPyEndAllowThreads(__tstate
);
8059 if (PyErr_Occurred()) return NULL
;
8060 } Py_INCREF(Py_None
);
8061 _resultobj
= Py_None
;
8065 #define wxDC_GetBackground(_swigobj) (_swigobj->GetBackground())
8066 static PyObject
*_wrap_wxDC_GetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8067 PyObject
* _resultobj
;
8070 PyObject
* _argo0
= 0;
8071 char *_kwnames
[] = { "self", NULL
};
8075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBackground",_kwnames
,&_argo0
))
8078 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8079 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBackground. Expected _wxDC_p.");
8085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8086 _result
= new wxBrush (wxDC_GetBackground(_arg0
));
8088 wxPyEndAllowThreads(__tstate
);
8089 if (PyErr_Occurred()) return NULL
;
8090 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBrush_p");
8091 _resultobj
= Py_BuildValue("s",_ptemp
);
8095 #define wxDC_GetBrush(_swigobj) (_swigobj->GetBrush())
8096 static PyObject
*_wrap_wxDC_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8097 PyObject
* _resultobj
;
8100 PyObject
* _argo0
= 0;
8101 char *_kwnames
[] = { "self", NULL
};
8105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBrush",_kwnames
,&_argo0
))
8108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBrush. Expected _wxDC_p.");
8115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8116 _result
= new wxBrush (wxDC_GetBrush(_arg0
));
8118 wxPyEndAllowThreads(__tstate
);
8119 if (PyErr_Occurred()) return NULL
;
8120 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBrush_p");
8121 _resultobj
= Py_BuildValue("s",_ptemp
);
8125 #define wxDC_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
8126 static PyObject
*_wrap_wxDC_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8127 PyObject
* _resultobj
;
8130 PyObject
* _argo0
= 0;
8131 char *_kwnames
[] = { "self", NULL
};
8134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetCharHeight",_kwnames
,&_argo0
))
8137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharHeight. Expected _wxDC_p.");
8144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8145 _result
= (long )wxDC_GetCharHeight(_arg0
);
8147 wxPyEndAllowThreads(__tstate
);
8148 if (PyErr_Occurred()) return NULL
;
8149 } _resultobj
= Py_BuildValue("l",_result
);
8153 #define wxDC_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
8154 static PyObject
*_wrap_wxDC_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8155 PyObject
* _resultobj
;
8158 PyObject
* _argo0
= 0;
8159 char *_kwnames
[] = { "self", NULL
};
8162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetCharWidth",_kwnames
,&_argo0
))
8165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharWidth. Expected _wxDC_p.");
8172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8173 _result
= (long )wxDC_GetCharWidth(_arg0
);
8175 wxPyEndAllowThreads(__tstate
);
8176 if (PyErr_Occurred()) return NULL
;
8177 } _resultobj
= Py_BuildValue("l",_result
);
8181 #define wxDC_GetClippingBox(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetClippingBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8182 static PyObject
*_wrap_wxDC_GetClippingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8183 PyObject
* _resultobj
;
8193 PyObject
* _argo0
= 0;
8194 char *_kwnames
[] = { "self", NULL
};
8209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetClippingBox",_kwnames
,&_argo0
))
8212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetClippingBox. Expected _wxDC_p.");
8219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8220 wxDC_GetClippingBox(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
8222 wxPyEndAllowThreads(__tstate
);
8223 if (PyErr_Occurred()) return NULL
;
8224 } Py_INCREF(Py_None
);
8225 _resultobj
= Py_None
;
8228 o
= PyInt_FromLong((long) (*_arg1
));
8229 _resultobj
= t_output_helper(_resultobj
, o
);
8233 o
= PyInt_FromLong((long) (*_arg2
));
8234 _resultobj
= t_output_helper(_resultobj
, o
);
8238 o
= PyInt_FromLong((long) (*_arg3
));
8239 _resultobj
= t_output_helper(_resultobj
, o
);
8243 o
= PyInt_FromLong((long) (*_arg4
));
8244 _resultobj
= t_output_helper(_resultobj
, o
);
8249 #define wxDC_GetFont(_swigobj) (_swigobj->GetFont())
8250 static PyObject
*_wrap_wxDC_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8251 PyObject
* _resultobj
;
8254 PyObject
* _argo0
= 0;
8255 char *_kwnames
[] = { "self", NULL
};
8259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetFont",_kwnames
,&_argo0
))
8262 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8263 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFont. Expected _wxDC_p.");
8269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8270 _result
= new wxFont (wxDC_GetFont(_arg0
));
8272 wxPyEndAllowThreads(__tstate
);
8273 if (PyErr_Occurred()) return NULL
;
8274 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
8275 _resultobj
= Py_BuildValue("s",_ptemp
);
8279 #define wxDC_GetLogicalFunction(_swigobj) (_swigobj->GetLogicalFunction())
8280 static PyObject
*_wrap_wxDC_GetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8281 PyObject
* _resultobj
;
8284 PyObject
* _argo0
= 0;
8285 char *_kwnames
[] = { "self", NULL
};
8288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalFunction",_kwnames
,&_argo0
))
8291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalFunction. Expected _wxDC_p.");
8298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8299 _result
= (int )wxDC_GetLogicalFunction(_arg0
);
8301 wxPyEndAllowThreads(__tstate
);
8302 if (PyErr_Occurred()) return NULL
;
8303 } _resultobj
= Py_BuildValue("i",_result
);
8307 #define wxDC_GetLogicalScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLogicalScale(_swigarg0,_swigarg1))
8308 static PyObject
*_wrap_wxDC_GetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8309 PyObject
* _resultobj
;
8315 PyObject
* _argo0
= 0;
8316 char *_kwnames
[] = { "self", NULL
};
8325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalScale",_kwnames
,&_argo0
))
8328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalScale. Expected _wxDC_p.");
8335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8336 wxDC_GetLogicalScale(_arg0
,_arg1
,_arg2
);
8338 wxPyEndAllowThreads(__tstate
);
8339 if (PyErr_Occurred()) return NULL
;
8340 } Py_INCREF(Py_None
);
8341 _resultobj
= Py_None
;
8344 o
= PyFloat_FromDouble((double) (*_arg1
));
8345 _resultobj
= t_output_helper(_resultobj
, o
);
8349 o
= PyFloat_FromDouble((double) (*_arg2
));
8350 _resultobj
= t_output_helper(_resultobj
, o
);
8355 #define wxDC_GetMapMode(_swigobj) (_swigobj->GetMapMode())
8356 static PyObject
*_wrap_wxDC_GetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8357 PyObject
* _resultobj
;
8360 PyObject
* _argo0
= 0;
8361 char *_kwnames
[] = { "self", NULL
};
8364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetMapMode",_kwnames
,&_argo0
))
8367 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8368 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetMapMode. Expected _wxDC_p.");
8374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8375 _result
= (int )wxDC_GetMapMode(_arg0
);
8377 wxPyEndAllowThreads(__tstate
);
8378 if (PyErr_Occurred()) return NULL
;
8379 } _resultobj
= Py_BuildValue("i",_result
);
8383 #define wxDC_GetOptimization(_swigobj) (_swigobj->GetOptimization())
8384 static PyObject
*_wrap_wxDC_GetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8385 PyObject
* _resultobj
;
8388 PyObject
* _argo0
= 0;
8389 char *_kwnames
[] = { "self", NULL
};
8392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetOptimization",_kwnames
,&_argo0
))
8395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetOptimization. Expected _wxDC_p.");
8402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8403 _result
= (bool )wxDC_GetOptimization(_arg0
);
8405 wxPyEndAllowThreads(__tstate
);
8406 if (PyErr_Occurred()) return NULL
;
8407 } _resultobj
= Py_BuildValue("i",_result
);
8411 #define wxDC_GetPen(_swigobj) (_swigobj->GetPen())
8412 static PyObject
*_wrap_wxDC_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8413 PyObject
* _resultobj
;
8416 PyObject
* _argo0
= 0;
8417 char *_kwnames
[] = { "self", NULL
};
8421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetPen",_kwnames
,&_argo0
))
8424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPen. Expected _wxDC_p.");
8431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8432 _result
= new wxPen (wxDC_GetPen(_arg0
));
8434 wxPyEndAllowThreads(__tstate
);
8435 if (PyErr_Occurred()) return NULL
;
8436 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPen_p");
8437 _resultobj
= Py_BuildValue("s",_ptemp
);
8441 static wxColour
* wxDC_GetPixel(wxDC
*self
,long x
,long y
) {
8442 wxColour
* wc
= new wxColour();
8443 self
->GetPixel(x
, y
, wc
);
8446 static PyObject
*_wrap_wxDC_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8447 PyObject
* _resultobj
;
8452 PyObject
* _argo0
= 0;
8453 char *_kwnames
[] = { "self","x","y", NULL
};
8457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_GetPixel",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8460 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8461 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPixel. Expected _wxDC_p.");
8467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8468 _result
= (wxColour
*)wxDC_GetPixel(_arg0
,_arg1
,_arg2
);
8470 wxPyEndAllowThreads(__tstate
);
8471 if (PyErr_Occurred()) return NULL
;
8473 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
8474 _resultobj
= Py_BuildValue("s",_ptemp
);
8477 _resultobj
= Py_None
;
8482 #define wxDC_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
8483 static PyObject
*_wrap_wxDC_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8484 PyObject
* _resultobj
;
8490 PyObject
* _argo0
= 0;
8491 char *_kwnames
[] = { "self", NULL
};
8500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSizeTuple",_kwnames
,&_argo0
))
8503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSizeTuple. Expected _wxDC_p.");
8510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8511 wxDC_GetSizeTuple(_arg0
,_arg1
,_arg2
);
8513 wxPyEndAllowThreads(__tstate
);
8514 if (PyErr_Occurred()) return NULL
;
8515 } Py_INCREF(Py_None
);
8516 _resultobj
= Py_None
;
8519 o
= PyInt_FromLong((long) (*_arg1
));
8520 _resultobj
= t_output_helper(_resultobj
, o
);
8524 o
= PyInt_FromLong((long) (*_arg2
));
8525 _resultobj
= t_output_helper(_resultobj
, o
);
8530 #define wxDC_GetSize(_swigobj) (_swigobj->GetSize())
8531 static PyObject
*_wrap_wxDC_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8532 PyObject
* _resultobj
;
8535 PyObject
* _argo0
= 0;
8536 char *_kwnames
[] = { "self", NULL
};
8540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSize",_kwnames
,&_argo0
))
8543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSize. Expected _wxDC_p.");
8550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8551 _result
= new wxSize (wxDC_GetSize(_arg0
));
8553 wxPyEndAllowThreads(__tstate
);
8554 if (PyErr_Occurred()) return NULL
;
8555 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
8556 _resultobj
= Py_BuildValue("s",_ptemp
);
8560 #define wxDC_GetSizeMM(_swigobj) (_swigobj->GetSizeMM())
8561 static PyObject
*_wrap_wxDC_GetSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8562 PyObject
* _resultobj
;
8565 PyObject
* _argo0
= 0;
8566 char *_kwnames
[] = { "self", NULL
};
8570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSizeMM",_kwnames
,&_argo0
))
8573 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8574 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSizeMM. Expected _wxDC_p.");
8580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8581 _result
= new wxSize (wxDC_GetSizeMM(_arg0
));
8583 wxPyEndAllowThreads(__tstate
);
8584 if (PyErr_Occurred()) return NULL
;
8585 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
8586 _resultobj
= Py_BuildValue("s",_ptemp
);
8590 #define wxDC_GetTextBackground(_swigobj) (_swigobj->GetTextBackground())
8591 static PyObject
*_wrap_wxDC_GetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8592 PyObject
* _resultobj
;
8595 PyObject
* _argo0
= 0;
8596 char *_kwnames
[] = { "self", NULL
};
8600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetTextBackground",_kwnames
,&_argo0
))
8603 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8604 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextBackground. Expected _wxDC_p.");
8610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8611 _result
= new wxColour (wxDC_GetTextBackground(_arg0
));
8613 wxPyEndAllowThreads(__tstate
);
8614 if (PyErr_Occurred()) return NULL
;
8615 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
8616 _resultobj
= Py_BuildValue("s",_ptemp
);
8620 #define wxDC_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
8621 static PyObject
*_wrap_wxDC_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8622 PyObject
* _resultobj
;
8629 PyObject
* _argo0
= 0;
8630 PyObject
* _obj1
= 0;
8631 char *_kwnames
[] = { "self","string", NULL
};
8640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
8643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextExtent. Expected _wxDC_p.");
8650 _arg1
= wxString_in_helper(_obj1
);
8655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8656 wxDC_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
8658 wxPyEndAllowThreads(__tstate
);
8659 if (PyErr_Occurred()) return NULL
;
8660 } Py_INCREF(Py_None
);
8661 _resultobj
= Py_None
;
8664 o
= PyInt_FromLong((long) (*_arg2
));
8665 _resultobj
= t_output_helper(_resultobj
, o
);
8669 o
= PyInt_FromLong((long) (*_arg3
));
8670 _resultobj
= t_output_helper(_resultobj
, o
);
8679 #define wxDC_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8680 static PyObject
*_wrap_wxDC_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8681 PyObject
* _resultobj
;
8692 wxFont
* _arg6
= (wxFont
*) NULL
;
8693 PyObject
* _argo0
= 0;
8694 PyObject
* _obj1
= 0;
8695 PyObject
* _argo6
= 0;
8696 char *_kwnames
[] = { "self","string","font", NULL
};
8711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxDC_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
8714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFullTextExtent. Expected _wxDC_p.");
8721 _arg1
= wxString_in_helper(_obj1
);
8726 if (_argo6
== Py_None
) { _arg6
= NULL
; }
8727 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
8728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxDC_GetFullTextExtent. Expected _wxFont_p.");
8733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8734 wxDC_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
8736 wxPyEndAllowThreads(__tstate
);
8737 if (PyErr_Occurred()) return NULL
;
8738 } Py_INCREF(Py_None
);
8739 _resultobj
= Py_None
;
8742 o
= PyInt_FromLong((long) (*_arg2
));
8743 _resultobj
= t_output_helper(_resultobj
, o
);
8747 o
= PyInt_FromLong((long) (*_arg3
));
8748 _resultobj
= t_output_helper(_resultobj
, o
);
8752 o
= PyInt_FromLong((long) (*_arg4
));
8753 _resultobj
= t_output_helper(_resultobj
, o
);
8757 o
= PyInt_FromLong((long) (*_arg5
));
8758 _resultobj
= t_output_helper(_resultobj
, o
);
8767 #define wxDC_GetTextForeground(_swigobj) (_swigobj->GetTextForeground())
8768 static PyObject
*_wrap_wxDC_GetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8769 PyObject
* _resultobj
;
8772 PyObject
* _argo0
= 0;
8773 char *_kwnames
[] = { "self", NULL
};
8777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetTextForeground",_kwnames
,&_argo0
))
8780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextForeground. Expected _wxDC_p.");
8787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8788 _result
= new wxColour (wxDC_GetTextForeground(_arg0
));
8790 wxPyEndAllowThreads(__tstate
);
8791 if (PyErr_Occurred()) return NULL
;
8792 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
8793 _resultobj
= Py_BuildValue("s",_ptemp
);
8797 #define wxDC_GetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetUserScale(_swigarg0,_swigarg1))
8798 static PyObject
*_wrap_wxDC_GetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8799 PyObject
* _resultobj
;
8805 PyObject
* _argo0
= 0;
8806 char *_kwnames
[] = { "self", NULL
};
8815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetUserScale",_kwnames
,&_argo0
))
8818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetUserScale. Expected _wxDC_p.");
8825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8826 wxDC_GetUserScale(_arg0
,_arg1
,_arg2
);
8828 wxPyEndAllowThreads(__tstate
);
8829 if (PyErr_Occurred()) return NULL
;
8830 } Py_INCREF(Py_None
);
8831 _resultobj
= Py_None
;
8834 o
= PyFloat_FromDouble((double) (*_arg1
));
8835 _resultobj
= t_output_helper(_resultobj
, o
);
8839 o
= PyFloat_FromDouble((double) (*_arg2
));
8840 _resultobj
= t_output_helper(_resultobj
, o
);
8845 #define wxDC_LogicalToDeviceX(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceX(_swigarg0))
8846 static PyObject
*_wrap_wxDC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8847 PyObject
* _resultobj
;
8851 PyObject
* _argo0
= 0;
8852 char *_kwnames
[] = { "self","x", NULL
};
8855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceX",_kwnames
,&_argo0
,&_arg1
))
8858 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8859 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceX. Expected _wxDC_p.");
8865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8866 _result
= (long )wxDC_LogicalToDeviceX(_arg0
,_arg1
);
8868 wxPyEndAllowThreads(__tstate
);
8869 if (PyErr_Occurred()) return NULL
;
8870 } _resultobj
= Py_BuildValue("l",_result
);
8874 #define wxDC_LogicalToDeviceXRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceXRel(_swigarg0))
8875 static PyObject
*_wrap_wxDC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8876 PyObject
* _resultobj
;
8880 PyObject
* _argo0
= 0;
8881 char *_kwnames
[] = { "self","x", NULL
};
8884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceXRel",_kwnames
,&_argo0
,&_arg1
))
8887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceXRel. Expected _wxDC_p.");
8894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8895 _result
= (long )wxDC_LogicalToDeviceXRel(_arg0
,_arg1
);
8897 wxPyEndAllowThreads(__tstate
);
8898 if (PyErr_Occurred()) return NULL
;
8899 } _resultobj
= Py_BuildValue("l",_result
);
8903 #define wxDC_LogicalToDeviceY(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceY(_swigarg0))
8904 static PyObject
*_wrap_wxDC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8905 PyObject
* _resultobj
;
8909 PyObject
* _argo0
= 0;
8910 char *_kwnames
[] = { "self","y", NULL
};
8913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceY",_kwnames
,&_argo0
,&_arg1
))
8916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceY. Expected _wxDC_p.");
8923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8924 _result
= (long )wxDC_LogicalToDeviceY(_arg0
,_arg1
);
8926 wxPyEndAllowThreads(__tstate
);
8927 if (PyErr_Occurred()) return NULL
;
8928 } _resultobj
= Py_BuildValue("l",_result
);
8932 #define wxDC_LogicalToDeviceYRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceYRel(_swigarg0))
8933 static PyObject
*_wrap_wxDC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8934 PyObject
* _resultobj
;
8938 PyObject
* _argo0
= 0;
8939 char *_kwnames
[] = { "self","y", NULL
};
8942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceYRel",_kwnames
,&_argo0
,&_arg1
))
8945 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8946 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceYRel. Expected _wxDC_p.");
8952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8953 _result
= (long )wxDC_LogicalToDeviceYRel(_arg0
,_arg1
);
8955 wxPyEndAllowThreads(__tstate
);
8956 if (PyErr_Occurred()) return NULL
;
8957 } _resultobj
= Py_BuildValue("l",_result
);
8961 #define wxDC_MaxX(_swigobj) (_swigobj->MaxX())
8962 static PyObject
*_wrap_wxDC_MaxX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8963 PyObject
* _resultobj
;
8966 PyObject
* _argo0
= 0;
8967 char *_kwnames
[] = { "self", NULL
};
8970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MaxX",_kwnames
,&_argo0
))
8973 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8974 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxX. Expected _wxDC_p.");
8980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8981 _result
= (long )wxDC_MaxX(_arg0
);
8983 wxPyEndAllowThreads(__tstate
);
8984 if (PyErr_Occurred()) return NULL
;
8985 } _resultobj
= Py_BuildValue("l",_result
);
8989 #define wxDC_MaxY(_swigobj) (_swigobj->MaxY())
8990 static PyObject
*_wrap_wxDC_MaxY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8991 PyObject
* _resultobj
;
8994 PyObject
* _argo0
= 0;
8995 char *_kwnames
[] = { "self", NULL
};
8998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MaxY",_kwnames
,&_argo0
))
9001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxY. Expected _wxDC_p.");
9008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9009 _result
= (long )wxDC_MaxY(_arg0
);
9011 wxPyEndAllowThreads(__tstate
);
9012 if (PyErr_Occurred()) return NULL
;
9013 } _resultobj
= Py_BuildValue("l",_result
);
9017 #define wxDC_MinX(_swigobj) (_swigobj->MinX())
9018 static PyObject
*_wrap_wxDC_MinX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9019 PyObject
* _resultobj
;
9022 PyObject
* _argo0
= 0;
9023 char *_kwnames
[] = { "self", NULL
};
9026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MinX",_kwnames
,&_argo0
))
9029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinX. Expected _wxDC_p.");
9036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9037 _result
= (long )wxDC_MinX(_arg0
);
9039 wxPyEndAllowThreads(__tstate
);
9040 if (PyErr_Occurred()) return NULL
;
9041 } _resultobj
= Py_BuildValue("l",_result
);
9045 #define wxDC_MinY(_swigobj) (_swigobj->MinY())
9046 static PyObject
*_wrap_wxDC_MinY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9047 PyObject
* _resultobj
;
9050 PyObject
* _argo0
= 0;
9051 char *_kwnames
[] = { "self", NULL
};
9054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MinY",_kwnames
,&_argo0
))
9057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinY. Expected _wxDC_p.");
9064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9065 _result
= (long )wxDC_MinY(_arg0
);
9067 wxPyEndAllowThreads(__tstate
);
9068 if (PyErr_Occurred()) return NULL
;
9069 } _resultobj
= Py_BuildValue("l",_result
);
9073 #define wxDC_Ok(_swigobj) (_swigobj->Ok())
9074 static PyObject
*_wrap_wxDC_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9075 PyObject
* _resultobj
;
9078 PyObject
* _argo0
= 0;
9079 char *_kwnames
[] = { "self", NULL
};
9082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_Ok",_kwnames
,&_argo0
))
9085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Ok. Expected _wxDC_p.");
9092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9093 _result
= (bool )wxDC_Ok(_arg0
);
9095 wxPyEndAllowThreads(__tstate
);
9096 if (PyErr_Occurred()) return NULL
;
9097 } _resultobj
= Py_BuildValue("i",_result
);
9101 #define wxDC_SetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDeviceOrigin(_swigarg0,_swigarg1))
9102 static PyObject
*_wrap_wxDC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9103 PyObject
* _resultobj
;
9107 PyObject
* _argo0
= 0;
9108 char *_kwnames
[] = { "self","x","y", NULL
};
9111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_SetDeviceOrigin",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetDeviceOrigin. Expected _wxDC_p.");
9121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9122 wxDC_SetDeviceOrigin(_arg0
,_arg1
,_arg2
);
9124 wxPyEndAllowThreads(__tstate
);
9125 if (PyErr_Occurred()) return NULL
;
9126 } Py_INCREF(Py_None
);
9127 _resultobj
= Py_None
;
9131 #define wxDC_SetBackground(_swigobj,_swigarg0) (_swigobj->SetBackground(_swigarg0))
9132 static PyObject
*_wrap_wxDC_SetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9133 PyObject
* _resultobj
;
9136 PyObject
* _argo0
= 0;
9137 PyObject
* _argo1
= 0;
9138 char *_kwnames
[] = { "self","brush", NULL
};
9141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetBackground",_kwnames
,&_argo0
,&_argo1
))
9144 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9145 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackground. Expected _wxDC_p.");
9151 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9152 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
9153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBackground. Expected _wxBrush_p.");
9158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9159 wxDC_SetBackground(_arg0
,*_arg1
);
9161 wxPyEndAllowThreads(__tstate
);
9162 if (PyErr_Occurred()) return NULL
;
9163 } Py_INCREF(Py_None
);
9164 _resultobj
= Py_None
;
9168 #define wxDC_SetBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetBackgroundMode(_swigarg0))
9169 static PyObject
*_wrap_wxDC_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9170 PyObject
* _resultobj
;
9173 PyObject
* _argo0
= 0;
9174 char *_kwnames
[] = { "self","mode", NULL
};
9177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetBackgroundMode",_kwnames
,&_argo0
,&_arg1
))
9180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackgroundMode. Expected _wxDC_p.");
9187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9188 wxDC_SetBackgroundMode(_arg0
,_arg1
);
9190 wxPyEndAllowThreads(__tstate
);
9191 if (PyErr_Occurred()) return NULL
;
9192 } Py_INCREF(Py_None
);
9193 _resultobj
= Py_None
;
9197 #define wxDC_SetClippingRegion(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetClippingRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9198 static PyObject
*_wrap_wxDC_SetClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9199 PyObject
* _resultobj
;
9205 PyObject
* _argo0
= 0;
9206 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
9209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_SetClippingRegion",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
9212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetClippingRegion. Expected _wxDC_p.");
9219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9220 wxDC_SetClippingRegion(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
9222 wxPyEndAllowThreads(__tstate
);
9223 if (PyErr_Occurred()) return NULL
;
9224 } Py_INCREF(Py_None
);
9225 _resultobj
= Py_None
;
9229 #define wxDC_SetClippingRegionAsRegion(_swigobj,_swigarg0) (_swigobj->SetClippingRegion(_swigarg0))
9230 static PyObject
*_wrap_wxDC_SetClippingRegionAsRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9231 PyObject
* _resultobj
;
9234 PyObject
* _argo0
= 0;
9235 PyObject
* _argo1
= 0;
9236 char *_kwnames
[] = { "self","region", NULL
};
9239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetClippingRegionAsRegion",_kwnames
,&_argo0
,&_argo1
))
9242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetClippingRegionAsRegion. Expected _wxDC_p.");
9249 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9250 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
9251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetClippingRegionAsRegion. Expected _wxRegion_p.");
9256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9257 wxDC_SetClippingRegionAsRegion(_arg0
,*_arg1
);
9259 wxPyEndAllowThreads(__tstate
);
9260 if (PyErr_Occurred()) return NULL
;
9261 } Py_INCREF(Py_None
);
9262 _resultobj
= Py_None
;
9266 #define wxDC_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
9267 static PyObject
*_wrap_wxDC_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9268 PyObject
* _resultobj
;
9271 PyObject
* _argo0
= 0;
9272 PyObject
* _argo1
= 0;
9273 char *_kwnames
[] = { "self","colourMap", NULL
};
9276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetPalette",_kwnames
,&_argo0
,&_argo1
))
9279 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9280 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPalette. Expected _wxDC_p.");
9286 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9287 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPalette_p")) {
9288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPalette. Expected _wxPalette_p.");
9293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9294 wxDC_SetPalette(_arg0
,*_arg1
);
9296 wxPyEndAllowThreads(__tstate
);
9297 if (PyErr_Occurred()) return NULL
;
9298 } Py_INCREF(Py_None
);
9299 _resultobj
= Py_None
;
9303 #define wxDC_SetBrush(_swigobj,_swigarg0) (_swigobj->SetBrush(_swigarg0))
9304 static PyObject
*_wrap_wxDC_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9305 PyObject
* _resultobj
;
9308 PyObject
* _argo0
= 0;
9309 PyObject
* _argo1
= 0;
9310 char *_kwnames
[] = { "self","brush", NULL
};
9313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetBrush",_kwnames
,&_argo0
,&_argo1
))
9316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBrush. Expected _wxDC_p.");
9323 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9324 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
9325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBrush. Expected _wxBrush_p.");
9330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9331 wxDC_SetBrush(_arg0
,*_arg1
);
9333 wxPyEndAllowThreads(__tstate
);
9334 if (PyErr_Occurred()) return NULL
;
9335 } Py_INCREF(Py_None
);
9336 _resultobj
= Py_None
;
9340 #define wxDC_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
9341 static PyObject
*_wrap_wxDC_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9342 PyObject
* _resultobj
;
9345 PyObject
* _argo0
= 0;
9346 PyObject
* _argo1
= 0;
9347 char *_kwnames
[] = { "self","font", NULL
};
9350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetFont",_kwnames
,&_argo0
,&_argo1
))
9353 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9354 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetFont. Expected _wxDC_p.");
9360 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9361 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
9362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetFont. Expected _wxFont_p.");
9367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9368 wxDC_SetFont(_arg0
,*_arg1
);
9370 wxPyEndAllowThreads(__tstate
);
9371 if (PyErr_Occurred()) return NULL
;
9372 } Py_INCREF(Py_None
);
9373 _resultobj
= Py_None
;
9377 #define wxDC_SetLogicalFunction(_swigobj,_swigarg0) (_swigobj->SetLogicalFunction(_swigarg0))
9378 static PyObject
*_wrap_wxDC_SetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9379 PyObject
* _resultobj
;
9382 PyObject
* _argo0
= 0;
9383 char *_kwnames
[] = { "self","function", NULL
};
9386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetLogicalFunction",_kwnames
,&_argo0
,&_arg1
))
9389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalFunction. Expected _wxDC_p.");
9396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9397 wxDC_SetLogicalFunction(_arg0
,_arg1
);
9399 wxPyEndAllowThreads(__tstate
);
9400 if (PyErr_Occurred()) return NULL
;
9401 } Py_INCREF(Py_None
);
9402 _resultobj
= Py_None
;
9406 #define wxDC_SetLogicalScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLogicalScale(_swigarg0,_swigarg1))
9407 static PyObject
*_wrap_wxDC_SetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9408 PyObject
* _resultobj
;
9412 PyObject
* _argo0
= 0;
9413 char *_kwnames
[] = { "self","x","y", NULL
};
9416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxDC_SetLogicalScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalScale. Expected _wxDC_p.");
9426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9427 wxDC_SetLogicalScale(_arg0
,_arg1
,_arg2
);
9429 wxPyEndAllowThreads(__tstate
);
9430 if (PyErr_Occurred()) return NULL
;
9431 } Py_INCREF(Py_None
);
9432 _resultobj
= Py_None
;
9436 #define wxDC_SetMapMode(_swigobj,_swigarg0) (_swigobj->SetMapMode(_swigarg0))
9437 static PyObject
*_wrap_wxDC_SetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9438 PyObject
* _resultobj
;
9441 PyObject
* _argo0
= 0;
9442 char *_kwnames
[] = { "self","mode", NULL
};
9445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetMapMode",_kwnames
,&_argo0
,&_arg1
))
9448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetMapMode. Expected _wxDC_p.");
9455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9456 wxDC_SetMapMode(_arg0
,_arg1
);
9458 wxPyEndAllowThreads(__tstate
);
9459 if (PyErr_Occurred()) return NULL
;
9460 } Py_INCREF(Py_None
);
9461 _resultobj
= Py_None
;
9465 #define wxDC_SetOptimization(_swigobj,_swigarg0) (_swigobj->SetOptimization(_swigarg0))
9466 static PyObject
*_wrap_wxDC_SetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9467 PyObject
* _resultobj
;
9470 PyObject
* _argo0
= 0;
9472 char *_kwnames
[] = { "self","optimize", NULL
};
9475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetOptimization",_kwnames
,&_argo0
,&tempbool1
))
9478 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9479 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetOptimization. Expected _wxDC_p.");
9484 _arg1
= (bool ) tempbool1
;
9486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9487 wxDC_SetOptimization(_arg0
,_arg1
);
9489 wxPyEndAllowThreads(__tstate
);
9490 if (PyErr_Occurred()) return NULL
;
9491 } Py_INCREF(Py_None
);
9492 _resultobj
= Py_None
;
9496 #define wxDC_SetPen(_swigobj,_swigarg0) (_swigobj->SetPen(_swigarg0))
9497 static PyObject
*_wrap_wxDC_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9498 PyObject
* _resultobj
;
9501 PyObject
* _argo0
= 0;
9502 PyObject
* _argo1
= 0;
9503 char *_kwnames
[] = { "self","pen", NULL
};
9506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetPen",_kwnames
,&_argo0
,&_argo1
))
9509 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9510 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPen. Expected _wxDC_p.");
9516 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9517 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
9518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPen. Expected _wxPen_p.");
9523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9524 wxDC_SetPen(_arg0
,*_arg1
);
9526 wxPyEndAllowThreads(__tstate
);
9527 if (PyErr_Occurred()) return NULL
;
9528 } Py_INCREF(Py_None
);
9529 _resultobj
= Py_None
;
9533 #define wxDC_SetTextBackground(_swigobj,_swigarg0) (_swigobj->SetTextBackground(_swigarg0))
9534 static PyObject
*_wrap_wxDC_SetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9535 PyObject
* _resultobj
;
9538 PyObject
* _argo0
= 0;
9540 PyObject
* _obj1
= 0;
9541 char *_kwnames
[] = { "self","colour", NULL
};
9544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetTextBackground",_kwnames
,&_argo0
,&_obj1
))
9547 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9548 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextBackground. Expected _wxDC_p.");
9555 if (! wxColour_helper(_obj1
, &_arg1
))
9559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9560 wxDC_SetTextBackground(_arg0
,*_arg1
);
9562 wxPyEndAllowThreads(__tstate
);
9563 if (PyErr_Occurred()) return NULL
;
9564 } Py_INCREF(Py_None
);
9565 _resultobj
= Py_None
;
9569 #define wxDC_SetTextForeground(_swigobj,_swigarg0) (_swigobj->SetTextForeground(_swigarg0))
9570 static PyObject
*_wrap_wxDC_SetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9571 PyObject
* _resultobj
;
9574 PyObject
* _argo0
= 0;
9576 PyObject
* _obj1
= 0;
9577 char *_kwnames
[] = { "self","colour", NULL
};
9580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetTextForeground",_kwnames
,&_argo0
,&_obj1
))
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_SetTextForeground. Expected _wxDC_p.");
9591 if (! wxColour_helper(_obj1
, &_arg1
))
9595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9596 wxDC_SetTextForeground(_arg0
,*_arg1
);
9598 wxPyEndAllowThreads(__tstate
);
9599 if (PyErr_Occurred()) return NULL
;
9600 } Py_INCREF(Py_None
);
9601 _resultobj
= Py_None
;
9605 #define wxDC_SetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetUserScale(_swigarg0,_swigarg1))
9606 static PyObject
*_wrap_wxDC_SetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9607 PyObject
* _resultobj
;
9611 PyObject
* _argo0
= 0;
9612 char *_kwnames
[] = { "self","x_scale","y_scale", NULL
};
9615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxDC_SetUserScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9618 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9619 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetUserScale. Expected _wxDC_p.");
9625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9626 wxDC_SetUserScale(_arg0
,_arg1
,_arg2
);
9628 wxPyEndAllowThreads(__tstate
);
9629 if (PyErr_Occurred()) return NULL
;
9630 } Py_INCREF(Py_None
);
9631 _resultobj
= Py_None
;
9635 #define wxDC_StartDoc(_swigobj,_swigarg0) (_swigobj->StartDoc(_swigarg0))
9636 static PyObject
*_wrap_wxDC_StartDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9637 PyObject
* _resultobj
;
9641 PyObject
* _argo0
= 0;
9642 PyObject
* _obj1
= 0;
9643 char *_kwnames
[] = { "self","message", NULL
};
9646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_StartDoc",_kwnames
,&_argo0
,&_obj1
))
9649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartDoc. Expected _wxDC_p.");
9656 _arg1
= wxString_in_helper(_obj1
);
9661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9662 _result
= (bool )wxDC_StartDoc(_arg0
,*_arg1
);
9664 wxPyEndAllowThreads(__tstate
);
9665 if (PyErr_Occurred()) return NULL
;
9666 } _resultobj
= Py_BuildValue("i",_result
);
9674 #define wxDC_StartPage(_swigobj) (_swigobj->StartPage())
9675 static PyObject
*_wrap_wxDC_StartPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9676 PyObject
* _resultobj
;
9678 PyObject
* _argo0
= 0;
9679 char *_kwnames
[] = { "self", NULL
};
9682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_StartPage",_kwnames
,&_argo0
))
9685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartPage. Expected _wxDC_p.");
9692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9693 wxDC_StartPage(_arg0
);
9695 wxPyEndAllowThreads(__tstate
);
9696 if (PyErr_Occurred()) return NULL
;
9697 } Py_INCREF(Py_None
);
9698 _resultobj
= Py_None
;
9702 #define wxDC_DrawBitmap(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9703 static PyObject
*_wrap_wxDC_DrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9704 PyObject
* _resultobj
;
9709 int _arg4
= (int ) FALSE
;
9710 PyObject
* _argo0
= 0;
9711 PyObject
* _argo1
= 0;
9712 char *_kwnames
[] = { "self","bitmap","x","y","useMask", NULL
};
9715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll|i:wxDC_DrawBitmap",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
))
9718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawBitmap. Expected _wxDC_p.");
9725 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9726 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
9727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawBitmap. Expected _wxBitmap_p.");
9732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9733 wxDC_DrawBitmap(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
9735 wxPyEndAllowThreads(__tstate
);
9736 if (PyErr_Occurred()) return NULL
;
9737 } Py_INCREF(Py_None
);
9738 _resultobj
= Py_None
;
9742 #define wxDC_CanDrawBitmap(_swigobj) (_swigobj->CanDrawBitmap())
9743 static PyObject
*_wrap_wxDC_CanDrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9744 PyObject
* _resultobj
;
9747 PyObject
* _argo0
= 0;
9748 char *_kwnames
[] = { "self", NULL
};
9751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_CanDrawBitmap",_kwnames
,&_argo0
))
9754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CanDrawBitmap. Expected _wxDC_p.");
9761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9762 _result
= (bool )wxDC_CanDrawBitmap(_arg0
);
9764 wxPyEndAllowThreads(__tstate
);
9765 if (PyErr_Occurred()) return NULL
;
9766 } _resultobj
= Py_BuildValue("i",_result
);
9770 #define wxDC_CanGetTextExtent(_swigobj) (_swigobj->CanGetTextExtent())
9771 static PyObject
*_wrap_wxDC_CanGetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9772 PyObject
* _resultobj
;
9775 PyObject
* _argo0
= 0;
9776 char *_kwnames
[] = { "self", NULL
};
9779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_CanGetTextExtent",_kwnames
,&_argo0
))
9782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CanGetTextExtent. Expected _wxDC_p.");
9789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9790 _result
= (bool )wxDC_CanGetTextExtent(_arg0
);
9792 wxPyEndAllowThreads(__tstate
);
9793 if (PyErr_Occurred()) return NULL
;
9794 } _resultobj
= Py_BuildValue("i",_result
);
9798 #define wxDC_GetDepth(_swigobj) (_swigobj->GetDepth())
9799 static PyObject
*_wrap_wxDC_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9800 PyObject
* _resultobj
;
9803 PyObject
* _argo0
= 0;
9804 char *_kwnames
[] = { "self", NULL
};
9807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetDepth",_kwnames
,&_argo0
))
9810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetDepth. Expected _wxDC_p.");
9817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9818 _result
= (int )wxDC_GetDepth(_arg0
);
9820 wxPyEndAllowThreads(__tstate
);
9821 if (PyErr_Occurred()) return NULL
;
9822 } _resultobj
= Py_BuildValue("i",_result
);
9826 #define wxDC_GetPPI(_swigobj) (_swigobj->GetPPI())
9827 static PyObject
*_wrap_wxDC_GetPPI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9828 PyObject
* _resultobj
;
9831 PyObject
* _argo0
= 0;
9832 char *_kwnames
[] = { "self", NULL
};
9836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetPPI",_kwnames
,&_argo0
))
9839 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9840 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPPI. Expected _wxDC_p.");
9846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9847 _result
= new wxSize (wxDC_GetPPI(_arg0
));
9849 wxPyEndAllowThreads(__tstate
);
9850 if (PyErr_Occurred()) return NULL
;
9851 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
9852 _resultobj
= Py_BuildValue("s",_ptemp
);
9856 #define wxDC_GetLogicalOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLogicalOrigin(_swigarg0,_swigarg1))
9857 static PyObject
*_wrap_wxDC_GetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9858 PyObject
* _resultobj
;
9864 PyObject
* _argo0
= 0;
9865 char *_kwnames
[] = { "self", NULL
};
9874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalOrigin",_kwnames
,&_argo0
))
9877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalOrigin. Expected _wxDC_p.");
9884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9885 wxDC_GetLogicalOrigin(_arg0
,_arg1
,_arg2
);
9887 wxPyEndAllowThreads(__tstate
);
9888 if (PyErr_Occurred()) return NULL
;
9889 } Py_INCREF(Py_None
);
9890 _resultobj
= Py_None
;
9893 o
= PyInt_FromLong((long) (*_arg1
));
9894 _resultobj
= t_output_helper(_resultobj
, o
);
9898 o
= PyInt_FromLong((long) (*_arg2
));
9899 _resultobj
= t_output_helper(_resultobj
, o
);
9904 #define wxDC_SetLogicalOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLogicalOrigin(_swigarg0,_swigarg1))
9905 static PyObject
*_wrap_wxDC_SetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9906 PyObject
* _resultobj
;
9910 PyObject
* _argo0
= 0;
9911 char *_kwnames
[] = { "self","x","y", NULL
};
9914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_SetLogicalOrigin",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalOrigin. Expected _wxDC_p.");
9924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9925 wxDC_SetLogicalOrigin(_arg0
,_arg1
,_arg2
);
9927 wxPyEndAllowThreads(__tstate
);
9928 if (PyErr_Occurred()) return NULL
;
9929 } Py_INCREF(Py_None
);
9930 _resultobj
= Py_None
;
9934 #define wxDC_GetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDeviceOrigin(_swigarg0,_swigarg1))
9935 static PyObject
*_wrap_wxDC_GetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9936 PyObject
* _resultobj
;
9942 PyObject
* _argo0
= 0;
9943 char *_kwnames
[] = { "self", NULL
};
9952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetDeviceOrigin",_kwnames
,&_argo0
))
9955 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9956 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetDeviceOrigin. Expected _wxDC_p.");
9962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9963 wxDC_GetDeviceOrigin(_arg0
,_arg1
,_arg2
);
9965 wxPyEndAllowThreads(__tstate
);
9966 if (PyErr_Occurred()) return NULL
;
9967 } Py_INCREF(Py_None
);
9968 _resultobj
= Py_None
;
9971 o
= PyInt_FromLong((long) (*_arg1
));
9972 _resultobj
= t_output_helper(_resultobj
, o
);
9976 o
= PyInt_FromLong((long) (*_arg2
));
9977 _resultobj
= t_output_helper(_resultobj
, o
);
9982 #define wxDC_SetAxisOrientation(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAxisOrientation(_swigarg0,_swigarg1))
9983 static PyObject
*_wrap_wxDC_SetAxisOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9984 PyObject
* _resultobj
;
9988 PyObject
* _argo0
= 0;
9991 char *_kwnames
[] = { "self","xLeftRight","yBottomUp", NULL
};
9994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_SetAxisOrientation",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
9997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetAxisOrientation. Expected _wxDC_p.");
10003 _arg1
= (bool ) tempbool1
;
10004 _arg2
= (bool ) tempbool2
;
10006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10007 wxDC_SetAxisOrientation(_arg0
,_arg1
,_arg2
);
10009 wxPyEndAllowThreads(__tstate
);
10010 if (PyErr_Occurred()) return NULL
;
10011 } Py_INCREF(Py_None
);
10012 _resultobj
= Py_None
;
10016 #define wxDC_CalcBoundingBox(_swigobj,_swigarg0,_swigarg1) (_swigobj->CalcBoundingBox(_swigarg0,_swigarg1))
10017 static PyObject
*_wrap_wxDC_CalcBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10018 PyObject
* _resultobj
;
10022 PyObject
* _argo0
= 0;
10023 char *_kwnames
[] = { "self","x","y", NULL
};
10026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_CalcBoundingBox",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
10031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CalcBoundingBox. Expected _wxDC_p.");
10036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10037 wxDC_CalcBoundingBox(_arg0
,_arg1
,_arg2
);
10039 wxPyEndAllowThreads(__tstate
);
10040 if (PyErr_Occurred()) return NULL
;
10041 } Py_INCREF(Py_None
);
10042 _resultobj
= Py_None
;
10046 #define wxDC_ResetBoundingBox(_swigobj) (_swigobj->ResetBoundingBox())
10047 static PyObject
*_wrap_wxDC_ResetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10048 PyObject
* _resultobj
;
10050 PyObject
* _argo0
= 0;
10051 char *_kwnames
[] = { "self", NULL
};
10054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_ResetBoundingBox",_kwnames
,&_argo0
))
10057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
10059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_ResetBoundingBox. Expected _wxDC_p.");
10064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10065 wxDC_ResetBoundingBox(_arg0
);
10067 wxPyEndAllowThreads(__tstate
);
10068 if (PyErr_Occurred()) return NULL
;
10069 } Py_INCREF(Py_None
);
10070 _resultobj
= Py_None
;
10074 static PyObject
*_wrap_wxDC_GetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10075 PyObject
* _resultobj
;
10085 PyObject
* _argo0
= 0;
10086 char *_kwnames
[] = { "self", NULL
};
10101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBoundingBox",_kwnames
,&_argo0
))
10104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
10106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBoundingBox. Expected _wxDC_p.");
10111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10112 wxDC_GetBoundingBox(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
10114 wxPyEndAllowThreads(__tstate
);
10115 if (PyErr_Occurred()) return NULL
;
10116 } Py_INCREF(Py_None
);
10117 _resultobj
= Py_None
;
10120 o
= PyInt_FromLong((long) (*_arg1
));
10121 _resultobj
= t_output_helper(_resultobj
, o
);
10125 o
= PyInt_FromLong((long) (*_arg2
));
10126 _resultobj
= t_output_helper(_resultobj
, o
);
10130 o
= PyInt_FromLong((long) (*_arg3
));
10131 _resultobj
= t_output_helper(_resultobj
, o
);
10135 o
= PyInt_FromLong((long) (*_arg4
));
10136 _resultobj
= t_output_helper(_resultobj
, o
);
10141 #define wxDC_GetHDC(_swigobj) (_swigobj->GetHDC())
10142 static PyObject
*_wrap_wxDC_GetHDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10143 PyObject
* _resultobj
;
10146 PyObject
* _argo0
= 0;
10147 char *_kwnames
[] = { "self", NULL
};
10150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetHDC",_kwnames
,&_argo0
))
10153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
10155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetHDC. Expected _wxDC_p.");
10160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10161 _result
= (long )wxDC_GetHDC(_arg0
);
10163 wxPyEndAllowThreads(__tstate
);
10164 if (PyErr_Occurred()) return NULL
;
10165 } _resultobj
= Py_BuildValue("l",_result
);
10169 static PyObject
* wxDC__DrawPointList(wxDC
*self
,PyObject
* pyPoints
,PyObject
* pyPens
) {
10170 bool isFastSeq
= PyList_Check(pyPoints
) || PyTuple_Check(pyPoints
);
10171 bool isFastPens
= PyList_Check(pyPens
) || PyTuple_Check(pyPens
);
10179 if (!PySequence_Check(pyPoints
)) {
10182 if (!PySequence_Check(pyPens
)) {
10185 numObjs
= PySequence_Length(pyPoints
);
10186 numPens
= PySequence_Length(pyPens
);
10188 for (i
= 0; i
< numObjs
; i
++) {
10192 obj
= PySequence_Fast_GET_ITEM(pyPens
, i
);
10195 obj
= PySequence_GetItem(pyPens
, i
);
10197 if (SWIG_GetPtrObj(obj
, (void **) &pen
, "_wxPen_p")) {
10203 self
->SetPen(*pen
);
10208 // Get the point coordinants
10210 obj
= PySequence_Fast_GET_ITEM(pyPoints
, i
);
10213 obj
= PySequence_GetItem(pyPoints
, i
);
10215 if (! _2int_seq_helper(obj
, &x1
, &y1
)) {
10221 // Now draw the point
10222 self
->DrawPoint(x1
, y1
);
10228 Py_INCREF(Py_None
);
10232 PyErr_SetString(PyExc_TypeError
, "Expected a sequence of wxPens");
10235 PyErr_SetString(PyExc_TypeError
, "Expected a sequence of (x,y) sequences.");
10238 static PyObject
*_wrap_wxDC__DrawPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10239 PyObject
* _resultobj
;
10240 PyObject
* _result
;
10244 PyObject
* _argo0
= 0;
10245 PyObject
* _obj1
= 0;
10246 PyObject
* _obj2
= 0;
10247 char *_kwnames
[] = { "self","pyPoints","pyPens", NULL
};
10250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDC__DrawPointList",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
10253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
10255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC__DrawPointList. Expected _wxDC_p.");
10266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10267 _result
= (PyObject
*)wxDC__DrawPointList(_arg0
,_arg1
,_arg2
);
10269 wxPyEndAllowThreads(__tstate
);
10270 if (PyErr_Occurred()) return NULL
;
10272 _resultobj
= _result
;
10277 static PyObject
* wxDC__DrawLineList(wxDC
*self
,PyObject
* pyLines
,PyObject
* pyPens
) {
10278 bool isFastSeq
= PyList_Check(pyLines
) || PyTuple_Check(pyLines
);
10279 bool isFastPens
= PyList_Check(pyPens
) || PyTuple_Check(pyPens
);
10284 int x1
, y1
, x2
, y2
;
10287 if (!PySequence_Check(pyLines
)) {
10290 if (!PySequence_Check(pyPens
)) {
10293 numObjs
= PySequence_Length(pyLines
);
10294 numPens
= PySequence_Length(pyPens
);
10296 for (i
= 0; i
< numObjs
; i
++) {
10300 obj
= PySequence_Fast_GET_ITEM(pyPens
, i
);
10303 obj
= PySequence_GetItem(pyPens
, i
);
10305 if (SWIG_GetPtrObj(obj
, (void **) &pen
, "_wxPen_p")) {
10311 self
->SetPen(*pen
);
10316 // Get the line coordinants
10318 obj
= PySequence_Fast_GET_ITEM(pyLines
, i
);
10321 obj
= PySequence_GetItem(pyLines
, i
);
10323 if (! _4int_seq_helper(obj
, &x1
, &y1
, &x2
, &y2
)) {
10329 // Now draw the line
10330 self
->DrawLine(x1
, y1
, x2
, y2
);
10336 Py_INCREF(Py_None
);
10340 PyErr_SetString(PyExc_TypeError
, "Expected a sequence of wxPens");
10343 PyErr_SetString(PyExc_TypeError
, "Expected a sequence of (x1,y1, x2,y2) sequences.");
10346 static PyObject
*_wrap_wxDC__DrawLineList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10347 PyObject
* _resultobj
;
10348 PyObject
* _result
;
10352 PyObject
* _argo0
= 0;
10353 PyObject
* _obj1
= 0;
10354 PyObject
* _obj2
= 0;
10355 char *_kwnames
[] = { "self","pyLines","pyPens", NULL
};
10358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDC__DrawLineList",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
10361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
10363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC__DrawLineList. Expected _wxDC_p.");
10374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10375 _result
= (PyObject
*)wxDC__DrawLineList(_arg0
,_arg1
,_arg2
);
10377 wxPyEndAllowThreads(__tstate
);
10378 if (PyErr_Occurred()) return NULL
;
10380 _resultobj
= _result
;
10385 static void *SwigwxMemoryDCTowxDC(void *ptr
) {
10388 src
= (wxMemoryDC
*) ptr
;
10389 dest
= (wxDC
*) src
;
10390 return (void *) dest
;
10393 static void *SwigwxMemoryDCTowxObject(void *ptr
) {
10396 src
= (wxMemoryDC
*) ptr
;
10397 dest
= (wxObject
*) src
;
10398 return (void *) dest
;
10401 #define new_wxMemoryDC() (new wxMemoryDC())
10402 static PyObject
*_wrap_new_wxMemoryDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10403 PyObject
* _resultobj
;
10404 wxMemoryDC
* _result
;
10405 char *_kwnames
[] = { NULL
};
10409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMemoryDC",_kwnames
))
10412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10413 _result
= (wxMemoryDC
*)new_wxMemoryDC();
10415 wxPyEndAllowThreads(__tstate
);
10416 if (PyErr_Occurred()) return NULL
;
10418 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
10419 _resultobj
= Py_BuildValue("s",_ptemp
);
10421 Py_INCREF(Py_None
);
10422 _resultobj
= Py_None
;
10427 #define wxMemoryDC_SelectObject(_swigobj,_swigarg0) (_swigobj->SelectObject(_swigarg0))
10428 static PyObject
*_wrap_wxMemoryDC_SelectObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10429 PyObject
* _resultobj
;
10430 wxMemoryDC
* _arg0
;
10432 PyObject
* _argo0
= 0;
10433 PyObject
* _argo1
= 0;
10434 char *_kwnames
[] = { "self","bitmap", NULL
};
10437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMemoryDC_SelectObject",_kwnames
,&_argo0
,&_argo1
))
10440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMemoryDC_p")) {
10442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDC_SelectObject. Expected _wxMemoryDC_p.");
10447 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10448 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
10449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMemoryDC_SelectObject. Expected _wxBitmap_p.");
10454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10455 wxMemoryDC_SelectObject(_arg0
,*_arg1
);
10457 wxPyEndAllowThreads(__tstate
);
10458 if (PyErr_Occurred()) return NULL
;
10459 } Py_INCREF(Py_None
);
10460 _resultobj
= Py_None
;
10464 static void *SwigwxBufferedDCTowxMemoryDC(void *ptr
) {
10467 src
= (wxBufferedDC
*) ptr
;
10468 dest
= (wxMemoryDC
*) src
;
10469 return (void *) dest
;
10472 static void *SwigwxBufferedDCTowxDC(void *ptr
) {
10475 src
= (wxBufferedDC
*) ptr
;
10476 dest
= (wxDC
*) src
;
10477 return (void *) dest
;
10480 static void *SwigwxBufferedDCTowxObject(void *ptr
) {
10483 src
= (wxBufferedDC
*) ptr
;
10484 dest
= (wxObject
*) src
;
10485 return (void *) dest
;
10488 #define new_wxBufferedDC(_swigarg0,_swigarg1) (new wxBufferedDC(_swigarg0,_swigarg1))
10489 static PyObject
*_wrap_new_wxBufferedDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10490 PyObject
* _resultobj
;
10491 wxBufferedDC
* _result
;
10494 PyObject
* _argo0
= 0;
10495 PyObject
* _argo1
= 0;
10496 char *_kwnames
[] = { "dc","buffer", NULL
};
10500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxBufferedDC",_kwnames
,&_argo0
,&_argo1
))
10503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
10505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBufferedDC. Expected _wxDC_p.");
10510 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10511 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
10512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxBufferedDC. Expected _wxBitmap_p.");
10517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10518 _result
= (wxBufferedDC
*)new_wxBufferedDC(_arg0
,*_arg1
);
10520 wxPyEndAllowThreads(__tstate
);
10521 if (PyErr_Occurred()) return NULL
;
10523 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBufferedDC_p");
10524 _resultobj
= Py_BuildValue("s",_ptemp
);
10526 Py_INCREF(Py_None
);
10527 _resultobj
= Py_None
;
10532 #define new_wxBufferedDCInternalBuffer(_swigarg0,_swigarg1) (new wxBufferedDC(_swigarg0,_swigarg1))
10533 static PyObject
*_wrap_new_wxBufferedDCInternalBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10534 PyObject
* _resultobj
;
10535 wxBufferedDC
* _result
;
10538 PyObject
* _argo0
= 0;
10540 PyObject
* _obj1
= 0;
10541 char *_kwnames
[] = { "dc","area", NULL
};
10545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxBufferedDCInternalBuffer",_kwnames
,&_argo0
,&_obj1
))
10548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
10550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBufferedDCInternalBuffer. Expected _wxDC_p.");
10556 if (! wxSize_helper(_obj1
, &_arg1
))
10560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10561 _result
= (wxBufferedDC
*)new_wxBufferedDCInternalBuffer(_arg0
,*_arg1
);
10563 wxPyEndAllowThreads(__tstate
);
10564 if (PyErr_Occurred()) return NULL
;
10566 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBufferedDC_p");
10567 _resultobj
= Py_BuildValue("s",_ptemp
);
10569 Py_INCREF(Py_None
);
10570 _resultobj
= Py_None
;
10575 static void *SwigwxBufferedPaintDCTowxBufferedDC(void *ptr
) {
10576 wxBufferedPaintDC
*src
;
10577 wxBufferedDC
*dest
;
10578 src
= (wxBufferedPaintDC
*) ptr
;
10579 dest
= (wxBufferedDC
*) src
;
10580 return (void *) dest
;
10583 static void *SwigwxBufferedPaintDCTowxMemoryDC(void *ptr
) {
10584 wxBufferedPaintDC
*src
;
10586 src
= (wxBufferedPaintDC
*) ptr
;
10587 dest
= (wxMemoryDC
*) src
;
10588 return (void *) dest
;
10591 static void *SwigwxBufferedPaintDCTowxDC(void *ptr
) {
10592 wxBufferedPaintDC
*src
;
10594 src
= (wxBufferedPaintDC
*) ptr
;
10595 dest
= (wxDC
*) src
;
10596 return (void *) dest
;
10599 static void *SwigwxBufferedPaintDCTowxObject(void *ptr
) {
10600 wxBufferedPaintDC
*src
;
10602 src
= (wxBufferedPaintDC
*) ptr
;
10603 dest
= (wxObject
*) src
;
10604 return (void *) dest
;
10607 #define new_wxBufferedPaintDC(_swigarg0,_swigarg1) (new wxBufferedPaintDC(_swigarg0,_swigarg1))
10608 static PyObject
*_wrap_new_wxBufferedPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10609 PyObject
* _resultobj
;
10610 wxBufferedPaintDC
* _result
;
10612 wxBitmap
* _arg1
= (wxBitmap
*) &wxNullBitmap
;
10613 PyObject
* _argo0
= 0;
10614 PyObject
* _argo1
= 0;
10615 char *_kwnames
[] = { "window","buffer", NULL
};
10619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxBufferedPaintDC",_kwnames
,&_argo0
,&_argo1
))
10622 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10623 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
10624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBufferedPaintDC. Expected _wxWindow_p.");
10629 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10630 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
10631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxBufferedPaintDC. Expected _wxBitmap_p.");
10636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10637 _result
= (wxBufferedPaintDC
*)new_wxBufferedPaintDC(_arg0
,*_arg1
);
10639 wxPyEndAllowThreads(__tstate
);
10640 if (PyErr_Occurred()) return NULL
;
10642 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBufferedPaintDC_p");
10643 _resultobj
= Py_BuildValue("s",_ptemp
);
10645 Py_INCREF(Py_None
);
10646 _resultobj
= Py_None
;
10651 static void *SwigwxScreenDCTowxDC(void *ptr
) {
10654 src
= (wxScreenDC
*) ptr
;
10655 dest
= (wxDC
*) src
;
10656 return (void *) dest
;
10659 static void *SwigwxScreenDCTowxObject(void *ptr
) {
10662 src
= (wxScreenDC
*) ptr
;
10663 dest
= (wxObject
*) src
;
10664 return (void *) dest
;
10667 #define new_wxScreenDC() (new wxScreenDC())
10668 static PyObject
*_wrap_new_wxScreenDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10669 PyObject
* _resultobj
;
10670 wxScreenDC
* _result
;
10671 char *_kwnames
[] = { NULL
};
10675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxScreenDC",_kwnames
))
10678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10679 _result
= (wxScreenDC
*)new_wxScreenDC();
10681 wxPyEndAllowThreads(__tstate
);
10682 if (PyErr_Occurred()) return NULL
;
10684 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScreenDC_p");
10685 _resultobj
= Py_BuildValue("s",_ptemp
);
10687 Py_INCREF(Py_None
);
10688 _resultobj
= Py_None
;
10693 #define wxScreenDC_StartDrawingOnTopWin(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
10694 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTopWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10695 PyObject
* _resultobj
;
10697 wxScreenDC
* _arg0
;
10699 PyObject
* _argo0
= 0;
10700 PyObject
* _argo1
= 0;
10701 char *_kwnames
[] = { "self","window", NULL
};
10704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScreenDC_StartDrawingOnTopWin",_kwnames
,&_argo0
,&_argo1
))
10707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
10709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTopWin. Expected _wxScreenDC_p.");
10714 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10715 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
10716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScreenDC_StartDrawingOnTopWin. Expected _wxWindow_p.");
10721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10722 _result
= (bool )wxScreenDC_StartDrawingOnTopWin(_arg0
,_arg1
);
10724 wxPyEndAllowThreads(__tstate
);
10725 if (PyErr_Occurred()) return NULL
;
10726 } _resultobj
= Py_BuildValue("i",_result
);
10730 #define wxScreenDC_StartDrawingOnTop(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
10731 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10732 PyObject
* _resultobj
;
10734 wxScreenDC
* _arg0
;
10735 wxRect
* _arg1
= (wxRect
*) NULL
;
10736 PyObject
* _argo0
= 0;
10738 PyObject
* _obj1
= 0;
10739 char *_kwnames
[] = { "self","rect", NULL
};
10742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxScreenDC_StartDrawingOnTop",_kwnames
,&_argo0
,&_obj1
))
10745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
10747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTop. Expected _wxScreenDC_p.");
10754 if (! wxRect_helper(_obj1
, &_arg1
))
10758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10759 _result
= (bool )wxScreenDC_StartDrawingOnTop(_arg0
,_arg1
);
10761 wxPyEndAllowThreads(__tstate
);
10762 if (PyErr_Occurred()) return NULL
;
10763 } _resultobj
= Py_BuildValue("i",_result
);
10767 #define wxScreenDC_EndDrawingOnTop(_swigobj) (_swigobj->EndDrawingOnTop())
10768 static PyObject
*_wrap_wxScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10769 PyObject
* _resultobj
;
10771 wxScreenDC
* _arg0
;
10772 PyObject
* _argo0
= 0;
10773 char *_kwnames
[] = { "self", NULL
};
10776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScreenDC_EndDrawingOnTop",_kwnames
,&_argo0
))
10779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
10781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_EndDrawingOnTop. Expected _wxScreenDC_p.");
10786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10787 _result
= (bool )wxScreenDC_EndDrawingOnTop(_arg0
);
10789 wxPyEndAllowThreads(__tstate
);
10790 if (PyErr_Occurred()) return NULL
;
10791 } _resultobj
= Py_BuildValue("i",_result
);
10795 static void *SwigwxClientDCTowxDC(void *ptr
) {
10798 src
= (wxClientDC
*) ptr
;
10799 dest
= (wxDC
*) src
;
10800 return (void *) dest
;
10803 static void *SwigwxClientDCTowxObject(void *ptr
) {
10806 src
= (wxClientDC
*) ptr
;
10807 dest
= (wxObject
*) src
;
10808 return (void *) dest
;
10811 #define new_wxClientDC(_swigarg0) (new wxClientDC(_swigarg0))
10812 static PyObject
*_wrap_new_wxClientDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10813 PyObject
* _resultobj
;
10814 wxClientDC
* _result
;
10816 PyObject
* _argo0
= 0;
10817 char *_kwnames
[] = { "win", NULL
};
10821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxClientDC",_kwnames
,&_argo0
))
10824 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10825 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
10826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxClientDC. Expected _wxWindow_p.");
10831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10832 _result
= (wxClientDC
*)new_wxClientDC(_arg0
);
10834 wxPyEndAllowThreads(__tstate
);
10835 if (PyErr_Occurred()) return NULL
;
10837 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxClientDC_p");
10838 _resultobj
= Py_BuildValue("s",_ptemp
);
10840 Py_INCREF(Py_None
);
10841 _resultobj
= Py_None
;
10846 static void *SwigwxPaintDCTowxDC(void *ptr
) {
10849 src
= (wxPaintDC
*) ptr
;
10850 dest
= (wxDC
*) src
;
10851 return (void *) dest
;
10854 static void *SwigwxPaintDCTowxObject(void *ptr
) {
10857 src
= (wxPaintDC
*) ptr
;
10858 dest
= (wxObject
*) src
;
10859 return (void *) dest
;
10862 #define new_wxPaintDC(_swigarg0) (new wxPaintDC(_swigarg0))
10863 static PyObject
*_wrap_new_wxPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10864 PyObject
* _resultobj
;
10865 wxPaintDC
* _result
;
10867 PyObject
* _argo0
= 0;
10868 char *_kwnames
[] = { "win", NULL
};
10872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPaintDC",_kwnames
,&_argo0
))
10875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
10877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPaintDC. Expected _wxWindow_p.");
10882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10883 _result
= (wxPaintDC
*)new_wxPaintDC(_arg0
);
10885 wxPyEndAllowThreads(__tstate
);
10886 if (PyErr_Occurred()) return NULL
;
10888 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPaintDC_p");
10889 _resultobj
= Py_BuildValue("s",_ptemp
);
10891 Py_INCREF(Py_None
);
10892 _resultobj
= Py_None
;
10897 static void *SwigwxWindowDCTowxDC(void *ptr
) {
10900 src
= (wxWindowDC
*) ptr
;
10901 dest
= (wxDC
*) src
;
10902 return (void *) dest
;
10905 static void *SwigwxWindowDCTowxObject(void *ptr
) {
10908 src
= (wxWindowDC
*) ptr
;
10909 dest
= (wxObject
*) src
;
10910 return (void *) dest
;
10913 #define new_wxWindowDC(_swigarg0) (new wxWindowDC(_swigarg0))
10914 static PyObject
*_wrap_new_wxWindowDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10915 PyObject
* _resultobj
;
10916 wxWindowDC
* _result
;
10918 PyObject
* _argo0
= 0;
10919 char *_kwnames
[] = { "win", NULL
};
10923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxWindowDC",_kwnames
,&_argo0
))
10926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
10928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDC. Expected _wxWindow_p.");
10933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10934 _result
= (wxWindowDC
*)new_wxWindowDC(_arg0
);
10936 wxPyEndAllowThreads(__tstate
);
10937 if (PyErr_Occurred()) return NULL
;
10939 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDC_p");
10940 _resultobj
= Py_BuildValue("s",_ptemp
);
10942 Py_INCREF(Py_None
);
10943 _resultobj
= Py_None
;
10948 static void *SwigwxMetaFileTowxObject(void *ptr
) {
10951 src
= (wxMetaFile
*) ptr
;
10952 dest
= (wxObject
*) src
;
10953 return (void *) dest
;
10956 #define new_wxMetaFile(_swigarg0) (new wxMetaFile(_swigarg0))
10957 static PyObject
*_wrap_new_wxMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10958 PyObject
* _resultobj
;
10959 wxMetaFile
* _result
;
10960 wxString
* _arg0
= (wxString
*) &wxPyEmptyString
;
10961 PyObject
* _obj0
= 0;
10962 char *_kwnames
[] = { "filename", NULL
};
10966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxMetaFile",_kwnames
,&_obj0
))
10970 _arg0
= wxString_in_helper(_obj0
);
10975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10976 _result
= (wxMetaFile
*)new_wxMetaFile(*_arg0
);
10978 wxPyEndAllowThreads(__tstate
);
10979 if (PyErr_Occurred()) return NULL
;
10981 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMetaFile_p");
10982 _resultobj
= Py_BuildValue("s",_ptemp
);
10984 Py_INCREF(Py_None
);
10985 _resultobj
= Py_None
;
10994 #define delete_wxMetaFile(_swigobj) (delete _swigobj)
10995 static PyObject
*_wrap_delete_wxMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10996 PyObject
* _resultobj
;
10997 wxMetaFile
* _arg0
;
10998 PyObject
* _argo0
= 0;
10999 char *_kwnames
[] = { "self", NULL
};
11002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMetaFile",_kwnames
,&_argo0
))
11005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMetaFile_p")) {
11007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMetaFile. Expected _wxMetaFile_p.");
11012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11013 delete_wxMetaFile(_arg0
);
11015 wxPyEndAllowThreads(__tstate
);
11016 if (PyErr_Occurred()) return NULL
;
11017 } Py_INCREF(Py_None
);
11018 _resultobj
= Py_None
;
11022 #define wxMetaFile_Ok(_swigobj) (_swigobj->Ok())
11023 static PyObject
*_wrap_wxMetaFile_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11024 PyObject
* _resultobj
;
11026 wxMetaFile
* _arg0
;
11027 PyObject
* _argo0
= 0;
11028 char *_kwnames
[] = { "self", NULL
};
11031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMetaFile_Ok",_kwnames
,&_argo0
))
11034 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11035 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMetaFile_p")) {
11036 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMetaFile_Ok. Expected _wxMetaFile_p.");
11041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11042 _result
= (bool )wxMetaFile_Ok(_arg0
);
11044 wxPyEndAllowThreads(__tstate
);
11045 if (PyErr_Occurred()) return NULL
;
11046 } _resultobj
= Py_BuildValue("i",_result
);
11050 #define wxMetaFile_SetClipboard(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClipboard(_swigarg0,_swigarg1))
11051 static PyObject
*_wrap_wxMetaFile_SetClipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11052 PyObject
* _resultobj
;
11054 wxMetaFile
* _arg0
;
11055 int _arg1
= (int ) 0;
11056 int _arg2
= (int ) 0;
11057 PyObject
* _argo0
= 0;
11058 char *_kwnames
[] = { "self","width","height", NULL
};
11061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxMetaFile_SetClipboard",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMetaFile_p")) {
11066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMetaFile_SetClipboard. Expected _wxMetaFile_p.");
11071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11072 _result
= (bool )wxMetaFile_SetClipboard(_arg0
,_arg1
,_arg2
);
11074 wxPyEndAllowThreads(__tstate
);
11075 if (PyErr_Occurred()) return NULL
;
11076 } _resultobj
= Py_BuildValue("i",_result
);
11080 #define wxMetaFile_GetSize(_swigobj) (_swigobj->GetSize())
11081 static PyObject
*_wrap_wxMetaFile_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11082 PyObject
* _resultobj
;
11084 wxMetaFile
* _arg0
;
11085 PyObject
* _argo0
= 0;
11086 char *_kwnames
[] = { "self", NULL
};
11090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMetaFile_GetSize",_kwnames
,&_argo0
))
11093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMetaFile_p")) {
11095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMetaFile_GetSize. Expected _wxMetaFile_p.");
11100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11101 _result
= new wxSize (wxMetaFile_GetSize(_arg0
));
11103 wxPyEndAllowThreads(__tstate
);
11104 if (PyErr_Occurred()) return NULL
;
11105 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
11106 _resultobj
= Py_BuildValue("s",_ptemp
);
11110 #define wxMetaFile_GetWidth(_swigobj) (_swigobj->GetWidth())
11111 static PyObject
*_wrap_wxMetaFile_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11112 PyObject
* _resultobj
;
11114 wxMetaFile
* _arg0
;
11115 PyObject
* _argo0
= 0;
11116 char *_kwnames
[] = { "self", NULL
};
11119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMetaFile_GetWidth",_kwnames
,&_argo0
))
11122 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11123 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMetaFile_p")) {
11124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMetaFile_GetWidth. Expected _wxMetaFile_p.");
11129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11130 _result
= (int )wxMetaFile_GetWidth(_arg0
);
11132 wxPyEndAllowThreads(__tstate
);
11133 if (PyErr_Occurred()) return NULL
;
11134 } _resultobj
= Py_BuildValue("i",_result
);
11138 #define wxMetaFile_GetHeight(_swigobj) (_swigobj->GetHeight())
11139 static PyObject
*_wrap_wxMetaFile_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11140 PyObject
* _resultobj
;
11142 wxMetaFile
* _arg0
;
11143 PyObject
* _argo0
= 0;
11144 char *_kwnames
[] = { "self", NULL
};
11147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMetaFile_GetHeight",_kwnames
,&_argo0
))
11150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMetaFile_p")) {
11152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMetaFile_GetHeight. Expected _wxMetaFile_p.");
11157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11158 _result
= (int )wxMetaFile_GetHeight(_arg0
);
11160 wxPyEndAllowThreads(__tstate
);
11161 if (PyErr_Occurred()) return NULL
;
11162 } _resultobj
= Py_BuildValue("i",_result
);
11166 #define wxMetaFile_GetFileName(_swigobj) (_swigobj->GetFileName())
11167 static PyObject
*_wrap_wxMetaFile_GetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11168 PyObject
* _resultobj
;
11169 wxString
* _result
;
11170 wxMetaFile
* _arg0
;
11171 PyObject
* _argo0
= 0;
11172 char *_kwnames
[] = { "self", NULL
};
11175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMetaFile_GetFileName",_kwnames
,&_argo0
))
11178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMetaFile_p")) {
11180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMetaFile_GetFileName. Expected _wxMetaFile_p.");
11185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11186 const wxString
& _result_ref
= wxMetaFile_GetFileName(_arg0
);
11187 _result
= (wxString
*) &_result_ref
;
11189 wxPyEndAllowThreads(__tstate
);
11190 if (PyErr_Occurred()) return NULL
;
11193 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
11195 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
11201 static void *SwigwxMetaFileDCTowxDC(void *ptr
) {
11204 src
= (wxMetaFileDC
*) ptr
;
11205 dest
= (wxDC
*) src
;
11206 return (void *) dest
;
11209 static void *SwigwxMetaFileDCTowxObject(void *ptr
) {
11212 src
= (wxMetaFileDC
*) ptr
;
11213 dest
= (wxObject
*) src
;
11214 return (void *) dest
;
11217 #define new_wxMetaFileDC(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxMetaFileDC(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11218 static PyObject
*_wrap_new_wxMetaFileDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11219 PyObject
* _resultobj
;
11220 wxMetaFileDC
* _result
;
11221 wxString
* _arg0
= (wxString
*) &wxPyEmptyString
;
11222 int _arg1
= (int ) 0;
11223 int _arg2
= (int ) 0;
11224 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
11225 PyObject
* _obj0
= 0;
11226 PyObject
* _obj3
= 0;
11227 char *_kwnames
[] = { "filename","width","height","description", NULL
};
11231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OiiO:new_wxMetaFileDC",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_obj3
))
11235 _arg0
= wxString_in_helper(_obj0
);
11241 _arg3
= wxString_in_helper(_obj3
);
11246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11247 _result
= (wxMetaFileDC
*)new_wxMetaFileDC(*_arg0
,_arg1
,_arg2
,*_arg3
);
11249 wxPyEndAllowThreads(__tstate
);
11250 if (PyErr_Occurred()) return NULL
;
11252 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMetaFileDC_p");
11253 _resultobj
= Py_BuildValue("s",_ptemp
);
11255 Py_INCREF(Py_None
);
11256 _resultobj
= Py_None
;
11269 #define wxMetaFileDC_Close(_swigobj) (_swigobj->Close())
11270 static PyObject
*_wrap_wxMetaFileDC_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11271 PyObject
* _resultobj
;
11272 wxMetaFile
* _result
;
11273 wxMetaFileDC
* _arg0
;
11274 PyObject
* _argo0
= 0;
11275 char *_kwnames
[] = { "self", NULL
};
11279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMetaFileDC_Close",_kwnames
,&_argo0
))
11282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMetaFileDC_p")) {
11284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMetaFileDC_Close. Expected _wxMetaFileDC_p.");
11289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11290 _result
= (wxMetaFile
*)wxMetaFileDC_Close(_arg0
);
11292 wxPyEndAllowThreads(__tstate
);
11293 if (PyErr_Occurred()) return NULL
;
11295 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMetaFile_p");
11296 _resultobj
= Py_BuildValue("s",_ptemp
);
11298 Py_INCREF(Py_None
);
11299 _resultobj
= Py_None
;
11304 static void *SwigwxPaletteTowxGDIObject(void *ptr
) {
11307 src
= (wxPalette
*) ptr
;
11308 dest
= (wxGDIObject
*) src
;
11309 return (void *) dest
;
11312 static void *SwigwxPaletteTowxObject(void *ptr
) {
11315 src
= (wxPalette
*) ptr
;
11316 dest
= (wxObject
*) src
;
11317 return (void *) dest
;
11320 #define new_wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11321 static PyObject
*_wrap_new_wxPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11322 PyObject
* _resultobj
;
11323 wxPalette
* _result
;
11328 PyObject
* _obj1
= 0;
11329 PyObject
* _obj2
= 0;
11330 PyObject
* _obj3
= 0;
11331 char *_kwnames
[] = { "choices","choices","choices", NULL
};
11335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:new_wxPalette",_kwnames
,&_obj1
,&_obj2
,&_obj3
))
11338 _arg1
= byte_LIST_helper(_obj1
);
11339 if (_arg1
== NULL
) {
11344 _arg2
= byte_LIST_helper(_obj2
);
11345 if (_arg2
== NULL
) {
11351 _arg3
= byte_LIST_helper(_obj3
);
11352 if (_arg3
== NULL
) {
11358 _arg0
= PyList_Size(_obj1
);
11365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11366 _result
= (wxPalette
*)new_wxPalette(_arg0
,_arg1
,_arg2
,_arg3
);
11368 wxPyEndAllowThreads(__tstate
);
11369 if (PyErr_Occurred()) return NULL
;
11371 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
11372 _resultobj
= Py_BuildValue("s",_ptemp
);
11374 Py_INCREF(Py_None
);
11375 _resultobj
= Py_None
;
11389 #define delete_wxPalette(_swigobj) (delete _swigobj)
11390 static PyObject
*_wrap_delete_wxPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11391 PyObject
* _resultobj
;
11393 PyObject
* _argo0
= 0;
11394 char *_kwnames
[] = { "self", NULL
};
11397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPalette",_kwnames
,&_argo0
))
11400 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11401 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
11402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPalette. Expected _wxPalette_p.");
11407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11408 delete_wxPalette(_arg0
);
11410 wxPyEndAllowThreads(__tstate
);
11411 if (PyErr_Occurred()) return NULL
;
11412 } Py_INCREF(Py_None
);
11413 _resultobj
= Py_None
;
11417 #define wxPalette_GetPixel(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetPixel(_swigarg0,_swigarg1,_swigarg2))
11418 static PyObject
*_wrap_wxPalette_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11419 PyObject
* _resultobj
;
11425 PyObject
* _argo0
= 0;
11426 char *_kwnames
[] = { "self","red","green","blue", NULL
};
11429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Obbb:wxPalette_GetPixel",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
11432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
11434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetPixel. Expected _wxPalette_p.");
11439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11440 _result
= (int )wxPalette_GetPixel(_arg0
,_arg1
,_arg2
,_arg3
);
11442 wxPyEndAllowThreads(__tstate
);
11443 if (PyErr_Occurred()) return NULL
;
11444 } _resultobj
= Py_BuildValue("i",_result
);
11448 #define wxPalette_GetRGB(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetRGB(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11449 static PyObject
*_wrap_wxPalette_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11450 PyObject
* _resultobj
;
11460 PyObject
* _argo0
= 0;
11461 char *_kwnames
[] = { "self","pixel", NULL
};
11465 _arg2
= (byte
*)&temp
;
11468 _arg3
= (byte
*)&temp0
;
11471 _arg4
= (byte
*)&temp1
;
11473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPalette_GetRGB",_kwnames
,&_argo0
,&_arg1
))
11476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
11478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetRGB. Expected _wxPalette_p.");
11483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11484 _result
= (bool )wxPalette_GetRGB(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
11486 wxPyEndAllowThreads(__tstate
);
11487 if (PyErr_Occurred()) return NULL
;
11488 } _resultobj
= Py_BuildValue("i",_result
);
11491 o
= PyInt_FromLong((long) (*_arg2
));
11492 _resultobj
= t_output_helper(_resultobj
, o
);
11496 o
= PyInt_FromLong((long) (*_arg3
));
11497 _resultobj
= t_output_helper(_resultobj
, o
);
11501 o
= PyInt_FromLong((long) (*_arg4
));
11502 _resultobj
= t_output_helper(_resultobj
, o
);
11507 #define wxPalette_Ok(_swigobj) (_swigobj->Ok())
11508 static PyObject
*_wrap_wxPalette_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11509 PyObject
* _resultobj
;
11512 PyObject
* _argo0
= 0;
11513 char *_kwnames
[] = { "self", NULL
};
11516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPalette_Ok",_kwnames
,&_argo0
))
11519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
11521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_Ok. Expected _wxPalette_p.");
11526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11527 _result
= (bool )wxPalette_Ok(_arg0
);
11529 wxPyEndAllowThreads(__tstate
);
11530 if (PyErr_Occurred()) return NULL
;
11531 } _resultobj
= Py_BuildValue("i",_result
);
11535 static void *SwigwxImageListTowxObject(void *ptr
) {
11538 src
= (wxImageList
*) ptr
;
11539 dest
= (wxObject
*) src
;
11540 return (void *) dest
;
11543 #define new_wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11544 static PyObject
*_wrap_new_wxImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11545 PyObject
* _resultobj
;
11546 wxImageList
* _result
;
11549 int _arg2
= (int ) TRUE
;
11550 int _arg3
= (int ) 1;
11551 char *_kwnames
[] = { "width","height","mask","initialCount", NULL
};
11555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ii|ii:new_wxImageList",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
11558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11559 _result
= (wxImageList
*)new_wxImageList(_arg0
,_arg1
,_arg2
,_arg3
);
11561 wxPyEndAllowThreads(__tstate
);
11562 if (PyErr_Occurred()) return NULL
;
11564 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
11565 _resultobj
= Py_BuildValue("s",_ptemp
);
11567 Py_INCREF(Py_None
);
11568 _resultobj
= Py_None
;
11573 #define delete_wxImageList(_swigobj) (delete _swigobj)
11574 static PyObject
*_wrap_delete_wxImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11575 PyObject
* _resultobj
;
11576 wxImageList
* _arg0
;
11577 PyObject
* _argo0
= 0;
11578 char *_kwnames
[] = { "self", NULL
};
11581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxImageList",_kwnames
,&_argo0
))
11584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
11586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxImageList. Expected _wxImageList_p.");
11591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11592 delete_wxImageList(_arg0
);
11594 wxPyEndAllowThreads(__tstate
);
11595 if (PyErr_Occurred()) return NULL
;
11596 } Py_INCREF(Py_None
);
11597 _resultobj
= Py_None
;
11601 #define wxImageList_Add(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
11602 static PyObject
*_wrap_wxImageList_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11603 PyObject
* _resultobj
;
11605 wxImageList
* _arg0
;
11607 wxBitmap
* _arg2
= (wxBitmap
*) &wxNullBitmap
;
11608 PyObject
* _argo0
= 0;
11609 PyObject
* _argo1
= 0;
11610 PyObject
* _argo2
= 0;
11611 char *_kwnames
[] = { "self","bitmap","mask", NULL
};
11614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxImageList_Add",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
11617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
11619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Add. Expected _wxImageList_p.");
11624 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11625 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
11626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_Add. Expected _wxBitmap_p.");
11631 if (_argo2
== Py_None
) { _arg2
= NULL
; }
11632 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
11633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Add. Expected _wxBitmap_p.");
11638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11639 _result
= (int )wxImageList_Add(_arg0
,*_arg1
,*_arg2
);
11641 wxPyEndAllowThreads(__tstate
);
11642 if (PyErr_Occurred()) return NULL
;
11643 } _resultobj
= Py_BuildValue("i",_result
);
11647 #define wxImageList_AddWithColourMask(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
11648 static PyObject
*_wrap_wxImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11649 PyObject
* _resultobj
;
11651 wxImageList
* _arg0
;
11654 PyObject
* _argo0
= 0;
11655 PyObject
* _argo1
= 0;
11657 PyObject
* _obj2
= 0;
11658 char *_kwnames
[] = { "self","bitmap","maskColour", NULL
};
11661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxImageList_AddWithColourMask",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
11664 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11665 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
11666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_AddWithColourMask. Expected _wxImageList_p.");
11671 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11672 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
11673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_AddWithColourMask. Expected _wxBitmap_p.");
11679 if (! wxColour_helper(_obj2
, &_arg2
))
11683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11684 _result
= (int )wxImageList_AddWithColourMask(_arg0
,*_arg1
,*_arg2
);
11686 wxPyEndAllowThreads(__tstate
);
11687 if (PyErr_Occurred()) return NULL
;
11688 } _resultobj
= Py_BuildValue("i",_result
);
11692 #define wxImageList_AddIcon(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
11693 static PyObject
*_wrap_wxImageList_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11694 PyObject
* _resultobj
;
11696 wxImageList
* _arg0
;
11698 PyObject
* _argo0
= 0;
11699 PyObject
* _argo1
= 0;
11700 char *_kwnames
[] = { "self","icon", NULL
};
11703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxImageList_AddIcon",_kwnames
,&_argo0
,&_argo1
))
11706 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11707 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
11708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_AddIcon. Expected _wxImageList_p.");
11713 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11714 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
11715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_AddIcon. Expected _wxIcon_p.");
11720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11721 _result
= (int )wxImageList_AddIcon(_arg0
,*_arg1
);
11723 wxPyEndAllowThreads(__tstate
);
11724 if (PyErr_Occurred()) return NULL
;
11725 } _resultobj
= Py_BuildValue("i",_result
);
11729 #define wxImageList_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
11730 static PyObject
*_wrap_wxImageList_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11731 PyObject
* _resultobj
;
11733 wxImageList
* _arg0
;
11736 wxBitmap
* _arg3
= (wxBitmap
*) &wxNullBitmap
;
11737 PyObject
* _argo0
= 0;
11738 PyObject
* _argo2
= 0;
11739 PyObject
* _argo3
= 0;
11740 char *_kwnames
[] = { "self","index","bitmap","mask", NULL
};
11743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxImageList_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
))
11746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
11748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Replace. Expected _wxImageList_p.");
11753 if (_argo2
== Py_None
) { _arg2
= NULL
; }
11754 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
11755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Replace. Expected _wxBitmap_p.");
11760 if (_argo3
== Py_None
) { _arg3
= NULL
; }
11761 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
11762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxImageList_Replace. Expected _wxBitmap_p.");
11767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11768 _result
= (bool )wxImageList_Replace(_arg0
,_arg1
,*_arg2
,*_arg3
);
11770 wxPyEndAllowThreads(__tstate
);
11771 if (PyErr_Occurred()) return NULL
;
11772 } _resultobj
= Py_BuildValue("i",_result
);
11776 #define wxImageList_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
11777 static PyObject
*_wrap_wxImageList_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11778 PyObject
* _resultobj
;
11780 wxImageList
* _arg0
;
11785 int _arg5
= (int ) (wxIMAGELIST_DRAW_NORMAL
);
11786 bool _arg6
= (bool ) FALSE
;
11787 PyObject
* _argo0
= 0;
11788 PyObject
* _argo2
= 0;
11789 int tempbool6
= (int) FALSE
;
11790 char *_kwnames
[] = { "self","index","dc","x","x","flags","solidBackground", NULL
};
11793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOii|ii:wxImageList_Draw",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
11796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
11798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Draw. Expected _wxImageList_p.");
11803 if (_argo2
== Py_None
) { _arg2
= NULL
; }
11804 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDC_p")) {
11805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Draw. Expected _wxDC_p.");
11809 _arg6
= (bool ) tempbool6
;
11811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11812 _result
= (bool )wxImageList_Draw(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
11814 wxPyEndAllowThreads(__tstate
);
11815 if (PyErr_Occurred()) return NULL
;
11816 } _resultobj
= Py_BuildValue("i",_result
);
11820 #define wxImageList_GetImageCount(_swigobj) (_swigobj->GetImageCount())
11821 static PyObject
*_wrap_wxImageList_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11822 PyObject
* _resultobj
;
11824 wxImageList
* _arg0
;
11825 PyObject
* _argo0
= 0;
11826 char *_kwnames
[] = { "self", NULL
};
11829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImageList_GetImageCount",_kwnames
,&_argo0
))
11832 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11833 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
11834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_GetImageCount. Expected _wxImageList_p.");
11839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11840 _result
= (int )wxImageList_GetImageCount(_arg0
);
11842 wxPyEndAllowThreads(__tstate
);
11843 if (PyErr_Occurred()) return NULL
;
11844 } _resultobj
= Py_BuildValue("i",_result
);
11848 #define wxImageList_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
11849 static PyObject
*_wrap_wxImageList_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11850 PyObject
* _resultobj
;
11852 wxImageList
* _arg0
;
11854 PyObject
* _argo0
= 0;
11855 char *_kwnames
[] = { "self","index", NULL
};
11858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxImageList_Remove",_kwnames
,&_argo0
,&_arg1
))
11861 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11862 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
11863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Remove. Expected _wxImageList_p.");
11868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11869 _result
= (bool )wxImageList_Remove(_arg0
,_arg1
);
11871 wxPyEndAllowThreads(__tstate
);
11872 if (PyErr_Occurred()) return NULL
;
11873 } _resultobj
= Py_BuildValue("i",_result
);
11877 #define wxImageList_RemoveAll(_swigobj) (_swigobj->RemoveAll())
11878 static PyObject
*_wrap_wxImageList_RemoveAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11879 PyObject
* _resultobj
;
11881 wxImageList
* _arg0
;
11882 PyObject
* _argo0
= 0;
11883 char *_kwnames
[] = { "self", NULL
};
11886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImageList_RemoveAll",_kwnames
,&_argo0
))
11889 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11890 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
11891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_RemoveAll. Expected _wxImageList_p.");
11896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11897 _result
= (bool )wxImageList_RemoveAll(_arg0
);
11899 wxPyEndAllowThreads(__tstate
);
11900 if (PyErr_Occurred()) return NULL
;
11901 } _resultobj
= Py_BuildValue("i",_result
);
11905 #define wxImageList_GetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetSize(_swigarg0,_swigarg1,_swigarg2))
11906 static PyObject
*_wrap_wxImageList_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11907 PyObject
* _resultobj
;
11908 wxImageList
* _arg0
;
11914 PyObject
* _argo0
= 0;
11915 char *_kwnames
[] = { "self","index", NULL
};
11924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxImageList_GetSize",_kwnames
,&_argo0
,&_arg1
))
11927 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11928 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
11929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_GetSize. Expected _wxImageList_p.");
11934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11935 wxImageList_GetSize(_arg0
,_arg1
,*_arg2
,*_arg3
);
11937 wxPyEndAllowThreads(__tstate
);
11938 if (PyErr_Occurred()) return NULL
;
11939 } Py_INCREF(Py_None
);
11940 _resultobj
= Py_None
;
11943 o
= PyInt_FromLong((long) (*_arg2
));
11944 _resultobj
= t_output_helper(_resultobj
, o
);
11948 o
= PyInt_FromLong((long) (*_arg3
));
11949 _resultobj
= t_output_helper(_resultobj
, o
);
11954 static void *SwigwxRegionTowxGDIObject(void *ptr
) {
11957 src
= (wxRegion
*) ptr
;
11958 dest
= (wxGDIObject
*) src
;
11959 return (void *) dest
;
11962 static void *SwigwxRegionTowxObject(void *ptr
) {
11965 src
= (wxRegion
*) ptr
;
11966 dest
= (wxObject
*) src
;
11967 return (void *) dest
;
11970 #define new_wxRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11971 static PyObject
*_wrap_new_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11972 PyObject
* _resultobj
;
11973 wxRegion
* _result
;
11974 long _arg0
= (long ) 0;
11975 long _arg1
= (long ) 0;
11976 long _arg2
= (long ) 0;
11977 long _arg3
= (long ) 0;
11978 char *_kwnames
[] = { "x","y","width","height", NULL
};
11982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|llll:new_wxRegion",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
11985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11986 _result
= (wxRegion
*)new_wxRegion(_arg0
,_arg1
,_arg2
,_arg3
);
11988 wxPyEndAllowThreads(__tstate
);
11989 if (PyErr_Occurred()) return NULL
;
11991 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegion_p");
11992 _resultobj
= Py_BuildValue("s",_ptemp
);
11994 Py_INCREF(Py_None
);
11995 _resultobj
= Py_None
;
12000 #define delete_wxRegion(_swigobj) (delete _swigobj)
12001 static PyObject
*_wrap_delete_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12002 PyObject
* _resultobj
;
12004 PyObject
* _argo0
= 0;
12005 char *_kwnames
[] = { "self", NULL
};
12008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegion",_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 delete_wxRegion. Expected _wxRegion_p.");
12018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12019 delete_wxRegion(_arg0
);
12021 wxPyEndAllowThreads(__tstate
);
12022 if (PyErr_Occurred()) return NULL
;
12023 } Py_INCREF(Py_None
);
12024 _resultobj
= Py_None
;
12028 #define wxRegion_Clear(_swigobj) (_swigobj->Clear())
12029 static PyObject
*_wrap_wxRegion_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12030 PyObject
* _resultobj
;
12032 PyObject
* _argo0
= 0;
12033 char *_kwnames
[] = { "self", NULL
};
12036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_Clear",_kwnames
,&_argo0
))
12039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
12041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Clear. Expected _wxRegion_p.");
12046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12047 wxRegion_Clear(_arg0
);
12049 wxPyEndAllowThreads(__tstate
);
12050 if (PyErr_Occurred()) return NULL
;
12051 } Py_INCREF(Py_None
);
12052 _resultobj
= Py_None
;
12056 #define wxRegion_Offset(_swigobj,_swigarg0,_swigarg1) (_swigobj->Offset(_swigarg0,_swigarg1))
12057 static PyObject
*_wrap_wxRegion_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12058 PyObject
* _resultobj
;
12063 PyObject
* _argo0
= 0;
12064 char *_kwnames
[] = { "self","x","y", NULL
};
12067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRegion_Offset",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12070 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12071 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
12072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Offset. Expected _wxRegion_p.");
12077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12078 _result
= (bool )wxRegion_Offset(_arg0
,_arg1
,_arg2
);
12080 wxPyEndAllowThreads(__tstate
);
12081 if (PyErr_Occurred()) return NULL
;
12082 } _resultobj
= Py_BuildValue("i",_result
);
12086 #define wxRegion_Contains(_swigobj,_swigarg0,_swigarg1) (_swigobj->Contains(_swigarg0,_swigarg1))
12087 static PyObject
*_wrap_wxRegion_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12088 PyObject
* _resultobj
;
12089 wxRegionContain _result
;
12093 PyObject
* _argo0
= 0;
12094 char *_kwnames
[] = { "self","x","y", NULL
};
12097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxRegion_Contains",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12100 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12101 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
12102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Contains. Expected _wxRegion_p.");
12107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12108 _result
= (wxRegionContain
)wxRegion_Contains(_arg0
,_arg1
,_arg2
);
12110 wxPyEndAllowThreads(__tstate
);
12111 if (PyErr_Occurred()) return NULL
;
12112 } _resultobj
= Py_BuildValue("i",_result
);
12116 #define wxRegion_ContainsPoint(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
12117 static PyObject
*_wrap_wxRegion_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12118 PyObject
* _resultobj
;
12119 wxRegionContain _result
;
12122 PyObject
* _argo0
= 0;
12124 PyObject
* _obj1
= 0;
12125 char *_kwnames
[] = { "self","pt", NULL
};
12128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsPoint",_kwnames
,&_argo0
,&_obj1
))
12131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
12133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsPoint. Expected _wxRegion_p.");
12139 if (! wxPoint_helper(_obj1
, &_arg1
))
12143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12144 _result
= (wxRegionContain
)wxRegion_ContainsPoint(_arg0
,*_arg1
);
12146 wxPyEndAllowThreads(__tstate
);
12147 if (PyErr_Occurred()) return NULL
;
12148 } _resultobj
= Py_BuildValue("i",_result
);
12152 #define wxRegion_ContainsRect(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
12153 static PyObject
*_wrap_wxRegion_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12154 PyObject
* _resultobj
;
12155 wxRegionContain _result
;
12158 PyObject
* _argo0
= 0;
12160 PyObject
* _obj1
= 0;
12161 char *_kwnames
[] = { "self","rect", NULL
};
12164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsRect",_kwnames
,&_argo0
,&_obj1
))
12167 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12168 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
12169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRect. Expected _wxRegion_p.");
12175 if (! wxRect_helper(_obj1
, &_arg1
))
12179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12180 _result
= (wxRegionContain
)wxRegion_ContainsRect(_arg0
,*_arg1
);
12182 wxPyEndAllowThreads(__tstate
);
12183 if (PyErr_Occurred()) return NULL
;
12184 } _resultobj
= Py_BuildValue("i",_result
);
12188 #define wxRegion_ContainsRectDim(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Contains(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
12189 static PyObject
*_wrap_wxRegion_ContainsRectDim(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12190 PyObject
* _resultobj
;
12191 wxRegionContain _result
;
12197 PyObject
* _argo0
= 0;
12198 char *_kwnames
[] = { "self","x","y","w","h", NULL
};
12201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_ContainsRectDim",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
12204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
12206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRectDim. Expected _wxRegion_p.");
12211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12212 _result
= (wxRegionContain
)wxRegion_ContainsRectDim(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
12214 wxPyEndAllowThreads(__tstate
);
12215 if (PyErr_Occurred()) return NULL
;
12216 } _resultobj
= Py_BuildValue("i",_result
);
12220 #define wxRegion_GetBox(_swigobj) (_swigobj->GetBox())
12221 static PyObject
*_wrap_wxRegion_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12222 PyObject
* _resultobj
;
12225 PyObject
* _argo0
= 0;
12226 char *_kwnames
[] = { "self", NULL
};
12230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_GetBox",_kwnames
,&_argo0
))
12233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
12235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_GetBox. Expected _wxRegion_p.");
12240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12241 _result
= new wxRect (wxRegion_GetBox(_arg0
));
12243 wxPyEndAllowThreads(__tstate
);
12244 if (PyErr_Occurred()) return NULL
;
12245 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
12246 _resultobj
= Py_BuildValue("s",_ptemp
);
12250 #define wxRegion_Intersect(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Intersect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
12251 static PyObject
*_wrap_wxRegion_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12252 PyObject
* _resultobj
;
12259 PyObject
* _argo0
= 0;
12260 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
12263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Intersect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
12266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
12268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Intersect. Expected _wxRegion_p.");
12273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12274 _result
= (bool )wxRegion_Intersect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
12276 wxPyEndAllowThreads(__tstate
);
12277 if (PyErr_Occurred()) return NULL
;
12278 } _resultobj
= Py_BuildValue("i",_result
);
12282 #define wxRegion_IntersectRect(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
12283 static PyObject
*_wrap_wxRegion_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12284 PyObject
* _resultobj
;
12288 PyObject
* _argo0
= 0;
12290 PyObject
* _obj1
= 0;
12291 char *_kwnames
[] = { "self","rect", NULL
};
12294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_IntersectRect",_kwnames
,&_argo0
,&_obj1
))
12297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
12299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IntersectRect. Expected _wxRegion_p.");
12305 if (! wxRect_helper(_obj1
, &_arg1
))
12309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12310 _result
= (bool )wxRegion_IntersectRect(_arg0
,*_arg1
);
12312 wxPyEndAllowThreads(__tstate
);
12313 if (PyErr_Occurred()) return NULL
;
12314 } _resultobj
= Py_BuildValue("i",_result
);
12318 #define wxRegion_IntersectRegion(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
12319 static PyObject
*_wrap_wxRegion_IntersectRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12320 PyObject
* _resultobj
;
12324 PyObject
* _argo0
= 0;
12325 PyObject
* _argo1
= 0;
12326 char *_kwnames
[] = { "self","region", NULL
};
12329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_IntersectRegion",_kwnames
,&_argo0
,&_argo1
))
12332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
12334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
12339 if (_argo1
== Py_None
) { _arg1
= NULL
; }
12340 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
12341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
12346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12347 _result
= (bool )wxRegion_IntersectRegion(_arg0
,*_arg1
);
12349 wxPyEndAllowThreads(__tstate
);
12350 if (PyErr_Occurred()) return NULL
;
12351 } _resultobj
= Py_BuildValue("i",_result
);
12355 #define wxRegion_IsEmpty(_swigobj) (_swigobj->IsEmpty())
12356 static PyObject
*_wrap_wxRegion_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12357 PyObject
* _resultobj
;
12360 PyObject
* _argo0
= 0;
12361 char *_kwnames
[] = { "self", NULL
};
12364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_IsEmpty",_kwnames
,&_argo0
))
12367 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12368 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
12369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IsEmpty. Expected _wxRegion_p.");
12374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12375 _result
= (bool )wxRegion_IsEmpty(_arg0
);
12377 wxPyEndAllowThreads(__tstate
);
12378 if (PyErr_Occurred()) return NULL
;
12379 } _resultobj
= Py_BuildValue("i",_result
);
12383 #define wxRegion_Union(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Union(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
12384 static PyObject
*_wrap_wxRegion_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12385 PyObject
* _resultobj
;
12392 PyObject
* _argo0
= 0;
12393 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
12396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Union",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
12399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
12401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Union. Expected _wxRegion_p.");
12406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12407 _result
= (bool )wxRegion_Union(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
12409 wxPyEndAllowThreads(__tstate
);
12410 if (PyErr_Occurred()) return NULL
;
12411 } _resultobj
= Py_BuildValue("i",_result
);
12415 #define wxRegion_UnionRect(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
12416 static PyObject
*_wrap_wxRegion_UnionRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12417 PyObject
* _resultobj
;
12421 PyObject
* _argo0
= 0;
12423 PyObject
* _obj1
= 0;
12424 char *_kwnames
[] = { "self","rect", NULL
};
12427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_UnionRect",_kwnames
,&_argo0
,&_obj1
))
12430 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12431 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
12432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_UnionRect. Expected _wxRegion_p.");
12438 if (! wxRect_helper(_obj1
, &_arg1
))
12442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12443 _result
= (bool )wxRegion_UnionRect(_arg0
,*_arg1
);
12445 wxPyEndAllowThreads(__tstate
);
12446 if (PyErr_Occurred()) return NULL
;
12447 } _resultobj
= Py_BuildValue("i",_result
);
12451 #define wxRegion_UnionRegion(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
12452 static PyObject
*_wrap_wxRegion_UnionRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12453 PyObject
* _resultobj
;
12457 PyObject
* _argo0
= 0;
12458 PyObject
* _argo1
= 0;
12459 char *_kwnames
[] = { "self","region", NULL
};
12462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_UnionRegion",_kwnames
,&_argo0
,&_argo1
))
12465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
12467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_UnionRegion. Expected _wxRegion_p.");
12472 if (_argo1
== Py_None
) { _arg1
= NULL
; }
12473 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
12474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_UnionRegion. Expected _wxRegion_p.");
12479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12480 _result
= (bool )wxRegion_UnionRegion(_arg0
,*_arg1
);
12482 wxPyEndAllowThreads(__tstate
);
12483 if (PyErr_Occurred()) return NULL
;
12484 } _resultobj
= Py_BuildValue("i",_result
);
12488 #define wxRegion_Subtract(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Subtract(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
12489 static PyObject
*_wrap_wxRegion_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12490 PyObject
* _resultobj
;
12497 PyObject
* _argo0
= 0;
12498 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
12501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Subtract",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
12504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
12506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Subtract. Expected _wxRegion_p.");
12511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12512 _result
= (bool )wxRegion_Subtract(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
12514 wxPyEndAllowThreads(__tstate
);
12515 if (PyErr_Occurred()) return NULL
;
12516 } _resultobj
= Py_BuildValue("i",_result
);
12520 #define wxRegion_SubtractRect(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
12521 static PyObject
*_wrap_wxRegion_SubtractRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12522 PyObject
* _resultobj
;
12526 PyObject
* _argo0
= 0;
12528 PyObject
* _obj1
= 0;
12529 char *_kwnames
[] = { "self","rect", NULL
};
12532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_SubtractRect",_kwnames
,&_argo0
,&_obj1
))
12535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
12537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_SubtractRect. Expected _wxRegion_p.");
12543 if (! wxRect_helper(_obj1
, &_arg1
))
12547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12548 _result
= (bool )wxRegion_SubtractRect(_arg0
,*_arg1
);
12550 wxPyEndAllowThreads(__tstate
);
12551 if (PyErr_Occurred()) return NULL
;
12552 } _resultobj
= Py_BuildValue("i",_result
);
12556 #define wxRegion_SubtractRegion(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
12557 static PyObject
*_wrap_wxRegion_SubtractRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12558 PyObject
* _resultobj
;
12562 PyObject
* _argo0
= 0;
12563 PyObject
* _argo1
= 0;
12564 char *_kwnames
[] = { "self","region", NULL
};
12567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_SubtractRegion",_kwnames
,&_argo0
,&_argo1
))
12570 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12571 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
12572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
12577 if (_argo1
== Py_None
) { _arg1
= NULL
; }
12578 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
12579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
12584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12585 _result
= (bool )wxRegion_SubtractRegion(_arg0
,*_arg1
);
12587 wxPyEndAllowThreads(__tstate
);
12588 if (PyErr_Occurred()) return NULL
;
12589 } _resultobj
= Py_BuildValue("i",_result
);
12593 #define wxRegion_Xor(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Xor(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
12594 static PyObject
*_wrap_wxRegion_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12595 PyObject
* _resultobj
;
12602 PyObject
* _argo0
= 0;
12603 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
12606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Xor",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
12609 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12610 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
12611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Xor. Expected _wxRegion_p.");
12616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12617 _result
= (bool )wxRegion_Xor(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
12619 wxPyEndAllowThreads(__tstate
);
12620 if (PyErr_Occurred()) return NULL
;
12621 } _resultobj
= Py_BuildValue("i",_result
);
12625 #define wxRegion_XorRect(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
12626 static PyObject
*_wrap_wxRegion_XorRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12627 PyObject
* _resultobj
;
12631 PyObject
* _argo0
= 0;
12633 PyObject
* _obj1
= 0;
12634 char *_kwnames
[] = { "self","rect", NULL
};
12637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_XorRect",_kwnames
,&_argo0
,&_obj1
))
12640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
12642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_XorRect. Expected _wxRegion_p.");
12648 if (! wxRect_helper(_obj1
, &_arg1
))
12652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12653 _result
= (bool )wxRegion_XorRect(_arg0
,*_arg1
);
12655 wxPyEndAllowThreads(__tstate
);
12656 if (PyErr_Occurred()) return NULL
;
12657 } _resultobj
= Py_BuildValue("i",_result
);
12661 #define wxRegion_XorRegion(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
12662 static PyObject
*_wrap_wxRegion_XorRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12663 PyObject
* _resultobj
;
12667 PyObject
* _argo0
= 0;
12668 PyObject
* _argo1
= 0;
12669 char *_kwnames
[] = { "self","region", NULL
};
12672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_XorRegion",_kwnames
,&_argo0
,&_argo1
))
12675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
12677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_XorRegion. Expected _wxRegion_p.");
12682 if (_argo1
== Py_None
) { _arg1
= NULL
; }
12683 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
12684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_XorRegion. Expected _wxRegion_p.");
12689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12690 _result
= (bool )wxRegion_XorRegion(_arg0
,*_arg1
);
12692 wxPyEndAllowThreads(__tstate
);
12693 if (PyErr_Occurred()) return NULL
;
12694 } _resultobj
= Py_BuildValue("i",_result
);
12698 static void *SwigwxRegionIteratorTowxObject(void *ptr
) {
12699 wxRegionIterator
*src
;
12701 src
= (wxRegionIterator
*) ptr
;
12702 dest
= (wxObject
*) src
;
12703 return (void *) dest
;
12706 #define new_wxRegionIterator(_swigarg0) (new wxRegionIterator(_swigarg0))
12707 static PyObject
*_wrap_new_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12708 PyObject
* _resultobj
;
12709 wxRegionIterator
* _result
;
12711 PyObject
* _argo0
= 0;
12712 char *_kwnames
[] = { "region", NULL
};
12716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxRegionIterator",_kwnames
,&_argo0
))
12719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
12721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRegionIterator. Expected _wxRegion_p.");
12726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12727 _result
= (wxRegionIterator
*)new_wxRegionIterator(*_arg0
);
12729 wxPyEndAllowThreads(__tstate
);
12730 if (PyErr_Occurred()) return NULL
;
12732 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegionIterator_p");
12733 _resultobj
= Py_BuildValue("s",_ptemp
);
12735 Py_INCREF(Py_None
);
12736 _resultobj
= Py_None
;
12741 #define delete_wxRegionIterator(_swigobj) (delete _swigobj)
12742 static PyObject
*_wrap_delete_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12743 PyObject
* _resultobj
;
12744 wxRegionIterator
* _arg0
;
12745 PyObject
* _argo0
= 0;
12746 char *_kwnames
[] = { "self", NULL
};
12749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegionIterator",_kwnames
,&_argo0
))
12752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
12754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegionIterator. Expected _wxRegionIterator_p.");
12759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12760 delete_wxRegionIterator(_arg0
);
12762 wxPyEndAllowThreads(__tstate
);
12763 if (PyErr_Occurred()) return NULL
;
12764 } Py_INCREF(Py_None
);
12765 _resultobj
= Py_None
;
12769 #define wxRegionIterator_GetX(_swigobj) (_swigobj->GetX())
12770 static PyObject
*_wrap_wxRegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12771 PyObject
* _resultobj
;
12773 wxRegionIterator
* _arg0
;
12774 PyObject
* _argo0
= 0;
12775 char *_kwnames
[] = { "self", NULL
};
12778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetX",_kwnames
,&_argo0
))
12781 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12782 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
12783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetX. Expected _wxRegionIterator_p.");
12788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12789 _result
= (long )wxRegionIterator_GetX(_arg0
);
12791 wxPyEndAllowThreads(__tstate
);
12792 if (PyErr_Occurred()) return NULL
;
12793 } _resultobj
= Py_BuildValue("l",_result
);
12797 #define wxRegionIterator_GetY(_swigobj) (_swigobj->GetY())
12798 static PyObject
*_wrap_wxRegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12799 PyObject
* _resultobj
;
12801 wxRegionIterator
* _arg0
;
12802 PyObject
* _argo0
= 0;
12803 char *_kwnames
[] = { "self", NULL
};
12806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetY",_kwnames
,&_argo0
))
12809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
12811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetY. Expected _wxRegionIterator_p.");
12816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12817 _result
= (long )wxRegionIterator_GetY(_arg0
);
12819 wxPyEndAllowThreads(__tstate
);
12820 if (PyErr_Occurred()) return NULL
;
12821 } _resultobj
= Py_BuildValue("l",_result
);
12825 #define wxRegionIterator_GetW(_swigobj) (_swigobj->GetW())
12826 static PyObject
*_wrap_wxRegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12827 PyObject
* _resultobj
;
12829 wxRegionIterator
* _arg0
;
12830 PyObject
* _argo0
= 0;
12831 char *_kwnames
[] = { "self", NULL
};
12834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetW",_kwnames
,&_argo0
))
12837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
12839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetW. Expected _wxRegionIterator_p.");
12844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12845 _result
= (long )wxRegionIterator_GetW(_arg0
);
12847 wxPyEndAllowThreads(__tstate
);
12848 if (PyErr_Occurred()) return NULL
;
12849 } _resultobj
= Py_BuildValue("l",_result
);
12853 #define wxRegionIterator_GetWidth(_swigobj) (_swigobj->GetWidth())
12854 static PyObject
*_wrap_wxRegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12855 PyObject
* _resultobj
;
12857 wxRegionIterator
* _arg0
;
12858 PyObject
* _argo0
= 0;
12859 char *_kwnames
[] = { "self", NULL
};
12862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetWidth",_kwnames
,&_argo0
))
12865 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12866 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
12867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetWidth. Expected _wxRegionIterator_p.");
12872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12873 _result
= (long )wxRegionIterator_GetWidth(_arg0
);
12875 wxPyEndAllowThreads(__tstate
);
12876 if (PyErr_Occurred()) return NULL
;
12877 } _resultobj
= Py_BuildValue("l",_result
);
12881 #define wxRegionIterator_GetH(_swigobj) (_swigobj->GetH())
12882 static PyObject
*_wrap_wxRegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12883 PyObject
* _resultobj
;
12885 wxRegionIterator
* _arg0
;
12886 PyObject
* _argo0
= 0;
12887 char *_kwnames
[] = { "self", NULL
};
12890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetH",_kwnames
,&_argo0
))
12893 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12894 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
12895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetH. Expected _wxRegionIterator_p.");
12900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12901 _result
= (long )wxRegionIterator_GetH(_arg0
);
12903 wxPyEndAllowThreads(__tstate
);
12904 if (PyErr_Occurred()) return NULL
;
12905 } _resultobj
= Py_BuildValue("l",_result
);
12909 #define wxRegionIterator_GetHeight(_swigobj) (_swigobj->GetHeight())
12910 static PyObject
*_wrap_wxRegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12911 PyObject
* _resultobj
;
12913 wxRegionIterator
* _arg0
;
12914 PyObject
* _argo0
= 0;
12915 char *_kwnames
[] = { "self", NULL
};
12918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetHeight",_kwnames
,&_argo0
))
12921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
12923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetHeight. Expected _wxRegionIterator_p.");
12928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12929 _result
= (long )wxRegionIterator_GetHeight(_arg0
);
12931 wxPyEndAllowThreads(__tstate
);
12932 if (PyErr_Occurred()) return NULL
;
12933 } _resultobj
= Py_BuildValue("l",_result
);
12937 #define wxRegionIterator_GetRect(_swigobj) (_swigobj->GetRect())
12938 static PyObject
*_wrap_wxRegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12939 PyObject
* _resultobj
;
12941 wxRegionIterator
* _arg0
;
12942 PyObject
* _argo0
= 0;
12943 char *_kwnames
[] = { "self", NULL
};
12947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetRect",_kwnames
,&_argo0
))
12950 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12951 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
12952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetRect. Expected _wxRegionIterator_p.");
12957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12958 _result
= new wxRect (wxRegionIterator_GetRect(_arg0
));
12960 wxPyEndAllowThreads(__tstate
);
12961 if (PyErr_Occurred()) return NULL
;
12962 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
12963 _resultobj
= Py_BuildValue("s",_ptemp
);
12967 #define wxRegionIterator_HaveRects(_swigobj) (_swigobj->HaveRects())
12968 static PyObject
*_wrap_wxRegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12969 PyObject
* _resultobj
;
12971 wxRegionIterator
* _arg0
;
12972 PyObject
* _argo0
= 0;
12973 char *_kwnames
[] = { "self", NULL
};
12976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_HaveRects",_kwnames
,&_argo0
))
12979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
12981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_HaveRects. Expected _wxRegionIterator_p.");
12986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12987 _result
= (bool )wxRegionIterator_HaveRects(_arg0
);
12989 wxPyEndAllowThreads(__tstate
);
12990 if (PyErr_Occurred()) return NULL
;
12991 } _resultobj
= Py_BuildValue("i",_result
);
12995 #define wxRegionIterator_Reset(_swigobj) (_swigobj->Reset())
12996 static PyObject
*_wrap_wxRegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12997 PyObject
* _resultobj
;
12998 wxRegionIterator
* _arg0
;
12999 PyObject
* _argo0
= 0;
13000 char *_kwnames
[] = { "self", NULL
};
13003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Reset",_kwnames
,&_argo0
))
13006 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13007 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
13008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Reset. Expected _wxRegionIterator_p.");
13013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13014 wxRegionIterator_Reset(_arg0
);
13016 wxPyEndAllowThreads(__tstate
);
13017 if (PyErr_Occurred()) return NULL
;
13018 } Py_INCREF(Py_None
);
13019 _resultobj
= Py_None
;
13023 static void wxRegionIterator_Next(wxRegionIterator
*self
) {
13026 static PyObject
*_wrap_wxRegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13027 PyObject
* _resultobj
;
13028 wxRegionIterator
* _arg0
;
13029 PyObject
* _argo0
= 0;
13030 char *_kwnames
[] = { "self", NULL
};
13033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Next",_kwnames
,&_argo0
))
13036 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13037 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
13038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Next. Expected _wxRegionIterator_p.");
13043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13044 wxRegionIterator_Next(_arg0
);
13046 wxPyEndAllowThreads(__tstate
);
13047 if (PyErr_Occurred()) return NULL
;
13048 } Py_INCREF(Py_None
);
13049 _resultobj
= Py_None
;
13053 static PyMethodDef gdicMethods
[] = {
13054 { "wxRegionIterator_Next", (PyCFunction
) _wrap_wxRegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
13055 { "wxRegionIterator_Reset", (PyCFunction
) _wrap_wxRegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
13056 { "wxRegionIterator_HaveRects", (PyCFunction
) _wrap_wxRegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
13057 { "wxRegionIterator_GetRect", (PyCFunction
) _wrap_wxRegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
13058 { "wxRegionIterator_GetHeight", (PyCFunction
) _wrap_wxRegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
13059 { "wxRegionIterator_GetH", (PyCFunction
) _wrap_wxRegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
13060 { "wxRegionIterator_GetWidth", (PyCFunction
) _wrap_wxRegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
13061 { "wxRegionIterator_GetW", (PyCFunction
) _wrap_wxRegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
13062 { "wxRegionIterator_GetY", (PyCFunction
) _wrap_wxRegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
13063 { "wxRegionIterator_GetX", (PyCFunction
) _wrap_wxRegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
13064 { "delete_wxRegionIterator", (PyCFunction
) _wrap_delete_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
13065 { "new_wxRegionIterator", (PyCFunction
) _wrap_new_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
13066 { "wxRegion_XorRegion", (PyCFunction
) _wrap_wxRegion_XorRegion
, METH_VARARGS
| METH_KEYWORDS
},
13067 { "wxRegion_XorRect", (PyCFunction
) _wrap_wxRegion_XorRect
, METH_VARARGS
| METH_KEYWORDS
},
13068 { "wxRegion_Xor", (PyCFunction
) _wrap_wxRegion_Xor
, METH_VARARGS
| METH_KEYWORDS
},
13069 { "wxRegion_SubtractRegion", (PyCFunction
) _wrap_wxRegion_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
},
13070 { "wxRegion_SubtractRect", (PyCFunction
) _wrap_wxRegion_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
},
13071 { "wxRegion_Subtract", (PyCFunction
) _wrap_wxRegion_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
13072 { "wxRegion_UnionRegion", (PyCFunction
) _wrap_wxRegion_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
},
13073 { "wxRegion_UnionRect", (PyCFunction
) _wrap_wxRegion_UnionRect
, METH_VARARGS
| METH_KEYWORDS
},
13074 { "wxRegion_Union", (PyCFunction
) _wrap_wxRegion_Union
, METH_VARARGS
| METH_KEYWORDS
},
13075 { "wxRegion_IsEmpty", (PyCFunction
) _wrap_wxRegion_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
13076 { "wxRegion_IntersectRegion", (PyCFunction
) _wrap_wxRegion_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
},
13077 { "wxRegion_IntersectRect", (PyCFunction
) _wrap_wxRegion_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
13078 { "wxRegion_Intersect", (PyCFunction
) _wrap_wxRegion_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
13079 { "wxRegion_GetBox", (PyCFunction
) _wrap_wxRegion_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
13080 { "wxRegion_ContainsRectDim", (PyCFunction
) _wrap_wxRegion_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
},
13081 { "wxRegion_ContainsRect", (PyCFunction
) _wrap_wxRegion_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
13082 { "wxRegion_ContainsPoint", (PyCFunction
) _wrap_wxRegion_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
13083 { "wxRegion_Contains", (PyCFunction
) _wrap_wxRegion_Contains
, METH_VARARGS
| METH_KEYWORDS
},
13084 { "wxRegion_Offset", (PyCFunction
) _wrap_wxRegion_Offset
, METH_VARARGS
| METH_KEYWORDS
},
13085 { "wxRegion_Clear", (PyCFunction
) _wrap_wxRegion_Clear
, METH_VARARGS
| METH_KEYWORDS
},
13086 { "delete_wxRegion", (PyCFunction
) _wrap_delete_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
13087 { "new_wxRegion", (PyCFunction
) _wrap_new_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
13088 { "wxImageList_GetSize", (PyCFunction
) _wrap_wxImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
13089 { "wxImageList_RemoveAll", (PyCFunction
) _wrap_wxImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
},
13090 { "wxImageList_Remove", (PyCFunction
) _wrap_wxImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
},
13091 { "wxImageList_GetImageCount", (PyCFunction
) _wrap_wxImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
13092 { "wxImageList_Draw", (PyCFunction
) _wrap_wxImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
},
13093 { "wxImageList_Replace", (PyCFunction
) _wrap_wxImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
},
13094 { "wxImageList_AddIcon", (PyCFunction
) _wrap_wxImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
13095 { "wxImageList_AddWithColourMask", (PyCFunction
) _wrap_wxImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
},
13096 { "wxImageList_Add", (PyCFunction
) _wrap_wxImageList_Add
, METH_VARARGS
| METH_KEYWORDS
},
13097 { "delete_wxImageList", (PyCFunction
) _wrap_delete_wxImageList
, METH_VARARGS
| METH_KEYWORDS
},
13098 { "new_wxImageList", (PyCFunction
) _wrap_new_wxImageList
, METH_VARARGS
| METH_KEYWORDS
},
13099 { "wxPalette_Ok", (PyCFunction
) _wrap_wxPalette_Ok
, METH_VARARGS
| METH_KEYWORDS
},
13100 { "wxPalette_GetRGB", (PyCFunction
) _wrap_wxPalette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
13101 { "wxPalette_GetPixel", (PyCFunction
) _wrap_wxPalette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
13102 { "delete_wxPalette", (PyCFunction
) _wrap_delete_wxPalette
, METH_VARARGS
| METH_KEYWORDS
},
13103 { "new_wxPalette", (PyCFunction
) _wrap_new_wxPalette
, METH_VARARGS
| METH_KEYWORDS
},
13104 { "wxMetaFileDC_Close", (PyCFunction
) _wrap_wxMetaFileDC_Close
, METH_VARARGS
| METH_KEYWORDS
},
13105 { "new_wxMetaFileDC", (PyCFunction
) _wrap_new_wxMetaFileDC
, METH_VARARGS
| METH_KEYWORDS
},
13106 { "wxMetaFile_GetFileName", (PyCFunction
) _wrap_wxMetaFile_GetFileName
, METH_VARARGS
| METH_KEYWORDS
},
13107 { "wxMetaFile_GetHeight", (PyCFunction
) _wrap_wxMetaFile_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
13108 { "wxMetaFile_GetWidth", (PyCFunction
) _wrap_wxMetaFile_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
13109 { "wxMetaFile_GetSize", (PyCFunction
) _wrap_wxMetaFile_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
13110 { "wxMetaFile_SetClipboard", (PyCFunction
) _wrap_wxMetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
},
13111 { "wxMetaFile_Ok", (PyCFunction
) _wrap_wxMetaFile_Ok
, METH_VARARGS
| METH_KEYWORDS
},
13112 { "delete_wxMetaFile", (PyCFunction
) _wrap_delete_wxMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
13113 { "new_wxMetaFile", (PyCFunction
) _wrap_new_wxMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
13114 { "new_wxWindowDC", (PyCFunction
) _wrap_new_wxWindowDC
, METH_VARARGS
| METH_KEYWORDS
},
13115 { "new_wxPaintDC", (PyCFunction
) _wrap_new_wxPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
13116 { "new_wxClientDC", (PyCFunction
) _wrap_new_wxClientDC
, METH_VARARGS
| METH_KEYWORDS
},
13117 { "wxScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_wxScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
13118 { "wxScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_wxScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
13119 { "wxScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_wxScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
},
13120 { "new_wxScreenDC", (PyCFunction
) _wrap_new_wxScreenDC
, METH_VARARGS
| METH_KEYWORDS
},
13121 { "new_wxBufferedPaintDC", (PyCFunction
) _wrap_new_wxBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
13122 { "new_wxBufferedDCInternalBuffer", (PyCFunction
) _wrap_new_wxBufferedDCInternalBuffer
, METH_VARARGS
| METH_KEYWORDS
},
13123 { "new_wxBufferedDC", (PyCFunction
) _wrap_new_wxBufferedDC
, METH_VARARGS
| METH_KEYWORDS
},
13124 { "wxMemoryDC_SelectObject", (PyCFunction
) _wrap_wxMemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
},
13125 { "new_wxMemoryDC", (PyCFunction
) _wrap_new_wxMemoryDC
, METH_VARARGS
| METH_KEYWORDS
},
13126 { "wxDC__DrawLineList", (PyCFunction
) _wrap_wxDC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
},
13127 { "wxDC__DrawPointList", (PyCFunction
) _wrap_wxDC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
},
13128 { "wxDC_GetHDC", (PyCFunction
) _wrap_wxDC_GetHDC
, METH_VARARGS
| METH_KEYWORDS
},
13129 { "wxDC_GetBoundingBox", (PyCFunction
) _wrap_wxDC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
13130 { "wxDC_ResetBoundingBox", (PyCFunction
) _wrap_wxDC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
13131 { "wxDC_CalcBoundingBox", (PyCFunction
) _wrap_wxDC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
13132 { "wxDC_SetAxisOrientation", (PyCFunction
) _wrap_wxDC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
},
13133 { "wxDC_GetDeviceOrigin", (PyCFunction
) _wrap_wxDC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
13134 { "wxDC_SetLogicalOrigin", (PyCFunction
) _wrap_wxDC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
13135 { "wxDC_GetLogicalOrigin", (PyCFunction
) _wrap_wxDC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
13136 { "wxDC_GetPPI", (PyCFunction
) _wrap_wxDC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
},
13137 { "wxDC_GetDepth", (PyCFunction
) _wrap_wxDC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
13138 { "wxDC_CanGetTextExtent", (PyCFunction
) _wrap_wxDC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
13139 { "wxDC_CanDrawBitmap", (PyCFunction
) _wrap_wxDC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
13140 { "wxDC_DrawBitmap", (PyCFunction
) _wrap_wxDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
13141 { "wxDC_StartPage", (PyCFunction
) _wrap_wxDC_StartPage
, METH_VARARGS
| METH_KEYWORDS
},
13142 { "wxDC_StartDoc", (PyCFunction
) _wrap_wxDC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
},
13143 { "wxDC_SetUserScale", (PyCFunction
) _wrap_wxDC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
13144 { "wxDC_SetTextForeground", (PyCFunction
) _wrap_wxDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
13145 { "wxDC_SetTextBackground", (PyCFunction
) _wrap_wxDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
13146 { "wxDC_SetPen", (PyCFunction
) _wrap_wxDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
13147 { "wxDC_SetOptimization", (PyCFunction
) _wrap_wxDC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
13148 { "wxDC_SetMapMode", (PyCFunction
) _wrap_wxDC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
13149 { "wxDC_SetLogicalScale", (PyCFunction
) _wrap_wxDC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
13150 { "wxDC_SetLogicalFunction", (PyCFunction
) _wrap_wxDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
13151 { "wxDC_SetFont", (PyCFunction
) _wrap_wxDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
13152 { "wxDC_SetBrush", (PyCFunction
) _wrap_wxDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
13153 { "wxDC_SetPalette", (PyCFunction
) _wrap_wxDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
13154 { "wxDC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_wxDC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
},
13155 { "wxDC_SetClippingRegion", (PyCFunction
) _wrap_wxDC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
13156 { "wxDC_SetBackgroundMode", (PyCFunction
) _wrap_wxDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
13157 { "wxDC_SetBackground", (PyCFunction
) _wrap_wxDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
},
13158 { "wxDC_SetDeviceOrigin", (PyCFunction
) _wrap_wxDC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
13159 { "wxDC_Ok", (PyCFunction
) _wrap_wxDC_Ok
, METH_VARARGS
| METH_KEYWORDS
},
13160 { "wxDC_MinY", (PyCFunction
) _wrap_wxDC_MinY
, METH_VARARGS
| METH_KEYWORDS
},
13161 { "wxDC_MinX", (PyCFunction
) _wrap_wxDC_MinX
, METH_VARARGS
| METH_KEYWORDS
},
13162 { "wxDC_MaxY", (PyCFunction
) _wrap_wxDC_MaxY
, METH_VARARGS
| METH_KEYWORDS
},
13163 { "wxDC_MaxX", (PyCFunction
) _wrap_wxDC_MaxX
, METH_VARARGS
| METH_KEYWORDS
},
13164 { "wxDC_LogicalToDeviceYRel", (PyCFunction
) _wrap_wxDC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
},
13165 { "wxDC_LogicalToDeviceY", (PyCFunction
) _wrap_wxDC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
},
13166 { "wxDC_LogicalToDeviceXRel", (PyCFunction
) _wrap_wxDC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
},
13167 { "wxDC_LogicalToDeviceX", (PyCFunction
) _wrap_wxDC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
},
13168 { "wxDC_GetUserScale", (PyCFunction
) _wrap_wxDC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
13169 { "wxDC_GetTextForeground", (PyCFunction
) _wrap_wxDC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
13170 { "wxDC_GetFullTextExtent", (PyCFunction
) _wrap_wxDC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
13171 { "wxDC_GetTextExtent", (PyCFunction
) _wrap_wxDC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
13172 { "wxDC_GetTextBackground", (PyCFunction
) _wrap_wxDC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
13173 { "wxDC_GetSizeMM", (PyCFunction
) _wrap_wxDC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
13174 { "wxDC_GetSize", (PyCFunction
) _wrap_wxDC_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
13175 { "wxDC_GetSizeTuple", (PyCFunction
) _wrap_wxDC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
13176 { "wxDC_GetPixel", (PyCFunction
) _wrap_wxDC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
13177 { "wxDC_GetPen", (PyCFunction
) _wrap_wxDC_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
13178 { "wxDC_GetOptimization", (PyCFunction
) _wrap_wxDC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
13179 { "wxDC_GetMapMode", (PyCFunction
) _wrap_wxDC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
13180 { "wxDC_GetLogicalScale", (PyCFunction
) _wrap_wxDC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
13181 { "wxDC_GetLogicalFunction", (PyCFunction
) _wrap_wxDC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
13182 { "wxDC_GetFont", (PyCFunction
) _wrap_wxDC_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
13183 { "wxDC_GetClippingBox", (PyCFunction
) _wrap_wxDC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
},
13184 { "wxDC_GetCharWidth", (PyCFunction
) _wrap_wxDC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
13185 { "wxDC_GetCharHeight", (PyCFunction
) _wrap_wxDC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
13186 { "wxDC_GetBrush", (PyCFunction
) _wrap_wxDC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
13187 { "wxDC_GetBackground", (PyCFunction
) _wrap_wxDC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
},
13188 { "wxDC_FloodFill", (PyCFunction
) _wrap_wxDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
},
13189 { "wxDC_EndPage", (PyCFunction
) _wrap_wxDC_EndPage
, METH_VARARGS
| METH_KEYWORDS
},
13190 { "wxDC_EndDrawing", (PyCFunction
) _wrap_wxDC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
},
13191 { "wxDC_EndDoc", (PyCFunction
) _wrap_wxDC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
},
13192 { "wxDC_DrawText", (PyCFunction
) _wrap_wxDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
13193 { "wxDC_DrawSpline", (PyCFunction
) _wrap_wxDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
13194 { "wxDC_DrawRoundedRectangle", (PyCFunction
) _wrap_wxDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
13195 { "wxDC_DrawRotatedText", (PyCFunction
) _wrap_wxDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
},
13196 { "wxDC_DrawRectangle", (PyCFunction
) _wrap_wxDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
13197 { "wxDC_DrawPoint", (PyCFunction
) _wrap_wxDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
13198 { "wxDC_DrawPolygon", (PyCFunction
) _wrap_wxDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
13199 { "wxDC_DrawLines", (PyCFunction
) _wrap_wxDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
13200 { "wxDC_DrawLine", (PyCFunction
) _wrap_wxDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
13201 { "wxDC_DrawImageLabel", (PyCFunction
) _wrap_wxDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
13202 { "wxDC_DrawLabel", (PyCFunction
) _wrap_wxDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
},
13203 { "wxDC_DrawIcon", (PyCFunction
) _wrap_wxDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
},
13204 { "wxDC_DrawEllipticArc", (PyCFunction
) _wrap_wxDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
13205 { "wxDC_DrawEllipse", (PyCFunction
) _wrap_wxDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
13206 { "wxDC_DrawCircle", (PyCFunction
) _wrap_wxDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
},
13207 { "wxDC_DrawArc", (PyCFunction
) _wrap_wxDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
13208 { "wxDC_DeviceToLogicalYRel", (PyCFunction
) _wrap_wxDC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
},
13209 { "wxDC_DeviceToLogicalY", (PyCFunction
) _wrap_wxDC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
},
13210 { "wxDC_DeviceToLogicalXRel", (PyCFunction
) _wrap_wxDC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
},
13211 { "wxDC_DeviceToLogicalX", (PyCFunction
) _wrap_wxDC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
},
13212 { "wxDC_DestroyClippingRegion", (PyCFunction
) _wrap_wxDC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
13213 { "wxDC_CrossHair", (PyCFunction
) _wrap_wxDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
},
13214 { "wxDC_Clear", (PyCFunction
) _wrap_wxDC_Clear
, METH_VARARGS
| METH_KEYWORDS
},
13215 { "wxDC_Blit", (PyCFunction
) _wrap_wxDC_Blit
, METH_VARARGS
| METH_KEYWORDS
},
13216 { "wxDC_BeginDrawing", (PyCFunction
) _wrap_wxDC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
},
13217 { "delete_wxDC", (PyCFunction
) _wrap_delete_wxDC
, METH_VARARGS
| METH_KEYWORDS
},
13218 { "wxBrushList_GetCount", (PyCFunction
) _wrap_wxBrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
13219 { "wxBrushList_RemoveBrush", (PyCFunction
) _wrap_wxBrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
},
13220 { "wxBrushList_FindOrCreateBrush", (PyCFunction
) _wrap_wxBrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
},
13221 { "wxBrushList_AddBrush", (PyCFunction
) _wrap_wxBrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
},
13222 { "wxBrush_SetStyle", (PyCFunction
) _wrap_wxBrush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
13223 { "wxBrush_SetStipple", (PyCFunction
) _wrap_wxBrush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
13224 { "wxBrush_SetColour", (PyCFunction
) _wrap_wxBrush_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
13225 { "wxBrush_Ok", (PyCFunction
) _wrap_wxBrush_Ok
, METH_VARARGS
| METH_KEYWORDS
},
13226 { "wxBrush_GetStyle", (PyCFunction
) _wrap_wxBrush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
13227 { "wxBrush_GetStipple", (PyCFunction
) _wrap_wxBrush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
13228 { "wxBrush_GetColour", (PyCFunction
) _wrap_wxBrush_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
13229 { "delete_wxBrush", (PyCFunction
) _wrap_delete_wxBrush
, METH_VARARGS
| METH_KEYWORDS
},
13230 { "new_wxBrush", (PyCFunction
) _wrap_new_wxBrush
, METH_VARARGS
| METH_KEYWORDS
},
13231 { "wxPenList_GetCount", (PyCFunction
) _wrap_wxPenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
13232 { "wxPenList_RemovePen", (PyCFunction
) _wrap_wxPenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
},
13233 { "wxPenList_FindOrCreatePen", (PyCFunction
) _wrap_wxPenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
},
13234 { "wxPenList_AddPen", (PyCFunction
) _wrap_wxPenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
},
13235 { "wxPyPen_SetDashes", (PyCFunction
) _wrap_wxPyPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
13236 { "delete_wxPyPen", (PyCFunction
) _wrap_delete_wxPyPen
, METH_VARARGS
| METH_KEYWORDS
},
13237 { "new_wxPyPen", (PyCFunction
) _wrap_new_wxPyPen
, METH_VARARGS
| METH_KEYWORDS
},
13238 { "wxPen_SetStipple", (PyCFunction
) _wrap_wxPen_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
13239 { "wxPen_GetStipple", (PyCFunction
) _wrap_wxPen_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
13240 { "wxPen_SetDashes", (PyCFunction
) _wrap_wxPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
13241 { "wxPen_SetWidth", (PyCFunction
) _wrap_wxPen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
13242 { "wxPen_SetStyle", (PyCFunction
) _wrap_wxPen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
13243 { "wxPen_SetJoin", (PyCFunction
) _wrap_wxPen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
},
13244 { "wxPen_SetColour", (PyCFunction
) _wrap_wxPen_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
13245 { "wxPen_SetCap", (PyCFunction
) _wrap_wxPen_SetCap
, METH_VARARGS
| METH_KEYWORDS
},
13246 { "wxPen_Ok", (PyCFunction
) _wrap_wxPen_Ok
, METH_VARARGS
| METH_KEYWORDS
},
13247 { "wxPen_GetWidth", (PyCFunction
) _wrap_wxPen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
13248 { "wxPen_GetStyle", (PyCFunction
) _wrap_wxPen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
13249 { "wxPen_GetJoin", (PyCFunction
) _wrap_wxPen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
},
13250 { "wxPen_GetColour", (PyCFunction
) _wrap_wxPen_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
13251 { "wxPen_GetCap", (PyCFunction
) _wrap_wxPen_GetCap
, METH_VARARGS
| METH_KEYWORDS
},
13252 { "delete_wxPen", (PyCFunction
) _wrap_delete_wxPen
, METH_VARARGS
| METH_KEYWORDS
},
13253 { "new_wxPen", (PyCFunction
) _wrap_new_wxPen
, METH_VARARGS
| METH_KEYWORDS
},
13254 { "wxColourDatabase_Append", (PyCFunction
) _wrap_wxColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
},
13255 { "wxColourDatabase_FindName", (PyCFunction
) _wrap_wxColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
},
13256 { "wxColourDatabase_FindColour", (PyCFunction
) _wrap_wxColourDatabase_FindColour
, METH_VARARGS
| METH_KEYWORDS
},
13257 { "wxColour_Get", (PyCFunction
) _wrap_wxColour_Get
, METH_VARARGS
| METH_KEYWORDS
},
13258 { "wxColour_Set", (PyCFunction
) _wrap_wxColour_Set
, METH_VARARGS
| METH_KEYWORDS
},
13259 { "wxColour_Ok", (PyCFunction
) _wrap_wxColour_Ok
, METH_VARARGS
| METH_KEYWORDS
},
13260 { "wxColour_Blue", (PyCFunction
) _wrap_wxColour_Blue
, METH_VARARGS
| METH_KEYWORDS
},
13261 { "wxColour_Green", (PyCFunction
) _wrap_wxColour_Green
, METH_VARARGS
| METH_KEYWORDS
},
13262 { "wxColour_Red", (PyCFunction
) _wrap_wxColour_Red
, METH_VARARGS
| METH_KEYWORDS
},
13263 { "delete_wxColour", (PyCFunction
) _wrap_delete_wxColour
, METH_VARARGS
| METH_KEYWORDS
},
13264 { "new_wxColour", (PyCFunction
) _wrap_new_wxColour
, METH_VARARGS
| METH_KEYWORDS
},
13265 { "wxFontList_GetCount", (PyCFunction
) _wrap_wxFontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
13266 { "wxFontList_RemoveFont", (PyCFunction
) _wrap_wxFontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
},
13267 { "wxFontList_FindOrCreateFont", (PyCFunction
) _wrap_wxFontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
},
13268 { "wxFontList_AddFont", (PyCFunction
) _wrap_wxFontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
},
13269 { "wxFont_SetDefaultEncoding", (PyCFunction
) _wrap_wxFont_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
13270 { "wxFont_GetDefaultEncoding", (PyCFunction
) _wrap_wxFont_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
13271 { "wxFont_GetWeightString", (PyCFunction
) _wrap_wxFont_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
},
13272 { "wxFont_GetStyleString", (PyCFunction
) _wrap_wxFont_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
},
13273 { "wxFont_GetFamilyString", (PyCFunction
) _wrap_wxFont_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
},
13274 { "wxFont_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_wxFont_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
13275 { "wxFont_SetNativeFontInfo", (PyCFunction
) _wrap_wxFont_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
13276 { "wxFont_SetEncoding", (PyCFunction
) _wrap_wxFont_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
13277 { "wxFont_SetUnderlined", (PyCFunction
) _wrap_wxFont_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
13278 { "wxFont_SetFaceName", (PyCFunction
) _wrap_wxFont_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
13279 { "wxFont_SetWeight", (PyCFunction
) _wrap_wxFont_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
13280 { "wxFont_SetStyle", (PyCFunction
) _wrap_wxFont_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
13281 { "wxFont_SetFamily", (PyCFunction
) _wrap_wxFont_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
13282 { "wxFont_SetPointSize", (PyCFunction
) _wrap_wxFont_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
13283 { "wxFont_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_wxFont_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
13284 { "wxFont_GetNativeFontInfoDesc", (PyCFunction
) _wrap_wxFont_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
},
13285 { "wxFont_GetNativeFontInfo", (PyCFunction
) _wrap_wxFont_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
13286 { "wxFont_IsFixedWidth", (PyCFunction
) _wrap_wxFont_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
13287 { "wxFont_GetEncoding", (PyCFunction
) _wrap_wxFont_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
13288 { "wxFont_GetFaceName", (PyCFunction
) _wrap_wxFont_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
13289 { "wxFont_GetUnderlined", (PyCFunction
) _wrap_wxFont_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
13290 { "wxFont_GetWeight", (PyCFunction
) _wrap_wxFont_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
13291 { "wxFont_GetStyle", (PyCFunction
) _wrap_wxFont_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
13292 { "wxFont_GetFamily", (PyCFunction
) _wrap_wxFont_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
13293 { "wxFont_GetPointSize", (PyCFunction
) _wrap_wxFont_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
13294 { "wxFont_Ok", (PyCFunction
) _wrap_wxFont_Ok
, METH_VARARGS
| METH_KEYWORDS
},
13295 { "delete_wxFont", (PyCFunction
) _wrap_delete_wxFont
, METH_VARARGS
| METH_KEYWORDS
},
13296 { "new_wxFontFromNativeInfo", (PyCFunction
) _wrap_new_wxFontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
},
13297 { "new_wxFont", (PyCFunction
) _wrap_new_wxFont
, METH_VARARGS
| METH_KEYWORDS
},
13298 { "wxFontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_wxFontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
13299 { "wxFontMapper_SetConfigPath", (PyCFunction
) _wrap_wxFontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
13300 { "wxFontMapper_SetConfig", (PyCFunction
) _wrap_wxFontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
},
13301 { "wxFontMapper_SetDialogTitle", (PyCFunction
) _wrap_wxFontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
},
13302 { "wxFontMapper_SetDialogParent", (PyCFunction
) _wrap_wxFontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
},
13303 { "wxFontMapper_GetEncodingDescription", (PyCFunction
) _wrap_wxFontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
},
13304 { "wxFontMapper_GetEncodingName", (PyCFunction
) _wrap_wxFontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
13305 { "wxFontMapper_CharsetToEncoding", (PyCFunction
) _wrap_wxFontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
},
13306 { "wxFontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_wxFontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
},
13307 { "wxFontMapper_GetAltForEncoding", (PyCFunction
) _wrap_wxFontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
},
13308 { "delete_wxFontMapper", (PyCFunction
) _wrap_delete_wxFontMapper
, METH_VARARGS
| METH_KEYWORDS
},
13309 { "new_wxFontMapper", (PyCFunction
) _wrap_new_wxFontMapper
, METH_VARARGS
| METH_KEYWORDS
},
13310 { "wxNativeFontInfo_ToUserString", (PyCFunction
) _wrap_wxNativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
},
13311 { "wxNativeFontInfo_FromUserString", (PyCFunction
) _wrap_wxNativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
},
13312 { "wxNativeFontInfo___str__", (PyCFunction
) _wrap_wxNativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
},
13313 { "wxNativeFontInfo_ToString", (PyCFunction
) _wrap_wxNativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
13314 { "wxNativeFontInfo_FromString", (PyCFunction
) _wrap_wxNativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
13315 { "wxNativeFontInfo_SetEncoding", (PyCFunction
) _wrap_wxNativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
13316 { "wxNativeFontInfo_SetFamily", (PyCFunction
) _wrap_wxNativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
13317 { "wxNativeFontInfo_SetFaceName", (PyCFunction
) _wrap_wxNativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
13318 { "wxNativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_wxNativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
13319 { "wxNativeFontInfo_SetWeight", (PyCFunction
) _wrap_wxNativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
13320 { "wxNativeFontInfo_SetStyle", (PyCFunction
) _wrap_wxNativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
13321 { "wxNativeFontInfo_SetPointSize", (PyCFunction
) _wrap_wxNativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
13322 { "wxNativeFontInfo_GetEncoding", (PyCFunction
) _wrap_wxNativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
13323 { "wxNativeFontInfo_GetFamily", (PyCFunction
) _wrap_wxNativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
13324 { "wxNativeFontInfo_GetFaceName", (PyCFunction
) _wrap_wxNativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
13325 { "wxNativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_wxNativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
13326 { "wxNativeFontInfo_GetWeight", (PyCFunction
) _wrap_wxNativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
13327 { "wxNativeFontInfo_GetStyle", (PyCFunction
) _wrap_wxNativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
13328 { "wxNativeFontInfo_GetPointSize", (PyCFunction
) _wrap_wxNativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
13329 { "wxNativeFontInfo_Init", (PyCFunction
) _wrap_wxNativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
},
13330 { "new_wxNativeFontInfo", (PyCFunction
) _wrap_new_wxNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
13331 { "wxCursor_SetSize", (PyCFunction
) _wrap_wxCursor_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
13332 { "wxCursor_SetDepth", (PyCFunction
) _wrap_wxCursor_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
13333 { "wxCursor_SetHeight", (PyCFunction
) _wrap_wxCursor_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
13334 { "wxCursor_SetWidth", (PyCFunction
) _wrap_wxCursor_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
13335 { "wxCursor_GetDepth", (PyCFunction
) _wrap_wxCursor_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
13336 { "wxCursor_GetHeight", (PyCFunction
) _wrap_wxCursor_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
13337 { "wxCursor_GetWidth", (PyCFunction
) _wrap_wxCursor_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
13338 { "wxCursor_Ok", (PyCFunction
) _wrap_wxCursor_Ok
, METH_VARARGS
| METH_KEYWORDS
},
13339 { "wxCursor_SetHandle", (PyCFunction
) _wrap_wxCursor_SetHandle
, METH_VARARGS
| METH_KEYWORDS
},
13340 { "wxCursor_GetHandle", (PyCFunction
) _wrap_wxCursor_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
13341 { "delete_wxCursor", (PyCFunction
) _wrap_delete_wxCursor
, METH_VARARGS
| METH_KEYWORDS
},
13342 { "new_wxCursor", (PyCFunction
) _wrap_new_wxCursor
, METH_VARARGS
| METH_KEYWORDS
},
13343 { "wxIcon_CopyFromBitmap", (PyCFunction
) _wrap_wxIcon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
13344 { "wxIcon_SetSize", (PyCFunction
) _wrap_wxIcon_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
13345 { "wxIcon_SetDepth", (PyCFunction
) _wrap_wxIcon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
13346 { "wxIcon_SetHeight", (PyCFunction
) _wrap_wxIcon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
13347 { "wxIcon_SetWidth", (PyCFunction
) _wrap_wxIcon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
13348 { "wxIcon_GetDepth", (PyCFunction
) _wrap_wxIcon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
13349 { "wxIcon_GetHeight", (PyCFunction
) _wrap_wxIcon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
13350 { "wxIcon_GetWidth", (PyCFunction
) _wrap_wxIcon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
13351 { "wxIcon_Ok", (PyCFunction
) _wrap_wxIcon_Ok
, METH_VARARGS
| METH_KEYWORDS
},
13352 { "wxIcon_SetHandle", (PyCFunction
) _wrap_wxIcon_SetHandle
, METH_VARARGS
| METH_KEYWORDS
},
13353 { "wxIcon_GetHandle", (PyCFunction
) _wrap_wxIcon_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
13354 { "wxIcon_LoadFile", (PyCFunction
) _wrap_wxIcon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
13355 { "delete_wxIcon", (PyCFunction
) _wrap_delete_wxIcon
, METH_VARARGS
| METH_KEYWORDS
},
13356 { "new_wxIcon", (PyCFunction
) _wrap_new_wxIcon
, METH_VARARGS
| METH_KEYWORDS
},
13357 { "wxMask_Destroy", (PyCFunction
) _wrap_wxMask_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
13358 { "new_wxMask", (PyCFunction
) _wrap_new_wxMask
, METH_VARARGS
| METH_KEYWORDS
},
13359 { "wxBitmap_SetQuality", (PyCFunction
) _wrap_wxBitmap_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
13360 { "wxBitmap_GetQuality", (PyCFunction
) _wrap_wxBitmap_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
13361 { "wxBitmap_CopyFromCursor", (PyCFunction
) _wrap_wxBitmap_CopyFromCursor
, METH_VARARGS
| METH_KEYWORDS
},
13362 { "wxBitmap_CopyFromIcon", (PyCFunction
) _wrap_wxBitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
13363 { "wxBitmap_GetSubBitmap", (PyCFunction
) _wrap_wxBitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
},
13364 { "wxBitmap_SetSize", (PyCFunction
) _wrap_wxBitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
13365 { "wxBitmap_SetDepth", (PyCFunction
) _wrap_wxBitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
13366 { "wxBitmap_SetHeight", (PyCFunction
) _wrap_wxBitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
13367 { "wxBitmap_SetWidth", (PyCFunction
) _wrap_wxBitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
13368 { "wxBitmap_GetDepth", (PyCFunction
) _wrap_wxBitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
13369 { "wxBitmap_GetHeight", (PyCFunction
) _wrap_wxBitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
13370 { "wxBitmap_GetWidth", (PyCFunction
) _wrap_wxBitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
13371 { "wxBitmap_Ok", (PyCFunction
) _wrap_wxBitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
},
13372 { "wxBitmap_SetHandle", (PyCFunction
) _wrap_wxBitmap_SetHandle
, METH_VARARGS
| METH_KEYWORDS
},
13373 { "wxBitmap_GetHandle", (PyCFunction
) _wrap_wxBitmap_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
13374 { "wxBitmap_SetPalette", (PyCFunction
) _wrap_wxBitmap_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
13375 { "wxBitmap_SetMask", (PyCFunction
) _wrap_wxBitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
13376 { "wxBitmap_SaveFile", (PyCFunction
) _wrap_wxBitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
13377 { "wxBitmap_LoadFile", (PyCFunction
) _wrap_wxBitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
13378 { "wxBitmap_GetMask", (PyCFunction
) _wrap_wxBitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
13379 { "wxBitmap_GetPalette", (PyCFunction
) _wrap_wxBitmap_GetPalette
, METH_VARARGS
| METH_KEYWORDS
},
13380 { "delete_wxBitmap", (PyCFunction
) _wrap_delete_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
13381 { "new_wxBitmap", (PyCFunction
) _wrap_new_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
13382 { "wxGDIObject_IsNull", (PyCFunction
) _wrap_wxGDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
13383 { "wxGDIObject_SetVisible", (PyCFunction
) _wrap_wxGDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
},
13384 { "wxGDIObject_GetVisible", (PyCFunction
) _wrap_wxGDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
},
13385 { "delete_wxGDIObject", (PyCFunction
) _wrap_delete_wxGDIObject
, METH_VARARGS
| METH_KEYWORDS
},
13386 { "new_wxGDIObject", (PyCFunction
) _wrap_new_wxGDIObject
, METH_VARARGS
| METH_KEYWORDS
},
13387 { "wxMemoryDCFromDC", (PyCFunction
) _wrap_wxMemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
},
13388 { "wxNamedColour", (PyCFunction
) _wrap_wxNamedColour
, METH_VARARGS
| METH_KEYWORDS
},
13389 { "wxStockCursor", (PyCFunction
) _wrap_wxStockCursor
, METH_VARARGS
| METH_KEYWORDS
},
13390 { "wxIconFromBitmap", (PyCFunction
) _wrap_wxIconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
13391 { "wxIconFromXPMData", (PyCFunction
) _wrap_wxIconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
13392 { "wxEmptyIcon", (PyCFunction
) _wrap_wxEmptyIcon
, METH_VARARGS
| METH_KEYWORDS
},
13393 { "wxMaskColour", (PyCFunction
) _wrap_wxMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
13394 { "wxBitmapFromBits", (PyCFunction
) _wrap_wxBitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
},
13395 { "wxBitmapFromIcon", (PyCFunction
) _wrap_wxBitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
13396 { "wxBitmapFromXPMData", (PyCFunction
) _wrap_wxBitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
13397 { "wxEmptyBitmap", (PyCFunction
) _wrap_wxEmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
},
13404 * This table is used by the pointer type-checker
13406 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
13407 { "_signed_long","_long",0},
13408 { "_wxPrintQuality","_wxCoord",0},
13409 { "_wxPrintQuality","_int",0},
13410 { "_wxPrintQuality","_signed_int",0},
13411 { "_wxPrintQuality","_unsigned_int",0},
13412 { "_wxPrintQuality","_wxWindowID",0},
13413 { "_wxPrintQuality","_uint",0},
13414 { "_wxPrintQuality","_EBool",0},
13415 { "_wxPrintQuality","_size_t",0},
13416 { "_wxPrintQuality","_time_t",0},
13417 { "_wxPen","_wxPyPen",SwigwxPyPenTowxPen
},
13418 { "_byte","_unsigned_char",0},
13419 { "_long","_unsigned_long",0},
13420 { "_long","_signed_long",0},
13421 { "_wxGDIObject","_wxRegion",SwigwxRegionTowxGDIObject
},
13422 { "_wxGDIObject","_wxPalette",SwigwxPaletteTowxGDIObject
},
13423 { "_wxGDIObject","_wxBrush",SwigwxBrushTowxGDIObject
},
13424 { "_wxGDIObject","_wxPyPen",SwigwxPyPenTowxGDIObject
},
13425 { "_wxGDIObject","_wxPen",SwigwxPenTowxGDIObject
},
13426 { "_wxGDIObject","_wxFont",SwigwxFontTowxGDIObject
},
13427 { "_wxGDIObject","_wxCursor",SwigwxCursorTowxGDIObject
},
13428 { "_wxGDIObject","_wxIcon",SwigwxIconTowxGDIObject
},
13429 { "_wxGDIObject","_wxBitmap",SwigwxBitmapTowxGDIObject
},
13430 { "_wxDC","_wxMetaFileDC",SwigwxMetaFileDCTowxDC
},
13431 { "_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC
},
13432 { "_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
},
13433 { "_wxDC","_wxClientDC",SwigwxClientDCTowxDC
},
13434 { "_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
},
13435 { "_wxDC","_wxBufferedPaintDC",SwigwxBufferedPaintDCTowxDC
},
13436 { "_wxDC","_wxBufferedDC",SwigwxBufferedDCTowxDC
},
13437 { "_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
},
13438 { "_size_t","_wxCoord",0},
13439 { "_size_t","_wxPrintQuality",0},
13440 { "_size_t","_time_t",0},
13441 { "_size_t","_unsigned_int",0},
13442 { "_size_t","_int",0},
13443 { "_size_t","_wxWindowID",0},
13444 { "_size_t","_uint",0},
13445 { "_uint","_wxCoord",0},
13446 { "_uint","_wxPrintQuality",0},
13447 { "_uint","_time_t",0},
13448 { "_uint","_size_t",0},
13449 { "_uint","_unsigned_int",0},
13450 { "_uint","_int",0},
13451 { "_uint","_wxWindowID",0},
13452 { "_wxChar","_char",0},
13453 { "_char","_wxChar",0},
13454 { "_wxBufferedDC","_wxBufferedPaintDC",SwigwxBufferedPaintDCTowxBufferedDC
},
13455 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
13456 { "_EBool","_wxCoord",0},
13457 { "_EBool","_wxPrintQuality",0},
13458 { "_EBool","_signed_int",0},
13459 { "_EBool","_int",0},
13460 { "_EBool","_wxWindowID",0},
13461 { "_unsigned_long","_long",0},
13462 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
13463 { "_signed_int","_wxCoord",0},
13464 { "_signed_int","_wxPrintQuality",0},
13465 { "_signed_int","_EBool",0},
13466 { "_signed_int","_wxWindowID",0},
13467 { "_signed_int","_int",0},
13468 { "_WXTYPE","_short",0},
13469 { "_WXTYPE","_signed_short",0},
13470 { "_WXTYPE","_unsigned_short",0},
13471 { "_unsigned_short","_WXTYPE",0},
13472 { "_unsigned_short","_short",0},
13473 { "_wxObject","_wxRegionIterator",SwigwxRegionIteratorTowxObject
},
13474 { "_wxObject","_wxRegion",SwigwxRegionTowxObject
},
13475 { "_wxObject","_wxImageList",SwigwxImageListTowxObject
},
13476 { "_wxObject","_wxPalette",SwigwxPaletteTowxObject
},
13477 { "_wxObject","_wxMetaFileDC",SwigwxMetaFileDCTowxObject
},
13478 { "_wxObject","_wxMetaFile",SwigwxMetaFileTowxObject
},
13479 { "_wxObject","_wxWindowDC",SwigwxWindowDCTowxObject
},
13480 { "_wxObject","_wxPaintDC",SwigwxPaintDCTowxObject
},
13481 { "_wxObject","_wxClientDC",SwigwxClientDCTowxObject
},
13482 { "_wxObject","_wxScreenDC",SwigwxScreenDCTowxObject
},
13483 { "_wxObject","_wxBufferedPaintDC",SwigwxBufferedPaintDCTowxObject
},
13484 { "_wxObject","_wxBufferedDC",SwigwxBufferedDCTowxObject
},
13485 { "_wxObject","_wxMemoryDC",SwigwxMemoryDCTowxObject
},
13486 { "_wxObject","_wxDC",SwigwxDCTowxObject
},
13487 { "_wxObject","_wxBrushList",SwigwxBrushListTowxObject
},
13488 { "_wxObject","_wxBrush",SwigwxBrushTowxObject
},
13489 { "_wxObject","_wxPenList",SwigwxPenListTowxObject
},
13490 { "_wxObject","_wxPyPen",SwigwxPyPenTowxObject
},
13491 { "_wxObject","_wxPen",SwigwxPenTowxObject
},
13492 { "_wxObject","_wxColourDatabase",SwigwxColourDatabaseTowxObject
},
13493 { "_wxObject","_wxColour",SwigwxColourTowxObject
},
13494 { "_wxObject","_wxFontList",SwigwxFontListTowxObject
},
13495 { "_wxObject","_wxFont",SwigwxFontTowxObject
},
13496 { "_wxObject","_wxCursor",SwigwxCursorTowxObject
},
13497 { "_wxObject","_wxIcon",SwigwxIconTowxObject
},
13498 { "_wxObject","_wxMask",SwigwxMaskTowxObject
},
13499 { "_wxObject","_wxBitmap",SwigwxBitmapTowxObject
},
13500 { "_wxObject","_wxGDIObject",SwigwxGDIObjectTowxObject
},
13501 { "_signed_short","_WXTYPE",0},
13502 { "_signed_short","_short",0},
13503 { "_wxMemoryDC","_wxBufferedPaintDC",SwigwxBufferedPaintDCTowxMemoryDC
},
13504 { "_wxMemoryDC","_wxBufferedDC",SwigwxBufferedDCTowxMemoryDC
},
13505 { "_unsigned_char","_byte",0},
13506 { "_unsigned_int","_wxCoord",0},
13507 { "_unsigned_int","_wxPrintQuality",0},
13508 { "_unsigned_int","_time_t",0},
13509 { "_unsigned_int","_size_t",0},
13510 { "_unsigned_int","_uint",0},
13511 { "_unsigned_int","_wxWindowID",0},
13512 { "_unsigned_int","_int",0},
13513 { "_short","_WXTYPE",0},
13514 { "_short","_unsigned_short",0},
13515 { "_short","_signed_short",0},
13516 { "_wxWindowID","_wxCoord",0},
13517 { "_wxWindowID","_wxPrintQuality",0},
13518 { "_wxWindowID","_time_t",0},
13519 { "_wxWindowID","_size_t",0},
13520 { "_wxWindowID","_EBool",0},
13521 { "_wxWindowID","_uint",0},
13522 { "_wxWindowID","_int",0},
13523 { "_wxWindowID","_signed_int",0},
13524 { "_wxWindowID","_unsigned_int",0},
13525 { "_int","_wxCoord",0},
13526 { "_int","_wxPrintQuality",0},
13527 { "_int","_time_t",0},
13528 { "_int","_size_t",0},
13529 { "_int","_EBool",0},
13530 { "_int","_uint",0},
13531 { "_int","_wxWindowID",0},
13532 { "_int","_unsigned_int",0},
13533 { "_int","_signed_int",0},
13534 { "_time_t","_wxCoord",0},
13535 { "_time_t","_wxPrintQuality",0},
13536 { "_time_t","_unsigned_int",0},
13537 { "_time_t","_int",0},
13538 { "_time_t","_wxWindowID",0},
13539 { "_time_t","_uint",0},
13540 { "_time_t","_size_t",0},
13541 { "_wxCoord","_int",0},
13542 { "_wxCoord","_signed_int",0},
13543 { "_wxCoord","_unsigned_int",0},
13544 { "_wxCoord","_wxWindowID",0},
13545 { "_wxCoord","_uint",0},
13546 { "_wxCoord","_EBool",0},
13547 { "_wxCoord","_size_t",0},
13548 { "_wxCoord","_time_t",0},
13549 { "_wxCoord","_wxPrintQuality",0},
13552 static PyObject
*SWIG_globals
;
13556 SWIGEXPORT(void) initgdic() {
13558 SWIG_globals
= SWIG_newvarlink();
13559 m
= Py_InitModule("gdic", gdicMethods
);
13560 d
= PyModule_GetDict(m
);
13561 PyDict_SetItemString(d
,"wxFONTFAMILY_DEFAULT", PyInt_FromLong((long) wxFONTFAMILY_DEFAULT
));
13562 PyDict_SetItemString(d
,"wxFONTFAMILY_DECORATIVE", PyInt_FromLong((long) wxFONTFAMILY_DECORATIVE
));
13563 PyDict_SetItemString(d
,"wxFONTFAMILY_ROMAN", PyInt_FromLong((long) wxFONTFAMILY_ROMAN
));
13564 PyDict_SetItemString(d
,"wxFONTFAMILY_SCRIPT", PyInt_FromLong((long) wxFONTFAMILY_SCRIPT
));
13565 PyDict_SetItemString(d
,"wxFONTFAMILY_SWISS", PyInt_FromLong((long) wxFONTFAMILY_SWISS
));
13566 PyDict_SetItemString(d
,"wxFONTFAMILY_MODERN", PyInt_FromLong((long) wxFONTFAMILY_MODERN
));
13567 PyDict_SetItemString(d
,"wxFONTFAMILY_TELETYPE", PyInt_FromLong((long) wxFONTFAMILY_TELETYPE
));
13568 PyDict_SetItemString(d
,"wxFONTFAMILY_MAX", PyInt_FromLong((long) wxFONTFAMILY_MAX
));
13569 PyDict_SetItemString(d
,"wxFONTFAMILY_UNKNOWN", PyInt_FromLong((long) wxFONTFAMILY_UNKNOWN
));
13570 PyDict_SetItemString(d
,"wxFONTSTYLE_NORMAL", PyInt_FromLong((long) wxFONTSTYLE_NORMAL
));
13571 PyDict_SetItemString(d
,"wxFONTSTYLE_ITALIC", PyInt_FromLong((long) wxFONTSTYLE_ITALIC
));
13572 PyDict_SetItemString(d
,"wxFONTSTYLE_SLANT", PyInt_FromLong((long) wxFONTSTYLE_SLANT
));
13573 PyDict_SetItemString(d
,"wxFONTSTYLE_MAX", PyInt_FromLong((long) wxFONTSTYLE_MAX
));
13574 PyDict_SetItemString(d
,"wxFONTWEIGHT_NORMAL", PyInt_FromLong((long) wxFONTWEIGHT_NORMAL
));
13575 PyDict_SetItemString(d
,"wxFONTWEIGHT_LIGHT", PyInt_FromLong((long) wxFONTWEIGHT_LIGHT
));
13576 PyDict_SetItemString(d
,"wxFONTWEIGHT_BOLD", PyInt_FromLong((long) wxFONTWEIGHT_BOLD
));
13577 PyDict_SetItemString(d
,"wxFONTWEIGHT_MAX", PyInt_FromLong((long) wxFONTWEIGHT_MAX
));
13578 PyDict_SetItemString(d
,"wxFONTENCODING_SYSTEM", PyInt_FromLong((long) wxFONTENCODING_SYSTEM
));
13579 PyDict_SetItemString(d
,"wxFONTENCODING_DEFAULT", PyInt_FromLong((long) wxFONTENCODING_DEFAULT
));
13580 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_1", PyInt_FromLong((long) wxFONTENCODING_ISO8859_1
));
13581 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_2", PyInt_FromLong((long) wxFONTENCODING_ISO8859_2
));
13582 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_3", PyInt_FromLong((long) wxFONTENCODING_ISO8859_3
));
13583 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_4", PyInt_FromLong((long) wxFONTENCODING_ISO8859_4
));
13584 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_5", PyInt_FromLong((long) wxFONTENCODING_ISO8859_5
));
13585 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_6", PyInt_FromLong((long) wxFONTENCODING_ISO8859_6
));
13586 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_7", PyInt_FromLong((long) wxFONTENCODING_ISO8859_7
));
13587 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_8", PyInt_FromLong((long) wxFONTENCODING_ISO8859_8
));
13588 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_9", PyInt_FromLong((long) wxFONTENCODING_ISO8859_9
));
13589 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_10", PyInt_FromLong((long) wxFONTENCODING_ISO8859_10
));
13590 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_11", PyInt_FromLong((long) wxFONTENCODING_ISO8859_11
));
13591 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_12", PyInt_FromLong((long) wxFONTENCODING_ISO8859_12
));
13592 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_13", PyInt_FromLong((long) wxFONTENCODING_ISO8859_13
));
13593 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_14", PyInt_FromLong((long) wxFONTENCODING_ISO8859_14
));
13594 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_15", PyInt_FromLong((long) wxFONTENCODING_ISO8859_15
));
13595 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_MAX", PyInt_FromLong((long) wxFONTENCODING_ISO8859_MAX
));
13596 PyDict_SetItemString(d
,"wxFONTENCODING_KOI8", PyInt_FromLong((long) wxFONTENCODING_KOI8
));
13597 PyDict_SetItemString(d
,"wxFONTENCODING_ALTERNATIVE", PyInt_FromLong((long) wxFONTENCODING_ALTERNATIVE
));
13598 PyDict_SetItemString(d
,"wxFONTENCODING_BULGARIAN", PyInt_FromLong((long) wxFONTENCODING_BULGARIAN
));
13599 PyDict_SetItemString(d
,"wxFONTENCODING_CP437", PyInt_FromLong((long) wxFONTENCODING_CP437
));
13600 PyDict_SetItemString(d
,"wxFONTENCODING_CP850", PyInt_FromLong((long) wxFONTENCODING_CP850
));
13601 PyDict_SetItemString(d
,"wxFONTENCODING_CP852", PyInt_FromLong((long) wxFONTENCODING_CP852
));
13602 PyDict_SetItemString(d
,"wxFONTENCODING_CP855", PyInt_FromLong((long) wxFONTENCODING_CP855
));
13603 PyDict_SetItemString(d
,"wxFONTENCODING_CP866", PyInt_FromLong((long) wxFONTENCODING_CP866
));
13604 PyDict_SetItemString(d
,"wxFONTENCODING_CP874", PyInt_FromLong((long) wxFONTENCODING_CP874
));
13605 PyDict_SetItemString(d
,"wxFONTENCODING_CP932", PyInt_FromLong((long) wxFONTENCODING_CP932
));
13606 PyDict_SetItemString(d
,"wxFONTENCODING_CP936", PyInt_FromLong((long) wxFONTENCODING_CP936
));
13607 PyDict_SetItemString(d
,"wxFONTENCODING_CP949", PyInt_FromLong((long) wxFONTENCODING_CP949
));
13608 PyDict_SetItemString(d
,"wxFONTENCODING_CP950", PyInt_FromLong((long) wxFONTENCODING_CP950
));
13609 PyDict_SetItemString(d
,"wxFONTENCODING_CP1250", PyInt_FromLong((long) wxFONTENCODING_CP1250
));
13610 PyDict_SetItemString(d
,"wxFONTENCODING_CP1251", PyInt_FromLong((long) wxFONTENCODING_CP1251
));
13611 PyDict_SetItemString(d
,"wxFONTENCODING_CP1252", PyInt_FromLong((long) wxFONTENCODING_CP1252
));
13612 PyDict_SetItemString(d
,"wxFONTENCODING_CP1253", PyInt_FromLong((long) wxFONTENCODING_CP1253
));
13613 PyDict_SetItemString(d
,"wxFONTENCODING_CP1254", PyInt_FromLong((long) wxFONTENCODING_CP1254
));
13614 PyDict_SetItemString(d
,"wxFONTENCODING_CP1255", PyInt_FromLong((long) wxFONTENCODING_CP1255
));
13615 PyDict_SetItemString(d
,"wxFONTENCODING_CP1256", PyInt_FromLong((long) wxFONTENCODING_CP1256
));
13616 PyDict_SetItemString(d
,"wxFONTENCODING_CP1257", PyInt_FromLong((long) wxFONTENCODING_CP1257
));
13617 PyDict_SetItemString(d
,"wxFONTENCODING_CP12_MAX", PyInt_FromLong((long) wxFONTENCODING_CP12_MAX
));
13618 PyDict_SetItemString(d
,"wxFONTENCODING_UTF7", PyInt_FromLong((long) wxFONTENCODING_UTF7
));
13619 PyDict_SetItemString(d
,"wxFONTENCODING_UTF8", PyInt_FromLong((long) wxFONTENCODING_UTF8
));
13620 PyDict_SetItemString(d
,"wxFONTENCODING_UNICODE", PyInt_FromLong((long) wxFONTENCODING_UNICODE
));
13621 PyDict_SetItemString(d
,"wxFONTENCODING_MAX", PyInt_FromLong((long) wxFONTENCODING_MAX
));
13622 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_NORMAL", PyInt_FromLong((long) wxIMAGELIST_DRAW_NORMAL
));
13623 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_TRANSPARENT", PyInt_FromLong((long) wxIMAGELIST_DRAW_TRANSPARENT
));
13624 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_SELECTED", PyInt_FromLong((long) wxIMAGELIST_DRAW_SELECTED
));
13625 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_FOCUSED", PyInt_FromLong((long) wxIMAGELIST_DRAW_FOCUSED
));
13626 PyDict_SetItemString(d
,"wxIMAGE_LIST_NORMAL", PyInt_FromLong((long) wxIMAGE_LIST_NORMAL
));
13627 PyDict_SetItemString(d
,"wxIMAGE_LIST_SMALL", PyInt_FromLong((long) wxIMAGE_LIST_SMALL
));
13628 PyDict_SetItemString(d
,"wxIMAGE_LIST_STATE", PyInt_FromLong((long) wxIMAGE_LIST_STATE
));
13629 PyDict_SetItemString(d
,"wxOutRegion", PyInt_FromLong((long) wxOutRegion
));
13630 PyDict_SetItemString(d
,"wxPartRegion", PyInt_FromLong((long) wxPartRegion
));
13631 PyDict_SetItemString(d
,"wxInRegion", PyInt_FromLong((long) wxInRegion
));
13632 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
13633 SWIG_addvarlink(SWIG_globals
,"wxNORMAL_FONT",_wrap_wxNORMAL_FONT_get
, _wrap_wxNORMAL_FONT_set
);
13634 SWIG_addvarlink(SWIG_globals
,"wxSMALL_FONT",_wrap_wxSMALL_FONT_get
, _wrap_wxSMALL_FONT_set
);
13635 SWIG_addvarlink(SWIG_globals
,"wxITALIC_FONT",_wrap_wxITALIC_FONT_get
, _wrap_wxITALIC_FONT_set
);
13636 SWIG_addvarlink(SWIG_globals
,"wxSWISS_FONT",_wrap_wxSWISS_FONT_get
, _wrap_wxSWISS_FONT_set
);
13637 SWIG_addvarlink(SWIG_globals
,"wxRED_PEN",_wrap_wxRED_PEN_get
, _wrap_wxRED_PEN_set
);
13638 SWIG_addvarlink(SWIG_globals
,"wxCYAN_PEN",_wrap_wxCYAN_PEN_get
, _wrap_wxCYAN_PEN_set
);
13639 SWIG_addvarlink(SWIG_globals
,"wxGREEN_PEN",_wrap_wxGREEN_PEN_get
, _wrap_wxGREEN_PEN_set
);
13640 SWIG_addvarlink(SWIG_globals
,"wxBLACK_PEN",_wrap_wxBLACK_PEN_get
, _wrap_wxBLACK_PEN_set
);
13641 SWIG_addvarlink(SWIG_globals
,"wxWHITE_PEN",_wrap_wxWHITE_PEN_get
, _wrap_wxWHITE_PEN_set
);
13642 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_PEN",_wrap_wxTRANSPARENT_PEN_get
, _wrap_wxTRANSPARENT_PEN_set
);
13643 SWIG_addvarlink(SWIG_globals
,"wxBLACK_DASHED_PEN",_wrap_wxBLACK_DASHED_PEN_get
, _wrap_wxBLACK_DASHED_PEN_set
);
13644 SWIG_addvarlink(SWIG_globals
,"wxGREY_PEN",_wrap_wxGREY_PEN_get
, _wrap_wxGREY_PEN_set
);
13645 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_PEN",_wrap_wxMEDIUM_GREY_PEN_get
, _wrap_wxMEDIUM_GREY_PEN_set
);
13646 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_PEN",_wrap_wxLIGHT_GREY_PEN_get
, _wrap_wxLIGHT_GREY_PEN_set
);
13647 SWIG_addvarlink(SWIG_globals
,"wxBLUE_BRUSH",_wrap_wxBLUE_BRUSH_get
, _wrap_wxBLUE_BRUSH_set
);
13648 SWIG_addvarlink(SWIG_globals
,"wxGREEN_BRUSH",_wrap_wxGREEN_BRUSH_get
, _wrap_wxGREEN_BRUSH_set
);
13649 SWIG_addvarlink(SWIG_globals
,"wxWHITE_BRUSH",_wrap_wxWHITE_BRUSH_get
, _wrap_wxWHITE_BRUSH_set
);
13650 SWIG_addvarlink(SWIG_globals
,"wxBLACK_BRUSH",_wrap_wxBLACK_BRUSH_get
, _wrap_wxBLACK_BRUSH_set
);
13651 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_BRUSH",_wrap_wxTRANSPARENT_BRUSH_get
, _wrap_wxTRANSPARENT_BRUSH_set
);
13652 SWIG_addvarlink(SWIG_globals
,"wxCYAN_BRUSH",_wrap_wxCYAN_BRUSH_get
, _wrap_wxCYAN_BRUSH_set
);
13653 SWIG_addvarlink(SWIG_globals
,"wxRED_BRUSH",_wrap_wxRED_BRUSH_get
, _wrap_wxRED_BRUSH_set
);
13654 SWIG_addvarlink(SWIG_globals
,"wxGREY_BRUSH",_wrap_wxGREY_BRUSH_get
, _wrap_wxGREY_BRUSH_set
);
13655 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_BRUSH",_wrap_wxMEDIUM_GREY_BRUSH_get
, _wrap_wxMEDIUM_GREY_BRUSH_set
);
13656 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_BRUSH",_wrap_wxLIGHT_GREY_BRUSH_get
, _wrap_wxLIGHT_GREY_BRUSH_set
);
13657 SWIG_addvarlink(SWIG_globals
,"wxBLACK",_wrap_wxBLACK_get
, _wrap_wxBLACK_set
);
13658 SWIG_addvarlink(SWIG_globals
,"wxWHITE",_wrap_wxWHITE_get
, _wrap_wxWHITE_set
);
13659 SWIG_addvarlink(SWIG_globals
,"wxRED",_wrap_wxRED_get
, _wrap_wxRED_set
);
13660 SWIG_addvarlink(SWIG_globals
,"wxBLUE",_wrap_wxBLUE_get
, _wrap_wxBLUE_set
);
13661 SWIG_addvarlink(SWIG_globals
,"wxGREEN",_wrap_wxGREEN_get
, _wrap_wxGREEN_set
);
13662 SWIG_addvarlink(SWIG_globals
,"wxCYAN",_wrap_wxCYAN_get
, _wrap_wxCYAN_set
);
13663 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY",_wrap_wxLIGHT_GREY_get
, _wrap_wxLIGHT_GREY_set
);
13664 SWIG_addvarlink(SWIG_globals
,"wxSTANDARD_CURSOR",_wrap_wxSTANDARD_CURSOR_get
, _wrap_wxSTANDARD_CURSOR_set
);
13665 SWIG_addvarlink(SWIG_globals
,"wxHOURGLASS_CURSOR",_wrap_wxHOURGLASS_CURSOR_get
, _wrap_wxHOURGLASS_CURSOR_set
);
13666 SWIG_addvarlink(SWIG_globals
,"wxCROSS_CURSOR",_wrap_wxCROSS_CURSOR_get
, _wrap_wxCROSS_CURSOR_set
);
13667 SWIG_addvarlink(SWIG_globals
,"wxNullBitmap",_wrap_wxNullBitmap_get
, _wrap_wxNullBitmap_set
);
13668 SWIG_addvarlink(SWIG_globals
,"wxNullIcon",_wrap_wxNullIcon_get
, _wrap_wxNullIcon_set
);
13669 SWIG_addvarlink(SWIG_globals
,"wxNullCursor",_wrap_wxNullCursor_get
, _wrap_wxNullCursor_set
);
13670 SWIG_addvarlink(SWIG_globals
,"wxNullPen",_wrap_wxNullPen_get
, _wrap_wxNullPen_set
);
13671 SWIG_addvarlink(SWIG_globals
,"wxNullBrush",_wrap_wxNullBrush_get
, _wrap_wxNullBrush_set
);
13672 SWIG_addvarlink(SWIG_globals
,"wxNullPalette",_wrap_wxNullPalette_get
, _wrap_wxNullPalette_set
);
13673 SWIG_addvarlink(SWIG_globals
,"wxNullFont",_wrap_wxNullFont_get
, _wrap_wxNullFont_set
);
13674 SWIG_addvarlink(SWIG_globals
,"wxNullColour",_wrap_wxNullColour_get
, _wrap_wxNullColour_set
);
13675 SWIG_addvarlink(SWIG_globals
,"wxTheFontList",_wrap_wxTheFontList_get
, _wrap_wxTheFontList_set
);
13676 SWIG_addvarlink(SWIG_globals
,"wxThePenList",_wrap_wxThePenList_get
, _wrap_wxThePenList_set
);
13677 SWIG_addvarlink(SWIG_globals
,"wxTheBrushList",_wrap_wxTheBrushList_get
, _wrap_wxTheBrushList_set
);
13678 SWIG_addvarlink(SWIG_globals
,"wxTheColourDatabase",_wrap_wxTheColourDatabase_get
, _wrap_wxTheColourDatabase_set
);
13681 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
13682 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);