2 * FILE : src/gtk/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_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
2171 static PyObject
*_wrap_wxIcon_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2172 PyObject
* _resultobj
;
2177 PyObject
* _argo0
= 0;
2178 PyObject
* _obj1
= 0;
2179 char *_kwnames
[] = { "self","name","flags", NULL
};
2182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOl:wxIcon_LoadFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
2185 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2186 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_LoadFile. Expected _wxIcon_p.");
2192 _arg1
= wxString_in_helper(_obj1
);
2197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2198 _result
= (bool )wxIcon_LoadFile(_arg0
,*_arg1
,_arg2
);
2200 wxPyEndAllowThreads(__tstate
);
2201 if (PyErr_Occurred()) return NULL
;
2202 } _resultobj
= Py_BuildValue("i",_result
);
2210 #define wxIcon_Ok(_swigobj) (_swigobj->Ok())
2211 static PyObject
*_wrap_wxIcon_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2212 PyObject
* _resultobj
;
2215 PyObject
* _argo0
= 0;
2216 char *_kwnames
[] = { "self", NULL
};
2219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_Ok",_kwnames
,&_argo0
))
2222 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2223 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_Ok. Expected _wxIcon_p.");
2229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2230 _result
= (bool )wxIcon_Ok(_arg0
);
2232 wxPyEndAllowThreads(__tstate
);
2233 if (PyErr_Occurred()) return NULL
;
2234 } _resultobj
= Py_BuildValue("i",_result
);
2238 #define wxIcon_GetWidth(_swigobj) (_swigobj->GetWidth())
2239 static PyObject
*_wrap_wxIcon_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2240 PyObject
* _resultobj
;
2243 PyObject
* _argo0
= 0;
2244 char *_kwnames
[] = { "self", NULL
};
2247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetWidth",_kwnames
,&_argo0
))
2250 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2251 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetWidth. Expected _wxIcon_p.");
2257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2258 _result
= (int )wxIcon_GetWidth(_arg0
);
2260 wxPyEndAllowThreads(__tstate
);
2261 if (PyErr_Occurred()) return NULL
;
2262 } _resultobj
= Py_BuildValue("i",_result
);
2266 #define wxIcon_GetHeight(_swigobj) (_swigobj->GetHeight())
2267 static PyObject
*_wrap_wxIcon_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2268 PyObject
* _resultobj
;
2271 PyObject
* _argo0
= 0;
2272 char *_kwnames
[] = { "self", NULL
};
2275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetHeight",_kwnames
,&_argo0
))
2278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetHeight. Expected _wxIcon_p.");
2285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2286 _result
= (int )wxIcon_GetHeight(_arg0
);
2288 wxPyEndAllowThreads(__tstate
);
2289 if (PyErr_Occurred()) return NULL
;
2290 } _resultobj
= Py_BuildValue("i",_result
);
2294 #define wxIcon_GetDepth(_swigobj) (_swigobj->GetDepth())
2295 static PyObject
*_wrap_wxIcon_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2296 PyObject
* _resultobj
;
2299 PyObject
* _argo0
= 0;
2300 char *_kwnames
[] = { "self", NULL
};
2303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetDepth",_kwnames
,&_argo0
))
2306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetDepth. Expected _wxIcon_p.");
2313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2314 _result
= (int )wxIcon_GetDepth(_arg0
);
2316 wxPyEndAllowThreads(__tstate
);
2317 if (PyErr_Occurred()) return NULL
;
2318 } _resultobj
= Py_BuildValue("i",_result
);
2322 #define wxIcon_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2323 static PyObject
*_wrap_wxIcon_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2324 PyObject
* _resultobj
;
2327 PyObject
* _argo0
= 0;
2328 char *_kwnames
[] = { "self","w", NULL
};
2331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetWidth",_kwnames
,&_argo0
,&_arg1
))
2334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetWidth. Expected _wxIcon_p.");
2341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2342 wxIcon_SetWidth(_arg0
,_arg1
);
2344 wxPyEndAllowThreads(__tstate
);
2345 if (PyErr_Occurred()) return NULL
;
2346 } Py_INCREF(Py_None
);
2347 _resultobj
= Py_None
;
2351 #define wxIcon_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
2352 static PyObject
*_wrap_wxIcon_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2353 PyObject
* _resultobj
;
2356 PyObject
* _argo0
= 0;
2357 char *_kwnames
[] = { "self","h", NULL
};
2360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetHeight",_kwnames
,&_argo0
,&_arg1
))
2363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetHeight. Expected _wxIcon_p.");
2370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2371 wxIcon_SetHeight(_arg0
,_arg1
);
2373 wxPyEndAllowThreads(__tstate
);
2374 if (PyErr_Occurred()) return NULL
;
2375 } Py_INCREF(Py_None
);
2376 _resultobj
= Py_None
;
2380 #define wxIcon_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
2381 static PyObject
*_wrap_wxIcon_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2382 PyObject
* _resultobj
;
2385 PyObject
* _argo0
= 0;
2386 char *_kwnames
[] = { "self","d", NULL
};
2389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetDepth",_kwnames
,&_argo0
,&_arg1
))
2392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetDepth. Expected _wxIcon_p.");
2399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2400 wxIcon_SetDepth(_arg0
,_arg1
);
2402 wxPyEndAllowThreads(__tstate
);
2403 if (PyErr_Occurred()) return NULL
;
2404 } Py_INCREF(Py_None
);
2405 _resultobj
= Py_None
;
2409 #define wxIcon_CopyFromBitmap(_swigobj,_swigarg0) (_swigobj->CopyFromBitmap(_swigarg0))
2410 static PyObject
*_wrap_wxIcon_CopyFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2411 PyObject
* _resultobj
;
2414 PyObject
* _argo0
= 0;
2415 PyObject
* _argo1
= 0;
2416 char *_kwnames
[] = { "self","bmp", NULL
};
2419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIcon_CopyFromBitmap",_kwnames
,&_argo0
,&_argo1
))
2422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_CopyFromBitmap. Expected _wxIcon_p.");
2429 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2430 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
2431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIcon_CopyFromBitmap. Expected _wxBitmap_p.");
2436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2437 wxIcon_CopyFromBitmap(_arg0
,*_arg1
);
2439 wxPyEndAllowThreads(__tstate
);
2440 if (PyErr_Occurred()) return NULL
;
2441 } Py_INCREF(Py_None
);
2442 _resultobj
= Py_None
;
2446 #define new_wxIconBundle() (new wxIconBundle())
2447 static PyObject
*_wrap_new_wxIconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2448 PyObject
* _resultobj
;
2449 wxIconBundle
* _result
;
2450 char *_kwnames
[] = { NULL
};
2454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxIconBundle",_kwnames
))
2457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2458 _result
= (wxIconBundle
*)new_wxIconBundle();
2460 wxPyEndAllowThreads(__tstate
);
2461 if (PyErr_Occurred()) return NULL
;
2463 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIconBundle_p");
2464 _resultobj
= Py_BuildValue("s",_ptemp
);
2467 _resultobj
= Py_None
;
2472 #define new_wxIconBundleFromFile(_swigarg0,_swigarg1) (new wxIconBundle(_swigarg0,_swigarg1))
2473 static PyObject
*_wrap_new_wxIconBundleFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2474 PyObject
* _resultobj
;
2475 wxIconBundle
* _result
;
2478 PyObject
* _obj0
= 0;
2479 char *_kwnames
[] = { "file","type", NULL
};
2483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:new_wxIconBundleFromFile",_kwnames
,&_obj0
,&_arg1
))
2486 _arg0
= wxString_in_helper(_obj0
);
2491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2492 _result
= (wxIconBundle
*)new_wxIconBundleFromFile(*_arg0
,_arg1
);
2494 wxPyEndAllowThreads(__tstate
);
2495 if (PyErr_Occurred()) return NULL
;
2497 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIconBundle_p");
2498 _resultobj
= Py_BuildValue("s",_ptemp
);
2501 _resultobj
= Py_None
;
2510 #define new_wxIconBundleFromIcon(_swigarg0) (new wxIconBundle(_swigarg0))
2511 static PyObject
*_wrap_new_wxIconBundleFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2512 PyObject
* _resultobj
;
2513 wxIconBundle
* _result
;
2515 PyObject
* _argo0
= 0;
2516 char *_kwnames
[] = { "icon", NULL
};
2520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxIconBundleFromIcon",_kwnames
,&_argo0
))
2523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxIconBundleFromIcon. Expected _wxIcon_p.");
2530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2531 _result
= (wxIconBundle
*)new_wxIconBundleFromIcon(*_arg0
);
2533 wxPyEndAllowThreads(__tstate
);
2534 if (PyErr_Occurred()) return NULL
;
2536 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIconBundle_p");
2537 _resultobj
= Py_BuildValue("s",_ptemp
);
2540 _resultobj
= Py_None
;
2545 #define delete_wxIconBundle(_swigobj) (delete _swigobj)
2546 static PyObject
*_wrap_delete_wxIconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2547 PyObject
* _resultobj
;
2548 wxIconBundle
* _arg0
;
2549 PyObject
* _argo0
= 0;
2550 char *_kwnames
[] = { "self", NULL
};
2553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxIconBundle",_kwnames
,&_argo0
))
2556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIconBundle_p")) {
2558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxIconBundle. Expected _wxIconBundle_p.");
2563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2564 delete_wxIconBundle(_arg0
);
2566 wxPyEndAllowThreads(__tstate
);
2567 if (PyErr_Occurred()) return NULL
;
2568 } Py_INCREF(Py_None
);
2569 _resultobj
= Py_None
;
2573 #define wxIconBundle_AddIcon(_swigobj,_swigarg0) (_swigobj->AddIcon(_swigarg0))
2574 static PyObject
*_wrap_wxIconBundle_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2575 PyObject
* _resultobj
;
2576 wxIconBundle
* _arg0
;
2578 PyObject
* _argo0
= 0;
2579 PyObject
* _argo1
= 0;
2580 char *_kwnames
[] = { "self","icon", NULL
};
2583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIconBundle_AddIcon",_kwnames
,&_argo0
,&_argo1
))
2586 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2587 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIconBundle_p")) {
2588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIconBundle_AddIcon. Expected _wxIconBundle_p.");
2593 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2594 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
2595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIconBundle_AddIcon. Expected _wxIcon_p.");
2600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2601 wxIconBundle_AddIcon(_arg0
,*_arg1
);
2603 wxPyEndAllowThreads(__tstate
);
2604 if (PyErr_Occurred()) return NULL
;
2605 } Py_INCREF(Py_None
);
2606 _resultobj
= Py_None
;
2610 #define wxIconBundle_AddIconFromFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddIcon(_swigarg0,_swigarg1))
2611 static PyObject
*_wrap_wxIconBundle_AddIconFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2612 PyObject
* _resultobj
;
2613 wxIconBundle
* _arg0
;
2616 PyObject
* _argo0
= 0;
2617 PyObject
* _obj1
= 0;
2618 char *_kwnames
[] = { "self","file","type", NULL
};
2621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOl:wxIconBundle_AddIconFromFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
2624 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2625 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIconBundle_p")) {
2626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIconBundle_AddIconFromFile. Expected _wxIconBundle_p.");
2631 _arg1
= wxString_in_helper(_obj1
);
2636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2637 wxIconBundle_AddIconFromFile(_arg0
,*_arg1
,_arg2
);
2639 wxPyEndAllowThreads(__tstate
);
2640 if (PyErr_Occurred()) return NULL
;
2641 } Py_INCREF(Py_None
);
2642 _resultobj
= Py_None
;
2650 #define wxIconBundle_GetIcon(_swigobj,_swigarg0) (_swigobj->GetIcon(_swigarg0))
2651 static PyObject
*_wrap_wxIconBundle_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2652 PyObject
* _resultobj
;
2654 wxIconBundle
* _arg0
;
2656 PyObject
* _argo0
= 0;
2658 PyObject
* _obj1
= 0;
2659 char *_kwnames
[] = { "self","size", NULL
};
2663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIconBundle_GetIcon",_kwnames
,&_argo0
,&_obj1
))
2666 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2667 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIconBundle_p")) {
2668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIconBundle_GetIcon. Expected _wxIconBundle_p.");
2674 if (! wxSize_helper(_obj1
, &_arg1
))
2678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2679 const wxIcon
& _result_ref
= wxIconBundle_GetIcon(_arg0
,*_arg1
);
2680 _result
= (wxIcon
*) &_result_ref
;
2682 wxPyEndAllowThreads(__tstate
);
2683 if (PyErr_Occurred()) return NULL
;
2685 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
2686 _resultobj
= Py_BuildValue("s",_ptemp
);
2689 _resultobj
= Py_None
;
2694 static void *SwigwxCursorTowxGDIObject(void *ptr
) {
2697 src
= (wxCursor
*) ptr
;
2698 dest
= (wxGDIObject
*) src
;
2699 return (void *) dest
;
2702 static void *SwigwxCursorTowxObject(void *ptr
) {
2705 src
= (wxCursor
*) ptr
;
2706 dest
= (wxObject
*) src
;
2707 return (void *) dest
;
2710 #define delete_wxCursor(_swigobj) (delete _swigobj)
2711 static PyObject
*_wrap_delete_wxCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2712 PyObject
* _resultobj
;
2714 PyObject
* _argo0
= 0;
2715 char *_kwnames
[] = { "self", NULL
};
2718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCursor",_kwnames
,&_argo0
))
2721 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2722 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCursor. Expected _wxCursor_p.");
2728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2729 delete_wxCursor(_arg0
);
2731 wxPyEndAllowThreads(__tstate
);
2732 if (PyErr_Occurred()) return NULL
;
2733 } Py_INCREF(Py_None
);
2734 _resultobj
= Py_None
;
2738 #define wxCursor_Ok(_swigobj) (_swigobj->Ok())
2739 static PyObject
*_wrap_wxCursor_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2740 PyObject
* _resultobj
;
2743 PyObject
* _argo0
= 0;
2744 char *_kwnames
[] = { "self", NULL
};
2747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCursor_Ok",_kwnames
,&_argo0
))
2750 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2751 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_Ok. Expected _wxCursor_p.");
2757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2758 _result
= (bool )wxCursor_Ok(_arg0
);
2760 wxPyEndAllowThreads(__tstate
);
2761 if (PyErr_Occurred()) return NULL
;
2762 } _resultobj
= Py_BuildValue("i",_result
);
2766 static void *SwigwxColourTowxObject(void *ptr
) {
2769 src
= (wxColour
*) ptr
;
2770 dest
= (wxObject
*) src
;
2771 return (void *) dest
;
2774 #define new_wxColour(_swigarg0,_swigarg1,_swigarg2) (new wxColour(_swigarg0,_swigarg1,_swigarg2))
2775 static PyObject
*_wrap_new_wxColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2776 PyObject
* _resultobj
;
2778 unsigned char _arg0
= (unsigned char ) 0;
2779 unsigned char _arg1
= (unsigned char ) 0;
2780 unsigned char _arg2
= (unsigned char ) 0;
2781 char *_kwnames
[] = { "red","green","blue", NULL
};
2785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|bbb:new_wxColour",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
2788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2789 _result
= (wxColour
*)new_wxColour(_arg0
,_arg1
,_arg2
);
2791 wxPyEndAllowThreads(__tstate
);
2792 if (PyErr_Occurred()) return NULL
;
2794 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
2795 _resultobj
= Py_BuildValue("s",_ptemp
);
2798 _resultobj
= Py_None
;
2803 #define delete_wxColour(_swigobj) (delete _swigobj)
2804 static PyObject
*_wrap_delete_wxColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2805 PyObject
* _resultobj
;
2808 PyObject
* _obj0
= 0;
2809 char *_kwnames
[] = { "self", NULL
};
2812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxColour",_kwnames
,&_obj0
))
2816 if (! wxColour_helper(_obj0
, &_arg0
))
2820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2821 delete_wxColour(_arg0
);
2823 wxPyEndAllowThreads(__tstate
);
2824 if (PyErr_Occurred()) return NULL
;
2825 } Py_INCREF(Py_None
);
2826 _resultobj
= Py_None
;
2830 #define wxColour_Red(_swigobj) (_swigobj->Red())
2831 static PyObject
*_wrap_wxColour_Red(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2832 PyObject
* _resultobj
;
2833 unsigned char _result
;
2836 PyObject
* _obj0
= 0;
2837 char *_kwnames
[] = { "self", NULL
};
2840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Red",_kwnames
,&_obj0
))
2844 if (! wxColour_helper(_obj0
, &_arg0
))
2848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2849 _result
= (unsigned char )wxColour_Red(_arg0
);
2851 wxPyEndAllowThreads(__tstate
);
2852 if (PyErr_Occurred()) return NULL
;
2853 } _resultobj
= Py_BuildValue("b",_result
);
2857 #define wxColour_Green(_swigobj) (_swigobj->Green())
2858 static PyObject
*_wrap_wxColour_Green(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2859 PyObject
* _resultobj
;
2860 unsigned char _result
;
2863 PyObject
* _obj0
= 0;
2864 char *_kwnames
[] = { "self", NULL
};
2867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Green",_kwnames
,&_obj0
))
2871 if (! wxColour_helper(_obj0
, &_arg0
))
2875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2876 _result
= (unsigned char )wxColour_Green(_arg0
);
2878 wxPyEndAllowThreads(__tstate
);
2879 if (PyErr_Occurred()) return NULL
;
2880 } _resultobj
= Py_BuildValue("b",_result
);
2884 #define wxColour_Blue(_swigobj) (_swigobj->Blue())
2885 static PyObject
*_wrap_wxColour_Blue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2886 PyObject
* _resultobj
;
2887 unsigned char _result
;
2890 PyObject
* _obj0
= 0;
2891 char *_kwnames
[] = { "self", NULL
};
2894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Blue",_kwnames
,&_obj0
))
2898 if (! wxColour_helper(_obj0
, &_arg0
))
2902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2903 _result
= (unsigned char )wxColour_Blue(_arg0
);
2905 wxPyEndAllowThreads(__tstate
);
2906 if (PyErr_Occurred()) return NULL
;
2907 } _resultobj
= Py_BuildValue("b",_result
);
2911 #define wxColour_Ok(_swigobj) (_swigobj->Ok())
2912 static PyObject
*_wrap_wxColour_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2913 PyObject
* _resultobj
;
2917 PyObject
* _obj0
= 0;
2918 char *_kwnames
[] = { "self", NULL
};
2921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Ok",_kwnames
,&_obj0
))
2925 if (! wxColour_helper(_obj0
, &_arg0
))
2929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2930 _result
= (bool )wxColour_Ok(_arg0
);
2932 wxPyEndAllowThreads(__tstate
);
2933 if (PyErr_Occurred()) return NULL
;
2934 } _resultobj
= Py_BuildValue("i",_result
);
2938 #define wxColour_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
2939 static PyObject
*_wrap_wxColour_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2940 PyObject
* _resultobj
;
2942 unsigned char _arg1
;
2943 unsigned char _arg2
;
2944 unsigned char _arg3
;
2946 PyObject
* _obj0
= 0;
2947 char *_kwnames
[] = { "self","red","green","blue", NULL
};
2950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Obbb:wxColour_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
))
2954 if (! wxColour_helper(_obj0
, &_arg0
))
2958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2959 wxColour_Set(_arg0
,_arg1
,_arg2
,_arg3
);
2961 wxPyEndAllowThreads(__tstate
);
2962 if (PyErr_Occurred()) return NULL
;
2963 } Py_INCREF(Py_None
);
2964 _resultobj
= Py_None
;
2968 static PyObject
* wxColour_Get(wxColour
*self
) {
2969 PyObject
* rv
= PyTuple_New(3);
2970 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
2971 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
2972 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
2975 static PyObject
*_wrap_wxColour_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2976 PyObject
* _resultobj
;
2980 PyObject
* _obj0
= 0;
2981 char *_kwnames
[] = { "self", NULL
};
2984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Get",_kwnames
,&_obj0
))
2988 if (! wxColour_helper(_obj0
, &_arg0
))
2992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2993 _result
= (PyObject
*)wxColour_Get(_arg0
);
2995 wxPyEndAllowThreads(__tstate
);
2996 if (PyErr_Occurred()) return NULL
;
2998 _resultobj
= _result
;
3003 static void *SwigwxColourDatabaseTowxObject(void *ptr
) {
3004 wxColourDatabase
*src
;
3006 src
= (wxColourDatabase
*) ptr
;
3007 dest
= (wxObject
*) src
;
3008 return (void *) dest
;
3011 #define wxColourDatabase_FindColour(_swigobj,_swigarg0) (_swigobj->FindColour(_swigarg0))
3012 static PyObject
*_wrap_wxColourDatabase_FindColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3013 PyObject
* _resultobj
;
3015 wxColourDatabase
* _arg0
;
3017 PyObject
* _argo0
= 0;
3018 PyObject
* _obj1
= 0;
3019 char *_kwnames
[] = { "self","colour", NULL
};
3023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxColourDatabase_FindColour",_kwnames
,&_argo0
,&_obj1
))
3026 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3027 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
3028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_FindColour. Expected _wxColourDatabase_p.");
3033 _arg1
= wxString_in_helper(_obj1
);
3038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3039 _result
= (wxColour
*)wxColourDatabase_FindColour(_arg0
,*_arg1
);
3041 wxPyEndAllowThreads(__tstate
);
3042 if (PyErr_Occurred()) return NULL
;
3044 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3045 _resultobj
= Py_BuildValue("s",_ptemp
);
3048 _resultobj
= Py_None
;
3057 #define wxColourDatabase_FindName(_swigobj,_swigarg0) (_swigobj->FindName(_swigarg0))
3058 static PyObject
*_wrap_wxColourDatabase_FindName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3059 PyObject
* _resultobj
;
3061 wxColourDatabase
* _arg0
;
3063 PyObject
* _argo0
= 0;
3065 PyObject
* _obj1
= 0;
3066 char *_kwnames
[] = { "self","colour", NULL
};
3069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxColourDatabase_FindName",_kwnames
,&_argo0
,&_obj1
))
3072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
3074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_FindName. Expected _wxColourDatabase_p.");
3080 if (! wxColour_helper(_obj1
, &_arg1
))
3084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3085 _result
= new wxString (wxColourDatabase_FindName(_arg0
,*_arg1
));
3087 wxPyEndAllowThreads(__tstate
);
3088 if (PyErr_Occurred()) return NULL
;
3091 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3093 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3102 static void wxColourDatabase_Append(wxColourDatabase
*self
,const wxString
& name
,int red
,int green
,int blue
) {
3103 // first see if the name is already there
3104 wxString cName
= name
;
3106 wxString cName2
= cName
;
3107 if ( !cName2
.Replace(wxT("GRAY"), wxT("GREY")) )
3110 wxNode
*node
= self
->First();
3112 const wxChar
*key
= node
->GetKeyString();
3113 if ( cName
== key
|| cName2
== key
) {
3114 wxColour
* c
= (wxColour
*)node
->Data();
3115 c
->Set(red
, green
, blue
);
3118 node
= node
->Next();
3121 // otherwise append the new colour
3122 self
->Append(name
.c_str(), new wxColour(red
, green
, blue
));
3124 static PyObject
*_wrap_wxColourDatabase_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3125 PyObject
* _resultobj
;
3126 wxColourDatabase
* _arg0
;
3131 PyObject
* _argo0
= 0;
3132 PyObject
* _obj1
= 0;
3133 char *_kwnames
[] = { "self","name","red","green","blue", NULL
};
3136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiii:wxColourDatabase_Append",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_arg4
))
3139 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3140 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
3141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_Append. Expected _wxColourDatabase_p.");
3146 _arg1
= wxString_in_helper(_obj1
);
3151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3152 wxColourDatabase_Append(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3154 wxPyEndAllowThreads(__tstate
);
3155 if (PyErr_Occurred()) return NULL
;
3156 } Py_INCREF(Py_None
);
3157 _resultobj
= Py_None
;
3165 static void *SwigwxPenTowxGDIObject(void *ptr
) {
3168 src
= (wxPen
*) ptr
;
3169 dest
= (wxGDIObject
*) src
;
3170 return (void *) dest
;
3173 static void *SwigwxPenTowxObject(void *ptr
) {
3176 src
= (wxPen
*) ptr
;
3177 dest
= (wxObject
*) src
;
3178 return (void *) dest
;
3181 #define new_wxPen(_swigarg0,_swigarg1,_swigarg2) (new wxPen(_swigarg0,_swigarg1,_swigarg2))
3182 static PyObject
*_wrap_new_wxPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3183 PyObject
* _resultobj
;
3186 int _arg1
= (int ) 1;
3187 int _arg2
= (int ) wxSOLID
;
3189 PyObject
* _obj0
= 0;
3190 char *_kwnames
[] = { "colour","width","style", NULL
};
3194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:new_wxPen",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
3198 if (! wxColour_helper(_obj0
, &_arg0
))
3202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3203 _result
= (wxPen
*)new_wxPen(*_arg0
,_arg1
,_arg2
);
3205 wxPyEndAllowThreads(__tstate
);
3206 if (PyErr_Occurred()) return NULL
;
3208 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
3209 _resultobj
= Py_BuildValue("s",_ptemp
);
3212 _resultobj
= Py_None
;
3217 #define delete_wxPen(_swigobj) (delete _swigobj)
3218 static PyObject
*_wrap_delete_wxPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3219 PyObject
* _resultobj
;
3221 PyObject
* _argo0
= 0;
3222 char *_kwnames
[] = { "self", NULL
};
3225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPen",_kwnames
,&_argo0
))
3228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPen. Expected _wxPen_p.");
3235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3236 delete_wxPen(_arg0
);
3238 wxPyEndAllowThreads(__tstate
);
3239 if (PyErr_Occurred()) return NULL
;
3240 } Py_INCREF(Py_None
);
3241 _resultobj
= Py_None
;
3245 #define wxPen_GetCap(_swigobj) (_swigobj->GetCap())
3246 static PyObject
*_wrap_wxPen_GetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3247 PyObject
* _resultobj
;
3250 PyObject
* _argo0
= 0;
3251 char *_kwnames
[] = { "self", NULL
};
3254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetCap",_kwnames
,&_argo0
))
3257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetCap. Expected _wxPen_p.");
3264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3265 _result
= (int )wxPen_GetCap(_arg0
);
3267 wxPyEndAllowThreads(__tstate
);
3268 if (PyErr_Occurred()) return NULL
;
3269 } _resultobj
= Py_BuildValue("i",_result
);
3273 #define wxPen_GetColour(_swigobj) (_swigobj->GetColour())
3274 static PyObject
*_wrap_wxPen_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3275 PyObject
* _resultobj
;
3278 PyObject
* _argo0
= 0;
3279 char *_kwnames
[] = { "self", NULL
};
3283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetColour",_kwnames
,&_argo0
))
3286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetColour. Expected _wxPen_p.");
3293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3294 _result
= new wxColour (wxPen_GetColour(_arg0
));
3296 wxPyEndAllowThreads(__tstate
);
3297 if (PyErr_Occurred()) return NULL
;
3298 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
3299 _resultobj
= Py_BuildValue("s",_ptemp
);
3303 #define wxPen_GetJoin(_swigobj) (_swigobj->GetJoin())
3304 static PyObject
*_wrap_wxPen_GetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3305 PyObject
* _resultobj
;
3308 PyObject
* _argo0
= 0;
3309 char *_kwnames
[] = { "self", NULL
};
3312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetJoin",_kwnames
,&_argo0
))
3315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetJoin. Expected _wxPen_p.");
3322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3323 _result
= (int )wxPen_GetJoin(_arg0
);
3325 wxPyEndAllowThreads(__tstate
);
3326 if (PyErr_Occurred()) return NULL
;
3327 } _resultobj
= Py_BuildValue("i",_result
);
3331 #define wxPen_GetStyle(_swigobj) (_swigobj->GetStyle())
3332 static PyObject
*_wrap_wxPen_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3333 PyObject
* _resultobj
;
3336 PyObject
* _argo0
= 0;
3337 char *_kwnames
[] = { "self", NULL
};
3340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetStyle",_kwnames
,&_argo0
))
3343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetStyle. Expected _wxPen_p.");
3350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3351 _result
= (int )wxPen_GetStyle(_arg0
);
3353 wxPyEndAllowThreads(__tstate
);
3354 if (PyErr_Occurred()) return NULL
;
3355 } _resultobj
= Py_BuildValue("i",_result
);
3359 #define wxPen_GetWidth(_swigobj) (_swigobj->GetWidth())
3360 static PyObject
*_wrap_wxPen_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3361 PyObject
* _resultobj
;
3364 PyObject
* _argo0
= 0;
3365 char *_kwnames
[] = { "self", NULL
};
3368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetWidth",_kwnames
,&_argo0
))
3371 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3372 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetWidth. Expected _wxPen_p.");
3378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3379 _result
= (int )wxPen_GetWidth(_arg0
);
3381 wxPyEndAllowThreads(__tstate
);
3382 if (PyErr_Occurred()) return NULL
;
3383 } _resultobj
= Py_BuildValue("i",_result
);
3387 #define wxPen_Ok(_swigobj) (_swigobj->Ok())
3388 static PyObject
*_wrap_wxPen_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3389 PyObject
* _resultobj
;
3392 PyObject
* _argo0
= 0;
3393 char *_kwnames
[] = { "self", NULL
};
3396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_Ok",_kwnames
,&_argo0
))
3399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_Ok. Expected _wxPen_p.");
3406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3407 _result
= (bool )wxPen_Ok(_arg0
);
3409 wxPyEndAllowThreads(__tstate
);
3410 if (PyErr_Occurred()) return NULL
;
3411 } _resultobj
= Py_BuildValue("i",_result
);
3415 #define wxPen_SetCap(_swigobj,_swigarg0) (_swigobj->SetCap(_swigarg0))
3416 static PyObject
*_wrap_wxPen_SetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3417 PyObject
* _resultobj
;
3420 PyObject
* _argo0
= 0;
3421 char *_kwnames
[] = { "self","cap_style", NULL
};
3424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetCap",_kwnames
,&_argo0
,&_arg1
))
3427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetCap. Expected _wxPen_p.");
3434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3435 wxPen_SetCap(_arg0
,_arg1
);
3437 wxPyEndAllowThreads(__tstate
);
3438 if (PyErr_Occurred()) return NULL
;
3439 } Py_INCREF(Py_None
);
3440 _resultobj
= Py_None
;
3444 #define wxPen_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
3445 static PyObject
*_wrap_wxPen_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3446 PyObject
* _resultobj
;
3449 PyObject
* _argo0
= 0;
3451 PyObject
* _obj1
= 0;
3452 char *_kwnames
[] = { "self","colour", NULL
};
3455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetColour",_kwnames
,&_argo0
,&_obj1
))
3458 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3459 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetColour. Expected _wxPen_p.");
3466 if (! wxColour_helper(_obj1
, &_arg1
))
3470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3471 wxPen_SetColour(_arg0
,*_arg1
);
3473 wxPyEndAllowThreads(__tstate
);
3474 if (PyErr_Occurred()) return NULL
;
3475 } Py_INCREF(Py_None
);
3476 _resultobj
= Py_None
;
3480 #define wxPen_SetJoin(_swigobj,_swigarg0) (_swigobj->SetJoin(_swigarg0))
3481 static PyObject
*_wrap_wxPen_SetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3482 PyObject
* _resultobj
;
3485 PyObject
* _argo0
= 0;
3486 char *_kwnames
[] = { "self","join_style", NULL
};
3489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetJoin",_kwnames
,&_argo0
,&_arg1
))
3492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetJoin. Expected _wxPen_p.");
3499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3500 wxPen_SetJoin(_arg0
,_arg1
);
3502 wxPyEndAllowThreads(__tstate
);
3503 if (PyErr_Occurred()) return NULL
;
3504 } Py_INCREF(Py_None
);
3505 _resultobj
= Py_None
;
3509 #define wxPen_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
3510 static PyObject
*_wrap_wxPen_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3511 PyObject
* _resultobj
;
3514 PyObject
* _argo0
= 0;
3515 char *_kwnames
[] = { "self","style", NULL
};
3518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetStyle",_kwnames
,&_argo0
,&_arg1
))
3521 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3522 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetStyle. Expected _wxPen_p.");
3528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3529 wxPen_SetStyle(_arg0
,_arg1
);
3531 wxPyEndAllowThreads(__tstate
);
3532 if (PyErr_Occurred()) return NULL
;
3533 } Py_INCREF(Py_None
);
3534 _resultobj
= Py_None
;
3538 #define wxPen_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
3539 static PyObject
*_wrap_wxPen_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3540 PyObject
* _resultobj
;
3543 PyObject
* _argo0
= 0;
3544 char *_kwnames
[] = { "self","width", NULL
};
3547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetWidth",_kwnames
,&_argo0
,&_arg1
))
3550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetWidth. Expected _wxPen_p.");
3557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3558 wxPen_SetWidth(_arg0
,_arg1
);
3560 wxPyEndAllowThreads(__tstate
);
3561 if (PyErr_Occurred()) return NULL
;
3562 } Py_INCREF(Py_None
);
3563 _resultobj
= Py_None
;
3567 #define wxPen_SetDashes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDashes(_swigarg0,_swigarg1))
3568 static PyObject
*_wrap_wxPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3569 PyObject
* _resultobj
;
3573 PyObject
* _argo0
= 0;
3574 PyObject
* _obj2
= 0;
3575 char *_kwnames
[] = { "self","choices", NULL
};
3578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetDashes",_kwnames
,&_argo0
,&_obj2
))
3581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetDashes. Expected _wxPen_p.");
3589 _arg2
= (wxDash
*)byte_LIST_helper(_obj2
);
3590 if (_arg2
== NULL
) {
3596 _arg1
= PyList_Size(_obj2
);
3603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3604 wxPen_SetDashes(_arg0
,_arg1
,_arg2
);
3606 wxPyEndAllowThreads(__tstate
);
3607 if (PyErr_Occurred()) return NULL
;
3608 } Py_INCREF(Py_None
);
3609 _resultobj
= Py_None
;
3616 static PyObject
* wxPen_GetDashes(wxPen
*self
) {
3618 int count
= self
->GetDashes(&dashes
);
3619 wxPyBeginBlockThreads();
3620 PyObject
* retval
= PyList_New(0);
3621 for (int x
=0; x
<count
; x
++)
3622 PyList_Append(retval
, PyInt_FromLong(dashes
[x
]));
3623 wxPyEndBlockThreads();
3626 static PyObject
*_wrap_wxPen_GetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3627 PyObject
* _resultobj
;
3630 PyObject
* _argo0
= 0;
3631 char *_kwnames
[] = { "self", NULL
};
3634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetDashes",_kwnames
,&_argo0
))
3637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetDashes. Expected _wxPen_p.");
3644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3645 _result
= (PyObject
*)wxPen_GetDashes(_arg0
);
3647 wxPyEndAllowThreads(__tstate
);
3648 if (PyErr_Occurred()) return NULL
;
3650 _resultobj
= _result
;
3655 static void *SwigwxPyPenTowxPen(void *ptr
) {
3658 src
= (wxPyPen
*) ptr
;
3659 dest
= (wxPen
*) src
;
3660 return (void *) dest
;
3663 static void *SwigwxPyPenTowxGDIObject(void *ptr
) {
3666 src
= (wxPyPen
*) ptr
;
3667 dest
= (wxGDIObject
*) src
;
3668 return (void *) dest
;
3671 static void *SwigwxPyPenTowxObject(void *ptr
) {
3674 src
= (wxPyPen
*) ptr
;
3675 dest
= (wxObject
*) src
;
3676 return (void *) dest
;
3679 #define new_wxPyPen(_swigarg0,_swigarg1,_swigarg2) (new wxPyPen(_swigarg0,_swigarg1,_swigarg2))
3680 static PyObject
*_wrap_new_wxPyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3681 PyObject
* _resultobj
;
3684 int _arg1
= (int ) 1;
3685 int _arg2
= (int ) wxSOLID
;
3687 PyObject
* _obj0
= 0;
3688 char *_kwnames
[] = { "colour","width","style", NULL
};
3692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:new_wxPyPen",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
3696 if (! wxColour_helper(_obj0
, &_arg0
))
3700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3701 _result
= (wxPyPen
*)new_wxPyPen(*_arg0
,_arg1
,_arg2
);
3703 wxPyEndAllowThreads(__tstate
);
3704 if (PyErr_Occurred()) return NULL
;
3706 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPen_p");
3707 _resultobj
= Py_BuildValue("s",_ptemp
);
3710 _resultobj
= Py_None
;
3715 #define delete_wxPyPen(_swigobj) (delete _swigobj)
3716 static PyObject
*_wrap_delete_wxPyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3717 PyObject
* _resultobj
;
3719 PyObject
* _argo0
= 0;
3720 char *_kwnames
[] = { "self", NULL
};
3723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyPen",_kwnames
,&_argo0
))
3726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPen_p")) {
3728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyPen. Expected _wxPyPen_p.");
3733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3734 delete_wxPyPen(_arg0
);
3736 wxPyEndAllowThreads(__tstate
);
3737 if (PyErr_Occurred()) return NULL
;
3738 } Py_INCREF(Py_None
);
3739 _resultobj
= Py_None
;
3743 #define wxPyPen_SetDashes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDashes(_swigarg0,_swigarg1))
3744 static PyObject
*_wrap_wxPyPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3745 PyObject
* _resultobj
;
3749 PyObject
* _argo0
= 0;
3750 PyObject
* _obj2
= 0;
3751 char *_kwnames
[] = { "self","choices", NULL
};
3754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPen_SetDashes",_kwnames
,&_argo0
,&_obj2
))
3757 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3758 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPen_p")) {
3759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPen_SetDashes. Expected _wxPyPen_p.");
3765 _arg2
= (wxDash
*)byte_LIST_helper(_obj2
);
3766 if (_arg2
== NULL
) {
3772 _arg1
= PyList_Size(_obj2
);
3779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3780 wxPyPen_SetDashes(_arg0
,_arg1
,_arg2
);
3782 wxPyEndAllowThreads(__tstate
);
3783 if (PyErr_Occurred()) return NULL
;
3784 } Py_INCREF(Py_None
);
3785 _resultobj
= Py_None
;
3792 static void *SwigwxPenListTowxObject(void *ptr
) {
3795 src
= (wxPenList
*) ptr
;
3796 dest
= (wxObject
*) src
;
3797 return (void *) dest
;
3800 #define wxPenList_AddPen(_swigobj,_swigarg0) (_swigobj->AddPen(_swigarg0))
3801 static PyObject
*_wrap_wxPenList_AddPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3802 PyObject
* _resultobj
;
3805 PyObject
* _argo0
= 0;
3806 PyObject
* _argo1
= 0;
3807 char *_kwnames
[] = { "self","pen", NULL
};
3810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPenList_AddPen",_kwnames
,&_argo0
,&_argo1
))
3813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
3815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_AddPen. Expected _wxPenList_p.");
3820 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3821 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
3822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPenList_AddPen. Expected _wxPen_p.");
3827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3828 wxPenList_AddPen(_arg0
,_arg1
);
3830 wxPyEndAllowThreads(__tstate
);
3831 if (PyErr_Occurred()) return NULL
;
3832 } Py_INCREF(Py_None
);
3833 _resultobj
= Py_None
;
3837 #define wxPenList_FindOrCreatePen(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindOrCreatePen(_swigarg0,_swigarg1,_swigarg2))
3838 static PyObject
*_wrap_wxPenList_FindOrCreatePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3839 PyObject
* _resultobj
;
3845 PyObject
* _argo0
= 0;
3847 PyObject
* _obj1
= 0;
3848 char *_kwnames
[] = { "self","colour","width","style", NULL
};
3852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxPenList_FindOrCreatePen",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
))
3855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
3857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_FindOrCreatePen. Expected _wxPenList_p.");
3863 if (! wxColour_helper(_obj1
, &_arg1
))
3867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3868 _result
= (wxPen
*)wxPenList_FindOrCreatePen(_arg0
,*_arg1
,_arg2
,_arg3
);
3870 wxPyEndAllowThreads(__tstate
);
3871 if (PyErr_Occurred()) return NULL
;
3873 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
3874 _resultobj
= Py_BuildValue("s",_ptemp
);
3877 _resultobj
= Py_None
;
3882 #define wxPenList_RemovePen(_swigobj,_swigarg0) (_swigobj->RemovePen(_swigarg0))
3883 static PyObject
*_wrap_wxPenList_RemovePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3884 PyObject
* _resultobj
;
3887 PyObject
* _argo0
= 0;
3888 PyObject
* _argo1
= 0;
3889 char *_kwnames
[] = { "self","pen", NULL
};
3892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPenList_RemovePen",_kwnames
,&_argo0
,&_argo1
))
3895 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3896 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
3897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_RemovePen. Expected _wxPenList_p.");
3902 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3903 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
3904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPenList_RemovePen. Expected _wxPen_p.");
3909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3910 wxPenList_RemovePen(_arg0
,_arg1
);
3912 wxPyEndAllowThreads(__tstate
);
3913 if (PyErr_Occurred()) return NULL
;
3914 } Py_INCREF(Py_None
);
3915 _resultobj
= Py_None
;
3919 #define wxPenList_GetCount(_swigobj) (_swigobj->GetCount())
3920 static PyObject
*_wrap_wxPenList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3921 PyObject
* _resultobj
;
3924 PyObject
* _argo0
= 0;
3925 char *_kwnames
[] = { "self", NULL
};
3928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPenList_GetCount",_kwnames
,&_argo0
))
3931 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3932 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
3933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_GetCount. Expected _wxPenList_p.");
3938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3939 _result
= (int )wxPenList_GetCount(_arg0
);
3941 wxPyEndAllowThreads(__tstate
);
3942 if (PyErr_Occurred()) return NULL
;
3943 } _resultobj
= Py_BuildValue("i",_result
);
3947 static void *SwigwxBrushTowxGDIObject(void *ptr
) {
3950 src
= (wxBrush
*) ptr
;
3951 dest
= (wxGDIObject
*) src
;
3952 return (void *) dest
;
3955 static void *SwigwxBrushTowxObject(void *ptr
) {
3958 src
= (wxBrush
*) ptr
;
3959 dest
= (wxObject
*) src
;
3960 return (void *) dest
;
3963 #define new_wxBrush(_swigarg0,_swigarg1) (new wxBrush(_swigarg0,_swigarg1))
3964 static PyObject
*_wrap_new_wxBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3965 PyObject
* _resultobj
;
3968 int _arg1
= (int ) wxSOLID
;
3970 PyObject
* _obj0
= 0;
3971 char *_kwnames
[] = { "colour","style", NULL
};
3975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxBrush",_kwnames
,&_obj0
,&_arg1
))
3979 if (! wxColour_helper(_obj0
, &_arg0
))
3983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3984 _result
= (wxBrush
*)new_wxBrush(*_arg0
,_arg1
);
3986 wxPyEndAllowThreads(__tstate
);
3987 if (PyErr_Occurred()) return NULL
;
3989 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
3990 _resultobj
= Py_BuildValue("s",_ptemp
);
3993 _resultobj
= Py_None
;
3998 #define delete_wxBrush(_swigobj) (delete _swigobj)
3999 static PyObject
*_wrap_delete_wxBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4000 PyObject
* _resultobj
;
4002 PyObject
* _argo0
= 0;
4003 char *_kwnames
[] = { "self", NULL
};
4006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBrush",_kwnames
,&_argo0
))
4009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBrush. Expected _wxBrush_p.");
4016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4017 delete_wxBrush(_arg0
);
4019 wxPyEndAllowThreads(__tstate
);
4020 if (PyErr_Occurred()) return NULL
;
4021 } Py_INCREF(Py_None
);
4022 _resultobj
= Py_None
;
4026 #define wxBrush_GetColour(_swigobj) (_swigobj->GetColour())
4027 static PyObject
*_wrap_wxBrush_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4028 PyObject
* _resultobj
;
4031 PyObject
* _argo0
= 0;
4032 char *_kwnames
[] = { "self", NULL
};
4036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetColour",_kwnames
,&_argo0
))
4039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetColour. Expected _wxBrush_p.");
4046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4047 _result
= new wxColour (wxBrush_GetColour(_arg0
));
4049 wxPyEndAllowThreads(__tstate
);
4050 if (PyErr_Occurred()) return NULL
;
4051 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
4052 _resultobj
= Py_BuildValue("s",_ptemp
);
4056 #define wxBrush_GetStipple(_swigobj) (_swigobj->GetStipple())
4057 static PyObject
*_wrap_wxBrush_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4058 PyObject
* _resultobj
;
4061 PyObject
* _argo0
= 0;
4062 char *_kwnames
[] = { "self", NULL
};
4066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetStipple",_kwnames
,&_argo0
))
4069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStipple. Expected _wxBrush_p.");
4076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4077 _result
= (wxBitmap
*)wxBrush_GetStipple(_arg0
);
4079 wxPyEndAllowThreads(__tstate
);
4080 if (PyErr_Occurred()) return NULL
;
4082 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
4083 _resultobj
= Py_BuildValue("s",_ptemp
);
4086 _resultobj
= Py_None
;
4091 #define wxBrush_GetStyle(_swigobj) (_swigobj->GetStyle())
4092 static PyObject
*_wrap_wxBrush_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4093 PyObject
* _resultobj
;
4096 PyObject
* _argo0
= 0;
4097 char *_kwnames
[] = { "self", NULL
};
4100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetStyle",_kwnames
,&_argo0
))
4103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStyle. Expected _wxBrush_p.");
4110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4111 _result
= (int )wxBrush_GetStyle(_arg0
);
4113 wxPyEndAllowThreads(__tstate
);
4114 if (PyErr_Occurred()) return NULL
;
4115 } _resultobj
= Py_BuildValue("i",_result
);
4119 #define wxBrush_Ok(_swigobj) (_swigobj->Ok())
4120 static PyObject
*_wrap_wxBrush_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4121 PyObject
* _resultobj
;
4124 PyObject
* _argo0
= 0;
4125 char *_kwnames
[] = { "self", NULL
};
4128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_Ok",_kwnames
,&_argo0
))
4131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_Ok. Expected _wxBrush_p.");
4138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4139 _result
= (bool )wxBrush_Ok(_arg0
);
4141 wxPyEndAllowThreads(__tstate
);
4142 if (PyErr_Occurred()) return NULL
;
4143 } _resultobj
= Py_BuildValue("i",_result
);
4147 #define wxBrush_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
4148 static PyObject
*_wrap_wxBrush_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4149 PyObject
* _resultobj
;
4152 PyObject
* _argo0
= 0;
4154 PyObject
* _obj1
= 0;
4155 char *_kwnames
[] = { "self","colour", NULL
};
4158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrush_SetColour",_kwnames
,&_argo0
,&_obj1
))
4161 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4162 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetColour. Expected _wxBrush_p.");
4169 if (! wxColour_helper(_obj1
, &_arg1
))
4173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4174 wxBrush_SetColour(_arg0
,*_arg1
);
4176 wxPyEndAllowThreads(__tstate
);
4177 if (PyErr_Occurred()) return NULL
;
4178 } Py_INCREF(Py_None
);
4179 _resultobj
= Py_None
;
4183 #define wxBrush_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
4184 static PyObject
*_wrap_wxBrush_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4185 PyObject
* _resultobj
;
4188 PyObject
* _argo0
= 0;
4189 PyObject
* _argo1
= 0;
4190 char *_kwnames
[] = { "self","bitmap", NULL
};
4193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrush_SetStipple",_kwnames
,&_argo0
,&_argo1
))
4196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStipple. Expected _wxBrush_p.");
4203 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4204 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
4205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrush_SetStipple. Expected _wxBitmap_p.");
4210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4211 wxBrush_SetStipple(_arg0
,*_arg1
);
4213 wxPyEndAllowThreads(__tstate
);
4214 if (PyErr_Occurred()) return NULL
;
4215 } Py_INCREF(Py_None
);
4216 _resultobj
= Py_None
;
4220 #define wxBrush_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
4221 static PyObject
*_wrap_wxBrush_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4222 PyObject
* _resultobj
;
4225 PyObject
* _argo0
= 0;
4226 char *_kwnames
[] = { "self","style", NULL
};
4229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBrush_SetStyle",_kwnames
,&_argo0
,&_arg1
))
4232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStyle. Expected _wxBrush_p.");
4239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4240 wxBrush_SetStyle(_arg0
,_arg1
);
4242 wxPyEndAllowThreads(__tstate
);
4243 if (PyErr_Occurred()) return NULL
;
4244 } Py_INCREF(Py_None
);
4245 _resultobj
= Py_None
;
4249 static void *SwigwxBrushListTowxObject(void *ptr
) {
4252 src
= (wxBrushList
*) ptr
;
4253 dest
= (wxObject
*) src
;
4254 return (void *) dest
;
4257 #define wxBrushList_AddBrush(_swigobj,_swigarg0) (_swigobj->AddBrush(_swigarg0))
4258 static PyObject
*_wrap_wxBrushList_AddBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4259 PyObject
* _resultobj
;
4260 wxBrushList
* _arg0
;
4262 PyObject
* _argo0
= 0;
4263 PyObject
* _argo1
= 0;
4264 char *_kwnames
[] = { "self","brush", NULL
};
4267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrushList_AddBrush",_kwnames
,&_argo0
,&_argo1
))
4270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
4272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_AddBrush. Expected _wxBrushList_p.");
4277 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4278 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
4279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrushList_AddBrush. Expected _wxBrush_p.");
4284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4285 wxBrushList_AddBrush(_arg0
,_arg1
);
4287 wxPyEndAllowThreads(__tstate
);
4288 if (PyErr_Occurred()) return NULL
;
4289 } Py_INCREF(Py_None
);
4290 _resultobj
= Py_None
;
4294 #define wxBrushList_FindOrCreateBrush(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindOrCreateBrush(_swigarg0,_swigarg1))
4295 static PyObject
*_wrap_wxBrushList_FindOrCreateBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4296 PyObject
* _resultobj
;
4298 wxBrushList
* _arg0
;
4301 PyObject
* _argo0
= 0;
4303 PyObject
* _obj1
= 0;
4304 char *_kwnames
[] = { "self","colour","style", NULL
};
4308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxBrushList_FindOrCreateBrush",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
4311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
4313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_FindOrCreateBrush. Expected _wxBrushList_p.");
4319 if (! wxColour_helper(_obj1
, &_arg1
))
4323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4324 _result
= (wxBrush
*)wxBrushList_FindOrCreateBrush(_arg0
,*_arg1
,_arg2
);
4326 wxPyEndAllowThreads(__tstate
);
4327 if (PyErr_Occurred()) return NULL
;
4329 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
4330 _resultobj
= Py_BuildValue("s",_ptemp
);
4333 _resultobj
= Py_None
;
4338 #define wxBrushList_RemoveBrush(_swigobj,_swigarg0) (_swigobj->RemoveBrush(_swigarg0))
4339 static PyObject
*_wrap_wxBrushList_RemoveBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4340 PyObject
* _resultobj
;
4341 wxBrushList
* _arg0
;
4343 PyObject
* _argo0
= 0;
4344 PyObject
* _argo1
= 0;
4345 char *_kwnames
[] = { "self","brush", NULL
};
4348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrushList_RemoveBrush",_kwnames
,&_argo0
,&_argo1
))
4351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
4353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_RemoveBrush. Expected _wxBrushList_p.");
4358 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4359 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
4360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrushList_RemoveBrush. Expected _wxBrush_p.");
4365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4366 wxBrushList_RemoveBrush(_arg0
,_arg1
);
4368 wxPyEndAllowThreads(__tstate
);
4369 if (PyErr_Occurred()) return NULL
;
4370 } Py_INCREF(Py_None
);
4371 _resultobj
= Py_None
;
4375 #define wxBrushList_GetCount(_swigobj) (_swigobj->GetCount())
4376 static PyObject
*_wrap_wxBrushList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4377 PyObject
* _resultobj
;
4379 wxBrushList
* _arg0
;
4380 PyObject
* _argo0
= 0;
4381 char *_kwnames
[] = { "self", NULL
};
4384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrushList_GetCount",_kwnames
,&_argo0
))
4387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
4389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_GetCount. Expected _wxBrushList_p.");
4394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4395 _result
= (int )wxBrushList_GetCount(_arg0
);
4397 wxPyEndAllowThreads(__tstate
);
4398 if (PyErr_Occurred()) return NULL
;
4399 } _resultobj
= Py_BuildValue("i",_result
);
4403 static void *SwigwxDCTowxObject(void *ptr
) {
4407 dest
= (wxObject
*) src
;
4408 return (void *) dest
;
4411 #define delete_wxDC(_swigobj) (delete _swigobj)
4412 static PyObject
*_wrap_delete_wxDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4413 PyObject
* _resultobj
;
4415 PyObject
* _argo0
= 0;
4416 char *_kwnames
[] = { "self", NULL
};
4419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDC",_kwnames
,&_argo0
))
4422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDC. Expected _wxDC_p.");
4429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4432 wxPyEndAllowThreads(__tstate
);
4433 if (PyErr_Occurred()) return NULL
;
4434 } Py_INCREF(Py_None
);
4435 _resultobj
= Py_None
;
4439 #define wxDC_BeginDrawing(_swigobj) (_swigobj->BeginDrawing())
4440 static PyObject
*_wrap_wxDC_BeginDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4441 PyObject
* _resultobj
;
4443 PyObject
* _argo0
= 0;
4444 char *_kwnames
[] = { "self", NULL
};
4447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_BeginDrawing",_kwnames
,&_argo0
))
4450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_BeginDrawing. Expected _wxDC_p.");
4457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4458 wxDC_BeginDrawing(_arg0
);
4460 wxPyEndAllowThreads(__tstate
);
4461 if (PyErr_Occurred()) return NULL
;
4462 } Py_INCREF(Py_None
);
4463 _resultobj
= Py_None
;
4467 #define wxDC_Blit(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Blit(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4468 static PyObject
*_wrap_wxDC_Blit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4469 PyObject
* _resultobj
;
4479 int _arg8
= (int ) wxCOPY
;
4480 int _arg9
= (int ) FALSE
;
4481 PyObject
* _argo0
= 0;
4482 PyObject
* _argo5
= 0;
4483 char *_kwnames
[] = { "self","xdest","ydest","width","height","source","xsrc","ysrc","logicalFunc","useMask", NULL
};
4486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllllOll|ii:wxDC_Blit",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_argo5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
))
4489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Blit. Expected _wxDC_p.");
4496 if (_argo5
== Py_None
) { _arg5
= NULL
; }
4497 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxDC_p")) {
4498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxDC_Blit. Expected _wxDC_p.");
4503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4504 _result
= (bool )wxDC_Blit(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
4506 wxPyEndAllowThreads(__tstate
);
4507 if (PyErr_Occurred()) return NULL
;
4508 } _resultobj
= Py_BuildValue("i",_result
);
4512 #define wxDC_Clear(_swigobj) (_swigobj->Clear())
4513 static PyObject
*_wrap_wxDC_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4514 PyObject
* _resultobj
;
4516 PyObject
* _argo0
= 0;
4517 char *_kwnames
[] = { "self", NULL
};
4520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_Clear",_kwnames
,&_argo0
))
4523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Clear. Expected _wxDC_p.");
4530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4533 wxPyEndAllowThreads(__tstate
);
4534 if (PyErr_Occurred()) return NULL
;
4535 } Py_INCREF(Py_None
);
4536 _resultobj
= Py_None
;
4540 #define wxDC_CrossHair(_swigobj,_swigarg0,_swigarg1) (_swigobj->CrossHair(_swigarg0,_swigarg1))
4541 static PyObject
*_wrap_wxDC_CrossHair(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4542 PyObject
* _resultobj
;
4546 PyObject
* _argo0
= 0;
4547 char *_kwnames
[] = { "self","x","y", NULL
};
4550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_CrossHair",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CrossHair. Expected _wxDC_p.");
4560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4561 wxDC_CrossHair(_arg0
,_arg1
,_arg2
);
4563 wxPyEndAllowThreads(__tstate
);
4564 if (PyErr_Occurred()) return NULL
;
4565 } Py_INCREF(Py_None
);
4566 _resultobj
= Py_None
;
4570 #define wxDC_DestroyClippingRegion(_swigobj) (_swigobj->DestroyClippingRegion())
4571 static PyObject
*_wrap_wxDC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4572 PyObject
* _resultobj
;
4574 PyObject
* _argo0
= 0;
4575 char *_kwnames
[] = { "self", NULL
};
4578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_DestroyClippingRegion",_kwnames
,&_argo0
))
4581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DestroyClippingRegion. Expected _wxDC_p.");
4588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4589 wxDC_DestroyClippingRegion(_arg0
);
4591 wxPyEndAllowThreads(__tstate
);
4592 if (PyErr_Occurred()) return NULL
;
4593 } Py_INCREF(Py_None
);
4594 _resultobj
= Py_None
;
4598 #define wxDC_DeviceToLogicalX(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalX(_swigarg0))
4599 static PyObject
*_wrap_wxDC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4600 PyObject
* _resultobj
;
4604 PyObject
* _argo0
= 0;
4605 char *_kwnames
[] = { "self","x", NULL
};
4608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalX",_kwnames
,&_argo0
,&_arg1
))
4611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalX. Expected _wxDC_p.");
4618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4619 _result
= (long )wxDC_DeviceToLogicalX(_arg0
,_arg1
);
4621 wxPyEndAllowThreads(__tstate
);
4622 if (PyErr_Occurred()) return NULL
;
4623 } _resultobj
= Py_BuildValue("l",_result
);
4627 #define wxDC_DeviceToLogicalXRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalXRel(_swigarg0))
4628 static PyObject
*_wrap_wxDC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4629 PyObject
* _resultobj
;
4633 PyObject
* _argo0
= 0;
4634 char *_kwnames
[] = { "self","x", NULL
};
4637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalXRel",_kwnames
,&_argo0
,&_arg1
))
4640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalXRel. Expected _wxDC_p.");
4647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4648 _result
= (long )wxDC_DeviceToLogicalXRel(_arg0
,_arg1
);
4650 wxPyEndAllowThreads(__tstate
);
4651 if (PyErr_Occurred()) return NULL
;
4652 } _resultobj
= Py_BuildValue("l",_result
);
4656 #define wxDC_DeviceToLogicalY(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalY(_swigarg0))
4657 static PyObject
*_wrap_wxDC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4658 PyObject
* _resultobj
;
4662 PyObject
* _argo0
= 0;
4663 char *_kwnames
[] = { "self","y", NULL
};
4666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalY",_kwnames
,&_argo0
,&_arg1
))
4669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalY. Expected _wxDC_p.");
4676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4677 _result
= (long )wxDC_DeviceToLogicalY(_arg0
,_arg1
);
4679 wxPyEndAllowThreads(__tstate
);
4680 if (PyErr_Occurred()) return NULL
;
4681 } _resultobj
= Py_BuildValue("l",_result
);
4685 #define wxDC_DeviceToLogicalYRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalYRel(_swigarg0))
4686 static PyObject
*_wrap_wxDC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4687 PyObject
* _resultobj
;
4691 PyObject
* _argo0
= 0;
4692 char *_kwnames
[] = { "self","y", NULL
};
4695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalYRel",_kwnames
,&_argo0
,&_arg1
))
4698 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4699 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalYRel. Expected _wxDC_p.");
4705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4706 _result
= (long )wxDC_DeviceToLogicalYRel(_arg0
,_arg1
);
4708 wxPyEndAllowThreads(__tstate
);
4709 if (PyErr_Occurred()) return NULL
;
4710 } _resultobj
= Py_BuildValue("l",_result
);
4714 #define wxDC_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4715 static PyObject
*_wrap_wxDC_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4716 PyObject
* _resultobj
;
4724 PyObject
* _argo0
= 0;
4725 char *_kwnames
[] = { "self","x1","y1","x2","y2","xc","yc", NULL
};
4728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollllll:wxDC_DrawArc",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
4731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawArc. Expected _wxDC_p.");
4738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4739 wxDC_DrawArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4741 wxPyEndAllowThreads(__tstate
);
4742 if (PyErr_Occurred()) return NULL
;
4743 } Py_INCREF(Py_None
);
4744 _resultobj
= Py_None
;
4748 #define wxDC_DrawCircle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawCircle(_swigarg0,_swigarg1,_swigarg2))
4749 static PyObject
*_wrap_wxDC_DrawCircle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4750 PyObject
* _resultobj
;
4755 PyObject
* _argo0
= 0;
4756 char *_kwnames
[] = { "self","x","y","radius", NULL
};
4759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olll:wxDC_DrawCircle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawCircle. Expected _wxDC_p.");
4769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4770 wxDC_DrawCircle(_arg0
,_arg1
,_arg2
,_arg3
);
4772 wxPyEndAllowThreads(__tstate
);
4773 if (PyErr_Occurred()) return NULL
;
4774 } Py_INCREF(Py_None
);
4775 _resultobj
= Py_None
;
4779 #define wxDC_DrawEllipse(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawEllipse(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4780 static PyObject
*_wrap_wxDC_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4781 PyObject
* _resultobj
;
4787 PyObject
* _argo0
= 0;
4788 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
4791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawEllipse",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipse. Expected _wxDC_p.");
4801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4802 wxDC_DrawEllipse(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4804 wxPyEndAllowThreads(__tstate
);
4805 if (PyErr_Occurred()) return NULL
;
4806 } Py_INCREF(Py_None
);
4807 _resultobj
= Py_None
;
4811 #define wxDC_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4812 static PyObject
*_wrap_wxDC_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4813 PyObject
* _resultobj
;
4821 PyObject
* _argo0
= 0;
4822 char *_kwnames
[] = { "self","x","y","width","height","start","end", NULL
};
4825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollllll:wxDC_DrawEllipticArc",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
4828 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4829 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipticArc. Expected _wxDC_p.");
4835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4836 wxDC_DrawEllipticArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4838 wxPyEndAllowThreads(__tstate
);
4839 if (PyErr_Occurred()) return NULL
;
4840 } Py_INCREF(Py_None
);
4841 _resultobj
= Py_None
;
4845 #define wxDC_DrawIcon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawIcon(_swigarg0,_swigarg1,_swigarg2))
4846 static PyObject
*_wrap_wxDC_DrawIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4847 PyObject
* _resultobj
;
4852 PyObject
* _argo0
= 0;
4853 PyObject
* _argo1
= 0;
4854 char *_kwnames
[] = { "self","icon","x","y", NULL
};
4857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll:wxDC_DrawIcon",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
4860 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4861 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawIcon. Expected _wxDC_p.");
4867 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4868 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
4869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawIcon. Expected _wxIcon_p.");
4874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4875 wxDC_DrawIcon(_arg0
,*_arg1
,_arg2
,_arg3
);
4877 wxPyEndAllowThreads(__tstate
);
4878 if (PyErr_Occurred()) return NULL
;
4879 } Py_INCREF(Py_None
);
4880 _resultobj
= Py_None
;
4884 #define wxDC_DrawLabel(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLabel(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4885 static PyObject
*_wrap_wxDC_DrawLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4886 PyObject
* _resultobj
;
4890 int _arg3
= (int ) wxALIGN_LEFT
|wxALIGN_TOP
;
4891 int _arg4
= (int ) -1;
4892 PyObject
* _argo0
= 0;
4893 PyObject
* _obj1
= 0;
4895 PyObject
* _obj2
= 0;
4896 char *_kwnames
[] = { "self","text","rect","alignment","indexAccel", NULL
};
4899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|ii:wxDC_DrawLabel",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
))
4902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLabel. Expected _wxDC_p.");
4909 _arg1
= wxString_in_helper(_obj1
);
4915 if (! wxRect_helper(_obj2
, &_arg2
))
4919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4920 wxDC_DrawLabel(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
4922 wxPyEndAllowThreads(__tstate
);
4923 if (PyErr_Occurred()) return NULL
;
4924 } Py_INCREF(Py_None
);
4925 _resultobj
= Py_None
;
4933 static wxRect
wxDC_DrawImageLabel(wxDC
*self
,const wxString
& text
,const wxBitmap
& image
,const wxRect
& rect
,int alignment
,int indexAccel
) {
4935 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
4938 static PyObject
*_wrap_wxDC_DrawImageLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4939 PyObject
* _resultobj
;
4945 int _arg4
= (int ) wxALIGN_LEFT
|wxALIGN_TOP
;
4946 int _arg5
= (int ) -1;
4947 PyObject
* _argo0
= 0;
4948 PyObject
* _obj1
= 0;
4949 PyObject
* _argo2
= 0;
4951 PyObject
* _obj3
= 0;
4952 char *_kwnames
[] = { "self","text","image","rect","alignment","indexAccel", NULL
};
4956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|ii:wxDC_DrawImageLabel",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_obj3
,&_arg4
,&_arg5
))
4959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
4961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawImageLabel. Expected _wxDC_p.");
4966 _arg1
= wxString_in_helper(_obj1
);
4971 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4972 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
4973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDC_DrawImageLabel. Expected _wxBitmap_p.");
4979 if (! wxRect_helper(_obj3
, &_arg3
))
4983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4984 _result
= new wxRect (wxDC_DrawImageLabel(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
));
4986 wxPyEndAllowThreads(__tstate
);
4987 if (PyErr_Occurred()) return NULL
;
4988 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
4989 _resultobj
= Py_BuildValue("s",_ptemp
);
4997 #define wxDC_DrawLine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4998 static PyObject
*_wrap_wxDC_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4999 PyObject
* _resultobj
;
5005 PyObject
* _argo0
= 0;
5006 char *_kwnames
[] = { "self","x1","y1","x2","y2", NULL
};
5009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawLine",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
5012 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5013 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLine. Expected _wxDC_p.");
5019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5020 wxDC_DrawLine(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5022 wxPyEndAllowThreads(__tstate
);
5023 if (PyErr_Occurred()) return NULL
;
5024 } Py_INCREF(Py_None
);
5025 _resultobj
= Py_None
;
5029 #define wxDC_DrawLines(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLines(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5030 static PyObject
*_wrap_wxDC_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5031 PyObject
* _resultobj
;
5035 long _arg3
= (long ) 0;
5036 long _arg4
= (long ) 0;
5037 PyObject
* _argo0
= 0;
5039 PyObject
* _obj2
= 0;
5040 char *_kwnames
[] = { "self","points","xoffset","yoffset", NULL
};
5043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ll:wxDC_DrawLines",_kwnames
,&_argo0
,&_obj2
,&_arg3
,&_arg4
))
5046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLines. Expected _wxDC_p.");
5054 _arg2
= wxPoint_LIST_helper(_obj2
, &NPOINTS
);
5055 if (_arg2
== NULL
) {
5063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5064 wxDC_DrawLines(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5066 wxPyEndAllowThreads(__tstate
);
5067 if (PyErr_Occurred()) return NULL
;
5068 } Py_INCREF(Py_None
);
5069 _resultobj
= Py_None
;
5076 #define wxDC_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5077 static PyObject
*_wrap_wxDC_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5078 PyObject
* _resultobj
;
5082 long _arg3
= (long ) 0;
5083 long _arg4
= (long ) 0;
5084 int _arg5
= (int ) wxODDEVEN_RULE
;
5085 PyObject
* _argo0
= 0;
5087 PyObject
* _obj2
= 0;
5088 char *_kwnames
[] = { "self","points","xoffset","yoffset","fill_style", NULL
};
5091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|lli:wxDC_DrawPolygon",_kwnames
,&_argo0
,&_obj2
,&_arg3
,&_arg4
,&_arg5
))
5094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPolygon. Expected _wxDC_p.");
5102 _arg2
= wxPoint_LIST_helper(_obj2
, &NPOINTS
);
5103 if (_arg2
== NULL
) {
5111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5112 wxDC_DrawPolygon(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
5114 wxPyEndAllowThreads(__tstate
);
5115 if (PyErr_Occurred()) return NULL
;
5116 } Py_INCREF(Py_None
);
5117 _resultobj
= Py_None
;
5124 #define wxDC_DrawPoint(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawPoint(_swigarg0,_swigarg1))
5125 static PyObject
*_wrap_wxDC_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5126 PyObject
* _resultobj
;
5130 PyObject
* _argo0
= 0;
5131 char *_kwnames
[] = { "self","x","y", NULL
};
5134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_DrawPoint",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPoint. Expected _wxDC_p.");
5144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5145 wxDC_DrawPoint(_arg0
,_arg1
,_arg2
);
5147 wxPyEndAllowThreads(__tstate
);
5148 if (PyErr_Occurred()) return NULL
;
5149 } Py_INCREF(Py_None
);
5150 _resultobj
= Py_None
;
5154 #define wxDC_DrawRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5155 static PyObject
*_wrap_wxDC_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5156 PyObject
* _resultobj
;
5162 PyObject
* _argo0
= 0;
5163 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
5166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawRectangle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
5169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRectangle. Expected _wxDC_p.");
5176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5177 wxDC_DrawRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5179 wxPyEndAllowThreads(__tstate
);
5180 if (PyErr_Occurred()) return NULL
;
5181 } Py_INCREF(Py_None
);
5182 _resultobj
= Py_None
;
5186 #define wxDC_DrawRotatedText(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRotatedText(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5187 static PyObject
*_wrap_wxDC_DrawRotatedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5188 PyObject
* _resultobj
;
5194 PyObject
* _argo0
= 0;
5195 PyObject
* _obj1
= 0;
5196 char *_kwnames
[] = { "self","text","x","y","angle", NULL
};
5199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiid:wxDC_DrawRotatedText",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_arg4
))
5202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRotatedText. Expected _wxDC_p.");
5209 _arg1
= wxString_in_helper(_obj1
);
5214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5215 wxDC_DrawRotatedText(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
5217 wxPyEndAllowThreads(__tstate
);
5218 if (PyErr_Occurred()) return NULL
;
5219 } Py_INCREF(Py_None
);
5220 _resultobj
= Py_None
;
5228 #define wxDC_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5229 static PyObject
*_wrap_wxDC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5230 PyObject
* _resultobj
;
5236 long _arg5
= (long ) 20;
5237 PyObject
* _argo0
= 0;
5238 char *_kwnames
[] = { "self","x","y","width","height","radius", NULL
};
5241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll|l:wxDC_DrawRoundedRectangle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
5244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRoundedRectangle. Expected _wxDC_p.");
5251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5252 wxDC_DrawRoundedRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
5254 wxPyEndAllowThreads(__tstate
);
5255 if (PyErr_Occurred()) return NULL
;
5256 } Py_INCREF(Py_None
);
5257 _resultobj
= Py_None
;
5261 #define wxDC_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1))
5262 static PyObject
*_wrap_wxDC_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5263 PyObject
* _resultobj
;
5267 PyObject
* _argo0
= 0;
5269 PyObject
* _obj2
= 0;
5270 char *_kwnames
[] = { "self","points", NULL
};
5273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_DrawSpline",_kwnames
,&_argo0
,&_obj2
))
5276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawSpline. Expected _wxDC_p.");
5284 _arg2
= wxPoint_LIST_helper(_obj2
, &NPOINTS
);
5285 if (_arg2
== NULL
) {
5293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5294 wxDC_DrawSpline(_arg0
,_arg1
,_arg2
);
5296 wxPyEndAllowThreads(__tstate
);
5297 if (PyErr_Occurred()) return NULL
;
5298 } Py_INCREF(Py_None
);
5299 _resultobj
= Py_None
;
5306 #define wxDC_DrawText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawText(_swigarg0,_swigarg1,_swigarg2))
5307 static PyObject
*_wrap_wxDC_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5308 PyObject
* _resultobj
;
5313 PyObject
* _argo0
= 0;
5314 PyObject
* _obj1
= 0;
5315 char *_kwnames
[] = { "self","text","x","y", NULL
};
5318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll:wxDC_DrawText",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
))
5321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawText. Expected _wxDC_p.");
5328 _arg1
= wxString_in_helper(_obj1
);
5333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5334 wxDC_DrawText(_arg0
,*_arg1
,_arg2
,_arg3
);
5336 wxPyEndAllowThreads(__tstate
);
5337 if (PyErr_Occurred()) return NULL
;
5338 } Py_INCREF(Py_None
);
5339 _resultobj
= Py_None
;
5347 #define wxDC_EndDoc(_swigobj) (_swigobj->EndDoc())
5348 static PyObject
*_wrap_wxDC_EndDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5349 PyObject
* _resultobj
;
5351 PyObject
* _argo0
= 0;
5352 char *_kwnames
[] = { "self", NULL
};
5355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndDoc",_kwnames
,&_argo0
))
5358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDoc. Expected _wxDC_p.");
5365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5368 wxPyEndAllowThreads(__tstate
);
5369 if (PyErr_Occurred()) return NULL
;
5370 } Py_INCREF(Py_None
);
5371 _resultobj
= Py_None
;
5375 #define wxDC_EndDrawing(_swigobj) (_swigobj->EndDrawing())
5376 static PyObject
*_wrap_wxDC_EndDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5377 PyObject
* _resultobj
;
5379 PyObject
* _argo0
= 0;
5380 char *_kwnames
[] = { "self", NULL
};
5383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndDrawing",_kwnames
,&_argo0
))
5386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDrawing. Expected _wxDC_p.");
5393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5394 wxDC_EndDrawing(_arg0
);
5396 wxPyEndAllowThreads(__tstate
);
5397 if (PyErr_Occurred()) return NULL
;
5398 } Py_INCREF(Py_None
);
5399 _resultobj
= Py_None
;
5403 #define wxDC_EndPage(_swigobj) (_swigobj->EndPage())
5404 static PyObject
*_wrap_wxDC_EndPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5405 PyObject
* _resultobj
;
5407 PyObject
* _argo0
= 0;
5408 char *_kwnames
[] = { "self", NULL
};
5411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndPage",_kwnames
,&_argo0
))
5414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndPage. Expected _wxDC_p.");
5421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5422 wxDC_EndPage(_arg0
);
5424 wxPyEndAllowThreads(__tstate
);
5425 if (PyErr_Occurred()) return NULL
;
5426 } Py_INCREF(Py_None
);
5427 _resultobj
= Py_None
;
5431 #define wxDC_FloodFill(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FloodFill(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5432 static PyObject
*_wrap_wxDC_FloodFill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5433 PyObject
* _resultobj
;
5439 int _arg4
= (int ) wxFLOOD_SURFACE
;
5440 PyObject
* _argo0
= 0;
5442 PyObject
* _obj3
= 0;
5443 char *_kwnames
[] = { "self","x","y","colour","style", NULL
};
5446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO|i:wxDC_FloodFill",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
5449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_FloodFill. Expected _wxDC_p.");
5457 if (! wxColour_helper(_obj3
, &_arg3
))
5461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5462 _result
= (bool )wxDC_FloodFill(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
5464 wxPyEndAllowThreads(__tstate
);
5465 if (PyErr_Occurred()) return NULL
;
5466 } _resultobj
= Py_BuildValue("i",_result
);
5470 #define wxDC_GetBackground(_swigobj) (_swigobj->GetBackground())
5471 static PyObject
*_wrap_wxDC_GetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5472 PyObject
* _resultobj
;
5475 PyObject
* _argo0
= 0;
5476 char *_kwnames
[] = { "self", NULL
};
5480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBackground",_kwnames
,&_argo0
))
5483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBackground. Expected _wxDC_p.");
5490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5491 _result
= new wxBrush (wxDC_GetBackground(_arg0
));
5493 wxPyEndAllowThreads(__tstate
);
5494 if (PyErr_Occurred()) return NULL
;
5495 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBrush_p");
5496 _resultobj
= Py_BuildValue("s",_ptemp
);
5500 #define wxDC_GetBrush(_swigobj) (_swigobj->GetBrush())
5501 static PyObject
*_wrap_wxDC_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5502 PyObject
* _resultobj
;
5505 PyObject
* _argo0
= 0;
5506 char *_kwnames
[] = { "self", NULL
};
5510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBrush",_kwnames
,&_argo0
))
5513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBrush. Expected _wxDC_p.");
5520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5521 _result
= new wxBrush (wxDC_GetBrush(_arg0
));
5523 wxPyEndAllowThreads(__tstate
);
5524 if (PyErr_Occurred()) return NULL
;
5525 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBrush_p");
5526 _resultobj
= Py_BuildValue("s",_ptemp
);
5530 #define wxDC_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
5531 static PyObject
*_wrap_wxDC_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5532 PyObject
* _resultobj
;
5535 PyObject
* _argo0
= 0;
5536 char *_kwnames
[] = { "self", NULL
};
5539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetCharHeight",_kwnames
,&_argo0
))
5542 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5543 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharHeight. Expected _wxDC_p.");
5549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5550 _result
= (long )wxDC_GetCharHeight(_arg0
);
5552 wxPyEndAllowThreads(__tstate
);
5553 if (PyErr_Occurred()) return NULL
;
5554 } _resultobj
= Py_BuildValue("l",_result
);
5558 #define wxDC_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
5559 static PyObject
*_wrap_wxDC_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5560 PyObject
* _resultobj
;
5563 PyObject
* _argo0
= 0;
5564 char *_kwnames
[] = { "self", NULL
};
5567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetCharWidth",_kwnames
,&_argo0
))
5570 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5571 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharWidth. Expected _wxDC_p.");
5577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5578 _result
= (long )wxDC_GetCharWidth(_arg0
);
5580 wxPyEndAllowThreads(__tstate
);
5581 if (PyErr_Occurred()) return NULL
;
5582 } _resultobj
= Py_BuildValue("l",_result
);
5586 #define wxDC_GetClippingBox(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetClippingBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5587 static PyObject
*_wrap_wxDC_GetClippingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5588 PyObject
* _resultobj
;
5598 PyObject
* _argo0
= 0;
5599 char *_kwnames
[] = { "self", NULL
};
5614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetClippingBox",_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_GetClippingBox. Expected _wxDC_p.");
5624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5625 wxDC_GetClippingBox(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5627 wxPyEndAllowThreads(__tstate
);
5628 if (PyErr_Occurred()) return NULL
;
5629 } Py_INCREF(Py_None
);
5630 _resultobj
= Py_None
;
5633 o
= PyInt_FromLong((long) (*_arg1
));
5634 _resultobj
= t_output_helper(_resultobj
, o
);
5638 o
= PyInt_FromLong((long) (*_arg2
));
5639 _resultobj
= t_output_helper(_resultobj
, o
);
5643 o
= PyInt_FromLong((long) (*_arg3
));
5644 _resultobj
= t_output_helper(_resultobj
, o
);
5648 o
= PyInt_FromLong((long) (*_arg4
));
5649 _resultobj
= t_output_helper(_resultobj
, o
);
5654 #define wxDC_GetFont(_swigobj) (_swigobj->GetFont())
5655 static PyObject
*_wrap_wxDC_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5656 PyObject
* _resultobj
;
5659 PyObject
* _argo0
= 0;
5660 char *_kwnames
[] = { "self", NULL
};
5664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetFont",_kwnames
,&_argo0
))
5667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFont. Expected _wxDC_p.");
5674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5675 _result
= new wxFont (wxDC_GetFont(_arg0
));
5677 wxPyEndAllowThreads(__tstate
);
5678 if (PyErr_Occurred()) return NULL
;
5679 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
5680 _resultobj
= Py_BuildValue("s",_ptemp
);
5684 #define wxDC_GetLogicalFunction(_swigobj) (_swigobj->GetLogicalFunction())
5685 static PyObject
*_wrap_wxDC_GetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5686 PyObject
* _resultobj
;
5689 PyObject
* _argo0
= 0;
5690 char *_kwnames
[] = { "self", NULL
};
5693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalFunction",_kwnames
,&_argo0
))
5696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalFunction. Expected _wxDC_p.");
5703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5704 _result
= (int )wxDC_GetLogicalFunction(_arg0
);
5706 wxPyEndAllowThreads(__tstate
);
5707 if (PyErr_Occurred()) return NULL
;
5708 } _resultobj
= Py_BuildValue("i",_result
);
5712 #define wxDC_GetLogicalScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLogicalScale(_swigarg0,_swigarg1))
5713 static PyObject
*_wrap_wxDC_GetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5714 PyObject
* _resultobj
;
5720 PyObject
* _argo0
= 0;
5721 char *_kwnames
[] = { "self", NULL
};
5730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalScale",_kwnames
,&_argo0
))
5733 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5734 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalScale. Expected _wxDC_p.");
5740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5741 wxDC_GetLogicalScale(_arg0
,_arg1
,_arg2
);
5743 wxPyEndAllowThreads(__tstate
);
5744 if (PyErr_Occurred()) return NULL
;
5745 } Py_INCREF(Py_None
);
5746 _resultobj
= Py_None
;
5749 o
= PyFloat_FromDouble((double) (*_arg1
));
5750 _resultobj
= t_output_helper(_resultobj
, o
);
5754 o
= PyFloat_FromDouble((double) (*_arg2
));
5755 _resultobj
= t_output_helper(_resultobj
, o
);
5760 #define wxDC_GetMapMode(_swigobj) (_swigobj->GetMapMode())
5761 static PyObject
*_wrap_wxDC_GetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5762 PyObject
* _resultobj
;
5765 PyObject
* _argo0
= 0;
5766 char *_kwnames
[] = { "self", NULL
};
5769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetMapMode",_kwnames
,&_argo0
))
5772 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5773 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetMapMode. Expected _wxDC_p.");
5779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5780 _result
= (int )wxDC_GetMapMode(_arg0
);
5782 wxPyEndAllowThreads(__tstate
);
5783 if (PyErr_Occurred()) return NULL
;
5784 } _resultobj
= Py_BuildValue("i",_result
);
5788 #define wxDC_GetOptimization(_swigobj) (_swigobj->GetOptimization())
5789 static PyObject
*_wrap_wxDC_GetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5790 PyObject
* _resultobj
;
5793 PyObject
* _argo0
= 0;
5794 char *_kwnames
[] = { "self", NULL
};
5797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetOptimization",_kwnames
,&_argo0
))
5800 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5801 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetOptimization. Expected _wxDC_p.");
5807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5808 _result
= (bool )wxDC_GetOptimization(_arg0
);
5810 wxPyEndAllowThreads(__tstate
);
5811 if (PyErr_Occurred()) return NULL
;
5812 } _resultobj
= Py_BuildValue("i",_result
);
5816 #define wxDC_GetPen(_swigobj) (_swigobj->GetPen())
5817 static PyObject
*_wrap_wxDC_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5818 PyObject
* _resultobj
;
5821 PyObject
* _argo0
= 0;
5822 char *_kwnames
[] = { "self", NULL
};
5826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetPen",_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_GetPen. Expected _wxDC_p.");
5836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5837 _result
= new wxPen (wxDC_GetPen(_arg0
));
5839 wxPyEndAllowThreads(__tstate
);
5840 if (PyErr_Occurred()) return NULL
;
5841 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPen_p");
5842 _resultobj
= Py_BuildValue("s",_ptemp
);
5846 static wxColour
* wxDC_GetPixel(wxDC
*self
,long x
,long y
) {
5847 wxColour
* wc
= new wxColour();
5848 self
->GetPixel(x
, y
, wc
);
5851 static PyObject
*_wrap_wxDC_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5852 PyObject
* _resultobj
;
5857 PyObject
* _argo0
= 0;
5858 char *_kwnames
[] = { "self","x","y", NULL
};
5862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_GetPixel",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5865 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5866 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPixel. Expected _wxDC_p.");
5872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5873 _result
= (wxColour
*)wxDC_GetPixel(_arg0
,_arg1
,_arg2
);
5875 wxPyEndAllowThreads(__tstate
);
5876 if (PyErr_Occurred()) return NULL
;
5878 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
5879 _resultobj
= Py_BuildValue("s",_ptemp
);
5882 _resultobj
= Py_None
;
5887 #define wxDC_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
5888 static PyObject
*_wrap_wxDC_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5889 PyObject
* _resultobj
;
5895 PyObject
* _argo0
= 0;
5896 char *_kwnames
[] = { "self", NULL
};
5905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSizeTuple",_kwnames
,&_argo0
))
5908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSizeTuple. Expected _wxDC_p.");
5915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5916 wxDC_GetSizeTuple(_arg0
,_arg1
,_arg2
);
5918 wxPyEndAllowThreads(__tstate
);
5919 if (PyErr_Occurred()) return NULL
;
5920 } Py_INCREF(Py_None
);
5921 _resultobj
= Py_None
;
5924 o
= PyInt_FromLong((long) (*_arg1
));
5925 _resultobj
= t_output_helper(_resultobj
, o
);
5929 o
= PyInt_FromLong((long) (*_arg2
));
5930 _resultobj
= t_output_helper(_resultobj
, o
);
5935 #define wxDC_GetSize(_swigobj) (_swigobj->GetSize())
5936 static PyObject
*_wrap_wxDC_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5937 PyObject
* _resultobj
;
5940 PyObject
* _argo0
= 0;
5941 char *_kwnames
[] = { "self", NULL
};
5945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSize",_kwnames
,&_argo0
))
5948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSize. Expected _wxDC_p.");
5955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5956 _result
= new wxSize (wxDC_GetSize(_arg0
));
5958 wxPyEndAllowThreads(__tstate
);
5959 if (PyErr_Occurred()) return NULL
;
5960 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5961 _resultobj
= Py_BuildValue("s",_ptemp
);
5965 #define wxDC_GetSizeMM(_swigobj) (_swigobj->GetSizeMM())
5966 static PyObject
*_wrap_wxDC_GetSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5967 PyObject
* _resultobj
;
5970 PyObject
* _argo0
= 0;
5971 char *_kwnames
[] = { "self", NULL
};
5975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSizeMM",_kwnames
,&_argo0
))
5978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSizeMM. Expected _wxDC_p.");
5985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5986 _result
= new wxSize (wxDC_GetSizeMM(_arg0
));
5988 wxPyEndAllowThreads(__tstate
);
5989 if (PyErr_Occurred()) return NULL
;
5990 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5991 _resultobj
= Py_BuildValue("s",_ptemp
);
5995 #define wxDC_GetTextBackground(_swigobj) (_swigobj->GetTextBackground())
5996 static PyObject
*_wrap_wxDC_GetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5997 PyObject
* _resultobj
;
6000 PyObject
* _argo0
= 0;
6001 char *_kwnames
[] = { "self", NULL
};
6005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetTextBackground",_kwnames
,&_argo0
))
6008 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6009 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextBackground. Expected _wxDC_p.");
6015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6016 _result
= new wxColour (wxDC_GetTextBackground(_arg0
));
6018 wxPyEndAllowThreads(__tstate
);
6019 if (PyErr_Occurred()) return NULL
;
6020 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
6021 _resultobj
= Py_BuildValue("s",_ptemp
);
6025 #define wxDC_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
6026 static PyObject
*_wrap_wxDC_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6027 PyObject
* _resultobj
;
6034 PyObject
* _argo0
= 0;
6035 PyObject
* _obj1
= 0;
6036 char *_kwnames
[] = { "self","string", NULL
};
6045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
6048 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6049 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextExtent. Expected _wxDC_p.");
6055 _arg1
= wxString_in_helper(_obj1
);
6060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6061 wxDC_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
6063 wxPyEndAllowThreads(__tstate
);
6064 if (PyErr_Occurred()) return NULL
;
6065 } Py_INCREF(Py_None
);
6066 _resultobj
= Py_None
;
6069 o
= PyInt_FromLong((long) (*_arg2
));
6070 _resultobj
= t_output_helper(_resultobj
, o
);
6074 o
= PyInt_FromLong((long) (*_arg3
));
6075 _resultobj
= t_output_helper(_resultobj
, o
);
6084 #define wxDC_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6085 static PyObject
*_wrap_wxDC_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6086 PyObject
* _resultobj
;
6097 wxFont
* _arg6
= (wxFont
*) NULL
;
6098 PyObject
* _argo0
= 0;
6099 PyObject
* _obj1
= 0;
6100 PyObject
* _argo6
= 0;
6101 char *_kwnames
[] = { "self","string","font", NULL
};
6116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxDC_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
6119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFullTextExtent. Expected _wxDC_p.");
6126 _arg1
= wxString_in_helper(_obj1
);
6131 if (_argo6
== Py_None
) { _arg6
= NULL
; }
6132 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
6133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxDC_GetFullTextExtent. Expected _wxFont_p.");
6138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6139 wxDC_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
6141 wxPyEndAllowThreads(__tstate
);
6142 if (PyErr_Occurred()) return NULL
;
6143 } Py_INCREF(Py_None
);
6144 _resultobj
= Py_None
;
6147 o
= PyInt_FromLong((long) (*_arg2
));
6148 _resultobj
= t_output_helper(_resultobj
, o
);
6152 o
= PyInt_FromLong((long) (*_arg3
));
6153 _resultobj
= t_output_helper(_resultobj
, o
);
6157 o
= PyInt_FromLong((long) (*_arg4
));
6158 _resultobj
= t_output_helper(_resultobj
, o
);
6162 o
= PyInt_FromLong((long) (*_arg5
));
6163 _resultobj
= t_output_helper(_resultobj
, o
);
6172 #define wxDC_GetTextForeground(_swigobj) (_swigobj->GetTextForeground())
6173 static PyObject
*_wrap_wxDC_GetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6174 PyObject
* _resultobj
;
6177 PyObject
* _argo0
= 0;
6178 char *_kwnames
[] = { "self", NULL
};
6182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetTextForeground",_kwnames
,&_argo0
))
6185 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6186 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextForeground. Expected _wxDC_p.");
6192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6193 _result
= new wxColour (wxDC_GetTextForeground(_arg0
));
6195 wxPyEndAllowThreads(__tstate
);
6196 if (PyErr_Occurred()) return NULL
;
6197 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
6198 _resultobj
= Py_BuildValue("s",_ptemp
);
6202 #define wxDC_GetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetUserScale(_swigarg0,_swigarg1))
6203 static PyObject
*_wrap_wxDC_GetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6204 PyObject
* _resultobj
;
6210 PyObject
* _argo0
= 0;
6211 char *_kwnames
[] = { "self", NULL
};
6220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetUserScale",_kwnames
,&_argo0
))
6223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetUserScale. Expected _wxDC_p.");
6230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6231 wxDC_GetUserScale(_arg0
,_arg1
,_arg2
);
6233 wxPyEndAllowThreads(__tstate
);
6234 if (PyErr_Occurred()) return NULL
;
6235 } Py_INCREF(Py_None
);
6236 _resultobj
= Py_None
;
6239 o
= PyFloat_FromDouble((double) (*_arg1
));
6240 _resultobj
= t_output_helper(_resultobj
, o
);
6244 o
= PyFloat_FromDouble((double) (*_arg2
));
6245 _resultobj
= t_output_helper(_resultobj
, o
);
6250 #define wxDC_LogicalToDeviceX(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceX(_swigarg0))
6251 static PyObject
*_wrap_wxDC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6252 PyObject
* _resultobj
;
6256 PyObject
* _argo0
= 0;
6257 char *_kwnames
[] = { "self","x", NULL
};
6260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceX",_kwnames
,&_argo0
,&_arg1
))
6263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceX. Expected _wxDC_p.");
6270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6271 _result
= (long )wxDC_LogicalToDeviceX(_arg0
,_arg1
);
6273 wxPyEndAllowThreads(__tstate
);
6274 if (PyErr_Occurred()) return NULL
;
6275 } _resultobj
= Py_BuildValue("l",_result
);
6279 #define wxDC_LogicalToDeviceXRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceXRel(_swigarg0))
6280 static PyObject
*_wrap_wxDC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6281 PyObject
* _resultobj
;
6285 PyObject
* _argo0
= 0;
6286 char *_kwnames
[] = { "self","x", NULL
};
6289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceXRel",_kwnames
,&_argo0
,&_arg1
))
6292 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6293 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceXRel. Expected _wxDC_p.");
6299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6300 _result
= (long )wxDC_LogicalToDeviceXRel(_arg0
,_arg1
);
6302 wxPyEndAllowThreads(__tstate
);
6303 if (PyErr_Occurred()) return NULL
;
6304 } _resultobj
= Py_BuildValue("l",_result
);
6308 #define wxDC_LogicalToDeviceY(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceY(_swigarg0))
6309 static PyObject
*_wrap_wxDC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6310 PyObject
* _resultobj
;
6314 PyObject
* _argo0
= 0;
6315 char *_kwnames
[] = { "self","y", NULL
};
6318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceY",_kwnames
,&_argo0
,&_arg1
))
6321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceY. Expected _wxDC_p.");
6328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6329 _result
= (long )wxDC_LogicalToDeviceY(_arg0
,_arg1
);
6331 wxPyEndAllowThreads(__tstate
);
6332 if (PyErr_Occurred()) return NULL
;
6333 } _resultobj
= Py_BuildValue("l",_result
);
6337 #define wxDC_LogicalToDeviceYRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceYRel(_swigarg0))
6338 static PyObject
*_wrap_wxDC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6339 PyObject
* _resultobj
;
6343 PyObject
* _argo0
= 0;
6344 char *_kwnames
[] = { "self","y", NULL
};
6347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceYRel",_kwnames
,&_argo0
,&_arg1
))
6350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceYRel. Expected _wxDC_p.");
6357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6358 _result
= (long )wxDC_LogicalToDeviceYRel(_arg0
,_arg1
);
6360 wxPyEndAllowThreads(__tstate
);
6361 if (PyErr_Occurred()) return NULL
;
6362 } _resultobj
= Py_BuildValue("l",_result
);
6366 #define wxDC_MaxX(_swigobj) (_swigobj->MaxX())
6367 static PyObject
*_wrap_wxDC_MaxX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6368 PyObject
* _resultobj
;
6371 PyObject
* _argo0
= 0;
6372 char *_kwnames
[] = { "self", NULL
};
6375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MaxX",_kwnames
,&_argo0
))
6378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxX. Expected _wxDC_p.");
6385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6386 _result
= (long )wxDC_MaxX(_arg0
);
6388 wxPyEndAllowThreads(__tstate
);
6389 if (PyErr_Occurred()) return NULL
;
6390 } _resultobj
= Py_BuildValue("l",_result
);
6394 #define wxDC_MaxY(_swigobj) (_swigobj->MaxY())
6395 static PyObject
*_wrap_wxDC_MaxY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6396 PyObject
* _resultobj
;
6399 PyObject
* _argo0
= 0;
6400 char *_kwnames
[] = { "self", NULL
};
6403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MaxY",_kwnames
,&_argo0
))
6406 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6407 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxY. Expected _wxDC_p.");
6413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6414 _result
= (long )wxDC_MaxY(_arg0
);
6416 wxPyEndAllowThreads(__tstate
);
6417 if (PyErr_Occurred()) return NULL
;
6418 } _resultobj
= Py_BuildValue("l",_result
);
6422 #define wxDC_MinX(_swigobj) (_swigobj->MinX())
6423 static PyObject
*_wrap_wxDC_MinX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6424 PyObject
* _resultobj
;
6427 PyObject
* _argo0
= 0;
6428 char *_kwnames
[] = { "self", NULL
};
6431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MinX",_kwnames
,&_argo0
))
6434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinX. Expected _wxDC_p.");
6441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6442 _result
= (long )wxDC_MinX(_arg0
);
6444 wxPyEndAllowThreads(__tstate
);
6445 if (PyErr_Occurred()) return NULL
;
6446 } _resultobj
= Py_BuildValue("l",_result
);
6450 #define wxDC_MinY(_swigobj) (_swigobj->MinY())
6451 static PyObject
*_wrap_wxDC_MinY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6452 PyObject
* _resultobj
;
6455 PyObject
* _argo0
= 0;
6456 char *_kwnames
[] = { "self", NULL
};
6459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MinY",_kwnames
,&_argo0
))
6462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinY. Expected _wxDC_p.");
6469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6470 _result
= (long )wxDC_MinY(_arg0
);
6472 wxPyEndAllowThreads(__tstate
);
6473 if (PyErr_Occurred()) return NULL
;
6474 } _resultobj
= Py_BuildValue("l",_result
);
6478 #define wxDC_Ok(_swigobj) (_swigobj->Ok())
6479 static PyObject
*_wrap_wxDC_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6480 PyObject
* _resultobj
;
6483 PyObject
* _argo0
= 0;
6484 char *_kwnames
[] = { "self", NULL
};
6487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_Ok",_kwnames
,&_argo0
))
6490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Ok. Expected _wxDC_p.");
6497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6498 _result
= (bool )wxDC_Ok(_arg0
);
6500 wxPyEndAllowThreads(__tstate
);
6501 if (PyErr_Occurred()) return NULL
;
6502 } _resultobj
= Py_BuildValue("i",_result
);
6506 #define wxDC_SetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDeviceOrigin(_swigarg0,_swigarg1))
6507 static PyObject
*_wrap_wxDC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6508 PyObject
* _resultobj
;
6512 PyObject
* _argo0
= 0;
6513 char *_kwnames
[] = { "self","x","y", NULL
};
6516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_SetDeviceOrigin",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetDeviceOrigin. Expected _wxDC_p.");
6526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6527 wxDC_SetDeviceOrigin(_arg0
,_arg1
,_arg2
);
6529 wxPyEndAllowThreads(__tstate
);
6530 if (PyErr_Occurred()) return NULL
;
6531 } Py_INCREF(Py_None
);
6532 _resultobj
= Py_None
;
6536 #define wxDC_SetBackground(_swigobj,_swigarg0) (_swigobj->SetBackground(_swigarg0))
6537 static PyObject
*_wrap_wxDC_SetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6538 PyObject
* _resultobj
;
6541 PyObject
* _argo0
= 0;
6542 PyObject
* _argo1
= 0;
6543 char *_kwnames
[] = { "self","brush", NULL
};
6546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetBackground",_kwnames
,&_argo0
,&_argo1
))
6549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackground. Expected _wxDC_p.");
6556 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6557 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
6558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBackground. Expected _wxBrush_p.");
6563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6564 wxDC_SetBackground(_arg0
,*_arg1
);
6566 wxPyEndAllowThreads(__tstate
);
6567 if (PyErr_Occurred()) return NULL
;
6568 } Py_INCREF(Py_None
);
6569 _resultobj
= Py_None
;
6573 #define wxDC_SetBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetBackgroundMode(_swigarg0))
6574 static PyObject
*_wrap_wxDC_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6575 PyObject
* _resultobj
;
6578 PyObject
* _argo0
= 0;
6579 char *_kwnames
[] = { "self","mode", NULL
};
6582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetBackgroundMode",_kwnames
,&_argo0
,&_arg1
))
6585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackgroundMode. Expected _wxDC_p.");
6592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6593 wxDC_SetBackgroundMode(_arg0
,_arg1
);
6595 wxPyEndAllowThreads(__tstate
);
6596 if (PyErr_Occurred()) return NULL
;
6597 } Py_INCREF(Py_None
);
6598 _resultobj
= Py_None
;
6602 #define wxDC_SetClippingRegion(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetClippingRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6603 static PyObject
*_wrap_wxDC_SetClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6604 PyObject
* _resultobj
;
6610 PyObject
* _argo0
= 0;
6611 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
6614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_SetClippingRegion",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
6617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetClippingRegion. Expected _wxDC_p.");
6624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6625 wxDC_SetClippingRegion(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6627 wxPyEndAllowThreads(__tstate
);
6628 if (PyErr_Occurred()) return NULL
;
6629 } Py_INCREF(Py_None
);
6630 _resultobj
= Py_None
;
6634 #define wxDC_SetClippingRegionAsRegion(_swigobj,_swigarg0) (_swigobj->SetClippingRegion(_swigarg0))
6635 static PyObject
*_wrap_wxDC_SetClippingRegionAsRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6636 PyObject
* _resultobj
;
6639 PyObject
* _argo0
= 0;
6640 PyObject
* _argo1
= 0;
6641 char *_kwnames
[] = { "self","region", NULL
};
6644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetClippingRegionAsRegion",_kwnames
,&_argo0
,&_argo1
))
6647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetClippingRegionAsRegion. Expected _wxDC_p.");
6654 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6655 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
6656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetClippingRegionAsRegion. Expected _wxRegion_p.");
6661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6662 wxDC_SetClippingRegionAsRegion(_arg0
,*_arg1
);
6664 wxPyEndAllowThreads(__tstate
);
6665 if (PyErr_Occurred()) return NULL
;
6666 } Py_INCREF(Py_None
);
6667 _resultobj
= Py_None
;
6671 #define wxDC_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
6672 static PyObject
*_wrap_wxDC_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6673 PyObject
* _resultobj
;
6676 PyObject
* _argo0
= 0;
6677 PyObject
* _argo1
= 0;
6678 char *_kwnames
[] = { "self","colourMap", NULL
};
6681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetPalette",_kwnames
,&_argo0
,&_argo1
))
6684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPalette. Expected _wxDC_p.");
6691 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6692 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPalette_p")) {
6693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPalette. Expected _wxPalette_p.");
6698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6699 wxDC_SetPalette(_arg0
,*_arg1
);
6701 wxPyEndAllowThreads(__tstate
);
6702 if (PyErr_Occurred()) return NULL
;
6703 } Py_INCREF(Py_None
);
6704 _resultobj
= Py_None
;
6708 #define wxDC_SetBrush(_swigobj,_swigarg0) (_swigobj->SetBrush(_swigarg0))
6709 static PyObject
*_wrap_wxDC_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6710 PyObject
* _resultobj
;
6713 PyObject
* _argo0
= 0;
6714 PyObject
* _argo1
= 0;
6715 char *_kwnames
[] = { "self","brush", NULL
};
6718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetBrush",_kwnames
,&_argo0
,&_argo1
))
6721 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6722 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBrush. Expected _wxDC_p.");
6728 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6729 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
6730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBrush. Expected _wxBrush_p.");
6735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6736 wxDC_SetBrush(_arg0
,*_arg1
);
6738 wxPyEndAllowThreads(__tstate
);
6739 if (PyErr_Occurred()) return NULL
;
6740 } Py_INCREF(Py_None
);
6741 _resultobj
= Py_None
;
6745 #define wxDC_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
6746 static PyObject
*_wrap_wxDC_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6747 PyObject
* _resultobj
;
6750 PyObject
* _argo0
= 0;
6751 PyObject
* _argo1
= 0;
6752 char *_kwnames
[] = { "self","font", NULL
};
6755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetFont",_kwnames
,&_argo0
,&_argo1
))
6758 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6759 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetFont. Expected _wxDC_p.");
6765 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6766 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
6767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetFont. Expected _wxFont_p.");
6772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6773 wxDC_SetFont(_arg0
,*_arg1
);
6775 wxPyEndAllowThreads(__tstate
);
6776 if (PyErr_Occurred()) return NULL
;
6777 } Py_INCREF(Py_None
);
6778 _resultobj
= Py_None
;
6782 #define wxDC_SetLogicalFunction(_swigobj,_swigarg0) (_swigobj->SetLogicalFunction(_swigarg0))
6783 static PyObject
*_wrap_wxDC_SetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6784 PyObject
* _resultobj
;
6787 PyObject
* _argo0
= 0;
6788 char *_kwnames
[] = { "self","function", NULL
};
6791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetLogicalFunction",_kwnames
,&_argo0
,&_arg1
))
6794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalFunction. Expected _wxDC_p.");
6801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6802 wxDC_SetLogicalFunction(_arg0
,_arg1
);
6804 wxPyEndAllowThreads(__tstate
);
6805 if (PyErr_Occurred()) return NULL
;
6806 } Py_INCREF(Py_None
);
6807 _resultobj
= Py_None
;
6811 #define wxDC_SetLogicalScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLogicalScale(_swigarg0,_swigarg1))
6812 static PyObject
*_wrap_wxDC_SetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6813 PyObject
* _resultobj
;
6817 PyObject
* _argo0
= 0;
6818 char *_kwnames
[] = { "self","x","y", NULL
};
6821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxDC_SetLogicalScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6824 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6825 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalScale. Expected _wxDC_p.");
6831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6832 wxDC_SetLogicalScale(_arg0
,_arg1
,_arg2
);
6834 wxPyEndAllowThreads(__tstate
);
6835 if (PyErr_Occurred()) return NULL
;
6836 } Py_INCREF(Py_None
);
6837 _resultobj
= Py_None
;
6841 #define wxDC_SetMapMode(_swigobj,_swigarg0) (_swigobj->SetMapMode(_swigarg0))
6842 static PyObject
*_wrap_wxDC_SetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6843 PyObject
* _resultobj
;
6846 PyObject
* _argo0
= 0;
6847 char *_kwnames
[] = { "self","mode", NULL
};
6850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetMapMode",_kwnames
,&_argo0
,&_arg1
))
6853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetMapMode. Expected _wxDC_p.");
6860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6861 wxDC_SetMapMode(_arg0
,_arg1
);
6863 wxPyEndAllowThreads(__tstate
);
6864 if (PyErr_Occurred()) return NULL
;
6865 } Py_INCREF(Py_None
);
6866 _resultobj
= Py_None
;
6870 #define wxDC_SetOptimization(_swigobj,_swigarg0) (_swigobj->SetOptimization(_swigarg0))
6871 static PyObject
*_wrap_wxDC_SetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6872 PyObject
* _resultobj
;
6875 PyObject
* _argo0
= 0;
6877 char *_kwnames
[] = { "self","optimize", NULL
};
6880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetOptimization",_kwnames
,&_argo0
,&tempbool1
))
6883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetOptimization. Expected _wxDC_p.");
6889 _arg1
= (bool ) tempbool1
;
6891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6892 wxDC_SetOptimization(_arg0
,_arg1
);
6894 wxPyEndAllowThreads(__tstate
);
6895 if (PyErr_Occurred()) return NULL
;
6896 } Py_INCREF(Py_None
);
6897 _resultobj
= Py_None
;
6901 #define wxDC_SetPen(_swigobj,_swigarg0) (_swigobj->SetPen(_swigarg0))
6902 static PyObject
*_wrap_wxDC_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6903 PyObject
* _resultobj
;
6906 PyObject
* _argo0
= 0;
6907 PyObject
* _argo1
= 0;
6908 char *_kwnames
[] = { "self","pen", NULL
};
6911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetPen",_kwnames
,&_argo0
,&_argo1
))
6914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPen. Expected _wxDC_p.");
6921 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6922 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
6923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPen. Expected _wxPen_p.");
6928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6929 wxDC_SetPen(_arg0
,*_arg1
);
6931 wxPyEndAllowThreads(__tstate
);
6932 if (PyErr_Occurred()) return NULL
;
6933 } Py_INCREF(Py_None
);
6934 _resultobj
= Py_None
;
6938 #define wxDC_SetTextBackground(_swigobj,_swigarg0) (_swigobj->SetTextBackground(_swigarg0))
6939 static PyObject
*_wrap_wxDC_SetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6940 PyObject
* _resultobj
;
6943 PyObject
* _argo0
= 0;
6945 PyObject
* _obj1
= 0;
6946 char *_kwnames
[] = { "self","colour", NULL
};
6949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetTextBackground",_kwnames
,&_argo0
,&_obj1
))
6952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextBackground. Expected _wxDC_p.");
6960 if (! wxColour_helper(_obj1
, &_arg1
))
6964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6965 wxDC_SetTextBackground(_arg0
,*_arg1
);
6967 wxPyEndAllowThreads(__tstate
);
6968 if (PyErr_Occurred()) return NULL
;
6969 } Py_INCREF(Py_None
);
6970 _resultobj
= Py_None
;
6974 #define wxDC_SetTextForeground(_swigobj,_swigarg0) (_swigobj->SetTextForeground(_swigarg0))
6975 static PyObject
*_wrap_wxDC_SetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6976 PyObject
* _resultobj
;
6979 PyObject
* _argo0
= 0;
6981 PyObject
* _obj1
= 0;
6982 char *_kwnames
[] = { "self","colour", NULL
};
6985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetTextForeground",_kwnames
,&_argo0
,&_obj1
))
6988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextForeground. Expected _wxDC_p.");
6996 if (! wxColour_helper(_obj1
, &_arg1
))
7000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7001 wxDC_SetTextForeground(_arg0
,*_arg1
);
7003 wxPyEndAllowThreads(__tstate
);
7004 if (PyErr_Occurred()) return NULL
;
7005 } Py_INCREF(Py_None
);
7006 _resultobj
= Py_None
;
7010 #define wxDC_SetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetUserScale(_swigarg0,_swigarg1))
7011 static PyObject
*_wrap_wxDC_SetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7012 PyObject
* _resultobj
;
7016 PyObject
* _argo0
= 0;
7017 char *_kwnames
[] = { "self","x_scale","y_scale", NULL
};
7020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxDC_SetUserScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7023 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7024 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetUserScale. Expected _wxDC_p.");
7030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7031 wxDC_SetUserScale(_arg0
,_arg1
,_arg2
);
7033 wxPyEndAllowThreads(__tstate
);
7034 if (PyErr_Occurred()) return NULL
;
7035 } Py_INCREF(Py_None
);
7036 _resultobj
= Py_None
;
7040 #define wxDC_StartDoc(_swigobj,_swigarg0) (_swigobj->StartDoc(_swigarg0))
7041 static PyObject
*_wrap_wxDC_StartDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7042 PyObject
* _resultobj
;
7046 PyObject
* _argo0
= 0;
7047 PyObject
* _obj1
= 0;
7048 char *_kwnames
[] = { "self","message", NULL
};
7051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_StartDoc",_kwnames
,&_argo0
,&_obj1
))
7054 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7055 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartDoc. Expected _wxDC_p.");
7061 _arg1
= wxString_in_helper(_obj1
);
7066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7067 _result
= (bool )wxDC_StartDoc(_arg0
,*_arg1
);
7069 wxPyEndAllowThreads(__tstate
);
7070 if (PyErr_Occurred()) return NULL
;
7071 } _resultobj
= Py_BuildValue("i",_result
);
7079 #define wxDC_StartPage(_swigobj) (_swigobj->StartPage())
7080 static PyObject
*_wrap_wxDC_StartPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7081 PyObject
* _resultobj
;
7083 PyObject
* _argo0
= 0;
7084 char *_kwnames
[] = { "self", NULL
};
7087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_StartPage",_kwnames
,&_argo0
))
7090 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7091 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartPage. Expected _wxDC_p.");
7097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7098 wxDC_StartPage(_arg0
);
7100 wxPyEndAllowThreads(__tstate
);
7101 if (PyErr_Occurred()) return NULL
;
7102 } Py_INCREF(Py_None
);
7103 _resultobj
= Py_None
;
7107 #define wxDC_DrawBitmap(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7108 static PyObject
*_wrap_wxDC_DrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7109 PyObject
* _resultobj
;
7114 int _arg4
= (int ) FALSE
;
7115 PyObject
* _argo0
= 0;
7116 PyObject
* _argo1
= 0;
7117 char *_kwnames
[] = { "self","bitmap","x","y","useMask", NULL
};
7120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll|i:wxDC_DrawBitmap",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
))
7123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawBitmap. Expected _wxDC_p.");
7130 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7131 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
7132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawBitmap. Expected _wxBitmap_p.");
7137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7138 wxDC_DrawBitmap(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
7140 wxPyEndAllowThreads(__tstate
);
7141 if (PyErr_Occurred()) return NULL
;
7142 } Py_INCREF(Py_None
);
7143 _resultobj
= Py_None
;
7147 #define wxDC_CanDrawBitmap(_swigobj) (_swigobj->CanDrawBitmap())
7148 static PyObject
*_wrap_wxDC_CanDrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7149 PyObject
* _resultobj
;
7152 PyObject
* _argo0
= 0;
7153 char *_kwnames
[] = { "self", NULL
};
7156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_CanDrawBitmap",_kwnames
,&_argo0
))
7159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CanDrawBitmap. Expected _wxDC_p.");
7166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7167 _result
= (bool )wxDC_CanDrawBitmap(_arg0
);
7169 wxPyEndAllowThreads(__tstate
);
7170 if (PyErr_Occurred()) return NULL
;
7171 } _resultobj
= Py_BuildValue("i",_result
);
7175 #define wxDC_CanGetTextExtent(_swigobj) (_swigobj->CanGetTextExtent())
7176 static PyObject
*_wrap_wxDC_CanGetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7177 PyObject
* _resultobj
;
7180 PyObject
* _argo0
= 0;
7181 char *_kwnames
[] = { "self", NULL
};
7184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_CanGetTextExtent",_kwnames
,&_argo0
))
7187 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7188 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CanGetTextExtent. Expected _wxDC_p.");
7194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7195 _result
= (bool )wxDC_CanGetTextExtent(_arg0
);
7197 wxPyEndAllowThreads(__tstate
);
7198 if (PyErr_Occurred()) return NULL
;
7199 } _resultobj
= Py_BuildValue("i",_result
);
7203 #define wxDC_GetDepth(_swigobj) (_swigobj->GetDepth())
7204 static PyObject
*_wrap_wxDC_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7205 PyObject
* _resultobj
;
7208 PyObject
* _argo0
= 0;
7209 char *_kwnames
[] = { "self", NULL
};
7212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetDepth",_kwnames
,&_argo0
))
7215 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7216 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetDepth. Expected _wxDC_p.");
7222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7223 _result
= (int )wxDC_GetDepth(_arg0
);
7225 wxPyEndAllowThreads(__tstate
);
7226 if (PyErr_Occurred()) return NULL
;
7227 } _resultobj
= Py_BuildValue("i",_result
);
7231 #define wxDC_GetPPI(_swigobj) (_swigobj->GetPPI())
7232 static PyObject
*_wrap_wxDC_GetPPI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7233 PyObject
* _resultobj
;
7236 PyObject
* _argo0
= 0;
7237 char *_kwnames
[] = { "self", NULL
};
7241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetPPI",_kwnames
,&_argo0
))
7244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPPI. Expected _wxDC_p.");
7251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7252 _result
= new wxSize (wxDC_GetPPI(_arg0
));
7254 wxPyEndAllowThreads(__tstate
);
7255 if (PyErr_Occurred()) return NULL
;
7256 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
7257 _resultobj
= Py_BuildValue("s",_ptemp
);
7261 #define wxDC_GetLogicalOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLogicalOrigin(_swigarg0,_swigarg1))
7262 static PyObject
*_wrap_wxDC_GetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7263 PyObject
* _resultobj
;
7269 PyObject
* _argo0
= 0;
7270 char *_kwnames
[] = { "self", NULL
};
7279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalOrigin",_kwnames
,&_argo0
))
7282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalOrigin. Expected _wxDC_p.");
7289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7290 wxDC_GetLogicalOrigin(_arg0
,_arg1
,_arg2
);
7292 wxPyEndAllowThreads(__tstate
);
7293 if (PyErr_Occurred()) return NULL
;
7294 } Py_INCREF(Py_None
);
7295 _resultobj
= Py_None
;
7298 o
= PyInt_FromLong((long) (*_arg1
));
7299 _resultobj
= t_output_helper(_resultobj
, o
);
7303 o
= PyInt_FromLong((long) (*_arg2
));
7304 _resultobj
= t_output_helper(_resultobj
, o
);
7309 #define wxDC_SetLogicalOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLogicalOrigin(_swigarg0,_swigarg1))
7310 static PyObject
*_wrap_wxDC_SetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7311 PyObject
* _resultobj
;
7315 PyObject
* _argo0
= 0;
7316 char *_kwnames
[] = { "self","x","y", NULL
};
7319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_SetLogicalOrigin",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalOrigin. Expected _wxDC_p.");
7329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7330 wxDC_SetLogicalOrigin(_arg0
,_arg1
,_arg2
);
7332 wxPyEndAllowThreads(__tstate
);
7333 if (PyErr_Occurred()) return NULL
;
7334 } Py_INCREF(Py_None
);
7335 _resultobj
= Py_None
;
7339 #define wxDC_GetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDeviceOrigin(_swigarg0,_swigarg1))
7340 static PyObject
*_wrap_wxDC_GetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7341 PyObject
* _resultobj
;
7347 PyObject
* _argo0
= 0;
7348 char *_kwnames
[] = { "self", NULL
};
7357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetDeviceOrigin",_kwnames
,&_argo0
))
7360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetDeviceOrigin. Expected _wxDC_p.");
7367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7368 wxDC_GetDeviceOrigin(_arg0
,_arg1
,_arg2
);
7370 wxPyEndAllowThreads(__tstate
);
7371 if (PyErr_Occurred()) return NULL
;
7372 } Py_INCREF(Py_None
);
7373 _resultobj
= Py_None
;
7376 o
= PyInt_FromLong((long) (*_arg1
));
7377 _resultobj
= t_output_helper(_resultobj
, o
);
7381 o
= PyInt_FromLong((long) (*_arg2
));
7382 _resultobj
= t_output_helper(_resultobj
, o
);
7387 #define wxDC_SetAxisOrientation(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAxisOrientation(_swigarg0,_swigarg1))
7388 static PyObject
*_wrap_wxDC_SetAxisOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7389 PyObject
* _resultobj
;
7393 PyObject
* _argo0
= 0;
7396 char *_kwnames
[] = { "self","xLeftRight","yBottomUp", NULL
};
7399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_SetAxisOrientation",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
7402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetAxisOrientation. Expected _wxDC_p.");
7408 _arg1
= (bool ) tempbool1
;
7409 _arg2
= (bool ) tempbool2
;
7411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7412 wxDC_SetAxisOrientation(_arg0
,_arg1
,_arg2
);
7414 wxPyEndAllowThreads(__tstate
);
7415 if (PyErr_Occurred()) return NULL
;
7416 } Py_INCREF(Py_None
);
7417 _resultobj
= Py_None
;
7421 #define wxDC_CalcBoundingBox(_swigobj,_swigarg0,_swigarg1) (_swigobj->CalcBoundingBox(_swigarg0,_swigarg1))
7422 static PyObject
*_wrap_wxDC_CalcBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7423 PyObject
* _resultobj
;
7427 PyObject
* _argo0
= 0;
7428 char *_kwnames
[] = { "self","x","y", NULL
};
7431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_CalcBoundingBox",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CalcBoundingBox. Expected _wxDC_p.");
7441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7442 wxDC_CalcBoundingBox(_arg0
,_arg1
,_arg2
);
7444 wxPyEndAllowThreads(__tstate
);
7445 if (PyErr_Occurred()) return NULL
;
7446 } Py_INCREF(Py_None
);
7447 _resultobj
= Py_None
;
7451 #define wxDC_ResetBoundingBox(_swigobj) (_swigobj->ResetBoundingBox())
7452 static PyObject
*_wrap_wxDC_ResetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7453 PyObject
* _resultobj
;
7455 PyObject
* _argo0
= 0;
7456 char *_kwnames
[] = { "self", NULL
};
7459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_ResetBoundingBox",_kwnames
,&_argo0
))
7462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_ResetBoundingBox. Expected _wxDC_p.");
7469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7470 wxDC_ResetBoundingBox(_arg0
);
7472 wxPyEndAllowThreads(__tstate
);
7473 if (PyErr_Occurred()) return NULL
;
7474 } Py_INCREF(Py_None
);
7475 _resultobj
= Py_None
;
7479 static PyObject
*_wrap_wxDC_GetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7480 PyObject
* _resultobj
;
7490 PyObject
* _argo0
= 0;
7491 char *_kwnames
[] = { "self", NULL
};
7506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBoundingBox",_kwnames
,&_argo0
))
7509 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7510 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBoundingBox. Expected _wxDC_p.");
7516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7517 wxDC_GetBoundingBox(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7519 wxPyEndAllowThreads(__tstate
);
7520 if (PyErr_Occurred()) return NULL
;
7521 } Py_INCREF(Py_None
);
7522 _resultobj
= Py_None
;
7525 o
= PyInt_FromLong((long) (*_arg1
));
7526 _resultobj
= t_output_helper(_resultobj
, o
);
7530 o
= PyInt_FromLong((long) (*_arg2
));
7531 _resultobj
= t_output_helper(_resultobj
, o
);
7535 o
= PyInt_FromLong((long) (*_arg3
));
7536 _resultobj
= t_output_helper(_resultobj
, o
);
7540 o
= PyInt_FromLong((long) (*_arg4
));
7541 _resultobj
= t_output_helper(_resultobj
, o
);
7546 static PyObject
* wxDC__DrawPointList(wxDC
*self
,PyObject
* pyPoints
,PyObject
* pyPens
) {
7547 bool isFastSeq
= PyList_Check(pyPoints
) || PyTuple_Check(pyPoints
);
7548 bool isFastPens
= PyList_Check(pyPens
) || PyTuple_Check(pyPens
);
7556 if (!PySequence_Check(pyPoints
)) {
7559 if (!PySequence_Check(pyPens
)) {
7562 numObjs
= PySequence_Length(pyPoints
);
7563 numPens
= PySequence_Length(pyPens
);
7565 for (i
= 0; i
< numObjs
; i
++) {
7569 obj
= PySequence_Fast_GET_ITEM(pyPens
, i
);
7572 obj
= PySequence_GetItem(pyPens
, i
);
7574 if (SWIG_GetPtrObj(obj
, (void **) &pen
, "_wxPen_p")) {
7585 // Get the point coordinants
7587 obj
= PySequence_Fast_GET_ITEM(pyPoints
, i
);
7590 obj
= PySequence_GetItem(pyPoints
, i
);
7592 if (! _2int_seq_helper(obj
, &x1
, &y1
)) {
7598 // Now draw the point
7599 self
->DrawPoint(x1
, y1
);
7609 PyErr_SetString(PyExc_TypeError
, "Expected a sequence of wxPens");
7612 PyErr_SetString(PyExc_TypeError
, "Expected a sequence of (x,y) sequences.");
7615 static PyObject
*_wrap_wxDC__DrawPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7616 PyObject
* _resultobj
;
7621 PyObject
* _argo0
= 0;
7622 PyObject
* _obj1
= 0;
7623 PyObject
* _obj2
= 0;
7624 char *_kwnames
[] = { "self","pyPoints","pyPens", NULL
};
7627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDC__DrawPointList",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
7630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC__DrawPointList. Expected _wxDC_p.");
7643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7644 _result
= (PyObject
*)wxDC__DrawPointList(_arg0
,_arg1
,_arg2
);
7646 wxPyEndAllowThreads(__tstate
);
7647 if (PyErr_Occurred()) return NULL
;
7649 _resultobj
= _result
;
7654 static PyObject
* wxDC__DrawLineList(wxDC
*self
,PyObject
* pyLines
,PyObject
* pyPens
) {
7655 bool isFastSeq
= PyList_Check(pyLines
) || PyTuple_Check(pyLines
);
7656 bool isFastPens
= PyList_Check(pyPens
) || PyTuple_Check(pyPens
);
7664 if (!PySequence_Check(pyLines
)) {
7667 if (!PySequence_Check(pyPens
)) {
7670 numObjs
= PySequence_Length(pyLines
);
7671 numPens
= PySequence_Length(pyPens
);
7673 for (i
= 0; i
< numObjs
; i
++) {
7677 obj
= PySequence_Fast_GET_ITEM(pyPens
, i
);
7680 obj
= PySequence_GetItem(pyPens
, i
);
7682 if (SWIG_GetPtrObj(obj
, (void **) &pen
, "_wxPen_p")) {
7693 // Get the line coordinants
7695 obj
= PySequence_Fast_GET_ITEM(pyLines
, i
);
7698 obj
= PySequence_GetItem(pyLines
, i
);
7700 if (! _4int_seq_helper(obj
, &x1
, &y1
, &x2
, &y2
)) {
7706 // Now draw the line
7707 self
->DrawLine(x1
, y1
, x2
, y2
);
7717 PyErr_SetString(PyExc_TypeError
, "Expected a sequence of wxPens");
7720 PyErr_SetString(PyExc_TypeError
, "Expected a sequence of (x1,y1, x2,y2) sequences.");
7723 static PyObject
*_wrap_wxDC__DrawLineList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7724 PyObject
* _resultobj
;
7729 PyObject
* _argo0
= 0;
7730 PyObject
* _obj1
= 0;
7731 PyObject
* _obj2
= 0;
7732 char *_kwnames
[] = { "self","pyLines","pyPens", NULL
};
7735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDC__DrawLineList",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
7738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC__DrawLineList. Expected _wxDC_p.");
7751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7752 _result
= (PyObject
*)wxDC__DrawLineList(_arg0
,_arg1
,_arg2
);
7754 wxPyEndAllowThreads(__tstate
);
7755 if (PyErr_Occurred()) return NULL
;
7757 _resultobj
= _result
;
7762 static void *SwigwxMemoryDCTowxDC(void *ptr
) {
7765 src
= (wxMemoryDC
*) ptr
;
7766 dest
= (wxDC
*) src
;
7767 return (void *) dest
;
7770 static void *SwigwxMemoryDCTowxObject(void *ptr
) {
7773 src
= (wxMemoryDC
*) ptr
;
7774 dest
= (wxObject
*) src
;
7775 return (void *) dest
;
7778 #define new_wxMemoryDC() (new wxMemoryDC())
7779 static PyObject
*_wrap_new_wxMemoryDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7780 PyObject
* _resultobj
;
7781 wxMemoryDC
* _result
;
7782 char *_kwnames
[] = { NULL
};
7786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMemoryDC",_kwnames
))
7789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7790 _result
= (wxMemoryDC
*)new_wxMemoryDC();
7792 wxPyEndAllowThreads(__tstate
);
7793 if (PyErr_Occurred()) return NULL
;
7795 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
7796 _resultobj
= Py_BuildValue("s",_ptemp
);
7799 _resultobj
= Py_None
;
7804 #define wxMemoryDC_SelectObject(_swigobj,_swigarg0) (_swigobj->SelectObject(_swigarg0))
7805 static PyObject
*_wrap_wxMemoryDC_SelectObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7806 PyObject
* _resultobj
;
7809 PyObject
* _argo0
= 0;
7810 PyObject
* _argo1
= 0;
7811 char *_kwnames
[] = { "self","bitmap", NULL
};
7814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMemoryDC_SelectObject",_kwnames
,&_argo0
,&_argo1
))
7817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMemoryDC_p")) {
7819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDC_SelectObject. Expected _wxMemoryDC_p.");
7824 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7825 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
7826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMemoryDC_SelectObject. Expected _wxBitmap_p.");
7831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7832 wxMemoryDC_SelectObject(_arg0
,*_arg1
);
7834 wxPyEndAllowThreads(__tstate
);
7835 if (PyErr_Occurred()) return NULL
;
7836 } Py_INCREF(Py_None
);
7837 _resultobj
= Py_None
;
7841 static void *SwigwxBufferedDCTowxMemoryDC(void *ptr
) {
7844 src
= (wxBufferedDC
*) ptr
;
7845 dest
= (wxMemoryDC
*) src
;
7846 return (void *) dest
;
7849 static void *SwigwxBufferedDCTowxDC(void *ptr
) {
7852 src
= (wxBufferedDC
*) ptr
;
7853 dest
= (wxDC
*) src
;
7854 return (void *) dest
;
7857 static void *SwigwxBufferedDCTowxObject(void *ptr
) {
7860 src
= (wxBufferedDC
*) ptr
;
7861 dest
= (wxObject
*) src
;
7862 return (void *) dest
;
7865 #define new_wxBufferedDC(_swigarg0,_swigarg1) (new wxBufferedDC(_swigarg0,_swigarg1))
7866 static PyObject
*_wrap_new_wxBufferedDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7867 PyObject
* _resultobj
;
7868 wxBufferedDC
* _result
;
7871 PyObject
* _argo0
= 0;
7872 PyObject
* _argo1
= 0;
7873 char *_kwnames
[] = { "dc","buffer", NULL
};
7877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxBufferedDC",_kwnames
,&_argo0
,&_argo1
))
7880 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7881 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBufferedDC. Expected _wxDC_p.");
7887 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7888 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
7889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxBufferedDC. Expected _wxBitmap_p.");
7894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7895 _result
= (wxBufferedDC
*)new_wxBufferedDC(_arg0
,*_arg1
);
7897 wxPyEndAllowThreads(__tstate
);
7898 if (PyErr_Occurred()) return NULL
;
7900 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBufferedDC_p");
7901 _resultobj
= Py_BuildValue("s",_ptemp
);
7904 _resultobj
= Py_None
;
7909 #define new_wxBufferedDCInternalBuffer(_swigarg0,_swigarg1) (new wxBufferedDC(_swigarg0,_swigarg1))
7910 static PyObject
*_wrap_new_wxBufferedDCInternalBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7911 PyObject
* _resultobj
;
7912 wxBufferedDC
* _result
;
7915 PyObject
* _argo0
= 0;
7917 PyObject
* _obj1
= 0;
7918 char *_kwnames
[] = { "dc","area", NULL
};
7922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxBufferedDCInternalBuffer",_kwnames
,&_argo0
,&_obj1
))
7925 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7926 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBufferedDCInternalBuffer. Expected _wxDC_p.");
7933 if (! wxSize_helper(_obj1
, &_arg1
))
7937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7938 _result
= (wxBufferedDC
*)new_wxBufferedDCInternalBuffer(_arg0
,*_arg1
);
7940 wxPyEndAllowThreads(__tstate
);
7941 if (PyErr_Occurred()) return NULL
;
7943 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBufferedDC_p");
7944 _resultobj
= Py_BuildValue("s",_ptemp
);
7947 _resultobj
= Py_None
;
7952 #define wxBufferedDC_UnMask(_swigobj) (_swigobj->UnMask())
7953 static PyObject
*_wrap_wxBufferedDC_UnMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7954 PyObject
* _resultobj
;
7955 wxBufferedDC
* _arg0
;
7956 PyObject
* _argo0
= 0;
7957 char *_kwnames
[] = { "self", NULL
};
7960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBufferedDC_UnMask",_kwnames
,&_argo0
))
7963 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7964 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBufferedDC_p")) {
7965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBufferedDC_UnMask. Expected _wxBufferedDC_p.");
7970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7971 wxBufferedDC_UnMask(_arg0
);
7973 wxPyEndAllowThreads(__tstate
);
7974 if (PyErr_Occurred()) return NULL
;
7975 } Py_INCREF(Py_None
);
7976 _resultobj
= Py_None
;
7980 static void *SwigwxBufferedPaintDCTowxBufferedDC(void *ptr
) {
7981 wxBufferedPaintDC
*src
;
7983 src
= (wxBufferedPaintDC
*) ptr
;
7984 dest
= (wxBufferedDC
*) src
;
7985 return (void *) dest
;
7988 static void *SwigwxBufferedPaintDCTowxMemoryDC(void *ptr
) {
7989 wxBufferedPaintDC
*src
;
7991 src
= (wxBufferedPaintDC
*) ptr
;
7992 dest
= (wxMemoryDC
*) src
;
7993 return (void *) dest
;
7996 static void *SwigwxBufferedPaintDCTowxDC(void *ptr
) {
7997 wxBufferedPaintDC
*src
;
7999 src
= (wxBufferedPaintDC
*) ptr
;
8000 dest
= (wxDC
*) src
;
8001 return (void *) dest
;
8004 static void *SwigwxBufferedPaintDCTowxObject(void *ptr
) {
8005 wxBufferedPaintDC
*src
;
8007 src
= (wxBufferedPaintDC
*) ptr
;
8008 dest
= (wxObject
*) src
;
8009 return (void *) dest
;
8012 #define new_wxBufferedPaintDC(_swigarg0,_swigarg1) (new wxBufferedPaintDC(_swigarg0,_swigarg1))
8013 static PyObject
*_wrap_new_wxBufferedPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8014 PyObject
* _resultobj
;
8015 wxBufferedPaintDC
* _result
;
8017 wxBitmap
* _arg1
= (wxBitmap
*) &wxNullBitmap
;
8018 PyObject
* _argo0
= 0;
8019 PyObject
* _argo1
= 0;
8020 char *_kwnames
[] = { "window","buffer", NULL
};
8024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxBufferedPaintDC",_kwnames
,&_argo0
,&_argo1
))
8027 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8028 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBufferedPaintDC. Expected _wxWindow_p.");
8034 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8035 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
8036 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxBufferedPaintDC. Expected _wxBitmap_p.");
8041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8042 _result
= (wxBufferedPaintDC
*)new_wxBufferedPaintDC(_arg0
,*_arg1
);
8044 wxPyEndAllowThreads(__tstate
);
8045 if (PyErr_Occurred()) return NULL
;
8047 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBufferedPaintDC_p");
8048 _resultobj
= Py_BuildValue("s",_ptemp
);
8051 _resultobj
= Py_None
;
8056 static void *SwigwxScreenDCTowxDC(void *ptr
) {
8059 src
= (wxScreenDC
*) ptr
;
8060 dest
= (wxDC
*) src
;
8061 return (void *) dest
;
8064 static void *SwigwxScreenDCTowxObject(void *ptr
) {
8067 src
= (wxScreenDC
*) ptr
;
8068 dest
= (wxObject
*) src
;
8069 return (void *) dest
;
8072 #define new_wxScreenDC() (new wxScreenDC())
8073 static PyObject
*_wrap_new_wxScreenDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8074 PyObject
* _resultobj
;
8075 wxScreenDC
* _result
;
8076 char *_kwnames
[] = { NULL
};
8080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxScreenDC",_kwnames
))
8083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8084 _result
= (wxScreenDC
*)new_wxScreenDC();
8086 wxPyEndAllowThreads(__tstate
);
8087 if (PyErr_Occurred()) return NULL
;
8089 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScreenDC_p");
8090 _resultobj
= Py_BuildValue("s",_ptemp
);
8093 _resultobj
= Py_None
;
8098 #define wxScreenDC_StartDrawingOnTopWin(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
8099 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTopWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8100 PyObject
* _resultobj
;
8104 PyObject
* _argo0
= 0;
8105 PyObject
* _argo1
= 0;
8106 char *_kwnames
[] = { "self","window", NULL
};
8109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScreenDC_StartDrawingOnTopWin",_kwnames
,&_argo0
,&_argo1
))
8112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
8114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTopWin. Expected _wxScreenDC_p.");
8119 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8120 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScreenDC_StartDrawingOnTopWin. Expected _wxWindow_p.");
8126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8127 _result
= (bool )wxScreenDC_StartDrawingOnTopWin(_arg0
,_arg1
);
8129 wxPyEndAllowThreads(__tstate
);
8130 if (PyErr_Occurred()) return NULL
;
8131 } _resultobj
= Py_BuildValue("i",_result
);
8135 #define wxScreenDC_StartDrawingOnTop(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
8136 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8137 PyObject
* _resultobj
;
8140 wxRect
* _arg1
= (wxRect
*) NULL
;
8141 PyObject
* _argo0
= 0;
8143 PyObject
* _obj1
= 0;
8144 char *_kwnames
[] = { "self","rect", NULL
};
8147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxScreenDC_StartDrawingOnTop",_kwnames
,&_argo0
,&_obj1
))
8150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
8152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTop. Expected _wxScreenDC_p.");
8159 if (! wxRect_helper(_obj1
, &_arg1
))
8163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8164 _result
= (bool )wxScreenDC_StartDrawingOnTop(_arg0
,_arg1
);
8166 wxPyEndAllowThreads(__tstate
);
8167 if (PyErr_Occurred()) return NULL
;
8168 } _resultobj
= Py_BuildValue("i",_result
);
8172 #define wxScreenDC_EndDrawingOnTop(_swigobj) (_swigobj->EndDrawingOnTop())
8173 static PyObject
*_wrap_wxScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8174 PyObject
* _resultobj
;
8177 PyObject
* _argo0
= 0;
8178 char *_kwnames
[] = { "self", NULL
};
8181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScreenDC_EndDrawingOnTop",_kwnames
,&_argo0
))
8184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
8186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_EndDrawingOnTop. Expected _wxScreenDC_p.");
8191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8192 _result
= (bool )wxScreenDC_EndDrawingOnTop(_arg0
);
8194 wxPyEndAllowThreads(__tstate
);
8195 if (PyErr_Occurred()) return NULL
;
8196 } _resultobj
= Py_BuildValue("i",_result
);
8200 static void *SwigwxClientDCTowxDC(void *ptr
) {
8203 src
= (wxClientDC
*) ptr
;
8204 dest
= (wxDC
*) src
;
8205 return (void *) dest
;
8208 static void *SwigwxClientDCTowxObject(void *ptr
) {
8211 src
= (wxClientDC
*) ptr
;
8212 dest
= (wxObject
*) src
;
8213 return (void *) dest
;
8216 #define new_wxClientDC(_swigarg0) (new wxClientDC(_swigarg0))
8217 static PyObject
*_wrap_new_wxClientDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8218 PyObject
* _resultobj
;
8219 wxClientDC
* _result
;
8221 PyObject
* _argo0
= 0;
8222 char *_kwnames
[] = { "win", NULL
};
8226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxClientDC",_kwnames
,&_argo0
))
8229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxClientDC. Expected _wxWindow_p.");
8236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8237 _result
= (wxClientDC
*)new_wxClientDC(_arg0
);
8239 wxPyEndAllowThreads(__tstate
);
8240 if (PyErr_Occurred()) return NULL
;
8242 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxClientDC_p");
8243 _resultobj
= Py_BuildValue("s",_ptemp
);
8246 _resultobj
= Py_None
;
8251 static void *SwigwxPaintDCTowxDC(void *ptr
) {
8254 src
= (wxPaintDC
*) ptr
;
8255 dest
= (wxDC
*) src
;
8256 return (void *) dest
;
8259 static void *SwigwxPaintDCTowxObject(void *ptr
) {
8262 src
= (wxPaintDC
*) ptr
;
8263 dest
= (wxObject
*) src
;
8264 return (void *) dest
;
8267 #define new_wxPaintDC(_swigarg0) (new wxPaintDC(_swigarg0))
8268 static PyObject
*_wrap_new_wxPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8269 PyObject
* _resultobj
;
8270 wxPaintDC
* _result
;
8272 PyObject
* _argo0
= 0;
8273 char *_kwnames
[] = { "win", NULL
};
8277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPaintDC",_kwnames
,&_argo0
))
8280 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8281 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPaintDC. Expected _wxWindow_p.");
8287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8288 _result
= (wxPaintDC
*)new_wxPaintDC(_arg0
);
8290 wxPyEndAllowThreads(__tstate
);
8291 if (PyErr_Occurred()) return NULL
;
8293 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPaintDC_p");
8294 _resultobj
= Py_BuildValue("s",_ptemp
);
8297 _resultobj
= Py_None
;
8302 static void *SwigwxWindowDCTowxDC(void *ptr
) {
8305 src
= (wxWindowDC
*) ptr
;
8306 dest
= (wxDC
*) src
;
8307 return (void *) dest
;
8310 static void *SwigwxWindowDCTowxObject(void *ptr
) {
8313 src
= (wxWindowDC
*) ptr
;
8314 dest
= (wxObject
*) src
;
8315 return (void *) dest
;
8318 #define new_wxWindowDC(_swigarg0) (new wxWindowDC(_swigarg0))
8319 static PyObject
*_wrap_new_wxWindowDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8320 PyObject
* _resultobj
;
8321 wxWindowDC
* _result
;
8323 PyObject
* _argo0
= 0;
8324 char *_kwnames
[] = { "win", NULL
};
8328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxWindowDC",_kwnames
,&_argo0
))
8331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDC. Expected _wxWindow_p.");
8338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8339 _result
= (wxWindowDC
*)new_wxWindowDC(_arg0
);
8341 wxPyEndAllowThreads(__tstate
);
8342 if (PyErr_Occurred()) return NULL
;
8344 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDC_p");
8345 _resultobj
= Py_BuildValue("s",_ptemp
);
8348 _resultobj
= Py_None
;
8353 static void *SwigwxPaletteTowxGDIObject(void *ptr
) {
8356 src
= (wxPalette
*) ptr
;
8357 dest
= (wxGDIObject
*) src
;
8358 return (void *) dest
;
8361 static void *SwigwxPaletteTowxObject(void *ptr
) {
8364 src
= (wxPalette
*) ptr
;
8365 dest
= (wxObject
*) src
;
8366 return (void *) dest
;
8369 #define new_wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8370 static PyObject
*_wrap_new_wxPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8371 PyObject
* _resultobj
;
8372 wxPalette
* _result
;
8377 PyObject
* _obj1
= 0;
8378 PyObject
* _obj2
= 0;
8379 PyObject
* _obj3
= 0;
8380 char *_kwnames
[] = { "choices","choices","choices", NULL
};
8384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:new_wxPalette",_kwnames
,&_obj1
,&_obj2
,&_obj3
))
8387 _arg1
= byte_LIST_helper(_obj1
);
8388 if (_arg1
== NULL
) {
8393 _arg2
= byte_LIST_helper(_obj2
);
8394 if (_arg2
== NULL
) {
8400 _arg3
= byte_LIST_helper(_obj3
);
8401 if (_arg3
== NULL
) {
8407 _arg0
= PyList_Size(_obj1
);
8414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8415 _result
= (wxPalette
*)new_wxPalette(_arg0
,_arg1
,_arg2
,_arg3
);
8417 wxPyEndAllowThreads(__tstate
);
8418 if (PyErr_Occurred()) return NULL
;
8420 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
8421 _resultobj
= Py_BuildValue("s",_ptemp
);
8424 _resultobj
= Py_None
;
8438 #define delete_wxPalette(_swigobj) (delete _swigobj)
8439 static PyObject
*_wrap_delete_wxPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8440 PyObject
* _resultobj
;
8442 PyObject
* _argo0
= 0;
8443 char *_kwnames
[] = { "self", NULL
};
8446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPalette",_kwnames
,&_argo0
))
8449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
8451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPalette. Expected _wxPalette_p.");
8456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8457 delete_wxPalette(_arg0
);
8459 wxPyEndAllowThreads(__tstate
);
8460 if (PyErr_Occurred()) return NULL
;
8461 } Py_INCREF(Py_None
);
8462 _resultobj
= Py_None
;
8466 #define wxPalette_GetPixel(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetPixel(_swigarg0,_swigarg1,_swigarg2))
8467 static PyObject
*_wrap_wxPalette_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8468 PyObject
* _resultobj
;
8474 PyObject
* _argo0
= 0;
8475 char *_kwnames
[] = { "self","red","green","blue", NULL
};
8478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Obbb:wxPalette_GetPixel",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
8481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
8483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetPixel. Expected _wxPalette_p.");
8488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8489 _result
= (int )wxPalette_GetPixel(_arg0
,_arg1
,_arg2
,_arg3
);
8491 wxPyEndAllowThreads(__tstate
);
8492 if (PyErr_Occurred()) return NULL
;
8493 } _resultobj
= Py_BuildValue("i",_result
);
8497 #define wxPalette_GetRGB(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetRGB(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8498 static PyObject
*_wrap_wxPalette_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8499 PyObject
* _resultobj
;
8509 PyObject
* _argo0
= 0;
8510 char *_kwnames
[] = { "self","pixel", NULL
};
8514 _arg2
= (byte
*)&temp
;
8517 _arg3
= (byte
*)&temp0
;
8520 _arg4
= (byte
*)&temp1
;
8522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPalette_GetRGB",_kwnames
,&_argo0
,&_arg1
))
8525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
8527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetRGB. Expected _wxPalette_p.");
8532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8533 _result
= (bool )wxPalette_GetRGB(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
8535 wxPyEndAllowThreads(__tstate
);
8536 if (PyErr_Occurred()) return NULL
;
8537 } _resultobj
= Py_BuildValue("i",_result
);
8540 o
= PyInt_FromLong((long) (*_arg2
));
8541 _resultobj
= t_output_helper(_resultobj
, o
);
8545 o
= PyInt_FromLong((long) (*_arg3
));
8546 _resultobj
= t_output_helper(_resultobj
, o
);
8550 o
= PyInt_FromLong((long) (*_arg4
));
8551 _resultobj
= t_output_helper(_resultobj
, o
);
8556 #define wxPalette_Ok(_swigobj) (_swigobj->Ok())
8557 static PyObject
*_wrap_wxPalette_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8558 PyObject
* _resultobj
;
8561 PyObject
* _argo0
= 0;
8562 char *_kwnames
[] = { "self", NULL
};
8565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPalette_Ok",_kwnames
,&_argo0
))
8568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
8570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_Ok. Expected _wxPalette_p.");
8575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8576 _result
= (bool )wxPalette_Ok(_arg0
);
8578 wxPyEndAllowThreads(__tstate
);
8579 if (PyErr_Occurred()) return NULL
;
8580 } _resultobj
= Py_BuildValue("i",_result
);
8584 static void *SwigwxImageListTowxObject(void *ptr
) {
8587 src
= (wxImageList
*) ptr
;
8588 dest
= (wxObject
*) src
;
8589 return (void *) dest
;
8592 #define new_wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8593 static PyObject
*_wrap_new_wxImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8594 PyObject
* _resultobj
;
8595 wxImageList
* _result
;
8598 int _arg2
= (int ) TRUE
;
8599 int _arg3
= (int ) 1;
8600 char *_kwnames
[] = { "width","height","mask","initialCount", NULL
};
8604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ii|ii:new_wxImageList",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
8607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8608 _result
= (wxImageList
*)new_wxImageList(_arg0
,_arg1
,_arg2
,_arg3
);
8610 wxPyEndAllowThreads(__tstate
);
8611 if (PyErr_Occurred()) return NULL
;
8613 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
8614 _resultobj
= Py_BuildValue("s",_ptemp
);
8617 _resultobj
= Py_None
;
8622 #define delete_wxImageList(_swigobj) (delete _swigobj)
8623 static PyObject
*_wrap_delete_wxImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8624 PyObject
* _resultobj
;
8625 wxImageList
* _arg0
;
8626 PyObject
* _argo0
= 0;
8627 char *_kwnames
[] = { "self", NULL
};
8630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxImageList",_kwnames
,&_argo0
))
8633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
8635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxImageList. Expected _wxImageList_p.");
8640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8641 delete_wxImageList(_arg0
);
8643 wxPyEndAllowThreads(__tstate
);
8644 if (PyErr_Occurred()) return NULL
;
8645 } Py_INCREF(Py_None
);
8646 _resultobj
= Py_None
;
8650 #define wxImageList_Add(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
8651 static PyObject
*_wrap_wxImageList_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8652 PyObject
* _resultobj
;
8654 wxImageList
* _arg0
;
8656 wxBitmap
* _arg2
= (wxBitmap
*) &wxNullBitmap
;
8657 PyObject
* _argo0
= 0;
8658 PyObject
* _argo1
= 0;
8659 PyObject
* _argo2
= 0;
8660 char *_kwnames
[] = { "self","bitmap","mask", NULL
};
8663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxImageList_Add",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
8666 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8667 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
8668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Add. Expected _wxImageList_p.");
8673 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8674 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
8675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_Add. Expected _wxBitmap_p.");
8680 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8681 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
8682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Add. Expected _wxBitmap_p.");
8687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8688 _result
= (int )wxImageList_Add(_arg0
,*_arg1
,*_arg2
);
8690 wxPyEndAllowThreads(__tstate
);
8691 if (PyErr_Occurred()) return NULL
;
8692 } _resultobj
= Py_BuildValue("i",_result
);
8696 #define wxImageList_AddWithColourMask(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
8697 static PyObject
*_wrap_wxImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8698 PyObject
* _resultobj
;
8700 wxImageList
* _arg0
;
8703 PyObject
* _argo0
= 0;
8704 PyObject
* _argo1
= 0;
8706 PyObject
* _obj2
= 0;
8707 char *_kwnames
[] = { "self","bitmap","maskColour", NULL
};
8710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxImageList_AddWithColourMask",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
8713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
8715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_AddWithColourMask. Expected _wxImageList_p.");
8720 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8721 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
8722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_AddWithColourMask. Expected _wxBitmap_p.");
8728 if (! wxColour_helper(_obj2
, &_arg2
))
8732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8733 _result
= (int )wxImageList_AddWithColourMask(_arg0
,*_arg1
,*_arg2
);
8735 wxPyEndAllowThreads(__tstate
);
8736 if (PyErr_Occurred()) return NULL
;
8737 } _resultobj
= Py_BuildValue("i",_result
);
8741 #define wxImageList_AddIcon(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
8742 static PyObject
*_wrap_wxImageList_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8743 PyObject
* _resultobj
;
8745 wxImageList
* _arg0
;
8747 PyObject
* _argo0
= 0;
8748 PyObject
* _argo1
= 0;
8749 char *_kwnames
[] = { "self","icon", NULL
};
8752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxImageList_AddIcon",_kwnames
,&_argo0
,&_argo1
))
8755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
8757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_AddIcon. Expected _wxImageList_p.");
8762 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8763 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
8764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_AddIcon. Expected _wxIcon_p.");
8769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8770 _result
= (int )wxImageList_AddIcon(_arg0
,*_arg1
);
8772 wxPyEndAllowThreads(__tstate
);
8773 if (PyErr_Occurred()) return NULL
;
8774 } _resultobj
= Py_BuildValue("i",_result
);
8778 #define wxImageList_Replace(_swigobj,_swigarg0,_swigarg1) (_swigobj->Replace(_swigarg0,_swigarg1))
8779 static PyObject
*_wrap_wxImageList_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8780 PyObject
* _resultobj
;
8782 wxImageList
* _arg0
;
8785 PyObject
* _argo0
= 0;
8786 PyObject
* _argo2
= 0;
8787 char *_kwnames
[] = { "self","index","bitmap", NULL
};
8790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxImageList_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
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_Replace. Expected _wxImageList_p.");
8800 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8801 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
8802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Replace. Expected _wxBitmap_p.");
8807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8808 _result
= (bool )wxImageList_Replace(_arg0
,_arg1
,*_arg2
);
8810 wxPyEndAllowThreads(__tstate
);
8811 if (PyErr_Occurred()) return NULL
;
8812 } _resultobj
= Py_BuildValue("i",_result
);
8816 #define wxImageList_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8817 static PyObject
*_wrap_wxImageList_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8818 PyObject
* _resultobj
;
8820 wxImageList
* _arg0
;
8825 int _arg5
= (int ) (wxIMAGELIST_DRAW_NORMAL
);
8826 bool _arg6
= (bool ) FALSE
;
8827 PyObject
* _argo0
= 0;
8828 PyObject
* _argo2
= 0;
8829 int tempbool6
= (int) FALSE
;
8830 char *_kwnames
[] = { "self","index","dc","x","x","flags","solidBackground", NULL
};
8833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOii|ii:wxImageList_Draw",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
8836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
8838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Draw. Expected _wxImageList_p.");
8843 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8844 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDC_p")) {
8845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Draw. Expected _wxDC_p.");
8849 _arg6
= (bool ) tempbool6
;
8851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8852 _result
= (bool )wxImageList_Draw(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
8854 wxPyEndAllowThreads(__tstate
);
8855 if (PyErr_Occurred()) return NULL
;
8856 } _resultobj
= Py_BuildValue("i",_result
);
8860 #define wxImageList_GetImageCount(_swigobj) (_swigobj->GetImageCount())
8861 static PyObject
*_wrap_wxImageList_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8862 PyObject
* _resultobj
;
8864 wxImageList
* _arg0
;
8865 PyObject
* _argo0
= 0;
8866 char *_kwnames
[] = { "self", NULL
};
8869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImageList_GetImageCount",_kwnames
,&_argo0
))
8872 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8873 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
8874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_GetImageCount. Expected _wxImageList_p.");
8879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8880 _result
= (int )wxImageList_GetImageCount(_arg0
);
8882 wxPyEndAllowThreads(__tstate
);
8883 if (PyErr_Occurred()) return NULL
;
8884 } _resultobj
= Py_BuildValue("i",_result
);
8888 #define wxImageList_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
8889 static PyObject
*_wrap_wxImageList_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8890 PyObject
* _resultobj
;
8892 wxImageList
* _arg0
;
8894 PyObject
* _argo0
= 0;
8895 char *_kwnames
[] = { "self","index", NULL
};
8898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxImageList_Remove",_kwnames
,&_argo0
,&_arg1
))
8901 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8902 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
8903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Remove. Expected _wxImageList_p.");
8908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8909 _result
= (bool )wxImageList_Remove(_arg0
,_arg1
);
8911 wxPyEndAllowThreads(__tstate
);
8912 if (PyErr_Occurred()) return NULL
;
8913 } _resultobj
= Py_BuildValue("i",_result
);
8917 #define wxImageList_RemoveAll(_swigobj) (_swigobj->RemoveAll())
8918 static PyObject
*_wrap_wxImageList_RemoveAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8919 PyObject
* _resultobj
;
8921 wxImageList
* _arg0
;
8922 PyObject
* _argo0
= 0;
8923 char *_kwnames
[] = { "self", NULL
};
8926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImageList_RemoveAll",_kwnames
,&_argo0
))
8929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
8931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_RemoveAll. Expected _wxImageList_p.");
8936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8937 _result
= (bool )wxImageList_RemoveAll(_arg0
);
8939 wxPyEndAllowThreads(__tstate
);
8940 if (PyErr_Occurred()) return NULL
;
8941 } _resultobj
= Py_BuildValue("i",_result
);
8945 #define wxImageList_GetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetSize(_swigarg0,_swigarg1,_swigarg2))
8946 static PyObject
*_wrap_wxImageList_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8947 PyObject
* _resultobj
;
8948 wxImageList
* _arg0
;
8954 PyObject
* _argo0
= 0;
8955 char *_kwnames
[] = { "self","index", NULL
};
8964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxImageList_GetSize",_kwnames
,&_argo0
,&_arg1
))
8967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
8969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_GetSize. Expected _wxImageList_p.");
8974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8975 wxImageList_GetSize(_arg0
,_arg1
,*_arg2
,*_arg3
);
8977 wxPyEndAllowThreads(__tstate
);
8978 if (PyErr_Occurred()) return NULL
;
8979 } Py_INCREF(Py_None
);
8980 _resultobj
= Py_None
;
8983 o
= PyInt_FromLong((long) (*_arg2
));
8984 _resultobj
= t_output_helper(_resultobj
, o
);
8988 o
= PyInt_FromLong((long) (*_arg3
));
8989 _resultobj
= t_output_helper(_resultobj
, o
);
8994 static void *SwigwxRegionTowxGDIObject(void *ptr
) {
8997 src
= (wxRegion
*) ptr
;
8998 dest
= (wxGDIObject
*) src
;
8999 return (void *) dest
;
9002 static void *SwigwxRegionTowxObject(void *ptr
) {
9005 src
= (wxRegion
*) ptr
;
9006 dest
= (wxObject
*) src
;
9007 return (void *) dest
;
9010 #define new_wxRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9011 static PyObject
*_wrap_new_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9012 PyObject
* _resultobj
;
9014 long _arg0
= (long ) 0;
9015 long _arg1
= (long ) 0;
9016 long _arg2
= (long ) 0;
9017 long _arg3
= (long ) 0;
9018 char *_kwnames
[] = { "x","y","width","height", NULL
};
9022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|llll:new_wxRegion",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
9025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9026 _result
= (wxRegion
*)new_wxRegion(_arg0
,_arg1
,_arg2
,_arg3
);
9028 wxPyEndAllowThreads(__tstate
);
9029 if (PyErr_Occurred()) return NULL
;
9031 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegion_p");
9032 _resultobj
= Py_BuildValue("s",_ptemp
);
9035 _resultobj
= Py_None
;
9040 #define delete_wxRegion(_swigobj) (delete _swigobj)
9041 static PyObject
*_wrap_delete_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9042 PyObject
* _resultobj
;
9044 PyObject
* _argo0
= 0;
9045 char *_kwnames
[] = { "self", NULL
};
9048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegion",_kwnames
,&_argo0
))
9051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegion. Expected _wxRegion_p.");
9058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9059 delete_wxRegion(_arg0
);
9061 wxPyEndAllowThreads(__tstate
);
9062 if (PyErr_Occurred()) return NULL
;
9063 } Py_INCREF(Py_None
);
9064 _resultobj
= Py_None
;
9068 #define wxRegion_Clear(_swigobj) (_swigobj->Clear())
9069 static PyObject
*_wrap_wxRegion_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9070 PyObject
* _resultobj
;
9072 PyObject
* _argo0
= 0;
9073 char *_kwnames
[] = { "self", NULL
};
9076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_Clear",_kwnames
,&_argo0
))
9079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Clear. Expected _wxRegion_p.");
9086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9087 wxRegion_Clear(_arg0
);
9089 wxPyEndAllowThreads(__tstate
);
9090 if (PyErr_Occurred()) return NULL
;
9091 } Py_INCREF(Py_None
);
9092 _resultobj
= Py_None
;
9096 #define wxRegion_Offset(_swigobj,_swigarg0,_swigarg1) (_swigobj->Offset(_swigarg0,_swigarg1))
9097 static PyObject
*_wrap_wxRegion_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9098 PyObject
* _resultobj
;
9103 PyObject
* _argo0
= 0;
9104 char *_kwnames
[] = { "self","x","y", NULL
};
9107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRegion_Offset",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9110 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9111 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Offset. Expected _wxRegion_p.");
9117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9118 _result
= (bool )wxRegion_Offset(_arg0
,_arg1
,_arg2
);
9120 wxPyEndAllowThreads(__tstate
);
9121 if (PyErr_Occurred()) return NULL
;
9122 } _resultobj
= Py_BuildValue("i",_result
);
9126 #define wxRegion_Contains(_swigobj,_swigarg0,_swigarg1) (_swigobj->Contains(_swigarg0,_swigarg1))
9127 static PyObject
*_wrap_wxRegion_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9128 PyObject
* _resultobj
;
9129 wxRegionContain _result
;
9133 PyObject
* _argo0
= 0;
9134 char *_kwnames
[] = { "self","x","y", NULL
};
9137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxRegion_Contains",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Contains. Expected _wxRegion_p.");
9147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9148 _result
= (wxRegionContain
)wxRegion_Contains(_arg0
,_arg1
,_arg2
);
9150 wxPyEndAllowThreads(__tstate
);
9151 if (PyErr_Occurred()) return NULL
;
9152 } _resultobj
= Py_BuildValue("i",_result
);
9156 #define wxRegion_ContainsPoint(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
9157 static PyObject
*_wrap_wxRegion_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9158 PyObject
* _resultobj
;
9159 wxRegionContain _result
;
9162 PyObject
* _argo0
= 0;
9164 PyObject
* _obj1
= 0;
9165 char *_kwnames
[] = { "self","pt", NULL
};
9168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsPoint",_kwnames
,&_argo0
,&_obj1
))
9171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsPoint. Expected _wxRegion_p.");
9179 if (! wxPoint_helper(_obj1
, &_arg1
))
9183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9184 _result
= (wxRegionContain
)wxRegion_ContainsPoint(_arg0
,*_arg1
);
9186 wxPyEndAllowThreads(__tstate
);
9187 if (PyErr_Occurred()) return NULL
;
9188 } _resultobj
= Py_BuildValue("i",_result
);
9192 #define wxRegion_ContainsRect(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
9193 static PyObject
*_wrap_wxRegion_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9194 PyObject
* _resultobj
;
9195 wxRegionContain _result
;
9198 PyObject
* _argo0
= 0;
9200 PyObject
* _obj1
= 0;
9201 char *_kwnames
[] = { "self","rect", NULL
};
9204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsRect",_kwnames
,&_argo0
,&_obj1
))
9207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRect. Expected _wxRegion_p.");
9215 if (! wxRect_helper(_obj1
, &_arg1
))
9219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9220 _result
= (wxRegionContain
)wxRegion_ContainsRect(_arg0
,*_arg1
);
9222 wxPyEndAllowThreads(__tstate
);
9223 if (PyErr_Occurred()) return NULL
;
9224 } _resultobj
= Py_BuildValue("i",_result
);
9228 #define wxRegion_ContainsRectDim(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Contains(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9229 static PyObject
*_wrap_wxRegion_ContainsRectDim(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9230 PyObject
* _resultobj
;
9231 wxRegionContain _result
;
9237 PyObject
* _argo0
= 0;
9238 char *_kwnames
[] = { "self","x","y","w","h", NULL
};
9241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_ContainsRectDim",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
9244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRectDim. Expected _wxRegion_p.");
9251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9252 _result
= (wxRegionContain
)wxRegion_ContainsRectDim(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
9254 wxPyEndAllowThreads(__tstate
);
9255 if (PyErr_Occurred()) return NULL
;
9256 } _resultobj
= Py_BuildValue("i",_result
);
9260 #define wxRegion_GetBox(_swigobj) (_swigobj->GetBox())
9261 static PyObject
*_wrap_wxRegion_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9262 PyObject
* _resultobj
;
9265 PyObject
* _argo0
= 0;
9266 char *_kwnames
[] = { "self", NULL
};
9270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_GetBox",_kwnames
,&_argo0
))
9273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_GetBox. Expected _wxRegion_p.");
9280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9281 _result
= new wxRect (wxRegion_GetBox(_arg0
));
9283 wxPyEndAllowThreads(__tstate
);
9284 if (PyErr_Occurred()) return NULL
;
9285 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
9286 _resultobj
= Py_BuildValue("s",_ptemp
);
9290 #define wxRegion_Intersect(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Intersect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9291 static PyObject
*_wrap_wxRegion_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9292 PyObject
* _resultobj
;
9299 PyObject
* _argo0
= 0;
9300 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
9303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Intersect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
9306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Intersect. Expected _wxRegion_p.");
9313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9314 _result
= (bool )wxRegion_Intersect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
9316 wxPyEndAllowThreads(__tstate
);
9317 if (PyErr_Occurred()) return NULL
;
9318 } _resultobj
= Py_BuildValue("i",_result
);
9322 #define wxRegion_IntersectRect(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
9323 static PyObject
*_wrap_wxRegion_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9324 PyObject
* _resultobj
;
9328 PyObject
* _argo0
= 0;
9330 PyObject
* _obj1
= 0;
9331 char *_kwnames
[] = { "self","rect", NULL
};
9334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_IntersectRect",_kwnames
,&_argo0
,&_obj1
))
9337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IntersectRect. Expected _wxRegion_p.");
9345 if (! wxRect_helper(_obj1
, &_arg1
))
9349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9350 _result
= (bool )wxRegion_IntersectRect(_arg0
,*_arg1
);
9352 wxPyEndAllowThreads(__tstate
);
9353 if (PyErr_Occurred()) return NULL
;
9354 } _resultobj
= Py_BuildValue("i",_result
);
9358 #define wxRegion_IntersectRegion(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
9359 static PyObject
*_wrap_wxRegion_IntersectRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9360 PyObject
* _resultobj
;
9364 PyObject
* _argo0
= 0;
9365 PyObject
* _argo1
= 0;
9366 char *_kwnames
[] = { "self","region", NULL
};
9369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_IntersectRegion",_kwnames
,&_argo0
,&_argo1
))
9372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
9379 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9380 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
9381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
9386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9387 _result
= (bool )wxRegion_IntersectRegion(_arg0
,*_arg1
);
9389 wxPyEndAllowThreads(__tstate
);
9390 if (PyErr_Occurred()) return NULL
;
9391 } _resultobj
= Py_BuildValue("i",_result
);
9395 #define wxRegion_IsEmpty(_swigobj) (_swigobj->IsEmpty())
9396 static PyObject
*_wrap_wxRegion_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9397 PyObject
* _resultobj
;
9400 PyObject
* _argo0
= 0;
9401 char *_kwnames
[] = { "self", NULL
};
9404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_IsEmpty",_kwnames
,&_argo0
))
9407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IsEmpty. Expected _wxRegion_p.");
9414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9415 _result
= (bool )wxRegion_IsEmpty(_arg0
);
9417 wxPyEndAllowThreads(__tstate
);
9418 if (PyErr_Occurred()) return NULL
;
9419 } _resultobj
= Py_BuildValue("i",_result
);
9423 #define wxRegion_Union(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Union(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9424 static PyObject
*_wrap_wxRegion_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9425 PyObject
* _resultobj
;
9432 PyObject
* _argo0
= 0;
9433 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
9436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Union",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
9439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Union. Expected _wxRegion_p.");
9446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9447 _result
= (bool )wxRegion_Union(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
9449 wxPyEndAllowThreads(__tstate
);
9450 if (PyErr_Occurred()) return NULL
;
9451 } _resultobj
= Py_BuildValue("i",_result
);
9455 #define wxRegion_UnionRect(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
9456 static PyObject
*_wrap_wxRegion_UnionRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9457 PyObject
* _resultobj
;
9461 PyObject
* _argo0
= 0;
9463 PyObject
* _obj1
= 0;
9464 char *_kwnames
[] = { "self","rect", NULL
};
9467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_UnionRect",_kwnames
,&_argo0
,&_obj1
))
9470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_UnionRect. Expected _wxRegion_p.");
9478 if (! wxRect_helper(_obj1
, &_arg1
))
9482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9483 _result
= (bool )wxRegion_UnionRect(_arg0
,*_arg1
);
9485 wxPyEndAllowThreads(__tstate
);
9486 if (PyErr_Occurred()) return NULL
;
9487 } _resultobj
= Py_BuildValue("i",_result
);
9491 #define wxRegion_UnionRegion(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
9492 static PyObject
*_wrap_wxRegion_UnionRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9493 PyObject
* _resultobj
;
9497 PyObject
* _argo0
= 0;
9498 PyObject
* _argo1
= 0;
9499 char *_kwnames
[] = { "self","region", NULL
};
9502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_UnionRegion",_kwnames
,&_argo0
,&_argo1
))
9505 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9506 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_UnionRegion. Expected _wxRegion_p.");
9512 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9513 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
9514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_UnionRegion. Expected _wxRegion_p.");
9519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9520 _result
= (bool )wxRegion_UnionRegion(_arg0
,*_arg1
);
9522 wxPyEndAllowThreads(__tstate
);
9523 if (PyErr_Occurred()) return NULL
;
9524 } _resultobj
= Py_BuildValue("i",_result
);
9528 #define wxRegion_Subtract(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Subtract(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9529 static PyObject
*_wrap_wxRegion_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9530 PyObject
* _resultobj
;
9537 PyObject
* _argo0
= 0;
9538 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
9541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Subtract",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
9544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Subtract. Expected _wxRegion_p.");
9551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9552 _result
= (bool )wxRegion_Subtract(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
9554 wxPyEndAllowThreads(__tstate
);
9555 if (PyErr_Occurred()) return NULL
;
9556 } _resultobj
= Py_BuildValue("i",_result
);
9560 #define wxRegion_SubtractRect(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
9561 static PyObject
*_wrap_wxRegion_SubtractRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9562 PyObject
* _resultobj
;
9566 PyObject
* _argo0
= 0;
9568 PyObject
* _obj1
= 0;
9569 char *_kwnames
[] = { "self","rect", NULL
};
9572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_SubtractRect",_kwnames
,&_argo0
,&_obj1
))
9575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_SubtractRect. Expected _wxRegion_p.");
9583 if (! wxRect_helper(_obj1
, &_arg1
))
9587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9588 _result
= (bool )wxRegion_SubtractRect(_arg0
,*_arg1
);
9590 wxPyEndAllowThreads(__tstate
);
9591 if (PyErr_Occurred()) return NULL
;
9592 } _resultobj
= Py_BuildValue("i",_result
);
9596 #define wxRegion_SubtractRegion(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
9597 static PyObject
*_wrap_wxRegion_SubtractRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9598 PyObject
* _resultobj
;
9602 PyObject
* _argo0
= 0;
9603 PyObject
* _argo1
= 0;
9604 char *_kwnames
[] = { "self","region", NULL
};
9607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_SubtractRegion",_kwnames
,&_argo0
,&_argo1
))
9610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
9617 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9618 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
9619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
9624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9625 _result
= (bool )wxRegion_SubtractRegion(_arg0
,*_arg1
);
9627 wxPyEndAllowThreads(__tstate
);
9628 if (PyErr_Occurred()) return NULL
;
9629 } _resultobj
= Py_BuildValue("i",_result
);
9633 #define wxRegion_Xor(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Xor(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9634 static PyObject
*_wrap_wxRegion_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9635 PyObject
* _resultobj
;
9642 PyObject
* _argo0
= 0;
9643 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
9646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Xor",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
9649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Xor. Expected _wxRegion_p.");
9656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9657 _result
= (bool )wxRegion_Xor(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
9659 wxPyEndAllowThreads(__tstate
);
9660 if (PyErr_Occurred()) return NULL
;
9661 } _resultobj
= Py_BuildValue("i",_result
);
9665 #define wxRegion_XorRect(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
9666 static PyObject
*_wrap_wxRegion_XorRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9667 PyObject
* _resultobj
;
9671 PyObject
* _argo0
= 0;
9673 PyObject
* _obj1
= 0;
9674 char *_kwnames
[] = { "self","rect", NULL
};
9677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_XorRect",_kwnames
,&_argo0
,&_obj1
))
9680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_XorRect. Expected _wxRegion_p.");
9688 if (! wxRect_helper(_obj1
, &_arg1
))
9692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9693 _result
= (bool )wxRegion_XorRect(_arg0
,*_arg1
);
9695 wxPyEndAllowThreads(__tstate
);
9696 if (PyErr_Occurred()) return NULL
;
9697 } _resultobj
= Py_BuildValue("i",_result
);
9701 #define wxRegion_XorRegion(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
9702 static PyObject
*_wrap_wxRegion_XorRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9703 PyObject
* _resultobj
;
9707 PyObject
* _argo0
= 0;
9708 PyObject
* _argo1
= 0;
9709 char *_kwnames
[] = { "self","region", NULL
};
9712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_XorRegion",_kwnames
,&_argo0
,&_argo1
))
9715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_XorRegion. Expected _wxRegion_p.");
9722 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9723 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
9724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_XorRegion. Expected _wxRegion_p.");
9729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9730 _result
= (bool )wxRegion_XorRegion(_arg0
,*_arg1
);
9732 wxPyEndAllowThreads(__tstate
);
9733 if (PyErr_Occurred()) return NULL
;
9734 } _resultobj
= Py_BuildValue("i",_result
);
9738 static void *SwigwxRegionIteratorTowxObject(void *ptr
) {
9739 wxRegionIterator
*src
;
9741 src
= (wxRegionIterator
*) ptr
;
9742 dest
= (wxObject
*) src
;
9743 return (void *) dest
;
9746 #define new_wxRegionIterator(_swigarg0) (new wxRegionIterator(_swigarg0))
9747 static PyObject
*_wrap_new_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9748 PyObject
* _resultobj
;
9749 wxRegionIterator
* _result
;
9751 PyObject
* _argo0
= 0;
9752 char *_kwnames
[] = { "region", NULL
};
9756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxRegionIterator",_kwnames
,&_argo0
))
9759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
9761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRegionIterator. Expected _wxRegion_p.");
9766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9767 _result
= (wxRegionIterator
*)new_wxRegionIterator(*_arg0
);
9769 wxPyEndAllowThreads(__tstate
);
9770 if (PyErr_Occurred()) return NULL
;
9772 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegionIterator_p");
9773 _resultobj
= Py_BuildValue("s",_ptemp
);
9776 _resultobj
= Py_None
;
9781 #define delete_wxRegionIterator(_swigobj) (delete _swigobj)
9782 static PyObject
*_wrap_delete_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9783 PyObject
* _resultobj
;
9784 wxRegionIterator
* _arg0
;
9785 PyObject
* _argo0
= 0;
9786 char *_kwnames
[] = { "self", NULL
};
9789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegionIterator",_kwnames
,&_argo0
))
9792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
9794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegionIterator. Expected _wxRegionIterator_p.");
9799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9800 delete_wxRegionIterator(_arg0
);
9802 wxPyEndAllowThreads(__tstate
);
9803 if (PyErr_Occurred()) return NULL
;
9804 } Py_INCREF(Py_None
);
9805 _resultobj
= Py_None
;
9809 #define wxRegionIterator_GetX(_swigobj) (_swigobj->GetX())
9810 static PyObject
*_wrap_wxRegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9811 PyObject
* _resultobj
;
9813 wxRegionIterator
* _arg0
;
9814 PyObject
* _argo0
= 0;
9815 char *_kwnames
[] = { "self", NULL
};
9818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetX",_kwnames
,&_argo0
))
9821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
9823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetX. Expected _wxRegionIterator_p.");
9828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9829 _result
= (long )wxRegionIterator_GetX(_arg0
);
9831 wxPyEndAllowThreads(__tstate
);
9832 if (PyErr_Occurred()) return NULL
;
9833 } _resultobj
= Py_BuildValue("l",_result
);
9837 #define wxRegionIterator_GetY(_swigobj) (_swigobj->GetY())
9838 static PyObject
*_wrap_wxRegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9839 PyObject
* _resultobj
;
9841 wxRegionIterator
* _arg0
;
9842 PyObject
* _argo0
= 0;
9843 char *_kwnames
[] = { "self", NULL
};
9846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetY",_kwnames
,&_argo0
))
9849 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9850 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
9851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetY. Expected _wxRegionIterator_p.");
9856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9857 _result
= (long )wxRegionIterator_GetY(_arg0
);
9859 wxPyEndAllowThreads(__tstate
);
9860 if (PyErr_Occurred()) return NULL
;
9861 } _resultobj
= Py_BuildValue("l",_result
);
9865 #define wxRegionIterator_GetW(_swigobj) (_swigobj->GetW())
9866 static PyObject
*_wrap_wxRegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9867 PyObject
* _resultobj
;
9869 wxRegionIterator
* _arg0
;
9870 PyObject
* _argo0
= 0;
9871 char *_kwnames
[] = { "self", NULL
};
9874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetW",_kwnames
,&_argo0
))
9877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
9879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetW. Expected _wxRegionIterator_p.");
9884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9885 _result
= (long )wxRegionIterator_GetW(_arg0
);
9887 wxPyEndAllowThreads(__tstate
);
9888 if (PyErr_Occurred()) return NULL
;
9889 } _resultobj
= Py_BuildValue("l",_result
);
9893 #define wxRegionIterator_GetWidth(_swigobj) (_swigobj->GetWidth())
9894 static PyObject
*_wrap_wxRegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9895 PyObject
* _resultobj
;
9897 wxRegionIterator
* _arg0
;
9898 PyObject
* _argo0
= 0;
9899 char *_kwnames
[] = { "self", NULL
};
9902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetWidth",_kwnames
,&_argo0
))
9905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
9907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetWidth. Expected _wxRegionIterator_p.");
9912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9913 _result
= (long )wxRegionIterator_GetWidth(_arg0
);
9915 wxPyEndAllowThreads(__tstate
);
9916 if (PyErr_Occurred()) return NULL
;
9917 } _resultobj
= Py_BuildValue("l",_result
);
9921 #define wxRegionIterator_GetH(_swigobj) (_swigobj->GetH())
9922 static PyObject
*_wrap_wxRegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9923 PyObject
* _resultobj
;
9925 wxRegionIterator
* _arg0
;
9926 PyObject
* _argo0
= 0;
9927 char *_kwnames
[] = { "self", NULL
};
9930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetH",_kwnames
,&_argo0
))
9933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
9935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetH. Expected _wxRegionIterator_p.");
9940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9941 _result
= (long )wxRegionIterator_GetH(_arg0
);
9943 wxPyEndAllowThreads(__tstate
);
9944 if (PyErr_Occurred()) return NULL
;
9945 } _resultobj
= Py_BuildValue("l",_result
);
9949 #define wxRegionIterator_GetHeight(_swigobj) (_swigobj->GetHeight())
9950 static PyObject
*_wrap_wxRegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9951 PyObject
* _resultobj
;
9953 wxRegionIterator
* _arg0
;
9954 PyObject
* _argo0
= 0;
9955 char *_kwnames
[] = { "self", NULL
};
9958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetHeight",_kwnames
,&_argo0
))
9961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
9963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetHeight. Expected _wxRegionIterator_p.");
9968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9969 _result
= (long )wxRegionIterator_GetHeight(_arg0
);
9971 wxPyEndAllowThreads(__tstate
);
9972 if (PyErr_Occurred()) return NULL
;
9973 } _resultobj
= Py_BuildValue("l",_result
);
9977 #define wxRegionIterator_GetRect(_swigobj) (_swigobj->GetRect())
9978 static PyObject
*_wrap_wxRegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9979 PyObject
* _resultobj
;
9981 wxRegionIterator
* _arg0
;
9982 PyObject
* _argo0
= 0;
9983 char *_kwnames
[] = { "self", NULL
};
9987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetRect",_kwnames
,&_argo0
))
9990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
9992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetRect. Expected _wxRegionIterator_p.");
9997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9998 _result
= new wxRect (wxRegionIterator_GetRect(_arg0
));
10000 wxPyEndAllowThreads(__tstate
);
10001 if (PyErr_Occurred()) return NULL
;
10002 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
10003 _resultobj
= Py_BuildValue("s",_ptemp
);
10007 #define wxRegionIterator_HaveRects(_swigobj) (_swigobj->HaveRects())
10008 static PyObject
*_wrap_wxRegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10009 PyObject
* _resultobj
;
10011 wxRegionIterator
* _arg0
;
10012 PyObject
* _argo0
= 0;
10013 char *_kwnames
[] = { "self", NULL
};
10016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_HaveRects",_kwnames
,&_argo0
))
10019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
10021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_HaveRects. Expected _wxRegionIterator_p.");
10026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10027 _result
= (bool )wxRegionIterator_HaveRects(_arg0
);
10029 wxPyEndAllowThreads(__tstate
);
10030 if (PyErr_Occurred()) return NULL
;
10031 } _resultobj
= Py_BuildValue("i",_result
);
10035 #define wxRegionIterator_Reset(_swigobj) (_swigobj->Reset())
10036 static PyObject
*_wrap_wxRegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10037 PyObject
* _resultobj
;
10038 wxRegionIterator
* _arg0
;
10039 PyObject
* _argo0
= 0;
10040 char *_kwnames
[] = { "self", NULL
};
10043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Reset",_kwnames
,&_argo0
))
10046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
10048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Reset. Expected _wxRegionIterator_p.");
10053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10054 wxRegionIterator_Reset(_arg0
);
10056 wxPyEndAllowThreads(__tstate
);
10057 if (PyErr_Occurred()) return NULL
;
10058 } Py_INCREF(Py_None
);
10059 _resultobj
= Py_None
;
10063 static void wxRegionIterator_Next(wxRegionIterator
*self
) {
10066 static PyObject
*_wrap_wxRegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10067 PyObject
* _resultobj
;
10068 wxRegionIterator
* _arg0
;
10069 PyObject
* _argo0
= 0;
10070 char *_kwnames
[] = { "self", NULL
};
10073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Next",_kwnames
,&_argo0
))
10076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
10078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Next. Expected _wxRegionIterator_p.");
10083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10084 wxRegionIterator_Next(_arg0
);
10086 wxPyEndAllowThreads(__tstate
);
10087 if (PyErr_Occurred()) return NULL
;
10088 } Py_INCREF(Py_None
);
10089 _resultobj
= Py_None
;
10093 static PyMethodDef gdicMethods
[] = {
10094 { "wxRegionIterator_Next", (PyCFunction
) _wrap_wxRegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
10095 { "wxRegionIterator_Reset", (PyCFunction
) _wrap_wxRegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
10096 { "wxRegionIterator_HaveRects", (PyCFunction
) _wrap_wxRegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
10097 { "wxRegionIterator_GetRect", (PyCFunction
) _wrap_wxRegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
10098 { "wxRegionIterator_GetHeight", (PyCFunction
) _wrap_wxRegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
10099 { "wxRegionIterator_GetH", (PyCFunction
) _wrap_wxRegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
10100 { "wxRegionIterator_GetWidth", (PyCFunction
) _wrap_wxRegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
10101 { "wxRegionIterator_GetW", (PyCFunction
) _wrap_wxRegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
10102 { "wxRegionIterator_GetY", (PyCFunction
) _wrap_wxRegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
10103 { "wxRegionIterator_GetX", (PyCFunction
) _wrap_wxRegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
10104 { "delete_wxRegionIterator", (PyCFunction
) _wrap_delete_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
10105 { "new_wxRegionIterator", (PyCFunction
) _wrap_new_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
10106 { "wxRegion_XorRegion", (PyCFunction
) _wrap_wxRegion_XorRegion
, METH_VARARGS
| METH_KEYWORDS
},
10107 { "wxRegion_XorRect", (PyCFunction
) _wrap_wxRegion_XorRect
, METH_VARARGS
| METH_KEYWORDS
},
10108 { "wxRegion_Xor", (PyCFunction
) _wrap_wxRegion_Xor
, METH_VARARGS
| METH_KEYWORDS
},
10109 { "wxRegion_SubtractRegion", (PyCFunction
) _wrap_wxRegion_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
},
10110 { "wxRegion_SubtractRect", (PyCFunction
) _wrap_wxRegion_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
},
10111 { "wxRegion_Subtract", (PyCFunction
) _wrap_wxRegion_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
10112 { "wxRegion_UnionRegion", (PyCFunction
) _wrap_wxRegion_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
},
10113 { "wxRegion_UnionRect", (PyCFunction
) _wrap_wxRegion_UnionRect
, METH_VARARGS
| METH_KEYWORDS
},
10114 { "wxRegion_Union", (PyCFunction
) _wrap_wxRegion_Union
, METH_VARARGS
| METH_KEYWORDS
},
10115 { "wxRegion_IsEmpty", (PyCFunction
) _wrap_wxRegion_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
10116 { "wxRegion_IntersectRegion", (PyCFunction
) _wrap_wxRegion_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
},
10117 { "wxRegion_IntersectRect", (PyCFunction
) _wrap_wxRegion_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
10118 { "wxRegion_Intersect", (PyCFunction
) _wrap_wxRegion_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
10119 { "wxRegion_GetBox", (PyCFunction
) _wrap_wxRegion_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
10120 { "wxRegion_ContainsRectDim", (PyCFunction
) _wrap_wxRegion_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
},
10121 { "wxRegion_ContainsRect", (PyCFunction
) _wrap_wxRegion_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
10122 { "wxRegion_ContainsPoint", (PyCFunction
) _wrap_wxRegion_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
10123 { "wxRegion_Contains", (PyCFunction
) _wrap_wxRegion_Contains
, METH_VARARGS
| METH_KEYWORDS
},
10124 { "wxRegion_Offset", (PyCFunction
) _wrap_wxRegion_Offset
, METH_VARARGS
| METH_KEYWORDS
},
10125 { "wxRegion_Clear", (PyCFunction
) _wrap_wxRegion_Clear
, METH_VARARGS
| METH_KEYWORDS
},
10126 { "delete_wxRegion", (PyCFunction
) _wrap_delete_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
10127 { "new_wxRegion", (PyCFunction
) _wrap_new_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
10128 { "wxImageList_GetSize", (PyCFunction
) _wrap_wxImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
10129 { "wxImageList_RemoveAll", (PyCFunction
) _wrap_wxImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
},
10130 { "wxImageList_Remove", (PyCFunction
) _wrap_wxImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
},
10131 { "wxImageList_GetImageCount", (PyCFunction
) _wrap_wxImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
10132 { "wxImageList_Draw", (PyCFunction
) _wrap_wxImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
},
10133 { "wxImageList_Replace", (PyCFunction
) _wrap_wxImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
},
10134 { "wxImageList_AddIcon", (PyCFunction
) _wrap_wxImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
10135 { "wxImageList_AddWithColourMask", (PyCFunction
) _wrap_wxImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
},
10136 { "wxImageList_Add", (PyCFunction
) _wrap_wxImageList_Add
, METH_VARARGS
| METH_KEYWORDS
},
10137 { "delete_wxImageList", (PyCFunction
) _wrap_delete_wxImageList
, METH_VARARGS
| METH_KEYWORDS
},
10138 { "new_wxImageList", (PyCFunction
) _wrap_new_wxImageList
, METH_VARARGS
| METH_KEYWORDS
},
10139 { "wxPalette_Ok", (PyCFunction
) _wrap_wxPalette_Ok
, METH_VARARGS
| METH_KEYWORDS
},
10140 { "wxPalette_GetRGB", (PyCFunction
) _wrap_wxPalette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
10141 { "wxPalette_GetPixel", (PyCFunction
) _wrap_wxPalette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
10142 { "delete_wxPalette", (PyCFunction
) _wrap_delete_wxPalette
, METH_VARARGS
| METH_KEYWORDS
},
10143 { "new_wxPalette", (PyCFunction
) _wrap_new_wxPalette
, METH_VARARGS
| METH_KEYWORDS
},
10144 { "new_wxWindowDC", (PyCFunction
) _wrap_new_wxWindowDC
, METH_VARARGS
| METH_KEYWORDS
},
10145 { "new_wxPaintDC", (PyCFunction
) _wrap_new_wxPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
10146 { "new_wxClientDC", (PyCFunction
) _wrap_new_wxClientDC
, METH_VARARGS
| METH_KEYWORDS
},
10147 { "wxScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_wxScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
10148 { "wxScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_wxScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
10149 { "wxScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_wxScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
},
10150 { "new_wxScreenDC", (PyCFunction
) _wrap_new_wxScreenDC
, METH_VARARGS
| METH_KEYWORDS
},
10151 { "new_wxBufferedPaintDC", (PyCFunction
) _wrap_new_wxBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
10152 { "wxBufferedDC_UnMask", (PyCFunction
) _wrap_wxBufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
},
10153 { "new_wxBufferedDCInternalBuffer", (PyCFunction
) _wrap_new_wxBufferedDCInternalBuffer
, METH_VARARGS
| METH_KEYWORDS
},
10154 { "new_wxBufferedDC", (PyCFunction
) _wrap_new_wxBufferedDC
, METH_VARARGS
| METH_KEYWORDS
},
10155 { "wxMemoryDC_SelectObject", (PyCFunction
) _wrap_wxMemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
},
10156 { "new_wxMemoryDC", (PyCFunction
) _wrap_new_wxMemoryDC
, METH_VARARGS
| METH_KEYWORDS
},
10157 { "wxDC__DrawLineList", (PyCFunction
) _wrap_wxDC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
},
10158 { "wxDC__DrawPointList", (PyCFunction
) _wrap_wxDC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
},
10159 { "wxDC_GetBoundingBox", (PyCFunction
) _wrap_wxDC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
10160 { "wxDC_ResetBoundingBox", (PyCFunction
) _wrap_wxDC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
10161 { "wxDC_CalcBoundingBox", (PyCFunction
) _wrap_wxDC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
10162 { "wxDC_SetAxisOrientation", (PyCFunction
) _wrap_wxDC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
},
10163 { "wxDC_GetDeviceOrigin", (PyCFunction
) _wrap_wxDC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
10164 { "wxDC_SetLogicalOrigin", (PyCFunction
) _wrap_wxDC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
10165 { "wxDC_GetLogicalOrigin", (PyCFunction
) _wrap_wxDC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
10166 { "wxDC_GetPPI", (PyCFunction
) _wrap_wxDC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
},
10167 { "wxDC_GetDepth", (PyCFunction
) _wrap_wxDC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
10168 { "wxDC_CanGetTextExtent", (PyCFunction
) _wrap_wxDC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
10169 { "wxDC_CanDrawBitmap", (PyCFunction
) _wrap_wxDC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10170 { "wxDC_DrawBitmap", (PyCFunction
) _wrap_wxDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10171 { "wxDC_StartPage", (PyCFunction
) _wrap_wxDC_StartPage
, METH_VARARGS
| METH_KEYWORDS
},
10172 { "wxDC_StartDoc", (PyCFunction
) _wrap_wxDC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
},
10173 { "wxDC_SetUserScale", (PyCFunction
) _wrap_wxDC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
10174 { "wxDC_SetTextForeground", (PyCFunction
) _wrap_wxDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
10175 { "wxDC_SetTextBackground", (PyCFunction
) _wrap_wxDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
10176 { "wxDC_SetPen", (PyCFunction
) _wrap_wxDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
10177 { "wxDC_SetOptimization", (PyCFunction
) _wrap_wxDC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
10178 { "wxDC_SetMapMode", (PyCFunction
) _wrap_wxDC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
10179 { "wxDC_SetLogicalScale", (PyCFunction
) _wrap_wxDC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
10180 { "wxDC_SetLogicalFunction", (PyCFunction
) _wrap_wxDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
10181 { "wxDC_SetFont", (PyCFunction
) _wrap_wxDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
10182 { "wxDC_SetBrush", (PyCFunction
) _wrap_wxDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
10183 { "wxDC_SetPalette", (PyCFunction
) _wrap_wxDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
10184 { "wxDC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_wxDC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
},
10185 { "wxDC_SetClippingRegion", (PyCFunction
) _wrap_wxDC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
10186 { "wxDC_SetBackgroundMode", (PyCFunction
) _wrap_wxDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
10187 { "wxDC_SetBackground", (PyCFunction
) _wrap_wxDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
},
10188 { "wxDC_SetDeviceOrigin", (PyCFunction
) _wrap_wxDC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
10189 { "wxDC_Ok", (PyCFunction
) _wrap_wxDC_Ok
, METH_VARARGS
| METH_KEYWORDS
},
10190 { "wxDC_MinY", (PyCFunction
) _wrap_wxDC_MinY
, METH_VARARGS
| METH_KEYWORDS
},
10191 { "wxDC_MinX", (PyCFunction
) _wrap_wxDC_MinX
, METH_VARARGS
| METH_KEYWORDS
},
10192 { "wxDC_MaxY", (PyCFunction
) _wrap_wxDC_MaxY
, METH_VARARGS
| METH_KEYWORDS
},
10193 { "wxDC_MaxX", (PyCFunction
) _wrap_wxDC_MaxX
, METH_VARARGS
| METH_KEYWORDS
},
10194 { "wxDC_LogicalToDeviceYRel", (PyCFunction
) _wrap_wxDC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
},
10195 { "wxDC_LogicalToDeviceY", (PyCFunction
) _wrap_wxDC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
},
10196 { "wxDC_LogicalToDeviceXRel", (PyCFunction
) _wrap_wxDC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
},
10197 { "wxDC_LogicalToDeviceX", (PyCFunction
) _wrap_wxDC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
},
10198 { "wxDC_GetUserScale", (PyCFunction
) _wrap_wxDC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
10199 { "wxDC_GetTextForeground", (PyCFunction
) _wrap_wxDC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
10200 { "wxDC_GetFullTextExtent", (PyCFunction
) _wrap_wxDC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
10201 { "wxDC_GetTextExtent", (PyCFunction
) _wrap_wxDC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
10202 { "wxDC_GetTextBackground", (PyCFunction
) _wrap_wxDC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
10203 { "wxDC_GetSizeMM", (PyCFunction
) _wrap_wxDC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
10204 { "wxDC_GetSize", (PyCFunction
) _wrap_wxDC_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
10205 { "wxDC_GetSizeTuple", (PyCFunction
) _wrap_wxDC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
10206 { "wxDC_GetPixel", (PyCFunction
) _wrap_wxDC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
10207 { "wxDC_GetPen", (PyCFunction
) _wrap_wxDC_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
10208 { "wxDC_GetOptimization", (PyCFunction
) _wrap_wxDC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
10209 { "wxDC_GetMapMode", (PyCFunction
) _wrap_wxDC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
10210 { "wxDC_GetLogicalScale", (PyCFunction
) _wrap_wxDC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
10211 { "wxDC_GetLogicalFunction", (PyCFunction
) _wrap_wxDC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
10212 { "wxDC_GetFont", (PyCFunction
) _wrap_wxDC_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
10213 { "wxDC_GetClippingBox", (PyCFunction
) _wrap_wxDC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
},
10214 { "wxDC_GetCharWidth", (PyCFunction
) _wrap_wxDC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
10215 { "wxDC_GetCharHeight", (PyCFunction
) _wrap_wxDC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
10216 { "wxDC_GetBrush", (PyCFunction
) _wrap_wxDC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
10217 { "wxDC_GetBackground", (PyCFunction
) _wrap_wxDC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
},
10218 { "wxDC_FloodFill", (PyCFunction
) _wrap_wxDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
},
10219 { "wxDC_EndPage", (PyCFunction
) _wrap_wxDC_EndPage
, METH_VARARGS
| METH_KEYWORDS
},
10220 { "wxDC_EndDrawing", (PyCFunction
) _wrap_wxDC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
},
10221 { "wxDC_EndDoc", (PyCFunction
) _wrap_wxDC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
},
10222 { "wxDC_DrawText", (PyCFunction
) _wrap_wxDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
10223 { "wxDC_DrawSpline", (PyCFunction
) _wrap_wxDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
10224 { "wxDC_DrawRoundedRectangle", (PyCFunction
) _wrap_wxDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
10225 { "wxDC_DrawRotatedText", (PyCFunction
) _wrap_wxDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
},
10226 { "wxDC_DrawRectangle", (PyCFunction
) _wrap_wxDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
10227 { "wxDC_DrawPoint", (PyCFunction
) _wrap_wxDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
10228 { "wxDC_DrawPolygon", (PyCFunction
) _wrap_wxDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
10229 { "wxDC_DrawLines", (PyCFunction
) _wrap_wxDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
10230 { "wxDC_DrawLine", (PyCFunction
) _wrap_wxDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
10231 { "wxDC_DrawImageLabel", (PyCFunction
) _wrap_wxDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
10232 { "wxDC_DrawLabel", (PyCFunction
) _wrap_wxDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
},
10233 { "wxDC_DrawIcon", (PyCFunction
) _wrap_wxDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
},
10234 { "wxDC_DrawEllipticArc", (PyCFunction
) _wrap_wxDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
10235 { "wxDC_DrawEllipse", (PyCFunction
) _wrap_wxDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
10236 { "wxDC_DrawCircle", (PyCFunction
) _wrap_wxDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
},
10237 { "wxDC_DrawArc", (PyCFunction
) _wrap_wxDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
10238 { "wxDC_DeviceToLogicalYRel", (PyCFunction
) _wrap_wxDC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
},
10239 { "wxDC_DeviceToLogicalY", (PyCFunction
) _wrap_wxDC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
},
10240 { "wxDC_DeviceToLogicalXRel", (PyCFunction
) _wrap_wxDC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
},
10241 { "wxDC_DeviceToLogicalX", (PyCFunction
) _wrap_wxDC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
},
10242 { "wxDC_DestroyClippingRegion", (PyCFunction
) _wrap_wxDC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
10243 { "wxDC_CrossHair", (PyCFunction
) _wrap_wxDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
},
10244 { "wxDC_Clear", (PyCFunction
) _wrap_wxDC_Clear
, METH_VARARGS
| METH_KEYWORDS
},
10245 { "wxDC_Blit", (PyCFunction
) _wrap_wxDC_Blit
, METH_VARARGS
| METH_KEYWORDS
},
10246 { "wxDC_BeginDrawing", (PyCFunction
) _wrap_wxDC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
},
10247 { "delete_wxDC", (PyCFunction
) _wrap_delete_wxDC
, METH_VARARGS
| METH_KEYWORDS
},
10248 { "wxBrushList_GetCount", (PyCFunction
) _wrap_wxBrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
10249 { "wxBrushList_RemoveBrush", (PyCFunction
) _wrap_wxBrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
},
10250 { "wxBrushList_FindOrCreateBrush", (PyCFunction
) _wrap_wxBrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
},
10251 { "wxBrushList_AddBrush", (PyCFunction
) _wrap_wxBrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
},
10252 { "wxBrush_SetStyle", (PyCFunction
) _wrap_wxBrush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
10253 { "wxBrush_SetStipple", (PyCFunction
) _wrap_wxBrush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
10254 { "wxBrush_SetColour", (PyCFunction
) _wrap_wxBrush_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
10255 { "wxBrush_Ok", (PyCFunction
) _wrap_wxBrush_Ok
, METH_VARARGS
| METH_KEYWORDS
},
10256 { "wxBrush_GetStyle", (PyCFunction
) _wrap_wxBrush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
10257 { "wxBrush_GetStipple", (PyCFunction
) _wrap_wxBrush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
10258 { "wxBrush_GetColour", (PyCFunction
) _wrap_wxBrush_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
10259 { "delete_wxBrush", (PyCFunction
) _wrap_delete_wxBrush
, METH_VARARGS
| METH_KEYWORDS
},
10260 { "new_wxBrush", (PyCFunction
) _wrap_new_wxBrush
, METH_VARARGS
| METH_KEYWORDS
},
10261 { "wxPenList_GetCount", (PyCFunction
) _wrap_wxPenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
10262 { "wxPenList_RemovePen", (PyCFunction
) _wrap_wxPenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
},
10263 { "wxPenList_FindOrCreatePen", (PyCFunction
) _wrap_wxPenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
},
10264 { "wxPenList_AddPen", (PyCFunction
) _wrap_wxPenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
},
10265 { "wxPyPen_SetDashes", (PyCFunction
) _wrap_wxPyPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
10266 { "delete_wxPyPen", (PyCFunction
) _wrap_delete_wxPyPen
, METH_VARARGS
| METH_KEYWORDS
},
10267 { "new_wxPyPen", (PyCFunction
) _wrap_new_wxPyPen
, METH_VARARGS
| METH_KEYWORDS
},
10268 { "wxPen_GetDashes", (PyCFunction
) _wrap_wxPen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
},
10269 { "wxPen_SetDashes", (PyCFunction
) _wrap_wxPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
10270 { "wxPen_SetWidth", (PyCFunction
) _wrap_wxPen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
10271 { "wxPen_SetStyle", (PyCFunction
) _wrap_wxPen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
10272 { "wxPen_SetJoin", (PyCFunction
) _wrap_wxPen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
},
10273 { "wxPen_SetColour", (PyCFunction
) _wrap_wxPen_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
10274 { "wxPen_SetCap", (PyCFunction
) _wrap_wxPen_SetCap
, METH_VARARGS
| METH_KEYWORDS
},
10275 { "wxPen_Ok", (PyCFunction
) _wrap_wxPen_Ok
, METH_VARARGS
| METH_KEYWORDS
},
10276 { "wxPen_GetWidth", (PyCFunction
) _wrap_wxPen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
10277 { "wxPen_GetStyle", (PyCFunction
) _wrap_wxPen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
10278 { "wxPen_GetJoin", (PyCFunction
) _wrap_wxPen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
},
10279 { "wxPen_GetColour", (PyCFunction
) _wrap_wxPen_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
10280 { "wxPen_GetCap", (PyCFunction
) _wrap_wxPen_GetCap
, METH_VARARGS
| METH_KEYWORDS
},
10281 { "delete_wxPen", (PyCFunction
) _wrap_delete_wxPen
, METH_VARARGS
| METH_KEYWORDS
},
10282 { "new_wxPen", (PyCFunction
) _wrap_new_wxPen
, METH_VARARGS
| METH_KEYWORDS
},
10283 { "wxColourDatabase_Append", (PyCFunction
) _wrap_wxColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
},
10284 { "wxColourDatabase_FindName", (PyCFunction
) _wrap_wxColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
},
10285 { "wxColourDatabase_FindColour", (PyCFunction
) _wrap_wxColourDatabase_FindColour
, METH_VARARGS
| METH_KEYWORDS
},
10286 { "wxColour_Get", (PyCFunction
) _wrap_wxColour_Get
, METH_VARARGS
| METH_KEYWORDS
},
10287 { "wxColour_Set", (PyCFunction
) _wrap_wxColour_Set
, METH_VARARGS
| METH_KEYWORDS
},
10288 { "wxColour_Ok", (PyCFunction
) _wrap_wxColour_Ok
, METH_VARARGS
| METH_KEYWORDS
},
10289 { "wxColour_Blue", (PyCFunction
) _wrap_wxColour_Blue
, METH_VARARGS
| METH_KEYWORDS
},
10290 { "wxColour_Green", (PyCFunction
) _wrap_wxColour_Green
, METH_VARARGS
| METH_KEYWORDS
},
10291 { "wxColour_Red", (PyCFunction
) _wrap_wxColour_Red
, METH_VARARGS
| METH_KEYWORDS
},
10292 { "delete_wxColour", (PyCFunction
) _wrap_delete_wxColour
, METH_VARARGS
| METH_KEYWORDS
},
10293 { "new_wxColour", (PyCFunction
) _wrap_new_wxColour
, METH_VARARGS
| METH_KEYWORDS
},
10294 { "wxCursor_Ok", (PyCFunction
) _wrap_wxCursor_Ok
, METH_VARARGS
| METH_KEYWORDS
},
10295 { "delete_wxCursor", (PyCFunction
) _wrap_delete_wxCursor
, METH_VARARGS
| METH_KEYWORDS
},
10296 { "wxIconBundle_GetIcon", (PyCFunction
) _wrap_wxIconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
10297 { "wxIconBundle_AddIconFromFile", (PyCFunction
) _wrap_wxIconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
},
10298 { "wxIconBundle_AddIcon", (PyCFunction
) _wrap_wxIconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
10299 { "delete_wxIconBundle", (PyCFunction
) _wrap_delete_wxIconBundle
, METH_VARARGS
| METH_KEYWORDS
},
10300 { "new_wxIconBundleFromIcon", (PyCFunction
) _wrap_new_wxIconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
10301 { "new_wxIconBundleFromFile", (PyCFunction
) _wrap_new_wxIconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
},
10302 { "new_wxIconBundle", (PyCFunction
) _wrap_new_wxIconBundle
, METH_VARARGS
| METH_KEYWORDS
},
10303 { "wxIcon_CopyFromBitmap", (PyCFunction
) _wrap_wxIcon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10304 { "wxIcon_SetDepth", (PyCFunction
) _wrap_wxIcon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
10305 { "wxIcon_SetHeight", (PyCFunction
) _wrap_wxIcon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
10306 { "wxIcon_SetWidth", (PyCFunction
) _wrap_wxIcon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
10307 { "wxIcon_GetDepth", (PyCFunction
) _wrap_wxIcon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
10308 { "wxIcon_GetHeight", (PyCFunction
) _wrap_wxIcon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
10309 { "wxIcon_GetWidth", (PyCFunction
) _wrap_wxIcon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
10310 { "wxIcon_Ok", (PyCFunction
) _wrap_wxIcon_Ok
, METH_VARARGS
| METH_KEYWORDS
},
10311 { "wxIcon_LoadFile", (PyCFunction
) _wrap_wxIcon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
10312 { "delete_wxIcon", (PyCFunction
) _wrap_delete_wxIcon
, METH_VARARGS
| METH_KEYWORDS
},
10313 { "new_wxIcon", (PyCFunction
) _wrap_new_wxIcon
, METH_VARARGS
| METH_KEYWORDS
},
10314 { "wxMask_Destroy", (PyCFunction
) _wrap_wxMask_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
10315 { "new_wxMask", (PyCFunction
) _wrap_new_wxMask
, METH_VARARGS
| METH_KEYWORDS
},
10316 { "wxBitmap_CopyFromIcon", (PyCFunction
) _wrap_wxBitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
10317 { "wxBitmap_GetSubBitmap", (PyCFunction
) _wrap_wxBitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10318 { "wxBitmap_SetDepth", (PyCFunction
) _wrap_wxBitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
10319 { "wxBitmap_SetHeight", (PyCFunction
) _wrap_wxBitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
10320 { "wxBitmap_SetWidth", (PyCFunction
) _wrap_wxBitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
10321 { "wxBitmap_GetDepth", (PyCFunction
) _wrap_wxBitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
10322 { "wxBitmap_GetHeight", (PyCFunction
) _wrap_wxBitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
10323 { "wxBitmap_GetWidth", (PyCFunction
) _wrap_wxBitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
10324 { "wxBitmap_Ok", (PyCFunction
) _wrap_wxBitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
},
10325 { "wxBitmap_SetMask", (PyCFunction
) _wrap_wxBitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
10326 { "wxBitmap_SaveFile", (PyCFunction
) _wrap_wxBitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
10327 { "wxBitmap_LoadFile", (PyCFunction
) _wrap_wxBitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
10328 { "wxBitmap_GetMask", (PyCFunction
) _wrap_wxBitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
10329 { "wxBitmap_GetPalette", (PyCFunction
) _wrap_wxBitmap_GetPalette
, METH_VARARGS
| METH_KEYWORDS
},
10330 { "delete_wxBitmap", (PyCFunction
) _wrap_delete_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10331 { "new_wxBitmap", (PyCFunction
) _wrap_new_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10332 { "wxGDIObject_IsNull", (PyCFunction
) _wrap_wxGDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
10333 { "wxGDIObject_SetVisible", (PyCFunction
) _wrap_wxGDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
},
10334 { "wxGDIObject_GetVisible", (PyCFunction
) _wrap_wxGDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
},
10335 { "delete_wxGDIObject", (PyCFunction
) _wrap_delete_wxGDIObject
, METH_VARARGS
| METH_KEYWORDS
},
10336 { "new_wxGDIObject", (PyCFunction
) _wrap_new_wxGDIObject
, METH_VARARGS
| METH_KEYWORDS
},
10337 { "wxMemoryDCFromDC", (PyCFunction
) _wrap_wxMemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
},
10338 { "wxNamedColour", (PyCFunction
) _wrap_wxNamedColour
, METH_VARARGS
| METH_KEYWORDS
},
10339 { "wxStockCursor", (PyCFunction
) _wrap_wxStockCursor
, METH_VARARGS
| METH_KEYWORDS
},
10340 { "wxIconFromBitmap", (PyCFunction
) _wrap_wxIconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10341 { "wxIconFromXPMData", (PyCFunction
) _wrap_wxIconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
10342 { "wxEmptyIcon", (PyCFunction
) _wrap_wxEmptyIcon
, METH_VARARGS
| METH_KEYWORDS
},
10343 { "wxMaskColour", (PyCFunction
) _wrap_wxMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
10344 { "wxBitmapFromBits", (PyCFunction
) _wrap_wxBitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
},
10345 { "wxBitmapFromIcon", (PyCFunction
) _wrap_wxBitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
10346 { "wxBitmapFromXPMData", (PyCFunction
) _wrap_wxBitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
10347 { "wxEmptyBitmap", (PyCFunction
) _wrap_wxEmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10354 * This table is used by the pointer type-checker
10356 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
10357 { "_signed_long","_long",0},
10358 { "_wxPrintQuality","_wxCoord",0},
10359 { "_wxPrintQuality","_int",0},
10360 { "_wxPrintQuality","_signed_int",0},
10361 { "_wxPrintQuality","_unsigned_int",0},
10362 { "_wxPrintQuality","_wxWindowID",0},
10363 { "_wxPrintQuality","_uint",0},
10364 { "_wxPrintQuality","_EBool",0},
10365 { "_wxPrintQuality","_size_t",0},
10366 { "_wxPrintQuality","_time_t",0},
10367 { "_wxPen","_wxPyPen",SwigwxPyPenTowxPen
},
10368 { "_byte","_unsigned_char",0},
10369 { "_long","_unsigned_long",0},
10370 { "_long","_signed_long",0},
10371 { "_wxGDIObject","_wxRegion",SwigwxRegionTowxGDIObject
},
10372 { "_wxGDIObject","_wxPalette",SwigwxPaletteTowxGDIObject
},
10373 { "_wxGDIObject","_wxBrush",SwigwxBrushTowxGDIObject
},
10374 { "_wxGDIObject","_wxPyPen",SwigwxPyPenTowxGDIObject
},
10375 { "_wxGDIObject","_wxPen",SwigwxPenTowxGDIObject
},
10376 { "_wxGDIObject","_wxCursor",SwigwxCursorTowxGDIObject
},
10377 { "_wxGDIObject","_wxIcon",SwigwxIconTowxGDIObject
},
10378 { "_wxGDIObject","_wxBitmap",SwigwxBitmapTowxGDIObject
},
10379 { "_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC
},
10380 { "_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
},
10381 { "_wxDC","_wxClientDC",SwigwxClientDCTowxDC
},
10382 { "_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
},
10383 { "_wxDC","_wxBufferedPaintDC",SwigwxBufferedPaintDCTowxDC
},
10384 { "_wxDC","_wxBufferedDC",SwigwxBufferedDCTowxDC
},
10385 { "_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
},
10386 { "_size_t","_wxCoord",0},
10387 { "_size_t","_wxPrintQuality",0},
10388 { "_size_t","_time_t",0},
10389 { "_size_t","_unsigned_int",0},
10390 { "_size_t","_int",0},
10391 { "_size_t","_wxWindowID",0},
10392 { "_size_t","_uint",0},
10393 { "_uint","_wxCoord",0},
10394 { "_uint","_wxPrintQuality",0},
10395 { "_uint","_time_t",0},
10396 { "_uint","_size_t",0},
10397 { "_uint","_unsigned_int",0},
10398 { "_uint","_int",0},
10399 { "_uint","_wxWindowID",0},
10400 { "_wxChar","_char",0},
10401 { "_char","_wxChar",0},
10402 { "_wxBufferedDC","_wxBufferedPaintDC",SwigwxBufferedPaintDCTowxBufferedDC
},
10403 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
10404 { "_EBool","_wxCoord",0},
10405 { "_EBool","_wxPrintQuality",0},
10406 { "_EBool","_signed_int",0},
10407 { "_EBool","_int",0},
10408 { "_EBool","_wxWindowID",0},
10409 { "_unsigned_long","_long",0},
10410 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
10411 { "_signed_int","_wxCoord",0},
10412 { "_signed_int","_wxPrintQuality",0},
10413 { "_signed_int","_EBool",0},
10414 { "_signed_int","_wxWindowID",0},
10415 { "_signed_int","_int",0},
10416 { "_WXTYPE","_short",0},
10417 { "_WXTYPE","_signed_short",0},
10418 { "_WXTYPE","_unsigned_short",0},
10419 { "_unsigned_short","_WXTYPE",0},
10420 { "_unsigned_short","_short",0},
10421 { "_wxObject","_wxRegionIterator",SwigwxRegionIteratorTowxObject
},
10422 { "_wxObject","_wxRegion",SwigwxRegionTowxObject
},
10423 { "_wxObject","_wxImageList",SwigwxImageListTowxObject
},
10424 { "_wxObject","_wxPalette",SwigwxPaletteTowxObject
},
10425 { "_wxObject","_wxWindowDC",SwigwxWindowDCTowxObject
},
10426 { "_wxObject","_wxPaintDC",SwigwxPaintDCTowxObject
},
10427 { "_wxObject","_wxClientDC",SwigwxClientDCTowxObject
},
10428 { "_wxObject","_wxScreenDC",SwigwxScreenDCTowxObject
},
10429 { "_wxObject","_wxBufferedPaintDC",SwigwxBufferedPaintDCTowxObject
},
10430 { "_wxObject","_wxBufferedDC",SwigwxBufferedDCTowxObject
},
10431 { "_wxObject","_wxMemoryDC",SwigwxMemoryDCTowxObject
},
10432 { "_wxObject","_wxDC",SwigwxDCTowxObject
},
10433 { "_wxObject","_wxBrushList",SwigwxBrushListTowxObject
},
10434 { "_wxObject","_wxBrush",SwigwxBrushTowxObject
},
10435 { "_wxObject","_wxPenList",SwigwxPenListTowxObject
},
10436 { "_wxObject","_wxPyPen",SwigwxPyPenTowxObject
},
10437 { "_wxObject","_wxPen",SwigwxPenTowxObject
},
10438 { "_wxObject","_wxColourDatabase",SwigwxColourDatabaseTowxObject
},
10439 { "_wxObject","_wxColour",SwigwxColourTowxObject
},
10440 { "_wxObject","_wxCursor",SwigwxCursorTowxObject
},
10441 { "_wxObject","_wxIcon",SwigwxIconTowxObject
},
10442 { "_wxObject","_wxMask",SwigwxMaskTowxObject
},
10443 { "_wxObject","_wxBitmap",SwigwxBitmapTowxObject
},
10444 { "_wxObject","_wxGDIObject",SwigwxGDIObjectTowxObject
},
10445 { "_signed_short","_WXTYPE",0},
10446 { "_signed_short","_short",0},
10447 { "_wxMemoryDC","_wxBufferedPaintDC",SwigwxBufferedPaintDCTowxMemoryDC
},
10448 { "_wxMemoryDC","_wxBufferedDC",SwigwxBufferedDCTowxMemoryDC
},
10449 { "_unsigned_char","_byte",0},
10450 { "_unsigned_int","_wxCoord",0},
10451 { "_unsigned_int","_wxPrintQuality",0},
10452 { "_unsigned_int","_time_t",0},
10453 { "_unsigned_int","_size_t",0},
10454 { "_unsigned_int","_uint",0},
10455 { "_unsigned_int","_wxWindowID",0},
10456 { "_unsigned_int","_int",0},
10457 { "_short","_WXTYPE",0},
10458 { "_short","_unsigned_short",0},
10459 { "_short","_signed_short",0},
10460 { "_wxWindowID","_wxCoord",0},
10461 { "_wxWindowID","_wxPrintQuality",0},
10462 { "_wxWindowID","_time_t",0},
10463 { "_wxWindowID","_size_t",0},
10464 { "_wxWindowID","_EBool",0},
10465 { "_wxWindowID","_uint",0},
10466 { "_wxWindowID","_int",0},
10467 { "_wxWindowID","_signed_int",0},
10468 { "_wxWindowID","_unsigned_int",0},
10469 { "_int","_wxCoord",0},
10470 { "_int","_wxPrintQuality",0},
10471 { "_int","_time_t",0},
10472 { "_int","_size_t",0},
10473 { "_int","_EBool",0},
10474 { "_int","_uint",0},
10475 { "_int","_wxWindowID",0},
10476 { "_int","_unsigned_int",0},
10477 { "_int","_signed_int",0},
10478 { "_time_t","_wxCoord",0},
10479 { "_time_t","_wxPrintQuality",0},
10480 { "_time_t","_unsigned_int",0},
10481 { "_time_t","_int",0},
10482 { "_time_t","_wxWindowID",0},
10483 { "_time_t","_uint",0},
10484 { "_time_t","_size_t",0},
10485 { "_wxCoord","_int",0},
10486 { "_wxCoord","_signed_int",0},
10487 { "_wxCoord","_unsigned_int",0},
10488 { "_wxCoord","_wxWindowID",0},
10489 { "_wxCoord","_uint",0},
10490 { "_wxCoord","_EBool",0},
10491 { "_wxCoord","_size_t",0},
10492 { "_wxCoord","_time_t",0},
10493 { "_wxCoord","_wxPrintQuality",0},
10496 static PyObject
*SWIG_globals
;
10500 SWIGEXPORT(void) initgdic() {
10502 SWIG_globals
= SWIG_newvarlink();
10503 m
= Py_InitModule("gdic", gdicMethods
);
10504 d
= PyModule_GetDict(m
);
10505 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_NORMAL", PyInt_FromLong((long) wxIMAGELIST_DRAW_NORMAL
));
10506 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_TRANSPARENT", PyInt_FromLong((long) wxIMAGELIST_DRAW_TRANSPARENT
));
10507 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_SELECTED", PyInt_FromLong((long) wxIMAGELIST_DRAW_SELECTED
));
10508 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_FOCUSED", PyInt_FromLong((long) wxIMAGELIST_DRAW_FOCUSED
));
10509 PyDict_SetItemString(d
,"wxIMAGE_LIST_NORMAL", PyInt_FromLong((long) wxIMAGE_LIST_NORMAL
));
10510 PyDict_SetItemString(d
,"wxIMAGE_LIST_SMALL", PyInt_FromLong((long) wxIMAGE_LIST_SMALL
));
10511 PyDict_SetItemString(d
,"wxIMAGE_LIST_STATE", PyInt_FromLong((long) wxIMAGE_LIST_STATE
));
10512 PyDict_SetItemString(d
,"wxOutRegion", PyInt_FromLong((long) wxOutRegion
));
10513 PyDict_SetItemString(d
,"wxPartRegion", PyInt_FromLong((long) wxPartRegion
));
10514 PyDict_SetItemString(d
,"wxInRegion", PyInt_FromLong((long) wxInRegion
));
10515 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
10516 SWIG_addvarlink(SWIG_globals
,"wxNORMAL_FONT",_wrap_wxNORMAL_FONT_get
, _wrap_wxNORMAL_FONT_set
);
10517 SWIG_addvarlink(SWIG_globals
,"wxSMALL_FONT",_wrap_wxSMALL_FONT_get
, _wrap_wxSMALL_FONT_set
);
10518 SWIG_addvarlink(SWIG_globals
,"wxITALIC_FONT",_wrap_wxITALIC_FONT_get
, _wrap_wxITALIC_FONT_set
);
10519 SWIG_addvarlink(SWIG_globals
,"wxSWISS_FONT",_wrap_wxSWISS_FONT_get
, _wrap_wxSWISS_FONT_set
);
10520 SWIG_addvarlink(SWIG_globals
,"wxRED_PEN",_wrap_wxRED_PEN_get
, _wrap_wxRED_PEN_set
);
10521 SWIG_addvarlink(SWIG_globals
,"wxCYAN_PEN",_wrap_wxCYAN_PEN_get
, _wrap_wxCYAN_PEN_set
);
10522 SWIG_addvarlink(SWIG_globals
,"wxGREEN_PEN",_wrap_wxGREEN_PEN_get
, _wrap_wxGREEN_PEN_set
);
10523 SWIG_addvarlink(SWIG_globals
,"wxBLACK_PEN",_wrap_wxBLACK_PEN_get
, _wrap_wxBLACK_PEN_set
);
10524 SWIG_addvarlink(SWIG_globals
,"wxWHITE_PEN",_wrap_wxWHITE_PEN_get
, _wrap_wxWHITE_PEN_set
);
10525 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_PEN",_wrap_wxTRANSPARENT_PEN_get
, _wrap_wxTRANSPARENT_PEN_set
);
10526 SWIG_addvarlink(SWIG_globals
,"wxBLACK_DASHED_PEN",_wrap_wxBLACK_DASHED_PEN_get
, _wrap_wxBLACK_DASHED_PEN_set
);
10527 SWIG_addvarlink(SWIG_globals
,"wxGREY_PEN",_wrap_wxGREY_PEN_get
, _wrap_wxGREY_PEN_set
);
10528 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_PEN",_wrap_wxMEDIUM_GREY_PEN_get
, _wrap_wxMEDIUM_GREY_PEN_set
);
10529 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_PEN",_wrap_wxLIGHT_GREY_PEN_get
, _wrap_wxLIGHT_GREY_PEN_set
);
10530 SWIG_addvarlink(SWIG_globals
,"wxBLUE_BRUSH",_wrap_wxBLUE_BRUSH_get
, _wrap_wxBLUE_BRUSH_set
);
10531 SWIG_addvarlink(SWIG_globals
,"wxGREEN_BRUSH",_wrap_wxGREEN_BRUSH_get
, _wrap_wxGREEN_BRUSH_set
);
10532 SWIG_addvarlink(SWIG_globals
,"wxWHITE_BRUSH",_wrap_wxWHITE_BRUSH_get
, _wrap_wxWHITE_BRUSH_set
);
10533 SWIG_addvarlink(SWIG_globals
,"wxBLACK_BRUSH",_wrap_wxBLACK_BRUSH_get
, _wrap_wxBLACK_BRUSH_set
);
10534 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_BRUSH",_wrap_wxTRANSPARENT_BRUSH_get
, _wrap_wxTRANSPARENT_BRUSH_set
);
10535 SWIG_addvarlink(SWIG_globals
,"wxCYAN_BRUSH",_wrap_wxCYAN_BRUSH_get
, _wrap_wxCYAN_BRUSH_set
);
10536 SWIG_addvarlink(SWIG_globals
,"wxRED_BRUSH",_wrap_wxRED_BRUSH_get
, _wrap_wxRED_BRUSH_set
);
10537 SWIG_addvarlink(SWIG_globals
,"wxGREY_BRUSH",_wrap_wxGREY_BRUSH_get
, _wrap_wxGREY_BRUSH_set
);
10538 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_BRUSH",_wrap_wxMEDIUM_GREY_BRUSH_get
, _wrap_wxMEDIUM_GREY_BRUSH_set
);
10539 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_BRUSH",_wrap_wxLIGHT_GREY_BRUSH_get
, _wrap_wxLIGHT_GREY_BRUSH_set
);
10540 SWIG_addvarlink(SWIG_globals
,"wxBLACK",_wrap_wxBLACK_get
, _wrap_wxBLACK_set
);
10541 SWIG_addvarlink(SWIG_globals
,"wxWHITE",_wrap_wxWHITE_get
, _wrap_wxWHITE_set
);
10542 SWIG_addvarlink(SWIG_globals
,"wxRED",_wrap_wxRED_get
, _wrap_wxRED_set
);
10543 SWIG_addvarlink(SWIG_globals
,"wxBLUE",_wrap_wxBLUE_get
, _wrap_wxBLUE_set
);
10544 SWIG_addvarlink(SWIG_globals
,"wxGREEN",_wrap_wxGREEN_get
, _wrap_wxGREEN_set
);
10545 SWIG_addvarlink(SWIG_globals
,"wxCYAN",_wrap_wxCYAN_get
, _wrap_wxCYAN_set
);
10546 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY",_wrap_wxLIGHT_GREY_get
, _wrap_wxLIGHT_GREY_set
);
10547 SWIG_addvarlink(SWIG_globals
,"wxSTANDARD_CURSOR",_wrap_wxSTANDARD_CURSOR_get
, _wrap_wxSTANDARD_CURSOR_set
);
10548 SWIG_addvarlink(SWIG_globals
,"wxHOURGLASS_CURSOR",_wrap_wxHOURGLASS_CURSOR_get
, _wrap_wxHOURGLASS_CURSOR_set
);
10549 SWIG_addvarlink(SWIG_globals
,"wxCROSS_CURSOR",_wrap_wxCROSS_CURSOR_get
, _wrap_wxCROSS_CURSOR_set
);
10550 SWIG_addvarlink(SWIG_globals
,"wxNullBitmap",_wrap_wxNullBitmap_get
, _wrap_wxNullBitmap_set
);
10551 SWIG_addvarlink(SWIG_globals
,"wxNullIcon",_wrap_wxNullIcon_get
, _wrap_wxNullIcon_set
);
10552 SWIG_addvarlink(SWIG_globals
,"wxNullCursor",_wrap_wxNullCursor_get
, _wrap_wxNullCursor_set
);
10553 SWIG_addvarlink(SWIG_globals
,"wxNullPen",_wrap_wxNullPen_get
, _wrap_wxNullPen_set
);
10554 SWIG_addvarlink(SWIG_globals
,"wxNullBrush",_wrap_wxNullBrush_get
, _wrap_wxNullBrush_set
);
10555 SWIG_addvarlink(SWIG_globals
,"wxNullPalette",_wrap_wxNullPalette_get
, _wrap_wxNullPalette_set
);
10556 SWIG_addvarlink(SWIG_globals
,"wxNullFont",_wrap_wxNullFont_get
, _wrap_wxNullFont_set
);
10557 SWIG_addvarlink(SWIG_globals
,"wxNullColour",_wrap_wxNullColour_get
, _wrap_wxNullColour_set
);
10558 SWIG_addvarlink(SWIG_globals
,"wxTheFontList",_wrap_wxTheFontList_get
, _wrap_wxTheFontList_set
);
10559 SWIG_addvarlink(SWIG_globals
,"wxThePenList",_wrap_wxThePenList_get
, _wrap_wxThePenList_set
);
10560 SWIG_addvarlink(SWIG_globals
,"wxTheBrushList",_wrap_wxTheBrushList_get
, _wrap_wxTheBrushList_set
);
10561 SWIG_addvarlink(SWIG_globals
,"wxTheColourDatabase",_wrap_wxTheColourDatabase_get
, _wrap_wxTheColourDatabase_set
);
10564 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
10565 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);