2 * FILE : src/msw/gdi.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initgdic
56 #define SWIG_name "gdic"
59 #include <wx/imaglist.h>
60 #include <wx/fontmap.h>
61 #include <wx/fontenc.h>
62 #include <wx/fontmap.h>
63 #include <wx/fontutil.h>
64 #include <wx/dcbuffer.h>
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
);
183 // Alternate 'constructor'
184 wxCursor
* wxPyStockCursor(int id
) {
185 return new wxCursor(id
);
187 // Alternate 'constructor'
188 wxColour
* wxNamedColour(const wxString
& colorName
) {
189 return new wxColour(colorName
);
192 class wxPyPen
: public wxPen
{
194 wxPyPen(wxColour
& colour
, int width
=1, int style
=wxSOLID
)
195 : wxPen(colour
, width
, style
)
202 void SetDashes(int nb_dashes
, const wxDash
*dash
) {
205 m_dash
= new wxDash
[nb_dashes
];
206 for (int i
=0; i
<nb_dashes
; i
++) {
209 wxPen::SetDashes(nb_dashes
, m_dash
);
216 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
222 // Alternate 'constructor'
223 wxMemoryDC
* wxMemoryDCFromDC(wxDC
* oldDC
) {
224 return new wxMemoryDC(oldDC
);
227 #include <wx/metafile.h>
230 extern wxFont
* wxNORMAL_FONT
;
231 extern wxFont
* wxSMALL_FONT
;
232 extern wxFont
* wxITALIC_FONT
;
233 extern wxFont
* wxSWISS_FONT
;
234 extern wxPen
* wxRED_PEN
;
235 extern wxPen
* wxCYAN_PEN
;
236 extern wxPen
* wxGREEN_PEN
;
237 extern wxPen
* wxBLACK_PEN
;
238 extern wxPen
* wxWHITE_PEN
;
239 extern wxPen
* wxTRANSPARENT_PEN
;
240 extern wxPen
* wxBLACK_DASHED_PEN
;
241 extern wxPen
* wxGREY_PEN
;
242 extern wxPen
* wxMEDIUM_GREY_PEN
;
243 extern wxPen
* wxLIGHT_GREY_PEN
;
244 extern wxBrush
* wxBLUE_BRUSH
;
245 extern wxBrush
* wxGREEN_BRUSH
;
246 extern wxBrush
* wxWHITE_BRUSH
;
247 extern wxBrush
* wxBLACK_BRUSH
;
248 extern wxBrush
* wxTRANSPARENT_BRUSH
;
249 extern wxBrush
* wxCYAN_BRUSH
;
250 extern wxBrush
* wxRED_BRUSH
;
251 extern wxBrush
* wxGREY_BRUSH
;
252 extern wxBrush
* wxMEDIUM_GREY_BRUSH
;
253 extern wxBrush
* wxLIGHT_GREY_BRUSH
;
254 extern wxColour
* wxBLACK
;
255 extern wxColour
* wxWHITE
;
256 extern wxColour
* wxRED
;
257 extern wxColour
* wxBLUE
;
258 extern wxColour
* wxGREEN
;
259 extern wxColour
* wxCYAN
;
260 extern wxColour
* wxLIGHT_GREY
;
261 extern wxCursor
* wxSTANDARD_CURSOR
;
262 extern wxCursor
* wxHOURGLASS_CURSOR
;
263 extern wxCursor
* wxCROSS_CURSOR
;
264 extern wxBitmap wxNullBitmap
;
265 extern wxIcon wxNullIcon
;
266 extern wxCursor wxNullCursor
;
267 extern wxPen wxNullPen
;
268 extern wxBrush wxNullBrush
;
269 extern wxPalette wxNullPalette
;
270 extern wxFont wxNullFont
;
271 extern wxColour wxNullColour
;
272 extern wxFontList
* wxTheFontList
;
273 extern wxPenList
* wxThePenList
;
274 extern wxBrushList
* wxTheBrushList
;
275 extern wxColourDatabase
* wxTheColourDatabase
;
281 static PyObject
*_wrap_wxEmptyBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
282 PyObject
* _resultobj
;
286 int _arg2
= (int ) -1;
287 char *_kwnames
[] = { "width","height","depth", NULL
};
291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ii|i:wxEmptyBitmap",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
295 _result
= (wxBitmap
*)wxEmptyBitmap(_arg0
,_arg1
,_arg2
);
297 wxPyEndAllowThreads(__tstate
);
298 if (PyErr_Occurred()) return NULL
;
300 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
301 _resultobj
= Py_BuildValue("s",_ptemp
);
304 _resultobj
= Py_None
;
309 static PyObject
*_wrap_wxBitmapFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
310 PyObject
* _resultobj
;
313 PyObject
* _obj0
= 0;
314 char *_kwnames
[] = { "listOfStrings", NULL
};
318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapFromXPMData",_kwnames
,&_obj0
))
324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
325 _result
= (wxBitmap
*)wxBitmapFromXPMData(_arg0
);
327 wxPyEndAllowThreads(__tstate
);
328 if (PyErr_Occurred()) return NULL
;
330 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
331 _resultobj
= Py_BuildValue("s",_ptemp
);
334 _resultobj
= Py_None
;
339 static PyObject
*_wrap_wxBitmapFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
340 PyObject
* _resultobj
;
343 PyObject
* _argo0
= 0;
344 char *_kwnames
[] = { "icon", NULL
};
348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapFromIcon",_kwnames
,&_argo0
))
351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapFromIcon. Expected _wxIcon_p.");
358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
359 _result
= (wxBitmap
*)wxBitmapFromIcon(*_arg0
);
361 wxPyEndAllowThreads(__tstate
);
362 if (PyErr_Occurred()) return NULL
;
364 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
365 _resultobj
= Py_BuildValue("s",_ptemp
);
368 _resultobj
= Py_None
;
373 static PyObject
*_wrap_wxBitmapFromBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
374 PyObject
* _resultobj
;
379 int _arg3
= (int ) 1;
380 PyObject
* _obj0
= 0;
381 char *_kwnames
[] = { "bits","width","height","depth", NULL
};
385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxBitmapFromBits",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
))
391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
392 _result
= (wxBitmap
*)wxBitmapFromBits(_arg0
,_arg1
,_arg2
,_arg3
);
394 wxPyEndAllowThreads(__tstate
);
395 if (PyErr_Occurred()) return NULL
;
397 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
398 _resultobj
= Py_BuildValue("s",_ptemp
);
401 _resultobj
= Py_None
;
406 static PyObject
*_wrap_wxMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
407 PyObject
* _resultobj
;
411 PyObject
* _argo0
= 0;
413 PyObject
* _obj1
= 0;
414 char *_kwnames
[] = { "bitmap","colour", NULL
};
418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMaskColour",_kwnames
,&_argo0
,&_obj1
))
421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMaskColour. Expected _wxBitmap_p.");
429 if (! wxColour_helper(_obj1
, &_arg1
))
433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
434 _result
= (wxMask
*)wxMaskColour(*_arg0
,*_arg1
);
436 wxPyEndAllowThreads(__tstate
);
437 if (PyErr_Occurred()) return NULL
;
439 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
440 _resultobj
= Py_BuildValue("s",_ptemp
);
443 _resultobj
= Py_None
;
448 static PyObject
*_wrap_wxEmptyIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
449 PyObject
* _resultobj
;
451 char *_kwnames
[] = { NULL
};
455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxEmptyIcon",_kwnames
))
458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
459 _result
= (wxIcon
*)wxEmptyIcon();
461 wxPyEndAllowThreads(__tstate
);
462 if (PyErr_Occurred()) return NULL
;
464 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
465 _resultobj
= Py_BuildValue("s",_ptemp
);
468 _resultobj
= Py_None
;
473 static PyObject
*_wrap_wxIconFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
474 PyObject
* _resultobj
;
477 PyObject
* _obj0
= 0;
478 char *_kwnames
[] = { "listOfStrings", NULL
};
482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIconFromXPMData",_kwnames
,&_obj0
))
488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
489 _result
= (wxIcon
*)wxIconFromXPMData(_arg0
);
491 wxPyEndAllowThreads(__tstate
);
492 if (PyErr_Occurred()) return NULL
;
494 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
495 _resultobj
= Py_BuildValue("s",_ptemp
);
498 _resultobj
= Py_None
;
503 static PyObject
*_wrap_wxIconFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
504 PyObject
* _resultobj
;
507 PyObject
* _argo0
= 0;
508 char *_kwnames
[] = { "bmp", NULL
};
512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIconFromBitmap",_kwnames
,&_argo0
))
515 if (_argo0
== Py_None
) { _arg0
= NULL
; }
516 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIconFromBitmap. Expected _wxBitmap_p.");
522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
523 _result
= (wxIcon
*)wxIconFromBitmap(*_arg0
);
525 wxPyEndAllowThreads(__tstate
);
526 if (PyErr_Occurred()) return NULL
;
528 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
529 _resultobj
= Py_BuildValue("s",_ptemp
);
532 _resultobj
= Py_None
;
537 static PyObject
*_wrap_wxStockCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
538 PyObject
* _resultobj
;
541 char *_kwnames
[] = { "id", NULL
};
545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxStockCursor",_kwnames
,&_arg0
))
548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
549 _result
= (wxCursor
*)wxPyStockCursor(_arg0
);
551 wxPyEndAllowThreads(__tstate
);
552 if (PyErr_Occurred()) return NULL
;
554 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCursor_p");
555 _resultobj
= Py_BuildValue("s",_ptemp
);
558 _resultobj
= Py_None
;
563 static PyObject
*_wrap_wxNamedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
564 PyObject
* _resultobj
;
567 PyObject
* _obj0
= 0;
568 char *_kwnames
[] = { "colorName", NULL
};
572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNamedColour",_kwnames
,&_obj0
))
575 _arg0
= wxString_in_helper(_obj0
);
580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
581 _result
= (wxColour
*)wxNamedColour(*_arg0
);
583 wxPyEndAllowThreads(__tstate
);
584 if (PyErr_Occurred()) return NULL
;
586 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
587 _resultobj
= Py_BuildValue("s",_ptemp
);
590 _resultobj
= Py_None
;
599 static PyObject
*_wrap_wxMemoryDCFromDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
600 PyObject
* _resultobj
;
601 wxMemoryDC
* _result
;
603 PyObject
* _argo0
= 0;
604 char *_kwnames
[] = { "oldDC", NULL
};
608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMemoryDCFromDC",_kwnames
,&_argo0
))
611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDCFromDC. Expected _wxDC_p.");
618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
619 _result
= (wxMemoryDC
*)wxMemoryDCFromDC(_arg0
);
621 wxPyEndAllowThreads(__tstate
);
622 if (PyErr_Occurred()) return NULL
;
624 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
625 _resultobj
= Py_BuildValue("s",_ptemp
);
628 _resultobj
= Py_None
;
633 static int _wrap_wxNORMAL_FONT_set(PyObject
*val
) {
635 PyErr_SetString(PyExc_TypeError
,"Variable wxNORMAL_FONT is read-only.");
639 static PyObject
*_wrap_wxNORMAL_FONT_get() {
643 SWIG_MakePtr(ptemp
, (char *) wxNORMAL_FONT
,"_wxFont_p");
644 pyobj
= PyString_FromString(ptemp
);
648 static int _wrap_wxSMALL_FONT_set(PyObject
*val
) {
650 PyErr_SetString(PyExc_TypeError
,"Variable wxSMALL_FONT is read-only.");
654 static PyObject
*_wrap_wxSMALL_FONT_get() {
658 SWIG_MakePtr(ptemp
, (char *) wxSMALL_FONT
,"_wxFont_p");
659 pyobj
= PyString_FromString(ptemp
);
663 static int _wrap_wxITALIC_FONT_set(PyObject
*val
) {
665 PyErr_SetString(PyExc_TypeError
,"Variable wxITALIC_FONT is read-only.");
669 static PyObject
*_wrap_wxITALIC_FONT_get() {
673 SWIG_MakePtr(ptemp
, (char *) wxITALIC_FONT
,"_wxFont_p");
674 pyobj
= PyString_FromString(ptemp
);
678 static int _wrap_wxSWISS_FONT_set(PyObject
*val
) {
680 PyErr_SetString(PyExc_TypeError
,"Variable wxSWISS_FONT is read-only.");
684 static PyObject
*_wrap_wxSWISS_FONT_get() {
688 SWIG_MakePtr(ptemp
, (char *) wxSWISS_FONT
,"_wxFont_p");
689 pyobj
= PyString_FromString(ptemp
);
693 static int _wrap_wxRED_PEN_set(PyObject
*val
) {
695 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_PEN is read-only.");
699 static PyObject
*_wrap_wxRED_PEN_get() {
703 SWIG_MakePtr(ptemp
, (char *) wxRED_PEN
,"_wxPen_p");
704 pyobj
= PyString_FromString(ptemp
);
708 static int _wrap_wxCYAN_PEN_set(PyObject
*val
) {
710 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_PEN is read-only.");
714 static PyObject
*_wrap_wxCYAN_PEN_get() {
718 SWIG_MakePtr(ptemp
, (char *) wxCYAN_PEN
,"_wxPen_p");
719 pyobj
= PyString_FromString(ptemp
);
723 static int _wrap_wxGREEN_PEN_set(PyObject
*val
) {
725 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_PEN is read-only.");
729 static PyObject
*_wrap_wxGREEN_PEN_get() {
733 SWIG_MakePtr(ptemp
, (char *) wxGREEN_PEN
,"_wxPen_p");
734 pyobj
= PyString_FromString(ptemp
);
738 static int _wrap_wxBLACK_PEN_set(PyObject
*val
) {
740 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_PEN is read-only.");
744 static PyObject
*_wrap_wxBLACK_PEN_get() {
748 SWIG_MakePtr(ptemp
, (char *) wxBLACK_PEN
,"_wxPen_p");
749 pyobj
= PyString_FromString(ptemp
);
753 static int _wrap_wxWHITE_PEN_set(PyObject
*val
) {
755 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_PEN is read-only.");
759 static PyObject
*_wrap_wxWHITE_PEN_get() {
763 SWIG_MakePtr(ptemp
, (char *) wxWHITE_PEN
,"_wxPen_p");
764 pyobj
= PyString_FromString(ptemp
);
768 static int _wrap_wxTRANSPARENT_PEN_set(PyObject
*val
) {
770 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_PEN is read-only.");
774 static PyObject
*_wrap_wxTRANSPARENT_PEN_get() {
778 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_PEN
,"_wxPen_p");
779 pyobj
= PyString_FromString(ptemp
);
783 static int _wrap_wxBLACK_DASHED_PEN_set(PyObject
*val
) {
785 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_DASHED_PEN is read-only.");
789 static PyObject
*_wrap_wxBLACK_DASHED_PEN_get() {
793 SWIG_MakePtr(ptemp
, (char *) wxBLACK_DASHED_PEN
,"_wxPen_p");
794 pyobj
= PyString_FromString(ptemp
);
798 static int _wrap_wxGREY_PEN_set(PyObject
*val
) {
800 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_PEN is read-only.");
804 static PyObject
*_wrap_wxGREY_PEN_get() {
808 SWIG_MakePtr(ptemp
, (char *) wxGREY_PEN
,"_wxPen_p");
809 pyobj
= PyString_FromString(ptemp
);
813 static int _wrap_wxMEDIUM_GREY_PEN_set(PyObject
*val
) {
815 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_PEN is read-only.");
819 static PyObject
*_wrap_wxMEDIUM_GREY_PEN_get() {
823 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_PEN
,"_wxPen_p");
824 pyobj
= PyString_FromString(ptemp
);
828 static int _wrap_wxLIGHT_GREY_PEN_set(PyObject
*val
) {
830 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_PEN is read-only.");
834 static PyObject
*_wrap_wxLIGHT_GREY_PEN_get() {
838 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_PEN
,"_wxPen_p");
839 pyobj
= PyString_FromString(ptemp
);
843 static int _wrap_wxBLUE_BRUSH_set(PyObject
*val
) {
845 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE_BRUSH is read-only.");
849 static PyObject
*_wrap_wxBLUE_BRUSH_get() {
853 SWIG_MakePtr(ptemp
, (char *) wxBLUE_BRUSH
,"_wxBrush_p");
854 pyobj
= PyString_FromString(ptemp
);
858 static int _wrap_wxGREEN_BRUSH_set(PyObject
*val
) {
860 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN_BRUSH is read-only.");
864 static PyObject
*_wrap_wxGREEN_BRUSH_get() {
868 SWIG_MakePtr(ptemp
, (char *) wxGREEN_BRUSH
,"_wxBrush_p");
869 pyobj
= PyString_FromString(ptemp
);
873 static int _wrap_wxWHITE_BRUSH_set(PyObject
*val
) {
875 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE_BRUSH is read-only.");
879 static PyObject
*_wrap_wxWHITE_BRUSH_get() {
883 SWIG_MakePtr(ptemp
, (char *) wxWHITE_BRUSH
,"_wxBrush_p");
884 pyobj
= PyString_FromString(ptemp
);
888 static int _wrap_wxBLACK_BRUSH_set(PyObject
*val
) {
890 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK_BRUSH is read-only.");
894 static PyObject
*_wrap_wxBLACK_BRUSH_get() {
898 SWIG_MakePtr(ptemp
, (char *) wxBLACK_BRUSH
,"_wxBrush_p");
899 pyobj
= PyString_FromString(ptemp
);
903 static int _wrap_wxTRANSPARENT_BRUSH_set(PyObject
*val
) {
905 PyErr_SetString(PyExc_TypeError
,"Variable wxTRANSPARENT_BRUSH is read-only.");
909 static PyObject
*_wrap_wxTRANSPARENT_BRUSH_get() {
913 SWIG_MakePtr(ptemp
, (char *) wxTRANSPARENT_BRUSH
,"_wxBrush_p");
914 pyobj
= PyString_FromString(ptemp
);
918 static int _wrap_wxCYAN_BRUSH_set(PyObject
*val
) {
920 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN_BRUSH is read-only.");
924 static PyObject
*_wrap_wxCYAN_BRUSH_get() {
928 SWIG_MakePtr(ptemp
, (char *) wxCYAN_BRUSH
,"_wxBrush_p");
929 pyobj
= PyString_FromString(ptemp
);
933 static int _wrap_wxRED_BRUSH_set(PyObject
*val
) {
935 PyErr_SetString(PyExc_TypeError
,"Variable wxRED_BRUSH is read-only.");
939 static PyObject
*_wrap_wxRED_BRUSH_get() {
943 SWIG_MakePtr(ptemp
, (char *) wxRED_BRUSH
,"_wxBrush_p");
944 pyobj
= PyString_FromString(ptemp
);
948 static int _wrap_wxGREY_BRUSH_set(PyObject
*val
) {
950 PyErr_SetString(PyExc_TypeError
,"Variable wxGREY_BRUSH is read-only.");
954 static PyObject
*_wrap_wxGREY_BRUSH_get() {
958 SWIG_MakePtr(ptemp
, (char *) wxGREY_BRUSH
,"_wxBrush_p");
959 pyobj
= PyString_FromString(ptemp
);
963 static int _wrap_wxMEDIUM_GREY_BRUSH_set(PyObject
*val
) {
965 PyErr_SetString(PyExc_TypeError
,"Variable wxMEDIUM_GREY_BRUSH is read-only.");
969 static PyObject
*_wrap_wxMEDIUM_GREY_BRUSH_get() {
973 SWIG_MakePtr(ptemp
, (char *) wxMEDIUM_GREY_BRUSH
,"_wxBrush_p");
974 pyobj
= PyString_FromString(ptemp
);
978 static int _wrap_wxLIGHT_GREY_BRUSH_set(PyObject
*val
) {
980 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY_BRUSH is read-only.");
984 static PyObject
*_wrap_wxLIGHT_GREY_BRUSH_get() {
988 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY_BRUSH
,"_wxBrush_p");
989 pyobj
= PyString_FromString(ptemp
);
993 static int _wrap_wxBLACK_set(PyObject
*val
) {
995 PyErr_SetString(PyExc_TypeError
,"Variable wxBLACK is read-only.");
999 static PyObject
*_wrap_wxBLACK_get() {
1003 SWIG_MakePtr(ptemp
, (char *) wxBLACK
,"_wxColour_p");
1004 pyobj
= PyString_FromString(ptemp
);
1008 static int _wrap_wxWHITE_set(PyObject
*val
) {
1010 PyErr_SetString(PyExc_TypeError
,"Variable wxWHITE is read-only.");
1014 static PyObject
*_wrap_wxWHITE_get() {
1018 SWIG_MakePtr(ptemp
, (char *) wxWHITE
,"_wxColour_p");
1019 pyobj
= PyString_FromString(ptemp
);
1023 static int _wrap_wxRED_set(PyObject
*val
) {
1025 PyErr_SetString(PyExc_TypeError
,"Variable wxRED is read-only.");
1029 static PyObject
*_wrap_wxRED_get() {
1033 SWIG_MakePtr(ptemp
, (char *) wxRED
,"_wxColour_p");
1034 pyobj
= PyString_FromString(ptemp
);
1038 static int _wrap_wxBLUE_set(PyObject
*val
) {
1040 PyErr_SetString(PyExc_TypeError
,"Variable wxBLUE is read-only.");
1044 static PyObject
*_wrap_wxBLUE_get() {
1048 SWIG_MakePtr(ptemp
, (char *) wxBLUE
,"_wxColour_p");
1049 pyobj
= PyString_FromString(ptemp
);
1053 static int _wrap_wxGREEN_set(PyObject
*val
) {
1055 PyErr_SetString(PyExc_TypeError
,"Variable wxGREEN is read-only.");
1059 static PyObject
*_wrap_wxGREEN_get() {
1063 SWIG_MakePtr(ptemp
, (char *) wxGREEN
,"_wxColour_p");
1064 pyobj
= PyString_FromString(ptemp
);
1068 static int _wrap_wxCYAN_set(PyObject
*val
) {
1070 PyErr_SetString(PyExc_TypeError
,"Variable wxCYAN is read-only.");
1074 static PyObject
*_wrap_wxCYAN_get() {
1078 SWIG_MakePtr(ptemp
, (char *) wxCYAN
,"_wxColour_p");
1079 pyobj
= PyString_FromString(ptemp
);
1083 static int _wrap_wxLIGHT_GREY_set(PyObject
*val
) {
1085 PyErr_SetString(PyExc_TypeError
,"Variable wxLIGHT_GREY is read-only.");
1089 static PyObject
*_wrap_wxLIGHT_GREY_get() {
1093 SWIG_MakePtr(ptemp
, (char *) wxLIGHT_GREY
,"_wxColour_p");
1094 pyobj
= PyString_FromString(ptemp
);
1098 static int _wrap_wxSTANDARD_CURSOR_set(PyObject
*val
) {
1100 PyErr_SetString(PyExc_TypeError
,"Variable wxSTANDARD_CURSOR is read-only.");
1104 static PyObject
*_wrap_wxSTANDARD_CURSOR_get() {
1108 SWIG_MakePtr(ptemp
, (char *) wxSTANDARD_CURSOR
,"_wxCursor_p");
1109 pyobj
= PyString_FromString(ptemp
);
1113 static int _wrap_wxHOURGLASS_CURSOR_set(PyObject
*val
) {
1115 PyErr_SetString(PyExc_TypeError
,"Variable wxHOURGLASS_CURSOR is read-only.");
1119 static PyObject
*_wrap_wxHOURGLASS_CURSOR_get() {
1123 SWIG_MakePtr(ptemp
, (char *) wxHOURGLASS_CURSOR
,"_wxCursor_p");
1124 pyobj
= PyString_FromString(ptemp
);
1128 static int _wrap_wxCROSS_CURSOR_set(PyObject
*val
) {
1130 PyErr_SetString(PyExc_TypeError
,"Variable wxCROSS_CURSOR is read-only.");
1134 static PyObject
*_wrap_wxCROSS_CURSOR_get() {
1138 SWIG_MakePtr(ptemp
, (char *) wxCROSS_CURSOR
,"_wxCursor_p");
1139 pyobj
= PyString_FromString(ptemp
);
1143 static int _wrap_wxNullBitmap_set(PyObject
*val
) {
1145 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBitmap is read-only.");
1149 static PyObject
*_wrap_wxNullBitmap_get() {
1153 SWIG_MakePtr(ptemp
,(char *) &wxNullBitmap
,"_wxBitmap_p");
1154 pyobj
= PyString_FromString(ptemp
);
1158 static int _wrap_wxNullIcon_set(PyObject
*val
) {
1160 PyErr_SetString(PyExc_TypeError
,"Variable wxNullIcon is read-only.");
1164 static PyObject
*_wrap_wxNullIcon_get() {
1168 SWIG_MakePtr(ptemp
,(char *) &wxNullIcon
,"_wxIcon_p");
1169 pyobj
= PyString_FromString(ptemp
);
1173 static int _wrap_wxNullCursor_set(PyObject
*val
) {
1175 PyErr_SetString(PyExc_TypeError
,"Variable wxNullCursor is read-only.");
1179 static PyObject
*_wrap_wxNullCursor_get() {
1183 SWIG_MakePtr(ptemp
,(char *) &wxNullCursor
,"_wxCursor_p");
1184 pyobj
= PyString_FromString(ptemp
);
1188 static int _wrap_wxNullPen_set(PyObject
*val
) {
1190 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPen is read-only.");
1194 static PyObject
*_wrap_wxNullPen_get() {
1198 SWIG_MakePtr(ptemp
,(char *) &wxNullPen
,"_wxPen_p");
1199 pyobj
= PyString_FromString(ptemp
);
1203 static int _wrap_wxNullBrush_set(PyObject
*val
) {
1205 PyErr_SetString(PyExc_TypeError
,"Variable wxNullBrush is read-only.");
1209 static PyObject
*_wrap_wxNullBrush_get() {
1213 SWIG_MakePtr(ptemp
,(char *) &wxNullBrush
,"_wxBrush_p");
1214 pyobj
= PyString_FromString(ptemp
);
1218 static int _wrap_wxNullPalette_set(PyObject
*val
) {
1220 PyErr_SetString(PyExc_TypeError
,"Variable wxNullPalette is read-only.");
1224 static PyObject
*_wrap_wxNullPalette_get() {
1228 SWIG_MakePtr(ptemp
,(char *) &wxNullPalette
,"_wxPalette_p");
1229 pyobj
= PyString_FromString(ptemp
);
1233 static int _wrap_wxNullFont_set(PyObject
*val
) {
1235 PyErr_SetString(PyExc_TypeError
,"Variable wxNullFont is read-only.");
1239 static PyObject
*_wrap_wxNullFont_get() {
1243 SWIG_MakePtr(ptemp
,(char *) &wxNullFont
,"_wxFont_p");
1244 pyobj
= PyString_FromString(ptemp
);
1248 static int _wrap_wxNullColour_set(PyObject
*val
) {
1250 PyErr_SetString(PyExc_TypeError
,"Variable wxNullColour is read-only.");
1254 static PyObject
*_wrap_wxNullColour_get() {
1258 SWIG_MakePtr(ptemp
,(char *) &wxNullColour
,"_wxColour_p");
1259 pyobj
= PyString_FromString(ptemp
);
1263 static int _wrap_wxTheFontList_set(PyObject
*val
) {
1265 PyErr_SetString(PyExc_TypeError
,"Variable wxTheFontList is read-only.");
1269 static PyObject
*_wrap_wxTheFontList_get() {
1273 SWIG_MakePtr(ptemp
, (char *) wxTheFontList
,"_wxFontList_p");
1274 pyobj
= PyString_FromString(ptemp
);
1278 static int _wrap_wxThePenList_set(PyObject
*val
) {
1280 PyErr_SetString(PyExc_TypeError
,"Variable wxThePenList is read-only.");
1284 static PyObject
*_wrap_wxThePenList_get() {
1288 SWIG_MakePtr(ptemp
, (char *) wxThePenList
,"_wxPenList_p");
1289 pyobj
= PyString_FromString(ptemp
);
1293 static int _wrap_wxTheBrushList_set(PyObject
*val
) {
1295 PyErr_SetString(PyExc_TypeError
,"Variable wxTheBrushList is read-only.");
1299 static PyObject
*_wrap_wxTheBrushList_get() {
1303 SWIG_MakePtr(ptemp
, (char *) wxTheBrushList
,"_wxBrushList_p");
1304 pyobj
= PyString_FromString(ptemp
);
1308 static int _wrap_wxTheColourDatabase_set(PyObject
*val
) {
1310 PyErr_SetString(PyExc_TypeError
,"Variable wxTheColourDatabase is read-only.");
1314 static PyObject
*_wrap_wxTheColourDatabase_get() {
1318 SWIG_MakePtr(ptemp
, (char *) wxTheColourDatabase
,"_wxColourDatabase_p");
1319 pyobj
= PyString_FromString(ptemp
);
1323 static void *SwigwxGDIObjectTowxObject(void *ptr
) {
1326 src
= (wxGDIObject
*) ptr
;
1327 dest
= (wxObject
*) src
;
1328 return (void *) dest
;
1331 #define new_wxGDIObject() (new wxGDIObject())
1332 static PyObject
*_wrap_new_wxGDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1333 PyObject
* _resultobj
;
1334 wxGDIObject
* _result
;
1335 char *_kwnames
[] = { NULL
};
1339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGDIObject",_kwnames
))
1342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1343 _result
= (wxGDIObject
*)new_wxGDIObject();
1345 wxPyEndAllowThreads(__tstate
);
1346 if (PyErr_Occurred()) return NULL
;
1348 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGDIObject_p");
1349 _resultobj
= Py_BuildValue("s",_ptemp
);
1352 _resultobj
= Py_None
;
1357 #define delete_wxGDIObject(_swigobj) (delete _swigobj)
1358 static PyObject
*_wrap_delete_wxGDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1359 PyObject
* _resultobj
;
1360 wxGDIObject
* _arg0
;
1361 PyObject
* _argo0
= 0;
1362 char *_kwnames
[] = { "self", NULL
};
1365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxGDIObject",_kwnames
,&_argo0
))
1368 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1369 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGDIObject_p")) {
1370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxGDIObject. Expected _wxGDIObject_p.");
1375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1376 delete_wxGDIObject(_arg0
);
1378 wxPyEndAllowThreads(__tstate
);
1379 if (PyErr_Occurred()) return NULL
;
1380 } Py_INCREF(Py_None
);
1381 _resultobj
= Py_None
;
1385 #define wxGDIObject_GetVisible(_swigobj) (_swigobj->GetVisible())
1386 static PyObject
*_wrap_wxGDIObject_GetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1387 PyObject
* _resultobj
;
1389 wxGDIObject
* _arg0
;
1390 PyObject
* _argo0
= 0;
1391 char *_kwnames
[] = { "self", NULL
};
1394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGDIObject_GetVisible",_kwnames
,&_argo0
))
1397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGDIObject_p")) {
1399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGDIObject_GetVisible. Expected _wxGDIObject_p.");
1404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1405 _result
= (bool )wxGDIObject_GetVisible(_arg0
);
1407 wxPyEndAllowThreads(__tstate
);
1408 if (PyErr_Occurred()) return NULL
;
1409 } _resultobj
= Py_BuildValue("i",_result
);
1413 #define wxGDIObject_SetVisible(_swigobj,_swigarg0) (_swigobj->SetVisible(_swigarg0))
1414 static PyObject
*_wrap_wxGDIObject_SetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1415 PyObject
* _resultobj
;
1416 wxGDIObject
* _arg0
;
1418 PyObject
* _argo0
= 0;
1420 char *_kwnames
[] = { "self","visible", NULL
};
1423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGDIObject_SetVisible",_kwnames
,&_argo0
,&tempbool1
))
1426 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1427 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGDIObject_p")) {
1428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGDIObject_SetVisible. Expected _wxGDIObject_p.");
1432 _arg1
= (bool ) tempbool1
;
1434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1435 wxGDIObject_SetVisible(_arg0
,_arg1
);
1437 wxPyEndAllowThreads(__tstate
);
1438 if (PyErr_Occurred()) return NULL
;
1439 } Py_INCREF(Py_None
);
1440 _resultobj
= Py_None
;
1444 #define wxGDIObject_IsNull(_swigobj) (_swigobj->IsNull())
1445 static PyObject
*_wrap_wxGDIObject_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1446 PyObject
* _resultobj
;
1448 wxGDIObject
* _arg0
;
1449 PyObject
* _argo0
= 0;
1450 char *_kwnames
[] = { "self", NULL
};
1453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGDIObject_IsNull",_kwnames
,&_argo0
))
1456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGDIObject_p")) {
1458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGDIObject_IsNull. Expected _wxGDIObject_p.");
1463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1464 _result
= (bool )wxGDIObject_IsNull(_arg0
);
1466 wxPyEndAllowThreads(__tstate
);
1467 if (PyErr_Occurred()) return NULL
;
1468 } _resultobj
= Py_BuildValue("i",_result
);
1472 static void *SwigwxBitmapTowxGDIObject(void *ptr
) {
1475 src
= (wxBitmap
*) ptr
;
1476 dest
= (wxGDIObject
*) src
;
1477 return (void *) dest
;
1480 static void *SwigwxBitmapTowxObject(void *ptr
) {
1483 src
= (wxBitmap
*) ptr
;
1484 dest
= (wxObject
*) src
;
1485 return (void *) dest
;
1488 #define new_wxBitmap(_swigarg0,_swigarg1) (new wxBitmap(_swigarg0,_swigarg1))
1489 static PyObject
*_wrap_new_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1490 PyObject
* _resultobj
;
1493 wxBitmapType _arg1
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
1494 PyObject
* _obj0
= 0;
1495 char *_kwnames
[] = { "name","type", NULL
};
1499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxBitmap",_kwnames
,&_obj0
,&_arg1
))
1502 _arg0
= wxString_in_helper(_obj0
);
1507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1508 _result
= (wxBitmap
*)new_wxBitmap(*_arg0
,_arg1
);
1510 wxPyEndAllowThreads(__tstate
);
1511 if (PyErr_Occurred()) return NULL
;
1513 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1514 _resultobj
= Py_BuildValue("s",_ptemp
);
1517 _resultobj
= Py_None
;
1526 #define delete_wxBitmap(_swigobj) (delete _swigobj)
1527 static PyObject
*_wrap_delete_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1528 PyObject
* _resultobj
;
1530 PyObject
* _argo0
= 0;
1531 char *_kwnames
[] = { "self", NULL
};
1534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBitmap",_kwnames
,&_argo0
))
1537 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1538 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBitmap. Expected _wxBitmap_p.");
1544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1545 delete_wxBitmap(_arg0
);
1547 wxPyEndAllowThreads(__tstate
);
1548 if (PyErr_Occurred()) return NULL
;
1549 } Py_INCREF(Py_None
);
1550 _resultobj
= Py_None
;
1554 #define wxBitmap_GetPalette(_swigobj) (_swigobj->GetPalette())
1555 static PyObject
*_wrap_wxBitmap_GetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1556 PyObject
* _resultobj
;
1557 wxPalette
* _result
;
1559 PyObject
* _argo0
= 0;
1560 char *_kwnames
[] = { "self", NULL
};
1564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetPalette",_kwnames
,&_argo0
))
1567 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1568 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetPalette. Expected _wxBitmap_p.");
1574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1575 _result
= (wxPalette
*)wxBitmap_GetPalette(_arg0
);
1577 wxPyEndAllowThreads(__tstate
);
1578 if (PyErr_Occurred()) return NULL
;
1580 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
1581 _resultobj
= Py_BuildValue("s",_ptemp
);
1584 _resultobj
= Py_None
;
1589 #define wxBitmap_GetMask(_swigobj) (_swigobj->GetMask())
1590 static PyObject
*_wrap_wxBitmap_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1591 PyObject
* _resultobj
;
1594 PyObject
* _argo0
= 0;
1595 char *_kwnames
[] = { "self", NULL
};
1599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetMask",_kwnames
,&_argo0
))
1602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetMask. Expected _wxBitmap_p.");
1609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1610 _result
= (wxMask
*)wxBitmap_GetMask(_arg0
);
1612 wxPyEndAllowThreads(__tstate
);
1613 if (PyErr_Occurred()) return NULL
;
1615 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
1616 _resultobj
= Py_BuildValue("s",_ptemp
);
1619 _resultobj
= Py_None
;
1624 #define wxBitmap_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1625 static PyObject
*_wrap_wxBitmap_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1626 PyObject
* _resultobj
;
1630 wxBitmapType _arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
1631 PyObject
* _argo0
= 0;
1632 PyObject
* _obj1
= 0;
1633 char *_kwnames
[] = { "self","name","type", NULL
};
1636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxBitmap_LoadFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_LoadFile. Expected _wxBitmap_p.");
1646 _arg1
= wxString_in_helper(_obj1
);
1651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1652 _result
= (bool )wxBitmap_LoadFile(_arg0
,*_arg1
,_arg2
);
1654 wxPyEndAllowThreads(__tstate
);
1655 if (PyErr_Occurred()) return NULL
;
1656 } _resultobj
= Py_BuildValue("i",_result
);
1664 #define wxBitmap_SaveFile(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SaveFile(_swigarg0,_swigarg1,_swigarg2))
1665 static PyObject
*_wrap_wxBitmap_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1666 PyObject
* _resultobj
;
1671 wxPalette
* _arg3
= (wxPalette
*) NULL
;
1672 PyObject
* _argo0
= 0;
1673 PyObject
* _obj1
= 0;
1674 PyObject
* _argo3
= 0;
1675 char *_kwnames
[] = { "self","name","type","palette", NULL
};
1678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|O:wxBitmap_SaveFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_argo3
))
1681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SaveFile. Expected _wxBitmap_p.");
1688 _arg1
= wxString_in_helper(_obj1
);
1693 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1694 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxPalette_p")) {
1695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxBitmap_SaveFile. Expected _wxPalette_p.");
1700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1701 _result
= (bool )wxBitmap_SaveFile(_arg0
,*_arg1
,_arg2
,_arg3
);
1703 wxPyEndAllowThreads(__tstate
);
1704 if (PyErr_Occurred()) return NULL
;
1705 } _resultobj
= Py_BuildValue("i",_result
);
1713 #define wxBitmap_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
1714 static PyObject
*_wrap_wxBitmap_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1715 PyObject
* _resultobj
;
1718 PyObject
* _argo0
= 0;
1719 PyObject
* _argo1
= 0;
1720 char *_kwnames
[] = { "self","mask", NULL
};
1723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_SetMask",_kwnames
,&_argo0
,&_argo1
))
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_SetMask. Expected _wxBitmap_p.");
1733 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1734 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMask_p")) {
1735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_SetMask. Expected _wxMask_p.");
1740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1741 wxBitmap_SetMask(_arg0
,_arg1
);
1743 wxPyEndAllowThreads(__tstate
);
1744 if (PyErr_Occurred()) return NULL
;
1745 } Py_INCREF(Py_None
);
1746 _resultobj
= Py_None
;
1750 #define wxBitmap_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
1751 static PyObject
*_wrap_wxBitmap_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1752 PyObject
* _resultobj
;
1755 PyObject
* _argo0
= 0;
1756 PyObject
* _argo1
= 0;
1757 char *_kwnames
[] = { "self","palette", NULL
};
1760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_SetPalette",_kwnames
,&_argo0
,&_argo1
))
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_SetPalette. Expected _wxBitmap_p.");
1770 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1771 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPalette_p")) {
1772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_SetPalette. Expected _wxPalette_p.");
1777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1778 wxBitmap_SetPalette(_arg0
,*_arg1
);
1780 wxPyEndAllowThreads(__tstate
);
1781 if (PyErr_Occurred()) return NULL
;
1782 } Py_INCREF(Py_None
);
1783 _resultobj
= Py_None
;
1787 #define wxBitmap_GetHandle(_swigobj) (_swigobj->GetHandle())
1788 static PyObject
*_wrap_wxBitmap_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1789 PyObject
* _resultobj
;
1792 PyObject
* _argo0
= 0;
1793 char *_kwnames
[] = { "self", NULL
};
1796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetHandle",_kwnames
,&_argo0
))
1799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetHandle. Expected _wxBitmap_p.");
1806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1807 _result
= (long )wxBitmap_GetHandle(_arg0
);
1809 wxPyEndAllowThreads(__tstate
);
1810 if (PyErr_Occurred()) return NULL
;
1811 } _resultobj
= Py_BuildValue("l",_result
);
1815 #define wxBitmap_SetHandle(_swigobj,_swigarg0) (_swigobj->SetHandle(_swigarg0))
1816 static PyObject
*_wrap_wxBitmap_SetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1817 PyObject
* _resultobj
;
1820 PyObject
* _argo0
= 0;
1821 char *_kwnames
[] = { "self","handle", NULL
};
1824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxBitmap_SetHandle",_kwnames
,&_argo0
,&_arg1
))
1827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetHandle. Expected _wxBitmap_p.");
1834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1835 wxBitmap_SetHandle(_arg0
,_arg1
);
1837 wxPyEndAllowThreads(__tstate
);
1838 if (PyErr_Occurred()) return NULL
;
1839 } Py_INCREF(Py_None
);
1840 _resultobj
= Py_None
;
1844 #define wxBitmap_Ok(_swigobj) (_swigobj->Ok())
1845 static PyObject
*_wrap_wxBitmap_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1846 PyObject
* _resultobj
;
1849 PyObject
* _argo0
= 0;
1850 char *_kwnames
[] = { "self", NULL
};
1853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_Ok",_kwnames
,&_argo0
))
1856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_Ok. Expected _wxBitmap_p.");
1863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1864 _result
= (bool )wxBitmap_Ok(_arg0
);
1866 wxPyEndAllowThreads(__tstate
);
1867 if (PyErr_Occurred()) return NULL
;
1868 } _resultobj
= Py_BuildValue("i",_result
);
1872 #define wxBitmap_GetWidth(_swigobj) (_swigobj->GetWidth())
1873 static PyObject
*_wrap_wxBitmap_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1874 PyObject
* _resultobj
;
1877 PyObject
* _argo0
= 0;
1878 char *_kwnames
[] = { "self", NULL
};
1881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetWidth",_kwnames
,&_argo0
))
1884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetWidth. Expected _wxBitmap_p.");
1891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1892 _result
= (int )wxBitmap_GetWidth(_arg0
);
1894 wxPyEndAllowThreads(__tstate
);
1895 if (PyErr_Occurred()) return NULL
;
1896 } _resultobj
= Py_BuildValue("i",_result
);
1900 #define wxBitmap_GetHeight(_swigobj) (_swigobj->GetHeight())
1901 static PyObject
*_wrap_wxBitmap_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1902 PyObject
* _resultobj
;
1905 PyObject
* _argo0
= 0;
1906 char *_kwnames
[] = { "self", NULL
};
1909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetHeight",_kwnames
,&_argo0
))
1912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetHeight. Expected _wxBitmap_p.");
1919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1920 _result
= (int )wxBitmap_GetHeight(_arg0
);
1922 wxPyEndAllowThreads(__tstate
);
1923 if (PyErr_Occurred()) return NULL
;
1924 } _resultobj
= Py_BuildValue("i",_result
);
1928 #define wxBitmap_GetDepth(_swigobj) (_swigobj->GetDepth())
1929 static PyObject
*_wrap_wxBitmap_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1930 PyObject
* _resultobj
;
1933 PyObject
* _argo0
= 0;
1934 char *_kwnames
[] = { "self", NULL
};
1937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetDepth",_kwnames
,&_argo0
))
1940 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1941 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetDepth. Expected _wxBitmap_p.");
1947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1948 _result
= (int )wxBitmap_GetDepth(_arg0
);
1950 wxPyEndAllowThreads(__tstate
);
1951 if (PyErr_Occurred()) return NULL
;
1952 } _resultobj
= Py_BuildValue("i",_result
);
1956 #define wxBitmap_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1957 static PyObject
*_wrap_wxBitmap_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1958 PyObject
* _resultobj
;
1961 PyObject
* _argo0
= 0;
1962 char *_kwnames
[] = { "self","w", NULL
};
1965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetWidth",_kwnames
,&_argo0
,&_arg1
))
1968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetWidth. Expected _wxBitmap_p.");
1975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1976 wxBitmap_SetWidth(_arg0
,_arg1
);
1978 wxPyEndAllowThreads(__tstate
);
1979 if (PyErr_Occurred()) return NULL
;
1980 } Py_INCREF(Py_None
);
1981 _resultobj
= Py_None
;
1985 #define wxBitmap_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1986 static PyObject
*_wrap_wxBitmap_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1987 PyObject
* _resultobj
;
1990 PyObject
* _argo0
= 0;
1991 char *_kwnames
[] = { "self","h", NULL
};
1994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetHeight",_kwnames
,&_argo0
,&_arg1
))
1997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
1999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetHeight. Expected _wxBitmap_p.");
2004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2005 wxBitmap_SetHeight(_arg0
,_arg1
);
2007 wxPyEndAllowThreads(__tstate
);
2008 if (PyErr_Occurred()) return NULL
;
2009 } Py_INCREF(Py_None
);
2010 _resultobj
= Py_None
;
2014 #define wxBitmap_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
2015 static PyObject
*_wrap_wxBitmap_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2016 PyObject
* _resultobj
;
2019 PyObject
* _argo0
= 0;
2020 char *_kwnames
[] = { "self","d", NULL
};
2023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetDepth",_kwnames
,&_argo0
,&_arg1
))
2026 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2027 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
2028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetDepth. Expected _wxBitmap_p.");
2033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2034 wxBitmap_SetDepth(_arg0
,_arg1
);
2036 wxPyEndAllowThreads(__tstate
);
2037 if (PyErr_Occurred()) return NULL
;
2038 } Py_INCREF(Py_None
);
2039 _resultobj
= Py_None
;
2043 #define wxBitmap_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2044 static PyObject
*_wrap_wxBitmap_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2045 PyObject
* _resultobj
;
2048 PyObject
* _argo0
= 0;
2050 PyObject
* _obj1
= 0;
2051 char *_kwnames
[] = { "self","size", NULL
};
2054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_SetSize",_kwnames
,&_argo0
,&_obj1
))
2057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
2059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetSize. Expected _wxBitmap_p.");
2065 if (! wxSize_helper(_obj1
, &_arg1
))
2069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2070 wxBitmap_SetSize(_arg0
,*_arg1
);
2072 wxPyEndAllowThreads(__tstate
);
2073 if (PyErr_Occurred()) return NULL
;
2074 } Py_INCREF(Py_None
);
2075 _resultobj
= Py_None
;
2079 #define wxBitmap_GetSubBitmap(_swigobj,_swigarg0) (_swigobj->GetSubBitmap(_swigarg0))
2080 static PyObject
*_wrap_wxBitmap_GetSubBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2081 PyObject
* _resultobj
;
2085 PyObject
* _argo0
= 0;
2087 PyObject
* _obj1
= 0;
2088 char *_kwnames
[] = { "self","rect", NULL
};
2092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_GetSubBitmap",_kwnames
,&_argo0
,&_obj1
))
2095 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2096 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
2097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetSubBitmap. Expected _wxBitmap_p.");
2103 if (! wxRect_helper(_obj1
, &_arg1
))
2107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2108 _result
= new wxBitmap (wxBitmap_GetSubBitmap(_arg0
,*_arg1
));
2110 wxPyEndAllowThreads(__tstate
);
2111 if (PyErr_Occurred()) return NULL
;
2112 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
2113 _resultobj
= Py_BuildValue("s",_ptemp
);
2117 #define wxBitmap_CopyFromIcon(_swigobj,_swigarg0) (_swigobj->CopyFromIcon(_swigarg0))
2118 static PyObject
*_wrap_wxBitmap_CopyFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2119 PyObject
* _resultobj
;
2123 PyObject
* _argo0
= 0;
2124 PyObject
* _argo1
= 0;
2125 char *_kwnames
[] = { "self","icon", NULL
};
2128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_CopyFromIcon",_kwnames
,&_argo0
,&_argo1
))
2131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
2133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_CopyFromIcon. Expected _wxBitmap_p.");
2138 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2139 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
2140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_CopyFromIcon. Expected _wxIcon_p.");
2145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2146 _result
= (bool )wxBitmap_CopyFromIcon(_arg0
,*_arg1
);
2148 wxPyEndAllowThreads(__tstate
);
2149 if (PyErr_Occurred()) return NULL
;
2150 } _resultobj
= Py_BuildValue("i",_result
);
2154 #define wxBitmap_CopyFromCursor(_swigobj,_swigarg0) (_swigobj->CopyFromCursor(_swigarg0))
2155 static PyObject
*_wrap_wxBitmap_CopyFromCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2156 PyObject
* _resultobj
;
2160 PyObject
* _argo0
= 0;
2161 PyObject
* _argo1
= 0;
2162 char *_kwnames
[] = { "self","cursor", NULL
};
2165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmap_CopyFromCursor",_kwnames
,&_argo0
,&_argo1
))
2168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
2170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_CopyFromCursor. Expected _wxBitmap_p.");
2175 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2176 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
2177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmap_CopyFromCursor. Expected _wxCursor_p.");
2182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2183 _result
= (bool )wxBitmap_CopyFromCursor(_arg0
,*_arg1
);
2185 wxPyEndAllowThreads(__tstate
);
2186 if (PyErr_Occurred()) return NULL
;
2187 } _resultobj
= Py_BuildValue("i",_result
);
2191 #define wxBitmap_GetQuality(_swigobj) (_swigobj->GetQuality())
2192 static PyObject
*_wrap_wxBitmap_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2193 PyObject
* _resultobj
;
2196 PyObject
* _argo0
= 0;
2197 char *_kwnames
[] = { "self", NULL
};
2200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmap_GetQuality",_kwnames
,&_argo0
))
2203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
2205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_GetQuality. Expected _wxBitmap_p.");
2210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2211 _result
= (int )wxBitmap_GetQuality(_arg0
);
2213 wxPyEndAllowThreads(__tstate
);
2214 if (PyErr_Occurred()) return NULL
;
2215 } _resultobj
= Py_BuildValue("i",_result
);
2219 #define wxBitmap_SetQuality(_swigobj,_swigarg0) (_swigobj->SetQuality(_swigarg0))
2220 static PyObject
*_wrap_wxBitmap_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2221 PyObject
* _resultobj
;
2224 PyObject
* _argo0
= 0;
2225 char *_kwnames
[] = { "self","q", NULL
};
2228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBitmap_SetQuality",_kwnames
,&_argo0
,&_arg1
))
2231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
2233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmap_SetQuality. Expected _wxBitmap_p.");
2238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2239 wxBitmap_SetQuality(_arg0
,_arg1
);
2241 wxPyEndAllowThreads(__tstate
);
2242 if (PyErr_Occurred()) return NULL
;
2243 } Py_INCREF(Py_None
);
2244 _resultobj
= Py_None
;
2248 static void *SwigwxMaskTowxObject(void *ptr
) {
2251 src
= (wxMask
*) ptr
;
2252 dest
= (wxObject
*) src
;
2253 return (void *) dest
;
2256 #define new_wxMask(_swigarg0) (new wxMask(_swigarg0))
2257 static PyObject
*_wrap_new_wxMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2258 PyObject
* _resultobj
;
2261 PyObject
* _argo0
= 0;
2262 char *_kwnames
[] = { "bitmap", NULL
};
2266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxMask",_kwnames
,&_argo0
))
2269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
2271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMask. Expected _wxBitmap_p.");
2276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2277 _result
= (wxMask
*)new_wxMask(*_arg0
);
2279 wxPyEndAllowThreads(__tstate
);
2280 if (PyErr_Occurred()) return NULL
;
2282 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMask_p");
2283 _resultobj
= Py_BuildValue("s",_ptemp
);
2286 _resultobj
= Py_None
;
2291 static void wxMask_Destroy(wxMask
*self
) { delete self
; }
2292 static PyObject
*_wrap_wxMask_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2293 PyObject
* _resultobj
;
2295 PyObject
* _argo0
= 0;
2296 char *_kwnames
[] = { "self", NULL
};
2299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMask_Destroy",_kwnames
,&_argo0
))
2302 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2303 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMask_p")) {
2304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMask_Destroy. Expected _wxMask_p.");
2309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2310 wxMask_Destroy(_arg0
);
2312 wxPyEndAllowThreads(__tstate
);
2313 if (PyErr_Occurred()) return NULL
;
2314 } Py_INCREF(Py_None
);
2315 _resultobj
= Py_None
;
2319 static void *SwigwxIconTowxGDIObject(void *ptr
) {
2322 src
= (wxIcon
*) ptr
;
2323 dest
= (wxGDIObject
*) src
;
2324 return (void *) dest
;
2327 static void *SwigwxIconTowxObject(void *ptr
) {
2330 src
= (wxIcon
*) ptr
;
2331 dest
= (wxObject
*) src
;
2332 return (void *) dest
;
2335 #define new_wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxIcon(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2336 static PyObject
*_wrap_new_wxIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2337 PyObject
* _resultobj
;
2341 int _arg2
= (int ) -1;
2342 int _arg3
= (int ) -1;
2343 PyObject
* _obj0
= 0;
2344 char *_kwnames
[] = { "name","flags","desiredWidth","desiredHeight", NULL
};
2348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:new_wxIcon",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
))
2351 _arg0
= wxString_in_helper(_obj0
);
2356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2357 _result
= (wxIcon
*)new_wxIcon(*_arg0
,_arg1
,_arg2
,_arg3
);
2359 wxPyEndAllowThreads(__tstate
);
2360 if (PyErr_Occurred()) return NULL
;
2362 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
2363 _resultobj
= Py_BuildValue("s",_ptemp
);
2366 _resultobj
= Py_None
;
2375 #define delete_wxIcon(_swigobj) (delete _swigobj)
2376 static PyObject
*_wrap_delete_wxIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2377 PyObject
* _resultobj
;
2379 PyObject
* _argo0
= 0;
2380 char *_kwnames
[] = { "self", NULL
};
2383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxIcon",_kwnames
,&_argo0
))
2386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxIcon. Expected _wxIcon_p.");
2393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2394 delete_wxIcon(_arg0
);
2396 wxPyEndAllowThreads(__tstate
);
2397 if (PyErr_Occurred()) return NULL
;
2398 } Py_INCREF(Py_None
);
2399 _resultobj
= Py_None
;
2403 #define wxIcon_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
2404 static PyObject
*_wrap_wxIcon_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2405 PyObject
* _resultobj
;
2410 PyObject
* _argo0
= 0;
2411 PyObject
* _obj1
= 0;
2412 char *_kwnames
[] = { "self","name","flags", NULL
};
2415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOl:wxIcon_LoadFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
2418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_LoadFile. Expected _wxIcon_p.");
2425 _arg1
= wxString_in_helper(_obj1
);
2430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2431 _result
= (bool )wxIcon_LoadFile(_arg0
,*_arg1
,_arg2
);
2433 wxPyEndAllowThreads(__tstate
);
2434 if (PyErr_Occurred()) return NULL
;
2435 } _resultobj
= Py_BuildValue("i",_result
);
2443 #define wxIcon_GetHandle(_swigobj) (_swigobj->GetHandle())
2444 static PyObject
*_wrap_wxIcon_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2445 PyObject
* _resultobj
;
2448 PyObject
* _argo0
= 0;
2449 char *_kwnames
[] = { "self", NULL
};
2452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetHandle",_kwnames
,&_argo0
))
2455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetHandle. Expected _wxIcon_p.");
2462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2463 _result
= (long )wxIcon_GetHandle(_arg0
);
2465 wxPyEndAllowThreads(__tstate
);
2466 if (PyErr_Occurred()) return NULL
;
2467 } _resultobj
= Py_BuildValue("l",_result
);
2471 #define wxIcon_SetHandle(_swigobj,_swigarg0) (_swigobj->SetHandle(_swigarg0))
2472 static PyObject
*_wrap_wxIcon_SetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2473 PyObject
* _resultobj
;
2476 PyObject
* _argo0
= 0;
2477 char *_kwnames
[] = { "self","handle", NULL
};
2480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxIcon_SetHandle",_kwnames
,&_argo0
,&_arg1
))
2483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetHandle. Expected _wxIcon_p.");
2490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2491 wxIcon_SetHandle(_arg0
,_arg1
);
2493 wxPyEndAllowThreads(__tstate
);
2494 if (PyErr_Occurred()) return NULL
;
2495 } Py_INCREF(Py_None
);
2496 _resultobj
= Py_None
;
2500 #define wxIcon_Ok(_swigobj) (_swigobj->Ok())
2501 static PyObject
*_wrap_wxIcon_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2502 PyObject
* _resultobj
;
2505 PyObject
* _argo0
= 0;
2506 char *_kwnames
[] = { "self", NULL
};
2509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_Ok",_kwnames
,&_argo0
))
2512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_Ok. Expected _wxIcon_p.");
2519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2520 _result
= (bool )wxIcon_Ok(_arg0
);
2522 wxPyEndAllowThreads(__tstate
);
2523 if (PyErr_Occurred()) return NULL
;
2524 } _resultobj
= Py_BuildValue("i",_result
);
2528 #define wxIcon_GetWidth(_swigobj) (_swigobj->GetWidth())
2529 static PyObject
*_wrap_wxIcon_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2530 PyObject
* _resultobj
;
2533 PyObject
* _argo0
= 0;
2534 char *_kwnames
[] = { "self", NULL
};
2537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetWidth",_kwnames
,&_argo0
))
2540 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2541 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetWidth. Expected _wxIcon_p.");
2547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2548 _result
= (int )wxIcon_GetWidth(_arg0
);
2550 wxPyEndAllowThreads(__tstate
);
2551 if (PyErr_Occurred()) return NULL
;
2552 } _resultobj
= Py_BuildValue("i",_result
);
2556 #define wxIcon_GetHeight(_swigobj) (_swigobj->GetHeight())
2557 static PyObject
*_wrap_wxIcon_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2558 PyObject
* _resultobj
;
2561 PyObject
* _argo0
= 0;
2562 char *_kwnames
[] = { "self", NULL
};
2565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetHeight",_kwnames
,&_argo0
))
2568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetHeight. Expected _wxIcon_p.");
2575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2576 _result
= (int )wxIcon_GetHeight(_arg0
);
2578 wxPyEndAllowThreads(__tstate
);
2579 if (PyErr_Occurred()) return NULL
;
2580 } _resultobj
= Py_BuildValue("i",_result
);
2584 #define wxIcon_GetDepth(_swigobj) (_swigobj->GetDepth())
2585 static PyObject
*_wrap_wxIcon_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2586 PyObject
* _resultobj
;
2589 PyObject
* _argo0
= 0;
2590 char *_kwnames
[] = { "self", NULL
};
2593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIcon_GetDepth",_kwnames
,&_argo0
))
2596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_GetDepth. Expected _wxIcon_p.");
2603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2604 _result
= (int )wxIcon_GetDepth(_arg0
);
2606 wxPyEndAllowThreads(__tstate
);
2607 if (PyErr_Occurred()) return NULL
;
2608 } _resultobj
= Py_BuildValue("i",_result
);
2612 #define wxIcon_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2613 static PyObject
*_wrap_wxIcon_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2614 PyObject
* _resultobj
;
2617 PyObject
* _argo0
= 0;
2618 char *_kwnames
[] = { "self","w", NULL
};
2621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetWidth",_kwnames
,&_argo0
,&_arg1
))
2624 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2625 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetWidth. Expected _wxIcon_p.");
2631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2632 wxIcon_SetWidth(_arg0
,_arg1
);
2634 wxPyEndAllowThreads(__tstate
);
2635 if (PyErr_Occurred()) return NULL
;
2636 } Py_INCREF(Py_None
);
2637 _resultobj
= Py_None
;
2641 #define wxIcon_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
2642 static PyObject
*_wrap_wxIcon_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2643 PyObject
* _resultobj
;
2646 PyObject
* _argo0
= 0;
2647 char *_kwnames
[] = { "self","h", NULL
};
2650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetHeight",_kwnames
,&_argo0
,&_arg1
))
2653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetHeight. Expected _wxIcon_p.");
2660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2661 wxIcon_SetHeight(_arg0
,_arg1
);
2663 wxPyEndAllowThreads(__tstate
);
2664 if (PyErr_Occurred()) return NULL
;
2665 } Py_INCREF(Py_None
);
2666 _resultobj
= Py_None
;
2670 #define wxIcon_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
2671 static PyObject
*_wrap_wxIcon_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2672 PyObject
* _resultobj
;
2675 PyObject
* _argo0
= 0;
2676 char *_kwnames
[] = { "self","d", NULL
};
2679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIcon_SetDepth",_kwnames
,&_argo0
,&_arg1
))
2682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetDepth. Expected _wxIcon_p.");
2689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2690 wxIcon_SetDepth(_arg0
,_arg1
);
2692 wxPyEndAllowThreads(__tstate
);
2693 if (PyErr_Occurred()) return NULL
;
2694 } Py_INCREF(Py_None
);
2695 _resultobj
= Py_None
;
2699 #define wxIcon_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2700 static PyObject
*_wrap_wxIcon_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2701 PyObject
* _resultobj
;
2704 PyObject
* _argo0
= 0;
2706 PyObject
* _obj1
= 0;
2707 char *_kwnames
[] = { "self","size", NULL
};
2710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIcon_SetSize",_kwnames
,&_argo0
,&_obj1
))
2713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_SetSize. Expected _wxIcon_p.");
2721 if (! wxSize_helper(_obj1
, &_arg1
))
2725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2726 wxIcon_SetSize(_arg0
,*_arg1
);
2728 wxPyEndAllowThreads(__tstate
);
2729 if (PyErr_Occurred()) return NULL
;
2730 } Py_INCREF(Py_None
);
2731 _resultobj
= Py_None
;
2735 #define wxIcon_CopyFromBitmap(_swigobj,_swigarg0) (_swigobj->CopyFromBitmap(_swigarg0))
2736 static PyObject
*_wrap_wxIcon_CopyFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2737 PyObject
* _resultobj
;
2740 PyObject
* _argo0
= 0;
2741 PyObject
* _argo1
= 0;
2742 char *_kwnames
[] = { "self","bmp", NULL
};
2745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIcon_CopyFromBitmap",_kwnames
,&_argo0
,&_argo1
))
2748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIcon_CopyFromBitmap. Expected _wxIcon_p.");
2755 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2756 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
2757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIcon_CopyFromBitmap. Expected _wxBitmap_p.");
2762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2763 wxIcon_CopyFromBitmap(_arg0
,*_arg1
);
2765 wxPyEndAllowThreads(__tstate
);
2766 if (PyErr_Occurred()) return NULL
;
2767 } Py_INCREF(Py_None
);
2768 _resultobj
= Py_None
;
2772 #define new_wxIconBundle() (new wxIconBundle())
2773 static PyObject
*_wrap_new_wxIconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2774 PyObject
* _resultobj
;
2775 wxIconBundle
* _result
;
2776 char *_kwnames
[] = { NULL
};
2780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxIconBundle",_kwnames
))
2783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2784 _result
= (wxIconBundle
*)new_wxIconBundle();
2786 wxPyEndAllowThreads(__tstate
);
2787 if (PyErr_Occurred()) return NULL
;
2789 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIconBundle_p");
2790 _resultobj
= Py_BuildValue("s",_ptemp
);
2793 _resultobj
= Py_None
;
2798 #define new_wxIconBundleFromFile(_swigarg0,_swigarg1) (new wxIconBundle(_swigarg0,_swigarg1))
2799 static PyObject
*_wrap_new_wxIconBundleFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2800 PyObject
* _resultobj
;
2801 wxIconBundle
* _result
;
2804 PyObject
* _obj0
= 0;
2805 char *_kwnames
[] = { "file","type", NULL
};
2809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:new_wxIconBundleFromFile",_kwnames
,&_obj0
,&_arg1
))
2812 _arg0
= wxString_in_helper(_obj0
);
2817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2818 _result
= (wxIconBundle
*)new_wxIconBundleFromFile(*_arg0
,_arg1
);
2820 wxPyEndAllowThreads(__tstate
);
2821 if (PyErr_Occurred()) return NULL
;
2823 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIconBundle_p");
2824 _resultobj
= Py_BuildValue("s",_ptemp
);
2827 _resultobj
= Py_None
;
2836 #define new_wxIconBundleFromIcon(_swigarg0) (new wxIconBundle(_swigarg0))
2837 static PyObject
*_wrap_new_wxIconBundleFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2838 PyObject
* _resultobj
;
2839 wxIconBundle
* _result
;
2841 PyObject
* _argo0
= 0;
2842 char *_kwnames
[] = { "icon", NULL
};
2846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxIconBundleFromIcon",_kwnames
,&_argo0
))
2849 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2850 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxIconBundleFromIcon. Expected _wxIcon_p.");
2856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2857 _result
= (wxIconBundle
*)new_wxIconBundleFromIcon(*_arg0
);
2859 wxPyEndAllowThreads(__tstate
);
2860 if (PyErr_Occurred()) return NULL
;
2862 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIconBundle_p");
2863 _resultobj
= Py_BuildValue("s",_ptemp
);
2866 _resultobj
= Py_None
;
2871 #define delete_wxIconBundle(_swigobj) (delete _swigobj)
2872 static PyObject
*_wrap_delete_wxIconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2873 PyObject
* _resultobj
;
2874 wxIconBundle
* _arg0
;
2875 PyObject
* _argo0
= 0;
2876 char *_kwnames
[] = { "self", NULL
};
2879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxIconBundle",_kwnames
,&_argo0
))
2882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIconBundle_p")) {
2884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxIconBundle. Expected _wxIconBundle_p.");
2889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2890 delete_wxIconBundle(_arg0
);
2892 wxPyEndAllowThreads(__tstate
);
2893 if (PyErr_Occurred()) return NULL
;
2894 } Py_INCREF(Py_None
);
2895 _resultobj
= Py_None
;
2899 #define wxIconBundle_AddIcon(_swigobj,_swigarg0) (_swigobj->AddIcon(_swigarg0))
2900 static PyObject
*_wrap_wxIconBundle_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2901 PyObject
* _resultobj
;
2902 wxIconBundle
* _arg0
;
2904 PyObject
* _argo0
= 0;
2905 PyObject
* _argo1
= 0;
2906 char *_kwnames
[] = { "self","icon", NULL
};
2909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIconBundle_AddIcon",_kwnames
,&_argo0
,&_argo1
))
2912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIconBundle_p")) {
2914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIconBundle_AddIcon. Expected _wxIconBundle_p.");
2919 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2920 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
2921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIconBundle_AddIcon. Expected _wxIcon_p.");
2926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2927 wxIconBundle_AddIcon(_arg0
,*_arg1
);
2929 wxPyEndAllowThreads(__tstate
);
2930 if (PyErr_Occurred()) return NULL
;
2931 } Py_INCREF(Py_None
);
2932 _resultobj
= Py_None
;
2936 #define wxIconBundle_AddIconFromFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddIcon(_swigarg0,_swigarg1))
2937 static PyObject
*_wrap_wxIconBundle_AddIconFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2938 PyObject
* _resultobj
;
2939 wxIconBundle
* _arg0
;
2942 PyObject
* _argo0
= 0;
2943 PyObject
* _obj1
= 0;
2944 char *_kwnames
[] = { "self","file","type", NULL
};
2947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOl:wxIconBundle_AddIconFromFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
2950 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2951 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIconBundle_p")) {
2952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIconBundle_AddIconFromFile. Expected _wxIconBundle_p.");
2957 _arg1
= wxString_in_helper(_obj1
);
2962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2963 wxIconBundle_AddIconFromFile(_arg0
,*_arg1
,_arg2
);
2965 wxPyEndAllowThreads(__tstate
);
2966 if (PyErr_Occurred()) return NULL
;
2967 } Py_INCREF(Py_None
);
2968 _resultobj
= Py_None
;
2976 #define wxIconBundle_GetIcon(_swigobj,_swigarg0) (_swigobj->GetIcon(_swigarg0))
2977 static PyObject
*_wrap_wxIconBundle_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2978 PyObject
* _resultobj
;
2980 wxIconBundle
* _arg0
;
2982 PyObject
* _argo0
= 0;
2984 PyObject
* _obj1
= 0;
2985 char *_kwnames
[] = { "self","size", NULL
};
2989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIconBundle_GetIcon",_kwnames
,&_argo0
,&_obj1
))
2992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIconBundle_p")) {
2994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIconBundle_GetIcon. Expected _wxIconBundle_p.");
3000 if (! wxSize_helper(_obj1
, &_arg1
))
3004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3005 const wxIcon
& _result_ref
= wxIconBundle_GetIcon(_arg0
,*_arg1
);
3006 _result
= (wxIcon
*) &_result_ref
;
3008 wxPyEndAllowThreads(__tstate
);
3009 if (PyErr_Occurred()) return NULL
;
3011 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
3012 _resultobj
= Py_BuildValue("s",_ptemp
);
3015 _resultobj
= Py_None
;
3020 static void *SwigwxCursorTowxGDIObject(void *ptr
) {
3023 src
= (wxCursor
*) ptr
;
3024 dest
= (wxGDIObject
*) src
;
3025 return (void *) dest
;
3028 static void *SwigwxCursorTowxObject(void *ptr
) {
3031 src
= (wxCursor
*) ptr
;
3032 dest
= (wxObject
*) src
;
3033 return (void *) dest
;
3036 #define new_wxCursor(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxCursor(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3037 static PyObject
*_wrap_new_wxCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3038 PyObject
* _resultobj
;
3042 int _arg2
= (int ) 0;
3043 int _arg3
= (int ) 0;
3044 PyObject
* _obj0
= 0;
3045 char *_kwnames
[] = { "cursorName","flags","hotSpotX","hotSpotY", NULL
};
3049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol|ii:new_wxCursor",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
))
3052 _arg0
= wxString_in_helper(_obj0
);
3057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3058 _result
= (wxCursor
*)new_wxCursor(*_arg0
,_arg1
,_arg2
,_arg3
);
3060 wxPyEndAllowThreads(__tstate
);
3061 if (PyErr_Occurred()) return NULL
;
3063 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCursor_p");
3064 _resultobj
= Py_BuildValue("s",_ptemp
);
3067 _resultobj
= Py_None
;
3076 #define delete_wxCursor(_swigobj) (delete _swigobj)
3077 static PyObject
*_wrap_delete_wxCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3078 PyObject
* _resultobj
;
3080 PyObject
* _argo0
= 0;
3081 char *_kwnames
[] = { "self", NULL
};
3084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCursor",_kwnames
,&_argo0
))
3087 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3088 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCursor. Expected _wxCursor_p.");
3094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3095 delete_wxCursor(_arg0
);
3097 wxPyEndAllowThreads(__tstate
);
3098 if (PyErr_Occurred()) return NULL
;
3099 } Py_INCREF(Py_None
);
3100 _resultobj
= Py_None
;
3104 #define wxCursor_GetHandle(_swigobj) (_swigobj->GetHandle())
3105 static PyObject
*_wrap_wxCursor_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3106 PyObject
* _resultobj
;
3109 PyObject
* _argo0
= 0;
3110 char *_kwnames
[] = { "self", NULL
};
3113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCursor_GetHandle",_kwnames
,&_argo0
))
3116 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3117 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_GetHandle. Expected _wxCursor_p.");
3123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3124 _result
= (long )wxCursor_GetHandle(_arg0
);
3126 wxPyEndAllowThreads(__tstate
);
3127 if (PyErr_Occurred()) return NULL
;
3128 } _resultobj
= Py_BuildValue("l",_result
);
3132 #define wxCursor_SetHandle(_swigobj,_swigarg0) (_swigobj->SetHandle(_swigarg0))
3133 static PyObject
*_wrap_wxCursor_SetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3134 PyObject
* _resultobj
;
3137 PyObject
* _argo0
= 0;
3138 char *_kwnames
[] = { "self","handle", NULL
};
3141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxCursor_SetHandle",_kwnames
,&_argo0
,&_arg1
))
3144 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3145 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_SetHandle. Expected _wxCursor_p.");
3151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3152 wxCursor_SetHandle(_arg0
,_arg1
);
3154 wxPyEndAllowThreads(__tstate
);
3155 if (PyErr_Occurred()) return NULL
;
3156 } Py_INCREF(Py_None
);
3157 _resultobj
= Py_None
;
3161 #define wxCursor_Ok(_swigobj) (_swigobj->Ok())
3162 static PyObject
*_wrap_wxCursor_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3163 PyObject
* _resultobj
;
3166 PyObject
* _argo0
= 0;
3167 char *_kwnames
[] = { "self", NULL
};
3170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCursor_Ok",_kwnames
,&_argo0
))
3173 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3174 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_Ok. Expected _wxCursor_p.");
3180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3181 _result
= (bool )wxCursor_Ok(_arg0
);
3183 wxPyEndAllowThreads(__tstate
);
3184 if (PyErr_Occurred()) return NULL
;
3185 } _resultobj
= Py_BuildValue("i",_result
);
3189 #define wxCursor_GetWidth(_swigobj) (_swigobj->GetWidth())
3190 static PyObject
*_wrap_wxCursor_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3191 PyObject
* _resultobj
;
3194 PyObject
* _argo0
= 0;
3195 char *_kwnames
[] = { "self", NULL
};
3198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCursor_GetWidth",_kwnames
,&_argo0
))
3201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_GetWidth. Expected _wxCursor_p.");
3208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3209 _result
= (int )wxCursor_GetWidth(_arg0
);
3211 wxPyEndAllowThreads(__tstate
);
3212 if (PyErr_Occurred()) return NULL
;
3213 } _resultobj
= Py_BuildValue("i",_result
);
3217 #define wxCursor_GetHeight(_swigobj) (_swigobj->GetHeight())
3218 static PyObject
*_wrap_wxCursor_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3219 PyObject
* _resultobj
;
3222 PyObject
* _argo0
= 0;
3223 char *_kwnames
[] = { "self", NULL
};
3226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCursor_GetHeight",_kwnames
,&_argo0
))
3229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_GetHeight. Expected _wxCursor_p.");
3236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3237 _result
= (int )wxCursor_GetHeight(_arg0
);
3239 wxPyEndAllowThreads(__tstate
);
3240 if (PyErr_Occurred()) return NULL
;
3241 } _resultobj
= Py_BuildValue("i",_result
);
3245 #define wxCursor_GetDepth(_swigobj) (_swigobj->GetDepth())
3246 static PyObject
*_wrap_wxCursor_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3247 PyObject
* _resultobj
;
3250 PyObject
* _argo0
= 0;
3251 char *_kwnames
[] = { "self", NULL
};
3254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCursor_GetDepth",_kwnames
,&_argo0
))
3257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_GetDepth. Expected _wxCursor_p.");
3264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3265 _result
= (int )wxCursor_GetDepth(_arg0
);
3267 wxPyEndAllowThreads(__tstate
);
3268 if (PyErr_Occurred()) return NULL
;
3269 } _resultobj
= Py_BuildValue("i",_result
);
3273 #define wxCursor_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
3274 static PyObject
*_wrap_wxCursor_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3275 PyObject
* _resultobj
;
3278 PyObject
* _argo0
= 0;
3279 char *_kwnames
[] = { "self","w", NULL
};
3282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCursor_SetWidth",_kwnames
,&_argo0
,&_arg1
))
3285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_SetWidth. Expected _wxCursor_p.");
3292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3293 wxCursor_SetWidth(_arg0
,_arg1
);
3295 wxPyEndAllowThreads(__tstate
);
3296 if (PyErr_Occurred()) return NULL
;
3297 } Py_INCREF(Py_None
);
3298 _resultobj
= Py_None
;
3302 #define wxCursor_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
3303 static PyObject
*_wrap_wxCursor_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3304 PyObject
* _resultobj
;
3307 PyObject
* _argo0
= 0;
3308 char *_kwnames
[] = { "self","h", NULL
};
3311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCursor_SetHeight",_kwnames
,&_argo0
,&_arg1
))
3314 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3315 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_SetHeight. Expected _wxCursor_p.");
3321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3322 wxCursor_SetHeight(_arg0
,_arg1
);
3324 wxPyEndAllowThreads(__tstate
);
3325 if (PyErr_Occurred()) return NULL
;
3326 } Py_INCREF(Py_None
);
3327 _resultobj
= Py_None
;
3331 #define wxCursor_SetDepth(_swigobj,_swigarg0) (_swigobj->SetDepth(_swigarg0))
3332 static PyObject
*_wrap_wxCursor_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3333 PyObject
* _resultobj
;
3336 PyObject
* _argo0
= 0;
3337 char *_kwnames
[] = { "self","d", NULL
};
3340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCursor_SetDepth",_kwnames
,&_argo0
,&_arg1
))
3343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_SetDepth. Expected _wxCursor_p.");
3350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3351 wxCursor_SetDepth(_arg0
,_arg1
);
3353 wxPyEndAllowThreads(__tstate
);
3354 if (PyErr_Occurred()) return NULL
;
3355 } Py_INCREF(Py_None
);
3356 _resultobj
= Py_None
;
3360 #define wxCursor_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
3361 static PyObject
*_wrap_wxCursor_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3362 PyObject
* _resultobj
;
3365 PyObject
* _argo0
= 0;
3367 PyObject
* _obj1
= 0;
3368 char *_kwnames
[] = { "self","size", NULL
};
3371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCursor_SetSize",_kwnames
,&_argo0
,&_obj1
))
3374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCursor_SetSize. Expected _wxCursor_p.");
3382 if (! wxSize_helper(_obj1
, &_arg1
))
3386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3387 wxCursor_SetSize(_arg0
,*_arg1
);
3389 wxPyEndAllowThreads(__tstate
);
3390 if (PyErr_Occurred()) return NULL
;
3391 } Py_INCREF(Py_None
);
3392 _resultobj
= Py_None
;
3396 static void *SwigwxColourTowxObject(void *ptr
) {
3399 src
= (wxColour
*) ptr
;
3400 dest
= (wxObject
*) src
;
3401 return (void *) dest
;
3404 #define new_wxColour(_swigarg0,_swigarg1,_swigarg2) (new wxColour(_swigarg0,_swigarg1,_swigarg2))
3405 static PyObject
*_wrap_new_wxColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3406 PyObject
* _resultobj
;
3408 unsigned char _arg0
= (unsigned char ) 0;
3409 unsigned char _arg1
= (unsigned char ) 0;
3410 unsigned char _arg2
= (unsigned char ) 0;
3411 char *_kwnames
[] = { "red","green","blue", NULL
};
3415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|bbb:new_wxColour",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
3418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3419 _result
= (wxColour
*)new_wxColour(_arg0
,_arg1
,_arg2
);
3421 wxPyEndAllowThreads(__tstate
);
3422 if (PyErr_Occurred()) return NULL
;
3424 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3425 _resultobj
= Py_BuildValue("s",_ptemp
);
3428 _resultobj
= Py_None
;
3433 #define delete_wxColour(_swigobj) (delete _swigobj)
3434 static PyObject
*_wrap_delete_wxColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3435 PyObject
* _resultobj
;
3438 PyObject
* _obj0
= 0;
3439 char *_kwnames
[] = { "self", NULL
};
3442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxColour",_kwnames
,&_obj0
))
3446 if (! wxColour_helper(_obj0
, &_arg0
))
3450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3451 delete_wxColour(_arg0
);
3453 wxPyEndAllowThreads(__tstate
);
3454 if (PyErr_Occurred()) return NULL
;
3455 } Py_INCREF(Py_None
);
3456 _resultobj
= Py_None
;
3460 #define wxColour_Red(_swigobj) (_swigobj->Red())
3461 static PyObject
*_wrap_wxColour_Red(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3462 PyObject
* _resultobj
;
3463 unsigned char _result
;
3466 PyObject
* _obj0
= 0;
3467 char *_kwnames
[] = { "self", NULL
};
3470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Red",_kwnames
,&_obj0
))
3474 if (! wxColour_helper(_obj0
, &_arg0
))
3478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3479 _result
= (unsigned char )wxColour_Red(_arg0
);
3481 wxPyEndAllowThreads(__tstate
);
3482 if (PyErr_Occurred()) return NULL
;
3483 } _resultobj
= Py_BuildValue("b",_result
);
3487 #define wxColour_Green(_swigobj) (_swigobj->Green())
3488 static PyObject
*_wrap_wxColour_Green(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3489 PyObject
* _resultobj
;
3490 unsigned char _result
;
3493 PyObject
* _obj0
= 0;
3494 char *_kwnames
[] = { "self", NULL
};
3497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Green",_kwnames
,&_obj0
))
3501 if (! wxColour_helper(_obj0
, &_arg0
))
3505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3506 _result
= (unsigned char )wxColour_Green(_arg0
);
3508 wxPyEndAllowThreads(__tstate
);
3509 if (PyErr_Occurred()) return NULL
;
3510 } _resultobj
= Py_BuildValue("b",_result
);
3514 #define wxColour_Blue(_swigobj) (_swigobj->Blue())
3515 static PyObject
*_wrap_wxColour_Blue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3516 PyObject
* _resultobj
;
3517 unsigned char _result
;
3520 PyObject
* _obj0
= 0;
3521 char *_kwnames
[] = { "self", NULL
};
3524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Blue",_kwnames
,&_obj0
))
3528 if (! wxColour_helper(_obj0
, &_arg0
))
3532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3533 _result
= (unsigned char )wxColour_Blue(_arg0
);
3535 wxPyEndAllowThreads(__tstate
);
3536 if (PyErr_Occurred()) return NULL
;
3537 } _resultobj
= Py_BuildValue("b",_result
);
3541 #define wxColour_Ok(_swigobj) (_swigobj->Ok())
3542 static PyObject
*_wrap_wxColour_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3543 PyObject
* _resultobj
;
3547 PyObject
* _obj0
= 0;
3548 char *_kwnames
[] = { "self", NULL
};
3551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Ok",_kwnames
,&_obj0
))
3555 if (! wxColour_helper(_obj0
, &_arg0
))
3559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3560 _result
= (bool )wxColour_Ok(_arg0
);
3562 wxPyEndAllowThreads(__tstate
);
3563 if (PyErr_Occurred()) return NULL
;
3564 } _resultobj
= Py_BuildValue("i",_result
);
3568 #define wxColour_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
3569 static PyObject
*_wrap_wxColour_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3570 PyObject
* _resultobj
;
3572 unsigned char _arg1
;
3573 unsigned char _arg2
;
3574 unsigned char _arg3
;
3576 PyObject
* _obj0
= 0;
3577 char *_kwnames
[] = { "self","red","green","blue", NULL
};
3580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Obbb:wxColour_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
))
3584 if (! wxColour_helper(_obj0
, &_arg0
))
3588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3589 wxColour_Set(_arg0
,_arg1
,_arg2
,_arg3
);
3591 wxPyEndAllowThreads(__tstate
);
3592 if (PyErr_Occurred()) return NULL
;
3593 } Py_INCREF(Py_None
);
3594 _resultobj
= Py_None
;
3598 static PyObject
* wxColour_Get(wxColour
*self
) {
3599 PyObject
* rv
= PyTuple_New(3);
3600 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3601 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3602 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3605 static PyObject
*_wrap_wxColour_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3606 PyObject
* _resultobj
;
3610 PyObject
* _obj0
= 0;
3611 char *_kwnames
[] = { "self", NULL
};
3614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxColour_Get",_kwnames
,&_obj0
))
3618 if (! wxColour_helper(_obj0
, &_arg0
))
3622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3623 _result
= (PyObject
*)wxColour_Get(_arg0
);
3625 wxPyEndAllowThreads(__tstate
);
3626 if (PyErr_Occurred()) return NULL
;
3628 _resultobj
= _result
;
3633 static void *SwigwxColourDatabaseTowxObject(void *ptr
) {
3634 wxColourDatabase
*src
;
3636 src
= (wxColourDatabase
*) ptr
;
3637 dest
= (wxObject
*) src
;
3638 return (void *) dest
;
3641 #define wxColourDatabase_FindColour(_swigobj,_swigarg0) (_swigobj->FindColour(_swigarg0))
3642 static PyObject
*_wrap_wxColourDatabase_FindColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3643 PyObject
* _resultobj
;
3645 wxColourDatabase
* _arg0
;
3647 PyObject
* _argo0
= 0;
3648 PyObject
* _obj1
= 0;
3649 char *_kwnames
[] = { "self","colour", NULL
};
3653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxColourDatabase_FindColour",_kwnames
,&_argo0
,&_obj1
))
3656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
3658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_FindColour. Expected _wxColourDatabase_p.");
3663 _arg1
= wxString_in_helper(_obj1
);
3668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3669 _result
= (wxColour
*)wxColourDatabase_FindColour(_arg0
,*_arg1
);
3671 wxPyEndAllowThreads(__tstate
);
3672 if (PyErr_Occurred()) return NULL
;
3674 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3675 _resultobj
= Py_BuildValue("s",_ptemp
);
3678 _resultobj
= Py_None
;
3687 #define wxColourDatabase_FindName(_swigobj,_swigarg0) (_swigobj->FindName(_swigarg0))
3688 static PyObject
*_wrap_wxColourDatabase_FindName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3689 PyObject
* _resultobj
;
3691 wxColourDatabase
* _arg0
;
3693 PyObject
* _argo0
= 0;
3695 PyObject
* _obj1
= 0;
3696 char *_kwnames
[] = { "self","colour", NULL
};
3699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxColourDatabase_FindName",_kwnames
,&_argo0
,&_obj1
))
3702 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3703 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
3704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_FindName. Expected _wxColourDatabase_p.");
3710 if (! wxColour_helper(_obj1
, &_arg1
))
3714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3715 _result
= new wxString (wxColourDatabase_FindName(_arg0
,*_arg1
));
3717 wxPyEndAllowThreads(__tstate
);
3718 if (PyErr_Occurred()) return NULL
;
3721 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3723 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3732 static void wxColourDatabase_Append(wxColourDatabase
*self
,const wxString
& name
,int red
,int green
,int blue
) {
3733 // first see if the name is already there
3734 wxString cName
= name
;
3736 wxString cName2
= cName
;
3737 if ( !cName2
.Replace(wxT("GRAY"), wxT("GREY")) )
3740 wxNode
*node
= self
->First();
3742 const wxChar
*key
= node
->GetKeyString();
3743 if ( cName
== key
|| cName2
== key
) {
3744 wxColour
* c
= (wxColour
*)node
->Data();
3745 c
->Set(red
, green
, blue
);
3748 node
= node
->Next();
3751 // otherwise append the new colour
3752 self
->Append(name
.c_str(), new wxColour(red
, green
, blue
));
3754 static PyObject
*_wrap_wxColourDatabase_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3755 PyObject
* _resultobj
;
3756 wxColourDatabase
* _arg0
;
3761 PyObject
* _argo0
= 0;
3762 PyObject
* _obj1
= 0;
3763 char *_kwnames
[] = { "self","name","red","green","blue", NULL
};
3766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiii:wxColourDatabase_Append",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_arg4
))
3769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxColourDatabase_p")) {
3771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxColourDatabase_Append. Expected _wxColourDatabase_p.");
3776 _arg1
= wxString_in_helper(_obj1
);
3781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3782 wxColourDatabase_Append(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3784 wxPyEndAllowThreads(__tstate
);
3785 if (PyErr_Occurred()) return NULL
;
3786 } Py_INCREF(Py_None
);
3787 _resultobj
= Py_None
;
3795 static void *SwigwxPenTowxGDIObject(void *ptr
) {
3798 src
= (wxPen
*) ptr
;
3799 dest
= (wxGDIObject
*) src
;
3800 return (void *) dest
;
3803 static void *SwigwxPenTowxObject(void *ptr
) {
3806 src
= (wxPen
*) ptr
;
3807 dest
= (wxObject
*) src
;
3808 return (void *) dest
;
3811 #define new_wxPen(_swigarg0,_swigarg1,_swigarg2) (new wxPen(_swigarg0,_swigarg1,_swigarg2))
3812 static PyObject
*_wrap_new_wxPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3813 PyObject
* _resultobj
;
3816 int _arg1
= (int ) 1;
3817 int _arg2
= (int ) wxSOLID
;
3819 PyObject
* _obj0
= 0;
3820 char *_kwnames
[] = { "colour","width","style", NULL
};
3824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:new_wxPen",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
3828 if (! wxColour_helper(_obj0
, &_arg0
))
3832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3833 _result
= (wxPen
*)new_wxPen(*_arg0
,_arg1
,_arg2
);
3835 wxPyEndAllowThreads(__tstate
);
3836 if (PyErr_Occurred()) return NULL
;
3838 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
3839 _resultobj
= Py_BuildValue("s",_ptemp
);
3842 _resultobj
= Py_None
;
3847 #define delete_wxPen(_swigobj) (delete _swigobj)
3848 static PyObject
*_wrap_delete_wxPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3849 PyObject
* _resultobj
;
3851 PyObject
* _argo0
= 0;
3852 char *_kwnames
[] = { "self", NULL
};
3855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPen",_kwnames
,&_argo0
))
3858 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3859 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPen. Expected _wxPen_p.");
3865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3866 delete_wxPen(_arg0
);
3868 wxPyEndAllowThreads(__tstate
);
3869 if (PyErr_Occurred()) return NULL
;
3870 } Py_INCREF(Py_None
);
3871 _resultobj
= Py_None
;
3875 #define wxPen_GetCap(_swigobj) (_swigobj->GetCap())
3876 static PyObject
*_wrap_wxPen_GetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3877 PyObject
* _resultobj
;
3880 PyObject
* _argo0
= 0;
3881 char *_kwnames
[] = { "self", NULL
};
3884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetCap",_kwnames
,&_argo0
))
3887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetCap. Expected _wxPen_p.");
3894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3895 _result
= (int )wxPen_GetCap(_arg0
);
3897 wxPyEndAllowThreads(__tstate
);
3898 if (PyErr_Occurred()) return NULL
;
3899 } _resultobj
= Py_BuildValue("i",_result
);
3903 #define wxPen_GetColour(_swigobj) (_swigobj->GetColour())
3904 static PyObject
*_wrap_wxPen_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3905 PyObject
* _resultobj
;
3908 PyObject
* _argo0
= 0;
3909 char *_kwnames
[] = { "self", NULL
};
3913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetColour",_kwnames
,&_argo0
))
3916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetColour. Expected _wxPen_p.");
3923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3924 _result
= new wxColour (wxPen_GetColour(_arg0
));
3926 wxPyEndAllowThreads(__tstate
);
3927 if (PyErr_Occurred()) return NULL
;
3928 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
3929 _resultobj
= Py_BuildValue("s",_ptemp
);
3933 #define wxPen_GetJoin(_swigobj) (_swigobj->GetJoin())
3934 static PyObject
*_wrap_wxPen_GetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3935 PyObject
* _resultobj
;
3938 PyObject
* _argo0
= 0;
3939 char *_kwnames
[] = { "self", NULL
};
3942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetJoin",_kwnames
,&_argo0
))
3945 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3946 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetJoin. Expected _wxPen_p.");
3952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3953 _result
= (int )wxPen_GetJoin(_arg0
);
3955 wxPyEndAllowThreads(__tstate
);
3956 if (PyErr_Occurred()) return NULL
;
3957 } _resultobj
= Py_BuildValue("i",_result
);
3961 #define wxPen_GetStyle(_swigobj) (_swigobj->GetStyle())
3962 static PyObject
*_wrap_wxPen_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3963 PyObject
* _resultobj
;
3966 PyObject
* _argo0
= 0;
3967 char *_kwnames
[] = { "self", NULL
};
3970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetStyle",_kwnames
,&_argo0
))
3973 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3974 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
3975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetStyle. Expected _wxPen_p.");
3980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3981 _result
= (int )wxPen_GetStyle(_arg0
);
3983 wxPyEndAllowThreads(__tstate
);
3984 if (PyErr_Occurred()) return NULL
;
3985 } _resultobj
= Py_BuildValue("i",_result
);
3989 #define wxPen_GetWidth(_swigobj) (_swigobj->GetWidth())
3990 static PyObject
*_wrap_wxPen_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3991 PyObject
* _resultobj
;
3994 PyObject
* _argo0
= 0;
3995 char *_kwnames
[] = { "self", NULL
};
3998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetWidth",_kwnames
,&_argo0
))
4001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetWidth. Expected _wxPen_p.");
4008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4009 _result
= (int )wxPen_GetWidth(_arg0
);
4011 wxPyEndAllowThreads(__tstate
);
4012 if (PyErr_Occurred()) return NULL
;
4013 } _resultobj
= Py_BuildValue("i",_result
);
4017 #define wxPen_Ok(_swigobj) (_swigobj->Ok())
4018 static PyObject
*_wrap_wxPen_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4019 PyObject
* _resultobj
;
4022 PyObject
* _argo0
= 0;
4023 char *_kwnames
[] = { "self", NULL
};
4026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_Ok",_kwnames
,&_argo0
))
4029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_Ok. Expected _wxPen_p.");
4036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4037 _result
= (bool )wxPen_Ok(_arg0
);
4039 wxPyEndAllowThreads(__tstate
);
4040 if (PyErr_Occurred()) return NULL
;
4041 } _resultobj
= Py_BuildValue("i",_result
);
4045 #define wxPen_SetCap(_swigobj,_swigarg0) (_swigobj->SetCap(_swigarg0))
4046 static PyObject
*_wrap_wxPen_SetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4047 PyObject
* _resultobj
;
4050 PyObject
* _argo0
= 0;
4051 char *_kwnames
[] = { "self","cap_style", NULL
};
4054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetCap",_kwnames
,&_argo0
,&_arg1
))
4057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetCap. Expected _wxPen_p.");
4064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4065 wxPen_SetCap(_arg0
,_arg1
);
4067 wxPyEndAllowThreads(__tstate
);
4068 if (PyErr_Occurred()) return NULL
;
4069 } Py_INCREF(Py_None
);
4070 _resultobj
= Py_None
;
4074 #define wxPen_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
4075 static PyObject
*_wrap_wxPen_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4076 PyObject
* _resultobj
;
4079 PyObject
* _argo0
= 0;
4081 PyObject
* _obj1
= 0;
4082 char *_kwnames
[] = { "self","colour", NULL
};
4085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetColour",_kwnames
,&_argo0
,&_obj1
))
4088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetColour. Expected _wxPen_p.");
4096 if (! wxColour_helper(_obj1
, &_arg1
))
4100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4101 wxPen_SetColour(_arg0
,*_arg1
);
4103 wxPyEndAllowThreads(__tstate
);
4104 if (PyErr_Occurred()) return NULL
;
4105 } Py_INCREF(Py_None
);
4106 _resultobj
= Py_None
;
4110 #define wxPen_SetJoin(_swigobj,_swigarg0) (_swigobj->SetJoin(_swigarg0))
4111 static PyObject
*_wrap_wxPen_SetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4112 PyObject
* _resultobj
;
4115 PyObject
* _argo0
= 0;
4116 char *_kwnames
[] = { "self","join_style", NULL
};
4119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetJoin",_kwnames
,&_argo0
,&_arg1
))
4122 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4123 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetJoin. Expected _wxPen_p.");
4129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4130 wxPen_SetJoin(_arg0
,_arg1
);
4132 wxPyEndAllowThreads(__tstate
);
4133 if (PyErr_Occurred()) return NULL
;
4134 } Py_INCREF(Py_None
);
4135 _resultobj
= Py_None
;
4139 #define wxPen_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
4140 static PyObject
*_wrap_wxPen_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4141 PyObject
* _resultobj
;
4144 PyObject
* _argo0
= 0;
4145 char *_kwnames
[] = { "self","style", NULL
};
4148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetStyle",_kwnames
,&_argo0
,&_arg1
))
4151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetStyle. Expected _wxPen_p.");
4158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4159 wxPen_SetStyle(_arg0
,_arg1
);
4161 wxPyEndAllowThreads(__tstate
);
4162 if (PyErr_Occurred()) return NULL
;
4163 } Py_INCREF(Py_None
);
4164 _resultobj
= Py_None
;
4168 #define wxPen_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
4169 static PyObject
*_wrap_wxPen_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4170 PyObject
* _resultobj
;
4173 PyObject
* _argo0
= 0;
4174 char *_kwnames
[] = { "self","width", NULL
};
4177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPen_SetWidth",_kwnames
,&_argo0
,&_arg1
))
4180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetWidth. Expected _wxPen_p.");
4187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4188 wxPen_SetWidth(_arg0
,_arg1
);
4190 wxPyEndAllowThreads(__tstate
);
4191 if (PyErr_Occurred()) return NULL
;
4192 } Py_INCREF(Py_None
);
4193 _resultobj
= Py_None
;
4197 #define wxPen_SetDashes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDashes(_swigarg0,_swigarg1))
4198 static PyObject
*_wrap_wxPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4199 PyObject
* _resultobj
;
4203 PyObject
* _argo0
= 0;
4204 PyObject
* _obj2
= 0;
4205 char *_kwnames
[] = { "self","choices", NULL
};
4208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetDashes",_kwnames
,&_argo0
,&_obj2
))
4211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetDashes. Expected _wxPen_p.");
4219 _arg2
= (wxDash
*)byte_LIST_helper(_obj2
);
4220 if (_arg2
== NULL
) {
4226 _arg1
= PyList_Size(_obj2
);
4233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4234 wxPen_SetDashes(_arg0
,_arg1
,_arg2
);
4236 wxPyEndAllowThreads(__tstate
);
4237 if (PyErr_Occurred()) return NULL
;
4238 } Py_INCREF(Py_None
);
4239 _resultobj
= Py_None
;
4246 static PyObject
* wxPen_GetDashes(wxPen
*self
) {
4248 int count
= self
->GetDashes(&dashes
);
4249 wxPyBeginBlockThreads();
4250 PyObject
* retval
= PyList_New(0);
4251 for (int x
=0; x
<count
; x
++)
4252 PyList_Append(retval
, PyInt_FromLong(dashes
[x
]));
4253 wxPyEndBlockThreads();
4256 static PyObject
*_wrap_wxPen_GetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4257 PyObject
* _resultobj
;
4260 PyObject
* _argo0
= 0;
4261 char *_kwnames
[] = { "self", NULL
};
4264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetDashes",_kwnames
,&_argo0
))
4267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetDashes. Expected _wxPen_p.");
4274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4275 _result
= (PyObject
*)wxPen_GetDashes(_arg0
);
4277 wxPyEndAllowThreads(__tstate
);
4278 if (PyErr_Occurred()) return NULL
;
4280 _resultobj
= _result
;
4285 #define wxPen_GetStipple(_swigobj) (_swigobj->GetStipple())
4286 static PyObject
*_wrap_wxPen_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4287 PyObject
* _resultobj
;
4290 PyObject
* _argo0
= 0;
4291 char *_kwnames
[] = { "self", NULL
};
4295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPen_GetStipple",_kwnames
,&_argo0
))
4298 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4299 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_GetStipple. Expected _wxPen_p.");
4305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4306 _result
= (wxBitmap
*)wxPen_GetStipple(_arg0
);
4308 wxPyEndAllowThreads(__tstate
);
4309 if (PyErr_Occurred()) return NULL
;
4311 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
4312 _resultobj
= Py_BuildValue("s",_ptemp
);
4315 _resultobj
= Py_None
;
4320 #define wxPen_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
4321 static PyObject
*_wrap_wxPen_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4322 PyObject
* _resultobj
;
4325 PyObject
* _argo0
= 0;
4326 PyObject
* _argo1
= 0;
4327 char *_kwnames
[] = { "self","stipple", NULL
};
4330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPen_SetStipple",_kwnames
,&_argo0
,&_argo1
))
4333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPen_p")) {
4335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPen_SetStipple. Expected _wxPen_p.");
4340 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4341 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
4342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPen_SetStipple. Expected _wxBitmap_p.");
4347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4348 wxPen_SetStipple(_arg0
,*_arg1
);
4350 wxPyEndAllowThreads(__tstate
);
4351 if (PyErr_Occurred()) return NULL
;
4352 } Py_INCREF(Py_None
);
4353 _resultobj
= Py_None
;
4357 static void *SwigwxPyPenTowxPen(void *ptr
) {
4360 src
= (wxPyPen
*) ptr
;
4361 dest
= (wxPen
*) src
;
4362 return (void *) dest
;
4365 static void *SwigwxPyPenTowxGDIObject(void *ptr
) {
4368 src
= (wxPyPen
*) ptr
;
4369 dest
= (wxGDIObject
*) src
;
4370 return (void *) dest
;
4373 static void *SwigwxPyPenTowxObject(void *ptr
) {
4376 src
= (wxPyPen
*) ptr
;
4377 dest
= (wxObject
*) src
;
4378 return (void *) dest
;
4381 #define new_wxPyPen(_swigarg0,_swigarg1,_swigarg2) (new wxPyPen(_swigarg0,_swigarg1,_swigarg2))
4382 static PyObject
*_wrap_new_wxPyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4383 PyObject
* _resultobj
;
4386 int _arg1
= (int ) 1;
4387 int _arg2
= (int ) wxSOLID
;
4389 PyObject
* _obj0
= 0;
4390 char *_kwnames
[] = { "colour","width","style", NULL
};
4394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:new_wxPyPen",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
4398 if (! wxColour_helper(_obj0
, &_arg0
))
4402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4403 _result
= (wxPyPen
*)new_wxPyPen(*_arg0
,_arg1
,_arg2
);
4405 wxPyEndAllowThreads(__tstate
);
4406 if (PyErr_Occurred()) return NULL
;
4408 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPen_p");
4409 _resultobj
= Py_BuildValue("s",_ptemp
);
4412 _resultobj
= Py_None
;
4417 #define delete_wxPyPen(_swigobj) (delete _swigobj)
4418 static PyObject
*_wrap_delete_wxPyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4419 PyObject
* _resultobj
;
4421 PyObject
* _argo0
= 0;
4422 char *_kwnames
[] = { "self", NULL
};
4425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyPen",_kwnames
,&_argo0
))
4428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPen_p")) {
4430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyPen. Expected _wxPyPen_p.");
4435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4436 delete_wxPyPen(_arg0
);
4438 wxPyEndAllowThreads(__tstate
);
4439 if (PyErr_Occurred()) return NULL
;
4440 } Py_INCREF(Py_None
);
4441 _resultobj
= Py_None
;
4445 #define wxPyPen_SetDashes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDashes(_swigarg0,_swigarg1))
4446 static PyObject
*_wrap_wxPyPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4447 PyObject
* _resultobj
;
4451 PyObject
* _argo0
= 0;
4452 PyObject
* _obj2
= 0;
4453 char *_kwnames
[] = { "self","choices", NULL
};
4456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPen_SetDashes",_kwnames
,&_argo0
,&_obj2
))
4459 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4460 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPen_p")) {
4461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPen_SetDashes. Expected _wxPyPen_p.");
4467 _arg2
= (wxDash
*)byte_LIST_helper(_obj2
);
4468 if (_arg2
== NULL
) {
4474 _arg1
= PyList_Size(_obj2
);
4481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4482 wxPyPen_SetDashes(_arg0
,_arg1
,_arg2
);
4484 wxPyEndAllowThreads(__tstate
);
4485 if (PyErr_Occurred()) return NULL
;
4486 } Py_INCREF(Py_None
);
4487 _resultobj
= Py_None
;
4494 static void *SwigwxPenListTowxObject(void *ptr
) {
4497 src
= (wxPenList
*) ptr
;
4498 dest
= (wxObject
*) src
;
4499 return (void *) dest
;
4502 #define wxPenList_AddPen(_swigobj,_swigarg0) (_swigobj->AddPen(_swigarg0))
4503 static PyObject
*_wrap_wxPenList_AddPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4504 PyObject
* _resultobj
;
4507 PyObject
* _argo0
= 0;
4508 PyObject
* _argo1
= 0;
4509 char *_kwnames
[] = { "self","pen", NULL
};
4512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPenList_AddPen",_kwnames
,&_argo0
,&_argo1
))
4515 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4516 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
4517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_AddPen. Expected _wxPenList_p.");
4522 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4523 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
4524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPenList_AddPen. Expected _wxPen_p.");
4529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4530 wxPenList_AddPen(_arg0
,_arg1
);
4532 wxPyEndAllowThreads(__tstate
);
4533 if (PyErr_Occurred()) return NULL
;
4534 } Py_INCREF(Py_None
);
4535 _resultobj
= Py_None
;
4539 #define wxPenList_FindOrCreatePen(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindOrCreatePen(_swigarg0,_swigarg1,_swigarg2))
4540 static PyObject
*_wrap_wxPenList_FindOrCreatePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4541 PyObject
* _resultobj
;
4547 PyObject
* _argo0
= 0;
4549 PyObject
* _obj1
= 0;
4550 char *_kwnames
[] = { "self","colour","width","style", NULL
};
4554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxPenList_FindOrCreatePen",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
))
4557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
4559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_FindOrCreatePen. Expected _wxPenList_p.");
4565 if (! wxColour_helper(_obj1
, &_arg1
))
4569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4570 _result
= (wxPen
*)wxPenList_FindOrCreatePen(_arg0
,*_arg1
,_arg2
,_arg3
);
4572 wxPyEndAllowThreads(__tstate
);
4573 if (PyErr_Occurred()) return NULL
;
4575 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPen_p");
4576 _resultobj
= Py_BuildValue("s",_ptemp
);
4579 _resultobj
= Py_None
;
4584 #define wxPenList_RemovePen(_swigobj,_swigarg0) (_swigobj->RemovePen(_swigarg0))
4585 static PyObject
*_wrap_wxPenList_RemovePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4586 PyObject
* _resultobj
;
4589 PyObject
* _argo0
= 0;
4590 PyObject
* _argo1
= 0;
4591 char *_kwnames
[] = { "self","pen", NULL
};
4594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPenList_RemovePen",_kwnames
,&_argo0
,&_argo1
))
4597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
4599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_RemovePen. Expected _wxPenList_p.");
4604 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4605 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
4606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPenList_RemovePen. Expected _wxPen_p.");
4611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4612 wxPenList_RemovePen(_arg0
,_arg1
);
4614 wxPyEndAllowThreads(__tstate
);
4615 if (PyErr_Occurred()) return NULL
;
4616 } Py_INCREF(Py_None
);
4617 _resultobj
= Py_None
;
4621 #define wxPenList_GetCount(_swigobj) (_swigobj->GetCount())
4622 static PyObject
*_wrap_wxPenList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4623 PyObject
* _resultobj
;
4626 PyObject
* _argo0
= 0;
4627 char *_kwnames
[] = { "self", NULL
};
4630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPenList_GetCount",_kwnames
,&_argo0
))
4633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPenList_p")) {
4635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPenList_GetCount. Expected _wxPenList_p.");
4640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4641 _result
= (int )wxPenList_GetCount(_arg0
);
4643 wxPyEndAllowThreads(__tstate
);
4644 if (PyErr_Occurred()) return NULL
;
4645 } _resultobj
= Py_BuildValue("i",_result
);
4649 static void *SwigwxBrushTowxGDIObject(void *ptr
) {
4652 src
= (wxBrush
*) ptr
;
4653 dest
= (wxGDIObject
*) src
;
4654 return (void *) dest
;
4657 static void *SwigwxBrushTowxObject(void *ptr
) {
4660 src
= (wxBrush
*) ptr
;
4661 dest
= (wxObject
*) src
;
4662 return (void *) dest
;
4665 #define new_wxBrush(_swigarg0,_swigarg1) (new wxBrush(_swigarg0,_swigarg1))
4666 static PyObject
*_wrap_new_wxBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4667 PyObject
* _resultobj
;
4670 int _arg1
= (int ) wxSOLID
;
4672 PyObject
* _obj0
= 0;
4673 char *_kwnames
[] = { "colour","style", NULL
};
4677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxBrush",_kwnames
,&_obj0
,&_arg1
))
4681 if (! wxColour_helper(_obj0
, &_arg0
))
4685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4686 _result
= (wxBrush
*)new_wxBrush(*_arg0
,_arg1
);
4688 wxPyEndAllowThreads(__tstate
);
4689 if (PyErr_Occurred()) return NULL
;
4691 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
4692 _resultobj
= Py_BuildValue("s",_ptemp
);
4695 _resultobj
= Py_None
;
4700 #define delete_wxBrush(_swigobj) (delete _swigobj)
4701 static PyObject
*_wrap_delete_wxBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4702 PyObject
* _resultobj
;
4704 PyObject
* _argo0
= 0;
4705 char *_kwnames
[] = { "self", NULL
};
4708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBrush",_kwnames
,&_argo0
))
4711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBrush. Expected _wxBrush_p.");
4718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4719 delete_wxBrush(_arg0
);
4721 wxPyEndAllowThreads(__tstate
);
4722 if (PyErr_Occurred()) return NULL
;
4723 } Py_INCREF(Py_None
);
4724 _resultobj
= Py_None
;
4728 #define wxBrush_GetColour(_swigobj) (_swigobj->GetColour())
4729 static PyObject
*_wrap_wxBrush_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4730 PyObject
* _resultobj
;
4733 PyObject
* _argo0
= 0;
4734 char *_kwnames
[] = { "self", NULL
};
4738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetColour",_kwnames
,&_argo0
))
4741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetColour. Expected _wxBrush_p.");
4748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4749 _result
= new wxColour (wxBrush_GetColour(_arg0
));
4751 wxPyEndAllowThreads(__tstate
);
4752 if (PyErr_Occurred()) return NULL
;
4753 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
4754 _resultobj
= Py_BuildValue("s",_ptemp
);
4758 #define wxBrush_GetStipple(_swigobj) (_swigobj->GetStipple())
4759 static PyObject
*_wrap_wxBrush_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4760 PyObject
* _resultobj
;
4763 PyObject
* _argo0
= 0;
4764 char *_kwnames
[] = { "self", NULL
};
4768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetStipple",_kwnames
,&_argo0
))
4771 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4772 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStipple. Expected _wxBrush_p.");
4778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4779 _result
= (wxBitmap
*)wxBrush_GetStipple(_arg0
);
4781 wxPyEndAllowThreads(__tstate
);
4782 if (PyErr_Occurred()) return NULL
;
4784 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
4785 _resultobj
= Py_BuildValue("s",_ptemp
);
4788 _resultobj
= Py_None
;
4793 #define wxBrush_GetStyle(_swigobj) (_swigobj->GetStyle())
4794 static PyObject
*_wrap_wxBrush_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4795 PyObject
* _resultobj
;
4798 PyObject
* _argo0
= 0;
4799 char *_kwnames
[] = { "self", NULL
};
4802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_GetStyle",_kwnames
,&_argo0
))
4805 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4806 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_GetStyle. Expected _wxBrush_p.");
4812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4813 _result
= (int )wxBrush_GetStyle(_arg0
);
4815 wxPyEndAllowThreads(__tstate
);
4816 if (PyErr_Occurred()) return NULL
;
4817 } _resultobj
= Py_BuildValue("i",_result
);
4821 #define wxBrush_Ok(_swigobj) (_swigobj->Ok())
4822 static PyObject
*_wrap_wxBrush_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4823 PyObject
* _resultobj
;
4826 PyObject
* _argo0
= 0;
4827 char *_kwnames
[] = { "self", NULL
};
4830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrush_Ok",_kwnames
,&_argo0
))
4833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_Ok. Expected _wxBrush_p.");
4840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4841 _result
= (bool )wxBrush_Ok(_arg0
);
4843 wxPyEndAllowThreads(__tstate
);
4844 if (PyErr_Occurred()) return NULL
;
4845 } _resultobj
= Py_BuildValue("i",_result
);
4849 #define wxBrush_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
4850 static PyObject
*_wrap_wxBrush_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4851 PyObject
* _resultobj
;
4854 PyObject
* _argo0
= 0;
4856 PyObject
* _obj1
= 0;
4857 char *_kwnames
[] = { "self","colour", NULL
};
4860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrush_SetColour",_kwnames
,&_argo0
,&_obj1
))
4863 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4864 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetColour. Expected _wxBrush_p.");
4871 if (! wxColour_helper(_obj1
, &_arg1
))
4875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4876 wxBrush_SetColour(_arg0
,*_arg1
);
4878 wxPyEndAllowThreads(__tstate
);
4879 if (PyErr_Occurred()) return NULL
;
4880 } Py_INCREF(Py_None
);
4881 _resultobj
= Py_None
;
4885 #define wxBrush_SetStipple(_swigobj,_swigarg0) (_swigobj->SetStipple(_swigarg0))
4886 static PyObject
*_wrap_wxBrush_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4887 PyObject
* _resultobj
;
4890 PyObject
* _argo0
= 0;
4891 PyObject
* _argo1
= 0;
4892 char *_kwnames
[] = { "self","bitmap", NULL
};
4895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrush_SetStipple",_kwnames
,&_argo0
,&_argo1
))
4898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStipple. Expected _wxBrush_p.");
4905 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4906 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
4907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrush_SetStipple. Expected _wxBitmap_p.");
4912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4913 wxBrush_SetStipple(_arg0
,*_arg1
);
4915 wxPyEndAllowThreads(__tstate
);
4916 if (PyErr_Occurred()) return NULL
;
4917 } Py_INCREF(Py_None
);
4918 _resultobj
= Py_None
;
4922 #define wxBrush_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
4923 static PyObject
*_wrap_wxBrush_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4924 PyObject
* _resultobj
;
4927 PyObject
* _argo0
= 0;
4928 char *_kwnames
[] = { "self","style", NULL
};
4931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxBrush_SetStyle",_kwnames
,&_argo0
,&_arg1
))
4934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrush_p")) {
4936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrush_SetStyle. Expected _wxBrush_p.");
4941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4942 wxBrush_SetStyle(_arg0
,_arg1
);
4944 wxPyEndAllowThreads(__tstate
);
4945 if (PyErr_Occurred()) return NULL
;
4946 } Py_INCREF(Py_None
);
4947 _resultobj
= Py_None
;
4951 static void *SwigwxBrushListTowxObject(void *ptr
) {
4954 src
= (wxBrushList
*) ptr
;
4955 dest
= (wxObject
*) src
;
4956 return (void *) dest
;
4959 #define wxBrushList_AddBrush(_swigobj,_swigarg0) (_swigobj->AddBrush(_swigarg0))
4960 static PyObject
*_wrap_wxBrushList_AddBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4961 PyObject
* _resultobj
;
4962 wxBrushList
* _arg0
;
4964 PyObject
* _argo0
= 0;
4965 PyObject
* _argo1
= 0;
4966 char *_kwnames
[] = { "self","brush", NULL
};
4969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrushList_AddBrush",_kwnames
,&_argo0
,&_argo1
))
4972 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4973 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
4974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_AddBrush. Expected _wxBrushList_p.");
4979 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4980 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
4981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrushList_AddBrush. Expected _wxBrush_p.");
4986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4987 wxBrushList_AddBrush(_arg0
,_arg1
);
4989 wxPyEndAllowThreads(__tstate
);
4990 if (PyErr_Occurred()) return NULL
;
4991 } Py_INCREF(Py_None
);
4992 _resultobj
= Py_None
;
4996 #define wxBrushList_FindOrCreateBrush(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindOrCreateBrush(_swigarg0,_swigarg1))
4997 static PyObject
*_wrap_wxBrushList_FindOrCreateBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4998 PyObject
* _resultobj
;
5000 wxBrushList
* _arg0
;
5003 PyObject
* _argo0
= 0;
5005 PyObject
* _obj1
= 0;
5006 char *_kwnames
[] = { "self","colour","style", NULL
};
5010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxBrushList_FindOrCreateBrush",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5013 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5014 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
5015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_FindOrCreateBrush. Expected _wxBrushList_p.");
5021 if (! wxColour_helper(_obj1
, &_arg1
))
5025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5026 _result
= (wxBrush
*)wxBrushList_FindOrCreateBrush(_arg0
,*_arg1
,_arg2
);
5028 wxPyEndAllowThreads(__tstate
);
5029 if (PyErr_Occurred()) return NULL
;
5031 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBrush_p");
5032 _resultobj
= Py_BuildValue("s",_ptemp
);
5035 _resultobj
= Py_None
;
5040 #define wxBrushList_RemoveBrush(_swigobj,_swigarg0) (_swigobj->RemoveBrush(_swigarg0))
5041 static PyObject
*_wrap_wxBrushList_RemoveBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5042 PyObject
* _resultobj
;
5043 wxBrushList
* _arg0
;
5045 PyObject
* _argo0
= 0;
5046 PyObject
* _argo1
= 0;
5047 char *_kwnames
[] = { "self","brush", NULL
};
5050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBrushList_RemoveBrush",_kwnames
,&_argo0
,&_argo1
))
5053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
5055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_RemoveBrush. Expected _wxBrushList_p.");
5060 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5061 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
5062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBrushList_RemoveBrush. Expected _wxBrush_p.");
5067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5068 wxBrushList_RemoveBrush(_arg0
,_arg1
);
5070 wxPyEndAllowThreads(__tstate
);
5071 if (PyErr_Occurred()) return NULL
;
5072 } Py_INCREF(Py_None
);
5073 _resultobj
= Py_None
;
5077 #define wxBrushList_GetCount(_swigobj) (_swigobj->GetCount())
5078 static PyObject
*_wrap_wxBrushList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5079 PyObject
* _resultobj
;
5081 wxBrushList
* _arg0
;
5082 PyObject
* _argo0
= 0;
5083 char *_kwnames
[] = { "self", NULL
};
5086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBrushList_GetCount",_kwnames
,&_argo0
))
5089 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5090 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBrushList_p")) {
5091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBrushList_GetCount. Expected _wxBrushList_p.");
5096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5097 _result
= (int )wxBrushList_GetCount(_arg0
);
5099 wxPyEndAllowThreads(__tstate
);
5100 if (PyErr_Occurred()) return NULL
;
5101 } _resultobj
= Py_BuildValue("i",_result
);
5105 static void *SwigwxDCTowxObject(void *ptr
) {
5109 dest
= (wxObject
*) src
;
5110 return (void *) dest
;
5113 #define delete_wxDC(_swigobj) (delete _swigobj)
5114 static PyObject
*_wrap_delete_wxDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5115 PyObject
* _resultobj
;
5117 PyObject
* _argo0
= 0;
5118 char *_kwnames
[] = { "self", NULL
};
5121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDC",_kwnames
,&_argo0
))
5124 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5125 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDC. Expected _wxDC_p.");
5131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5134 wxPyEndAllowThreads(__tstate
);
5135 if (PyErr_Occurred()) return NULL
;
5136 } Py_INCREF(Py_None
);
5137 _resultobj
= Py_None
;
5141 #define wxDC_BeginDrawing(_swigobj) (_swigobj->BeginDrawing())
5142 static PyObject
*_wrap_wxDC_BeginDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5143 PyObject
* _resultobj
;
5145 PyObject
* _argo0
= 0;
5146 char *_kwnames
[] = { "self", NULL
};
5149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_BeginDrawing",_kwnames
,&_argo0
))
5152 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5153 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_BeginDrawing. Expected _wxDC_p.");
5159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5160 wxDC_BeginDrawing(_arg0
);
5162 wxPyEndAllowThreads(__tstate
);
5163 if (PyErr_Occurred()) return NULL
;
5164 } Py_INCREF(Py_None
);
5165 _resultobj
= Py_None
;
5169 #define wxDC_Blit(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Blit(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5170 static PyObject
*_wrap_wxDC_Blit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5171 PyObject
* _resultobj
;
5181 int _arg8
= (int ) wxCOPY
;
5182 int _arg9
= (int ) FALSE
;
5183 PyObject
* _argo0
= 0;
5184 PyObject
* _argo5
= 0;
5185 char *_kwnames
[] = { "self","xdest","ydest","width","height","source","xsrc","ysrc","logicalFunc","useMask", NULL
};
5188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllllOll|ii:wxDC_Blit",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_argo5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
))
5191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Blit. Expected _wxDC_p.");
5198 if (_argo5
== Py_None
) { _arg5
= NULL
; }
5199 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxDC_p")) {
5200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of wxDC_Blit. Expected _wxDC_p.");
5205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5206 _result
= (bool )wxDC_Blit(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
5208 wxPyEndAllowThreads(__tstate
);
5209 if (PyErr_Occurred()) return NULL
;
5210 } _resultobj
= Py_BuildValue("i",_result
);
5214 #define wxDC_Clear(_swigobj) (_swigobj->Clear())
5215 static PyObject
*_wrap_wxDC_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5216 PyObject
* _resultobj
;
5218 PyObject
* _argo0
= 0;
5219 char *_kwnames
[] = { "self", NULL
};
5222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_Clear",_kwnames
,&_argo0
))
5225 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5226 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Clear. Expected _wxDC_p.");
5232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5235 wxPyEndAllowThreads(__tstate
);
5236 if (PyErr_Occurred()) return NULL
;
5237 } Py_INCREF(Py_None
);
5238 _resultobj
= Py_None
;
5242 #define wxDC_CrossHair(_swigobj,_swigarg0,_swigarg1) (_swigobj->CrossHair(_swigarg0,_swigarg1))
5243 static PyObject
*_wrap_wxDC_CrossHair(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5244 PyObject
* _resultobj
;
5248 PyObject
* _argo0
= 0;
5249 char *_kwnames
[] = { "self","x","y", NULL
};
5252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_CrossHair",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CrossHair. Expected _wxDC_p.");
5262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5263 wxDC_CrossHair(_arg0
,_arg1
,_arg2
);
5265 wxPyEndAllowThreads(__tstate
);
5266 if (PyErr_Occurred()) return NULL
;
5267 } Py_INCREF(Py_None
);
5268 _resultobj
= Py_None
;
5272 #define wxDC_DestroyClippingRegion(_swigobj) (_swigobj->DestroyClippingRegion())
5273 static PyObject
*_wrap_wxDC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5274 PyObject
* _resultobj
;
5276 PyObject
* _argo0
= 0;
5277 char *_kwnames
[] = { "self", NULL
};
5280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_DestroyClippingRegion",_kwnames
,&_argo0
))
5283 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5284 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DestroyClippingRegion. Expected _wxDC_p.");
5290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5291 wxDC_DestroyClippingRegion(_arg0
);
5293 wxPyEndAllowThreads(__tstate
);
5294 if (PyErr_Occurred()) return NULL
;
5295 } Py_INCREF(Py_None
);
5296 _resultobj
= Py_None
;
5300 #define wxDC_DeviceToLogicalX(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalX(_swigarg0))
5301 static PyObject
*_wrap_wxDC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5302 PyObject
* _resultobj
;
5306 PyObject
* _argo0
= 0;
5307 char *_kwnames
[] = { "self","x", NULL
};
5310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalX",_kwnames
,&_argo0
,&_arg1
))
5313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalX. Expected _wxDC_p.");
5320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5321 _result
= (long )wxDC_DeviceToLogicalX(_arg0
,_arg1
);
5323 wxPyEndAllowThreads(__tstate
);
5324 if (PyErr_Occurred()) return NULL
;
5325 } _resultobj
= Py_BuildValue("l",_result
);
5329 #define wxDC_DeviceToLogicalXRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalXRel(_swigarg0))
5330 static PyObject
*_wrap_wxDC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5331 PyObject
* _resultobj
;
5335 PyObject
* _argo0
= 0;
5336 char *_kwnames
[] = { "self","x", NULL
};
5339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalXRel",_kwnames
,&_argo0
,&_arg1
))
5342 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5343 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalXRel. Expected _wxDC_p.");
5349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5350 _result
= (long )wxDC_DeviceToLogicalXRel(_arg0
,_arg1
);
5352 wxPyEndAllowThreads(__tstate
);
5353 if (PyErr_Occurred()) return NULL
;
5354 } _resultobj
= Py_BuildValue("l",_result
);
5358 #define wxDC_DeviceToLogicalY(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalY(_swigarg0))
5359 static PyObject
*_wrap_wxDC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5360 PyObject
* _resultobj
;
5364 PyObject
* _argo0
= 0;
5365 char *_kwnames
[] = { "self","y", NULL
};
5368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalY",_kwnames
,&_argo0
,&_arg1
))
5371 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5372 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalY. Expected _wxDC_p.");
5378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5379 _result
= (long )wxDC_DeviceToLogicalY(_arg0
,_arg1
);
5381 wxPyEndAllowThreads(__tstate
);
5382 if (PyErr_Occurred()) return NULL
;
5383 } _resultobj
= Py_BuildValue("l",_result
);
5387 #define wxDC_DeviceToLogicalYRel(_swigobj,_swigarg0) (_swigobj->DeviceToLogicalYRel(_swigarg0))
5388 static PyObject
*_wrap_wxDC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5389 PyObject
* _resultobj
;
5393 PyObject
* _argo0
= 0;
5394 char *_kwnames
[] = { "self","y", NULL
};
5397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_DeviceToLogicalYRel",_kwnames
,&_argo0
,&_arg1
))
5400 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5401 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DeviceToLogicalYRel. Expected _wxDC_p.");
5407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5408 _result
= (long )wxDC_DeviceToLogicalYRel(_arg0
,_arg1
);
5410 wxPyEndAllowThreads(__tstate
);
5411 if (PyErr_Occurred()) return NULL
;
5412 } _resultobj
= Py_BuildValue("l",_result
);
5416 #define wxDC_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5417 static PyObject
*_wrap_wxDC_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5418 PyObject
* _resultobj
;
5426 PyObject
* _argo0
= 0;
5427 char *_kwnames
[] = { "self","x1","y1","x2","y2","xc","yc", NULL
};
5430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollllll:wxDC_DrawArc",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
5433 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5434 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawArc. Expected _wxDC_p.");
5440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5441 wxDC_DrawArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
5443 wxPyEndAllowThreads(__tstate
);
5444 if (PyErr_Occurred()) return NULL
;
5445 } Py_INCREF(Py_None
);
5446 _resultobj
= Py_None
;
5450 #define wxDC_DrawCircle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawCircle(_swigarg0,_swigarg1,_swigarg2))
5451 static PyObject
*_wrap_wxDC_DrawCircle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5452 PyObject
* _resultobj
;
5457 PyObject
* _argo0
= 0;
5458 char *_kwnames
[] = { "self","x","y","radius", NULL
};
5461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Olll:wxDC_DrawCircle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
5464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawCircle. Expected _wxDC_p.");
5471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5472 wxDC_DrawCircle(_arg0
,_arg1
,_arg2
,_arg3
);
5474 wxPyEndAllowThreads(__tstate
);
5475 if (PyErr_Occurred()) return NULL
;
5476 } Py_INCREF(Py_None
);
5477 _resultobj
= Py_None
;
5481 #define wxDC_DrawEllipse(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawEllipse(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5482 static PyObject
*_wrap_wxDC_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5483 PyObject
* _resultobj
;
5489 PyObject
* _argo0
= 0;
5490 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
5493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawEllipse",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
5496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipse. Expected _wxDC_p.");
5503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5504 wxDC_DrawEllipse(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5506 wxPyEndAllowThreads(__tstate
);
5507 if (PyErr_Occurred()) return NULL
;
5508 } Py_INCREF(Py_None
);
5509 _resultobj
= Py_None
;
5513 #define wxDC_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5514 static PyObject
*_wrap_wxDC_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5515 PyObject
* _resultobj
;
5523 PyObject
* _argo0
= 0;
5524 char *_kwnames
[] = { "self","x","y","width","height","start","end", NULL
};
5527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollllll:wxDC_DrawEllipticArc",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
5530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawEllipticArc. Expected _wxDC_p.");
5537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5538 wxDC_DrawEllipticArc(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
5540 wxPyEndAllowThreads(__tstate
);
5541 if (PyErr_Occurred()) return NULL
;
5542 } Py_INCREF(Py_None
);
5543 _resultobj
= Py_None
;
5547 #define wxDC_DrawIcon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawIcon(_swigarg0,_swigarg1,_swigarg2))
5548 static PyObject
*_wrap_wxDC_DrawIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5549 PyObject
* _resultobj
;
5554 PyObject
* _argo0
= 0;
5555 PyObject
* _argo1
= 0;
5556 char *_kwnames
[] = { "self","icon","x","y", NULL
};
5559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll:wxDC_DrawIcon",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
5562 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5563 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawIcon. Expected _wxDC_p.");
5569 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5570 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
5571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawIcon. Expected _wxIcon_p.");
5576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5577 wxDC_DrawIcon(_arg0
,*_arg1
,_arg2
,_arg3
);
5579 wxPyEndAllowThreads(__tstate
);
5580 if (PyErr_Occurred()) return NULL
;
5581 } Py_INCREF(Py_None
);
5582 _resultobj
= Py_None
;
5586 #define wxDC_DrawLabel(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLabel(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5587 static PyObject
*_wrap_wxDC_DrawLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5588 PyObject
* _resultobj
;
5592 int _arg3
= (int ) wxALIGN_LEFT
|wxALIGN_TOP
;
5593 int _arg4
= (int ) -1;
5594 PyObject
* _argo0
= 0;
5595 PyObject
* _obj1
= 0;
5597 PyObject
* _obj2
= 0;
5598 char *_kwnames
[] = { "self","text","rect","alignment","indexAccel", NULL
};
5601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|ii:wxDC_DrawLabel",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
))
5604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLabel. Expected _wxDC_p.");
5611 _arg1
= wxString_in_helper(_obj1
);
5617 if (! wxRect_helper(_obj2
, &_arg2
))
5621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5622 wxDC_DrawLabel(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
5624 wxPyEndAllowThreads(__tstate
);
5625 if (PyErr_Occurred()) return NULL
;
5626 } Py_INCREF(Py_None
);
5627 _resultobj
= Py_None
;
5635 static wxRect
wxDC_DrawImageLabel(wxDC
*self
,const wxString
& text
,const wxBitmap
& image
,const wxRect
& rect
,int alignment
,int indexAccel
) {
5637 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
5640 static PyObject
*_wrap_wxDC_DrawImageLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5641 PyObject
* _resultobj
;
5647 int _arg4
= (int ) wxALIGN_LEFT
|wxALIGN_TOP
;
5648 int _arg5
= (int ) -1;
5649 PyObject
* _argo0
= 0;
5650 PyObject
* _obj1
= 0;
5651 PyObject
* _argo2
= 0;
5653 PyObject
* _obj3
= 0;
5654 char *_kwnames
[] = { "self","text","image","rect","alignment","indexAccel", NULL
};
5658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|ii:wxDC_DrawImageLabel",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_obj3
,&_arg4
,&_arg5
))
5661 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5662 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawImageLabel. Expected _wxDC_p.");
5668 _arg1
= wxString_in_helper(_obj1
);
5673 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5674 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
5675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDC_DrawImageLabel. Expected _wxBitmap_p.");
5681 if (! wxRect_helper(_obj3
, &_arg3
))
5685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5686 _result
= new wxRect (wxDC_DrawImageLabel(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
));
5688 wxPyEndAllowThreads(__tstate
);
5689 if (PyErr_Occurred()) return NULL
;
5690 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
5691 _resultobj
= Py_BuildValue("s",_ptemp
);
5699 #define wxDC_DrawLine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5700 static PyObject
*_wrap_wxDC_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5701 PyObject
* _resultobj
;
5707 PyObject
* _argo0
= 0;
5708 char *_kwnames
[] = { "self","x1","y1","x2","y2", NULL
};
5711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawLine",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
5714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLine. Expected _wxDC_p.");
5721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5722 wxDC_DrawLine(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5724 wxPyEndAllowThreads(__tstate
);
5725 if (PyErr_Occurred()) return NULL
;
5726 } Py_INCREF(Py_None
);
5727 _resultobj
= Py_None
;
5731 #define wxDC_DrawLines(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawLines(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5732 static PyObject
*_wrap_wxDC_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5733 PyObject
* _resultobj
;
5737 long _arg3
= (long ) 0;
5738 long _arg4
= (long ) 0;
5739 PyObject
* _argo0
= 0;
5741 PyObject
* _obj2
= 0;
5742 char *_kwnames
[] = { "self","points","xoffset","yoffset", NULL
};
5745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ll:wxDC_DrawLines",_kwnames
,&_argo0
,&_obj2
,&_arg3
,&_arg4
))
5748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawLines. Expected _wxDC_p.");
5756 _arg2
= wxPoint_LIST_helper(_obj2
, &NPOINTS
);
5757 if (_arg2
== NULL
) {
5765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5766 wxDC_DrawLines(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5768 wxPyEndAllowThreads(__tstate
);
5769 if (PyErr_Occurred()) return NULL
;
5770 } Py_INCREF(Py_None
);
5771 _resultobj
= Py_None
;
5778 #define wxDC_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5779 static PyObject
*_wrap_wxDC_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5780 PyObject
* _resultobj
;
5784 long _arg3
= (long ) 0;
5785 long _arg4
= (long ) 0;
5786 int _arg5
= (int ) wxODDEVEN_RULE
;
5787 PyObject
* _argo0
= 0;
5789 PyObject
* _obj2
= 0;
5790 char *_kwnames
[] = { "self","points","xoffset","yoffset","fill_style", NULL
};
5793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|lli:wxDC_DrawPolygon",_kwnames
,&_argo0
,&_obj2
,&_arg3
,&_arg4
,&_arg5
))
5796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPolygon. Expected _wxDC_p.");
5804 _arg2
= wxPoint_LIST_helper(_obj2
, &NPOINTS
);
5805 if (_arg2
== NULL
) {
5813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5814 wxDC_DrawPolygon(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
5816 wxPyEndAllowThreads(__tstate
);
5817 if (PyErr_Occurred()) return NULL
;
5818 } Py_INCREF(Py_None
);
5819 _resultobj
= Py_None
;
5826 #define wxDC_DrawPoint(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawPoint(_swigarg0,_swigarg1))
5827 static PyObject
*_wrap_wxDC_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5828 PyObject
* _resultobj
;
5832 PyObject
* _argo0
= 0;
5833 char *_kwnames
[] = { "self","x","y", NULL
};
5836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_DrawPoint",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5839 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5840 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawPoint. Expected _wxDC_p.");
5846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5847 wxDC_DrawPoint(_arg0
,_arg1
,_arg2
);
5849 wxPyEndAllowThreads(__tstate
);
5850 if (PyErr_Occurred()) return NULL
;
5851 } Py_INCREF(Py_None
);
5852 _resultobj
= Py_None
;
5856 #define wxDC_DrawRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5857 static PyObject
*_wrap_wxDC_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5858 PyObject
* _resultobj
;
5864 PyObject
* _argo0
= 0;
5865 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
5868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_DrawRectangle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
5871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRectangle. Expected _wxDC_p.");
5878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5879 wxDC_DrawRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5881 wxPyEndAllowThreads(__tstate
);
5882 if (PyErr_Occurred()) return NULL
;
5883 } Py_INCREF(Py_None
);
5884 _resultobj
= Py_None
;
5888 #define wxDC_DrawRectangleRect(_swigobj,_swigarg0) (_swigobj->DrawRectangle(_swigarg0))
5889 static PyObject
*_wrap_wxDC_DrawRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5890 PyObject
* _resultobj
;
5893 PyObject
* _argo0
= 0;
5895 PyObject
* _obj1
= 0;
5896 char *_kwnames
[] = { "self","rect", NULL
};
5899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_DrawRectangleRect",_kwnames
,&_argo0
,&_obj1
))
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_DrawRectangleRect. Expected _wxDC_p.");
5910 if (! wxRect_helper(_obj1
, &_arg1
))
5914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5915 wxDC_DrawRectangleRect(_arg0
,*_arg1
);
5917 wxPyEndAllowThreads(__tstate
);
5918 if (PyErr_Occurred()) return NULL
;
5919 } Py_INCREF(Py_None
);
5920 _resultobj
= Py_None
;
5924 #define wxDC_DrawRotatedText(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRotatedText(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5925 static PyObject
*_wrap_wxDC_DrawRotatedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5926 PyObject
* _resultobj
;
5932 PyObject
* _argo0
= 0;
5933 PyObject
* _obj1
= 0;
5934 char *_kwnames
[] = { "self","text","x","y","angle", NULL
};
5937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiid:wxDC_DrawRotatedText",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
,&_arg4
))
5940 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5941 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRotatedText. Expected _wxDC_p.");
5947 _arg1
= wxString_in_helper(_obj1
);
5952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5953 wxDC_DrawRotatedText(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
5955 wxPyEndAllowThreads(__tstate
);
5956 if (PyErr_Occurred()) return NULL
;
5957 } Py_INCREF(Py_None
);
5958 _resultobj
= Py_None
;
5966 #define wxDC_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5967 static PyObject
*_wrap_wxDC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5968 PyObject
* _resultobj
;
5974 long _arg5
= (long ) 20;
5975 PyObject
* _argo0
= 0;
5976 char *_kwnames
[] = { "self","x","y","width","height","radius", NULL
};
5979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll|l:wxDC_DrawRoundedRectangle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
5982 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5983 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
5984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawRoundedRectangle. Expected _wxDC_p.");
5989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5990 wxDC_DrawRoundedRectangle(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
5992 wxPyEndAllowThreads(__tstate
);
5993 if (PyErr_Occurred()) return NULL
;
5994 } Py_INCREF(Py_None
);
5995 _resultobj
= Py_None
;
5999 #define wxDC_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1))
6000 static PyObject
*_wrap_wxDC_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6001 PyObject
* _resultobj
;
6005 PyObject
* _argo0
= 0;
6007 PyObject
* _obj2
= 0;
6008 char *_kwnames
[] = { "self","points", NULL
};
6011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_DrawSpline",_kwnames
,&_argo0
,&_obj2
))
6014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawSpline. Expected _wxDC_p.");
6022 _arg2
= wxPoint_LIST_helper(_obj2
, &NPOINTS
);
6023 if (_arg2
== NULL
) {
6031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6032 wxDC_DrawSpline(_arg0
,_arg1
,_arg2
);
6034 wxPyEndAllowThreads(__tstate
);
6035 if (PyErr_Occurred()) return NULL
;
6036 } Py_INCREF(Py_None
);
6037 _resultobj
= Py_None
;
6044 #define wxDC_DrawText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawText(_swigarg0,_swigarg1,_swigarg2))
6045 static PyObject
*_wrap_wxDC_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6046 PyObject
* _resultobj
;
6051 PyObject
* _argo0
= 0;
6052 PyObject
* _obj1
= 0;
6053 char *_kwnames
[] = { "self","text","x","y", NULL
};
6056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll:wxDC_DrawText",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_arg3
))
6059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawText. Expected _wxDC_p.");
6066 _arg1
= wxString_in_helper(_obj1
);
6071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6072 wxDC_DrawText(_arg0
,*_arg1
,_arg2
,_arg3
);
6074 wxPyEndAllowThreads(__tstate
);
6075 if (PyErr_Occurred()) return NULL
;
6076 } Py_INCREF(Py_None
);
6077 _resultobj
= Py_None
;
6085 #define wxDC_EndDoc(_swigobj) (_swigobj->EndDoc())
6086 static PyObject
*_wrap_wxDC_EndDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6087 PyObject
* _resultobj
;
6089 PyObject
* _argo0
= 0;
6090 char *_kwnames
[] = { "self", NULL
};
6093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndDoc",_kwnames
,&_argo0
))
6096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDoc. Expected _wxDC_p.");
6103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6106 wxPyEndAllowThreads(__tstate
);
6107 if (PyErr_Occurred()) return NULL
;
6108 } Py_INCREF(Py_None
);
6109 _resultobj
= Py_None
;
6113 #define wxDC_EndDrawing(_swigobj) (_swigobj->EndDrawing())
6114 static PyObject
*_wrap_wxDC_EndDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6115 PyObject
* _resultobj
;
6117 PyObject
* _argo0
= 0;
6118 char *_kwnames
[] = { "self", NULL
};
6121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndDrawing",_kwnames
,&_argo0
))
6124 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6125 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndDrawing. Expected _wxDC_p.");
6131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6132 wxDC_EndDrawing(_arg0
);
6134 wxPyEndAllowThreads(__tstate
);
6135 if (PyErr_Occurred()) return NULL
;
6136 } Py_INCREF(Py_None
);
6137 _resultobj
= Py_None
;
6141 #define wxDC_EndPage(_swigobj) (_swigobj->EndPage())
6142 static PyObject
*_wrap_wxDC_EndPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6143 PyObject
* _resultobj
;
6145 PyObject
* _argo0
= 0;
6146 char *_kwnames
[] = { "self", NULL
};
6149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_EndPage",_kwnames
,&_argo0
))
6152 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6153 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_EndPage. Expected _wxDC_p.");
6159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6160 wxDC_EndPage(_arg0
);
6162 wxPyEndAllowThreads(__tstate
);
6163 if (PyErr_Occurred()) return NULL
;
6164 } Py_INCREF(Py_None
);
6165 _resultobj
= Py_None
;
6169 #define wxDC_FloodFill(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FloodFill(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6170 static PyObject
*_wrap_wxDC_FloodFill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6171 PyObject
* _resultobj
;
6177 int _arg4
= (int ) wxFLOOD_SURFACE
;
6178 PyObject
* _argo0
= 0;
6180 PyObject
* _obj3
= 0;
6181 char *_kwnames
[] = { "self","x","y","colour","style", NULL
};
6184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO|i:wxDC_FloodFill",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_arg4
))
6187 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6188 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_FloodFill. Expected _wxDC_p.");
6195 if (! wxColour_helper(_obj3
, &_arg3
))
6199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6200 _result
= (bool )wxDC_FloodFill(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
);
6202 wxPyEndAllowThreads(__tstate
);
6203 if (PyErr_Occurred()) return NULL
;
6204 } _resultobj
= Py_BuildValue("i",_result
);
6208 #define wxDC_GetBackground(_swigobj) (_swigobj->GetBackground())
6209 static PyObject
*_wrap_wxDC_GetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6210 PyObject
* _resultobj
;
6213 PyObject
* _argo0
= 0;
6214 char *_kwnames
[] = { "self", NULL
};
6218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBackground",_kwnames
,&_argo0
))
6221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBackground. Expected _wxDC_p.");
6228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6229 _result
= new wxBrush (wxDC_GetBackground(_arg0
));
6231 wxPyEndAllowThreads(__tstate
);
6232 if (PyErr_Occurred()) return NULL
;
6233 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBrush_p");
6234 _resultobj
= Py_BuildValue("s",_ptemp
);
6238 #define wxDC_GetBrush(_swigobj) (_swigobj->GetBrush())
6239 static PyObject
*_wrap_wxDC_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6240 PyObject
* _resultobj
;
6243 PyObject
* _argo0
= 0;
6244 char *_kwnames
[] = { "self", NULL
};
6248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBrush",_kwnames
,&_argo0
))
6251 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6252 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBrush. Expected _wxDC_p.");
6258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6259 _result
= new wxBrush (wxDC_GetBrush(_arg0
));
6261 wxPyEndAllowThreads(__tstate
);
6262 if (PyErr_Occurred()) return NULL
;
6263 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBrush_p");
6264 _resultobj
= Py_BuildValue("s",_ptemp
);
6268 #define wxDC_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
6269 static PyObject
*_wrap_wxDC_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6270 PyObject
* _resultobj
;
6273 PyObject
* _argo0
= 0;
6274 char *_kwnames
[] = { "self", NULL
};
6277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetCharHeight",_kwnames
,&_argo0
))
6280 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6281 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharHeight. Expected _wxDC_p.");
6287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6288 _result
= (long )wxDC_GetCharHeight(_arg0
);
6290 wxPyEndAllowThreads(__tstate
);
6291 if (PyErr_Occurred()) return NULL
;
6292 } _resultobj
= Py_BuildValue("l",_result
);
6296 #define wxDC_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
6297 static PyObject
*_wrap_wxDC_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6298 PyObject
* _resultobj
;
6301 PyObject
* _argo0
= 0;
6302 char *_kwnames
[] = { "self", NULL
};
6305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetCharWidth",_kwnames
,&_argo0
))
6308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetCharWidth. Expected _wxDC_p.");
6315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6316 _result
= (long )wxDC_GetCharWidth(_arg0
);
6318 wxPyEndAllowThreads(__tstate
);
6319 if (PyErr_Occurred()) return NULL
;
6320 } _resultobj
= Py_BuildValue("l",_result
);
6324 #define wxDC_GetClippingBox(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetClippingBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6325 static PyObject
*_wrap_wxDC_GetClippingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6326 PyObject
* _resultobj
;
6336 PyObject
* _argo0
= 0;
6337 char *_kwnames
[] = { "self", NULL
};
6352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetClippingBox",_kwnames
,&_argo0
))
6355 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6356 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetClippingBox. Expected _wxDC_p.");
6362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6363 wxDC_GetClippingBox(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6365 wxPyEndAllowThreads(__tstate
);
6366 if (PyErr_Occurred()) return NULL
;
6367 } Py_INCREF(Py_None
);
6368 _resultobj
= Py_None
;
6371 o
= PyInt_FromLong((long) (*_arg1
));
6372 _resultobj
= t_output_helper(_resultobj
, o
);
6376 o
= PyInt_FromLong((long) (*_arg2
));
6377 _resultobj
= t_output_helper(_resultobj
, o
);
6381 o
= PyInt_FromLong((long) (*_arg3
));
6382 _resultobj
= t_output_helper(_resultobj
, o
);
6386 o
= PyInt_FromLong((long) (*_arg4
));
6387 _resultobj
= t_output_helper(_resultobj
, o
);
6392 #define wxDC_GetFont(_swigobj) (_swigobj->GetFont())
6393 static PyObject
*_wrap_wxDC_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6394 PyObject
* _resultobj
;
6397 PyObject
* _argo0
= 0;
6398 char *_kwnames
[] = { "self", NULL
};
6402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetFont",_kwnames
,&_argo0
))
6405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFont. Expected _wxDC_p.");
6412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6413 _result
= new wxFont (wxDC_GetFont(_arg0
));
6415 wxPyEndAllowThreads(__tstate
);
6416 if (PyErr_Occurred()) return NULL
;
6417 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
6418 _resultobj
= Py_BuildValue("s",_ptemp
);
6422 #define wxDC_GetLogicalFunction(_swigobj) (_swigobj->GetLogicalFunction())
6423 static PyObject
*_wrap_wxDC_GetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6424 PyObject
* _resultobj
;
6427 PyObject
* _argo0
= 0;
6428 char *_kwnames
[] = { "self", NULL
};
6431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalFunction",_kwnames
,&_argo0
))
6434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalFunction. Expected _wxDC_p.");
6441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6442 _result
= (int )wxDC_GetLogicalFunction(_arg0
);
6444 wxPyEndAllowThreads(__tstate
);
6445 if (PyErr_Occurred()) return NULL
;
6446 } _resultobj
= Py_BuildValue("i",_result
);
6450 #define wxDC_GetLogicalScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLogicalScale(_swigarg0,_swigarg1))
6451 static PyObject
*_wrap_wxDC_GetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6452 PyObject
* _resultobj
;
6458 PyObject
* _argo0
= 0;
6459 char *_kwnames
[] = { "self", NULL
};
6468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalScale",_kwnames
,&_argo0
))
6471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalScale. Expected _wxDC_p.");
6478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6479 wxDC_GetLogicalScale(_arg0
,_arg1
,_arg2
);
6481 wxPyEndAllowThreads(__tstate
);
6482 if (PyErr_Occurred()) return NULL
;
6483 } Py_INCREF(Py_None
);
6484 _resultobj
= Py_None
;
6487 o
= PyFloat_FromDouble((double) (*_arg1
));
6488 _resultobj
= t_output_helper(_resultobj
, o
);
6492 o
= PyFloat_FromDouble((double) (*_arg2
));
6493 _resultobj
= t_output_helper(_resultobj
, o
);
6498 #define wxDC_GetMapMode(_swigobj) (_swigobj->GetMapMode())
6499 static PyObject
*_wrap_wxDC_GetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6500 PyObject
* _resultobj
;
6503 PyObject
* _argo0
= 0;
6504 char *_kwnames
[] = { "self", NULL
};
6507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetMapMode",_kwnames
,&_argo0
))
6510 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6511 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetMapMode. Expected _wxDC_p.");
6517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6518 _result
= (int )wxDC_GetMapMode(_arg0
);
6520 wxPyEndAllowThreads(__tstate
);
6521 if (PyErr_Occurred()) return NULL
;
6522 } _resultobj
= Py_BuildValue("i",_result
);
6526 #define wxDC_GetOptimization(_swigobj) (_swigobj->GetOptimization())
6527 static PyObject
*_wrap_wxDC_GetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6528 PyObject
* _resultobj
;
6531 PyObject
* _argo0
= 0;
6532 char *_kwnames
[] = { "self", NULL
};
6535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetOptimization",_kwnames
,&_argo0
))
6538 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6539 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetOptimization. Expected _wxDC_p.");
6545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6546 _result
= (bool )wxDC_GetOptimization(_arg0
);
6548 wxPyEndAllowThreads(__tstate
);
6549 if (PyErr_Occurred()) return NULL
;
6550 } _resultobj
= Py_BuildValue("i",_result
);
6554 #define wxDC_GetPen(_swigobj) (_swigobj->GetPen())
6555 static PyObject
*_wrap_wxDC_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6556 PyObject
* _resultobj
;
6559 PyObject
* _argo0
= 0;
6560 char *_kwnames
[] = { "self", NULL
};
6564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetPen",_kwnames
,&_argo0
))
6567 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6568 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPen. Expected _wxDC_p.");
6574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6575 _result
= new wxPen (wxDC_GetPen(_arg0
));
6577 wxPyEndAllowThreads(__tstate
);
6578 if (PyErr_Occurred()) return NULL
;
6579 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPen_p");
6580 _resultobj
= Py_BuildValue("s",_ptemp
);
6584 static wxColour
* wxDC_GetPixel(wxDC
*self
,long x
,long y
) {
6585 wxColour
* wc
= new wxColour();
6586 self
->GetPixel(x
, y
, wc
);
6589 static PyObject
*_wrap_wxDC_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6590 PyObject
* _resultobj
;
6595 PyObject
* _argo0
= 0;
6596 char *_kwnames
[] = { "self","x","y", NULL
};
6600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_GetPixel",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6603 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6604 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPixel. Expected _wxDC_p.");
6610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6611 _result
= (wxColour
*)wxDC_GetPixel(_arg0
,_arg1
,_arg2
);
6613 wxPyEndAllowThreads(__tstate
);
6614 if (PyErr_Occurred()) return NULL
;
6616 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
6617 _resultobj
= Py_BuildValue("s",_ptemp
);
6620 _resultobj
= Py_None
;
6625 #define wxDC_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
6626 static PyObject
*_wrap_wxDC_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6627 PyObject
* _resultobj
;
6633 PyObject
* _argo0
= 0;
6634 char *_kwnames
[] = { "self", NULL
};
6643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSizeTuple",_kwnames
,&_argo0
))
6646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSizeTuple. Expected _wxDC_p.");
6653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6654 wxDC_GetSizeTuple(_arg0
,_arg1
,_arg2
);
6656 wxPyEndAllowThreads(__tstate
);
6657 if (PyErr_Occurred()) return NULL
;
6658 } Py_INCREF(Py_None
);
6659 _resultobj
= Py_None
;
6662 o
= PyInt_FromLong((long) (*_arg1
));
6663 _resultobj
= t_output_helper(_resultobj
, o
);
6667 o
= PyInt_FromLong((long) (*_arg2
));
6668 _resultobj
= t_output_helper(_resultobj
, o
);
6673 #define wxDC_GetSize(_swigobj) (_swigobj->GetSize())
6674 static PyObject
*_wrap_wxDC_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6675 PyObject
* _resultobj
;
6678 PyObject
* _argo0
= 0;
6679 char *_kwnames
[] = { "self", NULL
};
6683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSize",_kwnames
,&_argo0
))
6686 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6687 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetSize. Expected _wxDC_p.");
6693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6694 _result
= new wxSize (wxDC_GetSize(_arg0
));
6696 wxPyEndAllowThreads(__tstate
);
6697 if (PyErr_Occurred()) return NULL
;
6698 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
6699 _resultobj
= Py_BuildValue("s",_ptemp
);
6703 #define wxDC_GetSizeMM(_swigobj) (_swigobj->GetSizeMM())
6704 static PyObject
*_wrap_wxDC_GetSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6705 PyObject
* _resultobj
;
6708 PyObject
* _argo0
= 0;
6709 char *_kwnames
[] = { "self", NULL
};
6713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetSizeMM",_kwnames
,&_argo0
))
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_GetSizeMM. Expected _wxDC_p.");
6723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6724 _result
= new wxSize (wxDC_GetSizeMM(_arg0
));
6726 wxPyEndAllowThreads(__tstate
);
6727 if (PyErr_Occurred()) return NULL
;
6728 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
6729 _resultobj
= Py_BuildValue("s",_ptemp
);
6733 #define wxDC_GetTextBackground(_swigobj) (_swigobj->GetTextBackground())
6734 static PyObject
*_wrap_wxDC_GetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6735 PyObject
* _resultobj
;
6738 PyObject
* _argo0
= 0;
6739 char *_kwnames
[] = { "self", NULL
};
6743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetTextBackground",_kwnames
,&_argo0
))
6746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextBackground. Expected _wxDC_p.");
6753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6754 _result
= new wxColour (wxDC_GetTextBackground(_arg0
));
6756 wxPyEndAllowThreads(__tstate
);
6757 if (PyErr_Occurred()) return NULL
;
6758 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
6759 _resultobj
= Py_BuildValue("s",_ptemp
);
6763 #define wxDC_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
6764 static PyObject
*_wrap_wxDC_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6765 PyObject
* _resultobj
;
6772 PyObject
* _argo0
= 0;
6773 PyObject
* _obj1
= 0;
6774 char *_kwnames
[] = { "self","string", NULL
};
6783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
6786 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6787 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextExtent. Expected _wxDC_p.");
6793 _arg1
= wxString_in_helper(_obj1
);
6798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6799 wxDC_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
6801 wxPyEndAllowThreads(__tstate
);
6802 if (PyErr_Occurred()) return NULL
;
6803 } Py_INCREF(Py_None
);
6804 _resultobj
= Py_None
;
6807 o
= PyInt_FromLong((long) (*_arg2
));
6808 _resultobj
= t_output_helper(_resultobj
, o
);
6812 o
= PyInt_FromLong((long) (*_arg3
));
6813 _resultobj
= t_output_helper(_resultobj
, o
);
6822 #define wxDC_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6823 static PyObject
*_wrap_wxDC_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6824 PyObject
* _resultobj
;
6835 wxFont
* _arg6
= (wxFont
*) NULL
;
6836 PyObject
* _argo0
= 0;
6837 PyObject
* _obj1
= 0;
6838 PyObject
* _argo6
= 0;
6839 char *_kwnames
[] = { "self","string","font", NULL
};
6854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxDC_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
6857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetFullTextExtent. Expected _wxDC_p.");
6864 _arg1
= wxString_in_helper(_obj1
);
6869 if (_argo6
== Py_None
) { _arg6
= NULL
; }
6870 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
6871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxDC_GetFullTextExtent. Expected _wxFont_p.");
6876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6877 wxDC_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
6879 wxPyEndAllowThreads(__tstate
);
6880 if (PyErr_Occurred()) return NULL
;
6881 } Py_INCREF(Py_None
);
6882 _resultobj
= Py_None
;
6885 o
= PyInt_FromLong((long) (*_arg2
));
6886 _resultobj
= t_output_helper(_resultobj
, o
);
6890 o
= PyInt_FromLong((long) (*_arg3
));
6891 _resultobj
= t_output_helper(_resultobj
, o
);
6895 o
= PyInt_FromLong((long) (*_arg4
));
6896 _resultobj
= t_output_helper(_resultobj
, o
);
6900 o
= PyInt_FromLong((long) (*_arg5
));
6901 _resultobj
= t_output_helper(_resultobj
, o
);
6910 #define wxDC_GetTextForeground(_swigobj) (_swigobj->GetTextForeground())
6911 static PyObject
*_wrap_wxDC_GetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6912 PyObject
* _resultobj
;
6915 PyObject
* _argo0
= 0;
6916 char *_kwnames
[] = { "self", NULL
};
6920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetTextForeground",_kwnames
,&_argo0
))
6923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetTextForeground. Expected _wxDC_p.");
6930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6931 _result
= new wxColour (wxDC_GetTextForeground(_arg0
));
6933 wxPyEndAllowThreads(__tstate
);
6934 if (PyErr_Occurred()) return NULL
;
6935 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
6936 _resultobj
= Py_BuildValue("s",_ptemp
);
6940 #define wxDC_GetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetUserScale(_swigarg0,_swigarg1))
6941 static PyObject
*_wrap_wxDC_GetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6942 PyObject
* _resultobj
;
6948 PyObject
* _argo0
= 0;
6949 char *_kwnames
[] = { "self", NULL
};
6958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetUserScale",_kwnames
,&_argo0
))
6961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
6963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetUserScale. Expected _wxDC_p.");
6968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6969 wxDC_GetUserScale(_arg0
,_arg1
,_arg2
);
6971 wxPyEndAllowThreads(__tstate
);
6972 if (PyErr_Occurred()) return NULL
;
6973 } Py_INCREF(Py_None
);
6974 _resultobj
= Py_None
;
6977 o
= PyFloat_FromDouble((double) (*_arg1
));
6978 _resultobj
= t_output_helper(_resultobj
, o
);
6982 o
= PyFloat_FromDouble((double) (*_arg2
));
6983 _resultobj
= t_output_helper(_resultobj
, o
);
6988 #define wxDC_LogicalToDeviceX(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceX(_swigarg0))
6989 static PyObject
*_wrap_wxDC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6990 PyObject
* _resultobj
;
6994 PyObject
* _argo0
= 0;
6995 char *_kwnames
[] = { "self","x", NULL
};
6998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceX",_kwnames
,&_argo0
,&_arg1
))
7001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceX. Expected _wxDC_p.");
7008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7009 _result
= (long )wxDC_LogicalToDeviceX(_arg0
,_arg1
);
7011 wxPyEndAllowThreads(__tstate
);
7012 if (PyErr_Occurred()) return NULL
;
7013 } _resultobj
= Py_BuildValue("l",_result
);
7017 #define wxDC_LogicalToDeviceXRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceXRel(_swigarg0))
7018 static PyObject
*_wrap_wxDC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7019 PyObject
* _resultobj
;
7023 PyObject
* _argo0
= 0;
7024 char *_kwnames
[] = { "self","x", NULL
};
7027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceXRel",_kwnames
,&_argo0
,&_arg1
))
7030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceXRel. Expected _wxDC_p.");
7037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7038 _result
= (long )wxDC_LogicalToDeviceXRel(_arg0
,_arg1
);
7040 wxPyEndAllowThreads(__tstate
);
7041 if (PyErr_Occurred()) return NULL
;
7042 } _resultobj
= Py_BuildValue("l",_result
);
7046 #define wxDC_LogicalToDeviceY(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceY(_swigarg0))
7047 static PyObject
*_wrap_wxDC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7048 PyObject
* _resultobj
;
7052 PyObject
* _argo0
= 0;
7053 char *_kwnames
[] = { "self","y", NULL
};
7056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceY",_kwnames
,&_argo0
,&_arg1
))
7059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceY. Expected _wxDC_p.");
7066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7067 _result
= (long )wxDC_LogicalToDeviceY(_arg0
,_arg1
);
7069 wxPyEndAllowThreads(__tstate
);
7070 if (PyErr_Occurred()) return NULL
;
7071 } _resultobj
= Py_BuildValue("l",_result
);
7075 #define wxDC_LogicalToDeviceYRel(_swigobj,_swigarg0) (_swigobj->LogicalToDeviceYRel(_swigarg0))
7076 static PyObject
*_wrap_wxDC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7077 PyObject
* _resultobj
;
7081 PyObject
* _argo0
= 0;
7082 char *_kwnames
[] = { "self","y", NULL
};
7085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDC_LogicalToDeviceYRel",_kwnames
,&_argo0
,&_arg1
))
7088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_LogicalToDeviceYRel. Expected _wxDC_p.");
7095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7096 _result
= (long )wxDC_LogicalToDeviceYRel(_arg0
,_arg1
);
7098 wxPyEndAllowThreads(__tstate
);
7099 if (PyErr_Occurred()) return NULL
;
7100 } _resultobj
= Py_BuildValue("l",_result
);
7104 #define wxDC_MaxX(_swigobj) (_swigobj->MaxX())
7105 static PyObject
*_wrap_wxDC_MaxX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7106 PyObject
* _resultobj
;
7109 PyObject
* _argo0
= 0;
7110 char *_kwnames
[] = { "self", NULL
};
7113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MaxX",_kwnames
,&_argo0
))
7116 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7117 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxX. Expected _wxDC_p.");
7123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7124 _result
= (long )wxDC_MaxX(_arg0
);
7126 wxPyEndAllowThreads(__tstate
);
7127 if (PyErr_Occurred()) return NULL
;
7128 } _resultobj
= Py_BuildValue("l",_result
);
7132 #define wxDC_MaxY(_swigobj) (_swigobj->MaxY())
7133 static PyObject
*_wrap_wxDC_MaxY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7134 PyObject
* _resultobj
;
7137 PyObject
* _argo0
= 0;
7138 char *_kwnames
[] = { "self", NULL
};
7141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MaxY",_kwnames
,&_argo0
))
7144 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7145 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MaxY. Expected _wxDC_p.");
7151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7152 _result
= (long )wxDC_MaxY(_arg0
);
7154 wxPyEndAllowThreads(__tstate
);
7155 if (PyErr_Occurred()) return NULL
;
7156 } _resultobj
= Py_BuildValue("l",_result
);
7160 #define wxDC_MinX(_swigobj) (_swigobj->MinX())
7161 static PyObject
*_wrap_wxDC_MinX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7162 PyObject
* _resultobj
;
7165 PyObject
* _argo0
= 0;
7166 char *_kwnames
[] = { "self", NULL
};
7169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MinX",_kwnames
,&_argo0
))
7172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinX. Expected _wxDC_p.");
7179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7180 _result
= (long )wxDC_MinX(_arg0
);
7182 wxPyEndAllowThreads(__tstate
);
7183 if (PyErr_Occurred()) return NULL
;
7184 } _resultobj
= Py_BuildValue("l",_result
);
7188 #define wxDC_MinY(_swigobj) (_swigobj->MinY())
7189 static PyObject
*_wrap_wxDC_MinY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7190 PyObject
* _resultobj
;
7193 PyObject
* _argo0
= 0;
7194 char *_kwnames
[] = { "self", NULL
};
7197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_MinY",_kwnames
,&_argo0
))
7200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_MinY. Expected _wxDC_p.");
7207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7208 _result
= (long )wxDC_MinY(_arg0
);
7210 wxPyEndAllowThreads(__tstate
);
7211 if (PyErr_Occurred()) return NULL
;
7212 } _resultobj
= Py_BuildValue("l",_result
);
7216 #define wxDC_Ok(_swigobj) (_swigobj->Ok())
7217 static PyObject
*_wrap_wxDC_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7218 PyObject
* _resultobj
;
7221 PyObject
* _argo0
= 0;
7222 char *_kwnames
[] = { "self", NULL
};
7225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_Ok",_kwnames
,&_argo0
))
7228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_Ok. Expected _wxDC_p.");
7235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7236 _result
= (bool )wxDC_Ok(_arg0
);
7238 wxPyEndAllowThreads(__tstate
);
7239 if (PyErr_Occurred()) return NULL
;
7240 } _resultobj
= Py_BuildValue("i",_result
);
7244 #define wxDC_SetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDeviceOrigin(_swigarg0,_swigarg1))
7245 static PyObject
*_wrap_wxDC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7246 PyObject
* _resultobj
;
7250 PyObject
* _argo0
= 0;
7251 char *_kwnames
[] = { "self","x","y", NULL
};
7254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxDC_SetDeviceOrigin",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetDeviceOrigin. Expected _wxDC_p.");
7264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7265 wxDC_SetDeviceOrigin(_arg0
,_arg1
,_arg2
);
7267 wxPyEndAllowThreads(__tstate
);
7268 if (PyErr_Occurred()) return NULL
;
7269 } Py_INCREF(Py_None
);
7270 _resultobj
= Py_None
;
7274 #define wxDC_SetBackground(_swigobj,_swigarg0) (_swigobj->SetBackground(_swigarg0))
7275 static PyObject
*_wrap_wxDC_SetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7276 PyObject
* _resultobj
;
7279 PyObject
* _argo0
= 0;
7280 PyObject
* _argo1
= 0;
7281 char *_kwnames
[] = { "self","brush", NULL
};
7284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetBackground",_kwnames
,&_argo0
,&_argo1
))
7287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackground. Expected _wxDC_p.");
7294 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7295 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
7296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBackground. Expected _wxBrush_p.");
7301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7302 wxDC_SetBackground(_arg0
,*_arg1
);
7304 wxPyEndAllowThreads(__tstate
);
7305 if (PyErr_Occurred()) return NULL
;
7306 } Py_INCREF(Py_None
);
7307 _resultobj
= Py_None
;
7311 #define wxDC_SetBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetBackgroundMode(_swigarg0))
7312 static PyObject
*_wrap_wxDC_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7313 PyObject
* _resultobj
;
7316 PyObject
* _argo0
= 0;
7317 char *_kwnames
[] = { "self","mode", NULL
};
7320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetBackgroundMode",_kwnames
,&_argo0
,&_arg1
))
7323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBackgroundMode. Expected _wxDC_p.");
7330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7331 wxDC_SetBackgroundMode(_arg0
,_arg1
);
7333 wxPyEndAllowThreads(__tstate
);
7334 if (PyErr_Occurred()) return NULL
;
7335 } Py_INCREF(Py_None
);
7336 _resultobj
= Py_None
;
7340 #define wxDC_SetClippingRegion(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetClippingRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7341 static PyObject
*_wrap_wxDC_SetClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7342 PyObject
* _resultobj
;
7348 PyObject
* _argo0
= 0;
7349 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
7352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxDC_SetClippingRegion",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7355 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7356 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetClippingRegion. Expected _wxDC_p.");
7362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7363 wxDC_SetClippingRegion(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7365 wxPyEndAllowThreads(__tstate
);
7366 if (PyErr_Occurred()) return NULL
;
7367 } Py_INCREF(Py_None
);
7368 _resultobj
= Py_None
;
7372 #define wxDC_SetClippingRegionAsRegion(_swigobj,_swigarg0) (_swigobj->SetClippingRegion(_swigarg0))
7373 static PyObject
*_wrap_wxDC_SetClippingRegionAsRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7374 PyObject
* _resultobj
;
7377 PyObject
* _argo0
= 0;
7378 PyObject
* _argo1
= 0;
7379 char *_kwnames
[] = { "self","region", NULL
};
7382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetClippingRegionAsRegion",_kwnames
,&_argo0
,&_argo1
))
7385 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7386 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetClippingRegionAsRegion. Expected _wxDC_p.");
7392 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7393 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
7394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetClippingRegionAsRegion. Expected _wxRegion_p.");
7399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7400 wxDC_SetClippingRegionAsRegion(_arg0
,*_arg1
);
7402 wxPyEndAllowThreads(__tstate
);
7403 if (PyErr_Occurred()) return NULL
;
7404 } Py_INCREF(Py_None
);
7405 _resultobj
= Py_None
;
7409 #define wxDC_SetClippingRect(_swigobj,_swigarg0) (_swigobj->SetClippingRegion(_swigarg0))
7410 static PyObject
*_wrap_wxDC_SetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7411 PyObject
* _resultobj
;
7414 PyObject
* _argo0
= 0;
7416 PyObject
* _obj1
= 0;
7417 char *_kwnames
[] = { "self","rect", NULL
};
7420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetClippingRect",_kwnames
,&_argo0
,&_obj1
))
7423 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7424 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetClippingRect. Expected _wxDC_p.");
7431 if (! wxRect_helper(_obj1
, &_arg1
))
7435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7436 wxDC_SetClippingRect(_arg0
,*_arg1
);
7438 wxPyEndAllowThreads(__tstate
);
7439 if (PyErr_Occurred()) return NULL
;
7440 } Py_INCREF(Py_None
);
7441 _resultobj
= Py_None
;
7445 #define wxDC_SetPalette(_swigobj,_swigarg0) (_swigobj->SetPalette(_swigarg0))
7446 static PyObject
*_wrap_wxDC_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7447 PyObject
* _resultobj
;
7450 PyObject
* _argo0
= 0;
7451 PyObject
* _argo1
= 0;
7452 char *_kwnames
[] = { "self","colourMap", NULL
};
7455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetPalette",_kwnames
,&_argo0
,&_argo1
))
7458 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7459 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPalette. Expected _wxDC_p.");
7465 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7466 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPalette_p")) {
7467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPalette. Expected _wxPalette_p.");
7472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7473 wxDC_SetPalette(_arg0
,*_arg1
);
7475 wxPyEndAllowThreads(__tstate
);
7476 if (PyErr_Occurred()) return NULL
;
7477 } Py_INCREF(Py_None
);
7478 _resultobj
= Py_None
;
7482 #define wxDC_SetBrush(_swigobj,_swigarg0) (_swigobj->SetBrush(_swigarg0))
7483 static PyObject
*_wrap_wxDC_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7484 PyObject
* _resultobj
;
7487 PyObject
* _argo0
= 0;
7488 PyObject
* _argo1
= 0;
7489 char *_kwnames
[] = { "self","brush", NULL
};
7492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetBrush",_kwnames
,&_argo0
,&_argo1
))
7495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetBrush. Expected _wxDC_p.");
7502 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7503 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBrush_p")) {
7504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetBrush. Expected _wxBrush_p.");
7509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7510 wxDC_SetBrush(_arg0
,*_arg1
);
7512 wxPyEndAllowThreads(__tstate
);
7513 if (PyErr_Occurred()) return NULL
;
7514 } Py_INCREF(Py_None
);
7515 _resultobj
= Py_None
;
7519 #define wxDC_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
7520 static PyObject
*_wrap_wxDC_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7521 PyObject
* _resultobj
;
7524 PyObject
* _argo0
= 0;
7525 PyObject
* _argo1
= 0;
7526 char *_kwnames
[] = { "self","font", NULL
};
7529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetFont",_kwnames
,&_argo0
,&_argo1
))
7532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetFont. Expected _wxDC_p.");
7539 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7540 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
7541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetFont. Expected _wxFont_p.");
7546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7547 wxDC_SetFont(_arg0
,*_arg1
);
7549 wxPyEndAllowThreads(__tstate
);
7550 if (PyErr_Occurred()) return NULL
;
7551 } Py_INCREF(Py_None
);
7552 _resultobj
= Py_None
;
7556 #define wxDC_SetLogicalFunction(_swigobj,_swigarg0) (_swigobj->SetLogicalFunction(_swigarg0))
7557 static PyObject
*_wrap_wxDC_SetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7558 PyObject
* _resultobj
;
7561 PyObject
* _argo0
= 0;
7562 char *_kwnames
[] = { "self","function", NULL
};
7565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetLogicalFunction",_kwnames
,&_argo0
,&_arg1
))
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_SetLogicalFunction. Expected _wxDC_p.");
7575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7576 wxDC_SetLogicalFunction(_arg0
,_arg1
);
7578 wxPyEndAllowThreads(__tstate
);
7579 if (PyErr_Occurred()) return NULL
;
7580 } Py_INCREF(Py_None
);
7581 _resultobj
= Py_None
;
7585 #define wxDC_SetLogicalScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLogicalScale(_swigarg0,_swigarg1))
7586 static PyObject
*_wrap_wxDC_SetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7587 PyObject
* _resultobj
;
7591 PyObject
* _argo0
= 0;
7592 char *_kwnames
[] = { "self","x","y", NULL
};
7595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxDC_SetLogicalScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalScale. Expected _wxDC_p.");
7605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7606 wxDC_SetLogicalScale(_arg0
,_arg1
,_arg2
);
7608 wxPyEndAllowThreads(__tstate
);
7609 if (PyErr_Occurred()) return NULL
;
7610 } Py_INCREF(Py_None
);
7611 _resultobj
= Py_None
;
7615 #define wxDC_SetMapMode(_swigobj,_swigarg0) (_swigobj->SetMapMode(_swigarg0))
7616 static PyObject
*_wrap_wxDC_SetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7617 PyObject
* _resultobj
;
7620 PyObject
* _argo0
= 0;
7621 char *_kwnames
[] = { "self","mode", NULL
};
7624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetMapMode",_kwnames
,&_argo0
,&_arg1
))
7627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetMapMode. Expected _wxDC_p.");
7634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7635 wxDC_SetMapMode(_arg0
,_arg1
);
7637 wxPyEndAllowThreads(__tstate
);
7638 if (PyErr_Occurred()) return NULL
;
7639 } Py_INCREF(Py_None
);
7640 _resultobj
= Py_None
;
7644 #define wxDC_SetOptimization(_swigobj,_swigarg0) (_swigobj->SetOptimization(_swigarg0))
7645 static PyObject
*_wrap_wxDC_SetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7646 PyObject
* _resultobj
;
7649 PyObject
* _argo0
= 0;
7651 char *_kwnames
[] = { "self","optimize", NULL
};
7654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxDC_SetOptimization",_kwnames
,&_argo0
,&tempbool1
))
7657 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7658 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetOptimization. Expected _wxDC_p.");
7663 _arg1
= (bool ) tempbool1
;
7665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7666 wxDC_SetOptimization(_arg0
,_arg1
);
7668 wxPyEndAllowThreads(__tstate
);
7669 if (PyErr_Occurred()) return NULL
;
7670 } Py_INCREF(Py_None
);
7671 _resultobj
= Py_None
;
7675 #define wxDC_SetPen(_swigobj,_swigarg0) (_swigobj->SetPen(_swigarg0))
7676 static PyObject
*_wrap_wxDC_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7677 PyObject
* _resultobj
;
7680 PyObject
* _argo0
= 0;
7681 PyObject
* _argo1
= 0;
7682 char *_kwnames
[] = { "self","pen", NULL
};
7685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetPen",_kwnames
,&_argo0
,&_argo1
))
7688 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7689 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetPen. Expected _wxDC_p.");
7695 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7696 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPen_p")) {
7697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_SetPen. Expected _wxPen_p.");
7702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7703 wxDC_SetPen(_arg0
,*_arg1
);
7705 wxPyEndAllowThreads(__tstate
);
7706 if (PyErr_Occurred()) return NULL
;
7707 } Py_INCREF(Py_None
);
7708 _resultobj
= Py_None
;
7712 #define wxDC_SetTextBackground(_swigobj,_swigarg0) (_swigobj->SetTextBackground(_swigarg0))
7713 static PyObject
*_wrap_wxDC_SetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7714 PyObject
* _resultobj
;
7717 PyObject
* _argo0
= 0;
7719 PyObject
* _obj1
= 0;
7720 char *_kwnames
[] = { "self","colour", NULL
};
7723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetTextBackground",_kwnames
,&_argo0
,&_obj1
))
7726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextBackground. Expected _wxDC_p.");
7734 if (! wxColour_helper(_obj1
, &_arg1
))
7738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7739 wxDC_SetTextBackground(_arg0
,*_arg1
);
7741 wxPyEndAllowThreads(__tstate
);
7742 if (PyErr_Occurred()) return NULL
;
7743 } Py_INCREF(Py_None
);
7744 _resultobj
= Py_None
;
7748 #define wxDC_SetTextForeground(_swigobj,_swigarg0) (_swigobj->SetTextForeground(_swigarg0))
7749 static PyObject
*_wrap_wxDC_SetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7750 PyObject
* _resultobj
;
7753 PyObject
* _argo0
= 0;
7755 PyObject
* _obj1
= 0;
7756 char *_kwnames
[] = { "self","colour", NULL
};
7759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_SetTextForeground",_kwnames
,&_argo0
,&_obj1
))
7762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetTextForeground. Expected _wxDC_p.");
7770 if (! wxColour_helper(_obj1
, &_arg1
))
7774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7775 wxDC_SetTextForeground(_arg0
,*_arg1
);
7777 wxPyEndAllowThreads(__tstate
);
7778 if (PyErr_Occurred()) return NULL
;
7779 } Py_INCREF(Py_None
);
7780 _resultobj
= Py_None
;
7784 #define wxDC_SetUserScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetUserScale(_swigarg0,_swigarg1))
7785 static PyObject
*_wrap_wxDC_SetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7786 PyObject
* _resultobj
;
7790 PyObject
* _argo0
= 0;
7791 char *_kwnames
[] = { "self","x_scale","y_scale", NULL
};
7794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxDC_SetUserScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetUserScale. Expected _wxDC_p.");
7804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7805 wxDC_SetUserScale(_arg0
,_arg1
,_arg2
);
7807 wxPyEndAllowThreads(__tstate
);
7808 if (PyErr_Occurred()) return NULL
;
7809 } Py_INCREF(Py_None
);
7810 _resultobj
= Py_None
;
7814 #define wxDC_StartDoc(_swigobj,_swigarg0) (_swigobj->StartDoc(_swigarg0))
7815 static PyObject
*_wrap_wxDC_StartDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7816 PyObject
* _resultobj
;
7820 PyObject
* _argo0
= 0;
7821 PyObject
* _obj1
= 0;
7822 char *_kwnames
[] = { "self","message", NULL
};
7825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDC_StartDoc",_kwnames
,&_argo0
,&_obj1
))
7828 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7829 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_StartDoc. Expected _wxDC_p.");
7835 _arg1
= wxString_in_helper(_obj1
);
7840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7841 _result
= (bool )wxDC_StartDoc(_arg0
,*_arg1
);
7843 wxPyEndAllowThreads(__tstate
);
7844 if (PyErr_Occurred()) return NULL
;
7845 } _resultobj
= Py_BuildValue("i",_result
);
7853 #define wxDC_StartPage(_swigobj) (_swigobj->StartPage())
7854 static PyObject
*_wrap_wxDC_StartPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7855 PyObject
* _resultobj
;
7857 PyObject
* _argo0
= 0;
7858 char *_kwnames
[] = { "self", NULL
};
7861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_StartPage",_kwnames
,&_argo0
))
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_StartPage. Expected _wxDC_p.");
7871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7872 wxDC_StartPage(_arg0
);
7874 wxPyEndAllowThreads(__tstate
);
7875 if (PyErr_Occurred()) return NULL
;
7876 } Py_INCREF(Py_None
);
7877 _resultobj
= Py_None
;
7881 #define wxDC_DrawBitmap(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7882 static PyObject
*_wrap_wxDC_DrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7883 PyObject
* _resultobj
;
7888 int _arg4
= (int ) FALSE
;
7889 PyObject
* _argo0
= 0;
7890 PyObject
* _argo1
= 0;
7891 char *_kwnames
[] = { "self","bitmap","x","y","useMask", NULL
};
7894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOll|i:wxDC_DrawBitmap",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
))
7897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_DrawBitmap. Expected _wxDC_p.");
7904 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7905 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
7906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDC_DrawBitmap. Expected _wxBitmap_p.");
7911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7912 wxDC_DrawBitmap(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
7914 wxPyEndAllowThreads(__tstate
);
7915 if (PyErr_Occurred()) return NULL
;
7916 } Py_INCREF(Py_None
);
7917 _resultobj
= Py_None
;
7921 #define wxDC_CanDrawBitmap(_swigobj) (_swigobj->CanDrawBitmap())
7922 static PyObject
*_wrap_wxDC_CanDrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7923 PyObject
* _resultobj
;
7926 PyObject
* _argo0
= 0;
7927 char *_kwnames
[] = { "self", NULL
};
7930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_CanDrawBitmap",_kwnames
,&_argo0
))
7933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CanDrawBitmap. Expected _wxDC_p.");
7940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7941 _result
= (bool )wxDC_CanDrawBitmap(_arg0
);
7943 wxPyEndAllowThreads(__tstate
);
7944 if (PyErr_Occurred()) return NULL
;
7945 } _resultobj
= Py_BuildValue("i",_result
);
7949 #define wxDC_CanGetTextExtent(_swigobj) (_swigobj->CanGetTextExtent())
7950 static PyObject
*_wrap_wxDC_CanGetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7951 PyObject
* _resultobj
;
7954 PyObject
* _argo0
= 0;
7955 char *_kwnames
[] = { "self", NULL
};
7958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_CanGetTextExtent",_kwnames
,&_argo0
))
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_CanGetTextExtent. Expected _wxDC_p.");
7968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7969 _result
= (bool )wxDC_CanGetTextExtent(_arg0
);
7971 wxPyEndAllowThreads(__tstate
);
7972 if (PyErr_Occurred()) return NULL
;
7973 } _resultobj
= Py_BuildValue("i",_result
);
7977 #define wxDC_GetDepth(_swigobj) (_swigobj->GetDepth())
7978 static PyObject
*_wrap_wxDC_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7979 PyObject
* _resultobj
;
7982 PyObject
* _argo0
= 0;
7983 char *_kwnames
[] = { "self", NULL
};
7986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetDepth",_kwnames
,&_argo0
))
7989 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7990 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
7991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetDepth. Expected _wxDC_p.");
7996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7997 _result
= (int )wxDC_GetDepth(_arg0
);
7999 wxPyEndAllowThreads(__tstate
);
8000 if (PyErr_Occurred()) return NULL
;
8001 } _resultobj
= Py_BuildValue("i",_result
);
8005 #define wxDC_GetPPI(_swigobj) (_swigobj->GetPPI())
8006 static PyObject
*_wrap_wxDC_GetPPI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8007 PyObject
* _resultobj
;
8010 PyObject
* _argo0
= 0;
8011 char *_kwnames
[] = { "self", NULL
};
8015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetPPI",_kwnames
,&_argo0
))
8018 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8019 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetPPI. Expected _wxDC_p.");
8025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8026 _result
= new wxSize (wxDC_GetPPI(_arg0
));
8028 wxPyEndAllowThreads(__tstate
);
8029 if (PyErr_Occurred()) return NULL
;
8030 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
8031 _resultobj
= Py_BuildValue("s",_ptemp
);
8035 #define wxDC_GetLogicalOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLogicalOrigin(_swigarg0,_swigarg1))
8036 static PyObject
*_wrap_wxDC_GetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8037 PyObject
* _resultobj
;
8043 PyObject
* _argo0
= 0;
8044 char *_kwnames
[] = { "self", NULL
};
8053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetLogicalOrigin",_kwnames
,&_argo0
))
8056 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8057 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetLogicalOrigin. Expected _wxDC_p.");
8063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8064 wxDC_GetLogicalOrigin(_arg0
,_arg1
,_arg2
);
8066 wxPyEndAllowThreads(__tstate
);
8067 if (PyErr_Occurred()) return NULL
;
8068 } Py_INCREF(Py_None
);
8069 _resultobj
= Py_None
;
8072 o
= PyInt_FromLong((long) (*_arg1
));
8073 _resultobj
= t_output_helper(_resultobj
, o
);
8077 o
= PyInt_FromLong((long) (*_arg2
));
8078 _resultobj
= t_output_helper(_resultobj
, o
);
8083 #define wxDC_SetLogicalOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLogicalOrigin(_swigarg0,_swigarg1))
8084 static PyObject
*_wrap_wxDC_SetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8085 PyObject
* _resultobj
;
8089 PyObject
* _argo0
= 0;
8090 char *_kwnames
[] = { "self","x","y", NULL
};
8093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_SetLogicalOrigin",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetLogicalOrigin. Expected _wxDC_p.");
8103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8104 wxDC_SetLogicalOrigin(_arg0
,_arg1
,_arg2
);
8106 wxPyEndAllowThreads(__tstate
);
8107 if (PyErr_Occurred()) return NULL
;
8108 } Py_INCREF(Py_None
);
8109 _resultobj
= Py_None
;
8113 #define wxDC_GetDeviceOrigin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDeviceOrigin(_swigarg0,_swigarg1))
8114 static PyObject
*_wrap_wxDC_GetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8115 PyObject
* _resultobj
;
8121 PyObject
* _argo0
= 0;
8122 char *_kwnames
[] = { "self", NULL
};
8131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetDeviceOrigin",_kwnames
,&_argo0
))
8134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetDeviceOrigin. Expected _wxDC_p.");
8141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8142 wxDC_GetDeviceOrigin(_arg0
,_arg1
,_arg2
);
8144 wxPyEndAllowThreads(__tstate
);
8145 if (PyErr_Occurred()) return NULL
;
8146 } Py_INCREF(Py_None
);
8147 _resultobj
= Py_None
;
8150 o
= PyInt_FromLong((long) (*_arg1
));
8151 _resultobj
= t_output_helper(_resultobj
, o
);
8155 o
= PyInt_FromLong((long) (*_arg2
));
8156 _resultobj
= t_output_helper(_resultobj
, o
);
8161 #define wxDC_SetAxisOrientation(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAxisOrientation(_swigarg0,_swigarg1))
8162 static PyObject
*_wrap_wxDC_SetAxisOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8163 PyObject
* _resultobj
;
8167 PyObject
* _argo0
= 0;
8170 char *_kwnames
[] = { "self","xLeftRight","yBottomUp", NULL
};
8173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_SetAxisOrientation",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
8176 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8177 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_SetAxisOrientation. Expected _wxDC_p.");
8182 _arg1
= (bool ) tempbool1
;
8183 _arg2
= (bool ) tempbool2
;
8185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8186 wxDC_SetAxisOrientation(_arg0
,_arg1
,_arg2
);
8188 wxPyEndAllowThreads(__tstate
);
8189 if (PyErr_Occurred()) return NULL
;
8190 } Py_INCREF(Py_None
);
8191 _resultobj
= Py_None
;
8195 #define wxDC_CalcBoundingBox(_swigobj,_swigarg0,_swigarg1) (_swigobj->CalcBoundingBox(_swigarg0,_swigarg1))
8196 static PyObject
*_wrap_wxDC_CalcBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8197 PyObject
* _resultobj
;
8201 PyObject
* _argo0
= 0;
8202 char *_kwnames
[] = { "self","x","y", NULL
};
8205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxDC_CalcBoundingBox",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_CalcBoundingBox. Expected _wxDC_p.");
8215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8216 wxDC_CalcBoundingBox(_arg0
,_arg1
,_arg2
);
8218 wxPyEndAllowThreads(__tstate
);
8219 if (PyErr_Occurred()) return NULL
;
8220 } Py_INCREF(Py_None
);
8221 _resultobj
= Py_None
;
8225 #define wxDC_ResetBoundingBox(_swigobj) (_swigobj->ResetBoundingBox())
8226 static PyObject
*_wrap_wxDC_ResetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8227 PyObject
* _resultobj
;
8229 PyObject
* _argo0
= 0;
8230 char *_kwnames
[] = { "self", NULL
};
8233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_ResetBoundingBox",_kwnames
,&_argo0
))
8236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_ResetBoundingBox. Expected _wxDC_p.");
8243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8244 wxDC_ResetBoundingBox(_arg0
);
8246 wxPyEndAllowThreads(__tstate
);
8247 if (PyErr_Occurred()) return NULL
;
8248 } Py_INCREF(Py_None
);
8249 _resultobj
= Py_None
;
8253 static PyObject
*_wrap_wxDC_GetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8254 PyObject
* _resultobj
;
8264 PyObject
* _argo0
= 0;
8265 char *_kwnames
[] = { "self", NULL
};
8280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetBoundingBox",_kwnames
,&_argo0
))
8283 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8284 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetBoundingBox. Expected _wxDC_p.");
8290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8291 wxDC_GetBoundingBox(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
8293 wxPyEndAllowThreads(__tstate
);
8294 if (PyErr_Occurred()) return NULL
;
8295 } Py_INCREF(Py_None
);
8296 _resultobj
= Py_None
;
8299 o
= PyInt_FromLong((long) (*_arg1
));
8300 _resultobj
= t_output_helper(_resultobj
, o
);
8304 o
= PyInt_FromLong((long) (*_arg2
));
8305 _resultobj
= t_output_helper(_resultobj
, o
);
8309 o
= PyInt_FromLong((long) (*_arg3
));
8310 _resultobj
= t_output_helper(_resultobj
, o
);
8314 o
= PyInt_FromLong((long) (*_arg4
));
8315 _resultobj
= t_output_helper(_resultobj
, o
);
8320 #define wxDC_GetHDC(_swigobj) (_swigobj->GetHDC())
8321 static PyObject
*_wrap_wxDC_GetHDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8322 PyObject
* _resultobj
;
8325 PyObject
* _argo0
= 0;
8326 char *_kwnames
[] = { "self", NULL
};
8329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDC_GetHDC",_kwnames
,&_argo0
))
8332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC_GetHDC. Expected _wxDC_p.");
8339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8340 _result
= (long )wxDC_GetHDC(_arg0
);
8342 wxPyEndAllowThreads(__tstate
);
8343 if (PyErr_Occurred()) return NULL
;
8344 } _resultobj
= Py_BuildValue("l",_result
);
8348 static PyObject
* wxDC__DrawPointList(wxDC
*self
,PyObject
* pyPoints
,PyObject
* pyPens
) {
8349 bool isFastSeq
= PyList_Check(pyPoints
) || PyTuple_Check(pyPoints
);
8350 bool isFastPens
= PyList_Check(pyPens
) || PyTuple_Check(pyPens
);
8358 if (!PySequence_Check(pyPoints
)) {
8361 if (!PySequence_Check(pyPens
)) {
8364 numObjs
= PySequence_Length(pyPoints
);
8365 numPens
= PySequence_Length(pyPens
);
8367 for (i
= 0; i
< numObjs
; i
++) {
8371 obj
= PySequence_Fast_GET_ITEM(pyPens
, i
);
8374 obj
= PySequence_GetItem(pyPens
, i
);
8376 if (SWIG_GetPtrObj(obj
, (void **) &pen
, "_wxPen_p")) {
8387 // Get the point coordinants
8389 obj
= PySequence_Fast_GET_ITEM(pyPoints
, i
);
8392 obj
= PySequence_GetItem(pyPoints
, i
);
8394 if (! _2int_seq_helper(obj
, &x1
, &y1
)) {
8400 // Now draw the point
8401 self
->DrawPoint(x1
, y1
);
8411 PyErr_SetString(PyExc_TypeError
, "Expected a sequence of wxPens");
8414 PyErr_SetString(PyExc_TypeError
, "Expected a sequence of (x,y) sequences.");
8417 static PyObject
*_wrap_wxDC__DrawPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8418 PyObject
* _resultobj
;
8423 PyObject
* _argo0
= 0;
8424 PyObject
* _obj1
= 0;
8425 PyObject
* _obj2
= 0;
8426 char *_kwnames
[] = { "self","pyPoints","pyPens", NULL
};
8429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDC__DrawPointList",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC__DrawPointList. Expected _wxDC_p.");
8445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8446 _result
= (PyObject
*)wxDC__DrawPointList(_arg0
,_arg1
,_arg2
);
8448 wxPyEndAllowThreads(__tstate
);
8449 if (PyErr_Occurred()) return NULL
;
8451 _resultobj
= _result
;
8456 static PyObject
* wxDC__DrawLineList(wxDC
*self
,PyObject
* pyLines
,PyObject
* pyPens
) {
8457 bool isFastSeq
= PyList_Check(pyLines
) || PyTuple_Check(pyLines
);
8458 bool isFastPens
= PyList_Check(pyPens
) || PyTuple_Check(pyPens
);
8466 if (!PySequence_Check(pyLines
)) {
8469 if (!PySequence_Check(pyPens
)) {
8472 numObjs
= PySequence_Length(pyLines
);
8473 numPens
= PySequence_Length(pyPens
);
8475 for (i
= 0; i
< numObjs
; i
++) {
8479 obj
= PySequence_Fast_GET_ITEM(pyPens
, i
);
8482 obj
= PySequence_GetItem(pyPens
, i
);
8484 if (SWIG_GetPtrObj(obj
, (void **) &pen
, "_wxPen_p")) {
8495 // Get the line coordinants
8497 obj
= PySequence_Fast_GET_ITEM(pyLines
, i
);
8500 obj
= PySequence_GetItem(pyLines
, i
);
8502 if (! _4int_seq_helper(obj
, &x1
, &y1
, &x2
, &y2
)) {
8508 // Now draw the line
8509 self
->DrawLine(x1
, y1
, x2
, y2
);
8519 PyErr_SetString(PyExc_TypeError
, "Expected a sequence of wxPens");
8522 PyErr_SetString(PyExc_TypeError
, "Expected a sequence of (x1,y1, x2,y2) sequences.");
8525 static PyObject
*_wrap_wxDC__DrawLineList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8526 PyObject
* _resultobj
;
8531 PyObject
* _argo0
= 0;
8532 PyObject
* _obj1
= 0;
8533 PyObject
* _obj2
= 0;
8534 char *_kwnames
[] = { "self","pyLines","pyPens", NULL
};
8537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxDC__DrawLineList",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8540 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8541 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDC__DrawLineList. Expected _wxDC_p.");
8553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8554 _result
= (PyObject
*)wxDC__DrawLineList(_arg0
,_arg1
,_arg2
);
8556 wxPyEndAllowThreads(__tstate
);
8557 if (PyErr_Occurred()) return NULL
;
8559 _resultobj
= _result
;
8564 static void *SwigwxMemoryDCTowxDC(void *ptr
) {
8567 src
= (wxMemoryDC
*) ptr
;
8568 dest
= (wxDC
*) src
;
8569 return (void *) dest
;
8572 static void *SwigwxMemoryDCTowxObject(void *ptr
) {
8575 src
= (wxMemoryDC
*) ptr
;
8576 dest
= (wxObject
*) src
;
8577 return (void *) dest
;
8580 #define new_wxMemoryDC() (new wxMemoryDC())
8581 static PyObject
*_wrap_new_wxMemoryDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8582 PyObject
* _resultobj
;
8583 wxMemoryDC
* _result
;
8584 char *_kwnames
[] = { NULL
};
8588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMemoryDC",_kwnames
))
8591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8592 _result
= (wxMemoryDC
*)new_wxMemoryDC();
8594 wxPyEndAllowThreads(__tstate
);
8595 if (PyErr_Occurred()) return NULL
;
8597 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMemoryDC_p");
8598 _resultobj
= Py_BuildValue("s",_ptemp
);
8601 _resultobj
= Py_None
;
8606 #define wxMemoryDC_SelectObject(_swigobj,_swigarg0) (_swigobj->SelectObject(_swigarg0))
8607 static PyObject
*_wrap_wxMemoryDC_SelectObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8608 PyObject
* _resultobj
;
8611 PyObject
* _argo0
= 0;
8612 PyObject
* _argo1
= 0;
8613 char *_kwnames
[] = { "self","bitmap", NULL
};
8616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMemoryDC_SelectObject",_kwnames
,&_argo0
,&_argo1
))
8619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMemoryDC_p")) {
8621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMemoryDC_SelectObject. Expected _wxMemoryDC_p.");
8626 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8627 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
8628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMemoryDC_SelectObject. Expected _wxBitmap_p.");
8633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8634 wxMemoryDC_SelectObject(_arg0
,*_arg1
);
8636 wxPyEndAllowThreads(__tstate
);
8637 if (PyErr_Occurred()) return NULL
;
8638 } Py_INCREF(Py_None
);
8639 _resultobj
= Py_None
;
8643 static void *SwigwxBufferedDCTowxMemoryDC(void *ptr
) {
8646 src
= (wxBufferedDC
*) ptr
;
8647 dest
= (wxMemoryDC
*) src
;
8648 return (void *) dest
;
8651 static void *SwigwxBufferedDCTowxDC(void *ptr
) {
8654 src
= (wxBufferedDC
*) ptr
;
8655 dest
= (wxDC
*) src
;
8656 return (void *) dest
;
8659 static void *SwigwxBufferedDCTowxObject(void *ptr
) {
8662 src
= (wxBufferedDC
*) ptr
;
8663 dest
= (wxObject
*) src
;
8664 return (void *) dest
;
8667 #define new_wxBufferedDC(_swigarg0,_swigarg1) (new wxBufferedDC(_swigarg0,_swigarg1))
8668 static PyObject
*_wrap_new_wxBufferedDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8669 PyObject
* _resultobj
;
8670 wxBufferedDC
* _result
;
8673 PyObject
* _argo0
= 0;
8674 PyObject
* _argo1
= 0;
8675 char *_kwnames
[] = { "dc","buffer", NULL
};
8679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxBufferedDC",_kwnames
,&_argo0
,&_argo1
))
8682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBufferedDC. Expected _wxDC_p.");
8689 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8690 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
8691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxBufferedDC. Expected _wxBitmap_p.");
8696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8697 _result
= (wxBufferedDC
*)new_wxBufferedDC(_arg0
,*_arg1
);
8699 wxPyEndAllowThreads(__tstate
);
8700 if (PyErr_Occurred()) return NULL
;
8702 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBufferedDC_p");
8703 _resultobj
= Py_BuildValue("s",_ptemp
);
8706 _resultobj
= Py_None
;
8711 #define new_wxBufferedDCInternalBuffer(_swigarg0,_swigarg1) (new wxBufferedDC(_swigarg0,_swigarg1))
8712 static PyObject
*_wrap_new_wxBufferedDCInternalBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8713 PyObject
* _resultobj
;
8714 wxBufferedDC
* _result
;
8717 PyObject
* _argo0
= 0;
8719 PyObject
* _obj1
= 0;
8720 char *_kwnames
[] = { "dc","area", NULL
};
8724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxBufferedDCInternalBuffer",_kwnames
,&_argo0
,&_obj1
))
8727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDC_p")) {
8729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBufferedDCInternalBuffer. Expected _wxDC_p.");
8735 if (! wxSize_helper(_obj1
, &_arg1
))
8739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8740 _result
= (wxBufferedDC
*)new_wxBufferedDCInternalBuffer(_arg0
,*_arg1
);
8742 wxPyEndAllowThreads(__tstate
);
8743 if (PyErr_Occurred()) return NULL
;
8745 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBufferedDC_p");
8746 _resultobj
= Py_BuildValue("s",_ptemp
);
8749 _resultobj
= Py_None
;
8754 #define wxBufferedDC_UnMask(_swigobj) (_swigobj->UnMask())
8755 static PyObject
*_wrap_wxBufferedDC_UnMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8756 PyObject
* _resultobj
;
8757 wxBufferedDC
* _arg0
;
8758 PyObject
* _argo0
= 0;
8759 char *_kwnames
[] = { "self", NULL
};
8762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBufferedDC_UnMask",_kwnames
,&_argo0
))
8765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBufferedDC_p")) {
8767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBufferedDC_UnMask. Expected _wxBufferedDC_p.");
8772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8773 wxBufferedDC_UnMask(_arg0
);
8775 wxPyEndAllowThreads(__tstate
);
8776 if (PyErr_Occurred()) return NULL
;
8777 } Py_INCREF(Py_None
);
8778 _resultobj
= Py_None
;
8782 static void *SwigwxBufferedPaintDCTowxBufferedDC(void *ptr
) {
8783 wxBufferedPaintDC
*src
;
8785 src
= (wxBufferedPaintDC
*) ptr
;
8786 dest
= (wxBufferedDC
*) src
;
8787 return (void *) dest
;
8790 static void *SwigwxBufferedPaintDCTowxMemoryDC(void *ptr
) {
8791 wxBufferedPaintDC
*src
;
8793 src
= (wxBufferedPaintDC
*) ptr
;
8794 dest
= (wxMemoryDC
*) src
;
8795 return (void *) dest
;
8798 static void *SwigwxBufferedPaintDCTowxDC(void *ptr
) {
8799 wxBufferedPaintDC
*src
;
8801 src
= (wxBufferedPaintDC
*) ptr
;
8802 dest
= (wxDC
*) src
;
8803 return (void *) dest
;
8806 static void *SwigwxBufferedPaintDCTowxObject(void *ptr
) {
8807 wxBufferedPaintDC
*src
;
8809 src
= (wxBufferedPaintDC
*) ptr
;
8810 dest
= (wxObject
*) src
;
8811 return (void *) dest
;
8814 #define new_wxBufferedPaintDC(_swigarg0,_swigarg1) (new wxBufferedPaintDC(_swigarg0,_swigarg1))
8815 static PyObject
*_wrap_new_wxBufferedPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8816 PyObject
* _resultobj
;
8817 wxBufferedPaintDC
* _result
;
8819 wxBitmap
* _arg1
= (wxBitmap
*) &wxNullBitmap
;
8820 PyObject
* _argo0
= 0;
8821 PyObject
* _argo1
= 0;
8822 char *_kwnames
[] = { "window","buffer", NULL
};
8826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxBufferedPaintDC",_kwnames
,&_argo0
,&_argo1
))
8829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBufferedPaintDC. Expected _wxWindow_p.");
8836 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8837 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
8838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxBufferedPaintDC. Expected _wxBitmap_p.");
8843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8844 _result
= (wxBufferedPaintDC
*)new_wxBufferedPaintDC(_arg0
,*_arg1
);
8846 wxPyEndAllowThreads(__tstate
);
8847 if (PyErr_Occurred()) return NULL
;
8849 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBufferedPaintDC_p");
8850 _resultobj
= Py_BuildValue("s",_ptemp
);
8853 _resultobj
= Py_None
;
8858 static void *SwigwxScreenDCTowxDC(void *ptr
) {
8861 src
= (wxScreenDC
*) ptr
;
8862 dest
= (wxDC
*) src
;
8863 return (void *) dest
;
8866 static void *SwigwxScreenDCTowxObject(void *ptr
) {
8869 src
= (wxScreenDC
*) ptr
;
8870 dest
= (wxObject
*) src
;
8871 return (void *) dest
;
8874 #define new_wxScreenDC() (new wxScreenDC())
8875 static PyObject
*_wrap_new_wxScreenDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8876 PyObject
* _resultobj
;
8877 wxScreenDC
* _result
;
8878 char *_kwnames
[] = { NULL
};
8882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxScreenDC",_kwnames
))
8885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8886 _result
= (wxScreenDC
*)new_wxScreenDC();
8888 wxPyEndAllowThreads(__tstate
);
8889 if (PyErr_Occurred()) return NULL
;
8891 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScreenDC_p");
8892 _resultobj
= Py_BuildValue("s",_ptemp
);
8895 _resultobj
= Py_None
;
8900 #define wxScreenDC_StartDrawingOnTopWin(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
8901 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTopWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8902 PyObject
* _resultobj
;
8906 PyObject
* _argo0
= 0;
8907 PyObject
* _argo1
= 0;
8908 char *_kwnames
[] = { "self","window", NULL
};
8911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScreenDC_StartDrawingOnTopWin",_kwnames
,&_argo0
,&_argo1
))
8914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
8916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTopWin. Expected _wxScreenDC_p.");
8921 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8922 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScreenDC_StartDrawingOnTopWin. Expected _wxWindow_p.");
8928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8929 _result
= (bool )wxScreenDC_StartDrawingOnTopWin(_arg0
,_arg1
);
8931 wxPyEndAllowThreads(__tstate
);
8932 if (PyErr_Occurred()) return NULL
;
8933 } _resultobj
= Py_BuildValue("i",_result
);
8937 #define wxScreenDC_StartDrawingOnTop(_swigobj,_swigarg0) (_swigobj->StartDrawingOnTop(_swigarg0))
8938 static PyObject
*_wrap_wxScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8939 PyObject
* _resultobj
;
8942 wxRect
* _arg1
= (wxRect
*) NULL
;
8943 PyObject
* _argo0
= 0;
8945 PyObject
* _obj1
= 0;
8946 char *_kwnames
[] = { "self","rect", NULL
};
8949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxScreenDC_StartDrawingOnTop",_kwnames
,&_argo0
,&_obj1
))
8952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
8954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_StartDrawingOnTop. Expected _wxScreenDC_p.");
8961 if (! wxRect_helper(_obj1
, &_arg1
))
8965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8966 _result
= (bool )wxScreenDC_StartDrawingOnTop(_arg0
,_arg1
);
8968 wxPyEndAllowThreads(__tstate
);
8969 if (PyErr_Occurred()) return NULL
;
8970 } _resultobj
= Py_BuildValue("i",_result
);
8974 #define wxScreenDC_EndDrawingOnTop(_swigobj) (_swigobj->EndDrawingOnTop())
8975 static PyObject
*_wrap_wxScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8976 PyObject
* _resultobj
;
8979 PyObject
* _argo0
= 0;
8980 char *_kwnames
[] = { "self", NULL
};
8983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScreenDC_EndDrawingOnTop",_kwnames
,&_argo0
))
8986 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8987 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScreenDC_p")) {
8988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScreenDC_EndDrawingOnTop. Expected _wxScreenDC_p.");
8993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8994 _result
= (bool )wxScreenDC_EndDrawingOnTop(_arg0
);
8996 wxPyEndAllowThreads(__tstate
);
8997 if (PyErr_Occurred()) return NULL
;
8998 } _resultobj
= Py_BuildValue("i",_result
);
9002 static void *SwigwxClientDCTowxDC(void *ptr
) {
9005 src
= (wxClientDC
*) ptr
;
9006 dest
= (wxDC
*) src
;
9007 return (void *) dest
;
9010 static void *SwigwxClientDCTowxObject(void *ptr
) {
9013 src
= (wxClientDC
*) ptr
;
9014 dest
= (wxObject
*) src
;
9015 return (void *) dest
;
9018 #define new_wxClientDC(_swigarg0) (new wxClientDC(_swigarg0))
9019 static PyObject
*_wrap_new_wxClientDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9020 PyObject
* _resultobj
;
9021 wxClientDC
* _result
;
9023 PyObject
* _argo0
= 0;
9024 char *_kwnames
[] = { "win", NULL
};
9028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxClientDC",_kwnames
,&_argo0
))
9031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxClientDC. Expected _wxWindow_p.");
9038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9039 _result
= (wxClientDC
*)new_wxClientDC(_arg0
);
9041 wxPyEndAllowThreads(__tstate
);
9042 if (PyErr_Occurred()) return NULL
;
9044 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxClientDC_p");
9045 _resultobj
= Py_BuildValue("s",_ptemp
);
9048 _resultobj
= Py_None
;
9053 static void *SwigwxPaintDCTowxDC(void *ptr
) {
9056 src
= (wxPaintDC
*) ptr
;
9057 dest
= (wxDC
*) src
;
9058 return (void *) dest
;
9061 static void *SwigwxPaintDCTowxObject(void *ptr
) {
9064 src
= (wxPaintDC
*) ptr
;
9065 dest
= (wxObject
*) src
;
9066 return (void *) dest
;
9069 #define new_wxPaintDC(_swigarg0) (new wxPaintDC(_swigarg0))
9070 static PyObject
*_wrap_new_wxPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9071 PyObject
* _resultobj
;
9072 wxPaintDC
* _result
;
9074 PyObject
* _argo0
= 0;
9075 char *_kwnames
[] = { "win", NULL
};
9079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPaintDC",_kwnames
,&_argo0
))
9082 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9083 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPaintDC. Expected _wxWindow_p.");
9089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9090 _result
= (wxPaintDC
*)new_wxPaintDC(_arg0
);
9092 wxPyEndAllowThreads(__tstate
);
9093 if (PyErr_Occurred()) return NULL
;
9095 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPaintDC_p");
9096 _resultobj
= Py_BuildValue("s",_ptemp
);
9099 _resultobj
= Py_None
;
9104 static void *SwigwxWindowDCTowxDC(void *ptr
) {
9107 src
= (wxWindowDC
*) ptr
;
9108 dest
= (wxDC
*) src
;
9109 return (void *) dest
;
9112 static void *SwigwxWindowDCTowxObject(void *ptr
) {
9115 src
= (wxWindowDC
*) ptr
;
9116 dest
= (wxObject
*) src
;
9117 return (void *) dest
;
9120 #define new_wxWindowDC(_swigarg0) (new wxWindowDC(_swigarg0))
9121 static PyObject
*_wrap_new_wxWindowDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9122 PyObject
* _resultobj
;
9123 wxWindowDC
* _result
;
9125 PyObject
* _argo0
= 0;
9126 char *_kwnames
[] = { "win", NULL
};
9130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxWindowDC",_kwnames
,&_argo0
))
9133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDC. Expected _wxWindow_p.");
9140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9141 _result
= (wxWindowDC
*)new_wxWindowDC(_arg0
);
9143 wxPyEndAllowThreads(__tstate
);
9144 if (PyErr_Occurred()) return NULL
;
9146 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDC_p");
9147 _resultobj
= Py_BuildValue("s",_ptemp
);
9150 _resultobj
= Py_None
;
9155 static void *SwigwxMetaFileTowxObject(void *ptr
) {
9158 src
= (wxMetaFile
*) ptr
;
9159 dest
= (wxObject
*) src
;
9160 return (void *) dest
;
9163 #define new_wxMetaFile(_swigarg0) (new wxMetaFile(_swigarg0))
9164 static PyObject
*_wrap_new_wxMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9165 PyObject
* _resultobj
;
9166 wxMetaFile
* _result
;
9167 wxString
* _arg0
= (wxString
*) &wxPyEmptyString
;
9168 PyObject
* _obj0
= 0;
9169 char *_kwnames
[] = { "filename", NULL
};
9173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxMetaFile",_kwnames
,&_obj0
))
9177 _arg0
= wxString_in_helper(_obj0
);
9182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9183 _result
= (wxMetaFile
*)new_wxMetaFile(*_arg0
);
9185 wxPyEndAllowThreads(__tstate
);
9186 if (PyErr_Occurred()) return NULL
;
9188 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMetaFile_p");
9189 _resultobj
= Py_BuildValue("s",_ptemp
);
9192 _resultobj
= Py_None
;
9201 #define delete_wxMetaFile(_swigobj) (delete _swigobj)
9202 static PyObject
*_wrap_delete_wxMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9203 PyObject
* _resultobj
;
9205 PyObject
* _argo0
= 0;
9206 char *_kwnames
[] = { "self", NULL
};
9209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMetaFile",_kwnames
,&_argo0
))
9212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMetaFile_p")) {
9214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMetaFile. Expected _wxMetaFile_p.");
9219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9220 delete_wxMetaFile(_arg0
);
9222 wxPyEndAllowThreads(__tstate
);
9223 if (PyErr_Occurred()) return NULL
;
9224 } Py_INCREF(Py_None
);
9225 _resultobj
= Py_None
;
9229 #define wxMetaFile_Ok(_swigobj) (_swigobj->Ok())
9230 static PyObject
*_wrap_wxMetaFile_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9231 PyObject
* _resultobj
;
9234 PyObject
* _argo0
= 0;
9235 char *_kwnames
[] = { "self", NULL
};
9238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMetaFile_Ok",_kwnames
,&_argo0
))
9241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMetaFile_p")) {
9243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMetaFile_Ok. Expected _wxMetaFile_p.");
9248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9249 _result
= (bool )wxMetaFile_Ok(_arg0
);
9251 wxPyEndAllowThreads(__tstate
);
9252 if (PyErr_Occurred()) return NULL
;
9253 } _resultobj
= Py_BuildValue("i",_result
);
9257 #define wxMetaFile_SetClipboard(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClipboard(_swigarg0,_swigarg1))
9258 static PyObject
*_wrap_wxMetaFile_SetClipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9259 PyObject
* _resultobj
;
9262 int _arg1
= (int ) 0;
9263 int _arg2
= (int ) 0;
9264 PyObject
* _argo0
= 0;
9265 char *_kwnames
[] = { "self","width","height", NULL
};
9268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxMetaFile_SetClipboard",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9271 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9272 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMetaFile_p")) {
9273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMetaFile_SetClipboard. Expected _wxMetaFile_p.");
9278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9279 _result
= (bool )wxMetaFile_SetClipboard(_arg0
,_arg1
,_arg2
);
9281 wxPyEndAllowThreads(__tstate
);
9282 if (PyErr_Occurred()) return NULL
;
9283 } _resultobj
= Py_BuildValue("i",_result
);
9287 #define wxMetaFile_GetSize(_swigobj) (_swigobj->GetSize())
9288 static PyObject
*_wrap_wxMetaFile_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9289 PyObject
* _resultobj
;
9292 PyObject
* _argo0
= 0;
9293 char *_kwnames
[] = { "self", NULL
};
9297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMetaFile_GetSize",_kwnames
,&_argo0
))
9300 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9301 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMetaFile_p")) {
9302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMetaFile_GetSize. Expected _wxMetaFile_p.");
9307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9308 _result
= new wxSize (wxMetaFile_GetSize(_arg0
));
9310 wxPyEndAllowThreads(__tstate
);
9311 if (PyErr_Occurred()) return NULL
;
9312 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
9313 _resultobj
= Py_BuildValue("s",_ptemp
);
9317 #define wxMetaFile_GetWidth(_swigobj) (_swigobj->GetWidth())
9318 static PyObject
*_wrap_wxMetaFile_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9319 PyObject
* _resultobj
;
9322 PyObject
* _argo0
= 0;
9323 char *_kwnames
[] = { "self", NULL
};
9326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMetaFile_GetWidth",_kwnames
,&_argo0
))
9329 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9330 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMetaFile_p")) {
9331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMetaFile_GetWidth. Expected _wxMetaFile_p.");
9336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9337 _result
= (int )wxMetaFile_GetWidth(_arg0
);
9339 wxPyEndAllowThreads(__tstate
);
9340 if (PyErr_Occurred()) return NULL
;
9341 } _resultobj
= Py_BuildValue("i",_result
);
9345 #define wxMetaFile_GetHeight(_swigobj) (_swigobj->GetHeight())
9346 static PyObject
*_wrap_wxMetaFile_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9347 PyObject
* _resultobj
;
9350 PyObject
* _argo0
= 0;
9351 char *_kwnames
[] = { "self", NULL
};
9354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMetaFile_GetHeight",_kwnames
,&_argo0
))
9357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMetaFile_p")) {
9359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMetaFile_GetHeight. Expected _wxMetaFile_p.");
9364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9365 _result
= (int )wxMetaFile_GetHeight(_arg0
);
9367 wxPyEndAllowThreads(__tstate
);
9368 if (PyErr_Occurred()) return NULL
;
9369 } _resultobj
= Py_BuildValue("i",_result
);
9373 #define wxMetaFile_GetFileName(_swigobj) (_swigobj->GetFileName())
9374 static PyObject
*_wrap_wxMetaFile_GetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9375 PyObject
* _resultobj
;
9378 PyObject
* _argo0
= 0;
9379 char *_kwnames
[] = { "self", NULL
};
9382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMetaFile_GetFileName",_kwnames
,&_argo0
))
9385 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9386 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMetaFile_p")) {
9387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMetaFile_GetFileName. Expected _wxMetaFile_p.");
9392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9393 const wxString
& _result_ref
= wxMetaFile_GetFileName(_arg0
);
9394 _result
= (wxString
*) &_result_ref
;
9396 wxPyEndAllowThreads(__tstate
);
9397 if (PyErr_Occurred()) return NULL
;
9400 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9402 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9408 static void *SwigwxMetaFileDCTowxDC(void *ptr
) {
9411 src
= (wxMetaFileDC
*) ptr
;
9412 dest
= (wxDC
*) src
;
9413 return (void *) dest
;
9416 static void *SwigwxMetaFileDCTowxObject(void *ptr
) {
9419 src
= (wxMetaFileDC
*) ptr
;
9420 dest
= (wxObject
*) src
;
9421 return (void *) dest
;
9424 #define new_wxMetaFileDC(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxMetaFileDC(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9425 static PyObject
*_wrap_new_wxMetaFileDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9426 PyObject
* _resultobj
;
9427 wxMetaFileDC
* _result
;
9428 wxString
* _arg0
= (wxString
*) &wxPyEmptyString
;
9429 int _arg1
= (int ) 0;
9430 int _arg2
= (int ) 0;
9431 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
9432 PyObject
* _obj0
= 0;
9433 PyObject
* _obj3
= 0;
9434 char *_kwnames
[] = { "filename","width","height","description", NULL
};
9438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OiiO:new_wxMetaFileDC",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_obj3
))
9442 _arg0
= wxString_in_helper(_obj0
);
9448 _arg3
= wxString_in_helper(_obj3
);
9453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9454 _result
= (wxMetaFileDC
*)new_wxMetaFileDC(*_arg0
,_arg1
,_arg2
,*_arg3
);
9456 wxPyEndAllowThreads(__tstate
);
9457 if (PyErr_Occurred()) return NULL
;
9459 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMetaFileDC_p");
9460 _resultobj
= Py_BuildValue("s",_ptemp
);
9463 _resultobj
= Py_None
;
9476 #define wxMetaFileDC_Close(_swigobj) (_swigobj->Close())
9477 static PyObject
*_wrap_wxMetaFileDC_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9478 PyObject
* _resultobj
;
9479 wxMetaFile
* _result
;
9480 wxMetaFileDC
* _arg0
;
9481 PyObject
* _argo0
= 0;
9482 char *_kwnames
[] = { "self", NULL
};
9486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMetaFileDC_Close",_kwnames
,&_argo0
))
9489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMetaFileDC_p")) {
9491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMetaFileDC_Close. Expected _wxMetaFileDC_p.");
9496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9497 _result
= (wxMetaFile
*)wxMetaFileDC_Close(_arg0
);
9499 wxPyEndAllowThreads(__tstate
);
9500 if (PyErr_Occurred()) return NULL
;
9502 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMetaFile_p");
9503 _resultobj
= Py_BuildValue("s",_ptemp
);
9506 _resultobj
= Py_None
;
9511 static void *SwigwxPaletteTowxGDIObject(void *ptr
) {
9514 src
= (wxPalette
*) ptr
;
9515 dest
= (wxGDIObject
*) src
;
9516 return (void *) dest
;
9519 static void *SwigwxPaletteTowxObject(void *ptr
) {
9522 src
= (wxPalette
*) ptr
;
9523 dest
= (wxObject
*) src
;
9524 return (void *) dest
;
9527 #define new_wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxPalette(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9528 static PyObject
*_wrap_new_wxPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9529 PyObject
* _resultobj
;
9530 wxPalette
* _result
;
9535 PyObject
* _obj1
= 0;
9536 PyObject
* _obj2
= 0;
9537 PyObject
* _obj3
= 0;
9538 char *_kwnames
[] = { "choices","choices","choices", NULL
};
9542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:new_wxPalette",_kwnames
,&_obj1
,&_obj2
,&_obj3
))
9545 _arg1
= byte_LIST_helper(_obj1
);
9546 if (_arg1
== NULL
) {
9551 _arg2
= byte_LIST_helper(_obj2
);
9552 if (_arg2
== NULL
) {
9558 _arg3
= byte_LIST_helper(_obj3
);
9559 if (_arg3
== NULL
) {
9565 _arg0
= PyList_Size(_obj1
);
9572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9573 _result
= (wxPalette
*)new_wxPalette(_arg0
,_arg1
,_arg2
,_arg3
);
9575 wxPyEndAllowThreads(__tstate
);
9576 if (PyErr_Occurred()) return NULL
;
9578 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPalette_p");
9579 _resultobj
= Py_BuildValue("s",_ptemp
);
9582 _resultobj
= Py_None
;
9596 #define delete_wxPalette(_swigobj) (delete _swigobj)
9597 static PyObject
*_wrap_delete_wxPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9598 PyObject
* _resultobj
;
9600 PyObject
* _argo0
= 0;
9601 char *_kwnames
[] = { "self", NULL
};
9604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPalette",_kwnames
,&_argo0
))
9607 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9608 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
9609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPalette. Expected _wxPalette_p.");
9614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9615 delete_wxPalette(_arg0
);
9617 wxPyEndAllowThreads(__tstate
);
9618 if (PyErr_Occurred()) return NULL
;
9619 } Py_INCREF(Py_None
);
9620 _resultobj
= Py_None
;
9624 #define wxPalette_GetPixel(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetPixel(_swigarg0,_swigarg1,_swigarg2))
9625 static PyObject
*_wrap_wxPalette_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9626 PyObject
* _resultobj
;
9632 PyObject
* _argo0
= 0;
9633 char *_kwnames
[] = { "self","red","green","blue", NULL
};
9636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Obbb:wxPalette_GetPixel",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
9639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
9641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetPixel. Expected _wxPalette_p.");
9646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9647 _result
= (int )wxPalette_GetPixel(_arg0
,_arg1
,_arg2
,_arg3
);
9649 wxPyEndAllowThreads(__tstate
);
9650 if (PyErr_Occurred()) return NULL
;
9651 } _resultobj
= Py_BuildValue("i",_result
);
9655 #define wxPalette_GetRGB(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetRGB(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9656 static PyObject
*_wrap_wxPalette_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9657 PyObject
* _resultobj
;
9667 PyObject
* _argo0
= 0;
9668 char *_kwnames
[] = { "self","pixel", NULL
};
9672 _arg2
= (byte
*)&temp
;
9675 _arg3
= (byte
*)&temp0
;
9678 _arg4
= (byte
*)&temp1
;
9680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPalette_GetRGB",_kwnames
,&_argo0
,&_arg1
))
9683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
9685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_GetRGB. Expected _wxPalette_p.");
9690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9691 _result
= (bool )wxPalette_GetRGB(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
9693 wxPyEndAllowThreads(__tstate
);
9694 if (PyErr_Occurred()) return NULL
;
9695 } _resultobj
= Py_BuildValue("i",_result
);
9698 o
= PyInt_FromLong((long) (*_arg2
));
9699 _resultobj
= t_output_helper(_resultobj
, o
);
9703 o
= PyInt_FromLong((long) (*_arg3
));
9704 _resultobj
= t_output_helper(_resultobj
, o
);
9708 o
= PyInt_FromLong((long) (*_arg4
));
9709 _resultobj
= t_output_helper(_resultobj
, o
);
9714 #define wxPalette_Ok(_swigobj) (_swigobj->Ok())
9715 static PyObject
*_wrap_wxPalette_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9716 PyObject
* _resultobj
;
9719 PyObject
* _argo0
= 0;
9720 char *_kwnames
[] = { "self", NULL
};
9723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPalette_Ok",_kwnames
,&_argo0
))
9726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPalette_p")) {
9728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPalette_Ok. Expected _wxPalette_p.");
9733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9734 _result
= (bool )wxPalette_Ok(_arg0
);
9736 wxPyEndAllowThreads(__tstate
);
9737 if (PyErr_Occurred()) return NULL
;
9738 } _resultobj
= Py_BuildValue("i",_result
);
9742 static void *SwigwxImageListTowxObject(void *ptr
) {
9745 src
= (wxImageList
*) ptr
;
9746 dest
= (wxObject
*) src
;
9747 return (void *) dest
;
9750 #define new_wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxImageList(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9751 static PyObject
*_wrap_new_wxImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9752 PyObject
* _resultobj
;
9753 wxImageList
* _result
;
9756 int _arg2
= (int ) TRUE
;
9757 int _arg3
= (int ) 1;
9758 char *_kwnames
[] = { "width","height","mask","initialCount", NULL
};
9762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ii|ii:new_wxImageList",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
9765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9766 _result
= (wxImageList
*)new_wxImageList(_arg0
,_arg1
,_arg2
,_arg3
);
9768 wxPyEndAllowThreads(__tstate
);
9769 if (PyErr_Occurred()) return NULL
;
9771 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageList_p");
9772 _resultobj
= Py_BuildValue("s",_ptemp
);
9775 _resultobj
= Py_None
;
9780 #define delete_wxImageList(_swigobj) (delete _swigobj)
9781 static PyObject
*_wrap_delete_wxImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9782 PyObject
* _resultobj
;
9783 wxImageList
* _arg0
;
9784 PyObject
* _argo0
= 0;
9785 char *_kwnames
[] = { "self", NULL
};
9788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxImageList",_kwnames
,&_argo0
))
9791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
9793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxImageList. Expected _wxImageList_p.");
9798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9799 delete_wxImageList(_arg0
);
9801 wxPyEndAllowThreads(__tstate
);
9802 if (PyErr_Occurred()) return NULL
;
9803 } Py_INCREF(Py_None
);
9804 _resultobj
= Py_None
;
9808 #define wxImageList_Add(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
9809 static PyObject
*_wrap_wxImageList_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9810 PyObject
* _resultobj
;
9812 wxImageList
* _arg0
;
9814 wxBitmap
* _arg2
= (wxBitmap
*) &wxNullBitmap
;
9815 PyObject
* _argo0
= 0;
9816 PyObject
* _argo1
= 0;
9817 PyObject
* _argo2
= 0;
9818 char *_kwnames
[] = { "self","bitmap","mask", NULL
};
9821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxImageList_Add",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
9824 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9825 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
9826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Add. Expected _wxImageList_p.");
9831 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9832 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
9833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_Add. Expected _wxBitmap_p.");
9838 if (_argo2
== Py_None
) { _arg2
= NULL
; }
9839 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
9840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Add. Expected _wxBitmap_p.");
9845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9846 _result
= (int )wxImageList_Add(_arg0
,*_arg1
,*_arg2
);
9848 wxPyEndAllowThreads(__tstate
);
9849 if (PyErr_Occurred()) return NULL
;
9850 } _resultobj
= Py_BuildValue("i",_result
);
9854 #define wxImageList_AddWithColourMask(_swigobj,_swigarg0,_swigarg1) (_swigobj->Add(_swigarg0,_swigarg1))
9855 static PyObject
*_wrap_wxImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9856 PyObject
* _resultobj
;
9858 wxImageList
* _arg0
;
9861 PyObject
* _argo0
= 0;
9862 PyObject
* _argo1
= 0;
9864 PyObject
* _obj2
= 0;
9865 char *_kwnames
[] = { "self","bitmap","maskColour", NULL
};
9868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxImageList_AddWithColourMask",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
9871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
9873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_AddWithColourMask. Expected _wxImageList_p.");
9878 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9879 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
9880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_AddWithColourMask. Expected _wxBitmap_p.");
9886 if (! wxColour_helper(_obj2
, &_arg2
))
9890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9891 _result
= (int )wxImageList_AddWithColourMask(_arg0
,*_arg1
,*_arg2
);
9893 wxPyEndAllowThreads(__tstate
);
9894 if (PyErr_Occurred()) return NULL
;
9895 } _resultobj
= Py_BuildValue("i",_result
);
9899 #define wxImageList_AddIcon(_swigobj,_swigarg0) (_swigobj->Add(_swigarg0))
9900 static PyObject
*_wrap_wxImageList_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9901 PyObject
* _resultobj
;
9903 wxImageList
* _arg0
;
9905 PyObject
* _argo0
= 0;
9906 PyObject
* _argo1
= 0;
9907 char *_kwnames
[] = { "self","icon", NULL
};
9910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxImageList_AddIcon",_kwnames
,&_argo0
,&_argo1
))
9913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
9915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_AddIcon. Expected _wxImageList_p.");
9920 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9921 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
9922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImageList_AddIcon. Expected _wxIcon_p.");
9927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9928 _result
= (int )wxImageList_AddIcon(_arg0
,*_arg1
);
9930 wxPyEndAllowThreads(__tstate
);
9931 if (PyErr_Occurred()) return NULL
;
9932 } _resultobj
= Py_BuildValue("i",_result
);
9936 #define wxImageList_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
9937 static PyObject
*_wrap_wxImageList_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9938 PyObject
* _resultobj
;
9940 wxImageList
* _arg0
;
9943 wxBitmap
* _arg3
= (wxBitmap
*) &wxNullBitmap
;
9944 PyObject
* _argo0
= 0;
9945 PyObject
* _argo2
= 0;
9946 PyObject
* _argo3
= 0;
9947 char *_kwnames
[] = { "self","index","bitmap","mask", NULL
};
9950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxImageList_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
))
9953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
9955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Replace. Expected _wxImageList_p.");
9960 if (_argo2
== Py_None
) { _arg2
= NULL
; }
9961 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
9962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Replace. Expected _wxBitmap_p.");
9967 if (_argo3
== Py_None
) { _arg3
= NULL
; }
9968 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
9969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxImageList_Replace. Expected _wxBitmap_p.");
9974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9975 _result
= (bool )wxImageList_Replace(_arg0
,_arg1
,*_arg2
,*_arg3
);
9977 wxPyEndAllowThreads(__tstate
);
9978 if (PyErr_Occurred()) return NULL
;
9979 } _resultobj
= Py_BuildValue("i",_result
);
9983 #define wxImageList_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
9984 static PyObject
*_wrap_wxImageList_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9985 PyObject
* _resultobj
;
9987 wxImageList
* _arg0
;
9992 int _arg5
= (int ) (wxIMAGELIST_DRAW_NORMAL
);
9993 bool _arg6
= (bool ) FALSE
;
9994 PyObject
* _argo0
= 0;
9995 PyObject
* _argo2
= 0;
9996 int tempbool6
= (int) FALSE
;
9997 char *_kwnames
[] = { "self","index","dc","x","x","flags","solidBackground", NULL
};
10000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOii|ii:wxImageList_Draw",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
10003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Draw. Expected _wxImageList_p.");
10010 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10011 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDC_p")) {
10012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxImageList_Draw. Expected _wxDC_p.");
10016 _arg6
= (bool ) tempbool6
;
10018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10019 _result
= (bool )wxImageList_Draw(_arg0
,_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
10021 wxPyEndAllowThreads(__tstate
);
10022 if (PyErr_Occurred()) return NULL
;
10023 } _resultobj
= Py_BuildValue("i",_result
);
10027 #define wxImageList_GetImageCount(_swigobj) (_swigobj->GetImageCount())
10028 static PyObject
*_wrap_wxImageList_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10029 PyObject
* _resultobj
;
10031 wxImageList
* _arg0
;
10032 PyObject
* _argo0
= 0;
10033 char *_kwnames
[] = { "self", NULL
};
10036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImageList_GetImageCount",_kwnames
,&_argo0
))
10039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_GetImageCount. Expected _wxImageList_p.");
10046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10047 _result
= (int )wxImageList_GetImageCount(_arg0
);
10049 wxPyEndAllowThreads(__tstate
);
10050 if (PyErr_Occurred()) return NULL
;
10051 } _resultobj
= Py_BuildValue("i",_result
);
10055 #define wxImageList_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
10056 static PyObject
*_wrap_wxImageList_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10057 PyObject
* _resultobj
;
10059 wxImageList
* _arg0
;
10061 PyObject
* _argo0
= 0;
10062 char *_kwnames
[] = { "self","index", NULL
};
10065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxImageList_Remove",_kwnames
,&_argo0
,&_arg1
))
10068 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10069 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_Remove. Expected _wxImageList_p.");
10075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10076 _result
= (bool )wxImageList_Remove(_arg0
,_arg1
);
10078 wxPyEndAllowThreads(__tstate
);
10079 if (PyErr_Occurred()) return NULL
;
10080 } _resultobj
= Py_BuildValue("i",_result
);
10084 #define wxImageList_RemoveAll(_swigobj) (_swigobj->RemoveAll())
10085 static PyObject
*_wrap_wxImageList_RemoveAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10086 PyObject
* _resultobj
;
10088 wxImageList
* _arg0
;
10089 PyObject
* _argo0
= 0;
10090 char *_kwnames
[] = { "self", NULL
};
10093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImageList_RemoveAll",_kwnames
,&_argo0
))
10096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_RemoveAll. Expected _wxImageList_p.");
10103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10104 _result
= (bool )wxImageList_RemoveAll(_arg0
);
10106 wxPyEndAllowThreads(__tstate
);
10107 if (PyErr_Occurred()) return NULL
;
10108 } _resultobj
= Py_BuildValue("i",_result
);
10112 #define wxImageList_GetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetSize(_swigarg0,_swigarg1,_swigarg2))
10113 static PyObject
*_wrap_wxImageList_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10114 PyObject
* _resultobj
;
10115 wxImageList
* _arg0
;
10121 PyObject
* _argo0
= 0;
10122 char *_kwnames
[] = { "self","index", NULL
};
10131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxImageList_GetSize",_kwnames
,&_argo0
,&_arg1
))
10134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageList_p")) {
10136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageList_GetSize. Expected _wxImageList_p.");
10141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10142 wxImageList_GetSize(_arg0
,_arg1
,*_arg2
,*_arg3
);
10144 wxPyEndAllowThreads(__tstate
);
10145 if (PyErr_Occurred()) return NULL
;
10146 } Py_INCREF(Py_None
);
10147 _resultobj
= Py_None
;
10150 o
= PyInt_FromLong((long) (*_arg2
));
10151 _resultobj
= t_output_helper(_resultobj
, o
);
10155 o
= PyInt_FromLong((long) (*_arg3
));
10156 _resultobj
= t_output_helper(_resultobj
, o
);
10161 static void *SwigwxRegionTowxGDIObject(void *ptr
) {
10164 src
= (wxRegion
*) ptr
;
10165 dest
= (wxGDIObject
*) src
;
10166 return (void *) dest
;
10169 static void *SwigwxRegionTowxObject(void *ptr
) {
10172 src
= (wxRegion
*) ptr
;
10173 dest
= (wxObject
*) src
;
10174 return (void *) dest
;
10177 #define new_wxRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10178 static PyObject
*_wrap_new_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10179 PyObject
* _resultobj
;
10180 wxRegion
* _result
;
10181 long _arg0
= (long ) 0;
10182 long _arg1
= (long ) 0;
10183 long _arg2
= (long ) 0;
10184 long _arg3
= (long ) 0;
10185 char *_kwnames
[] = { "x","y","width","height", NULL
};
10189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|llll:new_wxRegion",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
10192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10193 _result
= (wxRegion
*)new_wxRegion(_arg0
,_arg1
,_arg2
,_arg3
);
10195 wxPyEndAllowThreads(__tstate
);
10196 if (PyErr_Occurred()) return NULL
;
10198 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegion_p");
10199 _resultobj
= Py_BuildValue("s",_ptemp
);
10201 Py_INCREF(Py_None
);
10202 _resultobj
= Py_None
;
10207 #define delete_wxRegion(_swigobj) (delete _swigobj)
10208 static PyObject
*_wrap_delete_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10209 PyObject
* _resultobj
;
10211 PyObject
* _argo0
= 0;
10212 char *_kwnames
[] = { "self", NULL
};
10215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegion",_kwnames
,&_argo0
))
10218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegion. Expected _wxRegion_p.");
10225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10226 delete_wxRegion(_arg0
);
10228 wxPyEndAllowThreads(__tstate
);
10229 if (PyErr_Occurred()) return NULL
;
10230 } Py_INCREF(Py_None
);
10231 _resultobj
= Py_None
;
10235 #define wxRegion_Clear(_swigobj) (_swigobj->Clear())
10236 static PyObject
*_wrap_wxRegion_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10237 PyObject
* _resultobj
;
10239 PyObject
* _argo0
= 0;
10240 char *_kwnames
[] = { "self", NULL
};
10243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_Clear",_kwnames
,&_argo0
))
10246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Clear. Expected _wxRegion_p.");
10253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10254 wxRegion_Clear(_arg0
);
10256 wxPyEndAllowThreads(__tstate
);
10257 if (PyErr_Occurred()) return NULL
;
10258 } Py_INCREF(Py_None
);
10259 _resultobj
= Py_None
;
10263 #define wxRegion_Offset(_swigobj,_swigarg0,_swigarg1) (_swigobj->Offset(_swigarg0,_swigarg1))
10264 static PyObject
*_wrap_wxRegion_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10265 PyObject
* _resultobj
;
10270 PyObject
* _argo0
= 0;
10271 char *_kwnames
[] = { "self","x","y", NULL
};
10274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRegion_Offset",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Offset. Expected _wxRegion_p.");
10284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10285 _result
= (bool )wxRegion_Offset(_arg0
,_arg1
,_arg2
);
10287 wxPyEndAllowThreads(__tstate
);
10288 if (PyErr_Occurred()) return NULL
;
10289 } _resultobj
= Py_BuildValue("i",_result
);
10293 #define wxRegion_Contains(_swigobj,_swigarg0,_swigarg1) (_swigobj->Contains(_swigarg0,_swigarg1))
10294 static PyObject
*_wrap_wxRegion_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10295 PyObject
* _resultobj
;
10296 wxRegionContain _result
;
10300 PyObject
* _argo0
= 0;
10301 char *_kwnames
[] = { "self","x","y", NULL
};
10304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxRegion_Contains",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Contains. Expected _wxRegion_p.");
10314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10315 _result
= (wxRegionContain
)wxRegion_Contains(_arg0
,_arg1
,_arg2
);
10317 wxPyEndAllowThreads(__tstate
);
10318 if (PyErr_Occurred()) return NULL
;
10319 } _resultobj
= Py_BuildValue("i",_result
);
10323 #define wxRegion_ContainsPoint(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
10324 static PyObject
*_wrap_wxRegion_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10325 PyObject
* _resultobj
;
10326 wxRegionContain _result
;
10329 PyObject
* _argo0
= 0;
10331 PyObject
* _obj1
= 0;
10332 char *_kwnames
[] = { "self","pt", NULL
};
10335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsPoint",_kwnames
,&_argo0
,&_obj1
))
10338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsPoint. Expected _wxRegion_p.");
10346 if (! wxPoint_helper(_obj1
, &_arg1
))
10350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10351 _result
= (wxRegionContain
)wxRegion_ContainsPoint(_arg0
,*_arg1
);
10353 wxPyEndAllowThreads(__tstate
);
10354 if (PyErr_Occurred()) return NULL
;
10355 } _resultobj
= Py_BuildValue("i",_result
);
10359 #define wxRegion_ContainsRect(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
10360 static PyObject
*_wrap_wxRegion_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10361 PyObject
* _resultobj
;
10362 wxRegionContain _result
;
10365 PyObject
* _argo0
= 0;
10367 PyObject
* _obj1
= 0;
10368 char *_kwnames
[] = { "self","rect", NULL
};
10371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsRect",_kwnames
,&_argo0
,&_obj1
))
10374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRect. Expected _wxRegion_p.");
10382 if (! wxRect_helper(_obj1
, &_arg1
))
10386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10387 _result
= (wxRegionContain
)wxRegion_ContainsRect(_arg0
,*_arg1
);
10389 wxPyEndAllowThreads(__tstate
);
10390 if (PyErr_Occurred()) return NULL
;
10391 } _resultobj
= Py_BuildValue("i",_result
);
10395 #define wxRegion_ContainsRectDim(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Contains(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10396 static PyObject
*_wrap_wxRegion_ContainsRectDim(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10397 PyObject
* _resultobj
;
10398 wxRegionContain _result
;
10404 PyObject
* _argo0
= 0;
10405 char *_kwnames
[] = { "self","x","y","w","h", NULL
};
10408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_ContainsRectDim",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
10411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRectDim. Expected _wxRegion_p.");
10418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10419 _result
= (wxRegionContain
)wxRegion_ContainsRectDim(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
10421 wxPyEndAllowThreads(__tstate
);
10422 if (PyErr_Occurred()) return NULL
;
10423 } _resultobj
= Py_BuildValue("i",_result
);
10427 #define wxRegion_GetBox(_swigobj) (_swigobj->GetBox())
10428 static PyObject
*_wrap_wxRegion_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10429 PyObject
* _resultobj
;
10432 PyObject
* _argo0
= 0;
10433 char *_kwnames
[] = { "self", NULL
};
10437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_GetBox",_kwnames
,&_argo0
))
10440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_GetBox. Expected _wxRegion_p.");
10447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10448 _result
= new wxRect (wxRegion_GetBox(_arg0
));
10450 wxPyEndAllowThreads(__tstate
);
10451 if (PyErr_Occurred()) return NULL
;
10452 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
10453 _resultobj
= Py_BuildValue("s",_ptemp
);
10457 #define wxRegion_Intersect(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Intersect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10458 static PyObject
*_wrap_wxRegion_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10459 PyObject
* _resultobj
;
10466 PyObject
* _argo0
= 0;
10467 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
10470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Intersect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
10473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Intersect. Expected _wxRegion_p.");
10480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10481 _result
= (bool )wxRegion_Intersect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
10483 wxPyEndAllowThreads(__tstate
);
10484 if (PyErr_Occurred()) return NULL
;
10485 } _resultobj
= Py_BuildValue("i",_result
);
10489 #define wxRegion_IntersectRect(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
10490 static PyObject
*_wrap_wxRegion_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10491 PyObject
* _resultobj
;
10495 PyObject
* _argo0
= 0;
10497 PyObject
* _obj1
= 0;
10498 char *_kwnames
[] = { "self","rect", NULL
};
10501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_IntersectRect",_kwnames
,&_argo0
,&_obj1
))
10504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IntersectRect. Expected _wxRegion_p.");
10512 if (! wxRect_helper(_obj1
, &_arg1
))
10516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10517 _result
= (bool )wxRegion_IntersectRect(_arg0
,*_arg1
);
10519 wxPyEndAllowThreads(__tstate
);
10520 if (PyErr_Occurred()) return NULL
;
10521 } _resultobj
= Py_BuildValue("i",_result
);
10525 #define wxRegion_IntersectRegion(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
10526 static PyObject
*_wrap_wxRegion_IntersectRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10527 PyObject
* _resultobj
;
10531 PyObject
* _argo0
= 0;
10532 PyObject
* _argo1
= 0;
10533 char *_kwnames
[] = { "self","region", NULL
};
10536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_IntersectRegion",_kwnames
,&_argo0
,&_argo1
))
10539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
10546 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10547 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
10548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
10553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10554 _result
= (bool )wxRegion_IntersectRegion(_arg0
,*_arg1
);
10556 wxPyEndAllowThreads(__tstate
);
10557 if (PyErr_Occurred()) return NULL
;
10558 } _resultobj
= Py_BuildValue("i",_result
);
10562 #define wxRegion_IsEmpty(_swigobj) (_swigobj->IsEmpty())
10563 static PyObject
*_wrap_wxRegion_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10564 PyObject
* _resultobj
;
10567 PyObject
* _argo0
= 0;
10568 char *_kwnames
[] = { "self", NULL
};
10571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_IsEmpty",_kwnames
,&_argo0
))
10574 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10575 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IsEmpty. Expected _wxRegion_p.");
10581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10582 _result
= (bool )wxRegion_IsEmpty(_arg0
);
10584 wxPyEndAllowThreads(__tstate
);
10585 if (PyErr_Occurred()) return NULL
;
10586 } _resultobj
= Py_BuildValue("i",_result
);
10590 #define wxRegion_Union(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Union(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10591 static PyObject
*_wrap_wxRegion_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10592 PyObject
* _resultobj
;
10599 PyObject
* _argo0
= 0;
10600 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
10603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Union",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
10606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Union. Expected _wxRegion_p.");
10613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10614 _result
= (bool )wxRegion_Union(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
10616 wxPyEndAllowThreads(__tstate
);
10617 if (PyErr_Occurred()) return NULL
;
10618 } _resultobj
= Py_BuildValue("i",_result
);
10622 #define wxRegion_UnionRect(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
10623 static PyObject
*_wrap_wxRegion_UnionRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10624 PyObject
* _resultobj
;
10628 PyObject
* _argo0
= 0;
10630 PyObject
* _obj1
= 0;
10631 char *_kwnames
[] = { "self","rect", NULL
};
10634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_UnionRect",_kwnames
,&_argo0
,&_obj1
))
10637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_UnionRect. Expected _wxRegion_p.");
10645 if (! wxRect_helper(_obj1
, &_arg1
))
10649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10650 _result
= (bool )wxRegion_UnionRect(_arg0
,*_arg1
);
10652 wxPyEndAllowThreads(__tstate
);
10653 if (PyErr_Occurred()) return NULL
;
10654 } _resultobj
= Py_BuildValue("i",_result
);
10658 #define wxRegion_UnionRegion(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
10659 static PyObject
*_wrap_wxRegion_UnionRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10660 PyObject
* _resultobj
;
10664 PyObject
* _argo0
= 0;
10665 PyObject
* _argo1
= 0;
10666 char *_kwnames
[] = { "self","region", NULL
};
10669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_UnionRegion",_kwnames
,&_argo0
,&_argo1
))
10672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_UnionRegion. Expected _wxRegion_p.");
10679 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10680 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
10681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_UnionRegion. Expected _wxRegion_p.");
10686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10687 _result
= (bool )wxRegion_UnionRegion(_arg0
,*_arg1
);
10689 wxPyEndAllowThreads(__tstate
);
10690 if (PyErr_Occurred()) return NULL
;
10691 } _resultobj
= Py_BuildValue("i",_result
);
10695 #define wxRegion_Subtract(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Subtract(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10696 static PyObject
*_wrap_wxRegion_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10697 PyObject
* _resultobj
;
10704 PyObject
* _argo0
= 0;
10705 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
10708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Subtract",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
10711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Subtract. Expected _wxRegion_p.");
10718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10719 _result
= (bool )wxRegion_Subtract(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
10721 wxPyEndAllowThreads(__tstate
);
10722 if (PyErr_Occurred()) return NULL
;
10723 } _resultobj
= Py_BuildValue("i",_result
);
10727 #define wxRegion_SubtractRect(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
10728 static PyObject
*_wrap_wxRegion_SubtractRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10729 PyObject
* _resultobj
;
10733 PyObject
* _argo0
= 0;
10735 PyObject
* _obj1
= 0;
10736 char *_kwnames
[] = { "self","rect", NULL
};
10739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_SubtractRect",_kwnames
,&_argo0
,&_obj1
))
10742 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10743 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_SubtractRect. Expected _wxRegion_p.");
10750 if (! wxRect_helper(_obj1
, &_arg1
))
10754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10755 _result
= (bool )wxRegion_SubtractRect(_arg0
,*_arg1
);
10757 wxPyEndAllowThreads(__tstate
);
10758 if (PyErr_Occurred()) return NULL
;
10759 } _resultobj
= Py_BuildValue("i",_result
);
10763 #define wxRegion_SubtractRegion(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
10764 static PyObject
*_wrap_wxRegion_SubtractRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10765 PyObject
* _resultobj
;
10769 PyObject
* _argo0
= 0;
10770 PyObject
* _argo1
= 0;
10771 char *_kwnames
[] = { "self","region", NULL
};
10774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_SubtractRegion",_kwnames
,&_argo0
,&_argo1
))
10777 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10778 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
10784 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10785 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
10786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
10791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10792 _result
= (bool )wxRegion_SubtractRegion(_arg0
,*_arg1
);
10794 wxPyEndAllowThreads(__tstate
);
10795 if (PyErr_Occurred()) return NULL
;
10796 } _resultobj
= Py_BuildValue("i",_result
);
10800 #define wxRegion_Xor(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Xor(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10801 static PyObject
*_wrap_wxRegion_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10802 PyObject
* _resultobj
;
10809 PyObject
* _argo0
= 0;
10810 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
10813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Xor",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
10816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Xor. Expected _wxRegion_p.");
10823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10824 _result
= (bool )wxRegion_Xor(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
10826 wxPyEndAllowThreads(__tstate
);
10827 if (PyErr_Occurred()) return NULL
;
10828 } _resultobj
= Py_BuildValue("i",_result
);
10832 #define wxRegion_XorRect(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
10833 static PyObject
*_wrap_wxRegion_XorRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10834 PyObject
* _resultobj
;
10838 PyObject
* _argo0
= 0;
10840 PyObject
* _obj1
= 0;
10841 char *_kwnames
[] = { "self","rect", NULL
};
10844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_XorRect",_kwnames
,&_argo0
,&_obj1
))
10847 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10848 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_XorRect. Expected _wxRegion_p.");
10855 if (! wxRect_helper(_obj1
, &_arg1
))
10859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10860 _result
= (bool )wxRegion_XorRect(_arg0
,*_arg1
);
10862 wxPyEndAllowThreads(__tstate
);
10863 if (PyErr_Occurred()) return NULL
;
10864 } _resultobj
= Py_BuildValue("i",_result
);
10868 #define wxRegion_XorRegion(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
10869 static PyObject
*_wrap_wxRegion_XorRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10870 PyObject
* _resultobj
;
10874 PyObject
* _argo0
= 0;
10875 PyObject
* _argo1
= 0;
10876 char *_kwnames
[] = { "self","region", NULL
};
10879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_XorRegion",_kwnames
,&_argo0
,&_argo1
))
10882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_XorRegion. Expected _wxRegion_p.");
10889 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10890 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
10891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_XorRegion. Expected _wxRegion_p.");
10896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10897 _result
= (bool )wxRegion_XorRegion(_arg0
,*_arg1
);
10899 wxPyEndAllowThreads(__tstate
);
10900 if (PyErr_Occurred()) return NULL
;
10901 } _resultobj
= Py_BuildValue("i",_result
);
10905 static void *SwigwxRegionIteratorTowxObject(void *ptr
) {
10906 wxRegionIterator
*src
;
10908 src
= (wxRegionIterator
*) ptr
;
10909 dest
= (wxObject
*) src
;
10910 return (void *) dest
;
10913 #define new_wxRegionIterator(_swigarg0) (new wxRegionIterator(_swigarg0))
10914 static PyObject
*_wrap_new_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10915 PyObject
* _resultobj
;
10916 wxRegionIterator
* _result
;
10918 PyObject
* _argo0
= 0;
10919 char *_kwnames
[] = { "region", NULL
};
10923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxRegionIterator",_kwnames
,&_argo0
))
10926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
10928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRegionIterator. Expected _wxRegion_p.");
10933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10934 _result
= (wxRegionIterator
*)new_wxRegionIterator(*_arg0
);
10936 wxPyEndAllowThreads(__tstate
);
10937 if (PyErr_Occurred()) return NULL
;
10939 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegionIterator_p");
10940 _resultobj
= Py_BuildValue("s",_ptemp
);
10942 Py_INCREF(Py_None
);
10943 _resultobj
= Py_None
;
10948 #define delete_wxRegionIterator(_swigobj) (delete _swigobj)
10949 static PyObject
*_wrap_delete_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10950 PyObject
* _resultobj
;
10951 wxRegionIterator
* _arg0
;
10952 PyObject
* _argo0
= 0;
10953 char *_kwnames
[] = { "self", NULL
};
10956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegionIterator",_kwnames
,&_argo0
))
10959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
10961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegionIterator. Expected _wxRegionIterator_p.");
10966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10967 delete_wxRegionIterator(_arg0
);
10969 wxPyEndAllowThreads(__tstate
);
10970 if (PyErr_Occurred()) return NULL
;
10971 } Py_INCREF(Py_None
);
10972 _resultobj
= Py_None
;
10976 #define wxRegionIterator_GetX(_swigobj) (_swigobj->GetX())
10977 static PyObject
*_wrap_wxRegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10978 PyObject
* _resultobj
;
10980 wxRegionIterator
* _arg0
;
10981 PyObject
* _argo0
= 0;
10982 char *_kwnames
[] = { "self", NULL
};
10985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetX",_kwnames
,&_argo0
))
10988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
10990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetX. Expected _wxRegionIterator_p.");
10995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10996 _result
= (long )wxRegionIterator_GetX(_arg0
);
10998 wxPyEndAllowThreads(__tstate
);
10999 if (PyErr_Occurred()) return NULL
;
11000 } _resultobj
= Py_BuildValue("l",_result
);
11004 #define wxRegionIterator_GetY(_swigobj) (_swigobj->GetY())
11005 static PyObject
*_wrap_wxRegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11006 PyObject
* _resultobj
;
11008 wxRegionIterator
* _arg0
;
11009 PyObject
* _argo0
= 0;
11010 char *_kwnames
[] = { "self", NULL
};
11013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetY",_kwnames
,&_argo0
))
11016 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11017 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetY. Expected _wxRegionIterator_p.");
11023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11024 _result
= (long )wxRegionIterator_GetY(_arg0
);
11026 wxPyEndAllowThreads(__tstate
);
11027 if (PyErr_Occurred()) return NULL
;
11028 } _resultobj
= Py_BuildValue("l",_result
);
11032 #define wxRegionIterator_GetW(_swigobj) (_swigobj->GetW())
11033 static PyObject
*_wrap_wxRegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11034 PyObject
* _resultobj
;
11036 wxRegionIterator
* _arg0
;
11037 PyObject
* _argo0
= 0;
11038 char *_kwnames
[] = { "self", NULL
};
11041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetW",_kwnames
,&_argo0
))
11044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetW. Expected _wxRegionIterator_p.");
11051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11052 _result
= (long )wxRegionIterator_GetW(_arg0
);
11054 wxPyEndAllowThreads(__tstate
);
11055 if (PyErr_Occurred()) return NULL
;
11056 } _resultobj
= Py_BuildValue("l",_result
);
11060 #define wxRegionIterator_GetWidth(_swigobj) (_swigobj->GetWidth())
11061 static PyObject
*_wrap_wxRegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11062 PyObject
* _resultobj
;
11064 wxRegionIterator
* _arg0
;
11065 PyObject
* _argo0
= 0;
11066 char *_kwnames
[] = { "self", NULL
};
11069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetWidth",_kwnames
,&_argo0
))
11072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetWidth. Expected _wxRegionIterator_p.");
11079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11080 _result
= (long )wxRegionIterator_GetWidth(_arg0
);
11082 wxPyEndAllowThreads(__tstate
);
11083 if (PyErr_Occurred()) return NULL
;
11084 } _resultobj
= Py_BuildValue("l",_result
);
11088 #define wxRegionIterator_GetH(_swigobj) (_swigobj->GetH())
11089 static PyObject
*_wrap_wxRegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11090 PyObject
* _resultobj
;
11092 wxRegionIterator
* _arg0
;
11093 PyObject
* _argo0
= 0;
11094 char *_kwnames
[] = { "self", NULL
};
11097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetH",_kwnames
,&_argo0
))
11100 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11101 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetH. Expected _wxRegionIterator_p.");
11107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11108 _result
= (long )wxRegionIterator_GetH(_arg0
);
11110 wxPyEndAllowThreads(__tstate
);
11111 if (PyErr_Occurred()) return NULL
;
11112 } _resultobj
= Py_BuildValue("l",_result
);
11116 #define wxRegionIterator_GetHeight(_swigobj) (_swigobj->GetHeight())
11117 static PyObject
*_wrap_wxRegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11118 PyObject
* _resultobj
;
11120 wxRegionIterator
* _arg0
;
11121 PyObject
* _argo0
= 0;
11122 char *_kwnames
[] = { "self", NULL
};
11125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetHeight",_kwnames
,&_argo0
))
11128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetHeight. Expected _wxRegionIterator_p.");
11135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11136 _result
= (long )wxRegionIterator_GetHeight(_arg0
);
11138 wxPyEndAllowThreads(__tstate
);
11139 if (PyErr_Occurred()) return NULL
;
11140 } _resultobj
= Py_BuildValue("l",_result
);
11144 #define wxRegionIterator_GetRect(_swigobj) (_swigobj->GetRect())
11145 static PyObject
*_wrap_wxRegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11146 PyObject
* _resultobj
;
11148 wxRegionIterator
* _arg0
;
11149 PyObject
* _argo0
= 0;
11150 char *_kwnames
[] = { "self", NULL
};
11154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetRect",_kwnames
,&_argo0
))
11157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetRect. Expected _wxRegionIterator_p.");
11164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11165 _result
= new wxRect (wxRegionIterator_GetRect(_arg0
));
11167 wxPyEndAllowThreads(__tstate
);
11168 if (PyErr_Occurred()) return NULL
;
11169 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
11170 _resultobj
= Py_BuildValue("s",_ptemp
);
11174 #define wxRegionIterator_HaveRects(_swigobj) (_swigobj->HaveRects())
11175 static PyObject
*_wrap_wxRegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11176 PyObject
* _resultobj
;
11178 wxRegionIterator
* _arg0
;
11179 PyObject
* _argo0
= 0;
11180 char *_kwnames
[] = { "self", NULL
};
11183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_HaveRects",_kwnames
,&_argo0
))
11186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_HaveRects. Expected _wxRegionIterator_p.");
11193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11194 _result
= (bool )wxRegionIterator_HaveRects(_arg0
);
11196 wxPyEndAllowThreads(__tstate
);
11197 if (PyErr_Occurred()) return NULL
;
11198 } _resultobj
= Py_BuildValue("i",_result
);
11202 #define wxRegionIterator_Reset(_swigobj) (_swigobj->Reset())
11203 static PyObject
*_wrap_wxRegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11204 PyObject
* _resultobj
;
11205 wxRegionIterator
* _arg0
;
11206 PyObject
* _argo0
= 0;
11207 char *_kwnames
[] = { "self", NULL
};
11210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Reset",_kwnames
,&_argo0
))
11213 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11214 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Reset. Expected _wxRegionIterator_p.");
11220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11221 wxRegionIterator_Reset(_arg0
);
11223 wxPyEndAllowThreads(__tstate
);
11224 if (PyErr_Occurred()) return NULL
;
11225 } Py_INCREF(Py_None
);
11226 _resultobj
= Py_None
;
11230 static void wxRegionIterator_Next(wxRegionIterator
*self
) {
11233 static PyObject
*_wrap_wxRegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11234 PyObject
* _resultobj
;
11235 wxRegionIterator
* _arg0
;
11236 PyObject
* _argo0
= 0;
11237 char *_kwnames
[] = { "self", NULL
};
11240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Next",_kwnames
,&_argo0
))
11243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
11245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Next. Expected _wxRegionIterator_p.");
11250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11251 wxRegionIterator_Next(_arg0
);
11253 wxPyEndAllowThreads(__tstate
);
11254 if (PyErr_Occurred()) return NULL
;
11255 } Py_INCREF(Py_None
);
11256 _resultobj
= Py_None
;
11260 static PyMethodDef gdicMethods
[] = {
11261 { "wxRegionIterator_Next", (PyCFunction
) _wrap_wxRegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
11262 { "wxRegionIterator_Reset", (PyCFunction
) _wrap_wxRegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
11263 { "wxRegionIterator_HaveRects", (PyCFunction
) _wrap_wxRegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
11264 { "wxRegionIterator_GetRect", (PyCFunction
) _wrap_wxRegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
11265 { "wxRegionIterator_GetHeight", (PyCFunction
) _wrap_wxRegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
11266 { "wxRegionIterator_GetH", (PyCFunction
) _wrap_wxRegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
11267 { "wxRegionIterator_GetWidth", (PyCFunction
) _wrap_wxRegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11268 { "wxRegionIterator_GetW", (PyCFunction
) _wrap_wxRegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
11269 { "wxRegionIterator_GetY", (PyCFunction
) _wrap_wxRegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
11270 { "wxRegionIterator_GetX", (PyCFunction
) _wrap_wxRegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
11271 { "delete_wxRegionIterator", (PyCFunction
) _wrap_delete_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
11272 { "new_wxRegionIterator", (PyCFunction
) _wrap_new_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
11273 { "wxRegion_XorRegion", (PyCFunction
) _wrap_wxRegion_XorRegion
, METH_VARARGS
| METH_KEYWORDS
},
11274 { "wxRegion_XorRect", (PyCFunction
) _wrap_wxRegion_XorRect
, METH_VARARGS
| METH_KEYWORDS
},
11275 { "wxRegion_Xor", (PyCFunction
) _wrap_wxRegion_Xor
, METH_VARARGS
| METH_KEYWORDS
},
11276 { "wxRegion_SubtractRegion", (PyCFunction
) _wrap_wxRegion_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
},
11277 { "wxRegion_SubtractRect", (PyCFunction
) _wrap_wxRegion_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
},
11278 { "wxRegion_Subtract", (PyCFunction
) _wrap_wxRegion_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
11279 { "wxRegion_UnionRegion", (PyCFunction
) _wrap_wxRegion_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
},
11280 { "wxRegion_UnionRect", (PyCFunction
) _wrap_wxRegion_UnionRect
, METH_VARARGS
| METH_KEYWORDS
},
11281 { "wxRegion_Union", (PyCFunction
) _wrap_wxRegion_Union
, METH_VARARGS
| METH_KEYWORDS
},
11282 { "wxRegion_IsEmpty", (PyCFunction
) _wrap_wxRegion_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
11283 { "wxRegion_IntersectRegion", (PyCFunction
) _wrap_wxRegion_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
},
11284 { "wxRegion_IntersectRect", (PyCFunction
) _wrap_wxRegion_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
11285 { "wxRegion_Intersect", (PyCFunction
) _wrap_wxRegion_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
11286 { "wxRegion_GetBox", (PyCFunction
) _wrap_wxRegion_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
11287 { "wxRegion_ContainsRectDim", (PyCFunction
) _wrap_wxRegion_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
},
11288 { "wxRegion_ContainsRect", (PyCFunction
) _wrap_wxRegion_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
11289 { "wxRegion_ContainsPoint", (PyCFunction
) _wrap_wxRegion_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
11290 { "wxRegion_Contains", (PyCFunction
) _wrap_wxRegion_Contains
, METH_VARARGS
| METH_KEYWORDS
},
11291 { "wxRegion_Offset", (PyCFunction
) _wrap_wxRegion_Offset
, METH_VARARGS
| METH_KEYWORDS
},
11292 { "wxRegion_Clear", (PyCFunction
) _wrap_wxRegion_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11293 { "delete_wxRegion", (PyCFunction
) _wrap_delete_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
11294 { "new_wxRegion", (PyCFunction
) _wrap_new_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
11295 { "wxImageList_GetSize", (PyCFunction
) _wrap_wxImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
11296 { "wxImageList_RemoveAll", (PyCFunction
) _wrap_wxImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
},
11297 { "wxImageList_Remove", (PyCFunction
) _wrap_wxImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
},
11298 { "wxImageList_GetImageCount", (PyCFunction
) _wrap_wxImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
11299 { "wxImageList_Draw", (PyCFunction
) _wrap_wxImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
},
11300 { "wxImageList_Replace", (PyCFunction
) _wrap_wxImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
},
11301 { "wxImageList_AddIcon", (PyCFunction
) _wrap_wxImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
11302 { "wxImageList_AddWithColourMask", (PyCFunction
) _wrap_wxImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
},
11303 { "wxImageList_Add", (PyCFunction
) _wrap_wxImageList_Add
, METH_VARARGS
| METH_KEYWORDS
},
11304 { "delete_wxImageList", (PyCFunction
) _wrap_delete_wxImageList
, METH_VARARGS
| METH_KEYWORDS
},
11305 { "new_wxImageList", (PyCFunction
) _wrap_new_wxImageList
, METH_VARARGS
| METH_KEYWORDS
},
11306 { "wxPalette_Ok", (PyCFunction
) _wrap_wxPalette_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11307 { "wxPalette_GetRGB", (PyCFunction
) _wrap_wxPalette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
11308 { "wxPalette_GetPixel", (PyCFunction
) _wrap_wxPalette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
11309 { "delete_wxPalette", (PyCFunction
) _wrap_delete_wxPalette
, METH_VARARGS
| METH_KEYWORDS
},
11310 { "new_wxPalette", (PyCFunction
) _wrap_new_wxPalette
, METH_VARARGS
| METH_KEYWORDS
},
11311 { "wxMetaFileDC_Close", (PyCFunction
) _wrap_wxMetaFileDC_Close
, METH_VARARGS
| METH_KEYWORDS
},
11312 { "new_wxMetaFileDC", (PyCFunction
) _wrap_new_wxMetaFileDC
, METH_VARARGS
| METH_KEYWORDS
},
11313 { "wxMetaFile_GetFileName", (PyCFunction
) _wrap_wxMetaFile_GetFileName
, METH_VARARGS
| METH_KEYWORDS
},
11314 { "wxMetaFile_GetHeight", (PyCFunction
) _wrap_wxMetaFile_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
11315 { "wxMetaFile_GetWidth", (PyCFunction
) _wrap_wxMetaFile_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11316 { "wxMetaFile_GetSize", (PyCFunction
) _wrap_wxMetaFile_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
11317 { "wxMetaFile_SetClipboard", (PyCFunction
) _wrap_wxMetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
},
11318 { "wxMetaFile_Ok", (PyCFunction
) _wrap_wxMetaFile_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11319 { "delete_wxMetaFile", (PyCFunction
) _wrap_delete_wxMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
11320 { "new_wxMetaFile", (PyCFunction
) _wrap_new_wxMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
11321 { "new_wxWindowDC", (PyCFunction
) _wrap_new_wxWindowDC
, METH_VARARGS
| METH_KEYWORDS
},
11322 { "new_wxPaintDC", (PyCFunction
) _wrap_new_wxPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
11323 { "new_wxClientDC", (PyCFunction
) _wrap_new_wxClientDC
, METH_VARARGS
| METH_KEYWORDS
},
11324 { "wxScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_wxScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
11325 { "wxScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_wxScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
11326 { "wxScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_wxScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
},
11327 { "new_wxScreenDC", (PyCFunction
) _wrap_new_wxScreenDC
, METH_VARARGS
| METH_KEYWORDS
},
11328 { "new_wxBufferedPaintDC", (PyCFunction
) _wrap_new_wxBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
11329 { "wxBufferedDC_UnMask", (PyCFunction
) _wrap_wxBufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
},
11330 { "new_wxBufferedDCInternalBuffer", (PyCFunction
) _wrap_new_wxBufferedDCInternalBuffer
, METH_VARARGS
| METH_KEYWORDS
},
11331 { "new_wxBufferedDC", (PyCFunction
) _wrap_new_wxBufferedDC
, METH_VARARGS
| METH_KEYWORDS
},
11332 { "wxMemoryDC_SelectObject", (PyCFunction
) _wrap_wxMemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
},
11333 { "new_wxMemoryDC", (PyCFunction
) _wrap_new_wxMemoryDC
, METH_VARARGS
| METH_KEYWORDS
},
11334 { "wxDC__DrawLineList", (PyCFunction
) _wrap_wxDC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
},
11335 { "wxDC__DrawPointList", (PyCFunction
) _wrap_wxDC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
},
11336 { "wxDC_GetHDC", (PyCFunction
) _wrap_wxDC_GetHDC
, METH_VARARGS
| METH_KEYWORDS
},
11337 { "wxDC_GetBoundingBox", (PyCFunction
) _wrap_wxDC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
11338 { "wxDC_ResetBoundingBox", (PyCFunction
) _wrap_wxDC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
11339 { "wxDC_CalcBoundingBox", (PyCFunction
) _wrap_wxDC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
11340 { "wxDC_SetAxisOrientation", (PyCFunction
) _wrap_wxDC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
},
11341 { "wxDC_GetDeviceOrigin", (PyCFunction
) _wrap_wxDC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
11342 { "wxDC_SetLogicalOrigin", (PyCFunction
) _wrap_wxDC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
11343 { "wxDC_GetLogicalOrigin", (PyCFunction
) _wrap_wxDC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
11344 { "wxDC_GetPPI", (PyCFunction
) _wrap_wxDC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
},
11345 { "wxDC_GetDepth", (PyCFunction
) _wrap_wxDC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
11346 { "wxDC_CanGetTextExtent", (PyCFunction
) _wrap_wxDC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
11347 { "wxDC_CanDrawBitmap", (PyCFunction
) _wrap_wxDC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11348 { "wxDC_DrawBitmap", (PyCFunction
) _wrap_wxDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11349 { "wxDC_StartPage", (PyCFunction
) _wrap_wxDC_StartPage
, METH_VARARGS
| METH_KEYWORDS
},
11350 { "wxDC_StartDoc", (PyCFunction
) _wrap_wxDC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
},
11351 { "wxDC_SetUserScale", (PyCFunction
) _wrap_wxDC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
11352 { "wxDC_SetTextForeground", (PyCFunction
) _wrap_wxDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
11353 { "wxDC_SetTextBackground", (PyCFunction
) _wrap_wxDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
11354 { "wxDC_SetPen", (PyCFunction
) _wrap_wxDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
11355 { "wxDC_SetOptimization", (PyCFunction
) _wrap_wxDC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
11356 { "wxDC_SetMapMode", (PyCFunction
) _wrap_wxDC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
11357 { "wxDC_SetLogicalScale", (PyCFunction
) _wrap_wxDC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
11358 { "wxDC_SetLogicalFunction", (PyCFunction
) _wrap_wxDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
11359 { "wxDC_SetFont", (PyCFunction
) _wrap_wxDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
11360 { "wxDC_SetBrush", (PyCFunction
) _wrap_wxDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
11361 { "wxDC_SetPalette", (PyCFunction
) _wrap_wxDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
11362 { "wxDC_SetClippingRect", (PyCFunction
) _wrap_wxDC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
11363 { "wxDC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_wxDC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
},
11364 { "wxDC_SetClippingRegion", (PyCFunction
) _wrap_wxDC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
11365 { "wxDC_SetBackgroundMode", (PyCFunction
) _wrap_wxDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
11366 { "wxDC_SetBackground", (PyCFunction
) _wrap_wxDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
},
11367 { "wxDC_SetDeviceOrigin", (PyCFunction
) _wrap_wxDC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
11368 { "wxDC_Ok", (PyCFunction
) _wrap_wxDC_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11369 { "wxDC_MinY", (PyCFunction
) _wrap_wxDC_MinY
, METH_VARARGS
| METH_KEYWORDS
},
11370 { "wxDC_MinX", (PyCFunction
) _wrap_wxDC_MinX
, METH_VARARGS
| METH_KEYWORDS
},
11371 { "wxDC_MaxY", (PyCFunction
) _wrap_wxDC_MaxY
, METH_VARARGS
| METH_KEYWORDS
},
11372 { "wxDC_MaxX", (PyCFunction
) _wrap_wxDC_MaxX
, METH_VARARGS
| METH_KEYWORDS
},
11373 { "wxDC_LogicalToDeviceYRel", (PyCFunction
) _wrap_wxDC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
},
11374 { "wxDC_LogicalToDeviceY", (PyCFunction
) _wrap_wxDC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
},
11375 { "wxDC_LogicalToDeviceXRel", (PyCFunction
) _wrap_wxDC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
},
11376 { "wxDC_LogicalToDeviceX", (PyCFunction
) _wrap_wxDC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
},
11377 { "wxDC_GetUserScale", (PyCFunction
) _wrap_wxDC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
11378 { "wxDC_GetTextForeground", (PyCFunction
) _wrap_wxDC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
11379 { "wxDC_GetFullTextExtent", (PyCFunction
) _wrap_wxDC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
11380 { "wxDC_GetTextExtent", (PyCFunction
) _wrap_wxDC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
11381 { "wxDC_GetTextBackground", (PyCFunction
) _wrap_wxDC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
11382 { "wxDC_GetSizeMM", (PyCFunction
) _wrap_wxDC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
11383 { "wxDC_GetSize", (PyCFunction
) _wrap_wxDC_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
11384 { "wxDC_GetSizeTuple", (PyCFunction
) _wrap_wxDC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
11385 { "wxDC_GetPixel", (PyCFunction
) _wrap_wxDC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
11386 { "wxDC_GetPen", (PyCFunction
) _wrap_wxDC_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
11387 { "wxDC_GetOptimization", (PyCFunction
) _wrap_wxDC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
11388 { "wxDC_GetMapMode", (PyCFunction
) _wrap_wxDC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
11389 { "wxDC_GetLogicalScale", (PyCFunction
) _wrap_wxDC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
11390 { "wxDC_GetLogicalFunction", (PyCFunction
) _wrap_wxDC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
11391 { "wxDC_GetFont", (PyCFunction
) _wrap_wxDC_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11392 { "wxDC_GetClippingBox", (PyCFunction
) _wrap_wxDC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
},
11393 { "wxDC_GetCharWidth", (PyCFunction
) _wrap_wxDC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
11394 { "wxDC_GetCharHeight", (PyCFunction
) _wrap_wxDC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
11395 { "wxDC_GetBrush", (PyCFunction
) _wrap_wxDC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
11396 { "wxDC_GetBackground", (PyCFunction
) _wrap_wxDC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
},
11397 { "wxDC_FloodFill", (PyCFunction
) _wrap_wxDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
},
11398 { "wxDC_EndPage", (PyCFunction
) _wrap_wxDC_EndPage
, METH_VARARGS
| METH_KEYWORDS
},
11399 { "wxDC_EndDrawing", (PyCFunction
) _wrap_wxDC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
},
11400 { "wxDC_EndDoc", (PyCFunction
) _wrap_wxDC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
},
11401 { "wxDC_DrawText", (PyCFunction
) _wrap_wxDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
11402 { "wxDC_DrawSpline", (PyCFunction
) _wrap_wxDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
11403 { "wxDC_DrawRoundedRectangle", (PyCFunction
) _wrap_wxDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
11404 { "wxDC_DrawRotatedText", (PyCFunction
) _wrap_wxDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
},
11405 { "wxDC_DrawRectangleRect", (PyCFunction
) _wrap_wxDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
11406 { "wxDC_DrawRectangle", (PyCFunction
) _wrap_wxDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
11407 { "wxDC_DrawPoint", (PyCFunction
) _wrap_wxDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
11408 { "wxDC_DrawPolygon", (PyCFunction
) _wrap_wxDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
11409 { "wxDC_DrawLines", (PyCFunction
) _wrap_wxDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
11410 { "wxDC_DrawLine", (PyCFunction
) _wrap_wxDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
11411 { "wxDC_DrawImageLabel", (PyCFunction
) _wrap_wxDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
11412 { "wxDC_DrawLabel", (PyCFunction
) _wrap_wxDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
},
11413 { "wxDC_DrawIcon", (PyCFunction
) _wrap_wxDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
},
11414 { "wxDC_DrawEllipticArc", (PyCFunction
) _wrap_wxDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
11415 { "wxDC_DrawEllipse", (PyCFunction
) _wrap_wxDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
11416 { "wxDC_DrawCircle", (PyCFunction
) _wrap_wxDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
},
11417 { "wxDC_DrawArc", (PyCFunction
) _wrap_wxDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
11418 { "wxDC_DeviceToLogicalYRel", (PyCFunction
) _wrap_wxDC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
},
11419 { "wxDC_DeviceToLogicalY", (PyCFunction
) _wrap_wxDC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
},
11420 { "wxDC_DeviceToLogicalXRel", (PyCFunction
) _wrap_wxDC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
},
11421 { "wxDC_DeviceToLogicalX", (PyCFunction
) _wrap_wxDC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
},
11422 { "wxDC_DestroyClippingRegion", (PyCFunction
) _wrap_wxDC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
11423 { "wxDC_CrossHair", (PyCFunction
) _wrap_wxDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
},
11424 { "wxDC_Clear", (PyCFunction
) _wrap_wxDC_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11425 { "wxDC_Blit", (PyCFunction
) _wrap_wxDC_Blit
, METH_VARARGS
| METH_KEYWORDS
},
11426 { "wxDC_BeginDrawing", (PyCFunction
) _wrap_wxDC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
},
11427 { "delete_wxDC", (PyCFunction
) _wrap_delete_wxDC
, METH_VARARGS
| METH_KEYWORDS
},
11428 { "wxBrushList_GetCount", (PyCFunction
) _wrap_wxBrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11429 { "wxBrushList_RemoveBrush", (PyCFunction
) _wrap_wxBrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
},
11430 { "wxBrushList_FindOrCreateBrush", (PyCFunction
) _wrap_wxBrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
},
11431 { "wxBrushList_AddBrush", (PyCFunction
) _wrap_wxBrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
},
11432 { "wxBrush_SetStyle", (PyCFunction
) _wrap_wxBrush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11433 { "wxBrush_SetStipple", (PyCFunction
) _wrap_wxBrush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
11434 { "wxBrush_SetColour", (PyCFunction
) _wrap_wxBrush_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
11435 { "wxBrush_Ok", (PyCFunction
) _wrap_wxBrush_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11436 { "wxBrush_GetStyle", (PyCFunction
) _wrap_wxBrush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11437 { "wxBrush_GetStipple", (PyCFunction
) _wrap_wxBrush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
11438 { "wxBrush_GetColour", (PyCFunction
) _wrap_wxBrush_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
11439 { "delete_wxBrush", (PyCFunction
) _wrap_delete_wxBrush
, METH_VARARGS
| METH_KEYWORDS
},
11440 { "new_wxBrush", (PyCFunction
) _wrap_new_wxBrush
, METH_VARARGS
| METH_KEYWORDS
},
11441 { "wxPenList_GetCount", (PyCFunction
) _wrap_wxPenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11442 { "wxPenList_RemovePen", (PyCFunction
) _wrap_wxPenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
},
11443 { "wxPenList_FindOrCreatePen", (PyCFunction
) _wrap_wxPenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
},
11444 { "wxPenList_AddPen", (PyCFunction
) _wrap_wxPenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
},
11445 { "wxPyPen_SetDashes", (PyCFunction
) _wrap_wxPyPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
11446 { "delete_wxPyPen", (PyCFunction
) _wrap_delete_wxPyPen
, METH_VARARGS
| METH_KEYWORDS
},
11447 { "new_wxPyPen", (PyCFunction
) _wrap_new_wxPyPen
, METH_VARARGS
| METH_KEYWORDS
},
11448 { "wxPen_SetStipple", (PyCFunction
) _wrap_wxPen_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
11449 { "wxPen_GetStipple", (PyCFunction
) _wrap_wxPen_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
11450 { "wxPen_GetDashes", (PyCFunction
) _wrap_wxPen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
},
11451 { "wxPen_SetDashes", (PyCFunction
) _wrap_wxPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
11452 { "wxPen_SetWidth", (PyCFunction
) _wrap_wxPen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11453 { "wxPen_SetStyle", (PyCFunction
) _wrap_wxPen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11454 { "wxPen_SetJoin", (PyCFunction
) _wrap_wxPen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
},
11455 { "wxPen_SetColour", (PyCFunction
) _wrap_wxPen_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
11456 { "wxPen_SetCap", (PyCFunction
) _wrap_wxPen_SetCap
, METH_VARARGS
| METH_KEYWORDS
},
11457 { "wxPen_Ok", (PyCFunction
) _wrap_wxPen_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11458 { "wxPen_GetWidth", (PyCFunction
) _wrap_wxPen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11459 { "wxPen_GetStyle", (PyCFunction
) _wrap_wxPen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11460 { "wxPen_GetJoin", (PyCFunction
) _wrap_wxPen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
},
11461 { "wxPen_GetColour", (PyCFunction
) _wrap_wxPen_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
11462 { "wxPen_GetCap", (PyCFunction
) _wrap_wxPen_GetCap
, METH_VARARGS
| METH_KEYWORDS
},
11463 { "delete_wxPen", (PyCFunction
) _wrap_delete_wxPen
, METH_VARARGS
| METH_KEYWORDS
},
11464 { "new_wxPen", (PyCFunction
) _wrap_new_wxPen
, METH_VARARGS
| METH_KEYWORDS
},
11465 { "wxColourDatabase_Append", (PyCFunction
) _wrap_wxColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
},
11466 { "wxColourDatabase_FindName", (PyCFunction
) _wrap_wxColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
},
11467 { "wxColourDatabase_FindColour", (PyCFunction
) _wrap_wxColourDatabase_FindColour
, METH_VARARGS
| METH_KEYWORDS
},
11468 { "wxColour_Get", (PyCFunction
) _wrap_wxColour_Get
, METH_VARARGS
| METH_KEYWORDS
},
11469 { "wxColour_Set", (PyCFunction
) _wrap_wxColour_Set
, METH_VARARGS
| METH_KEYWORDS
},
11470 { "wxColour_Ok", (PyCFunction
) _wrap_wxColour_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11471 { "wxColour_Blue", (PyCFunction
) _wrap_wxColour_Blue
, METH_VARARGS
| METH_KEYWORDS
},
11472 { "wxColour_Green", (PyCFunction
) _wrap_wxColour_Green
, METH_VARARGS
| METH_KEYWORDS
},
11473 { "wxColour_Red", (PyCFunction
) _wrap_wxColour_Red
, METH_VARARGS
| METH_KEYWORDS
},
11474 { "delete_wxColour", (PyCFunction
) _wrap_delete_wxColour
, METH_VARARGS
| METH_KEYWORDS
},
11475 { "new_wxColour", (PyCFunction
) _wrap_new_wxColour
, METH_VARARGS
| METH_KEYWORDS
},
11476 { "wxCursor_SetSize", (PyCFunction
) _wrap_wxCursor_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
11477 { "wxCursor_SetDepth", (PyCFunction
) _wrap_wxCursor_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
11478 { "wxCursor_SetHeight", (PyCFunction
) _wrap_wxCursor_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
11479 { "wxCursor_SetWidth", (PyCFunction
) _wrap_wxCursor_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11480 { "wxCursor_GetDepth", (PyCFunction
) _wrap_wxCursor_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
11481 { "wxCursor_GetHeight", (PyCFunction
) _wrap_wxCursor_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
11482 { "wxCursor_GetWidth", (PyCFunction
) _wrap_wxCursor_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11483 { "wxCursor_Ok", (PyCFunction
) _wrap_wxCursor_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11484 { "wxCursor_SetHandle", (PyCFunction
) _wrap_wxCursor_SetHandle
, METH_VARARGS
| METH_KEYWORDS
},
11485 { "wxCursor_GetHandle", (PyCFunction
) _wrap_wxCursor_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
11486 { "delete_wxCursor", (PyCFunction
) _wrap_delete_wxCursor
, METH_VARARGS
| METH_KEYWORDS
},
11487 { "new_wxCursor", (PyCFunction
) _wrap_new_wxCursor
, METH_VARARGS
| METH_KEYWORDS
},
11488 { "wxIconBundle_GetIcon", (PyCFunction
) _wrap_wxIconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
11489 { "wxIconBundle_AddIconFromFile", (PyCFunction
) _wrap_wxIconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
},
11490 { "wxIconBundle_AddIcon", (PyCFunction
) _wrap_wxIconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
11491 { "delete_wxIconBundle", (PyCFunction
) _wrap_delete_wxIconBundle
, METH_VARARGS
| METH_KEYWORDS
},
11492 { "new_wxIconBundleFromIcon", (PyCFunction
) _wrap_new_wxIconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
11493 { "new_wxIconBundleFromFile", (PyCFunction
) _wrap_new_wxIconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
},
11494 { "new_wxIconBundle", (PyCFunction
) _wrap_new_wxIconBundle
, METH_VARARGS
| METH_KEYWORDS
},
11495 { "wxIcon_CopyFromBitmap", (PyCFunction
) _wrap_wxIcon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11496 { "wxIcon_SetSize", (PyCFunction
) _wrap_wxIcon_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
11497 { "wxIcon_SetDepth", (PyCFunction
) _wrap_wxIcon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
11498 { "wxIcon_SetHeight", (PyCFunction
) _wrap_wxIcon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
11499 { "wxIcon_SetWidth", (PyCFunction
) _wrap_wxIcon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11500 { "wxIcon_GetDepth", (PyCFunction
) _wrap_wxIcon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
11501 { "wxIcon_GetHeight", (PyCFunction
) _wrap_wxIcon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
11502 { "wxIcon_GetWidth", (PyCFunction
) _wrap_wxIcon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11503 { "wxIcon_Ok", (PyCFunction
) _wrap_wxIcon_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11504 { "wxIcon_SetHandle", (PyCFunction
) _wrap_wxIcon_SetHandle
, METH_VARARGS
| METH_KEYWORDS
},
11505 { "wxIcon_GetHandle", (PyCFunction
) _wrap_wxIcon_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
11506 { "wxIcon_LoadFile", (PyCFunction
) _wrap_wxIcon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
11507 { "delete_wxIcon", (PyCFunction
) _wrap_delete_wxIcon
, METH_VARARGS
| METH_KEYWORDS
},
11508 { "new_wxIcon", (PyCFunction
) _wrap_new_wxIcon
, METH_VARARGS
| METH_KEYWORDS
},
11509 { "wxMask_Destroy", (PyCFunction
) _wrap_wxMask_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
11510 { "new_wxMask", (PyCFunction
) _wrap_new_wxMask
, METH_VARARGS
| METH_KEYWORDS
},
11511 { "wxBitmap_SetQuality", (PyCFunction
) _wrap_wxBitmap_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
11512 { "wxBitmap_GetQuality", (PyCFunction
) _wrap_wxBitmap_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
11513 { "wxBitmap_CopyFromCursor", (PyCFunction
) _wrap_wxBitmap_CopyFromCursor
, METH_VARARGS
| METH_KEYWORDS
},
11514 { "wxBitmap_CopyFromIcon", (PyCFunction
) _wrap_wxBitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
11515 { "wxBitmap_GetSubBitmap", (PyCFunction
) _wrap_wxBitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11516 { "wxBitmap_SetSize", (PyCFunction
) _wrap_wxBitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
11517 { "wxBitmap_SetDepth", (PyCFunction
) _wrap_wxBitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
11518 { "wxBitmap_SetHeight", (PyCFunction
) _wrap_wxBitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
11519 { "wxBitmap_SetWidth", (PyCFunction
) _wrap_wxBitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11520 { "wxBitmap_GetDepth", (PyCFunction
) _wrap_wxBitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
11521 { "wxBitmap_GetHeight", (PyCFunction
) _wrap_wxBitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
11522 { "wxBitmap_GetWidth", (PyCFunction
) _wrap_wxBitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
11523 { "wxBitmap_Ok", (PyCFunction
) _wrap_wxBitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
},
11524 { "wxBitmap_SetHandle", (PyCFunction
) _wrap_wxBitmap_SetHandle
, METH_VARARGS
| METH_KEYWORDS
},
11525 { "wxBitmap_GetHandle", (PyCFunction
) _wrap_wxBitmap_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
11526 { "wxBitmap_SetPalette", (PyCFunction
) _wrap_wxBitmap_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
11527 { "wxBitmap_SetMask", (PyCFunction
) _wrap_wxBitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
11528 { "wxBitmap_SaveFile", (PyCFunction
) _wrap_wxBitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
11529 { "wxBitmap_LoadFile", (PyCFunction
) _wrap_wxBitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
11530 { "wxBitmap_GetMask", (PyCFunction
) _wrap_wxBitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
11531 { "wxBitmap_GetPalette", (PyCFunction
) _wrap_wxBitmap_GetPalette
, METH_VARARGS
| METH_KEYWORDS
},
11532 { "delete_wxBitmap", (PyCFunction
) _wrap_delete_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11533 { "new_wxBitmap", (PyCFunction
) _wrap_new_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11534 { "wxGDIObject_IsNull", (PyCFunction
) _wrap_wxGDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
11535 { "wxGDIObject_SetVisible", (PyCFunction
) _wrap_wxGDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
},
11536 { "wxGDIObject_GetVisible", (PyCFunction
) _wrap_wxGDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
},
11537 { "delete_wxGDIObject", (PyCFunction
) _wrap_delete_wxGDIObject
, METH_VARARGS
| METH_KEYWORDS
},
11538 { "new_wxGDIObject", (PyCFunction
) _wrap_new_wxGDIObject
, METH_VARARGS
| METH_KEYWORDS
},
11539 { "wxMemoryDCFromDC", (PyCFunction
) _wrap_wxMemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
},
11540 { "wxNamedColour", (PyCFunction
) _wrap_wxNamedColour
, METH_VARARGS
| METH_KEYWORDS
},
11541 { "wxStockCursor", (PyCFunction
) _wrap_wxStockCursor
, METH_VARARGS
| METH_KEYWORDS
},
11542 { "wxIconFromBitmap", (PyCFunction
) _wrap_wxIconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11543 { "wxIconFromXPMData", (PyCFunction
) _wrap_wxIconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
11544 { "wxEmptyIcon", (PyCFunction
) _wrap_wxEmptyIcon
, METH_VARARGS
| METH_KEYWORDS
},
11545 { "wxMaskColour", (PyCFunction
) _wrap_wxMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
11546 { "wxBitmapFromBits", (PyCFunction
) _wrap_wxBitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
},
11547 { "wxBitmapFromIcon", (PyCFunction
) _wrap_wxBitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
11548 { "wxBitmapFromXPMData", (PyCFunction
) _wrap_wxBitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
11549 { "wxEmptyBitmap", (PyCFunction
) _wrap_wxEmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11556 * This table is used by the pointer type-checker
11558 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
11559 { "_signed_long","_long",0},
11560 { "_wxPrintQuality","_wxCoord",0},
11561 { "_wxPrintQuality","_int",0},
11562 { "_wxPrintQuality","_signed_int",0},
11563 { "_wxPrintQuality","_unsigned_int",0},
11564 { "_wxPrintQuality","_wxWindowID",0},
11565 { "_wxPrintQuality","_uint",0},
11566 { "_wxPrintQuality","_EBool",0},
11567 { "_wxPrintQuality","_size_t",0},
11568 { "_wxPrintQuality","_time_t",0},
11569 { "_wxPen","_wxPyPen",SwigwxPyPenTowxPen
},
11570 { "_byte","_unsigned_char",0},
11571 { "_long","_unsigned_long",0},
11572 { "_long","_signed_long",0},
11573 { "_wxGDIObject","_wxRegion",SwigwxRegionTowxGDIObject
},
11574 { "_wxGDIObject","_wxPalette",SwigwxPaletteTowxGDIObject
},
11575 { "_wxGDIObject","_wxBrush",SwigwxBrushTowxGDIObject
},
11576 { "_wxGDIObject","_wxPyPen",SwigwxPyPenTowxGDIObject
},
11577 { "_wxGDIObject","_wxPen",SwigwxPenTowxGDIObject
},
11578 { "_wxGDIObject","_wxCursor",SwigwxCursorTowxGDIObject
},
11579 { "_wxGDIObject","_wxIcon",SwigwxIconTowxGDIObject
},
11580 { "_wxGDIObject","_wxBitmap",SwigwxBitmapTowxGDIObject
},
11581 { "_wxDC","_wxMetaFileDC",SwigwxMetaFileDCTowxDC
},
11582 { "_wxDC","_wxWindowDC",SwigwxWindowDCTowxDC
},
11583 { "_wxDC","_wxPaintDC",SwigwxPaintDCTowxDC
},
11584 { "_wxDC","_wxClientDC",SwigwxClientDCTowxDC
},
11585 { "_wxDC","_wxScreenDC",SwigwxScreenDCTowxDC
},
11586 { "_wxDC","_wxBufferedPaintDC",SwigwxBufferedPaintDCTowxDC
},
11587 { "_wxDC","_wxBufferedDC",SwigwxBufferedDCTowxDC
},
11588 { "_wxDC","_wxMemoryDC",SwigwxMemoryDCTowxDC
},
11589 { "_size_t","_wxCoord",0},
11590 { "_size_t","_wxPrintQuality",0},
11591 { "_size_t","_time_t",0},
11592 { "_size_t","_unsigned_int",0},
11593 { "_size_t","_int",0},
11594 { "_size_t","_wxWindowID",0},
11595 { "_size_t","_uint",0},
11596 { "_uint","_wxCoord",0},
11597 { "_uint","_wxPrintQuality",0},
11598 { "_uint","_time_t",0},
11599 { "_uint","_size_t",0},
11600 { "_uint","_unsigned_int",0},
11601 { "_uint","_int",0},
11602 { "_uint","_wxWindowID",0},
11603 { "_wxChar","_char",0},
11604 { "_char","_wxChar",0},
11605 { "_wxBufferedDC","_wxBufferedPaintDC",SwigwxBufferedPaintDCTowxBufferedDC
},
11606 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
11607 { "_EBool","_wxCoord",0},
11608 { "_EBool","_wxPrintQuality",0},
11609 { "_EBool","_signed_int",0},
11610 { "_EBool","_int",0},
11611 { "_EBool","_wxWindowID",0},
11612 { "_unsigned_long","_long",0},
11613 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
11614 { "_signed_int","_wxCoord",0},
11615 { "_signed_int","_wxPrintQuality",0},
11616 { "_signed_int","_EBool",0},
11617 { "_signed_int","_wxWindowID",0},
11618 { "_signed_int","_int",0},
11619 { "_WXTYPE","_short",0},
11620 { "_WXTYPE","_signed_short",0},
11621 { "_WXTYPE","_unsigned_short",0},
11622 { "_unsigned_short","_WXTYPE",0},
11623 { "_unsigned_short","_short",0},
11624 { "_wxObject","_wxRegionIterator",SwigwxRegionIteratorTowxObject
},
11625 { "_wxObject","_wxRegion",SwigwxRegionTowxObject
},
11626 { "_wxObject","_wxImageList",SwigwxImageListTowxObject
},
11627 { "_wxObject","_wxPalette",SwigwxPaletteTowxObject
},
11628 { "_wxObject","_wxMetaFileDC",SwigwxMetaFileDCTowxObject
},
11629 { "_wxObject","_wxMetaFile",SwigwxMetaFileTowxObject
},
11630 { "_wxObject","_wxWindowDC",SwigwxWindowDCTowxObject
},
11631 { "_wxObject","_wxPaintDC",SwigwxPaintDCTowxObject
},
11632 { "_wxObject","_wxClientDC",SwigwxClientDCTowxObject
},
11633 { "_wxObject","_wxScreenDC",SwigwxScreenDCTowxObject
},
11634 { "_wxObject","_wxBufferedPaintDC",SwigwxBufferedPaintDCTowxObject
},
11635 { "_wxObject","_wxBufferedDC",SwigwxBufferedDCTowxObject
},
11636 { "_wxObject","_wxMemoryDC",SwigwxMemoryDCTowxObject
},
11637 { "_wxObject","_wxDC",SwigwxDCTowxObject
},
11638 { "_wxObject","_wxBrushList",SwigwxBrushListTowxObject
},
11639 { "_wxObject","_wxBrush",SwigwxBrushTowxObject
},
11640 { "_wxObject","_wxPenList",SwigwxPenListTowxObject
},
11641 { "_wxObject","_wxPyPen",SwigwxPyPenTowxObject
},
11642 { "_wxObject","_wxPen",SwigwxPenTowxObject
},
11643 { "_wxObject","_wxColourDatabase",SwigwxColourDatabaseTowxObject
},
11644 { "_wxObject","_wxColour",SwigwxColourTowxObject
},
11645 { "_wxObject","_wxCursor",SwigwxCursorTowxObject
},
11646 { "_wxObject","_wxIcon",SwigwxIconTowxObject
},
11647 { "_wxObject","_wxMask",SwigwxMaskTowxObject
},
11648 { "_wxObject","_wxBitmap",SwigwxBitmapTowxObject
},
11649 { "_wxObject","_wxGDIObject",SwigwxGDIObjectTowxObject
},
11650 { "_signed_short","_WXTYPE",0},
11651 { "_signed_short","_short",0},
11652 { "_wxMemoryDC","_wxBufferedPaintDC",SwigwxBufferedPaintDCTowxMemoryDC
},
11653 { "_wxMemoryDC","_wxBufferedDC",SwigwxBufferedDCTowxMemoryDC
},
11654 { "_unsigned_char","_byte",0},
11655 { "_unsigned_int","_wxCoord",0},
11656 { "_unsigned_int","_wxPrintQuality",0},
11657 { "_unsigned_int","_time_t",0},
11658 { "_unsigned_int","_size_t",0},
11659 { "_unsigned_int","_uint",0},
11660 { "_unsigned_int","_wxWindowID",0},
11661 { "_unsigned_int","_int",0},
11662 { "_short","_WXTYPE",0},
11663 { "_short","_unsigned_short",0},
11664 { "_short","_signed_short",0},
11665 { "_wxWindowID","_wxCoord",0},
11666 { "_wxWindowID","_wxPrintQuality",0},
11667 { "_wxWindowID","_time_t",0},
11668 { "_wxWindowID","_size_t",0},
11669 { "_wxWindowID","_EBool",0},
11670 { "_wxWindowID","_uint",0},
11671 { "_wxWindowID","_int",0},
11672 { "_wxWindowID","_signed_int",0},
11673 { "_wxWindowID","_unsigned_int",0},
11674 { "_int","_wxCoord",0},
11675 { "_int","_wxPrintQuality",0},
11676 { "_int","_time_t",0},
11677 { "_int","_size_t",0},
11678 { "_int","_EBool",0},
11679 { "_int","_uint",0},
11680 { "_int","_wxWindowID",0},
11681 { "_int","_unsigned_int",0},
11682 { "_int","_signed_int",0},
11683 { "_time_t","_wxCoord",0},
11684 { "_time_t","_wxPrintQuality",0},
11685 { "_time_t","_unsigned_int",0},
11686 { "_time_t","_int",0},
11687 { "_time_t","_wxWindowID",0},
11688 { "_time_t","_uint",0},
11689 { "_time_t","_size_t",0},
11690 { "_wxCoord","_int",0},
11691 { "_wxCoord","_signed_int",0},
11692 { "_wxCoord","_unsigned_int",0},
11693 { "_wxCoord","_wxWindowID",0},
11694 { "_wxCoord","_uint",0},
11695 { "_wxCoord","_EBool",0},
11696 { "_wxCoord","_size_t",0},
11697 { "_wxCoord","_time_t",0},
11698 { "_wxCoord","_wxPrintQuality",0},
11701 static PyObject
*SWIG_globals
;
11705 SWIGEXPORT(void) initgdic() {
11707 SWIG_globals
= SWIG_newvarlink();
11708 m
= Py_InitModule("gdic", gdicMethods
);
11709 d
= PyModule_GetDict(m
);
11710 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_NORMAL", PyInt_FromLong((long) wxIMAGELIST_DRAW_NORMAL
));
11711 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_TRANSPARENT", PyInt_FromLong((long) wxIMAGELIST_DRAW_TRANSPARENT
));
11712 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_SELECTED", PyInt_FromLong((long) wxIMAGELIST_DRAW_SELECTED
));
11713 PyDict_SetItemString(d
,"wxIMAGELIST_DRAW_FOCUSED", PyInt_FromLong((long) wxIMAGELIST_DRAW_FOCUSED
));
11714 PyDict_SetItemString(d
,"wxIMAGE_LIST_NORMAL", PyInt_FromLong((long) wxIMAGE_LIST_NORMAL
));
11715 PyDict_SetItemString(d
,"wxIMAGE_LIST_SMALL", PyInt_FromLong((long) wxIMAGE_LIST_SMALL
));
11716 PyDict_SetItemString(d
,"wxIMAGE_LIST_STATE", PyInt_FromLong((long) wxIMAGE_LIST_STATE
));
11717 PyDict_SetItemString(d
,"wxOutRegion", PyInt_FromLong((long) wxOutRegion
));
11718 PyDict_SetItemString(d
,"wxPartRegion", PyInt_FromLong((long) wxPartRegion
));
11719 PyDict_SetItemString(d
,"wxInRegion", PyInt_FromLong((long) wxInRegion
));
11720 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
11721 SWIG_addvarlink(SWIG_globals
,"wxNORMAL_FONT",_wrap_wxNORMAL_FONT_get
, _wrap_wxNORMAL_FONT_set
);
11722 SWIG_addvarlink(SWIG_globals
,"wxSMALL_FONT",_wrap_wxSMALL_FONT_get
, _wrap_wxSMALL_FONT_set
);
11723 SWIG_addvarlink(SWIG_globals
,"wxITALIC_FONT",_wrap_wxITALIC_FONT_get
, _wrap_wxITALIC_FONT_set
);
11724 SWIG_addvarlink(SWIG_globals
,"wxSWISS_FONT",_wrap_wxSWISS_FONT_get
, _wrap_wxSWISS_FONT_set
);
11725 SWIG_addvarlink(SWIG_globals
,"wxRED_PEN",_wrap_wxRED_PEN_get
, _wrap_wxRED_PEN_set
);
11726 SWIG_addvarlink(SWIG_globals
,"wxCYAN_PEN",_wrap_wxCYAN_PEN_get
, _wrap_wxCYAN_PEN_set
);
11727 SWIG_addvarlink(SWIG_globals
,"wxGREEN_PEN",_wrap_wxGREEN_PEN_get
, _wrap_wxGREEN_PEN_set
);
11728 SWIG_addvarlink(SWIG_globals
,"wxBLACK_PEN",_wrap_wxBLACK_PEN_get
, _wrap_wxBLACK_PEN_set
);
11729 SWIG_addvarlink(SWIG_globals
,"wxWHITE_PEN",_wrap_wxWHITE_PEN_get
, _wrap_wxWHITE_PEN_set
);
11730 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_PEN",_wrap_wxTRANSPARENT_PEN_get
, _wrap_wxTRANSPARENT_PEN_set
);
11731 SWIG_addvarlink(SWIG_globals
,"wxBLACK_DASHED_PEN",_wrap_wxBLACK_DASHED_PEN_get
, _wrap_wxBLACK_DASHED_PEN_set
);
11732 SWIG_addvarlink(SWIG_globals
,"wxGREY_PEN",_wrap_wxGREY_PEN_get
, _wrap_wxGREY_PEN_set
);
11733 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_PEN",_wrap_wxMEDIUM_GREY_PEN_get
, _wrap_wxMEDIUM_GREY_PEN_set
);
11734 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_PEN",_wrap_wxLIGHT_GREY_PEN_get
, _wrap_wxLIGHT_GREY_PEN_set
);
11735 SWIG_addvarlink(SWIG_globals
,"wxBLUE_BRUSH",_wrap_wxBLUE_BRUSH_get
, _wrap_wxBLUE_BRUSH_set
);
11736 SWIG_addvarlink(SWIG_globals
,"wxGREEN_BRUSH",_wrap_wxGREEN_BRUSH_get
, _wrap_wxGREEN_BRUSH_set
);
11737 SWIG_addvarlink(SWIG_globals
,"wxWHITE_BRUSH",_wrap_wxWHITE_BRUSH_get
, _wrap_wxWHITE_BRUSH_set
);
11738 SWIG_addvarlink(SWIG_globals
,"wxBLACK_BRUSH",_wrap_wxBLACK_BRUSH_get
, _wrap_wxBLACK_BRUSH_set
);
11739 SWIG_addvarlink(SWIG_globals
,"wxTRANSPARENT_BRUSH",_wrap_wxTRANSPARENT_BRUSH_get
, _wrap_wxTRANSPARENT_BRUSH_set
);
11740 SWIG_addvarlink(SWIG_globals
,"wxCYAN_BRUSH",_wrap_wxCYAN_BRUSH_get
, _wrap_wxCYAN_BRUSH_set
);
11741 SWIG_addvarlink(SWIG_globals
,"wxRED_BRUSH",_wrap_wxRED_BRUSH_get
, _wrap_wxRED_BRUSH_set
);
11742 SWIG_addvarlink(SWIG_globals
,"wxGREY_BRUSH",_wrap_wxGREY_BRUSH_get
, _wrap_wxGREY_BRUSH_set
);
11743 SWIG_addvarlink(SWIG_globals
,"wxMEDIUM_GREY_BRUSH",_wrap_wxMEDIUM_GREY_BRUSH_get
, _wrap_wxMEDIUM_GREY_BRUSH_set
);
11744 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY_BRUSH",_wrap_wxLIGHT_GREY_BRUSH_get
, _wrap_wxLIGHT_GREY_BRUSH_set
);
11745 SWIG_addvarlink(SWIG_globals
,"wxBLACK",_wrap_wxBLACK_get
, _wrap_wxBLACK_set
);
11746 SWIG_addvarlink(SWIG_globals
,"wxWHITE",_wrap_wxWHITE_get
, _wrap_wxWHITE_set
);
11747 SWIG_addvarlink(SWIG_globals
,"wxRED",_wrap_wxRED_get
, _wrap_wxRED_set
);
11748 SWIG_addvarlink(SWIG_globals
,"wxBLUE",_wrap_wxBLUE_get
, _wrap_wxBLUE_set
);
11749 SWIG_addvarlink(SWIG_globals
,"wxGREEN",_wrap_wxGREEN_get
, _wrap_wxGREEN_set
);
11750 SWIG_addvarlink(SWIG_globals
,"wxCYAN",_wrap_wxCYAN_get
, _wrap_wxCYAN_set
);
11751 SWIG_addvarlink(SWIG_globals
,"wxLIGHT_GREY",_wrap_wxLIGHT_GREY_get
, _wrap_wxLIGHT_GREY_set
);
11752 SWIG_addvarlink(SWIG_globals
,"wxSTANDARD_CURSOR",_wrap_wxSTANDARD_CURSOR_get
, _wrap_wxSTANDARD_CURSOR_set
);
11753 SWIG_addvarlink(SWIG_globals
,"wxHOURGLASS_CURSOR",_wrap_wxHOURGLASS_CURSOR_get
, _wrap_wxHOURGLASS_CURSOR_set
);
11754 SWIG_addvarlink(SWIG_globals
,"wxCROSS_CURSOR",_wrap_wxCROSS_CURSOR_get
, _wrap_wxCROSS_CURSOR_set
);
11755 SWIG_addvarlink(SWIG_globals
,"wxNullBitmap",_wrap_wxNullBitmap_get
, _wrap_wxNullBitmap_set
);
11756 SWIG_addvarlink(SWIG_globals
,"wxNullIcon",_wrap_wxNullIcon_get
, _wrap_wxNullIcon_set
);
11757 SWIG_addvarlink(SWIG_globals
,"wxNullCursor",_wrap_wxNullCursor_get
, _wrap_wxNullCursor_set
);
11758 SWIG_addvarlink(SWIG_globals
,"wxNullPen",_wrap_wxNullPen_get
, _wrap_wxNullPen_set
);
11759 SWIG_addvarlink(SWIG_globals
,"wxNullBrush",_wrap_wxNullBrush_get
, _wrap_wxNullBrush_set
);
11760 SWIG_addvarlink(SWIG_globals
,"wxNullPalette",_wrap_wxNullPalette_get
, _wrap_wxNullPalette_set
);
11761 SWIG_addvarlink(SWIG_globals
,"wxNullFont",_wrap_wxNullFont_get
, _wrap_wxNullFont_set
);
11762 SWIG_addvarlink(SWIG_globals
,"wxNullColour",_wrap_wxNullColour_get
, _wrap_wxNullColour_set
);
11763 SWIG_addvarlink(SWIG_globals
,"wxTheFontList",_wrap_wxTheFontList_get
, _wrap_wxTheFontList_set
);
11764 SWIG_addvarlink(SWIG_globals
,"wxThePenList",_wrap_wxThePenList_get
, _wrap_wxThePenList_set
);
11765 SWIG_addvarlink(SWIG_globals
,"wxTheBrushList",_wrap_wxTheBrushList_get
, _wrap_wxTheBrushList_set
);
11766 SWIG_addvarlink(SWIG_globals
,"wxTheColourDatabase",_wrap_wxTheColourDatabase_get
, _wrap_wxTheColourDatabase_set
);
11769 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
11770 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);