2 * FILE : src/msw/gdi.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
26 /* Definitions for Windows/Unix exporting */
27 #if defined(__WIN32__)
28 # if defined(_MSC_VER)
29 # define SWIGEXPORT(a) __declspec(dllexport) a
31 # if defined(__BORLANDC__)
32 # define SWIGEXPORT(a) a _export
34 # define SWIGEXPORT(a) a
38 # define SWIGEXPORT(a) a
44 extern void SWIG_MakePtr(char *, void *, char *);
45 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46 extern char *SWIG_GetPtr(char *, void **, char *);
47 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
48 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
49 extern PyObject
*SWIG_newvarlink(void);
53 #define SWIG_init initgdic
55 #define SWIG_name "gdic"
58 #include <wx/imaglist.h>
59 #include <wx/fontmap.h>
60 #include <wx/fontenc.h>
61 #include <wx/fontmap.h>
62 #include <wx/fontutil.h>
63 #include <wx/dcbuffer.h>
64 #include <wx/dcmirror.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(PyObject
* bits
, int width
, int height
, int depth
= 1 ) {
142 PyString_AsStringAndSize(bits
, &buf
, &length
);
143 return new wxBitmap(buf
, width
, height
, depth
);
148 // wxBitmap* wxBitmapFromData(PyObject* data, long type,
149 // int width, int height, int depth = 1) {
150 // if (! PyString_Check(data)) {
151 // PyErr_SetString(PyExc_TypeError, "Expected string object");
154 // return new wxBitmap((void*)PyString_AsString(data), type, width, height, depth);
158 wxMask
* wxMaskColour(const wxBitmap
& bitmap
, const wxColour
& colour
) {
159 return new wxMask(bitmap
, colour
);
161 // Implementations of some alternate "constructors"
162 wxIcon
* wxEmptyIcon() {
166 wxIcon
* wxIconFromXPMData(PyObject
* listOfStrings
) {
167 char** cArray
= NULL
;
170 cArray
= ConvertListOfStrings(listOfStrings
);
173 icon
= new wxIcon(cArray
);
178 wxIcon
* wxIconFromBitmap(const wxBitmap
& bmp
) {
179 wxIcon
* icon
= new wxIcon();
180 icon
->CopyFromBitmap(bmp
);
184 wxIcon
* wxIconFromLocation(const wxIconLocation
& loc
) {
185 wxIcon
* icon
= new wxIcon(loc
);
189 wxCursor
* wxPyStockCursor(int id
) {
190 return new wxCursor(id
);
193 wxCursor
* wxCursorFromImage(const wxImage
& image
) {
194 return new wxCursor(image
);
197 wxCursor
* wxCursorFromBits(PyObject
* bits
, int width
, int height
,
198 int hotSpotX
=-1, int hotSpotY
=-1,
199 PyObject
* maskBits
=0) {
201 char* maskbuf
= NULL
;
203 PyString_AsStringAndSize(bits
, &bitsbuf
, &length
);
205 PyString_AsStringAndSize(maskBits
, &maskbuf
, &length
);
206 return new wxCursor(bitsbuf
, width
, height
, hotSpotX
, hotSpotY
, maskbuf
);
208 // Alternate 'constructor'
209 wxColour
* wxNamedColour(const wxString
& colorName
) {
210 return new wxColour(colorName
);
213 class wxPyPen
: public wxPen
{
215 wxPyPen(wxColour
& colour
, int width
=1, int style
=wxSOLID
)
216 : wxPen(colour
, width
, style
)
223 void SetDashes(int nb_dashes
, const wxDash
*dash
) {
226 m_dash
= new wxDash
[nb_dashes
];
227 for (int i
=0; i
<nb_dashes
; i
++) {
230 wxPen::SetDashes(nb_dashes
, m_dash
);
237 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
243 // Alternate 'constructor'
244 wxMemoryDC
* wxMemoryDCFromDC(wxDC
* oldDC
) {
245 return new wxMemoryDC(oldDC
);
248 #include <wx/metafile.h>
251 extern wxFont
* wxNORMAL_FONT
;
252 extern wxFont
* wxSMALL_FONT
;
253 extern wxFont
* wxITALIC_FONT
;
254 extern wxFont
* wxSWISS_FONT
;
255 extern wxPen
* wxRED_PEN
;
256 extern wxPen
* wxCYAN_PEN
;
257 extern wxPen
* wxGREEN_PEN
;
258 extern wxPen
* wxBLACK_PEN
;
259 extern wxPen
* wxWHITE_PEN
;
260 extern wxPen
* wxTRANSPARENT_PEN
;
261 extern wxPen
* wxBLACK_DASHED_PEN
;
262 extern wxPen
* wxGREY_PEN
;
263 extern wxPen
* wxMEDIUM_GREY_PEN
;
264 extern wxPen
* wxLIGHT_GREY_PEN
;
265 extern wxBrush
* wxBLUE_BRUSH
;
266 extern wxBrush
* wxGREEN_BRUSH
;
267 extern wxBrush
* wxWHITE_BRUSH
;
268 extern wxBrush
* wxBLACK_BRUSH
;
269 extern wxBrush
* wxTRANSPARENT_BRUSH
;
270 extern wxBrush
* wxCYAN_BRUSH
;
271 extern wxBrush
* wxRED_BRUSH
;
272 extern wxBrush
* wxGREY_BRUSH
;
273 extern wxBrush
* wxMEDIUM_GREY_BRUSH
;
274 extern wxBrush
* wxLIGHT_GREY_BRUSH
;
275 extern wxColour
* wxBLACK
;
276 extern wxColour
* wxWHITE
;
277 extern wxColour
* wxRED
;
278 extern wxColour
* wxBLUE
;
279 extern wxColour
* wxGREEN
;
280 extern wxColour
* wxCYAN
;
281 extern wxColour
* wxLIGHT_GREY
;
282 extern wxCursor
* wxSTANDARD_CURSOR
;
283 extern wxCursor
* wxHOURGLASS_CURSOR
;
284 extern wxCursor
* wxCROSS_CURSOR
;
285 extern wxBitmap wxNullBitmap
;
286 extern wxIcon wxNullIcon
;
287 extern wxCursor wxNullCursor
;
288 extern wxPen wxNullPen
;
289 extern wxBrush wxNullBrush
;
290 extern wxPalette wxNullPalette
;
291 extern wxFont wxNullFont
;
292 extern wxColour wxNullColour
;
293 extern wxFontList
* wxTheFontList
;
294 extern wxPenList
* wxThePenList
;
295 extern wxBrushList
* wxTheBrushList
;
296 extern wxColourDatabase
* wxTheColourDatabase
;
302 static PyObject
*_wrap_wxEmptyBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
303 PyObject
* _resultobj
;
307 int _arg2
= (int ) -1;
308 char *_kwnames
[] = { "width","height","depth", NULL
};
312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ii|i:wxEmptyBitmap",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
316 _result
= (wxBitmap
*)wxEmptyBitmap(_arg0
,_arg1
,_arg2
);
318 wxPyEndAllowThreads(__tstate
);
319 if (PyErr_Occurred()) return NULL
;
321 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
322 _resultobj
= Py_BuildValue("s",_ptemp
);
325 _resultobj
= Py_None
;
330 static PyObject
*_wrap_wxBitmapFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
331 PyObject
* _resultobj
;
334 PyObject
* _obj0
= 0;
335 char *_kwnames
[] = { "listOfStrings", NULL
};
339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapFromXPMData",_kwnames
,&_obj0
))
345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
346 _result
= (wxBitmap
*)wxBitmapFromXPMData(_arg0
);
348 wxPyEndAllowThreads(__tstate
);
349 if (PyErr_Occurred()) return NULL
;
351 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
352 _resultobj
= Py_BuildValue("s",_ptemp
);
355 _resultobj
= Py_None
;
360 static PyObject
*_wrap_wxBitmapFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
361 PyObject
* _resultobj
;
364 PyObject
* _argo0
= 0;
365 char *_kwnames
[] = { "icon", NULL
};
369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapFromIcon",_kwnames
,&_argo0
))
372 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapFromIcon. Expected _wxIcon_p.");
378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
379 _result
= (wxBitmap
*)wxBitmapFromIcon(*_arg0
);
381 wxPyEndAllowThreads(__tstate
);
382 if (PyErr_Occurred()) return NULL
;
384 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
385 _resultobj
= Py_BuildValue("s",_ptemp
);
388 _resultobj
= Py_None
;
393 static PyObject
*_wrap_wxBitmapFromBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
394 PyObject
* _resultobj
;
399 int _arg3
= (int ) 1;
400 PyObject
* _obj0
= 0;
401 char *_kwnames
[] = { "bits","width","height","depth", NULL
};
405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxBitmapFromBits",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
))
411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
412 _result
= (wxBitmap
*)wxBitmapFromBits(_arg0
,_arg1
,_arg2
,_arg3
);
414 wxPyEndAllowThreads(__tstate
);
415 if (PyErr_Occurred()) return NULL
;
417 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
418 _resultobj
= Py_BuildValue("s",_ptemp
);
421 _resultobj
= Py_None
;
426 static PyObject
*_wrap_wxMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
427 PyObject
* _resultobj
;
431 PyObject
* _argo0
= 0;
433 PyObject
* _obj1
= 0;
434 char *_kwnames
[] = { "bitmap","colour", NULL
};
438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMaskColour",_kwnames
,&_argo0
,&_obj1
))
441 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMaskColour. Expected _wxBitmap_p.");
448 if (! wxColour_helper(_obj1
, &_arg1
))
452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
453 _result
= (wxMask
*)wxMaskColour(*_arg0
,*_arg1
);
455 wxPyEndAllowThreads(__tstate
);
456 if (PyErr_Occurred()) return NULL
;
458 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
459 _resultobj
= Py_BuildValue("s",_ptemp
);
462 _resultobj
= Py_None
;
467 static PyObject
*_wrap_wxEmptyIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
468 PyObject
* _resultobj
;
470 char *_kwnames
[] = { NULL
};
474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxEmptyIcon",_kwnames
))
477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
478 _result
= (wxIcon
*)wxEmptyIcon();
480 wxPyEndAllowThreads(__tstate
);
481 if (PyErr_Occurred()) return NULL
;
483 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
484 _resultobj
= Py_BuildValue("s",_ptemp
);
487 _resultobj
= Py_None
;
492 static PyObject
*_wrap_wxIconFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
493 PyObject
* _resultobj
;
496 PyObject
* _obj0
= 0;
497 char *_kwnames
[] = { "listOfStrings", NULL
};
501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIconFromXPMData",_kwnames
,&_obj0
))
507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
508 _result
= (wxIcon
*)wxIconFromXPMData(_arg0
);
510 wxPyEndAllowThreads(__tstate
);
511 if (PyErr_Occurred()) return NULL
;
513 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
514 _resultobj
= Py_BuildValue("s",_ptemp
);
517 _resultobj
= Py_None
;
522 static PyObject
*_wrap_wxIconFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
523 PyObject
* _resultobj
;
526 PyObject
* _argo0
= 0;
527 char *_kwnames
[] = { "bmp", NULL
};
531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIconFromBitmap",_kwnames
,&_argo0
))
534 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIconFromBitmap. Expected _wxBitmap_p.");
540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
541 _result
= (wxIcon
*)wxIconFromBitmap(*_arg0
);
543 wxPyEndAllowThreads(__tstate
);
544 if (PyErr_Occurred()) return NULL
;
546 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
547 _resultobj
= Py_BuildValue("s",_ptemp
);
550 _resultobj
= Py_None
;
555 static PyObject
*_wrap_wxIconFromLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
556 PyObject
* _resultobj
;
558 wxIconLocation
* _arg0
;
559 PyObject
* _argo0
= 0;
560 char *_kwnames
[] = { "loc", NULL
};
564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIconFromLocation",_kwnames
,&_argo0
))
567 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIconLocation_p")) {
568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIconFromLocation. Expected _wxIconLocation_p.");
573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
574 _result
= (wxIcon
*)wxIconFromLocation(*_arg0
);
576 wxPyEndAllowThreads(__tstate
);
577 if (PyErr_Occurred()) return NULL
;
579 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
580 _resultobj
= Py_BuildValue("s",_ptemp
);
583 _resultobj
= Py_None
;
588 static PyObject
*_wrap_wxStockCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
589 PyObject
* _resultobj
;
592 char *_kwnames
[] = { "id", NULL
};
596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxStockCursor",_kwnames
,&_arg0
))
599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
600 _result
= (wxCursor
*)wxPyStockCursor(_arg0
);
602 wxPyEndAllowThreads(__tstate
);
603 if (PyErr_Occurred()) return NULL
;
605 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCursor_p");
606 _resultobj
= Py_BuildValue("s",_ptemp
);
609 _resultobj
= Py_None
;
614 static PyObject
*_wrap_wxCursorFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
615 PyObject
* _resultobj
;
618 PyObject
* _argo0
= 0;
619 char *_kwnames
[] = { "image", NULL
};
623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCursorFromImage",_kwnames
,&_argo0
))
626 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImage_p")) {
627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursorFromImage. Expected _wxImage_p.");
632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
633 _result
= (wxCursor
*)wxCursorFromImage(*_arg0
);
635 wxPyEndAllowThreads(__tstate
);
636 if (PyErr_Occurred()) return NULL
;
638 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCursor_p");
639 _resultobj
= Py_BuildValue("s",_ptemp
);
642 _resultobj
= Py_None
;
647 static PyObject
*_wrap_wxCursorFromBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
648 PyObject
* _resultobj
;
653 int _arg3
= (int ) -1;
654 int _arg4
= (int ) -1;
655 PyObject
* _arg5
= (PyObject
*) 0;
656 PyObject
* _obj0
= 0;
657 PyObject
* _obj5
= 0;
658 char *_kwnames
[] = { "bits","width","height","hotSpotX","hotSpotY","maskBits", NULL
};
662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|iiO:wxCursorFromBits",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
))
672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
673 _result
= (wxCursor
*)wxCursorFromBits(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
675 wxPyEndAllowThreads(__tstate
);
676 if (PyErr_Occurred()) return NULL
;
678 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCursor_p");
679 _resultobj
= Py_BuildValue("s",_ptemp
);
682 _resultobj
= Py_None
;
687 static PyObject
*_wrap_wxNamedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
688 PyObject
* _resultobj
;
691 PyObject
* _obj0
= 0;
692 char *_kwnames
[] = { "colorName", NULL
};
696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNamedColour",_kwnames
,&_obj0
))
699 _arg0
= wxString_in_helper(_obj0
);
704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
705 _result
= (wxColour
*)wxNamedColour(*_arg0
);
707 wxPyEndAllowThreads(__tstate
);
708 if (PyErr_Occurred()) return NULL
;
710 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
711 _resultobj
= Py_BuildValue("s",_ptemp
);
714 _resultobj
= Py_None
;
723 static PyObject
*_wrap_wxMemoryDCFromDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
724 PyObject
* _resultobj
;
725 wxMemoryDC
* _result
;
727 PyObject
* _argo0
= 0;
728 char *_kwnames
[] = { "oldDC", NULL
};
732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMemoryDCFromDC",_kwnames
,&_argo0
))
735 if (_argo0
== Py_None
) { _arg0
= NULL
; }
736 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDCFromDC. Expected _wxDC_p.");
742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
743 _result
= (wxMemoryDC
*)wxMemoryDCFromDC(_arg0
);
745 wxPyEndAllowThreads(__tstate
);
746 if (PyErr_Occurred()) return NULL
;
748 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
749 _resultobj
= Py_BuildValue("s",_ptemp
);
752 _resultobj
= Py_None
;
757 static int _wrap_wxNORMAL_FONT_set(PyObject
*val
) {
759 PyErr_SetString(PyExc_TypeError
,"Variable wxNORMAL_FONT is read-only.");
763 static PyObject
*_wrap_wxNORMAL_FONT_get() {
767 SWIG_MakePtr(ptemp
, (char *) wxNORMAL_FONT
,"_wxFont_p");
768 pyobj
= PyString_FromString(ptemp
);
772 static int _wrap_wxSMALL_FONT_set(PyObject
*val
) {
774 PyErr_SetString(PyExc_TypeError
,"Variable wxSMALL_FONT is read-only.");
778 static PyObject
*_wrap_wxSMALL_FONT_get() {
782 SWIG_MakePtr(ptemp
, (char *) wxSMALL_FONT
,"_wxFont_p");
783 pyobj
= PyString_FromString(ptemp
);
787 static int _wrap_wxITALIC_FONT_set(PyObject
*val
) {
789 PyErr_SetString(PyExc_TypeError
,"Variable wxITALIC_FONT is read-only.");
793 static PyObject
*_wrap_wxITALIC_FONT_get() {
797 SWIG_MakePtr(ptemp
, (char *) wxITALIC_FONT
,"_wxFont_p");
798 pyobj
= PyString_FromString(ptemp
);
802 static int _wrap_wxSWISS_FONT_set(PyObject
*val
) {
804 PyErr_SetString(PyExc_TypeError
,"Variable wxSWISS_FONT is read-only.");
808 static PyObject
*_wrap_wxSWISS_FONT_get() {
812 SWIG_MakePtr(ptemp
, (char *) wxSWISS_FONT
,"_wxFont_p");
813 pyobj
= PyString_FromString(ptemp
);
817 static int _wrap_wxRED_PEN_set(PyObject
*val
) {
819 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_PEN is read-only.");
823 static PyObject
*_wrap_wxRED_PEN_get() {
827 SWIG_MakePtr(ptemp
, (char *) wxRED_PEN
,"_wxPen_p");
828 pyobj
= PyString_FromString(ptemp
);
832 static int _wrap_wxCYAN_PEN_set(PyObject
*val
) {
834 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_PEN is read-only.");
838 static PyObject
*_wrap_wxCYAN_PEN_get() {
842 SWIG_MakePtr(ptemp
, (char *) wxCYAN_PEN
,"_wxPen_p");
843 pyobj
= PyString_FromString(ptemp
);
847 static int _wrap_wxGREEN_PEN_set(PyObject
*val
) {
849 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_PEN is read-only.");
853 static PyObject
*_wrap_wxGREEN_PEN_get() {
857 SWIG_MakePtr(ptemp
, (char *) wxGREEN_PEN
,"_wxPen_p");
858 pyobj
= PyString_FromString(ptemp
);
862 static int _wrap_wxBLACK_PEN_set(PyObject
*val
) {
864 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_PEN is read-only.");
868 static PyObject
*_wrap_wxBLACK_PEN_get() {
872 SWIG_MakePtr(ptemp
, (char *) wxBLACK_PEN
,"_wxPen_p");
873 pyobj
= PyString_FromString(ptemp
);
877 static int _wrap_wxWHITE_PEN_set(PyObject
*val
) {
879 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_PEN is read-only.");
883 static PyObject
*_wrap_wxWHITE_PEN_get() {
887 SWIG_MakePtr(ptemp
, (char *) wxWHITE_PEN
,"_wxPen_p");
888 pyobj
= PyString_FromString(ptemp
);
892 static int _wrap_wxTRANSPARENT_PEN_set(PyObject
*val
) {
894 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_PEN is read-only.");
898 static PyObject
*_wrap_wxTRANSPARENT_PEN_get() {
902 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_PEN
,"_wxPen_p");
903 pyobj
= PyString_FromString(ptemp
);
907 static int _wrap_wxBLACK_DASHED_PEN_set(PyObject
*val
) {
909 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_DASHED_PEN is read-only.");
913 static PyObject
*_wrap_wxBLACK_DASHED_PEN_get() {
917 SWIG_MakePtr(ptemp
, (char *) wxBLACK_DASHED_PEN
,"_wxPen_p");
918 pyobj
= PyString_FromString(ptemp
);
922 static int _wrap_wxGREY_PEN_set(PyObject
*val
) {
924 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_PEN is read-only.");
928 static PyObject
*_wrap_wxGREY_PEN_get() {
932 SWIG_MakePtr(ptemp
, (char *) wxGREY_PEN
,"_wxPen_p");
933 pyobj
= PyString_FromString(ptemp
);
937 static int _wrap_wxMEDIUM_GREY_PEN_set(PyObject
*val
) {
939 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_PEN is read-only.");
943 static PyObject
*_wrap_wxMEDIUM_GREY_PEN_get() {
947 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_PEN
,"_wxPen_p");
948 pyobj
= PyString_FromString(ptemp
);
952 static int _wrap_wxLIGHT_GREY_PEN_set(PyObject
*val
) {
954 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_PEN is read-only.");
958 static PyObject
*_wrap_wxLIGHT_GREY_PEN_get() {
962 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_PEN
,"_wxPen_p");
963 pyobj
= PyString_FromString(ptemp
);
967 static int _wrap_wxBLUE_BRUSH_set(PyObject
*val
) {
969 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE_BRUSH is read-only.");
973 static PyObject
*_wrap_wxBLUE_BRUSH_get() {
977 SWIG_MakePtr(ptemp
, (char *) wxBLUE_BRUSH
,"_wxBrush_p");
978 pyobj
= PyString_FromString(ptemp
);
982 static int _wrap_wxGREEN_BRUSH_set(PyObject
*val
) {
984 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_BRUSH is read-only.");
988 static PyObject
*_wrap_wxGREEN_BRUSH_get() {
992 SWIG_MakePtr(ptemp
, (char *) wxGREEN_BRUSH
,"_wxBrush_p");
993 pyobj
= PyString_FromString(ptemp
);
997 static int _wrap_wxWHITE_BRUSH_set(PyObject
*val
) {
999 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_BRUSH is read-only.");
1003 static PyObject
*_wrap_wxWHITE_BRUSH_get() {
1007 SWIG_MakePtr(ptemp
, (char *) wxWHITE_BRUSH
,"_wxBrush_p");
1008 pyobj
= PyString_FromString(ptemp
);
1012 static int _wrap_wxBLACK_BRUSH_set(PyObject
*val
) {
1014 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_BRUSH is read-only.");
1018 static PyObject
*_wrap_wxBLACK_BRUSH_get() {
1022 SWIG_MakePtr(ptemp
, (char *) wxBLACK_BRUSH
,"_wxBrush_p");
1023 pyobj
= PyString_FromString(ptemp
);
1027 static int _wrap_wxTRANSPARENT_BRUSH_set(PyObject
*val
) {
1029 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_BRUSH is read-only.");
1033 static PyObject
*_wrap_wxTRANSPARENT_BRUSH_get() {
1037 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_BRUSH
,"_wxBrush_p");
1038 pyobj
= PyString_FromString(ptemp
);
1042 static int _wrap_wxCYAN_BRUSH_set(PyObject
*val
) {
1044 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_BRUSH is read-only.");
1048 static PyObject
*_wrap_wxCYAN_BRUSH_get() {
1052 SWIG_MakePtr(ptemp
, (char *) wxCYAN_BRUSH
,"_wxBrush_p");
1053 pyobj
= PyString_FromString(ptemp
);
1057 static int _wrap_wxRED_BRUSH_set(PyObject
*val
) {
1059 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_BRUSH is read-only.");
1063 static PyObject
*_wrap_wxRED_BRUSH_get() {
1067 SWIG_MakePtr(ptemp
, (char *) wxRED_BRUSH
,"_wxBrush_p");
1068 pyobj
= PyString_FromString(ptemp
);
1072 static int _wrap_wxGREY_BRUSH_set(PyObject
*val
) {
1074 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_BRUSH is read-only.");
1078 static PyObject
*_wrap_wxGREY_BRUSH_get() {
1082 SWIG_MakePtr(ptemp
, (char *) wxGREY_BRUSH
,"_wxBrush_p");
1083 pyobj
= PyString_FromString(ptemp
);
1087 static int _wrap_wxMEDIUM_GREY_BRUSH_set(PyObject
*val
) {
1089 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_BRUSH is read-only.");
1093 static PyObject
*_wrap_wxMEDIUM_GREY_BRUSH_get() {
1097 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_BRUSH
,"_wxBrush_p");
1098 pyobj
= PyString_FromString(ptemp
);
1102 static int _wrap_wxLIGHT_GREY_BRUSH_set(PyObject
*val
) {
1104 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_BRUSH is read-only.");
1108 static PyObject
*_wrap_wxLIGHT_GREY_BRUSH_get() {
1112 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_BRUSH
,"_wxBrush_p");
1113 pyobj
= PyString_FromString(ptemp
);
1117 static int _wrap_wxBLACK_set(PyObject
*val
) {
1119 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK is read-only.");
1123 static PyObject
*_wrap_wxBLACK_get() {
1127 SWIG_MakePtr(ptemp
, (char *) wxBLACK
,"_wxColour_p");
1128 pyobj
= PyString_FromString(ptemp
);
1132 static int _wrap_wxWHITE_set(PyObject
*val
) {
1134 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE is read-only.");
1138 static PyObject
*_wrap_wxWHITE_get() {
1142 SWIG_MakePtr(ptemp
, (char *) wxWHITE
,"_wxColour_p");
1143 pyobj
= PyString_FromString(ptemp
);
1147 static int _wrap_wxRED_set(PyObject
*val
) {
1149 PyErr_SetString(PyExc_TypeError
,"Variable wxRED is read-only.");
1153 static PyObject
*_wrap_wxRED_get() {
1157 SWIG_MakePtr(ptemp
, (char *) wxRED
,"_wxColour_p");
1158 pyobj
= PyString_FromString(ptemp
);
1162 static int _wrap_wxBLUE_set(PyObject
*val
) {
1164 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE is read-only.");
1168 static PyObject
*_wrap_wxBLUE_get() {
1172 SWIG_MakePtr(ptemp
, (char *) wxBLUE
,"_wxColour_p");
1173 pyobj
= PyString_FromString(ptemp
);
1177 static int _wrap_wxGREEN_set(PyObject
*val
) {
1179 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN is read-only.");
1183 static PyObject
*_wrap_wxGREEN_get() {
1187 SWIG_MakePtr(ptemp
, (char *) wxGREEN
,"_wxColour_p");
1188 pyobj
= PyString_FromString(ptemp
);
1192 static int _wrap_wxCYAN_set(PyObject
*val
) {
1194 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN is read-only.");
1198 static PyObject
*_wrap_wxCYAN_get() {
1202 SWIG_MakePtr(ptemp
, (char *) wxCYAN
,"_wxColour_p");
1203 pyobj
= PyString_FromString(ptemp
);
1207 static int _wrap_wxLIGHT_GREY_set(PyObject
*val
) {
1209 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY is read-only.");
1213 static PyObject
*_wrap_wxLIGHT_GREY_get() {
1217 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY
,"_wxColour_p");
1218 pyobj
= PyString_FromString(ptemp
);
1222 static int _wrap_wxSTANDARD_CURSOR_set(PyObject
*val
) {
1224 PyErr_SetString(PyExc_TypeError
,"Variable wxSTANDARD_CURSOR is read-only.");
1228 static PyObject
*_wrap_wxSTANDARD_CURSOR_get() {
1232 SWIG_MakePtr(ptemp
, (char *) wxSTANDARD_CURSOR
,"_wxCursor_p");
1233 pyobj
= PyString_FromString(ptemp
);
1237 static int _wrap_wxHOURGLASS_CURSOR_set(PyObject
*val
) {
1239 PyErr_SetString(PyExc_TypeError
,"Variable wxHOURGLASS_CURSOR is read-only.");
1243 static PyObject
*_wrap_wxHOURGLASS_CURSOR_get() {
1247 SWIG_MakePtr(ptemp
, (char *) wxHOURGLASS_CURSOR
,"_wxCursor_p");
1248 pyobj
= PyString_FromString(ptemp
);
1252 static int _wrap_wxCROSS_CURSOR_set(PyObject
*val
) {
1254 PyErr_SetString(PyExc_TypeError
,"Variable wxCROSS_CURSOR is read-only.");
1258 static PyObject
*_wrap_wxCROSS_CURSOR_get() {
1262 SWIG_MakePtr(ptemp
, (char *) wxCROSS_CURSOR
,"_wxCursor_p");
1263 pyobj
= PyString_FromString(ptemp
);
1267 static int _wrap_wxNullBitmap_set(PyObject
*val
) {
1269 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBitmap is read-only.");
1273 static PyObject
*_wrap_wxNullBitmap_get() {
1277 SWIG_MakePtr(ptemp
,(char *) &wxNullBitmap
,"_wxBitmap_p");
1278 pyobj
= PyString_FromString(ptemp
);
1282 static int _wrap_wxNullIcon_set(PyObject
*val
) {
1284 PyErr_SetString(PyExc_TypeError
,"Variable wxNullIcon is read-only.");
1288 static PyObject
*_wrap_wxNullIcon_get() {
1292 SWIG_MakePtr(ptemp
,(char *) &wxNullIcon
,"_wxIcon_p");
1293 pyobj
= PyString_FromString(ptemp
);
1297 static int _wrap_wxNullCursor_set(PyObject
*val
) {
1299 PyErr_SetString(PyExc_TypeError
,"Variable wxNullCursor is read-only.");
1303 static PyObject
*_wrap_wxNullCursor_get() {
1307 SWIG_MakePtr(ptemp
,(char *) &wxNullCursor
,"_wxCursor_p");
1308 pyobj
= PyString_FromString(ptemp
);
1312 static int _wrap_wxNullPen_set(PyObject
*val
) {
1314 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPen is read-only.");
1318 static PyObject
*_wrap_wxNullPen_get() {
1322 SWIG_MakePtr(ptemp
,(char *) &wxNullPen
,"_wxPen_p");
1323 pyobj
= PyString_FromString(ptemp
);
1327 static int _wrap_wxNullBrush_set(PyObject
*val
) {
1329 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBrush is read-only.");
1333 static PyObject
*_wrap_wxNullBrush_get() {
1337 SWIG_MakePtr(ptemp
,(char *) &wxNullBrush
,"_wxBrush_p");
1338 pyobj
= PyString_FromString(ptemp
);
1342 static int _wrap_wxNullPalette_set(PyObject
*val
) {
1344 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPalette is read-only.");
1348 static PyObject
*_wrap_wxNullPalette_get() {
1352 SWIG_MakePtr(ptemp
,(char *) &wxNullPalette
,"_wxPalette_p");
1353 pyobj
= PyString_FromString(ptemp
);
1357 static int _wrap_wxNullFont_set(PyObject
*val
) {
1359 PyErr_SetString(PyExc_TypeError
,"Variable wxNullFont is read-only.");
1363 static PyObject
*_wrap_wxNullFont_get() {
1367 SWIG_MakePtr(ptemp
,(char *) &wxNullFont
,"_wxFont_p");
1368 pyobj
= PyString_FromString(ptemp
);
1372 static int _wrap_wxNullColour_set(PyObject
*val
) {
1374 PyErr_SetString(PyExc_TypeError
,"Variable wxNullColour is read-only.");
1378 static PyObject
*_wrap_wxNullColour_get() {
1382 SWIG_MakePtr(ptemp
,(char *) &wxNullColour
,"_wxColour_p");
1383 pyobj
= PyString_FromString(ptemp
);
1387 static int _wrap_wxTheFontList_set(PyObject
*val
) {
1389 PyErr_SetString(PyExc_TypeError
,"Variable wxTheFontList is read-only.");
1393 static PyObject
*_wrap_wxTheFontList_get() {
1397 SWIG_MakePtr(ptemp
, (char *) wxTheFontList
,"_wxFontList_p");
1398 pyobj
= PyString_FromString(ptemp
);
1402 static int _wrap_wxThePenList_set(PyObject
*val
) {
1404 PyErr_SetString(PyExc_TypeError
,"Variable wxThePenList is read-only.");
1408 static PyObject
*_wrap_wxThePenList_get() {
1412 SWIG_MakePtr(ptemp
, (char *) wxThePenList
,"_wxPenList_p");
1413 pyobj
= PyString_FromString(ptemp
);
1417 static int _wrap_wxTheBrushList_set(PyObject
*val
) {
1419 PyErr_SetString(PyExc_TypeError
,"Variable wxTheBrushList is read-only.");
1423 static PyObject
*_wrap_wxTheBrushList_get() {
1427 SWIG_MakePtr(ptemp
, (char *) wxTheBrushList
,"_wxBrushList_p");
1428 pyobj
= PyString_FromString(ptemp
);
1432 static int _wrap_wxTheColourDatabase_set(PyObject
*val
) {
1434 PyErr_SetString(PyExc_TypeError
,"Variable wxTheColourDatabase is read-only.");
1438 static PyObject
*_wrap_wxTheColourDatabase_get() {
1442 SWIG_MakePtr(ptemp
, (char *) wxTheColourDatabase
,"_wxColourDatabase_p");
1443 pyobj
= PyString_FromString(ptemp
);
1447 static void *SwigwxGDIObjectTowxObject(void *ptr
) {
1450 src
= (wxGDIObject
*) ptr
;
1451 dest
= (wxObject
*) src
;
1452 return (void *) dest
;
1455 #define new_wxGDIObject() (new wxGDIObject())
1456 static PyObject
*_wrap_new_wxGDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1457 PyObject
* _resultobj
;
1458 wxGDIObject
* _result
;
1459 char *_kwnames
[] = { NULL
};
1463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGDIObject",_kwnames
))
1466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1467 _result
= (wxGDIObject
*)new_wxGDIObject();
1469 wxPyEndAllowThreads(__tstate
);
1470 if (PyErr_Occurred()) return NULL
;
1472 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGDIObject_p");
1473 _resultobj
= Py_BuildValue("s",_ptemp
);
1476 _resultobj
= Py_None
;
1481 #define delete_wxGDIObject(_swigobj) (delete _swigobj)
1482 static PyObject
*_wrap_delete_wxGDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1483 PyObject
* _resultobj
;
1484 wxGDIObject
* _arg0
;
1485 PyObject
* _argo0
= 0;
1486 char *_kwnames
[] = { "self", NULL
};
1489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxGDIObject",_kwnames
,&_argo0
))
1492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGDIObject_p")) {
1494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxGDIObject. Expected _wxGDIObject_p.");
1499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1500 delete_wxGDIObject(_arg0
);
1502 wxPyEndAllowThreads(__tstate
);
1503 if (PyErr_Occurred()) return NULL
;
1504 } Py_INCREF(Py_None
);
1505 _resultobj
= Py_None
;
1509 #define wxGDIObject_GetVisible(_swigobj) (_swigobj->GetVisible())
1510 static PyObject
*_wrap_wxGDIObject_GetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1511 PyObject
* _resultobj
;
1513 wxGDIObject
* _arg0
;
1514 PyObject
* _argo0
= 0;
1515 char *_kwnames
[] = { "self", NULL
};
1518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGDIObject_GetVisible",_kwnames
,&_argo0
))
1521 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1522 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGDIObject_p")) {
1523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGDIObject_GetVisible. Expected _wxGDIObject_p.");
1528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1529 _result
= (bool )wxGDIObject_GetVisible(_arg0
);
1531 wxPyEndAllowThreads(__tstate
);
1532 if (PyErr_Occurred()) return NULL
;
1533 } _resultobj
= Py_BuildValue("i",_result
);
1537 #define wxGDIObject_SetVisible(_swigobj,_swigarg0) (_swigobj->SetVisible(_swigarg0))
1538 static PyObject
*_wrap_wxGDIObject_SetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1539 PyObject
* _resultobj
;
1540 wxGDIObject
* _arg0
;
1542 PyObject
* _argo0
= 0;
1544 char *_kwnames
[] = { "self","visible", NULL
};
1547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGDIObject_SetVisible",_kwnames
,&_argo0
,&tempbool1
))
1550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGDIObject_p")) {
1552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGDIObject_SetVisible. Expected _wxGDIObject_p.");
1556 _arg1
= (bool ) tempbool1
;
1558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1559 wxGDIObject_SetVisible(_arg0
,_arg1
);
1561 wxPyEndAllowThreads(__tstate
);
1562 if (PyErr_Occurred()) return NULL
;
1563 } Py_INCREF(Py_None
);
1564 _resultobj
= Py_None
;
1568 #define wxGDIObject_IsNull(_swigobj) (_swigobj->IsNull())
1569 static PyObject
*_wrap_wxGDIObject_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1570 PyObject
* _resultobj
;
1572 wxGDIObject
* _arg0
;
1573 PyObject
* _argo0
= 0;
1574 char *_kwnames
[] = { "self", NULL
};
1577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGDIObject_IsNull",_kwnames
,&_argo0
))
1580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGDIObject_p")) {
1582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGDIObject_IsNull. Expected _wxGDIObject_p.");
1587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1588 _result
= (bool )wxGDIObject_IsNull(_arg0
);
1590 wxPyEndAllowThreads(__tstate
);
1591 if (PyErr_Occurred()) return NULL
;
1592 } _resultobj
= Py_BuildValue("i",_result
);
1596 static void *SwigwxBitmapTowxGDIObject(void *ptr
) {
1599 src
= (wxBitmap
*) ptr
;
1600 dest
= (wxGDIObject
*) src
;
1601 return (void *) dest
;
1604 static void *SwigwxBitmapTowxObject(void *ptr
) {
1607 src
= (wxBitmap
*) ptr
;
1608 dest
= (wxObject
*) src
;
1609 return (void *) dest
;
1612 #define new_wxBitmap(_swigarg0,_swigarg1) (new wxBitmap(_swigarg0,_swigarg1))
1613 static PyObject
*_wrap_new_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1614 PyObject
* _resultobj
;
1617 wxBitmapType _arg1
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
1618 PyObject
* _obj0
= 0;
1619 char *_kwnames
[] = { "name","type", NULL
};
1623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxBitmap",_kwnames
,&_obj0
,&_arg1
))
1626 _arg0
= wxString_in_helper(_obj0
);
1631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1632 _result
= (wxBitmap
*)new_wxBitmap(*_arg0
,_arg1
);
1634 wxPyEndAllowThreads(__tstate
);
1635 if (PyErr_Occurred()) return NULL
;
1637 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1638 _resultobj
= Py_BuildValue("s",_ptemp
);
1641 _resultobj
= Py_None
;
1650 #define delete_wxBitmap(_swigobj) (delete _swigobj)
1651 static PyObject
*_wrap_delete_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1652 PyObject
* _resultobj
;
1654 PyObject
* _argo0
= 0;
1655 char *_kwnames
[] = { "self", NULL
};
1658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBitmap",_kwnames
,&_argo0
))
1661 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1662 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBitmap. Expected _wxBitmap_p.");
1668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1669 delete_wxBitmap(_arg0
);
1671 wxPyEndAllowThreads(__tstate
);
1672 if (PyErr_Occurred()) return NULL
;
1673 } Py_INCREF(Py_None
);
1674 _resultobj
= Py_None
;
1678 #define wxBitmap_GetPalette(_swigobj) (_swigobj->GetPalette())
1679 static PyObject
*_wrap_wxBitmap_GetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1680 PyObject
* _resultobj
;
1681 wxPalette
* _result
;
1683 PyObject
* _argo0
= 0;
1684 char *_kwnames
[] = { "self", NULL
};
1688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetPalette",_kwnames
,&_argo0
))
1691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetPalette. Expected _wxBitmap_p.");
1698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1699 _result
= (wxPalette
*)wxBitmap_GetPalette(_arg0
);
1701 wxPyEndAllowThreads(__tstate
);
1702 if (PyErr_Occurred()) return NULL
;
1704 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
1705 _resultobj
= Py_BuildValue("s",_ptemp
);
1708 _resultobj
= Py_None
;
1713 #define wxBitmap_GetMask(_swigobj) (_swigobj->GetMask())
1714 static PyObject
*_wrap_wxBitmap_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1715 PyObject
* _resultobj
;
1718 PyObject
* _argo0
= 0;
1719 char *_kwnames
[] = { "self", NULL
};
1723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetMask",_kwnames
,&_argo0
))
1726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetMask. Expected _wxBitmap_p.");
1733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1734 _result
= (wxMask
*)wxBitmap_GetMask(_arg0
);
1736 wxPyEndAllowThreads(__tstate
);
1737 if (PyErr_Occurred()) return NULL
;
1739 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
1740 _resultobj
= Py_BuildValue("s",_ptemp
);
1743 _resultobj
= Py_None
;
1748 #define wxBitmap_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1749 static PyObject
*_wrap_wxBitmap_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1750 PyObject
* _resultobj
;
1754 wxBitmapType _arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
1755 PyObject
* _argo0
= 0;
1756 PyObject
* _obj1
= 0;
1757 char *_kwnames
[] = { "self","name","type", NULL
};
1760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxBitmap_LoadFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_LoadFile. Expected _wxBitmap_p.");
1770 _arg1
= wxString_in_helper(_obj1
);
1775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1776 _result
= (bool )wxBitmap_LoadFile(_arg0
,*_arg1
,_arg2
);
1778 wxPyEndAllowThreads(__tstate
);
1779 if (PyErr_Occurred()) return NULL
;
1780 } _resultobj
= Py_BuildValue("i",_result
);
1788 #define wxBitmap_SaveFile(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SaveFile(_swigarg0,_swigarg1,_swigarg2))
1789 static PyObject
*_wrap_wxBitmap_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1790 PyObject
* _resultobj
;
1795 wxPalette
* _arg3
= (wxPalette
*) NULL
;
1796 PyObject
* _argo0
= 0;
1797 PyObject
* _obj1
= 0;
1798 PyObject
* _argo3
= 0;
1799 char *_kwnames
[] = { "self","name","type","palette", NULL
};
1802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|O:wxBitmap_SaveFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_argo3
))
1805 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1806 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SaveFile. Expected _wxBitmap_p.");
1812 _arg1
= wxString_in_helper(_obj1
);
1817 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1818 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxPalette_p")) {
1819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxBitmap_SaveFile. Expected _wxPalette_p.");
1824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1825 _result
= (bool )wxBitmap_SaveFile(_arg0
,*_arg1
,_arg2
,_arg3
);
1827 wxPyEndAllowThreads(__tstate
);
1828 if (PyErr_Occurred()) return NULL
;
1829 } _resultobj
= Py_BuildValue("i",_result
);
1837 #define wxBitmap_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
1838 static PyObject
*_wrap_wxBitmap_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1839 PyObject
* _resultobj
;
1842 PyObject
* _argo0
= 0;
1843 PyObject
* _argo1
= 0;
1844 char *_kwnames
[] = { "self","mask", NULL
};
1847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_SetMask",_kwnames
,&_argo0
,&_argo1
))
1850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetMask. Expected _wxBitmap_p.");
1857 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1858 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMask_p")) {
1859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_SetMask. Expected _wxMask_p.");
1864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1865 wxBitmap_SetMask(_arg0
,_arg1
);
1867 wxPyEndAllowThreads(__tstate
);
1868 if (PyErr_Occurred()) return NULL
;
1869 } Py_INCREF(Py_None
);
1870 _resultobj
= Py_None
;
1874 #define wxBitmap_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
1875 static PyObject
*_wrap_wxBitmap_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1876 PyObject
* _resultobj
;
1879 PyObject
* _argo0
= 0;
1880 PyObject
* _argo1
= 0;
1881 char *_kwnames
[] = { "self","palette", NULL
};
1884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_SetPalette",_kwnames
,&_argo0
,&_argo1
))
1887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetPalette. Expected _wxBitmap_p.");
1894 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPalette_p")) {
1895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_SetPalette. Expected _wxPalette_p.");
1900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1901 wxBitmap_SetPalette(_arg0
,*_arg1
);
1903 wxPyEndAllowThreads(__tstate
);
1904 if (PyErr_Occurred()) return NULL
;
1905 } Py_INCREF(Py_None
);
1906 _resultobj
= Py_None
;
1910 #define wxBitmap_GetHandle(_swigobj) (_swigobj->GetHandle())
1911 static PyObject
*_wrap_wxBitmap_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1912 PyObject
* _resultobj
;
1915 PyObject
* _argo0
= 0;
1916 char *_kwnames
[] = { "self", NULL
};
1919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetHandle",_kwnames
,&_argo0
))
1922 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1923 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetHandle. Expected _wxBitmap_p.");
1929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1930 _result
= (long )wxBitmap_GetHandle(_arg0
);
1932 wxPyEndAllowThreads(__tstate
);
1933 if (PyErr_Occurred()) return NULL
;
1934 } _resultobj
= Py_BuildValue("l",_result
);
1938 #define wxBitmap_SetHandle(_swigobj,_swigarg0) (_swigobj->SetHandle(_swigarg0))
1939 static PyObject
*_wrap_wxBitmap_SetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1940 PyObject
* _resultobj
;
1943 PyObject
* _argo0
= 0;
1944 char *_kwnames
[] = { "self","handle", NULL
};
1947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxBitmap_SetHandle",_kwnames
,&_argo0
,&_arg1
))
1950 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1951 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetHandle. Expected _wxBitmap_p.");
1957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1958 wxBitmap_SetHandle(_arg0
,_arg1
);
1960 wxPyEndAllowThreads(__tstate
);
1961 if (PyErr_Occurred()) return NULL
;
1962 } Py_INCREF(Py_None
);
1963 _resultobj
= Py_None
;
1967 #define wxBitmap_Ok(_swigobj) (_swigobj->Ok())
1968 static PyObject
*_wrap_wxBitmap_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1969 PyObject
* _resultobj
;
1972 PyObject
* _argo0
= 0;
1973 char *_kwnames
[] = { "self", NULL
};
1976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_Ok",_kwnames
,&_argo0
))
1979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_Ok. Expected _wxBitmap_p.");
1986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1987 _result
= (bool )wxBitmap_Ok(_arg0
);
1989 wxPyEndAllowThreads(__tstate
);
1990 if (PyErr_Occurred()) return NULL
;
1991 } _resultobj
= Py_BuildValue("i",_result
);
1995 #define wxBitmap_GetWidth(_swigobj) (_swigobj->GetWidth())
1996 static PyObject
*_wrap_wxBitmap_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1997 PyObject
* _resultobj
;
2000 PyObject
* _argo0
= 0;
2001 char *_kwnames
[] = { "self", NULL
};
2004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetWidth",_kwnames
,&_argo0
))
2007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
2009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetWidth. Expected _wxBitmap_p.");
2014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2015 _result
= (int )wxBitmap_GetWidth(_arg0
);
2017 wxPyEndAllowThreads(__tstate
);
2018 if (PyErr_Occurred()) return NULL
;
2019 } _resultobj
= Py_BuildValue("i",_result
);
2023 #define wxBitmap_GetHeight(_swigobj) (_swigobj->GetHeight())
2024 static PyObject
*_wrap_wxBitmap_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2025 PyObject
* _resultobj
;
2028 PyObject
* _argo0
= 0;
2029 char *_kwnames
[] = { "self", NULL
};
2032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetHeight",_kwnames
,&_argo0
))
2035 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2036 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
2037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetHeight. Expected _wxBitmap_p.");
2042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2043 _result
= (int )wxBitmap_GetHeight(_arg0
);
2045 wxPyEndAllowThreads(__tstate
);
2046 if (PyErr_Occurred()) return NULL
;
2047 } _resultobj
= Py_BuildValue("i",_result
);
2051 #define wxBitmap_GetDepth(_swigobj) (_swigobj->GetDepth())
2052 static PyObject
*_wrap_wxBitmap_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2053 PyObject
* _resultobj
;
2056 PyObject
* _argo0
= 0;
2057 char *_kwnames
[] = { "self", NULL
};
2060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetDepth",_kwnames
,&_argo0
))
2063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
2065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetDepth. Expected _wxBitmap_p.");
2070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2071 _result
= (int )wxBitmap_GetDepth(_arg0
);
2073 wxPyEndAllowThreads(__tstate
);
2074 if (PyErr_Occurred()) return NULL
;
2075 } _resultobj
= Py_BuildValue("i",_result
);
2079 #define wxBitmap_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2080 static PyObject
*_wrap_wxBitmap_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2081 PyObject
* _resultobj
;
2084 PyObject
* _argo0
= 0;
2085 char *_kwnames
[] = { "self","w", NULL
};
2088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetWidth",_kwnames
,&_argo0
,&_arg1
))
2091 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2092 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
2093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetWidth. Expected _wxBitmap_p.");
2098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2099 wxBitmap_SetWidth(_arg0
,_arg1
);
2101 wxPyEndAllowThreads(__tstate
);
2102 if (PyErr_Occurred()) return NULL
;
2103 } Py_INCREF(Py_None
);
2104 _resultobj
= Py_None
;
2108 #define wxBitmap_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
2109 static PyObject
*_wrap_wxBitmap_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2110 PyObject
* _resultobj
;
2113 PyObject
* _argo0
= 0;
2114 char *_kwnames
[] = { "self","h", NULL
};
2117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetHeight",_kwnames
,&_argo0
,&_arg1
))
2120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
2122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetHeight. Expected _wxBitmap_p.");
2127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2128 wxBitmap_SetHeight(_arg0
,_arg1
);
2130 wxPyEndAllowThreads(__tstate
);
2131 if (PyErr_Occurred()) return NULL
;
2132 } Py_INCREF(Py_None
);
2133 _resultobj
= Py_None
;
2137 #define wxBitmap_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
2138 static PyObject
*_wrap_wxBitmap_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2139 PyObject
* _resultobj
;
2142 PyObject
* _argo0
= 0;
2143 char *_kwnames
[] = { "self","d", NULL
};
2146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetDepth",_kwnames
,&_argo0
,&_arg1
))
2149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
2151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetDepth. Expected _wxBitmap_p.");
2156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2157 wxBitmap_SetDepth(_arg0
,_arg1
);
2159 wxPyEndAllowThreads(__tstate
);
2160 if (PyErr_Occurred()) return NULL
;
2161 } Py_INCREF(Py_None
);
2162 _resultobj
= Py_None
;
2166 #define wxBitmap_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2167 static PyObject
*_wrap_wxBitmap_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2168 PyObject
* _resultobj
;
2171 PyObject
* _argo0
= 0;
2173 PyObject
* _obj1
= 0;
2174 char *_kwnames
[] = { "self","size", NULL
};
2177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_SetSize",_kwnames
,&_argo0
,&_obj1
))
2180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
2182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetSize. Expected _wxBitmap_p.");
2188 if (! wxSize_helper(_obj1
, &_arg1
))
2192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2193 wxBitmap_SetSize(_arg0
,*_arg1
);
2195 wxPyEndAllowThreads(__tstate
);
2196 if (PyErr_Occurred()) return NULL
;
2197 } Py_INCREF(Py_None
);
2198 _resultobj
= Py_None
;
2202 #define wxBitmap_GetSubBitmap(_swigobj,_swigarg0) (_swigobj->GetSubBitmap(_swigarg0))
2203 static PyObject
*_wrap_wxBitmap_GetSubBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2204 PyObject
* _resultobj
;
2208 PyObject
* _argo0
= 0;
2210 PyObject
* _obj1
= 0;
2211 char *_kwnames
[] = { "self","rect", NULL
};
2215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_GetSubBitmap",_kwnames
,&_argo0
,&_obj1
))
2218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
2220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetSubBitmap. Expected _wxBitmap_p.");
2226 if (! wxRect_helper(_obj1
, &_arg1
))
2230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2231 _result
= new wxBitmap (wxBitmap_GetSubBitmap(_arg0
,*_arg1
));
2233 wxPyEndAllowThreads(__tstate
);
2234 if (PyErr_Occurred()) return NULL
;
2235 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
2236 _resultobj
= Py_BuildValue("s",_ptemp
);
2240 #define wxBitmap_CopyFromIcon(_swigobj,_swigarg0) (_swigobj->CopyFromIcon(_swigarg0))
2241 static PyObject
*_wrap_wxBitmap_CopyFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2242 PyObject
* _resultobj
;
2246 PyObject
* _argo0
= 0;
2247 PyObject
* _argo1
= 0;
2248 char *_kwnames
[] = { "self","icon", NULL
};
2251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_CopyFromIcon",_kwnames
,&_argo0
,&_argo1
))
2254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
2256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_CopyFromIcon. Expected _wxBitmap_p.");
2261 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
2262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_CopyFromIcon. Expected _wxIcon_p.");
2267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2268 _result
= (bool )wxBitmap_CopyFromIcon(_arg0
,*_arg1
);
2270 wxPyEndAllowThreads(__tstate
);
2271 if (PyErr_Occurred()) return NULL
;
2272 } _resultobj
= Py_BuildValue("i",_result
);
2276 #define wxBitmap_CopyFromCursor(_swigobj,_swigarg0) (_swigobj->CopyFromCursor(_swigarg0))
2277 static PyObject
*_wrap_wxBitmap_CopyFromCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2278 PyObject
* _resultobj
;
2282 PyObject
* _argo0
= 0;
2283 PyObject
* _argo1
= 0;
2284 char *_kwnames
[] = { "self","cursor", NULL
};
2287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_CopyFromCursor",_kwnames
,&_argo0
,&_argo1
))
2290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
2292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_CopyFromCursor. Expected _wxBitmap_p.");
2297 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
2298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_CopyFromCursor. Expected _wxCursor_p.");
2303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2304 _result
= (bool )wxBitmap_CopyFromCursor(_arg0
,*_arg1
);
2306 wxPyEndAllowThreads(__tstate
);
2307 if (PyErr_Occurred()) return NULL
;
2308 } _resultobj
= Py_BuildValue("i",_result
);
2312 #define wxBitmap_GetQuality(_swigobj) (_swigobj->GetQuality())
2313 static PyObject
*_wrap_wxBitmap_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2314 PyObject
* _resultobj
;
2317 PyObject
* _argo0
= 0;
2318 char *_kwnames
[] = { "self", NULL
};
2321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetQuality",_kwnames
,&_argo0
))
2324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
2326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetQuality. Expected _wxBitmap_p.");
2331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2332 _result
= (int )wxBitmap_GetQuality(_arg0
);
2334 wxPyEndAllowThreads(__tstate
);
2335 if (PyErr_Occurred()) return NULL
;
2336 } _resultobj
= Py_BuildValue("i",_result
);
2340 #define wxBitmap_SetQuality(_swigobj,_swigarg0) (_swigobj->SetQuality(_swigarg0))
2341 static PyObject
*_wrap_wxBitmap_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2342 PyObject
* _resultobj
;
2345 PyObject
* _argo0
= 0;
2346 char *_kwnames
[] = { "self","q", NULL
};
2349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetQuality",_kwnames
,&_argo0
,&_arg1
))
2352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
2354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetQuality. Expected _wxBitmap_p.");
2359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2360 wxBitmap_SetQuality(_arg0
,_arg1
);
2362 wxPyEndAllowThreads(__tstate
);
2363 if (PyErr_Occurred()) return NULL
;
2364 } Py_INCREF(Py_None
);
2365 _resultobj
= Py_None
;
2369 static void *SwigwxMaskTowxObject(void *ptr
) {
2372 src
= (wxMask
*) ptr
;
2373 dest
= (wxObject
*) src
;
2374 return (void *) dest
;
2377 #define new_wxMask(_swigarg0) (new wxMask(_swigarg0))
2378 static PyObject
*_wrap_new_wxMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2379 PyObject
* _resultobj
;
2382 PyObject
* _argo0
= 0;
2383 char *_kwnames
[] = { "bitmap", NULL
};
2387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxMask",_kwnames
,&_argo0
))
2390 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
2391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMask. Expected _wxBitmap_p.");
2396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2397 _result
= (wxMask
*)new_wxMask(*_arg0
);
2399 wxPyEndAllowThreads(__tstate
);
2400 if (PyErr_Occurred()) return NULL
;
2402 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
2403 _resultobj
= Py_BuildValue("s",_ptemp
);
2406 _resultobj
= Py_None
;
2411 static void wxMask_Destroy(wxMask
*self
) { delete self
; }
2412 static PyObject
*_wrap_wxMask_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2413 PyObject
* _resultobj
;
2415 PyObject
* _argo0
= 0;
2416 char *_kwnames
[] = { "self", NULL
};
2419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMask_Destroy",_kwnames
,&_argo0
))
2422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMask_p")) {
2424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMask_Destroy. Expected _wxMask_p.");
2429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2430 wxMask_Destroy(_arg0
);
2432 wxPyEndAllowThreads(__tstate
);
2433 if (PyErr_Occurred()) return NULL
;
2434 } Py_INCREF(Py_None
);
2435 _resultobj
= Py_None
;
2439 static void *SwigwxIconTowxGDIObject(void *ptr
) {
2442 src
= (wxIcon
*) ptr
;
2443 dest
= (wxGDIObject
*) src
;
2444 return (void *) dest
;
2447 static void *SwigwxIconTowxObject(void *ptr
) {
2450 src
= (wxIcon
*) ptr
;
2451 dest
= (wxObject
*) src
;
2452 return (void *) dest
;
2455 #define new_wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2456 static PyObject
*_wrap_new_wxIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2457 PyObject
* _resultobj
;
2461 int _arg2
= (int ) -1;
2462 int _arg3
= (int ) -1;
2463 PyObject
* _obj0
= 0;
2464 char *_kwnames
[] = { "name","flags","desiredWidth","desiredHeight", NULL
};
2468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:new_wxIcon",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
))
2471 _arg0
= wxString_in_helper(_obj0
);
2476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2477 _result
= (wxIcon
*)new_wxIcon(*_arg0
,_arg1
,_arg2
,_arg3
);
2479 wxPyEndAllowThreads(__tstate
);
2480 if (PyErr_Occurred()) return NULL
;
2482 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
2483 _resultobj
= Py_BuildValue("s",_ptemp
);
2486 _resultobj
= Py_None
;
2495 #define delete_wxIcon(_swigobj) (delete _swigobj)
2496 static PyObject
*_wrap_delete_wxIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2497 PyObject
* _resultobj
;
2499 PyObject
* _argo0
= 0;
2500 char *_kwnames
[] = { "self", NULL
};
2503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxIcon",_kwnames
,&_argo0
))
2506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxIcon. Expected _wxIcon_p.");
2513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2514 delete_wxIcon(_arg0
);
2516 wxPyEndAllowThreads(__tstate
);
2517 if (PyErr_Occurred()) return NULL
;
2518 } Py_INCREF(Py_None
);
2519 _resultobj
= Py_None
;
2523 #define wxIcon_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
2524 static PyObject
*_wrap_wxIcon_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2525 PyObject
* _resultobj
;
2530 PyObject
* _argo0
= 0;
2531 PyObject
* _obj1
= 0;
2532 char *_kwnames
[] = { "self","name","flags", NULL
};
2535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOl:wxIcon_LoadFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
2538 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2539 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_LoadFile. Expected _wxIcon_p.");
2545 _arg1
= wxString_in_helper(_obj1
);
2550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2551 _result
= (bool )wxIcon_LoadFile(_arg0
,*_arg1
,_arg2
);
2553 wxPyEndAllowThreads(__tstate
);
2554 if (PyErr_Occurred()) return NULL
;
2555 } _resultobj
= Py_BuildValue("i",_result
);
2563 #define wxIcon_GetHandle(_swigobj) (_swigobj->GetHandle())
2564 static PyObject
*_wrap_wxIcon_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2565 PyObject
* _resultobj
;
2568 PyObject
* _argo0
= 0;
2569 char *_kwnames
[] = { "self", NULL
};
2572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetHandle",_kwnames
,&_argo0
))
2575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetHandle. Expected _wxIcon_p.");
2582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2583 _result
= (long )wxIcon_GetHandle(_arg0
);
2585 wxPyEndAllowThreads(__tstate
);
2586 if (PyErr_Occurred()) return NULL
;
2587 } _resultobj
= Py_BuildValue("l",_result
);
2591 #define wxIcon_SetHandle(_swigobj,_swigarg0) (_swigobj->SetHandle(_swigarg0))
2592 static PyObject
*_wrap_wxIcon_SetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2593 PyObject
* _resultobj
;
2596 PyObject
* _argo0
= 0;
2597 char *_kwnames
[] = { "self","handle", NULL
};
2600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxIcon_SetHandle",_kwnames
,&_argo0
,&_arg1
))
2603 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2604 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetHandle. Expected _wxIcon_p.");
2610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2611 wxIcon_SetHandle(_arg0
,_arg1
);
2613 wxPyEndAllowThreads(__tstate
);
2614 if (PyErr_Occurred()) return NULL
;
2615 } Py_INCREF(Py_None
);
2616 _resultobj
= Py_None
;
2620 #define wxIcon_Ok(_swigobj) (_swigobj->Ok())
2621 static PyObject
*_wrap_wxIcon_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2622 PyObject
* _resultobj
;
2625 PyObject
* _argo0
= 0;
2626 char *_kwnames
[] = { "self", NULL
};
2629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_Ok",_kwnames
,&_argo0
))
2632 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2633 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_Ok. Expected _wxIcon_p.");
2639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2640 _result
= (bool )wxIcon_Ok(_arg0
);
2642 wxPyEndAllowThreads(__tstate
);
2643 if (PyErr_Occurred()) return NULL
;
2644 } _resultobj
= Py_BuildValue("i",_result
);
2648 #define wxIcon_GetWidth(_swigobj) (_swigobj->GetWidth())
2649 static PyObject
*_wrap_wxIcon_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2650 PyObject
* _resultobj
;
2653 PyObject
* _argo0
= 0;
2654 char *_kwnames
[] = { "self", NULL
};
2657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetWidth",_kwnames
,&_argo0
))
2660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetWidth. Expected _wxIcon_p.");
2667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2668 _result
= (int )wxIcon_GetWidth(_arg0
);
2670 wxPyEndAllowThreads(__tstate
);
2671 if (PyErr_Occurred()) return NULL
;
2672 } _resultobj
= Py_BuildValue("i",_result
);
2676 #define wxIcon_GetHeight(_swigobj) (_swigobj->GetHeight())
2677 static PyObject
*_wrap_wxIcon_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2678 PyObject
* _resultobj
;
2681 PyObject
* _argo0
= 0;
2682 char *_kwnames
[] = { "self", NULL
};
2685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetHeight",_kwnames
,&_argo0
))
2688 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2689 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetHeight. Expected _wxIcon_p.");
2695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2696 _result
= (int )wxIcon_GetHeight(_arg0
);
2698 wxPyEndAllowThreads(__tstate
);
2699 if (PyErr_Occurred()) return NULL
;
2700 } _resultobj
= Py_BuildValue("i",_result
);
2704 #define wxIcon_GetDepth(_swigobj) (_swigobj->GetDepth())
2705 static PyObject
*_wrap_wxIcon_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2706 PyObject
* _resultobj
;
2709 PyObject
* _argo0
= 0;
2710 char *_kwnames
[] = { "self", NULL
};
2713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetDepth",_kwnames
,&_argo0
))
2716 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2717 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetDepth. Expected _wxIcon_p.");
2723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2724 _result
= (int )wxIcon_GetDepth(_arg0
);
2726 wxPyEndAllowThreads(__tstate
);
2727 if (PyErr_Occurred()) return NULL
;
2728 } _resultobj
= Py_BuildValue("i",_result
);
2732 #define wxIcon_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2733 static PyObject
*_wrap_wxIcon_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2734 PyObject
* _resultobj
;
2737 PyObject
* _argo0
= 0;
2738 char *_kwnames
[] = { "self","w", NULL
};
2741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetWidth",_kwnames
,&_argo0
,&_arg1
))
2744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetWidth. Expected _wxIcon_p.");
2751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2752 wxIcon_SetWidth(_arg0
,_arg1
);
2754 wxPyEndAllowThreads(__tstate
);
2755 if (PyErr_Occurred()) return NULL
;
2756 } Py_INCREF(Py_None
);
2757 _resultobj
= Py_None
;
2761 #define wxIcon_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
2762 static PyObject
*_wrap_wxIcon_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2763 PyObject
* _resultobj
;
2766 PyObject
* _argo0
= 0;
2767 char *_kwnames
[] = { "self","h", NULL
};
2770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetHeight",_kwnames
,&_argo0
,&_arg1
))
2773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetHeight. Expected _wxIcon_p.");
2780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2781 wxIcon_SetHeight(_arg0
,_arg1
);
2783 wxPyEndAllowThreads(__tstate
);
2784 if (PyErr_Occurred()) return NULL
;
2785 } Py_INCREF(Py_None
);
2786 _resultobj
= Py_None
;
2790 #define wxIcon_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
2791 static PyObject
*_wrap_wxIcon_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2792 PyObject
* _resultobj
;
2795 PyObject
* _argo0
= 0;
2796 char *_kwnames
[] = { "self","d", NULL
};
2799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetDepth",_kwnames
,&_argo0
,&_arg1
))
2802 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2803 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetDepth. Expected _wxIcon_p.");
2809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2810 wxIcon_SetDepth(_arg0
,_arg1
);
2812 wxPyEndAllowThreads(__tstate
);
2813 if (PyErr_Occurred()) return NULL
;
2814 } Py_INCREF(Py_None
);
2815 _resultobj
= Py_None
;
2819 #define wxIcon_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2820 static PyObject
*_wrap_wxIcon_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2821 PyObject
* _resultobj
;
2824 PyObject
* _argo0
= 0;
2826 PyObject
* _obj1
= 0;
2827 char *_kwnames
[] = { "self","size", NULL
};
2830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIcon_SetSize",_kwnames
,&_argo0
,&_obj1
))
2833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetSize. Expected _wxIcon_p.");
2841 if (! wxSize_helper(_obj1
, &_arg1
))
2845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2846 wxIcon_SetSize(_arg0
,*_arg1
);
2848 wxPyEndAllowThreads(__tstate
);
2849 if (PyErr_Occurred()) return NULL
;
2850 } Py_INCREF(Py_None
);
2851 _resultobj
= Py_None
;
2855 #define wxIcon_CopyFromBitmap(_swigobj,_swigarg0) (_swigobj->CopyFromBitmap(_swigarg0))
2856 static PyObject
*_wrap_wxIcon_CopyFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2857 PyObject
* _resultobj
;
2860 PyObject
* _argo0
= 0;
2861 PyObject
* _argo1
= 0;
2862 char *_kwnames
[] = { "self","bmp", NULL
};
2865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIcon_CopyFromBitmap",_kwnames
,&_argo0
,&_argo1
))
2868 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2869 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_CopyFromBitmap. Expected _wxIcon_p.");
2875 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
2876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIcon_CopyFromBitmap. Expected _wxBitmap_p.");
2881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2882 wxIcon_CopyFromBitmap(_arg0
,*_arg1
);
2884 wxPyEndAllowThreads(__tstate
);
2885 if (PyErr_Occurred()) return NULL
;
2886 } Py_INCREF(Py_None
);
2887 _resultobj
= Py_None
;
2891 static wxIconLocation
*new_wxIconLocation(const wxString
*filename
,int num
) {
2893 return new wxIconLocation(*filename
, num
);
2895 return new wxIconLocation(*filename
);
2899 static PyObject
*_wrap_new_wxIconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2900 PyObject
* _resultobj
;
2901 wxIconLocation
* _result
;
2902 wxString
* _arg0
= (wxString
*) &wxPyEmptyString
;
2903 int _arg1
= (int ) 0;
2904 PyObject
* _obj0
= 0;
2905 char *_kwnames
[] = { "filename","num", NULL
};
2909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxIconLocation",_kwnames
,&_obj0
,&_arg1
))
2913 _arg0
= wxString_in_helper(_obj0
);
2918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2919 _result
= (wxIconLocation
*)new_wxIconLocation(_arg0
,_arg1
);
2921 wxPyEndAllowThreads(__tstate
);
2922 if (PyErr_Occurred()) return NULL
;
2924 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIconLocation_p");
2925 _resultobj
= Py_BuildValue("s",_ptemp
);
2928 _resultobj
= Py_None
;
2937 #define delete_wxIconLocation(_swigobj) (delete _swigobj)
2938 static PyObject
*_wrap_delete_wxIconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2939 PyObject
* _resultobj
;
2940 wxIconLocation
* _arg0
;
2941 PyObject
* _argo0
= 0;
2942 char *_kwnames
[] = { "self", NULL
};
2945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxIconLocation",_kwnames
,&_argo0
))
2948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIconLocation_p")) {
2950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxIconLocation. Expected _wxIconLocation_p.");
2955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2956 delete_wxIconLocation(_arg0
);
2958 wxPyEndAllowThreads(__tstate
);
2959 if (PyErr_Occurred()) return NULL
;
2960 } Py_INCREF(Py_None
);
2961 _resultobj
= Py_None
;
2965 #define wxIconLocation_IsOk(_swigobj) (_swigobj->IsOk())
2966 static PyObject
*_wrap_wxIconLocation_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2967 PyObject
* _resultobj
;
2969 wxIconLocation
* _arg0
;
2970 PyObject
* _argo0
= 0;
2971 char *_kwnames
[] = { "self", NULL
};
2974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIconLocation_IsOk",_kwnames
,&_argo0
))
2977 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2978 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIconLocation_p")) {
2979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIconLocation_IsOk. Expected _wxIconLocation_p.");
2984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2985 _result
= (bool )wxIconLocation_IsOk(_arg0
);
2987 wxPyEndAllowThreads(__tstate
);
2988 if (PyErr_Occurred()) return NULL
;
2989 } _resultobj
= Py_BuildValue("i",_result
);
2993 #define wxIconLocation_SetFileName(_swigobj,_swigarg0) (_swigobj->SetFileName(_swigarg0))
2994 static PyObject
*_wrap_wxIconLocation_SetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2995 PyObject
* _resultobj
;
2996 wxIconLocation
* _arg0
;
2998 PyObject
* _argo0
= 0;
2999 PyObject
* _obj1
= 0;
3000 char *_kwnames
[] = { "self","filename", NULL
};
3003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIconLocation_SetFileName",_kwnames
,&_argo0
,&_obj1
))
3006 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3007 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIconLocation_p")) {
3008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIconLocation_SetFileName. Expected _wxIconLocation_p.");
3013 _arg1
= wxString_in_helper(_obj1
);
3018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3019 wxIconLocation_SetFileName(_arg0
,*_arg1
);
3021 wxPyEndAllowThreads(__tstate
);
3022 if (PyErr_Occurred()) return NULL
;
3023 } Py_INCREF(Py_None
);
3024 _resultobj
= Py_None
;
3032 #define wxIconLocation_GetFileName(_swigobj) (_swigobj->GetFileName())
3033 static PyObject
*_wrap_wxIconLocation_GetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3034 PyObject
* _resultobj
;
3036 wxIconLocation
* _arg0
;
3037 PyObject
* _argo0
= 0;
3038 char *_kwnames
[] = { "self", NULL
};
3041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIconLocation_GetFileName",_kwnames
,&_argo0
))
3044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIconLocation_p")) {
3046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIconLocation_GetFileName. Expected _wxIconLocation_p.");
3051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3052 const wxString
& _result_ref
= wxIconLocation_GetFileName(_arg0
);
3053 _result
= (wxString
*) &_result_ref
;
3055 wxPyEndAllowThreads(__tstate
);
3056 if (PyErr_Occurred()) return NULL
;
3059 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3061 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3067 static void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
) {
3069 self
->SetIndex(num
);
3074 static PyObject
*_wrap_wxIconLocation_SetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3075 PyObject
* _resultobj
;
3076 wxIconLocation
* _arg0
;
3078 PyObject
* _argo0
= 0;
3079 char *_kwnames
[] = { "self","num", NULL
};
3082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIconLocation_SetIndex",_kwnames
,&_argo0
,&_arg1
))
3085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIconLocation_p")) {
3087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIconLocation_SetIndex. Expected _wxIconLocation_p.");
3092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3093 wxIconLocation_SetIndex(_arg0
,_arg1
);
3095 wxPyEndAllowThreads(__tstate
);
3096 if (PyErr_Occurred()) return NULL
;
3097 } Py_INCREF(Py_None
);
3098 _resultobj
= Py_None
;
3102 static int wxIconLocation_GetIndex(wxIconLocation
*self
) {
3104 return self
->GetIndex();
3109 static PyObject
*_wrap_wxIconLocation_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3110 PyObject
* _resultobj
;
3112 wxIconLocation
* _arg0
;
3113 PyObject
* _argo0
= 0;
3114 char *_kwnames
[] = { "self", NULL
};
3117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIconLocation_GetIndex",_kwnames
,&_argo0
))
3120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIconLocation_p")) {
3122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIconLocation_GetIndex. Expected _wxIconLocation_p.");
3127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3128 _result
= (int )wxIconLocation_GetIndex(_arg0
);
3130 wxPyEndAllowThreads(__tstate
);
3131 if (PyErr_Occurred()) return NULL
;
3132 } _resultobj
= Py_BuildValue("i",_result
);
3136 #define new_wxIconBundle() (new wxIconBundle())
3137 static PyObject
*_wrap_new_wxIconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3138 PyObject
* _resultobj
;
3139 wxIconBundle
* _result
;
3140 char *_kwnames
[] = { NULL
};
3144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxIconBundle",_kwnames
))
3147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3148 _result
= (wxIconBundle
*)new_wxIconBundle();
3150 wxPyEndAllowThreads(__tstate
);
3151 if (PyErr_Occurred()) return NULL
;
3153 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIconBundle_p");
3154 _resultobj
= Py_BuildValue("s",_ptemp
);
3157 _resultobj
= Py_None
;
3162 #define new_wxIconBundleFromFile(_swigarg0,_swigarg1) (new wxIconBundle(_swigarg0,_swigarg1))
3163 static PyObject
*_wrap_new_wxIconBundleFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3164 PyObject
* _resultobj
;
3165 wxIconBundle
* _result
;
3168 PyObject
* _obj0
= 0;
3169 char *_kwnames
[] = { "file","type", NULL
};
3173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:new_wxIconBundleFromFile",_kwnames
,&_obj0
,&_arg1
))
3176 _arg0
= wxString_in_helper(_obj0
);
3181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3182 _result
= (wxIconBundle
*)new_wxIconBundleFromFile(*_arg0
,_arg1
);
3184 wxPyEndAllowThreads(__tstate
);
3185 if (PyErr_Occurred()) return NULL
;
3187 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIconBundle_p");
3188 _resultobj
= Py_BuildValue("s",_ptemp
);
3191 _resultobj
= Py_None
;
3200 #define new_wxIconBundleFromIcon(_swigarg0) (new wxIconBundle(_swigarg0))
3201 static PyObject
*_wrap_new_wxIconBundleFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3202 PyObject
* _resultobj
;
3203 wxIconBundle
* _result
;
3205 PyObject
* _argo0
= 0;
3206 char *_kwnames
[] = { "icon", NULL
};
3210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxIconBundleFromIcon",_kwnames
,&_argo0
))
3213 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
3214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxIconBundleFromIcon. Expected _wxIcon_p.");
3219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3220 _result
= (wxIconBundle
*)new_wxIconBundleFromIcon(*_arg0
);
3222 wxPyEndAllowThreads(__tstate
);
3223 if (PyErr_Occurred()) return NULL
;
3225 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIconBundle_p");
3226 _resultobj
= Py_BuildValue("s",_ptemp
);
3229 _resultobj
= Py_None
;
3234 #define delete_wxIconBundle(_swigobj) (delete _swigobj)
3235 static PyObject
*_wrap_delete_wxIconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3236 PyObject
* _resultobj
;
3237 wxIconBundle
* _arg0
;
3238 PyObject
* _argo0
= 0;
3239 char *_kwnames
[] = { "self", NULL
};
3242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxIconBundle",_kwnames
,&_argo0
))
3245 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3246 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIconBundle_p")) {
3247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxIconBundle. Expected _wxIconBundle_p.");
3252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3253 delete_wxIconBundle(_arg0
);
3255 wxPyEndAllowThreads(__tstate
);
3256 if (PyErr_Occurred()) return NULL
;
3257 } Py_INCREF(Py_None
);
3258 _resultobj
= Py_None
;
3262 #define wxIconBundle_AddIcon(_swigobj,_swigarg0) (_swigobj->AddIcon(_swigarg0))
3263 static PyObject
*_wrap_wxIconBundle_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3264 PyObject
* _resultobj
;
3265 wxIconBundle
* _arg0
;
3267 PyObject
* _argo0
= 0;
3268 PyObject
* _argo1
= 0;
3269 char *_kwnames
[] = { "self","icon", NULL
};
3272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIconBundle_AddIcon",_kwnames
,&_argo0
,&_argo1
))
3275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIconBundle_p")) {
3277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIconBundle_AddIcon. Expected _wxIconBundle_p.");
3282 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
3283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIconBundle_AddIcon. Expected _wxIcon_p.");
3288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3289 wxIconBundle_AddIcon(_arg0
,*_arg1
);
3291 wxPyEndAllowThreads(__tstate
);
3292 if (PyErr_Occurred()) return NULL
;
3293 } Py_INCREF(Py_None
);
3294 _resultobj
= Py_None
;
3298 #define wxIconBundle_AddIconFromFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddIcon(_swigarg0,_swigarg1))
3299 static PyObject
*_wrap_wxIconBundle_AddIconFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3300 PyObject
* _resultobj
;
3301 wxIconBundle
* _arg0
;
3304 PyObject
* _argo0
= 0;
3305 PyObject
* _obj1
= 0;
3306 char *_kwnames
[] = { "self","file","type", NULL
};
3309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOl:wxIconBundle_AddIconFromFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
3312 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3313 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIconBundle_p")) {
3314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIconBundle_AddIconFromFile. Expected _wxIconBundle_p.");
3319 _arg1
= wxString_in_helper(_obj1
);
3324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3325 wxIconBundle_AddIconFromFile(_arg0
,*_arg1
,_arg2
);
3327 wxPyEndAllowThreads(__tstate
);
3328 if (PyErr_Occurred()) return NULL
;
3329 } Py_INCREF(Py_None
);
3330 _resultobj
= Py_None
;
3338 #define wxIconBundle_GetIcon(_swigobj,_swigarg0) (_swigobj->GetIcon(_swigarg0))
3339 static PyObject
*_wrap_wxIconBundle_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3340 PyObject
* _resultobj
;
3342 wxIconBundle
* _arg0
;
3344 PyObject
* _argo0
= 0;
3346 PyObject
* _obj1
= 0;
3347 char *_kwnames
[] = { "self","size", NULL
};
3351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIconBundle_GetIcon",_kwnames
,&_argo0
,&_obj1
))
3354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIconBundle_p")) {
3356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIconBundle_GetIcon. Expected _wxIconBundle_p.");
3362 if (! wxSize_helper(_obj1
, &_arg1
))
3366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3367 const wxIcon
& _result_ref
= wxIconBundle_GetIcon(_arg0
,*_arg1
);
3368 _result
= (wxIcon
*) &_result_ref
;
3370 wxPyEndAllowThreads(__tstate
);
3371 if (PyErr_Occurred()) return NULL
;
3373 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
3374 _resultobj
= Py_BuildValue("s",_ptemp
);
3377 _resultobj
= Py_None
;
3382 static void *SwigwxCursorTowxGDIObject(void *ptr
) {
3385 src
= (wxCursor
*) ptr
;
3386 dest
= (wxGDIObject
*) src
;
3387 return (void *) dest
;
3390 static void *SwigwxCursorTowxObject(void *ptr
) {
3393 src
= (wxCursor
*) ptr
;
3394 dest
= (wxObject
*) src
;
3395 return (void *) dest
;
3398 static wxCursor
*new_wxCursor(const wxString
*cursorName
,long flags
,int hotSpotX
,int hotSpotY
) {
3400 wxCHECK_MSG(FALSE
, NULL
,
3401 wxT("wxCursor constructor not implemented for wxGTK, use wxStockCursor, wxCursorFromImage, or wxCursorFromBits instead."));
3403 return new wxCursor(*cursorName
, flags
, hotSpotX
, hotSpotY
);
3407 static PyObject
*_wrap_new_wxCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3408 PyObject
* _resultobj
;
3412 int _arg2
= (int ) 0;
3413 int _arg3
= (int ) 0;
3414 PyObject
* _obj0
= 0;
3415 char *_kwnames
[] = { "cursorName","flags","hotSpotX","hotSpotY", NULL
};
3419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:new_wxCursor",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
))
3422 _arg0
= wxString_in_helper(_obj0
);
3427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3428 _result
= (wxCursor
*)new_wxCursor(_arg0
,_arg1
,_arg2
,_arg3
);
3430 wxPyEndAllowThreads(__tstate
);
3431 if (PyErr_Occurred()) return NULL
;
3433 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCursor_p");
3434 _resultobj
= Py_BuildValue("s",_ptemp
);
3437 _resultobj
= Py_None
;
3446 #define delete_wxCursor(_swigobj) (delete _swigobj)
3447 static PyObject
*_wrap_delete_wxCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3448 PyObject
* _resultobj
;
3450 PyObject
* _argo0
= 0;
3451 char *_kwnames
[] = { "self", NULL
};
3454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCursor",_kwnames
,&_argo0
))
3457 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3458 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCursor. Expected _wxCursor_p.");
3464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3465 delete_wxCursor(_arg0
);
3467 wxPyEndAllowThreads(__tstate
);
3468 if (PyErr_Occurred()) return NULL
;
3469 } Py_INCREF(Py_None
);
3470 _resultobj
= Py_None
;
3474 #define wxCursor_GetHandle(_swigobj) (_swigobj->GetHandle())
3475 static PyObject
*_wrap_wxCursor_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3476 PyObject
* _resultobj
;
3479 PyObject
* _argo0
= 0;
3480 char *_kwnames
[] = { "self", NULL
};
3483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCursor_GetHandle",_kwnames
,&_argo0
))
3486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_GetHandle. Expected _wxCursor_p.");
3493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3494 _result
= (long )wxCursor_GetHandle(_arg0
);
3496 wxPyEndAllowThreads(__tstate
);
3497 if (PyErr_Occurred()) return NULL
;
3498 } _resultobj
= Py_BuildValue("l",_result
);
3502 #define wxCursor_SetHandle(_swigobj,_swigarg0) (_swigobj->SetHandle(_swigarg0))
3503 static PyObject
*_wrap_wxCursor_SetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3504 PyObject
* _resultobj
;
3507 PyObject
* _argo0
= 0;
3508 char *_kwnames
[] = { "self","handle", NULL
};
3511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxCursor_SetHandle",_kwnames
,&_argo0
,&_arg1
))
3514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_SetHandle. Expected _wxCursor_p.");
3521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3522 wxCursor_SetHandle(_arg0
,_arg1
);
3524 wxPyEndAllowThreads(__tstate
);
3525 if (PyErr_Occurred()) return NULL
;
3526 } Py_INCREF(Py_None
);
3527 _resultobj
= Py_None
;
3531 #define wxCursor_Ok(_swigobj) (_swigobj->Ok())
3532 static PyObject
*_wrap_wxCursor_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3533 PyObject
* _resultobj
;
3536 PyObject
* _argo0
= 0;
3537 char *_kwnames
[] = { "self", NULL
};
3540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCursor_Ok",_kwnames
,&_argo0
))
3543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_Ok. Expected _wxCursor_p.");
3550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3551 _result
= (bool )wxCursor_Ok(_arg0
);
3553 wxPyEndAllowThreads(__tstate
);
3554 if (PyErr_Occurred()) return NULL
;
3555 } _resultobj
= Py_BuildValue("i",_result
);
3559 #define wxCursor_GetWidth(_swigobj) (_swigobj->GetWidth())
3560 static PyObject
*_wrap_wxCursor_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3561 PyObject
* _resultobj
;
3564 PyObject
* _argo0
= 0;
3565 char *_kwnames
[] = { "self", NULL
};
3568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCursor_GetWidth",_kwnames
,&_argo0
))
3571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_GetWidth. Expected _wxCursor_p.");
3578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3579 _result
= (int )wxCursor_GetWidth(_arg0
);
3581 wxPyEndAllowThreads(__tstate
);
3582 if (PyErr_Occurred()) return NULL
;
3583 } _resultobj
= Py_BuildValue("i",_result
);
3587 #define wxCursor_GetHeight(_swigobj) (_swigobj->GetHeight())
3588 static PyObject
*_wrap_wxCursor_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3589 PyObject
* _resultobj
;
3592 PyObject
* _argo0
= 0;
3593 char *_kwnames
[] = { "self", NULL
};
3596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCursor_GetHeight",_kwnames
,&_argo0
))
3599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_GetHeight. Expected _wxCursor_p.");
3606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3607 _result
= (int )wxCursor_GetHeight(_arg0
);
3609 wxPyEndAllowThreads(__tstate
);
3610 if (PyErr_Occurred()) return NULL
;
3611 } _resultobj
= Py_BuildValue("i",_result
);
3615 #define wxCursor_GetDepth(_swigobj) (_swigobj->GetDepth())
3616 static PyObject
*_wrap_wxCursor_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3617 PyObject
* _resultobj
;
3620 PyObject
* _argo0
= 0;
3621 char *_kwnames
[] = { "self", NULL
};
3624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCursor_GetDepth",_kwnames
,&_argo0
))
3627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_GetDepth. Expected _wxCursor_p.");
3634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3635 _result
= (int )wxCursor_GetDepth(_arg0
);
3637 wxPyEndAllowThreads(__tstate
);
3638 if (PyErr_Occurred()) return NULL
;
3639 } _resultobj
= Py_BuildValue("i",_result
);
3643 #define wxCursor_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
3644 static PyObject
*_wrap_wxCursor_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3645 PyObject
* _resultobj
;
3648 PyObject
* _argo0
= 0;
3649 char *_kwnames
[] = { "self","w", NULL
};
3652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCursor_SetWidth",_kwnames
,&_argo0
,&_arg1
))
3655 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3656 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_SetWidth. Expected _wxCursor_p.");
3662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3663 wxCursor_SetWidth(_arg0
,_arg1
);
3665 wxPyEndAllowThreads(__tstate
);
3666 if (PyErr_Occurred()) return NULL
;
3667 } Py_INCREF(Py_None
);
3668 _resultobj
= Py_None
;
3672 #define wxCursor_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
3673 static PyObject
*_wrap_wxCursor_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3674 PyObject
* _resultobj
;
3677 PyObject
* _argo0
= 0;
3678 char *_kwnames
[] = { "self","h", NULL
};
3681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCursor_SetHeight",_kwnames
,&_argo0
,&_arg1
))
3684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_SetHeight. Expected _wxCursor_p.");
3691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3692 wxCursor_SetHeight(_arg0
,_arg1
);
3694 wxPyEndAllowThreads(__tstate
);
3695 if (PyErr_Occurred()) return NULL
;
3696 } Py_INCREF(Py_None
);
3697 _resultobj
= Py_None
;
3701 #define wxCursor_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
3702 static PyObject
*_wrap_wxCursor_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3703 PyObject
* _resultobj
;
3706 PyObject
* _argo0
= 0;
3707 char *_kwnames
[] = { "self","d", NULL
};
3710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCursor_SetDepth",_kwnames
,&_argo0
,&_arg1
))
3713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_SetDepth. Expected _wxCursor_p.");
3720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3721 wxCursor_SetDepth(_arg0
,_arg1
);
3723 wxPyEndAllowThreads(__tstate
);
3724 if (PyErr_Occurred()) return NULL
;
3725 } Py_INCREF(Py_None
);
3726 _resultobj
= Py_None
;
3730 #define wxCursor_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
3731 static PyObject
*_wrap_wxCursor_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3732 PyObject
* _resultobj
;
3735 PyObject
* _argo0
= 0;
3737 PyObject
* _obj1
= 0;
3738 char *_kwnames
[] = { "self","size", NULL
};
3741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCursor_SetSize",_kwnames
,&_argo0
,&_obj1
))
3744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_SetSize. Expected _wxCursor_p.");
3752 if (! wxSize_helper(_obj1
, &_arg1
))
3756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3757 wxCursor_SetSize(_arg0
,*_arg1
);
3759 wxPyEndAllowThreads(__tstate
);
3760 if (PyErr_Occurred()) return NULL
;
3761 } Py_INCREF(Py_None
);
3762 _resultobj
= Py_None
;
3766 static void *SwigwxColourTowxObject(void *ptr
) {
3769 src
= (wxColour
*) ptr
;
3770 dest
= (wxObject
*) src
;
3771 return (void *) dest
;
3774 #define new_wxColour(_swigarg0,_swigarg1,_swigarg2) (new wxColour(_swigarg0,_swigarg1,_swigarg2))
3775 static PyObject
*_wrap_new_wxColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3776 PyObject
* _resultobj
;
3778 unsigned char _arg0
= (unsigned char ) 0;
3779 unsigned char _arg1
= (unsigned char ) 0;
3780 unsigned char _arg2
= (unsigned char ) 0;
3781 char *_kwnames
[] = { "red","green","blue", NULL
};
3785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|bbb:new_wxColour",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
3788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3789 _result
= (wxColour
*)new_wxColour(_arg0
,_arg1
,_arg2
);
3791 wxPyEndAllowThreads(__tstate
);
3792 if (PyErr_Occurred()) return NULL
;
3794 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3795 _resultobj
= Py_BuildValue("s",_ptemp
);
3798 _resultobj
= Py_None
;
3803 #define delete_wxColour(_swigobj) (delete _swigobj)
3804 static PyObject
*_wrap_delete_wxColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3805 PyObject
* _resultobj
;
3808 PyObject
* _obj0
= 0;
3809 char *_kwnames
[] = { "self", NULL
};
3812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxColour",_kwnames
,&_obj0
))
3816 if (! wxColour_helper(_obj0
, &_arg0
))
3820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3821 delete_wxColour(_arg0
);
3823 wxPyEndAllowThreads(__tstate
);
3824 if (PyErr_Occurred()) return NULL
;
3825 } Py_INCREF(Py_None
);
3826 _resultobj
= Py_None
;
3830 #define wxColour_Red(_swigobj) (_swigobj->Red())
3831 static PyObject
*_wrap_wxColour_Red(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3832 PyObject
* _resultobj
;
3833 unsigned char _result
;
3836 PyObject
* _obj0
= 0;
3837 char *_kwnames
[] = { "self", NULL
};
3840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Red",_kwnames
,&_obj0
))
3844 if (! wxColour_helper(_obj0
, &_arg0
))
3848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3849 _result
= (unsigned char )wxColour_Red(_arg0
);
3851 wxPyEndAllowThreads(__tstate
);
3852 if (PyErr_Occurred()) return NULL
;
3853 } _resultobj
= Py_BuildValue("b",_result
);
3857 #define wxColour_Green(_swigobj) (_swigobj->Green())
3858 static PyObject
*_wrap_wxColour_Green(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3859 PyObject
* _resultobj
;
3860 unsigned char _result
;
3863 PyObject
* _obj0
= 0;
3864 char *_kwnames
[] = { "self", NULL
};
3867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Green",_kwnames
,&_obj0
))
3871 if (! wxColour_helper(_obj0
, &_arg0
))
3875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3876 _result
= (unsigned char )wxColour_Green(_arg0
);
3878 wxPyEndAllowThreads(__tstate
);
3879 if (PyErr_Occurred()) return NULL
;
3880 } _resultobj
= Py_BuildValue("b",_result
);
3884 #define wxColour_Blue(_swigobj) (_swigobj->Blue())
3885 static PyObject
*_wrap_wxColour_Blue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3886 PyObject
* _resultobj
;
3887 unsigned char _result
;
3890 PyObject
* _obj0
= 0;
3891 char *_kwnames
[] = { "self", NULL
};
3894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Blue",_kwnames
,&_obj0
))
3898 if (! wxColour_helper(_obj0
, &_arg0
))
3902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3903 _result
= (unsigned char )wxColour_Blue(_arg0
);
3905 wxPyEndAllowThreads(__tstate
);
3906 if (PyErr_Occurred()) return NULL
;
3907 } _resultobj
= Py_BuildValue("b",_result
);
3911 #define wxColour_Ok(_swigobj) (_swigobj->Ok())
3912 static PyObject
*_wrap_wxColour_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3913 PyObject
* _resultobj
;
3917 PyObject
* _obj0
= 0;
3918 char *_kwnames
[] = { "self", NULL
};
3921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Ok",_kwnames
,&_obj0
))
3925 if (! wxColour_helper(_obj0
, &_arg0
))
3929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3930 _result
= (bool )wxColour_Ok(_arg0
);
3932 wxPyEndAllowThreads(__tstate
);
3933 if (PyErr_Occurred()) return NULL
;
3934 } _resultobj
= Py_BuildValue("i",_result
);
3938 #define wxColour_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
3939 static PyObject
*_wrap_wxColour_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3940 PyObject
* _resultobj
;
3942 unsigned char _arg1
;
3943 unsigned char _arg2
;
3944 unsigned char _arg3
;
3946 PyObject
* _obj0
= 0;
3947 char *_kwnames
[] = { "self","red","green","blue", NULL
};
3950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Obbb:wxColour_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
))
3954 if (! wxColour_helper(_obj0
, &_arg0
))
3958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3959 wxColour_Set(_arg0
,_arg1
,_arg2
,_arg3
);
3961 wxPyEndAllowThreads(__tstate
);
3962 if (PyErr_Occurred()) return NULL
;
3963 } Py_INCREF(Py_None
);
3964 _resultobj
= Py_None
;
3968 static PyObject
* wxColour_Get(wxColour
*self
) {
3969 PyObject
* rv
= PyTuple_New(3);
3975 green
= self
->Green();
3976 blue
= self
->Blue();
3978 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
3979 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
3980 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
3983 static PyObject
*_wrap_wxColour_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3984 PyObject
* _resultobj
;
3988 PyObject
* _obj0
= 0;
3989 char *_kwnames
[] = { "self", NULL
};
3992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Get",_kwnames
,&_obj0
))
3996 if (! wxColour_helper(_obj0
, &_arg0
))
4000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4001 _result
= (PyObject
*)wxColour_Get(_arg0
);
4003 wxPyEndAllowThreads(__tstate
);
4004 if (PyErr_Occurred()) return NULL
;
4006 _resultobj
= _result
;
4011 static bool wxColour___eq__(wxColour
*self
,PyObject
* obj
) {
4013 wxColour
* ptr
= &tmp
;
4014 if (obj
== Py_None
) return FALSE
;
4015 wxPyBLOCK_THREADS(bool success
= wxColour_helper(obj
, &ptr
); PyErr_Clear());
4016 if (! success
) return FALSE
;
4017 return *self
== *ptr
;
4019 static PyObject
*_wrap_wxColour___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4020 PyObject
* _resultobj
;
4025 PyObject
* _obj0
= 0;
4026 PyObject
* _obj1
= 0;
4027 char *_kwnames
[] = { "self","obj", NULL
};
4030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxColour___eq__",_kwnames
,&_obj0
,&_obj1
))
4034 if (! wxColour_helper(_obj0
, &_arg0
))
4041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4042 _result
= (bool )wxColour___eq__(_arg0
,_arg1
);
4044 wxPyEndAllowThreads(__tstate
);
4045 if (PyErr_Occurred()) return NULL
;
4046 } _resultobj
= Py_BuildValue("i",_result
);
4050 static bool wxColour___ne__(wxColour
*self
,PyObject
* obj
) {
4052 wxColour
* ptr
= &tmp
;
4053 if (obj
== Py_None
) return TRUE
;
4054 wxPyBLOCK_THREADS(bool success
= wxColour_helper(obj
, &ptr
); PyErr_Clear());
4055 if (! success
) return TRUE
;
4056 return *self
!= *ptr
;
4058 static PyObject
*_wrap_wxColour___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4059 PyObject
* _resultobj
;
4064 PyObject
* _obj0
= 0;
4065 PyObject
* _obj1
= 0;
4066 char *_kwnames
[] = { "self","obj", NULL
};
4069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxColour___ne__",_kwnames
,&_obj0
,&_obj1
))
4073 if (! wxColour_helper(_obj0
, &_arg0
))
4080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4081 _result
= (bool )wxColour___ne__(_arg0
,_arg1
);
4083 wxPyEndAllowThreads(__tstate
);
4084 if (PyErr_Occurred()) return NULL
;
4085 } _resultobj
= Py_BuildValue("i",_result
);
4089 static void *SwigwxColourDatabaseTowxObject(void *ptr
) {
4090 wxColourDatabase
*src
;
4092 src
= (wxColourDatabase
*) ptr
;
4093 dest
= (wxObject
*) src
;
4094 return (void *) dest
;
4097 #define new_wxColourDatabase() (new wxColourDatabase())
4098 static PyObject
*_wrap_new_wxColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4099 PyObject
* _resultobj
;
4100 wxColourDatabase
* _result
;
4101 char *_kwnames
[] = { NULL
};
4105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxColourDatabase",_kwnames
))
4108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4109 _result
= (wxColourDatabase
*)new_wxColourDatabase();
4111 wxPyEndAllowThreads(__tstate
);
4112 if (PyErr_Occurred()) return NULL
;
4114 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColourDatabase_p");
4115 _resultobj
= Py_BuildValue("s",_ptemp
);
4118 _resultobj
= Py_None
;
4123 #define delete_wxColourDatabase(_swigobj) (delete _swigobj)
4124 static PyObject
*_wrap_delete_wxColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4125 PyObject
* _resultobj
;
4126 wxColourDatabase
* _arg0
;
4127 PyObject
* _argo0
= 0;
4128 char *_kwnames
[] = { "self", NULL
};
4131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxColourDatabase",_kwnames
,&_argo0
))
4134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
4136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxColourDatabase. Expected _wxColourDatabase_p.");
4141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4142 delete_wxColourDatabase(_arg0
);
4144 wxPyEndAllowThreads(__tstate
);
4145 if (PyErr_Occurred()) return NULL
;
4146 } Py_INCREF(Py_None
);
4147 _resultobj
= Py_None
;
4151 #define wxColourDatabase_Find(_swigobj,_swigarg0) (_swigobj->Find(_swigarg0))
4152 static PyObject
*_wrap_wxColourDatabase_Find(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4153 PyObject
* _resultobj
;
4155 wxColourDatabase
* _arg0
;
4157 PyObject
* _argo0
= 0;
4158 PyObject
* _obj1
= 0;
4159 char *_kwnames
[] = { "self","name", NULL
};
4163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxColourDatabase_Find",_kwnames
,&_argo0
,&_obj1
))
4166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
4168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_Find. Expected _wxColourDatabase_p.");
4173 _arg1
= wxString_in_helper(_obj1
);
4178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4179 _result
= new wxColour (wxColourDatabase_Find(_arg0
,*_arg1
));
4181 wxPyEndAllowThreads(__tstate
);
4182 if (PyErr_Occurred()) return NULL
;
4183 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
4184 _resultobj
= Py_BuildValue("s",_ptemp
);
4192 #define wxColourDatabase_FindName(_swigobj,_swigarg0) (_swigobj->FindName(_swigarg0))
4193 static PyObject
*_wrap_wxColourDatabase_FindName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4194 PyObject
* _resultobj
;
4196 wxColourDatabase
* _arg0
;
4198 PyObject
* _argo0
= 0;
4200 PyObject
* _obj1
= 0;
4201 char *_kwnames
[] = { "self","colour", NULL
};
4204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxColourDatabase_FindName",_kwnames
,&_argo0
,&_obj1
))
4207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
4209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_FindName. Expected _wxColourDatabase_p.");
4215 if (! wxColour_helper(_obj1
, &_arg1
))
4219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4220 _result
= new wxString (wxColourDatabase_FindName(_arg0
,*_arg1
));
4222 wxPyEndAllowThreads(__tstate
);
4223 if (PyErr_Occurred()) return NULL
;
4226 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
4228 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4237 #define wxColourDatabase_AddColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddColour(_swigarg0,_swigarg1))
4238 static PyObject
*_wrap_wxColourDatabase_AddColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4239 PyObject
* _resultobj
;
4240 wxColourDatabase
* _arg0
;
4243 PyObject
* _argo0
= 0;
4244 PyObject
* _obj1
= 0;
4246 PyObject
* _obj2
= 0;
4247 char *_kwnames
[] = { "self","name","colour", NULL
};
4250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxColourDatabase_AddColour",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
4253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
4255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_AddColour. Expected _wxColourDatabase_p.");
4260 _arg1
= wxString_in_helper(_obj1
);
4266 if (! wxColour_helper(_obj2
, &_arg2
))
4270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4271 wxColourDatabase_AddColour(_arg0
,*_arg1
,*_arg2
);
4273 wxPyEndAllowThreads(__tstate
);
4274 if (PyErr_Occurred()) return NULL
;
4275 } Py_INCREF(Py_None
);
4276 _resultobj
= Py_None
;
4284 static void wxColourDatabase_Append(wxColourDatabase
*self
,const wxString
& name
,int red
,int green
,int blue
) {
4285 self
->AddColour(name
, wxColour(red
, green
, blue
));
4287 static PyObject
*_wrap_wxColourDatabase_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4288 PyObject
* _resultobj
;
4289 wxColourDatabase
* _arg0
;
4294 PyObject
* _argo0
= 0;
4295 PyObject
* _obj1
= 0;
4296 char *_kwnames
[] = { "self","name","red","green","blue", NULL
};
4299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiii:wxColourDatabase_Append",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_arg4
))
4302 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4303 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
4304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_Append. Expected _wxColourDatabase_p.");
4309 _arg1
= wxString_in_helper(_obj1
);
4314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4315 wxColourDatabase_Append(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
4317 wxPyEndAllowThreads(__tstate
);
4318 if (PyErr_Occurred()) return NULL
;
4319 } Py_INCREF(Py_None
);
4320 _resultobj
= Py_None
;
4328 static void *SwigwxPenTowxGDIObject(void *ptr
) {
4331 src
= (wxPen
*) ptr
;
4332 dest
= (wxGDIObject
*) src
;
4333 return (void *) dest
;
4336 static void *SwigwxPenTowxObject(void *ptr
) {
4339 src
= (wxPen
*) ptr
;
4340 dest
= (wxObject
*) src
;
4341 return (void *) dest
;
4344 #define new_wxPen(_swigarg0,_swigarg1,_swigarg2) (new wxPen(_swigarg0,_swigarg1,_swigarg2))
4345 static PyObject
*_wrap_new_wxPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4346 PyObject
* _resultobj
;
4349 int _arg1
= (int ) 1;
4350 int _arg2
= (int ) wxSOLID
;
4352 PyObject
* _obj0
= 0;
4353 char *_kwnames
[] = { "colour","width","style", NULL
};
4357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:new_wxPen",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
4361 if (! wxColour_helper(_obj0
, &_arg0
))
4365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4366 _result
= (wxPen
*)new_wxPen(*_arg0
,_arg1
,_arg2
);
4368 wxPyEndAllowThreads(__tstate
);
4369 if (PyErr_Occurred()) return NULL
;
4371 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
4372 _resultobj
= Py_BuildValue("s",_ptemp
);
4375 _resultobj
= Py_None
;
4380 #define delete_wxPen(_swigobj) (delete _swigobj)
4381 static PyObject
*_wrap_delete_wxPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4382 PyObject
* _resultobj
;
4384 PyObject
* _argo0
= 0;
4385 char *_kwnames
[] = { "self", NULL
};
4388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPen",_kwnames
,&_argo0
))
4391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPen. Expected _wxPen_p.");
4398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4399 delete_wxPen(_arg0
);
4401 wxPyEndAllowThreads(__tstate
);
4402 if (PyErr_Occurred()) return NULL
;
4403 } Py_INCREF(Py_None
);
4404 _resultobj
= Py_None
;
4408 #define wxPen_GetCap(_swigobj) (_swigobj->GetCap())
4409 static PyObject
*_wrap_wxPen_GetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4410 PyObject
* _resultobj
;
4413 PyObject
* _argo0
= 0;
4414 char *_kwnames
[] = { "self", NULL
};
4417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetCap",_kwnames
,&_argo0
))
4420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetCap. Expected _wxPen_p.");
4427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4428 _result
= (int )wxPen_GetCap(_arg0
);
4430 wxPyEndAllowThreads(__tstate
);
4431 if (PyErr_Occurred()) return NULL
;
4432 } _resultobj
= Py_BuildValue("i",_result
);
4436 #define wxPen_GetColour(_swigobj) (_swigobj->GetColour())
4437 static PyObject
*_wrap_wxPen_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4438 PyObject
* _resultobj
;
4441 PyObject
* _argo0
= 0;
4442 char *_kwnames
[] = { "self", NULL
};
4446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetColour",_kwnames
,&_argo0
))
4449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetColour. Expected _wxPen_p.");
4456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4457 _result
= new wxColour (wxPen_GetColour(_arg0
));
4459 wxPyEndAllowThreads(__tstate
);
4460 if (PyErr_Occurred()) return NULL
;
4461 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
4462 _resultobj
= Py_BuildValue("s",_ptemp
);
4466 #define wxPen_GetJoin(_swigobj) (_swigobj->GetJoin())
4467 static PyObject
*_wrap_wxPen_GetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4468 PyObject
* _resultobj
;
4471 PyObject
* _argo0
= 0;
4472 char *_kwnames
[] = { "self", NULL
};
4475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetJoin",_kwnames
,&_argo0
))
4478 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4479 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetJoin. Expected _wxPen_p.");
4485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4486 _result
= (int )wxPen_GetJoin(_arg0
);
4488 wxPyEndAllowThreads(__tstate
);
4489 if (PyErr_Occurred()) return NULL
;
4490 } _resultobj
= Py_BuildValue("i",_result
);
4494 #define wxPen_GetStyle(_swigobj) (_swigobj->GetStyle())
4495 static PyObject
*_wrap_wxPen_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4496 PyObject
* _resultobj
;
4499 PyObject
* _argo0
= 0;
4500 char *_kwnames
[] = { "self", NULL
};
4503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetStyle",_kwnames
,&_argo0
))
4506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetStyle. Expected _wxPen_p.");
4513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4514 _result
= (int )wxPen_GetStyle(_arg0
);
4516 wxPyEndAllowThreads(__tstate
);
4517 if (PyErr_Occurred()) return NULL
;
4518 } _resultobj
= Py_BuildValue("i",_result
);
4522 #define wxPen_GetWidth(_swigobj) (_swigobj->GetWidth())
4523 static PyObject
*_wrap_wxPen_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4524 PyObject
* _resultobj
;
4527 PyObject
* _argo0
= 0;
4528 char *_kwnames
[] = { "self", NULL
};
4531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetWidth",_kwnames
,&_argo0
))
4534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetWidth. Expected _wxPen_p.");
4541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4542 _result
= (int )wxPen_GetWidth(_arg0
);
4544 wxPyEndAllowThreads(__tstate
);
4545 if (PyErr_Occurred()) return NULL
;
4546 } _resultobj
= Py_BuildValue("i",_result
);
4550 #define wxPen_Ok(_swigobj) (_swigobj->Ok())
4551 static PyObject
*_wrap_wxPen_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4552 PyObject
* _resultobj
;
4555 PyObject
* _argo0
= 0;
4556 char *_kwnames
[] = { "self", NULL
};
4559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_Ok",_kwnames
,&_argo0
))
4562 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4563 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_Ok. Expected _wxPen_p.");
4569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4570 _result
= (bool )wxPen_Ok(_arg0
);
4572 wxPyEndAllowThreads(__tstate
);
4573 if (PyErr_Occurred()) return NULL
;
4574 } _resultobj
= Py_BuildValue("i",_result
);
4578 #define wxPen_SetCap(_swigobj,_swigarg0) (_swigobj->SetCap(_swigarg0))
4579 static PyObject
*_wrap_wxPen_SetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4580 PyObject
* _resultobj
;
4583 PyObject
* _argo0
= 0;
4584 char *_kwnames
[] = { "self","cap_style", NULL
};
4587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetCap",_kwnames
,&_argo0
,&_arg1
))
4590 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4591 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetCap. Expected _wxPen_p.");
4597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4598 wxPen_SetCap(_arg0
,_arg1
);
4600 wxPyEndAllowThreads(__tstate
);
4601 if (PyErr_Occurred()) return NULL
;
4602 } Py_INCREF(Py_None
);
4603 _resultobj
= Py_None
;
4607 #define wxPen_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
4608 static PyObject
*_wrap_wxPen_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4609 PyObject
* _resultobj
;
4612 PyObject
* _argo0
= 0;
4614 PyObject
* _obj1
= 0;
4615 char *_kwnames
[] = { "self","colour", NULL
};
4618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetColour",_kwnames
,&_argo0
,&_obj1
))
4621 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4622 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetColour. Expected _wxPen_p.");
4629 if (! wxColour_helper(_obj1
, &_arg1
))
4633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4634 wxPen_SetColour(_arg0
,*_arg1
);
4636 wxPyEndAllowThreads(__tstate
);
4637 if (PyErr_Occurred()) return NULL
;
4638 } Py_INCREF(Py_None
);
4639 _resultobj
= Py_None
;
4643 #define wxPen_SetJoin(_swigobj,_swigarg0) (_swigobj->SetJoin(_swigarg0))
4644 static PyObject
*_wrap_wxPen_SetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4645 PyObject
* _resultobj
;
4648 PyObject
* _argo0
= 0;
4649 char *_kwnames
[] = { "self","join_style", NULL
};
4652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetJoin",_kwnames
,&_argo0
,&_arg1
))
4655 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4656 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetJoin. Expected _wxPen_p.");
4662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4663 wxPen_SetJoin(_arg0
,_arg1
);
4665 wxPyEndAllowThreads(__tstate
);
4666 if (PyErr_Occurred()) return NULL
;
4667 } Py_INCREF(Py_None
);
4668 _resultobj
= Py_None
;
4672 #define wxPen_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
4673 static PyObject
*_wrap_wxPen_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4674 PyObject
* _resultobj
;
4677 PyObject
* _argo0
= 0;
4678 char *_kwnames
[] = { "self","style", NULL
};
4681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetStyle",_kwnames
,&_argo0
,&_arg1
))
4684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetStyle. Expected _wxPen_p.");
4691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4692 wxPen_SetStyle(_arg0
,_arg1
);
4694 wxPyEndAllowThreads(__tstate
);
4695 if (PyErr_Occurred()) return NULL
;
4696 } Py_INCREF(Py_None
);
4697 _resultobj
= Py_None
;
4701 #define wxPen_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
4702 static PyObject
*_wrap_wxPen_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4703 PyObject
* _resultobj
;
4706 PyObject
* _argo0
= 0;
4707 char *_kwnames
[] = { "self","width", NULL
};
4710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetWidth",_kwnames
,&_argo0
,&_arg1
))
4713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetWidth. Expected _wxPen_p.");
4720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4721 wxPen_SetWidth(_arg0
,_arg1
);
4723 wxPyEndAllowThreads(__tstate
);
4724 if (PyErr_Occurred()) return NULL
;
4725 } Py_INCREF(Py_None
);
4726 _resultobj
= Py_None
;
4730 #define wxPen_SetDashes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDashes(_swigarg0,_swigarg1))
4731 static PyObject
*_wrap_wxPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4732 PyObject
* _resultobj
;
4736 PyObject
* _argo0
= 0;
4737 PyObject
* _obj2
= 0;
4738 char *_kwnames
[] = { "self","choices", NULL
};
4741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetDashes",_kwnames
,&_argo0
,&_obj2
))
4744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetDashes. Expected _wxPen_p.");
4752 _arg2
= (wxDash
*)byte_LIST_helper(_obj2
);
4753 if (_arg2
== NULL
) {
4759 _arg1
= PyList_Size(_obj2
);
4766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4767 wxPen_SetDashes(_arg0
,_arg1
,_arg2
);
4769 wxPyEndAllowThreads(__tstate
);
4770 if (PyErr_Occurred()) return NULL
;
4771 } Py_INCREF(Py_None
);
4772 _resultobj
= Py_None
;
4779 static PyObject
* wxPen_GetDashes(wxPen
*self
) {
4781 int count
= self
->GetDashes(&dashes
);
4782 wxPyBeginBlockThreads();
4783 PyObject
* retval
= PyList_New(0);
4784 for (int x
=0; x
<count
; x
++)
4785 PyList_Append(retval
, PyInt_FromLong(dashes
[x
]));
4786 wxPyEndBlockThreads();
4789 static PyObject
*_wrap_wxPen_GetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4790 PyObject
* _resultobj
;
4793 PyObject
* _argo0
= 0;
4794 char *_kwnames
[] = { "self", NULL
};
4797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetDashes",_kwnames
,&_argo0
))
4800 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4801 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetDashes. Expected _wxPen_p.");
4807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4808 _result
= (PyObject
*)wxPen_GetDashes(_arg0
);
4810 wxPyEndAllowThreads(__tstate
);
4811 if (PyErr_Occurred()) return NULL
;
4813 _resultobj
= _result
;
4818 #define wxPen_GetStipple(_swigobj) (_swigobj->GetStipple())
4819 static PyObject
*_wrap_wxPen_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4820 PyObject
* _resultobj
;
4823 PyObject
* _argo0
= 0;
4824 char *_kwnames
[] = { "self", NULL
};
4828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetStipple",_kwnames
,&_argo0
))
4831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetStipple. Expected _wxPen_p.");
4838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4839 _result
= (wxBitmap
*)wxPen_GetStipple(_arg0
);
4841 wxPyEndAllowThreads(__tstate
);
4842 if (PyErr_Occurred()) return NULL
;
4844 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
4845 _resultobj
= Py_BuildValue("s",_ptemp
);
4848 _resultobj
= Py_None
;
4853 #define wxPen_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
4854 static PyObject
*_wrap_wxPen_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4855 PyObject
* _resultobj
;
4858 PyObject
* _argo0
= 0;
4859 PyObject
* _argo1
= 0;
4860 char *_kwnames
[] = { "self","stipple", NULL
};
4863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetStipple",_kwnames
,&_argo0
,&_argo1
))
4866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetStipple. Expected _wxPen_p.");
4873 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
4874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPen_SetStipple. Expected _wxBitmap_p.");
4879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4880 wxPen_SetStipple(_arg0
,*_arg1
);
4882 wxPyEndAllowThreads(__tstate
);
4883 if (PyErr_Occurred()) return NULL
;
4884 } Py_INCREF(Py_None
);
4885 _resultobj
= Py_None
;
4889 static void *SwigwxPyPenTowxPen(void *ptr
) {
4892 src
= (wxPyPen
*) ptr
;
4893 dest
= (wxPen
*) src
;
4894 return (void *) dest
;
4897 static void *SwigwxPyPenTowxGDIObject(void *ptr
) {
4900 src
= (wxPyPen
*) ptr
;
4901 dest
= (wxGDIObject
*) src
;
4902 return (void *) dest
;
4905 static void *SwigwxPyPenTowxObject(void *ptr
) {
4908 src
= (wxPyPen
*) ptr
;
4909 dest
= (wxObject
*) src
;
4910 return (void *) dest
;
4913 #define new_wxPyPen(_swigarg0,_swigarg1,_swigarg2) (new wxPyPen(_swigarg0,_swigarg1,_swigarg2))
4914 static PyObject
*_wrap_new_wxPyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4915 PyObject
* _resultobj
;
4918 int _arg1
= (int ) 1;
4919 int _arg2
= (int ) wxSOLID
;
4921 PyObject
* _obj0
= 0;
4922 char *_kwnames
[] = { "colour","width","style", NULL
};
4926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:new_wxPyPen",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
4930 if (! wxColour_helper(_obj0
, &_arg0
))
4934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4935 _result
= (wxPyPen
*)new_wxPyPen(*_arg0
,_arg1
,_arg2
);
4937 wxPyEndAllowThreads(__tstate
);
4938 if (PyErr_Occurred()) return NULL
;
4940 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPen_p");
4941 _resultobj
= Py_BuildValue("s",_ptemp
);
4944 _resultobj
= Py_None
;
4949 #define delete_wxPyPen(_swigobj) (delete _swigobj)
4950 static PyObject
*_wrap_delete_wxPyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4951 PyObject
* _resultobj
;
4953 PyObject
* _argo0
= 0;
4954 char *_kwnames
[] = { "self", NULL
};
4957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyPen",_kwnames
,&_argo0
))
4960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPen_p")) {
4962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyPen. Expected _wxPyPen_p.");
4967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4968 delete_wxPyPen(_arg0
);
4970 wxPyEndAllowThreads(__tstate
);
4971 if (PyErr_Occurred()) return NULL
;
4972 } Py_INCREF(Py_None
);
4973 _resultobj
= Py_None
;
4977 #define wxPyPen_SetDashes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDashes(_swigarg0,_swigarg1))
4978 static PyObject
*_wrap_wxPyPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4979 PyObject
* _resultobj
;
4983 PyObject
* _argo0
= 0;
4984 PyObject
* _obj2
= 0;
4985 char *_kwnames
[] = { "self","choices", NULL
};
4988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPen_SetDashes",_kwnames
,&_argo0
,&_obj2
))
4991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPen_p")) {
4993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPen_SetDashes. Expected _wxPyPen_p.");
4999 _arg2
= (wxDash
*)byte_LIST_helper(_obj2
);
5000 if (_arg2
== NULL
) {
5006 _arg1
= PyList_Size(_obj2
);
5013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5014 wxPyPen_SetDashes(_arg0
,_arg1
,_arg2
);
5016 wxPyEndAllowThreads(__tstate
);
5017 if (PyErr_Occurred()) return NULL
;
5018 } Py_INCREF(Py_None
);
5019 _resultobj
= Py_None
;
5026 static void *SwigwxPenListTowxObject(void *ptr
) {
5029 src
= (wxPenList
*) ptr
;
5030 dest
= (wxObject
*) src
;
5031 return (void *) dest
;
5034 #define wxPenList_AddPen(_swigobj,_swigarg0) (_swigobj->AddPen(_swigarg0))
5035 static PyObject
*_wrap_wxPenList_AddPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5036 PyObject
* _resultobj
;
5039 PyObject
* _argo0
= 0;
5040 PyObject
* _argo1
= 0;
5041 char *_kwnames
[] = { "self","pen", NULL
};
5044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPenList_AddPen",_kwnames
,&_argo0
,&_argo1
))
5047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
5049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_AddPen. Expected _wxPenList_p.");
5054 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5055 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
5056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPenList_AddPen. Expected _wxPen_p.");
5061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5062 wxPenList_AddPen(_arg0
,_arg1
);
5064 wxPyEndAllowThreads(__tstate
);
5065 if (PyErr_Occurred()) return NULL
;
5066 } Py_INCREF(Py_None
);
5067 _resultobj
= Py_None
;
5071 #define wxPenList_FindOrCreatePen(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindOrCreatePen(_swigarg0,_swigarg1,_swigarg2))
5072 static PyObject
*_wrap_wxPenList_FindOrCreatePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5073 PyObject
* _resultobj
;
5079 PyObject
* _argo0
= 0;
5081 PyObject
* _obj1
= 0;
5082 char *_kwnames
[] = { "self","colour","width","style", NULL
};
5086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxPenList_FindOrCreatePen",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
))
5089 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5090 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
5091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_FindOrCreatePen. Expected _wxPenList_p.");
5097 if (! wxColour_helper(_obj1
, &_arg1
))
5101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5102 _result
= (wxPen
*)wxPenList_FindOrCreatePen(_arg0
,*_arg1
,_arg2
,_arg3
);
5104 wxPyEndAllowThreads(__tstate
);
5105 if (PyErr_Occurred()) return NULL
;
5107 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
5108 _resultobj
= Py_BuildValue("s",_ptemp
);
5111 _resultobj
= Py_None
;
5116 #define wxPenList_RemovePen(_swigobj,_swigarg0) (_swigobj->RemovePen(_swigarg0))
5117 static PyObject
*_wrap_wxPenList_RemovePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5118 PyObject
* _resultobj
;
5121 PyObject
* _argo0
= 0;
5122 PyObject
* _argo1
= 0;
5123 char *_kwnames
[] = { "self","pen", NULL
};
5126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPenList_RemovePen",_kwnames
,&_argo0
,&_argo1
))
5129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
5131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_RemovePen. Expected _wxPenList_p.");
5136 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5137 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
5138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPenList_RemovePen. Expected _wxPen_p.");
5143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5144 wxPenList_RemovePen(_arg0
,_arg1
);
5146 wxPyEndAllowThreads(__tstate
);
5147 if (PyErr_Occurred()) return NULL
;
5148 } Py_INCREF(Py_None
);
5149 _resultobj
= Py_None
;
5153 #define wxPenList_GetCount(_swigobj) (_swigobj->GetCount())
5154 static PyObject
*_wrap_wxPenList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5155 PyObject
* _resultobj
;
5158 PyObject
* _argo0
= 0;
5159 char *_kwnames
[] = { "self", NULL
};
5162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPenList_GetCount",_kwnames
,&_argo0
))
5165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
5167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_GetCount. Expected _wxPenList_p.");
5172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5173 _result
= (int )wxPenList_GetCount(_arg0
);
5175 wxPyEndAllowThreads(__tstate
);
5176 if (PyErr_Occurred()) return NULL
;
5177 } _resultobj
= Py_BuildValue("i",_result
);
5181 static void *SwigwxBrushTowxGDIObject(void *ptr
) {
5184 src
= (wxBrush
*) ptr
;
5185 dest
= (wxGDIObject
*) src
;
5186 return (void *) dest
;
5189 static void *SwigwxBrushTowxObject(void *ptr
) {
5192 src
= (wxBrush
*) ptr
;
5193 dest
= (wxObject
*) src
;
5194 return (void *) dest
;
5197 #define new_wxBrush(_swigarg0,_swigarg1) (new wxBrush(_swigarg0,_swigarg1))
5198 static PyObject
*_wrap_new_wxBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5199 PyObject
* _resultobj
;
5202 int _arg1
= (int ) wxSOLID
;
5204 PyObject
* _obj0
= 0;
5205 char *_kwnames
[] = { "colour","style", NULL
};
5209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxBrush",_kwnames
,&_obj0
,&_arg1
))
5213 if (! wxColour_helper(_obj0
, &_arg0
))
5217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5218 _result
= (wxBrush
*)new_wxBrush(*_arg0
,_arg1
);
5220 wxPyEndAllowThreads(__tstate
);
5221 if (PyErr_Occurred()) return NULL
;
5223 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
5224 _resultobj
= Py_BuildValue("s",_ptemp
);
5227 _resultobj
= Py_None
;
5232 #define delete_wxBrush(_swigobj) (delete _swigobj)
5233 static PyObject
*_wrap_delete_wxBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5234 PyObject
* _resultobj
;
5236 PyObject
* _argo0
= 0;
5237 char *_kwnames
[] = { "self", NULL
};
5240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBrush",_kwnames
,&_argo0
))
5243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
5245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBrush. Expected _wxBrush_p.");
5250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5251 delete_wxBrush(_arg0
);
5253 wxPyEndAllowThreads(__tstate
);
5254 if (PyErr_Occurred()) return NULL
;
5255 } Py_INCREF(Py_None
);
5256 _resultobj
= Py_None
;
5260 #define wxBrush_GetColour(_swigobj) (_swigobj->GetColour())
5261 static PyObject
*_wrap_wxBrush_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5262 PyObject
* _resultobj
;
5265 PyObject
* _argo0
= 0;
5266 char *_kwnames
[] = { "self", NULL
};
5270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetColour",_kwnames
,&_argo0
))
5273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
5275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetColour. Expected _wxBrush_p.");
5280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5281 _result
= new wxColour (wxBrush_GetColour(_arg0
));
5283 wxPyEndAllowThreads(__tstate
);
5284 if (PyErr_Occurred()) return NULL
;
5285 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
5286 _resultobj
= Py_BuildValue("s",_ptemp
);
5290 #define wxBrush_GetStipple(_swigobj) (_swigobj->GetStipple())
5291 static PyObject
*_wrap_wxBrush_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5292 PyObject
* _resultobj
;
5295 PyObject
* _argo0
= 0;
5296 char *_kwnames
[] = { "self", NULL
};
5300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetStipple",_kwnames
,&_argo0
))
5303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
5305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStipple. Expected _wxBrush_p.");
5310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5311 _result
= (wxBitmap
*)wxBrush_GetStipple(_arg0
);
5313 wxPyEndAllowThreads(__tstate
);
5314 if (PyErr_Occurred()) return NULL
;
5316 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
5317 _resultobj
= Py_BuildValue("s",_ptemp
);
5320 _resultobj
= Py_None
;
5325 #define wxBrush_GetStyle(_swigobj) (_swigobj->GetStyle())
5326 static PyObject
*_wrap_wxBrush_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5327 PyObject
* _resultobj
;
5330 PyObject
* _argo0
= 0;
5331 char *_kwnames
[] = { "self", NULL
};
5334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetStyle",_kwnames
,&_argo0
))
5337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
5339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStyle. Expected _wxBrush_p.");
5344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5345 _result
= (int )wxBrush_GetStyle(_arg0
);
5347 wxPyEndAllowThreads(__tstate
);
5348 if (PyErr_Occurred()) return NULL
;
5349 } _resultobj
= Py_BuildValue("i",_result
);
5353 #define wxBrush_Ok(_swigobj) (_swigobj->Ok())
5354 static PyObject
*_wrap_wxBrush_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5355 PyObject
* _resultobj
;
5358 PyObject
* _argo0
= 0;
5359 char *_kwnames
[] = { "self", NULL
};
5362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_Ok",_kwnames
,&_argo0
))
5365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
5367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_Ok. Expected _wxBrush_p.");
5372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5373 _result
= (bool )wxBrush_Ok(_arg0
);
5375 wxPyEndAllowThreads(__tstate
);
5376 if (PyErr_Occurred()) return NULL
;
5377 } _resultobj
= Py_BuildValue("i",_result
);
5381 #define wxBrush_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
5382 static PyObject
*_wrap_wxBrush_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5383 PyObject
* _resultobj
;
5386 PyObject
* _argo0
= 0;
5388 PyObject
* _obj1
= 0;
5389 char *_kwnames
[] = { "self","colour", NULL
};
5392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrush_SetColour",_kwnames
,&_argo0
,&_obj1
))
5395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
5397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetColour. Expected _wxBrush_p.");
5403 if (! wxColour_helper(_obj1
, &_arg1
))
5407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5408 wxBrush_SetColour(_arg0
,*_arg1
);
5410 wxPyEndAllowThreads(__tstate
);
5411 if (PyErr_Occurred()) return NULL
;
5412 } Py_INCREF(Py_None
);
5413 _resultobj
= Py_None
;
5417 #define wxBrush_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
5418 static PyObject
*_wrap_wxBrush_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5419 PyObject
* _resultobj
;
5422 PyObject
* _argo0
= 0;
5423 PyObject
* _argo1
= 0;
5424 char *_kwnames
[] = { "self","bitmap", NULL
};
5427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrush_SetStipple",_kwnames
,&_argo0
,&_argo1
))
5430 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5431 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
5432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStipple. Expected _wxBrush_p.");
5437 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
5438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrush_SetStipple. Expected _wxBitmap_p.");
5443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5444 wxBrush_SetStipple(_arg0
,*_arg1
);
5446 wxPyEndAllowThreads(__tstate
);
5447 if (PyErr_Occurred()) return NULL
;
5448 } Py_INCREF(Py_None
);
5449 _resultobj
= Py_None
;
5453 #define wxBrush_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
5454 static PyObject
*_wrap_wxBrush_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5455 PyObject
* _resultobj
;
5458 PyObject
* _argo0
= 0;
5459 char *_kwnames
[] = { "self","style", NULL
};
5462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBrush_SetStyle",_kwnames
,&_argo0
,&_arg1
))
5465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
5467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStyle. Expected _wxBrush_p.");
5472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5473 wxBrush_SetStyle(_arg0
,_arg1
);
5475 wxPyEndAllowThreads(__tstate
);
5476 if (PyErr_Occurred()) return NULL
;
5477 } Py_INCREF(Py_None
);
5478 _resultobj
= Py_None
;
5482 static void *SwigwxBrushListTowxObject(void *ptr
) {
5485 src
= (wxBrushList
*) ptr
;
5486 dest
= (wxObject
*) src
;
5487 return (void *) dest
;
5490 #define wxBrushList_AddBrush(_swigobj,_swigarg0) (_swigobj->AddBrush(_swigarg0))
5491 static PyObject
*_wrap_wxBrushList_AddBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5492 PyObject
* _resultobj
;
5493 wxBrushList
* _arg0
;
5495 PyObject
* _argo0
= 0;
5496 PyObject
* _argo1
= 0;
5497 char *_kwnames
[] = { "self","brush", NULL
};
5500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrushList_AddBrush",_kwnames
,&_argo0
,&_argo1
))
5503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
5505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_AddBrush. Expected _wxBrushList_p.");
5510 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5511 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
5512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrushList_AddBrush. Expected _wxBrush_p.");
5517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5518 wxBrushList_AddBrush(_arg0
,_arg1
);
5520 wxPyEndAllowThreads(__tstate
);
5521 if (PyErr_Occurred()) return NULL
;
5522 } Py_INCREF(Py_None
);
5523 _resultobj
= Py_None
;
5527 #define wxBrushList_FindOrCreateBrush(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindOrCreateBrush(_swigarg0,_swigarg1))
5528 static PyObject
*_wrap_wxBrushList_FindOrCreateBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5529 PyObject
* _resultobj
;
5531 wxBrushList
* _arg0
;
5534 PyObject
* _argo0
= 0;
5536 PyObject
* _obj1
= 0;
5537 char *_kwnames
[] = { "self","colour","style", NULL
};
5541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxBrushList_FindOrCreateBrush",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
5546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_FindOrCreateBrush. Expected _wxBrushList_p.");
5552 if (! wxColour_helper(_obj1
, &_arg1
))
5556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5557 _result
= (wxBrush
*)wxBrushList_FindOrCreateBrush(_arg0
,*_arg1
,_arg2
);
5559 wxPyEndAllowThreads(__tstate
);
5560 if (PyErr_Occurred()) return NULL
;
5562 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
5563 _resultobj
= Py_BuildValue("s",_ptemp
);
5566 _resultobj
= Py_None
;
5571 #define wxBrushList_RemoveBrush(_swigobj,_swigarg0) (_swigobj->RemoveBrush(_swigarg0))
5572 static PyObject
*_wrap_wxBrushList_RemoveBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5573 PyObject
* _resultobj
;
5574 wxBrushList
* _arg0
;
5576 PyObject
* _argo0
= 0;
5577 PyObject
* _argo1
= 0;
5578 char *_kwnames
[] = { "self","brush", NULL
};
5581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrushList_RemoveBrush",_kwnames
,&_argo0
,&_argo1
))
5584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
5586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_RemoveBrush. Expected _wxBrushList_p.");
5591 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5592 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
5593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrushList_RemoveBrush. Expected _wxBrush_p.");
5598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5599 wxBrushList_RemoveBrush(_arg0
,_arg1
);
5601 wxPyEndAllowThreads(__tstate
);
5602 if (PyErr_Occurred()) return NULL
;
5603 } Py_INCREF(Py_None
);
5604 _resultobj
= Py_None
;
5608 #define wxBrushList_GetCount(_swigobj) (_swigobj->GetCount())
5609 static PyObject
*_wrap_wxBrushList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5610 PyObject
* _resultobj
;
5612 wxBrushList
* _arg0
;
5613 PyObject
* _argo0
= 0;
5614 char *_kwnames
[] = { "self", NULL
};
5617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrushList_GetCount",_kwnames
,&_argo0
))
5620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
5622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_GetCount. Expected _wxBrushList_p.");
5627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5628 _result
= (int )wxBrushList_GetCount(_arg0
);
5630 wxPyEndAllowThreads(__tstate
);
5631 if (PyErr_Occurred()) return NULL
;
5632 } _resultobj
= Py_BuildValue("i",_result
);
5636 static void *SwigwxDCTowxObject(void *ptr
) {
5640 dest
= (wxObject
*) src
;
5641 return (void *) dest
;
5644 #define delete_wxDC(_swigobj) (delete _swigobj)
5645 static PyObject
*_wrap_delete_wxDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5646 PyObject
* _resultobj
;
5648 PyObject
* _argo0
= 0;
5649 char *_kwnames
[] = { "self", NULL
};
5652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDC",_kwnames
,&_argo0
))
5655 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5656 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDC. Expected _wxDC_p.");
5662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5665 wxPyEndAllowThreads(__tstate
);
5666 if (PyErr_Occurred()) return NULL
;
5667 } Py_INCREF(Py_None
);
5668 _resultobj
= Py_None
;
5672 #define wxDC_BeginDrawing(_swigobj) (_swigobj->BeginDrawing())
5673 static PyObject
*_wrap_wxDC_BeginDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5674 PyObject
* _resultobj
;
5676 PyObject
* _argo0
= 0;
5677 char *_kwnames
[] = { "self", NULL
};
5680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_BeginDrawing",_kwnames
,&_argo0
))
5683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_BeginDrawing. Expected _wxDC_p.");
5690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5691 wxDC_BeginDrawing(_arg0
);
5693 wxPyEndAllowThreads(__tstate
);
5694 if (PyErr_Occurred()) return NULL
;
5695 } Py_INCREF(Py_None
);
5696 _resultobj
= Py_None
;
5700 #define wxDC_Blit(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Blit(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5701 static PyObject
*_wrap_wxDC_Blit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5702 PyObject
* _resultobj
;
5712 int _arg8
= (int ) wxCOPY
;
5713 int _arg9
= (int ) FALSE
;
5714 PyObject
* _argo0
= 0;
5715 PyObject
* _argo5
= 0;
5716 char *_kwnames
[] = { "self","xdest","ydest","width","height","source","xsrc","ysrc","logicalFunc","useMask", NULL
};
5719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiiiOii|ii:wxDC_Blit",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_argo5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
))
5722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Blit. Expected _wxDC_p.");
5729 if (_argo5
== Py_None
) { _arg5
= NULL
; }
5730 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxDC_p")) {
5731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxDC_Blit. Expected _wxDC_p.");
5736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5737 _result
= (bool )wxDC_Blit(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
5739 wxPyEndAllowThreads(__tstate
);
5740 if (PyErr_Occurred()) return NULL
;
5741 } _resultobj
= Py_BuildValue("i",_result
);
5745 #define wxDC_Clear(_swigobj) (_swigobj->Clear())
5746 static PyObject
*_wrap_wxDC_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5747 PyObject
* _resultobj
;
5749 PyObject
* _argo0
= 0;
5750 char *_kwnames
[] = { "self", NULL
};
5753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_Clear",_kwnames
,&_argo0
))
5756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Clear. Expected _wxDC_p.");
5763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5766 wxPyEndAllowThreads(__tstate
);
5767 if (PyErr_Occurred()) return NULL
;
5768 } Py_INCREF(Py_None
);
5769 _resultobj
= Py_None
;
5773 #define wxDC_CrossHair(_swigobj,_swigarg0,_swigarg1) (_swigobj->CrossHair(_swigarg0,_swigarg1))
5774 static PyObject
*_wrap_wxDC_CrossHair(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5775 PyObject
* _resultobj
;
5779 PyObject
* _argo0
= 0;
5780 char *_kwnames
[] = { "self","x","y", NULL
};
5783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_CrossHair",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5786 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5787 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CrossHair. Expected _wxDC_p.");
5793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5794 wxDC_CrossHair(_arg0
,_arg1
,_arg2
);
5796 wxPyEndAllowThreads(__tstate
);
5797 if (PyErr_Occurred()) return NULL
;
5798 } Py_INCREF(Py_None
);
5799 _resultobj
= Py_None
;
5803 #define wxDC_DestroyClippingRegion(_swigobj) (_swigobj->DestroyClippingRegion())
5804 static PyObject
*_wrap_wxDC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5805 PyObject
* _resultobj
;
5807 PyObject
* _argo0
= 0;
5808 char *_kwnames
[] = { "self", NULL
};
5811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_DestroyClippingRegion",_kwnames
,&_argo0
))
5814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DestroyClippingRegion. Expected _wxDC_p.");
5821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5822 wxDC_DestroyClippingRegion(_arg0
);
5824 wxPyEndAllowThreads(__tstate
);
5825 if (PyErr_Occurred()) return NULL
;
5826 } Py_INCREF(Py_None
);
5827 _resultobj
= Py_None
;
5831 #define wxDC_DeviceToLogicalX(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalX(_swigarg0))
5832 static PyObject
*_wrap_wxDC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5833 PyObject
* _resultobj
;
5837 PyObject
* _argo0
= 0;
5838 char *_kwnames
[] = { "self","x", NULL
};
5841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_DeviceToLogicalX",_kwnames
,&_argo0
,&_arg1
))
5844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalX. Expected _wxDC_p.");
5851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5852 _result
= (wxCoord
)wxDC_DeviceToLogicalX(_arg0
,_arg1
);
5854 wxPyEndAllowThreads(__tstate
);
5855 if (PyErr_Occurred()) return NULL
;
5856 } _resultobj
= Py_BuildValue("i",_result
);
5860 #define wxDC_DeviceToLogicalXRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalXRel(_swigarg0))
5861 static PyObject
*_wrap_wxDC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5862 PyObject
* _resultobj
;
5866 PyObject
* _argo0
= 0;
5867 char *_kwnames
[] = { "self","x", NULL
};
5870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_DeviceToLogicalXRel",_kwnames
,&_argo0
,&_arg1
))
5873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalXRel. Expected _wxDC_p.");
5880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5881 _result
= (wxCoord
)wxDC_DeviceToLogicalXRel(_arg0
,_arg1
);
5883 wxPyEndAllowThreads(__tstate
);
5884 if (PyErr_Occurred()) return NULL
;
5885 } _resultobj
= Py_BuildValue("i",_result
);
5889 #define wxDC_DeviceToLogicalY(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalY(_swigarg0))
5890 static PyObject
*_wrap_wxDC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5891 PyObject
* _resultobj
;
5895 PyObject
* _argo0
= 0;
5896 char *_kwnames
[] = { "self","y", NULL
};
5899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_DeviceToLogicalY",_kwnames
,&_argo0
,&_arg1
))
5902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalY. Expected _wxDC_p.");
5909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5910 _result
= (wxCoord
)wxDC_DeviceToLogicalY(_arg0
,_arg1
);
5912 wxPyEndAllowThreads(__tstate
);
5913 if (PyErr_Occurred()) return NULL
;
5914 } _resultobj
= Py_BuildValue("i",_result
);
5918 #define wxDC_DeviceToLogicalYRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalYRel(_swigarg0))
5919 static PyObject
*_wrap_wxDC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5920 PyObject
* _resultobj
;
5924 PyObject
* _argo0
= 0;
5925 char *_kwnames
[] = { "self","y", NULL
};
5928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_DeviceToLogicalYRel",_kwnames
,&_argo0
,&_arg1
))
5931 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5932 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalYRel. Expected _wxDC_p.");
5938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5939 _result
= (wxCoord
)wxDC_DeviceToLogicalYRel(_arg0
,_arg1
);
5941 wxPyEndAllowThreads(__tstate
);
5942 if (PyErr_Occurred()) return NULL
;
5943 } _resultobj
= Py_BuildValue("i",_result
);
5947 #define wxDC_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5948 static PyObject
*_wrap_wxDC_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5949 PyObject
* _resultobj
;
5957 PyObject
* _argo0
= 0;
5958 char *_kwnames
[] = { "self","x1","y1","x2","y2","xc","yc", NULL
};
5961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiiiii:wxDC_DrawArc",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
5964 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5965 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawArc. Expected _wxDC_p.");
5971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5972 wxDC_DrawArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
5974 wxPyEndAllowThreads(__tstate
);
5975 if (PyErr_Occurred()) return NULL
;
5976 } Py_INCREF(Py_None
);
5977 _resultobj
= Py_None
;
5981 #define wxDC_DrawCircle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawCircle(_swigarg0,_swigarg1,_swigarg2))
5982 static PyObject
*_wrap_wxDC_DrawCircle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5983 PyObject
* _resultobj
;
5988 PyObject
* _argo0
= 0;
5989 char *_kwnames
[] = { "self","x","y","radius", NULL
};
5992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxDC_DrawCircle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
5995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawCircle. Expected _wxDC_p.");
6002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6003 wxDC_DrawCircle(_arg0
,_arg1
,_arg2
,_arg3
);
6005 wxPyEndAllowThreads(__tstate
);
6006 if (PyErr_Occurred()) return NULL
;
6007 } Py_INCREF(Py_None
);
6008 _resultobj
= Py_None
;
6012 #define wxDC_DrawEllipse(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawEllipse(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6013 static PyObject
*_wrap_wxDC_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6014 PyObject
* _resultobj
;
6020 PyObject
* _argo0
= 0;
6021 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
6024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxDC_DrawEllipse",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
6027 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6028 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipse. Expected _wxDC_p.");
6034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6035 wxDC_DrawEllipse(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6037 wxPyEndAllowThreads(__tstate
);
6038 if (PyErr_Occurred()) return NULL
;
6039 } Py_INCREF(Py_None
);
6040 _resultobj
= Py_None
;
6044 #define wxDC_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6045 static PyObject
*_wrap_wxDC_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6046 PyObject
* _resultobj
;
6054 PyObject
* _argo0
= 0;
6055 char *_kwnames
[] = { "self","x","y","width","height","start","end", NULL
};
6058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiiiii:wxDC_DrawEllipticArc",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
6061 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6062 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipticArc. Expected _wxDC_p.");
6068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6069 wxDC_DrawEllipticArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
6071 wxPyEndAllowThreads(__tstate
);
6072 if (PyErr_Occurred()) return NULL
;
6073 } Py_INCREF(Py_None
);
6074 _resultobj
= Py_None
;
6078 #define wxDC_DrawIcon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawIcon(_swigarg0,_swigarg1,_swigarg2))
6079 static PyObject
*_wrap_wxDC_DrawIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6080 PyObject
* _resultobj
;
6085 PyObject
* _argo0
= 0;
6086 PyObject
* _argo1
= 0;
6087 char *_kwnames
[] = { "self","icon","x","y", NULL
};
6090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxDC_DrawIcon",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
6093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawIcon. Expected _wxDC_p.");
6100 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
6101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawIcon. Expected _wxIcon_p.");
6106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6107 wxDC_DrawIcon(_arg0
,*_arg1
,_arg2
,_arg3
);
6109 wxPyEndAllowThreads(__tstate
);
6110 if (PyErr_Occurred()) return NULL
;
6111 } Py_INCREF(Py_None
);
6112 _resultobj
= Py_None
;
6116 #define wxDC_DrawLabel(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLabel(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6117 static PyObject
*_wrap_wxDC_DrawLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6118 PyObject
* _resultobj
;
6122 int _arg3
= (int ) wxALIGN_LEFT
|wxALIGN_TOP
;
6123 int _arg4
= (int ) -1;
6124 PyObject
* _argo0
= 0;
6125 PyObject
* _obj1
= 0;
6127 PyObject
* _obj2
= 0;
6128 char *_kwnames
[] = { "self","text","rect","alignment","indexAccel", NULL
};
6131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|ii:wxDC_DrawLabel",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
))
6134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLabel. Expected _wxDC_p.");
6141 _arg1
= wxString_in_helper(_obj1
);
6147 if (! wxRect_helper(_obj2
, &_arg2
))
6151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6152 wxDC_DrawLabel(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
6154 wxPyEndAllowThreads(__tstate
);
6155 if (PyErr_Occurred()) return NULL
;
6156 } Py_INCREF(Py_None
);
6157 _resultobj
= Py_None
;
6165 static wxRect
wxDC_DrawImageLabel(wxDC
*self
,const wxString
& text
,const wxBitmap
& image
,const wxRect
& rect
,int alignment
,int indexAccel
) {
6167 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
6170 static PyObject
*_wrap_wxDC_DrawImageLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6171 PyObject
* _resultobj
;
6177 int _arg4
= (int ) wxALIGN_LEFT
|wxALIGN_TOP
;
6178 int _arg5
= (int ) -1;
6179 PyObject
* _argo0
= 0;
6180 PyObject
* _obj1
= 0;
6181 PyObject
* _argo2
= 0;
6183 PyObject
* _obj3
= 0;
6184 char *_kwnames
[] = { "self","text","image","rect","alignment","indexAccel", NULL
};
6188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|ii:wxDC_DrawImageLabel",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_obj3
,&_arg4
,&_arg5
))
6191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawImageLabel. Expected _wxDC_p.");
6198 _arg1
= wxString_in_helper(_obj1
);
6203 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
6204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDC_DrawImageLabel. Expected _wxBitmap_p.");
6210 if (! wxRect_helper(_obj3
, &_arg3
))
6214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6215 _result
= new wxRect (wxDC_DrawImageLabel(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
));
6217 wxPyEndAllowThreads(__tstate
);
6218 if (PyErr_Occurred()) return NULL
;
6219 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
6220 _resultobj
= Py_BuildValue("s",_ptemp
);
6228 #define wxDC_DrawLine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6229 static PyObject
*_wrap_wxDC_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6230 PyObject
* _resultobj
;
6236 PyObject
* _argo0
= 0;
6237 char *_kwnames
[] = { "self","x1","y1","x2","y2", NULL
};
6240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxDC_DrawLine",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
6243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLine. Expected _wxDC_p.");
6250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6251 wxDC_DrawLine(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6253 wxPyEndAllowThreads(__tstate
);
6254 if (PyErr_Occurred()) return NULL
;
6255 } Py_INCREF(Py_None
);
6256 _resultobj
= Py_None
;
6260 #define wxDC_DrawLines(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLines(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6261 static PyObject
*_wrap_wxDC_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6262 PyObject
* _resultobj
;
6266 wxCoord _arg3
= (wxCoord
) 0;
6267 wxCoord _arg4
= (wxCoord
) 0;
6268 PyObject
* _argo0
= 0;
6270 PyObject
* _obj2
= 0;
6271 char *_kwnames
[] = { "self","points","xoffset","yoffset", NULL
};
6274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:wxDC_DrawLines",_kwnames
,&_argo0
,&_obj2
,&_arg3
,&_arg4
))
6277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLines. Expected _wxDC_p.");
6285 _arg2
= wxPoint_LIST_helper(_obj2
, &NPOINTS
);
6286 if (_arg2
== NULL
) {
6294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6295 wxDC_DrawLines(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6297 wxPyEndAllowThreads(__tstate
);
6298 if (PyErr_Occurred()) return NULL
;
6299 } Py_INCREF(Py_None
);
6300 _resultobj
= Py_None
;
6307 #define wxDC_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6308 static PyObject
*_wrap_wxDC_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6309 PyObject
* _resultobj
;
6313 wxCoord _arg3
= (wxCoord
) 0;
6314 wxCoord _arg4
= (wxCoord
) 0;
6315 int _arg5
= (int ) wxODDEVEN_RULE
;
6316 PyObject
* _argo0
= 0;
6318 PyObject
* _obj2
= 0;
6319 char *_kwnames
[] = { "self","points","xoffset","yoffset","fill_style", NULL
};
6322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iii:wxDC_DrawPolygon",_kwnames
,&_argo0
,&_obj2
,&_arg3
,&_arg4
,&_arg5
))
6325 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6326 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPolygon. Expected _wxDC_p.");
6333 _arg2
= wxPoint_LIST_helper(_obj2
, &NPOINTS
);
6334 if (_arg2
== NULL
) {
6342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6343 wxDC_DrawPolygon(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
6345 wxPyEndAllowThreads(__tstate
);
6346 if (PyErr_Occurred()) return NULL
;
6347 } Py_INCREF(Py_None
);
6348 _resultobj
= Py_None
;
6355 #define wxDC_DrawPoint(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawPoint(_swigarg0,_swigarg1))
6356 static PyObject
*_wrap_wxDC_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6357 PyObject
* _resultobj
;
6361 PyObject
* _argo0
= 0;
6362 char *_kwnames
[] = { "self","x","y", NULL
};
6365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_DrawPoint",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6368 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6369 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPoint. Expected _wxDC_p.");
6375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6376 wxDC_DrawPoint(_arg0
,_arg1
,_arg2
);
6378 wxPyEndAllowThreads(__tstate
);
6379 if (PyErr_Occurred()) return NULL
;
6380 } Py_INCREF(Py_None
);
6381 _resultobj
= Py_None
;
6385 #define wxDC_DrawRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6386 static PyObject
*_wrap_wxDC_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6387 PyObject
* _resultobj
;
6393 PyObject
* _argo0
= 0;
6394 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
6397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxDC_DrawRectangle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
6400 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6401 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRectangle. Expected _wxDC_p.");
6407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6408 wxDC_DrawRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6410 wxPyEndAllowThreads(__tstate
);
6411 if (PyErr_Occurred()) return NULL
;
6412 } Py_INCREF(Py_None
);
6413 _resultobj
= Py_None
;
6417 #define wxDC_DrawRectangleRect(_swigobj,_swigarg0) (_swigobj->DrawRectangle(_swigarg0))
6418 static PyObject
*_wrap_wxDC_DrawRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6419 PyObject
* _resultobj
;
6422 PyObject
* _argo0
= 0;
6424 PyObject
* _obj1
= 0;
6425 char *_kwnames
[] = { "self","rect", NULL
};
6428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_DrawRectangleRect",_kwnames
,&_argo0
,&_obj1
))
6431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRectangleRect. Expected _wxDC_p.");
6439 if (! wxRect_helper(_obj1
, &_arg1
))
6443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6444 wxDC_DrawRectangleRect(_arg0
,*_arg1
);
6446 wxPyEndAllowThreads(__tstate
);
6447 if (PyErr_Occurred()) return NULL
;
6448 } Py_INCREF(Py_None
);
6449 _resultobj
= Py_None
;
6453 #define wxDC_DrawRotatedText(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRotatedText(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6454 static PyObject
*_wrap_wxDC_DrawRotatedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6455 PyObject
* _resultobj
;
6461 PyObject
* _argo0
= 0;
6462 PyObject
* _obj1
= 0;
6463 char *_kwnames
[] = { "self","text","x","y","angle", NULL
};
6466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiid:wxDC_DrawRotatedText",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_arg4
))
6469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRotatedText. Expected _wxDC_p.");
6476 _arg1
= wxString_in_helper(_obj1
);
6481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6482 wxDC_DrawRotatedText(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
6484 wxPyEndAllowThreads(__tstate
);
6485 if (PyErr_Occurred()) return NULL
;
6486 } Py_INCREF(Py_None
);
6487 _resultobj
= Py_None
;
6495 #define wxDC_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6496 static PyObject
*_wrap_wxDC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6497 PyObject
* _resultobj
;
6503 wxCoord _arg5
= (wxCoord
) 20;
6504 PyObject
* _argo0
= 0;
6505 char *_kwnames
[] = { "self","x","y","width","height","radius", NULL
};
6508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxDC_DrawRoundedRectangle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
6511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRoundedRectangle. Expected _wxDC_p.");
6518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6519 wxDC_DrawRoundedRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
6521 wxPyEndAllowThreads(__tstate
);
6522 if (PyErr_Occurred()) return NULL
;
6523 } Py_INCREF(Py_None
);
6524 _resultobj
= Py_None
;
6528 #define wxDC_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1))
6529 static PyObject
*_wrap_wxDC_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6530 PyObject
* _resultobj
;
6534 PyObject
* _argo0
= 0;
6536 PyObject
* _obj2
= 0;
6537 char *_kwnames
[] = { "self","points", NULL
};
6540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_DrawSpline",_kwnames
,&_argo0
,&_obj2
))
6543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawSpline. Expected _wxDC_p.");
6551 _arg2
= wxPoint_LIST_helper(_obj2
, &NPOINTS
);
6552 if (_arg2
== NULL
) {
6560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6561 wxDC_DrawSpline(_arg0
,_arg1
,_arg2
);
6563 wxPyEndAllowThreads(__tstate
);
6564 if (PyErr_Occurred()) return NULL
;
6565 } Py_INCREF(Py_None
);
6566 _resultobj
= Py_None
;
6573 #define wxDC_DrawText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawText(_swigarg0,_swigarg1,_swigarg2))
6574 static PyObject
*_wrap_wxDC_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6575 PyObject
* _resultobj
;
6580 PyObject
* _argo0
= 0;
6581 PyObject
* _obj1
= 0;
6582 char *_kwnames
[] = { "self","text","x","y", NULL
};
6585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxDC_DrawText",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
))
6588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawText. Expected _wxDC_p.");
6595 _arg1
= wxString_in_helper(_obj1
);
6600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6601 wxDC_DrawText(_arg0
,*_arg1
,_arg2
,_arg3
);
6603 wxPyEndAllowThreads(__tstate
);
6604 if (PyErr_Occurred()) return NULL
;
6605 } Py_INCREF(Py_None
);
6606 _resultobj
= Py_None
;
6614 #define wxDC_EndDoc(_swigobj) (_swigobj->EndDoc())
6615 static PyObject
*_wrap_wxDC_EndDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6616 PyObject
* _resultobj
;
6618 PyObject
* _argo0
= 0;
6619 char *_kwnames
[] = { "self", NULL
};
6622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndDoc",_kwnames
,&_argo0
))
6625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDoc. Expected _wxDC_p.");
6632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6635 wxPyEndAllowThreads(__tstate
);
6636 if (PyErr_Occurred()) return NULL
;
6637 } Py_INCREF(Py_None
);
6638 _resultobj
= Py_None
;
6642 #define wxDC_EndDrawing(_swigobj) (_swigobj->EndDrawing())
6643 static PyObject
*_wrap_wxDC_EndDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6644 PyObject
* _resultobj
;
6646 PyObject
* _argo0
= 0;
6647 char *_kwnames
[] = { "self", NULL
};
6650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndDrawing",_kwnames
,&_argo0
))
6653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDrawing. Expected _wxDC_p.");
6660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6661 wxDC_EndDrawing(_arg0
);
6663 wxPyEndAllowThreads(__tstate
);
6664 if (PyErr_Occurred()) return NULL
;
6665 } Py_INCREF(Py_None
);
6666 _resultobj
= Py_None
;
6670 #define wxDC_EndPage(_swigobj) (_swigobj->EndPage())
6671 static PyObject
*_wrap_wxDC_EndPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6672 PyObject
* _resultobj
;
6674 PyObject
* _argo0
= 0;
6675 char *_kwnames
[] = { "self", NULL
};
6678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndPage",_kwnames
,&_argo0
))
6681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndPage. Expected _wxDC_p.");
6688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6689 wxDC_EndPage(_arg0
);
6691 wxPyEndAllowThreads(__tstate
);
6692 if (PyErr_Occurred()) return NULL
;
6693 } Py_INCREF(Py_None
);
6694 _resultobj
= Py_None
;
6698 #define wxDC_FloodFill(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FloodFill(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6699 static PyObject
*_wrap_wxDC_FloodFill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6700 PyObject
* _resultobj
;
6706 int _arg4
= (int ) wxFLOOD_SURFACE
;
6707 PyObject
* _argo0
= 0;
6709 PyObject
* _obj3
= 0;
6710 char *_kwnames
[] = { "self","x","y","colour","style", NULL
};
6713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO|i:wxDC_FloodFill",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
6716 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6717 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_FloodFill. Expected _wxDC_p.");
6724 if (! wxColour_helper(_obj3
, &_arg3
))
6728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6729 _result
= (bool )wxDC_FloodFill(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
6731 wxPyEndAllowThreads(__tstate
);
6732 if (PyErr_Occurred()) return NULL
;
6733 } _resultobj
= Py_BuildValue("i",_result
);
6737 #define wxDC_GetBackground(_swigobj) (_swigobj->GetBackground())
6738 static PyObject
*_wrap_wxDC_GetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6739 PyObject
* _resultobj
;
6742 PyObject
* _argo0
= 0;
6743 char *_kwnames
[] = { "self", NULL
};
6747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBackground",_kwnames
,&_argo0
))
6750 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6751 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBackground. Expected _wxDC_p.");
6757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6758 _result
= new wxBrush (wxDC_GetBackground(_arg0
));
6760 wxPyEndAllowThreads(__tstate
);
6761 if (PyErr_Occurred()) return NULL
;
6762 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBrush_p");
6763 _resultobj
= Py_BuildValue("s",_ptemp
);
6767 #define wxDC_GetBrush(_swigobj) (_swigobj->GetBrush())
6768 static PyObject
*_wrap_wxDC_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6769 PyObject
* _resultobj
;
6772 PyObject
* _argo0
= 0;
6773 char *_kwnames
[] = { "self", NULL
};
6777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBrush",_kwnames
,&_argo0
))
6780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBrush. Expected _wxDC_p.");
6787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6788 _result
= new wxBrush (wxDC_GetBrush(_arg0
));
6790 wxPyEndAllowThreads(__tstate
);
6791 if (PyErr_Occurred()) return NULL
;
6792 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBrush_p");
6793 _resultobj
= Py_BuildValue("s",_ptemp
);
6797 #define wxDC_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
6798 static PyObject
*_wrap_wxDC_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6799 PyObject
* _resultobj
;
6802 PyObject
* _argo0
= 0;
6803 char *_kwnames
[] = { "self", NULL
};
6806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetCharHeight",_kwnames
,&_argo0
))
6809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharHeight. Expected _wxDC_p.");
6816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6817 _result
= (wxCoord
)wxDC_GetCharHeight(_arg0
);
6819 wxPyEndAllowThreads(__tstate
);
6820 if (PyErr_Occurred()) return NULL
;
6821 } _resultobj
= Py_BuildValue("i",_result
);
6825 #define wxDC_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
6826 static PyObject
*_wrap_wxDC_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6827 PyObject
* _resultobj
;
6830 PyObject
* _argo0
= 0;
6831 char *_kwnames
[] = { "self", NULL
};
6834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetCharWidth",_kwnames
,&_argo0
))
6837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharWidth. Expected _wxDC_p.");
6844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6845 _result
= (wxCoord
)wxDC_GetCharWidth(_arg0
);
6847 wxPyEndAllowThreads(__tstate
);
6848 if (PyErr_Occurred()) return NULL
;
6849 } _resultobj
= Py_BuildValue("i",_result
);
6853 #define wxDC_GetClippingBox(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetClippingBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6854 static PyObject
*_wrap_wxDC_GetClippingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6855 PyObject
* _resultobj
;
6865 PyObject
* _argo0
= 0;
6866 char *_kwnames
[] = { "self", NULL
};
6881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetClippingBox",_kwnames
,&_argo0
))
6884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetClippingBox. Expected _wxDC_p.");
6891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6892 wxDC_GetClippingBox(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6894 wxPyEndAllowThreads(__tstate
);
6895 if (PyErr_Occurred()) return NULL
;
6896 } Py_INCREF(Py_None
);
6897 _resultobj
= Py_None
;
6900 o
= PyInt_FromLong((long) (*_arg1
));
6901 _resultobj
= t_output_helper(_resultobj
, o
);
6905 o
= PyInt_FromLong((long) (*_arg2
));
6906 _resultobj
= t_output_helper(_resultobj
, o
);
6910 o
= PyInt_FromLong((long) (*_arg3
));
6911 _resultobj
= t_output_helper(_resultobj
, o
);
6915 o
= PyInt_FromLong((long) (*_arg4
));
6916 _resultobj
= t_output_helper(_resultobj
, o
);
6921 #define wxDC_GetFont(_swigobj) (_swigobj->GetFont())
6922 static PyObject
*_wrap_wxDC_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6923 PyObject
* _resultobj
;
6926 PyObject
* _argo0
= 0;
6927 char *_kwnames
[] = { "self", NULL
};
6931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetFont",_kwnames
,&_argo0
))
6934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFont. Expected _wxDC_p.");
6941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6942 _result
= new wxFont (wxDC_GetFont(_arg0
));
6944 wxPyEndAllowThreads(__tstate
);
6945 if (PyErr_Occurred()) return NULL
;
6946 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
6947 _resultobj
= Py_BuildValue("s",_ptemp
);
6951 #define wxDC_GetLogicalFunction(_swigobj) (_swigobj->GetLogicalFunction())
6952 static PyObject
*_wrap_wxDC_GetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6953 PyObject
* _resultobj
;
6956 PyObject
* _argo0
= 0;
6957 char *_kwnames
[] = { "self", NULL
};
6960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalFunction",_kwnames
,&_argo0
))
6963 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6964 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalFunction. Expected _wxDC_p.");
6970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6971 _result
= (int )wxDC_GetLogicalFunction(_arg0
);
6973 wxPyEndAllowThreads(__tstate
);
6974 if (PyErr_Occurred()) return NULL
;
6975 } _resultobj
= Py_BuildValue("i",_result
);
6979 #define wxDC_GetLogicalScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLogicalScale(_swigarg0,_swigarg1))
6980 static PyObject
*_wrap_wxDC_GetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6981 PyObject
* _resultobj
;
6987 PyObject
* _argo0
= 0;
6988 char *_kwnames
[] = { "self", NULL
};
6997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalScale",_kwnames
,&_argo0
))
7000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalScale. Expected _wxDC_p.");
7007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7008 wxDC_GetLogicalScale(_arg0
,_arg1
,_arg2
);
7010 wxPyEndAllowThreads(__tstate
);
7011 if (PyErr_Occurred()) return NULL
;
7012 } Py_INCREF(Py_None
);
7013 _resultobj
= Py_None
;
7016 o
= PyFloat_FromDouble((double) (*_arg1
));
7017 _resultobj
= t_output_helper(_resultobj
, o
);
7021 o
= PyFloat_FromDouble((double) (*_arg2
));
7022 _resultobj
= t_output_helper(_resultobj
, o
);
7027 #define wxDC_GetMapMode(_swigobj) (_swigobj->GetMapMode())
7028 static PyObject
*_wrap_wxDC_GetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7029 PyObject
* _resultobj
;
7032 PyObject
* _argo0
= 0;
7033 char *_kwnames
[] = { "self", NULL
};
7036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetMapMode",_kwnames
,&_argo0
))
7039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetMapMode. Expected _wxDC_p.");
7046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7047 _result
= (int )wxDC_GetMapMode(_arg0
);
7049 wxPyEndAllowThreads(__tstate
);
7050 if (PyErr_Occurred()) return NULL
;
7051 } _resultobj
= Py_BuildValue("i",_result
);
7055 #define wxDC_GetOptimization(_swigobj) (_swigobj->GetOptimization())
7056 static PyObject
*_wrap_wxDC_GetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7057 PyObject
* _resultobj
;
7060 PyObject
* _argo0
= 0;
7061 char *_kwnames
[] = { "self", NULL
};
7064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetOptimization",_kwnames
,&_argo0
))
7067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetOptimization. Expected _wxDC_p.");
7074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7075 _result
= (bool )wxDC_GetOptimization(_arg0
);
7077 wxPyEndAllowThreads(__tstate
);
7078 if (PyErr_Occurred()) return NULL
;
7079 } _resultobj
= Py_BuildValue("i",_result
);
7083 #define wxDC_GetPen(_swigobj) (_swigobj->GetPen())
7084 static PyObject
*_wrap_wxDC_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7085 PyObject
* _resultobj
;
7088 PyObject
* _argo0
= 0;
7089 char *_kwnames
[] = { "self", NULL
};
7093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetPen",_kwnames
,&_argo0
))
7096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPen. Expected _wxDC_p.");
7103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7104 _result
= new wxPen (wxDC_GetPen(_arg0
));
7106 wxPyEndAllowThreads(__tstate
);
7107 if (PyErr_Occurred()) return NULL
;
7108 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPen_p");
7109 _resultobj
= Py_BuildValue("s",_ptemp
);
7113 static wxColour
* wxDC_GetPixel(wxDC
*self
,wxCoord x
,wxCoord y
) {
7114 wxColour
* wc
= new wxColour();
7115 self
->GetPixel(x
, y
, wc
);
7118 static PyObject
*_wrap_wxDC_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7119 PyObject
* _resultobj
;
7124 PyObject
* _argo0
= 0;
7125 char *_kwnames
[] = { "self","x","y", NULL
};
7129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_GetPixel",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7132 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7133 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPixel. Expected _wxDC_p.");
7139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7140 _result
= (wxColour
*)wxDC_GetPixel(_arg0
,_arg1
,_arg2
);
7142 wxPyEndAllowThreads(__tstate
);
7143 if (PyErr_Occurred()) return NULL
;
7145 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
7146 _resultobj
= Py_BuildValue("s",_ptemp
);
7149 _resultobj
= Py_None
;
7154 #define wxDC_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
7155 static PyObject
*_wrap_wxDC_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7156 PyObject
* _resultobj
;
7162 PyObject
* _argo0
= 0;
7163 char *_kwnames
[] = { "self", NULL
};
7172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSizeTuple",_kwnames
,&_argo0
))
7175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSizeTuple. Expected _wxDC_p.");
7182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7183 wxDC_GetSizeTuple(_arg0
,_arg1
,_arg2
);
7185 wxPyEndAllowThreads(__tstate
);
7186 if (PyErr_Occurred()) return NULL
;
7187 } Py_INCREF(Py_None
);
7188 _resultobj
= Py_None
;
7191 o
= PyInt_FromLong((long) (*_arg1
));
7192 _resultobj
= t_output_helper(_resultobj
, o
);
7196 o
= PyInt_FromLong((long) (*_arg2
));
7197 _resultobj
= t_output_helper(_resultobj
, o
);
7202 #define wxDC_GetSize(_swigobj) (_swigobj->GetSize())
7203 static PyObject
*_wrap_wxDC_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7204 PyObject
* _resultobj
;
7207 PyObject
* _argo0
= 0;
7208 char *_kwnames
[] = { "self", NULL
};
7212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSize",_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_GetSize. Expected _wxDC_p.");
7222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7223 _result
= new wxSize (wxDC_GetSize(_arg0
));
7225 wxPyEndAllowThreads(__tstate
);
7226 if (PyErr_Occurred()) return NULL
;
7227 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
7228 _resultobj
= Py_BuildValue("s",_ptemp
);
7232 #define wxDC_GetSizeMM(_swigobj) (_swigobj->GetSizeMM())
7233 static PyObject
*_wrap_wxDC_GetSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7234 PyObject
* _resultobj
;
7237 PyObject
* _argo0
= 0;
7238 char *_kwnames
[] = { "self", NULL
};
7242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSizeMM",_kwnames
,&_argo0
))
7245 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7246 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSizeMM. Expected _wxDC_p.");
7252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7253 _result
= new wxSize (wxDC_GetSizeMM(_arg0
));
7255 wxPyEndAllowThreads(__tstate
);
7256 if (PyErr_Occurred()) return NULL
;
7257 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
7258 _resultobj
= Py_BuildValue("s",_ptemp
);
7262 #define wxDC_GetTextBackground(_swigobj) (_swigobj->GetTextBackground())
7263 static PyObject
*_wrap_wxDC_GetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7264 PyObject
* _resultobj
;
7267 PyObject
* _argo0
= 0;
7268 char *_kwnames
[] = { "self", NULL
};
7272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetTextBackground",_kwnames
,&_argo0
))
7275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextBackground. Expected _wxDC_p.");
7282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7283 _result
= new wxColour (wxDC_GetTextBackground(_arg0
));
7285 wxPyEndAllowThreads(__tstate
);
7286 if (PyErr_Occurred()) return NULL
;
7287 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
7288 _resultobj
= Py_BuildValue("s",_ptemp
);
7292 #define wxDC_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
7293 static PyObject
*_wrap_wxDC_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7294 PyObject
* _resultobj
;
7301 PyObject
* _argo0
= 0;
7302 PyObject
* _obj1
= 0;
7303 char *_kwnames
[] = { "self","string", NULL
};
7312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
7315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextExtent. Expected _wxDC_p.");
7322 _arg1
= wxString_in_helper(_obj1
);
7327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7328 wxDC_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
7330 wxPyEndAllowThreads(__tstate
);
7331 if (PyErr_Occurred()) return NULL
;
7332 } Py_INCREF(Py_None
);
7333 _resultobj
= Py_None
;
7336 o
= PyInt_FromLong((long) (*_arg2
));
7337 _resultobj
= t_output_helper(_resultobj
, o
);
7341 o
= PyInt_FromLong((long) (*_arg3
));
7342 _resultobj
= t_output_helper(_resultobj
, o
);
7351 #define wxDC_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7352 static PyObject
*_wrap_wxDC_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7353 PyObject
* _resultobj
;
7364 wxFont
* _arg6
= (wxFont
*) NULL
;
7365 PyObject
* _argo0
= 0;
7366 PyObject
* _obj1
= 0;
7367 PyObject
* _argo6
= 0;
7368 char *_kwnames
[] = { "self","string","font", NULL
};
7383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxDC_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
7386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFullTextExtent. Expected _wxDC_p.");
7393 _arg1
= wxString_in_helper(_obj1
);
7398 if (_argo6
== Py_None
) { _arg6
= NULL
; }
7399 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
7400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxDC_GetFullTextExtent. Expected _wxFont_p.");
7405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7406 wxDC_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
7408 wxPyEndAllowThreads(__tstate
);
7409 if (PyErr_Occurred()) return NULL
;
7410 } Py_INCREF(Py_None
);
7411 _resultobj
= Py_None
;
7414 o
= PyInt_FromLong((long) (*_arg2
));
7415 _resultobj
= t_output_helper(_resultobj
, o
);
7419 o
= PyInt_FromLong((long) (*_arg3
));
7420 _resultobj
= t_output_helper(_resultobj
, o
);
7424 o
= PyInt_FromLong((long) (*_arg4
));
7425 _resultobj
= t_output_helper(_resultobj
, o
);
7429 o
= PyInt_FromLong((long) (*_arg5
));
7430 _resultobj
= t_output_helper(_resultobj
, o
);
7439 #define wxDC_GetMultiLineTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->GetMultiLineTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7440 static PyObject
*_wrap_wxDC_GetMultiLineTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7441 PyObject
* _resultobj
;
7450 wxFont
* _arg5
= (wxFont
*) NULL
;
7451 PyObject
* _argo0
= 0;
7452 PyObject
* _obj1
= 0;
7453 PyObject
* _argo5
= 0;
7454 char *_kwnames
[] = { "self","text","font", NULL
};
7466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxDC_GetMultiLineTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo5
))
7469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetMultiLineTextExtent. Expected _wxDC_p.");
7476 _arg1
= wxString_in_helper(_obj1
);
7481 if (_argo5
== Py_None
) { _arg5
= NULL
; }
7482 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxFont_p")) {
7483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxDC_GetMultiLineTextExtent. Expected _wxFont_p.");
7488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7489 wxDC_GetMultiLineTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7491 wxPyEndAllowThreads(__tstate
);
7492 if (PyErr_Occurred()) return NULL
;
7493 } Py_INCREF(Py_None
);
7494 _resultobj
= Py_None
;
7497 o
= PyInt_FromLong((long) (*_arg2
));
7498 _resultobj
= t_output_helper(_resultobj
, o
);
7502 o
= PyInt_FromLong((long) (*_arg3
));
7503 _resultobj
= t_output_helper(_resultobj
, o
);
7507 o
= PyInt_FromLong((long) (*_arg4
));
7508 _resultobj
= t_output_helper(_resultobj
, o
);
7517 #define wxDC_GetTextForeground(_swigobj) (_swigobj->GetTextForeground())
7518 static PyObject
*_wrap_wxDC_GetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7519 PyObject
* _resultobj
;
7522 PyObject
* _argo0
= 0;
7523 char *_kwnames
[] = { "self", NULL
};
7527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetTextForeground",_kwnames
,&_argo0
))
7530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextForeground. Expected _wxDC_p.");
7537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7538 _result
= new wxColour (wxDC_GetTextForeground(_arg0
));
7540 wxPyEndAllowThreads(__tstate
);
7541 if (PyErr_Occurred()) return NULL
;
7542 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
7543 _resultobj
= Py_BuildValue("s",_ptemp
);
7547 #define wxDC_GetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetUserScale(_swigarg0,_swigarg1))
7548 static PyObject
*_wrap_wxDC_GetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7549 PyObject
* _resultobj
;
7555 PyObject
* _argo0
= 0;
7556 char *_kwnames
[] = { "self", NULL
};
7565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetUserScale",_kwnames
,&_argo0
))
7568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetUserScale. Expected _wxDC_p.");
7575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7576 wxDC_GetUserScale(_arg0
,_arg1
,_arg2
);
7578 wxPyEndAllowThreads(__tstate
);
7579 if (PyErr_Occurred()) return NULL
;
7580 } Py_INCREF(Py_None
);
7581 _resultobj
= Py_None
;
7584 o
= PyFloat_FromDouble((double) (*_arg1
));
7585 _resultobj
= t_output_helper(_resultobj
, o
);
7589 o
= PyFloat_FromDouble((double) (*_arg2
));
7590 _resultobj
= t_output_helper(_resultobj
, o
);
7595 #define wxDC_LogicalToDeviceX(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceX(_swigarg0))
7596 static PyObject
*_wrap_wxDC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7597 PyObject
* _resultobj
;
7601 PyObject
* _argo0
= 0;
7602 char *_kwnames
[] = { "self","x", NULL
};
7605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_LogicalToDeviceX",_kwnames
,&_argo0
,&_arg1
))
7608 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7609 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceX. Expected _wxDC_p.");
7615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7616 _result
= (wxCoord
)wxDC_LogicalToDeviceX(_arg0
,_arg1
);
7618 wxPyEndAllowThreads(__tstate
);
7619 if (PyErr_Occurred()) return NULL
;
7620 } _resultobj
= Py_BuildValue("i",_result
);
7624 #define wxDC_LogicalToDeviceXRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceXRel(_swigarg0))
7625 static PyObject
*_wrap_wxDC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7626 PyObject
* _resultobj
;
7630 PyObject
* _argo0
= 0;
7631 char *_kwnames
[] = { "self","x", NULL
};
7634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_LogicalToDeviceXRel",_kwnames
,&_argo0
,&_arg1
))
7637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceXRel. Expected _wxDC_p.");
7644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7645 _result
= (wxCoord
)wxDC_LogicalToDeviceXRel(_arg0
,_arg1
);
7647 wxPyEndAllowThreads(__tstate
);
7648 if (PyErr_Occurred()) return NULL
;
7649 } _resultobj
= Py_BuildValue("i",_result
);
7653 #define wxDC_LogicalToDeviceY(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceY(_swigarg0))
7654 static PyObject
*_wrap_wxDC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7655 PyObject
* _resultobj
;
7659 PyObject
* _argo0
= 0;
7660 char *_kwnames
[] = { "self","y", NULL
};
7663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_LogicalToDeviceY",_kwnames
,&_argo0
,&_arg1
))
7666 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7667 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceY. Expected _wxDC_p.");
7673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7674 _result
= (wxCoord
)wxDC_LogicalToDeviceY(_arg0
,_arg1
);
7676 wxPyEndAllowThreads(__tstate
);
7677 if (PyErr_Occurred()) return NULL
;
7678 } _resultobj
= Py_BuildValue("i",_result
);
7682 #define wxDC_LogicalToDeviceYRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceYRel(_swigarg0))
7683 static PyObject
*_wrap_wxDC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7684 PyObject
* _resultobj
;
7688 PyObject
* _argo0
= 0;
7689 char *_kwnames
[] = { "self","y", NULL
};
7692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_LogicalToDeviceYRel",_kwnames
,&_argo0
,&_arg1
))
7695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceYRel. Expected _wxDC_p.");
7702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7703 _result
= (wxCoord
)wxDC_LogicalToDeviceYRel(_arg0
,_arg1
);
7705 wxPyEndAllowThreads(__tstate
);
7706 if (PyErr_Occurred()) return NULL
;
7707 } _resultobj
= Py_BuildValue("i",_result
);
7711 #define wxDC_MaxX(_swigobj) (_swigobj->MaxX())
7712 static PyObject
*_wrap_wxDC_MaxX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7713 PyObject
* _resultobj
;
7716 PyObject
* _argo0
= 0;
7717 char *_kwnames
[] = { "self", NULL
};
7720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MaxX",_kwnames
,&_argo0
))
7723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxX. Expected _wxDC_p.");
7730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7731 _result
= (wxCoord
)wxDC_MaxX(_arg0
);
7733 wxPyEndAllowThreads(__tstate
);
7734 if (PyErr_Occurred()) return NULL
;
7735 } _resultobj
= Py_BuildValue("i",_result
);
7739 #define wxDC_MaxY(_swigobj) (_swigobj->MaxY())
7740 static PyObject
*_wrap_wxDC_MaxY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7741 PyObject
* _resultobj
;
7744 PyObject
* _argo0
= 0;
7745 char *_kwnames
[] = { "self", NULL
};
7748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MaxY",_kwnames
,&_argo0
))
7751 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7752 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxY. Expected _wxDC_p.");
7758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7759 _result
= (wxCoord
)wxDC_MaxY(_arg0
);
7761 wxPyEndAllowThreads(__tstate
);
7762 if (PyErr_Occurred()) return NULL
;
7763 } _resultobj
= Py_BuildValue("i",_result
);
7767 #define wxDC_MinX(_swigobj) (_swigobj->MinX())
7768 static PyObject
*_wrap_wxDC_MinX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7769 PyObject
* _resultobj
;
7772 PyObject
* _argo0
= 0;
7773 char *_kwnames
[] = { "self", NULL
};
7776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MinX",_kwnames
,&_argo0
))
7779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinX. Expected _wxDC_p.");
7786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7787 _result
= (wxCoord
)wxDC_MinX(_arg0
);
7789 wxPyEndAllowThreads(__tstate
);
7790 if (PyErr_Occurred()) return NULL
;
7791 } _resultobj
= Py_BuildValue("i",_result
);
7795 #define wxDC_MinY(_swigobj) (_swigobj->MinY())
7796 static PyObject
*_wrap_wxDC_MinY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7797 PyObject
* _resultobj
;
7800 PyObject
* _argo0
= 0;
7801 char *_kwnames
[] = { "self", NULL
};
7804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MinY",_kwnames
,&_argo0
))
7807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinY. Expected _wxDC_p.");
7814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7815 _result
= (wxCoord
)wxDC_MinY(_arg0
);
7817 wxPyEndAllowThreads(__tstate
);
7818 if (PyErr_Occurred()) return NULL
;
7819 } _resultobj
= Py_BuildValue("i",_result
);
7823 #define wxDC_Ok(_swigobj) (_swigobj->Ok())
7824 static PyObject
*_wrap_wxDC_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7825 PyObject
* _resultobj
;
7828 PyObject
* _argo0
= 0;
7829 char *_kwnames
[] = { "self", NULL
};
7832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_Ok",_kwnames
,&_argo0
))
7835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Ok. Expected _wxDC_p.");
7842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7843 _result
= (bool )wxDC_Ok(_arg0
);
7845 wxPyEndAllowThreads(__tstate
);
7846 if (PyErr_Occurred()) return NULL
;
7847 } _resultobj
= Py_BuildValue("i",_result
);
7851 #define wxDC_SetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDeviceOrigin(_swigarg0,_swigarg1))
7852 static PyObject
*_wrap_wxDC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7853 PyObject
* _resultobj
;
7857 PyObject
* _argo0
= 0;
7858 char *_kwnames
[] = { "self","x","y", NULL
};
7861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_SetDeviceOrigin",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7864 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7865 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetDeviceOrigin. Expected _wxDC_p.");
7871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7872 wxDC_SetDeviceOrigin(_arg0
,_arg1
,_arg2
);
7874 wxPyEndAllowThreads(__tstate
);
7875 if (PyErr_Occurred()) return NULL
;
7876 } Py_INCREF(Py_None
);
7877 _resultobj
= Py_None
;
7881 #define wxDC_SetBackground(_swigobj,_swigarg0) (_swigobj->SetBackground(_swigarg0))
7882 static PyObject
*_wrap_wxDC_SetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7883 PyObject
* _resultobj
;
7886 PyObject
* _argo0
= 0;
7887 PyObject
* _argo1
= 0;
7888 char *_kwnames
[] = { "self","brush", NULL
};
7891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetBackground",_kwnames
,&_argo0
,&_argo1
))
7894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackground. Expected _wxDC_p.");
7901 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
7902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBackground. Expected _wxBrush_p.");
7907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7908 wxDC_SetBackground(_arg0
,*_arg1
);
7910 wxPyEndAllowThreads(__tstate
);
7911 if (PyErr_Occurred()) return NULL
;
7912 } Py_INCREF(Py_None
);
7913 _resultobj
= Py_None
;
7917 #define wxDC_SetBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetBackgroundMode(_swigarg0))
7918 static PyObject
*_wrap_wxDC_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7919 PyObject
* _resultobj
;
7922 PyObject
* _argo0
= 0;
7923 char *_kwnames
[] = { "self","mode", NULL
};
7926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetBackgroundMode",_kwnames
,&_argo0
,&_arg1
))
7929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackgroundMode. Expected _wxDC_p.");
7936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7937 wxDC_SetBackgroundMode(_arg0
,_arg1
);
7939 wxPyEndAllowThreads(__tstate
);
7940 if (PyErr_Occurred()) return NULL
;
7941 } Py_INCREF(Py_None
);
7942 _resultobj
= Py_None
;
7946 #define wxDC_SetClippingRegion(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetClippingRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7947 static PyObject
*_wrap_wxDC_SetClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7948 PyObject
* _resultobj
;
7954 PyObject
* _argo0
= 0;
7955 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
7958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxDC_SetClippingRegion",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetClippingRegion. Expected _wxDC_p.");
7968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7969 wxDC_SetClippingRegion(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7971 wxPyEndAllowThreads(__tstate
);
7972 if (PyErr_Occurred()) return NULL
;
7973 } Py_INCREF(Py_None
);
7974 _resultobj
= Py_None
;
7978 #define wxDC_SetClippingRegionAsRegion(_swigobj,_swigarg0) (_swigobj->SetClippingRegion(_swigarg0))
7979 static PyObject
*_wrap_wxDC_SetClippingRegionAsRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7980 PyObject
* _resultobj
;
7983 PyObject
* _argo0
= 0;
7984 PyObject
* _argo1
= 0;
7985 char *_kwnames
[] = { "self","region", NULL
};
7988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetClippingRegionAsRegion",_kwnames
,&_argo0
,&_argo1
))
7991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetClippingRegionAsRegion. Expected _wxDC_p.");
7998 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
7999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetClippingRegionAsRegion. Expected _wxRegion_p.");
8004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8005 wxDC_SetClippingRegionAsRegion(_arg0
,*_arg1
);
8007 wxPyEndAllowThreads(__tstate
);
8008 if (PyErr_Occurred()) return NULL
;
8009 } Py_INCREF(Py_None
);
8010 _resultobj
= Py_None
;
8014 #define wxDC_SetClippingRect(_swigobj,_swigarg0) (_swigobj->SetClippingRegion(_swigarg0))
8015 static PyObject
*_wrap_wxDC_SetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8016 PyObject
* _resultobj
;
8019 PyObject
* _argo0
= 0;
8021 PyObject
* _obj1
= 0;
8022 char *_kwnames
[] = { "self","rect", NULL
};
8025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetClippingRect",_kwnames
,&_argo0
,&_obj1
))
8028 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8029 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetClippingRect. Expected _wxDC_p.");
8036 if (! wxRect_helper(_obj1
, &_arg1
))
8040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8041 wxDC_SetClippingRect(_arg0
,*_arg1
);
8043 wxPyEndAllowThreads(__tstate
);
8044 if (PyErr_Occurred()) return NULL
;
8045 } Py_INCREF(Py_None
);
8046 _resultobj
= Py_None
;
8050 #define wxDC_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
8051 static PyObject
*_wrap_wxDC_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8052 PyObject
* _resultobj
;
8055 PyObject
* _argo0
= 0;
8056 PyObject
* _argo1
= 0;
8057 char *_kwnames
[] = { "self","colourMap", NULL
};
8060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetPalette",_kwnames
,&_argo0
,&_argo1
))
8063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPalette. Expected _wxDC_p.");
8070 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPalette_p")) {
8071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPalette. Expected _wxPalette_p.");
8076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8077 wxDC_SetPalette(_arg0
,*_arg1
);
8079 wxPyEndAllowThreads(__tstate
);
8080 if (PyErr_Occurred()) return NULL
;
8081 } Py_INCREF(Py_None
);
8082 _resultobj
= Py_None
;
8086 #define wxDC_SetBrush(_swigobj,_swigarg0) (_swigobj->SetBrush(_swigarg0))
8087 static PyObject
*_wrap_wxDC_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8088 PyObject
* _resultobj
;
8091 PyObject
* _argo0
= 0;
8092 PyObject
* _argo1
= 0;
8093 char *_kwnames
[] = { "self","brush", NULL
};
8096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetBrush",_kwnames
,&_argo0
,&_argo1
))
8099 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8100 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBrush. Expected _wxDC_p.");
8106 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
8107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBrush. Expected _wxBrush_p.");
8112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8113 wxDC_SetBrush(_arg0
,*_arg1
);
8115 wxPyEndAllowThreads(__tstate
);
8116 if (PyErr_Occurred()) return NULL
;
8117 } Py_INCREF(Py_None
);
8118 _resultobj
= Py_None
;
8122 #define wxDC_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
8123 static PyObject
*_wrap_wxDC_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8124 PyObject
* _resultobj
;
8127 PyObject
* _argo0
= 0;
8128 PyObject
* _argo1
= 0;
8129 char *_kwnames
[] = { "self","font", NULL
};
8132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetFont",_kwnames
,&_argo0
,&_argo1
))
8135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetFont. Expected _wxDC_p.");
8142 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
8143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetFont. Expected _wxFont_p.");
8148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8149 wxDC_SetFont(_arg0
,*_arg1
);
8151 wxPyEndAllowThreads(__tstate
);
8152 if (PyErr_Occurred()) return NULL
;
8153 } Py_INCREF(Py_None
);
8154 _resultobj
= Py_None
;
8158 #define wxDC_SetLogicalFunction(_swigobj,_swigarg0) (_swigobj->SetLogicalFunction(_swigarg0))
8159 static PyObject
*_wrap_wxDC_SetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8160 PyObject
* _resultobj
;
8163 PyObject
* _argo0
= 0;
8164 char *_kwnames
[] = { "self","function", NULL
};
8167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetLogicalFunction",_kwnames
,&_argo0
,&_arg1
))
8170 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8171 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalFunction. Expected _wxDC_p.");
8177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8178 wxDC_SetLogicalFunction(_arg0
,_arg1
);
8180 wxPyEndAllowThreads(__tstate
);
8181 if (PyErr_Occurred()) return NULL
;
8182 } Py_INCREF(Py_None
);
8183 _resultobj
= Py_None
;
8187 #define wxDC_SetLogicalScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLogicalScale(_swigarg0,_swigarg1))
8188 static PyObject
*_wrap_wxDC_SetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8189 PyObject
* _resultobj
;
8193 PyObject
* _argo0
= 0;
8194 char *_kwnames
[] = { "self","x","y", NULL
};
8197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxDC_SetLogicalScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalScale. Expected _wxDC_p.");
8207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8208 wxDC_SetLogicalScale(_arg0
,_arg1
,_arg2
);
8210 wxPyEndAllowThreads(__tstate
);
8211 if (PyErr_Occurred()) return NULL
;
8212 } Py_INCREF(Py_None
);
8213 _resultobj
= Py_None
;
8217 #define wxDC_SetMapMode(_swigobj,_swigarg0) (_swigobj->SetMapMode(_swigarg0))
8218 static PyObject
*_wrap_wxDC_SetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8219 PyObject
* _resultobj
;
8222 PyObject
* _argo0
= 0;
8223 char *_kwnames
[] = { "self","mode", NULL
};
8226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetMapMode",_kwnames
,&_argo0
,&_arg1
))
8229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetMapMode. Expected _wxDC_p.");
8236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8237 wxDC_SetMapMode(_arg0
,_arg1
);
8239 wxPyEndAllowThreads(__tstate
);
8240 if (PyErr_Occurred()) return NULL
;
8241 } Py_INCREF(Py_None
);
8242 _resultobj
= Py_None
;
8246 #define wxDC_SetOptimization(_swigobj,_swigarg0) (_swigobj->SetOptimization(_swigarg0))
8247 static PyObject
*_wrap_wxDC_SetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8248 PyObject
* _resultobj
;
8251 PyObject
* _argo0
= 0;
8253 char *_kwnames
[] = { "self","optimize", NULL
};
8256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetOptimization",_kwnames
,&_argo0
,&tempbool1
))
8259 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8260 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetOptimization. Expected _wxDC_p.");
8265 _arg1
= (bool ) tempbool1
;
8267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8268 wxDC_SetOptimization(_arg0
,_arg1
);
8270 wxPyEndAllowThreads(__tstate
);
8271 if (PyErr_Occurred()) return NULL
;
8272 } Py_INCREF(Py_None
);
8273 _resultobj
= Py_None
;
8277 #define wxDC_SetPen(_swigobj,_swigarg0) (_swigobj->SetPen(_swigarg0))
8278 static PyObject
*_wrap_wxDC_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8279 PyObject
* _resultobj
;
8282 PyObject
* _argo0
= 0;
8283 PyObject
* _argo1
= 0;
8284 char *_kwnames
[] = { "self","pen", NULL
};
8287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetPen",_kwnames
,&_argo0
,&_argo1
))
8290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPen. Expected _wxDC_p.");
8297 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
8298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPen. Expected _wxPen_p.");
8303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8304 wxDC_SetPen(_arg0
,*_arg1
);
8306 wxPyEndAllowThreads(__tstate
);
8307 if (PyErr_Occurred()) return NULL
;
8308 } Py_INCREF(Py_None
);
8309 _resultobj
= Py_None
;
8313 #define wxDC_SetTextBackground(_swigobj,_swigarg0) (_swigobj->SetTextBackground(_swigarg0))
8314 static PyObject
*_wrap_wxDC_SetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8315 PyObject
* _resultobj
;
8318 PyObject
* _argo0
= 0;
8320 PyObject
* _obj1
= 0;
8321 char *_kwnames
[] = { "self","colour", NULL
};
8324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetTextBackground",_kwnames
,&_argo0
,&_obj1
))
8327 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8328 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextBackground. Expected _wxDC_p.");
8335 if (! wxColour_helper(_obj1
, &_arg1
))
8339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8340 wxDC_SetTextBackground(_arg0
,*_arg1
);
8342 wxPyEndAllowThreads(__tstate
);
8343 if (PyErr_Occurred()) return NULL
;
8344 } Py_INCREF(Py_None
);
8345 _resultobj
= Py_None
;
8349 #define wxDC_SetTextForeground(_swigobj,_swigarg0) (_swigobj->SetTextForeground(_swigarg0))
8350 static PyObject
*_wrap_wxDC_SetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8351 PyObject
* _resultobj
;
8354 PyObject
* _argo0
= 0;
8356 PyObject
* _obj1
= 0;
8357 char *_kwnames
[] = { "self","colour", NULL
};
8360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetTextForeground",_kwnames
,&_argo0
,&_obj1
))
8363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextForeground. Expected _wxDC_p.");
8371 if (! wxColour_helper(_obj1
, &_arg1
))
8375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8376 wxDC_SetTextForeground(_arg0
,*_arg1
);
8378 wxPyEndAllowThreads(__tstate
);
8379 if (PyErr_Occurred()) return NULL
;
8380 } Py_INCREF(Py_None
);
8381 _resultobj
= Py_None
;
8385 #define wxDC_SetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetUserScale(_swigarg0,_swigarg1))
8386 static PyObject
*_wrap_wxDC_SetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8387 PyObject
* _resultobj
;
8391 PyObject
* _argo0
= 0;
8392 char *_kwnames
[] = { "self","x_scale","y_scale", NULL
};
8395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxDC_SetUserScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8398 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8399 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetUserScale. Expected _wxDC_p.");
8405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8406 wxDC_SetUserScale(_arg0
,_arg1
,_arg2
);
8408 wxPyEndAllowThreads(__tstate
);
8409 if (PyErr_Occurred()) return NULL
;
8410 } Py_INCREF(Py_None
);
8411 _resultobj
= Py_None
;
8415 #define wxDC_StartDoc(_swigobj,_swigarg0) (_swigobj->StartDoc(_swigarg0))
8416 static PyObject
*_wrap_wxDC_StartDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8417 PyObject
* _resultobj
;
8421 PyObject
* _argo0
= 0;
8422 PyObject
* _obj1
= 0;
8423 char *_kwnames
[] = { "self","message", NULL
};
8426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_StartDoc",_kwnames
,&_argo0
,&_obj1
))
8429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartDoc. Expected _wxDC_p.");
8436 _arg1
= wxString_in_helper(_obj1
);
8441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8442 _result
= (bool )wxDC_StartDoc(_arg0
,*_arg1
);
8444 wxPyEndAllowThreads(__tstate
);
8445 if (PyErr_Occurred()) return NULL
;
8446 } _resultobj
= Py_BuildValue("i",_result
);
8454 #define wxDC_StartPage(_swigobj) (_swigobj->StartPage())
8455 static PyObject
*_wrap_wxDC_StartPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8456 PyObject
* _resultobj
;
8458 PyObject
* _argo0
= 0;
8459 char *_kwnames
[] = { "self", NULL
};
8462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_StartPage",_kwnames
,&_argo0
))
8465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartPage. Expected _wxDC_p.");
8472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8473 wxDC_StartPage(_arg0
);
8475 wxPyEndAllowThreads(__tstate
);
8476 if (PyErr_Occurred()) return NULL
;
8477 } Py_INCREF(Py_None
);
8478 _resultobj
= Py_None
;
8482 #define wxDC_DrawBitmap(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8483 static PyObject
*_wrap_wxDC_DrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8484 PyObject
* _resultobj
;
8489 int _arg4
= (int ) FALSE
;
8490 PyObject
* _argo0
= 0;
8491 PyObject
* _argo1
= 0;
8492 char *_kwnames
[] = { "self","bitmap","x","y","useMask", NULL
};
8495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii|i:wxDC_DrawBitmap",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
))
8498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawBitmap. Expected _wxDC_p.");
8505 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
8506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawBitmap. Expected _wxBitmap_p.");
8511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8512 wxDC_DrawBitmap(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
8514 wxPyEndAllowThreads(__tstate
);
8515 if (PyErr_Occurred()) return NULL
;
8516 } Py_INCREF(Py_None
);
8517 _resultobj
= Py_None
;
8521 #define wxDC_CanDrawBitmap(_swigobj) (_swigobj->CanDrawBitmap())
8522 static PyObject
*_wrap_wxDC_CanDrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8523 PyObject
* _resultobj
;
8526 PyObject
* _argo0
= 0;
8527 char *_kwnames
[] = { "self", NULL
};
8530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_CanDrawBitmap",_kwnames
,&_argo0
))
8533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CanDrawBitmap. Expected _wxDC_p.");
8540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8541 _result
= (bool )wxDC_CanDrawBitmap(_arg0
);
8543 wxPyEndAllowThreads(__tstate
);
8544 if (PyErr_Occurred()) return NULL
;
8545 } _resultobj
= Py_BuildValue("i",_result
);
8549 #define wxDC_CanGetTextExtent(_swigobj) (_swigobj->CanGetTextExtent())
8550 static PyObject
*_wrap_wxDC_CanGetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8551 PyObject
* _resultobj
;
8554 PyObject
* _argo0
= 0;
8555 char *_kwnames
[] = { "self", NULL
};
8558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_CanGetTextExtent",_kwnames
,&_argo0
))
8561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CanGetTextExtent. Expected _wxDC_p.");
8568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8569 _result
= (bool )wxDC_CanGetTextExtent(_arg0
);
8571 wxPyEndAllowThreads(__tstate
);
8572 if (PyErr_Occurred()) return NULL
;
8573 } _resultobj
= Py_BuildValue("i",_result
);
8577 #define wxDC_GetDepth(_swigobj) (_swigobj->GetDepth())
8578 static PyObject
*_wrap_wxDC_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8579 PyObject
* _resultobj
;
8582 PyObject
* _argo0
= 0;
8583 char *_kwnames
[] = { "self", NULL
};
8586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetDepth",_kwnames
,&_argo0
))
8589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetDepth. Expected _wxDC_p.");
8596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8597 _result
= (int )wxDC_GetDepth(_arg0
);
8599 wxPyEndAllowThreads(__tstate
);
8600 if (PyErr_Occurred()) return NULL
;
8601 } _resultobj
= Py_BuildValue("i",_result
);
8605 #define wxDC_GetPPI(_swigobj) (_swigobj->GetPPI())
8606 static PyObject
*_wrap_wxDC_GetPPI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8607 PyObject
* _resultobj
;
8610 PyObject
* _argo0
= 0;
8611 char *_kwnames
[] = { "self", NULL
};
8615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetPPI",_kwnames
,&_argo0
))
8618 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8619 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPPI. Expected _wxDC_p.");
8625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8626 _result
= new wxSize (wxDC_GetPPI(_arg0
));
8628 wxPyEndAllowThreads(__tstate
);
8629 if (PyErr_Occurred()) return NULL
;
8630 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
8631 _resultobj
= Py_BuildValue("s",_ptemp
);
8635 #define wxDC_GetLogicalOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLogicalOrigin(_swigarg0,_swigarg1))
8636 static PyObject
*_wrap_wxDC_GetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8637 PyObject
* _resultobj
;
8643 PyObject
* _argo0
= 0;
8644 char *_kwnames
[] = { "self", NULL
};
8653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalOrigin",_kwnames
,&_argo0
))
8656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalOrigin. Expected _wxDC_p.");
8663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8664 wxDC_GetLogicalOrigin(_arg0
,_arg1
,_arg2
);
8666 wxPyEndAllowThreads(__tstate
);
8667 if (PyErr_Occurred()) return NULL
;
8668 } Py_INCREF(Py_None
);
8669 _resultobj
= Py_None
;
8672 o
= PyInt_FromLong((long) (*_arg1
));
8673 _resultobj
= t_output_helper(_resultobj
, o
);
8677 o
= PyInt_FromLong((long) (*_arg2
));
8678 _resultobj
= t_output_helper(_resultobj
, o
);
8683 #define wxDC_SetLogicalOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLogicalOrigin(_swigarg0,_swigarg1))
8684 static PyObject
*_wrap_wxDC_SetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8685 PyObject
* _resultobj
;
8689 PyObject
* _argo0
= 0;
8690 char *_kwnames
[] = { "self","x","y", NULL
};
8693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_SetLogicalOrigin",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalOrigin. Expected _wxDC_p.");
8703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8704 wxDC_SetLogicalOrigin(_arg0
,_arg1
,_arg2
);
8706 wxPyEndAllowThreads(__tstate
);
8707 if (PyErr_Occurred()) return NULL
;
8708 } Py_INCREF(Py_None
);
8709 _resultobj
= Py_None
;
8713 #define wxDC_GetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDeviceOrigin(_swigarg0,_swigarg1))
8714 static PyObject
*_wrap_wxDC_GetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8715 PyObject
* _resultobj
;
8721 PyObject
* _argo0
= 0;
8722 char *_kwnames
[] = { "self", NULL
};
8731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetDeviceOrigin",_kwnames
,&_argo0
))
8734 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8735 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetDeviceOrigin. Expected _wxDC_p.");
8741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8742 wxDC_GetDeviceOrigin(_arg0
,_arg1
,_arg2
);
8744 wxPyEndAllowThreads(__tstate
);
8745 if (PyErr_Occurred()) return NULL
;
8746 } Py_INCREF(Py_None
);
8747 _resultobj
= Py_None
;
8750 o
= PyInt_FromLong((long) (*_arg1
));
8751 _resultobj
= t_output_helper(_resultobj
, o
);
8755 o
= PyInt_FromLong((long) (*_arg2
));
8756 _resultobj
= t_output_helper(_resultobj
, o
);
8761 #define wxDC_SetAxisOrientation(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAxisOrientation(_swigarg0,_swigarg1))
8762 static PyObject
*_wrap_wxDC_SetAxisOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8763 PyObject
* _resultobj
;
8767 PyObject
* _argo0
= 0;
8770 char *_kwnames
[] = { "self","xLeftRight","yBottomUp", NULL
};
8773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_SetAxisOrientation",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
8776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetAxisOrientation. Expected _wxDC_p.");
8782 _arg1
= (bool ) tempbool1
;
8783 _arg2
= (bool ) tempbool2
;
8785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8786 wxDC_SetAxisOrientation(_arg0
,_arg1
,_arg2
);
8788 wxPyEndAllowThreads(__tstate
);
8789 if (PyErr_Occurred()) return NULL
;
8790 } Py_INCREF(Py_None
);
8791 _resultobj
= Py_None
;
8795 #define wxDC_CalcBoundingBox(_swigobj,_swigarg0,_swigarg1) (_swigobj->CalcBoundingBox(_swigarg0,_swigarg1))
8796 static PyObject
*_wrap_wxDC_CalcBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8797 PyObject
* _resultobj
;
8801 PyObject
* _argo0
= 0;
8802 char *_kwnames
[] = { "self","x","y", NULL
};
8805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_CalcBoundingBox",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CalcBoundingBox. Expected _wxDC_p.");
8815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8816 wxDC_CalcBoundingBox(_arg0
,_arg1
,_arg2
);
8818 wxPyEndAllowThreads(__tstate
);
8819 if (PyErr_Occurred()) return NULL
;
8820 } Py_INCREF(Py_None
);
8821 _resultobj
= Py_None
;
8825 #define wxDC_ResetBoundingBox(_swigobj) (_swigobj->ResetBoundingBox())
8826 static PyObject
*_wrap_wxDC_ResetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8827 PyObject
* _resultobj
;
8829 PyObject
* _argo0
= 0;
8830 char *_kwnames
[] = { "self", NULL
};
8833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_ResetBoundingBox",_kwnames
,&_argo0
))
8836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_ResetBoundingBox. Expected _wxDC_p.");
8843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8844 wxDC_ResetBoundingBox(_arg0
);
8846 wxPyEndAllowThreads(__tstate
);
8847 if (PyErr_Occurred()) return NULL
;
8848 } Py_INCREF(Py_None
);
8849 _resultobj
= Py_None
;
8853 static PyObject
*_wrap_wxDC_GetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8854 PyObject
* _resultobj
;
8864 PyObject
* _argo0
= 0;
8865 char *_kwnames
[] = { "self", NULL
};
8880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBoundingBox",_kwnames
,&_argo0
))
8883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBoundingBox. Expected _wxDC_p.");
8890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8891 wxDC_GetBoundingBox(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
8893 wxPyEndAllowThreads(__tstate
);
8894 if (PyErr_Occurred()) return NULL
;
8895 } Py_INCREF(Py_None
);
8896 _resultobj
= Py_None
;
8899 o
= PyInt_FromLong((long) (*_arg1
));
8900 _resultobj
= t_output_helper(_resultobj
, o
);
8904 o
= PyInt_FromLong((long) (*_arg2
));
8905 _resultobj
= t_output_helper(_resultobj
, o
);
8909 o
= PyInt_FromLong((long) (*_arg3
));
8910 _resultobj
= t_output_helper(_resultobj
, o
);
8914 o
= PyInt_FromLong((long) (*_arg4
));
8915 _resultobj
= t_output_helper(_resultobj
, o
);
8920 #define wxDC_GetHDC(_swigobj) (_swigobj->GetHDC())
8921 static PyObject
*_wrap_wxDC_GetHDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8922 PyObject
* _resultobj
;
8925 PyObject
* _argo0
= 0;
8926 char *_kwnames
[] = { "self", NULL
};
8929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetHDC",_kwnames
,&_argo0
))
8932 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8933 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetHDC. Expected _wxDC_p.");
8939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8940 _result
= (long )wxDC_GetHDC(_arg0
);
8942 wxPyEndAllowThreads(__tstate
);
8943 if (PyErr_Occurred()) return NULL
;
8944 } _resultobj
= Py_BuildValue("l",_result
);
8948 static PyObject
* wxDC__DrawPointList(wxDC
*self
,PyObject
* pyCoords
,PyObject
* pyPens
,PyObject
* pyBrushes
) {
8949 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
8951 static PyObject
*_wrap_wxDC__DrawPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8952 PyObject
* _resultobj
;
8958 PyObject
* _argo0
= 0;
8959 PyObject
* _obj1
= 0;
8960 PyObject
* _obj2
= 0;
8961 PyObject
* _obj3
= 0;
8962 char *_kwnames
[] = { "self","pyCoords","pyPens","pyBrushes", NULL
};
8965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDC__DrawPointList",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
))
8968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC__DrawPointList. Expected _wxDC_p.");
8984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8985 _result
= (PyObject
*)wxDC__DrawPointList(_arg0
,_arg1
,_arg2
,_arg3
);
8987 wxPyEndAllowThreads(__tstate
);
8988 if (PyErr_Occurred()) return NULL
;
8990 _resultobj
= _result
;
8995 static PyObject
* wxDC__DrawLineList(wxDC
*self
,PyObject
* pyCoords
,PyObject
* pyPens
,PyObject
* pyBrushes
) {
8996 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
8998 static PyObject
*_wrap_wxDC__DrawLineList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8999 PyObject
* _resultobj
;
9005 PyObject
* _argo0
= 0;
9006 PyObject
* _obj1
= 0;
9007 PyObject
* _obj2
= 0;
9008 PyObject
* _obj3
= 0;
9009 char *_kwnames
[] = { "self","pyCoords","pyPens","pyBrushes", NULL
};
9012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDC__DrawLineList",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
))
9015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC__DrawLineList. Expected _wxDC_p.");
9031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9032 _result
= (PyObject
*)wxDC__DrawLineList(_arg0
,_arg1
,_arg2
,_arg3
);
9034 wxPyEndAllowThreads(__tstate
);
9035 if (PyErr_Occurred()) return NULL
;
9037 _resultobj
= _result
;
9042 static PyObject
* wxDC__DrawRectangleList(wxDC
*self
,PyObject
* pyCoords
,PyObject
* pyPens
,PyObject
* pyBrushes
) {
9043 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
9045 static PyObject
*_wrap_wxDC__DrawRectangleList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9046 PyObject
* _resultobj
;
9052 PyObject
* _argo0
= 0;
9053 PyObject
* _obj1
= 0;
9054 PyObject
* _obj2
= 0;
9055 PyObject
* _obj3
= 0;
9056 char *_kwnames
[] = { "self","pyCoords","pyPens","pyBrushes", NULL
};
9059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDC__DrawRectangleList",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
))
9062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC__DrawRectangleList. Expected _wxDC_p.");
9078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9079 _result
= (PyObject
*)wxDC__DrawRectangleList(_arg0
,_arg1
,_arg2
,_arg3
);
9081 wxPyEndAllowThreads(__tstate
);
9082 if (PyErr_Occurred()) return NULL
;
9084 _resultobj
= _result
;
9089 static PyObject
* wxDC__DrawEllipseList(wxDC
*self
,PyObject
* pyCoords
,PyObject
* pyPens
,PyObject
* pyBrushes
) {
9090 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
9092 static PyObject
*_wrap_wxDC__DrawEllipseList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9093 PyObject
* _resultobj
;
9099 PyObject
* _argo0
= 0;
9100 PyObject
* _obj1
= 0;
9101 PyObject
* _obj2
= 0;
9102 PyObject
* _obj3
= 0;
9103 char *_kwnames
[] = { "self","pyCoords","pyPens","pyBrushes", NULL
};
9106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDC__DrawEllipseList",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
))
9109 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9110 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC__DrawEllipseList. Expected _wxDC_p.");
9125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9126 _result
= (PyObject
*)wxDC__DrawEllipseList(_arg0
,_arg1
,_arg2
,_arg3
);
9128 wxPyEndAllowThreads(__tstate
);
9129 if (PyErr_Occurred()) return NULL
;
9131 _resultobj
= _result
;
9136 static PyObject
* wxDC__DrawPolygonList(wxDC
*self
,PyObject
* pyCoords
,PyObject
* pyPens
,PyObject
* pyBrushes
) {
9137 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
9139 static PyObject
*_wrap_wxDC__DrawPolygonList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9140 PyObject
* _resultobj
;
9146 PyObject
* _argo0
= 0;
9147 PyObject
* _obj1
= 0;
9148 PyObject
* _obj2
= 0;
9149 PyObject
* _obj3
= 0;
9150 char *_kwnames
[] = { "self","pyCoords","pyPens","pyBrushes", NULL
};
9153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDC__DrawPolygonList",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
))
9156 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9157 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC__DrawPolygonList. Expected _wxDC_p.");
9172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9173 _result
= (PyObject
*)wxDC__DrawPolygonList(_arg0
,_arg1
,_arg2
,_arg3
);
9175 wxPyEndAllowThreads(__tstate
);
9176 if (PyErr_Occurred()) return NULL
;
9178 _resultobj
= _result
;
9183 static PyObject
* wxDC__DrawTextList(wxDC
*self
,PyObject
* textList
,PyObject
* pyPoints
,PyObject
* foregroundList
,PyObject
* backgroundList
) {
9184 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
9186 static PyObject
*_wrap_wxDC__DrawTextList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9187 PyObject
* _resultobj
;
9194 PyObject
* _argo0
= 0;
9195 PyObject
* _obj1
= 0;
9196 PyObject
* _obj2
= 0;
9197 PyObject
* _obj3
= 0;
9198 PyObject
* _obj4
= 0;
9199 char *_kwnames
[] = { "self","textList","pyPoints","foregroundList","backgroundList", NULL
};
9202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOOO:wxDC__DrawTextList",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
,&_obj4
))
9205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC__DrawTextList. Expected _wxDC_p.");
9224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9225 _result
= (PyObject
*)wxDC__DrawTextList(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
9227 wxPyEndAllowThreads(__tstate
);
9228 if (PyErr_Occurred()) return NULL
;
9230 _resultobj
= _result
;
9235 static void *SwigwxMemoryDCTowxDC(void *ptr
) {
9238 src
= (wxMemoryDC
*) ptr
;
9239 dest
= (wxDC
*) src
;
9240 return (void *) dest
;
9243 static void *SwigwxMemoryDCTowxObject(void *ptr
) {
9246 src
= (wxMemoryDC
*) ptr
;
9247 dest
= (wxObject
*) src
;
9248 return (void *) dest
;
9251 #define new_wxMemoryDC() (new wxMemoryDC())
9252 static PyObject
*_wrap_new_wxMemoryDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9253 PyObject
* _resultobj
;
9254 wxMemoryDC
* _result
;
9255 char *_kwnames
[] = { NULL
};
9259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMemoryDC",_kwnames
))
9262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9263 _result
= (wxMemoryDC
*)new_wxMemoryDC();
9265 wxPyEndAllowThreads(__tstate
);
9266 if (PyErr_Occurred()) return NULL
;
9268 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
9269 _resultobj
= Py_BuildValue("s",_ptemp
);
9272 _resultobj
= Py_None
;
9277 #define wxMemoryDC_SelectObject(_swigobj,_swigarg0) (_swigobj->SelectObject(_swigarg0))
9278 static PyObject
*_wrap_wxMemoryDC_SelectObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9279 PyObject
* _resultobj
;
9282 PyObject
* _argo0
= 0;
9283 PyObject
* _argo1
= 0;
9284 char *_kwnames
[] = { "self","bitmap", NULL
};
9287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMemoryDC_SelectObject",_kwnames
,&_argo0
,&_argo1
))
9290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMemoryDC_p")) {
9292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDC_SelectObject. Expected _wxMemoryDC_p.");
9297 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
9298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMemoryDC_SelectObject. Expected _wxBitmap_p.");
9303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9304 wxMemoryDC_SelectObject(_arg0
,*_arg1
);
9306 wxPyEndAllowThreads(__tstate
);
9307 if (PyErr_Occurred()) return NULL
;
9308 } Py_INCREF(Py_None
);
9309 _resultobj
= Py_None
;
9313 static void *SwigwxBufferedDCTowxMemoryDC(void *ptr
) {
9316 src
= (wxBufferedDC
*) ptr
;
9317 dest
= (wxMemoryDC
*) src
;
9318 return (void *) dest
;
9321 static void *SwigwxBufferedDCTowxDC(void *ptr
) {
9324 src
= (wxBufferedDC
*) ptr
;
9325 dest
= (wxDC
*) src
;
9326 return (void *) dest
;
9329 static void *SwigwxBufferedDCTowxObject(void *ptr
) {
9332 src
= (wxBufferedDC
*) ptr
;
9333 dest
= (wxObject
*) src
;
9334 return (void *) dest
;
9337 #define new_wxBufferedDC(_swigarg0,_swigarg1) (new wxBufferedDC(_swigarg0,_swigarg1))
9338 static PyObject
*_wrap_new_wxBufferedDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9339 PyObject
* _resultobj
;
9340 wxBufferedDC
* _result
;
9343 PyObject
* _argo0
= 0;
9344 PyObject
* _argo1
= 0;
9345 char *_kwnames
[] = { "dc","buffer", NULL
};
9349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxBufferedDC",_kwnames
,&_argo0
,&_argo1
))
9352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBufferedDC. Expected _wxDC_p.");
9359 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
9360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxBufferedDC. Expected _wxBitmap_p.");
9365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9366 _result
= (wxBufferedDC
*)new_wxBufferedDC(_arg0
,*_arg1
);
9368 wxPyEndAllowThreads(__tstate
);
9369 if (PyErr_Occurred()) return NULL
;
9371 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBufferedDC_p");
9372 _resultobj
= Py_BuildValue("s",_ptemp
);
9375 _resultobj
= Py_None
;
9380 #define new_wxBufferedDCInternalBuffer(_swigarg0,_swigarg1) (new wxBufferedDC(_swigarg0,_swigarg1))
9381 static PyObject
*_wrap_new_wxBufferedDCInternalBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9382 PyObject
* _resultobj
;
9383 wxBufferedDC
* _result
;
9386 PyObject
* _argo0
= 0;
9388 PyObject
* _obj1
= 0;
9389 char *_kwnames
[] = { "dc","area", NULL
};
9393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxBufferedDCInternalBuffer",_kwnames
,&_argo0
,&_obj1
))
9396 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9397 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBufferedDCInternalBuffer. Expected _wxDC_p.");
9404 if (! wxSize_helper(_obj1
, &_arg1
))
9408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9409 _result
= (wxBufferedDC
*)new_wxBufferedDCInternalBuffer(_arg0
,*_arg1
);
9411 wxPyEndAllowThreads(__tstate
);
9412 if (PyErr_Occurred()) return NULL
;
9414 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBufferedDC_p");
9415 _resultobj
= Py_BuildValue("s",_ptemp
);
9418 _resultobj
= Py_None
;
9423 #define wxBufferedDC_UnMask(_swigobj) (_swigobj->UnMask())
9424 static PyObject
*_wrap_wxBufferedDC_UnMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9425 PyObject
* _resultobj
;
9426 wxBufferedDC
* _arg0
;
9427 PyObject
* _argo0
= 0;
9428 char *_kwnames
[] = { "self", NULL
};
9431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBufferedDC_UnMask",_kwnames
,&_argo0
))
9434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBufferedDC_p")) {
9436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBufferedDC_UnMask. Expected _wxBufferedDC_p.");
9441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9442 wxBufferedDC_UnMask(_arg0
);
9444 wxPyEndAllowThreads(__tstate
);
9445 if (PyErr_Occurred()) return NULL
;
9446 } Py_INCREF(Py_None
);
9447 _resultobj
= Py_None
;
9451 static void *SwigwxBufferedPaintDCTowxBufferedDC(void *ptr
) {
9452 wxBufferedPaintDC
*src
;
9454 src
= (wxBufferedPaintDC
*) ptr
;
9455 dest
= (wxBufferedDC
*) src
;
9456 return (void *) dest
;
9459 static void *SwigwxBufferedPaintDCTowxMemoryDC(void *ptr
) {
9460 wxBufferedPaintDC
*src
;
9462 src
= (wxBufferedPaintDC
*) ptr
;
9463 dest
= (wxMemoryDC
*) src
;
9464 return (void *) dest
;
9467 static void *SwigwxBufferedPaintDCTowxDC(void *ptr
) {
9468 wxBufferedPaintDC
*src
;
9470 src
= (wxBufferedPaintDC
*) ptr
;
9471 dest
= (wxDC
*) src
;
9472 return (void *) dest
;
9475 static void *SwigwxBufferedPaintDCTowxObject(void *ptr
) {
9476 wxBufferedPaintDC
*src
;
9478 src
= (wxBufferedPaintDC
*) ptr
;
9479 dest
= (wxObject
*) src
;
9480 return (void *) dest
;
9483 #define new_wxBufferedPaintDC(_swigarg0,_swigarg1) (new wxBufferedPaintDC(_swigarg0,_swigarg1))
9484 static PyObject
*_wrap_new_wxBufferedPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9485 PyObject
* _resultobj
;
9486 wxBufferedPaintDC
* _result
;
9488 wxBitmap
* _arg1
= (wxBitmap
*) &wxNullBitmap
;
9489 PyObject
* _argo0
= 0;
9490 PyObject
* _argo1
= 0;
9491 char *_kwnames
[] = { "window","buffer", NULL
};
9495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxBufferedPaintDC",_kwnames
,&_argo0
,&_argo1
))
9498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBufferedPaintDC. Expected _wxWindow_p.");
9505 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
9506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxBufferedPaintDC. Expected _wxBitmap_p.");
9511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9512 _result
= (wxBufferedPaintDC
*)new_wxBufferedPaintDC(_arg0
,*_arg1
);
9514 wxPyEndAllowThreads(__tstate
);
9515 if (PyErr_Occurred()) return NULL
;
9517 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBufferedPaintDC_p");
9518 _resultobj
= Py_BuildValue("s",_ptemp
);
9521 _resultobj
= Py_None
;
9526 static void *SwigwxScreenDCTowxDC(void *ptr
) {
9529 src
= (wxScreenDC
*) ptr
;
9530 dest
= (wxDC
*) src
;
9531 return (void *) dest
;
9534 static void *SwigwxScreenDCTowxObject(void *ptr
) {
9537 src
= (wxScreenDC
*) ptr
;
9538 dest
= (wxObject
*) src
;
9539 return (void *) dest
;
9542 #define new_wxScreenDC() (new wxScreenDC())
9543 static PyObject
*_wrap_new_wxScreenDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9544 PyObject
* _resultobj
;
9545 wxScreenDC
* _result
;
9546 char *_kwnames
[] = { NULL
};
9550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxScreenDC",_kwnames
))
9553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9554 _result
= (wxScreenDC
*)new_wxScreenDC();
9556 wxPyEndAllowThreads(__tstate
);
9557 if (PyErr_Occurred()) return NULL
;
9559 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScreenDC_p");
9560 _resultobj
= Py_BuildValue("s",_ptemp
);
9563 _resultobj
= Py_None
;
9568 #define wxScreenDC_StartDrawingOnTopWin(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
9569 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTopWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9570 PyObject
* _resultobj
;
9574 PyObject
* _argo0
= 0;
9575 PyObject
* _argo1
= 0;
9576 char *_kwnames
[] = { "self","window", NULL
};
9579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScreenDC_StartDrawingOnTopWin",_kwnames
,&_argo0
,&_argo1
))
9582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
9584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTopWin. Expected _wxScreenDC_p.");
9589 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9590 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScreenDC_StartDrawingOnTopWin. Expected _wxWindow_p.");
9596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9597 _result
= (bool )wxScreenDC_StartDrawingOnTopWin(_arg0
,_arg1
);
9599 wxPyEndAllowThreads(__tstate
);
9600 if (PyErr_Occurred()) return NULL
;
9601 } _resultobj
= Py_BuildValue("i",_result
);
9605 #define wxScreenDC_StartDrawingOnTop(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
9606 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9607 PyObject
* _resultobj
;
9610 wxRect
* _arg1
= (wxRect
*) NULL
;
9611 PyObject
* _argo0
= 0;
9613 PyObject
* _obj1
= 0;
9614 char *_kwnames
[] = { "self","rect", NULL
};
9617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxScreenDC_StartDrawingOnTop",_kwnames
,&_argo0
,&_obj1
))
9620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
9622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTop. Expected _wxScreenDC_p.");
9629 if (! wxRect_helper(_obj1
, &_arg1
))
9633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9634 _result
= (bool )wxScreenDC_StartDrawingOnTop(_arg0
,_arg1
);
9636 wxPyEndAllowThreads(__tstate
);
9637 if (PyErr_Occurred()) return NULL
;
9638 } _resultobj
= Py_BuildValue("i",_result
);
9642 #define wxScreenDC_EndDrawingOnTop(_swigobj) (_swigobj->EndDrawingOnTop())
9643 static PyObject
*_wrap_wxScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9644 PyObject
* _resultobj
;
9647 PyObject
* _argo0
= 0;
9648 char *_kwnames
[] = { "self", NULL
};
9651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScreenDC_EndDrawingOnTop",_kwnames
,&_argo0
))
9654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
9656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_EndDrawingOnTop. Expected _wxScreenDC_p.");
9661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9662 _result
= (bool )wxScreenDC_EndDrawingOnTop(_arg0
);
9664 wxPyEndAllowThreads(__tstate
);
9665 if (PyErr_Occurred()) return NULL
;
9666 } _resultobj
= Py_BuildValue("i",_result
);
9670 static void *SwigwxClientDCTowxDC(void *ptr
) {
9673 src
= (wxClientDC
*) ptr
;
9674 dest
= (wxDC
*) src
;
9675 return (void *) dest
;
9678 static void *SwigwxClientDCTowxObject(void *ptr
) {
9681 src
= (wxClientDC
*) ptr
;
9682 dest
= (wxObject
*) src
;
9683 return (void *) dest
;
9686 #define new_wxClientDC(_swigarg0) (new wxClientDC(_swigarg0))
9687 static PyObject
*_wrap_new_wxClientDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9688 PyObject
* _resultobj
;
9689 wxClientDC
* _result
;
9691 PyObject
* _argo0
= 0;
9692 char *_kwnames
[] = { "win", NULL
};
9696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxClientDC",_kwnames
,&_argo0
))
9699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxClientDC. Expected _wxWindow_p.");
9706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9707 _result
= (wxClientDC
*)new_wxClientDC(_arg0
);
9709 wxPyEndAllowThreads(__tstate
);
9710 if (PyErr_Occurred()) return NULL
;
9712 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxClientDC_p");
9713 _resultobj
= Py_BuildValue("s",_ptemp
);
9716 _resultobj
= Py_None
;
9721 static void *SwigwxPaintDCTowxDC(void *ptr
) {
9724 src
= (wxPaintDC
*) ptr
;
9725 dest
= (wxDC
*) src
;
9726 return (void *) dest
;
9729 static void *SwigwxPaintDCTowxObject(void *ptr
) {
9732 src
= (wxPaintDC
*) ptr
;
9733 dest
= (wxObject
*) src
;
9734 return (void *) dest
;
9737 #define new_wxPaintDC(_swigarg0) (new wxPaintDC(_swigarg0))
9738 static PyObject
*_wrap_new_wxPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9739 PyObject
* _resultobj
;
9740 wxPaintDC
* _result
;
9742 PyObject
* _argo0
= 0;
9743 char *_kwnames
[] = { "win", NULL
};
9747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPaintDC",_kwnames
,&_argo0
))
9750 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9751 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPaintDC. Expected _wxWindow_p.");
9757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9758 _result
= (wxPaintDC
*)new_wxPaintDC(_arg0
);
9760 wxPyEndAllowThreads(__tstate
);
9761 if (PyErr_Occurred()) return NULL
;
9763 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPaintDC_p");
9764 _resultobj
= Py_BuildValue("s",_ptemp
);
9767 _resultobj
= Py_None
;
9772 static void *SwigwxWindowDCTowxDC(void *ptr
) {
9775 src
= (wxWindowDC
*) ptr
;
9776 dest
= (wxDC
*) src
;
9777 return (void *) dest
;
9780 static void *SwigwxWindowDCTowxObject(void *ptr
) {
9783 src
= (wxWindowDC
*) ptr
;
9784 dest
= (wxObject
*) src
;
9785 return (void *) dest
;
9788 #define new_wxWindowDC(_swigarg0) (new wxWindowDC(_swigarg0))
9789 static PyObject
*_wrap_new_wxWindowDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9790 PyObject
* _resultobj
;
9791 wxWindowDC
* _result
;
9793 PyObject
* _argo0
= 0;
9794 char *_kwnames
[] = { "win", NULL
};
9798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxWindowDC",_kwnames
,&_argo0
))
9801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDC. Expected _wxWindow_p.");
9808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9809 _result
= (wxWindowDC
*)new_wxWindowDC(_arg0
);
9811 wxPyEndAllowThreads(__tstate
);
9812 if (PyErr_Occurred()) return NULL
;
9814 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDC_p");
9815 _resultobj
= Py_BuildValue("s",_ptemp
);
9818 _resultobj
= Py_None
;
9823 static void *SwigwxMirrorDCTowxDC(void *ptr
) {
9826 src
= (wxMirrorDC
*) ptr
;
9827 dest
= (wxDC
*) src
;
9828 return (void *) dest
;
9831 static void *SwigwxMirrorDCTowxObject(void *ptr
) {
9834 src
= (wxMirrorDC
*) ptr
;
9835 dest
= (wxObject
*) src
;
9836 return (void *) dest
;
9839 #define new_wxMirrorDC(_swigarg0,_swigarg1) (new wxMirrorDC(_swigarg0,_swigarg1))
9840 static PyObject
*_wrap_new_wxMirrorDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9841 PyObject
* _resultobj
;
9842 wxMirrorDC
* _result
;
9845 PyObject
* _argo0
= 0;
9847 char *_kwnames
[] = { "dc","mirror", NULL
};
9851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:new_wxMirrorDC",_kwnames
,&_argo0
,&tempbool1
))
9854 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
9855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMirrorDC. Expected _wxDC_p.");
9859 _arg1
= (bool ) tempbool1
;
9861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9862 _result
= (wxMirrorDC
*)new_wxMirrorDC(*_arg0
,_arg1
);
9864 wxPyEndAllowThreads(__tstate
);
9865 if (PyErr_Occurred()) return NULL
;
9867 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMirrorDC_p");
9868 _resultobj
= Py_BuildValue("s",_ptemp
);
9871 _resultobj
= Py_None
;
9876 static void *SwigwxMetaFileTowxObject(void *ptr
) {
9879 src
= (wxMetaFile
*) ptr
;
9880 dest
= (wxObject
*) src
;
9881 return (void *) dest
;
9884 #define new_wxMetaFile(_swigarg0) (new wxMetaFile(_swigarg0))
9885 static PyObject
*_wrap_new_wxMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9886 PyObject
* _resultobj
;
9887 wxMetaFile
* _result
;
9888 wxString
* _arg0
= (wxString
*) &wxPyEmptyString
;
9889 PyObject
* _obj0
= 0;
9890 char *_kwnames
[] = { "filename", NULL
};
9894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxMetaFile",_kwnames
,&_obj0
))
9898 _arg0
= wxString_in_helper(_obj0
);
9903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9904 _result
= (wxMetaFile
*)new_wxMetaFile(*_arg0
);
9906 wxPyEndAllowThreads(__tstate
);
9907 if (PyErr_Occurred()) return NULL
;
9909 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMetaFile_p");
9910 _resultobj
= Py_BuildValue("s",_ptemp
);
9913 _resultobj
= Py_None
;
9922 #define delete_wxMetaFile(_swigobj) (delete _swigobj)
9923 static PyObject
*_wrap_delete_wxMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9924 PyObject
* _resultobj
;
9926 PyObject
* _argo0
= 0;
9927 char *_kwnames
[] = { "self", NULL
};
9930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMetaFile",_kwnames
,&_argo0
))
9933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMetaFile_p")) {
9935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMetaFile. Expected _wxMetaFile_p.");
9940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9941 delete_wxMetaFile(_arg0
);
9943 wxPyEndAllowThreads(__tstate
);
9944 if (PyErr_Occurred()) return NULL
;
9945 } Py_INCREF(Py_None
);
9946 _resultobj
= Py_None
;
9950 #define wxMetaFile_Ok(_swigobj) (_swigobj->Ok())
9951 static PyObject
*_wrap_wxMetaFile_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9952 PyObject
* _resultobj
;
9955 PyObject
* _argo0
= 0;
9956 char *_kwnames
[] = { "self", NULL
};
9959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMetaFile_Ok",_kwnames
,&_argo0
))
9962 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9963 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMetaFile_p")) {
9964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMetaFile_Ok. Expected _wxMetaFile_p.");
9969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9970 _result
= (bool )wxMetaFile_Ok(_arg0
);
9972 wxPyEndAllowThreads(__tstate
);
9973 if (PyErr_Occurred()) return NULL
;
9974 } _resultobj
= Py_BuildValue("i",_result
);
9978 #define wxMetaFile_SetClipboard(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClipboard(_swigarg0,_swigarg1))
9979 static PyObject
*_wrap_wxMetaFile_SetClipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9980 PyObject
* _resultobj
;
9983 int _arg1
= (int ) 0;
9984 int _arg2
= (int ) 0;
9985 PyObject
* _argo0
= 0;
9986 char *_kwnames
[] = { "self","width","height", NULL
};
9989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxMetaFile_SetClipboard",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMetaFile_p")) {
9994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMetaFile_SetClipboard. Expected _wxMetaFile_p.");
9999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10000 _result
= (bool )wxMetaFile_SetClipboard(_arg0
,_arg1
,_arg2
);
10002 wxPyEndAllowThreads(__tstate
);
10003 if (PyErr_Occurred()) return NULL
;
10004 } _resultobj
= Py_BuildValue("i",_result
);
10008 #define wxMetaFile_GetSize(_swigobj) (_swigobj->GetSize())
10009 static PyObject
*_wrap_wxMetaFile_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10010 PyObject
* _resultobj
;
10012 wxMetaFile
* _arg0
;
10013 PyObject
* _argo0
= 0;
10014 char *_kwnames
[] = { "self", NULL
};
10018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMetaFile_GetSize",_kwnames
,&_argo0
))
10021 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10022 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMetaFile_p")) {
10023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMetaFile_GetSize. Expected _wxMetaFile_p.");
10028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10029 _result
= new wxSize (wxMetaFile_GetSize(_arg0
));
10031 wxPyEndAllowThreads(__tstate
);
10032 if (PyErr_Occurred()) return NULL
;
10033 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
10034 _resultobj
= Py_BuildValue("s",_ptemp
);
10038 #define wxMetaFile_GetWidth(_swigobj) (_swigobj->GetWidth())
10039 static PyObject
*_wrap_wxMetaFile_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10040 PyObject
* _resultobj
;
10042 wxMetaFile
* _arg0
;
10043 PyObject
* _argo0
= 0;
10044 char *_kwnames
[] = { "self", NULL
};
10047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMetaFile_GetWidth",_kwnames
,&_argo0
))
10050 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10051 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMetaFile_p")) {
10052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMetaFile_GetWidth. Expected _wxMetaFile_p.");
10057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10058 _result
= (int )wxMetaFile_GetWidth(_arg0
);
10060 wxPyEndAllowThreads(__tstate
);
10061 if (PyErr_Occurred()) return NULL
;
10062 } _resultobj
= Py_BuildValue("i",_result
);
10066 #define wxMetaFile_GetHeight(_swigobj) (_swigobj->GetHeight())
10067 static PyObject
*_wrap_wxMetaFile_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10068 PyObject
* _resultobj
;
10070 wxMetaFile
* _arg0
;
10071 PyObject
* _argo0
= 0;
10072 char *_kwnames
[] = { "self", NULL
};
10075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMetaFile_GetHeight",_kwnames
,&_argo0
))
10078 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10079 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMetaFile_p")) {
10080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMetaFile_GetHeight. Expected _wxMetaFile_p.");
10085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10086 _result
= (int )wxMetaFile_GetHeight(_arg0
);
10088 wxPyEndAllowThreads(__tstate
);
10089 if (PyErr_Occurred()) return NULL
;
10090 } _resultobj
= Py_BuildValue("i",_result
);
10094 #define wxMetaFile_GetFileName(_swigobj) (_swigobj->GetFileName())
10095 static PyObject
*_wrap_wxMetaFile_GetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10096 PyObject
* _resultobj
;
10097 wxString
* _result
;
10098 wxMetaFile
* _arg0
;
10099 PyObject
* _argo0
= 0;
10100 char *_kwnames
[] = { "self", NULL
};
10103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMetaFile_GetFileName",_kwnames
,&_argo0
))
10106 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10107 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMetaFile_p")) {
10108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMetaFile_GetFileName. Expected _wxMetaFile_p.");
10113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10114 const wxString
& _result_ref
= wxMetaFile_GetFileName(_arg0
);
10115 _result
= (wxString
*) &_result_ref
;
10117 wxPyEndAllowThreads(__tstate
);
10118 if (PyErr_Occurred()) return NULL
;
10121 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
10123 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10129 static void *SwigwxMetaFileDCTowxDC(void *ptr
) {
10132 src
= (wxMetaFileDC
*) ptr
;
10133 dest
= (wxDC
*) src
;
10134 return (void *) dest
;
10137 static void *SwigwxMetaFileDCTowxObject(void *ptr
) {
10140 src
= (wxMetaFileDC
*) ptr
;
10141 dest
= (wxObject
*) src
;
10142 return (void *) dest
;
10145 #define new_wxMetaFileDC(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxMetaFileDC(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10146 static PyObject
*_wrap_new_wxMetaFileDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10147 PyObject
* _resultobj
;
10148 wxMetaFileDC
* _result
;
10149 wxString
* _arg0
= (wxString
*) &wxPyEmptyString
;
10150 int _arg1
= (int ) 0;
10151 int _arg2
= (int ) 0;
10152 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
10153 PyObject
* _obj0
= 0;
10154 PyObject
* _obj3
= 0;
10155 char *_kwnames
[] = { "filename","width","height","description", NULL
};
10159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OiiO:new_wxMetaFileDC",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_obj3
))
10163 _arg0
= wxString_in_helper(_obj0
);
10169 _arg3
= wxString_in_helper(_obj3
);
10174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10175 _result
= (wxMetaFileDC
*)new_wxMetaFileDC(*_arg0
,_arg1
,_arg2
,*_arg3
);
10177 wxPyEndAllowThreads(__tstate
);
10178 if (PyErr_Occurred()) return NULL
;
10180 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMetaFileDC_p");
10181 _resultobj
= Py_BuildValue("s",_ptemp
);
10183 Py_INCREF(Py_None
);
10184 _resultobj
= Py_None
;
10197 #define wxMetaFileDC_Close(_swigobj) (_swigobj->Close())
10198 static PyObject
*_wrap_wxMetaFileDC_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10199 PyObject
* _resultobj
;
10200 wxMetaFile
* _result
;
10201 wxMetaFileDC
* _arg0
;
10202 PyObject
* _argo0
= 0;
10203 char *_kwnames
[] = { "self", NULL
};
10207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMetaFileDC_Close",_kwnames
,&_argo0
))
10210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMetaFileDC_p")) {
10212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMetaFileDC_Close. Expected _wxMetaFileDC_p.");
10217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10218 _result
= (wxMetaFile
*)wxMetaFileDC_Close(_arg0
);
10220 wxPyEndAllowThreads(__tstate
);
10221 if (PyErr_Occurred()) return NULL
;
10223 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMetaFile_p");
10224 _resultobj
= Py_BuildValue("s",_ptemp
);
10226 Py_INCREF(Py_None
);
10227 _resultobj
= Py_None
;
10232 static void *SwigwxPaletteTowxGDIObject(void *ptr
) {
10235 src
= (wxPalette
*) ptr
;
10236 dest
= (wxGDIObject
*) src
;
10237 return (void *) dest
;
10240 static void *SwigwxPaletteTowxObject(void *ptr
) {
10243 src
= (wxPalette
*) ptr
;
10244 dest
= (wxObject
*) src
;
10245 return (void *) dest
;
10248 #define new_wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10249 static PyObject
*_wrap_new_wxPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10250 PyObject
* _resultobj
;
10251 wxPalette
* _result
;
10256 PyObject
* _obj1
= 0;
10257 PyObject
* _obj2
= 0;
10258 PyObject
* _obj3
= 0;
10259 char *_kwnames
[] = { "choices","choices","choices", NULL
};
10263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:new_wxPalette",_kwnames
,&_obj1
,&_obj2
,&_obj3
))
10266 _arg1
= byte_LIST_helper(_obj1
);
10267 if (_arg1
== NULL
) {
10272 _arg2
= byte_LIST_helper(_obj2
);
10273 if (_arg2
== NULL
) {
10279 _arg3
= byte_LIST_helper(_obj3
);
10280 if (_arg3
== NULL
) {
10286 _arg0
= PyList_Size(_obj1
);
10293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10294 _result
= (wxPalette
*)new_wxPalette(_arg0
,_arg1
,_arg2
,_arg3
);
10296 wxPyEndAllowThreads(__tstate
);
10297 if (PyErr_Occurred()) return NULL
;
10299 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
10300 _resultobj
= Py_BuildValue("s",_ptemp
);
10302 Py_INCREF(Py_None
);
10303 _resultobj
= Py_None
;
10317 #define delete_wxPalette(_swigobj) (delete _swigobj)
10318 static PyObject
*_wrap_delete_wxPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10319 PyObject
* _resultobj
;
10321 PyObject
* _argo0
= 0;
10322 char *_kwnames
[] = { "self", NULL
};
10325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPalette",_kwnames
,&_argo0
))
10328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
10330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPalette. Expected _wxPalette_p.");
10335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10336 delete_wxPalette(_arg0
);
10338 wxPyEndAllowThreads(__tstate
);
10339 if (PyErr_Occurred()) return NULL
;
10340 } Py_INCREF(Py_None
);
10341 _resultobj
= Py_None
;
10345 #define wxPalette_GetPixel(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetPixel(_swigarg0,_swigarg1,_swigarg2))
10346 static PyObject
*_wrap_wxPalette_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10347 PyObject
* _resultobj
;
10353 PyObject
* _argo0
= 0;
10354 char *_kwnames
[] = { "self","red","green","blue", NULL
};
10357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Obbb:wxPalette_GetPixel",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
10360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
10362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetPixel. Expected _wxPalette_p.");
10367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10368 _result
= (int )wxPalette_GetPixel(_arg0
,_arg1
,_arg2
,_arg3
);
10370 wxPyEndAllowThreads(__tstate
);
10371 if (PyErr_Occurred()) return NULL
;
10372 } _resultobj
= Py_BuildValue("i",_result
);
10376 #define wxPalette_GetRGB(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetRGB(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10377 static PyObject
*_wrap_wxPalette_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10378 PyObject
* _resultobj
;
10388 PyObject
* _argo0
= 0;
10389 char *_kwnames
[] = { "self","pixel", NULL
};
10393 _arg2
= (byte
*)&temp
;
10396 _arg3
= (byte
*)&temp0
;
10399 _arg4
= (byte
*)&temp1
;
10401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPalette_GetRGB",_kwnames
,&_argo0
,&_arg1
))
10404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
10406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetRGB. Expected _wxPalette_p.");
10411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10412 _result
= (bool )wxPalette_GetRGB(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
10414 wxPyEndAllowThreads(__tstate
);
10415 if (PyErr_Occurred()) return NULL
;
10416 } _resultobj
= Py_BuildValue("i",_result
);
10419 o
= PyInt_FromLong((long) (*_arg2
));
10420 _resultobj
= t_output_helper(_resultobj
, o
);
10424 o
= PyInt_FromLong((long) (*_arg3
));
10425 _resultobj
= t_output_helper(_resultobj
, o
);
10429 o
= PyInt_FromLong((long) (*_arg4
));
10430 _resultobj
= t_output_helper(_resultobj
, o
);
10435 #define wxPalette_Ok(_swigobj) (_swigobj->Ok())
10436 static PyObject
*_wrap_wxPalette_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10437 PyObject
* _resultobj
;
10440 PyObject
* _argo0
= 0;
10441 char *_kwnames
[] = { "self", NULL
};
10444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPalette_Ok",_kwnames
,&_argo0
))
10447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
10449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_Ok. Expected _wxPalette_p.");
10454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10455 _result
= (bool )wxPalette_Ok(_arg0
);
10457 wxPyEndAllowThreads(__tstate
);
10458 if (PyErr_Occurred()) return NULL
;
10459 } _resultobj
= Py_BuildValue("i",_result
);
10463 static void *SwigwxImageListTowxObject(void *ptr
) {
10466 src
= (wxImageList
*) ptr
;
10467 dest
= (wxObject
*) src
;
10468 return (void *) dest
;
10471 #define new_wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10472 static PyObject
*_wrap_new_wxImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10473 PyObject
* _resultobj
;
10474 wxImageList
* _result
;
10477 int _arg2
= (int ) TRUE
;
10478 int _arg3
= (int ) 1;
10479 char *_kwnames
[] = { "width","height","mask","initialCount", NULL
};
10483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ii|ii:new_wxImageList",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
10486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10487 _result
= (wxImageList
*)new_wxImageList(_arg0
,_arg1
,_arg2
,_arg3
);
10489 wxPyEndAllowThreads(__tstate
);
10490 if (PyErr_Occurred()) return NULL
;
10492 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
10493 _resultobj
= Py_BuildValue("s",_ptemp
);
10495 Py_INCREF(Py_None
);
10496 _resultobj
= Py_None
;
10501 #define delete_wxImageList(_swigobj) (delete _swigobj)
10502 static PyObject
*_wrap_delete_wxImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10503 PyObject
* _resultobj
;
10504 wxImageList
* _arg0
;
10505 PyObject
* _argo0
= 0;
10506 char *_kwnames
[] = { "self", NULL
};
10509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxImageList",_kwnames
,&_argo0
))
10512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxImageList. Expected _wxImageList_p.");
10519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10520 delete_wxImageList(_arg0
);
10522 wxPyEndAllowThreads(__tstate
);
10523 if (PyErr_Occurred()) return NULL
;
10524 } Py_INCREF(Py_None
);
10525 _resultobj
= Py_None
;
10529 #define wxImageList_Add(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
10530 static PyObject
*_wrap_wxImageList_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10531 PyObject
* _resultobj
;
10533 wxImageList
* _arg0
;
10535 wxBitmap
* _arg2
= (wxBitmap
*) &wxNullBitmap
;
10536 PyObject
* _argo0
= 0;
10537 PyObject
* _argo1
= 0;
10538 PyObject
* _argo2
= 0;
10539 char *_kwnames
[] = { "self","bitmap","mask", NULL
};
10542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxImageList_Add",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
10545 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10546 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Add. Expected _wxImageList_p.");
10552 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
10553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_Add. Expected _wxBitmap_p.");
10558 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
10559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Add. Expected _wxBitmap_p.");
10564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10565 _result
= (int )wxImageList_Add(_arg0
,*_arg1
,*_arg2
);
10567 wxPyEndAllowThreads(__tstate
);
10568 if (PyErr_Occurred()) return NULL
;
10569 } _resultobj
= Py_BuildValue("i",_result
);
10573 #define wxImageList_AddWithColourMask(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
10574 static PyObject
*_wrap_wxImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10575 PyObject
* _resultobj
;
10577 wxImageList
* _arg0
;
10580 PyObject
* _argo0
= 0;
10581 PyObject
* _argo1
= 0;
10583 PyObject
* _obj2
= 0;
10584 char *_kwnames
[] = { "self","bitmap","maskColour", NULL
};
10587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxImageList_AddWithColourMask",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
10590 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10591 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_AddWithColourMask. Expected _wxImageList_p.");
10597 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
10598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_AddWithColourMask. Expected _wxBitmap_p.");
10604 if (! wxColour_helper(_obj2
, &_arg2
))
10608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10609 _result
= (int )wxImageList_AddWithColourMask(_arg0
,*_arg1
,*_arg2
);
10611 wxPyEndAllowThreads(__tstate
);
10612 if (PyErr_Occurred()) return NULL
;
10613 } _resultobj
= Py_BuildValue("i",_result
);
10617 #define wxImageList_AddIcon(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
10618 static PyObject
*_wrap_wxImageList_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10619 PyObject
* _resultobj
;
10621 wxImageList
* _arg0
;
10623 PyObject
* _argo0
= 0;
10624 PyObject
* _argo1
= 0;
10625 char *_kwnames
[] = { "self","icon", NULL
};
10628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxImageList_AddIcon",_kwnames
,&_argo0
,&_argo1
))
10631 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10632 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_AddIcon. Expected _wxImageList_p.");
10638 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
10639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_AddIcon. Expected _wxIcon_p.");
10644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10645 _result
= (int )wxImageList_AddIcon(_arg0
,*_arg1
);
10647 wxPyEndAllowThreads(__tstate
);
10648 if (PyErr_Occurred()) return NULL
;
10649 } _resultobj
= Py_BuildValue("i",_result
);
10653 #define wxImageList_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
10654 static PyObject
*_wrap_wxImageList_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10655 PyObject
* _resultobj
;
10657 wxImageList
* _arg0
;
10660 wxBitmap
* _arg3
= (wxBitmap
*) &wxNullBitmap
;
10661 PyObject
* _argo0
= 0;
10662 PyObject
* _argo2
= 0;
10663 PyObject
* _argo3
= 0;
10664 char *_kwnames
[] = { "self","index","bitmap","mask", NULL
};
10667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxImageList_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
))
10670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Replace. Expected _wxImageList_p.");
10677 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
10678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Replace. Expected _wxBitmap_p.");
10683 if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
10684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxImageList_Replace. Expected _wxBitmap_p.");
10689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10690 _result
= (bool )wxImageList_Replace(_arg0
,_arg1
,*_arg2
,*_arg3
);
10692 wxPyEndAllowThreads(__tstate
);
10693 if (PyErr_Occurred()) return NULL
;
10694 } _resultobj
= Py_BuildValue("i",_result
);
10698 #define wxImageList_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
10699 static PyObject
*_wrap_wxImageList_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10700 PyObject
* _resultobj
;
10702 wxImageList
* _arg0
;
10707 int _arg5
= (int ) (wxIMAGELIST_DRAW_NORMAL
);
10708 bool _arg6
= (bool ) FALSE
;
10709 PyObject
* _argo0
= 0;
10710 PyObject
* _argo2
= 0;
10711 int tempbool6
= (int) FALSE
;
10712 char *_kwnames
[] = { "self","index","dc","x","x","flags","solidBackground", NULL
};
10715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOii|ii:wxImageList_Draw",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
10718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Draw. Expected _wxImageList_p.");
10725 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDC_p")) {
10726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Draw. Expected _wxDC_p.");
10730 _arg6
= (bool ) tempbool6
;
10732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10733 _result
= (bool )wxImageList_Draw(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
10735 wxPyEndAllowThreads(__tstate
);
10736 if (PyErr_Occurred()) return NULL
;
10737 } _resultobj
= Py_BuildValue("i",_result
);
10741 #define wxImageList_GetImageCount(_swigobj) (_swigobj->GetImageCount())
10742 static PyObject
*_wrap_wxImageList_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10743 PyObject
* _resultobj
;
10745 wxImageList
* _arg0
;
10746 PyObject
* _argo0
= 0;
10747 char *_kwnames
[] = { "self", NULL
};
10750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImageList_GetImageCount",_kwnames
,&_argo0
))
10753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_GetImageCount. Expected _wxImageList_p.");
10760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10761 _result
= (int )wxImageList_GetImageCount(_arg0
);
10763 wxPyEndAllowThreads(__tstate
);
10764 if (PyErr_Occurred()) return NULL
;
10765 } _resultobj
= Py_BuildValue("i",_result
);
10769 #define wxImageList_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
10770 static PyObject
*_wrap_wxImageList_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10771 PyObject
* _resultobj
;
10773 wxImageList
* _arg0
;
10775 PyObject
* _argo0
= 0;
10776 char *_kwnames
[] = { "self","index", NULL
};
10779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxImageList_Remove",_kwnames
,&_argo0
,&_arg1
))
10782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Remove. Expected _wxImageList_p.");
10789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10790 _result
= (bool )wxImageList_Remove(_arg0
,_arg1
);
10792 wxPyEndAllowThreads(__tstate
);
10793 if (PyErr_Occurred()) return NULL
;
10794 } _resultobj
= Py_BuildValue("i",_result
);
10798 #define wxImageList_RemoveAll(_swigobj) (_swigobj->RemoveAll())
10799 static PyObject
*_wrap_wxImageList_RemoveAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10800 PyObject
* _resultobj
;
10802 wxImageList
* _arg0
;
10803 PyObject
* _argo0
= 0;
10804 char *_kwnames
[] = { "self", NULL
};
10807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImageList_RemoveAll",_kwnames
,&_argo0
))
10810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_RemoveAll. Expected _wxImageList_p.");
10817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10818 _result
= (bool )wxImageList_RemoveAll(_arg0
);
10820 wxPyEndAllowThreads(__tstate
);
10821 if (PyErr_Occurred()) return NULL
;
10822 } _resultobj
= Py_BuildValue("i",_result
);
10826 #define wxImageList_GetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetSize(_swigarg0,_swigarg1,_swigarg2))
10827 static PyObject
*_wrap_wxImageList_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10828 PyObject
* _resultobj
;
10829 wxImageList
* _arg0
;
10835 PyObject
* _argo0
= 0;
10836 char *_kwnames
[] = { "self","index", NULL
};
10845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxImageList_GetSize",_kwnames
,&_argo0
,&_arg1
))
10848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_GetSize. Expected _wxImageList_p.");
10855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10856 wxImageList_GetSize(_arg0
,_arg1
,*_arg2
,*_arg3
);
10858 wxPyEndAllowThreads(__tstate
);
10859 if (PyErr_Occurred()) return NULL
;
10860 } Py_INCREF(Py_None
);
10861 _resultobj
= Py_None
;
10864 o
= PyInt_FromLong((long) (*_arg2
));
10865 _resultobj
= t_output_helper(_resultobj
, o
);
10869 o
= PyInt_FromLong((long) (*_arg3
));
10870 _resultobj
= t_output_helper(_resultobj
, o
);
10875 static void *SwigwxRegionTowxGDIObject(void *ptr
) {
10878 src
= (wxRegion
*) ptr
;
10879 dest
= (wxGDIObject
*) src
;
10880 return (void *) dest
;
10883 static void *SwigwxRegionTowxObject(void *ptr
) {
10886 src
= (wxRegion
*) ptr
;
10887 dest
= (wxObject
*) src
;
10888 return (void *) dest
;
10891 #define new_wxRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10892 static PyObject
*_wrap_new_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10893 PyObject
* _resultobj
;
10894 wxRegion
* _result
;
10895 wxCoord _arg0
= (wxCoord
) 0;
10896 wxCoord _arg1
= (wxCoord
) 0;
10897 wxCoord _arg2
= (wxCoord
) 0;
10898 wxCoord _arg3
= (wxCoord
) 0;
10899 char *_kwnames
[] = { "x","y","width","height", NULL
};
10903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxRegion",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
10906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10907 _result
= (wxRegion
*)new_wxRegion(_arg0
,_arg1
,_arg2
,_arg3
);
10909 wxPyEndAllowThreads(__tstate
);
10910 if (PyErr_Occurred()) return NULL
;
10912 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegion_p");
10913 _resultobj
= Py_BuildValue("s",_ptemp
);
10915 Py_INCREF(Py_None
);
10916 _resultobj
= Py_None
;
10921 #define new_wxRegionFromPoints(_swigarg0,_swigarg1,_swigarg2) (new wxRegion(_swigarg0,_swigarg1,_swigarg2))
10922 static PyObject
*_wrap_new_wxRegionFromPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10923 PyObject
* _resultobj
;
10924 wxRegion
* _result
;
10927 int _arg2
= (int ) wxWINDING_RULE
;
10929 PyObject
* _obj1
= 0;
10930 char *_kwnames
[] = { "points","fillStyle", NULL
};
10934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxRegionFromPoints",_kwnames
,&_obj1
,&_arg2
))
10938 _arg1
= wxPoint_LIST_helper(_obj1
, &NPOINTS
);
10939 if (_arg1
== NULL
) {
10947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10948 _result
= (wxRegion
*)new_wxRegionFromPoints(_arg0
,_arg1
,_arg2
);
10950 wxPyEndAllowThreads(__tstate
);
10951 if (PyErr_Occurred()) return NULL
;
10953 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegion_p");
10954 _resultobj
= Py_BuildValue("s",_ptemp
);
10956 Py_INCREF(Py_None
);
10957 _resultobj
= Py_None
;
10965 #define new_wxRegionFromBitmap(_swigarg0,_swigarg1,_swigarg2) (new wxRegion(_swigarg0,_swigarg1,_swigarg2))
10966 static PyObject
*_wrap_new_wxRegionFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10967 PyObject
* _resultobj
;
10968 wxRegion
* _result
;
10970 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
10971 int _arg2
= (int ) 0;
10972 PyObject
* _argo0
= 0;
10974 PyObject
* _obj1
= 0;
10975 char *_kwnames
[] = { "bmp","transColour","tolerance", NULL
};
10979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|Oi:new_wxRegionFromBitmap",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
10982 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
10983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRegionFromBitmap. Expected _wxBitmap_p.");
10990 if (! wxColour_helper(_obj1
, &_arg1
))
10994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10995 _result
= (wxRegion
*)new_wxRegionFromBitmap(*_arg0
,*_arg1
,_arg2
);
10997 wxPyEndAllowThreads(__tstate
);
10998 if (PyErr_Occurred()) return NULL
;
11000 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegion_p");
11001 _resultobj
= Py_BuildValue("s",_ptemp
);
11003 Py_INCREF(Py_None
);
11004 _resultobj
= Py_None
;
11009 #define delete_wxRegion(_swigobj) (delete _swigobj)
11010 static PyObject
*_wrap_delete_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11011 PyObject
* _resultobj
;
11013 PyObject
* _argo0
= 0;
11014 char *_kwnames
[] = { "self", NULL
};
11017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegion",_kwnames
,&_argo0
))
11020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegion. Expected _wxRegion_p.");
11027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11028 delete_wxRegion(_arg0
);
11030 wxPyEndAllowThreads(__tstate
);
11031 if (PyErr_Occurred()) return NULL
;
11032 } Py_INCREF(Py_None
);
11033 _resultobj
= Py_None
;
11037 #define wxRegion_Clear(_swigobj) (_swigobj->Clear())
11038 static PyObject
*_wrap_wxRegion_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11039 PyObject
* _resultobj
;
11041 PyObject
* _argo0
= 0;
11042 char *_kwnames
[] = { "self", NULL
};
11045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_Clear",_kwnames
,&_argo0
))
11048 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11049 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Clear. Expected _wxRegion_p.");
11055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11056 wxRegion_Clear(_arg0
);
11058 wxPyEndAllowThreads(__tstate
);
11059 if (PyErr_Occurred()) return NULL
;
11060 } Py_INCREF(Py_None
);
11061 _resultobj
= Py_None
;
11065 #define wxRegion_Offset(_swigobj,_swigarg0,_swigarg1) (_swigobj->Offset(_swigarg0,_swigarg1))
11066 static PyObject
*_wrap_wxRegion_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11067 PyObject
* _resultobj
;
11072 PyObject
* _argo0
= 0;
11073 char *_kwnames
[] = { "self","x","y", NULL
};
11076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRegion_Offset",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Offset. Expected _wxRegion_p.");
11086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11087 _result
= (bool )wxRegion_Offset(_arg0
,_arg1
,_arg2
);
11089 wxPyEndAllowThreads(__tstate
);
11090 if (PyErr_Occurred()) return NULL
;
11091 } _resultobj
= Py_BuildValue("i",_result
);
11095 #define wxRegion_Contains(_swigobj,_swigarg0,_swigarg1) (_swigobj->Contains(_swigarg0,_swigarg1))
11096 static PyObject
*_wrap_wxRegion_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11097 PyObject
* _resultobj
;
11098 wxRegionContain _result
;
11102 PyObject
* _argo0
= 0;
11103 char *_kwnames
[] = { "self","x","y", NULL
};
11106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRegion_Contains",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11109 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11110 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Contains. Expected _wxRegion_p.");
11116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11117 _result
= (wxRegionContain
)wxRegion_Contains(_arg0
,_arg1
,_arg2
);
11119 wxPyEndAllowThreads(__tstate
);
11120 if (PyErr_Occurred()) return NULL
;
11121 } _resultobj
= Py_BuildValue("i",_result
);
11125 #define wxRegion_ContainsPoint(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
11126 static PyObject
*_wrap_wxRegion_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11127 PyObject
* _resultobj
;
11128 wxRegionContain _result
;
11131 PyObject
* _argo0
= 0;
11133 PyObject
* _obj1
= 0;
11134 char *_kwnames
[] = { "self","pt", NULL
};
11137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsPoint",_kwnames
,&_argo0
,&_obj1
))
11140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsPoint. Expected _wxRegion_p.");
11148 if (! wxPoint_helper(_obj1
, &_arg1
))
11152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11153 _result
= (wxRegionContain
)wxRegion_ContainsPoint(_arg0
,*_arg1
);
11155 wxPyEndAllowThreads(__tstate
);
11156 if (PyErr_Occurred()) return NULL
;
11157 } _resultobj
= Py_BuildValue("i",_result
);
11161 #define wxRegion_ContainsRect(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
11162 static PyObject
*_wrap_wxRegion_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11163 PyObject
* _resultobj
;
11164 wxRegionContain _result
;
11167 PyObject
* _argo0
= 0;
11169 PyObject
* _obj1
= 0;
11170 char *_kwnames
[] = { "self","rect", NULL
};
11173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsRect",_kwnames
,&_argo0
,&_obj1
))
11176 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11177 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRect. Expected _wxRegion_p.");
11184 if (! wxRect_helper(_obj1
, &_arg1
))
11188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11189 _result
= (wxRegionContain
)wxRegion_ContainsRect(_arg0
,*_arg1
);
11191 wxPyEndAllowThreads(__tstate
);
11192 if (PyErr_Occurred()) return NULL
;
11193 } _resultobj
= Py_BuildValue("i",_result
);
11197 #define wxRegion_ContainsRectDim(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Contains(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11198 static PyObject
*_wrap_wxRegion_ContainsRectDim(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11199 PyObject
* _resultobj
;
11200 wxRegionContain _result
;
11206 PyObject
* _argo0
= 0;
11207 char *_kwnames
[] = { "self","x","y","w","h", NULL
};
11210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxRegion_ContainsRectDim",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
11213 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11214 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRectDim. Expected _wxRegion_p.");
11220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11221 _result
= (wxRegionContain
)wxRegion_ContainsRectDim(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
11223 wxPyEndAllowThreads(__tstate
);
11224 if (PyErr_Occurred()) return NULL
;
11225 } _resultobj
= Py_BuildValue("i",_result
);
11229 #define wxRegion_GetBox(_swigobj) (_swigobj->GetBox())
11230 static PyObject
*_wrap_wxRegion_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11231 PyObject
* _resultobj
;
11234 PyObject
* _argo0
= 0;
11235 char *_kwnames
[] = { "self", NULL
};
11239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_GetBox",_kwnames
,&_argo0
))
11242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_GetBox. Expected _wxRegion_p.");
11249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11250 _result
= new wxRect (wxRegion_GetBox(_arg0
));
11252 wxPyEndAllowThreads(__tstate
);
11253 if (PyErr_Occurred()) return NULL
;
11254 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
11255 _resultobj
= Py_BuildValue("s",_ptemp
);
11259 #define wxRegion_Intersect(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Intersect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11260 static PyObject
*_wrap_wxRegion_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11261 PyObject
* _resultobj
;
11268 PyObject
* _argo0
= 0;
11269 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
11272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxRegion_Intersect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
11275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Intersect. Expected _wxRegion_p.");
11282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11283 _result
= (bool )wxRegion_Intersect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
11285 wxPyEndAllowThreads(__tstate
);
11286 if (PyErr_Occurred()) return NULL
;
11287 } _resultobj
= Py_BuildValue("i",_result
);
11291 #define wxRegion_IntersectRect(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
11292 static PyObject
*_wrap_wxRegion_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11293 PyObject
* _resultobj
;
11297 PyObject
* _argo0
= 0;
11299 PyObject
* _obj1
= 0;
11300 char *_kwnames
[] = { "self","rect", NULL
};
11303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_IntersectRect",_kwnames
,&_argo0
,&_obj1
))
11306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IntersectRect. Expected _wxRegion_p.");
11314 if (! wxRect_helper(_obj1
, &_arg1
))
11318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11319 _result
= (bool )wxRegion_IntersectRect(_arg0
,*_arg1
);
11321 wxPyEndAllowThreads(__tstate
);
11322 if (PyErr_Occurred()) return NULL
;
11323 } _resultobj
= Py_BuildValue("i",_result
);
11327 #define wxRegion_IntersectRegion(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
11328 static PyObject
*_wrap_wxRegion_IntersectRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11329 PyObject
* _resultobj
;
11333 PyObject
* _argo0
= 0;
11334 PyObject
* _argo1
= 0;
11335 char *_kwnames
[] = { "self","region", NULL
};
11338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_IntersectRegion",_kwnames
,&_argo0
,&_argo1
))
11341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
11348 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
11349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
11354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11355 _result
= (bool )wxRegion_IntersectRegion(_arg0
,*_arg1
);
11357 wxPyEndAllowThreads(__tstate
);
11358 if (PyErr_Occurred()) return NULL
;
11359 } _resultobj
= Py_BuildValue("i",_result
);
11363 #define wxRegion_IsEmpty(_swigobj) (_swigobj->IsEmpty())
11364 static PyObject
*_wrap_wxRegion_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11365 PyObject
* _resultobj
;
11368 PyObject
* _argo0
= 0;
11369 char *_kwnames
[] = { "self", NULL
};
11372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_IsEmpty",_kwnames
,&_argo0
))
11375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IsEmpty. Expected _wxRegion_p.");
11382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11383 _result
= (bool )wxRegion_IsEmpty(_arg0
);
11385 wxPyEndAllowThreads(__tstate
);
11386 if (PyErr_Occurred()) return NULL
;
11387 } _resultobj
= Py_BuildValue("i",_result
);
11391 #define wxRegion_Union(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Union(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11392 static PyObject
*_wrap_wxRegion_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11393 PyObject
* _resultobj
;
11400 PyObject
* _argo0
= 0;
11401 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
11404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxRegion_Union",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
11407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Union. Expected _wxRegion_p.");
11414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11415 _result
= (bool )wxRegion_Union(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
11417 wxPyEndAllowThreads(__tstate
);
11418 if (PyErr_Occurred()) return NULL
;
11419 } _resultobj
= Py_BuildValue("i",_result
);
11423 #define wxRegion_UnionRect(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
11424 static PyObject
*_wrap_wxRegion_UnionRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11425 PyObject
* _resultobj
;
11429 PyObject
* _argo0
= 0;
11431 PyObject
* _obj1
= 0;
11432 char *_kwnames
[] = { "self","rect", NULL
};
11435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_UnionRect",_kwnames
,&_argo0
,&_obj1
))
11438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_UnionRect. Expected _wxRegion_p.");
11446 if (! wxRect_helper(_obj1
, &_arg1
))
11450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11451 _result
= (bool )wxRegion_UnionRect(_arg0
,*_arg1
);
11453 wxPyEndAllowThreads(__tstate
);
11454 if (PyErr_Occurred()) return NULL
;
11455 } _resultobj
= Py_BuildValue("i",_result
);
11459 #define wxRegion_UnionRegion(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
11460 static PyObject
*_wrap_wxRegion_UnionRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11461 PyObject
* _resultobj
;
11465 PyObject
* _argo0
= 0;
11466 PyObject
* _argo1
= 0;
11467 char *_kwnames
[] = { "self","region", NULL
};
11470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_UnionRegion",_kwnames
,&_argo0
,&_argo1
))
11473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_UnionRegion. Expected _wxRegion_p.");
11480 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
11481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_UnionRegion. Expected _wxRegion_p.");
11486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11487 _result
= (bool )wxRegion_UnionRegion(_arg0
,*_arg1
);
11489 wxPyEndAllowThreads(__tstate
);
11490 if (PyErr_Occurred()) return NULL
;
11491 } _resultobj
= Py_BuildValue("i",_result
);
11495 #define wxRegion_Subtract(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Subtract(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11496 static PyObject
*_wrap_wxRegion_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11497 PyObject
* _resultobj
;
11504 PyObject
* _argo0
= 0;
11505 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
11508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxRegion_Subtract",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
11511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Subtract. Expected _wxRegion_p.");
11518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11519 _result
= (bool )wxRegion_Subtract(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
11521 wxPyEndAllowThreads(__tstate
);
11522 if (PyErr_Occurred()) return NULL
;
11523 } _resultobj
= Py_BuildValue("i",_result
);
11527 #define wxRegion_SubtractRect(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
11528 static PyObject
*_wrap_wxRegion_SubtractRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11529 PyObject
* _resultobj
;
11533 PyObject
* _argo0
= 0;
11535 PyObject
* _obj1
= 0;
11536 char *_kwnames
[] = { "self","rect", NULL
};
11539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_SubtractRect",_kwnames
,&_argo0
,&_obj1
))
11542 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11543 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_SubtractRect. Expected _wxRegion_p.");
11550 if (! wxRect_helper(_obj1
, &_arg1
))
11554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11555 _result
= (bool )wxRegion_SubtractRect(_arg0
,*_arg1
);
11557 wxPyEndAllowThreads(__tstate
);
11558 if (PyErr_Occurred()) return NULL
;
11559 } _resultobj
= Py_BuildValue("i",_result
);
11563 #define wxRegion_SubtractRegion(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
11564 static PyObject
*_wrap_wxRegion_SubtractRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11565 PyObject
* _resultobj
;
11569 PyObject
* _argo0
= 0;
11570 PyObject
* _argo1
= 0;
11571 char *_kwnames
[] = { "self","region", NULL
};
11574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_SubtractRegion",_kwnames
,&_argo0
,&_argo1
))
11577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
11584 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
11585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
11590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11591 _result
= (bool )wxRegion_SubtractRegion(_arg0
,*_arg1
);
11593 wxPyEndAllowThreads(__tstate
);
11594 if (PyErr_Occurred()) return NULL
;
11595 } _resultobj
= Py_BuildValue("i",_result
);
11599 #define wxRegion_Xor(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Xor(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11600 static PyObject
*_wrap_wxRegion_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11601 PyObject
* _resultobj
;
11608 PyObject
* _argo0
= 0;
11609 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
11612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxRegion_Xor",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
11615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Xor. Expected _wxRegion_p.");
11622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11623 _result
= (bool )wxRegion_Xor(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
11625 wxPyEndAllowThreads(__tstate
);
11626 if (PyErr_Occurred()) return NULL
;
11627 } _resultobj
= Py_BuildValue("i",_result
);
11631 #define wxRegion_XorRect(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
11632 static PyObject
*_wrap_wxRegion_XorRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11633 PyObject
* _resultobj
;
11637 PyObject
* _argo0
= 0;
11639 PyObject
* _obj1
= 0;
11640 char *_kwnames
[] = { "self","rect", NULL
};
11643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_XorRect",_kwnames
,&_argo0
,&_obj1
))
11646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_XorRect. Expected _wxRegion_p.");
11654 if (! wxRect_helper(_obj1
, &_arg1
))
11658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11659 _result
= (bool )wxRegion_XorRect(_arg0
,*_arg1
);
11661 wxPyEndAllowThreads(__tstate
);
11662 if (PyErr_Occurred()) return NULL
;
11663 } _resultobj
= Py_BuildValue("i",_result
);
11667 #define wxRegion_XorRegion(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
11668 static PyObject
*_wrap_wxRegion_XorRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11669 PyObject
* _resultobj
;
11673 PyObject
* _argo0
= 0;
11674 PyObject
* _argo1
= 0;
11675 char *_kwnames
[] = { "self","region", NULL
};
11678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_XorRegion",_kwnames
,&_argo0
,&_argo1
))
11681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_XorRegion. Expected _wxRegion_p.");
11688 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
11689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_XorRegion. Expected _wxRegion_p.");
11694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11695 _result
= (bool )wxRegion_XorRegion(_arg0
,*_arg1
);
11697 wxPyEndAllowThreads(__tstate
);
11698 if (PyErr_Occurred()) return NULL
;
11699 } _resultobj
= Py_BuildValue("i",_result
);
11703 #define wxRegion_ConvertToBitmap(_swigobj) (_swigobj->ConvertToBitmap())
11704 static PyObject
*_wrap_wxRegion_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11705 PyObject
* _resultobj
;
11706 wxBitmap
* _result
;
11708 PyObject
* _argo0
= 0;
11709 char *_kwnames
[] = { "self", NULL
};
11713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_ConvertToBitmap",_kwnames
,&_argo0
))
11716 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11717 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ConvertToBitmap. Expected _wxRegion_p.");
11723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11724 _result
= new wxBitmap (wxRegion_ConvertToBitmap(_arg0
));
11726 wxPyEndAllowThreads(__tstate
);
11727 if (PyErr_Occurred()) return NULL
;
11728 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
11729 _resultobj
= Py_BuildValue("s",_ptemp
);
11733 #define wxRegion_UnionBitmap(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Union(_swigarg0,_swigarg1,_swigarg2))
11734 static PyObject
*_wrap_wxRegion_UnionBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11735 PyObject
* _resultobj
;
11739 wxColour
* _arg2
= (wxColour
*) &wxNullColour
;
11740 int _arg3
= (int ) 0;
11741 PyObject
* _argo0
= 0;
11742 PyObject
* _argo1
= 0;
11744 PyObject
* _obj2
= 0;
11745 char *_kwnames
[] = { "self","bmp","transColour","tolerance", NULL
};
11748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|Oi:wxRegion_UnionBitmap",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
))
11751 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11752 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_UnionBitmap. Expected _wxRegion_p.");
11758 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
11759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_UnionBitmap. Expected _wxBitmap_p.");
11766 if (! wxColour_helper(_obj2
, &_arg2
))
11770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11771 _result
= (bool )wxRegion_UnionBitmap(_arg0
,*_arg1
,*_arg2
,_arg3
);
11773 wxPyEndAllowThreads(__tstate
);
11774 if (PyErr_Occurred()) return NULL
;
11775 } _resultobj
= Py_BuildValue("i",_result
);
11779 static void *SwigwxRegionIteratorTowxObject(void *ptr
) {
11780 wxRegionIterator
*src
;
11782 src
= (wxRegionIterator
*) ptr
;
11783 dest
= (wxObject
*) src
;
11784 return (void *) dest
;
11787 #define new_wxRegionIterator(_swigarg0) (new wxRegionIterator(_swigarg0))
11788 static PyObject
*_wrap_new_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11789 PyObject
* _resultobj
;
11790 wxRegionIterator
* _result
;
11792 PyObject
* _argo0
= 0;
11793 char *_kwnames
[] = { "region", NULL
};
11797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxRegionIterator",_kwnames
,&_argo0
))
11800 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
11801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRegionIterator. Expected _wxRegion_p.");
11806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11807 _result
= (wxRegionIterator
*)new_wxRegionIterator(*_arg0
);
11809 wxPyEndAllowThreads(__tstate
);
11810 if (PyErr_Occurred()) return NULL
;
11812 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegionIterator_p");
11813 _resultobj
= Py_BuildValue("s",_ptemp
);
11815 Py_INCREF(Py_None
);
11816 _resultobj
= Py_None
;
11821 #define delete_wxRegionIterator(_swigobj) (delete _swigobj)
11822 static PyObject
*_wrap_delete_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11823 PyObject
* _resultobj
;
11824 wxRegionIterator
* _arg0
;
11825 PyObject
* _argo0
= 0;
11826 char *_kwnames
[] = { "self", NULL
};
11829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegionIterator",_kwnames
,&_argo0
))
11832 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11833 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegionIterator. Expected _wxRegionIterator_p.");
11839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11840 delete_wxRegionIterator(_arg0
);
11842 wxPyEndAllowThreads(__tstate
);
11843 if (PyErr_Occurred()) return NULL
;
11844 } Py_INCREF(Py_None
);
11845 _resultobj
= Py_None
;
11849 #define wxRegionIterator_GetX(_swigobj) (_swigobj->GetX())
11850 static PyObject
*_wrap_wxRegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11851 PyObject
* _resultobj
;
11853 wxRegionIterator
* _arg0
;
11854 PyObject
* _argo0
= 0;
11855 char *_kwnames
[] = { "self", NULL
};
11858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetX",_kwnames
,&_argo0
))
11861 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11862 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetX. Expected _wxRegionIterator_p.");
11868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11869 _result
= (wxCoord
)wxRegionIterator_GetX(_arg0
);
11871 wxPyEndAllowThreads(__tstate
);
11872 if (PyErr_Occurred()) return NULL
;
11873 } _resultobj
= Py_BuildValue("i",_result
);
11877 #define wxRegionIterator_GetY(_swigobj) (_swigobj->GetY())
11878 static PyObject
*_wrap_wxRegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11879 PyObject
* _resultobj
;
11881 wxRegionIterator
* _arg0
;
11882 PyObject
* _argo0
= 0;
11883 char *_kwnames
[] = { "self", NULL
};
11886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetY",_kwnames
,&_argo0
))
11889 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11890 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetY. Expected _wxRegionIterator_p.");
11896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11897 _result
= (wxCoord
)wxRegionIterator_GetY(_arg0
);
11899 wxPyEndAllowThreads(__tstate
);
11900 if (PyErr_Occurred()) return NULL
;
11901 } _resultobj
= Py_BuildValue("i",_result
);
11905 #define wxRegionIterator_GetW(_swigobj) (_swigobj->GetW())
11906 static PyObject
*_wrap_wxRegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11907 PyObject
* _resultobj
;
11909 wxRegionIterator
* _arg0
;
11910 PyObject
* _argo0
= 0;
11911 char *_kwnames
[] = { "self", NULL
};
11914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetW",_kwnames
,&_argo0
))
11917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetW. Expected _wxRegionIterator_p.");
11924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11925 _result
= (wxCoord
)wxRegionIterator_GetW(_arg0
);
11927 wxPyEndAllowThreads(__tstate
);
11928 if (PyErr_Occurred()) return NULL
;
11929 } _resultobj
= Py_BuildValue("i",_result
);
11933 #define wxRegionIterator_GetWidth(_swigobj) (_swigobj->GetWidth())
11934 static PyObject
*_wrap_wxRegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11935 PyObject
* _resultobj
;
11937 wxRegionIterator
* _arg0
;
11938 PyObject
* _argo0
= 0;
11939 char *_kwnames
[] = { "self", NULL
};
11942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetWidth",_kwnames
,&_argo0
))
11945 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11946 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetWidth. Expected _wxRegionIterator_p.");
11952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11953 _result
= (wxCoord
)wxRegionIterator_GetWidth(_arg0
);
11955 wxPyEndAllowThreads(__tstate
);
11956 if (PyErr_Occurred()) return NULL
;
11957 } _resultobj
= Py_BuildValue("i",_result
);
11961 #define wxRegionIterator_GetH(_swigobj) (_swigobj->GetH())
11962 static PyObject
*_wrap_wxRegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11963 PyObject
* _resultobj
;
11965 wxRegionIterator
* _arg0
;
11966 PyObject
* _argo0
= 0;
11967 char *_kwnames
[] = { "self", NULL
};
11970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetH",_kwnames
,&_argo0
))
11973 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11974 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetH. Expected _wxRegionIterator_p.");
11980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11981 _result
= (wxCoord
)wxRegionIterator_GetH(_arg0
);
11983 wxPyEndAllowThreads(__tstate
);
11984 if (PyErr_Occurred()) return NULL
;
11985 } _resultobj
= Py_BuildValue("i",_result
);
11989 #define wxRegionIterator_GetHeight(_swigobj) (_swigobj->GetHeight())
11990 static PyObject
*_wrap_wxRegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11991 PyObject
* _resultobj
;
11993 wxRegionIterator
* _arg0
;
11994 PyObject
* _argo0
= 0;
11995 char *_kwnames
[] = { "self", NULL
};
11998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetHeight",_kwnames
,&_argo0
))
12001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
12003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetHeight. Expected _wxRegionIterator_p.");
12008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12009 _result
= (wxCoord
)wxRegionIterator_GetHeight(_arg0
);
12011 wxPyEndAllowThreads(__tstate
);
12012 if (PyErr_Occurred()) return NULL
;
12013 } _resultobj
= Py_BuildValue("i",_result
);
12017 #define wxRegionIterator_GetRect(_swigobj) (_swigobj->GetRect())
12018 static PyObject
*_wrap_wxRegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12019 PyObject
* _resultobj
;
12021 wxRegionIterator
* _arg0
;
12022 PyObject
* _argo0
= 0;
12023 char *_kwnames
[] = { "self", NULL
};
12027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetRect",_kwnames
,&_argo0
))
12030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
12032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetRect. Expected _wxRegionIterator_p.");
12037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12038 _result
= new wxRect (wxRegionIterator_GetRect(_arg0
));
12040 wxPyEndAllowThreads(__tstate
);
12041 if (PyErr_Occurred()) return NULL
;
12042 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
12043 _resultobj
= Py_BuildValue("s",_ptemp
);
12047 #define wxRegionIterator_HaveRects(_swigobj) (_swigobj->HaveRects())
12048 static PyObject
*_wrap_wxRegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12049 PyObject
* _resultobj
;
12051 wxRegionIterator
* _arg0
;
12052 PyObject
* _argo0
= 0;
12053 char *_kwnames
[] = { "self", NULL
};
12056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_HaveRects",_kwnames
,&_argo0
))
12059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
12061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_HaveRects. Expected _wxRegionIterator_p.");
12066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12067 _result
= (bool )wxRegionIterator_HaveRects(_arg0
);
12069 wxPyEndAllowThreads(__tstate
);
12070 if (PyErr_Occurred()) return NULL
;
12071 } _resultobj
= Py_BuildValue("i",_result
);
12075 #define wxRegionIterator_Reset(_swigobj) (_swigobj->Reset())
12076 static PyObject
*_wrap_wxRegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12077 PyObject
* _resultobj
;
12078 wxRegionIterator
* _arg0
;
12079 PyObject
* _argo0
= 0;
12080 char *_kwnames
[] = { "self", NULL
};
12083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Reset",_kwnames
,&_argo0
))
12086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
12088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Reset. Expected _wxRegionIterator_p.");
12093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12094 wxRegionIterator_Reset(_arg0
);
12096 wxPyEndAllowThreads(__tstate
);
12097 if (PyErr_Occurred()) return NULL
;
12098 } Py_INCREF(Py_None
);
12099 _resultobj
= Py_None
;
12103 static void wxRegionIterator_Next(wxRegionIterator
*self
) {
12106 static PyObject
*_wrap_wxRegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12107 PyObject
* _resultobj
;
12108 wxRegionIterator
* _arg0
;
12109 PyObject
* _argo0
= 0;
12110 char *_kwnames
[] = { "self", NULL
};
12113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Next",_kwnames
,&_argo0
))
12116 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12117 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
12118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Next. Expected _wxRegionIterator_p.");
12123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12124 wxRegionIterator_Next(_arg0
);
12126 wxPyEndAllowThreads(__tstate
);
12127 if (PyErr_Occurred()) return NULL
;
12128 } Py_INCREF(Py_None
);
12129 _resultobj
= Py_None
;
12133 static bool wxRegionIterator___nonzero__(wxRegionIterator
*self
) {
12134 return self
->operator bool();
12136 static PyObject
*_wrap_wxRegionIterator___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12137 PyObject
* _resultobj
;
12139 wxRegionIterator
* _arg0
;
12140 PyObject
* _argo0
= 0;
12141 char *_kwnames
[] = { "self", NULL
};
12144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator___nonzero__",_kwnames
,&_argo0
))
12147 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12148 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
12149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator___nonzero__. Expected _wxRegionIterator_p.");
12154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12155 _result
= (bool )wxRegionIterator___nonzero__(_arg0
);
12157 wxPyEndAllowThreads(__tstate
);
12158 if (PyErr_Occurred()) return NULL
;
12159 } _resultobj
= Py_BuildValue("i",_result
);
12163 static PyMethodDef gdicMethods
[] = {
12164 { "wxRegionIterator___nonzero__", (PyCFunction
) _wrap_wxRegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
12165 { "wxRegionIterator_Next", (PyCFunction
) _wrap_wxRegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
12166 { "wxRegionIterator_Reset", (PyCFunction
) _wrap_wxRegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
12167 { "wxRegionIterator_HaveRects", (PyCFunction
) _wrap_wxRegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
12168 { "wxRegionIterator_GetRect", (PyCFunction
) _wrap_wxRegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
12169 { "wxRegionIterator_GetHeight", (PyCFunction
) _wrap_wxRegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
12170 { "wxRegionIterator_GetH", (PyCFunction
) _wrap_wxRegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
12171 { "wxRegionIterator_GetWidth", (PyCFunction
) _wrap_wxRegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
12172 { "wxRegionIterator_GetW", (PyCFunction
) _wrap_wxRegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
12173 { "wxRegionIterator_GetY", (PyCFunction
) _wrap_wxRegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
12174 { "wxRegionIterator_GetX", (PyCFunction
) _wrap_wxRegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
12175 { "delete_wxRegionIterator", (PyCFunction
) _wrap_delete_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
12176 { "new_wxRegionIterator", (PyCFunction
) _wrap_new_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
12177 { "wxRegion_UnionBitmap", (PyCFunction
) _wrap_wxRegion_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
},
12178 { "wxRegion_ConvertToBitmap", (PyCFunction
) _wrap_wxRegion_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
12179 { "wxRegion_XorRegion", (PyCFunction
) _wrap_wxRegion_XorRegion
, METH_VARARGS
| METH_KEYWORDS
},
12180 { "wxRegion_XorRect", (PyCFunction
) _wrap_wxRegion_XorRect
, METH_VARARGS
| METH_KEYWORDS
},
12181 { "wxRegion_Xor", (PyCFunction
) _wrap_wxRegion_Xor
, METH_VARARGS
| METH_KEYWORDS
},
12182 { "wxRegion_SubtractRegion", (PyCFunction
) _wrap_wxRegion_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
},
12183 { "wxRegion_SubtractRect", (PyCFunction
) _wrap_wxRegion_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
},
12184 { "wxRegion_Subtract", (PyCFunction
) _wrap_wxRegion_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
12185 { "wxRegion_UnionRegion", (PyCFunction
) _wrap_wxRegion_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
},
12186 { "wxRegion_UnionRect", (PyCFunction
) _wrap_wxRegion_UnionRect
, METH_VARARGS
| METH_KEYWORDS
},
12187 { "wxRegion_Union", (PyCFunction
) _wrap_wxRegion_Union
, METH_VARARGS
| METH_KEYWORDS
},
12188 { "wxRegion_IsEmpty", (PyCFunction
) _wrap_wxRegion_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
12189 { "wxRegion_IntersectRegion", (PyCFunction
) _wrap_wxRegion_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
},
12190 { "wxRegion_IntersectRect", (PyCFunction
) _wrap_wxRegion_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
12191 { "wxRegion_Intersect", (PyCFunction
) _wrap_wxRegion_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
12192 { "wxRegion_GetBox", (PyCFunction
) _wrap_wxRegion_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
12193 { "wxRegion_ContainsRectDim", (PyCFunction
) _wrap_wxRegion_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
},
12194 { "wxRegion_ContainsRect", (PyCFunction
) _wrap_wxRegion_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
12195 { "wxRegion_ContainsPoint", (PyCFunction
) _wrap_wxRegion_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
12196 { "wxRegion_Contains", (PyCFunction
) _wrap_wxRegion_Contains
, METH_VARARGS
| METH_KEYWORDS
},
12197 { "wxRegion_Offset", (PyCFunction
) _wrap_wxRegion_Offset
, METH_VARARGS
| METH_KEYWORDS
},
12198 { "wxRegion_Clear", (PyCFunction
) _wrap_wxRegion_Clear
, METH_VARARGS
| METH_KEYWORDS
},
12199 { "delete_wxRegion", (PyCFunction
) _wrap_delete_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
12200 { "new_wxRegionFromBitmap", (PyCFunction
) _wrap_new_wxRegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
12201 { "new_wxRegionFromPoints", (PyCFunction
) _wrap_new_wxRegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
},
12202 { "new_wxRegion", (PyCFunction
) _wrap_new_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
12203 { "wxImageList_GetSize", (PyCFunction
) _wrap_wxImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
12204 { "wxImageList_RemoveAll", (PyCFunction
) _wrap_wxImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
},
12205 { "wxImageList_Remove", (PyCFunction
) _wrap_wxImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
},
12206 { "wxImageList_GetImageCount", (PyCFunction
) _wrap_wxImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
12207 { "wxImageList_Draw", (PyCFunction
) _wrap_wxImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
},
12208 { "wxImageList_Replace", (PyCFunction
) _wrap_wxImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
},
12209 { "wxImageList_AddIcon", (PyCFunction
) _wrap_wxImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
12210 { "wxImageList_AddWithColourMask", (PyCFunction
) _wrap_wxImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
},
12211 { "wxImageList_Add", (PyCFunction
) _wrap_wxImageList_Add
, METH_VARARGS
| METH_KEYWORDS
},
12212 { "delete_wxImageList", (PyCFunction
) _wrap_delete_wxImageList
, METH_VARARGS
| METH_KEYWORDS
},
12213 { "new_wxImageList", (PyCFunction
) _wrap_new_wxImageList
, METH_VARARGS
| METH_KEYWORDS
},
12214 { "wxPalette_Ok", (PyCFunction
) _wrap_wxPalette_Ok
, METH_VARARGS
| METH_KEYWORDS
},
12215 { "wxPalette_GetRGB", (PyCFunction
) _wrap_wxPalette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
12216 { "wxPalette_GetPixel", (PyCFunction
) _wrap_wxPalette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
12217 { "delete_wxPalette", (PyCFunction
) _wrap_delete_wxPalette
, METH_VARARGS
| METH_KEYWORDS
},
12218 { "new_wxPalette", (PyCFunction
) _wrap_new_wxPalette
, METH_VARARGS
| METH_KEYWORDS
},
12219 { "wxMetaFileDC_Close", (PyCFunction
) _wrap_wxMetaFileDC_Close
, METH_VARARGS
| METH_KEYWORDS
},
12220 { "new_wxMetaFileDC", (PyCFunction
) _wrap_new_wxMetaFileDC
, METH_VARARGS
| METH_KEYWORDS
},
12221 { "wxMetaFile_GetFileName", (PyCFunction
) _wrap_wxMetaFile_GetFileName
, METH_VARARGS
| METH_KEYWORDS
},
12222 { "wxMetaFile_GetHeight", (PyCFunction
) _wrap_wxMetaFile_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
12223 { "wxMetaFile_GetWidth", (PyCFunction
) _wrap_wxMetaFile_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
12224 { "wxMetaFile_GetSize", (PyCFunction
) _wrap_wxMetaFile_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
12225 { "wxMetaFile_SetClipboard", (PyCFunction
) _wrap_wxMetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
},
12226 { "wxMetaFile_Ok", (PyCFunction
) _wrap_wxMetaFile_Ok
, METH_VARARGS
| METH_KEYWORDS
},
12227 { "delete_wxMetaFile", (PyCFunction
) _wrap_delete_wxMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
12228 { "new_wxMetaFile", (PyCFunction
) _wrap_new_wxMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
12229 { "new_wxMirrorDC", (PyCFunction
) _wrap_new_wxMirrorDC
, METH_VARARGS
| METH_KEYWORDS
},
12230 { "new_wxWindowDC", (PyCFunction
) _wrap_new_wxWindowDC
, METH_VARARGS
| METH_KEYWORDS
},
12231 { "new_wxPaintDC", (PyCFunction
) _wrap_new_wxPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
12232 { "new_wxClientDC", (PyCFunction
) _wrap_new_wxClientDC
, METH_VARARGS
| METH_KEYWORDS
},
12233 { "wxScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_wxScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
12234 { "wxScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_wxScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
12235 { "wxScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_wxScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
},
12236 { "new_wxScreenDC", (PyCFunction
) _wrap_new_wxScreenDC
, METH_VARARGS
| METH_KEYWORDS
},
12237 { "new_wxBufferedPaintDC", (PyCFunction
) _wrap_new_wxBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
12238 { "wxBufferedDC_UnMask", (PyCFunction
) _wrap_wxBufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
},
12239 { "new_wxBufferedDCInternalBuffer", (PyCFunction
) _wrap_new_wxBufferedDCInternalBuffer
, METH_VARARGS
| METH_KEYWORDS
},
12240 { "new_wxBufferedDC", (PyCFunction
) _wrap_new_wxBufferedDC
, METH_VARARGS
| METH_KEYWORDS
},
12241 { "wxMemoryDC_SelectObject", (PyCFunction
) _wrap_wxMemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
},
12242 { "new_wxMemoryDC", (PyCFunction
) _wrap_new_wxMemoryDC
, METH_VARARGS
| METH_KEYWORDS
},
12243 { "wxDC__DrawTextList", (PyCFunction
) _wrap_wxDC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
},
12244 { "wxDC__DrawPolygonList", (PyCFunction
) _wrap_wxDC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
},
12245 { "wxDC__DrawEllipseList", (PyCFunction
) _wrap_wxDC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
},
12246 { "wxDC__DrawRectangleList", (PyCFunction
) _wrap_wxDC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
},
12247 { "wxDC__DrawLineList", (PyCFunction
) _wrap_wxDC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
},
12248 { "wxDC__DrawPointList", (PyCFunction
) _wrap_wxDC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
},
12249 { "wxDC_GetHDC", (PyCFunction
) _wrap_wxDC_GetHDC
, METH_VARARGS
| METH_KEYWORDS
},
12250 { "wxDC_GetBoundingBox", (PyCFunction
) _wrap_wxDC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
12251 { "wxDC_ResetBoundingBox", (PyCFunction
) _wrap_wxDC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
12252 { "wxDC_CalcBoundingBox", (PyCFunction
) _wrap_wxDC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
12253 { "wxDC_SetAxisOrientation", (PyCFunction
) _wrap_wxDC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
},
12254 { "wxDC_GetDeviceOrigin", (PyCFunction
) _wrap_wxDC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
12255 { "wxDC_SetLogicalOrigin", (PyCFunction
) _wrap_wxDC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
12256 { "wxDC_GetLogicalOrigin", (PyCFunction
) _wrap_wxDC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
12257 { "wxDC_GetPPI", (PyCFunction
) _wrap_wxDC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
},
12258 { "wxDC_GetDepth", (PyCFunction
) _wrap_wxDC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
12259 { "wxDC_CanGetTextExtent", (PyCFunction
) _wrap_wxDC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
12260 { "wxDC_CanDrawBitmap", (PyCFunction
) _wrap_wxDC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
12261 { "wxDC_DrawBitmap", (PyCFunction
) _wrap_wxDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
12262 { "wxDC_StartPage", (PyCFunction
) _wrap_wxDC_StartPage
, METH_VARARGS
| METH_KEYWORDS
},
12263 { "wxDC_StartDoc", (PyCFunction
) _wrap_wxDC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
},
12264 { "wxDC_SetUserScale", (PyCFunction
) _wrap_wxDC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
12265 { "wxDC_SetTextForeground", (PyCFunction
) _wrap_wxDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
12266 { "wxDC_SetTextBackground", (PyCFunction
) _wrap_wxDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
12267 { "wxDC_SetPen", (PyCFunction
) _wrap_wxDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
12268 { "wxDC_SetOptimization", (PyCFunction
) _wrap_wxDC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
12269 { "wxDC_SetMapMode", (PyCFunction
) _wrap_wxDC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
12270 { "wxDC_SetLogicalScale", (PyCFunction
) _wrap_wxDC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
12271 { "wxDC_SetLogicalFunction", (PyCFunction
) _wrap_wxDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
12272 { "wxDC_SetFont", (PyCFunction
) _wrap_wxDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
12273 { "wxDC_SetBrush", (PyCFunction
) _wrap_wxDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
12274 { "wxDC_SetPalette", (PyCFunction
) _wrap_wxDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
12275 { "wxDC_SetClippingRect", (PyCFunction
) _wrap_wxDC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
12276 { "wxDC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_wxDC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
},
12277 { "wxDC_SetClippingRegion", (PyCFunction
) _wrap_wxDC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
12278 { "wxDC_SetBackgroundMode", (PyCFunction
) _wrap_wxDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
12279 { "wxDC_SetBackground", (PyCFunction
) _wrap_wxDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
},
12280 { "wxDC_SetDeviceOrigin", (PyCFunction
) _wrap_wxDC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
12281 { "wxDC_Ok", (PyCFunction
) _wrap_wxDC_Ok
, METH_VARARGS
| METH_KEYWORDS
},
12282 { "wxDC_MinY", (PyCFunction
) _wrap_wxDC_MinY
, METH_VARARGS
| METH_KEYWORDS
},
12283 { "wxDC_MinX", (PyCFunction
) _wrap_wxDC_MinX
, METH_VARARGS
| METH_KEYWORDS
},
12284 { "wxDC_MaxY", (PyCFunction
) _wrap_wxDC_MaxY
, METH_VARARGS
| METH_KEYWORDS
},
12285 { "wxDC_MaxX", (PyCFunction
) _wrap_wxDC_MaxX
, METH_VARARGS
| METH_KEYWORDS
},
12286 { "wxDC_LogicalToDeviceYRel", (PyCFunction
) _wrap_wxDC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
},
12287 { "wxDC_LogicalToDeviceY", (PyCFunction
) _wrap_wxDC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
},
12288 { "wxDC_LogicalToDeviceXRel", (PyCFunction
) _wrap_wxDC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
},
12289 { "wxDC_LogicalToDeviceX", (PyCFunction
) _wrap_wxDC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
},
12290 { "wxDC_GetUserScale", (PyCFunction
) _wrap_wxDC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
12291 { "wxDC_GetTextForeground", (PyCFunction
) _wrap_wxDC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
12292 { "wxDC_GetMultiLineTextExtent", (PyCFunction
) _wrap_wxDC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
12293 { "wxDC_GetFullTextExtent", (PyCFunction
) _wrap_wxDC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
12294 { "wxDC_GetTextExtent", (PyCFunction
) _wrap_wxDC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
12295 { "wxDC_GetTextBackground", (PyCFunction
) _wrap_wxDC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
12296 { "wxDC_GetSizeMM", (PyCFunction
) _wrap_wxDC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
12297 { "wxDC_GetSize", (PyCFunction
) _wrap_wxDC_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
12298 { "wxDC_GetSizeTuple", (PyCFunction
) _wrap_wxDC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
12299 { "wxDC_GetPixel", (PyCFunction
) _wrap_wxDC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
12300 { "wxDC_GetPen", (PyCFunction
) _wrap_wxDC_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
12301 { "wxDC_GetOptimization", (PyCFunction
) _wrap_wxDC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
12302 { "wxDC_GetMapMode", (PyCFunction
) _wrap_wxDC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
12303 { "wxDC_GetLogicalScale", (PyCFunction
) _wrap_wxDC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
12304 { "wxDC_GetLogicalFunction", (PyCFunction
) _wrap_wxDC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
12305 { "wxDC_GetFont", (PyCFunction
) _wrap_wxDC_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
12306 { "wxDC_GetClippingBox", (PyCFunction
) _wrap_wxDC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
},
12307 { "wxDC_GetCharWidth", (PyCFunction
) _wrap_wxDC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
12308 { "wxDC_GetCharHeight", (PyCFunction
) _wrap_wxDC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
12309 { "wxDC_GetBrush", (PyCFunction
) _wrap_wxDC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
12310 { "wxDC_GetBackground", (PyCFunction
) _wrap_wxDC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
},
12311 { "wxDC_FloodFill", (PyCFunction
) _wrap_wxDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
},
12312 { "wxDC_EndPage", (PyCFunction
) _wrap_wxDC_EndPage
, METH_VARARGS
| METH_KEYWORDS
},
12313 { "wxDC_EndDrawing", (PyCFunction
) _wrap_wxDC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
},
12314 { "wxDC_EndDoc", (PyCFunction
) _wrap_wxDC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
},
12315 { "wxDC_DrawText", (PyCFunction
) _wrap_wxDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
12316 { "wxDC_DrawSpline", (PyCFunction
) _wrap_wxDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
12317 { "wxDC_DrawRoundedRectangle", (PyCFunction
) _wrap_wxDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
12318 { "wxDC_DrawRotatedText", (PyCFunction
) _wrap_wxDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
},
12319 { "wxDC_DrawRectangleRect", (PyCFunction
) _wrap_wxDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
12320 { "wxDC_DrawRectangle", (PyCFunction
) _wrap_wxDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
12321 { "wxDC_DrawPoint", (PyCFunction
) _wrap_wxDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
12322 { "wxDC_DrawPolygon", (PyCFunction
) _wrap_wxDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
12323 { "wxDC_DrawLines", (PyCFunction
) _wrap_wxDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
12324 { "wxDC_DrawLine", (PyCFunction
) _wrap_wxDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
12325 { "wxDC_DrawImageLabel", (PyCFunction
) _wrap_wxDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
12326 { "wxDC_DrawLabel", (PyCFunction
) _wrap_wxDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
},
12327 { "wxDC_DrawIcon", (PyCFunction
) _wrap_wxDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
},
12328 { "wxDC_DrawEllipticArc", (PyCFunction
) _wrap_wxDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
12329 { "wxDC_DrawEllipse", (PyCFunction
) _wrap_wxDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
12330 { "wxDC_DrawCircle", (PyCFunction
) _wrap_wxDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
},
12331 { "wxDC_DrawArc", (PyCFunction
) _wrap_wxDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
12332 { "wxDC_DeviceToLogicalYRel", (PyCFunction
) _wrap_wxDC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
},
12333 { "wxDC_DeviceToLogicalY", (PyCFunction
) _wrap_wxDC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
},
12334 { "wxDC_DeviceToLogicalXRel", (PyCFunction
) _wrap_wxDC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
},
12335 { "wxDC_DeviceToLogicalX", (PyCFunction
) _wrap_wxDC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
},
12336 { "wxDC_DestroyClippingRegion", (PyCFunction
) _wrap_wxDC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
12337 { "wxDC_CrossHair", (PyCFunction
) _wrap_wxDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
},
12338 { "wxDC_Clear", (PyCFunction
) _wrap_wxDC_Clear
, METH_VARARGS
| METH_KEYWORDS
},
12339 { "wxDC_Blit", (PyCFunction
) _wrap_wxDC_Blit
, METH_VARARGS
| METH_KEYWORDS
},
12340 { "wxDC_BeginDrawing", (PyCFunction
) _wrap_wxDC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
},
12341 { "delete_wxDC", (PyCFunction
) _wrap_delete_wxDC
, METH_VARARGS
| METH_KEYWORDS
},
12342 { "wxBrushList_GetCount", (PyCFunction
) _wrap_wxBrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
12343 { "wxBrushList_RemoveBrush", (PyCFunction
) _wrap_wxBrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
},
12344 { "wxBrushList_FindOrCreateBrush", (PyCFunction
) _wrap_wxBrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
},
12345 { "wxBrushList_AddBrush", (PyCFunction
) _wrap_wxBrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
},
12346 { "wxBrush_SetStyle", (PyCFunction
) _wrap_wxBrush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
12347 { "wxBrush_SetStipple", (PyCFunction
) _wrap_wxBrush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
12348 { "wxBrush_SetColour", (PyCFunction
) _wrap_wxBrush_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
12349 { "wxBrush_Ok", (PyCFunction
) _wrap_wxBrush_Ok
, METH_VARARGS
| METH_KEYWORDS
},
12350 { "wxBrush_GetStyle", (PyCFunction
) _wrap_wxBrush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
12351 { "wxBrush_GetStipple", (PyCFunction
) _wrap_wxBrush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
12352 { "wxBrush_GetColour", (PyCFunction
) _wrap_wxBrush_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
12353 { "delete_wxBrush", (PyCFunction
) _wrap_delete_wxBrush
, METH_VARARGS
| METH_KEYWORDS
},
12354 { "new_wxBrush", (PyCFunction
) _wrap_new_wxBrush
, METH_VARARGS
| METH_KEYWORDS
},
12355 { "wxPenList_GetCount", (PyCFunction
) _wrap_wxPenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
12356 { "wxPenList_RemovePen", (PyCFunction
) _wrap_wxPenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
},
12357 { "wxPenList_FindOrCreatePen", (PyCFunction
) _wrap_wxPenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
},
12358 { "wxPenList_AddPen", (PyCFunction
) _wrap_wxPenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
},
12359 { "wxPyPen_SetDashes", (PyCFunction
) _wrap_wxPyPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
12360 { "delete_wxPyPen", (PyCFunction
) _wrap_delete_wxPyPen
, METH_VARARGS
| METH_KEYWORDS
},
12361 { "new_wxPyPen", (PyCFunction
) _wrap_new_wxPyPen
, METH_VARARGS
| METH_KEYWORDS
},
12362 { "wxPen_SetStipple", (PyCFunction
) _wrap_wxPen_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
12363 { "wxPen_GetStipple", (PyCFunction
) _wrap_wxPen_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
12364 { "wxPen_GetDashes", (PyCFunction
) _wrap_wxPen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
},
12365 { "wxPen_SetDashes", (PyCFunction
) _wrap_wxPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
12366 { "wxPen_SetWidth", (PyCFunction
) _wrap_wxPen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
12367 { "wxPen_SetStyle", (PyCFunction
) _wrap_wxPen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
12368 { "wxPen_SetJoin", (PyCFunction
) _wrap_wxPen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
},
12369 { "wxPen_SetColour", (PyCFunction
) _wrap_wxPen_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
12370 { "wxPen_SetCap", (PyCFunction
) _wrap_wxPen_SetCap
, METH_VARARGS
| METH_KEYWORDS
},
12371 { "wxPen_Ok", (PyCFunction
) _wrap_wxPen_Ok
, METH_VARARGS
| METH_KEYWORDS
},
12372 { "wxPen_GetWidth", (PyCFunction
) _wrap_wxPen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
12373 { "wxPen_GetStyle", (PyCFunction
) _wrap_wxPen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
12374 { "wxPen_GetJoin", (PyCFunction
) _wrap_wxPen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
},
12375 { "wxPen_GetColour", (PyCFunction
) _wrap_wxPen_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
12376 { "wxPen_GetCap", (PyCFunction
) _wrap_wxPen_GetCap
, METH_VARARGS
| METH_KEYWORDS
},
12377 { "delete_wxPen", (PyCFunction
) _wrap_delete_wxPen
, METH_VARARGS
| METH_KEYWORDS
},
12378 { "new_wxPen", (PyCFunction
) _wrap_new_wxPen
, METH_VARARGS
| METH_KEYWORDS
},
12379 { "wxColourDatabase_Append", (PyCFunction
) _wrap_wxColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
},
12380 { "wxColourDatabase_AddColour", (PyCFunction
) _wrap_wxColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
},
12381 { "wxColourDatabase_FindName", (PyCFunction
) _wrap_wxColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
},
12382 { "wxColourDatabase_Find", (PyCFunction
) _wrap_wxColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
},
12383 { "delete_wxColourDatabase", (PyCFunction
) _wrap_delete_wxColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
12384 { "new_wxColourDatabase", (PyCFunction
) _wrap_new_wxColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
12385 { "wxColour___ne__", (PyCFunction
) _wrap_wxColour___ne__
, METH_VARARGS
| METH_KEYWORDS
},
12386 { "wxColour___eq__", (PyCFunction
) _wrap_wxColour___eq__
, METH_VARARGS
| METH_KEYWORDS
},
12387 { "wxColour_Get", (PyCFunction
) _wrap_wxColour_Get
, METH_VARARGS
| METH_KEYWORDS
},
12388 { "wxColour_Set", (PyCFunction
) _wrap_wxColour_Set
, METH_VARARGS
| METH_KEYWORDS
},
12389 { "wxColour_Ok", (PyCFunction
) _wrap_wxColour_Ok
, METH_VARARGS
| METH_KEYWORDS
},
12390 { "wxColour_Blue", (PyCFunction
) _wrap_wxColour_Blue
, METH_VARARGS
| METH_KEYWORDS
},
12391 { "wxColour_Green", (PyCFunction
) _wrap_wxColour_Green
, METH_VARARGS
| METH_KEYWORDS
},
12392 { "wxColour_Red", (PyCFunction
) _wrap_wxColour_Red
, METH_VARARGS
| METH_KEYWORDS
},
12393 { "delete_wxColour", (PyCFunction
) _wrap_delete_wxColour
, METH_VARARGS
| METH_KEYWORDS
},
12394 { "new_wxColour", (PyCFunction
) _wrap_new_wxColour
, METH_VARARGS
| METH_KEYWORDS
},
12395 { "wxCursor_SetSize", (PyCFunction
) _wrap_wxCursor_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
12396 { "wxCursor_SetDepth", (PyCFunction
) _wrap_wxCursor_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
12397 { "wxCursor_SetHeight", (PyCFunction
) _wrap_wxCursor_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
12398 { "wxCursor_SetWidth", (PyCFunction
) _wrap_wxCursor_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
12399 { "wxCursor_GetDepth", (PyCFunction
) _wrap_wxCursor_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
12400 { "wxCursor_GetHeight", (PyCFunction
) _wrap_wxCursor_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
12401 { "wxCursor_GetWidth", (PyCFunction
) _wrap_wxCursor_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
12402 { "wxCursor_Ok", (PyCFunction
) _wrap_wxCursor_Ok
, METH_VARARGS
| METH_KEYWORDS
},
12403 { "wxCursor_SetHandle", (PyCFunction
) _wrap_wxCursor_SetHandle
, METH_VARARGS
| METH_KEYWORDS
},
12404 { "wxCursor_GetHandle", (PyCFunction
) _wrap_wxCursor_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
12405 { "delete_wxCursor", (PyCFunction
) _wrap_delete_wxCursor
, METH_VARARGS
| METH_KEYWORDS
},
12406 { "new_wxCursor", (PyCFunction
) _wrap_new_wxCursor
, METH_VARARGS
| METH_KEYWORDS
},
12407 { "wxIconBundle_GetIcon", (PyCFunction
) _wrap_wxIconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
12408 { "wxIconBundle_AddIconFromFile", (PyCFunction
) _wrap_wxIconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
},
12409 { "wxIconBundle_AddIcon", (PyCFunction
) _wrap_wxIconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
12410 { "delete_wxIconBundle", (PyCFunction
) _wrap_delete_wxIconBundle
, METH_VARARGS
| METH_KEYWORDS
},
12411 { "new_wxIconBundleFromIcon", (PyCFunction
) _wrap_new_wxIconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
12412 { "new_wxIconBundleFromFile", (PyCFunction
) _wrap_new_wxIconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
},
12413 { "new_wxIconBundle", (PyCFunction
) _wrap_new_wxIconBundle
, METH_VARARGS
| METH_KEYWORDS
},
12414 { "wxIconLocation_GetIndex", (PyCFunction
) _wrap_wxIconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
12415 { "wxIconLocation_SetIndex", (PyCFunction
) _wrap_wxIconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
},
12416 { "wxIconLocation_GetFileName", (PyCFunction
) _wrap_wxIconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
},
12417 { "wxIconLocation_SetFileName", (PyCFunction
) _wrap_wxIconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
},
12418 { "wxIconLocation_IsOk", (PyCFunction
) _wrap_wxIconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
12419 { "delete_wxIconLocation", (PyCFunction
) _wrap_delete_wxIconLocation
, METH_VARARGS
| METH_KEYWORDS
},
12420 { "new_wxIconLocation", (PyCFunction
) _wrap_new_wxIconLocation
, METH_VARARGS
| METH_KEYWORDS
},
12421 { "wxIcon_CopyFromBitmap", (PyCFunction
) _wrap_wxIcon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
12422 { "wxIcon_SetSize", (PyCFunction
) _wrap_wxIcon_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
12423 { "wxIcon_SetDepth", (PyCFunction
) _wrap_wxIcon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
12424 { "wxIcon_SetHeight", (PyCFunction
) _wrap_wxIcon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
12425 { "wxIcon_SetWidth", (PyCFunction
) _wrap_wxIcon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
12426 { "wxIcon_GetDepth", (PyCFunction
) _wrap_wxIcon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
12427 { "wxIcon_GetHeight", (PyCFunction
) _wrap_wxIcon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
12428 { "wxIcon_GetWidth", (PyCFunction
) _wrap_wxIcon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
12429 { "wxIcon_Ok", (PyCFunction
) _wrap_wxIcon_Ok
, METH_VARARGS
| METH_KEYWORDS
},
12430 { "wxIcon_SetHandle", (PyCFunction
) _wrap_wxIcon_SetHandle
, METH_VARARGS
| METH_KEYWORDS
},
12431 { "wxIcon_GetHandle", (PyCFunction
) _wrap_wxIcon_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
12432 { "wxIcon_LoadFile", (PyCFunction
) _wrap_wxIcon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
12433 { "delete_wxIcon", (PyCFunction
) _wrap_delete_wxIcon
, METH_VARARGS
| METH_KEYWORDS
},
12434 { "new_wxIcon", (PyCFunction
) _wrap_new_wxIcon
, METH_VARARGS
| METH_KEYWORDS
},
12435 { "wxMask_Destroy", (PyCFunction
) _wrap_wxMask_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
12436 { "new_wxMask", (PyCFunction
) _wrap_new_wxMask
, METH_VARARGS
| METH_KEYWORDS
},
12437 { "wxBitmap_SetQuality", (PyCFunction
) _wrap_wxBitmap_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
12438 { "wxBitmap_GetQuality", (PyCFunction
) _wrap_wxBitmap_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
12439 { "wxBitmap_CopyFromCursor", (PyCFunction
) _wrap_wxBitmap_CopyFromCursor
, METH_VARARGS
| METH_KEYWORDS
},
12440 { "wxBitmap_CopyFromIcon", (PyCFunction
) _wrap_wxBitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
12441 { "wxBitmap_GetSubBitmap", (PyCFunction
) _wrap_wxBitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
},
12442 { "wxBitmap_SetSize", (PyCFunction
) _wrap_wxBitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
12443 { "wxBitmap_SetDepth", (PyCFunction
) _wrap_wxBitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
12444 { "wxBitmap_SetHeight", (PyCFunction
) _wrap_wxBitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
12445 { "wxBitmap_SetWidth", (PyCFunction
) _wrap_wxBitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
12446 { "wxBitmap_GetDepth", (PyCFunction
) _wrap_wxBitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
12447 { "wxBitmap_GetHeight", (PyCFunction
) _wrap_wxBitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
12448 { "wxBitmap_GetWidth", (PyCFunction
) _wrap_wxBitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
12449 { "wxBitmap_Ok", (PyCFunction
) _wrap_wxBitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
},
12450 { "wxBitmap_SetHandle", (PyCFunction
) _wrap_wxBitmap_SetHandle
, METH_VARARGS
| METH_KEYWORDS
},
12451 { "wxBitmap_GetHandle", (PyCFunction
) _wrap_wxBitmap_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
12452 { "wxBitmap_SetPalette", (PyCFunction
) _wrap_wxBitmap_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
12453 { "wxBitmap_SetMask", (PyCFunction
) _wrap_wxBitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
12454 { "wxBitmap_SaveFile", (PyCFunction
) _wrap_wxBitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
12455 { "wxBitmap_LoadFile", (PyCFunction
) _wrap_wxBitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
12456 { "wxBitmap_GetMask", (PyCFunction
) _wrap_wxBitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
12457 { "wxBitmap_GetPalette", (PyCFunction
) _wrap_wxBitmap_GetPalette
, METH_VARARGS
| METH_KEYWORDS
},
12458 { "delete_wxBitmap", (PyCFunction
) _wrap_delete_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
12459 { "new_wxBitmap", (PyCFunction
) _wrap_new_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
12460 { "wxGDIObject_IsNull", (PyCFunction
) _wrap_wxGDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
12461 { "wxGDIObject_SetVisible", (PyCFunction
) _wrap_wxGDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
},
12462 { "wxGDIObject_GetVisible", (PyCFunction
) _wrap_wxGDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
},
12463 { "delete_wxGDIObject", (PyCFunction
) _wrap_delete_wxGDIObject
, METH_VARARGS
| METH_KEYWORDS
},
12464 { "new_wxGDIObject", (PyCFunction
) _wrap_new_wxGDIObject
, METH_VARARGS
| METH_KEYWORDS
},
12465 { "wxMemoryDCFromDC", (PyCFunction
) _wrap_wxMemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
},
12466 { "wxNamedColour", (PyCFunction
) _wrap_wxNamedColour
, METH_VARARGS
| METH_KEYWORDS
},
12467 { "wxCursorFromBits", (PyCFunction
) _wrap_wxCursorFromBits
, METH_VARARGS
| METH_KEYWORDS
},
12468 { "wxCursorFromImage", (PyCFunction
) _wrap_wxCursorFromImage
, METH_VARARGS
| METH_KEYWORDS
},
12469 { "wxStockCursor", (PyCFunction
) _wrap_wxStockCursor
, METH_VARARGS
| METH_KEYWORDS
},
12470 { "wxIconFromLocation", (PyCFunction
) _wrap_wxIconFromLocation
, METH_VARARGS
| METH_KEYWORDS
},
12471 { "wxIconFromBitmap", (PyCFunction
) _wrap_wxIconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
12472 { "wxIconFromXPMData", (PyCFunction
) _wrap_wxIconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
12473 { "wxEmptyIcon", (PyCFunction
) _wrap_wxEmptyIcon
, METH_VARARGS
| METH_KEYWORDS
},
12474 { "wxMaskColour", (PyCFunction
) _wrap_wxMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
12475 { "wxBitmapFromBits", (PyCFunction
) _wrap_wxBitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
},
12476 { "wxBitmapFromIcon", (PyCFunction
) _wrap_wxBitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
12477 { "wxBitmapFromXPMData", (PyCFunction
) _wrap_wxBitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
12478 { "wxEmptyBitmap", (PyCFunction
) _wrap_wxEmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
},
12485 * This table is used by the pointer type-checker
12487 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
12488 { "_signed_long","_long",0},
12489 { "_wxPrintQuality","_wxCoord",0},
12490 { "_wxPrintQuality","_int",0},
12491 { "_wxPrintQuality","_signed_int",0},
12492 { "_wxPrintQuality","_unsigned_int",0},
12493 { "_wxPrintQuality","_wxWindowID",0},
12494 { "_wxPrintQuality","_uint",0},
12495 { "_wxPrintQuality","_EBool",0},
12496 { "_wxPrintQuality","_size_t",0},
12497 { "_wxPrintQuality","_time_t",0},
12498 { "_wxPen","_wxPyPen",SwigwxPyPenTowxPen
},
12499 { "_byte","_unsigned_char",0},
12500 { "_long","_unsigned_long",0},
12501 { "_long","_signed_long",0},
12502 { "_wxGDIObject","_wxRegion",SwigwxRegionTowxGDIObject
},
12503 { "_wxGDIObject","_wxPalette",SwigwxPaletteTowxGDIObject
},
12504 { "_wxGDIObject","_wxBrush",SwigwxBrushTowxGDIObject
},
12505 { "_wxGDIObject","_wxPyPen",SwigwxPyPenTowxGDIObject
},
12506 { "_wxGDIObject","_wxPen",SwigwxPenTowxGDIObject
},
12507 { "_wxGDIObject","_wxCursor",SwigwxCursorTowxGDIObject
},
12508 { "_wxGDIObject","_wxIcon",SwigwxIconTowxGDIObject
},
12509 { "_wxGDIObject","_wxBitmap",SwigwxBitmapTowxGDIObject
},
12510 { "_wxDC","_wxMetaFileDC",SwigwxMetaFileDCTowxDC
},
12511 { "_wxDC","_wxMirrorDC",SwigwxMirrorDCTowxDC
},
12512 { "_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC
},
12513 { "_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
},
12514 { "_wxDC","_wxClientDC",SwigwxClientDCTowxDC
},
12515 { "_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
},
12516 { "_wxDC","_wxBufferedPaintDC",SwigwxBufferedPaintDCTowxDC
},
12517 { "_wxDC","_wxBufferedDC",SwigwxBufferedDCTowxDC
},
12518 { "_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
},
12519 { "_size_t","_wxCoord",0},
12520 { "_size_t","_wxPrintQuality",0},
12521 { "_size_t","_time_t",0},
12522 { "_size_t","_unsigned_int",0},
12523 { "_size_t","_int",0},
12524 { "_size_t","_wxWindowID",0},
12525 { "_size_t","_uint",0},
12526 { "_uint","_wxCoord",0},
12527 { "_uint","_wxPrintQuality",0},
12528 { "_uint","_time_t",0},
12529 { "_uint","_size_t",0},
12530 { "_uint","_unsigned_int",0},
12531 { "_uint","_int",0},
12532 { "_uint","_wxWindowID",0},
12533 { "_wxChar","_char",0},
12534 { "_char","_wxChar",0},
12535 { "_wxBufferedDC","_wxBufferedPaintDC",SwigwxBufferedPaintDCTowxBufferedDC
},
12536 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
12537 { "_EBool","_wxCoord",0},
12538 { "_EBool","_wxPrintQuality",0},
12539 { "_EBool","_signed_int",0},
12540 { "_EBool","_int",0},
12541 { "_EBool","_wxWindowID",0},
12542 { "_unsigned_long","_long",0},
12543 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
12544 { "_signed_int","_wxCoord",0},
12545 { "_signed_int","_wxPrintQuality",0},
12546 { "_signed_int","_EBool",0},
12547 { "_signed_int","_wxWindowID",0},
12548 { "_signed_int","_int",0},
12549 { "_WXTYPE","_short",0},
12550 { "_WXTYPE","_signed_short",0},
12551 { "_WXTYPE","_unsigned_short",0},
12552 { "_unsigned_short","_WXTYPE",0},
12553 { "_unsigned_short","_short",0},
12554 { "_wxObject","_wxRegionIterator",SwigwxRegionIteratorTowxObject
},
12555 { "_wxObject","_wxRegion",SwigwxRegionTowxObject
},
12556 { "_wxObject","_wxImageList",SwigwxImageListTowxObject
},
12557 { "_wxObject","_wxPalette",SwigwxPaletteTowxObject
},
12558 { "_wxObject","_wxMetaFileDC",SwigwxMetaFileDCTowxObject
},
12559 { "_wxObject","_wxMetaFile",SwigwxMetaFileTowxObject
},
12560 { "_wxObject","_wxMirrorDC",SwigwxMirrorDCTowxObject
},
12561 { "_wxObject","_wxWindowDC",SwigwxWindowDCTowxObject
},
12562 { "_wxObject","_wxPaintDC",SwigwxPaintDCTowxObject
},
12563 { "_wxObject","_wxClientDC",SwigwxClientDCTowxObject
},
12564 { "_wxObject","_wxScreenDC",SwigwxScreenDCTowxObject
},
12565 { "_wxObject","_wxBufferedPaintDC",SwigwxBufferedPaintDCTowxObject
},
12566 { "_wxObject","_wxBufferedDC",SwigwxBufferedDCTowxObject
},
12567 { "_wxObject","_wxMemoryDC",SwigwxMemoryDCTowxObject
},
12568 { "_wxObject","_wxDC",SwigwxDCTowxObject
},
12569 { "_wxObject","_wxBrushList",SwigwxBrushListTowxObject
},
12570 { "_wxObject","_wxBrush",SwigwxBrushTowxObject
},
12571 { "_wxObject","_wxPenList",SwigwxPenListTowxObject
},
12572 { "_wxObject","_wxPyPen",SwigwxPyPenTowxObject
},
12573 { "_wxObject","_wxPen",SwigwxPenTowxObject
},
12574 { "_wxObject","_wxColourDatabase",SwigwxColourDatabaseTowxObject
},
12575 { "_wxObject","_wxColour",SwigwxColourTowxObject
},
12576 { "_wxObject","_wxCursor",SwigwxCursorTowxObject
},
12577 { "_wxObject","_wxIcon",SwigwxIconTowxObject
},
12578 { "_wxObject","_wxMask",SwigwxMaskTowxObject
},
12579 { "_wxObject","_wxBitmap",SwigwxBitmapTowxObject
},
12580 { "_wxObject","_wxGDIObject",SwigwxGDIObjectTowxObject
},
12581 { "_signed_short","_WXTYPE",0},
12582 { "_signed_short","_short",0},
12583 { "_wxMemoryDC","_wxBufferedPaintDC",SwigwxBufferedPaintDCTowxMemoryDC
},
12584 { "_wxMemoryDC","_wxBufferedDC",SwigwxBufferedDCTowxMemoryDC
},
12585 { "_unsigned_char","_byte",0},
12586 { "_unsigned_int","_wxCoord",0},
12587 { "_unsigned_int","_wxPrintQuality",0},
12588 { "_unsigned_int","_time_t",0},
12589 { "_unsigned_int","_size_t",0},
12590 { "_unsigned_int","_uint",0},
12591 { "_unsigned_int","_wxWindowID",0},
12592 { "_unsigned_int","_int",0},
12593 { "_short","_WXTYPE",0},
12594 { "_short","_unsigned_short",0},
12595 { "_short","_signed_short",0},
12596 { "_wxWindowID","_wxCoord",0},
12597 { "_wxWindowID","_wxPrintQuality",0},
12598 { "_wxWindowID","_time_t",0},
12599 { "_wxWindowID","_size_t",0},
12600 { "_wxWindowID","_EBool",0},
12601 { "_wxWindowID","_uint",0},
12602 { "_wxWindowID","_int",0},
12603 { "_wxWindowID","_signed_int",0},
12604 { "_wxWindowID","_unsigned_int",0},
12605 { "_int","_wxCoord",0},
12606 { "_int","_wxPrintQuality",0},
12607 { "_int","_time_t",0},
12608 { "_int","_size_t",0},
12609 { "_int","_EBool",0},
12610 { "_int","_uint",0},
12611 { "_int","_wxWindowID",0},
12612 { "_int","_unsigned_int",0},
12613 { "_int","_signed_int",0},
12614 { "_time_t","_wxCoord",0},
12615 { "_time_t","_wxPrintQuality",0},
12616 { "_time_t","_unsigned_int",0},
12617 { "_time_t","_int",0},
12618 { "_time_t","_wxWindowID",0},
12619 { "_time_t","_uint",0},
12620 { "_time_t","_size_t",0},
12621 { "_wxCoord","_int",0},
12622 { "_wxCoord","_signed_int",0},
12623 { "_wxCoord","_unsigned_int",0},
12624 { "_wxCoord","_wxWindowID",0},
12625 { "_wxCoord","_uint",0},
12626 { "_wxCoord","_EBool",0},
12627 { "_wxCoord","_size_t",0},
12628 { "_wxCoord","_time_t",0},
12629 { "_wxCoord","_wxPrintQuality",0},
12632 static PyObject
*SWIG_globals
;
12636 SWIGEXPORT(void) initgdic() {
12638 SWIG_globals
= SWIG_newvarlink();
12639 m
= Py_InitModule("gdic", gdicMethods
);
12640 d
= PyModule_GetDict(m
);
12641 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_NORMAL", PyInt_FromLong((long) wxIMAGELIST_DRAW_NORMAL
));
12642 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_TRANSPARENT", PyInt_FromLong((long) wxIMAGELIST_DRAW_TRANSPARENT
));
12643 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_SELECTED", PyInt_FromLong((long) wxIMAGELIST_DRAW_SELECTED
));
12644 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_FOCUSED", PyInt_FromLong((long) wxIMAGELIST_DRAW_FOCUSED
));
12645 PyDict_SetItemString(d
,"wxIMAGE_LIST_NORMAL", PyInt_FromLong((long) wxIMAGE_LIST_NORMAL
));
12646 PyDict_SetItemString(d
,"wxIMAGE_LIST_SMALL", PyInt_FromLong((long) wxIMAGE_LIST_SMALL
));
12647 PyDict_SetItemString(d
,"wxIMAGE_LIST_STATE", PyInt_FromLong((long) wxIMAGE_LIST_STATE
));
12648 PyDict_SetItemString(d
,"wxOutRegion", PyInt_FromLong((long) wxOutRegion
));
12649 PyDict_SetItemString(d
,"wxPartRegion", PyInt_FromLong((long) wxPartRegion
));
12650 PyDict_SetItemString(d
,"wxInRegion", PyInt_FromLong((long) wxInRegion
));
12651 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
12652 SWIG_addvarlink(SWIG_globals
,"wxNORMAL_FONT",_wrap_wxNORMAL_FONT_get
, _wrap_wxNORMAL_FONT_set
);
12653 SWIG_addvarlink(SWIG_globals
,"wxSMALL_FONT",_wrap_wxSMALL_FONT_get
, _wrap_wxSMALL_FONT_set
);
12654 SWIG_addvarlink(SWIG_globals
,"wxITALIC_FONT",_wrap_wxITALIC_FONT_get
, _wrap_wxITALIC_FONT_set
);
12655 SWIG_addvarlink(SWIG_globals
,"wxSWISS_FONT",_wrap_wxSWISS_FONT_get
, _wrap_wxSWISS_FONT_set
);
12656 SWIG_addvarlink(SWIG_globals
,"wxRED_PEN",_wrap_wxRED_PEN_get
, _wrap_wxRED_PEN_set
);
12657 SWIG_addvarlink(SWIG_globals
,"wxCYAN_PEN",_wrap_wxCYAN_PEN_get
, _wrap_wxCYAN_PEN_set
);
12658 SWIG_addvarlink(SWIG_globals
,"wxGREEN_PEN",_wrap_wxGREEN_PEN_get
, _wrap_wxGREEN_PEN_set
);
12659 SWIG_addvarlink(SWIG_globals
,"wxBLACK_PEN",_wrap_wxBLACK_PEN_get
, _wrap_wxBLACK_PEN_set
);
12660 SWIG_addvarlink(SWIG_globals
,"wxWHITE_PEN",_wrap_wxWHITE_PEN_get
, _wrap_wxWHITE_PEN_set
);
12661 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_PEN",_wrap_wxTRANSPARENT_PEN_get
, _wrap_wxTRANSPARENT_PEN_set
);
12662 SWIG_addvarlink(SWIG_globals
,"wxBLACK_DASHED_PEN",_wrap_wxBLACK_DASHED_PEN_get
, _wrap_wxBLACK_DASHED_PEN_set
);
12663 SWIG_addvarlink(SWIG_globals
,"wxGREY_PEN",_wrap_wxGREY_PEN_get
, _wrap_wxGREY_PEN_set
);
12664 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_PEN",_wrap_wxMEDIUM_GREY_PEN_get
, _wrap_wxMEDIUM_GREY_PEN_set
);
12665 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_PEN",_wrap_wxLIGHT_GREY_PEN_get
, _wrap_wxLIGHT_GREY_PEN_set
);
12666 SWIG_addvarlink(SWIG_globals
,"wxBLUE_BRUSH",_wrap_wxBLUE_BRUSH_get
, _wrap_wxBLUE_BRUSH_set
);
12667 SWIG_addvarlink(SWIG_globals
,"wxGREEN_BRUSH",_wrap_wxGREEN_BRUSH_get
, _wrap_wxGREEN_BRUSH_set
);
12668 SWIG_addvarlink(SWIG_globals
,"wxWHITE_BRUSH",_wrap_wxWHITE_BRUSH_get
, _wrap_wxWHITE_BRUSH_set
);
12669 SWIG_addvarlink(SWIG_globals
,"wxBLACK_BRUSH",_wrap_wxBLACK_BRUSH_get
, _wrap_wxBLACK_BRUSH_set
);
12670 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_BRUSH",_wrap_wxTRANSPARENT_BRUSH_get
, _wrap_wxTRANSPARENT_BRUSH_set
);
12671 SWIG_addvarlink(SWIG_globals
,"wxCYAN_BRUSH",_wrap_wxCYAN_BRUSH_get
, _wrap_wxCYAN_BRUSH_set
);
12672 SWIG_addvarlink(SWIG_globals
,"wxRED_BRUSH",_wrap_wxRED_BRUSH_get
, _wrap_wxRED_BRUSH_set
);
12673 SWIG_addvarlink(SWIG_globals
,"wxGREY_BRUSH",_wrap_wxGREY_BRUSH_get
, _wrap_wxGREY_BRUSH_set
);
12674 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_BRUSH",_wrap_wxMEDIUM_GREY_BRUSH_get
, _wrap_wxMEDIUM_GREY_BRUSH_set
);
12675 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_BRUSH",_wrap_wxLIGHT_GREY_BRUSH_get
, _wrap_wxLIGHT_GREY_BRUSH_set
);
12676 SWIG_addvarlink(SWIG_globals
,"wxBLACK",_wrap_wxBLACK_get
, _wrap_wxBLACK_set
);
12677 SWIG_addvarlink(SWIG_globals
,"wxWHITE",_wrap_wxWHITE_get
, _wrap_wxWHITE_set
);
12678 SWIG_addvarlink(SWIG_globals
,"wxRED",_wrap_wxRED_get
, _wrap_wxRED_set
);
12679 SWIG_addvarlink(SWIG_globals
,"wxBLUE",_wrap_wxBLUE_get
, _wrap_wxBLUE_set
);
12680 SWIG_addvarlink(SWIG_globals
,"wxGREEN",_wrap_wxGREEN_get
, _wrap_wxGREEN_set
);
12681 SWIG_addvarlink(SWIG_globals
,"wxCYAN",_wrap_wxCYAN_get
, _wrap_wxCYAN_set
);
12682 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY",_wrap_wxLIGHT_GREY_get
, _wrap_wxLIGHT_GREY_set
);
12683 SWIG_addvarlink(SWIG_globals
,"wxSTANDARD_CURSOR",_wrap_wxSTANDARD_CURSOR_get
, _wrap_wxSTANDARD_CURSOR_set
);
12684 SWIG_addvarlink(SWIG_globals
,"wxHOURGLASS_CURSOR",_wrap_wxHOURGLASS_CURSOR_get
, _wrap_wxHOURGLASS_CURSOR_set
);
12685 SWIG_addvarlink(SWIG_globals
,"wxCROSS_CURSOR",_wrap_wxCROSS_CURSOR_get
, _wrap_wxCROSS_CURSOR_set
);
12686 SWIG_addvarlink(SWIG_globals
,"wxNullBitmap",_wrap_wxNullBitmap_get
, _wrap_wxNullBitmap_set
);
12687 SWIG_addvarlink(SWIG_globals
,"wxNullIcon",_wrap_wxNullIcon_get
, _wrap_wxNullIcon_set
);
12688 SWIG_addvarlink(SWIG_globals
,"wxNullCursor",_wrap_wxNullCursor_get
, _wrap_wxNullCursor_set
);
12689 SWIG_addvarlink(SWIG_globals
,"wxNullPen",_wrap_wxNullPen_get
, _wrap_wxNullPen_set
);
12690 SWIG_addvarlink(SWIG_globals
,"wxNullBrush",_wrap_wxNullBrush_get
, _wrap_wxNullBrush_set
);
12691 SWIG_addvarlink(SWIG_globals
,"wxNullPalette",_wrap_wxNullPalette_get
, _wrap_wxNullPalette_set
);
12692 SWIG_addvarlink(SWIG_globals
,"wxNullFont",_wrap_wxNullFont_get
, _wrap_wxNullFont_set
);
12693 SWIG_addvarlink(SWIG_globals
,"wxNullColour",_wrap_wxNullColour_get
, _wrap_wxNullColour_set
);
12694 SWIG_addvarlink(SWIG_globals
,"wxTheFontList",_wrap_wxTheFontList_get
, _wrap_wxTheFontList_set
);
12695 SWIG_addvarlink(SWIG_globals
,"wxThePenList",_wrap_wxThePenList_get
, _wrap_wxThePenList_set
);
12696 SWIG_addvarlink(SWIG_globals
,"wxTheBrushList",_wrap_wxTheBrushList_get
, _wrap_wxTheBrushList_set
);
12697 SWIG_addvarlink(SWIG_globals
,"wxTheColourDatabase",_wrap_wxTheColourDatabase_get
, _wrap_wxTheColourDatabase_set
);
12700 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
12701 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);