2 * FILE : src/mac/gdi.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initgdic
56 #define SWIG_name "gdic"
59 #include <wx/imaglist.h>
60 #include <wx/fontmap.h>
61 #include <wx/fontenc.h>
62 #include <wx/fontmap.h>
63 #include <wx/fontutil.h>
64 #include <wx/dcbuffer.h>
65 #include <wx/iconbndl.h>
68 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
74 } else if (target
== Py_None
) {
78 if (!PyTuple_Check(target
)) {
80 target
= PyTuple_New(1);
81 PyTuple_SetItem(target
, 0, o2
);
84 PyTuple_SetItem(o3
, 0, o
);
87 target
= PySequence_Concat(o2
, o3
);
94 // Put some wx default wxChar* values into wxStrings.
95 static const wxString
wxPyEmptyString(wxT(""));
96 // Implementations of some alternate "constructors"
98 wxBitmap
* wxEmptyBitmap(int width
, int height
, int depth
=-1) {
99 return new wxBitmap(width
, height
, depth
);
102 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
103 char** cArray
= NULL
;
106 if (!PyList_Check(listOfStrings
)) {
107 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
110 count
= PyList_Size(listOfStrings
);
111 cArray
= new char*[count
];
113 for(int x
=0; x
<count
; x
++) {
114 // TODO: Need some validation and error checking here
115 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
121 wxBitmap
* wxBitmapFromXPMData(PyObject
* listOfStrings
) {
122 char** cArray
= NULL
;
125 cArray
= ConvertListOfStrings(listOfStrings
);
128 bmp
= new wxBitmap(cArray
);
134 wxBitmap
* wxBitmapFromIcon(const wxIcon
& icon
) {
135 return new wxBitmap(icon
);
139 wxBitmap
* wxBitmapFromBits(char* bits
, int width
, int height
, int depth
= 1 ) {
140 return new wxBitmap(bits
, width
, height
, depth
);
145 // wxBitmap* wxBitmapFromData(PyObject* data, long type,
146 // int width, int height, int depth = 1) {
147 // if (! PyString_Check(data)) {
148 // PyErr_SetString(PyExc_TypeError, "Expected string object");
151 // return new wxBitmap((void*)PyString_AsString(data), type, width, height, depth);
155 wxMask
* wxMaskColour(const wxBitmap
& bitmap
, const wxColour
& colour
) {
156 return new wxMask(bitmap
, colour
);
158 // Implementations of some alternate "constructors"
159 wxIcon
* wxEmptyIcon() {
163 wxIcon
* wxIconFromXPMData(PyObject
* listOfStrings
) {
164 char** cArray
= NULL
;
167 cArray
= ConvertListOfStrings(listOfStrings
);
170 icon
= new wxIcon(cArray
);
175 wxIcon
* wxIconFromBitmap(const wxBitmap
& bmp
) {
176 wxIcon
* icon
= new wxIcon();
177 icon
->CopyFromBitmap(bmp
);
180 // Alternate 'constructor'
181 wxCursor
* wxPyStockCursor(int id
) {
182 return new wxCursor(id
);
184 // Alternate 'constructor'
185 wxColour
* wxNamedColour(const wxString
& colorName
) {
186 return new wxColour(colorName
);
189 class wxPyPen
: public wxPen
{
191 wxPyPen(wxColour
& colour
, int width
=1, int style
=wxSOLID
)
192 : wxPen(colour
, width
, style
)
199 void SetDashes(int nb_dashes
, const wxDash
*dash
) {
202 m_dash
= new wxDash
[nb_dashes
];
203 for (int i
=0; i
<nb_dashes
; i
++) {
206 wxPen::SetDashes(nb_dashes
, m_dash
);
213 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
219 // Alternate 'constructor'
220 wxMemoryDC
* wxMemoryDCFromDC(wxDC
* oldDC
) {
221 return new wxMemoryDC(oldDC
);
225 extern wxFont
* wxNORMAL_FONT
;
226 extern wxFont
* wxSMALL_FONT
;
227 extern wxFont
* wxITALIC_FONT
;
228 extern wxFont
* wxSWISS_FONT
;
229 extern wxPen
* wxRED_PEN
;
230 extern wxPen
* wxCYAN_PEN
;
231 extern wxPen
* wxGREEN_PEN
;
232 extern wxPen
* wxBLACK_PEN
;
233 extern wxPen
* wxWHITE_PEN
;
234 extern wxPen
* wxTRANSPARENT_PEN
;
235 extern wxPen
* wxBLACK_DASHED_PEN
;
236 extern wxPen
* wxGREY_PEN
;
237 extern wxPen
* wxMEDIUM_GREY_PEN
;
238 extern wxPen
* wxLIGHT_GREY_PEN
;
239 extern wxBrush
* wxBLUE_BRUSH
;
240 extern wxBrush
* wxGREEN_BRUSH
;
241 extern wxBrush
* wxWHITE_BRUSH
;
242 extern wxBrush
* wxBLACK_BRUSH
;
243 extern wxBrush
* wxTRANSPARENT_BRUSH
;
244 extern wxBrush
* wxCYAN_BRUSH
;
245 extern wxBrush
* wxRED_BRUSH
;
246 extern wxBrush
* wxGREY_BRUSH
;
247 extern wxBrush
* wxMEDIUM_GREY_BRUSH
;
248 extern wxBrush
* wxLIGHT_GREY_BRUSH
;
249 extern wxColour
* wxBLACK
;
250 extern wxColour
* wxWHITE
;
251 extern wxColour
* wxRED
;
252 extern wxColour
* wxBLUE
;
253 extern wxColour
* wxGREEN
;
254 extern wxColour
* wxCYAN
;
255 extern wxColour
* wxLIGHT_GREY
;
256 extern wxCursor
* wxSTANDARD_CURSOR
;
257 extern wxCursor
* wxHOURGLASS_CURSOR
;
258 extern wxCursor
* wxCROSS_CURSOR
;
259 extern wxBitmap wxNullBitmap
;
260 extern wxIcon wxNullIcon
;
261 extern wxCursor wxNullCursor
;
262 extern wxPen wxNullPen
;
263 extern wxBrush wxNullBrush
;
264 extern wxPalette wxNullPalette
;
265 extern wxFont wxNullFont
;
266 extern wxColour wxNullColour
;
267 extern wxFontList
* wxTheFontList
;
268 extern wxPenList
* wxThePenList
;
269 extern wxBrushList
* wxTheBrushList
;
270 extern wxColourDatabase
* wxTheColourDatabase
;
276 static PyObject
*_wrap_wxEmptyBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
277 PyObject
* _resultobj
;
281 int _arg2
= (int ) -1;
282 char *_kwnames
[] = { "width","height","depth", NULL
};
286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ii|i:wxEmptyBitmap",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
290 _result
= (wxBitmap
*)wxEmptyBitmap(_arg0
,_arg1
,_arg2
);
292 wxPyEndAllowThreads(__tstate
);
293 if (PyErr_Occurred()) return NULL
;
295 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
296 _resultobj
= Py_BuildValue("s",_ptemp
);
299 _resultobj
= Py_None
;
304 static PyObject
*_wrap_wxBitmapFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
305 PyObject
* _resultobj
;
308 PyObject
* _obj0
= 0;
309 char *_kwnames
[] = { "listOfStrings", NULL
};
313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapFromXPMData",_kwnames
,&_obj0
))
319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
320 _result
= (wxBitmap
*)wxBitmapFromXPMData(_arg0
);
322 wxPyEndAllowThreads(__tstate
);
323 if (PyErr_Occurred()) return NULL
;
325 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
326 _resultobj
= Py_BuildValue("s",_ptemp
);
329 _resultobj
= Py_None
;
334 static PyObject
*_wrap_wxBitmapFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
335 PyObject
* _resultobj
;
338 PyObject
* _argo0
= 0;
339 char *_kwnames
[] = { "icon", NULL
};
343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapFromIcon",_kwnames
,&_argo0
))
346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapFromIcon. Expected _wxIcon_p.");
353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
354 _result
= (wxBitmap
*)wxBitmapFromIcon(*_arg0
);
356 wxPyEndAllowThreads(__tstate
);
357 if (PyErr_Occurred()) return NULL
;
359 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
360 _resultobj
= Py_BuildValue("s",_ptemp
);
363 _resultobj
= Py_None
;
368 static PyObject
*_wrap_wxBitmapFromBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
369 PyObject
* _resultobj
;
374 int _arg3
= (int ) 1;
375 char *_kwnames
[] = { "bits","width","height","depth", NULL
};
379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"sii|i:wxBitmapFromBits",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
383 _result
= (wxBitmap
*)wxBitmapFromBits(_arg0
,_arg1
,_arg2
,_arg3
);
385 wxPyEndAllowThreads(__tstate
);
386 if (PyErr_Occurred()) return NULL
;
388 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
389 _resultobj
= Py_BuildValue("s",_ptemp
);
392 _resultobj
= Py_None
;
397 static PyObject
*_wrap_wxMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
398 PyObject
* _resultobj
;
402 PyObject
* _argo0
= 0;
404 PyObject
* _obj1
= 0;
405 char *_kwnames
[] = { "bitmap","colour", NULL
};
409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMaskColour",_kwnames
,&_argo0
,&_obj1
))
412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMaskColour. Expected _wxBitmap_p.");
420 if (! wxColour_helper(_obj1
, &_arg1
))
424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
425 _result
= (wxMask
*)wxMaskColour(*_arg0
,*_arg1
);
427 wxPyEndAllowThreads(__tstate
);
428 if (PyErr_Occurred()) return NULL
;
430 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
431 _resultobj
= Py_BuildValue("s",_ptemp
);
434 _resultobj
= Py_None
;
439 static PyObject
*_wrap_wxEmptyIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
440 PyObject
* _resultobj
;
442 char *_kwnames
[] = { NULL
};
446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxEmptyIcon",_kwnames
))
449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
450 _result
= (wxIcon
*)wxEmptyIcon();
452 wxPyEndAllowThreads(__tstate
);
453 if (PyErr_Occurred()) return NULL
;
455 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
456 _resultobj
= Py_BuildValue("s",_ptemp
);
459 _resultobj
= Py_None
;
464 static PyObject
*_wrap_wxIconFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
465 PyObject
* _resultobj
;
468 PyObject
* _obj0
= 0;
469 char *_kwnames
[] = { "listOfStrings", NULL
};
473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIconFromXPMData",_kwnames
,&_obj0
))
479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
480 _result
= (wxIcon
*)wxIconFromXPMData(_arg0
);
482 wxPyEndAllowThreads(__tstate
);
483 if (PyErr_Occurred()) return NULL
;
485 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
486 _resultobj
= Py_BuildValue("s",_ptemp
);
489 _resultobj
= Py_None
;
494 static PyObject
*_wrap_wxIconFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
495 PyObject
* _resultobj
;
498 PyObject
* _argo0
= 0;
499 char *_kwnames
[] = { "bmp", NULL
};
503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIconFromBitmap",_kwnames
,&_argo0
))
506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIconFromBitmap. Expected _wxBitmap_p.");
513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
514 _result
= (wxIcon
*)wxIconFromBitmap(*_arg0
);
516 wxPyEndAllowThreads(__tstate
);
517 if (PyErr_Occurred()) return NULL
;
519 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
520 _resultobj
= Py_BuildValue("s",_ptemp
);
523 _resultobj
= Py_None
;
528 static PyObject
*_wrap_wxStockCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
529 PyObject
* _resultobj
;
532 char *_kwnames
[] = { "id", NULL
};
536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxStockCursor",_kwnames
,&_arg0
))
539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
540 _result
= (wxCursor
*)wxPyStockCursor(_arg0
);
542 wxPyEndAllowThreads(__tstate
);
543 if (PyErr_Occurred()) return NULL
;
545 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCursor_p");
546 _resultobj
= Py_BuildValue("s",_ptemp
);
549 _resultobj
= Py_None
;
554 static PyObject
*_wrap_wxNamedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
555 PyObject
* _resultobj
;
558 PyObject
* _obj0
= 0;
559 char *_kwnames
[] = { "colorName", NULL
};
563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNamedColour",_kwnames
,&_obj0
))
566 _arg0
= wxString_in_helper(_obj0
);
571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
572 _result
= (wxColour
*)wxNamedColour(*_arg0
);
574 wxPyEndAllowThreads(__tstate
);
575 if (PyErr_Occurred()) return NULL
;
577 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
578 _resultobj
= Py_BuildValue("s",_ptemp
);
581 _resultobj
= Py_None
;
590 static PyObject
*_wrap_wxMemoryDCFromDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
591 PyObject
* _resultobj
;
592 wxMemoryDC
* _result
;
594 PyObject
* _argo0
= 0;
595 char *_kwnames
[] = { "oldDC", NULL
};
599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMemoryDCFromDC",_kwnames
,&_argo0
))
602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDCFromDC. Expected _wxDC_p.");
609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
610 _result
= (wxMemoryDC
*)wxMemoryDCFromDC(_arg0
);
612 wxPyEndAllowThreads(__tstate
);
613 if (PyErr_Occurred()) return NULL
;
615 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
616 _resultobj
= Py_BuildValue("s",_ptemp
);
619 _resultobj
= Py_None
;
624 static int _wrap_wxNORMAL_FONT_set(PyObject
*val
) {
626 PyErr_SetString(PyExc_TypeError
,"Variable wxNORMAL_FONT is read-only.");
630 static PyObject
*_wrap_wxNORMAL_FONT_get() {
634 SWIG_MakePtr(ptemp
, (char *) wxNORMAL_FONT
,"_wxFont_p");
635 pyobj
= PyString_FromString(ptemp
);
639 static int _wrap_wxSMALL_FONT_set(PyObject
*val
) {
641 PyErr_SetString(PyExc_TypeError
,"Variable wxSMALL_FONT is read-only.");
645 static PyObject
*_wrap_wxSMALL_FONT_get() {
649 SWIG_MakePtr(ptemp
, (char *) wxSMALL_FONT
,"_wxFont_p");
650 pyobj
= PyString_FromString(ptemp
);
654 static int _wrap_wxITALIC_FONT_set(PyObject
*val
) {
656 PyErr_SetString(PyExc_TypeError
,"Variable wxITALIC_FONT is read-only.");
660 static PyObject
*_wrap_wxITALIC_FONT_get() {
664 SWIG_MakePtr(ptemp
, (char *) wxITALIC_FONT
,"_wxFont_p");
665 pyobj
= PyString_FromString(ptemp
);
669 static int _wrap_wxSWISS_FONT_set(PyObject
*val
) {
671 PyErr_SetString(PyExc_TypeError
,"Variable wxSWISS_FONT is read-only.");
675 static PyObject
*_wrap_wxSWISS_FONT_get() {
679 SWIG_MakePtr(ptemp
, (char *) wxSWISS_FONT
,"_wxFont_p");
680 pyobj
= PyString_FromString(ptemp
);
684 static int _wrap_wxRED_PEN_set(PyObject
*val
) {
686 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_PEN is read-only.");
690 static PyObject
*_wrap_wxRED_PEN_get() {
694 SWIG_MakePtr(ptemp
, (char *) wxRED_PEN
,"_wxPen_p");
695 pyobj
= PyString_FromString(ptemp
);
699 static int _wrap_wxCYAN_PEN_set(PyObject
*val
) {
701 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_PEN is read-only.");
705 static PyObject
*_wrap_wxCYAN_PEN_get() {
709 SWIG_MakePtr(ptemp
, (char *) wxCYAN_PEN
,"_wxPen_p");
710 pyobj
= PyString_FromString(ptemp
);
714 static int _wrap_wxGREEN_PEN_set(PyObject
*val
) {
716 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_PEN is read-only.");
720 static PyObject
*_wrap_wxGREEN_PEN_get() {
724 SWIG_MakePtr(ptemp
, (char *) wxGREEN_PEN
,"_wxPen_p");
725 pyobj
= PyString_FromString(ptemp
);
729 static int _wrap_wxBLACK_PEN_set(PyObject
*val
) {
731 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_PEN is read-only.");
735 static PyObject
*_wrap_wxBLACK_PEN_get() {
739 SWIG_MakePtr(ptemp
, (char *) wxBLACK_PEN
,"_wxPen_p");
740 pyobj
= PyString_FromString(ptemp
);
744 static int _wrap_wxWHITE_PEN_set(PyObject
*val
) {
746 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_PEN is read-only.");
750 static PyObject
*_wrap_wxWHITE_PEN_get() {
754 SWIG_MakePtr(ptemp
, (char *) wxWHITE_PEN
,"_wxPen_p");
755 pyobj
= PyString_FromString(ptemp
);
759 static int _wrap_wxTRANSPARENT_PEN_set(PyObject
*val
) {
761 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_PEN is read-only.");
765 static PyObject
*_wrap_wxTRANSPARENT_PEN_get() {
769 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_PEN
,"_wxPen_p");
770 pyobj
= PyString_FromString(ptemp
);
774 static int _wrap_wxBLACK_DASHED_PEN_set(PyObject
*val
) {
776 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_DASHED_PEN is read-only.");
780 static PyObject
*_wrap_wxBLACK_DASHED_PEN_get() {
784 SWIG_MakePtr(ptemp
, (char *) wxBLACK_DASHED_PEN
,"_wxPen_p");
785 pyobj
= PyString_FromString(ptemp
);
789 static int _wrap_wxGREY_PEN_set(PyObject
*val
) {
791 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_PEN is read-only.");
795 static PyObject
*_wrap_wxGREY_PEN_get() {
799 SWIG_MakePtr(ptemp
, (char *) wxGREY_PEN
,"_wxPen_p");
800 pyobj
= PyString_FromString(ptemp
);
804 static int _wrap_wxMEDIUM_GREY_PEN_set(PyObject
*val
) {
806 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_PEN is read-only.");
810 static PyObject
*_wrap_wxMEDIUM_GREY_PEN_get() {
814 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_PEN
,"_wxPen_p");
815 pyobj
= PyString_FromString(ptemp
);
819 static int _wrap_wxLIGHT_GREY_PEN_set(PyObject
*val
) {
821 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_PEN is read-only.");
825 static PyObject
*_wrap_wxLIGHT_GREY_PEN_get() {
829 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_PEN
,"_wxPen_p");
830 pyobj
= PyString_FromString(ptemp
);
834 static int _wrap_wxBLUE_BRUSH_set(PyObject
*val
) {
836 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE_BRUSH is read-only.");
840 static PyObject
*_wrap_wxBLUE_BRUSH_get() {
844 SWIG_MakePtr(ptemp
, (char *) wxBLUE_BRUSH
,"_wxBrush_p");
845 pyobj
= PyString_FromString(ptemp
);
849 static int _wrap_wxGREEN_BRUSH_set(PyObject
*val
) {
851 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_BRUSH is read-only.");
855 static PyObject
*_wrap_wxGREEN_BRUSH_get() {
859 SWIG_MakePtr(ptemp
, (char *) wxGREEN_BRUSH
,"_wxBrush_p");
860 pyobj
= PyString_FromString(ptemp
);
864 static int _wrap_wxWHITE_BRUSH_set(PyObject
*val
) {
866 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_BRUSH is read-only.");
870 static PyObject
*_wrap_wxWHITE_BRUSH_get() {
874 SWIG_MakePtr(ptemp
, (char *) wxWHITE_BRUSH
,"_wxBrush_p");
875 pyobj
= PyString_FromString(ptemp
);
879 static int _wrap_wxBLACK_BRUSH_set(PyObject
*val
) {
881 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_BRUSH is read-only.");
885 static PyObject
*_wrap_wxBLACK_BRUSH_get() {
889 SWIG_MakePtr(ptemp
, (char *) wxBLACK_BRUSH
,"_wxBrush_p");
890 pyobj
= PyString_FromString(ptemp
);
894 static int _wrap_wxTRANSPARENT_BRUSH_set(PyObject
*val
) {
896 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_BRUSH is read-only.");
900 static PyObject
*_wrap_wxTRANSPARENT_BRUSH_get() {
904 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_BRUSH
,"_wxBrush_p");
905 pyobj
= PyString_FromString(ptemp
);
909 static int _wrap_wxCYAN_BRUSH_set(PyObject
*val
) {
911 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_BRUSH is read-only.");
915 static PyObject
*_wrap_wxCYAN_BRUSH_get() {
919 SWIG_MakePtr(ptemp
, (char *) wxCYAN_BRUSH
,"_wxBrush_p");
920 pyobj
= PyString_FromString(ptemp
);
924 static int _wrap_wxRED_BRUSH_set(PyObject
*val
) {
926 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_BRUSH is read-only.");
930 static PyObject
*_wrap_wxRED_BRUSH_get() {
934 SWIG_MakePtr(ptemp
, (char *) wxRED_BRUSH
,"_wxBrush_p");
935 pyobj
= PyString_FromString(ptemp
);
939 static int _wrap_wxGREY_BRUSH_set(PyObject
*val
) {
941 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_BRUSH is read-only.");
945 static PyObject
*_wrap_wxGREY_BRUSH_get() {
949 SWIG_MakePtr(ptemp
, (char *) wxGREY_BRUSH
,"_wxBrush_p");
950 pyobj
= PyString_FromString(ptemp
);
954 static int _wrap_wxMEDIUM_GREY_BRUSH_set(PyObject
*val
) {
956 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_BRUSH is read-only.");
960 static PyObject
*_wrap_wxMEDIUM_GREY_BRUSH_get() {
964 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_BRUSH
,"_wxBrush_p");
965 pyobj
= PyString_FromString(ptemp
);
969 static int _wrap_wxLIGHT_GREY_BRUSH_set(PyObject
*val
) {
971 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_BRUSH is read-only.");
975 static PyObject
*_wrap_wxLIGHT_GREY_BRUSH_get() {
979 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_BRUSH
,"_wxBrush_p");
980 pyobj
= PyString_FromString(ptemp
);
984 static int _wrap_wxBLACK_set(PyObject
*val
) {
986 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK is read-only.");
990 static PyObject
*_wrap_wxBLACK_get() {
994 SWIG_MakePtr(ptemp
, (char *) wxBLACK
,"_wxColour_p");
995 pyobj
= PyString_FromString(ptemp
);
999 static int _wrap_wxWHITE_set(PyObject
*val
) {
1001 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE is read-only.");
1005 static PyObject
*_wrap_wxWHITE_get() {
1009 SWIG_MakePtr(ptemp
, (char *) wxWHITE
,"_wxColour_p");
1010 pyobj
= PyString_FromString(ptemp
);
1014 static int _wrap_wxRED_set(PyObject
*val
) {
1016 PyErr_SetString(PyExc_TypeError
,"Variable wxRED is read-only.");
1020 static PyObject
*_wrap_wxRED_get() {
1024 SWIG_MakePtr(ptemp
, (char *) wxRED
,"_wxColour_p");
1025 pyobj
= PyString_FromString(ptemp
);
1029 static int _wrap_wxBLUE_set(PyObject
*val
) {
1031 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE is read-only.");
1035 static PyObject
*_wrap_wxBLUE_get() {
1039 SWIG_MakePtr(ptemp
, (char *) wxBLUE
,"_wxColour_p");
1040 pyobj
= PyString_FromString(ptemp
);
1044 static int _wrap_wxGREEN_set(PyObject
*val
) {
1046 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN is read-only.");
1050 static PyObject
*_wrap_wxGREEN_get() {
1054 SWIG_MakePtr(ptemp
, (char *) wxGREEN
,"_wxColour_p");
1055 pyobj
= PyString_FromString(ptemp
);
1059 static int _wrap_wxCYAN_set(PyObject
*val
) {
1061 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN is read-only.");
1065 static PyObject
*_wrap_wxCYAN_get() {
1069 SWIG_MakePtr(ptemp
, (char *) wxCYAN
,"_wxColour_p");
1070 pyobj
= PyString_FromString(ptemp
);
1074 static int _wrap_wxLIGHT_GREY_set(PyObject
*val
) {
1076 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY is read-only.");
1080 static PyObject
*_wrap_wxLIGHT_GREY_get() {
1084 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY
,"_wxColour_p");
1085 pyobj
= PyString_FromString(ptemp
);
1089 static int _wrap_wxSTANDARD_CURSOR_set(PyObject
*val
) {
1091 PyErr_SetString(PyExc_TypeError
,"Variable wxSTANDARD_CURSOR is read-only.");
1095 static PyObject
*_wrap_wxSTANDARD_CURSOR_get() {
1099 SWIG_MakePtr(ptemp
, (char *) wxSTANDARD_CURSOR
,"_wxCursor_p");
1100 pyobj
= PyString_FromString(ptemp
);
1104 static int _wrap_wxHOURGLASS_CURSOR_set(PyObject
*val
) {
1106 PyErr_SetString(PyExc_TypeError
,"Variable wxHOURGLASS_CURSOR is read-only.");
1110 static PyObject
*_wrap_wxHOURGLASS_CURSOR_get() {
1114 SWIG_MakePtr(ptemp
, (char *) wxHOURGLASS_CURSOR
,"_wxCursor_p");
1115 pyobj
= PyString_FromString(ptemp
);
1119 static int _wrap_wxCROSS_CURSOR_set(PyObject
*val
) {
1121 PyErr_SetString(PyExc_TypeError
,"Variable wxCROSS_CURSOR is read-only.");
1125 static PyObject
*_wrap_wxCROSS_CURSOR_get() {
1129 SWIG_MakePtr(ptemp
, (char *) wxCROSS_CURSOR
,"_wxCursor_p");
1130 pyobj
= PyString_FromString(ptemp
);
1134 static int _wrap_wxNullBitmap_set(PyObject
*val
) {
1136 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBitmap is read-only.");
1140 static PyObject
*_wrap_wxNullBitmap_get() {
1144 SWIG_MakePtr(ptemp
,(char *) &wxNullBitmap
,"_wxBitmap_p");
1145 pyobj
= PyString_FromString(ptemp
);
1149 static int _wrap_wxNullIcon_set(PyObject
*val
) {
1151 PyErr_SetString(PyExc_TypeError
,"Variable wxNullIcon is read-only.");
1155 static PyObject
*_wrap_wxNullIcon_get() {
1159 SWIG_MakePtr(ptemp
,(char *) &wxNullIcon
,"_wxIcon_p");
1160 pyobj
= PyString_FromString(ptemp
);
1164 static int _wrap_wxNullCursor_set(PyObject
*val
) {
1166 PyErr_SetString(PyExc_TypeError
,"Variable wxNullCursor is read-only.");
1170 static PyObject
*_wrap_wxNullCursor_get() {
1174 SWIG_MakePtr(ptemp
,(char *) &wxNullCursor
,"_wxCursor_p");
1175 pyobj
= PyString_FromString(ptemp
);
1179 static int _wrap_wxNullPen_set(PyObject
*val
) {
1181 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPen is read-only.");
1185 static PyObject
*_wrap_wxNullPen_get() {
1189 SWIG_MakePtr(ptemp
,(char *) &wxNullPen
,"_wxPen_p");
1190 pyobj
= PyString_FromString(ptemp
);
1194 static int _wrap_wxNullBrush_set(PyObject
*val
) {
1196 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBrush is read-only.");
1200 static PyObject
*_wrap_wxNullBrush_get() {
1204 SWIG_MakePtr(ptemp
,(char *) &wxNullBrush
,"_wxBrush_p");
1205 pyobj
= PyString_FromString(ptemp
);
1209 static int _wrap_wxNullPalette_set(PyObject
*val
) {
1211 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPalette is read-only.");
1215 static PyObject
*_wrap_wxNullPalette_get() {
1219 SWIG_MakePtr(ptemp
,(char *) &wxNullPalette
,"_wxPalette_p");
1220 pyobj
= PyString_FromString(ptemp
);
1224 static int _wrap_wxNullFont_set(PyObject
*val
) {
1226 PyErr_SetString(PyExc_TypeError
,"Variable wxNullFont is read-only.");
1230 static PyObject
*_wrap_wxNullFont_get() {
1234 SWIG_MakePtr(ptemp
,(char *) &wxNullFont
,"_wxFont_p");
1235 pyobj
= PyString_FromString(ptemp
);
1239 static int _wrap_wxNullColour_set(PyObject
*val
) {
1241 PyErr_SetString(PyExc_TypeError
,"Variable wxNullColour is read-only.");
1245 static PyObject
*_wrap_wxNullColour_get() {
1249 SWIG_MakePtr(ptemp
,(char *) &wxNullColour
,"_wxColour_p");
1250 pyobj
= PyString_FromString(ptemp
);
1254 static int _wrap_wxTheFontList_set(PyObject
*val
) {
1256 PyErr_SetString(PyExc_TypeError
,"Variable wxTheFontList is read-only.");
1260 static PyObject
*_wrap_wxTheFontList_get() {
1264 SWIG_MakePtr(ptemp
, (char *) wxTheFontList
,"_wxFontList_p");
1265 pyobj
= PyString_FromString(ptemp
);
1269 static int _wrap_wxThePenList_set(PyObject
*val
) {
1271 PyErr_SetString(PyExc_TypeError
,"Variable wxThePenList is read-only.");
1275 static PyObject
*_wrap_wxThePenList_get() {
1279 SWIG_MakePtr(ptemp
, (char *) wxThePenList
,"_wxPenList_p");
1280 pyobj
= PyString_FromString(ptemp
);
1284 static int _wrap_wxTheBrushList_set(PyObject
*val
) {
1286 PyErr_SetString(PyExc_TypeError
,"Variable wxTheBrushList is read-only.");
1290 static PyObject
*_wrap_wxTheBrushList_get() {
1294 SWIG_MakePtr(ptemp
, (char *) wxTheBrushList
,"_wxBrushList_p");
1295 pyobj
= PyString_FromString(ptemp
);
1299 static int _wrap_wxTheColourDatabase_set(PyObject
*val
) {
1301 PyErr_SetString(PyExc_TypeError
,"Variable wxTheColourDatabase is read-only.");
1305 static PyObject
*_wrap_wxTheColourDatabase_get() {
1309 SWIG_MakePtr(ptemp
, (char *) wxTheColourDatabase
,"_wxColourDatabase_p");
1310 pyobj
= PyString_FromString(ptemp
);
1314 static void *SwigwxGDIObjectTowxObject(void *ptr
) {
1317 src
= (wxGDIObject
*) ptr
;
1318 dest
= (wxObject
*) src
;
1319 return (void *) dest
;
1322 #define new_wxGDIObject() (new wxGDIObject())
1323 static PyObject
*_wrap_new_wxGDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1324 PyObject
* _resultobj
;
1325 wxGDIObject
* _result
;
1326 char *_kwnames
[] = { NULL
};
1330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGDIObject",_kwnames
))
1333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1334 _result
= (wxGDIObject
*)new_wxGDIObject();
1336 wxPyEndAllowThreads(__tstate
);
1337 if (PyErr_Occurred()) return NULL
;
1339 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGDIObject_p");
1340 _resultobj
= Py_BuildValue("s",_ptemp
);
1343 _resultobj
= Py_None
;
1348 #define delete_wxGDIObject(_swigobj) (delete _swigobj)
1349 static PyObject
*_wrap_delete_wxGDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1350 PyObject
* _resultobj
;
1351 wxGDIObject
* _arg0
;
1352 PyObject
* _argo0
= 0;
1353 char *_kwnames
[] = { "self", NULL
};
1356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxGDIObject",_kwnames
,&_argo0
))
1359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGDIObject_p")) {
1361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxGDIObject. Expected _wxGDIObject_p.");
1366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1367 delete_wxGDIObject(_arg0
);
1369 wxPyEndAllowThreads(__tstate
);
1370 if (PyErr_Occurred()) return NULL
;
1371 } Py_INCREF(Py_None
);
1372 _resultobj
= Py_None
;
1376 #define wxGDIObject_GetVisible(_swigobj) (_swigobj->GetVisible())
1377 static PyObject
*_wrap_wxGDIObject_GetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1378 PyObject
* _resultobj
;
1380 wxGDIObject
* _arg0
;
1381 PyObject
* _argo0
= 0;
1382 char *_kwnames
[] = { "self", NULL
};
1385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGDIObject_GetVisible",_kwnames
,&_argo0
))
1388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGDIObject_p")) {
1390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGDIObject_GetVisible. Expected _wxGDIObject_p.");
1395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1396 _result
= (bool )wxGDIObject_GetVisible(_arg0
);
1398 wxPyEndAllowThreads(__tstate
);
1399 if (PyErr_Occurred()) return NULL
;
1400 } _resultobj
= Py_BuildValue("i",_result
);
1404 #define wxGDIObject_SetVisible(_swigobj,_swigarg0) (_swigobj->SetVisible(_swigarg0))
1405 static PyObject
*_wrap_wxGDIObject_SetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1406 PyObject
* _resultobj
;
1407 wxGDIObject
* _arg0
;
1409 PyObject
* _argo0
= 0;
1411 char *_kwnames
[] = { "self","visible", NULL
};
1414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGDIObject_SetVisible",_kwnames
,&_argo0
,&tempbool1
))
1417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGDIObject_p")) {
1419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGDIObject_SetVisible. Expected _wxGDIObject_p.");
1423 _arg1
= (bool ) tempbool1
;
1425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1426 wxGDIObject_SetVisible(_arg0
,_arg1
);
1428 wxPyEndAllowThreads(__tstate
);
1429 if (PyErr_Occurred()) return NULL
;
1430 } Py_INCREF(Py_None
);
1431 _resultobj
= Py_None
;
1435 #define wxGDIObject_IsNull(_swigobj) (_swigobj->IsNull())
1436 static PyObject
*_wrap_wxGDIObject_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1437 PyObject
* _resultobj
;
1439 wxGDIObject
* _arg0
;
1440 PyObject
* _argo0
= 0;
1441 char *_kwnames
[] = { "self", NULL
};
1444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGDIObject_IsNull",_kwnames
,&_argo0
))
1447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGDIObject_p")) {
1449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGDIObject_IsNull. Expected _wxGDIObject_p.");
1454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1455 _result
= (bool )wxGDIObject_IsNull(_arg0
);
1457 wxPyEndAllowThreads(__tstate
);
1458 if (PyErr_Occurred()) return NULL
;
1459 } _resultobj
= Py_BuildValue("i",_result
);
1463 static void *SwigwxBitmapTowxGDIObject(void *ptr
) {
1466 src
= (wxBitmap
*) ptr
;
1467 dest
= (wxGDIObject
*) src
;
1468 return (void *) dest
;
1471 static void *SwigwxBitmapTowxObject(void *ptr
) {
1474 src
= (wxBitmap
*) ptr
;
1475 dest
= (wxObject
*) src
;
1476 return (void *) dest
;
1479 #define new_wxBitmap(_swigarg0,_swigarg1) (new wxBitmap(_swigarg0,_swigarg1))
1480 static PyObject
*_wrap_new_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1481 PyObject
* _resultobj
;
1484 wxBitmapType _arg1
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
1485 PyObject
* _obj0
= 0;
1486 char *_kwnames
[] = { "name","type", NULL
};
1490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxBitmap",_kwnames
,&_obj0
,&_arg1
))
1493 _arg0
= wxString_in_helper(_obj0
);
1498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1499 _result
= (wxBitmap
*)new_wxBitmap(*_arg0
,_arg1
);
1501 wxPyEndAllowThreads(__tstate
);
1502 if (PyErr_Occurred()) return NULL
;
1504 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1505 _resultobj
= Py_BuildValue("s",_ptemp
);
1508 _resultobj
= Py_None
;
1517 #define delete_wxBitmap(_swigobj) (delete _swigobj)
1518 static PyObject
*_wrap_delete_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1519 PyObject
* _resultobj
;
1521 PyObject
* _argo0
= 0;
1522 char *_kwnames
[] = { "self", NULL
};
1525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBitmap",_kwnames
,&_argo0
))
1528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBitmap. Expected _wxBitmap_p.");
1535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1536 delete_wxBitmap(_arg0
);
1538 wxPyEndAllowThreads(__tstate
);
1539 if (PyErr_Occurred()) return NULL
;
1540 } Py_INCREF(Py_None
);
1541 _resultobj
= Py_None
;
1545 #define wxBitmap_GetPalette(_swigobj) (_swigobj->GetPalette())
1546 static PyObject
*_wrap_wxBitmap_GetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1547 PyObject
* _resultobj
;
1548 wxPalette
* _result
;
1550 PyObject
* _argo0
= 0;
1551 char *_kwnames
[] = { "self", NULL
};
1555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetPalette",_kwnames
,&_argo0
))
1558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetPalette. Expected _wxBitmap_p.");
1565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1566 _result
= (wxPalette
*)wxBitmap_GetPalette(_arg0
);
1568 wxPyEndAllowThreads(__tstate
);
1569 if (PyErr_Occurred()) return NULL
;
1571 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
1572 _resultobj
= Py_BuildValue("s",_ptemp
);
1575 _resultobj
= Py_None
;
1580 #define wxBitmap_GetMask(_swigobj) (_swigobj->GetMask())
1581 static PyObject
*_wrap_wxBitmap_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1582 PyObject
* _resultobj
;
1585 PyObject
* _argo0
= 0;
1586 char *_kwnames
[] = { "self", NULL
};
1590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetMask",_kwnames
,&_argo0
))
1593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetMask. Expected _wxBitmap_p.");
1600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1601 _result
= (wxMask
*)wxBitmap_GetMask(_arg0
);
1603 wxPyEndAllowThreads(__tstate
);
1604 if (PyErr_Occurred()) return NULL
;
1606 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
1607 _resultobj
= Py_BuildValue("s",_ptemp
);
1610 _resultobj
= Py_None
;
1615 #define wxBitmap_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1616 static PyObject
*_wrap_wxBitmap_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1617 PyObject
* _resultobj
;
1621 wxBitmapType _arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
1622 PyObject
* _argo0
= 0;
1623 PyObject
* _obj1
= 0;
1624 char *_kwnames
[] = { "self","name","type", NULL
};
1627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxBitmap_LoadFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_LoadFile. Expected _wxBitmap_p.");
1637 _arg1
= wxString_in_helper(_obj1
);
1642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1643 _result
= (bool )wxBitmap_LoadFile(_arg0
,*_arg1
,_arg2
);
1645 wxPyEndAllowThreads(__tstate
);
1646 if (PyErr_Occurred()) return NULL
;
1647 } _resultobj
= Py_BuildValue("i",_result
);
1655 #define wxBitmap_SaveFile(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SaveFile(_swigarg0,_swigarg1,_swigarg2))
1656 static PyObject
*_wrap_wxBitmap_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1657 PyObject
* _resultobj
;
1662 wxPalette
* _arg3
= (wxPalette
*) NULL
;
1663 PyObject
* _argo0
= 0;
1664 PyObject
* _obj1
= 0;
1665 PyObject
* _argo3
= 0;
1666 char *_kwnames
[] = { "self","name","type","palette", NULL
};
1669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|O:wxBitmap_SaveFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_argo3
))
1672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SaveFile. Expected _wxBitmap_p.");
1679 _arg1
= wxString_in_helper(_obj1
);
1684 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1685 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxPalette_p")) {
1686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxBitmap_SaveFile. Expected _wxPalette_p.");
1691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1692 _result
= (bool )wxBitmap_SaveFile(_arg0
,*_arg1
,_arg2
,_arg3
);
1694 wxPyEndAllowThreads(__tstate
);
1695 if (PyErr_Occurred()) return NULL
;
1696 } _resultobj
= Py_BuildValue("i",_result
);
1704 #define wxBitmap_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
1705 static PyObject
*_wrap_wxBitmap_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1706 PyObject
* _resultobj
;
1709 PyObject
* _argo0
= 0;
1710 PyObject
* _argo1
= 0;
1711 char *_kwnames
[] = { "self","mask", NULL
};
1714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_SetMask",_kwnames
,&_argo0
,&_argo1
))
1717 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1718 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetMask. Expected _wxBitmap_p.");
1724 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1725 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMask_p")) {
1726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_SetMask. Expected _wxMask_p.");
1731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1732 wxBitmap_SetMask(_arg0
,_arg1
);
1734 wxPyEndAllowThreads(__tstate
);
1735 if (PyErr_Occurred()) return NULL
;
1736 } Py_INCREF(Py_None
);
1737 _resultobj
= Py_None
;
1741 #define wxBitmap_Ok(_swigobj) (_swigobj->Ok())
1742 static PyObject
*_wrap_wxBitmap_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1743 PyObject
* _resultobj
;
1746 PyObject
* _argo0
= 0;
1747 char *_kwnames
[] = { "self", NULL
};
1750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_Ok",_kwnames
,&_argo0
))
1753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_Ok. Expected _wxBitmap_p.");
1760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1761 _result
= (bool )wxBitmap_Ok(_arg0
);
1763 wxPyEndAllowThreads(__tstate
);
1764 if (PyErr_Occurred()) return NULL
;
1765 } _resultobj
= Py_BuildValue("i",_result
);
1769 #define wxBitmap_GetWidth(_swigobj) (_swigobj->GetWidth())
1770 static PyObject
*_wrap_wxBitmap_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1771 PyObject
* _resultobj
;
1774 PyObject
* _argo0
= 0;
1775 char *_kwnames
[] = { "self", NULL
};
1778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetWidth",_kwnames
,&_argo0
))
1781 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1782 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetWidth. Expected _wxBitmap_p.");
1788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1789 _result
= (int )wxBitmap_GetWidth(_arg0
);
1791 wxPyEndAllowThreads(__tstate
);
1792 if (PyErr_Occurred()) return NULL
;
1793 } _resultobj
= Py_BuildValue("i",_result
);
1797 #define wxBitmap_GetHeight(_swigobj) (_swigobj->GetHeight())
1798 static PyObject
*_wrap_wxBitmap_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1799 PyObject
* _resultobj
;
1802 PyObject
* _argo0
= 0;
1803 char *_kwnames
[] = { "self", NULL
};
1806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetHeight",_kwnames
,&_argo0
))
1809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetHeight. Expected _wxBitmap_p.");
1816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1817 _result
= (int )wxBitmap_GetHeight(_arg0
);
1819 wxPyEndAllowThreads(__tstate
);
1820 if (PyErr_Occurred()) return NULL
;
1821 } _resultobj
= Py_BuildValue("i",_result
);
1825 #define wxBitmap_GetDepth(_swigobj) (_swigobj->GetDepth())
1826 static PyObject
*_wrap_wxBitmap_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1827 PyObject
* _resultobj
;
1830 PyObject
* _argo0
= 0;
1831 char *_kwnames
[] = { "self", NULL
};
1834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetDepth",_kwnames
,&_argo0
))
1837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetDepth. Expected _wxBitmap_p.");
1844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1845 _result
= (int )wxBitmap_GetDepth(_arg0
);
1847 wxPyEndAllowThreads(__tstate
);
1848 if (PyErr_Occurred()) return NULL
;
1849 } _resultobj
= Py_BuildValue("i",_result
);
1853 #define wxBitmap_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1854 static PyObject
*_wrap_wxBitmap_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1855 PyObject
* _resultobj
;
1858 PyObject
* _argo0
= 0;
1859 char *_kwnames
[] = { "self","w", NULL
};
1862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetWidth",_kwnames
,&_argo0
,&_arg1
))
1865 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1866 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetWidth. Expected _wxBitmap_p.");
1872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1873 wxBitmap_SetWidth(_arg0
,_arg1
);
1875 wxPyEndAllowThreads(__tstate
);
1876 if (PyErr_Occurred()) return NULL
;
1877 } Py_INCREF(Py_None
);
1878 _resultobj
= Py_None
;
1882 #define wxBitmap_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1883 static PyObject
*_wrap_wxBitmap_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1884 PyObject
* _resultobj
;
1887 PyObject
* _argo0
= 0;
1888 char *_kwnames
[] = { "self","h", NULL
};
1891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetHeight",_kwnames
,&_argo0
,&_arg1
))
1894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetHeight. Expected _wxBitmap_p.");
1901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1902 wxBitmap_SetHeight(_arg0
,_arg1
);
1904 wxPyEndAllowThreads(__tstate
);
1905 if (PyErr_Occurred()) return NULL
;
1906 } Py_INCREF(Py_None
);
1907 _resultobj
= Py_None
;
1911 #define wxBitmap_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
1912 static PyObject
*_wrap_wxBitmap_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1913 PyObject
* _resultobj
;
1916 PyObject
* _argo0
= 0;
1917 char *_kwnames
[] = { "self","d", NULL
};
1920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetDepth",_kwnames
,&_argo0
,&_arg1
))
1923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetDepth. Expected _wxBitmap_p.");
1930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1931 wxBitmap_SetDepth(_arg0
,_arg1
);
1933 wxPyEndAllowThreads(__tstate
);
1934 if (PyErr_Occurred()) return NULL
;
1935 } Py_INCREF(Py_None
);
1936 _resultobj
= Py_None
;
1940 #define wxBitmap_GetSubBitmap(_swigobj,_swigarg0) (_swigobj->GetSubBitmap(_swigarg0))
1941 static PyObject
*_wrap_wxBitmap_GetSubBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1942 PyObject
* _resultobj
;
1946 PyObject
* _argo0
= 0;
1948 PyObject
* _obj1
= 0;
1949 char *_kwnames
[] = { "self","rect", NULL
};
1953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_GetSubBitmap",_kwnames
,&_argo0
,&_obj1
))
1956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetSubBitmap. Expected _wxBitmap_p.");
1964 if (! wxRect_helper(_obj1
, &_arg1
))
1968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1969 _result
= new wxBitmap (wxBitmap_GetSubBitmap(_arg0
,*_arg1
));
1971 wxPyEndAllowThreads(__tstate
);
1972 if (PyErr_Occurred()) return NULL
;
1973 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1974 _resultobj
= Py_BuildValue("s",_ptemp
);
1978 #define wxBitmap_CopyFromIcon(_swigobj,_swigarg0) (_swigobj->CopyFromIcon(_swigarg0))
1979 static PyObject
*_wrap_wxBitmap_CopyFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1980 PyObject
* _resultobj
;
1984 PyObject
* _argo0
= 0;
1985 PyObject
* _argo1
= 0;
1986 char *_kwnames
[] = { "self","icon", NULL
};
1989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_CopyFromIcon",_kwnames
,&_argo0
,&_argo1
))
1992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_CopyFromIcon. Expected _wxBitmap_p.");
1999 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2000 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
2001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_CopyFromIcon. Expected _wxIcon_p.");
2006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2007 _result
= (bool )wxBitmap_CopyFromIcon(_arg0
,*_arg1
);
2009 wxPyEndAllowThreads(__tstate
);
2010 if (PyErr_Occurred()) return NULL
;
2011 } _resultobj
= Py_BuildValue("i",_result
);
2015 static void *SwigwxMaskTowxObject(void *ptr
) {
2018 src
= (wxMask
*) ptr
;
2019 dest
= (wxObject
*) src
;
2020 return (void *) dest
;
2023 #define new_wxMask(_swigarg0) (new wxMask(_swigarg0))
2024 static PyObject
*_wrap_new_wxMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2025 PyObject
* _resultobj
;
2028 PyObject
* _argo0
= 0;
2029 char *_kwnames
[] = { "bitmap", NULL
};
2033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxMask",_kwnames
,&_argo0
))
2036 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2037 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
2038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMask. Expected _wxBitmap_p.");
2043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2044 _result
= (wxMask
*)new_wxMask(*_arg0
);
2046 wxPyEndAllowThreads(__tstate
);
2047 if (PyErr_Occurred()) return NULL
;
2049 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
2050 _resultobj
= Py_BuildValue("s",_ptemp
);
2053 _resultobj
= Py_None
;
2058 static void wxMask_Destroy(wxMask
*self
) { delete self
; }
2059 static PyObject
*_wrap_wxMask_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2060 PyObject
* _resultobj
;
2062 PyObject
* _argo0
= 0;
2063 char *_kwnames
[] = { "self", NULL
};
2066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMask_Destroy",_kwnames
,&_argo0
))
2069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMask_p")) {
2071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMask_Destroy. Expected _wxMask_p.");
2076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2077 wxMask_Destroy(_arg0
);
2079 wxPyEndAllowThreads(__tstate
);
2080 if (PyErr_Occurred()) return NULL
;
2081 } Py_INCREF(Py_None
);
2082 _resultobj
= Py_None
;
2086 static void *SwigwxIconTowxGDIObject(void *ptr
) {
2089 src
= (wxIcon
*) ptr
;
2090 dest
= (wxGDIObject
*) src
;
2091 return (void *) dest
;
2094 static void *SwigwxIconTowxObject(void *ptr
) {
2097 src
= (wxIcon
*) ptr
;
2098 dest
= (wxObject
*) src
;
2099 return (void *) dest
;
2102 #define new_wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2103 static PyObject
*_wrap_new_wxIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2104 PyObject
* _resultobj
;
2108 int _arg2
= (int ) -1;
2109 int _arg3
= (int ) -1;
2110 PyObject
* _obj0
= 0;
2111 char *_kwnames
[] = { "name","flags","desiredWidth","desiredHeight", NULL
};
2115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:new_wxIcon",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
))
2118 _arg0
= wxString_in_helper(_obj0
);
2123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2124 _result
= (wxIcon
*)new_wxIcon(*_arg0
,_arg1
,_arg2
,_arg3
);
2126 wxPyEndAllowThreads(__tstate
);
2127 if (PyErr_Occurred()) return NULL
;
2129 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
2130 _resultobj
= Py_BuildValue("s",_ptemp
);
2133 _resultobj
= Py_None
;
2142 #define delete_wxIcon(_swigobj) (delete _swigobj)
2143 static PyObject
*_wrap_delete_wxIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2144 PyObject
* _resultobj
;
2146 PyObject
* _argo0
= 0;
2147 char *_kwnames
[] = { "self", NULL
};
2150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxIcon",_kwnames
,&_argo0
))
2153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxIcon. Expected _wxIcon_p.");
2160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2161 delete_wxIcon(_arg0
);
2163 wxPyEndAllowThreads(__tstate
);
2164 if (PyErr_Occurred()) return NULL
;
2165 } Py_INCREF(Py_None
);
2166 _resultobj
= Py_None
;
2170 #define wxIcon_Ok(_swigobj) (_swigobj->Ok())
2171 static PyObject
*_wrap_wxIcon_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2172 PyObject
* _resultobj
;
2175 PyObject
* _argo0
= 0;
2176 char *_kwnames
[] = { "self", NULL
};
2179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_Ok",_kwnames
,&_argo0
))
2182 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2183 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_Ok. Expected _wxIcon_p.");
2189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2190 _result
= (bool )wxIcon_Ok(_arg0
);
2192 wxPyEndAllowThreads(__tstate
);
2193 if (PyErr_Occurred()) return NULL
;
2194 } _resultobj
= Py_BuildValue("i",_result
);
2198 #define wxIcon_GetWidth(_swigobj) (_swigobj->GetWidth())
2199 static PyObject
*_wrap_wxIcon_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2200 PyObject
* _resultobj
;
2203 PyObject
* _argo0
= 0;
2204 char *_kwnames
[] = { "self", NULL
};
2207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetWidth",_kwnames
,&_argo0
))
2210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetWidth. Expected _wxIcon_p.");
2217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2218 _result
= (int )wxIcon_GetWidth(_arg0
);
2220 wxPyEndAllowThreads(__tstate
);
2221 if (PyErr_Occurred()) return NULL
;
2222 } _resultobj
= Py_BuildValue("i",_result
);
2226 #define wxIcon_GetHeight(_swigobj) (_swigobj->GetHeight())
2227 static PyObject
*_wrap_wxIcon_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2228 PyObject
* _resultobj
;
2231 PyObject
* _argo0
= 0;
2232 char *_kwnames
[] = { "self", NULL
};
2235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetHeight",_kwnames
,&_argo0
))
2238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetHeight. Expected _wxIcon_p.");
2245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2246 _result
= (int )wxIcon_GetHeight(_arg0
);
2248 wxPyEndAllowThreads(__tstate
);
2249 if (PyErr_Occurred()) return NULL
;
2250 } _resultobj
= Py_BuildValue("i",_result
);
2254 #define wxIcon_GetDepth(_swigobj) (_swigobj->GetDepth())
2255 static PyObject
*_wrap_wxIcon_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2256 PyObject
* _resultobj
;
2259 PyObject
* _argo0
= 0;
2260 char *_kwnames
[] = { "self", NULL
};
2263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetDepth",_kwnames
,&_argo0
))
2266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetDepth. Expected _wxIcon_p.");
2273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2274 _result
= (int )wxIcon_GetDepth(_arg0
);
2276 wxPyEndAllowThreads(__tstate
);
2277 if (PyErr_Occurred()) return NULL
;
2278 } _resultobj
= Py_BuildValue("i",_result
);
2282 #define wxIcon_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2283 static PyObject
*_wrap_wxIcon_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2284 PyObject
* _resultobj
;
2287 PyObject
* _argo0
= 0;
2288 char *_kwnames
[] = { "self","w", NULL
};
2291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetWidth",_kwnames
,&_argo0
,&_arg1
))
2294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetWidth. Expected _wxIcon_p.");
2301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2302 wxIcon_SetWidth(_arg0
,_arg1
);
2304 wxPyEndAllowThreads(__tstate
);
2305 if (PyErr_Occurred()) return NULL
;
2306 } Py_INCREF(Py_None
);
2307 _resultobj
= Py_None
;
2311 #define wxIcon_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
2312 static PyObject
*_wrap_wxIcon_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2313 PyObject
* _resultobj
;
2316 PyObject
* _argo0
= 0;
2317 char *_kwnames
[] = { "self","h", NULL
};
2320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetHeight",_kwnames
,&_argo0
,&_arg1
))
2323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetHeight. Expected _wxIcon_p.");
2330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2331 wxIcon_SetHeight(_arg0
,_arg1
);
2333 wxPyEndAllowThreads(__tstate
);
2334 if (PyErr_Occurred()) return NULL
;
2335 } Py_INCREF(Py_None
);
2336 _resultobj
= Py_None
;
2340 #define wxIcon_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
2341 static PyObject
*_wrap_wxIcon_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2342 PyObject
* _resultobj
;
2345 PyObject
* _argo0
= 0;
2346 char *_kwnames
[] = { "self","d", NULL
};
2349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetDepth",_kwnames
,&_argo0
,&_arg1
))
2352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetDepth. Expected _wxIcon_p.");
2359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2360 wxIcon_SetDepth(_arg0
,_arg1
);
2362 wxPyEndAllowThreads(__tstate
);
2363 if (PyErr_Occurred()) return NULL
;
2364 } Py_INCREF(Py_None
);
2365 _resultobj
= Py_None
;
2369 #define wxIcon_CopyFromBitmap(_swigobj,_swigarg0) (_swigobj->CopyFromBitmap(_swigarg0))
2370 static PyObject
*_wrap_wxIcon_CopyFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2371 PyObject
* _resultobj
;
2374 PyObject
* _argo0
= 0;
2375 PyObject
* _argo1
= 0;
2376 char *_kwnames
[] = { "self","bmp", NULL
};
2379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIcon_CopyFromBitmap",_kwnames
,&_argo0
,&_argo1
))
2382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_CopyFromBitmap. Expected _wxIcon_p.");
2389 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2390 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
2391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIcon_CopyFromBitmap. Expected _wxBitmap_p.");
2396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2397 wxIcon_CopyFromBitmap(_arg0
,*_arg1
);
2399 wxPyEndAllowThreads(__tstate
);
2400 if (PyErr_Occurred()) return NULL
;
2401 } Py_INCREF(Py_None
);
2402 _resultobj
= Py_None
;
2406 #define new_wxIconBundle() (new wxIconBundle())
2407 static PyObject
*_wrap_new_wxIconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2408 PyObject
* _resultobj
;
2409 wxIconBundle
* _result
;
2410 char *_kwnames
[] = { NULL
};
2414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxIconBundle",_kwnames
))
2417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2418 _result
= (wxIconBundle
*)new_wxIconBundle();
2420 wxPyEndAllowThreads(__tstate
);
2421 if (PyErr_Occurred()) return NULL
;
2423 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIconBundle_p");
2424 _resultobj
= Py_BuildValue("s",_ptemp
);
2427 _resultobj
= Py_None
;
2432 #define new_wxIconBundleFromFile(_swigarg0,_swigarg1) (new wxIconBundle(_swigarg0,_swigarg1))
2433 static PyObject
*_wrap_new_wxIconBundleFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2434 PyObject
* _resultobj
;
2435 wxIconBundle
* _result
;
2438 PyObject
* _obj0
= 0;
2439 char *_kwnames
[] = { "file","type", NULL
};
2443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:new_wxIconBundleFromFile",_kwnames
,&_obj0
,&_arg1
))
2446 _arg0
= wxString_in_helper(_obj0
);
2451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2452 _result
= (wxIconBundle
*)new_wxIconBundleFromFile(*_arg0
,_arg1
);
2454 wxPyEndAllowThreads(__tstate
);
2455 if (PyErr_Occurred()) return NULL
;
2457 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIconBundle_p");
2458 _resultobj
= Py_BuildValue("s",_ptemp
);
2461 _resultobj
= Py_None
;
2470 #define new_wxIconBundleFromIcon(_swigarg0) (new wxIconBundle(_swigarg0))
2471 static PyObject
*_wrap_new_wxIconBundleFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2472 PyObject
* _resultobj
;
2473 wxIconBundle
* _result
;
2475 PyObject
* _argo0
= 0;
2476 char *_kwnames
[] = { "icon", NULL
};
2480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxIconBundleFromIcon",_kwnames
,&_argo0
))
2483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxIconBundleFromIcon. Expected _wxIcon_p.");
2490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2491 _result
= (wxIconBundle
*)new_wxIconBundleFromIcon(*_arg0
);
2493 wxPyEndAllowThreads(__tstate
);
2494 if (PyErr_Occurred()) return NULL
;
2496 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIconBundle_p");
2497 _resultobj
= Py_BuildValue("s",_ptemp
);
2500 _resultobj
= Py_None
;
2505 #define delete_wxIconBundle(_swigobj) (delete _swigobj)
2506 static PyObject
*_wrap_delete_wxIconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2507 PyObject
* _resultobj
;
2508 wxIconBundle
* _arg0
;
2509 PyObject
* _argo0
= 0;
2510 char *_kwnames
[] = { "self", NULL
};
2513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxIconBundle",_kwnames
,&_argo0
))
2516 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2517 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIconBundle_p")) {
2518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxIconBundle. Expected _wxIconBundle_p.");
2523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2524 delete_wxIconBundle(_arg0
);
2526 wxPyEndAllowThreads(__tstate
);
2527 if (PyErr_Occurred()) return NULL
;
2528 } Py_INCREF(Py_None
);
2529 _resultobj
= Py_None
;
2533 #define wxIconBundle_AddIcon(_swigobj,_swigarg0) (_swigobj->AddIcon(_swigarg0))
2534 static PyObject
*_wrap_wxIconBundle_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2535 PyObject
* _resultobj
;
2536 wxIconBundle
* _arg0
;
2538 PyObject
* _argo0
= 0;
2539 PyObject
* _argo1
= 0;
2540 char *_kwnames
[] = { "self","icon", NULL
};
2543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIconBundle_AddIcon",_kwnames
,&_argo0
,&_argo1
))
2546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIconBundle_p")) {
2548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIconBundle_AddIcon. Expected _wxIconBundle_p.");
2553 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2554 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
2555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIconBundle_AddIcon. Expected _wxIcon_p.");
2560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2561 wxIconBundle_AddIcon(_arg0
,*_arg1
);
2563 wxPyEndAllowThreads(__tstate
);
2564 if (PyErr_Occurred()) return NULL
;
2565 } Py_INCREF(Py_None
);
2566 _resultobj
= Py_None
;
2570 #define wxIconBundle_AddIconFromFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddIcon(_swigarg0,_swigarg1))
2571 static PyObject
*_wrap_wxIconBundle_AddIconFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2572 PyObject
* _resultobj
;
2573 wxIconBundle
* _arg0
;
2576 PyObject
* _argo0
= 0;
2577 PyObject
* _obj1
= 0;
2578 char *_kwnames
[] = { "self","file","type", NULL
};
2581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOl:wxIconBundle_AddIconFromFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
2584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIconBundle_p")) {
2586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIconBundle_AddIconFromFile. Expected _wxIconBundle_p.");
2591 _arg1
= wxString_in_helper(_obj1
);
2596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2597 wxIconBundle_AddIconFromFile(_arg0
,*_arg1
,_arg2
);
2599 wxPyEndAllowThreads(__tstate
);
2600 if (PyErr_Occurred()) return NULL
;
2601 } Py_INCREF(Py_None
);
2602 _resultobj
= Py_None
;
2610 #define wxIconBundle_GetIcon(_swigobj,_swigarg0) (_swigobj->GetIcon(_swigarg0))
2611 static PyObject
*_wrap_wxIconBundle_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2612 PyObject
* _resultobj
;
2614 wxIconBundle
* _arg0
;
2616 PyObject
* _argo0
= 0;
2618 PyObject
* _obj1
= 0;
2619 char *_kwnames
[] = { "self","size", NULL
};
2623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIconBundle_GetIcon",_kwnames
,&_argo0
,&_obj1
))
2626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIconBundle_p")) {
2628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIconBundle_GetIcon. Expected _wxIconBundle_p.");
2634 if (! wxSize_helper(_obj1
, &_arg1
))
2638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2639 const wxIcon
& _result_ref
= wxIconBundle_GetIcon(_arg0
,*_arg1
);
2640 _result
= (wxIcon
*) &_result_ref
;
2642 wxPyEndAllowThreads(__tstate
);
2643 if (PyErr_Occurred()) return NULL
;
2645 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
2646 _resultobj
= Py_BuildValue("s",_ptemp
);
2649 _resultobj
= Py_None
;
2654 static void *SwigwxCursorTowxGDIObject(void *ptr
) {
2657 src
= (wxCursor
*) ptr
;
2658 dest
= (wxGDIObject
*) src
;
2659 return (void *) dest
;
2662 static void *SwigwxCursorTowxObject(void *ptr
) {
2665 src
= (wxCursor
*) ptr
;
2666 dest
= (wxObject
*) src
;
2667 return (void *) dest
;
2670 #define delete_wxCursor(_swigobj) (delete _swigobj)
2671 static PyObject
*_wrap_delete_wxCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2672 PyObject
* _resultobj
;
2674 PyObject
* _argo0
= 0;
2675 char *_kwnames
[] = { "self", NULL
};
2678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCursor",_kwnames
,&_argo0
))
2681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCursor. Expected _wxCursor_p.");
2688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2689 delete_wxCursor(_arg0
);
2691 wxPyEndAllowThreads(__tstate
);
2692 if (PyErr_Occurred()) return NULL
;
2693 } Py_INCREF(Py_None
);
2694 _resultobj
= Py_None
;
2698 #define wxCursor_Ok(_swigobj) (_swigobj->Ok())
2699 static PyObject
*_wrap_wxCursor_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2700 PyObject
* _resultobj
;
2703 PyObject
* _argo0
= 0;
2704 char *_kwnames
[] = { "self", NULL
};
2707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCursor_Ok",_kwnames
,&_argo0
))
2710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_Ok. Expected _wxCursor_p.");
2717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2718 _result
= (bool )wxCursor_Ok(_arg0
);
2720 wxPyEndAllowThreads(__tstate
);
2721 if (PyErr_Occurred()) return NULL
;
2722 } _resultobj
= Py_BuildValue("i",_result
);
2726 static void *SwigwxColourTowxObject(void *ptr
) {
2729 src
= (wxColour
*) ptr
;
2730 dest
= (wxObject
*) src
;
2731 return (void *) dest
;
2734 #define new_wxColour(_swigarg0,_swigarg1,_swigarg2) (new wxColour(_swigarg0,_swigarg1,_swigarg2))
2735 static PyObject
*_wrap_new_wxColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2736 PyObject
* _resultobj
;
2738 unsigned char _arg0
= (unsigned char ) 0;
2739 unsigned char _arg1
= (unsigned char ) 0;
2740 unsigned char _arg2
= (unsigned char ) 0;
2741 char *_kwnames
[] = { "red","green","blue", NULL
};
2745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|bbb:new_wxColour",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
2748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2749 _result
= (wxColour
*)new_wxColour(_arg0
,_arg1
,_arg2
);
2751 wxPyEndAllowThreads(__tstate
);
2752 if (PyErr_Occurred()) return NULL
;
2754 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
2755 _resultobj
= Py_BuildValue("s",_ptemp
);
2758 _resultobj
= Py_None
;
2763 #define delete_wxColour(_swigobj) (delete _swigobj)
2764 static PyObject
*_wrap_delete_wxColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2765 PyObject
* _resultobj
;
2768 PyObject
* _obj0
= 0;
2769 char *_kwnames
[] = { "self", NULL
};
2772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxColour",_kwnames
,&_obj0
))
2776 if (! wxColour_helper(_obj0
, &_arg0
))
2780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2781 delete_wxColour(_arg0
);
2783 wxPyEndAllowThreads(__tstate
);
2784 if (PyErr_Occurred()) return NULL
;
2785 } Py_INCREF(Py_None
);
2786 _resultobj
= Py_None
;
2790 #define wxColour_Red(_swigobj) (_swigobj->Red())
2791 static PyObject
*_wrap_wxColour_Red(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2792 PyObject
* _resultobj
;
2793 unsigned char _result
;
2796 PyObject
* _obj0
= 0;
2797 char *_kwnames
[] = { "self", NULL
};
2800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Red",_kwnames
,&_obj0
))
2804 if (! wxColour_helper(_obj0
, &_arg0
))
2808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2809 _result
= (unsigned char )wxColour_Red(_arg0
);
2811 wxPyEndAllowThreads(__tstate
);
2812 if (PyErr_Occurred()) return NULL
;
2813 } _resultobj
= Py_BuildValue("b",_result
);
2817 #define wxColour_Green(_swigobj) (_swigobj->Green())
2818 static PyObject
*_wrap_wxColour_Green(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2819 PyObject
* _resultobj
;
2820 unsigned char _result
;
2823 PyObject
* _obj0
= 0;
2824 char *_kwnames
[] = { "self", NULL
};
2827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Green",_kwnames
,&_obj0
))
2831 if (! wxColour_helper(_obj0
, &_arg0
))
2835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2836 _result
= (unsigned char )wxColour_Green(_arg0
);
2838 wxPyEndAllowThreads(__tstate
);
2839 if (PyErr_Occurred()) return NULL
;
2840 } _resultobj
= Py_BuildValue("b",_result
);
2844 #define wxColour_Blue(_swigobj) (_swigobj->Blue())
2845 static PyObject
*_wrap_wxColour_Blue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2846 PyObject
* _resultobj
;
2847 unsigned char _result
;
2850 PyObject
* _obj0
= 0;
2851 char *_kwnames
[] = { "self", NULL
};
2854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Blue",_kwnames
,&_obj0
))
2858 if (! wxColour_helper(_obj0
, &_arg0
))
2862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2863 _result
= (unsigned char )wxColour_Blue(_arg0
);
2865 wxPyEndAllowThreads(__tstate
);
2866 if (PyErr_Occurred()) return NULL
;
2867 } _resultobj
= Py_BuildValue("b",_result
);
2871 #define wxColour_Ok(_swigobj) (_swigobj->Ok())
2872 static PyObject
*_wrap_wxColour_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2873 PyObject
* _resultobj
;
2877 PyObject
* _obj0
= 0;
2878 char *_kwnames
[] = { "self", NULL
};
2881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Ok",_kwnames
,&_obj0
))
2885 if (! wxColour_helper(_obj0
, &_arg0
))
2889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2890 _result
= (bool )wxColour_Ok(_arg0
);
2892 wxPyEndAllowThreads(__tstate
);
2893 if (PyErr_Occurred()) return NULL
;
2894 } _resultobj
= Py_BuildValue("i",_result
);
2898 #define wxColour_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
2899 static PyObject
*_wrap_wxColour_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2900 PyObject
* _resultobj
;
2902 unsigned char _arg1
;
2903 unsigned char _arg2
;
2904 unsigned char _arg3
;
2906 PyObject
* _obj0
= 0;
2907 char *_kwnames
[] = { "self","red","green","blue", NULL
};
2910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Obbb:wxColour_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
))
2914 if (! wxColour_helper(_obj0
, &_arg0
))
2918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2919 wxColour_Set(_arg0
,_arg1
,_arg2
,_arg3
);
2921 wxPyEndAllowThreads(__tstate
);
2922 if (PyErr_Occurred()) return NULL
;
2923 } Py_INCREF(Py_None
);
2924 _resultobj
= Py_None
;
2928 static PyObject
* wxColour_Get(wxColour
*self
) {
2929 PyObject
* rv
= PyTuple_New(3);
2930 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
2931 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
2932 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
2935 static PyObject
*_wrap_wxColour_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2936 PyObject
* _resultobj
;
2940 PyObject
* _obj0
= 0;
2941 char *_kwnames
[] = { "self", NULL
};
2944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Get",_kwnames
,&_obj0
))
2948 if (! wxColour_helper(_obj0
, &_arg0
))
2952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2953 _result
= (PyObject
*)wxColour_Get(_arg0
);
2955 wxPyEndAllowThreads(__tstate
);
2956 if (PyErr_Occurred()) return NULL
;
2958 _resultobj
= _result
;
2963 static void *SwigwxColourDatabaseTowxObject(void *ptr
) {
2964 wxColourDatabase
*src
;
2966 src
= (wxColourDatabase
*) ptr
;
2967 dest
= (wxObject
*) src
;
2968 return (void *) dest
;
2971 #define wxColourDatabase_FindColour(_swigobj,_swigarg0) (_swigobj->FindColour(_swigarg0))
2972 static PyObject
*_wrap_wxColourDatabase_FindColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2973 PyObject
* _resultobj
;
2975 wxColourDatabase
* _arg0
;
2977 PyObject
* _argo0
= 0;
2978 PyObject
* _obj1
= 0;
2979 char *_kwnames
[] = { "self","colour", NULL
};
2983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxColourDatabase_FindColour",_kwnames
,&_argo0
,&_obj1
))
2986 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2987 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
2988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_FindColour. Expected _wxColourDatabase_p.");
2993 _arg1
= wxString_in_helper(_obj1
);
2998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2999 _result
= (wxColour
*)wxColourDatabase_FindColour(_arg0
,*_arg1
);
3001 wxPyEndAllowThreads(__tstate
);
3002 if (PyErr_Occurred()) return NULL
;
3004 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3005 _resultobj
= Py_BuildValue("s",_ptemp
);
3008 _resultobj
= Py_None
;
3017 #define wxColourDatabase_FindName(_swigobj,_swigarg0) (_swigobj->FindName(_swigarg0))
3018 static PyObject
*_wrap_wxColourDatabase_FindName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3019 PyObject
* _resultobj
;
3021 wxColourDatabase
* _arg0
;
3023 PyObject
* _argo0
= 0;
3025 PyObject
* _obj1
= 0;
3026 char *_kwnames
[] = { "self","colour", NULL
};
3029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxColourDatabase_FindName",_kwnames
,&_argo0
,&_obj1
))
3032 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3033 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
3034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_FindName. Expected _wxColourDatabase_p.");
3040 if (! wxColour_helper(_obj1
, &_arg1
))
3044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3045 _result
= new wxString (wxColourDatabase_FindName(_arg0
,*_arg1
));
3047 wxPyEndAllowThreads(__tstate
);
3048 if (PyErr_Occurred()) return NULL
;
3051 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3053 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3062 static void wxColourDatabase_Append(wxColourDatabase
*self
,const wxString
& name
,int red
,int green
,int blue
) {
3063 // first see if the name is already there
3064 wxString cName
= name
;
3066 wxString cName2
= cName
;
3067 if ( !cName2
.Replace(wxT("GRAY"), wxT("GREY")) )
3070 wxNode
*node
= self
->First();
3072 const wxChar
*key
= node
->GetKeyString();
3073 if ( cName
== key
|| cName2
== key
) {
3074 wxColour
* c
= (wxColour
*)node
->Data();
3075 c
->Set(red
, green
, blue
);
3078 node
= node
->Next();
3081 // otherwise append the new colour
3082 self
->Append(name
.c_str(), new wxColour(red
, green
, blue
));
3084 static PyObject
*_wrap_wxColourDatabase_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3085 PyObject
* _resultobj
;
3086 wxColourDatabase
* _arg0
;
3091 PyObject
* _argo0
= 0;
3092 PyObject
* _obj1
= 0;
3093 char *_kwnames
[] = { "self","name","red","green","blue", NULL
};
3096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiii:wxColourDatabase_Append",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_arg4
))
3099 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3100 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
3101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_Append. Expected _wxColourDatabase_p.");
3106 _arg1
= wxString_in_helper(_obj1
);
3111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3112 wxColourDatabase_Append(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3114 wxPyEndAllowThreads(__tstate
);
3115 if (PyErr_Occurred()) return NULL
;
3116 } Py_INCREF(Py_None
);
3117 _resultobj
= Py_None
;
3125 static void *SwigwxPenTowxGDIObject(void *ptr
) {
3128 src
= (wxPen
*) ptr
;
3129 dest
= (wxGDIObject
*) src
;
3130 return (void *) dest
;
3133 static void *SwigwxPenTowxObject(void *ptr
) {
3136 src
= (wxPen
*) ptr
;
3137 dest
= (wxObject
*) src
;
3138 return (void *) dest
;
3141 #define new_wxPen(_swigarg0,_swigarg1,_swigarg2) (new wxPen(_swigarg0,_swigarg1,_swigarg2))
3142 static PyObject
*_wrap_new_wxPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3143 PyObject
* _resultobj
;
3146 int _arg1
= (int ) 1;
3147 int _arg2
= (int ) wxSOLID
;
3149 PyObject
* _obj0
= 0;
3150 char *_kwnames
[] = { "colour","width","style", NULL
};
3154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:new_wxPen",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
3158 if (! wxColour_helper(_obj0
, &_arg0
))
3162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3163 _result
= (wxPen
*)new_wxPen(*_arg0
,_arg1
,_arg2
);
3165 wxPyEndAllowThreads(__tstate
);
3166 if (PyErr_Occurred()) return NULL
;
3168 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
3169 _resultobj
= Py_BuildValue("s",_ptemp
);
3172 _resultobj
= Py_None
;
3177 #define delete_wxPen(_swigobj) (delete _swigobj)
3178 static PyObject
*_wrap_delete_wxPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3179 PyObject
* _resultobj
;
3181 PyObject
* _argo0
= 0;
3182 char *_kwnames
[] = { "self", NULL
};
3185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPen",_kwnames
,&_argo0
))
3188 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3189 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPen. Expected _wxPen_p.");
3195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3196 delete_wxPen(_arg0
);
3198 wxPyEndAllowThreads(__tstate
);
3199 if (PyErr_Occurred()) return NULL
;
3200 } Py_INCREF(Py_None
);
3201 _resultobj
= Py_None
;
3205 #define wxPen_GetCap(_swigobj) (_swigobj->GetCap())
3206 static PyObject
*_wrap_wxPen_GetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3207 PyObject
* _resultobj
;
3210 PyObject
* _argo0
= 0;
3211 char *_kwnames
[] = { "self", NULL
};
3214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetCap",_kwnames
,&_argo0
))
3217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetCap. Expected _wxPen_p.");
3224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3225 _result
= (int )wxPen_GetCap(_arg0
);
3227 wxPyEndAllowThreads(__tstate
);
3228 if (PyErr_Occurred()) return NULL
;
3229 } _resultobj
= Py_BuildValue("i",_result
);
3233 #define wxPen_GetColour(_swigobj) (_swigobj->GetColour())
3234 static PyObject
*_wrap_wxPen_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3235 PyObject
* _resultobj
;
3238 PyObject
* _argo0
= 0;
3239 char *_kwnames
[] = { "self", NULL
};
3243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetColour",_kwnames
,&_argo0
))
3246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetColour. Expected _wxPen_p.");
3253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3254 _result
= new wxColour (wxPen_GetColour(_arg0
));
3256 wxPyEndAllowThreads(__tstate
);
3257 if (PyErr_Occurred()) return NULL
;
3258 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
3259 _resultobj
= Py_BuildValue("s",_ptemp
);
3263 #define wxPen_GetJoin(_swigobj) (_swigobj->GetJoin())
3264 static PyObject
*_wrap_wxPen_GetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3265 PyObject
* _resultobj
;
3268 PyObject
* _argo0
= 0;
3269 char *_kwnames
[] = { "self", NULL
};
3272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetJoin",_kwnames
,&_argo0
))
3275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetJoin. Expected _wxPen_p.");
3282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3283 _result
= (int )wxPen_GetJoin(_arg0
);
3285 wxPyEndAllowThreads(__tstate
);
3286 if (PyErr_Occurred()) return NULL
;
3287 } _resultobj
= Py_BuildValue("i",_result
);
3291 #define wxPen_GetStyle(_swigobj) (_swigobj->GetStyle())
3292 static PyObject
*_wrap_wxPen_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3293 PyObject
* _resultobj
;
3296 PyObject
* _argo0
= 0;
3297 char *_kwnames
[] = { "self", NULL
};
3300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetStyle",_kwnames
,&_argo0
))
3303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetStyle. Expected _wxPen_p.");
3310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3311 _result
= (int )wxPen_GetStyle(_arg0
);
3313 wxPyEndAllowThreads(__tstate
);
3314 if (PyErr_Occurred()) return NULL
;
3315 } _resultobj
= Py_BuildValue("i",_result
);
3319 #define wxPen_GetWidth(_swigobj) (_swigobj->GetWidth())
3320 static PyObject
*_wrap_wxPen_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3321 PyObject
* _resultobj
;
3324 PyObject
* _argo0
= 0;
3325 char *_kwnames
[] = { "self", NULL
};
3328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetWidth",_kwnames
,&_argo0
))
3331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetWidth. Expected _wxPen_p.");
3338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3339 _result
= (int )wxPen_GetWidth(_arg0
);
3341 wxPyEndAllowThreads(__tstate
);
3342 if (PyErr_Occurred()) return NULL
;
3343 } _resultobj
= Py_BuildValue("i",_result
);
3347 #define wxPen_Ok(_swigobj) (_swigobj->Ok())
3348 static PyObject
*_wrap_wxPen_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3349 PyObject
* _resultobj
;
3352 PyObject
* _argo0
= 0;
3353 char *_kwnames
[] = { "self", NULL
};
3356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_Ok",_kwnames
,&_argo0
))
3359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_Ok. Expected _wxPen_p.");
3366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3367 _result
= (bool )wxPen_Ok(_arg0
);
3369 wxPyEndAllowThreads(__tstate
);
3370 if (PyErr_Occurred()) return NULL
;
3371 } _resultobj
= Py_BuildValue("i",_result
);
3375 #define wxPen_SetCap(_swigobj,_swigarg0) (_swigobj->SetCap(_swigarg0))
3376 static PyObject
*_wrap_wxPen_SetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3377 PyObject
* _resultobj
;
3380 PyObject
* _argo0
= 0;
3381 char *_kwnames
[] = { "self","cap_style", NULL
};
3384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetCap",_kwnames
,&_argo0
,&_arg1
))
3387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetCap. Expected _wxPen_p.");
3394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3395 wxPen_SetCap(_arg0
,_arg1
);
3397 wxPyEndAllowThreads(__tstate
);
3398 if (PyErr_Occurred()) return NULL
;
3399 } Py_INCREF(Py_None
);
3400 _resultobj
= Py_None
;
3404 #define wxPen_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
3405 static PyObject
*_wrap_wxPen_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3406 PyObject
* _resultobj
;
3409 PyObject
* _argo0
= 0;
3411 PyObject
* _obj1
= 0;
3412 char *_kwnames
[] = { "self","colour", NULL
};
3415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetColour",_kwnames
,&_argo0
,&_obj1
))
3418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetColour. Expected _wxPen_p.");
3426 if (! wxColour_helper(_obj1
, &_arg1
))
3430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3431 wxPen_SetColour(_arg0
,*_arg1
);
3433 wxPyEndAllowThreads(__tstate
);
3434 if (PyErr_Occurred()) return NULL
;
3435 } Py_INCREF(Py_None
);
3436 _resultobj
= Py_None
;
3440 #define wxPen_SetJoin(_swigobj,_swigarg0) (_swigobj->SetJoin(_swigarg0))
3441 static PyObject
*_wrap_wxPen_SetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3442 PyObject
* _resultobj
;
3445 PyObject
* _argo0
= 0;
3446 char *_kwnames
[] = { "self","join_style", NULL
};
3449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetJoin",_kwnames
,&_argo0
,&_arg1
))
3452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetJoin. Expected _wxPen_p.");
3459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3460 wxPen_SetJoin(_arg0
,_arg1
);
3462 wxPyEndAllowThreads(__tstate
);
3463 if (PyErr_Occurred()) return NULL
;
3464 } Py_INCREF(Py_None
);
3465 _resultobj
= Py_None
;
3469 #define wxPen_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
3470 static PyObject
*_wrap_wxPen_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3471 PyObject
* _resultobj
;
3474 PyObject
* _argo0
= 0;
3475 char *_kwnames
[] = { "self","style", NULL
};
3478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetStyle",_kwnames
,&_argo0
,&_arg1
))
3481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetStyle. Expected _wxPen_p.");
3488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3489 wxPen_SetStyle(_arg0
,_arg1
);
3491 wxPyEndAllowThreads(__tstate
);
3492 if (PyErr_Occurred()) return NULL
;
3493 } Py_INCREF(Py_None
);
3494 _resultobj
= Py_None
;
3498 #define wxPen_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
3499 static PyObject
*_wrap_wxPen_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3500 PyObject
* _resultobj
;
3503 PyObject
* _argo0
= 0;
3504 char *_kwnames
[] = { "self","width", NULL
};
3507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetWidth",_kwnames
,&_argo0
,&_arg1
))
3510 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3511 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetWidth. Expected _wxPen_p.");
3517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3518 wxPen_SetWidth(_arg0
,_arg1
);
3520 wxPyEndAllowThreads(__tstate
);
3521 if (PyErr_Occurred()) return NULL
;
3522 } Py_INCREF(Py_None
);
3523 _resultobj
= Py_None
;
3527 #define wxPen_SetDashes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDashes(_swigarg0,_swigarg1))
3528 static PyObject
*_wrap_wxPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3529 PyObject
* _resultobj
;
3533 PyObject
* _argo0
= 0;
3534 PyObject
* _obj2
= 0;
3535 char *_kwnames
[] = { "self","choices", NULL
};
3538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetDashes",_kwnames
,&_argo0
,&_obj2
))
3541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetDashes. Expected _wxPen_p.");
3549 _arg2
= (wxDash
*)byte_LIST_helper(_obj2
);
3550 if (_arg2
== NULL
) {
3556 _arg1
= PyList_Size(_obj2
);
3563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3564 wxPen_SetDashes(_arg0
,_arg1
,_arg2
);
3566 wxPyEndAllowThreads(__tstate
);
3567 if (PyErr_Occurred()) return NULL
;
3568 } Py_INCREF(Py_None
);
3569 _resultobj
= Py_None
;
3576 static void *SwigwxPyPenTowxPen(void *ptr
) {
3579 src
= (wxPyPen
*) ptr
;
3580 dest
= (wxPen
*) src
;
3581 return (void *) dest
;
3584 static void *SwigwxPyPenTowxGDIObject(void *ptr
) {
3587 src
= (wxPyPen
*) ptr
;
3588 dest
= (wxGDIObject
*) src
;
3589 return (void *) dest
;
3592 static void *SwigwxPyPenTowxObject(void *ptr
) {
3595 src
= (wxPyPen
*) ptr
;
3596 dest
= (wxObject
*) src
;
3597 return (void *) dest
;
3600 #define new_wxPyPen(_swigarg0,_swigarg1,_swigarg2) (new wxPyPen(_swigarg0,_swigarg1,_swigarg2))
3601 static PyObject
*_wrap_new_wxPyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3602 PyObject
* _resultobj
;
3605 int _arg1
= (int ) 1;
3606 int _arg2
= (int ) wxSOLID
;
3608 PyObject
* _obj0
= 0;
3609 char *_kwnames
[] = { "colour","width","style", NULL
};
3613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:new_wxPyPen",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
3617 if (! wxColour_helper(_obj0
, &_arg0
))
3621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3622 _result
= (wxPyPen
*)new_wxPyPen(*_arg0
,_arg1
,_arg2
);
3624 wxPyEndAllowThreads(__tstate
);
3625 if (PyErr_Occurred()) return NULL
;
3627 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPen_p");
3628 _resultobj
= Py_BuildValue("s",_ptemp
);
3631 _resultobj
= Py_None
;
3636 #define delete_wxPyPen(_swigobj) (delete _swigobj)
3637 static PyObject
*_wrap_delete_wxPyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3638 PyObject
* _resultobj
;
3640 PyObject
* _argo0
= 0;
3641 char *_kwnames
[] = { "self", NULL
};
3644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyPen",_kwnames
,&_argo0
))
3647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPen_p")) {
3649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyPen. Expected _wxPyPen_p.");
3654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3655 delete_wxPyPen(_arg0
);
3657 wxPyEndAllowThreads(__tstate
);
3658 if (PyErr_Occurred()) return NULL
;
3659 } Py_INCREF(Py_None
);
3660 _resultobj
= Py_None
;
3664 #define wxPyPen_SetDashes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDashes(_swigarg0,_swigarg1))
3665 static PyObject
*_wrap_wxPyPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3666 PyObject
* _resultobj
;
3670 PyObject
* _argo0
= 0;
3671 PyObject
* _obj2
= 0;
3672 char *_kwnames
[] = { "self","choices", NULL
};
3675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPen_SetDashes",_kwnames
,&_argo0
,&_obj2
))
3678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPen_p")) {
3680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPen_SetDashes. Expected _wxPyPen_p.");
3686 _arg2
= (wxDash
*)byte_LIST_helper(_obj2
);
3687 if (_arg2
== NULL
) {
3693 _arg1
= PyList_Size(_obj2
);
3700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3701 wxPyPen_SetDashes(_arg0
,_arg1
,_arg2
);
3703 wxPyEndAllowThreads(__tstate
);
3704 if (PyErr_Occurred()) return NULL
;
3705 } Py_INCREF(Py_None
);
3706 _resultobj
= Py_None
;
3713 static void *SwigwxPenListTowxObject(void *ptr
) {
3716 src
= (wxPenList
*) ptr
;
3717 dest
= (wxObject
*) src
;
3718 return (void *) dest
;
3721 #define wxPenList_AddPen(_swigobj,_swigarg0) (_swigobj->AddPen(_swigarg0))
3722 static PyObject
*_wrap_wxPenList_AddPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3723 PyObject
* _resultobj
;
3726 PyObject
* _argo0
= 0;
3727 PyObject
* _argo1
= 0;
3728 char *_kwnames
[] = { "self","pen", NULL
};
3731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPenList_AddPen",_kwnames
,&_argo0
,&_argo1
))
3734 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3735 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
3736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_AddPen. Expected _wxPenList_p.");
3741 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3742 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
3743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPenList_AddPen. Expected _wxPen_p.");
3748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3749 wxPenList_AddPen(_arg0
,_arg1
);
3751 wxPyEndAllowThreads(__tstate
);
3752 if (PyErr_Occurred()) return NULL
;
3753 } Py_INCREF(Py_None
);
3754 _resultobj
= Py_None
;
3758 #define wxPenList_FindOrCreatePen(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindOrCreatePen(_swigarg0,_swigarg1,_swigarg2))
3759 static PyObject
*_wrap_wxPenList_FindOrCreatePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3760 PyObject
* _resultobj
;
3766 PyObject
* _argo0
= 0;
3768 PyObject
* _obj1
= 0;
3769 char *_kwnames
[] = { "self","colour","width","style", NULL
};
3773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxPenList_FindOrCreatePen",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
))
3776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
3778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_FindOrCreatePen. Expected _wxPenList_p.");
3784 if (! wxColour_helper(_obj1
, &_arg1
))
3788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3789 _result
= (wxPen
*)wxPenList_FindOrCreatePen(_arg0
,*_arg1
,_arg2
,_arg3
);
3791 wxPyEndAllowThreads(__tstate
);
3792 if (PyErr_Occurred()) return NULL
;
3794 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
3795 _resultobj
= Py_BuildValue("s",_ptemp
);
3798 _resultobj
= Py_None
;
3803 #define wxPenList_RemovePen(_swigobj,_swigarg0) (_swigobj->RemovePen(_swigarg0))
3804 static PyObject
*_wrap_wxPenList_RemovePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3805 PyObject
* _resultobj
;
3808 PyObject
* _argo0
= 0;
3809 PyObject
* _argo1
= 0;
3810 char *_kwnames
[] = { "self","pen", NULL
};
3813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPenList_RemovePen",_kwnames
,&_argo0
,&_argo1
))
3816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
3818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_RemovePen. Expected _wxPenList_p.");
3823 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3824 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
3825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPenList_RemovePen. Expected _wxPen_p.");
3830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3831 wxPenList_RemovePen(_arg0
,_arg1
);
3833 wxPyEndAllowThreads(__tstate
);
3834 if (PyErr_Occurred()) return NULL
;
3835 } Py_INCREF(Py_None
);
3836 _resultobj
= Py_None
;
3840 #define wxPenList_GetCount(_swigobj) (_swigobj->GetCount())
3841 static PyObject
*_wrap_wxPenList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3842 PyObject
* _resultobj
;
3845 PyObject
* _argo0
= 0;
3846 char *_kwnames
[] = { "self", NULL
};
3849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPenList_GetCount",_kwnames
,&_argo0
))
3852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
3854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_GetCount. Expected _wxPenList_p.");
3859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3860 _result
= (int )wxPenList_GetCount(_arg0
);
3862 wxPyEndAllowThreads(__tstate
);
3863 if (PyErr_Occurred()) return NULL
;
3864 } _resultobj
= Py_BuildValue("i",_result
);
3868 static void *SwigwxBrushTowxGDIObject(void *ptr
) {
3871 src
= (wxBrush
*) ptr
;
3872 dest
= (wxGDIObject
*) src
;
3873 return (void *) dest
;
3876 static void *SwigwxBrushTowxObject(void *ptr
) {
3879 src
= (wxBrush
*) ptr
;
3880 dest
= (wxObject
*) src
;
3881 return (void *) dest
;
3884 #define new_wxBrush(_swigarg0,_swigarg1) (new wxBrush(_swigarg0,_swigarg1))
3885 static PyObject
*_wrap_new_wxBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3886 PyObject
* _resultobj
;
3889 int _arg1
= (int ) wxSOLID
;
3891 PyObject
* _obj0
= 0;
3892 char *_kwnames
[] = { "colour","style", NULL
};
3896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxBrush",_kwnames
,&_obj0
,&_arg1
))
3900 if (! wxColour_helper(_obj0
, &_arg0
))
3904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3905 _result
= (wxBrush
*)new_wxBrush(*_arg0
,_arg1
);
3907 wxPyEndAllowThreads(__tstate
);
3908 if (PyErr_Occurred()) return NULL
;
3910 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
3911 _resultobj
= Py_BuildValue("s",_ptemp
);
3914 _resultobj
= Py_None
;
3919 #define delete_wxBrush(_swigobj) (delete _swigobj)
3920 static PyObject
*_wrap_delete_wxBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3921 PyObject
* _resultobj
;
3923 PyObject
* _argo0
= 0;
3924 char *_kwnames
[] = { "self", NULL
};
3927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBrush",_kwnames
,&_argo0
))
3930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBrush. Expected _wxBrush_p.");
3937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3938 delete_wxBrush(_arg0
);
3940 wxPyEndAllowThreads(__tstate
);
3941 if (PyErr_Occurred()) return NULL
;
3942 } Py_INCREF(Py_None
);
3943 _resultobj
= Py_None
;
3947 #define wxBrush_GetColour(_swigobj) (_swigobj->GetColour())
3948 static PyObject
*_wrap_wxBrush_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3949 PyObject
* _resultobj
;
3952 PyObject
* _argo0
= 0;
3953 char *_kwnames
[] = { "self", NULL
};
3957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetColour",_kwnames
,&_argo0
))
3960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetColour. Expected _wxBrush_p.");
3967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3968 _result
= new wxColour (wxBrush_GetColour(_arg0
));
3970 wxPyEndAllowThreads(__tstate
);
3971 if (PyErr_Occurred()) return NULL
;
3972 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
3973 _resultobj
= Py_BuildValue("s",_ptemp
);
3977 #define wxBrush_GetStipple(_swigobj) (_swigobj->GetStipple())
3978 static PyObject
*_wrap_wxBrush_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3979 PyObject
* _resultobj
;
3982 PyObject
* _argo0
= 0;
3983 char *_kwnames
[] = { "self", NULL
};
3987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetStipple",_kwnames
,&_argo0
))
3990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
3992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStipple. Expected _wxBrush_p.");
3997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3998 _result
= (wxBitmap
*)wxBrush_GetStipple(_arg0
);
4000 wxPyEndAllowThreads(__tstate
);
4001 if (PyErr_Occurred()) return NULL
;
4003 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
4004 _resultobj
= Py_BuildValue("s",_ptemp
);
4007 _resultobj
= Py_None
;
4012 #define wxBrush_GetStyle(_swigobj) (_swigobj->GetStyle())
4013 static PyObject
*_wrap_wxBrush_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4014 PyObject
* _resultobj
;
4017 PyObject
* _argo0
= 0;
4018 char *_kwnames
[] = { "self", NULL
};
4021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetStyle",_kwnames
,&_argo0
))
4024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStyle. Expected _wxBrush_p.");
4031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4032 _result
= (int )wxBrush_GetStyle(_arg0
);
4034 wxPyEndAllowThreads(__tstate
);
4035 if (PyErr_Occurred()) return NULL
;
4036 } _resultobj
= Py_BuildValue("i",_result
);
4040 #define wxBrush_Ok(_swigobj) (_swigobj->Ok())
4041 static PyObject
*_wrap_wxBrush_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4042 PyObject
* _resultobj
;
4045 PyObject
* _argo0
= 0;
4046 char *_kwnames
[] = { "self", NULL
};
4049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_Ok",_kwnames
,&_argo0
))
4052 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4053 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_Ok. Expected _wxBrush_p.");
4059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4060 _result
= (bool )wxBrush_Ok(_arg0
);
4062 wxPyEndAllowThreads(__tstate
);
4063 if (PyErr_Occurred()) return NULL
;
4064 } _resultobj
= Py_BuildValue("i",_result
);
4068 #define wxBrush_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
4069 static PyObject
*_wrap_wxBrush_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4070 PyObject
* _resultobj
;
4073 PyObject
* _argo0
= 0;
4075 PyObject
* _obj1
= 0;
4076 char *_kwnames
[] = { "self","colour", NULL
};
4079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrush_SetColour",_kwnames
,&_argo0
,&_obj1
))
4082 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4083 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetColour. Expected _wxBrush_p.");
4090 if (! wxColour_helper(_obj1
, &_arg1
))
4094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4095 wxBrush_SetColour(_arg0
,*_arg1
);
4097 wxPyEndAllowThreads(__tstate
);
4098 if (PyErr_Occurred()) return NULL
;
4099 } Py_INCREF(Py_None
);
4100 _resultobj
= Py_None
;
4104 #define wxBrush_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
4105 static PyObject
*_wrap_wxBrush_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4106 PyObject
* _resultobj
;
4109 PyObject
* _argo0
= 0;
4110 PyObject
* _argo1
= 0;
4111 char *_kwnames
[] = { "self","bitmap", NULL
};
4114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrush_SetStipple",_kwnames
,&_argo0
,&_argo1
))
4117 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4118 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStipple. Expected _wxBrush_p.");
4124 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4125 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
4126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrush_SetStipple. Expected _wxBitmap_p.");
4131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4132 wxBrush_SetStipple(_arg0
,*_arg1
);
4134 wxPyEndAllowThreads(__tstate
);
4135 if (PyErr_Occurred()) return NULL
;
4136 } Py_INCREF(Py_None
);
4137 _resultobj
= Py_None
;
4141 #define wxBrush_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
4142 static PyObject
*_wrap_wxBrush_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4143 PyObject
* _resultobj
;
4146 PyObject
* _argo0
= 0;
4147 char *_kwnames
[] = { "self","style", NULL
};
4150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBrush_SetStyle",_kwnames
,&_argo0
,&_arg1
))
4153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStyle. Expected _wxBrush_p.");
4160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4161 wxBrush_SetStyle(_arg0
,_arg1
);
4163 wxPyEndAllowThreads(__tstate
);
4164 if (PyErr_Occurred()) return NULL
;
4165 } Py_INCREF(Py_None
);
4166 _resultobj
= Py_None
;
4170 static void *SwigwxBrushListTowxObject(void *ptr
) {
4173 src
= (wxBrushList
*) ptr
;
4174 dest
= (wxObject
*) src
;
4175 return (void *) dest
;
4178 #define wxBrushList_AddBrush(_swigobj,_swigarg0) (_swigobj->AddBrush(_swigarg0))
4179 static PyObject
*_wrap_wxBrushList_AddBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4180 PyObject
* _resultobj
;
4181 wxBrushList
* _arg0
;
4183 PyObject
* _argo0
= 0;
4184 PyObject
* _argo1
= 0;
4185 char *_kwnames
[] = { "self","brush", NULL
};
4188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrushList_AddBrush",_kwnames
,&_argo0
,&_argo1
))
4191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
4193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_AddBrush. Expected _wxBrushList_p.");
4198 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4199 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
4200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrushList_AddBrush. Expected _wxBrush_p.");
4205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4206 wxBrushList_AddBrush(_arg0
,_arg1
);
4208 wxPyEndAllowThreads(__tstate
);
4209 if (PyErr_Occurred()) return NULL
;
4210 } Py_INCREF(Py_None
);
4211 _resultobj
= Py_None
;
4215 #define wxBrushList_FindOrCreateBrush(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindOrCreateBrush(_swigarg0,_swigarg1))
4216 static PyObject
*_wrap_wxBrushList_FindOrCreateBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4217 PyObject
* _resultobj
;
4219 wxBrushList
* _arg0
;
4222 PyObject
* _argo0
= 0;
4224 PyObject
* _obj1
= 0;
4225 char *_kwnames
[] = { "self","colour","style", NULL
};
4229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxBrushList_FindOrCreateBrush",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
4232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
4234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_FindOrCreateBrush. Expected _wxBrushList_p.");
4240 if (! wxColour_helper(_obj1
, &_arg1
))
4244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4245 _result
= (wxBrush
*)wxBrushList_FindOrCreateBrush(_arg0
,*_arg1
,_arg2
);
4247 wxPyEndAllowThreads(__tstate
);
4248 if (PyErr_Occurred()) return NULL
;
4250 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
4251 _resultobj
= Py_BuildValue("s",_ptemp
);
4254 _resultobj
= Py_None
;
4259 #define wxBrushList_RemoveBrush(_swigobj,_swigarg0) (_swigobj->RemoveBrush(_swigarg0))
4260 static PyObject
*_wrap_wxBrushList_RemoveBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4261 PyObject
* _resultobj
;
4262 wxBrushList
* _arg0
;
4264 PyObject
* _argo0
= 0;
4265 PyObject
* _argo1
= 0;
4266 char *_kwnames
[] = { "self","brush", NULL
};
4269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrushList_RemoveBrush",_kwnames
,&_argo0
,&_argo1
))
4272 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4273 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
4274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_RemoveBrush. Expected _wxBrushList_p.");
4279 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4280 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
4281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrushList_RemoveBrush. Expected _wxBrush_p.");
4286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4287 wxBrushList_RemoveBrush(_arg0
,_arg1
);
4289 wxPyEndAllowThreads(__tstate
);
4290 if (PyErr_Occurred()) return NULL
;
4291 } Py_INCREF(Py_None
);
4292 _resultobj
= Py_None
;
4296 #define wxBrushList_GetCount(_swigobj) (_swigobj->GetCount())
4297 static PyObject
*_wrap_wxBrushList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4298 PyObject
* _resultobj
;
4300 wxBrushList
* _arg0
;
4301 PyObject
* _argo0
= 0;
4302 char *_kwnames
[] = { "self", NULL
};
4305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrushList_GetCount",_kwnames
,&_argo0
))
4308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
4310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_GetCount. Expected _wxBrushList_p.");
4315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4316 _result
= (int )wxBrushList_GetCount(_arg0
);
4318 wxPyEndAllowThreads(__tstate
);
4319 if (PyErr_Occurred()) return NULL
;
4320 } _resultobj
= Py_BuildValue("i",_result
);
4324 static void *SwigwxDCTowxObject(void *ptr
) {
4328 dest
= (wxObject
*) src
;
4329 return (void *) dest
;
4332 #define delete_wxDC(_swigobj) (delete _swigobj)
4333 static PyObject
*_wrap_delete_wxDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4334 PyObject
* _resultobj
;
4336 PyObject
* _argo0
= 0;
4337 char *_kwnames
[] = { "self", NULL
};
4340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDC",_kwnames
,&_argo0
))
4343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDC. Expected _wxDC_p.");
4350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4353 wxPyEndAllowThreads(__tstate
);
4354 if (PyErr_Occurred()) return NULL
;
4355 } Py_INCREF(Py_None
);
4356 _resultobj
= Py_None
;
4360 #define wxDC_BeginDrawing(_swigobj) (_swigobj->BeginDrawing())
4361 static PyObject
*_wrap_wxDC_BeginDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4362 PyObject
* _resultobj
;
4364 PyObject
* _argo0
= 0;
4365 char *_kwnames
[] = { "self", NULL
};
4368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_BeginDrawing",_kwnames
,&_argo0
))
4371 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4372 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_BeginDrawing. Expected _wxDC_p.");
4378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4379 wxDC_BeginDrawing(_arg0
);
4381 wxPyEndAllowThreads(__tstate
);
4382 if (PyErr_Occurred()) return NULL
;
4383 } Py_INCREF(Py_None
);
4384 _resultobj
= Py_None
;
4388 #define wxDC_Blit(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Blit(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4389 static PyObject
*_wrap_wxDC_Blit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4390 PyObject
* _resultobj
;
4400 int _arg8
= (int ) wxCOPY
;
4401 int _arg9
= (int ) FALSE
;
4402 PyObject
* _argo0
= 0;
4403 PyObject
* _argo5
= 0;
4404 char *_kwnames
[] = { "self","xdest","ydest","width","height","source","xsrc","ysrc","logicalFunc","useMask", NULL
};
4407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllllOll|ii:wxDC_Blit",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_argo5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
))
4410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Blit. Expected _wxDC_p.");
4417 if (_argo5
== Py_None
) { _arg5
= NULL
; }
4418 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxDC_p")) {
4419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxDC_Blit. Expected _wxDC_p.");
4424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4425 _result
= (bool )wxDC_Blit(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
4427 wxPyEndAllowThreads(__tstate
);
4428 if (PyErr_Occurred()) return NULL
;
4429 } _resultobj
= Py_BuildValue("i",_result
);
4433 #define wxDC_Clear(_swigobj) (_swigobj->Clear())
4434 static PyObject
*_wrap_wxDC_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4435 PyObject
* _resultobj
;
4437 PyObject
* _argo0
= 0;
4438 char *_kwnames
[] = { "self", NULL
};
4441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_Clear",_kwnames
,&_argo0
))
4444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Clear. Expected _wxDC_p.");
4451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4454 wxPyEndAllowThreads(__tstate
);
4455 if (PyErr_Occurred()) return NULL
;
4456 } Py_INCREF(Py_None
);
4457 _resultobj
= Py_None
;
4461 #define wxDC_CrossHair(_swigobj,_swigarg0,_swigarg1) (_swigobj->CrossHair(_swigarg0,_swigarg1))
4462 static PyObject
*_wrap_wxDC_CrossHair(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4463 PyObject
* _resultobj
;
4467 PyObject
* _argo0
= 0;
4468 char *_kwnames
[] = { "self","x","y", NULL
};
4471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_CrossHair",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CrossHair. Expected _wxDC_p.");
4481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4482 wxDC_CrossHair(_arg0
,_arg1
,_arg2
);
4484 wxPyEndAllowThreads(__tstate
);
4485 if (PyErr_Occurred()) return NULL
;
4486 } Py_INCREF(Py_None
);
4487 _resultobj
= Py_None
;
4491 #define wxDC_DestroyClippingRegion(_swigobj) (_swigobj->DestroyClippingRegion())
4492 static PyObject
*_wrap_wxDC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4493 PyObject
* _resultobj
;
4495 PyObject
* _argo0
= 0;
4496 char *_kwnames
[] = { "self", NULL
};
4499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_DestroyClippingRegion",_kwnames
,&_argo0
))
4502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DestroyClippingRegion. Expected _wxDC_p.");
4509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4510 wxDC_DestroyClippingRegion(_arg0
);
4512 wxPyEndAllowThreads(__tstate
);
4513 if (PyErr_Occurred()) return NULL
;
4514 } Py_INCREF(Py_None
);
4515 _resultobj
= Py_None
;
4519 #define wxDC_DeviceToLogicalX(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalX(_swigarg0))
4520 static PyObject
*_wrap_wxDC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4521 PyObject
* _resultobj
;
4525 PyObject
* _argo0
= 0;
4526 char *_kwnames
[] = { "self","x", NULL
};
4529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalX",_kwnames
,&_argo0
,&_arg1
))
4532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalX. Expected _wxDC_p.");
4539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4540 _result
= (long )wxDC_DeviceToLogicalX(_arg0
,_arg1
);
4542 wxPyEndAllowThreads(__tstate
);
4543 if (PyErr_Occurred()) return NULL
;
4544 } _resultobj
= Py_BuildValue("l",_result
);
4548 #define wxDC_DeviceToLogicalXRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalXRel(_swigarg0))
4549 static PyObject
*_wrap_wxDC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4550 PyObject
* _resultobj
;
4554 PyObject
* _argo0
= 0;
4555 char *_kwnames
[] = { "self","x", NULL
};
4558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalXRel",_kwnames
,&_argo0
,&_arg1
))
4561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalXRel. Expected _wxDC_p.");
4568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4569 _result
= (long )wxDC_DeviceToLogicalXRel(_arg0
,_arg1
);
4571 wxPyEndAllowThreads(__tstate
);
4572 if (PyErr_Occurred()) return NULL
;
4573 } _resultobj
= Py_BuildValue("l",_result
);
4577 #define wxDC_DeviceToLogicalY(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalY(_swigarg0))
4578 static PyObject
*_wrap_wxDC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4579 PyObject
* _resultobj
;
4583 PyObject
* _argo0
= 0;
4584 char *_kwnames
[] = { "self","y", NULL
};
4587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalY",_kwnames
,&_argo0
,&_arg1
))
4590 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4591 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalY. Expected _wxDC_p.");
4597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4598 _result
= (long )wxDC_DeviceToLogicalY(_arg0
,_arg1
);
4600 wxPyEndAllowThreads(__tstate
);
4601 if (PyErr_Occurred()) return NULL
;
4602 } _resultobj
= Py_BuildValue("l",_result
);
4606 #define wxDC_DeviceToLogicalYRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalYRel(_swigarg0))
4607 static PyObject
*_wrap_wxDC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4608 PyObject
* _resultobj
;
4612 PyObject
* _argo0
= 0;
4613 char *_kwnames
[] = { "self","y", NULL
};
4616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalYRel",_kwnames
,&_argo0
,&_arg1
))
4619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalYRel. Expected _wxDC_p.");
4626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4627 _result
= (long )wxDC_DeviceToLogicalYRel(_arg0
,_arg1
);
4629 wxPyEndAllowThreads(__tstate
);
4630 if (PyErr_Occurred()) return NULL
;
4631 } _resultobj
= Py_BuildValue("l",_result
);
4635 #define wxDC_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4636 static PyObject
*_wrap_wxDC_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4637 PyObject
* _resultobj
;
4645 PyObject
* _argo0
= 0;
4646 char *_kwnames
[] = { "self","x1","y1","x2","y2","xc","yc", NULL
};
4649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollllll:wxDC_DrawArc",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
4652 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4653 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawArc. Expected _wxDC_p.");
4659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4660 wxDC_DrawArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4662 wxPyEndAllowThreads(__tstate
);
4663 if (PyErr_Occurred()) return NULL
;
4664 } Py_INCREF(Py_None
);
4665 _resultobj
= Py_None
;
4669 #define wxDC_DrawCircle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawCircle(_swigarg0,_swigarg1,_swigarg2))
4670 static PyObject
*_wrap_wxDC_DrawCircle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4671 PyObject
* _resultobj
;
4676 PyObject
* _argo0
= 0;
4677 char *_kwnames
[] = { "self","x","y","radius", NULL
};
4680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olll:wxDC_DrawCircle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawCircle. Expected _wxDC_p.");
4690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4691 wxDC_DrawCircle(_arg0
,_arg1
,_arg2
,_arg3
);
4693 wxPyEndAllowThreads(__tstate
);
4694 if (PyErr_Occurred()) return NULL
;
4695 } Py_INCREF(Py_None
);
4696 _resultobj
= Py_None
;
4700 #define wxDC_DrawEllipse(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawEllipse(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4701 static PyObject
*_wrap_wxDC_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4702 PyObject
* _resultobj
;
4708 PyObject
* _argo0
= 0;
4709 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
4712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawEllipse",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipse. Expected _wxDC_p.");
4722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4723 wxDC_DrawEllipse(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4725 wxPyEndAllowThreads(__tstate
);
4726 if (PyErr_Occurred()) return NULL
;
4727 } Py_INCREF(Py_None
);
4728 _resultobj
= Py_None
;
4732 #define wxDC_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4733 static PyObject
*_wrap_wxDC_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4734 PyObject
* _resultobj
;
4742 PyObject
* _argo0
= 0;
4743 char *_kwnames
[] = { "self","x","y","width","height","start","end", NULL
};
4746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollllll:wxDC_DrawEllipticArc",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
4749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipticArc. Expected _wxDC_p.");
4756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4757 wxDC_DrawEllipticArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4759 wxPyEndAllowThreads(__tstate
);
4760 if (PyErr_Occurred()) return NULL
;
4761 } Py_INCREF(Py_None
);
4762 _resultobj
= Py_None
;
4766 #define wxDC_DrawIcon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawIcon(_swigarg0,_swigarg1,_swigarg2))
4767 static PyObject
*_wrap_wxDC_DrawIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4768 PyObject
* _resultobj
;
4773 PyObject
* _argo0
= 0;
4774 PyObject
* _argo1
= 0;
4775 char *_kwnames
[] = { "self","icon","x","y", NULL
};
4778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll:wxDC_DrawIcon",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
4781 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4782 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawIcon. Expected _wxDC_p.");
4788 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4789 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
4790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawIcon. Expected _wxIcon_p.");
4795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4796 wxDC_DrawIcon(_arg0
,*_arg1
,_arg2
,_arg3
);
4798 wxPyEndAllowThreads(__tstate
);
4799 if (PyErr_Occurred()) return NULL
;
4800 } Py_INCREF(Py_None
);
4801 _resultobj
= Py_None
;
4805 #define wxDC_DrawLabel(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLabel(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4806 static PyObject
*_wrap_wxDC_DrawLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4807 PyObject
* _resultobj
;
4811 int _arg3
= (int ) wxALIGN_LEFT
|wxALIGN_TOP
;
4812 int _arg4
= (int ) -1;
4813 PyObject
* _argo0
= 0;
4814 PyObject
* _obj1
= 0;
4816 PyObject
* _obj2
= 0;
4817 char *_kwnames
[] = { "self","text","rect","alignment","indexAccel", NULL
};
4820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|ii:wxDC_DrawLabel",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
))
4823 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4824 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLabel. Expected _wxDC_p.");
4830 _arg1
= wxString_in_helper(_obj1
);
4836 if (! wxRect_helper(_obj2
, &_arg2
))
4840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4841 wxDC_DrawLabel(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
4843 wxPyEndAllowThreads(__tstate
);
4844 if (PyErr_Occurred()) return NULL
;
4845 } Py_INCREF(Py_None
);
4846 _resultobj
= Py_None
;
4854 static wxRect
wxDC_DrawImageLabel(wxDC
*self
,const wxString
& text
,const wxBitmap
& image
,const wxRect
& rect
,int alignment
,int indexAccel
) {
4856 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
4859 static PyObject
*_wrap_wxDC_DrawImageLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4860 PyObject
* _resultobj
;
4866 int _arg4
= (int ) wxALIGN_LEFT
|wxALIGN_TOP
;
4867 int _arg5
= (int ) -1;
4868 PyObject
* _argo0
= 0;
4869 PyObject
* _obj1
= 0;
4870 PyObject
* _argo2
= 0;
4872 PyObject
* _obj3
= 0;
4873 char *_kwnames
[] = { "self","text","image","rect","alignment","indexAccel", NULL
};
4877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|ii:wxDC_DrawImageLabel",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_obj3
,&_arg4
,&_arg5
))
4880 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4881 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawImageLabel. Expected _wxDC_p.");
4887 _arg1
= wxString_in_helper(_obj1
);
4892 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4893 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
4894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDC_DrawImageLabel. Expected _wxBitmap_p.");
4900 if (! wxRect_helper(_obj3
, &_arg3
))
4904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4905 _result
= new wxRect (wxDC_DrawImageLabel(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
));
4907 wxPyEndAllowThreads(__tstate
);
4908 if (PyErr_Occurred()) return NULL
;
4909 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
4910 _resultobj
= Py_BuildValue("s",_ptemp
);
4918 #define wxDC_DrawLine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4919 static PyObject
*_wrap_wxDC_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4920 PyObject
* _resultobj
;
4926 PyObject
* _argo0
= 0;
4927 char *_kwnames
[] = { "self","x1","y1","x2","y2", NULL
};
4930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawLine",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLine. Expected _wxDC_p.");
4940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4941 wxDC_DrawLine(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4943 wxPyEndAllowThreads(__tstate
);
4944 if (PyErr_Occurred()) return NULL
;
4945 } Py_INCREF(Py_None
);
4946 _resultobj
= Py_None
;
4950 #define wxDC_DrawLines(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLines(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4951 static PyObject
*_wrap_wxDC_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4952 PyObject
* _resultobj
;
4956 long _arg3
= (long ) 0;
4957 long _arg4
= (long ) 0;
4958 PyObject
* _argo0
= 0;
4960 PyObject
* _obj2
= 0;
4961 char *_kwnames
[] = { "self","points","xoffset","yoffset", NULL
};
4964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ll:wxDC_DrawLines",_kwnames
,&_argo0
,&_obj2
,&_arg3
,&_arg4
))
4967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLines. Expected _wxDC_p.");
4975 _arg2
= wxPoint_LIST_helper(_obj2
, &NPOINTS
);
4976 if (_arg2
== NULL
) {
4984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4985 wxDC_DrawLines(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4987 wxPyEndAllowThreads(__tstate
);
4988 if (PyErr_Occurred()) return NULL
;
4989 } Py_INCREF(Py_None
);
4990 _resultobj
= Py_None
;
4997 #define wxDC_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4998 static PyObject
*_wrap_wxDC_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4999 PyObject
* _resultobj
;
5003 long _arg3
= (long ) 0;
5004 long _arg4
= (long ) 0;
5005 int _arg5
= (int ) wxODDEVEN_RULE
;
5006 PyObject
* _argo0
= 0;
5008 PyObject
* _obj2
= 0;
5009 char *_kwnames
[] = { "self","points","xoffset","yoffset","fill_style", NULL
};
5012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|lli:wxDC_DrawPolygon",_kwnames
,&_argo0
,&_obj2
,&_arg3
,&_arg4
,&_arg5
))
5015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPolygon. Expected _wxDC_p.");
5023 _arg2
= wxPoint_LIST_helper(_obj2
, &NPOINTS
);
5024 if (_arg2
== NULL
) {
5032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5033 wxDC_DrawPolygon(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
5035 wxPyEndAllowThreads(__tstate
);
5036 if (PyErr_Occurred()) return NULL
;
5037 } Py_INCREF(Py_None
);
5038 _resultobj
= Py_None
;
5045 #define wxDC_DrawPoint(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawPoint(_swigarg0,_swigarg1))
5046 static PyObject
*_wrap_wxDC_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5047 PyObject
* _resultobj
;
5051 PyObject
* _argo0
= 0;
5052 char *_kwnames
[] = { "self","x","y", NULL
};
5055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_DrawPoint",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5058 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5059 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPoint. Expected _wxDC_p.");
5065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5066 wxDC_DrawPoint(_arg0
,_arg1
,_arg2
);
5068 wxPyEndAllowThreads(__tstate
);
5069 if (PyErr_Occurred()) return NULL
;
5070 } Py_INCREF(Py_None
);
5071 _resultobj
= Py_None
;
5075 #define wxDC_DrawRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5076 static PyObject
*_wrap_wxDC_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5077 PyObject
* _resultobj
;
5083 PyObject
* _argo0
= 0;
5084 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
5087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawRectangle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
5090 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5091 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRectangle. Expected _wxDC_p.");
5097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5098 wxDC_DrawRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5100 wxPyEndAllowThreads(__tstate
);
5101 if (PyErr_Occurred()) return NULL
;
5102 } Py_INCREF(Py_None
);
5103 _resultobj
= Py_None
;
5107 #define wxDC_DrawRotatedText(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRotatedText(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5108 static PyObject
*_wrap_wxDC_DrawRotatedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5109 PyObject
* _resultobj
;
5115 PyObject
* _argo0
= 0;
5116 PyObject
* _obj1
= 0;
5117 char *_kwnames
[] = { "self","text","x","y","angle", NULL
};
5120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiid:wxDC_DrawRotatedText",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_arg4
))
5123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRotatedText. Expected _wxDC_p.");
5130 _arg1
= wxString_in_helper(_obj1
);
5135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5136 wxDC_DrawRotatedText(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
5138 wxPyEndAllowThreads(__tstate
);
5139 if (PyErr_Occurred()) return NULL
;
5140 } Py_INCREF(Py_None
);
5141 _resultobj
= Py_None
;
5149 #define wxDC_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5150 static PyObject
*_wrap_wxDC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5151 PyObject
* _resultobj
;
5157 long _arg5
= (long ) 20;
5158 PyObject
* _argo0
= 0;
5159 char *_kwnames
[] = { "self","x","y","width","height","radius", NULL
};
5162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll|l:wxDC_DrawRoundedRectangle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
5165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRoundedRectangle. Expected _wxDC_p.");
5172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5173 wxDC_DrawRoundedRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
5175 wxPyEndAllowThreads(__tstate
);
5176 if (PyErr_Occurred()) return NULL
;
5177 } Py_INCREF(Py_None
);
5178 _resultobj
= Py_None
;
5182 #define wxDC_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1))
5183 static PyObject
*_wrap_wxDC_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5184 PyObject
* _resultobj
;
5188 PyObject
* _argo0
= 0;
5190 PyObject
* _obj2
= 0;
5191 char *_kwnames
[] = { "self","points", NULL
};
5194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_DrawSpline",_kwnames
,&_argo0
,&_obj2
))
5197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawSpline. Expected _wxDC_p.");
5205 _arg2
= wxPoint_LIST_helper(_obj2
, &NPOINTS
);
5206 if (_arg2
== NULL
) {
5214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5215 wxDC_DrawSpline(_arg0
,_arg1
,_arg2
);
5217 wxPyEndAllowThreads(__tstate
);
5218 if (PyErr_Occurred()) return NULL
;
5219 } Py_INCREF(Py_None
);
5220 _resultobj
= Py_None
;
5227 #define wxDC_DrawText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawText(_swigarg0,_swigarg1,_swigarg2))
5228 static PyObject
*_wrap_wxDC_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5229 PyObject
* _resultobj
;
5234 PyObject
* _argo0
= 0;
5235 PyObject
* _obj1
= 0;
5236 char *_kwnames
[] = { "self","text","x","y", NULL
};
5239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll:wxDC_DrawText",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
))
5242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawText. Expected _wxDC_p.");
5249 _arg1
= wxString_in_helper(_obj1
);
5254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5255 wxDC_DrawText(_arg0
,*_arg1
,_arg2
,_arg3
);
5257 wxPyEndAllowThreads(__tstate
);
5258 if (PyErr_Occurred()) return NULL
;
5259 } Py_INCREF(Py_None
);
5260 _resultobj
= Py_None
;
5268 #define wxDC_EndDoc(_swigobj) (_swigobj->EndDoc())
5269 static PyObject
*_wrap_wxDC_EndDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5270 PyObject
* _resultobj
;
5272 PyObject
* _argo0
= 0;
5273 char *_kwnames
[] = { "self", NULL
};
5276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndDoc",_kwnames
,&_argo0
))
5279 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5280 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDoc. Expected _wxDC_p.");
5286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5289 wxPyEndAllowThreads(__tstate
);
5290 if (PyErr_Occurred()) return NULL
;
5291 } Py_INCREF(Py_None
);
5292 _resultobj
= Py_None
;
5296 #define wxDC_EndDrawing(_swigobj) (_swigobj->EndDrawing())
5297 static PyObject
*_wrap_wxDC_EndDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5298 PyObject
* _resultobj
;
5300 PyObject
* _argo0
= 0;
5301 char *_kwnames
[] = { "self", NULL
};
5304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndDrawing",_kwnames
,&_argo0
))
5307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDrawing. Expected _wxDC_p.");
5314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5315 wxDC_EndDrawing(_arg0
);
5317 wxPyEndAllowThreads(__tstate
);
5318 if (PyErr_Occurred()) return NULL
;
5319 } Py_INCREF(Py_None
);
5320 _resultobj
= Py_None
;
5324 #define wxDC_EndPage(_swigobj) (_swigobj->EndPage())
5325 static PyObject
*_wrap_wxDC_EndPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5326 PyObject
* _resultobj
;
5328 PyObject
* _argo0
= 0;
5329 char *_kwnames
[] = { "self", NULL
};
5332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndPage",_kwnames
,&_argo0
))
5335 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5336 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndPage. Expected _wxDC_p.");
5342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5343 wxDC_EndPage(_arg0
);
5345 wxPyEndAllowThreads(__tstate
);
5346 if (PyErr_Occurred()) return NULL
;
5347 } Py_INCREF(Py_None
);
5348 _resultobj
= Py_None
;
5352 #define wxDC_FloodFill(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FloodFill(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5353 static PyObject
*_wrap_wxDC_FloodFill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5354 PyObject
* _resultobj
;
5359 int _arg4
= (int ) wxFLOOD_SURFACE
;
5360 PyObject
* _argo0
= 0;
5362 PyObject
* _obj3
= 0;
5363 char *_kwnames
[] = { "self","x","y","colour","style", NULL
};
5366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO|i:wxDC_FloodFill",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
5369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_FloodFill. Expected _wxDC_p.");
5377 if (! wxColour_helper(_obj3
, &_arg3
))
5381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5382 wxDC_FloodFill(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
5384 wxPyEndAllowThreads(__tstate
);
5385 if (PyErr_Occurred()) return NULL
;
5386 } Py_INCREF(Py_None
);
5387 _resultobj
= Py_None
;
5391 #define wxDC_GetBackground(_swigobj) (_swigobj->GetBackground())
5392 static PyObject
*_wrap_wxDC_GetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5393 PyObject
* _resultobj
;
5396 PyObject
* _argo0
= 0;
5397 char *_kwnames
[] = { "self", NULL
};
5401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBackground",_kwnames
,&_argo0
))
5404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBackground. Expected _wxDC_p.");
5411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5412 _result
= new wxBrush (wxDC_GetBackground(_arg0
));
5414 wxPyEndAllowThreads(__tstate
);
5415 if (PyErr_Occurred()) return NULL
;
5416 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBrush_p");
5417 _resultobj
= Py_BuildValue("s",_ptemp
);
5421 #define wxDC_GetBrush(_swigobj) (_swigobj->GetBrush())
5422 static PyObject
*_wrap_wxDC_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5423 PyObject
* _resultobj
;
5426 PyObject
* _argo0
= 0;
5427 char *_kwnames
[] = { "self", NULL
};
5431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBrush",_kwnames
,&_argo0
))
5434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBrush. Expected _wxDC_p.");
5441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5442 _result
= new wxBrush (wxDC_GetBrush(_arg0
));
5444 wxPyEndAllowThreads(__tstate
);
5445 if (PyErr_Occurred()) return NULL
;
5446 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBrush_p");
5447 _resultobj
= Py_BuildValue("s",_ptemp
);
5451 #define wxDC_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
5452 static PyObject
*_wrap_wxDC_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5453 PyObject
* _resultobj
;
5456 PyObject
* _argo0
= 0;
5457 char *_kwnames
[] = { "self", NULL
};
5460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetCharHeight",_kwnames
,&_argo0
))
5463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharHeight. Expected _wxDC_p.");
5470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5471 _result
= (long )wxDC_GetCharHeight(_arg0
);
5473 wxPyEndAllowThreads(__tstate
);
5474 if (PyErr_Occurred()) return NULL
;
5475 } _resultobj
= Py_BuildValue("l",_result
);
5479 #define wxDC_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
5480 static PyObject
*_wrap_wxDC_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5481 PyObject
* _resultobj
;
5484 PyObject
* _argo0
= 0;
5485 char *_kwnames
[] = { "self", NULL
};
5488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetCharWidth",_kwnames
,&_argo0
))
5491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharWidth. Expected _wxDC_p.");
5498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5499 _result
= (long )wxDC_GetCharWidth(_arg0
);
5501 wxPyEndAllowThreads(__tstate
);
5502 if (PyErr_Occurred()) return NULL
;
5503 } _resultobj
= Py_BuildValue("l",_result
);
5507 #define wxDC_GetClippingBox(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetClippingBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5508 static PyObject
*_wrap_wxDC_GetClippingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5509 PyObject
* _resultobj
;
5519 PyObject
* _argo0
= 0;
5520 char *_kwnames
[] = { "self", NULL
};
5535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetClippingBox",_kwnames
,&_argo0
))
5538 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5539 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetClippingBox. Expected _wxDC_p.");
5545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5546 wxDC_GetClippingBox(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5548 wxPyEndAllowThreads(__tstate
);
5549 if (PyErr_Occurred()) return NULL
;
5550 } Py_INCREF(Py_None
);
5551 _resultobj
= Py_None
;
5554 o
= PyInt_FromLong((long) (*_arg1
));
5555 _resultobj
= t_output_helper(_resultobj
, o
);
5559 o
= PyInt_FromLong((long) (*_arg2
));
5560 _resultobj
= t_output_helper(_resultobj
, o
);
5564 o
= PyInt_FromLong((long) (*_arg3
));
5565 _resultobj
= t_output_helper(_resultobj
, o
);
5569 o
= PyInt_FromLong((long) (*_arg4
));
5570 _resultobj
= t_output_helper(_resultobj
, o
);
5575 #define wxDC_GetFont(_swigobj) (_swigobj->GetFont())
5576 static PyObject
*_wrap_wxDC_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5577 PyObject
* _resultobj
;
5580 PyObject
* _argo0
= 0;
5581 char *_kwnames
[] = { "self", NULL
};
5585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetFont",_kwnames
,&_argo0
))
5588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFont. Expected _wxDC_p.");
5595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5596 _result
= new wxFont (wxDC_GetFont(_arg0
));
5598 wxPyEndAllowThreads(__tstate
);
5599 if (PyErr_Occurred()) return NULL
;
5600 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
5601 _resultobj
= Py_BuildValue("s",_ptemp
);
5605 #define wxDC_GetLogicalFunction(_swigobj) (_swigobj->GetLogicalFunction())
5606 static PyObject
*_wrap_wxDC_GetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5607 PyObject
* _resultobj
;
5610 PyObject
* _argo0
= 0;
5611 char *_kwnames
[] = { "self", NULL
};
5614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalFunction",_kwnames
,&_argo0
))
5617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalFunction. Expected _wxDC_p.");
5624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5625 _result
= (int )wxDC_GetLogicalFunction(_arg0
);
5627 wxPyEndAllowThreads(__tstate
);
5628 if (PyErr_Occurred()) return NULL
;
5629 } _resultobj
= Py_BuildValue("i",_result
);
5633 #define wxDC_GetLogicalScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLogicalScale(_swigarg0,_swigarg1))
5634 static PyObject
*_wrap_wxDC_GetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5635 PyObject
* _resultobj
;
5641 PyObject
* _argo0
= 0;
5642 char *_kwnames
[] = { "self", NULL
};
5651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalScale",_kwnames
,&_argo0
))
5654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalScale. Expected _wxDC_p.");
5661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5662 wxDC_GetLogicalScale(_arg0
,_arg1
,_arg2
);
5664 wxPyEndAllowThreads(__tstate
);
5665 if (PyErr_Occurred()) return NULL
;
5666 } Py_INCREF(Py_None
);
5667 _resultobj
= Py_None
;
5670 o
= PyFloat_FromDouble((double) (*_arg1
));
5671 _resultobj
= t_output_helper(_resultobj
, o
);
5675 o
= PyFloat_FromDouble((double) (*_arg2
));
5676 _resultobj
= t_output_helper(_resultobj
, o
);
5681 #define wxDC_GetMapMode(_swigobj) (_swigobj->GetMapMode())
5682 static PyObject
*_wrap_wxDC_GetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5683 PyObject
* _resultobj
;
5686 PyObject
* _argo0
= 0;
5687 char *_kwnames
[] = { "self", NULL
};
5690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetMapMode",_kwnames
,&_argo0
))
5693 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5694 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetMapMode. Expected _wxDC_p.");
5700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5701 _result
= (int )wxDC_GetMapMode(_arg0
);
5703 wxPyEndAllowThreads(__tstate
);
5704 if (PyErr_Occurred()) return NULL
;
5705 } _resultobj
= Py_BuildValue("i",_result
);
5709 #define wxDC_GetOptimization(_swigobj) (_swigobj->GetOptimization())
5710 static PyObject
*_wrap_wxDC_GetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5711 PyObject
* _resultobj
;
5714 PyObject
* _argo0
= 0;
5715 char *_kwnames
[] = { "self", NULL
};
5718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetOptimization",_kwnames
,&_argo0
))
5721 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5722 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetOptimization. Expected _wxDC_p.");
5728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5729 _result
= (bool )wxDC_GetOptimization(_arg0
);
5731 wxPyEndAllowThreads(__tstate
);
5732 if (PyErr_Occurred()) return NULL
;
5733 } _resultobj
= Py_BuildValue("i",_result
);
5737 #define wxDC_GetPen(_swigobj) (_swigobj->GetPen())
5738 static PyObject
*_wrap_wxDC_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5739 PyObject
* _resultobj
;
5742 PyObject
* _argo0
= 0;
5743 char *_kwnames
[] = { "self", NULL
};
5747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetPen",_kwnames
,&_argo0
))
5750 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5751 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPen. Expected _wxDC_p.");
5757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5758 _result
= new wxPen (wxDC_GetPen(_arg0
));
5760 wxPyEndAllowThreads(__tstate
);
5761 if (PyErr_Occurred()) return NULL
;
5762 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPen_p");
5763 _resultobj
= Py_BuildValue("s",_ptemp
);
5767 static wxColour
* wxDC_GetPixel(wxDC
*self
,long x
,long y
) {
5768 wxColour
* wc
= new wxColour();
5769 self
->GetPixel(x
, y
, wc
);
5772 static PyObject
*_wrap_wxDC_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5773 PyObject
* _resultobj
;
5778 PyObject
* _argo0
= 0;
5779 char *_kwnames
[] = { "self","x","y", NULL
};
5783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_GetPixel",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5786 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5787 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPixel. Expected _wxDC_p.");
5793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5794 _result
= (wxColour
*)wxDC_GetPixel(_arg0
,_arg1
,_arg2
);
5796 wxPyEndAllowThreads(__tstate
);
5797 if (PyErr_Occurred()) return NULL
;
5799 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
5800 _resultobj
= Py_BuildValue("s",_ptemp
);
5803 _resultobj
= Py_None
;
5808 #define wxDC_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
5809 static PyObject
*_wrap_wxDC_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5810 PyObject
* _resultobj
;
5816 PyObject
* _argo0
= 0;
5817 char *_kwnames
[] = { "self", NULL
};
5826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSizeTuple",_kwnames
,&_argo0
))
5829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSizeTuple. Expected _wxDC_p.");
5836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5837 wxDC_GetSizeTuple(_arg0
,_arg1
,_arg2
);
5839 wxPyEndAllowThreads(__tstate
);
5840 if (PyErr_Occurred()) return NULL
;
5841 } Py_INCREF(Py_None
);
5842 _resultobj
= Py_None
;
5845 o
= PyInt_FromLong((long) (*_arg1
));
5846 _resultobj
= t_output_helper(_resultobj
, o
);
5850 o
= PyInt_FromLong((long) (*_arg2
));
5851 _resultobj
= t_output_helper(_resultobj
, o
);
5856 #define wxDC_GetSize(_swigobj) (_swigobj->GetSize())
5857 static PyObject
*_wrap_wxDC_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5858 PyObject
* _resultobj
;
5861 PyObject
* _argo0
= 0;
5862 char *_kwnames
[] = { "self", NULL
};
5866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSize",_kwnames
,&_argo0
))
5869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSize. Expected _wxDC_p.");
5876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5877 _result
= new wxSize (wxDC_GetSize(_arg0
));
5879 wxPyEndAllowThreads(__tstate
);
5880 if (PyErr_Occurred()) return NULL
;
5881 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5882 _resultobj
= Py_BuildValue("s",_ptemp
);
5886 #define wxDC_GetSizeMM(_swigobj) (_swigobj->GetSizeMM())
5887 static PyObject
*_wrap_wxDC_GetSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5888 PyObject
* _resultobj
;
5891 PyObject
* _argo0
= 0;
5892 char *_kwnames
[] = { "self", NULL
};
5896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSizeMM",_kwnames
,&_argo0
))
5899 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5900 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSizeMM. Expected _wxDC_p.");
5906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5907 _result
= new wxSize (wxDC_GetSizeMM(_arg0
));
5909 wxPyEndAllowThreads(__tstate
);
5910 if (PyErr_Occurred()) return NULL
;
5911 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5912 _resultobj
= Py_BuildValue("s",_ptemp
);
5916 #define wxDC_GetTextBackground(_swigobj) (_swigobj->GetTextBackground())
5917 static PyObject
*_wrap_wxDC_GetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5918 PyObject
* _resultobj
;
5921 PyObject
* _argo0
= 0;
5922 char *_kwnames
[] = { "self", NULL
};
5926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetTextBackground",_kwnames
,&_argo0
))
5929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextBackground. Expected _wxDC_p.");
5936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5937 _result
= new wxColour (wxDC_GetTextBackground(_arg0
));
5939 wxPyEndAllowThreads(__tstate
);
5940 if (PyErr_Occurred()) return NULL
;
5941 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
5942 _resultobj
= Py_BuildValue("s",_ptemp
);
5946 #define wxDC_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
5947 static PyObject
*_wrap_wxDC_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5948 PyObject
* _resultobj
;
5955 PyObject
* _argo0
= 0;
5956 PyObject
* _obj1
= 0;
5957 char *_kwnames
[] = { "self","string", NULL
};
5966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
5969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextExtent. Expected _wxDC_p.");
5976 _arg1
= wxString_in_helper(_obj1
);
5981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5982 wxDC_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
5984 wxPyEndAllowThreads(__tstate
);
5985 if (PyErr_Occurred()) return NULL
;
5986 } Py_INCREF(Py_None
);
5987 _resultobj
= Py_None
;
5990 o
= PyInt_FromLong((long) (*_arg2
));
5991 _resultobj
= t_output_helper(_resultobj
, o
);
5995 o
= PyInt_FromLong((long) (*_arg3
));
5996 _resultobj
= t_output_helper(_resultobj
, o
);
6005 #define wxDC_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6006 static PyObject
*_wrap_wxDC_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6007 PyObject
* _resultobj
;
6018 wxFont
* _arg6
= (wxFont
*) NULL
;
6019 PyObject
* _argo0
= 0;
6020 PyObject
* _obj1
= 0;
6021 PyObject
* _argo6
= 0;
6022 char *_kwnames
[] = { "self","string","font", NULL
};
6037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxDC_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
6040 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6041 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFullTextExtent. Expected _wxDC_p.");
6047 _arg1
= wxString_in_helper(_obj1
);
6052 if (_argo6
== Py_None
) { _arg6
= NULL
; }
6053 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
6054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxDC_GetFullTextExtent. Expected _wxFont_p.");
6059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6060 wxDC_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
6062 wxPyEndAllowThreads(__tstate
);
6063 if (PyErr_Occurred()) return NULL
;
6064 } Py_INCREF(Py_None
);
6065 _resultobj
= Py_None
;
6068 o
= PyInt_FromLong((long) (*_arg2
));
6069 _resultobj
= t_output_helper(_resultobj
, o
);
6073 o
= PyInt_FromLong((long) (*_arg3
));
6074 _resultobj
= t_output_helper(_resultobj
, o
);
6078 o
= PyInt_FromLong((long) (*_arg4
));
6079 _resultobj
= t_output_helper(_resultobj
, o
);
6083 o
= PyInt_FromLong((long) (*_arg5
));
6084 _resultobj
= t_output_helper(_resultobj
, o
);
6093 #define wxDC_GetTextForeground(_swigobj) (_swigobj->GetTextForeground())
6094 static PyObject
*_wrap_wxDC_GetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6095 PyObject
* _resultobj
;
6098 PyObject
* _argo0
= 0;
6099 char *_kwnames
[] = { "self", NULL
};
6103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetTextForeground",_kwnames
,&_argo0
))
6106 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6107 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextForeground. Expected _wxDC_p.");
6113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6114 _result
= new wxColour (wxDC_GetTextForeground(_arg0
));
6116 wxPyEndAllowThreads(__tstate
);
6117 if (PyErr_Occurred()) return NULL
;
6118 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
6119 _resultobj
= Py_BuildValue("s",_ptemp
);
6123 #define wxDC_GetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetUserScale(_swigarg0,_swigarg1))
6124 static PyObject
*_wrap_wxDC_GetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6125 PyObject
* _resultobj
;
6131 PyObject
* _argo0
= 0;
6132 char *_kwnames
[] = { "self", NULL
};
6141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetUserScale",_kwnames
,&_argo0
))
6144 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6145 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetUserScale. Expected _wxDC_p.");
6151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6152 wxDC_GetUserScale(_arg0
,_arg1
,_arg2
);
6154 wxPyEndAllowThreads(__tstate
);
6155 if (PyErr_Occurred()) return NULL
;
6156 } Py_INCREF(Py_None
);
6157 _resultobj
= Py_None
;
6160 o
= PyFloat_FromDouble((double) (*_arg1
));
6161 _resultobj
= t_output_helper(_resultobj
, o
);
6165 o
= PyFloat_FromDouble((double) (*_arg2
));
6166 _resultobj
= t_output_helper(_resultobj
, o
);
6171 #define wxDC_LogicalToDeviceX(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceX(_swigarg0))
6172 static PyObject
*_wrap_wxDC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6173 PyObject
* _resultobj
;
6177 PyObject
* _argo0
= 0;
6178 char *_kwnames
[] = { "self","x", NULL
};
6181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceX",_kwnames
,&_argo0
,&_arg1
))
6184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceX. Expected _wxDC_p.");
6191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6192 _result
= (long )wxDC_LogicalToDeviceX(_arg0
,_arg1
);
6194 wxPyEndAllowThreads(__tstate
);
6195 if (PyErr_Occurred()) return NULL
;
6196 } _resultobj
= Py_BuildValue("l",_result
);
6200 #define wxDC_LogicalToDeviceXRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceXRel(_swigarg0))
6201 static PyObject
*_wrap_wxDC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6202 PyObject
* _resultobj
;
6206 PyObject
* _argo0
= 0;
6207 char *_kwnames
[] = { "self","x", NULL
};
6210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceXRel",_kwnames
,&_argo0
,&_arg1
))
6213 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6214 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceXRel. Expected _wxDC_p.");
6220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6221 _result
= (long )wxDC_LogicalToDeviceXRel(_arg0
,_arg1
);
6223 wxPyEndAllowThreads(__tstate
);
6224 if (PyErr_Occurred()) return NULL
;
6225 } _resultobj
= Py_BuildValue("l",_result
);
6229 #define wxDC_LogicalToDeviceY(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceY(_swigarg0))
6230 static PyObject
*_wrap_wxDC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6231 PyObject
* _resultobj
;
6235 PyObject
* _argo0
= 0;
6236 char *_kwnames
[] = { "self","y", NULL
};
6239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceY",_kwnames
,&_argo0
,&_arg1
))
6242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceY. Expected _wxDC_p.");
6249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6250 _result
= (long )wxDC_LogicalToDeviceY(_arg0
,_arg1
);
6252 wxPyEndAllowThreads(__tstate
);
6253 if (PyErr_Occurred()) return NULL
;
6254 } _resultobj
= Py_BuildValue("l",_result
);
6258 #define wxDC_LogicalToDeviceYRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceYRel(_swigarg0))
6259 static PyObject
*_wrap_wxDC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6260 PyObject
* _resultobj
;
6264 PyObject
* _argo0
= 0;
6265 char *_kwnames
[] = { "self","y", NULL
};
6268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceYRel",_kwnames
,&_argo0
,&_arg1
))
6271 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6272 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceYRel. Expected _wxDC_p.");
6278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6279 _result
= (long )wxDC_LogicalToDeviceYRel(_arg0
,_arg1
);
6281 wxPyEndAllowThreads(__tstate
);
6282 if (PyErr_Occurred()) return NULL
;
6283 } _resultobj
= Py_BuildValue("l",_result
);
6287 #define wxDC_MaxX(_swigobj) (_swigobj->MaxX())
6288 static PyObject
*_wrap_wxDC_MaxX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6289 PyObject
* _resultobj
;
6292 PyObject
* _argo0
= 0;
6293 char *_kwnames
[] = { "self", NULL
};
6296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MaxX",_kwnames
,&_argo0
))
6299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxX. Expected _wxDC_p.");
6306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6307 _result
= (long )wxDC_MaxX(_arg0
);
6309 wxPyEndAllowThreads(__tstate
);
6310 if (PyErr_Occurred()) return NULL
;
6311 } _resultobj
= Py_BuildValue("l",_result
);
6315 #define wxDC_MaxY(_swigobj) (_swigobj->MaxY())
6316 static PyObject
*_wrap_wxDC_MaxY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6317 PyObject
* _resultobj
;
6320 PyObject
* _argo0
= 0;
6321 char *_kwnames
[] = { "self", NULL
};
6324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MaxY",_kwnames
,&_argo0
))
6327 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6328 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxY. Expected _wxDC_p.");
6334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6335 _result
= (long )wxDC_MaxY(_arg0
);
6337 wxPyEndAllowThreads(__tstate
);
6338 if (PyErr_Occurred()) return NULL
;
6339 } _resultobj
= Py_BuildValue("l",_result
);
6343 #define wxDC_MinX(_swigobj) (_swigobj->MinX())
6344 static PyObject
*_wrap_wxDC_MinX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6345 PyObject
* _resultobj
;
6348 PyObject
* _argo0
= 0;
6349 char *_kwnames
[] = { "self", NULL
};
6352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MinX",_kwnames
,&_argo0
))
6355 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6356 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinX. Expected _wxDC_p.");
6362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6363 _result
= (long )wxDC_MinX(_arg0
);
6365 wxPyEndAllowThreads(__tstate
);
6366 if (PyErr_Occurred()) return NULL
;
6367 } _resultobj
= Py_BuildValue("l",_result
);
6371 #define wxDC_MinY(_swigobj) (_swigobj->MinY())
6372 static PyObject
*_wrap_wxDC_MinY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6373 PyObject
* _resultobj
;
6376 PyObject
* _argo0
= 0;
6377 char *_kwnames
[] = { "self", NULL
};
6380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MinY",_kwnames
,&_argo0
))
6383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinY. Expected _wxDC_p.");
6390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6391 _result
= (long )wxDC_MinY(_arg0
);
6393 wxPyEndAllowThreads(__tstate
);
6394 if (PyErr_Occurred()) return NULL
;
6395 } _resultobj
= Py_BuildValue("l",_result
);
6399 #define wxDC_Ok(_swigobj) (_swigobj->Ok())
6400 static PyObject
*_wrap_wxDC_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6401 PyObject
* _resultobj
;
6404 PyObject
* _argo0
= 0;
6405 char *_kwnames
[] = { "self", NULL
};
6408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_Ok",_kwnames
,&_argo0
))
6411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Ok. Expected _wxDC_p.");
6418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6419 _result
= (bool )wxDC_Ok(_arg0
);
6421 wxPyEndAllowThreads(__tstate
);
6422 if (PyErr_Occurred()) return NULL
;
6423 } _resultobj
= Py_BuildValue("i",_result
);
6427 #define wxDC_SetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDeviceOrigin(_swigarg0,_swigarg1))
6428 static PyObject
*_wrap_wxDC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6429 PyObject
* _resultobj
;
6433 PyObject
* _argo0
= 0;
6434 char *_kwnames
[] = { "self","x","y", NULL
};
6437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_SetDeviceOrigin",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetDeviceOrigin. Expected _wxDC_p.");
6447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6448 wxDC_SetDeviceOrigin(_arg0
,_arg1
,_arg2
);
6450 wxPyEndAllowThreads(__tstate
);
6451 if (PyErr_Occurred()) return NULL
;
6452 } Py_INCREF(Py_None
);
6453 _resultobj
= Py_None
;
6457 #define wxDC_SetBackground(_swigobj,_swigarg0) (_swigobj->SetBackground(_swigarg0))
6458 static PyObject
*_wrap_wxDC_SetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6459 PyObject
* _resultobj
;
6462 PyObject
* _argo0
= 0;
6463 PyObject
* _argo1
= 0;
6464 char *_kwnames
[] = { "self","brush", NULL
};
6467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetBackground",_kwnames
,&_argo0
,&_argo1
))
6470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackground. Expected _wxDC_p.");
6477 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6478 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
6479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBackground. Expected _wxBrush_p.");
6484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6485 wxDC_SetBackground(_arg0
,*_arg1
);
6487 wxPyEndAllowThreads(__tstate
);
6488 if (PyErr_Occurred()) return NULL
;
6489 } Py_INCREF(Py_None
);
6490 _resultobj
= Py_None
;
6494 #define wxDC_SetBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetBackgroundMode(_swigarg0))
6495 static PyObject
*_wrap_wxDC_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6496 PyObject
* _resultobj
;
6499 PyObject
* _argo0
= 0;
6500 char *_kwnames
[] = { "self","mode", NULL
};
6503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetBackgroundMode",_kwnames
,&_argo0
,&_arg1
))
6506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackgroundMode. Expected _wxDC_p.");
6513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6514 wxDC_SetBackgroundMode(_arg0
,_arg1
);
6516 wxPyEndAllowThreads(__tstate
);
6517 if (PyErr_Occurred()) return NULL
;
6518 } Py_INCREF(Py_None
);
6519 _resultobj
= Py_None
;
6523 #define wxDC_SetClippingRegion(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetClippingRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6524 static PyObject
*_wrap_wxDC_SetClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6525 PyObject
* _resultobj
;
6531 PyObject
* _argo0
= 0;
6532 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
6535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_SetClippingRegion",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
6538 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6539 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetClippingRegion. Expected _wxDC_p.");
6545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6546 wxDC_SetClippingRegion(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6548 wxPyEndAllowThreads(__tstate
);
6549 if (PyErr_Occurred()) return NULL
;
6550 } Py_INCREF(Py_None
);
6551 _resultobj
= Py_None
;
6555 #define wxDC_SetClippingRegionAsRegion(_swigobj,_swigarg0) (_swigobj->SetClippingRegion(_swigarg0))
6556 static PyObject
*_wrap_wxDC_SetClippingRegionAsRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6557 PyObject
* _resultobj
;
6560 PyObject
* _argo0
= 0;
6561 PyObject
* _argo1
= 0;
6562 char *_kwnames
[] = { "self","region", NULL
};
6565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetClippingRegionAsRegion",_kwnames
,&_argo0
,&_argo1
))
6568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetClippingRegionAsRegion. Expected _wxDC_p.");
6575 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6576 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
6577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetClippingRegionAsRegion. Expected _wxRegion_p.");
6582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6583 wxDC_SetClippingRegionAsRegion(_arg0
,*_arg1
);
6585 wxPyEndAllowThreads(__tstate
);
6586 if (PyErr_Occurred()) return NULL
;
6587 } Py_INCREF(Py_None
);
6588 _resultobj
= Py_None
;
6592 #define wxDC_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
6593 static PyObject
*_wrap_wxDC_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6594 PyObject
* _resultobj
;
6597 PyObject
* _argo0
= 0;
6598 PyObject
* _argo1
= 0;
6599 char *_kwnames
[] = { "self","colourMap", NULL
};
6602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetPalette",_kwnames
,&_argo0
,&_argo1
))
6605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPalette. Expected _wxDC_p.");
6612 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6613 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPalette_p")) {
6614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPalette. Expected _wxPalette_p.");
6619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6620 wxDC_SetPalette(_arg0
,*_arg1
);
6622 wxPyEndAllowThreads(__tstate
);
6623 if (PyErr_Occurred()) return NULL
;
6624 } Py_INCREF(Py_None
);
6625 _resultobj
= Py_None
;
6629 #define wxDC_SetBrush(_swigobj,_swigarg0) (_swigobj->SetBrush(_swigarg0))
6630 static PyObject
*_wrap_wxDC_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6631 PyObject
* _resultobj
;
6634 PyObject
* _argo0
= 0;
6635 PyObject
* _argo1
= 0;
6636 char *_kwnames
[] = { "self","brush", NULL
};
6639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetBrush",_kwnames
,&_argo0
,&_argo1
))
6642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBrush. Expected _wxDC_p.");
6649 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6650 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
6651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBrush. Expected _wxBrush_p.");
6656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6657 wxDC_SetBrush(_arg0
,*_arg1
);
6659 wxPyEndAllowThreads(__tstate
);
6660 if (PyErr_Occurred()) return NULL
;
6661 } Py_INCREF(Py_None
);
6662 _resultobj
= Py_None
;
6666 #define wxDC_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
6667 static PyObject
*_wrap_wxDC_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6668 PyObject
* _resultobj
;
6671 PyObject
* _argo0
= 0;
6672 PyObject
* _argo1
= 0;
6673 char *_kwnames
[] = { "self","font", NULL
};
6676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetFont",_kwnames
,&_argo0
,&_argo1
))
6679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetFont. Expected _wxDC_p.");
6686 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6687 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
6688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetFont. Expected _wxFont_p.");
6693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6694 wxDC_SetFont(_arg0
,*_arg1
);
6696 wxPyEndAllowThreads(__tstate
);
6697 if (PyErr_Occurred()) return NULL
;
6698 } Py_INCREF(Py_None
);
6699 _resultobj
= Py_None
;
6703 #define wxDC_SetLogicalFunction(_swigobj,_swigarg0) (_swigobj->SetLogicalFunction(_swigarg0))
6704 static PyObject
*_wrap_wxDC_SetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6705 PyObject
* _resultobj
;
6708 PyObject
* _argo0
= 0;
6709 char *_kwnames
[] = { "self","function", NULL
};
6712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetLogicalFunction",_kwnames
,&_argo0
,&_arg1
))
6715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalFunction. Expected _wxDC_p.");
6722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6723 wxDC_SetLogicalFunction(_arg0
,_arg1
);
6725 wxPyEndAllowThreads(__tstate
);
6726 if (PyErr_Occurred()) return NULL
;
6727 } Py_INCREF(Py_None
);
6728 _resultobj
= Py_None
;
6732 #define wxDC_SetLogicalScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLogicalScale(_swigarg0,_swigarg1))
6733 static PyObject
*_wrap_wxDC_SetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6734 PyObject
* _resultobj
;
6738 PyObject
* _argo0
= 0;
6739 char *_kwnames
[] = { "self","x","y", NULL
};
6742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxDC_SetLogicalScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalScale. Expected _wxDC_p.");
6752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6753 wxDC_SetLogicalScale(_arg0
,_arg1
,_arg2
);
6755 wxPyEndAllowThreads(__tstate
);
6756 if (PyErr_Occurred()) return NULL
;
6757 } Py_INCREF(Py_None
);
6758 _resultobj
= Py_None
;
6762 #define wxDC_SetMapMode(_swigobj,_swigarg0) (_swigobj->SetMapMode(_swigarg0))
6763 static PyObject
*_wrap_wxDC_SetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6764 PyObject
* _resultobj
;
6767 PyObject
* _argo0
= 0;
6768 char *_kwnames
[] = { "self","mode", NULL
};
6771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetMapMode",_kwnames
,&_argo0
,&_arg1
))
6774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetMapMode. Expected _wxDC_p.");
6781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6782 wxDC_SetMapMode(_arg0
,_arg1
);
6784 wxPyEndAllowThreads(__tstate
);
6785 if (PyErr_Occurred()) return NULL
;
6786 } Py_INCREF(Py_None
);
6787 _resultobj
= Py_None
;
6791 #define wxDC_SetOptimization(_swigobj,_swigarg0) (_swigobj->SetOptimization(_swigarg0))
6792 static PyObject
*_wrap_wxDC_SetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6793 PyObject
* _resultobj
;
6796 PyObject
* _argo0
= 0;
6798 char *_kwnames
[] = { "self","optimize", NULL
};
6801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetOptimization",_kwnames
,&_argo0
,&tempbool1
))
6804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetOptimization. Expected _wxDC_p.");
6810 _arg1
= (bool ) tempbool1
;
6812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6813 wxDC_SetOptimization(_arg0
,_arg1
);
6815 wxPyEndAllowThreads(__tstate
);
6816 if (PyErr_Occurred()) return NULL
;
6817 } Py_INCREF(Py_None
);
6818 _resultobj
= Py_None
;
6822 #define wxDC_SetPen(_swigobj,_swigarg0) (_swigobj->SetPen(_swigarg0))
6823 static PyObject
*_wrap_wxDC_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6824 PyObject
* _resultobj
;
6827 PyObject
* _argo0
= 0;
6828 PyObject
* _argo1
= 0;
6829 char *_kwnames
[] = { "self","pen", NULL
};
6832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetPen",_kwnames
,&_argo0
,&_argo1
))
6835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPen. Expected _wxDC_p.");
6842 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6843 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
6844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPen. Expected _wxPen_p.");
6849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6850 wxDC_SetPen(_arg0
,*_arg1
);
6852 wxPyEndAllowThreads(__tstate
);
6853 if (PyErr_Occurred()) return NULL
;
6854 } Py_INCREF(Py_None
);
6855 _resultobj
= Py_None
;
6859 #define wxDC_SetTextBackground(_swigobj,_swigarg0) (_swigobj->SetTextBackground(_swigarg0))
6860 static PyObject
*_wrap_wxDC_SetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6861 PyObject
* _resultobj
;
6864 PyObject
* _argo0
= 0;
6866 PyObject
* _obj1
= 0;
6867 char *_kwnames
[] = { "self","colour", NULL
};
6870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetTextBackground",_kwnames
,&_argo0
,&_obj1
))
6873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextBackground. Expected _wxDC_p.");
6881 if (! wxColour_helper(_obj1
, &_arg1
))
6885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6886 wxDC_SetTextBackground(_arg0
,*_arg1
);
6888 wxPyEndAllowThreads(__tstate
);
6889 if (PyErr_Occurred()) return NULL
;
6890 } Py_INCREF(Py_None
);
6891 _resultobj
= Py_None
;
6895 #define wxDC_SetTextForeground(_swigobj,_swigarg0) (_swigobj->SetTextForeground(_swigarg0))
6896 static PyObject
*_wrap_wxDC_SetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6897 PyObject
* _resultobj
;
6900 PyObject
* _argo0
= 0;
6902 PyObject
* _obj1
= 0;
6903 char *_kwnames
[] = { "self","colour", NULL
};
6906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetTextForeground",_kwnames
,&_argo0
,&_obj1
))
6909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextForeground. Expected _wxDC_p.");
6917 if (! wxColour_helper(_obj1
, &_arg1
))
6921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6922 wxDC_SetTextForeground(_arg0
,*_arg1
);
6924 wxPyEndAllowThreads(__tstate
);
6925 if (PyErr_Occurred()) return NULL
;
6926 } Py_INCREF(Py_None
);
6927 _resultobj
= Py_None
;
6931 #define wxDC_SetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetUserScale(_swigarg0,_swigarg1))
6932 static PyObject
*_wrap_wxDC_SetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6933 PyObject
* _resultobj
;
6937 PyObject
* _argo0
= 0;
6938 char *_kwnames
[] = { "self","x_scale","y_scale", NULL
};
6941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxDC_SetUserScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetUserScale. Expected _wxDC_p.");
6951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6952 wxDC_SetUserScale(_arg0
,_arg1
,_arg2
);
6954 wxPyEndAllowThreads(__tstate
);
6955 if (PyErr_Occurred()) return NULL
;
6956 } Py_INCREF(Py_None
);
6957 _resultobj
= Py_None
;
6961 #define wxDC_StartDoc(_swigobj,_swigarg0) (_swigobj->StartDoc(_swigarg0))
6962 static PyObject
*_wrap_wxDC_StartDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6963 PyObject
* _resultobj
;
6967 PyObject
* _argo0
= 0;
6968 PyObject
* _obj1
= 0;
6969 char *_kwnames
[] = { "self","message", NULL
};
6972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_StartDoc",_kwnames
,&_argo0
,&_obj1
))
6975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartDoc. Expected _wxDC_p.");
6982 _arg1
= wxString_in_helper(_obj1
);
6987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6988 _result
= (bool )wxDC_StartDoc(_arg0
,*_arg1
);
6990 wxPyEndAllowThreads(__tstate
);
6991 if (PyErr_Occurred()) return NULL
;
6992 } _resultobj
= Py_BuildValue("i",_result
);
7000 #define wxDC_StartPage(_swigobj) (_swigobj->StartPage())
7001 static PyObject
*_wrap_wxDC_StartPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7002 PyObject
* _resultobj
;
7004 PyObject
* _argo0
= 0;
7005 char *_kwnames
[] = { "self", NULL
};
7008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_StartPage",_kwnames
,&_argo0
))
7011 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7012 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartPage. Expected _wxDC_p.");
7018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7019 wxDC_StartPage(_arg0
);
7021 wxPyEndAllowThreads(__tstate
);
7022 if (PyErr_Occurred()) return NULL
;
7023 } Py_INCREF(Py_None
);
7024 _resultobj
= Py_None
;
7028 #define wxDC_DrawBitmap(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7029 static PyObject
*_wrap_wxDC_DrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7030 PyObject
* _resultobj
;
7035 int _arg4
= (int ) FALSE
;
7036 PyObject
* _argo0
= 0;
7037 PyObject
* _argo1
= 0;
7038 char *_kwnames
[] = { "self","bitmap","x","y","useMask", NULL
};
7041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll|i:wxDC_DrawBitmap",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
))
7044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawBitmap. Expected _wxDC_p.");
7051 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7052 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
7053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawBitmap. Expected _wxBitmap_p.");
7058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7059 wxDC_DrawBitmap(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
7061 wxPyEndAllowThreads(__tstate
);
7062 if (PyErr_Occurred()) return NULL
;
7063 } Py_INCREF(Py_None
);
7064 _resultobj
= Py_None
;
7068 #define wxDC_CanDrawBitmap(_swigobj) (_swigobj->CanDrawBitmap())
7069 static PyObject
*_wrap_wxDC_CanDrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7070 PyObject
* _resultobj
;
7073 PyObject
* _argo0
= 0;
7074 char *_kwnames
[] = { "self", NULL
};
7077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_CanDrawBitmap",_kwnames
,&_argo0
))
7080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CanDrawBitmap. Expected _wxDC_p.");
7087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7088 _result
= (bool )wxDC_CanDrawBitmap(_arg0
);
7090 wxPyEndAllowThreads(__tstate
);
7091 if (PyErr_Occurred()) return NULL
;
7092 } _resultobj
= Py_BuildValue("i",_result
);
7096 #define wxDC_CanGetTextExtent(_swigobj) (_swigobj->CanGetTextExtent())
7097 static PyObject
*_wrap_wxDC_CanGetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7098 PyObject
* _resultobj
;
7101 PyObject
* _argo0
= 0;
7102 char *_kwnames
[] = { "self", NULL
};
7105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_CanGetTextExtent",_kwnames
,&_argo0
))
7108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CanGetTextExtent. Expected _wxDC_p.");
7115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7116 _result
= (bool )wxDC_CanGetTextExtent(_arg0
);
7118 wxPyEndAllowThreads(__tstate
);
7119 if (PyErr_Occurred()) return NULL
;
7120 } _resultobj
= Py_BuildValue("i",_result
);
7124 #define wxDC_GetDepth(_swigobj) (_swigobj->GetDepth())
7125 static PyObject
*_wrap_wxDC_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7126 PyObject
* _resultobj
;
7129 PyObject
* _argo0
= 0;
7130 char *_kwnames
[] = { "self", NULL
};
7133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetDepth",_kwnames
,&_argo0
))
7136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetDepth. Expected _wxDC_p.");
7143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7144 _result
= (int )wxDC_GetDepth(_arg0
);
7146 wxPyEndAllowThreads(__tstate
);
7147 if (PyErr_Occurred()) return NULL
;
7148 } _resultobj
= Py_BuildValue("i",_result
);
7152 #define wxDC_GetPPI(_swigobj) (_swigobj->GetPPI())
7153 static PyObject
*_wrap_wxDC_GetPPI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7154 PyObject
* _resultobj
;
7157 PyObject
* _argo0
= 0;
7158 char *_kwnames
[] = { "self", NULL
};
7162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetPPI",_kwnames
,&_argo0
))
7165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPPI. Expected _wxDC_p.");
7172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7173 _result
= new wxSize (wxDC_GetPPI(_arg0
));
7175 wxPyEndAllowThreads(__tstate
);
7176 if (PyErr_Occurred()) return NULL
;
7177 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
7178 _resultobj
= Py_BuildValue("s",_ptemp
);
7182 #define wxDC_GetLogicalOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLogicalOrigin(_swigarg0,_swigarg1))
7183 static PyObject
*_wrap_wxDC_GetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7184 PyObject
* _resultobj
;
7190 PyObject
* _argo0
= 0;
7191 char *_kwnames
[] = { "self", NULL
};
7200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalOrigin",_kwnames
,&_argo0
))
7203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalOrigin. Expected _wxDC_p.");
7210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7211 wxDC_GetLogicalOrigin(_arg0
,_arg1
,_arg2
);
7213 wxPyEndAllowThreads(__tstate
);
7214 if (PyErr_Occurred()) return NULL
;
7215 } Py_INCREF(Py_None
);
7216 _resultobj
= Py_None
;
7219 o
= PyInt_FromLong((long) (*_arg1
));
7220 _resultobj
= t_output_helper(_resultobj
, o
);
7224 o
= PyInt_FromLong((long) (*_arg2
));
7225 _resultobj
= t_output_helper(_resultobj
, o
);
7230 #define wxDC_SetLogicalOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLogicalOrigin(_swigarg0,_swigarg1))
7231 static PyObject
*_wrap_wxDC_SetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7232 PyObject
* _resultobj
;
7236 PyObject
* _argo0
= 0;
7237 char *_kwnames
[] = { "self","x","y", NULL
};
7240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_SetLogicalOrigin",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalOrigin. Expected _wxDC_p.");
7250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7251 wxDC_SetLogicalOrigin(_arg0
,_arg1
,_arg2
);
7253 wxPyEndAllowThreads(__tstate
);
7254 if (PyErr_Occurred()) return NULL
;
7255 } Py_INCREF(Py_None
);
7256 _resultobj
= Py_None
;
7260 #define wxDC_GetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDeviceOrigin(_swigarg0,_swigarg1))
7261 static PyObject
*_wrap_wxDC_GetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7262 PyObject
* _resultobj
;
7268 PyObject
* _argo0
= 0;
7269 char *_kwnames
[] = { "self", NULL
};
7278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetDeviceOrigin",_kwnames
,&_argo0
))
7281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetDeviceOrigin. Expected _wxDC_p.");
7288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7289 wxDC_GetDeviceOrigin(_arg0
,_arg1
,_arg2
);
7291 wxPyEndAllowThreads(__tstate
);
7292 if (PyErr_Occurred()) return NULL
;
7293 } Py_INCREF(Py_None
);
7294 _resultobj
= Py_None
;
7297 o
= PyInt_FromLong((long) (*_arg1
));
7298 _resultobj
= t_output_helper(_resultobj
, o
);
7302 o
= PyInt_FromLong((long) (*_arg2
));
7303 _resultobj
= t_output_helper(_resultobj
, o
);
7308 #define wxDC_SetAxisOrientation(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAxisOrientation(_swigarg0,_swigarg1))
7309 static PyObject
*_wrap_wxDC_SetAxisOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7310 PyObject
* _resultobj
;
7314 PyObject
* _argo0
= 0;
7317 char *_kwnames
[] = { "self","xLeftRight","yBottomUp", NULL
};
7320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_SetAxisOrientation",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
7323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetAxisOrientation. Expected _wxDC_p.");
7329 _arg1
= (bool ) tempbool1
;
7330 _arg2
= (bool ) tempbool2
;
7332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7333 wxDC_SetAxisOrientation(_arg0
,_arg1
,_arg2
);
7335 wxPyEndAllowThreads(__tstate
);
7336 if (PyErr_Occurred()) return NULL
;
7337 } Py_INCREF(Py_None
);
7338 _resultobj
= Py_None
;
7342 #define wxDC_CalcBoundingBox(_swigobj,_swigarg0,_swigarg1) (_swigobj->CalcBoundingBox(_swigarg0,_swigarg1))
7343 static PyObject
*_wrap_wxDC_CalcBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7344 PyObject
* _resultobj
;
7348 PyObject
* _argo0
= 0;
7349 char *_kwnames
[] = { "self","x","y", NULL
};
7352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_CalcBoundingBox",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7355 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7356 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CalcBoundingBox. Expected _wxDC_p.");
7362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7363 wxDC_CalcBoundingBox(_arg0
,_arg1
,_arg2
);
7365 wxPyEndAllowThreads(__tstate
);
7366 if (PyErr_Occurred()) return NULL
;
7367 } Py_INCREF(Py_None
);
7368 _resultobj
= Py_None
;
7372 #define wxDC_ResetBoundingBox(_swigobj) (_swigobj->ResetBoundingBox())
7373 static PyObject
*_wrap_wxDC_ResetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7374 PyObject
* _resultobj
;
7376 PyObject
* _argo0
= 0;
7377 char *_kwnames
[] = { "self", NULL
};
7380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_ResetBoundingBox",_kwnames
,&_argo0
))
7383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_ResetBoundingBox. Expected _wxDC_p.");
7390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7391 wxDC_ResetBoundingBox(_arg0
);
7393 wxPyEndAllowThreads(__tstate
);
7394 if (PyErr_Occurred()) return NULL
;
7395 } Py_INCREF(Py_None
);
7396 _resultobj
= Py_None
;
7400 static PyObject
*_wrap_wxDC_GetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7401 PyObject
* _resultobj
;
7411 PyObject
* _argo0
= 0;
7412 char *_kwnames
[] = { "self", NULL
};
7427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBoundingBox",_kwnames
,&_argo0
))
7430 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7431 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBoundingBox. Expected _wxDC_p.");
7437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7438 wxDC_GetBoundingBox(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7440 wxPyEndAllowThreads(__tstate
);
7441 if (PyErr_Occurred()) return NULL
;
7442 } Py_INCREF(Py_None
);
7443 _resultobj
= Py_None
;
7446 o
= PyInt_FromLong((long) (*_arg1
));
7447 _resultobj
= t_output_helper(_resultobj
, o
);
7451 o
= PyInt_FromLong((long) (*_arg2
));
7452 _resultobj
= t_output_helper(_resultobj
, o
);
7456 o
= PyInt_FromLong((long) (*_arg3
));
7457 _resultobj
= t_output_helper(_resultobj
, o
);
7461 o
= PyInt_FromLong((long) (*_arg4
));
7462 _resultobj
= t_output_helper(_resultobj
, o
);
7467 static PyObject
* wxDC__DrawPointList(wxDC
*self
,PyObject
* pyPoints
,PyObject
* pyPens
) {
7468 bool isFastSeq
= PyList_Check(pyPoints
) || PyTuple_Check(pyPoints
);
7469 bool isFastPens
= PyList_Check(pyPens
) || PyTuple_Check(pyPens
);
7477 if (!PySequence_Check(pyPoints
)) {
7480 if (!PySequence_Check(pyPens
)) {
7483 numObjs
= PySequence_Length(pyPoints
);
7484 numPens
= PySequence_Length(pyPens
);
7486 for (i
= 0; i
< numObjs
; i
++) {
7490 obj
= PySequence_Fast_GET_ITEM(pyPens
, i
);
7493 obj
= PySequence_GetItem(pyPens
, i
);
7495 if (SWIG_GetPtrObj(obj
, (void **) &pen
, "_wxPen_p")) {
7506 // Get the point coordinants
7508 obj
= PySequence_Fast_GET_ITEM(pyPoints
, i
);
7511 obj
= PySequence_GetItem(pyPoints
, i
);
7513 if (! _2int_seq_helper(obj
, &x1
, &y1
)) {
7519 // Now draw the point
7520 self
->DrawPoint(x1
, y1
);
7530 PyErr_SetString(PyExc_TypeError
, "Expected a sequence of wxPens");
7533 PyErr_SetString(PyExc_TypeError
, "Expected a sequence of (x,y) sequences.");
7536 static PyObject
*_wrap_wxDC__DrawPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7537 PyObject
* _resultobj
;
7542 PyObject
* _argo0
= 0;
7543 PyObject
* _obj1
= 0;
7544 PyObject
* _obj2
= 0;
7545 char *_kwnames
[] = { "self","pyPoints","pyPens", NULL
};
7548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDC__DrawPointList",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
7551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC__DrawPointList. Expected _wxDC_p.");
7564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7565 _result
= (PyObject
*)wxDC__DrawPointList(_arg0
,_arg1
,_arg2
);
7567 wxPyEndAllowThreads(__tstate
);
7568 if (PyErr_Occurred()) return NULL
;
7570 _resultobj
= _result
;
7575 static PyObject
* wxDC__DrawLineList(wxDC
*self
,PyObject
* pyLines
,PyObject
* pyPens
) {
7576 bool isFastSeq
= PyList_Check(pyLines
) || PyTuple_Check(pyLines
);
7577 bool isFastPens
= PyList_Check(pyPens
) || PyTuple_Check(pyPens
);
7585 if (!PySequence_Check(pyLines
)) {
7588 if (!PySequence_Check(pyPens
)) {
7591 numObjs
= PySequence_Length(pyLines
);
7592 numPens
= PySequence_Length(pyPens
);
7594 for (i
= 0; i
< numObjs
; i
++) {
7598 obj
= PySequence_Fast_GET_ITEM(pyPens
, i
);
7601 obj
= PySequence_GetItem(pyPens
, i
);
7603 if (SWIG_GetPtrObj(obj
, (void **) &pen
, "_wxPen_p")) {
7614 // Get the line coordinants
7616 obj
= PySequence_Fast_GET_ITEM(pyLines
, i
);
7619 obj
= PySequence_GetItem(pyLines
, i
);
7621 if (! _4int_seq_helper(obj
, &x1
, &y1
, &x2
, &y2
)) {
7627 // Now draw the line
7628 self
->DrawLine(x1
, y1
, x2
, y2
);
7638 PyErr_SetString(PyExc_TypeError
, "Expected a sequence of wxPens");
7641 PyErr_SetString(PyExc_TypeError
, "Expected a sequence of (x1,y1, x2,y2) sequences.");
7644 static PyObject
*_wrap_wxDC__DrawLineList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7645 PyObject
* _resultobj
;
7650 PyObject
* _argo0
= 0;
7651 PyObject
* _obj1
= 0;
7652 PyObject
* _obj2
= 0;
7653 char *_kwnames
[] = { "self","pyLines","pyPens", NULL
};
7656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDC__DrawLineList",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
7659 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7660 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC__DrawLineList. Expected _wxDC_p.");
7672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7673 _result
= (PyObject
*)wxDC__DrawLineList(_arg0
,_arg1
,_arg2
);
7675 wxPyEndAllowThreads(__tstate
);
7676 if (PyErr_Occurred()) return NULL
;
7678 _resultobj
= _result
;
7683 static void *SwigwxMemoryDCTowxDC(void *ptr
) {
7686 src
= (wxMemoryDC
*) ptr
;
7687 dest
= (wxDC
*) src
;
7688 return (void *) dest
;
7691 static void *SwigwxMemoryDCTowxObject(void *ptr
) {
7694 src
= (wxMemoryDC
*) ptr
;
7695 dest
= (wxObject
*) src
;
7696 return (void *) dest
;
7699 #define new_wxMemoryDC() (new wxMemoryDC())
7700 static PyObject
*_wrap_new_wxMemoryDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7701 PyObject
* _resultobj
;
7702 wxMemoryDC
* _result
;
7703 char *_kwnames
[] = { NULL
};
7707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMemoryDC",_kwnames
))
7710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7711 _result
= (wxMemoryDC
*)new_wxMemoryDC();
7713 wxPyEndAllowThreads(__tstate
);
7714 if (PyErr_Occurred()) return NULL
;
7716 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
7717 _resultobj
= Py_BuildValue("s",_ptemp
);
7720 _resultobj
= Py_None
;
7725 #define wxMemoryDC_SelectObject(_swigobj,_swigarg0) (_swigobj->SelectObject(_swigarg0))
7726 static PyObject
*_wrap_wxMemoryDC_SelectObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7727 PyObject
* _resultobj
;
7730 PyObject
* _argo0
= 0;
7731 PyObject
* _argo1
= 0;
7732 char *_kwnames
[] = { "self","bitmap", NULL
};
7735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMemoryDC_SelectObject",_kwnames
,&_argo0
,&_argo1
))
7738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMemoryDC_p")) {
7740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDC_SelectObject. Expected _wxMemoryDC_p.");
7745 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7746 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
7747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMemoryDC_SelectObject. Expected _wxBitmap_p.");
7752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7753 wxMemoryDC_SelectObject(_arg0
,*_arg1
);
7755 wxPyEndAllowThreads(__tstate
);
7756 if (PyErr_Occurred()) return NULL
;
7757 } Py_INCREF(Py_None
);
7758 _resultobj
= Py_None
;
7762 static void *SwigwxBufferedDCTowxMemoryDC(void *ptr
) {
7765 src
= (wxBufferedDC
*) ptr
;
7766 dest
= (wxMemoryDC
*) src
;
7767 return (void *) dest
;
7770 static void *SwigwxBufferedDCTowxDC(void *ptr
) {
7773 src
= (wxBufferedDC
*) ptr
;
7774 dest
= (wxDC
*) src
;
7775 return (void *) dest
;
7778 static void *SwigwxBufferedDCTowxObject(void *ptr
) {
7781 src
= (wxBufferedDC
*) ptr
;
7782 dest
= (wxObject
*) src
;
7783 return (void *) dest
;
7786 #define new_wxBufferedDC(_swigarg0,_swigarg1) (new wxBufferedDC(_swigarg0,_swigarg1))
7787 static PyObject
*_wrap_new_wxBufferedDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7788 PyObject
* _resultobj
;
7789 wxBufferedDC
* _result
;
7792 PyObject
* _argo0
= 0;
7793 PyObject
* _argo1
= 0;
7794 char *_kwnames
[] = { "dc","buffer", NULL
};
7798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxBufferedDC",_kwnames
,&_argo0
,&_argo1
))
7801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBufferedDC. Expected _wxDC_p.");
7808 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7809 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
7810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxBufferedDC. Expected _wxBitmap_p.");
7815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7816 _result
= (wxBufferedDC
*)new_wxBufferedDC(_arg0
,*_arg1
);
7818 wxPyEndAllowThreads(__tstate
);
7819 if (PyErr_Occurred()) return NULL
;
7821 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBufferedDC_p");
7822 _resultobj
= Py_BuildValue("s",_ptemp
);
7825 _resultobj
= Py_None
;
7830 #define new_wxBufferedDCInternalBuffer(_swigarg0,_swigarg1) (new wxBufferedDC(_swigarg0,_swigarg1))
7831 static PyObject
*_wrap_new_wxBufferedDCInternalBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7832 PyObject
* _resultobj
;
7833 wxBufferedDC
* _result
;
7836 PyObject
* _argo0
= 0;
7838 PyObject
* _obj1
= 0;
7839 char *_kwnames
[] = { "dc","area", NULL
};
7843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxBufferedDCInternalBuffer",_kwnames
,&_argo0
,&_obj1
))
7846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBufferedDCInternalBuffer. Expected _wxDC_p.");
7854 if (! wxSize_helper(_obj1
, &_arg1
))
7858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7859 _result
= (wxBufferedDC
*)new_wxBufferedDCInternalBuffer(_arg0
,*_arg1
);
7861 wxPyEndAllowThreads(__tstate
);
7862 if (PyErr_Occurred()) return NULL
;
7864 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBufferedDC_p");
7865 _resultobj
= Py_BuildValue("s",_ptemp
);
7868 _resultobj
= Py_None
;
7873 #define wxBufferedDC_UnMask(_swigobj) (_swigobj->UnMask())
7874 static PyObject
*_wrap_wxBufferedDC_UnMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7875 PyObject
* _resultobj
;
7876 wxBufferedDC
* _arg0
;
7877 PyObject
* _argo0
= 0;
7878 char *_kwnames
[] = { "self", NULL
};
7881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBufferedDC_UnMask",_kwnames
,&_argo0
))
7884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBufferedDC_p")) {
7886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBufferedDC_UnMask. Expected _wxBufferedDC_p.");
7891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7892 wxBufferedDC_UnMask(_arg0
);
7894 wxPyEndAllowThreads(__tstate
);
7895 if (PyErr_Occurred()) return NULL
;
7896 } Py_INCREF(Py_None
);
7897 _resultobj
= Py_None
;
7901 static void *SwigwxBufferedPaintDCTowxBufferedDC(void *ptr
) {
7902 wxBufferedPaintDC
*src
;
7904 src
= (wxBufferedPaintDC
*) ptr
;
7905 dest
= (wxBufferedDC
*) src
;
7906 return (void *) dest
;
7909 static void *SwigwxBufferedPaintDCTowxMemoryDC(void *ptr
) {
7910 wxBufferedPaintDC
*src
;
7912 src
= (wxBufferedPaintDC
*) ptr
;
7913 dest
= (wxMemoryDC
*) src
;
7914 return (void *) dest
;
7917 static void *SwigwxBufferedPaintDCTowxDC(void *ptr
) {
7918 wxBufferedPaintDC
*src
;
7920 src
= (wxBufferedPaintDC
*) ptr
;
7921 dest
= (wxDC
*) src
;
7922 return (void *) dest
;
7925 static void *SwigwxBufferedPaintDCTowxObject(void *ptr
) {
7926 wxBufferedPaintDC
*src
;
7928 src
= (wxBufferedPaintDC
*) ptr
;
7929 dest
= (wxObject
*) src
;
7930 return (void *) dest
;
7933 #define new_wxBufferedPaintDC(_swigarg0,_swigarg1) (new wxBufferedPaintDC(_swigarg0,_swigarg1))
7934 static PyObject
*_wrap_new_wxBufferedPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7935 PyObject
* _resultobj
;
7936 wxBufferedPaintDC
* _result
;
7938 wxBitmap
* _arg1
= (wxBitmap
*) &wxNullBitmap
;
7939 PyObject
* _argo0
= 0;
7940 PyObject
* _argo1
= 0;
7941 char *_kwnames
[] = { "window","buffer", NULL
};
7945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxBufferedPaintDC",_kwnames
,&_argo0
,&_argo1
))
7948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
7950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBufferedPaintDC. Expected _wxWindow_p.");
7955 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7956 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
7957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxBufferedPaintDC. Expected _wxBitmap_p.");
7962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7963 _result
= (wxBufferedPaintDC
*)new_wxBufferedPaintDC(_arg0
,*_arg1
);
7965 wxPyEndAllowThreads(__tstate
);
7966 if (PyErr_Occurred()) return NULL
;
7968 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBufferedPaintDC_p");
7969 _resultobj
= Py_BuildValue("s",_ptemp
);
7972 _resultobj
= Py_None
;
7977 static void *SwigwxScreenDCTowxDC(void *ptr
) {
7980 src
= (wxScreenDC
*) ptr
;
7981 dest
= (wxDC
*) src
;
7982 return (void *) dest
;
7985 static void *SwigwxScreenDCTowxObject(void *ptr
) {
7988 src
= (wxScreenDC
*) ptr
;
7989 dest
= (wxObject
*) src
;
7990 return (void *) dest
;
7993 #define new_wxScreenDC() (new wxScreenDC())
7994 static PyObject
*_wrap_new_wxScreenDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7995 PyObject
* _resultobj
;
7996 wxScreenDC
* _result
;
7997 char *_kwnames
[] = { NULL
};
8001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxScreenDC",_kwnames
))
8004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8005 _result
= (wxScreenDC
*)new_wxScreenDC();
8007 wxPyEndAllowThreads(__tstate
);
8008 if (PyErr_Occurred()) return NULL
;
8010 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScreenDC_p");
8011 _resultobj
= Py_BuildValue("s",_ptemp
);
8014 _resultobj
= Py_None
;
8019 #define wxScreenDC_StartDrawingOnTopWin(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
8020 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTopWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8021 PyObject
* _resultobj
;
8025 PyObject
* _argo0
= 0;
8026 PyObject
* _argo1
= 0;
8027 char *_kwnames
[] = { "self","window", NULL
};
8030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScreenDC_StartDrawingOnTopWin",_kwnames
,&_argo0
,&_argo1
))
8033 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8034 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
8035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTopWin. Expected _wxScreenDC_p.");
8040 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8041 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScreenDC_StartDrawingOnTopWin. Expected _wxWindow_p.");
8047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8048 _result
= (bool )wxScreenDC_StartDrawingOnTopWin(_arg0
,_arg1
);
8050 wxPyEndAllowThreads(__tstate
);
8051 if (PyErr_Occurred()) return NULL
;
8052 } _resultobj
= Py_BuildValue("i",_result
);
8056 #define wxScreenDC_StartDrawingOnTop(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
8057 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8058 PyObject
* _resultobj
;
8061 wxRect
* _arg1
= (wxRect
*) NULL
;
8062 PyObject
* _argo0
= 0;
8064 PyObject
* _obj1
= 0;
8065 char *_kwnames
[] = { "self","rect", NULL
};
8068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxScreenDC_StartDrawingOnTop",_kwnames
,&_argo0
,&_obj1
))
8071 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8072 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
8073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTop. Expected _wxScreenDC_p.");
8080 if (! wxRect_helper(_obj1
, &_arg1
))
8084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8085 _result
= (bool )wxScreenDC_StartDrawingOnTop(_arg0
,_arg1
);
8087 wxPyEndAllowThreads(__tstate
);
8088 if (PyErr_Occurred()) return NULL
;
8089 } _resultobj
= Py_BuildValue("i",_result
);
8093 #define wxScreenDC_EndDrawingOnTop(_swigobj) (_swigobj->EndDrawingOnTop())
8094 static PyObject
*_wrap_wxScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8095 PyObject
* _resultobj
;
8098 PyObject
* _argo0
= 0;
8099 char *_kwnames
[] = { "self", NULL
};
8102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScreenDC_EndDrawingOnTop",_kwnames
,&_argo0
))
8105 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8106 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
8107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_EndDrawingOnTop. Expected _wxScreenDC_p.");
8112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8113 _result
= (bool )wxScreenDC_EndDrawingOnTop(_arg0
);
8115 wxPyEndAllowThreads(__tstate
);
8116 if (PyErr_Occurred()) return NULL
;
8117 } _resultobj
= Py_BuildValue("i",_result
);
8121 static void *SwigwxClientDCTowxDC(void *ptr
) {
8124 src
= (wxClientDC
*) ptr
;
8125 dest
= (wxDC
*) src
;
8126 return (void *) dest
;
8129 static void *SwigwxClientDCTowxObject(void *ptr
) {
8132 src
= (wxClientDC
*) ptr
;
8133 dest
= (wxObject
*) src
;
8134 return (void *) dest
;
8137 #define new_wxClientDC(_swigarg0) (new wxClientDC(_swigarg0))
8138 static PyObject
*_wrap_new_wxClientDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8139 PyObject
* _resultobj
;
8140 wxClientDC
* _result
;
8142 PyObject
* _argo0
= 0;
8143 char *_kwnames
[] = { "win", NULL
};
8147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxClientDC",_kwnames
,&_argo0
))
8150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxClientDC. Expected _wxWindow_p.");
8157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8158 _result
= (wxClientDC
*)new_wxClientDC(_arg0
);
8160 wxPyEndAllowThreads(__tstate
);
8161 if (PyErr_Occurred()) return NULL
;
8163 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxClientDC_p");
8164 _resultobj
= Py_BuildValue("s",_ptemp
);
8167 _resultobj
= Py_None
;
8172 static void *SwigwxPaintDCTowxDC(void *ptr
) {
8175 src
= (wxPaintDC
*) ptr
;
8176 dest
= (wxDC
*) src
;
8177 return (void *) dest
;
8180 static void *SwigwxPaintDCTowxObject(void *ptr
) {
8183 src
= (wxPaintDC
*) ptr
;
8184 dest
= (wxObject
*) src
;
8185 return (void *) dest
;
8188 #define new_wxPaintDC(_swigarg0) (new wxPaintDC(_swigarg0))
8189 static PyObject
*_wrap_new_wxPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8190 PyObject
* _resultobj
;
8191 wxPaintDC
* _result
;
8193 PyObject
* _argo0
= 0;
8194 char *_kwnames
[] = { "win", NULL
};
8198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPaintDC",_kwnames
,&_argo0
))
8201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPaintDC. Expected _wxWindow_p.");
8208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8209 _result
= (wxPaintDC
*)new_wxPaintDC(_arg0
);
8211 wxPyEndAllowThreads(__tstate
);
8212 if (PyErr_Occurred()) return NULL
;
8214 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPaintDC_p");
8215 _resultobj
= Py_BuildValue("s",_ptemp
);
8218 _resultobj
= Py_None
;
8223 static void *SwigwxWindowDCTowxDC(void *ptr
) {
8226 src
= (wxWindowDC
*) ptr
;
8227 dest
= (wxDC
*) src
;
8228 return (void *) dest
;
8231 static void *SwigwxWindowDCTowxObject(void *ptr
) {
8234 src
= (wxWindowDC
*) ptr
;
8235 dest
= (wxObject
*) src
;
8236 return (void *) dest
;
8239 #define new_wxWindowDC(_swigarg0) (new wxWindowDC(_swigarg0))
8240 static PyObject
*_wrap_new_wxWindowDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8241 PyObject
* _resultobj
;
8242 wxWindowDC
* _result
;
8244 PyObject
* _argo0
= 0;
8245 char *_kwnames
[] = { "win", NULL
};
8249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxWindowDC",_kwnames
,&_argo0
))
8252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDC. Expected _wxWindow_p.");
8259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8260 _result
= (wxWindowDC
*)new_wxWindowDC(_arg0
);
8262 wxPyEndAllowThreads(__tstate
);
8263 if (PyErr_Occurred()) return NULL
;
8265 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDC_p");
8266 _resultobj
= Py_BuildValue("s",_ptemp
);
8269 _resultobj
= Py_None
;
8274 static void *SwigwxPaletteTowxGDIObject(void *ptr
) {
8277 src
= (wxPalette
*) ptr
;
8278 dest
= (wxGDIObject
*) src
;
8279 return (void *) dest
;
8282 static void *SwigwxPaletteTowxObject(void *ptr
) {
8285 src
= (wxPalette
*) ptr
;
8286 dest
= (wxObject
*) src
;
8287 return (void *) dest
;
8290 #define new_wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8291 static PyObject
*_wrap_new_wxPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8292 PyObject
* _resultobj
;
8293 wxPalette
* _result
;
8298 PyObject
* _obj1
= 0;
8299 PyObject
* _obj2
= 0;
8300 PyObject
* _obj3
= 0;
8301 char *_kwnames
[] = { "choices","choices","choices", NULL
};
8305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:new_wxPalette",_kwnames
,&_obj1
,&_obj2
,&_obj3
))
8308 _arg1
= byte_LIST_helper(_obj1
);
8309 if (_arg1
== NULL
) {
8314 _arg2
= byte_LIST_helper(_obj2
);
8315 if (_arg2
== NULL
) {
8321 _arg3
= byte_LIST_helper(_obj3
);
8322 if (_arg3
== NULL
) {
8328 _arg0
= PyList_Size(_obj1
);
8335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8336 _result
= (wxPalette
*)new_wxPalette(_arg0
,_arg1
,_arg2
,_arg3
);
8338 wxPyEndAllowThreads(__tstate
);
8339 if (PyErr_Occurred()) return NULL
;
8341 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
8342 _resultobj
= Py_BuildValue("s",_ptemp
);
8345 _resultobj
= Py_None
;
8359 #define delete_wxPalette(_swigobj) (delete _swigobj)
8360 static PyObject
*_wrap_delete_wxPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8361 PyObject
* _resultobj
;
8363 PyObject
* _argo0
= 0;
8364 char *_kwnames
[] = { "self", NULL
};
8367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPalette",_kwnames
,&_argo0
))
8370 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8371 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
8372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPalette. Expected _wxPalette_p.");
8377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8378 delete_wxPalette(_arg0
);
8380 wxPyEndAllowThreads(__tstate
);
8381 if (PyErr_Occurred()) return NULL
;
8382 } Py_INCREF(Py_None
);
8383 _resultobj
= Py_None
;
8387 #define wxPalette_GetPixel(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetPixel(_swigarg0,_swigarg1,_swigarg2))
8388 static PyObject
*_wrap_wxPalette_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8389 PyObject
* _resultobj
;
8395 PyObject
* _argo0
= 0;
8396 char *_kwnames
[] = { "self","red","green","blue", NULL
};
8399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Obbb:wxPalette_GetPixel",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
8402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
8404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetPixel. Expected _wxPalette_p.");
8409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8410 _result
= (int )wxPalette_GetPixel(_arg0
,_arg1
,_arg2
,_arg3
);
8412 wxPyEndAllowThreads(__tstate
);
8413 if (PyErr_Occurred()) return NULL
;
8414 } _resultobj
= Py_BuildValue("i",_result
);
8418 #define wxPalette_GetRGB(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetRGB(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8419 static PyObject
*_wrap_wxPalette_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8420 PyObject
* _resultobj
;
8430 PyObject
* _argo0
= 0;
8431 char *_kwnames
[] = { "self","pixel", NULL
};
8435 _arg2
= (byte
*)&temp
;
8438 _arg3
= (byte
*)&temp0
;
8441 _arg4
= (byte
*)&temp1
;
8443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPalette_GetRGB",_kwnames
,&_argo0
,&_arg1
))
8446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
8448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetRGB. Expected _wxPalette_p.");
8453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8454 _result
= (bool )wxPalette_GetRGB(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
8456 wxPyEndAllowThreads(__tstate
);
8457 if (PyErr_Occurred()) return NULL
;
8458 } _resultobj
= Py_BuildValue("i",_result
);
8461 o
= PyInt_FromLong((long) (*_arg2
));
8462 _resultobj
= t_output_helper(_resultobj
, o
);
8466 o
= PyInt_FromLong((long) (*_arg3
));
8467 _resultobj
= t_output_helper(_resultobj
, o
);
8471 o
= PyInt_FromLong((long) (*_arg4
));
8472 _resultobj
= t_output_helper(_resultobj
, o
);
8477 #define wxPalette_Ok(_swigobj) (_swigobj->Ok())
8478 static PyObject
*_wrap_wxPalette_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8479 PyObject
* _resultobj
;
8482 PyObject
* _argo0
= 0;
8483 char *_kwnames
[] = { "self", NULL
};
8486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPalette_Ok",_kwnames
,&_argo0
))
8489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
8491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_Ok. Expected _wxPalette_p.");
8496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8497 _result
= (bool )wxPalette_Ok(_arg0
);
8499 wxPyEndAllowThreads(__tstate
);
8500 if (PyErr_Occurred()) return NULL
;
8501 } _resultobj
= Py_BuildValue("i",_result
);
8505 static void *SwigwxImageListTowxObject(void *ptr
) {
8508 src
= (wxImageList
*) ptr
;
8509 dest
= (wxObject
*) src
;
8510 return (void *) dest
;
8513 #define new_wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8514 static PyObject
*_wrap_new_wxImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8515 PyObject
* _resultobj
;
8516 wxImageList
* _result
;
8519 int _arg2
= (int ) TRUE
;
8520 int _arg3
= (int ) 1;
8521 char *_kwnames
[] = { "width","height","mask","initialCount", NULL
};
8525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ii|ii:new_wxImageList",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
8528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8529 _result
= (wxImageList
*)new_wxImageList(_arg0
,_arg1
,_arg2
,_arg3
);
8531 wxPyEndAllowThreads(__tstate
);
8532 if (PyErr_Occurred()) return NULL
;
8534 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
8535 _resultobj
= Py_BuildValue("s",_ptemp
);
8538 _resultobj
= Py_None
;
8543 #define delete_wxImageList(_swigobj) (delete _swigobj)
8544 static PyObject
*_wrap_delete_wxImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8545 PyObject
* _resultobj
;
8546 wxImageList
* _arg0
;
8547 PyObject
* _argo0
= 0;
8548 char *_kwnames
[] = { "self", NULL
};
8551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxImageList",_kwnames
,&_argo0
))
8554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
8556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxImageList. Expected _wxImageList_p.");
8561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8562 delete_wxImageList(_arg0
);
8564 wxPyEndAllowThreads(__tstate
);
8565 if (PyErr_Occurred()) return NULL
;
8566 } Py_INCREF(Py_None
);
8567 _resultobj
= Py_None
;
8571 #define wxImageList_Add(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
8572 static PyObject
*_wrap_wxImageList_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8573 PyObject
* _resultobj
;
8575 wxImageList
* _arg0
;
8577 wxBitmap
* _arg2
= (wxBitmap
*) &wxNullBitmap
;
8578 PyObject
* _argo0
= 0;
8579 PyObject
* _argo1
= 0;
8580 PyObject
* _argo2
= 0;
8581 char *_kwnames
[] = { "self","bitmap","mask", NULL
};
8584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxImageList_Add",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
8587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
8589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Add. Expected _wxImageList_p.");
8594 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8595 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
8596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_Add. Expected _wxBitmap_p.");
8601 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8602 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
8603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Add. Expected _wxBitmap_p.");
8608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8609 _result
= (int )wxImageList_Add(_arg0
,*_arg1
,*_arg2
);
8611 wxPyEndAllowThreads(__tstate
);
8612 if (PyErr_Occurred()) return NULL
;
8613 } _resultobj
= Py_BuildValue("i",_result
);
8617 #define wxImageList_AddWithColourMask(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
8618 static PyObject
*_wrap_wxImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8619 PyObject
* _resultobj
;
8621 wxImageList
* _arg0
;
8624 PyObject
* _argo0
= 0;
8625 PyObject
* _argo1
= 0;
8627 PyObject
* _obj2
= 0;
8628 char *_kwnames
[] = { "self","bitmap","maskColour", NULL
};
8631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxImageList_AddWithColourMask",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
8634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
8636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_AddWithColourMask. Expected _wxImageList_p.");
8641 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8642 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
8643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_AddWithColourMask. Expected _wxBitmap_p.");
8649 if (! wxColour_helper(_obj2
, &_arg2
))
8653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8654 _result
= (int )wxImageList_AddWithColourMask(_arg0
,*_arg1
,*_arg2
);
8656 wxPyEndAllowThreads(__tstate
);
8657 if (PyErr_Occurred()) return NULL
;
8658 } _resultobj
= Py_BuildValue("i",_result
);
8662 #define wxImageList_AddIcon(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
8663 static PyObject
*_wrap_wxImageList_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8664 PyObject
* _resultobj
;
8666 wxImageList
* _arg0
;
8668 PyObject
* _argo0
= 0;
8669 PyObject
* _argo1
= 0;
8670 char *_kwnames
[] = { "self","icon", NULL
};
8673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxImageList_AddIcon",_kwnames
,&_argo0
,&_argo1
))
8676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
8678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_AddIcon. Expected _wxImageList_p.");
8683 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8684 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
8685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_AddIcon. Expected _wxIcon_p.");
8690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8691 _result
= (int )wxImageList_AddIcon(_arg0
,*_arg1
);
8693 wxPyEndAllowThreads(__tstate
);
8694 if (PyErr_Occurred()) return NULL
;
8695 } _resultobj
= Py_BuildValue("i",_result
);
8699 #define wxImageList_Replace(_swigobj,_swigarg0,_swigarg1) (_swigobj->Replace(_swigarg0,_swigarg1))
8700 static PyObject
*_wrap_wxImageList_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8701 PyObject
* _resultobj
;
8703 wxImageList
* _arg0
;
8706 PyObject
* _argo0
= 0;
8707 PyObject
* _argo2
= 0;
8708 char *_kwnames
[] = { "self","index","bitmap", NULL
};
8711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxImageList_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
8714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
8716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Replace. Expected _wxImageList_p.");
8721 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8722 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
8723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Replace. Expected _wxBitmap_p.");
8728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8729 _result
= (bool )wxImageList_Replace(_arg0
,_arg1
,*_arg2
);
8731 wxPyEndAllowThreads(__tstate
);
8732 if (PyErr_Occurred()) return NULL
;
8733 } _resultobj
= Py_BuildValue("i",_result
);
8737 #define wxImageList_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8738 static PyObject
*_wrap_wxImageList_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8739 PyObject
* _resultobj
;
8741 wxImageList
* _arg0
;
8746 int _arg5
= (int ) (wxIMAGELIST_DRAW_NORMAL
);
8747 bool _arg6
= (bool ) FALSE
;
8748 PyObject
* _argo0
= 0;
8749 PyObject
* _argo2
= 0;
8750 int tempbool6
= (int) FALSE
;
8751 char *_kwnames
[] = { "self","index","dc","x","x","flags","solidBackground", NULL
};
8754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOii|ii:wxImageList_Draw",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
8757 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8758 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
8759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Draw. Expected _wxImageList_p.");
8764 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8765 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDC_p")) {
8766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Draw. Expected _wxDC_p.");
8770 _arg6
= (bool ) tempbool6
;
8772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8773 _result
= (bool )wxImageList_Draw(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
8775 wxPyEndAllowThreads(__tstate
);
8776 if (PyErr_Occurred()) return NULL
;
8777 } _resultobj
= Py_BuildValue("i",_result
);
8781 #define wxImageList_GetImageCount(_swigobj) (_swigobj->GetImageCount())
8782 static PyObject
*_wrap_wxImageList_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8783 PyObject
* _resultobj
;
8785 wxImageList
* _arg0
;
8786 PyObject
* _argo0
= 0;
8787 char *_kwnames
[] = { "self", NULL
};
8790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImageList_GetImageCount",_kwnames
,&_argo0
))
8793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
8795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_GetImageCount. Expected _wxImageList_p.");
8800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8801 _result
= (int )wxImageList_GetImageCount(_arg0
);
8803 wxPyEndAllowThreads(__tstate
);
8804 if (PyErr_Occurred()) return NULL
;
8805 } _resultobj
= Py_BuildValue("i",_result
);
8809 #define wxImageList_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
8810 static PyObject
*_wrap_wxImageList_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8811 PyObject
* _resultobj
;
8813 wxImageList
* _arg0
;
8815 PyObject
* _argo0
= 0;
8816 char *_kwnames
[] = { "self","index", NULL
};
8819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxImageList_Remove",_kwnames
,&_argo0
,&_arg1
))
8822 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8823 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
8824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Remove. Expected _wxImageList_p.");
8829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8830 _result
= (bool )wxImageList_Remove(_arg0
,_arg1
);
8832 wxPyEndAllowThreads(__tstate
);
8833 if (PyErr_Occurred()) return NULL
;
8834 } _resultobj
= Py_BuildValue("i",_result
);
8838 #define wxImageList_RemoveAll(_swigobj) (_swigobj->RemoveAll())
8839 static PyObject
*_wrap_wxImageList_RemoveAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8840 PyObject
* _resultobj
;
8842 wxImageList
* _arg0
;
8843 PyObject
* _argo0
= 0;
8844 char *_kwnames
[] = { "self", NULL
};
8847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImageList_RemoveAll",_kwnames
,&_argo0
))
8850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
8852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_RemoveAll. Expected _wxImageList_p.");
8857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8858 _result
= (bool )wxImageList_RemoveAll(_arg0
);
8860 wxPyEndAllowThreads(__tstate
);
8861 if (PyErr_Occurred()) return NULL
;
8862 } _resultobj
= Py_BuildValue("i",_result
);
8866 #define wxImageList_GetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetSize(_swigarg0,_swigarg1,_swigarg2))
8867 static PyObject
*_wrap_wxImageList_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8868 PyObject
* _resultobj
;
8869 wxImageList
* _arg0
;
8875 PyObject
* _argo0
= 0;
8876 char *_kwnames
[] = { "self","index", NULL
};
8885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxImageList_GetSize",_kwnames
,&_argo0
,&_arg1
))
8888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
8890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_GetSize. Expected _wxImageList_p.");
8895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8896 wxImageList_GetSize(_arg0
,_arg1
,*_arg2
,*_arg3
);
8898 wxPyEndAllowThreads(__tstate
);
8899 if (PyErr_Occurred()) return NULL
;
8900 } Py_INCREF(Py_None
);
8901 _resultobj
= Py_None
;
8904 o
= PyInt_FromLong((long) (*_arg2
));
8905 _resultobj
= t_output_helper(_resultobj
, o
);
8909 o
= PyInt_FromLong((long) (*_arg3
));
8910 _resultobj
= t_output_helper(_resultobj
, o
);
8915 static void *SwigwxRegionTowxGDIObject(void *ptr
) {
8918 src
= (wxRegion
*) ptr
;
8919 dest
= (wxGDIObject
*) src
;
8920 return (void *) dest
;
8923 static void *SwigwxRegionTowxObject(void *ptr
) {
8926 src
= (wxRegion
*) ptr
;
8927 dest
= (wxObject
*) src
;
8928 return (void *) dest
;
8931 #define new_wxRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8932 static PyObject
*_wrap_new_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8933 PyObject
* _resultobj
;
8935 long _arg0
= (long ) 0;
8936 long _arg1
= (long ) 0;
8937 long _arg2
= (long ) 0;
8938 long _arg3
= (long ) 0;
8939 char *_kwnames
[] = { "x","y","width","height", NULL
};
8943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|llll:new_wxRegion",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
8946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8947 _result
= (wxRegion
*)new_wxRegion(_arg0
,_arg1
,_arg2
,_arg3
);
8949 wxPyEndAllowThreads(__tstate
);
8950 if (PyErr_Occurred()) return NULL
;
8952 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegion_p");
8953 _resultobj
= Py_BuildValue("s",_ptemp
);
8956 _resultobj
= Py_None
;
8961 #define delete_wxRegion(_swigobj) (delete _swigobj)
8962 static PyObject
*_wrap_delete_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8963 PyObject
* _resultobj
;
8965 PyObject
* _argo0
= 0;
8966 char *_kwnames
[] = { "self", NULL
};
8969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegion",_kwnames
,&_argo0
))
8972 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8973 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
8974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegion. Expected _wxRegion_p.");
8979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8980 delete_wxRegion(_arg0
);
8982 wxPyEndAllowThreads(__tstate
);
8983 if (PyErr_Occurred()) return NULL
;
8984 } Py_INCREF(Py_None
);
8985 _resultobj
= Py_None
;
8989 #define wxRegion_Clear(_swigobj) (_swigobj->Clear())
8990 static PyObject
*_wrap_wxRegion_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8991 PyObject
* _resultobj
;
8993 PyObject
* _argo0
= 0;
8994 char *_kwnames
[] = { "self", NULL
};
8997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_Clear",_kwnames
,&_argo0
))
9000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Clear. Expected _wxRegion_p.");
9007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9008 wxRegion_Clear(_arg0
);
9010 wxPyEndAllowThreads(__tstate
);
9011 if (PyErr_Occurred()) return NULL
;
9012 } Py_INCREF(Py_None
);
9013 _resultobj
= Py_None
;
9017 #define wxRegion_Contains(_swigobj,_swigarg0,_swigarg1) (_swigobj->Contains(_swigarg0,_swigarg1))
9018 static PyObject
*_wrap_wxRegion_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9019 PyObject
* _resultobj
;
9020 wxRegionContain _result
;
9024 PyObject
* _argo0
= 0;
9025 char *_kwnames
[] = { "self","x","y", NULL
};
9028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxRegion_Contains",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Contains. Expected _wxRegion_p.");
9038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9039 _result
= (wxRegionContain
)wxRegion_Contains(_arg0
,_arg1
,_arg2
);
9041 wxPyEndAllowThreads(__tstate
);
9042 if (PyErr_Occurred()) return NULL
;
9043 } _resultobj
= Py_BuildValue("i",_result
);
9047 #define wxRegion_ContainsPoint(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
9048 static PyObject
*_wrap_wxRegion_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9049 PyObject
* _resultobj
;
9050 wxRegionContain _result
;
9053 PyObject
* _argo0
= 0;
9055 PyObject
* _obj1
= 0;
9056 char *_kwnames
[] = { "self","pt", NULL
};
9059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsPoint",_kwnames
,&_argo0
,&_obj1
))
9062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsPoint. Expected _wxRegion_p.");
9070 if (! wxPoint_helper(_obj1
, &_arg1
))
9074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9075 _result
= (wxRegionContain
)wxRegion_ContainsPoint(_arg0
,*_arg1
);
9077 wxPyEndAllowThreads(__tstate
);
9078 if (PyErr_Occurred()) return NULL
;
9079 } _resultobj
= Py_BuildValue("i",_result
);
9083 #define wxRegion_ContainsRect(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
9084 static PyObject
*_wrap_wxRegion_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9085 PyObject
* _resultobj
;
9086 wxRegionContain _result
;
9089 PyObject
* _argo0
= 0;
9091 PyObject
* _obj1
= 0;
9092 char *_kwnames
[] = { "self","rect", NULL
};
9095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsRect",_kwnames
,&_argo0
,&_obj1
))
9098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRect. Expected _wxRegion_p.");
9106 if (! wxRect_helper(_obj1
, &_arg1
))
9110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9111 _result
= (wxRegionContain
)wxRegion_ContainsRect(_arg0
,*_arg1
);
9113 wxPyEndAllowThreads(__tstate
);
9114 if (PyErr_Occurred()) return NULL
;
9115 } _resultobj
= Py_BuildValue("i",_result
);
9119 #define wxRegion_ContainsRectDim(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Contains(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9120 static PyObject
*_wrap_wxRegion_ContainsRectDim(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9121 PyObject
* _resultobj
;
9122 wxRegionContain _result
;
9128 PyObject
* _argo0
= 0;
9129 char *_kwnames
[] = { "self","x","y","w","h", NULL
};
9132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_ContainsRectDim",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
9135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRectDim. Expected _wxRegion_p.");
9142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9143 _result
= (wxRegionContain
)wxRegion_ContainsRectDim(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
9145 wxPyEndAllowThreads(__tstate
);
9146 if (PyErr_Occurred()) return NULL
;
9147 } _resultobj
= Py_BuildValue("i",_result
);
9151 #define wxRegion_GetBox(_swigobj) (_swigobj->GetBox())
9152 static PyObject
*_wrap_wxRegion_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9153 PyObject
* _resultobj
;
9156 PyObject
* _argo0
= 0;
9157 char *_kwnames
[] = { "self", NULL
};
9161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_GetBox",_kwnames
,&_argo0
))
9164 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9165 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_GetBox. Expected _wxRegion_p.");
9171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9172 _result
= new wxRect (wxRegion_GetBox(_arg0
));
9174 wxPyEndAllowThreads(__tstate
);
9175 if (PyErr_Occurred()) return NULL
;
9176 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
9177 _resultobj
= Py_BuildValue("s",_ptemp
);
9181 #define wxRegion_Intersect(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Intersect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9182 static PyObject
*_wrap_wxRegion_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9183 PyObject
* _resultobj
;
9190 PyObject
* _argo0
= 0;
9191 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
9194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Intersect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
9197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Intersect. Expected _wxRegion_p.");
9204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9205 _result
= (bool )wxRegion_Intersect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
9207 wxPyEndAllowThreads(__tstate
);
9208 if (PyErr_Occurred()) return NULL
;
9209 } _resultobj
= Py_BuildValue("i",_result
);
9213 #define wxRegion_IntersectRect(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
9214 static PyObject
*_wrap_wxRegion_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9215 PyObject
* _resultobj
;
9219 PyObject
* _argo0
= 0;
9221 PyObject
* _obj1
= 0;
9222 char *_kwnames
[] = { "self","rect", NULL
};
9225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_IntersectRect",_kwnames
,&_argo0
,&_obj1
))
9228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IntersectRect. Expected _wxRegion_p.");
9236 if (! wxRect_helper(_obj1
, &_arg1
))
9240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9241 _result
= (bool )wxRegion_IntersectRect(_arg0
,*_arg1
);
9243 wxPyEndAllowThreads(__tstate
);
9244 if (PyErr_Occurred()) return NULL
;
9245 } _resultobj
= Py_BuildValue("i",_result
);
9249 #define wxRegion_IntersectRegion(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
9250 static PyObject
*_wrap_wxRegion_IntersectRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9251 PyObject
* _resultobj
;
9255 PyObject
* _argo0
= 0;
9256 PyObject
* _argo1
= 0;
9257 char *_kwnames
[] = { "self","region", NULL
};
9260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_IntersectRegion",_kwnames
,&_argo0
,&_argo1
))
9263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
9270 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9271 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
9272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
9277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9278 _result
= (bool )wxRegion_IntersectRegion(_arg0
,*_arg1
);
9280 wxPyEndAllowThreads(__tstate
);
9281 if (PyErr_Occurred()) return NULL
;
9282 } _resultobj
= Py_BuildValue("i",_result
);
9286 #define wxRegion_IsEmpty(_swigobj) (_swigobj->IsEmpty())
9287 static PyObject
*_wrap_wxRegion_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9288 PyObject
* _resultobj
;
9291 PyObject
* _argo0
= 0;
9292 char *_kwnames
[] = { "self", NULL
};
9295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_IsEmpty",_kwnames
,&_argo0
))
9298 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9299 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IsEmpty. Expected _wxRegion_p.");
9305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9306 _result
= (bool )wxRegion_IsEmpty(_arg0
);
9308 wxPyEndAllowThreads(__tstate
);
9309 if (PyErr_Occurred()) return NULL
;
9310 } _resultobj
= Py_BuildValue("i",_result
);
9314 #define wxRegion_Union(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Union(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9315 static PyObject
*_wrap_wxRegion_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9316 PyObject
* _resultobj
;
9323 PyObject
* _argo0
= 0;
9324 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
9327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Union",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
9330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Union. Expected _wxRegion_p.");
9337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9338 _result
= (bool )wxRegion_Union(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
9340 wxPyEndAllowThreads(__tstate
);
9341 if (PyErr_Occurred()) return NULL
;
9342 } _resultobj
= Py_BuildValue("i",_result
);
9346 #define wxRegion_UnionRect(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
9347 static PyObject
*_wrap_wxRegion_UnionRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9348 PyObject
* _resultobj
;
9352 PyObject
* _argo0
= 0;
9354 PyObject
* _obj1
= 0;
9355 char *_kwnames
[] = { "self","rect", NULL
};
9358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_UnionRect",_kwnames
,&_argo0
,&_obj1
))
9361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_UnionRect. Expected _wxRegion_p.");
9369 if (! wxRect_helper(_obj1
, &_arg1
))
9373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9374 _result
= (bool )wxRegion_UnionRect(_arg0
,*_arg1
);
9376 wxPyEndAllowThreads(__tstate
);
9377 if (PyErr_Occurred()) return NULL
;
9378 } _resultobj
= Py_BuildValue("i",_result
);
9382 #define wxRegion_UnionRegion(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
9383 static PyObject
*_wrap_wxRegion_UnionRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9384 PyObject
* _resultobj
;
9388 PyObject
* _argo0
= 0;
9389 PyObject
* _argo1
= 0;
9390 char *_kwnames
[] = { "self","region", NULL
};
9393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_UnionRegion",_kwnames
,&_argo0
,&_argo1
))
9396 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9397 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_UnionRegion. Expected _wxRegion_p.");
9403 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9404 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
9405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_UnionRegion. Expected _wxRegion_p.");
9410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9411 _result
= (bool )wxRegion_UnionRegion(_arg0
,*_arg1
);
9413 wxPyEndAllowThreads(__tstate
);
9414 if (PyErr_Occurred()) return NULL
;
9415 } _resultobj
= Py_BuildValue("i",_result
);
9419 #define wxRegion_Subtract(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Subtract(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9420 static PyObject
*_wrap_wxRegion_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9421 PyObject
* _resultobj
;
9428 PyObject
* _argo0
= 0;
9429 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
9432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Subtract",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
9435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Subtract. Expected _wxRegion_p.");
9442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9443 _result
= (bool )wxRegion_Subtract(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
9445 wxPyEndAllowThreads(__tstate
);
9446 if (PyErr_Occurred()) return NULL
;
9447 } _resultobj
= Py_BuildValue("i",_result
);
9451 #define wxRegion_SubtractRect(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
9452 static PyObject
*_wrap_wxRegion_SubtractRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9453 PyObject
* _resultobj
;
9457 PyObject
* _argo0
= 0;
9459 PyObject
* _obj1
= 0;
9460 char *_kwnames
[] = { "self","rect", NULL
};
9463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_SubtractRect",_kwnames
,&_argo0
,&_obj1
))
9466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_SubtractRect. Expected _wxRegion_p.");
9474 if (! wxRect_helper(_obj1
, &_arg1
))
9478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9479 _result
= (bool )wxRegion_SubtractRect(_arg0
,*_arg1
);
9481 wxPyEndAllowThreads(__tstate
);
9482 if (PyErr_Occurred()) return NULL
;
9483 } _resultobj
= Py_BuildValue("i",_result
);
9487 #define wxRegion_SubtractRegion(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
9488 static PyObject
*_wrap_wxRegion_SubtractRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9489 PyObject
* _resultobj
;
9493 PyObject
* _argo0
= 0;
9494 PyObject
* _argo1
= 0;
9495 char *_kwnames
[] = { "self","region", NULL
};
9498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_SubtractRegion",_kwnames
,&_argo0
,&_argo1
))
9501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
9508 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9509 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
9510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
9515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9516 _result
= (bool )wxRegion_SubtractRegion(_arg0
,*_arg1
);
9518 wxPyEndAllowThreads(__tstate
);
9519 if (PyErr_Occurred()) return NULL
;
9520 } _resultobj
= Py_BuildValue("i",_result
);
9524 #define wxRegion_Xor(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Xor(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9525 static PyObject
*_wrap_wxRegion_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9526 PyObject
* _resultobj
;
9533 PyObject
* _argo0
= 0;
9534 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
9537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Xor",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
9540 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9541 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Xor. Expected _wxRegion_p.");
9547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9548 _result
= (bool )wxRegion_Xor(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
9550 wxPyEndAllowThreads(__tstate
);
9551 if (PyErr_Occurred()) return NULL
;
9552 } _resultobj
= Py_BuildValue("i",_result
);
9556 #define wxRegion_XorRect(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
9557 static PyObject
*_wrap_wxRegion_XorRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9558 PyObject
* _resultobj
;
9562 PyObject
* _argo0
= 0;
9564 PyObject
* _obj1
= 0;
9565 char *_kwnames
[] = { "self","rect", NULL
};
9568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_XorRect",_kwnames
,&_argo0
,&_obj1
))
9571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_XorRect. Expected _wxRegion_p.");
9579 if (! wxRect_helper(_obj1
, &_arg1
))
9583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9584 _result
= (bool )wxRegion_XorRect(_arg0
,*_arg1
);
9586 wxPyEndAllowThreads(__tstate
);
9587 if (PyErr_Occurred()) return NULL
;
9588 } _resultobj
= Py_BuildValue("i",_result
);
9592 #define wxRegion_XorRegion(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
9593 static PyObject
*_wrap_wxRegion_XorRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9594 PyObject
* _resultobj
;
9598 PyObject
* _argo0
= 0;
9599 PyObject
* _argo1
= 0;
9600 char *_kwnames
[] = { "self","region", NULL
};
9603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_XorRegion",_kwnames
,&_argo0
,&_argo1
))
9606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_XorRegion. Expected _wxRegion_p.");
9613 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9614 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
9615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_XorRegion. Expected _wxRegion_p.");
9620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9621 _result
= (bool )wxRegion_XorRegion(_arg0
,*_arg1
);
9623 wxPyEndAllowThreads(__tstate
);
9624 if (PyErr_Occurred()) return NULL
;
9625 } _resultobj
= Py_BuildValue("i",_result
);
9629 static void *SwigwxRegionIteratorTowxObject(void *ptr
) {
9630 wxRegionIterator
*src
;
9632 src
= (wxRegionIterator
*) ptr
;
9633 dest
= (wxObject
*) src
;
9634 return (void *) dest
;
9637 #define new_wxRegionIterator(_swigarg0) (new wxRegionIterator(_swigarg0))
9638 static PyObject
*_wrap_new_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9639 PyObject
* _resultobj
;
9640 wxRegionIterator
* _result
;
9642 PyObject
* _argo0
= 0;
9643 char *_kwnames
[] = { "region", NULL
};
9647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxRegionIterator",_kwnames
,&_argo0
))
9650 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9651 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRegionIterator. Expected _wxRegion_p.");
9657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9658 _result
= (wxRegionIterator
*)new_wxRegionIterator(*_arg0
);
9660 wxPyEndAllowThreads(__tstate
);
9661 if (PyErr_Occurred()) return NULL
;
9663 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegionIterator_p");
9664 _resultobj
= Py_BuildValue("s",_ptemp
);
9667 _resultobj
= Py_None
;
9672 #define delete_wxRegionIterator(_swigobj) (delete _swigobj)
9673 static PyObject
*_wrap_delete_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9674 PyObject
* _resultobj
;
9675 wxRegionIterator
* _arg0
;
9676 PyObject
* _argo0
= 0;
9677 char *_kwnames
[] = { "self", NULL
};
9680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegionIterator",_kwnames
,&_argo0
))
9683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
9685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegionIterator. Expected _wxRegionIterator_p.");
9690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9691 delete_wxRegionIterator(_arg0
);
9693 wxPyEndAllowThreads(__tstate
);
9694 if (PyErr_Occurred()) return NULL
;
9695 } Py_INCREF(Py_None
);
9696 _resultobj
= Py_None
;
9700 #define wxRegionIterator_GetX(_swigobj) (_swigobj->GetX())
9701 static PyObject
*_wrap_wxRegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9702 PyObject
* _resultobj
;
9704 wxRegionIterator
* _arg0
;
9705 PyObject
* _argo0
= 0;
9706 char *_kwnames
[] = { "self", NULL
};
9709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetX",_kwnames
,&_argo0
))
9712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
9714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetX. Expected _wxRegionIterator_p.");
9719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9720 _result
= (long )wxRegionIterator_GetX(_arg0
);
9722 wxPyEndAllowThreads(__tstate
);
9723 if (PyErr_Occurred()) return NULL
;
9724 } _resultobj
= Py_BuildValue("l",_result
);
9728 #define wxRegionIterator_GetY(_swigobj) (_swigobj->GetY())
9729 static PyObject
*_wrap_wxRegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9730 PyObject
* _resultobj
;
9732 wxRegionIterator
* _arg0
;
9733 PyObject
* _argo0
= 0;
9734 char *_kwnames
[] = { "self", NULL
};
9737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetY",_kwnames
,&_argo0
))
9740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
9742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetY. Expected _wxRegionIterator_p.");
9747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9748 _result
= (long )wxRegionIterator_GetY(_arg0
);
9750 wxPyEndAllowThreads(__tstate
);
9751 if (PyErr_Occurred()) return NULL
;
9752 } _resultobj
= Py_BuildValue("l",_result
);
9756 #define wxRegionIterator_GetW(_swigobj) (_swigobj->GetW())
9757 static PyObject
*_wrap_wxRegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9758 PyObject
* _resultobj
;
9760 wxRegionIterator
* _arg0
;
9761 PyObject
* _argo0
= 0;
9762 char *_kwnames
[] = { "self", NULL
};
9765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetW",_kwnames
,&_argo0
))
9768 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9769 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
9770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetW. Expected _wxRegionIterator_p.");
9775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9776 _result
= (long )wxRegionIterator_GetW(_arg0
);
9778 wxPyEndAllowThreads(__tstate
);
9779 if (PyErr_Occurred()) return NULL
;
9780 } _resultobj
= Py_BuildValue("l",_result
);
9784 #define wxRegionIterator_GetWidth(_swigobj) (_swigobj->GetWidth())
9785 static PyObject
*_wrap_wxRegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9786 PyObject
* _resultobj
;
9788 wxRegionIterator
* _arg0
;
9789 PyObject
* _argo0
= 0;
9790 char *_kwnames
[] = { "self", NULL
};
9793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetWidth",_kwnames
,&_argo0
))
9796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
9798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetWidth. Expected _wxRegionIterator_p.");
9803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9804 _result
= (long )wxRegionIterator_GetWidth(_arg0
);
9806 wxPyEndAllowThreads(__tstate
);
9807 if (PyErr_Occurred()) return NULL
;
9808 } _resultobj
= Py_BuildValue("l",_result
);
9812 #define wxRegionIterator_GetH(_swigobj) (_swigobj->GetH())
9813 static PyObject
*_wrap_wxRegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9814 PyObject
* _resultobj
;
9816 wxRegionIterator
* _arg0
;
9817 PyObject
* _argo0
= 0;
9818 char *_kwnames
[] = { "self", NULL
};
9821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetH",_kwnames
,&_argo0
))
9824 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9825 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
9826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetH. Expected _wxRegionIterator_p.");
9831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9832 _result
= (long )wxRegionIterator_GetH(_arg0
);
9834 wxPyEndAllowThreads(__tstate
);
9835 if (PyErr_Occurred()) return NULL
;
9836 } _resultobj
= Py_BuildValue("l",_result
);
9840 #define wxRegionIterator_GetHeight(_swigobj) (_swigobj->GetHeight())
9841 static PyObject
*_wrap_wxRegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9842 PyObject
* _resultobj
;
9844 wxRegionIterator
* _arg0
;
9845 PyObject
* _argo0
= 0;
9846 char *_kwnames
[] = { "self", NULL
};
9849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetHeight",_kwnames
,&_argo0
))
9852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
9854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetHeight. Expected _wxRegionIterator_p.");
9859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9860 _result
= (long )wxRegionIterator_GetHeight(_arg0
);
9862 wxPyEndAllowThreads(__tstate
);
9863 if (PyErr_Occurred()) return NULL
;
9864 } _resultobj
= Py_BuildValue("l",_result
);
9868 #define wxRegionIterator_GetRect(_swigobj) (_swigobj->GetRect())
9869 static PyObject
*_wrap_wxRegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9870 PyObject
* _resultobj
;
9872 wxRegionIterator
* _arg0
;
9873 PyObject
* _argo0
= 0;
9874 char *_kwnames
[] = { "self", NULL
};
9878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetRect",_kwnames
,&_argo0
))
9881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
9883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetRect. Expected _wxRegionIterator_p.");
9888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9889 _result
= new wxRect (wxRegionIterator_GetRect(_arg0
));
9891 wxPyEndAllowThreads(__tstate
);
9892 if (PyErr_Occurred()) return NULL
;
9893 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
9894 _resultobj
= Py_BuildValue("s",_ptemp
);
9898 #define wxRegionIterator_HaveRects(_swigobj) (_swigobj->HaveRects())
9899 static PyObject
*_wrap_wxRegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9900 PyObject
* _resultobj
;
9902 wxRegionIterator
* _arg0
;
9903 PyObject
* _argo0
= 0;
9904 char *_kwnames
[] = { "self", NULL
};
9907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_HaveRects",_kwnames
,&_argo0
))
9910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
9912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_HaveRects. Expected _wxRegionIterator_p.");
9917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9918 _result
= (bool )wxRegionIterator_HaveRects(_arg0
);
9920 wxPyEndAllowThreads(__tstate
);
9921 if (PyErr_Occurred()) return NULL
;
9922 } _resultobj
= Py_BuildValue("i",_result
);
9926 #define wxRegionIterator_Reset(_swigobj) (_swigobj->Reset())
9927 static PyObject
*_wrap_wxRegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9928 PyObject
* _resultobj
;
9929 wxRegionIterator
* _arg0
;
9930 PyObject
* _argo0
= 0;
9931 char *_kwnames
[] = { "self", NULL
};
9934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Reset",_kwnames
,&_argo0
))
9937 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9938 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
9939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Reset. Expected _wxRegionIterator_p.");
9944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9945 wxRegionIterator_Reset(_arg0
);
9947 wxPyEndAllowThreads(__tstate
);
9948 if (PyErr_Occurred()) return NULL
;
9949 } Py_INCREF(Py_None
);
9950 _resultobj
= Py_None
;
9954 static void wxRegionIterator_Next(wxRegionIterator
*self
) {
9957 static PyObject
*_wrap_wxRegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9958 PyObject
* _resultobj
;
9959 wxRegionIterator
* _arg0
;
9960 PyObject
* _argo0
= 0;
9961 char *_kwnames
[] = { "self", NULL
};
9964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Next",_kwnames
,&_argo0
))
9967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
9969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Next. Expected _wxRegionIterator_p.");
9974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9975 wxRegionIterator_Next(_arg0
);
9977 wxPyEndAllowThreads(__tstate
);
9978 if (PyErr_Occurred()) return NULL
;
9979 } Py_INCREF(Py_None
);
9980 _resultobj
= Py_None
;
9984 static PyMethodDef gdicMethods
[] = {
9985 { "wxRegionIterator_Next", (PyCFunction
) _wrap_wxRegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
9986 { "wxRegionIterator_Reset", (PyCFunction
) _wrap_wxRegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
9987 { "wxRegionIterator_HaveRects", (PyCFunction
) _wrap_wxRegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
9988 { "wxRegionIterator_GetRect", (PyCFunction
) _wrap_wxRegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
9989 { "wxRegionIterator_GetHeight", (PyCFunction
) _wrap_wxRegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
9990 { "wxRegionIterator_GetH", (PyCFunction
) _wrap_wxRegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
9991 { "wxRegionIterator_GetWidth", (PyCFunction
) _wrap_wxRegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
9992 { "wxRegionIterator_GetW", (PyCFunction
) _wrap_wxRegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
9993 { "wxRegionIterator_GetY", (PyCFunction
) _wrap_wxRegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
9994 { "wxRegionIterator_GetX", (PyCFunction
) _wrap_wxRegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
9995 { "delete_wxRegionIterator", (PyCFunction
) _wrap_delete_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
9996 { "new_wxRegionIterator", (PyCFunction
) _wrap_new_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
9997 { "wxRegion_XorRegion", (PyCFunction
) _wrap_wxRegion_XorRegion
, METH_VARARGS
| METH_KEYWORDS
},
9998 { "wxRegion_XorRect", (PyCFunction
) _wrap_wxRegion_XorRect
, METH_VARARGS
| METH_KEYWORDS
},
9999 { "wxRegion_Xor", (PyCFunction
) _wrap_wxRegion_Xor
, METH_VARARGS
| METH_KEYWORDS
},
10000 { "wxRegion_SubtractRegion", (PyCFunction
) _wrap_wxRegion_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
},
10001 { "wxRegion_SubtractRect", (PyCFunction
) _wrap_wxRegion_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
},
10002 { "wxRegion_Subtract", (PyCFunction
) _wrap_wxRegion_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
10003 { "wxRegion_UnionRegion", (PyCFunction
) _wrap_wxRegion_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
},
10004 { "wxRegion_UnionRect", (PyCFunction
) _wrap_wxRegion_UnionRect
, METH_VARARGS
| METH_KEYWORDS
},
10005 { "wxRegion_Union", (PyCFunction
) _wrap_wxRegion_Union
, METH_VARARGS
| METH_KEYWORDS
},
10006 { "wxRegion_IsEmpty", (PyCFunction
) _wrap_wxRegion_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
10007 { "wxRegion_IntersectRegion", (PyCFunction
) _wrap_wxRegion_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
},
10008 { "wxRegion_IntersectRect", (PyCFunction
) _wrap_wxRegion_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
10009 { "wxRegion_Intersect", (PyCFunction
) _wrap_wxRegion_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
10010 { "wxRegion_GetBox", (PyCFunction
) _wrap_wxRegion_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
10011 { "wxRegion_ContainsRectDim", (PyCFunction
) _wrap_wxRegion_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
},
10012 { "wxRegion_ContainsRect", (PyCFunction
) _wrap_wxRegion_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
10013 { "wxRegion_ContainsPoint", (PyCFunction
) _wrap_wxRegion_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
10014 { "wxRegion_Contains", (PyCFunction
) _wrap_wxRegion_Contains
, METH_VARARGS
| METH_KEYWORDS
},
10015 { "wxRegion_Clear", (PyCFunction
) _wrap_wxRegion_Clear
, METH_VARARGS
| METH_KEYWORDS
},
10016 { "delete_wxRegion", (PyCFunction
) _wrap_delete_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
10017 { "new_wxRegion", (PyCFunction
) _wrap_new_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
10018 { "wxImageList_GetSize", (PyCFunction
) _wrap_wxImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
10019 { "wxImageList_RemoveAll", (PyCFunction
) _wrap_wxImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
},
10020 { "wxImageList_Remove", (PyCFunction
) _wrap_wxImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
},
10021 { "wxImageList_GetImageCount", (PyCFunction
) _wrap_wxImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
10022 { "wxImageList_Draw", (PyCFunction
) _wrap_wxImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
},
10023 { "wxImageList_Replace", (PyCFunction
) _wrap_wxImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
},
10024 { "wxImageList_AddIcon", (PyCFunction
) _wrap_wxImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
10025 { "wxImageList_AddWithColourMask", (PyCFunction
) _wrap_wxImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
},
10026 { "wxImageList_Add", (PyCFunction
) _wrap_wxImageList_Add
, METH_VARARGS
| METH_KEYWORDS
},
10027 { "delete_wxImageList", (PyCFunction
) _wrap_delete_wxImageList
, METH_VARARGS
| METH_KEYWORDS
},
10028 { "new_wxImageList", (PyCFunction
) _wrap_new_wxImageList
, METH_VARARGS
| METH_KEYWORDS
},
10029 { "wxPalette_Ok", (PyCFunction
) _wrap_wxPalette_Ok
, METH_VARARGS
| METH_KEYWORDS
},
10030 { "wxPalette_GetRGB", (PyCFunction
) _wrap_wxPalette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
10031 { "wxPalette_GetPixel", (PyCFunction
) _wrap_wxPalette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
10032 { "delete_wxPalette", (PyCFunction
) _wrap_delete_wxPalette
, METH_VARARGS
| METH_KEYWORDS
},
10033 { "new_wxPalette", (PyCFunction
) _wrap_new_wxPalette
, METH_VARARGS
| METH_KEYWORDS
},
10034 { "new_wxWindowDC", (PyCFunction
) _wrap_new_wxWindowDC
, METH_VARARGS
| METH_KEYWORDS
},
10035 { "new_wxPaintDC", (PyCFunction
) _wrap_new_wxPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
10036 { "new_wxClientDC", (PyCFunction
) _wrap_new_wxClientDC
, METH_VARARGS
| METH_KEYWORDS
},
10037 { "wxScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_wxScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
10038 { "wxScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_wxScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
10039 { "wxScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_wxScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
},
10040 { "new_wxScreenDC", (PyCFunction
) _wrap_new_wxScreenDC
, METH_VARARGS
| METH_KEYWORDS
},
10041 { "new_wxBufferedPaintDC", (PyCFunction
) _wrap_new_wxBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
10042 { "wxBufferedDC_UnMask", (PyCFunction
) _wrap_wxBufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
},
10043 { "new_wxBufferedDCInternalBuffer", (PyCFunction
) _wrap_new_wxBufferedDCInternalBuffer
, METH_VARARGS
| METH_KEYWORDS
},
10044 { "new_wxBufferedDC", (PyCFunction
) _wrap_new_wxBufferedDC
, METH_VARARGS
| METH_KEYWORDS
},
10045 { "wxMemoryDC_SelectObject", (PyCFunction
) _wrap_wxMemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
},
10046 { "new_wxMemoryDC", (PyCFunction
) _wrap_new_wxMemoryDC
, METH_VARARGS
| METH_KEYWORDS
},
10047 { "wxDC__DrawLineList", (PyCFunction
) _wrap_wxDC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
},
10048 { "wxDC__DrawPointList", (PyCFunction
) _wrap_wxDC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
},
10049 { "wxDC_GetBoundingBox", (PyCFunction
) _wrap_wxDC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
10050 { "wxDC_ResetBoundingBox", (PyCFunction
) _wrap_wxDC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
10051 { "wxDC_CalcBoundingBox", (PyCFunction
) _wrap_wxDC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
10052 { "wxDC_SetAxisOrientation", (PyCFunction
) _wrap_wxDC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
},
10053 { "wxDC_GetDeviceOrigin", (PyCFunction
) _wrap_wxDC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
10054 { "wxDC_SetLogicalOrigin", (PyCFunction
) _wrap_wxDC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
10055 { "wxDC_GetLogicalOrigin", (PyCFunction
) _wrap_wxDC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
10056 { "wxDC_GetPPI", (PyCFunction
) _wrap_wxDC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
},
10057 { "wxDC_GetDepth", (PyCFunction
) _wrap_wxDC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
10058 { "wxDC_CanGetTextExtent", (PyCFunction
) _wrap_wxDC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
10059 { "wxDC_CanDrawBitmap", (PyCFunction
) _wrap_wxDC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10060 { "wxDC_DrawBitmap", (PyCFunction
) _wrap_wxDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10061 { "wxDC_StartPage", (PyCFunction
) _wrap_wxDC_StartPage
, METH_VARARGS
| METH_KEYWORDS
},
10062 { "wxDC_StartDoc", (PyCFunction
) _wrap_wxDC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
},
10063 { "wxDC_SetUserScale", (PyCFunction
) _wrap_wxDC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
10064 { "wxDC_SetTextForeground", (PyCFunction
) _wrap_wxDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
10065 { "wxDC_SetTextBackground", (PyCFunction
) _wrap_wxDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
10066 { "wxDC_SetPen", (PyCFunction
) _wrap_wxDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
10067 { "wxDC_SetOptimization", (PyCFunction
) _wrap_wxDC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
10068 { "wxDC_SetMapMode", (PyCFunction
) _wrap_wxDC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
10069 { "wxDC_SetLogicalScale", (PyCFunction
) _wrap_wxDC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
10070 { "wxDC_SetLogicalFunction", (PyCFunction
) _wrap_wxDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
10071 { "wxDC_SetFont", (PyCFunction
) _wrap_wxDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
10072 { "wxDC_SetBrush", (PyCFunction
) _wrap_wxDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
10073 { "wxDC_SetPalette", (PyCFunction
) _wrap_wxDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
10074 { "wxDC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_wxDC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
},
10075 { "wxDC_SetClippingRegion", (PyCFunction
) _wrap_wxDC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
10076 { "wxDC_SetBackgroundMode", (PyCFunction
) _wrap_wxDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
10077 { "wxDC_SetBackground", (PyCFunction
) _wrap_wxDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
},
10078 { "wxDC_SetDeviceOrigin", (PyCFunction
) _wrap_wxDC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
10079 { "wxDC_Ok", (PyCFunction
) _wrap_wxDC_Ok
, METH_VARARGS
| METH_KEYWORDS
},
10080 { "wxDC_MinY", (PyCFunction
) _wrap_wxDC_MinY
, METH_VARARGS
| METH_KEYWORDS
},
10081 { "wxDC_MinX", (PyCFunction
) _wrap_wxDC_MinX
, METH_VARARGS
| METH_KEYWORDS
},
10082 { "wxDC_MaxY", (PyCFunction
) _wrap_wxDC_MaxY
, METH_VARARGS
| METH_KEYWORDS
},
10083 { "wxDC_MaxX", (PyCFunction
) _wrap_wxDC_MaxX
, METH_VARARGS
| METH_KEYWORDS
},
10084 { "wxDC_LogicalToDeviceYRel", (PyCFunction
) _wrap_wxDC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
},
10085 { "wxDC_LogicalToDeviceY", (PyCFunction
) _wrap_wxDC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
},
10086 { "wxDC_LogicalToDeviceXRel", (PyCFunction
) _wrap_wxDC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
},
10087 { "wxDC_LogicalToDeviceX", (PyCFunction
) _wrap_wxDC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
},
10088 { "wxDC_GetUserScale", (PyCFunction
) _wrap_wxDC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
10089 { "wxDC_GetTextForeground", (PyCFunction
) _wrap_wxDC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
10090 { "wxDC_GetFullTextExtent", (PyCFunction
) _wrap_wxDC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
10091 { "wxDC_GetTextExtent", (PyCFunction
) _wrap_wxDC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
10092 { "wxDC_GetTextBackground", (PyCFunction
) _wrap_wxDC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
10093 { "wxDC_GetSizeMM", (PyCFunction
) _wrap_wxDC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
10094 { "wxDC_GetSize", (PyCFunction
) _wrap_wxDC_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
10095 { "wxDC_GetSizeTuple", (PyCFunction
) _wrap_wxDC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
10096 { "wxDC_GetPixel", (PyCFunction
) _wrap_wxDC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
10097 { "wxDC_GetPen", (PyCFunction
) _wrap_wxDC_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
10098 { "wxDC_GetOptimization", (PyCFunction
) _wrap_wxDC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
10099 { "wxDC_GetMapMode", (PyCFunction
) _wrap_wxDC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
10100 { "wxDC_GetLogicalScale", (PyCFunction
) _wrap_wxDC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
10101 { "wxDC_GetLogicalFunction", (PyCFunction
) _wrap_wxDC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
10102 { "wxDC_GetFont", (PyCFunction
) _wrap_wxDC_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
10103 { "wxDC_GetClippingBox", (PyCFunction
) _wrap_wxDC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
},
10104 { "wxDC_GetCharWidth", (PyCFunction
) _wrap_wxDC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
10105 { "wxDC_GetCharHeight", (PyCFunction
) _wrap_wxDC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
10106 { "wxDC_GetBrush", (PyCFunction
) _wrap_wxDC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
10107 { "wxDC_GetBackground", (PyCFunction
) _wrap_wxDC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
},
10108 { "wxDC_FloodFill", (PyCFunction
) _wrap_wxDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
},
10109 { "wxDC_EndPage", (PyCFunction
) _wrap_wxDC_EndPage
, METH_VARARGS
| METH_KEYWORDS
},
10110 { "wxDC_EndDrawing", (PyCFunction
) _wrap_wxDC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
},
10111 { "wxDC_EndDoc", (PyCFunction
) _wrap_wxDC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
},
10112 { "wxDC_DrawText", (PyCFunction
) _wrap_wxDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
10113 { "wxDC_DrawSpline", (PyCFunction
) _wrap_wxDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
10114 { "wxDC_DrawRoundedRectangle", (PyCFunction
) _wrap_wxDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
10115 { "wxDC_DrawRotatedText", (PyCFunction
) _wrap_wxDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
},
10116 { "wxDC_DrawRectangle", (PyCFunction
) _wrap_wxDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
10117 { "wxDC_DrawPoint", (PyCFunction
) _wrap_wxDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
10118 { "wxDC_DrawPolygon", (PyCFunction
) _wrap_wxDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
10119 { "wxDC_DrawLines", (PyCFunction
) _wrap_wxDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
10120 { "wxDC_DrawLine", (PyCFunction
) _wrap_wxDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
10121 { "wxDC_DrawImageLabel", (PyCFunction
) _wrap_wxDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
10122 { "wxDC_DrawLabel", (PyCFunction
) _wrap_wxDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
},
10123 { "wxDC_DrawIcon", (PyCFunction
) _wrap_wxDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
},
10124 { "wxDC_DrawEllipticArc", (PyCFunction
) _wrap_wxDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
10125 { "wxDC_DrawEllipse", (PyCFunction
) _wrap_wxDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
10126 { "wxDC_DrawCircle", (PyCFunction
) _wrap_wxDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
},
10127 { "wxDC_DrawArc", (PyCFunction
) _wrap_wxDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
10128 { "wxDC_DeviceToLogicalYRel", (PyCFunction
) _wrap_wxDC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
},
10129 { "wxDC_DeviceToLogicalY", (PyCFunction
) _wrap_wxDC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
},
10130 { "wxDC_DeviceToLogicalXRel", (PyCFunction
) _wrap_wxDC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
},
10131 { "wxDC_DeviceToLogicalX", (PyCFunction
) _wrap_wxDC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
},
10132 { "wxDC_DestroyClippingRegion", (PyCFunction
) _wrap_wxDC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
10133 { "wxDC_CrossHair", (PyCFunction
) _wrap_wxDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
},
10134 { "wxDC_Clear", (PyCFunction
) _wrap_wxDC_Clear
, METH_VARARGS
| METH_KEYWORDS
},
10135 { "wxDC_Blit", (PyCFunction
) _wrap_wxDC_Blit
, METH_VARARGS
| METH_KEYWORDS
},
10136 { "wxDC_BeginDrawing", (PyCFunction
) _wrap_wxDC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
},
10137 { "delete_wxDC", (PyCFunction
) _wrap_delete_wxDC
, METH_VARARGS
| METH_KEYWORDS
},
10138 { "wxBrushList_GetCount", (PyCFunction
) _wrap_wxBrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
10139 { "wxBrushList_RemoveBrush", (PyCFunction
) _wrap_wxBrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
},
10140 { "wxBrushList_FindOrCreateBrush", (PyCFunction
) _wrap_wxBrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
},
10141 { "wxBrushList_AddBrush", (PyCFunction
) _wrap_wxBrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
},
10142 { "wxBrush_SetStyle", (PyCFunction
) _wrap_wxBrush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
10143 { "wxBrush_SetStipple", (PyCFunction
) _wrap_wxBrush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
10144 { "wxBrush_SetColour", (PyCFunction
) _wrap_wxBrush_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
10145 { "wxBrush_Ok", (PyCFunction
) _wrap_wxBrush_Ok
, METH_VARARGS
| METH_KEYWORDS
},
10146 { "wxBrush_GetStyle", (PyCFunction
) _wrap_wxBrush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
10147 { "wxBrush_GetStipple", (PyCFunction
) _wrap_wxBrush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
10148 { "wxBrush_GetColour", (PyCFunction
) _wrap_wxBrush_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
10149 { "delete_wxBrush", (PyCFunction
) _wrap_delete_wxBrush
, METH_VARARGS
| METH_KEYWORDS
},
10150 { "new_wxBrush", (PyCFunction
) _wrap_new_wxBrush
, METH_VARARGS
| METH_KEYWORDS
},
10151 { "wxPenList_GetCount", (PyCFunction
) _wrap_wxPenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
10152 { "wxPenList_RemovePen", (PyCFunction
) _wrap_wxPenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
},
10153 { "wxPenList_FindOrCreatePen", (PyCFunction
) _wrap_wxPenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
},
10154 { "wxPenList_AddPen", (PyCFunction
) _wrap_wxPenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
},
10155 { "wxPyPen_SetDashes", (PyCFunction
) _wrap_wxPyPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
10156 { "delete_wxPyPen", (PyCFunction
) _wrap_delete_wxPyPen
, METH_VARARGS
| METH_KEYWORDS
},
10157 { "new_wxPyPen", (PyCFunction
) _wrap_new_wxPyPen
, METH_VARARGS
| METH_KEYWORDS
},
10158 { "wxPen_SetDashes", (PyCFunction
) _wrap_wxPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
10159 { "wxPen_SetWidth", (PyCFunction
) _wrap_wxPen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
10160 { "wxPen_SetStyle", (PyCFunction
) _wrap_wxPen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
10161 { "wxPen_SetJoin", (PyCFunction
) _wrap_wxPen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
},
10162 { "wxPen_SetColour", (PyCFunction
) _wrap_wxPen_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
10163 { "wxPen_SetCap", (PyCFunction
) _wrap_wxPen_SetCap
, METH_VARARGS
| METH_KEYWORDS
},
10164 { "wxPen_Ok", (PyCFunction
) _wrap_wxPen_Ok
, METH_VARARGS
| METH_KEYWORDS
},
10165 { "wxPen_GetWidth", (PyCFunction
) _wrap_wxPen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
10166 { "wxPen_GetStyle", (PyCFunction
) _wrap_wxPen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
10167 { "wxPen_GetJoin", (PyCFunction
) _wrap_wxPen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
},
10168 { "wxPen_GetColour", (PyCFunction
) _wrap_wxPen_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
10169 { "wxPen_GetCap", (PyCFunction
) _wrap_wxPen_GetCap
, METH_VARARGS
| METH_KEYWORDS
},
10170 { "delete_wxPen", (PyCFunction
) _wrap_delete_wxPen
, METH_VARARGS
| METH_KEYWORDS
},
10171 { "new_wxPen", (PyCFunction
) _wrap_new_wxPen
, METH_VARARGS
| METH_KEYWORDS
},
10172 { "wxColourDatabase_Append", (PyCFunction
) _wrap_wxColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
},
10173 { "wxColourDatabase_FindName", (PyCFunction
) _wrap_wxColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
},
10174 { "wxColourDatabase_FindColour", (PyCFunction
) _wrap_wxColourDatabase_FindColour
, METH_VARARGS
| METH_KEYWORDS
},
10175 { "wxColour_Get", (PyCFunction
) _wrap_wxColour_Get
, METH_VARARGS
| METH_KEYWORDS
},
10176 { "wxColour_Set", (PyCFunction
) _wrap_wxColour_Set
, METH_VARARGS
| METH_KEYWORDS
},
10177 { "wxColour_Ok", (PyCFunction
) _wrap_wxColour_Ok
, METH_VARARGS
| METH_KEYWORDS
},
10178 { "wxColour_Blue", (PyCFunction
) _wrap_wxColour_Blue
, METH_VARARGS
| METH_KEYWORDS
},
10179 { "wxColour_Green", (PyCFunction
) _wrap_wxColour_Green
, METH_VARARGS
| METH_KEYWORDS
},
10180 { "wxColour_Red", (PyCFunction
) _wrap_wxColour_Red
, METH_VARARGS
| METH_KEYWORDS
},
10181 { "delete_wxColour", (PyCFunction
) _wrap_delete_wxColour
, METH_VARARGS
| METH_KEYWORDS
},
10182 { "new_wxColour", (PyCFunction
) _wrap_new_wxColour
, METH_VARARGS
| METH_KEYWORDS
},
10183 { "wxCursor_Ok", (PyCFunction
) _wrap_wxCursor_Ok
, METH_VARARGS
| METH_KEYWORDS
},
10184 { "delete_wxCursor", (PyCFunction
) _wrap_delete_wxCursor
, METH_VARARGS
| METH_KEYWORDS
},
10185 { "wxIconBundle_GetIcon", (PyCFunction
) _wrap_wxIconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
10186 { "wxIconBundle_AddIconFromFile", (PyCFunction
) _wrap_wxIconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
},
10187 { "wxIconBundle_AddIcon", (PyCFunction
) _wrap_wxIconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
10188 { "delete_wxIconBundle", (PyCFunction
) _wrap_delete_wxIconBundle
, METH_VARARGS
| METH_KEYWORDS
},
10189 { "new_wxIconBundleFromIcon", (PyCFunction
) _wrap_new_wxIconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
10190 { "new_wxIconBundleFromFile", (PyCFunction
) _wrap_new_wxIconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
},
10191 { "new_wxIconBundle", (PyCFunction
) _wrap_new_wxIconBundle
, METH_VARARGS
| METH_KEYWORDS
},
10192 { "wxIcon_CopyFromBitmap", (PyCFunction
) _wrap_wxIcon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10193 { "wxIcon_SetDepth", (PyCFunction
) _wrap_wxIcon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
10194 { "wxIcon_SetHeight", (PyCFunction
) _wrap_wxIcon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
10195 { "wxIcon_SetWidth", (PyCFunction
) _wrap_wxIcon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
10196 { "wxIcon_GetDepth", (PyCFunction
) _wrap_wxIcon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
10197 { "wxIcon_GetHeight", (PyCFunction
) _wrap_wxIcon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
10198 { "wxIcon_GetWidth", (PyCFunction
) _wrap_wxIcon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
10199 { "wxIcon_Ok", (PyCFunction
) _wrap_wxIcon_Ok
, METH_VARARGS
| METH_KEYWORDS
},
10200 { "delete_wxIcon", (PyCFunction
) _wrap_delete_wxIcon
, METH_VARARGS
| METH_KEYWORDS
},
10201 { "new_wxIcon", (PyCFunction
) _wrap_new_wxIcon
, METH_VARARGS
| METH_KEYWORDS
},
10202 { "wxMask_Destroy", (PyCFunction
) _wrap_wxMask_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
10203 { "new_wxMask", (PyCFunction
) _wrap_new_wxMask
, METH_VARARGS
| METH_KEYWORDS
},
10204 { "wxBitmap_CopyFromIcon", (PyCFunction
) _wrap_wxBitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
10205 { "wxBitmap_GetSubBitmap", (PyCFunction
) _wrap_wxBitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10206 { "wxBitmap_SetDepth", (PyCFunction
) _wrap_wxBitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
10207 { "wxBitmap_SetHeight", (PyCFunction
) _wrap_wxBitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
10208 { "wxBitmap_SetWidth", (PyCFunction
) _wrap_wxBitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
10209 { "wxBitmap_GetDepth", (PyCFunction
) _wrap_wxBitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
10210 { "wxBitmap_GetHeight", (PyCFunction
) _wrap_wxBitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
10211 { "wxBitmap_GetWidth", (PyCFunction
) _wrap_wxBitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
10212 { "wxBitmap_Ok", (PyCFunction
) _wrap_wxBitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
},
10213 { "wxBitmap_SetMask", (PyCFunction
) _wrap_wxBitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
10214 { "wxBitmap_SaveFile", (PyCFunction
) _wrap_wxBitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
10215 { "wxBitmap_LoadFile", (PyCFunction
) _wrap_wxBitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
10216 { "wxBitmap_GetMask", (PyCFunction
) _wrap_wxBitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
10217 { "wxBitmap_GetPalette", (PyCFunction
) _wrap_wxBitmap_GetPalette
, METH_VARARGS
| METH_KEYWORDS
},
10218 { "delete_wxBitmap", (PyCFunction
) _wrap_delete_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10219 { "new_wxBitmap", (PyCFunction
) _wrap_new_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10220 { "wxGDIObject_IsNull", (PyCFunction
) _wrap_wxGDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
10221 { "wxGDIObject_SetVisible", (PyCFunction
) _wrap_wxGDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
},
10222 { "wxGDIObject_GetVisible", (PyCFunction
) _wrap_wxGDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
},
10223 { "delete_wxGDIObject", (PyCFunction
) _wrap_delete_wxGDIObject
, METH_VARARGS
| METH_KEYWORDS
},
10224 { "new_wxGDIObject", (PyCFunction
) _wrap_new_wxGDIObject
, METH_VARARGS
| METH_KEYWORDS
},
10225 { "wxMemoryDCFromDC", (PyCFunction
) _wrap_wxMemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
},
10226 { "wxNamedColour", (PyCFunction
) _wrap_wxNamedColour
, METH_VARARGS
| METH_KEYWORDS
},
10227 { "wxStockCursor", (PyCFunction
) _wrap_wxStockCursor
, METH_VARARGS
| METH_KEYWORDS
},
10228 { "wxIconFromBitmap", (PyCFunction
) _wrap_wxIconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10229 { "wxIconFromXPMData", (PyCFunction
) _wrap_wxIconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
10230 { "wxEmptyIcon", (PyCFunction
) _wrap_wxEmptyIcon
, METH_VARARGS
| METH_KEYWORDS
},
10231 { "wxMaskColour", (PyCFunction
) _wrap_wxMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
10232 { "wxBitmapFromBits", (PyCFunction
) _wrap_wxBitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
},
10233 { "wxBitmapFromIcon", (PyCFunction
) _wrap_wxBitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
10234 { "wxBitmapFromXPMData", (PyCFunction
) _wrap_wxBitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
10235 { "wxEmptyBitmap", (PyCFunction
) _wrap_wxEmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10242 * This table is used by the pointer type-checker
10244 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
10245 { "_signed_long","_long",0},
10246 { "_wxPrintQuality","_wxCoord",0},
10247 { "_wxPrintQuality","_int",0},
10248 { "_wxPrintQuality","_signed_int",0},
10249 { "_wxPrintQuality","_unsigned_int",0},
10250 { "_wxPrintQuality","_wxWindowID",0},
10251 { "_wxPrintQuality","_uint",0},
10252 { "_wxPrintQuality","_EBool",0},
10253 { "_wxPrintQuality","_size_t",0},
10254 { "_wxPrintQuality","_time_t",0},
10255 { "_wxPen","_wxPyPen",SwigwxPyPenTowxPen
},
10256 { "_byte","_unsigned_char",0},
10257 { "_long","_unsigned_long",0},
10258 { "_long","_signed_long",0},
10259 { "_wxGDIObject","_wxRegion",SwigwxRegionTowxGDIObject
},
10260 { "_wxGDIObject","_wxPalette",SwigwxPaletteTowxGDIObject
},
10261 { "_wxGDIObject","_wxBrush",SwigwxBrushTowxGDIObject
},
10262 { "_wxGDIObject","_wxPyPen",SwigwxPyPenTowxGDIObject
},
10263 { "_wxGDIObject","_wxPen",SwigwxPenTowxGDIObject
},
10264 { "_wxGDIObject","_wxCursor",SwigwxCursorTowxGDIObject
},
10265 { "_wxGDIObject","_wxIcon",SwigwxIconTowxGDIObject
},
10266 { "_wxGDIObject","_wxBitmap",SwigwxBitmapTowxGDIObject
},
10267 { "_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC
},
10268 { "_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
},
10269 { "_wxDC","_wxClientDC",SwigwxClientDCTowxDC
},
10270 { "_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
},
10271 { "_wxDC","_wxBufferedPaintDC",SwigwxBufferedPaintDCTowxDC
},
10272 { "_wxDC","_wxBufferedDC",SwigwxBufferedDCTowxDC
},
10273 { "_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
},
10274 { "_size_t","_wxCoord",0},
10275 { "_size_t","_wxPrintQuality",0},
10276 { "_size_t","_time_t",0},
10277 { "_size_t","_unsigned_int",0},
10278 { "_size_t","_int",0},
10279 { "_size_t","_wxWindowID",0},
10280 { "_size_t","_uint",0},
10281 { "_uint","_wxCoord",0},
10282 { "_uint","_wxPrintQuality",0},
10283 { "_uint","_time_t",0},
10284 { "_uint","_size_t",0},
10285 { "_uint","_unsigned_int",0},
10286 { "_uint","_int",0},
10287 { "_uint","_wxWindowID",0},
10288 { "_wxChar","_char",0},
10289 { "_char","_wxChar",0},
10290 { "_wxBufferedDC","_wxBufferedPaintDC",SwigwxBufferedPaintDCTowxBufferedDC
},
10291 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
10292 { "_EBool","_wxCoord",0},
10293 { "_EBool","_wxPrintQuality",0},
10294 { "_EBool","_signed_int",0},
10295 { "_EBool","_int",0},
10296 { "_EBool","_wxWindowID",0},
10297 { "_unsigned_long","_long",0},
10298 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
10299 { "_signed_int","_wxCoord",0},
10300 { "_signed_int","_wxPrintQuality",0},
10301 { "_signed_int","_EBool",0},
10302 { "_signed_int","_wxWindowID",0},
10303 { "_signed_int","_int",0},
10304 { "_WXTYPE","_short",0},
10305 { "_WXTYPE","_signed_short",0},
10306 { "_WXTYPE","_unsigned_short",0},
10307 { "_unsigned_short","_WXTYPE",0},
10308 { "_unsigned_short","_short",0},
10309 { "_wxObject","_wxRegionIterator",SwigwxRegionIteratorTowxObject
},
10310 { "_wxObject","_wxRegion",SwigwxRegionTowxObject
},
10311 { "_wxObject","_wxImageList",SwigwxImageListTowxObject
},
10312 { "_wxObject","_wxPalette",SwigwxPaletteTowxObject
},
10313 { "_wxObject","_wxWindowDC",SwigwxWindowDCTowxObject
},
10314 { "_wxObject","_wxPaintDC",SwigwxPaintDCTowxObject
},
10315 { "_wxObject","_wxClientDC",SwigwxClientDCTowxObject
},
10316 { "_wxObject","_wxScreenDC",SwigwxScreenDCTowxObject
},
10317 { "_wxObject","_wxBufferedPaintDC",SwigwxBufferedPaintDCTowxObject
},
10318 { "_wxObject","_wxBufferedDC",SwigwxBufferedDCTowxObject
},
10319 { "_wxObject","_wxMemoryDC",SwigwxMemoryDCTowxObject
},
10320 { "_wxObject","_wxDC",SwigwxDCTowxObject
},
10321 { "_wxObject","_wxBrushList",SwigwxBrushListTowxObject
},
10322 { "_wxObject","_wxBrush",SwigwxBrushTowxObject
},
10323 { "_wxObject","_wxPenList",SwigwxPenListTowxObject
},
10324 { "_wxObject","_wxPyPen",SwigwxPyPenTowxObject
},
10325 { "_wxObject","_wxPen",SwigwxPenTowxObject
},
10326 { "_wxObject","_wxColourDatabase",SwigwxColourDatabaseTowxObject
},
10327 { "_wxObject","_wxColour",SwigwxColourTowxObject
},
10328 { "_wxObject","_wxCursor",SwigwxCursorTowxObject
},
10329 { "_wxObject","_wxIcon",SwigwxIconTowxObject
},
10330 { "_wxObject","_wxMask",SwigwxMaskTowxObject
},
10331 { "_wxObject","_wxBitmap",SwigwxBitmapTowxObject
},
10332 { "_wxObject","_wxGDIObject",SwigwxGDIObjectTowxObject
},
10333 { "_signed_short","_WXTYPE",0},
10334 { "_signed_short","_short",0},
10335 { "_wxMemoryDC","_wxBufferedPaintDC",SwigwxBufferedPaintDCTowxMemoryDC
},
10336 { "_wxMemoryDC","_wxBufferedDC",SwigwxBufferedDCTowxMemoryDC
},
10337 { "_unsigned_char","_byte",0},
10338 { "_unsigned_int","_wxCoord",0},
10339 { "_unsigned_int","_wxPrintQuality",0},
10340 { "_unsigned_int","_time_t",0},
10341 { "_unsigned_int","_size_t",0},
10342 { "_unsigned_int","_uint",0},
10343 { "_unsigned_int","_wxWindowID",0},
10344 { "_unsigned_int","_int",0},
10345 { "_short","_WXTYPE",0},
10346 { "_short","_unsigned_short",0},
10347 { "_short","_signed_short",0},
10348 { "_wxWindowID","_wxCoord",0},
10349 { "_wxWindowID","_wxPrintQuality",0},
10350 { "_wxWindowID","_time_t",0},
10351 { "_wxWindowID","_size_t",0},
10352 { "_wxWindowID","_EBool",0},
10353 { "_wxWindowID","_uint",0},
10354 { "_wxWindowID","_int",0},
10355 { "_wxWindowID","_signed_int",0},
10356 { "_wxWindowID","_unsigned_int",0},
10357 { "_int","_wxCoord",0},
10358 { "_int","_wxPrintQuality",0},
10359 { "_int","_time_t",0},
10360 { "_int","_size_t",0},
10361 { "_int","_EBool",0},
10362 { "_int","_uint",0},
10363 { "_int","_wxWindowID",0},
10364 { "_int","_unsigned_int",0},
10365 { "_int","_signed_int",0},
10366 { "_time_t","_wxCoord",0},
10367 { "_time_t","_wxPrintQuality",0},
10368 { "_time_t","_unsigned_int",0},
10369 { "_time_t","_int",0},
10370 { "_time_t","_wxWindowID",0},
10371 { "_time_t","_uint",0},
10372 { "_time_t","_size_t",0},
10373 { "_wxCoord","_int",0},
10374 { "_wxCoord","_signed_int",0},
10375 { "_wxCoord","_unsigned_int",0},
10376 { "_wxCoord","_wxWindowID",0},
10377 { "_wxCoord","_uint",0},
10378 { "_wxCoord","_EBool",0},
10379 { "_wxCoord","_size_t",0},
10380 { "_wxCoord","_time_t",0},
10381 { "_wxCoord","_wxPrintQuality",0},
10384 static PyObject
*SWIG_globals
;
10388 SWIGEXPORT(void) initgdic() {
10390 SWIG_globals
= SWIG_newvarlink();
10391 m
= Py_InitModule("gdic", gdicMethods
);
10392 d
= PyModule_GetDict(m
);
10393 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_NORMAL", PyInt_FromLong((long) wxIMAGELIST_DRAW_NORMAL
));
10394 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_TRANSPARENT", PyInt_FromLong((long) wxIMAGELIST_DRAW_TRANSPARENT
));
10395 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_SELECTED", PyInt_FromLong((long) wxIMAGELIST_DRAW_SELECTED
));
10396 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_FOCUSED", PyInt_FromLong((long) wxIMAGELIST_DRAW_FOCUSED
));
10397 PyDict_SetItemString(d
,"wxIMAGE_LIST_NORMAL", PyInt_FromLong((long) wxIMAGE_LIST_NORMAL
));
10398 PyDict_SetItemString(d
,"wxIMAGE_LIST_SMALL", PyInt_FromLong((long) wxIMAGE_LIST_SMALL
));
10399 PyDict_SetItemString(d
,"wxIMAGE_LIST_STATE", PyInt_FromLong((long) wxIMAGE_LIST_STATE
));
10400 PyDict_SetItemString(d
,"wxOutRegion", PyInt_FromLong((long) wxOutRegion
));
10401 PyDict_SetItemString(d
,"wxPartRegion", PyInt_FromLong((long) wxPartRegion
));
10402 PyDict_SetItemString(d
,"wxInRegion", PyInt_FromLong((long) wxInRegion
));
10403 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
10404 SWIG_addvarlink(SWIG_globals
,"wxNORMAL_FONT",_wrap_wxNORMAL_FONT_get
, _wrap_wxNORMAL_FONT_set
);
10405 SWIG_addvarlink(SWIG_globals
,"wxSMALL_FONT",_wrap_wxSMALL_FONT_get
, _wrap_wxSMALL_FONT_set
);
10406 SWIG_addvarlink(SWIG_globals
,"wxITALIC_FONT",_wrap_wxITALIC_FONT_get
, _wrap_wxITALIC_FONT_set
);
10407 SWIG_addvarlink(SWIG_globals
,"wxSWISS_FONT",_wrap_wxSWISS_FONT_get
, _wrap_wxSWISS_FONT_set
);
10408 SWIG_addvarlink(SWIG_globals
,"wxRED_PEN",_wrap_wxRED_PEN_get
, _wrap_wxRED_PEN_set
);
10409 SWIG_addvarlink(SWIG_globals
,"wxCYAN_PEN",_wrap_wxCYAN_PEN_get
, _wrap_wxCYAN_PEN_set
);
10410 SWIG_addvarlink(SWIG_globals
,"wxGREEN_PEN",_wrap_wxGREEN_PEN_get
, _wrap_wxGREEN_PEN_set
);
10411 SWIG_addvarlink(SWIG_globals
,"wxBLACK_PEN",_wrap_wxBLACK_PEN_get
, _wrap_wxBLACK_PEN_set
);
10412 SWIG_addvarlink(SWIG_globals
,"wxWHITE_PEN",_wrap_wxWHITE_PEN_get
, _wrap_wxWHITE_PEN_set
);
10413 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_PEN",_wrap_wxTRANSPARENT_PEN_get
, _wrap_wxTRANSPARENT_PEN_set
);
10414 SWIG_addvarlink(SWIG_globals
,"wxBLACK_DASHED_PEN",_wrap_wxBLACK_DASHED_PEN_get
, _wrap_wxBLACK_DASHED_PEN_set
);
10415 SWIG_addvarlink(SWIG_globals
,"wxGREY_PEN",_wrap_wxGREY_PEN_get
, _wrap_wxGREY_PEN_set
);
10416 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_PEN",_wrap_wxMEDIUM_GREY_PEN_get
, _wrap_wxMEDIUM_GREY_PEN_set
);
10417 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_PEN",_wrap_wxLIGHT_GREY_PEN_get
, _wrap_wxLIGHT_GREY_PEN_set
);
10418 SWIG_addvarlink(SWIG_globals
,"wxBLUE_BRUSH",_wrap_wxBLUE_BRUSH_get
, _wrap_wxBLUE_BRUSH_set
);
10419 SWIG_addvarlink(SWIG_globals
,"wxGREEN_BRUSH",_wrap_wxGREEN_BRUSH_get
, _wrap_wxGREEN_BRUSH_set
);
10420 SWIG_addvarlink(SWIG_globals
,"wxWHITE_BRUSH",_wrap_wxWHITE_BRUSH_get
, _wrap_wxWHITE_BRUSH_set
);
10421 SWIG_addvarlink(SWIG_globals
,"wxBLACK_BRUSH",_wrap_wxBLACK_BRUSH_get
, _wrap_wxBLACK_BRUSH_set
);
10422 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_BRUSH",_wrap_wxTRANSPARENT_BRUSH_get
, _wrap_wxTRANSPARENT_BRUSH_set
);
10423 SWIG_addvarlink(SWIG_globals
,"wxCYAN_BRUSH",_wrap_wxCYAN_BRUSH_get
, _wrap_wxCYAN_BRUSH_set
);
10424 SWIG_addvarlink(SWIG_globals
,"wxRED_BRUSH",_wrap_wxRED_BRUSH_get
, _wrap_wxRED_BRUSH_set
);
10425 SWIG_addvarlink(SWIG_globals
,"wxGREY_BRUSH",_wrap_wxGREY_BRUSH_get
, _wrap_wxGREY_BRUSH_set
);
10426 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_BRUSH",_wrap_wxMEDIUM_GREY_BRUSH_get
, _wrap_wxMEDIUM_GREY_BRUSH_set
);
10427 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_BRUSH",_wrap_wxLIGHT_GREY_BRUSH_get
, _wrap_wxLIGHT_GREY_BRUSH_set
);
10428 SWIG_addvarlink(SWIG_globals
,"wxBLACK",_wrap_wxBLACK_get
, _wrap_wxBLACK_set
);
10429 SWIG_addvarlink(SWIG_globals
,"wxWHITE",_wrap_wxWHITE_get
, _wrap_wxWHITE_set
);
10430 SWIG_addvarlink(SWIG_globals
,"wxRED",_wrap_wxRED_get
, _wrap_wxRED_set
);
10431 SWIG_addvarlink(SWIG_globals
,"wxBLUE",_wrap_wxBLUE_get
, _wrap_wxBLUE_set
);
10432 SWIG_addvarlink(SWIG_globals
,"wxGREEN",_wrap_wxGREEN_get
, _wrap_wxGREEN_set
);
10433 SWIG_addvarlink(SWIG_globals
,"wxCYAN",_wrap_wxCYAN_get
, _wrap_wxCYAN_set
);
10434 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY",_wrap_wxLIGHT_GREY_get
, _wrap_wxLIGHT_GREY_set
);
10435 SWIG_addvarlink(SWIG_globals
,"wxSTANDARD_CURSOR",_wrap_wxSTANDARD_CURSOR_get
, _wrap_wxSTANDARD_CURSOR_set
);
10436 SWIG_addvarlink(SWIG_globals
,"wxHOURGLASS_CURSOR",_wrap_wxHOURGLASS_CURSOR_get
, _wrap_wxHOURGLASS_CURSOR_set
);
10437 SWIG_addvarlink(SWIG_globals
,"wxCROSS_CURSOR",_wrap_wxCROSS_CURSOR_get
, _wrap_wxCROSS_CURSOR_set
);
10438 SWIG_addvarlink(SWIG_globals
,"wxNullBitmap",_wrap_wxNullBitmap_get
, _wrap_wxNullBitmap_set
);
10439 SWIG_addvarlink(SWIG_globals
,"wxNullIcon",_wrap_wxNullIcon_get
, _wrap_wxNullIcon_set
);
10440 SWIG_addvarlink(SWIG_globals
,"wxNullCursor",_wrap_wxNullCursor_get
, _wrap_wxNullCursor_set
);
10441 SWIG_addvarlink(SWIG_globals
,"wxNullPen",_wrap_wxNullPen_get
, _wrap_wxNullPen_set
);
10442 SWIG_addvarlink(SWIG_globals
,"wxNullBrush",_wrap_wxNullBrush_get
, _wrap_wxNullBrush_set
);
10443 SWIG_addvarlink(SWIG_globals
,"wxNullPalette",_wrap_wxNullPalette_get
, _wrap_wxNullPalette_set
);
10444 SWIG_addvarlink(SWIG_globals
,"wxNullFont",_wrap_wxNullFont_get
, _wrap_wxNullFont_set
);
10445 SWIG_addvarlink(SWIG_globals
,"wxNullColour",_wrap_wxNullColour_get
, _wrap_wxNullColour_set
);
10446 SWIG_addvarlink(SWIG_globals
,"wxTheFontList",_wrap_wxTheFontList_get
, _wrap_wxTheFontList_set
);
10447 SWIG_addvarlink(SWIG_globals
,"wxThePenList",_wrap_wxThePenList_get
, _wrap_wxThePenList_set
);
10448 SWIG_addvarlink(SWIG_globals
,"wxTheBrushList",_wrap_wxTheBrushList_get
, _wrap_wxTheBrushList_set
);
10449 SWIG_addvarlink(SWIG_globals
,"wxTheColourDatabase",_wrap_wxTheColourDatabase_get
, _wrap_wxTheColourDatabase_set
);
10452 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
10453 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);